@spiffcommerce/core 34.0.0-beta.8c15a292-be1c-5189-8ed3-cbd0b34cfa6e → 34.0.0-beta.c6fd98dc-c442-53b2-b921-8f53e4fd56f9

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.mjs CHANGED
@@ -3349,7 +3349,10 @@ const de = (n) => {
3349
3349
  Pa(e);
3350
3350
  const a = {};
3351
3351
  Dt(e, (o) => {
3352
- fr.includes(o.tagName) && !o.attributes.getNamedItem("fill") && o.setAttribute("fill", "black");
3352
+ if (fr.includes(o.tagName) && !o.attributes.getNamedItem("fill")) {
3353
+ const c = "spiff-fill-none";
3354
+ o.setAttribute("spiff-fill", "none"), o.classList.add(c);
3355
+ }
3353
3356
  const s = o.attributes.getNamedItem("fill");
3354
3357
  if (s && s.value !== "none" && !s.value.startsWith("url(")) {
3355
3358
  const c = Ya(s.value), d = c.browserValue.replace(/\W/g, ""), A = `spiff-fill-${d}`;
@@ -12203,7 +12206,6 @@ class cl extends tt {
12203
12206
  * @param userInput Input from the user.
12204
12207
  */
12205
12208
  setText(t) {
12206
- console.log(`LOG: setting text to ${t}`);
12207
12209
  const e = {
12208
12210
  input: t,
12209
12211
  helperData: {}
@@ -12216,10 +12218,10 @@ class cl extends tt {
12216
12218
  this.step.data,
12217
12219
  c?.customiseAllText ?? !1
12218
12220
  );
12219
- if (console.log("LOG: setText 2"), s)
12221
+ if (s)
12220
12222
  o || this.manager.updateMetadata(this.step.stepName, {
12221
12223
  text: d
12222
- }), console.log("LOG: setText regionless");
12224
+ });
12223
12225
  else {
12224
12226
  const { command: A, errorData: u, helperData: h } = H.updateInputText(
12225
12227
  i,
@@ -12229,9 +12231,9 @@ class cl extends tt {
12229
12231
  );
12230
12232
  A && this.manager.getCommandDispatcher()(A), e.helperData = h, e.errorData = u, !o && !u && this.manager.updateMetadata(this.step.stepName, {
12231
12233
  text: d
12232
- }), console.log("LOG: setText 3");
12234
+ });
12233
12235
  }
12234
- return console.log("LOG: setText 4"), e;
12236
+ return e;
12235
12237
  }
12236
12238
  /**
12237
12239
  * Gets the text currently applied to the elements of this step.
@@ -16123,7 +16125,7 @@ class Rd {
16123
16125
  } catch (a) {
16124
16126
  throw console.error(a), new gt("Critical - Unable to synchronize workflow state with server.");
16125
16127
  }
16126
- }, this.options = t, this.options.applicationKey && ar(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 34.0.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16128
+ }, this.options = t, this.options.applicationKey && ar(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 34.0.0-beta.eb70dc77-1c26-5362-97cc-339b6daa5bc7"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16127
16129
  }
16128
16130
  configure(t) {
16129
16131
  pt.setHubUrl(t.hubUrl), pt.setServerUrl(t.serverUrl), pt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, this.userPoolClientId = t.userPoolClientId, this.userPoolRegion = t.userPoolRegion, this.spiffRegion = t.spiffRegion, t.bearerAuthenticationToken && ir(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);