@wise/dynamic-flow-client-internal 5.12.0 → 5.13.0-experimental-13d828c

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/build/main.js CHANGED
@@ -144,7 +144,7 @@ var import_react23 = require("react");
144
144
  // src/dynamicFlow/telemetry/app-version.ts
145
145
  var appVersion = (
146
146
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
147
- typeof process !== "undefined" ? "5.12.0" : "0.0.0"
147
+ typeof process !== "undefined" ? "5.12.1" : "0.0.0"
148
148
  );
149
149
 
150
150
  // src/dynamicFlow/telemetry/getLogEvent.ts
@@ -406,7 +406,7 @@ function NamedIcon({ name, size = 24 }) {
406
406
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { size });
407
407
  }
408
408
  var toCapitalisedCamelCase = (value) => value.split("-").map(capitaliseFirstChar).join("");
409
- var capitaliseFirstChar = (value) => `${value[0].toUpperCase()}${value.slice(1)}`;
409
+ var capitaliseFirstChar = (value) => value.length === 0 ? "" : `${value[0].toUpperCase()}${value.slice(1)}`;
410
410
 
411
411
  // ../renderers/src/components/icon/DynamicIcon.tsx
412
412
  var import_jsx_runtime7 = require("react/jsx-runtime");
@@ -1786,6 +1786,8 @@ var getCTAControl = (callToAction, { ctaSecondary, fullyInteractive }) => {
1786
1786
  import_components24.ListItem.Button,
1787
1787
  {
1788
1788
  href,
1789
+ target: "_blank",
1790
+ rel: "noopener noreferrer",
1789
1791
  partiallyInteractive: !fullyInteractive,
1790
1792
  priority,
1791
1793
  "aria-description": accessibilityDescription,
package/build/main.mjs CHANGED
@@ -126,7 +126,7 @@ import { useMemo as useMemo2 } from "react";
126
126
  // src/dynamicFlow/telemetry/app-version.ts
127
127
  var appVersion = (
128
128
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
129
- typeof process !== "undefined" ? "5.12.0" : "0.0.0"
129
+ typeof process !== "undefined" ? "5.12.1" : "0.0.0"
130
130
  );
131
131
 
132
132
  // src/dynamicFlow/telemetry/getLogEvent.ts
@@ -388,7 +388,7 @@ function NamedIcon({ name, size = 24 }) {
388
388
  return /* @__PURE__ */ jsx6(Icon, { size });
389
389
  }
390
390
  var toCapitalisedCamelCase = (value) => value.split("-").map(capitaliseFirstChar).join("");
391
- var capitaliseFirstChar = (value) => `${value[0].toUpperCase()}${value.slice(1)}`;
391
+ var capitaliseFirstChar = (value) => value.length === 0 ? "" : `${value[0].toUpperCase()}${value.slice(1)}`;
392
392
 
393
393
  // ../renderers/src/components/icon/DynamicIcon.tsx
394
394
  import { jsx as jsx7 } from "react/jsx-runtime";
@@ -1771,6 +1771,8 @@ var getCTAControl = (callToAction, { ctaSecondary, fullyInteractive }) => {
1771
1771
  ListItem6.Button,
1772
1772
  {
1773
1773
  href,
1774
+ target: "_blank",
1775
+ rel: "noopener noreferrer",
1774
1776
  partiallyInteractive: !fullyInteractive,
1775
1777
  priority,
1776
1778
  "aria-description": accessibilityDescription,