alif-ui 2.0.2 → 2.0.3

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.
@@ -13,51 +13,54 @@ var u = ({ id: u, value: d, label: f, onClear: p, leftSection: m, leftIcon: h, r
13
13
  let { locale: j } = t(), M = d != null && d !== "", N = A === "s" || !E, P = e(r.root, !T && r.rootBorderless, y && r.rootError, b && r.rootDisabled, w && r.rootFullWidth, S), F = e(r.label, "uiFont", (M || D) && r.labelFloated, N && r.labelHidden, N && M && r.labelHiddenWithValue), I = e(r.content, (N || !f) && r.contentCentered), L = e(r.clearButton, !M && r.clearButtonHidden), R = () => {
14
14
  v?.current?.focus();
15
15
  };
16
- return /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ l("div", {
17
- onClick: x,
18
- className: P,
19
- style: i(A, C),
20
- children: [m, /* @__PURE__ */ l("div", {
21
- className: r.wrapper,
22
- onClick: R,
23
- children: [
24
- h,
25
- /* @__PURE__ */ l("div", {
26
- className: r.inputContainer,
27
- onMouseDown: (e) => {
28
- e.target === e.currentTarget && e.preventDefault();
29
- },
30
- children: [f && /* @__PURE__ */ c("label", {
31
- htmlFor: u,
32
- className: F,
33
- children: f
34
- }), /* @__PURE__ */ c("div", {
35
- className: I,
36
- children: _
37
- })]
38
- }),
39
- p && /* @__PURE__ */ c(s, {
40
- type: "button",
41
- disabled: b,
42
- onMouseDown: (e) => e.preventDefault(),
43
- className: L,
44
- onClick: () => {
45
- R(), p?.();
46
- },
47
- "aria-label": a[j].clearText,
48
- children: /* @__PURE__ */ c(n, {})
49
- }),
50
- g
51
- ]
16
+ return /* @__PURE__ */ l("div", {
17
+ className: e(w && "uiFullWidth"),
18
+ children: [/* @__PURE__ */ l("div", {
19
+ onClick: x,
20
+ className: P,
21
+ style: i(A, C),
22
+ children: [m, /* @__PURE__ */ l("div", {
23
+ className: r.wrapper,
24
+ onClick: R,
25
+ children: [
26
+ h,
27
+ /* @__PURE__ */ l("div", {
28
+ className: r.inputContainer,
29
+ onMouseDown: (e) => {
30
+ e.target === e.currentTarget && e.preventDefault();
31
+ },
32
+ children: [f && /* @__PURE__ */ c("label", {
33
+ htmlFor: u,
34
+ className: F,
35
+ children: f
36
+ }), /* @__PURE__ */ c("div", {
37
+ className: I,
38
+ children: _
39
+ })]
40
+ }),
41
+ p && /* @__PURE__ */ c(s, {
42
+ type: "button",
43
+ disabled: b,
44
+ onMouseDown: (e) => e.preventDefault(),
45
+ className: L,
46
+ onClick: () => {
47
+ R(), p?.();
48
+ },
49
+ "aria-label": a[j].clearText,
50
+ children: /* @__PURE__ */ c(n, {})
51
+ }),
52
+ g
53
+ ]
54
+ })]
55
+ }), /* @__PURE__ */ l(o, {
56
+ className: r.hinter,
57
+ hasError: y,
58
+ children: [O && /* @__PURE__ */ c("div", { children: O }), k && /* @__PURE__ */ c("div", {
59
+ className: r.hintRight,
60
+ children: k
61
+ })]
52
62
  })]
53
- }), /* @__PURE__ */ l(o, {
54
- className: r.hinter,
55
- hasError: y,
56
- children: [O && /* @__PURE__ */ c("div", { children: O }), k && /* @__PURE__ */ c("div", {
57
- className: r.hintRight,
58
- children: k
59
- })]
60
- })] });
63
+ });
61
64
  };
62
65
  //#endregion
63
66
  export { u as InputBaseWrapper };
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/lib/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAMrD,eAAO,MAAM,UAAU,GAAI,yQAiBxB,eAAe,uCAiIjB,CAAC"}
1
+ {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/lib/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAMrD,eAAO,MAAM,UAAU,GAAI,yQAiBxB,eAAe,uCAsIjB,CAAC"}
@@ -21,7 +21,7 @@ var g = ({ page: g, totalPages: _, itemsPerPage: v = 10, itemsPerPageOptions: y,
21
21
  siblingCount: D
22
22
  });
23
23
  if (!P || P.length < 1 || g < 1) return null;
24
- let F = _, I = 63 + String(v).length * (S === "m" ? 10 : 8) + "px";
24
+ let F = _, I = Math.max(v, ...(y ?? []).map((e) => e.value)), L = 63 + String(I).length * (S === "m" ? 10 : 8) + "px";
25
25
  return /* @__PURE__ */ h("div", {
26
26
  className: e(f.root, C),
27
27
  style: u(S, w),
@@ -91,7 +91,7 @@ var g = ({ page: g, totalPages: _, itemsPerPage: v = 10, itemsPerPageOptions: y,
91
91
  orientation: "vertical",
92
92
  className: f.divider
93
93
  }), /* @__PURE__ */ m(c, {
94
- style: { width: I },
94
+ style: { width: L },
95
95
  size: S,
96
96
  filterable: !1,
97
97
  fullWidth: !1,
@@ -1,3 +1,3 @@
1
1
  import { SelectProps } from './Select.types';
2
- export declare const Select: <T>({ id, name, value, options, label, placeholder, customEmptyText, maxHeight, size, fullWidth, alignItemsCenter, className, itemClassName, style, filterable, disableClientFilter, keepMounted, showClearIcon, disabled, loading, skeletonCount, onLoadMore, hasMore, loadingMore, loadMoreOffset, hasError, hintLeftSection, hintRightSection, onChange, onSearch, onBlur, }: SelectProps<T>) => import('react').JSX.Element;
2
+ export declare const Select: <T>({ id, name, value, options, label, placeholder, customEmptyText, maxHeight, size, fullWidth, alignItemsCenter, className, itemClassName, style, filterable, disableClientFilter, keepMounted, showClearIcon, disabled, loading, skeletonCount, onLoadMore, hasMore, loadingMore, loadMoreOffset, hasError, leftIcon, hintLeftSection, hintRightSection, onChange, onSearch, onBlur, }: SelectProps<T>) => import('react').JSX.Element;
3
3
  //# sourceMappingURL=Select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/lib/components/Select/Select.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,WAAW,EAAe,MAAM,gBAAgB,CAAC;AAO1D,eAAO,MAAM,MAAM,GAAI,CAAC,EAAG,6WAgCxB,WAAW,CAAC,CAAC,CAAC,gCAgMhB,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/lib/components/Select/Select.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,WAAW,EAAe,MAAM,gBAAgB,CAAC;AAO1D,eAAO,MAAM,MAAM,GAAI,CAAC,EAAG,uXAiCxB,WAAW,CAAC,CAAC,CAAC,gCAiMhB,CAAC"}
@@ -3,131 +3,132 @@ import { classNames as e } from "../../utils/class-names.js";
3
3
  import { OutlineNavigationChevronDown as t } from "../../icons/components/OutlineNavigationChevronDown.js";
4
4
  import { useComponentId as n } from "../../hooks/useComponentId/useComponentId.js";
5
5
  import { PopoverWithFallback as r } from "../NativePopover/PopoverWithFallback.js";
6
- import { Input as i } from "../Input/Input.js";
7
- import { List as a } from "../List/List.js";
8
- import o from "../../lib/components/Select/Select.module.js";
9
- import { flattenOptions as s, getFieldValue as c, isGroupedOptions as l, isObjectValue as u, matchesSearch as d, restoreSearchValue as f } from "./Select.utils.js";
10
- import { useSelectNavigation as p } from "./useSelectNavigation.js";
11
- import { useEffect as m, useMemo as h, useState as g } from "react";
12
- import { jsx as _, jsxs as v } from "react/jsx-runtime";
6
+ import { Input as ee } from "../Input/Input.js";
7
+ import { List as i } from "../List/List.js";
8
+ import a from "../../lib/components/Select/Select.module.js";
9
+ import { flattenOptions as o, getFieldValue as s, isGroupedOptions as c, isObjectValue as te, matchesSearch as l, restoreSearchValue as u } from "./Select.utils.js";
10
+ import { useSelectNavigation as d } from "./useSelectNavigation.js";
11
+ import { useEffect as f, useMemo as p, useState as m } from "react";
12
+ import { jsx as h, jsxs as g } from "react/jsx-runtime";
13
13
  //#region src/lib/components/Select/Select.tsx
14
- var y = ({ id: y, name: b, value: x, options: S = [], label: C, placeholder: w, customEmptyText: T, maxHeight: E, size: D = "m", fullWidth: O = !0, alignItemsCenter: ee, className: te, itemClassName: ne, style: re, filterable: k = !0, disableClientFilter: A = !1, keepMounted: j = !0, showClearIcon: M = !0, disabled: N, loading: P = !1, skeletonCount: F = 2, onLoadMore: I, hasMore: L, loadingMore: R, loadMoreOffset: z, hasError: B, hintLeftSection: V, hintRightSection: H, onChange: U, onSearch: W, onBlur: ie }) => {
15
- let G = n(y), [K, q] = g(!1), [J, Y] = g(""), X = h(() => u(x) ? x.value : x, [x]), Z = h(() => !k || A || c(S, X) === J ? S : l(S) ? S.map((e) => ({
14
+ var _ = ({ id: _, name: v, value: y, options: b = [], label: x, placeholder: S, customEmptyText: C, maxHeight: w, size: T = "m", fullWidth: ne = !0, alignItemsCenter: re, className: ie, itemClassName: ae, style: E, filterable: D = !0, disableClientFilter: O = !1, keepMounted: k = !0, showClearIcon: A = !0, disabled: j, loading: M = !1, skeletonCount: N = 2, onLoadMore: P, hasMore: F, loadingMore: I, loadMoreOffset: L, hasError: R, leftIcon: z, hintLeftSection: B, hintRightSection: V, onChange: H, onSearch: U, onBlur: W }) => {
15
+ let G = n(_), [K, q] = m(!1), [J, Y] = m(""), X = p(() => te(y) ? y.value : y, [y]), Z = p(() => !D || O || s(b, X) === J ? b : c(b) ? b.map((e) => ({
16
16
  ...e,
17
- options: e.options.filter(d(J))
18
- })).filter((e) => e.options.length > 0) : S.filter(d(J)), [
19
- k,
20
- A,
21
- S,
17
+ options: e.options.filter(l(J))
18
+ })).filter((e) => e.options.length > 0) : b.filter(l(J)), [
19
+ D,
20
+ O,
21
+ b,
22
22
  X,
23
23
  J
24
- ]), Q = h(() => s(Z), [Z]), ae = h(() => Q.findIndex((e) => e.value === X), [Q, X]), oe = () => {
25
- U(null, null), Y("");
26
- }, se = (e) => {
24
+ ]), Q = p(() => o(Z), [Z]), oe = p(() => Q.findIndex((e) => e.value === X), [Q, X]), se = () => {
25
+ H(null, null), Y("");
26
+ }, ce = (e) => {
27
27
  let { value: t } = e.target;
28
- Y(t), W?.(t, e), !K && k && q(!0);
29
- }, ce = () => {
30
- let e = f(x, S, X);
28
+ Y(t), U?.(t, e), !K && D && q(!0);
29
+ }, le = () => {
30
+ let e = u(y, b, X);
31
31
  Y(e), q(!1);
32
32
  }, $ = (e) => {
33
33
  let t = Q.find((t) => t.value === e);
34
- t && !t.disabled && (U(e, t), Y(c(S, e)), q(!1));
35
- }, { handleKeyDown: le, comboboxProps: ue, listProps: de, getOptionProps: fe } = p({
34
+ t && !t.disabled && (H(e, t), Y(s(b, e)), q(!1));
35
+ }, { handleKeyDown: ue, comboboxProps: de, listProps: fe, getOptionProps: pe } = d({
36
36
  id: G,
37
37
  options: Q,
38
38
  isOpen: K,
39
39
  searchValue: J,
40
- selectedIndex: ae,
41
- hasMore: L,
40
+ selectedIndex: oe,
41
+ hasMore: F,
42
42
  onOpen: () => q(!0),
43
43
  onSelect: $
44
44
  });
45
- m(() => {
45
+ f(() => {
46
46
  if (!K) {
47
- let e = f(x, S, X);
47
+ let e = u(y, b, X);
48
48
  Y(e);
49
49
  }
50
50
  }, [
51
- S,
51
+ b,
52
52
  K,
53
53
  X,
54
- x
54
+ y
55
55
  ]);
56
- let pe = () => {
56
+ let me = () => {
57
57
  let e = 0, t = (t) => {
58
58
  let n = X === t.value;
59
- return /* @__PURE__ */ _(a.Item, {
60
- ...fe(e++),
59
+ return /* @__PURE__ */ h(i.Item, {
60
+ ...pe(e++),
61
61
  "aria-selected": n,
62
62
  value: t.value,
63
63
  label: t.label,
64
64
  secondaryText: t.secondaryText,
65
65
  disabled: t.disabled,
66
- alignItemCenter: ee,
66
+ alignItemCenter: re,
67
67
  selected: n,
68
68
  onClick: $,
69
- className: ne,
69
+ className: ae,
70
70
  leftSection: t.leftSection,
71
71
  rightSection: t.rightSection
72
72
  }, String(t.value));
73
73
  };
74
- return l(Z) ? Z.map((e, n) => /* @__PURE__ */ _(a.Group, {
74
+ return c(Z) ? Z.map((e, n) => /* @__PURE__ */ h(i.Group, {
75
75
  title: e.title,
76
76
  collapsible: e.collapsible,
77
77
  defaultOpen: e.defaultOpen,
78
78
  children: e.options.map(t)
79
79
  }, n)) : Z.map(t);
80
80
  };
81
- return /* @__PURE__ */ v(r, {
81
+ return /* @__PURE__ */ g(r, {
82
82
  width: "trigger",
83
83
  isOpen: K,
84
- keepMounted: j,
85
- onClose: ce,
84
+ keepMounted: k,
85
+ onClose: le,
86
86
  offset: 4,
87
- children: [/* @__PURE__ */ _(r.Trigger, {
88
- style: re,
89
- onBlur: ie,
90
- className: e(O && "uiFullWidth", N && o.disabled, te),
91
- children: /* @__PURE__ */ _(i, {
87
+ children: [/* @__PURE__ */ h(r.Trigger, {
88
+ style: E,
89
+ onBlur: W,
90
+ className: e(ne && "uiFullWidth", j && a.disabled, ie),
91
+ children: /* @__PURE__ */ h(ee, {
92
92
  fullWidth: !0,
93
- onClear: M ? oe : void 0,
93
+ onClear: A ? se : void 0,
94
94
  value: J,
95
- size: D,
96
- rightIcon: /* @__PURE__ */ _(t, {
95
+ size: T,
96
+ leftIcon: z,
97
+ rightIcon: /* @__PURE__ */ h(t, {
97
98
  onMouseDown: (e) => e.preventDefault(),
98
99
  "aria-label": "Toggle dropdown",
99
- className: e(K && o.chevronActive, o.chevron)
100
+ className: e(K && a.chevronActive, a.chevron)
100
101
  }),
101
- onChange: se,
102
- onKeyDown: le,
103
- ...ue,
104
- "aria-autocomplete": k ? "list" : "none",
105
- readOnly: !k,
102
+ onChange: ce,
103
+ onKeyDown: ue,
104
+ ...de,
105
+ "aria-autocomplete": D ? "list" : "none",
106
+ readOnly: !D,
106
107
  id: G,
107
- name: b,
108
- disabled: N,
109
- label: C,
110
- placeholder: w,
111
- hasError: B,
108
+ name: v,
109
+ disabled: j,
110
+ label: x,
111
+ placeholder: S,
112
+ hasError: R,
112
113
  onFieldClick: () => q((e) => !e),
113
- hintLeftSection: V,
114
- hintRightSection: H
114
+ hintLeftSection: B,
115
+ hintRightSection: V
115
116
  })
116
- }), /* @__PURE__ */ _(r.Dropdown, { children: /* @__PURE__ */ _(a, {
117
- ...de,
118
- loading: P,
119
- skeletonCount: F,
120
- size: D === "l" ? "l" : "m",
121
- fullWidth: O,
122
- customEmptyText: T,
123
- maxHeight: E,
124
- onLoadMore: I,
125
- hasMore: L,
126
- loadingMore: R,
127
- loadMoreOffset: z,
128
- children: pe()
117
+ }), /* @__PURE__ */ h(r.Dropdown, { children: /* @__PURE__ */ h(i, {
118
+ ...fe,
119
+ loading: M,
120
+ skeletonCount: N,
121
+ size: T === "l" ? "l" : "m",
122
+ fullWidth: !0,
123
+ customEmptyText: C,
124
+ maxHeight: w,
125
+ onLoadMore: P,
126
+ hasMore: F,
127
+ loadingMore: I,
128
+ loadMoreOffset: L,
129
+ children: me()
129
130
  }) })]
130
131
  });
131
132
  };
132
133
  //#endregion
133
- export { y as Select };
134
+ export { _ as Select };
@@ -9,7 +9,7 @@ export interface SelectGroupOption<T = unknown> extends Pick<ListGroupProps, 'co
9
9
  */
10
10
  options: SelectOption<T>[];
11
11
  }
12
- export interface SelectProps<T> extends Pick<InputProps, 'size' | 'label' | 'placeholder' | 'fullWidth' | 'name' | 'id' | 'hasError' | 'disabled' | 'className' | 'style' | 'hintRightSection' | 'hintLeftSection'>, Pick<ListProps, 'loading' | 'skeletonCount' | 'customEmptyText' | 'maxHeight' | 'onLoadMore' | 'hasMore' | 'loadingMore' | 'loadMoreOffset'> {
12
+ export interface SelectProps<T> extends Pick<InputProps, 'size' | 'label' | 'placeholder' | 'fullWidth' | 'name' | 'id' | 'hasError' | 'disabled' | 'className' | 'style' | 'leftIcon' | 'hintRightSection' | 'hintLeftSection'>, Pick<ListProps, 'loading' | 'skeletonCount' | 'customEmptyText' | 'maxHeight' | 'onLoadMore' | 'hasMore' | 'loadingMore' | 'loadMoreOffset'> {
13
13
  /**
14
14
  * The selected value of the select component.
15
15
  * **Note:** This can be a primitive value of type `T` or an object of type `SelectOption`.
@@ -1 +1 @@
1
- {"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../src/lib/components/Select/Select.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;AAE5C,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,OAAO,IAAI,cAAc,CAAC,CAAC,CAAC,CAAC;AAE1D,MAAM,WAAW,iBAAiB,CAAC,CAAC,GAAG,OAAO,CAAE,SAAQ,IAAI,CAC3D,cAAc,EACd,aAAa,GAAG,aAAa,GAAG,OAAO,CACvC;IACA;;OAEG;IACH,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,WAAW,CAAC,CAAC,CAC7B,SACC,IAAI,CACH,UAAU,EACR,MAAM,GACN,OAAO,GACP,aAAa,GACb,WAAW,GACX,MAAM,GACN,IAAI,GACJ,UAAU,GACV,UAAU,GACV,WAAW,GACX,OAAO,GACP,kBAAkB,GAClB,iBAAiB,CACnB,EACD,IAAI,CACH,SAAS,EACP,SAAS,GACT,eAAe,GACf,iBAAiB,GACjB,WAAW,GACX,YAAY,GACZ,SAAS,GACT,aAAa,GACb,gBAAgB,CAClB;IACF;;;;;;;;OAQG;IACH,KAAK,EAAE,CAAC,GAAG,WAAW,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,QAAQ,EAAE,CACT,KAAK,EAAE,CAAC,GAAG,IAAI,EACf,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,WAAW,GAAG,IAAI,KACxC,IAAI,CAAC;IAEV;;;OAGG;IACH,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;IAEpE;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAE1E;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAE3C;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../src/lib/components/Select/Select.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;AAE5C,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,OAAO,IAAI,cAAc,CAAC,CAAC,CAAC,CAAC;AAE1D,MAAM,WAAW,iBAAiB,CAAC,CAAC,GAAG,OAAO,CAAE,SAAQ,IAAI,CAC3D,cAAc,EACd,aAAa,GAAG,aAAa,GAAG,OAAO,CACvC;IACA;;OAEG;IACH,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,WAAW,CAAC,CAAC,CAC7B,SACC,IAAI,CACH,UAAU,EACR,MAAM,GACN,OAAO,GACP,aAAa,GACb,WAAW,GACX,MAAM,GACN,IAAI,GACJ,UAAU,GACV,UAAU,GACV,WAAW,GACX,OAAO,GACP,UAAU,GACV,kBAAkB,GAClB,iBAAiB,CACnB,EACD,IAAI,CACH,SAAS,EACP,SAAS,GACT,eAAe,GACf,iBAAiB,GACjB,WAAW,GACX,YAAY,GACZ,SAAS,GACT,aAAa,GACb,gBAAgB,CAClB;IACF;;;;;;;;OAQG;IACH,KAAK,EAAE,CAAC,GAAG,WAAW,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,QAAQ,EAAE,CACT,KAAK,EAAE,CAAC,GAAG,IAAI,EACf,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,WAAW,GAAG,IAAI,KACxC,IAAI,CAAC;IAEV;;;OAGG;IACH,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;IAEpE;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAE1E;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAE3C;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB"}
@@ -1,3 +1,3 @@
1
1
  import { SelectMultipleProps } from './SelectMultiple.types';
2
- export declare const SelectMultiple: <T>({ id, name, ref, values, options, label, placeholder, customEmptyText, maxHeight, size, fullWidth, alignItemsCenter, className, itemClassName, style, disabled, loading, skeletonCount, onLoadMore, hasMore, loadingMore, loadMoreOffset, hasError, filterable, disableClientFilter, keepMounted, showClearIcon, closeOnSelect, clearInputOnSelect, hintLeftSection, hintRightSection, onChange, onSearch, onBlur, }: SelectMultipleProps<T>) => import('react').JSX.Element;
2
+ export declare const SelectMultiple: <T>({ id, name, ref, values, options, label, placeholder, customEmptyText, maxHeight, size, fullWidth, alignItemsCenter, className, itemClassName, style, disabled, loading, skeletonCount, onLoadMore, hasMore, loadingMore, loadMoreOffset, hasError, leftIcon, filterable, disableClientFilter, keepMounted, showClearIcon, closeOnSelect, clearInputOnSelect, hintLeftSection, hintRightSection, onChange, onSearch, onBlur, }: SelectMultipleProps<T>) => import('react').JSX.Element;
3
3
  //# sourceMappingURL=SelectMultiple.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectMultiple.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Select/SelectMultiple/SelectMultiple.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAgB7D,eAAO,MAAM,cAAc,GAAI,CAAC,EAAG,sZAmChC,mBAAmB,CAAC,CAAC,CAAC,gCAyQxB,CAAC"}
1
+ {"version":3,"file":"SelectMultiple.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Select/SelectMultiple/SelectMultiple.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAgB7D,eAAO,MAAM,cAAc,GAAI,CAAC,EAAG,gaAoChC,mBAAmB,CAAC,CAAC,CAAC,gCA0QxB,CAAC"}
@@ -2,12 +2,12 @@
2
2
  import { classNames as e } from "../../../utils/class-names.js";
3
3
  import { syncRefs as t } from "../../../utils/sync-refs.js";
4
4
  import { Badge as n } from "../../Badge/Badge.js";
5
- import { OutlineNavigationChevronDown as ee } from "../../../icons/components/OutlineNavigationChevronDown.js";
6
- import { OutlineSystemClose as te } from "../../../icons/components/OutlineSystemClose.js";
7
- import { useComponentId as ne } from "../../../hooks/useComponentId/useComponentId.js";
8
- import { PopoverWithFallback as r } from "../../NativePopover/PopoverWithFallback.js";
9
- import { InputBaseWrapper as i } from "../../Field/InputBaseWrapper/InputBaseWrapper.js";
10
- import { InputBase as a } from "../../Field/InputBase/InputBase.js";
5
+ import { OutlineNavigationChevronDown as r } from "../../../icons/components/OutlineNavigationChevronDown.js";
6
+ import { OutlineSystemClose as ee } from "../../../icons/components/OutlineSystemClose.js";
7
+ import { useComponentId as te } from "../../../hooks/useComponentId/useComponentId.js";
8
+ import { PopoverWithFallback as i } from "../../NativePopover/PopoverWithFallback.js";
9
+ import { InputBaseWrapper as a } from "../../Field/InputBaseWrapper/InputBaseWrapper.js";
10
+ import { InputBase as ne } from "../../Field/InputBase/InputBase.js";
11
11
  import { List as o } from "../../List/List.js";
12
12
  import { flattenOptions as s, isGroupedOptions as c, isObjectValue as l, matchesSearch as u } from "../Select.utils.js";
13
13
  import { useSelectNavigation as d } from "../useSelectNavigation.js";
@@ -15,66 +15,66 @@ import f from "../../../lib/components/Select/SelectMultiple/SelectMultiple.modu
15
15
  import { useEffect as re, useMemo as p, useRef as m, useState as h } from "react";
16
16
  import { jsx as g, jsxs as _ } from "react/jsx-runtime";
17
17
  //#region src/lib/components/Select/SelectMultiple/SelectMultiple.tsx
18
- var v = ({ id: v, name: y, ref: b, values: x, options: S, label: ie, placeholder: ae, customEmptyText: oe, maxHeight: se, size: C, fullWidth: w = !0, alignItemsCenter: ce, className: le, itemClassName: ue, style: de, disabled: T, loading: fe, skeletonCount: pe, onLoadMore: E, hasMore: D, loadingMore: O, loadMoreOffset: k, hasError: A, filterable: j, disableClientFilter: M, keepMounted: N = !0, showClearIcon: P = !0, closeOnSelect: F = !1, clearInputOnSelect: I = !1, hintLeftSection: L, hintRightSection: R, onChange: z, onSearch: B, onBlur: me }) => {
19
- let V = m(null), H = m(null), U = ne(v), [W, G] = h(!1), [K, q] = h(""), J = p(() => !x.length || x.length > 0 && l(x[0]), [x]), Y = p(() => J ? x.map((e) => e.value) : x, [x, J]), he = p(() => {
20
- if (J) return x;
21
- let e = s(S);
18
+ var v = ({ id: v, name: y, ref: ie, values: b, options: x, label: ae, placeholder: oe, customEmptyText: se, maxHeight: ce, size: S, fullWidth: le = !0, alignItemsCenter: ue, className: de, itemClassName: fe, style: pe, disabled: C, loading: me, skeletonCount: w, onLoadMore: T, hasMore: E, loadingMore: D, loadMoreOffset: O, hasError: k, leftIcon: A, filterable: j, disableClientFilter: M, keepMounted: N = !0, showClearIcon: P = !0, closeOnSelect: F = !1, clearInputOnSelect: I = !1, hintLeftSection: L, hintRightSection: R, onChange: z, onSearch: B, onBlur: he }) => {
19
+ let V = m(null), H = m(null), U = te(v), [W, G] = h(!1), [K, q] = h(""), J = p(() => !b.length || b.length > 0 && l(b[0]), [b]), Y = p(() => J ? b.map((e) => e.value) : b, [b, J]), ge = p(() => {
20
+ if (J) return b;
21
+ let e = s(x);
22
22
  return Y.map((t) => e.find((e) => e.value === t)).filter((e) => !!e);
23
23
  }, [
24
24
  J,
25
- S,
25
+ x,
26
26
  Y,
27
- x
28
- ]), X = p(() => !j || M ? S : c(S) ? S.map((e) => ({
27
+ b
28
+ ]), X = p(() => !j || M ? x : c(x) ? x.map((e) => ({
29
29
  ...e,
30
30
  options: e.options.filter(u(K))
31
- })).filter((e) => e.options.length > 0) : S.filter(u(K)), [
31
+ })).filter((e) => e.options.length > 0) : x.filter(u(K)), [
32
32
  M,
33
33
  j,
34
- S,
34
+ x,
35
35
  K
36
- ]), Z = p(() => s(X), [X]), ge = (e) => {
36
+ ]), Z = p(() => s(X), [X]), _e = (e) => {
37
37
  let t = e.target.value;
38
38
  q(t), B?.(t), G(!0);
39
39
  }, Q = (e) => {
40
40
  let t = Z.find((t) => t.value === e);
41
- t && !t.disabled && (Y.includes(e) ? z(Y.filter((t) => t !== e), J ? x.filter((t) => t.value !== e) : void 0) : z([...Y, e], J ? [...x, t] : void 0), H.current?.focus(), I && (q(""), B?.("")), F && G(!1));
42
- }, { handleKeyDown: _e, comboboxProps: ve, listProps: ye, getOptionProps: be } = d({
41
+ t && !t.disabled && (Y.includes(e) ? z(Y.filter((t) => t !== e), J ? b.filter((t) => t.value !== e) : void 0) : z([...Y, e], J ? [...b, t] : void 0), H.current?.focus(), I && (q(""), B?.("")), F && G(!1));
42
+ }, { handleKeyDown: ve, comboboxProps: ye, listProps: be, getOptionProps: xe } = d({
43
43
  id: U,
44
44
  options: Z,
45
45
  isOpen: W,
46
46
  searchValue: K,
47
- hasMore: D,
47
+ hasMore: E,
48
48
  onOpen: () => G(!0),
49
49
  onSelect: Q
50
- }), xe = (e) => {
51
- z(Y.filter((t) => t !== e), J ? x.filter((t) => t.value !== e) : void 0);
50
+ }), Se = (e) => {
51
+ z(Y.filter((t) => t !== e), J ? b.filter((t) => t.value !== e) : void 0);
52
52
  }, $ = () => {
53
53
  G(!1), B?.(""), q("");
54
- }, Se = () => {
54
+ }, Ce = () => {
55
55
  z([], []), $();
56
56
  };
57
57
  re(() => {
58
58
  V.current && (V.current.scrollLeft = W ? V.current.scrollWidth : 0);
59
59
  }, [
60
60
  X,
61
- x,
61
+ b,
62
62
  W
63
63
  ]);
64
- let Ce = () => {
64
+ let we = () => {
65
65
  let e = 0, t = (t) => {
66
66
  let n = Y.includes(t.value);
67
67
  return /* @__PURE__ */ g(o.Item, {
68
- ...be(e++),
68
+ ...xe(e++),
69
69
  "aria-selected": n,
70
70
  value: t.value,
71
71
  label: t.label,
72
72
  secondaryText: t.secondaryText,
73
73
  disabled: t.disabled,
74
- alignItemCenter: ce,
74
+ alignItemCenter: ue,
75
75
  selected: n,
76
76
  onClick: Q,
77
- className: ue,
77
+ className: fe,
78
78
  leftSection: t.leftSection,
79
79
  rightSection: t.rightSection
80
80
  }, String(t.value));
@@ -86,80 +86,81 @@ var v = ({ id: v, name: y, ref: b, values: x, options: S, label: ie, placeholder
86
86
  children: e.options.map(t)
87
87
  }, n)) : X.map(t);
88
88
  };
89
- return /* @__PURE__ */ _(r, {
89
+ return /* @__PURE__ */ _(i, {
90
90
  isOpen: W,
91
91
  keepMounted: N,
92
92
  width: "trigger",
93
93
  onClose: $,
94
94
  offset: 4,
95
- children: [/* @__PURE__ */ g(r.Trigger, {
96
- style: de,
97
- onBlur: me,
98
- onKeyDown: _e,
99
- className: e(f.root, w && "uiFullWidth", T && f.disabled, le),
100
- children: /* @__PURE__ */ g(i, {
95
+ children: [/* @__PURE__ */ g(i.Trigger, {
96
+ style: pe,
97
+ onBlur: he,
98
+ onKeyDown: ve,
99
+ className: e(f.root, le && "uiFullWidth", C && f.disabled, de),
100
+ children: /* @__PURE__ */ g(a, {
101
101
  bordered: !0,
102
102
  fullWidth: !0,
103
103
  keepLabel: !0,
104
- value: K || x.length > 0 ? "filled" : "",
104
+ value: K || b.length > 0 ? "filled" : "",
105
105
  id: U,
106
- label: ie,
107
- hasError: A,
108
- size: C,
109
- disabled: T,
110
- onClear: P ? Se : void 0,
106
+ label: ae,
107
+ hasError: k,
108
+ size: S,
109
+ disabled: C,
110
+ onClear: P ? Ce : void 0,
111
111
  onClick: () => G((e) => !e),
112
112
  inputRef: H,
113
113
  hintLeftSection: L,
114
114
  hintRightSection: R,
115
- rightIcon: /* @__PURE__ */ g(ee, { className: e(f.chevron, W && f.chevronActive) }),
115
+ leftIcon: A,
116
+ rightIcon: /* @__PURE__ */ g(r, { className: e(f.chevron, W && f.chevronActive) }),
116
117
  children: /* @__PURE__ */ _("div", {
117
118
  ref: V,
118
119
  className: f.tags,
119
- children: [he.map((e, t) => /* @__PURE__ */ _(n, {
120
+ children: [ge.map((e, t) => /* @__PURE__ */ _(n, {
120
121
  variant: "light",
121
122
  color: "neutral",
122
- size: C === "l" ? "s" : "xs",
123
+ size: S === "l" ? "s" : "xs",
123
124
  className: f.tag,
124
125
  children: [
125
126
  e.leftSection,
126
127
  e.label,
127
128
  e.rightSection,
128
- /* @__PURE__ */ g(te, {
129
+ /* @__PURE__ */ g(ee, {
129
130
  className: f.tagCloseIcon,
130
131
  onClick: (t) => {
131
- t.stopPropagation(), xe(e.value);
132
+ t.stopPropagation(), Se(e.value);
132
133
  }
133
134
  })
134
135
  ]
135
- }, t)), j && /* @__PURE__ */ g(a, {
136
+ }, t)), j && /* @__PURE__ */ g(ne, {
136
137
  id: U,
137
- ref: t(H, b),
138
+ ref: t(H, ie),
138
139
  name: y,
139
- placeholder: ae,
140
+ placeholder: oe,
140
141
  value: K,
141
- onChange: ge,
142
- ...ve,
142
+ onChange: _e,
143
+ ...ye,
143
144
  "aria-autocomplete": "list",
144
- disabled: T,
145
+ disabled: C,
145
146
  className: f.inputBase
146
147
  })]
147
148
  })
148
149
  })
149
- }), /* @__PURE__ */ g(r.Dropdown, { children: /* @__PURE__ */ g(o, {
150
- ...ye,
150
+ }), /* @__PURE__ */ g(i.Dropdown, { children: /* @__PURE__ */ g(o, {
151
+ ...be,
151
152
  "aria-multiselectable": !0,
152
- loading: fe,
153
- skeletonCount: pe,
154
- size: C === "l" ? "l" : "m",
155
- fullWidth: w,
156
- customEmptyText: oe,
157
- maxHeight: se,
158
- onLoadMore: E,
159
- hasMore: D,
160
- loadingMore: O,
161
- loadMoreOffset: k,
162
- children: Ce()
153
+ loading: me,
154
+ skeletonCount: w,
155
+ size: S === "l" ? "l" : "m",
156
+ fullWidth: !0,
157
+ customEmptyText: se,
158
+ maxHeight: ce,
159
+ onLoadMore: T,
160
+ hasMore: E,
161
+ loadingMore: D,
162
+ loadMoreOffset: O,
163
+ children: we()
163
164
  }) })]
164
165
  });
165
166
  };
@@ -5,7 +5,7 @@ export declare const Sidebar: {
5
5
  Items: ({ children }: import('react').PropsWithChildren) => import('react').JSX.Element;
6
6
  Item: <T>({ children, icon, counter, rightSection, path, active, onClick, className, style, linkComponent: LinkComponent, linkProps, }: import('./SidebarItem/SidebarItem.types').SidebarItemProps<T>) => import('react').JSX.Element;
7
7
  Group: ({ children, label, className, style, }: import('./SidebarGroup/SidebarGroup.types').SidebarGroupProps) => import('react').JSX.Element;
8
- Collapse: <T>({ children, icon, label, counter, className, style, }: import('./SidebarCollapse/SidebarCollapse.types').SidebarCollapseProps) => import('react').JSX.Element;
8
+ Collapse: <T>({ children, icon, label, counter, rightSection, className, style, }: import('./SidebarCollapse/SidebarCollapse.types').SidebarCollapseProps) => import('react').JSX.Element;
9
9
  Footer: ({ children, className, style, withDivider, }: import('./SidebarFooter/SidebarFooter.types').SidebarFooterProps) => import('react').JSX.Element;
10
10
  Element: ({ children, icon, className, style, }: import('./SidebarElement/SidebarElement.types').SidebarElementProps) => import('react').JSX.Element;
11
11
  Profile: ({ name, subtitle, avatar, rightSection, className, style, }: import('./SidebarProfile/SidebarProfile.types').SidebarProfileProps) => import('react').JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { SidebarCollapseProps } from './SidebarCollapse.types';
2
- export declare const SidebarCollapse: <T>({ children, icon, label, counter, className, style, }: SidebarCollapseProps) => import('react').JSX.Element;
2
+ export declare const SidebarCollapse: <T>({ children, icon, label, counter, rightSection, className, style, }: SidebarCollapseProps) => import('react').JSX.Element;
3
3
  //# sourceMappingURL=SidebarCollapse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarCollapse.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Sidebar/SidebarCollapse/SidebarCollapse.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAM/D,eAAO,MAAM,eAAe,GAAI,CAAC,EAAG,uDAOjC,oBAAoB,gCA8FtB,CAAC"}
1
+ {"version":3,"file":"SidebarCollapse.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Sidebar/SidebarCollapse/SidebarCollapse.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAM/D,eAAO,MAAM,eAAe,GAAI,CAAC,EAAG,qEAQjC,oBAAoB,gCAkGtB,CAAC"}
@@ -7,52 +7,52 @@ import i from "../../../lib/components/Sidebar/SidebarItem/SidebarItem.module.js
7
7
  import { SidebarItemContent as a } from "../SidebarItem/SidebarItemContent.js";
8
8
  import o from "../../../lib/components/Sidebar/SidebarCollapse/SidebarCollapse.module.js";
9
9
  import { Children as s, isValidElement as c, useEffect as l, useId as u } from "react";
10
- import { jsx as d, jsxs as f } from "react/jsx-runtime";
10
+ import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
11
11
  //#region src/lib/components/Sidebar/SidebarCollapse/SidebarCollapse.tsx
12
- var p = ({ children: p, icon: m, label: h, counter: g, className: _, style: v }) => {
13
- let y = u(), { isCompactSize: b, openCollapseId: x, setOpenCollapseId: S, collapseGroupName: C } = r(), w = y === x, T = s.toArray(p).map((e) => c(e) ? e.props.active : !1).find(Boolean);
12
+ var m = ({ children: m, icon: h, label: g, counter: _, rightSection: v, className: y, style: b }) => {
13
+ let x = u(), { isCompactSize: S, openCollapseId: C, setOpenCollapseId: w, collapseGroupName: T } = r(), E = x === C, D = s.toArray(m).map((e) => c(e) ? e.props.active : !1).find(Boolean);
14
14
  return l(() => {
15
- T && S(y);
15
+ D && w(x);
16
16
  }, [
17
- T,
18
- y,
19
- S
20
- ]), /* @__PURE__ */ f("details", {
21
- open: w,
22
- name: C,
23
- style: v,
17
+ D,
18
+ x,
19
+ w
20
+ ]), /* @__PURE__ */ p("details", {
21
+ open: E,
22
+ name: T,
23
+ style: b,
24
24
  onToggle: (e) => {
25
25
  let { open: t } = e.currentTarget;
26
- e.target === e.currentTarget && t !== w && S(t ? y : null);
26
+ e.target === e.currentTarget && t !== E && w(t ? x : null);
27
27
  },
28
- className: e(o.sidebarCollapse, _),
29
- children: [/* @__PURE__ */ d("summary", {
30
- "aria-label": h,
28
+ className: e(o.sidebarCollapse, y),
29
+ children: [/* @__PURE__ */ f("summary", {
30
+ "aria-label": g,
31
31
  onClick: (e) => {
32
- e.preventDefault(), !b && S(w ? null : y);
32
+ e.preventDefault(), !S && w(E ? null : x);
33
33
  },
34
- className: e(i.sidebarItem, b && i.sidebarItemCompact, T && (b || !w) && i.itemActive, o.summary),
35
- children: /* @__PURE__ */ d(a, {
36
- icon: m,
37
- counter: g,
38
- rightSection: /* @__PURE__ */ d("span", {
34
+ className: e(i.sidebarItem, S && i.sidebarItemCompact, D && (S || !E) && i.itemActive, o.summary),
35
+ children: /* @__PURE__ */ f(a, {
36
+ icon: h,
37
+ counter: _,
38
+ rightSection: /* @__PURE__ */ p(d, { children: [v, /* @__PURE__ */ f("span", {
39
39
  className: o.collapseIcon,
40
40
  "aria-hidden": "true",
41
- children: d(w ? t : n, {})
42
- }),
43
- children: h
41
+ children: f(E ? t : n, {})
42
+ })] }),
43
+ children: g
44
44
  })
45
- }), !b && /* @__PURE__ */ d("div", {
45
+ }), !S && /* @__PURE__ */ f("div", {
46
46
  className: o.clip,
47
- children: /* @__PURE__ */ d("div", {
48
- id: y,
47
+ children: /* @__PURE__ */ f("div", {
48
+ id: x,
49
49
  role: "group",
50
- "aria-label": h,
50
+ "aria-label": g,
51
51
  className: o.collapseContent,
52
- children: p
52
+ children: m
53
53
  })
54
54
  })]
55
55
  });
56
56
  };
57
57
  //#endregion
58
- export { p as SidebarCollapse };
58
+ export { m as SidebarCollapse };
@@ -17,6 +17,11 @@ export interface SidebarCollapseProps {
17
17
  * The number to be displayed on the collapse button. Usually used for notifications.
18
18
  */
19
19
  counter?: number | string;
20
+ /**
21
+ * Additional content to render on the right side of the collapse button,
22
+ * before the chevron icon.
23
+ */
24
+ rightSection?: ReactNode;
20
25
  /**
21
26
  * Additional class names to apply to the collapse button.
22
27
  */
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarCollapse.types.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Sidebar/SidebarCollapse/SidebarCollapse.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,MAAM,WAAW,oBAAoB;IACpC;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACtB"}
1
+ {"version":3,"file":"SidebarCollapse.types.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Sidebar/SidebarCollapse/SidebarCollapse.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,MAAM,WAAW,oBAAoB;IACpC;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACtB"}
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "ISC",
23
23
  "private": false,
24
- "version": "2.0.2",
24
+ "version": "2.0.3",
25
25
  "type": "module",
26
26
  "files": [
27
27
  "dist",