@isettingkit/business-rules 1.0.10 → 1.0.11

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.
@@ -85,6 +85,7 @@ export declare interface IFilterModal {
85
85
  export declare interface IFilterTag {
86
86
  icon: JSX.Element;
87
87
  label: string;
88
+ onClose?: (e: React.MouseEvent<Element, MouseEvent>) => void;
88
89
  }
89
90
 
90
91
  export declare interface IFormFilter {
package/dist/index.es.js CHANGED
@@ -667,7 +667,7 @@ const Qe = {
667
667
  );
668
668
  }, At = (e) => {
669
669
  const { appliedFilters: t, onClear: n, onClick: a, titleClearFilter: r, titleFilter: o } = e, p = !t || t.length === 0;
670
- return /* @__PURE__ */ i(ye, { borderRadius: "8px", children: /* @__PURE__ */ h(le, { gap: "12px", templateColumns: "1fr auto auto", children: [
670
+ return /* @__PURE__ */ i(ye, { borderRadius: "8px", width: "100%", children: /* @__PURE__ */ h(le, { gap: "12px", templateColumns: "1fr auto auto", children: [
671
671
  /* @__PURE__ */ i(
672
672
  ge,
673
673
  {
@@ -683,8 +683,10 @@ const Qe = {
683
683
  {
684
684
  appearance: "primary",
685
685
  displayIcon: !0,
686
+ removable: !0,
686
687
  icon: c.icon,
687
- label: c.label
688
+ label: c.label,
689
+ onClose: c.onClose
688
690
  },
689
691
  c.label
690
692
  ))
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "description": "",
12
12
  "private": false,
13
- "version": "1.0.10",
13
+ "version": "1.0.11",
14
14
  "type": "module",
15
15
  "exports": {
16
16
  ".": {