aristid-ds 14.0.0-de91d79 → 14.0.0-e09fce2

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.
Files changed (95) hide show
  1. package/CHANGELOG.md +4 -4
  2. package/dist/Kit/App/index.js +15 -15
  3. package/dist/Kit/DataDisplay/Collapse/index.js +1 -1
  4. package/dist/Kit/DataDisplay/Empty/index.js +1 -1
  5. package/dist/Kit/DataDisplay/Error/index.js +1 -1
  6. package/dist/Kit/DataDisplay/ItemCard/index.js +1 -1
  7. package/dist/Kit/DataDisplay/RedirectCard/index.js +1 -1
  8. package/dist/Kit/DataDisplay/Table/index.js +1 -1
  9. package/dist/Kit/DataDisplay/Tag/index.js +55 -54
  10. package/dist/Kit/DataDisplay/Tag/types.d.ts +1 -0
  11. package/dist/Kit/DataEntry/AutoComplete/index.js +1 -1
  12. package/dist/Kit/DataEntry/Checkbox/index.js +1 -1
  13. package/dist/Kit/DataEntry/ColorPicker/index.js +1 -1
  14. package/dist/Kit/DataEntry/DatePicker/index.js +1 -1
  15. package/dist/Kit/DataEntry/Filter/index.js +1 -1
  16. package/dist/Kit/DataEntry/Input/index.js +1 -1
  17. package/dist/Kit/DataEntry/Radio/index.js +1 -1
  18. package/dist/Kit/DataEntry/RichText/EditorContentCharacterCount/index.js +1 -1
  19. package/dist/Kit/DataEntry/RichText/MenuBar/FontSizeSelect/index.js +1 -1
  20. package/dist/Kit/DataEntry/RichText/MenuBar/LinkButton/index.js +1 -1
  21. package/dist/Kit/DataEntry/RichText/MenuBar/index.js +1 -1
  22. package/dist/Kit/DataEntry/SearchInput/index.d.ts +3 -0
  23. package/dist/Kit/DataEntry/SearchInput/index.js +18 -0
  24. package/dist/Kit/DataEntry/SearchInput/types.d.ts +5 -0
  25. package/dist/Kit/DataEntry/Slider/index.js +1 -1
  26. package/dist/Kit/DataEntry/Switch/index.js +1 -1
  27. package/dist/Kit/DataEntry/Upload/index.js +1 -1
  28. package/dist/Kit/Feedback/Alert/index.js +1 -1
  29. package/dist/Kit/Feedback/Loader/index.js +1 -1
  30. package/dist/Kit/Feedback/Modal/index.js +1 -1
  31. package/dist/Kit/Feedback/Progress/index.js +1 -1
  32. package/dist/Kit/Feedback/Skeleton/index.js +1 -1
  33. package/dist/Kit/Feedback/SnackBar/index.js +6 -6
  34. package/dist/Kit/General/Button/index.js +1 -1
  35. package/dist/Kit/General/Icon/index.js +1 -1
  36. package/dist/Kit/Layout/Divider/index.js +1 -1
  37. package/dist/Kit/Layout/PageLayout/index.js +1 -1
  38. package/dist/Kit/Layout/Section/index.js +1 -1
  39. package/dist/Kit/Navigation/Breadcrumb/index.js +1 -1
  40. package/dist/Kit/Navigation/DropDown/index.js +1 -1
  41. package/dist/Kit/Navigation/Header/index.js +1 -1
  42. package/dist/Kit/Navigation/PageHeader/index.js +1 -1
  43. package/dist/Kit/Navigation/Pagination/index.js +1 -1
  44. package/dist/Kit/Navigation/SideMenu/index.js +1 -1
  45. package/dist/Kit/Navigation/Steps/index.js +1 -1
  46. package/dist/Kit/index.d.ts +1 -0
  47. package/dist/Kit/index.js +142 -140
  48. package/dist/assets/index10.css +1 -1
  49. package/dist/assets/index11.css +1 -1
  50. package/dist/assets/index12.css +1 -1
  51. package/dist/assets/index13.css +1 -1
  52. package/dist/assets/index14.css +1 -1
  53. package/dist/assets/index15.css +1 -1
  54. package/dist/assets/index16.css +1 -1
  55. package/dist/assets/index17.css +1 -1
  56. package/dist/assets/index18.css +1 -1
  57. package/dist/assets/index19.css +1 -1
  58. package/dist/assets/index20.css +1 -1
  59. package/dist/assets/index21.css +1 -1
  60. package/dist/assets/index22.css +1 -1
  61. package/dist/assets/index23.css +1 -1
  62. package/dist/assets/index24.css +1 -1
  63. package/dist/assets/index25.css +1 -1
  64. package/dist/assets/index26.css +1 -1
  65. package/dist/assets/index27.css +1 -1
  66. package/dist/assets/index28.css +1 -1
  67. package/dist/assets/index29.css +1 -1
  68. package/dist/assets/index30.css +1 -1
  69. package/dist/assets/index31.css +1 -1
  70. package/dist/assets/index32.css +1 -1
  71. package/dist/assets/index33.css +1 -1
  72. package/dist/assets/index34.css +1 -1
  73. package/dist/assets/index35.css +1 -1
  74. package/dist/assets/index36.css +1 -1
  75. package/dist/assets/index37.css +1 -1
  76. package/dist/assets/index38.css +1 -1
  77. package/dist/assets/index39.css +1 -1
  78. package/dist/assets/index40.css +1 -1
  79. package/dist/assets/index41.css +1 -1
  80. package/dist/assets/index42.css +1 -1
  81. package/dist/assets/index43.css +1 -1
  82. package/dist/assets/index44.css +1 -1
  83. package/dist/assets/index45.css +1 -1
  84. package/dist/assets/index46.css +1 -1
  85. package/dist/assets/index47.css +1 -1
  86. package/dist/assets/index48.css +1 -1
  87. package/dist/assets/index49.css +1 -1
  88. package/dist/assets/index50.css +1 -0
  89. package/dist/chunks/{SnackBarProvider.hc5vyNRJ.js → SnackBarProvider.wBpPNyLk.js} +6 -6
  90. package/dist/index.es.js +146 -144
  91. package/dist/index.umd.js +4 -4
  92. package/dist/utils/functions/colors.d.ts +2 -0
  93. package/dist/utils/functions/index.d.ts +1 -1
  94. package/dist/utils/functions/index.js +102 -65
  95. package/package.json +3 -4
package/CHANGELOG.md CHANGED
@@ -38,6 +38,8 @@
38
38
  - **InputNumber**:
39
39
  - Add `size` property to enable `small`, `middle` and `large` sizes (@fatb38)
40
40
  - Add `readonly` property whith a render similar to disabled state (@philippechevieux)
41
+ - **SearchInput**:
42
+ - Add component SearchInput (@baloche)
41
43
  - **SidePanel**:
42
44
  - Add opening and closing animations (@philippechevieux)
43
45
  - Add `l` size (@7Remy)
@@ -52,6 +54,8 @@
52
54
  - Add support for ReactNode in `title` and `descriptions` props to allow custom rendering (@philippechevieux)
53
55
  - **Tabs:**
54
56
  - Add `xsmall` size (@florianSimonAristid)
57
+ - **Tag:**
58
+ - Add `small` size (@florianSimonAristid)
55
59
  - **All components with a DropDown:**
56
60
  - All components using a dropdown inside a `SidePanel` component, will render the dropdown inside the `SidePanel`, to avoid issues with the `closeOnOutsideClick` property of `SidePanel` (@evoiron)
57
61
  - **Snackbar**
@@ -82,10 +86,6 @@
82
86
  - **Filter**:
83
87
  - Update `With custom Action` exemple implementation (@philippechevieux)
84
88
 
85
- ### 🔐 Security
86
-
87
- - Update `color-string` to `2.1.2`(@philippechevieux)
88
-
89
89
  ## [14.0.0](https://www.npmjs.com/package/aristid-ds/v/14.0.0) (2025-05-20)
90
90
 
91
91
  ### ✨ Features
@@ -1,21 +1,21 @@
1
- import "../../assets/index29.css";
1
+ import "../../assets/index30.css";
2
2
  import { jsx as n, jsxs as f, Fragment as h } from "react/jsx-runtime";
3
3
  import { useState as u, useLayoutEffect as L, useRef as S, useEffect as P } from "react";
4
4
  import { ConfigProvider as C } from "antd";
5
- import { I as b } from "../../chunks/SnackBarProvider.hc5vyNRJ.js";
5
+ import { K as b } from "../../chunks/SnackBarProvider.wBpPNyLk.js";
6
6
  import { toCssVariables as g, uuid as y } from "../../utils/functions/index.js";
7
7
  import a from "lodash/merge";
8
8
  import { Style as m } from "react-style-tag";
9
9
  import { K as E } from "../../chunks/useKitTheme.KSAU-Pdv.js";
10
10
  import { KitAristidThemeGeneral as l } from "../../theme/aristid/general/index.js";
11
- import { antdThemeConfig as I } from "../../theme/utils/tokens-mapper/index.js";
11
+ import { antdThemeConfig as T } from "../../theme/utils/tokens-mapper/index.js";
12
12
  import { frFR as d } from "../../translation/fr-FR/index.js";
13
- import { enUS as T } from "../../translation/en-US/index.js";
14
- import { K as $, u as j } from "../../chunks/useKitLocale.96CdK3og.js";
15
- import { mapKitLocaleToAntdLocale as k } from "../../translation/utils/index.js";
16
- import { d as x } from "../../chunks/notification-provider.9msrEKBe.js";
13
+ import { enUS as $ } from "../../translation/en-US/index.js";
14
+ import { K as j, u as k } from "../../chunks/useKitLocale.96CdK3og.js";
15
+ import { mapKitLocaleToAntdLocale as x } from "../../translation/utils/index.js";
16
+ import { d as A } from "../../chunks/notification-provider.9msrEKBe.js";
17
17
  import { KitEmpty as p } from "../DataDisplay/Empty/index.js";
18
- const A = "aristid-ds-global", F = (t, e) => {
18
+ const F = "aristid-ds-global", I = (t, e) => {
19
19
  const o = g(t);
20
20
  return `
21
21
  .${e} {
@@ -27,11 +27,11 @@ const A = "aristid-ds-global", F = (t, e) => {
27
27
  return L(() => {
28
28
  const s = g(l, "--general");
29
29
  i(s);
30
- }, []), n(E.Provider, { value: { theme: v, appId: c, spacing: K }, children: r !== null && f(h, { children: [n(m, { id: A, hasSourceMap: !1, children: `
30
+ }, []), n(E.Provider, { value: { theme: v, appId: c, spacing: K }, children: r !== null && f(h, { children: [n(m, { id: F, hasSourceMap: !1, children: `
31
31
  :root {
32
32
  ${Object.keys(r).map((s) => `${s}: ${r[s]}`).join(";")}
33
33
  }
34
- ` }), e && n(m, { hasSourceMap: !1, children: F(a({ general: { utilities: l.utilities } }, e), c) }), t] }) });
34
+ ` }), e && n(m, { hasSourceMap: !1, children: I(a({ general: { utilities: l.utilities } }, e), c) }), t] }) });
35
35
  }, _ = (t, e) => {
36
36
  var o;
37
37
  const r = S(t || "ds-" + y().substring(0, 8)), i = a(l.spacing, (o = e == null ? void 0 : e.general) === null || o === void 0 ? void 0 : o.spacing);
@@ -42,7 +42,7 @@ const A = "aristid-ds-global", F = (t, e) => {
42
42
  };
43
43
  }, M = ({ children: t }) => {
44
44
  const e = N();
45
- return n($.Provider, { value: e, children: t });
45
+ return n(j.Provider, { value: e, children: t });
46
46
  }, N = () => {
47
47
  const [t, e] = u(d);
48
48
  return { locale: t, setKitLocale: (r) => {
@@ -50,18 +50,18 @@ const A = "aristid-ds-global", F = (t, e) => {
50
50
  const i = a(d, r);
51
51
  e(i);
52
52
  } else {
53
- const i = a(T, r);
53
+ const i = a($, r);
54
54
  e(i);
55
55
  }
56
56
  } };
57
57
  }, te = ({ children: t, locale: e, customTheme: o, id: r }) => n(R, { customTheme: o, id: r, children: n(M, { children: n(O, { locale: e, children: t }) }) }), O = ({ children: t, locale: e }) => {
58
- const { locale: o, setKitLocale: r } = j();
58
+ const { locale: o, setKitLocale: r } = k();
59
59
  return P(() => {
60
60
  e !== void 0 && r(e);
61
- }, [e, r]), n(C, { theme: I, locale: k(e), renderEmpty: () => {
61
+ }, [e, r]), n(C, { theme: T, locale: x(e), renderEmpty: () => {
62
62
  var i;
63
63
  return n(p, { className: "default-render", image: p.ASSET_LIST, description: (i = o.Empty) === null || i === void 0 ? void 0 : i.noData });
64
- }, children: f(x, { children: [n(b, {}), t] }) });
64
+ }, children: f(A, { children: [n(b, {}), t] }) });
65
65
  };
66
66
  export {
67
67
  te as KitApp
@@ -1,4 +1,4 @@
1
- import "../../../assets/index37.css";
1
+ import "../../../assets/index38.css";
2
2
  import { jsx as t, jsxs as f } from "react/jsx-runtime";
3
3
  import { cloneElement as C, useState as N } from "react";
4
4
  import { Collapse as E } from "antd";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index49.css";
1
+ import "../../../assets/index50.css";
2
2
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
3
3
  import { Empty as p } from "antd";
4
4
  import { u as m } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index48.css";
1
+ import "../../../assets/index49.css";
2
2
  import { jsxs as r, jsx as c } from "react/jsx-runtime";
3
3
  import { Suspense as v } from "react";
4
4
  import { Empty as d } from "antd";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index30.css";
1
+ import "../../../assets/index31.css";
2
2
  import { jsx as i, jsxs as l } from "react/jsx-runtime";
3
3
  import { useState as b, useEffect as Q, forwardRef as V } from "react";
4
4
  import Y from "classnames";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index25.css";
1
+ import "../../../assets/index26.css";
2
2
  import { jsx as r, jsxs as d, Fragment as D } from "react/jsx-runtime";
3
3
  import T from "classnames";
4
4
  import { forwardRef as x } from "react";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index43.css";
1
+ import "../../../assets/index44.css";
2
2
  import { jsx as o } from "react/jsx-runtime";
3
3
  import { forwardRef as z, useMemo as k } from "react";
4
4
  import { Table as y } from "antd";
@@ -1,74 +1,75 @@
1
- import "../../../assets/index38.css";
2
- import { jsx as t, Fragment as A, jsxs as W } from "react/jsx-runtime";
3
- import { forwardRef as D, useState as G, useRef as O, useLayoutEffect as L } from "react";
1
+ import "../../../assets/index39.css";
2
+ import { jsx as t, Fragment as A, jsxs as I } from "react/jsx-runtime";
3
+ import { forwardRef as L, useState as C, useRef as W, useLayoutEffect as z } from "react";
4
4
  import E from "classnames";
5
- import { Tag as z } from "antd";
5
+ import { Tag as P } from "antd";
6
6
  import { u as $ } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
7
- import { FontAwesomeIcon as P } from "@fortawesome/react-fontawesome";
8
- import { faXmark as X } from "@fortawesome/free-solid-svg-icons";
9
- import { KitIdCard as j } from "../IdCard/index.js";
10
- import { N as M, F as R } from "../../../chunks/constants.DINGxt3I.js";
11
- import { KitModal as U } from "../../Feedback/Modal/index.js";
12
- import { KitTooltip as V } from "../Tooltip/index.js";
7
+ import { FontAwesomeIcon as X } from "@fortawesome/react-fontawesome";
8
+ import { faXmark as j } from "@fortawesome/free-solid-svg-icons";
9
+ import { KitIdCard as M } from "../IdCard/index.js";
10
+ import { N as R, F as U } from "../../../chunks/constants.DINGxt3I.js";
11
+ import { KitModal as V } from "../../Feedback/Modal/index.js";
12
+ import { KitTooltip as H } from "../Tooltip/index.js";
13
13
  import { u as F } from "../../../chunks/useKitLocale.96CdK3og.js";
14
- const I = {
15
- "kit-tag": "_kit-tag_6ocqb_2",
16
- "kit-tag-group": "_kit-tag-group_6ocqb_111",
17
- "kit-tag-group-measure": "_kit-tag-group-measure_6ocqb_117",
18
- "kit-tag-group-container": "_kit-tag-group-container_6ocqb_124"
19
- }, h = D(({ className: r, closeIcon: s, type: c = "neutral", disabled: i, disableTooltip: a = !1, onClick: p, idCardProps: o, ...d }, u) => {
20
- const { appId: b } = $(), _ = E(b, I["kit-tag"], r, {
21
- [`kit-tag-${c}`]: c,
22
- "kit-tag-disabled": i,
23
- "kit-tag-clickable": p
14
+ const G = {
15
+ "kit-tag": "_kit-tag_7uxgn_2",
16
+ "kit-tag-group": "_kit-tag-group_7uxgn_120",
17
+ "kit-tag-group-measure": "_kit-tag-group-measure_7uxgn_126",
18
+ "kit-tag-group-container": "_kit-tag-group-container_7uxgn_133"
19
+ }, h = L(({ className: r, closeIcon: s, type: u = "neutral", disabled: o, disableTooltip: p = !1, onClick: v, idCardProps: i, size: d = "medium", ...a }, _) => {
20
+ const { appId: b } = $(), c = E(b, G["kit-tag"], r, {
21
+ [`kit-tag-${u}`]: u,
22
+ "kit-tag-disabled": o,
23
+ "kit-tag-clickable": v,
24
+ "kit-tag-small": d === "small"
24
25
  });
25
- return t(z, { tabIndex: i ? M : R, ref: u, ...d, className: _, closeIcon: s ?? t(P, { icon: X }), onClick: p, closable: !!d.onClose, children: t(j, { disabled: i, disableTooltip: a, avatarProps: o != null && o.avatarProps ? { ...o == null ? void 0 : o.avatarProps, size: "xs" } : void 0, description: o == null ? void 0 : o.description }) });
26
- }), H = ({ tags: r, containerRef: s, measureRef: c, handleCloseTag: i }) => {
27
- var a;
28
- const [p, o] = G([]), [d, u] = G(0), [b, _] = G(t(A, {})), v = O(null), { locale: T } = F();
29
- return L(() => {
30
- const K = () => {
31
- var k, g, e;
32
- const l = s.current, f = c.current;
26
+ return t(P, { tabIndex: o ? R : U, ref: _, ...a, className: c, closeIcon: s ?? t(X, { icon: j }), onClick: v, closable: !!a.onClose, children: t(M, { disabled: o, disableTooltip: p, avatarProps: i != null && i.avatarProps ? { ...i == null ? void 0 : i.avatarProps, size: "xs" } : void 0, description: i == null ? void 0 : i.description }) });
27
+ }), q = ({ tags: r, containerRef: s, measureRef: u, handleCloseTag: o }) => {
28
+ var p;
29
+ const [v, i] = C([]), [d, a] = C(0), [_, b] = C(t(A, {})), c = W(null), { locale: g } = F();
30
+ return z(() => {
31
+ const x = () => {
32
+ var k, T, e;
33
+ const l = s.current, f = u.current;
33
34
  if (!l || !f)
34
35
  return;
35
- _(W(A, { children: [r.map((n, y) => t(h, { type: n == null ? void 0 : n.type, disabled: n == null ? void 0 : n.disabled, idCardProps: n.idCardProps, onClose: () => {
36
- i == null || i(y);
37
- } }, y)), t(h, { idCardProps: { description: `+${d} ${(k = T.General) === null || k === void 0 ? void 0 : k.others}` } })] }));
38
- const q = l == null ? void 0 : l.clientWidth, w = Array.from(f.children), B = (g = w[w.length - 1]) === null || g === void 0 ? void 0 : g.clientWidth;
39
- let x = 0, C = 0;
40
- for (let n = 0; n < w.length - 1; n++) {
41
- const y = ((e = w[n]) === null || e === void 0 ? void 0 : e.clientWidth) + 8;
42
- if (x + y + 8 + (n < r.length - 1 ? B : 0) <= q)
43
- x += y, C++;
36
+ b(I(A, { children: [r.map((n, y) => t(h, { type: n == null ? void 0 : n.type, disabled: n == null ? void 0 : n.disabled, idCardProps: n.idCardProps, onClose: () => {
37
+ o == null || o(y);
38
+ } }, y)), t(h, { idCardProps: { description: `+${d} ${(k = g.General) === null || k === void 0 ? void 0 : k.others}` } })] }));
39
+ const B = l == null ? void 0 : l.clientWidth, N = Array.from(f.children), D = (T = N[N.length - 1]) === null || T === void 0 ? void 0 : T.clientWidth;
40
+ let O = 0, w = 0;
41
+ for (let n = 0; n < N.length - 1; n++) {
42
+ const y = ((e = N[n]) === null || e === void 0 ? void 0 : e.clientWidth) + 8;
43
+ if (O + y + 8 + (n < r.length - 1 ? D : 0) <= B)
44
+ O += y, w++;
44
45
  else
45
46
  break;
46
47
  }
47
- C < r.length ? (o(r.slice(0, C)), u(r.length - C)) : (o(r), u(0));
48
+ w < r.length ? (i(r.slice(0, w)), a(r.length - w)) : (i(r), a(0));
48
49
  };
49
50
  let m;
50
- const N = () => {
51
- clearTimeout(m), m = setTimeout(K, 100);
51
+ const K = () => {
52
+ clearTimeout(m), m = setTimeout(x, 100);
52
53
  };
53
- return K(), v.current = new ResizeObserver(N), s.current && v.current.observe(s.current), () => {
54
- v.current && v.current.disconnect(), clearTimeout(m);
54
+ return x(), c.current = new ResizeObserver(K), s.current && c.current.observe(s.current), () => {
55
+ c.current && c.current.disconnect(), clearTimeout(m);
55
56
  };
56
- }, [s, i, d, (a = T.General) === null || a === void 0 ? void 0 : a.others, c, r]), {
57
- measureTags: b,
58
- visibleTags: p,
57
+ }, [s, o, d, (p = g.General) === null || p === void 0 ? void 0 : p.others, u, r]), {
58
+ measureTags: _,
59
+ visibleTags: v,
59
60
  hiddenCount: d
60
61
  };
61
- }, J = ({ tags: r, style: s, className: c, handleCloseTag: i, othersTagType: a = "neutral", othersTagDisabled: p }) => {
62
- var o;
63
- const d = O(null), u = O(null), { locale: b } = F(), { appId: _ } = $(), [v, T] = G(!1), { measureTags: K, visibleTags: m, hiddenCount: N } = H({ tags: r, containerRef: d, measureRef: u, handleCloseTag: i }), k = () => r.slice(m.length).map((e, l) => {
62
+ }, J = ({ tags: r, style: s, className: u, handleCloseTag: o, othersTagType: p = "neutral", othersTagDisabled: v }) => {
63
+ var i;
64
+ const d = W(null), a = W(null), { locale: _ } = F(), { appId: b } = $(), [c, g] = C(!1), { measureTags: x, visibleTags: m, hiddenCount: K } = q({ tags: r, containerRef: d, measureRef: a, handleCloseTag: o }), k = () => r.slice(m.length).map((e, l) => {
64
65
  var f;
65
66
  return t("div", { children: (f = e.idCardProps) === null || f === void 0 ? void 0 : f.description }, l);
66
- }), g = E(_, I["kit-tag-group"], c);
67
- return W("div", { className: I["kit-tag-group-container"], children: [W("div", { ref: d, style: s, className: g, children: [m.map((e, l) => t(h, { type: e == null ? void 0 : e.type, disabled: e == null ? void 0 : e.disabled, idCardProps: e.idCardProps, onClose: i ? () => {
68
- i(l);
69
- } : void 0 }, l)), N > 0 && t(V, { overlay: k(), children: t(h, { type: a, disabled: p, disableTooltip: !0, idCardProps: { description: `+${N} ${(o = b.General) === null || o === void 0 ? void 0 : o.others}` }, onClick: () => T(!0) }) }), t(U, { isOpen: v, close: () => T(!1), showCloseIcon: !0, title: "Tags", appElement: document.body, children: t("div", { style: { display: "flex", flexWrap: "wrap", rowGap: "8px" }, children: r.map((e, l) => t(h, { id: `tag-${l}`, type: e == null ? void 0 : e.type, disabled: e == null ? void 0 : e.disabled, idCardProps: e.idCardProps, onClose: i ? () => {
70
- i(l);
71
- } : void 0 }, l)) }) })] }), t("div", { ref: u, className: I["kit-tag-group-measure"], "aria-hidden": "true", children: K })] });
67
+ }), T = E(b, G["kit-tag-group"], u);
68
+ return I("div", { className: G["kit-tag-group-container"], children: [I("div", { ref: d, style: s, className: T, children: [m.map((e, l) => t(h, { type: e == null ? void 0 : e.type, disabled: e == null ? void 0 : e.disabled, idCardProps: e.idCardProps, onClose: o ? () => {
69
+ o(l);
70
+ } : void 0 }, l)), K > 0 && t(H, { overlay: k(), children: t(h, { type: p, disabled: v, disableTooltip: !0, idCardProps: { description: `+${K} ${(i = _.General) === null || i === void 0 ? void 0 : i.others}` }, onClick: () => g(!0) }) }), t(V, { isOpen: c, close: () => g(!1), showCloseIcon: !0, title: "Tags", appElement: document.body, children: t("div", { style: { display: "flex", flexWrap: "wrap", rowGap: "8px" }, children: r.map((e, l) => t(h, { id: `tag-${l}`, type: e == null ? void 0 : e.type, disabled: e == null ? void 0 : e.disabled, idCardProps: e.idCardProps, onClose: o ? () => {
71
+ o(l);
72
+ } : void 0 }, l)) }) })] }), t("div", { ref: a, className: G["kit-tag-group-measure"], "aria-hidden": "true", children: x })] });
72
73
  }, Q = J, S = h;
73
74
  S.displayName = "KitTag";
74
75
  S.Group = Q;
@@ -19,6 +19,7 @@ export interface IKitTag
19
19
  avatarProps?: Omit<IKitAvatar, 'size'>;
20
20
  };
21
21
  type?: KitTagType;
22
+ size?: 'small' | 'medium';
22
23
  disabled?: boolean;
23
24
  disableTooltip?: boolean;
24
25
  onClose?: TagProps['onClose'];
@@ -1,4 +1,4 @@
1
- import "../../../assets/index11.css";
1
+ import "../../../assets/index12.css";
2
2
  import { jsx as e } from "react/jsx-runtime";
3
3
  import { forwardRef as O, useState as b, useRef as j } from "react";
4
4
  import { AutoComplete as B } from "antd";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index31.css";
1
+ import "../../../assets/index32.css";
2
2
  import { jsx as s } from "react/jsx-runtime";
3
3
  import { createContext as P, memo as p, forwardRef as O, useContext as R, useState as w, useEffect as I, useRef as ee } from "react";
4
4
  import $ from "classnames";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index26.css";
1
+ import "../../../assets/index27.css";
2
2
  import { forwardRef as Z, useRef as V, useState as d, useEffect as T, useImperativeHandle as oo, createElement as to } from "react";
3
3
  import { jsxs as ro, jsx as l } from "react/jsx-runtime";
4
4
  import { K as eo } from "../../../chunks/InputWrapper.hIFFr5AB.js";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index44.css";
1
+ import "../../../assets/index45.css";
2
2
  import { jsxs as A, jsx as e } from "react/jsx-runtime";
3
3
  import { forwardRef as W, useRef as T } from "react";
4
4
  import { DatePicker as X } from "antd";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index13.css";
1
+ import "../../../assets/index14.css";
2
2
  import { jsxs as h, jsx as t } from "react/jsx-runtime";
3
3
  import { forwardRef as g } from "react";
4
4
  import N from "classnames";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index39.css";
1
+ import "../../../assets/index40.css";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
3
  import { forwardRef as x } from "react";
4
4
  import { Input as T } from "antd";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index40.css";
1
+ import "../../../assets/index41.css";
2
2
  import { jsx as i } from "react/jsx-runtime";
3
3
  import k from "classnames";
4
4
  import J from "rc-util/es/hooks/useMergedState";
@@ -1,4 +1,4 @@
1
- import "../../../../assets/index23.css";
1
+ import "../../../../assets/index24.css";
2
2
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
3
3
  import h from "classnames";
4
4
  import { u as s } from "../../../../chunks/useKitTheme.KSAU-Pdv.js";
@@ -1,4 +1,4 @@
1
- import "../../../../../assets/index24.css";
1
+ import "../../../../../assets/index25.css";
2
2
  import { jsx as i, Fragment as z, jsxs as _ } from "react/jsx-runtime";
3
3
  import { KitTypography as m } from "../../../../General/Typography/index.js";
4
4
  import { KitDropDown as w } from "../../../../Navigation/DropDown/index.js";
@@ -1,4 +1,4 @@
1
- import "../../../../../assets/index36.css";
1
+ import "../../../../../assets/index37.css";
2
2
  import { jsx as t, jsxs as y, Fragment as S } from "react/jsx-runtime";
3
3
  import { faClose as q, faCheck as w, faLink as N } from "@fortawesome/free-solid-svg-icons";
4
4
  import { FontAwesomeIcon as _ } from "@fortawesome/react-fontawesome";
@@ -1,4 +1,4 @@
1
- import "../../../../assets/index28.css";
1
+ import "../../../../assets/index29.css";
2
2
  import { jsxs as f, Fragment as _, jsx as t } from "react/jsx-runtime";
3
3
  import a from "classnames";
4
4
  import { u as b } from "../../../../chunks/useKitTheme.KSAU-Pdv.js";
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { KitSearchInputProps } from './types';
3
+ export declare const KitSearchInput: import("react").ForwardRefExoticComponent<KitSearchInputProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,18 @@
1
+ import "../../../assets/index10.css";
2
+ import { jsx as r } from "react/jsx-runtime";
3
+ import { forwardRef as p } from "react";
4
+ import s from "classnames";
5
+ import { KitInput as a } from "../Input/index.js";
6
+ import { FontAwesomeIcon as n } from "@fortawesome/react-fontawesome";
7
+ import { faSearch as c } from "@fortawesome/free-solid-svg-icons";
8
+ import { u as f } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
9
+ const u = {
10
+ "kit-search-input": "_kit-search-input_10zl9_2"
11
+ }, h = p(({ className: t, expandable: o, ...i }, e) => {
12
+ const { appId: m } = f();
13
+ return r(a, { className: s(m, u["kit-search-input"], t, { expandable: o }), prefix: r(n, { icon: c }), ref: () => e, ...i });
14
+ });
15
+ h.displayName = "SearchInput";
16
+ export {
17
+ h as KitSearchInput
18
+ };
@@ -0,0 +1,5 @@
1
+ import {IKitInput} from '../Input/types';
2
+
3
+ export interface KitSearchInputProps extends IKitInput {
4
+ expandable?: boolean;
5
+ }
@@ -1,4 +1,4 @@
1
- import "../../../assets/index12.css";
1
+ import "../../../assets/index13.css";
2
2
  import { jsxs as a, jsx as i } from "react/jsx-runtime";
3
3
  import { Slider as d } from "antd";
4
4
  import f from "classnames";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index10.css";
1
+ import "../../../assets/index11.css";
2
2
  import { jsx as c } from "react/jsx-runtime";
3
3
  import { forwardRef as s } from "react";
4
4
  import { Switch as m } from "antd";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index45.css";
1
+ import "../../../assets/index46.css";
2
2
  import { Upload as f } from "antd";
3
3
  import { jsx as e, jsxs as U } from "react/jsx-runtime";
4
4
  import { useState as D, useEffect as P, forwardRef as j } from "react";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index32.css";
1
+ import "../../../assets/index33.css";
2
2
  import { jsxs as n, Fragment as K, jsx as s } from "react/jsx-runtime";
3
3
  import N from "react-hot-toast";
4
4
  import b from "classnames";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index14.css";
1
+ import "../../../assets/index15.css";
2
2
  import { jsx as d } from "react/jsx-runtime";
3
3
  import i from "classnames";
4
4
  import { u as l } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index41.css";
1
+ import "../../../assets/index42.css";
2
2
  import { jsx as o, jsxs as g, Fragment as z } from "react/jsx-runtime";
3
3
  import S from "react-modal";
4
4
  import { KitSpace as B } from "../../Layout/Space/index.js";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index46.css";
1
+ import "../../../assets/index47.css";
2
2
  import { jsxs as f, jsx as t } from "react/jsx-runtime";
3
3
  import { KitTypography as k } from "../../General/Typography/index.js";
4
4
  import { u as w } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index47.css";
1
+ import "../../../assets/index48.css";
2
2
  import { jsx as a } from "react/jsx-runtime";
3
3
  import l from "classnames";
4
4
  const t = {
@@ -1,5 +1,5 @@
1
- import "../../../assets/index33.css";
2
- import { I as _ } from "../../../chunks/SnackBarProvider.hc5vyNRJ.js";
1
+ import "../../../assets/index34.css";
2
+ import { K as _ } from "../../../chunks/SnackBarProvider.wBpPNyLk.js";
3
3
  import { jsxs as m, jsx as n, Fragment as x } from "react/jsx-runtime";
4
4
  import { toast as v } from "react-hot-toast";
5
5
  import { u as A } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
@@ -31,9 +31,9 @@ const j = {
31
31
  id: s ?? void 0
32
32
  })), c = (i, a) => {
33
33
  v.dismiss(a, i ?? "default");
34
- }, Q = R, W = c, Y = _;
34
+ }, W = R, Y = c, Z = _;
35
35
  export {
36
- Y as KitSnackBarProvider,
37
- W as closeKitSnackBar,
38
- Q as openKitSnackBar
36
+ Z as KitSnackBarProvider,
37
+ Y as closeKitSnackBar,
38
+ W as openKitSnackBar
39
39
  };
@@ -1,4 +1,4 @@
1
- import "../../../assets/index42.css";
1
+ import "../../../assets/index43.css";
2
2
  import { jsxs as K, jsx as r } from "react/jsx-runtime";
3
3
  import { forwardRef as C, useState as $, useMemo as S, useEffect as P, cloneElement as U } from "react";
4
4
  import X from "@ant-design/icons/LoadingOutlined";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index15.css";
1
+ import "../../../assets/index16.css";
2
2
  import { jsx as C } from "react/jsx-runtime";
3
3
  import { useMemo as g } from "react";
4
4
  import { u as b } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index16.css";
1
+ import "../../../assets/index17.css";
2
2
  import { jsx as m } from "react/jsx-runtime";
3
3
  import { Divider as s } from "antd";
4
4
  import { u as d } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index27.css";
1
+ import "../../../assets/index28.css";
2
2
  import { jsxs as c, jsx as n } from "react/jsx-runtime";
3
3
  import { KitHeader as l } from "../../Navigation/Header/index.js";
4
4
  import { KitSideMenu as s } from "../../Navigation/SideMenu/index.js";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index17.css";
1
+ import "../../../assets/index18.css";
2
2
  import { jsx as n } from "react/jsx-runtime";
3
3
  import { isValidColor as c, getColor as s } from "../../../utils/functions/index.js";
4
4
  import l from "classnames";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index18.css";
1
+ import "../../../assets/index19.css";
2
2
  import { jsx as o, jsxs as s, Fragment as a } from "react/jsx-runtime";
3
3
  import { useMemo as c } from "react";
4
4
  import { Breadcrumb as d } from "antd";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index19.css";
1
+ import "../../../assets/index20.css";
2
2
  import { jsxs as I, Fragment as w, jsx as c } from "react/jsx-runtime";
3
3
  import { useState as m, useRef as h, useEffect as M } from "react";
4
4
  import { Dropdown as E } from "antd";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index34.css";
1
+ import "../../../assets/index35.css";
2
2
  import { jsxs as h, jsx as i } from "react/jsx-runtime";
3
3
  import { u } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
4
4
  import g from "classnames";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index20.css";
1
+ import "../../../assets/index21.css";
2
2
  import { jsxs as p, jsx as e } from "react/jsx-runtime";
3
3
  import { cloneElement as s, useMemo as f } from "react";
4
4
  import { KitTypography as g } from "../../General/Typography/index.js";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index22.css";
1
+ import "../../../assets/index23.css";
2
2
  import { jsx as s } from "react/jsx-runtime";
3
3
  import { Pagination as p } from "antd";
4
4
  import { u as c } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index35.css";
1
+ import "../../../assets/index36.css";
2
2
  import { useState as y, useRef as T, useEffect as b, createElement as q } from "react";
3
3
  import { jsx as e, jsxs as p, Fragment as G } from "react/jsx-runtime";
4
4
  import { u as $ } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
@@ -1,4 +1,4 @@
1
- import "../../../assets/index21.css";
1
+ import "../../../assets/index22.css";
2
2
  import { jsx as i } from "react/jsx-runtime";
3
3
  import { Steps as r } from "antd";
4
4
  import { u as m } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
@@ -22,6 +22,7 @@ export { KitInputWrapper } from './DataEntry/InputWrapper';
22
22
  export { KitRadio } from './DataEntry/Radio';
23
23
  export { KitRate } from './DataEntry/Rate';
24
24
  export { KitRichText } from './DataEntry/RichText';
25
+ export { KitSearchInput } from './DataEntry/SearchInput';
25
26
  export { KitSelect } from './DataEntry/Select';
26
27
  export { KitSwitch } from './DataEntry/Switch';
27
28
  export { KitDatePicker } from './DataEntry/DatePicker';