@cooperco/cooper-component-library 0.1.1 → 0.1.3
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/{component-lib.js → lib/component-lib.js} +1950 -1512
- package/dist/lib/component-lib.umd.cjs +98 -0
- package/{src/assets → dist/lib/css}/main.css +3 -2
- package/dist/lib/style.css +1 -0
- package/dist/types/App.vue.d.ts +2 -0
- package/dist/types/components/Accordion/Accordion.d.ts +17 -0
- package/dist/types/components/Accordion/Accordion.vue.d.ts +29 -0
- package/dist/types/components/Accordion/AccordionItem.d.ts +23 -0
- package/dist/types/components/Accordion/AccordionItem.vue.d.ts +30 -0
- package/dist/types/components/Accordion/AccordionListItem.vue.d.ts +12 -0
- package/dist/types/components/Accordion/AccordionTileItem.vue.d.ts +16 -0
- package/dist/types/components/CTA/CTA.d.ts +19 -0
- package/dist/types/components/CTA/CTA.vue.d.ts +12 -0
- package/dist/types/components/CarouselModule/CarouselModule.d.ts +24 -0
- package/dist/types/components/CarouselModule/CarouselModule.vue.d.ts +26 -0
- package/dist/types/components/ContainerCollectionModule/ContainerCollectionModule.d.ts +11 -0
- package/dist/types/components/ContainerCollectionModule/ContainerCollectionModule.vue.d.ts +12 -0
- package/dist/types/components/ContainerModule/ContainerModule.d.ts +26 -0
- package/dist/types/components/ContainerModule/ContainerModule.vue.d.ts +36 -0
- package/dist/types/components/ContentModule/ContentModule.d.ts +28 -0
- package/dist/types/components/ContentModule/ContentModule.vue.d.ts +29 -0
- package/dist/types/components/FooterNavigation/FooterNavigation.d.ts +12 -0
- package/dist/types/components/FooterNavigation/FooterNavigation.vue.d.ts +12 -0
- package/dist/types/components/Image/Image.d.ts +13 -0
- package/dist/types/components/Image/Image.vue.d.ts +26 -0
- package/dist/types/components/LogoCollectionModule/LogoCollectionModule.d.ts +10 -0
- package/dist/types/components/LogoCollectionModule/LogoCollectionModule.vue.d.ts +12 -0
- package/dist/types/components/NavigationElement/NavigationElement.d.ts +17 -0
- package/dist/types/components/NavigationElement/NavigationElement.vue.d.ts +12 -0
- package/dist/types/components/PrimaryNavigation/PrimaryNavigation.d.ts +11 -0
- package/dist/types/components/PrimaryNavigation/PrimaryNavigation.vue.d.ts +12 -0
- package/dist/types/components/SplitModule/SplitModule.d.ts +16 -0
- package/dist/types/components/SplitModule/SplitModule.vue.d.ts +12 -0
- package/dist/types/components/TestimonialModule/TestimonialModule.d.ts +21 -0
- package/dist/types/components/TestimonialModule/TestimonialModule.vue.d.ts +12 -0
- package/dist/types/components/TileCollectionModule/TileCollectionModule.d.ts +14 -0
- package/dist/types/components/TileCollectionModule/TileCollectionModule.vue.d.ts +12 -0
- package/dist/types/components/TileContent/TileContent.d.ts +53 -0
- package/dist/types/components/TileContent/TileContentIconTile.vue.d.ts +12 -0
- package/dist/types/components/TileContent/TileContentImageStackedAnimatedTile.vue.d.ts +12 -0
- package/dist/types/components/TileContent/TileContentImageTile.vue.d.ts +12 -0
- package/dist/types/components/TileContent/TileContentTextTile.vue.d.ts +12 -0
- package/dist/types/components/TileContent/TileContentVideoTile.vue.d.ts +12 -0
- package/dist/types/components/TileLabel/TileLabel.d.ts +13 -0
- package/dist/types/components/TileLabel/TileLabel.vue.d.ts +29 -0
- package/dist/types/components/Video/Video.d.ts +8 -0
- package/dist/types/components/Video/Video.vue.d.ts +26 -0
- package/dist/types/components/components.d.ts +23 -0
- package/dist/types/components/types.d.ts +16 -0
- package/dist/types/config/defaultPassthrough.d.ts +96 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/init.d.ts +3 -0
- package/dist/types/pages/index.vue.d.ts +2 -0
- package/dist/types/router.d.ts +5 -0
- package/dist/types/types.d.ts +49 -0
- package/package.json +21 -18
- package/dist/component-lib.umd.cjs +0 -98
- package/dist/style.css +0 -1
- package/src/components/Accordion/Accordion.ts +0 -20
- package/src/components/Accordion/Accordion.vue +0 -66
- package/src/components/Accordion/AccordionItem.ts +0 -25
- package/src/components/Accordion/AccordionItem.vue +0 -104
- package/src/components/Accordion/AccordionListItem.vue +0 -61
- package/src/components/Accordion/AccordionTileItem.vue +0 -75
- package/src/components/CTA/CTA.ts +0 -22
- package/src/components/CTA/CTA.vue +0 -65
- package/src/components/CarouselModule/CarouselModule.ts +0 -20
- package/src/components/CarouselModule/CarouselModule.vue +0 -64
- package/src/components/ContainerCollectionModule/ContainerCollectionModule.ts +0 -12
- package/src/components/ContainerCollectionModule/ContainerCollectionModule.vue +0 -42
- package/src/components/ContainerModule/ContainerModule.ts +0 -69
- package/src/components/ContainerModule/ContainerModule.vue +0 -113
- package/src/components/ContentModule/ContentModule.ts +0 -31
- package/src/components/ContentModule/ContentModule.vue +0 -65
- package/src/components/FooterNavigation/FooterNavigation.ts +0 -13
- package/src/components/FooterNavigation/FooterNavigation.vue +0 -59
- package/src/components/Image/Image.ts +0 -12
- package/src/components/Image/Image.vue +0 -17
- package/src/components/LogoCollectionModule/LogoCollectionModule.ts +0 -12
- package/src/components/LogoCollectionModule/LogoCollectionModule.vue +0 -40
- package/src/components/NavigationElement/NavigationElement.ts +0 -22
- package/src/components/NavigationElement/NavigationElement.vue +0 -101
- package/src/components/PrimaryNavigation/PrimaryNavigation.ts +0 -10
- package/src/components/PrimaryNavigation/PrimaryNavigation.vue +0 -71
- package/src/components/SplitModule/SplitModule.ts +0 -17
- package/src/components/SplitModule/SplitModule.vue +0 -57
- package/src/components/TestimonialModule/TestimonialModule.ts +0 -22
- package/src/components/TestimonialModule/TestimonialModule.vue +0 -51
- package/src/components/TileCollectionModule/TileCollectionModule.ts +0 -18
- package/src/components/TileCollectionModule/TileCollectionModule.vue +0 -58
- package/src/components/TileContent/TileContent.ts +0 -60
- package/src/components/TileContent/TileContent.vue +0 -116
- package/src/components/TileContent/TileContentIconTile.vue +0 -83
- package/src/components/TileContent/TileContentImageStackedAnimatedTile.vue +0 -121
- package/src/components/TileContent/TileContentImageTile.vue +0 -80
- package/src/components/TileContent/TileContentTextTile.vue +0 -63
- package/src/components/TileContent/TileContentVideoTile.vue +0 -81
- package/src/components/Video/Video.ts +0 -8
- package/src/components/Video/Video.vue +0 -18
- package/src/config/defaultPassthrough.ts +0 -261
- /package/{src/assets → dist/lib/css}/theme.css +0 -0
- /package/{src/assets → dist/lib}/fonts/GT-Walsheim-Bold.woff +0 -0
- /package/{src/assets → dist/lib}/fonts/GT-Walsheim-Bold.woff2 +0 -0
- /package/{src/assets → dist/lib}/fonts/GT-Walsheim-LC-Bold.woff +0 -0
- /package/{src/assets → dist/lib}/fonts/GT-Walsheim-LC-Bold.woff2 +0 -0
- /package/{src/assets → dist/lib}/fonts/GT-Walsheim-LC-Regular.woff +0 -0
- /package/{src/assets → dist/lib}/fonts/GT-Walsheim-LC-Regular.woff2 +0 -0
- /package/{src/assets → dist/lib}/fonts/GT-Walsheim-Medium.woff +0 -0
- /package/{src/assets → dist/lib}/fonts/GT-Walsheim-Medium.woff2 +0 -0
- /package/{src/assets → dist/lib}/fonts/GT-Walsheim-Regular.woff +0 -0
- /package/{src/assets → dist/lib}/fonts/GT-Walsheim-Regular.woff2 +0 -0
- /package/{src/assets → dist/lib}/fonts/fonts.scss +0 -0
- /package/{src/assets → dist/lib}/fonts/notosanssc-bold-webfont.woff +0 -0
- /package/{src/assets → dist/lib}/fonts/notosanssc-bold-webfont.woff2 +0 -0
- /package/{src/assets → dist/lib}/fonts/notosanssc-regular-webfont.woff +0 -0
- /package/{src/assets → dist/lib}/fonts/notosanssc-regular-webfont.woff2 +0 -0
- /package/dist/{vite.svg → lib/vite.svg} +0 -0
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { TileContentVideoTile } from './TileContent'
|
|
3
|
-
import { computed } from 'vue'
|
|
4
|
-
import Card from 'primevue/card'
|
|
5
|
-
import VideoComponent from '../Video/Video.vue'
|
|
6
|
-
import {
|
|
7
|
-
combinePassthroughs,
|
|
8
|
-
TileContentVideoTilePt,
|
|
9
|
-
} from '../../config/defaultPassthrough'
|
|
10
|
-
|
|
11
|
-
const props = defineProps<TileContentVideoTile>()
|
|
12
|
-
const pt = computed(() =>
|
|
13
|
-
combinePassthroughs(TileContentVideoTilePt, props.pt ?? {})
|
|
14
|
-
)
|
|
15
|
-
|
|
16
|
-
const computedCardLabelStyle = computed(() => {
|
|
17
|
-
return {
|
|
18
|
-
'background-color': props?.cardLabel?.backgroundColor ?? 'transparent',
|
|
19
|
-
color: props?.cardLabel?.textColor ?? 'inherit',
|
|
20
|
-
}
|
|
21
|
-
})
|
|
22
|
-
</script>
|
|
23
|
-
|
|
24
|
-
<template>
|
|
25
|
-
<div
|
|
26
|
-
:class="`tile-content relative text-center list-none flex-auto rounded overflow-visible mx-auto shadow-none ${pt?.root ?? ''}`"
|
|
27
|
-
>
|
|
28
|
-
<div
|
|
29
|
-
v-if="cardLabel"
|
|
30
|
-
:style="computedCardLabelStyle"
|
|
31
|
-
:class="`tile-label absolute ${pt?.label}`"
|
|
32
|
-
>
|
|
33
|
-
{{ cardLabel.content }}
|
|
34
|
-
</div>
|
|
35
|
-
<Card
|
|
36
|
-
:class="`${pt?.container ?? ''} tile-content-container shadow-none`"
|
|
37
|
-
:pt:footer:class="`tile-content-ctas ${pt?.ctas ?? ''}`"
|
|
38
|
-
:pt:body:class="pt?.body ?? ''"
|
|
39
|
-
>
|
|
40
|
-
<template v-if="description || listItems" #content>
|
|
41
|
-
<div :class="`flex flex-col tile-content-inner ${pt?.content ?? ''}`">
|
|
42
|
-
<h3
|
|
43
|
-
v-if="headline"
|
|
44
|
-
:class="`tile-content-headline ${pt?.headline ?? ''}`"
|
|
45
|
-
>
|
|
46
|
-
{{ headline }}
|
|
47
|
-
</h3>
|
|
48
|
-
<h6
|
|
49
|
-
v-if="subheadline"
|
|
50
|
-
:class="`tile-content-subheadline ${pt?.subheadline ?? ''}`"
|
|
51
|
-
>
|
|
52
|
-
{{ subheadline }}
|
|
53
|
-
</h6>
|
|
54
|
-
|
|
55
|
-
<div v-if="Video" :class="`tile-content-media ${pt?.media ?? ''}`">
|
|
56
|
-
<div class="tile-content-media-background"></div>
|
|
57
|
-
<VideoComponent v-if="Video" v-bind="Video" class="w-full" />
|
|
58
|
-
</div>
|
|
59
|
-
|
|
60
|
-
<div
|
|
61
|
-
v-if="description"
|
|
62
|
-
:class="`tile-content-description ${pt?.description ?? ''}`"
|
|
63
|
-
v-html="description"
|
|
64
|
-
></div>
|
|
65
|
-
</div>
|
|
66
|
-
</template>
|
|
67
|
-
|
|
68
|
-
<template v-if="ctas || footer" #footer>
|
|
69
|
-
<p v-if="footer" :class="`${pt?.footer ?? ''}`">
|
|
70
|
-
{{ footer }}
|
|
71
|
-
</p>
|
|
72
|
-
<CTA
|
|
73
|
-
v-for="(item, index) in ctas"
|
|
74
|
-
:key="`cta-${item.title}-${index}`"
|
|
75
|
-
:class="`cta-${index} ${pt?.cta}`"
|
|
76
|
-
:="item"
|
|
77
|
-
/>
|
|
78
|
-
</template>
|
|
79
|
-
</Card>
|
|
80
|
-
</div>
|
|
81
|
-
</template>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { Video } from './Video'
|
|
3
|
-
|
|
4
|
-
withDefaults(defineProps<Video>(), { isEmbedded: false })
|
|
5
|
-
</script>
|
|
6
|
-
|
|
7
|
-
<template>
|
|
8
|
-
<iframe
|
|
9
|
-
v-if="isEmbedded"
|
|
10
|
-
:src="media.src"
|
|
11
|
-
:height="media.height"
|
|
12
|
-
:width="media.width"
|
|
13
|
-
>
|
|
14
|
-
</iframe>
|
|
15
|
-
<video v-else :alt="altTag" :height="media.height" :width="media.width">
|
|
16
|
-
<source :src="media.src" />
|
|
17
|
-
</video>
|
|
18
|
-
</template>
|
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { twMerge } from 'tailwind-merge'
|
|
3
|
-
import { ComponentPassthrough } from '../types'
|
|
4
|
-
import { ContainerModulePassthrough } from '../components/ContainerModule/ContainerModule'
|
|
5
|
-
import { AccordionItemPassthrough } from '../components/Accordion/AccordionItem'
|
|
6
|
-
import { AccordionPassthrough } from '../components/Accordion/Accordion'
|
|
7
|
-
import { CarouselPassthrough } from '../components/CarouselModule/CarouselModule'
|
|
8
|
-
import { ContentModulePassthrough } from '../components/ContentModule/ContentModule'
|
|
9
|
-
import { TestimonialModulePassthrough } from '../components/TestimonialModule/TestimonialModule'
|
|
10
|
-
import { TileContentPassthrough } from '../components/TileContent/TileContent'
|
|
11
|
-
import { CTAPassthrough } from '../components/CTA/CTA'
|
|
12
|
-
|
|
13
|
-
export const DEFAULT_PASSTHROUGH: ComponentPassthrough = {
|
|
14
|
-
headline:
|
|
15
|
-
'mb-12 text-4xl md:text-5xl font-bold leading-tight text-center text-primary',
|
|
16
|
-
subheadline: 'mb-2',
|
|
17
|
-
content: '',
|
|
18
|
-
description: '',
|
|
19
|
-
start: '',
|
|
20
|
-
center: '',
|
|
21
|
-
end: '',
|
|
22
|
-
container: 'max-w-[1024px] mx-auto',
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
interface GenericComponentPassthrough
|
|
26
|
-
extends ComponentPassthrough,
|
|
27
|
-
AccordionPassthrough,
|
|
28
|
-
AccordionItemPassthrough,
|
|
29
|
-
CarouselPassthrough,
|
|
30
|
-
ContainerModulePassthrough,
|
|
31
|
-
ContentModulePassthrough,
|
|
32
|
-
CTAPassthrough,
|
|
33
|
-
TestimonialModulePassthrough,
|
|
34
|
-
TileContentPassthrough {}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* TODO: Need to define the types for the passthroughs.
|
|
38
|
-
* REMOVE eslint-disable once types are defined
|
|
39
|
-
*/
|
|
40
|
-
export const combinePassthroughs = <
|
|
41
|
-
PtType extends GenericComponentPassthrough,
|
|
42
|
-
OverrideType extends GenericComponentPassthrough,
|
|
43
|
-
>(
|
|
44
|
-
passthrough: PtType,
|
|
45
|
-
overrides: OverrideType
|
|
46
|
-
) => {
|
|
47
|
-
const built: GenericComponentPassthrough = {}
|
|
48
|
-
|
|
49
|
-
// First combine the core passthroughs
|
|
50
|
-
for (const key in passthrough) {
|
|
51
|
-
;(built as any)[key] = twMerge(
|
|
52
|
-
(passthrough as any)[key] ?? '',
|
|
53
|
-
(overrides as any)[key] ?? ''
|
|
54
|
-
)
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// Combine any overrides
|
|
58
|
-
for (const key in overrides) {
|
|
59
|
-
;(built as any)[key] = twMerge(
|
|
60
|
-
(built as any)[key] ?? '',
|
|
61
|
-
(overrides as any)[key] ?? ''
|
|
62
|
-
)
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
return built
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface AccordionPtVariants {
|
|
69
|
-
List: AccordionPassthrough
|
|
70
|
-
Tile: AccordionPassthrough
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export const AccordionPt: AccordionPtVariants = {
|
|
74
|
-
List: combinePassthroughs(DEFAULT_PASSTHROUGH, {
|
|
75
|
-
container: 'flex flex-col',
|
|
76
|
-
}),
|
|
77
|
-
Tile: combinePassthroughs(DEFAULT_PASSTHROUGH, {
|
|
78
|
-
container: 'flex flex-wrap gap-4 items-stretch relative',
|
|
79
|
-
// we should make the "has-.." class programmatic, so it goes off the height of the opened item.
|
|
80
|
-
root: 'mb-0 relative transition-all duration-200 has-[.active]:mb-[550px]',
|
|
81
|
-
}),
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export const AccordionItemPt = combinePassthroughs(DEFAULT_PASSTHROUGH, {
|
|
85
|
-
headline: 'text-lg md:text-lg mb-0 *:text-left',
|
|
86
|
-
image: 'w-14 mr-4',
|
|
87
|
-
})
|
|
88
|
-
|
|
89
|
-
export const AccordionListItemPt = combinePassthroughs(AccordionItemPt, {
|
|
90
|
-
root: 'border-b first:border-t first:border-t-black border-b-black',
|
|
91
|
-
headline:
|
|
92
|
-
'text-primary-950 text-xl md:text-xl py-6 pr-2 *:text-left font-bold ',
|
|
93
|
-
icon: 'text-primary-950',
|
|
94
|
-
content: 'pb-6',
|
|
95
|
-
})
|
|
96
|
-
|
|
97
|
-
export const AccordionTileItemPt = combinePassthroughs(AccordionItemPt, {
|
|
98
|
-
root: ' w-full md:w-[23%]',
|
|
99
|
-
headline:
|
|
100
|
-
'transition-height mb-0 h-[90%] duration-200 py-16 md:text-3xl text-3xl text-center relative rounded-2xl text-white h-[90%] bg-primary group-[.active]:rounded-t-2lg group-[.active]:rounded-b-none group-[.active]:h-full flex items-center justify-center',
|
|
101
|
-
button:
|
|
102
|
-
'h-full w-fit text-center *:text-center justify-center md:*:[word-spacing:100px]', // word-spacing so that text wraps when not in mobile
|
|
103
|
-
icon: 'absolute top-4 right-6',
|
|
104
|
-
content:
|
|
105
|
-
'group-[.first]:rounded-tl-none group-[.last]:rounded-tr-none transition-opacity duration-200 opacity-0 left-0 absolute w-full p-12 text-white rounded-2xl bg-primary group-[.active]:opacity-100',
|
|
106
|
-
})
|
|
107
|
-
|
|
108
|
-
export const CarouselModulePt = combinePassthroughs(DEFAULT_PASSTHROUGH, {})
|
|
109
|
-
|
|
110
|
-
export const CarouselModuleAltPt = combinePassthroughs(DEFAULT_PASSTHROUGH, {})
|
|
111
|
-
|
|
112
|
-
export const ContainerCollectionModulePt = combinePassthroughs(
|
|
113
|
-
DEFAULT_PASSTHROUGH,
|
|
114
|
-
{
|
|
115
|
-
root: 'px-8 md:px-0',
|
|
116
|
-
content: 'max-w-[1024px]',
|
|
117
|
-
}
|
|
118
|
-
)
|
|
119
|
-
|
|
120
|
-
export interface ContainerModulePtVariants {
|
|
121
|
-
Hero: ContainerModulePassthrough
|
|
122
|
-
Centered: ContainerModulePassthrough
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export const ContainerModulePt: ContainerModulePtVariants = {
|
|
126
|
-
Centered: combinePassthroughs(DEFAULT_PASSTHROUGH, {
|
|
127
|
-
root: 'px-8 md:px-0',
|
|
128
|
-
inner: 'h-full mx-auto max-w-[1024px]',
|
|
129
|
-
fullWidthContent: 'max-w-full w-full',
|
|
130
|
-
}),
|
|
131
|
-
Hero: combinePassthroughs(DEFAULT_PASSTHROUGH, {
|
|
132
|
-
root: 'md:h-[500px] mb-12',
|
|
133
|
-
inner: 'md:flex md:items-center h-full py-16 px-4 md:px-16 mb-8',
|
|
134
|
-
headline:
|
|
135
|
-
'md:text-left text-primary-950 text-[8.75vmin] md:text-6xl text-center',
|
|
136
|
-
}),
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export const ContentModulePt = combinePassthroughs(DEFAULT_PASSTHROUGH, {
|
|
140
|
-
root: 'p-5',
|
|
141
|
-
headline: 'mb-4 text-4xl md:text-4xl',
|
|
142
|
-
description: '',
|
|
143
|
-
ctas: 'mt-4',
|
|
144
|
-
cta: '',
|
|
145
|
-
})
|
|
146
|
-
|
|
147
|
-
export interface CTAPtVariants {
|
|
148
|
-
fill: CTAPassthrough
|
|
149
|
-
logo: CTAPassthrough
|
|
150
|
-
link: CTAPassthrough
|
|
151
|
-
outline: CTAPassthrough
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
export const CTAPt: CTAPtVariants = {
|
|
155
|
-
link: {
|
|
156
|
-
logo: 'p-2 bg-[#18a589] rounded-full',
|
|
157
|
-
},
|
|
158
|
-
logo: {
|
|
159
|
-
logo: 'p-2 bg-[#18a589] rounded-full',
|
|
160
|
-
},
|
|
161
|
-
fill: {},
|
|
162
|
-
outline: {},
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
export const FooterNavigationPt = combinePassthroughs(DEFAULT_PASSTHROUGH, {})
|
|
166
|
-
|
|
167
|
-
export const ImagePt = combinePassthroughs(DEFAULT_PASSTHROUGH, {})
|
|
168
|
-
|
|
169
|
-
export const LogoCollectionModulePt = combinePassthroughs(
|
|
170
|
-
DEFAULT_PASSTHROUGH,
|
|
171
|
-
{}
|
|
172
|
-
)
|
|
173
|
-
|
|
174
|
-
export const NavigationElementPt = combinePassthroughs(DEFAULT_PASSTHROUGH, {
|
|
175
|
-
icon: 'ps-2 text-xs',
|
|
176
|
-
})
|
|
177
|
-
|
|
178
|
-
export const PrimaryNavigationPt = combinePassthroughs(DEFAULT_PASSTHROUGH, {})
|
|
179
|
-
|
|
180
|
-
export const SplitModulePt = combinePassthroughs(DEFAULT_PASSTHROUGH, {
|
|
181
|
-
root: 'px-8 md:px-0',
|
|
182
|
-
content:
|
|
183
|
-
'max-w-[1024px] flex justify-evenly gap-4 mx-auto flex-col md:flex-row',
|
|
184
|
-
})
|
|
185
|
-
|
|
186
|
-
export const TestimonialModulePt = combinePassthroughs(DEFAULT_PASSTHROUGH, {
|
|
187
|
-
headline: 'text-primary-950',
|
|
188
|
-
quote: 'text-primary-950 text-lg font-bold',
|
|
189
|
-
text: 'space-y-4 w-full md:w-1/2',
|
|
190
|
-
author: 'text-lg text-gray-600',
|
|
191
|
-
details: 'text-lg text-gray-600',
|
|
192
|
-
media: 'md:w-1/2 w-full',
|
|
193
|
-
})
|
|
194
|
-
|
|
195
|
-
export interface TileCollectionPtVariants {
|
|
196
|
-
IconTile: ComponentPassthrough
|
|
197
|
-
ImageTile: ComponentPassthrough
|
|
198
|
-
VideoTile: ComponentPassthrough
|
|
199
|
-
TextTile: ComponentPassthrough
|
|
200
|
-
ImageStackedAnimatedTile: ComponentPassthrough
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
export const TileCollectionModulePt = combinePassthroughs(DEFAULT_PASSTHROUGH, {
|
|
204
|
-
root: 'px-8 md:px-0',
|
|
205
|
-
})
|
|
206
|
-
|
|
207
|
-
export const TileContentPt = {
|
|
208
|
-
root: 'w-full md:w-[48%] lg:w-[30%] relative flex-auto rounded overflow-visible mx-auto shadow-none flex-none !m-0',
|
|
209
|
-
label:
|
|
210
|
-
'bg-[#18a589] w-[120px] p-2 rounded-[50%] rounded-lg text-2xl text-white flex items-center justify-center leading-none font-bold absolute right-[-4%] top-8',
|
|
211
|
-
numericLabel:
|
|
212
|
-
'absolute rounded-full bg-primary w-[25%] h-[25%] left-4 top-8 md:left-0 md:top-2 text-4xl text-white font-bold flex items-center justify-center',
|
|
213
|
-
headline: 'mb-4 text-4xl md:text-3xl text-center text-primary-950 font-bold',
|
|
214
|
-
// media: 'h-auto w-full mx-auto mb-8 flex items-center justify-center',
|
|
215
|
-
cta: 'text-xl *:font-bold mx-auto text-center font-bold',
|
|
216
|
-
ctas: 'flex gap-2',
|
|
217
|
-
container: 'h-full',
|
|
218
|
-
description: 'leading-normal text-lg',
|
|
219
|
-
body: 'h-full flex flex-col justify-between',
|
|
220
|
-
footer: 'font-bold text-center mt-4 space-y-2',
|
|
221
|
-
footerContent: 'font-bold text-center',
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
export const TileContentIconTilePt = combinePassthroughs(TileContentPt, {
|
|
225
|
-
root: 'bg-white rounded-2xl p-8',
|
|
226
|
-
ctas: 'text-center',
|
|
227
|
-
media: 'mb-6 mx-auto',
|
|
228
|
-
numericLabel:
|
|
229
|
-
'bg-[#18a589] w-[50px] p-2 rounded-[50%] h-[40px] rounded-lg text-3xl md:text-3xl text-white flex items-center justify-center leading-none font-bold absolute left-[-4%] md:left-[-4%] top-8 md:top-8',
|
|
230
|
-
})
|
|
231
|
-
|
|
232
|
-
export const TileContentImageStackedAnimatedTilePt = combinePassthroughs(
|
|
233
|
-
TileContentPt,
|
|
234
|
-
{
|
|
235
|
-
root: '!w-full',
|
|
236
|
-
inner: 'justify-center',
|
|
237
|
-
label:
|
|
238
|
-
'rounded-full flex items-center justify-center font-bold absolute text-white bg-primary z-20 w-auto w-20 h-20 text-4xl rounded-full font-bold',
|
|
239
|
-
media: 'flex-[1_0_26%] md:flex-[1_0_20%]',
|
|
240
|
-
headline: 'font-bold text-left max-w-[400px]',
|
|
241
|
-
subheadline:
|
|
242
|
-
'text-[4.5vmin] md:text-3xl font-bold text-white max-w-[400px]',
|
|
243
|
-
description: 'text-lg max-w-[400px]',
|
|
244
|
-
}
|
|
245
|
-
)
|
|
246
|
-
export const TileContentImageTilePt = combinePassthroughs(TileContentPt, {
|
|
247
|
-
media: 'relative mb-4 md:w-3/4 mx-auto',
|
|
248
|
-
})
|
|
249
|
-
export const TileContentTextTilePt = combinePassthroughs(TileContentPt, {
|
|
250
|
-
ctas: 'flex-col gap-4',
|
|
251
|
-
description: 'text-center',
|
|
252
|
-
})
|
|
253
|
-
export const TileContentVideoTilePt = combinePassthroughs(TileContentPt, {
|
|
254
|
-
root: 'bg-white p-8 rounded-xl',
|
|
255
|
-
headline: 'text-3xl md:text-3xl mb-2 text-primary font-bold',
|
|
256
|
-
subheadline: 'text-base md:text-base text-primary-950 text-center',
|
|
257
|
-
media: 'mb-4 mt-6',
|
|
258
|
-
description: 'text-left',
|
|
259
|
-
})
|
|
260
|
-
|
|
261
|
-
export const VideoPt = combinePassthroughs(DEFAULT_PASSTHROUGH, {})
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|