@asdp/ferryui 0.1.22-dev.10769 → 0.1.22-dev.10797

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.d.mts CHANGED
@@ -2554,6 +2554,7 @@ interface CardOrdererInfoProps {
2554
2554
  * When provided, the "Tambahkan Cc Email" link is shown
2555
2555
  */
2556
2556
  onCcEmailRemove?: () => void;
2557
+ showNotificationType?: boolean;
2557
2558
  /**
2558
2559
  * Selected notification type
2559
2560
  * @default 'whatsapp'
package/dist/index.d.ts CHANGED
@@ -2554,6 +2554,7 @@ interface CardOrdererInfoProps {
2554
2554
  * When provided, the "Tambahkan Cc Email" link is shown
2555
2555
  */
2556
2556
  onCcEmailRemove?: () => void;
2557
+ showNotificationType?: boolean;
2557
2558
  /**
2558
2559
  * Selected notification type
2559
2560
  * @default 'whatsapp'
package/dist/index.js CHANGED
@@ -10916,6 +10916,7 @@ var CardOrdererInfo = ({
10916
10916
  ccEmail,
10917
10917
  onCcEmailChange,
10918
10918
  onCcEmailRemove,
10919
+ showNotificationType = false,
10919
10920
  notificationType: notificationTypeProp = "whatsapp",
10920
10921
  onNotificationTypeChange
10921
10922
  }) => {
@@ -10955,7 +10956,7 @@ var CardOrdererInfo = ({
10955
10956
  /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.value, children: orderer?.email || "-" }),
10956
10957
  !showCcForm && /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Link, { className: styles.addCcLink, onClick: handleAddCcClick, children: mergedLabels.addCcEmail })
10957
10958
  ] }) }),
10958
- /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { md: 4, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.notificationSection, children: [
10959
+ showNotificationType && /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { md: 4, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.notificationSection, children: [
10959
10960
  /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body2, { className: styles.notificationLabel, children: mergedLabels.notificationLabel }),
10960
10961
  /* @__PURE__ */ jsxRuntime.jsxs(
10961
10962
  reactComponents.RadioGroup,
@@ -18498,8 +18499,8 @@ var CardProfileMenu = ({
18498
18499
  }) => {
18499
18500
  const styles = useStyles45();
18500
18501
  ({ ...DEFAULT_LABELS43[language], ...labels });
18501
- const handleTabSelect = (_, data) => {
18502
- onTabSelect(data.value);
18502
+ const handleTabSelect = async (_, data) => {
18503
+ await onTabSelect(data.value);
18503
18504
  };
18504
18505
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.container, children: /* @__PURE__ */ jsxRuntime.jsx(
18505
18506
  reactComponents.TabList,