@bahmni/design-system 0.0.1-dev.293 → 0.0.1-dev.295

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/comboBox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,IAAI,mBAAmB,EACrC,MAAM,eAAe,CAAC;AAGvB,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,mBAAmB,CAAC,CAAC,CAAC,GAAG;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,CAAC,EAAG,4HAO1B,aAAa,CAAC,CAAC,CAAC,4CA6BlB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/comboBox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,IAAI,mBAAmB,EACrC,MAAM,eAAe,CAAC;AAGvB,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,mBAAmB,CAAC,CAAC,CAAC,GAAG;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,CAAC,EAAG,4HAO1B,aAAa,CAAC,CAAC,CAAC,4CA4BlB,CAAC"}
package/dist/index.js CHANGED
@@ -70236,15 +70236,13 @@ const _m2 = () => {
70236
70236
  e ?? null
70237
70237
  );
70238
70238
  return p1(() => {
70239
- p(e ?? null), c && e && queueMicrotask(() => {
70240
- p(null);
70241
- });
70242
- }, [e, c]), /* @__PURE__ */ Y(
70239
+ p(e ?? null);
70240
+ }, [e]), /* @__PURE__ */ Y(
70243
70241
  zc,
70244
70242
  {
70245
70243
  ...o,
70246
70244
  onChange: (d) => {
70247
- a?.(d);
70245
+ p(d.selectedItem ?? null), a?.(d), c && d.selectedItem != null && queueMicrotask(() => p(null));
70248
70246
  },
70249
70247
  selectedItem: s,
70250
70248
  "data-testid": r ?? n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/design-system",
3
- "version": "0.0.1-dev.293",
3
+ "version": "0.0.1-dev.295",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",