@bahmni/design-system 0.0.1-dev.269 → 0.0.1-dev.272

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.js CHANGED
@@ -1,9 +1,10 @@
1
+ import "@carbon/styles/css/styles.css";
1
2
  import { jsx as n1, jsxs as s2, Fragment as Te } from "react/jsx-runtime";
2
3
  import * as x1 from "react";
3
4
  import t, { createContext as K0, useContext as h2, Children as De, useState as u1, useLayoutEffect as G0, useEffect as p1, useRef as i1, forwardRef as m2, useMemo as i2, useCallback as b1, isValidElement as M3, cloneElement as b2, useReducer as Et1, Component as ji1, useImperativeHandle as Rt, createElement as I3, useSyncExternalStore as Ui1, useId as qi1 } from "react";
4
5
  import * as Ki1 from "react-dom";
5
6
  import Gi1, { createPortal as Vt1 } from "react-dom";
6
- const bh2 = {
7
+ const yh2 = {
7
8
  "background-brand": "#007d79",
8
9
  "text-inverse": "#ffffff",
9
10
  "icon-inverse": "#ffffff",
@@ -23,7 +24,7 @@ const bh2 = {
23
24
  "link-inverse-visited": "#BE95FF",
24
25
  "layer-01": "#f4f4f4"
25
26
  };
26
- function yh2(a) {
27
+ function _h2(a) {
27
28
  if (Object.keys(a).length === 0) return;
28
29
  const n = Object.entries(a).map(([c, r]) => ` --cds-${c}: ${r};`).join(`
29
30
  `);
@@ -32331,7 +32332,7 @@ const MO1 = /* @__PURE__ */ t.forwardRef(function({
32331
32332
  })), n);
32332
32333
  });
32333
32334
  process.env.NODE_ENV !== "production" && (MO1.propTypes = s);
32334
- const _h2 = ({
32335
+ const Nh2 = ({
32335
32336
  testId: a,
32336
32337
  ...n
32337
32338
  }) => /* @__PURE__ */ n1(An, { ...n, "data-testid": a });
@@ -36970,7 +36971,7 @@ function Xt({
36970
36971
  }, f), r));
36971
36972
  }
36972
36973
  const {
36973
- open: Nh2,
36974
+ open: Ah2,
36974
36975
  ...nZ1
36975
36976
  } = L3.propTypes ?? {};
36976
36977
  Xt.propTypes = {
@@ -59478,10 +59479,10 @@ const VF1 = ({
59478
59479
  "data-testid": n,
59479
59480
  children: e,
59480
59481
  ...c
59481
- }) => /* @__PURE__ */ n1(V2, { ...c, "data-testid": a ?? n, children: e }), Ah2 = ({
59482
+ }) => /* @__PURE__ */ n1(V2, { ...c, "data-testid": a ?? n, children: e }), $h2 = ({
59482
59483
  testId: a,
59483
59484
  ...n
59484
- }) => /* @__PURE__ */ n1(C0, { ...n, "data-testid": a }), $h2 = ({
59485
+ }) => /* @__PURE__ */ n1(C0, { ...n, "data-testid": a }), Th2 = ({
59485
59486
  items: a,
59486
59487
  testId: n,
59487
59488
  noTrailingSlash: e = !0,
@@ -59502,20 +59503,20 @@ const VF1 = ({
59502
59503
  r.label
59503
59504
  ))
59504
59505
  }
59505
- ), Th2 = ({
59506
+ ), Dh2 = ({
59506
59507
  testId: a,
59507
59508
  "data-testid": n,
59508
59509
  children: e,
59509
59510
  ...c
59510
- }) => /* @__PURE__ */ n1(ur, { ...c, "data-testid": a ?? n, children: e }), Dh2 = ({
59511
+ }) => /* @__PURE__ */ n1(ur, { ...c, "data-testid": a ?? n, children: e }), Sh2 = ({
59511
59512
  testId: a,
59512
59513
  children: n,
59513
59514
  ...e
59514
- }) => /* @__PURE__ */ n1(mr, { ...e, "data-testid": a, children: n }), Sh2 = ({
59515
+ }) => /* @__PURE__ */ n1(mr, { ...e, "data-testid": a, children: n }), Oh2 = ({
59515
59516
  testId: a,
59516
59517
  children: n,
59517
59518
  ...e
59518
- }) => /* @__PURE__ */ n1(G3, { ...e, "data-testid": a, children: n }), Oh2 = ({
59519
+ }) => /* @__PURE__ */ n1(G3, { ...e, "data-testid": a, children: n }), Rh2 = ({
59519
59520
  testId: a,
59520
59521
  ...n
59521
59522
  }) => /* @__PURE__ */ n1(Fn1, { ...n, "data-testid": a }), HF1 = "The iconic font, CSS, and SVG framework", LF1 = ["font", "awesome", "fontawesome", "icon", "svg", "bootstrap"], CF1 = "https://fontawesome.com", xF1 = { url: "https://github.com/FortAwesome/Font-Awesome/issues" }, zF1 = "The Font Awesome Team (https://github.com/orgs/FortAwesome/people)", bF1 = { type: "git", url: "https://github.com/FortAwesome/Font-Awesome" }, yF1 = { node: ">=6" }, _F1 = { "@fortawesome/fontawesome-common-types": "6.7.2" }, NF1 = "6.7.2", AF1 = "@fortawesome/fontawesome-svg-core", $F1 = "index.js", TF1 = "index.mjs", DF1 = "styles.css", SF1 = "MIT", OF1 = "./index.d.ts", RF1 = { ".": { types: "./index.d.ts", module: "./index.mjs", import: "./index.mjs", require: "./index.js", style: "./styles.css", default: "./index.js" }, "./index": { types: "./index.d.ts", module: "./index.mjs", import: "./index.mjs", require: "./index.js", default: "./index.js" }, "./index.js": { types: "./index.d.ts", module: "./index.mjs", import: "./index.mjs", require: "./index.js", default: "./index.js" }, "./plugins": { types: "./index.d.ts", module: "./plugins.mjs", import: "./plugins.mjs", default: "./plugins.mjs" }, "./import.macro": "./import.macro.js", "./import.macro.js": "./import.macro.js", "./styles": "./styles.css", "./styles.css": "./styles.css", "./package.json": "./package.json" }, kF1 = ["./index.js", "./index.mjs", "./styles.css"], ZF1 = {
@@ -62547,14 +62548,15 @@ const iU1 = "_bahmniIcon_1cg5e_1", sU1 = "_paddingNone_1cg5e_1", fU1 = "_padding
62547
62548
  id: c,
62548
62549
  ariaLabel: r = c,
62549
62550
  padding: l = b0.XXSMALL,
62550
- testId: f
62551
+ testId: f,
62552
+ fixedWidth: p = !1
62551
62553
  }) => {
62552
- const p = mU1(l);
62554
+ const h = mU1(l);
62553
62555
  if (!(!a || !/^fas?-[a-zA-Z0-9_-]+$/.test(a)))
62554
62556
  return /* @__PURE__ */ n1(
62555
62557
  "span",
62556
62558
  {
62557
- className: `${be.bahmniIcon} ${p}`,
62559
+ className: `${be.bahmniIcon} ${h}`,
62558
62560
  id: c,
62559
62561
  "data-testid": f,
62560
62562
  role: r ? "img" : void 0,
@@ -62565,6 +62567,7 @@ const iU1 = "_bahmniIcon_1cg5e_1", sU1 = "_paddingNone_1cg5e_1", fU1 = "_padding
62565
62567
  icon: ["fas", a],
62566
62568
  size: n,
62567
62569
  color: e,
62570
+ fixedWidth: p,
62568
62571
  "data-testid": c
62569
62572
  }
62570
62573
  )
@@ -70148,12 +70151,12 @@ var Xs2 = {
70148
70151
  faTurnUp: xi1,
70149
70152
  faLevelUpAlt: Js2
70150
70153
  };
70151
- const Rh2 = () => {
70154
+ const kh2 = () => {
70152
70155
  Ij1.add(Xs2);
70153
70156
  }, Qs2 = "_item_vyhzj_1", ef2 = "_definition_vyhzj_14", Q41 = {
70154
70157
  item: Qs2,
70155
70158
  definition: ef2
70156
- }, kh2 = ({
70159
+ }, Zh2 = ({
70157
70160
  id: a,
70158
70161
  label: n,
70159
70162
  value: e,
@@ -70197,31 +70200,31 @@ const Rh2 = () => {
70197
70200
  testId: a,
70198
70201
  children: n,
70199
70202
  ...e
70200
- }) => /* @__PURE__ */ n1(t61, { ...e, "data-testid": a, children: n }), Zh2 = ({ testId: a, ...n }) => /* @__PURE__ */ n1(d6, { ...n, "data-testid": a }), Ih2 = ({
70203
+ }) => /* @__PURE__ */ n1(t61, { ...e, "data-testid": a, children: n }), Ih2 = ({ testId: a, ...n }) => /* @__PURE__ */ n1(d6, { ...n, "data-testid": a }), Bh2 = ({
70201
70204
  testId: a,
70202
70205
  children: n,
70203
70206
  ...e
70204
- }) => /* @__PURE__ */ n1(Gn1, { ...e, "data-testid": a, children: n }), Bh2 = ({
70207
+ }) => /* @__PURE__ */ n1(Gn1, { ...e, "data-testid": a, children: n }), Ph2 = ({
70205
70208
  testId: a,
70206
70209
  children: n,
70207
70210
  ...e
70208
- }) => /* @__PURE__ */ n1(Yn1, { ...e, "data-testid": a, children: n }), Ph2 = ({
70211
+ }) => /* @__PURE__ */ n1(Yn1, { ...e, "data-testid": a, children: n }), Fh2 = ({
70209
70212
  testId: a,
70210
70213
  children: n,
70211
70214
  ...e
70212
- }) => /* @__PURE__ */ n1(hr, { ...e, "data-testid": a, children: n }), Fh2 = ({
70215
+ }) => /* @__PURE__ */ n1(hr, { ...e, "data-testid": a, children: n }), Wh2 = ({
70213
70216
  testId: a,
70214
70217
  children: n,
70215
70218
  ...e
70216
- }) => /* @__PURE__ */ n1(Qn1, { ...e, "data-testid": a, children: n }), Wh2 = ({
70219
+ }) => /* @__PURE__ */ n1(Qn1, { ...e, "data-testid": a, children: n }), jh2 = ({
70217
70220
  testId: a,
70218
70221
  children: n,
70219
70222
  ...e
70220
- }) => /* @__PURE__ */ n1(Xn1, { ...e, "data-testid": a, children: n }), jh2 = ({
70223
+ }) => /* @__PURE__ */ n1(Xn1, { ...e, "data-testid": a, children: n }), Uh2 = ({
70221
70224
  testId: a,
70222
70225
  "data-testid": n,
70223
70226
  ...e
70224
- }) => /* @__PURE__ */ n1(On1, { ...e, "data-testid": a ?? n }), Uh2 = ({
70227
+ }) => /* @__PURE__ */ n1(On1, { ...e, "data-testid": a ?? n }), qh2 = ({
70225
70228
  testId: a,
70226
70229
  "data-testid": n,
70227
70230
  selectedItem: e,
@@ -70247,14 +70250,14 @@ const Rh2 = () => {
70247
70250
  "data-testid": a ?? n
70248
70251
  }
70249
70252
  );
70250
- }, qh2 = ({
70253
+ }, Kh2 = ({
70251
70254
  testId: a,
70252
70255
  "data-testid": n,
70253
70256
  ...e
70254
70257
  }) => /* @__PURE__ */ n1(dr, { ...e, "data-testid": a ?? n }), cf2 = "_textAreaWrapper_1xc56_1", rf2 = "_textAreaWrapperInvalid_1xc56_10", et1 = {
70255
70258
  textAreaWrapper: cf2,
70256
70259
  textAreaWrapperInvalid: rf2
70257
- }, Kh2 = ({
70260
+ }, Gh2 = ({
70258
70261
  testId: a,
70259
70262
  invalid: n,
70260
70263
  ...e
@@ -70316,7 +70319,7 @@ const Rh2 = () => {
70316
70319
  }
70317
70320
  ), ff2 = "_notificationContainer_1vxpe_1", pf2 = {
70318
70321
  notificationContainer: ff2
70319
- }, Gh2 = ({
70322
+ }, Yh2 = ({
70320
70323
  notifications: a,
70321
70324
  onClose: n
70322
70325
  }) => a.length ? /* @__PURE__ */ n1(
@@ -70474,7 +70477,7 @@ const Rh2 = () => {
70474
70477
  );
70475
70478
  }, vf2 = "_actionDataTableBody_mn1ph_1", gf2 = {
70476
70479
  actionDataTableBody: vf2
70477
- }, Yh2 = ({
70480
+ }, Jh2 = ({
70478
70481
  id: a,
70479
70482
  title: n,
70480
70483
  description: e,
@@ -70519,7 +70522,7 @@ const Rh2 = () => {
70519
70522
  expandableDataTableBody: Mf2,
70520
70523
  expandableDataTableSkeleton: Ef2,
70521
70524
  expandableDataTableBodyEmpty: Vf2
70522
- }, Jh2 = ({
70525
+ }, Xh2 = ({
70523
70526
  headers: a,
70524
70527
  rows: n,
70525
70528
  ariaLabel: e,
@@ -70648,7 +70651,7 @@ const Rh2 = () => {
70648
70651
  );
70649
70652
  }, Hf2 = "_simpleDataTableBody_1cmbq_1", Lf2 = {
70650
70653
  simpleDataTableBody: Hf2
70651
- }, Xh2 = ({
70654
+ }, Qh2 = ({
70652
70655
  headers: a,
70653
70656
  rows: n,
70654
70657
  ariaLabel: e,
@@ -70658,7 +70661,7 @@ const Rh2 = () => {
70658
70661
  /* @__PURE__ */ n1(d4, { children: r.map((d) => /* @__PURE__ */ I3(ve, { ...h({ row: d }), key: d.id }, d.cells.map((u) => /* @__PURE__ */ n1(U0, { children: u.value }, u.id)))) })
70659
70662
  ] }) }) }), Cf2 = "_tooltipIcon_d1wk8_1", xf2 = {
70660
70663
  tooltipIcon: Cf2
70661
- }, Qh2 = ({
70664
+ }, ed2 = ({
70662
70665
  iconName: a,
70663
70666
  content: n,
70664
70667
  iconSize: e = qe.LG,
@@ -70692,7 +70695,7 @@ const Rh2 = () => {
70692
70695
  ]
70693
70696
  }
70694
70697
  );
70695
- }, ed2 = ({
70698
+ }, td2 = ({
70696
70699
  label: a,
70697
70700
  dotClassName: n,
70698
70701
  testId: e
@@ -70704,45 +70707,45 @@ const Rh2 = () => {
70704
70707
  renderIcon: () => /* @__PURE__ */ n1(Dt1, { className: n }),
70705
70708
  children: a
70706
70709
  }
70707
- ), td2 = ({
70710
+ ), nd2 = ({
70708
70711
  testId: a,
70709
70712
  ...n
70710
- }) => /* @__PURE__ */ n1(n61, { ...n, "data-testid": a }), nd2 = ({
70713
+ }) => /* @__PURE__ */ n1(n61, { ...n, "data-testid": a }), cd2 = ({
70711
70714
  testId: a,
70712
70715
  ...n
70713
- }) => /* @__PURE__ */ n1(jn1, { ...n, "data-testid": a }), cd2 = ({
70716
+ }) => /* @__PURE__ */ n1(jn1, { ...n, "data-testid": a }), rd2 = ({
70714
70717
  testId: a,
70715
70718
  ...n
70716
- }) => /* @__PURE__ */ n1(mn1, { ...n, "data-testid": a }), rd2 = ({
70719
+ }) => /* @__PURE__ */ n1(mn1, { ...n, "data-testid": a }), ad2 = ({
70717
70720
  testId: a,
70718
70721
  ...n
70719
- }) => /* @__PURE__ */ n1(S61, { ...n, "data-testid": a }), ad2 = ({
70722
+ }) => /* @__PURE__ */ n1(S61, { ...n, "data-testid": a }), od2 = ({
70720
70723
  testId: a,
70721
70724
  "data-testid": n,
70722
70725
  ...e
70723
- }) => /* @__PURE__ */ n1(or, { ...e, "data-testid": a ?? n }), od2 = ({
70726
+ }) => /* @__PURE__ */ n1(or, { ...e, "data-testid": a ?? n }), ld2 = ({
70724
70727
  testId: a,
70725
70728
  "data-testid": n,
70726
70729
  ...e
70727
- }) => /* @__PURE__ */ n1(t6, { ...e, "data-testid": a ?? n }), ld2 = ({
70730
+ }) => /* @__PURE__ */ n1(t6, { ...e, "data-testid": a ?? n }), id2 = ({
70728
70731
  testId: a,
70729
70732
  ...n
70730
- }) => /* @__PURE__ */ n1(D61, { ...n, "data-testid": a }), id2 = ({
70733
+ }) => /* @__PURE__ */ n1(D61, { ...n, "data-testid": a }), sd2 = ({
70731
70734
  testId: a,
70732
70735
  "data-testid": n,
70733
70736
  children: e,
70734
70737
  ...c
70735
- }) => /* @__PURE__ */ n1(g6, { ...c, "data-testid": a ?? n, children: e }), sd2 = ({
70738
+ }) => /* @__PURE__ */ n1(g6, { ...c, "data-testid": a ?? n, children: e }), fd2 = ({
70736
70739
  testId: a,
70737
70740
  "data-testid": n,
70738
70741
  children: e,
70739
70742
  ...c
70740
- }) => /* @__PURE__ */ n1(xn1, { ...c, "data-testid": a ?? n, children: e }), fd2 = ({
70743
+ }) => /* @__PURE__ */ n1(xn1, { ...c, "data-testid": a ?? n, children: e }), pd2 = ({
70741
70744
  testId: a,
70742
70745
  "data-testid": n,
70743
70746
  children: e,
70744
70747
  ...c
70745
- }) => /* @__PURE__ */ n1(ge, { ...c, "data-testid": a ?? n, children: e }), pd2 = ({
70748
+ }) => /* @__PURE__ */ n1(ge, { ...c, "data-testid": a ?? n, children: e }), hd2 = ({
70746
70749
  testId: a,
70747
70750
  "data-testid": n,
70748
70751
  children: e,
@@ -70814,7 +70817,7 @@ function bi1() {
70814
70817
  const n = _f2(a);
70815
70818
  return { dateFnsFormat: a, flatpickrFormat: n };
70816
70819
  }
70817
- const hd2 = ({
70820
+ const dd2 = ({
70818
70821
  testId: a,
70819
70822
  "data-testid": n,
70820
70823
  dateFormat: e,
@@ -70831,7 +70834,7 @@ const hd2 = ({
70831
70834
  children: c
70832
70835
  }
70833
70836
  );
70834
- }, dd2 = ({
70837
+ }, ud2 = ({
70835
70838
  testId: a,
70836
70839
  "data-testid": n,
70837
70840
  placeholder: e,
@@ -70846,7 +70849,7 @@ const hd2 = ({
70846
70849
  "data-testid": a ?? n
70847
70850
  }
70848
70851
  );
70849
- }, Nf2 = "^([01]?[0-9]|2[0-3]):[0-5][0-9]$", Af2 = "HH:mm", ud2 = ({
70852
+ }, Nf2 = "^([01]?[0-9]|2[0-3]):[0-5][0-9]$", Af2 = "HH:mm", md2 = ({
70850
70853
  testId: a,
70851
70854
  onChange: n,
70852
70855
  onBlur: e,
@@ -70955,7 +70958,7 @@ const hd2 = ({
70955
70958
  maxLength: 5
70956
70959
  }
70957
70960
  );
70958
- }, md2 = ({
70961
+ }, wd2 = ({
70959
70962
  testId: a,
70960
70963
  ...n
70961
70964
  }) => /* @__PURE__ */ n1(ac1, { ...n, "data-testid": a });
@@ -72911,7 +72914,7 @@ const ip2 = "_layout_vvtyi_85", sp2 = "_collapsedModal_vvtyi_96", fp2 = "_mainDi
72911
72914
  separator: mp2,
72912
72915
  separatorGrip: wp2,
72913
72916
  panelGroup: vp2
72914
- }, gp2 = 40, Mp2 = 60, wt1 = 40, wd2 = ({
72917
+ }, gp2 = 40, Mp2 = 60, wt1 = 40, vd2 = ({
72915
72918
  headerWSideNav: a,
72916
72919
  mainDisplay: n,
72917
72920
  actionArea: e,
@@ -73009,7 +73012,7 @@ const ip2 = "_layout_vvtyi_85", sp2 = "_collapsedModal_vvtyi_96", fp2 = "_mainDi
73009
73012
  ), Ep2 = "_layout_ma379_85", Vp2 = "_main_ma379_93", vt1 = {
73010
73013
  layout: Ep2,
73011
73014
  main: Vp2
73012
- }, vd2 = ({ header: a, main: n }) => /* @__PURE__ */ s2(
73015
+ }, gd2 = ({ header: a, main: n }) => /* @__PURE__ */ s2(
73013
73016
  "div",
73014
73017
  {
73015
73018
  id: "base-layout",
@@ -73030,7 +73033,7 @@ const ip2 = "_layout_vvtyi_85", sp2 = "_collapsedModal_vvtyi_96", fp2 = "_mainDi
73030
73033
  )
73031
73034
  ]
73032
73035
  }
73033
- ), gd2 = ({ testId: a, ...n }) => /* @__PURE__ */ n1(Gc, { ...n, "data-testid": a }), Hp2 = "_breadcrumb_fbh29_74", Lp2 = "_sideNavItems_fbh29_86", gt1 = {
73036
+ ), Md2 = ({ testId: a, ...n }) => /* @__PURE__ */ n1(Gc, { ...n, "data-testid": a }), Hp2 = "_breadcrumb_fbh29_74", Lp2 = "_sideNavItems_fbh29_86", gt1 = {
73034
73037
  breadcrumb: Hp2,
73035
73038
  sideNavItems: Lp2
73036
73039
  }, Cp2 = (a, n = !0) => {
@@ -73114,7 +73117,8 @@ const zp2 = t.memo(
73114
73117
  {
73115
73118
  name: v.icon,
73116
73119
  id: `sidebar-icon-${v.id}`,
73117
- size: qe.LG
73120
+ size: qe.LG,
73121
+ fixedWidth: !0
73118
73122
  }
73119
73123
  ),
73120
73124
  href: v.href ?? "#",
@@ -73142,7 +73146,7 @@ const zp2 = t.memo(
73142
73146
  }
73143
73147
  );
73144
73148
  zp2.displayName = "Header";
73145
- const Md2 = (a) => {
73149
+ const Ed2 = (a) => {
73146
73150
  const [n, e] = u1(null), c = i2(() => a.length ? n && a.some((l) => l.id === n) ? n : a[0].id : null, [n, a]), r = b1((l) => {
73147
73151
  e(l);
73148
73152
  }, []);
@@ -73150,11 +73154,11 @@ const Md2 = (a) => {
73150
73154
  activeItemId: c,
73151
73155
  handleItemClick: r
73152
73156
  };
73153
- }, Ed2 = ({
73157
+ }, Vd2 = ({
73154
73158
  testId: a,
73155
73159
  children: n,
73156
73160
  ...e
73157
- }) => /* @__PURE__ */ n1(f6, { ...e, "data-testid": a, children: n }), Vd2 = ({
73161
+ }) => /* @__PURE__ */ n1(f6, { ...e, "data-testid": a, children: n }), Hd2 = ({
73158
73162
  testId: a,
73159
73163
  "data-testid": n,
73160
73164
  ...e
@@ -73164,7 +73168,7 @@ const Md2 = (a) => {
73164
73168
  ...e,
73165
73169
  "data-testid": a ?? n
73166
73170
  }
73167
- ), Hd2 = ({
73171
+ ), Ld2 = ({
73168
73172
  testId: a,
73169
73173
  children: n,
73170
73174
  ...e
@@ -73172,7 +73176,7 @@ const Md2 = (a) => {
73172
73176
  grid: bp2,
73173
73177
  children: yp2,
73174
73178
  close: _p2
73175
- }, Ld2 = ({
73179
+ }, Cd2 = ({
73176
73180
  children: a,
73177
73181
  onClose: n,
73178
73182
  className: e,
@@ -73270,7 +73274,7 @@ Tp2.displayName = "TextAreaWClose";
73270
73274
  const Dp2 = "_box_1jr6a_1", Sp2 = "_header_1jr6a_8", Mt1 = {
73271
73275
  box: Dp2,
73272
73276
  header: Sp2
73273
- }, Cd2 = ({
73277
+ }, xd2 = ({
73274
73278
  title: a,
73275
73279
  children: n,
73276
73280
  className: e,
@@ -73294,7 +73298,7 @@ const Dp2 = "_box_1jr6a_1", Sp2 = "_header_1jr6a_8", Mt1 = {
73294
73298
  container: Op2,
73295
73299
  accordion: Rp2,
73296
73300
  rows: kp2
73297
- }, xd2 = ({
73301
+ }, zd2 = ({
73298
73302
  title: a,
73299
73303
  rows: n,
73300
73304
  children: e,
@@ -73364,7 +73368,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", Zp2 = "_thumbna
73364
73368
  thumbnailImage: Pp2,
73365
73369
  modalImageContainer: Fp2,
73366
73370
  modalImage: Wp2
73367
- }, zd2 = ({
73371
+ }, bd2 = ({
73368
73372
  imageSrc: a,
73369
73373
  alt: n,
73370
73374
  id: e,
@@ -73443,7 +73447,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", Zp2 = "_thumbna
73443
73447
  fileTileButton: jp2,
73444
73448
  modalIframeContainer: Up2,
73445
73449
  modalIframe: qp2
73446
- }, bd2 = ({
73450
+ }, yd2 = ({
73447
73451
  src: a,
73448
73452
  id: n,
73449
73453
  className: e,
@@ -73509,7 +73513,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", Zp2 = "_thumbna
73509
73513
  playIconOverlay: Xp2,
73510
73514
  modalVideoContainer: Qp2,
73511
73515
  modalVideo: eh2
73512
- }, yd2 = ({
73516
+ }, _d2 = ({
73513
73517
  videoSrc: a,
73514
73518
  id: n,
73515
73519
  hideThumbnail: e = !1,
@@ -73609,7 +73613,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", Zp2 = "_thumbna
73609
73613
  buttonSet: ah2,
73610
73614
  twoButtons: oh2,
73611
73615
  threeButtons: lh2
73612
- }, _d2 = ({
73616
+ }, Nd2 = ({
73613
73617
  title: a,
73614
73618
  primaryButtonText: n,
73615
73619
  onPrimaryButtonClick: e,
@@ -73688,13 +73692,13 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", Zp2 = "_thumbna
73688
73692
  ]
73689
73693
  }
73690
73694
  );
73691
- }, Nd2 = ({
73695
+ }, Ad2 = ({
73692
73696
  testId: a,
73693
73697
  ...n
73694
- }) => /* @__PURE__ */ n1(s6, { ...n, "data-testid": a }), Ad2 = ({
73698
+ }) => /* @__PURE__ */ n1(s6, { ...n, "data-testid": a }), $d2 = ({
73695
73699
  testId: a,
73696
73700
  ...n
73697
- }) => /* @__PURE__ */ n1(I81, { ...n, "data-testid": a }), $d2 = ({
73701
+ }) => /* @__PURE__ */ n1(I81, { ...n, "data-testid": a }), Td2 = ({
73698
73702
  testId: a,
73699
73703
  ...n
73700
73704
  }) => /* @__PURE__ */ n1(yn1, { ...n, "data-testid": a }), ih2 = "_formCardContainer_1rru0_1", sh2 = "_title_1rru0_6", fh2 = "_formsGrid_1rru0_12", ph2 = "_noFormsMessage_1rru0_19", Y4 = {
@@ -73702,7 +73706,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", Zp2 = "_thumbna
73702
73706
  title: sh2,
73703
73707
  formsGrid: fh2,
73704
73708
  noFormsMessage: ph2
73705
- }, Td2 = ({
73709
+ }, Dd2 = ({
73706
73710
  title: a,
73707
73711
  children: n,
73708
73712
  noFormsMessage: e = "No forms found",
@@ -73802,7 +73806,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", Zp2 = "_thumbna
73802
73806
  },
73803
73807
  hasClickHandler: !!r
73804
73808
  };
73805
- }, Dd2 = ({
73809
+ }, Sd2 = ({
73806
73810
  title: a,
73807
73811
  icon: n,
73808
73812
  iconSize: e = qe.LG,
@@ -73864,95 +73868,95 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", Zp2 = "_thumbna
73864
73868
  ]
73865
73869
  }
73866
73870
  );
73867
- }, Sd2 = ({
73871
+ }, Od2 = ({
73868
73872
  testId: a,
73869
73873
  children: n,
73870
73874
  ...e
73871
- }) => /* @__PURE__ */ n1(gn1, { ...e, "data-testid": a, children: n }), Od2 = ({
73875
+ }) => /* @__PURE__ */ n1(gn1, { ...e, "data-testid": a, children: n }), Rd2 = ({
73872
73876
  testId: a,
73873
73877
  ...n
73874
- }) => /* @__PURE__ */ n1($n1, { ...n, "data-testid": a }), Rd2 = ({
73878
+ }) => /* @__PURE__ */ n1($n1, { ...n, "data-testid": a }), kd2 = ({
73875
73879
  testId: a,
73876
73880
  ...n
73877
73881
  }) => /* @__PURE__ */ n1(Xc, { ...n, "data-testid": a });
73878
73882
  export {
73879
73883
  tf2 as Accordion,
73880
73884
  nf2 as AccordionItem,
73881
- _d2 as ActionArea,
73882
- wd2 as ActionAreaLayout,
73883
- Yh2 as ActionDataTable,
73884
- _h2 as ArrowRight,
73885
- bh2 as BAHMNI_DEFAULT_THEME,
73886
- vd2 as BaseLayout,
73887
- Cd2 as BoxWHeader,
73888
- $h2 as Breadcrumb,
73885
+ Nd2 as ActionArea,
73886
+ vd2 as ActionAreaLayout,
73887
+ Jh2 as ActionDataTable,
73888
+ Nh2 as ArrowRight,
73889
+ yh2 as BAHMNI_DEFAULT_THEME,
73890
+ gd2 as BaseLayout,
73891
+ xd2 as BoxWHeader,
73892
+ Th2 as Breadcrumb,
73889
73893
  VF1 as Button,
73890
- od2 as Checkbox,
73891
- ld2 as CheckboxGroup,
73892
- Dh2 as ClickableTile,
73894
+ ld2 as Checkbox,
73895
+ id2 as CheckboxGroup,
73896
+ Sh2 as ClickableTile,
73893
73897
  q2 as Close,
73894
- rd2 as CodeSnippetSkeleton,
73895
- xd2 as CollapsibleRowGroup,
73896
- fd2 as Column,
73897
- Uh2 as ComboBox,
73898
+ ad2 as CodeSnippetSkeleton,
73899
+ zd2 as CollapsibleRowGroup,
73900
+ pd2 as Column,
73901
+ qh2 as ComboBox,
73898
73902
  mF1 as Content,
73899
- hd2 as DatePicker,
73900
- dd2 as DatePickerInput,
73901
- ad2 as Dropdown,
73902
- cd2 as DropdownSkeleton,
73903
+ dd2 as DatePicker,
73904
+ ud2 as DatePickerInput,
73905
+ od2 as Dropdown,
73906
+ rd2 as DropdownSkeleton,
73903
73907
  mV1 as Edit,
73904
- Jh2 as ExpandableDataTable,
73905
- bd2 as FileTile,
73906
- Sd2 as FileUploader,
73907
- Vd2 as FilterableMultiSelect,
73908
- Dd2 as FormCard,
73909
- Td2 as FormCardContainer,
73910
- id2 as Grid,
73908
+ Xh2 as ExpandableDataTable,
73909
+ yd2 as FileTile,
73910
+ Od2 as FileUploader,
73911
+ Hd2 as FilterableMultiSelect,
73912
+ Sd2 as FormCard,
73913
+ Dd2 as FormCardContainer,
73914
+ sd2 as Grid,
73911
73915
  zp2 as Header,
73912
73916
  b0 as ICON_PADDING,
73913
73917
  qe as ICON_SIZE,
73914
73918
  w4 as Icon,
73915
- Ah2 as IconButton,
73916
- zd2 as ImageTile,
73917
- Od2 as InlineNotification,
73918
- kh2 as LabelValue,
73919
- pd2 as Link,
73920
- Ed2 as Loading,
73921
- $d2 as MenuButton,
73922
- Nd2 as MenuItem,
73923
- Ad2 as MenuItemDivider,
73919
+ $h2 as IconButton,
73920
+ bd2 as ImageTile,
73921
+ Rd2 as InlineNotification,
73922
+ Zh2 as LabelValue,
73923
+ hd2 as Link,
73924
+ Vd2 as Loading,
73925
+ Td2 as MenuButton,
73926
+ Ad2 as MenuItem,
73927
+ $d2 as MenuItemDivider,
73924
73928
  y3 as Modal,
73925
- Gh2 as NotificationContainer,
73926
- jh2 as NumberInput,
73927
- sd2 as Row,
73929
+ Yh2 as NotificationContainer,
73930
+ Uh2 as NumberInput,
73931
+ fd2 as Row,
73928
73932
  sf2 as RowCell,
73929
- Zh2 as Search,
73930
- gd2 as Section,
73931
- Oh2 as SelectableTag,
73932
- Ld2 as SelectedItem,
73933
- Xh2 as SimpleDataTable,
73934
- nd2 as SkeletonPlaceholder,
73935
- td2 as SkeletonText,
73933
+ Ih2 as Search,
73934
+ Md2 as Section,
73935
+ Rh2 as SelectableTag,
73936
+ Cd2 as SelectedItem,
73937
+ Qh2 as SimpleDataTable,
73938
+ cd2 as SkeletonPlaceholder,
73939
+ nd2 as SkeletonText,
73936
73940
  wf2 as SortableDataTable,
73937
- Hd2 as Stack,
73938
- ed2 as StatusTag,
73939
- Ph2 as Tab,
73940
- Bh2 as TabList,
73941
- Wh2 as TabPanel,
73942
- Fh2 as TabPanels,
73943
- Rd2 as TableExpandedRow,
73944
- Ih2 as Tabs,
73945
- Sh2 as Tag,
73946
- Kh2 as TextArea,
73941
+ Ld2 as Stack,
73942
+ td2 as StatusTag,
73943
+ Fh2 as Tab,
73944
+ Ph2 as TabList,
73945
+ jh2 as TabPanel,
73946
+ Wh2 as TabPanels,
73947
+ kd2 as TableExpandedRow,
73948
+ Bh2 as Tabs,
73949
+ Oh2 as Tag,
73950
+ Gh2 as TextArea,
73947
73951
  Tp2 as TextAreaWClose,
73948
- qh2 as TextInput,
73949
- Th2 as Tile,
73950
- ud2 as TimePicker,
73951
- md2 as TimePickerSelect,
73952
- Qh2 as TooltipIcon,
73952
+ Kh2 as TextInput,
73953
+ Dh2 as Tile,
73954
+ md2 as TimePicker,
73955
+ wd2 as TimePickerSelect,
73956
+ ed2 as TooltipIcon,
73953
73957
  d$1 as TrashCan,
73954
- yd2 as VideoTile,
73955
- yh2 as applyBahmniTheme,
73956
- Rh2 as initFontAwesome,
73957
- Md2 as useSidebarNavigation
73958
+ _d2 as VideoTile,
73959
+ _h2 as applyBahmniTheme,
73960
+ kh2 as initFontAwesome,
73961
+ Ed2 as useSidebarNavigation
73958
73962
  };
@@ -8,6 +8,7 @@ export interface IconProps {
8
8
  ariaLabel?: string;
9
9
  padding?: ICON_PADDING;
10
10
  testId?: string;
11
+ fixedWidth?: boolean;
11
12
  }
12
13
  export declare const Icon: React.FC<IconProps>;
13
14
  export default Icon;
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/molecules/icon/Icon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGtD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAiCD,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA+BpC,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/molecules/icon/Icon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGtD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAkCD,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiCpC,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/organisms/header/Header.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAKvC;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA0GxC,CAAC;AAGF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/organisms/header/Header.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAKvC;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA2GxC,CAAC;AAGF,eAAe,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/design-system",
3
- "version": "0.0.1-dev.269",
3
+ "version": "0.0.1-dev.272",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",