@fluid-app/portal-sdk 0.1.1072 → 0.1.1074

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.
@@ -70,6 +70,6 @@ require("./translation-adapter-BhsWM9YE.cjs");
70
70
  require("./sidebar-51utndkK.cjs");
71
71
  require("./ScreenHeaderContext-fJKG4BUl.cjs");
72
72
  require("./use-portal-card-add-3ds-flow-kH5Apyyz.cjs");
73
- const require_SubscriptionsScreen = require("./SubscriptionsScreen-Bmn_fq0c.cjs");
73
+ const require_SubscriptionsScreen = require("./SubscriptionsScreen-eqtRjLFP.cjs");
74
74
  exports.SubscriptionsScreen = require_SubscriptionsScreen.SubscriptionsScreen;
75
75
  exports.subscriptionsScreenPropertySchema = require_SubscriptionsScreen.subscriptionsScreenPropertySchema;
@@ -23,7 +23,6 @@ import "./widgets-api-context-CLw35iC_.mjs";
23
23
  import "./EmbedWidget-B6ajAStV.mjs";
24
24
  import "./PointsWidget-i93-k1eM.mjs";
25
25
  import "./task-composer-form-B9IX6zhg.mjs";
26
- import "./use-account-_6m6foYx.mjs";
27
26
  import "./translation-api-context-DO_ynrG9.mjs";
28
27
  import "./LayoutWidget-CYuIvFY-.mjs";
29
28
  import "./registries-DJe9dUTb.mjs";
@@ -67,10 +66,8 @@ import "./ShopWidget-DDXe6vg-.mjs";
67
66
  import "./translation-adapter-C37avOSN.mjs";
68
67
  import "./translation-adapter-D4UNUw8I.mjs";
69
68
  import "./translation-adapter-BGwgAecf.mjs";
70
- import "./AppNavigationContext-BnYj4Pjp.mjs";
71
- import "./use-store-jLETls7H.mjs";
72
69
  import "./sidebar-LeXaLU9q.mjs";
73
70
  import "./ScreenHeaderContext-D7jhJX8j.mjs";
74
71
  import "./use-portal-card-add-3ds-flow-BFETifoM.mjs";
75
- import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-Dt5dpECl.mjs";
72
+ import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-BbdDoJ_k.mjs";
76
73
  export { SubscriptionsScreen, subscriptionsScreenPropertySchema };
@@ -6225,10 +6225,8 @@ function cancelReasonChoice(draft) {
6225
6225
  } : { reasonCode: draft.code };
6226
6226
  }
6227
6227
  function CancelReasonPicker({ reasons, value, onChange, disabled }) {
6228
- const { t, locale } = useSubscriptionsTranslation();
6228
+ const { t } = useSubscriptionsTranslation();
6229
6229
  const labelFor = (reason) => {
6230
- const merchantLabel = reason.labels[locale] ?? reason.labels[locale.split(/[-_]/)[0] ?? ""];
6231
- if (merchantLabel) return merchantLabel;
6232
6230
  const key = DICTIONARY_LABELS[reason.code];
6233
6231
  return key ? t(key) : reason.code;
6234
6232
  };
@@ -10082,4 +10080,4 @@ Object.defineProperty(exports, "subscriptionsScreenPropertySchema", {
10082
10080
  }
10083
10081
  });
10084
10082
 
10085
- //# sourceMappingURL=SubscriptionsScreen-Bmn_fq0c.cjs.map
10083
+ //# sourceMappingURL=SubscriptionsScreen-eqtRjLFP.cjs.map