@iqual/nuxt-icms 1.4.6 → 1.4.7

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.
Files changed (36) hide show
  1. package/components/Blokkli/Media/index.vue +7 -2
  2. package/components/DesignSystem/Atoms/Button.vue +2 -2
  3. package/components/DesignSystem/Molecules/IconText.vue +1 -1
  4. package/components/DesignSystem/Molecules/MediaSlider.vue +1 -1
  5. package/components/DesignSystem/Molecules/Table.vue +1 -1
  6. package/components/DesignSystem/Organisms/ContentBlock.vue +2 -2
  7. package/components/DesignSystem/Organisms/HeaderHero.vue +1 -1
  8. package/components/DesignSystem/Organisms/SearchResults.vue +1 -1
  9. package/components/DesignSystem/Organisms/Testimonial.vue +4 -1
  10. package/components/Drupal/Webform/index.vue +0 -1
  11. package/components/Paragraph/Card/Layout/index.vue +1 -1
  12. package/components/Paragraph/Contact/index.vue +0 -2
  13. package/components/Paragraph/Downloads/index.vue +1 -1
  14. package/components/Paragraph/FAQ/Element/index.vue +1 -1
  15. package/components/Paragraph/FlipTeasers/index.vue +1 -3
  16. package/components/Paragraph/Gallery/index.vue +1 -3
  17. package/components/Paragraph/HeroImage/index.vue +1 -1
  18. package/components/Paragraph/Media/index.vue +21 -2
  19. package/components/Paragraph/Partnerships/Layout/index.vue +2 -2
  20. package/components/Paragraph/Table/index.vue +1 -1
  21. package/components/Paragraph/Tabs/Element/index.vue +1 -1
  22. package/components/Paragraph/Tabs/Layout/index.vue +3 -3
  23. package/components/Paragraph/Team/Layout/index.vue +1 -1
  24. package/components/Paragraph/Teasers/index.vue +1 -1
  25. package/components/Paragraph/Testimonial/Layout/index.vue +2 -2
  26. package/components/Paragraph/TextMedia/index.vue +3 -3
  27. package/components/Paragraph/Timeline/Layout/index.vue +5 -7
  28. package/components/Search/Facets/FacetDropdownUI.vue +5 -5
  29. package/components/Search/Facets/FacetedSearchUI.vue +2 -2
  30. package/components/Search/Input/index.vue +1 -1
  31. package/components/Section/Footer/index.vue +2 -2
  32. package/components/Section/Header/DesktopMainMenu.vue +3 -1
  33. package/components/Section/Header/MobileMainMenuItem.vue +1 -1
  34. package/components/Section/Header/index.vue +2 -2
  35. package/nuxt.config.ts +5 -0
  36. package/package.json +1 -1
@@ -9,7 +9,12 @@ const props = defineProps<ParagraphIcmsLayoutMediaFragment>()
9
9
 
10
10
  const blokkliData = defineBlokkli({
11
11
  bundle: 'icms_layout_media',
12
- globalOptions: ['spacingBottom', 'spacingTop', 'width', 'colorScheme'],
12
+ globalOptions: [
13
+ 'spacingBottom',
14
+ 'spacingTop',
15
+ 'width',
16
+ 'colorScheme',
17
+ 'showCaptions',
18
+ ],
13
19
  })
14
-
15
20
  </script>
@@ -126,7 +126,7 @@ const button = tv({
126
126
  style: 'normal',
127
127
  class: themedClass(
128
128
  'buttonCompoundVariantsDarkNormal',
129
- 'bg-gray-950 text-white hover:bg-white hover:text-gray-950 border-white',
129
+ 'bg-gray-950 text-gray-200 hover:bg-white hover:text-gray-950 border-gray-200',
130
130
  ),
131
131
  },
132
132
  {
@@ -142,7 +142,7 @@ const button = tv({
142
142
  style: 'minimal',
143
143
  class: themedClass(
144
144
  'buttonCompoundVariantsDarkMinimal',
145
- 'text-primary hover:text-white',
145
+ 'text-primary hover:text-gray-200',
146
146
  ),
147
147
  },
148
148
 
@@ -46,7 +46,7 @@ const iconText = tv({
46
46
  none: themedClass('iconTextVariantsColorSchemeNone', 'bg-gray-50'),
47
47
  dark: themedClass(
48
48
  'iconTextVariantsColorSchemeDark',
49
- 'bg-gray-900 text-white',
49
+ 'bg-gray-900 text-gray-200',
50
50
  ),
51
51
  light: themedClass('iconTextVariantsColorSchemeLight', 'bg-white'),
52
52
  accent: themedClass(
@@ -132,7 +132,7 @@ const carouselButton = tv({
132
132
  ),
133
133
  dark: themedClass(
134
134
  'carouselButtonVariantsColorSchemeDark',
135
- 'bg-gray-900 text-white hover:bg-black',
135
+ 'bg-gray-900 text-gray-200 hover:bg-black',
136
136
  ),
137
137
  light: themedClass(
138
138
  'carouselButtonVariantsColorSchemeLight',
@@ -142,7 +142,7 @@ const caption = tv({
142
142
  variants: {
143
143
  colorScheme: {
144
144
  none: themedClass('tableCaptionVariantsColorSchemeNone', 'text-gray-400'),
145
- dark: themedClass('tableCaptionVariantsColorSchemeDark', 'text-white'),
145
+ dark: themedClass('tableCaptionVariantsColorSchemeDark', 'text-gray-200'),
146
146
  light: themedClass(
147
147
  'tableCaptionVariantsColorSchemeLight',
148
148
  'text-gray-500',
@@ -14,8 +14,8 @@
14
14
  <DesignSystemMoleculesMediaSlider
15
15
  v-if="media && media.length"
16
16
  :media="media"
17
- imageAspectRatios="16/9"
18
- imageSizes="xs:100vw sm:100vw md:50vw lg:50vw"
17
+ :imageAspectRatios="imageAspectRatios"
18
+ :imageSizes="imageSizes"
19
19
  :colorScheme="colorScheme"
20
20
  :mediaClass="themedClass('mediaClass')"
21
21
  :containerClass="themedClass('mediaContainerClass')"
@@ -14,7 +14,7 @@
14
14
  v-if="image"
15
15
  :media="image"
16
16
  imageSizes="xs:100vw sm:100vw md:100vw lg:100vw"
17
- imageAspectRatios="xs:1/1 md:16/9"
17
+ imageAspectRatios="xs:1/1 sm:1/1 md:16/9 lg:16/9"
18
18
  :mediaClass="
19
19
  themedClass('mediaClass', 'header-grid-item max-h-[1080px] h-full')
20
20
  "
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div :class="themedClass('resultsContainerClass', 'mt-10 md:mt-20')">
2
+ <div :class="themedClass('resultsContainerClass', 'mt-10')">
3
3
  <p
4
4
  v-if="results && 'label' in results && results.label"
5
5
  :class="themedClass('resultLabelClass', 'h3 mb-4')"
@@ -105,7 +105,10 @@ const authorDivider = tv({
105
105
  variants: {
106
106
  colorScheme: {
107
107
  none: themedClass('authorDividerVariantsColorSchemeNone', 'border-black'),
108
- dark: themedClass('authorDividerVariantsColorSchemeDark', 'border-white'),
108
+ dark: themedClass(
109
+ 'authorDividerVariantsColorSchemeDark',
110
+ 'border-gray-200',
111
+ ),
109
112
  light: themedClass(
110
113
  'authorDividerVariantsColorSchemeLight',
111
114
  'border-black',
@@ -132,7 +132,6 @@ const { data: formDefinition } = await useAsyncData(queryKey, async () => {
132
132
  (v) => v?.data?.webformById || { elements: [] },
133
133
  )
134
134
  })
135
- console.log('Drupal Webform formDefinition:', formDefinition)
136
135
 
137
136
  async function submitWebform(data: FormData) {
138
137
  try {
@@ -46,7 +46,7 @@
46
46
  ),
47
47
  { droptarget: isEditing },
48
48
  {
49
- [themedClass('buttonsContainerOffsetClass', 'mt-10 md:mt-20')]:
49
+ [themedClass('buttonsContainerOffsetClass', 'mt-10')]:
50
50
  pretitle || title,
51
51
  },
52
52
  ]"
@@ -76,8 +76,6 @@ import { useTheme } from '@iqual/nuxt-icms/composables/useTheme'
76
76
 
77
77
  const props = defineProps<ParagraphIcmsLayoutContactFragment>()
78
78
 
79
- console.log('Contact', props)
80
-
81
79
  const { options, isEditing } = useAttrs().blokkliData
82
80
 
83
81
  const themedClass = useTheme('ParagraphContact')
@@ -97,7 +97,7 @@ const download = tv({
97
97
  none: themedClass('downloadVariantsColorSchemeNone', 'bg-gray-50'),
98
98
  dark: themedClass(
99
99
  'downloadVariantsColorSchemeDark',
100
- 'bg-gray-900 text-white',
100
+ 'bg-gray-900 text-gray-200',
101
101
  ),
102
102
  light: themedClass('downloadVariantsColorSchemeLight', 'bg-white'),
103
103
  accent: themedClass(
@@ -59,7 +59,7 @@ const accordionTrigger = tv({
59
59
  ),
60
60
  dark: themedClass(
61
61
  'accordionVariantsColorSchemeDark',
62
- 'bg-gray-900 text-white',
62
+ 'bg-gray-900 text-gray-200',
63
63
  ),
64
64
  light: themedClass(
65
65
  'accordionVariantsColorSchemeLight',
@@ -39,9 +39,7 @@
39
39
  </DesignSystemAtomsGridRow>
40
40
 
41
41
  <DesignSystemAtomsGridRow
42
- :class="
43
- themedClass('secondRowClass', pretitle || title ? 'mt-10 md:mt-20' : '')
44
- "
42
+ :class="themedClass('secondRowClass', pretitle || title ? 'mt-10' : '')"
45
43
  >
46
44
  <DesignSystemOrganismsFlipTeaser
47
45
  v-for="flipTeaser in flipTeasers"
@@ -38,9 +38,7 @@
38
38
 
39
39
  <DesignSystemAtomsGridRow
40
40
  v-if="media?.length"
41
- :class="
42
- themedClass('secondRowClass', pretitle || title ? 'mt-10 md:mt-20' : '')
43
- "
41
+ :class="themedClass('secondRowClass', pretitle || title ? 'mt-10' : '')"
44
42
  >
45
43
  <div
46
44
  v-for="(image, index) in media"
@@ -24,7 +24,7 @@
24
24
  <Media
25
25
  v-if="medium"
26
26
  :media="medium"
27
- imageAspectRatios="xs:1/1 md:16/9"
27
+ imageAspectRatios="xs:1/1 sm:1/1 md:16/9 lg:16/9 xl:16/9 xxl:16/9"
28
28
  imageSizes="xs:100vw sm:100vw md:100vw lg:100vw xl:100vw xxl:100vw"
29
29
  imageLoading="eager"
30
30
  :videoControls="false"
@@ -9,6 +9,8 @@
9
9
  <DesignSystemMoleculesMediaSlider
10
10
  v-if="media && media.length > 1"
11
11
  :media="media"
12
+ :imageSizes="imageSizes"
13
+ :imageAspectRatios="imageAspectRatios"
12
14
  :containerClass="themedClass('mediaSliderContainerClass', 'my-0')"
13
15
  :mediaClass="themedClass('mediaSliderMediaClass')"
14
16
  :elementClass="
@@ -25,17 +27,18 @@
25
27
  themedClass('mediaSliderCarouselButtonNextClass')
26
28
  "
27
29
  colorScheme="none"
28
- showCaption
30
+ :showCaption="showCaptions"
29
31
  />
30
32
 
31
33
  <Media
32
34
  v-else-if="media && media.length === 1 && media[0]"
33
35
  :media="media[0]"
34
36
  :imageSizes="imageSizes"
37
+ :imageAspectRatios="imageAspectRatios"
35
38
  :mediaClass="themedClass('mediaMediaClass')"
36
39
  :elementClass="themedClass('mediaElementClass')"
37
40
  :figcaptionClass="themedClass('mediaFigcaptionClass')"
38
- showCaption
41
+ :showCaption="showCaptions"
39
42
  />
40
43
  </div>
41
44
  </div>
@@ -60,6 +63,10 @@ const spacing = computed(() => {
60
63
  return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
61
64
  })
62
65
 
66
+ const showCaptions = computed(() => {
67
+ return options.value.showCaptions
68
+ })
69
+
63
70
  const rowClassList = computed(() => {
64
71
  const classList = ['grid grid-cols-12 gap-6']
65
72
  if (options.value.width === 'full') {
@@ -82,6 +89,18 @@ const imageSizes = computed(() => {
82
89
  return 'xs:100vw sm:100vw md:50vw lg:640px'
83
90
  })
84
91
 
92
+ const imageAspectRatios = computed(() => {
93
+ if (options.value.width === 'full') {
94
+ return '3/1'
95
+ }
96
+
97
+ if (options.value.width === 'page') {
98
+ return '16/9'
99
+ }
100
+
101
+ return '4/3'
102
+ })
103
+
85
104
  const columnClassList = computed(() => {
86
105
  const classList = ['col-span-12']
87
106
 
@@ -50,7 +50,7 @@
50
50
  <Media
51
51
  v-if="image"
52
52
  :media="image"
53
- imageAspectRatios="xs:16/9 md:1/1 lg:16/9"
53
+ imageAspectRatios="xs:16/9 sm:16/9 md:1/1 lg:16/9"
54
54
  imageSizes="xs:100vw sm:100vw md:50vw lg:600px"
55
55
  :mediaClass="themedClass('mediaClass')"
56
56
  :elementClass="themedClass('elementClass')"
@@ -156,7 +156,7 @@ const bulletPoint = tv({
156
156
  variants: {
157
157
  colorScheme: {
158
158
  none: themedClass('bulletPointVariantsColorSchemeNone', 'text-gray-950'),
159
- dark: themedClass('bulletPointVariantsColorSchemeDark', 'text-white'),
159
+ dark: themedClass('bulletPointVariantsColorSchemeDark', 'text-gray-200'),
160
160
  light: themedClass(
161
161
  'bulletPointVariantsColorSchemeLight',
162
162
  'text-gray-950',
@@ -38,7 +38,7 @@
38
38
  :class="
39
39
  themedClass(
40
40
  'secondRowClass',
41
- pretitle || title || subtitle || text ? 'mt-10 md:mt-20' : '',
41
+ pretitle || title || subtitle || text ? 'mt-10' : '',
42
42
  )
43
43
  "
44
44
  >
@@ -63,7 +63,7 @@ const tabContent = tv({
63
63
  ),
64
64
  dark: themedClass(
65
65
  'tabContentVariantsColorSchemeDark',
66
- 'bg-gray-900 text-white',
66
+ 'bg-gray-900 text-gray-200',
67
67
  ),
68
68
  light: themedClass(
69
69
  'tabContentVariantsColorSchemeLight',
@@ -179,7 +179,7 @@ const tabTrigger = tv({
179
179
  ),
180
180
  dark: themedClass(
181
181
  'tabTriggerVariantsColorSchemeDark',
182
- 'bg-gray-800 dark:bg-gray-800 text-white dark:text-white data-[state=active]:bg-gray-900 dark:data-[state=active]:bg-gray-900 data-[state=active]:text-white border-gray-950',
182
+ 'bg-gray-800 dark:bg-gray-800 text-gray-200 dark:text-gray-200 data-[state=active]:bg-gray-900 dark:data-[state=active]:bg-gray-900 data-[state=active]:text-gray-200 border-gray-950',
183
183
  ),
184
184
  light: themedClass(
185
185
  'tabTriggerVariantsColorSchemeLight',
@@ -203,7 +203,7 @@ const tabContent = tv({
203
203
  ),
204
204
  dark: themedClass(
205
205
  'tabContentVariantsColorSchemeDark',
206
- 'bg-gray-900 text-white',
206
+ 'bg-gray-900 text-gray-200',
207
207
  ),
208
208
  light: themedClass(
209
209
  'tabContentVariantsColorSchemeLight',
@@ -230,7 +230,7 @@ const accordionTrigger = tv({
230
230
  ),
231
231
  dark: themedClass(
232
232
  'accordionVariantsColorSchemeDark',
233
- 'bg-gray-900 text-white',
233
+ 'bg-gray-900 text-gray-200',
234
234
  ),
235
235
  light: themedClass(
236
236
  'accordionVariantsColorSchemeLight',
@@ -42,7 +42,7 @@
42
42
  themedClass(
43
43
  'teamElementsContainerClass',
44
44
  pretitle || title || subtitle || text
45
- ? 'container mx-auto mt-10 grid gap-6 md:mt-20 md:gap-12'
45
+ ? 'container mx-auto mt-10 grid gap-6 md:gap-12'
46
46
  : 'container mx-auto grid gap-6 md:gap-12',
47
47
  ),
48
48
  { droptarget: isEditing },
@@ -44,7 +44,7 @@
44
44
  themedClass(
45
45
  'secondRowClass',
46
46
  pretitle || title || subtitle || text
47
- ? 'grid-4-col mt-10 gap-y-12 md:mt-20'
47
+ ? 'grid-4-col mt-10 gap-y-12'
48
48
  : 'grid-4-col gap-y-12',
49
49
  )
50
50
  "
@@ -106,7 +106,7 @@ const carousel = tv({
106
106
  none: themedClass('carouselVariantsColorSchemeNone', 'bg-gray-50'),
107
107
  dark: themedClass(
108
108
  'carouselVariantsColorSchemeDark',
109
- 'bg-gray-900 text-white',
109
+ 'bg-gray-900 text-gray-200',
110
110
  ),
111
111
  light: themedClass('carouselVariantsColorSchemeLight', 'bg-white'),
112
112
  accent: themedClass(
@@ -133,7 +133,7 @@ const carouselButton = tv({
133
133
  ),
134
134
  dark: themedClass(
135
135
  'carouselButtonVariantsColorSchemeDark',
136
- 'bg-gray-800 text-white hover:bg-gray-950 dark:bg-gray-800 dark:text-white hover:dark:bg-gray-950',
136
+ 'bg-gray-800 text-gray-200 hover:bg-gray-950 dark:bg-gray-800 dark:text-gray-200 hover:dark:bg-gray-950',
137
137
  ),
138
138
  light: themedClass(
139
139
  'carouselButtonVariantsColorSchemeLight',
@@ -144,11 +144,11 @@ const imageAspectRatios = computed(() => {
144
144
 
145
145
  switch (width) {
146
146
  case 'narrow':
147
- return '3/2'
147
+ return '2/1'
148
148
  case 'medium':
149
- return '4/3'
149
+ return '16/9'
150
150
  default:
151
- return '1/1'
151
+ return '3/2'
152
152
  }
153
153
  })
154
154
 
@@ -38,9 +38,7 @@
38
38
  </div>
39
39
  </DesignSystemAtomsGridRow>
40
40
 
41
- <DesignSystemAtomsGridRow
42
- :class="themedClass('secondRowClass', 'mt-10 lg:mt-20')"
43
- >
41
+ <DesignSystemAtomsGridRow :class="themedClass('secondRowClass', 'mt-10')">
44
42
  <!-- Anchor navigation -->
45
43
  <div
46
44
  :class="
@@ -147,7 +145,7 @@
147
145
  cn(
148
146
  themedClass(
149
147
  'carouselButtonPrevClass',
150
- '-bottom-[90px] left-0 top-auto xl:bottom-auto xl:left-16 xl:top-1/2',
148
+ '-bottom-[90px] left-0 top-auto',
151
149
  ),
152
150
  carouselButton({ colorScheme }),
153
151
  )
@@ -164,7 +162,7 @@
164
162
  cn(
165
163
  themedClass(
166
164
  'carouselButtonNextClass',
167
- '-bottom-[90px] left-[66px] top-auto xl:bottom-auto xl:left-auto xl:right-16 xl:top-1/2',
165
+ '-bottom-[90px] left-[66px] top-auto',
168
166
  ),
169
167
  carouselButton({ colorScheme }),
170
168
  )
@@ -364,7 +362,7 @@ const carouselButton = tv({
364
362
  ),
365
363
  dark: themedClass(
366
364
  'carouselButtonVariantsColorSchemeDark',
367
- 'bg-gray-800 text-white dark:bg-gray-800 dark:text-white',
365
+ 'bg-gray-800 text-gray-200 dark:bg-gray-800 dark:text-gray-200',
368
366
  ),
369
367
  light: themedClass(
370
368
  'carouselButtonVariantsColorSchemeLight',
@@ -418,7 +416,7 @@ const decorativeCircle = tv({
418
416
  ),
419
417
  dark: themedClass(
420
418
  'decorativeCircleVariantsColorSchemeDark',
421
- 'border-white bg-gray-950',
419
+ 'border-gray-200 bg-gray-950',
422
420
  ),
423
421
  light: themedClass(
424
422
  'decorativeCircleVariantsColorSchemeLight',
@@ -398,7 +398,7 @@ const popoverTrigger = tv({
398
398
  ),
399
399
  dark: themedClass(
400
400
  'popoverTriggerVariantsColorSchemeDark',
401
- 'bg-gray-900 text-white border-gray-800 focus-visible:ring-primary',
401
+ 'bg-gray-900 text-gray-200 border-gray-800 focus-visible:ring-primary',
402
402
  ),
403
403
  light: themedClass(
404
404
  'popoverTriggerVariantsColorSchemeLight',
@@ -471,7 +471,7 @@ const resultsCount = tv({
471
471
  variants: {
472
472
  colorScheme: {
473
473
  none: themedClass('resultsTextVariantsColorSchemeNone', 'text-black'),
474
- dark: themedClass('resultsTextVariantsColorSchemeDark', 'text-white'),
474
+ dark: themedClass('resultsTextVariantsColorSchemeDark', 'text-gray-200'),
475
475
  light: themedClass('resultsTextVariantsColorSchemeLight', 'text-black'),
476
476
  accent: themedClass('resultsTextVariantsColorSchemeAccent', 'text-white'),
477
477
  },
@@ -545,7 +545,7 @@ const checkbox = tv({
545
545
  ),
546
546
  dark: themedClass(
547
547
  'checkboxVariantsColorSchemeDark',
548
- 'text-white border-gray-800 dark:border-gray-800 bg-gray-800 dark:bg-gray-800 data-[state=checked]:bg-primary dark:data-[state=checked]:bg-primary text-white dark:text-white data-[state=checked]:text-white dark:data-[state=checked]:text-white data-[state=checked]:border-primary dark:data-[state=checked]:border-primary',
548
+ 'text-gray-200 border-gray-800 dark:border-gray-800 bg-gray-800 dark:bg-gray-800 data-[state=checked]:bg-primary dark:data-[state=checked]:bg-primary text-gray-200 dark:text-gray-200 data-[state=checked]:text-gray-200 dark:data-[state=checked]:text-gray-200 data-[state=checked]:border-primary dark:data-[state=checked]:border-primary',
549
549
  ),
550
550
  light: themedClass(
551
551
  'checkboxVariantsColorSchemeLight',
@@ -599,7 +599,7 @@ const filterOptionLabel = tv({
599
599
  ),
600
600
  dark: themedClass(
601
601
  'filterOptionLabelVariantsColorSchemeDark',
602
- 'text-white',
602
+ 'text-gray-200',
603
603
  ),
604
604
  light: themedClass(
605
605
  'filterOptionLabelVariantsColorSchemeLight',
@@ -623,7 +623,7 @@ const filterOptionCount = tv({
623
623
  ),
624
624
  dark: themedClass(
625
625
  'filterOptionCountVariantsColorSchemeDark',
626
- 'text-white',
626
+ 'text-gray-200',
627
627
  ),
628
628
  light: themedClass(
629
629
  'filterOptionCountVariantsColorSchemeLight',
@@ -174,7 +174,7 @@ Facets: {{ facetData.length }} items</pre
174
174
  :class="
175
175
  themedClass(
176
176
  'globalLoadMoreButtonContainer',
177
- 'mt-10 flex justify-center lg:mt-20',
177
+ 'mt-10 flex justify-center',
178
178
  )
179
179
  "
180
180
  >
@@ -794,7 +794,7 @@ const button = tv({
794
794
  ),
795
795
  dark: themedClass(
796
796
  'buttonVariantsColorSchemeDark',
797
- 'bg-white text-black hover:bg-black hover:text-white border-black',
797
+ 'bg-white text-black hover:bg-black hover:text-gray-200 border-black',
798
798
  ),
799
799
  light: themedClass(
800
800
  'buttonVariantsColorSchemeLight',
@@ -85,7 +85,7 @@ const icon = tv({
85
85
  variants: {
86
86
  colorScheme: {
87
87
  none: themedClass('iconVariantsColorSchemeNone', 'text-primary'),
88
- dark: themedClass('iconVariantsColorSchemeDark', 'text-white'),
88
+ dark: themedClass('iconVariantsColorSchemeDark', 'text-gray-200'),
89
89
  light: themedClass('iconVariantsColorSchemeLight', 'text-primary'),
90
90
  accent: themedClass('iconVariantsColorSchemeAccent', 'text-black'),
91
91
  },
@@ -137,7 +137,7 @@
137
137
  :class="
138
138
  themedClass(
139
139
  'phoneNumberClass',
140
- 'hover:text-primary mb-2 block w-fit font-medium text-black motion-safe:transition-colors motion-safe:duration-200',
140
+ 'hover:text-primary mb-2 block w-fit font-medium motion-safe:transition-colors motion-safe:duration-200',
141
141
  )
142
142
  "
143
143
  >
@@ -150,7 +150,7 @@
150
150
  :class="
151
151
  themedClass(
152
152
  'emailAddressClass',
153
- 'hover:text-primary mb-2 block w-fit font-medium text-black motion-safe:transition-colors motion-safe:duration-200',
153
+ 'hover:text-primary mb-2 block w-fit font-medium motion-safe:transition-colors motion-safe:duration-200',
154
154
  )
155
155
  "
156
156
  >
@@ -10,7 +10,9 @@
10
10
  >
11
11
  <ul
12
12
  v-if="menuItems.length"
13
- :class="themedClass('listClass', 'flex items-stretch justify-end gap-8')"
13
+ :class="
14
+ themedClass('listClass', 'flex h-full items-stretch justify-end gap-8')
15
+ "
14
16
  >
15
17
  <li
16
18
  v-for="item in menuItems"
@@ -29,7 +29,7 @@
29
29
  :class="[
30
30
  themedClass(
31
31
  'submenuToggleClass',
32
- 'size-5 cursor-pointer motion-safe:transition-transform motion-safe:duration-300',
32
+ 'size-5 cursor-pointer focus:outline-0 focus-visible:outline-2 motion-safe:transition-transform motion-safe:duration-300',
33
33
  ),
34
34
  { 'motion-safe:rotate-180': isOpen },
35
35
  ]"
@@ -30,7 +30,7 @@
30
30
  "
31
31
  >
32
32
  <SectionHeaderMetaMenu />
33
- <SectionHeaderButtons :buttons="metaLinks" />
33
+ <SectionHeaderMetaButtons :buttons="metaLinks" />
34
34
  <div
35
35
  :class="
36
36
  themedClass(
@@ -67,7 +67,7 @@
67
67
  themedClass('mainButtonsContainer', 'hidden empty:hidden 2xl:block')
68
68
  "
69
69
  >
70
- <SectionHeaderButtons :buttons="contactButtons" />
70
+ <SectionHeaderMainButtons :buttons="contactButtons" />
71
71
  </div>
72
72
  <div
73
73
  :class="
package/nuxt.config.ts CHANGED
@@ -499,6 +499,11 @@ export default defineNuxtConfig({
499
499
  label: 'Reverse columns',
500
500
  default: false,
501
501
  },
502
+ showCaptions: {
503
+ type: 'checkbox',
504
+ label: 'Show captions',
505
+ default: true,
506
+ },
502
507
  imageAlignment: {
503
508
  type: 'radios',
504
509
  label: 'Image Alingment',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iqual/nuxt-icms",
3
- "version": "1.4.6",
3
+ "version": "1.4.7",
4
4
  "description": "ICMS Base",
5
5
  "type": "module",
6
6
  "private": false,