@kashifd/jwero-components 0.6.41 → 0.6.43

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.ts CHANGED
@@ -2,41 +2,40 @@
2
2
  export { default as JweroBadge } from './components/jwero_badger';
3
3
  export { default as JweroConfirmationDialog } from './components/jwero_confirmation_dialog';
4
4
  export { default as JweroCustomField } from './components/jwero_custom_field';
5
- export { default as JweroDateFilter } from './components/jwero_date_filter/index.tsx';
5
+ export { default as JweroDateFilter } from './components/jwero_date_filter';
6
6
  export { default as JweroPrimaryButton } from './components/jwero_primary_button/JweroPrimaryButton';
7
- export type { PrimaryButtonProps } from './components/jwero_primary_button/JweroPrimaryButton';
8
7
  export { default as JweroSearchBox } from './components/jwero_search_box';
9
- export { default as JweroSnackbar } from './components/jwero_snackbar/index.tsx';
10
- export { default as JweroStatusChip } from './components/jwero_status_chip/index.tsx';
11
- export { default as JweroTabs } from './components/jwero_tabs/index.tsx';
12
- export { default as JweroTooltip } from './components/jwero_tooltip/index.tsx';
8
+ export { default as JweroSnackbar } from './components/jwero_snackbar/index';
9
+ export { default as JweroStatusChip } from './components/jwero_status_chip';
10
+ export { default as JweroTabs } from './components/jwero_tabs';
11
+ export { default as JweroTooltip } from './components/jwero_tooltip';
13
12
  export { default as JweroViewOptions } from './components/jwero_view_options';
14
- export { default as JweroCheckbox } from './components/JweroCheckbox.tsx';
13
+ export { default as JweroCheckbox } from './components/JweroCheckbox';
15
14
  export { default as JweroDialogHeader } from './components/JweroDialogHeader';
16
- export { default as JweroDialogFooter } from './components/jwero_dialog_footer/index.tsx';
17
- export { default as JweroPopper } from './components/JweroPopper.tsx';
15
+ export { default as JweroDialogFooter } from './components/jwero_dialog_footer';
16
+ export { default as JweroPopper } from './components/JweroPopper';
18
17
  export { default as JweroRadio } from './components/JweroRadio';
19
18
  export { default as JweroSidebar } from './components/JweroSidebar';
20
- export { default as JweroBreadcrumbs } from './components/JweroBreadcrumbs.tsx';
21
- export { default as JweroTypography } from './components/JweroTypography.tsx';
22
- export { default as JweroDataTable } from './components/jwero_data_table/index.tsx';
23
- export { default as JweroTable } from './components/jwero_data_table/components/JweroTable.tsx';
24
- export { default as JweroUserAvatar } from './components/jwero_avatars/index.tsx';
25
- export { default as JweroMenu } from './components/jwero_button_menu/components/JweroMenu.tsx';
26
- export { default as JweroButtonMenu } from './components/jwero_button_menu/index.tsx';
27
- export { default as JweroDrawer } from './components/jwero_drawer/index.tsx';
28
- export { default as JweroDataCard } from './components/jwero_dataCard/index.tsx';
29
- export { default as JweroChip } from './components/JweroChip.tsx';
30
- export { default as JweroVerticalTabs } from './components/jwero_verticaltabs/index.tsx';
31
- export { default as JweroActionsButton } from './components/jwero_actions_button/index.tsx';
32
- export { default as JweroEmptyState } from './components/jwero_empty_state/index.tsx';
33
- export { default as JweroTaskCard } from './components/jwero_task_card/index.tsx';
34
- export { default as JweroAlerts } from './components/jwero_alerts/index.tsx';
35
- export { default as JweroAccordion } from './components/JweroAccordian.tsx';
36
- export { default as JweroOrderCard } from './components/jwero_order_card/index.tsx';
37
- export { default as JweroCharts } from './components/jwero_charts/index.tsx';
38
- export { default as JweroToggleButton } from './components/JweroToggleButton.tsx';
39
- export { default as JweroNoteEditor } from './components/jwero_note_editor/index.tsx';
40
- export { default as JweroNoteCard } from './components/jwero_note_card/index.tsx';
41
- export { default as JweroProductCard } from './components/jwero_product_card/index.tsx';
42
- export { default as JweroPlanExpiry } from './components/jwero_plan_expiry/index.tsx';
19
+ export { default as JweroBreadcrumbs } from './components/JweroBreadcrumbs';
20
+ export { default as JweroTypography } from './components/JweroTypography';
21
+ export { default as JweroDataTable } from './components/jwero_data_table';
22
+ export { default as JweroTable } from './components/jwero_data_table/components/JweroTable';
23
+ export { default as JweroUserAvatar } from './components/jwero_avatars';
24
+ export { default as JweroMenu } from './components/jwero_button_menu/components/JweroMenu';
25
+ export { default as JweroButtonMenu } from './components/jwero_button_menu';
26
+ export { default as JweroDrawer } from './components/jwero_drawer';
27
+ export { default as JweroDataCard } from './components/jwero_dataCard';
28
+ export { default as JweroChip } from './components/JweroChip';
29
+ export { default as JweroVerticalTabs } from './components/jwero_verticaltabs';
30
+ export { default as JweroActionsButton } from './components/jwero_actions_button';
31
+ export { default as JweroEmptyState } from './components/jwero_empty_state';
32
+ export { default as JweroTaskCard } from './components/jwero_task_card';
33
+ export { default as JweroAlerts } from './components/jwero_alerts';
34
+ export { default as JweroAccordion } from './components/JweroAccordian';
35
+ export { default as JweroOrderCard } from './components/jwero_order_card';
36
+ export { default as JweroCharts } from './components/jwero_charts';
37
+ export { default as JweroToggleButton } from './components/JweroToggleButton';
38
+ export { default as JweroNoteEditor } from './components/jwero_note_editor';
39
+ export { default as JweroNoteCard } from './components/jwero_note_card';
40
+ export { default as JweroProductCard } from './components/jwero_product_card';
41
+ export { default as JweroPlanExpiry } from './components/jwero_plan_expiry';
package/dist/index.es.js CHANGED
@@ -46558,6 +46558,8 @@ const Na = ({ stroke: e = "#000", ...t }) => /* @__PURE__ */ w.jsxs(
46558
46558
  renderInput: (_) => /* @__PURE__ */ w.jsx(
46559
46559
  fn,
46560
46560
  {
46561
+ multiline: !0,
46562
+ rows: 1,
46561
46563
  ..._,
46562
46564
  InputProps: {
46563
46565
  ..._.InputProps,
@@ -48762,8 +48764,8 @@ const yB = /* @__PURE__ */ Zo(xB), wB = ({ ...e }) => /* @__PURE__ */ w.jsxs(
48762
48764
  ]
48763
48765
  }
48764
48766
  ),
48765
- (D = a.options) == null ? void 0 : D.map((E) => {
48766
- var R, N, I, V, M, H;
48767
+ (D = a.options) == null ? void 0 : D.map((E, R) => {
48768
+ var N, I, V, M, H, $;
48767
48769
  return /* @__PURE__ */ w.jsx(xo, { title: E != null && E.tooltip ? E == null ? void 0 : E.tooltip : "", children: /* @__PURE__ */ w.jsxs(
48768
48770
  Ye,
48769
48771
  {
@@ -48793,16 +48795,16 @@ const yB = /* @__PURE__ */ Zo(xB), wB = ({ ...e }) => /* @__PURE__ */ w.jsxs(
48793
48795
  gap: "0.5rem"
48794
48796
  },
48795
48797
  children: [
48796
- ((R = E == null ? void 0 : E.iconProps) == null ? void 0 : R.icon) && ((N = E == null ? void 0 : E.iconProps) == null ? void 0 : N.placement) === Im && ((I = E == null ? void 0 : E.iconProps) == null ? void 0 : I.icon),
48798
+ ((N = E == null ? void 0 : E.iconProps) == null ? void 0 : N.icon) && ((I = E == null ? void 0 : E.iconProps) == null ? void 0 : I.placement) === Im && ((V = E == null ? void 0 : E.iconProps) == null ? void 0 : V.icon),
48797
48799
  /* @__PURE__ */ w.jsx(ht, { ...E == null ? void 0 : E.labelProps, children: E.label }),
48798
- ((V = E == null ? void 0 : E.iconProps) == null ? void 0 : V.icon) && ((M = E == null ? void 0 : E.iconProps) == null ? void 0 : M.placement) === Nm && ((H = E == null ? void 0 : E.iconProps) == null ? void 0 : H.icon)
48800
+ ((M = E == null ? void 0 : E.iconProps) == null ? void 0 : M.icon) && ((H = E == null ? void 0 : E.iconProps) == null ? void 0 : H.placement) === Nm && (($ = E == null ? void 0 : E.iconProps) == null ? void 0 : $.icon)
48799
48801
  ]
48800
48802
  }
48801
48803
  ),
48802
48804
  E.endIcon
48803
48805
  ]
48804
48806
  }
48805
- ) });
48807
+ ) }, `${E.value}_${R}`);
48806
48808
  })
48807
48809
  ]
48808
48810
  },
@@ -49086,7 +49088,7 @@ const yB = /* @__PURE__ */ Zo(xB), wB = ({ ...e }) => /* @__PURE__ */ w.jsxs(
49086
49088
  children: /* @__PURE__ */ w.jsx(ht, { variant: "xxxlSemibold", ...r, children: e })
49087
49089
  }
49088
49090
  ),
49089
- /* @__PURE__ */ w.jsx(Ye, { sx: { gap: "1rem", ...c }, children: En.isArrayWithValues(s) && s.map((C) => /* @__PURE__ */ w.jsx(
49091
+ /* @__PURE__ */ w.jsx(Ye, { sx: { gap: "1rem", ...c }, children: En.isArrayWithValues(s) && s.map((C, T) => /* @__PURE__ */ w.jsx(
49090
49092
  xo,
49091
49093
  {
49092
49094
  title: C.access ? "" : `You don't have permission to edit ${C.label.toLowerCase() || ""}`,
@@ -49111,7 +49113,7 @@ const yB = /* @__PURE__ */ Zo(xB), wB = ({ ...e }) => /* @__PURE__ */ w.jsxs(
49111
49113
  }
49112
49114
  )
49113
49115
  },
49114
- C.value
49116
+ `${C.value}_${T}`
49115
49117
  )) })
49116
49118
  ]
49117
49119
  }
@@ -59680,15 +59682,16 @@ const fz = ({
59680
59682
  barColor: g,
59681
59683
  label: m,
59682
59684
  labelName: v,
59683
- labelOptions: C
59685
+ labelOptions: C,
59686
+ numericCharSx: T
59684
59687
  }) => {
59685
- const T = {
59688
+ const D = {
59686
59689
  height: "100%",
59687
59690
  flex: 1,
59688
59691
  width: "100%",
59689
59692
  ...d
59690
59693
  };
59691
- return /* @__PURE__ */ w.jsxs(Ye, { sx: T, children: [
59694
+ return /* @__PURE__ */ w.jsxs(Ye, { sx: D, children: [
59692
59695
  e === "radial" && /* @__PURE__ */ w.jsx(
59693
59696
  pz,
59694
59697
  {
@@ -59711,7 +59714,7 @@ const fz = ({
59711
59714
  }
59712
59715
  ),
59713
59716
  e === "line" && /* @__PURE__ */ w.jsx(sz, { name: v, labels: m, data: a }),
59714
- e === "numeric" && /* @__PURE__ */ w.jsx(GB, { data: t, labelName: v }),
59717
+ e === "numeric" && /* @__PURE__ */ w.jsx(GB, { data: t, labelName: v, sx: T }),
59715
59718
  e === "multiple_line" && /* @__PURE__ */ w.jsx(gz, { series: s, label: m })
59716
59719
  ] });
59717
59720
  }, mz = () => /* @__PURE__ */ w.jsxs(