@iqual/nuxt-icms 1.5.7 → 1.5.9
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/assets/css/components/ck-content.css +18 -1
- package/components/DesignSystem/Atoms/Button.vue +23 -19
- package/components/DesignSystem/Organisms/SpotlightCard.vue +2 -1
- package/components/DesignSystem/Organisms/TeaserCard.vue +13 -7
- package/components/Drupal/Webform/index.vue +1 -1
- package/components/Form/CheckboxInput.vue +4 -4
- package/components/Form/CheckboxInputs.vue +7 -4
- package/components/Form/FileInput.vue +7 -9
- package/components/Form/RadioButtonsInput.vue +7 -4
- package/components/Form/SelectInput.vue +41 -16
- package/components/Form/TextAreaInput.vue +54 -15
- package/components/Form/TextEmailInput.vue +43 -10
- package/components/Form/TextInput.vue +43 -10
- package/components/Form/TextPhoneInput.vue +43 -10
- package/components/Paragraph/FAQ/Layout/index.vue +2 -2
- package/components/Search/Facets/FacetDropdownUI.vue +62 -35
- package/components/Search/Facets/FacetedSearchUI.vue +8 -14
- package/components/Section/Header/Buttons.vue +3 -1
- package/components/Section/Header/Logo.vue +2 -2
- package/components/Section/Header/MainButtons.vue +3 -1
- package/components/Section/Header/MetaButtons.vue +3 -1
- package/components/Section/Header/MetaMenu.vue +1 -1
- package/components/Section/Header/MobileMainMenu.vue +1 -1
- package/components/Section/Header/MobileMainMenuItem.vue +2 -2
- package/package.json +1 -1
|
@@ -70,6 +70,18 @@ const formFieldDescription = tv({
|
|
|
70
70
|
},
|
|
71
71
|
})
|
|
72
72
|
|
|
73
|
+
const inputRoot = tv({
|
|
74
|
+
base: themedClass('inputRoot', 'w-full'),
|
|
75
|
+
variants: {
|
|
76
|
+
colorScheme: {
|
|
77
|
+
none: themedClass('inputRootVariantsColorSchemeNone'),
|
|
78
|
+
dark: themedClass('inputRootVariantsColorSchemeDark'),
|
|
79
|
+
light: themedClass('inputRootVariantsColorSchemeLight'),
|
|
80
|
+
accent: themedClass('inputRootVariantsColorSchemeAccent'),
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
})
|
|
84
|
+
|
|
73
85
|
const inputBase = tv({
|
|
74
86
|
base: themedClass(
|
|
75
87
|
'inputBase',
|
|
@@ -79,19 +91,19 @@ const inputBase = tv({
|
|
|
79
91
|
colorScheme: {
|
|
80
92
|
none: themedClass(
|
|
81
93
|
'inputBaseVariantsColorSchemeNone',
|
|
82
|
-
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-
|
|
94
|
+
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-500',
|
|
83
95
|
),
|
|
84
96
|
dark: themedClass(
|
|
85
97
|
'inputBaseVariantsColorSchemeDark',
|
|
86
|
-
'bg-gray-800 text-gray-200 ring-gray-700 dark:bg-gray-800 dark:ring-gray-700 dark:text-gray-200 placeholder:text-gray-
|
|
98
|
+
'bg-gray-800 text-gray-200 ring-gray-700 dark:bg-gray-800 dark:ring-gray-700 dark:text-gray-200 placeholder:text-gray-500',
|
|
87
99
|
),
|
|
88
100
|
light: themedClass(
|
|
89
101
|
'inputBaseVariantsColorSchemeLight',
|
|
90
|
-
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-
|
|
102
|
+
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-500',
|
|
91
103
|
),
|
|
92
104
|
accent: themedClass(
|
|
93
105
|
'inputBaseVariantsColorSchemeAccent',
|
|
94
|
-
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-
|
|
106
|
+
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-500',
|
|
95
107
|
),
|
|
96
108
|
},
|
|
97
109
|
},
|
|
@@ -106,19 +118,19 @@ const floatingLabel = tv({
|
|
|
106
118
|
colorScheme: {
|
|
107
119
|
none: themedClass(
|
|
108
120
|
'floatingLabelVariantsColorSchemeNone',
|
|
109
|
-
'text-gray-
|
|
121
|
+
'text-gray-500 peer-placeholder-shown:text-gray-500 peer-focus:text-primary-600 dark:text-gray-500 dark:peer-placeholder-shown:text-gray-500 dark:peer-focus:text-primary-400',
|
|
110
122
|
),
|
|
111
123
|
dark: themedClass(
|
|
112
124
|
'floatingLabelVariantsColorSchemeDark',
|
|
113
|
-
'text-gray-
|
|
125
|
+
'text-gray-500 peer-placeholder-shown:text-gray-500 peer-focus:text-primary-400 dark:text-gray-500 dark:peer-placeholder-shown:text-gray-500 dark:peer-focus:text-primary-400',
|
|
114
126
|
),
|
|
115
127
|
light: themedClass(
|
|
116
128
|
'floatingLabelVariantsColorSchemeLight',
|
|
117
|
-
'text-gray-
|
|
129
|
+
'text-gray-500 peer-placeholder-shown:text-gray-500 peer-focus:text-primary-600 dark:text-gray-500 dark:peer-placeholder-shown:text-gray-500 dark:peer-focus:text-primary-400',
|
|
118
130
|
),
|
|
119
131
|
accent: themedClass(
|
|
120
132
|
'floatingLabelVariantsColorSchemeAccent',
|
|
121
|
-
'text-gray-
|
|
133
|
+
'text-gray-500 peer-placeholder-shown:text-gray-500 peer-focus:text-primary-600 dark:text-gray-500 dark:peer-placeholder-shown:text-gray-500 dark:peer-focus:text-primary-400',
|
|
122
134
|
),
|
|
123
135
|
},
|
|
124
136
|
},
|
|
@@ -160,21 +172,28 @@ const floatingLabelText = tv({
|
|
|
160
172
|
:description="floatingLabels ? undefined : cleanDescription"
|
|
161
173
|
:help="floatingLabels ? cleanDescription : undefined"
|
|
162
174
|
:ui="{
|
|
175
|
+
labelWrapper: themedClass('formFieldLabelWrapper', 'mb-1'),
|
|
163
176
|
label: formFieldLabel({ colorScheme }),
|
|
164
177
|
help: formFieldDescription({ colorScheme }),
|
|
165
178
|
description: formFieldDescription({ colorScheme }),
|
|
179
|
+
wrapper: themedClass('formFieldWrapper', 'mb-2'),
|
|
166
180
|
}"
|
|
167
181
|
>
|
|
168
182
|
<UInput
|
|
169
183
|
v-model="model"
|
|
170
184
|
:id="formElement.metadata.key"
|
|
171
185
|
:type="formElement.metadata.type"
|
|
172
|
-
:placeholder="
|
|
186
|
+
:placeholder="
|
|
187
|
+
floatingLabels
|
|
188
|
+
? formElement.placeholder || ' '
|
|
189
|
+
: formElement.placeholder
|
|
190
|
+
"
|
|
173
191
|
:maxlength="formElement.maxlength"
|
|
174
192
|
:minlength="formElement.minlength"
|
|
175
193
|
:pattern="formElement.pattern?.rule"
|
|
176
194
|
:data-floating="floatingLabels"
|
|
177
195
|
:ui="{
|
|
196
|
+
root: inputRoot({ colorScheme }),
|
|
178
197
|
base: inputBase({ colorScheme }),
|
|
179
198
|
}"
|
|
180
199
|
>
|
|
@@ -183,7 +202,21 @@ const floatingLabelText = tv({
|
|
|
183
202
|
:class="floatingLabel({ colorScheme })"
|
|
184
203
|
:for="formElement.metadata.key"
|
|
185
204
|
>
|
|
186
|
-
<span :class="floatingLabelText({ colorScheme })">
|
|
205
|
+
<span :class="floatingLabelText({ colorScheme })">
|
|
206
|
+
{{ formElement.metadata.title }}
|
|
207
|
+
<template v-if="formElement.metadata.required">
|
|
208
|
+
<span
|
|
209
|
+
:class="
|
|
210
|
+
themedClass(
|
|
211
|
+
'floatingLabelRequiredStarClass',
|
|
212
|
+
'ml-0.5 inline-block text-red-600',
|
|
213
|
+
)
|
|
214
|
+
"
|
|
215
|
+
>
|
|
216
|
+
*
|
|
217
|
+
</span>
|
|
218
|
+
</template>
|
|
219
|
+
</span>
|
|
187
220
|
</label>
|
|
188
221
|
</UInput>
|
|
189
222
|
</UFormField>
|
|
@@ -70,6 +70,18 @@ const formFieldDescription = tv({
|
|
|
70
70
|
},
|
|
71
71
|
})
|
|
72
72
|
|
|
73
|
+
const inputRoot = tv({
|
|
74
|
+
base: themedClass('inputRoot', 'w-full'),
|
|
75
|
+
variants: {
|
|
76
|
+
colorScheme: {
|
|
77
|
+
none: themedClass('inputRootVariantsColorSchemeNone'),
|
|
78
|
+
dark: themedClass('inputRootVariantsColorSchemeDark'),
|
|
79
|
+
light: themedClass('inputRootVariantsColorSchemeLight'),
|
|
80
|
+
accent: themedClass('inputRootVariantsColorSchemeAccent'),
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
})
|
|
84
|
+
|
|
73
85
|
const inputBase = tv({
|
|
74
86
|
base: themedClass(
|
|
75
87
|
'inputBase',
|
|
@@ -79,19 +91,19 @@ const inputBase = tv({
|
|
|
79
91
|
colorScheme: {
|
|
80
92
|
none: themedClass(
|
|
81
93
|
'inputBaseVariantsColorSchemeNone',
|
|
82
|
-
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-
|
|
94
|
+
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-500',
|
|
83
95
|
),
|
|
84
96
|
dark: themedClass(
|
|
85
97
|
'inputBaseVariantsColorSchemeDark',
|
|
86
|
-
'bg-gray-800 text-gray-200 ring-gray-700 dark:bg-gray-800 dark:ring-gray-700 dark:text-gray-200 placeholder:text-gray-
|
|
98
|
+
'bg-gray-800 text-gray-200 ring-gray-700 dark:bg-gray-800 dark:ring-gray-700 dark:text-gray-200 placeholder:text-gray-500',
|
|
87
99
|
),
|
|
88
100
|
light: themedClass(
|
|
89
101
|
'inputBaseVariantsColorSchemeLight',
|
|
90
|
-
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-
|
|
102
|
+
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-500',
|
|
91
103
|
),
|
|
92
104
|
accent: themedClass(
|
|
93
105
|
'inputBaseVariantsColorSchemeAccent',
|
|
94
|
-
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-
|
|
106
|
+
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-500',
|
|
95
107
|
),
|
|
96
108
|
},
|
|
97
109
|
},
|
|
@@ -106,19 +118,19 @@ const floatingLabel = tv({
|
|
|
106
118
|
colorScheme: {
|
|
107
119
|
none: themedClass(
|
|
108
120
|
'floatingLabelVariantsColorSchemeNone',
|
|
109
|
-
'text-gray-
|
|
121
|
+
'text-gray-500 peer-placeholder-shown:text-gray-500 peer-focus:text-primary-600 dark:text-gray-500 dark:peer-placeholder-shown:text-gray-500 dark:peer-focus:text-primary-400',
|
|
110
122
|
),
|
|
111
123
|
dark: themedClass(
|
|
112
124
|
'floatingLabelVariantsColorSchemeDark',
|
|
113
|
-
'text-gray-
|
|
125
|
+
'text-gray-500 peer-placeholder-shown:text-gray-500 peer-focus:text-primary-400 dark:text-gray-500 dark:peer-placeholder-shown:text-gray-500 dark:peer-focus:text-primary-400',
|
|
114
126
|
),
|
|
115
127
|
light: themedClass(
|
|
116
128
|
'floatingLabelVariantsColorSchemeLight',
|
|
117
|
-
'text-gray-
|
|
129
|
+
'text-gray-500 peer-placeholder-shown:text-gray-500 peer-focus:text-primary-600 dark:text-gray-500 dark:peer-placeholder-shown:text-gray-500 dark:peer-focus:text-primary-400',
|
|
118
130
|
),
|
|
119
131
|
accent: themedClass(
|
|
120
132
|
'floatingLabelVariantsColorSchemeAccent',
|
|
121
|
-
'text-gray-
|
|
133
|
+
'text-gray-500 peer-placeholder-shown:text-gray-500 peer-focus:text-primary-600 dark:text-gray-500 dark:peer-placeholder-shown:text-gray-500 dark:peer-focus:text-primary-400',
|
|
122
134
|
),
|
|
123
135
|
},
|
|
124
136
|
},
|
|
@@ -160,21 +172,28 @@ const floatingLabelText = tv({
|
|
|
160
172
|
:description="floatingLabels ? undefined : cleanDescription"
|
|
161
173
|
:help="floatingLabels ? cleanDescription : undefined"
|
|
162
174
|
:ui="{
|
|
175
|
+
labelWrapper: themedClass('formFieldLabelWrapper', 'mb-1'),
|
|
163
176
|
label: formFieldLabel({ colorScheme }),
|
|
164
177
|
description: formFieldDescription({ colorScheme }),
|
|
165
178
|
help: formFieldDescription({ colorScheme }),
|
|
179
|
+
wrapper: themedClass('formFieldWrapper', 'mb-2'),
|
|
166
180
|
}"
|
|
167
181
|
>
|
|
168
182
|
<UInput
|
|
169
183
|
v-model="model"
|
|
170
184
|
:id="formElement.metadata.key"
|
|
171
185
|
:type="formElement.metadata.type"
|
|
172
|
-
:placeholder="
|
|
186
|
+
:placeholder="
|
|
187
|
+
floatingLabels
|
|
188
|
+
? formElement.placeholder || ' '
|
|
189
|
+
: formElement.placeholder
|
|
190
|
+
"
|
|
173
191
|
:maxlength="formElement.maxlength"
|
|
174
192
|
:minlength="formElement.minlength"
|
|
175
193
|
:pattern="formElement.pattern?.rule"
|
|
176
194
|
:data-floating="floatingLabels"
|
|
177
195
|
:ui="{
|
|
196
|
+
root: inputRoot({ colorScheme }),
|
|
178
197
|
base: inputBase({ colorScheme }),
|
|
179
198
|
}"
|
|
180
199
|
>
|
|
@@ -183,7 +202,21 @@ const floatingLabelText = tv({
|
|
|
183
202
|
:class="floatingLabel({ colorScheme })"
|
|
184
203
|
:for="formElement.metadata.key"
|
|
185
204
|
>
|
|
186
|
-
<span :class="floatingLabelText({ colorScheme })">
|
|
205
|
+
<span :class="floatingLabelText({ colorScheme })">
|
|
206
|
+
{{ formElement.metadata.title }}
|
|
207
|
+
<template v-if="formElement.metadata.required">
|
|
208
|
+
<span
|
|
209
|
+
:class="
|
|
210
|
+
themedClass(
|
|
211
|
+
'floatingLabelRequiredStarClass',
|
|
212
|
+
'ml-0.5 inline-block text-red-600',
|
|
213
|
+
)
|
|
214
|
+
"
|
|
215
|
+
>
|
|
216
|
+
*
|
|
217
|
+
</span>
|
|
218
|
+
</template>
|
|
219
|
+
</span>
|
|
187
220
|
</label>
|
|
188
221
|
</UInput>
|
|
189
222
|
</UFormField>
|
|
@@ -70,6 +70,18 @@ const formFieldDescription = tv({
|
|
|
70
70
|
},
|
|
71
71
|
})
|
|
72
72
|
|
|
73
|
+
const inputRoot = tv({
|
|
74
|
+
base: themedClass('inputRoot', 'w-full'),
|
|
75
|
+
variants: {
|
|
76
|
+
colorScheme: {
|
|
77
|
+
none: themedClass('inputRootVariantsColorSchemeNone'),
|
|
78
|
+
dark: themedClass('inputRootVariantsColorSchemeDark'),
|
|
79
|
+
light: themedClass('inputRootVariantsColorSchemeLight'),
|
|
80
|
+
accent: themedClass('inputRootVariantsColorSchemeAccent'),
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
})
|
|
84
|
+
|
|
73
85
|
const inputBase = tv({
|
|
74
86
|
base: themedClass(
|
|
75
87
|
'inputBase',
|
|
@@ -79,19 +91,19 @@ const inputBase = tv({
|
|
|
79
91
|
colorScheme: {
|
|
80
92
|
none: themedClass(
|
|
81
93
|
'inputBaseVariantsColorSchemeNone',
|
|
82
|
-
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-
|
|
94
|
+
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-500',
|
|
83
95
|
),
|
|
84
96
|
dark: themedClass(
|
|
85
97
|
'inputBaseVariantsColorSchemeDark',
|
|
86
|
-
'bg-gray-800 text-gray-200 ring-gray-700 dark:bg-gray-800 dark:ring-gray-700 dark:text-gray-200 placeholder:text-gray-
|
|
98
|
+
'bg-gray-800 text-gray-200 ring-gray-700 dark:bg-gray-800 dark:ring-gray-700 dark:text-gray-200 placeholder:text-gray-500',
|
|
87
99
|
),
|
|
88
100
|
light: themedClass(
|
|
89
101
|
'inputBaseVariantsColorSchemeLight',
|
|
90
|
-
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-
|
|
102
|
+
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-500',
|
|
91
103
|
),
|
|
92
104
|
accent: themedClass(
|
|
93
105
|
'inputBaseVariantsColorSchemeAccent',
|
|
94
|
-
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-
|
|
106
|
+
'bg-white text-gray-950 ring-gray-200 dark:bg-white dark:ring-gray-200 dark:text-gray-950 placeholder:text-gray-500',
|
|
95
107
|
),
|
|
96
108
|
},
|
|
97
109
|
},
|
|
@@ -106,19 +118,19 @@ const floatingLabel = tv({
|
|
|
106
118
|
colorScheme: {
|
|
107
119
|
none: themedClass(
|
|
108
120
|
'floatingLabelVariantsColorSchemeNone',
|
|
109
|
-
'text-gray-
|
|
121
|
+
'text-gray-500 peer-placeholder-shown:text-gray-500 peer-focus:text-primary-600 dark:text-gray-500 dark:peer-placeholder-shown:text-gray-500 dark:peer-focus:text-primary-400',
|
|
110
122
|
),
|
|
111
123
|
dark: themedClass(
|
|
112
124
|
'floatingLabelVariantsColorSchemeDark',
|
|
113
|
-
'text-gray-
|
|
125
|
+
'text-gray-500 peer-placeholder-shown:text-gray-500 peer-focus:text-primary-400 dark:text-gray-500 dark:peer-placeholder-shown:text-gray-500 dark:peer-focus:text-primary-400',
|
|
114
126
|
),
|
|
115
127
|
light: themedClass(
|
|
116
128
|
'floatingLabelVariantsColorSchemeLight',
|
|
117
|
-
'text-gray-
|
|
129
|
+
'text-gray-500 peer-placeholder-shown:text-gray-500 peer-focus:text-primary-600 dark:text-gray-500 dark:peer-placeholder-shown:text-gray-500 dark:peer-focus:text-primary-400',
|
|
118
130
|
),
|
|
119
131
|
accent: themedClass(
|
|
120
132
|
'floatingLabelVariantsColorSchemeAccent',
|
|
121
|
-
'text-gray-
|
|
133
|
+
'text-gray-500 peer-placeholder-shown:text-gray-500 peer-focus:text-primary-600 dark:text-gray-500 dark:peer-placeholder-shown:text-gray-500 dark:peer-focus:text-primary-400',
|
|
122
134
|
),
|
|
123
135
|
},
|
|
124
136
|
},
|
|
@@ -160,21 +172,28 @@ const floatingLabelText = tv({
|
|
|
160
172
|
:description="floatingLabels ? undefined : cleanDescription"
|
|
161
173
|
:help="floatingLabels ? cleanDescription : undefined"
|
|
162
174
|
:ui="{
|
|
175
|
+
labelWrapper: themedClass('formFieldLabelWrapper', 'mb-1'),
|
|
163
176
|
label: formFieldLabel({ colorScheme }),
|
|
164
177
|
help: formFieldDescription({ colorScheme }),
|
|
165
178
|
description: formFieldDescription({ colorScheme }),
|
|
179
|
+
wrapper: themedClass('formFieldWrapper', 'mb-2'),
|
|
166
180
|
}"
|
|
167
181
|
>
|
|
168
182
|
<UInput
|
|
169
183
|
v-model="model"
|
|
170
184
|
:id="formElement.metadata.key"
|
|
171
185
|
:type="formElement.metadata.type"
|
|
172
|
-
:placeholder="
|
|
186
|
+
:placeholder="
|
|
187
|
+
floatingLabels
|
|
188
|
+
? formElement.placeholder || ' '
|
|
189
|
+
: formElement.placeholder
|
|
190
|
+
"
|
|
173
191
|
:maxlength="formElement.maxlength"
|
|
174
192
|
:minlength="formElement.minlength"
|
|
175
193
|
:pattern="formElement.pattern?.rule"
|
|
176
194
|
:data-floating="floatingLabels"
|
|
177
195
|
:ui="{
|
|
196
|
+
root: inputRoot({ colorScheme }),
|
|
178
197
|
base: inputBase({ colorScheme }),
|
|
179
198
|
}"
|
|
180
199
|
>
|
|
@@ -183,7 +202,21 @@ const floatingLabelText = tv({
|
|
|
183
202
|
:class="floatingLabel({ colorScheme })"
|
|
184
203
|
:for="formElement.metadata.key"
|
|
185
204
|
>
|
|
186
|
-
<span :class="floatingLabelText({ colorScheme })">
|
|
205
|
+
<span :class="floatingLabelText({ colorScheme })">
|
|
206
|
+
{{ formElement.metadata.title }}
|
|
207
|
+
<template v-if="formElement.metadata.required">
|
|
208
|
+
<span
|
|
209
|
+
:class="
|
|
210
|
+
themedClass(
|
|
211
|
+
'floatingLabelRequiredStarClass',
|
|
212
|
+
'ml-0.5 inline-block text-red-600',
|
|
213
|
+
)
|
|
214
|
+
"
|
|
215
|
+
>
|
|
216
|
+
*
|
|
217
|
+
</span>
|
|
218
|
+
</template>
|
|
219
|
+
</span>
|
|
187
220
|
</label>
|
|
188
221
|
</UInput>
|
|
189
222
|
</UFormField>
|
|
@@ -157,7 +157,7 @@ const accordionItem = tv({
|
|
|
157
157
|
const accordionTrigger = tv({
|
|
158
158
|
base: themedClass(
|
|
159
159
|
'accordionTriggerBase',
|
|
160
|
-
'items-center py-4 hover:no-underline gap-4 text-left text-base cursor-pointer',
|
|
160
|
+
'items-center px-6 py-4 hover:no-underline gap-4 text-left text-base cursor-pointer',
|
|
161
161
|
),
|
|
162
162
|
variants: {
|
|
163
163
|
colorScheme: {
|
|
@@ -182,7 +182,7 @@ const accordionTrigger = tv({
|
|
|
182
182
|
})
|
|
183
183
|
|
|
184
184
|
const accordionContent = tv({
|
|
185
|
-
base: themedClass('accordionContentBase', '
|
|
185
|
+
base: themedClass('accordionContentBase', 'px-6 pt-4 pb-6 text-base'),
|
|
186
186
|
variants: {
|
|
187
187
|
colorScheme: {
|
|
188
188
|
none: themedClass('accordionContentVariantsColorSchemeNone'),
|
|
@@ -44,28 +44,32 @@
|
|
|
44
44
|
<UPopover
|
|
45
45
|
v-model:open="openPopovers[field.field]"
|
|
46
46
|
:class="popover({ colorScheme })"
|
|
47
|
+
:ui="{
|
|
48
|
+
content: themedClass(
|
|
49
|
+
'popoverUiContentClass',
|
|
50
|
+
'rounded-none ring-0',
|
|
51
|
+
),
|
|
52
|
+
}"
|
|
47
53
|
>
|
|
48
|
-
<
|
|
49
|
-
<
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
<template #panel>
|
|
54
|
+
<button type="button" :class="popoverTrigger({ colorScheme })">
|
|
55
|
+
<span
|
|
56
|
+
:class="
|
|
57
|
+
themedClass('popoverTriggerLabelClass', 'text-h8 truncate')
|
|
58
|
+
"
|
|
59
|
+
>
|
|
60
|
+
{{ fieldTriggerLabel(field) }}
|
|
61
|
+
</span>
|
|
62
|
+
<SpriteSymbol
|
|
63
|
+
name="chevron-down"
|
|
64
|
+
aria-hidden="true"
|
|
65
|
+
:class="[
|
|
66
|
+
popoverTriggerIcon({ colorScheme }),
|
|
67
|
+
openPopovers[field.field] ? 'rotate-180' : 'rotate-0',
|
|
68
|
+
]"
|
|
69
|
+
/>
|
|
70
|
+
</button>
|
|
71
|
+
|
|
72
|
+
<template #content>
|
|
69
73
|
<div :class="popoverContent({ colorScheme })">
|
|
70
74
|
<!-- Filter options container -->
|
|
71
75
|
<div
|
|
@@ -87,7 +91,15 @@
|
|
|
87
91
|
:model-value="
|
|
88
92
|
selections[field.field]?.includes(opt.value)
|
|
89
93
|
"
|
|
90
|
-
:
|
|
94
|
+
:ui="{
|
|
95
|
+
root: themedClass('filterOptionUCheckboxRoot'),
|
|
96
|
+
container: themedClass(
|
|
97
|
+
'filterOptionUCheckboxContainer',
|
|
98
|
+
),
|
|
99
|
+
base: checkboxBase({ colorScheme }),
|
|
100
|
+
indicator: checkboxIndicator({ colorScheme }),
|
|
101
|
+
icon: themedClass('filterOptionUCheckboxIcon'),
|
|
102
|
+
}"
|
|
91
103
|
tabindex="-1"
|
|
92
104
|
@click.stop
|
|
93
105
|
/>
|
|
@@ -558,28 +570,43 @@ const resetFiltersButton = tv({
|
|
|
558
570
|
},
|
|
559
571
|
})
|
|
560
572
|
|
|
561
|
-
const
|
|
562
|
-
base: themedClass(
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
573
|
+
const checkboxBase = tv({
|
|
574
|
+
base: themedClass('checkboxBase', 'rounded-none'),
|
|
575
|
+
variants: {
|
|
576
|
+
colorScheme: {
|
|
577
|
+
none: themedClass('checkboxBaseVariantsColorSchemeNone', 'ring-gray-200'),
|
|
578
|
+
dark: themedClass('checkboxBaseVariantsColorSchemeDark', 'ring-gray-800'),
|
|
579
|
+
light: themedClass(
|
|
580
|
+
'checkboxBaseVariantsColorSchemeLight',
|
|
581
|
+
'ring-gray-200',
|
|
582
|
+
),
|
|
583
|
+
accent: themedClass(
|
|
584
|
+
'checkboxBaseVariantsColorSchemeAccent',
|
|
585
|
+
'ring-white',
|
|
586
|
+
),
|
|
587
|
+
},
|
|
588
|
+
},
|
|
589
|
+
})
|
|
590
|
+
|
|
591
|
+
const checkboxIndicator = tv({
|
|
592
|
+
base: themedClass('checkboxIndicatorBase'),
|
|
566
593
|
variants: {
|
|
567
594
|
colorScheme: {
|
|
568
595
|
none: themedClass(
|
|
569
|
-
'
|
|
570
|
-
'text-
|
|
596
|
+
'checkboxIndicatorVariantsColorSchemeNone',
|
|
597
|
+
'text-white',
|
|
571
598
|
),
|
|
572
599
|
dark: themedClass(
|
|
573
|
-
'
|
|
574
|
-
'text-
|
|
600
|
+
'checkboxIndicatorVariantsColorSchemeDark',
|
|
601
|
+
'text-white',
|
|
575
602
|
),
|
|
576
603
|
light: themedClass(
|
|
577
|
-
'
|
|
578
|
-
'text-
|
|
604
|
+
'checkboxIndicatorVariantsColorSchemeLight',
|
|
605
|
+
'text-white',
|
|
579
606
|
),
|
|
580
607
|
accent: themedClass(
|
|
581
|
-
'
|
|
582
|
-
'text-
|
|
608
|
+
'checkboxIndicatorVariantsColorSchemeAccent',
|
|
609
|
+
'text-primary bg-white',
|
|
583
610
|
),
|
|
584
611
|
},
|
|
585
612
|
},
|
|
@@ -180,21 +180,15 @@ Facets: {{ facetData.length }} items</pre
|
|
|
180
180
|
"
|
|
181
181
|
>
|
|
182
182
|
<slot name="load-more" :loadMore="loadMore" :loading="loadingMore">
|
|
183
|
-
<
|
|
184
|
-
|
|
183
|
+
<DesignSystemAtomsButton
|
|
184
|
+
type="button"
|
|
185
|
+
:colorScheme="colorScheme"
|
|
186
|
+
buttonStyle="normal"
|
|
187
|
+
:label="loadingMore ? defaultLoadingText : defaultLoadMoreText"
|
|
185
188
|
:disabled="loadingMore"
|
|
186
|
-
:class="
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
v-if="!loadingMore"
|
|
190
|
-
:class="themedClass('globalLoadMoreButtonLabel')"
|
|
191
|
-
>
|
|
192
|
-
{{ defaultLoadMoreText }}
|
|
193
|
-
</span>
|
|
194
|
-
<span v-else :class="themedClass('globalLoadMoreLoadingButtonLabel')">
|
|
195
|
-
{{ defaultLoadingText }}
|
|
196
|
-
</span>
|
|
197
|
-
</button>
|
|
189
|
+
:class="loadMoreButtonClass"
|
|
190
|
+
@click="loadMore"
|
|
191
|
+
/>
|
|
198
192
|
</slot>
|
|
199
193
|
</div>
|
|
200
194
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
v-if="buttons?.length"
|
|
4
|
-
:class="themedClass('containerClass', 'flex flex-
|
|
4
|
+
:class="themedClass('containerClass', 'flex flex-wrap gap-2')"
|
|
5
5
|
>
|
|
6
6
|
<DesignSystemAtomsButton
|
|
7
7
|
v-for="(link, key) in buttons"
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
:target-blank="link?.targetBlank"
|
|
14
14
|
:buttonClass="themedClass('buttonClass', 'xs:w-fit')"
|
|
15
15
|
:labelClass="themedClass('labelClass')"
|
|
16
|
+
colorScheme="none"
|
|
17
|
+
buttonStyle="focus"
|
|
16
18
|
@click="close()"
|
|
17
19
|
/>
|
|
18
20
|
</div>
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
<Media
|
|
9
9
|
v-if="companyLogo"
|
|
10
10
|
:media="companyLogo"
|
|
11
|
-
:mediaClass="themedClass('mediaClass', 'h-
|
|
11
|
+
:mediaClass="themedClass('mediaClass', 'h-8 2xl:h-10')"
|
|
12
12
|
:figcaptionClass="themedClass('figcaptionClass')"
|
|
13
|
-
:elementClass="themedClass('elementClass', 'h-
|
|
13
|
+
:elementClass="themedClass('elementClass', 'h-8 2xl:h-10 w-auto')"
|
|
14
14
|
/>
|
|
15
15
|
</NuxtLink>
|
|
16
16
|
</template>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
v-if="contactButtons?.length !== 0"
|
|
4
|
-
:class="themedClass('containerClass', 'flex
|
|
4
|
+
:class="themedClass('containerClass', 'flex gap-2')"
|
|
5
5
|
>
|
|
6
6
|
<DesignSystemAtomsButton
|
|
7
7
|
v-for="(link, key) in contactButtons"
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
:target-blank="link?.targetBlank"
|
|
14
14
|
:buttonClass="themedClass('buttonClass', 'xs:w-fit')"
|
|
15
15
|
:labelClass="themedClass('labelClass')"
|
|
16
|
+
colorScheme="none"
|
|
17
|
+
buttonStyle="focus"
|
|
16
18
|
@click="close()"
|
|
17
19
|
/>
|
|
18
20
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
v-if="metaLinks?.length !== 0"
|
|
4
|
-
:class="themedClass('containerClass', 'flex
|
|
4
|
+
:class="themedClass('containerClass', 'flex gap-2')"
|
|
5
5
|
>
|
|
6
6
|
<DesignSystemAtomsButton
|
|
7
7
|
v-for="(link, key) in metaLinks"
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
:targetBlank="link?.targetBlank"
|
|
14
14
|
:buttonClass="themedClass('buttonClass', 'xs:w-fit')"
|
|
15
15
|
:labelClass="themedClass('labelClass')"
|
|
16
|
+
colorScheme="none"
|
|
17
|
+
buttonStyle="focus"
|
|
16
18
|
@click="close()"
|
|
17
19
|
/>
|
|
18
20
|
</div>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<nav
|
|
3
|
+
v-if="menuItems.length"
|
|
3
4
|
:aria-label="
|
|
4
5
|
$texts('meta_navigation.nav_aria_label_meta', 'Meta navigation menu')
|
|
5
6
|
"
|
|
6
7
|
:class="themedClass('containerClass', 'empty:hidden')"
|
|
7
8
|
>
|
|
8
9
|
<ul
|
|
9
|
-
v-if="menuItems.length"
|
|
10
10
|
:class="
|
|
11
11
|
themedClass(
|
|
12
12
|
'listClass',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:aria-label="$texts('main_menu.nav_aria_label_main', 'Main navigation')"
|
|
4
4
|
:class="themedClass('containerClass')"
|
|
5
5
|
>
|
|
6
|
-
<ul role="menu" :class="themedClass('listClass', 'flex flex-col gap-
|
|
6
|
+
<ul role="menu" :class="themedClass('listClass', 'flex flex-col gap-4')">
|
|
7
7
|
<MobileMainMenuItem
|
|
8
8
|
v-for="item in menuItems"
|
|
9
9
|
:key="item.id"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<li
|
|
3
3
|
role="menuitem"
|
|
4
|
-
:class="themedClass('listItemClass', 'relative flex flex-col gap-
|
|
4
|
+
:class="themedClass('listItemClass', 'relative flex flex-col gap-4')"
|
|
5
5
|
>
|
|
6
6
|
<div
|
|
7
7
|
:class="
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
<ul
|
|
79
79
|
v-show="isOpen"
|
|
80
80
|
:id="submenuId"
|
|
81
|
-
:class="themedClass('submenuListClass', 'flex flex-col gap-
|
|
81
|
+
:class="themedClass('submenuListClass', 'flex flex-col gap-4 pl-4')"
|
|
82
82
|
>
|
|
83
83
|
<MobileMainMenuItem
|
|
84
84
|
v-for="item in item.children"
|