@asante-org/atlascopco-vt-litesitegenerator 3.0.34 → 3.6.0

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/index.esm.js CHANGED
@@ -5172,11 +5172,11 @@ var LsgFormContainer = function (_a) {
5172
5172
  hidden: currentStep <= 1
5173
5173
  }, "Back"), multiStep && currentStep < (steps.length || 1) ? /*#__PURE__*/React.createElement("button", {
5174
5174
  type: "button",
5175
- className: "cmp-vtba-form__next",
5175
+ className: "cmp-vtba-form__next lsg-button lsg-button--primary",
5176
5176
  "data-form-next": ""
5177
5177
  }, "Continue") : /*#__PURE__*/React.createElement("button", {
5178
5178
  type: "submit",
5179
- className: "cmp-vtba-form__submit",
5179
+ className: "cmp-vtba-form__submit lsg-button lsg-button--primary",
5180
5180
  "data-form-submit": ""
5181
5181
  }, "Submit")), formError && /*#__PURE__*/React.createElement("p", {
5182
5182
  className: "cmp-vtba-form__error",
@@ -5189,6 +5189,20 @@ var LsgFormContainer = function (_a) {
5189
5189
  }, successMessage)));
5190
5190
  };
5191
5191
 
5192
+ var LsgFormPolicyNotice = function (_a) {
5193
+ var text = _a.text,
5194
+ _b = _a.policyNoticeIcon,
5195
+ policyNoticeIcon = _b === void 0 ? false : _b;
5196
+ return /*#__PURE__*/React.createElement("div", {
5197
+ className: ["cmp-text", policyNoticeIcon ? "cmp-text--policy-notice-icon" : ""].filter(Boolean).join(" ")
5198
+ // eslint-disable-next-line react/no-danger -- mirrors AEM rich-text output
5199
+ ,
5200
+ dangerouslySetInnerHTML: {
5201
+ __html: text
5202
+ }
5203
+ });
5204
+ };
5205
+
5192
5206
  var BASE_COMPONENTS = {
5193
5207
  LsgButton: LsgButton,
5194
5208
  LsgBanner: LsgBanner,
@@ -5215,6 +5229,7 @@ var BASE_COMPONENTS = {
5215
5229
  LsgFormFieldCountry: LsgFormFieldCountry,
5216
5230
  LsgFormFieldTextarea: LsgFormFieldTextarea,
5217
5231
  LsgFormFieldConsent: LsgFormFieldConsent,
5232
+ LsgFormPolicyNotice: LsgFormPolicyNotice,
5218
5233
  LsgFormStep: LsgFormStep
5219
5234
  };
5220
5235
  function createThemeComponent(themeName, componentName, Component) {
@@ -5252,6 +5267,7 @@ function createThemeComponents(themeName) {
5252
5267
  LsgFormFieldCountry: createThemeComponent(themeName, "form-field-country", BASE_COMPONENTS.LsgFormFieldCountry),
5253
5268
  LsgFormFieldTextarea: createThemeComponent(themeName, "form-field-textarea", BASE_COMPONENTS.LsgFormFieldTextarea),
5254
5269
  LsgFormFieldConsent: createThemeComponent(themeName, "form-field-consent", BASE_COMPONENTS.LsgFormFieldConsent),
5270
+ LsgFormPolicyNotice: createThemeComponent(themeName, "form-policy-notice", BASE_COMPONENTS.LsgFormPolicyNotice),
5255
5271
  LsgFormStep: createThemeComponent(themeName, "form-step", BASE_COMPONENTS.LsgFormStep),
5256
5272
  LsgTabs: createThemeComponent(themeName, "tabs", BASE_COMPONENTS.LsgTabs)
5257
5273
  };
@@ -5284,6 +5300,7 @@ var Theme1LsgButton = theme1Components.LsgButton,
5284
5300
  theme1Components.LsgFormFieldSelect;
5285
5301
  theme1Components.LsgFormFieldCountry;
5286
5302
  theme1Components.LsgFormFieldConsent;
5303
+ theme1Components.LsgFormPolicyNotice;
5287
5304
  theme1Components.LsgFormStep;
5288
5305
 
5289
5306
  var theme2Components = createThemeComponents("theme-2");