diff --git a/bundles/af-core/src/main/java/com/adobe/cq/forms/core/components/internal/constants/ThemeConstants.java b/bundles/af-core/src/main/java/com/adobe/cq/forms/core/components/internal/constants/ThemeConstants.java new file mode 100644 index 0000000000..a0e9991dbc --- /dev/null +++ b/bundles/af-core/src/main/java/com/adobe/cq/forms/core/components/internal/constants/ThemeConstants.java @@ -0,0 +1,26 @@ +package com.adobe.cq.forms.core.components.internal.constants; + +/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ~ Copyright 2024 Adobe + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ + +public class ThemeConstants { + + public static final String RELATIVE_PATH_METADATA = "/metadata"; + public static final String THEME_OVERRIDE = "themeOverride"; + public static final String THEME_REF = "themeRef"; + public static final String PROPERTY_CLIENTLIB_CATEGORY = "clientlibCategory"; + +} diff --git a/bundles/af-core/src/main/java/com/adobe/cq/forms/core/components/internal/form/FormStructureParserImpl.java b/bundles/af-core/src/main/java/com/adobe/cq/forms/core/components/internal/form/FormStructureParserImpl.java index 59e8d89d32..46d52e7743 100644 --- a/bundles/af-core/src/main/java/com/adobe/cq/forms/core/components/internal/form/FormStructureParserImpl.java +++ b/bundles/af-core/src/main/java/com/adobe/cq/forms/core/components/internal/form/FormStructureParserImpl.java @@ -18,8 +18,10 @@ import java.io.StringWriter; import java.io.Writer; +import org.apache.commons.lang3.StringUtils; import org.apache.sling.api.SlingHttpServletRequest; import org.apache.sling.api.resource.Resource; +import org.apache.sling.api.resource.ValueMap; import org.apache.sling.models.annotations.Model; import org.apache.sling.models.annotations.injectorspecific.InjectionStrategy; import org.apache.sling.models.annotations.injectorspecific.SlingObject; @@ -28,6 +30,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import com.adobe.cq.forms.core.components.internal.constants.ThemeConstants; import com.adobe.cq.forms.core.components.models.form.FormContainer; import com.adobe.cq.forms.core.components.models.form.FormStructureParser; import com.adobe.cq.forms.core.components.models.form.HtlUtil; @@ -60,6 +63,36 @@ public String getClientLibRefFromFormContainer() { return getPropertyFromFormContainer(resource, FormContainer.PN_CLIENT_LIB_REF); } + @Override + public String getThemeClientLibRefFromFormContainer() { + String themeContentPath = null; + String themeClientLibRef = null; + if (request != null) { + themeContentPath = (String) request.getAttribute(ThemeConstants.THEME_OVERRIDE); // theme editor use-case + } + if (StringUtils.isBlank(themeContentPath)) { + if (request != null) { + themeContentPath = request.getParameter(ThemeConstants.THEME_OVERRIDE); // embed component use-case + } + if (StringUtils.isBlank(themeContentPath)) { + themeContentPath = getPropertyFromFormContainer(resource, ThemeConstants.THEME_REF); // normal including theme in form + // runtime + } + } + // get client library from theme content path + if (StringUtils.isNotBlank(themeContentPath)) { + Resource themeResource = resource.getResourceResolver().getResource(themeContentPath + ThemeConstants.RELATIVE_PATH_METADATA); + if (themeResource != null) { + ValueMap themeProps = themeResource.getValueMap(); + themeClientLibRef = themeProps.get(ThemeConstants.PROPERTY_CLIENTLIB_CATEGORY, ""); + } else { + logger.error("Invalid Theme Name {}", themeContentPath); + } + } + + return themeClientLibRef; + } + @Override public Boolean containsFormContainer() { return containsFormContainer(resource); diff --git a/bundles/af-core/src/main/java/com/adobe/cq/forms/core/components/models/form/FormStructureParser.java b/bundles/af-core/src/main/java/com/adobe/cq/forms/core/components/models/form/FormStructureParser.java index 6f01ed2943..22b5c00dfa 100644 --- a/bundles/af-core/src/main/java/com/adobe/cq/forms/core/components/models/form/FormStructureParser.java +++ b/bundles/af-core/src/main/java/com/adobe/cq/forms/core/components/models/form/FormStructureParser.java @@ -37,6 +37,12 @@ public interface FormStructureParser { */ String getClientLibRefFromFormContainer(); + /** + * + * @returns reference to the client lib of the theme from form container + */ + String getThemeClientLibRefFromFormContainer(); + /** * Checks if this resource contains a form container * diff --git a/bundles/af-core/src/test/java/com/adobe/cq/forms/core/components/internal/models/v1/form/FormStructureParserImplTest.java b/bundles/af-core/src/test/java/com/adobe/cq/forms/core/components/internal/models/v1/form/FormStructureParserImplTest.java index 4c2fc43a74..21ed91b95f 100644 --- a/bundles/af-core/src/test/java/com/adobe/cq/forms/core/components/internal/models/v1/form/FormStructureParserImplTest.java +++ b/bundles/af-core/src/test/java/com/adobe/cq/forms/core/components/internal/models/v1/form/FormStructureParserImplTest.java @@ -28,6 +28,7 @@ import org.junit.jupiter.api.extension.ExtendWith; import com.adobe.cq.export.json.SlingModelFilter; +import com.adobe.cq.forms.core.components.internal.constants.ThemeConstants; import com.adobe.cq.forms.core.components.internal.form.FormConstants; import com.adobe.cq.forms.core.components.models.form.*; import com.adobe.cq.forms.core.context.FormsCoreComponentTestContext; @@ -179,6 +180,67 @@ public void containsFormContainer_should_return_false() { assertFalse(result); } + @Test + void testGetThemeClientLibRefFromFormContainer() { + String path = CONTENT_ROOT + "/myTestPage"; + FormStructureParser formStructureParser = getFormStructureParserUnderTest(path); + String themeClientLibRef = formStructureParser.getThemeClientLibRefFromFormContainer(); + assertEquals("fdtheme.test-theme", themeClientLibRef); + } + + @Test + void testGetThemeClientLibRefWithRequestAttribute() { + String path = CONTENT_ROOT + "/myTestPage"; + context.currentResource(path); + MockSlingHttpServletRequest request = context.request(); + request.setAttribute(ThemeConstants.THEME_OVERRIDE, "/content/dam/formsanddocuments-themes/test-theme"); + FormStructureParser formStructureParser = request.adaptTo(FormStructureParser.class); + String themeClientLibRef = formStructureParser.getThemeClientLibRefFromFormContainer(); + assertEquals("fdtheme.test-theme", themeClientLibRef); + } + + @Test + void testGetThemeClientLibRefWithRequestParameter() { + String path = CONTENT_ROOT + "/myTestPage"; + context.currentResource(path); + MockSlingHttpServletRequest request = context.request(); + request.setParameterMap(Collections.singletonMap(ThemeConstants.THEME_OVERRIDE, + "/content/dam/formsanddocuments-themes/test-theme")); + FormStructureParser formStructureParser = request.adaptTo(FormStructureParser.class); + String themeClientLibRef = formStructureParser.getThemeClientLibRefFromFormContainer(); + assertEquals("fdtheme.test-theme", themeClientLibRef); + } + + @Test + void testGetThemeClientLibRefWithInvalidThemePath() { + String path = CONTENT_ROOT + "/myTestPage"; + context.currentResource(path); + MockSlingHttpServletRequest request = context.request(); + request.setAttribute(ThemeConstants.THEME_OVERRIDE, "/content/dam/formsanddocuments-themes/invalid-theme"); + FormStructureParser formStructureParser = request.adaptTo(FormStructureParser.class); + String themeClientLibRef = formStructureParser.getThemeClientLibRefFromFormContainer(); + assertNull(themeClientLibRef); + } + + @Test + void testGetThemeClientLibRefWithNonExistentTheme() { + String path = CONTENT_ROOT + "/myTestPage"; + context.currentResource(path); + MockSlingHttpServletRequest request = context.request(); + request.setAttribute(ThemeConstants.THEME_OVERRIDE, "/content/dam/formsanddocuments-themes/non-existent"); + FormStructureParser formStructureParser = request.adaptTo(FormStructureParser.class); + String themeClientLibRef = formStructureParser.getThemeClientLibRefFromFormContainer(); + assertNull(themeClientLibRef); + } + + @Test + void testGetThemeClientLibRefWithoutTheme() { + String path = FORM_CONTAINER_PATH + "/container1"; + FormStructureParser formStructureParser = getFormStructureParserUnderTest(path); + String themeClientLibRef = formStructureParser.getThemeClientLibRefFromFormContainer(); + assertNull(themeClientLibRef); + } + private FormStructureParser getFormStructureParserUnderTest(String resourcePath) { context.currentResource(resourcePath); MockSlingHttpServletRequest request = context.request(); diff --git a/bundles/af-core/src/test/resources/form/formstructparser/test-content.json b/bundles/af-core/src/test/resources/form/formstructparser/test-content.json index cc387188f7..ff6f8de10e 100644 --- a/bundles/af-core/src/test/resources/form/formstructparser/test-content.json +++ b/bundles/af-core/src/test/resources/form/formstructparser/test-content.json @@ -14,6 +14,7 @@ "thankyouPage": "/a/b/c", "thankyouMessage": "message", "clientLibRef" : "abc", + "themeRef": "/content/dam/formsanddocuments-themes/test-theme", "datepicker": { "jcr:primaryType": "nt:unstructured", "sling:resourceType": "core/fd/components/form/datepicker/v1/datepicker", @@ -88,5 +89,27 @@ } } } + }, + "dam": { + "jcr:primaryType": "nt:unstructured", + "formsanddocuments-themes": { + "jcr:primaryType": "nt:unstructured", + "test-theme": { + "jcr:primaryType": "nt:unstructured", + "jcr:content": { + "jcr:primaryType": "dam:AssetContent", + "metadata": { + "jcr:primaryType": "nt:unstructured", + "clientlibCategory": "fdtheme.test-theme" + } + } + }, + "invalid-theme": { + "jcr:primaryType": "nt:unstructured", + "jcr:content": { + "jcr:primaryType": "dam:AssetContent" + } + } + } } } diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/accordion/v1/accordion/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/accordion/v1/accordion/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..057cbf08dc --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/accordion/v1/accordion/_cq_styleConfig/.content.xml @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/reset/v1/reset/README.md b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/reset/v1/reset/README.md index 2934f943c4..420c90c207 100644 --- a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/reset/v1/reset/README.md +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/reset/v1/reset/README.md @@ -46,6 +46,7 @@ It should be added to a relevant site client library using the `embed` property. BLOCK cmp-adaptiveform-button ELEMENT cmp-adaptiveform-button__widget ELEMENT cmp-adaptiveform-button__text + ELEMENT cmp-adaptiveform-button__help-container ELEMENT cmp-adaptiveform-button__icon ELEMENT cmp-adaptiveform-button__questionmark ELEMENT cmp-adaptiveform-button__shortdescription diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/reset/v2/reset/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/reset/v2/reset/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..49cdbcb0b5 --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/reset/v2/reset/_cq_styleConfig/.content.xml @@ -0,0 +1,134 @@ + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/submit/v1/submit/README.md b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/submit/v1/submit/README.md index 1901b3eed3..bf680c9bff 100644 --- a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/submit/v1/submit/README.md +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/submit/v1/submit/README.md @@ -55,6 +55,7 @@ When the Submit button is activated and the form begins submission, the form con BLOCK cmp-adaptiveform-button ELEMENT cmp-adaptiveform-button__widget ELEMENT cmp-adaptiveform-button__text + ELEMENT cmp-adaptiveform-button__help-container ELEMENT cmp-adaptiveform-button__icon ELEMENT cmp-adaptiveform-button__questionmark ELEMENT cmp-adaptiveform-button__shortdescription diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/submit/v2/submit/README.md b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/submit/v2/submit/README.md index 879be3df5d..a8aab9390f 100644 --- a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/submit/v2/submit/README.md +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/submit/v2/submit/README.md @@ -51,7 +51,6 @@ It should be added to a relevant site client library using the `embed` property. BLOCK cmp-adaptiveform-button ELEMENT cmp-adaptiveform-button__widget ELEMENT cmp-adaptiveform-button__text - ELEMENT cmp-adaptiveform-button__icon ELEMENT cmp-adaptiveform-button__questionmark ELEMENT cmp-adaptiveform-button__shortdescription ELEMENT cmp-adaptiveform-button__longdescription diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/submit/v2/submit/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/submit/v2/submit/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..52d96a18ea --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/actions/submit/v2/submit/_cq_styleConfig/.content.xml @@ -0,0 +1,134 @@ + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/base/v1/base/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/base/v1/base/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..47f418b74d --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/base/v1/base/_cq_styleConfig/.content.xml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/button/v2/button/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/button/v2/button/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..9c73f74dc3 --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/button/v2/button/_cq_styleConfig/.content.xml @@ -0,0 +1,132 @@ + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkbox/v1/checkbox/README.md b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkbox/v1/checkbox/README.md index 16395ddc44..7417cd0e9e 100644 --- a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkbox/v1/checkbox/README.md +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkbox/v1/checkbox/README.md @@ -53,7 +53,7 @@ JavaScript handling for dialog interaction. It is already included by its edit d ## BEM Description ``` BLOCK cmp-adaptiveform-checkbox - ELEMENT cmp-adaptiveform-checkbox__label + ELEMENT cmp-adaptiveform-checkbox__widget-container ELEMENT cmp-adaptiveform-checkbox__widget ELEMENT cmp-adaptiveform-checkbox__label ELEMENT cmp-adaptiveform-checkbox__help-container diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkbox/v1/checkbox/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkbox/v1/checkbox/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..c417d038a4 --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkbox/v1/checkbox/_cq_styleConfig/.content.xml @@ -0,0 +1,200 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkboxgroup/v1/checkboxgroup/README.md b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkboxgroup/v1/checkboxgroup/README.md index ce32fe6121..818d52d621 100644 --- a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkboxgroup/v1/checkboxgroup/README.md +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkboxgroup/v1/checkboxgroup/README.md @@ -55,8 +55,8 @@ BLOCK cmp-adaptiveform-checkboxgroup ELEMENT cmp-adaptiveform-checkboxgroup__label ELEMENT cmp-adaptiveform-checkboxgroup__label-container ELEMENT cmp-adaptiveform-checkboxgroup__widget - ELEMENT cmp-adaptiveform-checkbox__widget - ELEMENT cmp-adaptiveform-checkbox__label + ELEMENT cmp-adaptiveform-checkboxgroup-item + ELEMENT cmp-adaptiveform-checkboxgroup__option-label ELEMENT cmp-adaptiveform-checkboxgroup__questionmark ELEMENT cmp-adaptiveform-checkboxgroup__shortdescription ELEMENT cmp-adaptiveform-checkboxgroup__longdescription diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkboxgroup/v1/checkboxgroup/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkboxgroup/v1/checkboxgroup/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..03374683ac --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/checkboxgroup/v1/checkboxgroup/_cq_styleConfig/.content.xml @@ -0,0 +1,514 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/container/v2/container/_cq_themeConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/container/v2/container/_cq_themeConfig/.content.xml new file mode 100644 index 0000000000..fe5a906ff5 --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/container/v2/container/_cq_themeConfig/.content.xml @@ -0,0 +1,186 @@ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/datepicker/v1/datepicker/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/datepicker/v1/datepicker/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..3cbb08fe79 --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/datepicker/v1/datepicker/_cq_styleConfig/.content.xml @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/datetime/v1/datetime/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/datetime/v1/datetime/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..1557b71996 --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/datetime/v1/datetime/_cq_styleConfig/.content.xml @@ -0,0 +1,185 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/dropdown/v1/dropdown/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/dropdown/v1/dropdown/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..a4615a1e22 --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/dropdown/v1/dropdown/_cq_styleConfig/.content.xml @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/emailinput/v1/emailinput/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/emailinput/v1/emailinput/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..9cec5398bb --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/emailinput/v1/emailinput/_cq_styleConfig/.content.xml @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v3/fileinput/README.md b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v3/fileinput/README.md index ee4087b649..a47e034163 100644 --- a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v3/fileinput/README.md +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v3/fileinput/README.md @@ -75,6 +75,9 @@ BLOCK cmp-adaptiveform-fileinput ELEMENT cmp-adaptiveform-fileinput__filename ELEMENT cmp-adaptiveform-fileinput__filedelete ELEMENT cmp-adaptiveform-fileinput__widgetlabel + ELEMENT cmp-adaptiveform-fileinput__dragarea + ELEMENT cmp-adaptiveform-fileinput__icon + ELEMENT cmp-adaptiveform-fileinput__dragtext ``` ### Note diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v3/fileinput/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v3/fileinput/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..9a5537c5d7 --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v3/fileinput/_cq_styleConfig/.content.xml @@ -0,0 +1,273 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v4/fileinput/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v4/fileinput/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..5359b00a27 --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v4/fileinput/_cq_styleConfig/.content.xml @@ -0,0 +1,208 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/footer/v1/footer/_cq_styleConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/footer/v1/footer/_cq_styleConfig/.content.xml new file mode 100644 index 0000000000..25e690c4b9 --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/footer/v1/footer/_cq_styleConfig/.content.xml @@ -0,0 +1,37 @@ + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/footer/v1/footer/_cq_themeConfig/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/footer/v1/footer/_cq_themeConfig/.content.xml new file mode 100644 index 0000000000..b8d3222c74 --- /dev/null +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/footer/v1/footer/_cq_themeConfig/.content.xml @@ -0,0 +1,10 @@ + + + +