aristid-ds 15.3.0 → 15.3.1-69920ec

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 (87) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/Kit/App/index.js +2 -2
  3. package/dist/Kit/DataDisplay/Avatar/index.js +2 -2
  4. package/dist/Kit/DataDisplay/Badge/index.js +20 -20
  5. package/dist/Kit/DataDisplay/Collapse/index.js +2 -2
  6. package/dist/Kit/DataDisplay/Comment/index.js +1 -1
  7. package/dist/Kit/DataDisplay/Empty/index.js +1 -1
  8. package/dist/Kit/DataDisplay/Error/index.js +2 -2
  9. package/dist/Kit/DataDisplay/IdCard/index.js +3 -3
  10. package/dist/Kit/DataDisplay/Image/index.js +2 -2
  11. package/dist/Kit/DataDisplay/ItemCard/index.js +2 -2
  12. package/dist/Kit/DataDisplay/ItemList/index.js +2 -2
  13. package/dist/Kit/DataDisplay/RedirectCard/index.js +2 -2
  14. package/dist/Kit/DataDisplay/Table/index.js +1 -1
  15. package/dist/Kit/DataDisplay/Tabs/index.js +2 -2
  16. package/dist/Kit/DataDisplay/Tag/index.js +2 -2
  17. package/dist/Kit/DataDisplay/Tour/index.js +1 -1
  18. package/dist/Kit/DataDisplay/Tree/index.js +2 -2
  19. package/dist/Kit/DataEntry/AutoComplete/index.js +1 -1
  20. package/dist/Kit/DataEntry/Checkbox/index.js +2 -2
  21. package/dist/Kit/DataEntry/ColorPicker/index.js +3 -3
  22. package/dist/Kit/DataEntry/DatePicker/index.js +54 -30
  23. package/dist/Kit/DataEntry/Filter/index.js +1 -1
  24. package/dist/Kit/DataEntry/Input/index.js +19 -19
  25. package/dist/Kit/DataEntry/InputNumber/index.js +2 -2
  26. package/dist/Kit/DataEntry/InputWrapper/index.js +1 -1
  27. package/dist/Kit/DataEntry/Radio/index.js +2 -2
  28. package/dist/Kit/DataEntry/Rate/index.js +1 -1
  29. package/dist/Kit/DataEntry/RichText/EditorContentCharacterCount/index.js +1 -1
  30. package/dist/Kit/DataEntry/RichText/MenuBar/FontSizeSelect/index.js +1 -1
  31. package/dist/Kit/DataEntry/RichText/MenuBar/FontStylesButtons/index.js +1 -1
  32. package/dist/Kit/DataEntry/RichText/MenuBar/IndentListButtons/index.js +1 -1
  33. package/dist/Kit/DataEntry/RichText/MenuBar/LinkButton/index.js +1 -1
  34. package/dist/Kit/DataEntry/RichText/MenuBar/ListButtons/index.js +1 -1
  35. package/dist/Kit/DataEntry/RichText/MenuBar/TextAlignButtons/index.js +1 -1
  36. package/dist/Kit/DataEntry/RichText/MenuBar/UndoRedoButtons/index.js +1 -1
  37. package/dist/Kit/DataEntry/RichText/MenuBar/index.js +2 -2
  38. package/dist/Kit/DataEntry/RichText/index.js +2 -2
  39. package/dist/Kit/DataEntry/SearchInput/index.js +1 -1
  40. package/dist/Kit/DataEntry/Select/index.js +3 -3
  41. package/dist/Kit/DataEntry/Slider/index.js +1 -1
  42. package/dist/Kit/DataEntry/Switch/index.js +1 -1
  43. package/dist/Kit/DataEntry/TreeSelect/index.js +48 -46
  44. package/dist/Kit/DataEntry/Upload/index.js +2 -2
  45. package/dist/Kit/Feedback/Alert/index.js +2 -2
  46. package/dist/Kit/Feedback/Loader/index.js +1 -1
  47. package/dist/Kit/Feedback/Modal/index.js +2 -2
  48. package/dist/Kit/Feedback/Notification/index.js +1 -1
  49. package/dist/Kit/Feedback/Progress/index.js +2 -2
  50. package/dist/Kit/Feedback/SnackBar/index.js +1 -1
  51. package/dist/Kit/General/Button/index.js +2 -2
  52. package/dist/Kit/General/DynamicActions/index.js +1 -1
  53. package/dist/Kit/General/Icon/index.js +1 -1
  54. package/dist/Kit/General/Typography/index.js +2 -2
  55. package/dist/Kit/Layout/Divider/index.js +1 -1
  56. package/dist/Kit/Layout/Section/index.js +10 -18
  57. package/dist/Kit/Layout/Section/types.d.ts +3 -6
  58. package/dist/Kit/Layout/Space/index.js +1 -1
  59. package/dist/Kit/Navigation/Breadcrumb/index.js +1 -1
  60. package/dist/Kit/Navigation/DropDown/index.js +1 -1
  61. package/dist/Kit/Navigation/Header/index.js +1 -1
  62. package/dist/Kit/Navigation/PageHeader/index.js +1 -1
  63. package/dist/Kit/Navigation/Pagination/index.js +1 -1
  64. package/dist/Kit/Navigation/SideMenu/index.js +1 -1
  65. package/dist/Kit/Navigation/SidePanel/index.js +1 -1
  66. package/dist/Kit/Navigation/Steps/index.js +1 -1
  67. package/dist/Kit/index.js +2 -2
  68. package/dist/assets/InputWrapper.css +1 -1
  69. package/dist/assets/index.css +1 -1
  70. package/dist/assets/index15.css +1 -1
  71. package/dist/assets/index38.css +1 -1
  72. package/dist/assets/index44.css +1 -1
  73. package/dist/assets/styles.css +1 -1
  74. package/dist/assets/useEllipsisTooltip.css +1 -1
  75. package/dist/chunks/{Avatar.B2Q0k3WU.js → Avatar.D0il2_w4.js} +1 -1
  76. package/dist/chunks/InputWrapper.Ckc5loyB.js +25 -0
  77. package/dist/chunks/{Thread.DfvaoSxN.js → Thread.D5B5-g9M.js} +2 -2
  78. package/dist/chunks/styles.module.uCPgpiKf.js +6 -0
  79. package/dist/chunks/useEllipsisTooltip.L5G7alX3.js +17 -0
  80. package/dist/chunks/{useKitLocale.C5F-tmnC.js → useKitLocale.DD7mnAZn.js} +3 -3
  81. package/dist/chunks/{useKitTheme.BdeSOGoj.js → useKitTheme.C7yw6CDw.js} +3 -3
  82. package/dist/index.es.js +4 -4
  83. package/dist/index.umd.js +4 -4
  84. package/package.json +154 -154
  85. package/dist/chunks/InputWrapper.D7QArlvo.js +0 -25
  86. package/dist/chunks/styles.module.CGK3Jyfa.js +0 -6
  87. package/dist/chunks/useEllipsisTooltip.B54ayHK8.js +0 -17
package/CHANGELOG.md CHANGED
@@ -1,9 +1,44 @@
1
1
  # Changelog
2
2
 
3
+ ## [X.Y.Z](https://www.npmjs.com/package/aristid-ds/v/X.Y.Z) (2026-MM-DD)
4
+
5
+ ### ✨ Features
6
+
7
+ - **⚠️ Breaking change - Section**
8
+ - Redefine `Section` component (only 3 types) (@evoiron)
9
+
10
+ ### 🐛 Bug Fixes
11
+
12
+ - **ItemCard**
13
+ - fix title and description ellipsis bug (@evoiron)
14
+ - **Typography**
15
+ - fix multiline ellipsis not working (@evoiron)
16
+ - **TreeSelect:**
17
+ - Fix `KitTreeSelect` dropdown coling conditions (on click, outside, out of dropdown, or on node execpt when expanding it) (@evoiron)
18
+
19
+ ### 📝 Documentation
20
+
21
+ - **Design Tokens:**
22
+ - fix a bug causing the storybook `Design tokens` page to crash (@evoiron)
23
+
24
+ ## [15.3.1](https://www.npmjs.com/package/aristid-ds/v/15.3.1) (2026-04-08)
25
+
26
+ ### ✨ Features
27
+
28
+ - **Datepicker**
29
+ - Set inner inputs width on `KitRangePicker` picker to match their content (@alechapelain)
30
+
31
+ ### 🐛 Bug Fixes
32
+
33
+ - **Badge:**
34
+ - Fix dot badge position when using `status` prop (@philippechevieux)
35
+
3
36
  ## [15.3.0](https://www.npmjs.com/package/aristid-ds/v/15.3.0) (2026-04-03)
4
37
 
5
38
  ### ✨ Features
6
39
 
40
+ - **InputWrapper:**
41
+ - Fix ``KitInputWrapper ` warning status text style (@evoiron)
7
42
  - **Tokens:**
8
43
  - Add `IA/purple` color palette (@evoiron)
9
44
  - **Modal:**
@@ -5,10 +5,10 @@ import { K as P } from "../../chunks/SnackBarProvider.D44OffUd.js";
5
5
  import { toCssVariables as L, uuid as T } from "../../utils/functions/index.js";
6
6
  import p from "lodash/merge";
7
7
  import { Style as u } from "react-style-tag";
8
- import { K as $ } from "../../chunks/useKitTheme.BdeSOGoj.js";
8
+ import { K as $ } from "../../chunks/useKitTheme.C7yw6CDw.js";
9
9
  import { KitAristidThemeGeneral as c } from "../../theme/aristid/general/index.js";
10
10
  import { antdThemeConfig as j } from "../../theme/utils/tokens-mapper/index.js";
11
- import { K as k, u as E } from "../../chunks/useKitLocale.C5F-tmnC.js";
11
+ import { K as k, u as E } from "../../chunks/useKitLocale.DD7mnAZn.js";
12
12
  import { l as m, f, m as x } from "../../chunks/index.CKC2Gl0d.js";
13
13
  import { KitEmpty as v } from "../DataDisplay/Empty/index.js";
14
14
  import '../../assets/index27.css';const A = "aristid-ds-global", I = (o, e) => {
@@ -1,7 +1,7 @@
1
- import { s as t, K as u } from "../../../chunks/Avatar.B2Q0k3WU.js";
1
+ import { s as t, K as u } from "../../../chunks/Avatar.D0il2_w4.js";
2
2
  import { jsx as n } from "react/jsx-runtime";
3
3
  import { Avatar as d } from "antd";
4
- import { u as c } from "../../../chunks/useKitTheme.BdeSOGoj.js";
4
+ import { u as c } from "../../../chunks/useKitTheme.C7yw6CDw.js";
5
5
  import K from "classnames";
6
6
  const f = ({ className: a, disabled: s, max: o, ...v }) => {
7
7
  var r;
@@ -1,24 +1,24 @@
1
1
  import { jsx as C } from "react/jsx-runtime";
2
- import { forwardRef as b, useRef as R, useState as _, useLayoutEffect as y, useMemo as B } from "react";
3
- import { Badge as E } from "antd";
4
- import { u as M } from "../../../chunks/useKitTheme.BdeSOGoj.js";
5
- import { isValidColor as S, getLighterColor as v, getColor as w } from "../../../utils/functions/index.js";
2
+ import { forwardRef as b, useRef as R, useState as _, useLayoutEffect as y, useMemo as w } from "react";
3
+ import { Badge as B } from "antd";
4
+ import { u as E } from "../../../chunks/useKitTheme.C7yw6CDw.js";
5
+ import { isValidColor as M, getLighterColor as S, getColor as v } from "../../../utils/functions/index.js";
6
6
  import { kitBadgeCssTokens as m } from "../../../theme/aristid/components/DataDisplay/Badge/index.js";
7
7
  import x from "classnames";
8
8
  import '../../../assets/index.css';const p = {
9
- "kit-badge-indicator-hidden": "_kit-badge-indicator-hidden_1rs3m_2",
10
- "kit-badge": "_kit-badge_1rs3m_2"
11
- }, K = (t, e) => !t || !S(t) ? null : {
12
- [m.colors.background.default]: w(t, e),
13
- [m.colors.typography.default]: v(t, e)
9
+ "kit-badge-indicator-hidden": "_kit-badge-indicator-hidden_1nzdw_2",
10
+ "kit-badge": "_kit-badge_1nzdw_2"
11
+ }, K = (t, e) => !t || !M(t) ? null : {
12
+ [m.colors.background.default]: v(t, e),
13
+ [m.colors.typography.default]: S(t, e)
14
14
  }, N = (t) => {
15
- const e = parseFloat(getComputedStyle(t).borderRadius), { width: r, height: n } = t.getBoundingClientRect();
16
- return Math.min(e, r / 2, n / 2);
15
+ const e = parseFloat(getComputedStyle(t).borderRadius), { width: o, height: s } = t.getBoundingClientRect();
16
+ return Math.min(e, o / 2, s / 2);
17
17
  }, T = (t) => {
18
18
  const e = Math.round(t * (1 - Math.SQRT1_2));
19
19
  return [-e, e];
20
- }, F = b(({ color: t, style: e, secondaryColorInvert: r = !1, className: n, ...a }, o) => {
21
- const d = a.children != null, { appId: g } = M(), c = R(null), [s, u] = _(d ? null : [0, 0]);
20
+ }, z = b(({ color: t, style: e, secondaryColorInvert: o = !1, className: s, ...a }, r) => {
21
+ const d = a.children != null, { appId: g } = E(), c = R(null), [n, u] = _(d ? null : [0, 0]);
22
22
  y(() => {
23
23
  if (!d)
24
24
  return;
@@ -33,21 +33,21 @@ import '../../../assets/index.css';const p = {
33
33
  const l = N(f);
34
34
  l > 0 ? u(T(l)) : u([0, 0]);
35
35
  }, [d]);
36
- const h = B(() => ({ ...e, ...K(t, r) }), [t, r, e]), k = x(g, p["kit-badge"], n);
37
- return C(E, {
36
+ const h = w(() => ({ ...e, ...K(t, o) }), [t, o, e]), k = x(g, p["kit-badge"], s);
37
+ return C(B, {
38
38
  style: h,
39
- offset: s ?? void 0,
39
+ offset: n ?? void 0,
40
40
  ...a,
41
41
  title: "",
42
42
  className: k,
43
43
  // Hide the indicator until the offset is computed to prevent a visual jump on first render
44
- classNames: { indicator: s === null ? p["kit-badge-indicator-hidden"] : void 0 },
44
+ classNames: { indicator: n === null ? p["kit-badge-indicator-hidden"] : void 0 },
45
45
  ref: (i) => {
46
- c.current = i, typeof o == "function" ? o(i) : o && (o.current = i);
46
+ c.current = i, typeof r == "function" ? r(i) : r && (r.current = i);
47
47
  }
48
48
  });
49
49
  });
50
- F.displayName = "KitBadge";
50
+ z.displayName = "KitBadge";
51
51
  export {
52
- F as KitBadge
52
+ z as KitBadge
53
53
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as f } from "react/jsx-runtime";
2
2
  import { cloneElement as C, useState as y } from "react";
3
3
  import { Collapse as E } from "antd";
4
- import { u as H } from "../../../chunks/useKitTheme.BdeSOGoj.js";
4
+ import { u as H } from "../../../chunks/useKitTheme.C7yw6CDw.js";
5
5
  import { FontAwesomeIcon as k } from "@fortawesome/react-fontawesome";
6
6
  import { faChevronDown as _, faEye as A, faEllipsisVertical as D } from "@fortawesome/free-solid-svg-icons";
7
7
  import T from "classnames";
@@ -12,7 +12,7 @@ import { KitSwitch as S } from "../../DataEntry/Switch/index.js";
12
12
  import { KitTooltip as h } from "../Tooltip/index.js";
13
13
  import { KitButton as v } from "../../General/Button/index.js";
14
14
  import { KitDropDown as b } from "../../Navigation/DropDown/index.js";
15
- import { u as z } from "../../../chunks/useKitLocale.C5F-tmnC.js";
15
+ import { u as z } from "../../../chunks/useKitLocale.DD7mnAZn.js";
16
16
  import '../../../assets/index36.css';const u = {
17
17
  "kit-collapse": "_kit-collapse_djtan_2",
18
18
  "kit-collapse-header": "_kit-collapse-header_djtan_78",
@@ -1,4 +1,4 @@
1
- import { K as e, a as m } from "../../../chunks/Thread.DfvaoSxN.js";
1
+ import { K as e, a as m } from "../../../chunks/Thread.D5B5-g9M.js";
2
2
  export {
3
3
  e as KitComment,
4
4
  m as KitThread
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
2
  import { Empty as p } from "antd";
3
- import { u as m } from "../../../chunks/useKitTheme.BdeSOGoj.js";
3
+ import { u as m } from "../../../chunks/useKitTheme.C7yw6CDw.js";
4
4
  import { KitTypography as C } from "../../General/Typography/index.js";
5
5
  import { KitSpace as u } from "../../Layout/Space/index.js";
6
6
  import x from "classnames";
@@ -1,8 +1,8 @@
1
1
  import { jsxs as t, jsx as c } from "react/jsx-runtime";
2
2
  import { Suspense as v } from "react";
3
3
  import { Empty as d } from "antd";
4
- import { u as w } from "../../../chunks/useKitLocale.C5F-tmnC.js";
5
- import { u as p } from "../../../chunks/useKitTheme.BdeSOGoj.js";
4
+ import { u as w } from "../../../chunks/useKitLocale.DD7mnAZn.js";
5
+ import { u as p } from "../../../chunks/useKitTheme.C7yw6CDw.js";
6
6
  import { KitTypography as M } from "../../General/Typography/index.js";
7
7
  import { KitSpace as g } from "../../Layout/Space/index.js";
8
8
  import f from "classnames";
@@ -1,8 +1,8 @@
1
1
  import { jsxs as u, jsx as o } from "react/jsx-runtime";
2
2
  import d from "classnames";
3
- import { t as D, u as m } from "../../../chunks/useEllipsisTooltip.B54ayHK8.js";
4
- import { u as E } from "../../../chunks/useKitTheme.BdeSOGoj.js";
5
- import { K as N } from "../../../chunks/Avatar.B2Q0k3WU.js";
3
+ import { t as D, u as m } from "../../../chunks/useEllipsisTooltip.L5G7alX3.js";
4
+ import { u as E } from "../../../chunks/useKitTheme.C7yw6CDw.js";
5
+ import { K as N } from "../../../chunks/Avatar.D0il2_w4.js";
6
6
  import { KitTooltip as h } from "../Tooltip/index.js";
7
7
  import { T as g } from "../../../chunks/constants.CctH0M4n.js";
8
8
  import '../../../assets/index2.css';const C = {
@@ -3,8 +3,8 @@ import { Image as a } from "antd";
3
3
  import d from "classnames";
4
4
  import { FontAwesomeIcon as v } from "@fortawesome/react-fontawesome";
5
5
  import { faEye as I } from "@fortawesome/free-solid-svg-icons";
6
- import { u as _ } from "../../../chunks/useKitLocale.C5F-tmnC.js";
7
- import { u as j } from "../../../chunks/useKitTheme.BdeSOGoj.js";
6
+ import { u as _ } from "../../../chunks/useKitLocale.DD7mnAZn.js";
7
+ import { u as j } from "../../../chunks/useKitTheme.C7yw6CDw.js";
8
8
  import '../../../assets/index3.css';const m = {
9
9
  "kit-image": "_kit-image_t5juo_2",
10
10
  "mask-container": "_mask-container_t5juo_23"
@@ -5,14 +5,14 @@ import { KitTypography as w } from "../../General/Typography/index.js";
5
5
  import { KitCheckbox as Z } from "../../DataEntry/Checkbox/index.js";
6
6
  import { KitSwitch as G } from "../../DataEntry/Switch/index.js";
7
7
  import { KitBreadcrumb as ii } from "../../Navigation/Breadcrumb/index.js";
8
- import { u as ti } from "../../../chunks/useKitTheme.BdeSOGoj.js";
8
+ import { u as ti } from "../../../chunks/useKitTheme.C7yw6CDw.js";
9
9
  import { KitTag as ei } from "../Tag/index.js";
10
10
  import { KitButton as B } from "../../General/Button/index.js";
11
11
  import { KitTooltip as si } from "../Tooltip/index.js";
12
12
  import { FontAwesomeIcon as O } from "@fortawesome/react-fontawesome";
13
13
  import { faEllipsis as oi, faImage as ri } from "@fortawesome/free-solid-svg-icons";
14
14
  import { KitDropDown as ai } from "../../Navigation/DropDown/index.js";
15
- import { u as di } from "../../../chunks/useKitLocale.C5F-tmnC.js";
15
+ import { u as di } from "../../../chunks/useKitLocale.DD7mnAZn.js";
16
16
  import { useDebouncedCallback as ci } from "use-debounce";
17
17
  import { N as ni, F as li } from "../../../chunks/constants.CctH0M4n.js";
18
18
  import '../../../assets/index28.css';const mi = {
@@ -4,11 +4,11 @@ import { KitCheckbox as J } from "../../DataEntry/Checkbox/index.js";
4
4
  import { KitIdCard as M } from "../IdCard/index.js";
5
5
  import { KitButton as d } from "../../General/Button/index.js";
6
6
  import { KitDropDown as N } from "../../Navigation/DropDown/index.js";
7
- import { u as Q } from "../../../chunks/useKitTheme.BdeSOGoj.js";
7
+ import { u as Q } from "../../../chunks/useKitTheme.C7yw6CDw.js";
8
8
  import { FontAwesomeIcon as x } from "@fortawesome/react-fontawesome";
9
9
  import { faEllipsis as E } from "@fortawesome/free-solid-svg-icons";
10
10
  import F from "classnames";
11
- import { u as W } from "../../../chunks/useKitLocale.C5F-tmnC.js";
11
+ import { u as W } from "../../../chunks/useKitLocale.DD7mnAZn.js";
12
12
  import { N as Y, F as Z } from "../../../chunks/constants.CctH0M4n.js";
13
13
  import { getStringFromReactNode as B } from "../../../utils/functions/index.js";
14
14
  import '../../../assets/index4.css';const m = {
@@ -1,7 +1,7 @@
1
1
  import { jsx as r, jsxs as d, Fragment as D } from "react/jsx-runtime";
2
2
  import T from "classnames";
3
3
  import { forwardRef as x } from "react";
4
- import { u as F } from "../../../chunks/useKitTheme.BdeSOGoj.js";
4
+ import { u as F } from "../../../chunks/useKitTheme.C7yw6CDw.js";
5
5
  import { FontAwesomeIcon as f } from "@fortawesome/react-fontawesome";
6
6
  import { faEllipsis as A, faArrowRight as E } from "@fortawesome/free-solid-svg-icons";
7
7
  import { KitIcon as C } from "../../General/Icon/index.js";
@@ -10,7 +10,7 @@ import { KitDivider as L } from "../../Layout/Divider/index.js";
10
10
  import { KitButton as k } from "../../General/Button/index.js";
11
11
  import { KitTooltip as R } from "../Tooltip/index.js";
12
12
  import { KitDropDown as g } from "../../Navigation/DropDown/index.js";
13
- import { u as P } from "../../../chunks/useKitLocale.C5F-tmnC.js";
13
+ import { u as P } from "../../../chunks/useKitLocale.DD7mnAZn.js";
14
14
  import { N as O, F as S } from "../../../chunks/constants.CctH0M4n.js";
15
15
  import '../../../assets/index22.css';const j = {
16
16
  "kit-redirect-card": "_kit-redirect-card_1yxds_2"
@@ -2,7 +2,7 @@ import { jsx as n } from "react/jsx-runtime";
2
2
  import { forwardRef as O, useMemo as y } from "react";
3
3
  import { Table as N } from "antd";
4
4
  import I from "classnames";
5
- import { u as U } from "../../../chunks/useKitTheme.BdeSOGoj.js";
5
+ import { u as U } from "../../../chunks/useKitTheme.C7yw6CDw.js";
6
6
  import { F as g } from "../../../chunks/constants.CctH0M4n.js";
7
7
  import { KitIcon as j } from "../../General/Icon/index.js";
8
8
  import { FontAwesomeIcon as p } from "@fortawesome/react-fontawesome";
@@ -1,13 +1,13 @@
1
1
  import { jsxs as _, Fragment as A, jsx as l } from "react/jsx-runtime";
2
2
  import { useRef as F, useState as R, useLayoutEffect as G } from "react";
3
- import { u as H } from "../../../chunks/useKitTheme.BdeSOGoj.js";
3
+ import { u as H } from "../../../chunks/useKitTheme.C7yw6CDw.js";
4
4
  import O from "classnames";
5
5
  import { KitButton as B } from "../../General/Button/index.js";
6
6
  import { FontAwesomeIcon as D } from "@fortawesome/react-fontawesome";
7
7
  import { faPlus as J, faEllipsisVertical as M } from "@fortawesome/free-solid-svg-icons";
8
8
  import { F as Q } from "../../../chunks/constants.CctH0M4n.js";
9
9
  import { KitDropDown as Y } from "../../Navigation/DropDown/index.js";
10
- import { u as Z } from "../../../chunks/useKitLocale.C5F-tmnC.js";
10
+ import { u as Z } from "../../../chunks/useKitLocale.DD7mnAZn.js";
11
11
  import { KitTypography as tt } from "../../General/Typography/index.js";
12
12
  import { KitBadge as et } from "../Badge/index.js";
13
13
  import '../../../assets/index29.css';const I = {
@@ -2,13 +2,13 @@ import { jsx as t, Fragment as C, jsxs as K } from "react/jsx-runtime";
2
2
  import { forwardRef as B, useState as G, useRef as W, useLayoutEffect as U } from "react";
3
3
  import D from "classnames";
4
4
  import { Tag as z } from "antd";
5
- import { u as S } from "../../../chunks/useKitTheme.BdeSOGoj.js";
5
+ import { u as S } from "../../../chunks/useKitTheme.C7yw6CDw.js";
6
6
  import { FontAwesomeIcon as M } from "@fortawesome/react-fontawesome";
7
7
  import { faXmark as R } from "@fortawesome/free-solid-svg-icons";
8
8
  import { KitIdCard as X } from "../IdCard/index.js";
9
9
  import { T as P, N as V, F as H } from "../../../chunks/constants.CctH0M4n.js";
10
10
  import { KitTooltip as L } from "../Tooltip/index.js";
11
- import { u as j } from "../../../chunks/useKitLocale.C5F-tmnC.js";
11
+ import { u as j } from "../../../chunks/useKitLocale.DD7mnAZn.js";
12
12
  import { KitModal as Y } from "../../Feedback/Modal/index.js";
13
13
  import '../../../assets/index37.css';const N = {
14
14
  "kit-tag": "_kit-tag_2tdjx_2",
@@ -1,6 +1,6 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import { Tour as p } from "antd";
3
- import { u as e } from "../../../chunks/useKitTheme.BdeSOGoj.js";
3
+ import { u as e } from "../../../chunks/useKitTheme.C7yw6CDw.js";
4
4
  import i from "classnames";
5
5
  const f = ({ rootClassName: o, ...r }) => {
6
6
  const { appId: t } = e(), m = i(t, o);
@@ -1,10 +1,10 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { Tree as c } from "antd";
3
- import { u as p } from "../../../chunks/useKitTheme.BdeSOGoj.js";
3
+ import { u as p } from "../../../chunks/useKitTheme.C7yw6CDw.js";
4
4
  import v from "classnames";
5
5
  import { FontAwesomeIcon as n } from "@fortawesome/react-fontawesome";
6
6
  import { faCaretRight as u, faCircleNotch as f } from "@fortawesome/free-solid-svg-icons";
7
- import { u as g } from "../../../chunks/useKitLocale.C5F-tmnC.js";
7
+ import { u as g } from "../../../chunks/useKitLocale.DD7mnAZn.js";
8
8
  import '../../../assets/index5.css';const x = {
9
9
  "kit-tree": "_kit-tree_uexge_12"
10
10
  }, D = ({ className: l, switcherLoadingIcon: o, ...d }) => {
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as O, useState as b, useRef as j } from "react";
3
3
  import { AutoComplete as B } from "antd";
4
4
  import { KitInput as M } from "../Input/index.js";
5
- import { K as S } from "../../../chunks/InputWrapper.D7QArlvo.js";
5
+ import { K as S } from "../../../chunks/InputWrapper.Ckc5loyB.js";
6
6
  import { FontAwesomeIcon as W } from "@fortawesome/react-fontawesome";
7
7
  import { faMagnifyingGlass as q } from "@fortawesome/free-solid-svg-icons";
8
8
  import z from "classnames";
@@ -2,11 +2,11 @@ import { jsx as o } from "react/jsx-runtime";
2
2
  import { memo as P, createContext as p, forwardRef as O, useContext as R, useState as w, useEffect as I, useRef as ee } from "react";
3
3
  import $ from "classnames";
4
4
  import { Checkbox as le } from "antd";
5
- import { u as ae } from "../../../chunks/useKitTheme.BdeSOGoj.js";
5
+ import { u as ae } from "../../../chunks/useKitTheme.C7yw6CDw.js";
6
6
  import ne from "rc-util/es/omit";
7
7
  import { ConfigContext as ce } from "antd/es/config-provider/";
8
8
  import te from "antd/es/checkbox/style";
9
- import { K as ue } from "../../../chunks/InputWrapper.D7QArlvo.js";
9
+ import { K as ue } from "../../../chunks/InputWrapper.Ckc5loyB.js";
10
10
  import '../../../assets/index30.css';const j = p(null), ie = ({ defaultValue: f, children: v, options: l = [], prefixCls: b, className: a, wrapperClassName: x, status: g, rootClassName: i, style: c, onChange: d, label: h, helper: r, required: s, actions: D, extra: k, ...n }, E) => {
11
11
  const { getPrefixCls: T, direction: W } = R(ce), [m, K] = w(n.value || f || []), [q, S] = w([]);
12
12
  I(() => {
@@ -1,12 +1,12 @@
1
1
  import { forwardRef as Z, useRef as V, useState as h, useEffect as K, useImperativeHandle as oo, createElement as to } from "react";
2
2
  import { jsxs as ro, jsx as s } from "react/jsx-runtime";
3
- import { K as eo } from "../../../chunks/InputWrapper.D7QArlvo.js";
4
- import { u as io } from "../../../chunks/useKitTheme.BdeSOGoj.js";
3
+ import { K as eo } from "../../../chunks/InputWrapper.Ckc5loyB.js";
4
+ import { u as io } from "../../../chunks/useKitTheme.C7yw6CDw.js";
5
5
  import { ColorPicker as no } from "antd";
6
6
  import b from "classnames";
7
7
  import { FontAwesomeIcon as co } from "@fortawesome/react-fontawesome";
8
8
  import { faCircleXmark as lo } from "@fortawesome/free-solid-svg-icons";
9
- import { u as so } from "../../../chunks/useKitLocale.C5F-tmnC.js";
9
+ import { u as so } from "../../../chunks/useKitLocale.DD7mnAZn.js";
10
10
  import { u as ao } from "../../../chunks/useGetPopupContainer.bCZKSUsz.js";
11
11
  import '../../../assets/index23.css';const v = {
12
12
  "kit-colorpicker": "_kit-colorpicker_19hvp_2",
@@ -1,32 +1,56 @@
1
- import { jsxs as W, jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as g, useRef as T } from "react";
3
- import { DatePicker as X } from "antd";
4
- import $ from "classnames";
5
- import { FontAwesomeIcon as n } from "@fortawesome/react-fontawesome";
6
- import { faChevronLeft as N, faChevronRight as _, faClock as q, faCalendar as z, faCircleXmark as B, faArrowRight as V } from "@fortawesome/free-solid-svg-icons";
7
- import { K as E } from "../../../chunks/InputWrapper.D7QArlvo.js";
8
- import { u as H } from "../../../chunks/useKitTheme.BdeSOGoj.js";
9
- import { u as J } from "../../../chunks/useGetPopupContainer.bCZKSUsz.js";
10
- import '../../../assets/index44.css';const M = {
11
- "kit-datepicker": "_kit-datepicker_1tqav_2",
12
- "kit-rangepicker": "_kit-rangepicker_1tqav_210"
13
- }, O = () => W("div", { className: "double-chevron", children: [e(n, { className: "chevron-icon double-chevron-left-icon", icon: N }), e(n, { className: "chevron-icon", icon: N })] }), Q = () => W("div", { className: "double-chevron", children: [e(n, { className: "chevron-icon", icon: _ }), e(n, { className: "chevron-icon double-chevron-right-icon", icon: _ })] }), Y = g(({ label: C, helper: R, htmlFor: m, suffixIcon: f, className: x, wrapperClassName: b, prefix: t, required: v, actions: h, extra: u, disabled: s, placeholder: K, getPopupContainer: l, picker: r = "date", size: D = "large", allowClear: I = !0, readonlyLight: o = !1, readonly: i = !1, ...a }, c) => {
14
- var p, d;
15
- const { appId: w } = H(), k = T(null), G = (p = c) !== null && p !== void 0 ? p : k, j = J(G, l), A = $(w, M["kit-datepicker"], x, {
16
- "kit-picker-readonly-light": o,
17
- "kit-picker-readonly": i
18
- }), U = t ?? (r === "time" ? e(n, { icon: q }) : e(n, { icon: z }));
19
- return e(E, { label: C, helper: R, htmlFor: m, disabled: s, status: a.status, className: b, required: v, extra: u ?? h, children: e(X, { ...a, id: (d = a.id) !== null && d !== void 0 ? d : m, required: v, picker: r, disabled: o || i || s, variant: o ? "borderless" : void 0, ref: c ?? k, size: D, getPopupContainer: j, placeholder: !o && !i ? K : void 0, allowClear: !o && !i && I && { clearIcon: e(n, { "aria-label": "clear", icon: B }) }, prefix: U, suffixIcon: I ? void 0 : f, className: A, prevIcon: e(n, { className: "chevron-icon", icon: N }), nextIcon: e(n, { className: "chevron-icon", icon: _ }), superPrevIcon: e(O, {}), superNextIcon: e(Q, {}) }) });
20
- }), Z = g(({ label: C, className: R, helper: m, htmlFor: f, suffixIcon: x, picker: b, prefix: t, allowClear: v = !0, required: h, actions: u, extra: s, placeholder: K, readonlyLight: l = !1, readonly: r = !1, getPopupContainer: D, size: I = "large", ...o }, i) => {
21
- var a, c;
22
- const { appId: p } = H(), d = T(null), w = (a = i) !== null && a !== void 0 ? a : d, k = J(w, D), G = () => o.disabled === void 0 ? !1 : typeof o.disabled == "boolean" ? o.disabled : o.disabled[0] && o.disabled[1], j = $(p, M["kit-rangepicker"], R, {
23
- "kit-picker-readonly-light": l,
24
- "kit-picker-readonly": r
25
- }), A = t ?? (b === "time" ? e(n, { icon: q }) : e(n, { icon: z }));
26
- return e(E, { label: C, helper: m, htmlFor: f, disabled: G(), status: o.status, required: h, extra: s ?? u, children: e(X.RangePicker, { ...o, id: (c = o.id) !== null && c !== void 0 ? c : f, picker: b, ref: i ?? d, getPopupContainer: k, required: h, size: I, disabled: l || r || o.disabled, variant: l ? "borderless" : void 0, placeholder: !l && !r ? K : void 0, suffixIcon: v ? void 0 : x, allowClear: v && { clearIcon: e(n, { "aria-label": "clear", icon: B }) }, className: j, prefix: A, separator: e(n, { icon: V }), prevIcon: e(n, { className: "chevron-icon", icon: N }), nextIcon: e(n, { className: "chevron-icon", icon: _ }), superPrevIcon: e(O, {}), superNextIcon: e(Q, {}) }) });
27
- }), S = Y;
28
- S.displayName = "KitDatePicker";
29
- S.RangePicker = Z;
1
+ import { jsxs as w, jsx as e, Fragment as ie } from "react/jsx-runtime";
2
+ import { forwardRef as $, useRef as E, useState as re, useEffect as X } from "react";
3
+ import { DatePicker as q } from "antd";
4
+ import F from "classnames";
5
+ import { FontAwesomeIcon as o } from "@fortawesome/react-fontawesome";
6
+ import { faChevronLeft as D, faChevronRight as W, faClock as H, faCalendar as J, faCircleXmark as Q, faArrowRight as te } from "@fortawesome/free-solid-svg-icons";
7
+ import { K as U } from "../../../chunks/InputWrapper.Ckc5loyB.js";
8
+ import { u as Y } from "../../../chunks/useKitTheme.C7yw6CDw.js";
9
+ import { u as Z } from "../../../chunks/useGetPopupContainer.bCZKSUsz.js";
10
+ import '../../../assets/index44.css';const y = {
11
+ "kit-datepicker": "_kit-datepicker_1upid_2",
12
+ "kit-rangepicker": "_kit-rangepicker_1upid_210"
13
+ }, z = () => w("div", { className: "double-chevron", children: [e(o, { className: "chevron-icon double-chevron-left-icon", icon: D }), e(o, { className: "chevron-icon", icon: D })] }), L = () => w("div", { className: "double-chevron", children: [e(o, { className: "chevron-icon", icon: W }), e(o, { className: "chevron-icon double-chevron-right-icon", icon: W })] }), ce = $(({ label: A, helper: S, htmlFor: _, suffixIcon: x, className: G, wrapperClassName: C, prefix: s, required: h, actions: R, extra: b, disabled: p, placeholder: M, getPopupContainer: u, picker: f = "date", size: V = "large", allowClear: k = !0, readonlyLight: n = !1, readonly: t = !1, ...d }, a) => {
14
+ var v, I;
15
+ const { appId: j } = Y(), N = E(null), g = (v = a) !== null && v !== void 0 ? v : N, K = Z(g, u), r = F(j, y["kit-datepicker"], G, {
16
+ "kit-picker-readonly-light": n,
17
+ "kit-picker-readonly": t
18
+ }), B = s ?? (f === "time" ? e(o, { icon: H }) : e(o, { icon: J }));
19
+ return e(U, { label: A, helper: S, htmlFor: _, disabled: p, status: d.status, className: C, required: h, extra: b ?? R, children: e(q, { ...d, id: (I = d.id) !== null && I !== void 0 ? I : _, required: h, picker: f, disabled: n || t || p, variant: n ? "borderless" : void 0, ref: a ?? N, size: V, getPopupContainer: K, placeholder: !n && !t ? M : void 0, allowClear: !n && !t && k && { clearIcon: e(o, { "aria-label": "clear", icon: Q }) }, prefix: B, suffixIcon: k ? void 0 : x, className: r, prevIcon: e(o, { className: "chevron-icon", icon: D }), nextIcon: e(o, { className: "chevron-icon", icon: W }), superPrevIcon: e(z, {}), superNextIcon: e(L, {}) }) });
20
+ }), ae = $(({ label: A, className: S, helper: _, htmlFor: x, suffixIcon: G, picker: C, prefix: s, allowClear: h = !0, required: R, actions: b, extra: p, placeholder: M, readonlyLight: u = !1, readonly: f = !1, getPopupContainer: V, size: k = "large", ...n }, t) => {
21
+ var d, a;
22
+ const [v, I] = re(["", ""]), { appId: j } = Y(), N = E(null), g = E(null), K = E(null), r = (d = t) !== null && d !== void 0 ? d : N, B = Z(r, V), ee = () => n.disabled === void 0 ? !1 : typeof n.disabled == "boolean" ? n.disabled : n.disabled[0] && n.disabled[1], ne = F(j, y["kit-rangepicker"], S, {
23
+ "kit-picker-readonly-light": u,
24
+ "kit-picker-readonly": f
25
+ }), oe = s ?? (C === "time" ? e(o, { icon: H }) : e(o, { icon: J })), O = (i) => {
26
+ I([
27
+ i[0].value || i[0].placeholder || "",
28
+ i[1].value || i[1].placeholder || ""
29
+ ]);
30
+ };
31
+ return X(() => {
32
+ var i;
33
+ const c = (i = r?.current) === null || i === void 0 ? void 0 : i.nativeElement.querySelectorAll(".ant-picker-input input");
34
+ if (!c || c.length < 2)
35
+ return;
36
+ const m = [];
37
+ return c.forEach((l) => {
38
+ const T = new MutationObserver(() => O(c));
39
+ T.observe(l, {
40
+ attributes: !0,
41
+ attributeFilter: ["value"]
42
+ }), m.push(T);
43
+ }), O(c), () => {
44
+ m.forEach((l) => l.disconnect());
45
+ };
46
+ }, [r]), X(() => {
47
+ var i, c, m;
48
+ const l = (i = r?.current) === null || i === void 0 ? void 0 : i.nativeElement.querySelectorAll(".ant-picker-input");
49
+ !l || l.length < 2 || (l[0].style.flexBasis = ((c = g.current) === null || c === void 0 ? void 0 : c.offsetWidth) + "px", l[1].style.flexBasis = ((m = K.current) === null || m === void 0 ? void 0 : m.offsetWidth) + "px");
50
+ }, [r, v]), w(ie, { children: [w("div", { className: F("range-mirror-wrapper", k, { "readonly-light": u }), "aria-hidden": "true", children: [e("span", { className: "range-mirror-input", ref: g, children: v[0] }), e("span", { className: "range-mirror-input", ref: K, children: v[1] })] }), e(U, { label: A, helper: _, htmlFor: x, disabled: ee(), status: n.status, required: R, extra: p ?? b, children: e(q.RangePicker, { ...n, id: (a = n.id) !== null && a !== void 0 ? a : x, picker: C, ref: t ?? N, getPopupContainer: B, required: R, size: k, disabled: u || f || n.disabled, variant: u ? "borderless" : void 0, placeholder: !u && !f ? M : void 0, suffixIcon: h ? void 0 : G, allowClear: h && { clearIcon: e(o, { "aria-label": "clear", icon: Q }) }, className: ne, prefix: oe, separator: e(o, { icon: te }), prevIcon: e(o, { className: "chevron-icon", icon: D }), nextIcon: e(o, { className: "chevron-icon", icon: W }), superPrevIcon: e(z, {}), superNextIcon: e(L, {}) }) })] });
51
+ }), P = ce;
52
+ P.displayName = "KitDatePicker";
53
+ P.RangePicker = ae;
30
54
  export {
31
- S as KitDatePicker
55
+ P as KitDatePicker
32
56
  };
@@ -2,7 +2,7 @@ import { jsx as t } from "react/jsx-runtime";
2
2
  import { forwardRef as N, createElement as K, useRef as _, useState as T, useEffect as B } from "react";
3
3
  import { KitDropDown as C } from "../../Navigation/DropDown/index.js";
4
4
  import D from "classnames";
5
- import { u as x } from "../../../chunks/useKitTheme.BdeSOGoj.js";
5
+ import { u as x } from "../../../chunks/useKitTheme.C7yw6CDw.js";
6
6
  import { FontAwesomeIcon as F } from "@fortawesome/react-fontawesome";
7
7
  import { faCaretDown as I } from "@fortawesome/free-solid-svg-icons";
8
8
  import { KitBadge as L } from "../../DataDisplay/Badge/index.js";
@@ -1,34 +1,34 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { forwardRef as h } from "react";
3
- import { Input as x } from "antd";
4
- import { faCircleXmark as N, faEye as y, faEyeSlash as R } from "@fortawesome/free-solid-svg-icons";
2
+ import { forwardRef as g } from "react";
3
+ import { Input as h } from "antd";
4
+ import { faCircleXmark as x, faEye as y, faEyeSlash as R } from "@fortawesome/free-solid-svg-icons";
5
5
  import { FontAwesomeIcon as K } from "@fortawesome/react-fontawesome";
6
- import { K as T } from "../../../chunks/InputWrapper.D7QArlvo.js";
7
- import { u as b } from "../../../chunks/useKitTheme.BdeSOGoj.js";
8
- import g from "classnames";
6
+ import { K as z } from "../../../chunks/InputWrapper.Ckc5loyB.js";
7
+ import { u as N } from "../../../chunks/useKitTheme.C7yw6CDw.js";
8
+ import T from "classnames";
9
9
  import { KitTypography as S } from "../../General/Typography/index.js";
10
- import '../../../assets/index38.css';const z = {
11
- "kit-input": "_kit-input_10dra_2",
12
- "kit-password": "_kit-password_10dra_206",
13
- "kit-textarea": "_kit-textarea_10dra_353"
14
- }, W = h(({ label: u, className: m, helper: f, htmlFor: o, wrapperClassName: s, allowClear: p = !0, required: c, actions: d, extra: i, disabled: r, placeholder: v, readonly: e = !1, readonlyLight: n = !1, size: k = "large", ...a }, I) => {
10
+ import '../../../assets/index38.css';const b = {
11
+ "kit-input": "_kit-input_zwgm2_2",
12
+ "kit-password": "_kit-password_zwgm2_206",
13
+ "kit-textarea": "_kit-textarea_zwgm2_353"
14
+ }, W = g(({ label: u, className: m, helper: f, htmlFor: o, wrapperClassName: s, allowClear: p = !0, required: c, actions: d, extra: i, disabled: r, placeholder: v, readonly: e = !1, readonlyLight: n = !1, size: w = "large", ...a }, k) => {
15
15
  var l;
16
- const { appId: _ } = b(), w = g(_, z["kit-input"], m, {
16
+ const { appId: I } = N(), _ = T(I, b["kit-input"], m, {
17
17
  "kit-input-readonly": e
18
18
  });
19
- return t(T, { label: u, helper: f, htmlFor: o, disabled: r, status: a.status, className: s, required: c, extra: i ?? d, children: n ? t(S.Text, { weight: "bold", size: "fontSize5", color: a.status === "error" ? "error" : void 0, children: a.value }) : t(x, { ...a, ref: I, id: (l = a.id) !== null && l !== void 0 ? l : o, className: w, disabled: r || e, required: c, size: k, placeholder: !e && !n ? v : void 0, allowClear: p ? { clearIcon: t(K, { "aria-label": "clear", icon: N }) } : void 0 }) });
20
- }), X = h(({ label: u, className: m, helper: f, htmlFor: o, wrapperClassName: s, allowClear: p = !0, required: c, actions: d, extra: i, disabled: r, placeholder: v, readonly: e = !1, readonlyLight: n = !1, size: k = "large", ...a }, I) => {
19
+ return t(z, { label: u, helper: f, htmlFor: o, disabled: r, status: a.status, className: s, required: c, extra: i ?? d, children: n ? t(S.Text, { weight: "bold", size: "fontSize5", color: a.status === "error" ? "error" : void 0, children: a.value }) : t(h, { ...a, ref: k, id: (l = a.id) !== null && l !== void 0 ? l : o, className: _, disabled: r || e, required: c, size: w, placeholder: !e && !n ? v : void 0, allowClear: p ? { clearIcon: t(K, { "aria-label": "clear", icon: x }) } : void 0 }) });
20
+ }), X = g(({ label: u, className: m, helper: f, htmlFor: o, wrapperClassName: s, allowClear: p = !0, required: c, actions: d, extra: i, disabled: r, placeholder: v, readonly: e = !1, readonlyLight: n = !1, size: w = "large", ...a }, k) => {
21
21
  var l;
22
- const { appId: _ } = b(), w = g(_, z["kit-textarea"], m, {
22
+ const { appId: I } = N(), _ = T(I, b["kit-textarea"], m, {
23
23
  "kit-textarea-readonly": e
24
24
  });
25
- return t(T, { label: u, helper: f, htmlFor: o, disabled: r, status: a.status, className: s, required: c, extra: i ?? d, children: n ? t(S.Text, { weight: "bold", size: "fontSize5", color: a.status === "error" ? "error" : void 0, children: a.value }) : t(x.TextArea, { ...a, ref: I, id: (l = a.id) !== null && l !== void 0 ? l : o, className: w, disabled: r || e, required: c, size: k, placeholder: !e && !n ? v : void 0, allowClear: p ? { clearIcon: t(K, { "aria-label": "clear", icon: N }) } : void 0 }) });
26
- }), $ = h(({ label: u, className: m, helper: f, htmlFor: o, iconRender: s, wrapperClassName: p, allowClear: c = !0, disabled: d, readonly: i = !1, required: r, actions: v, extra: e, placeholder: n, size: k = "large", ...a }, I) => {
25
+ return t(z, { label: u, helper: f, htmlFor: o, disabled: r, status: a.status, className: s, required: c, extra: i ?? d, children: n ? t(S.Text, { weight: "bold", size: "fontSize5", color: a.status === "error" ? "error" : void 0, children: a.value }) : t(h.TextArea, { ...a, ref: k, id: (l = a.id) !== null && l !== void 0 ? l : o, className: _, disabled: r || e, required: c, size: w, placeholder: !e && !n ? v : void 0, allowClear: p ? { clearIcon: t(K, { "aria-label": "clear", icon: x }) } : void 0 }) });
26
+ }), $ = g(({ label: u, className: m, helper: f, htmlFor: o, iconRender: s, wrapperClassName: p, allowClear: c = !0, disabled: d, readonly: i = !1, required: r, actions: v, extra: e, placeholder: n, size: w = "large", ...a }, k) => {
27
27
  var l;
28
- const { appId: _ } = b(), w = g(_, z["kit-password"], m, {
28
+ const { appId: I } = N(), _ = T(I, b["kit-password"], m, {
29
29
  "kit-password-readonly": i
30
30
  }), E = (j) => j ? t(K, { icon: y }) : t(K, { icon: R });
31
- return t(T, { label: u, helper: f, htmlFor: o, disabled: d, status: a.status, className: p, required: r, extra: e ?? v, children: t(x.Password, { ...a, className: w, placeholder: i ? void 0 : n, disabled: d || i, required: r, id: (l = a.id) !== null && l !== void 0 ? l : o, ref: I, size: k, allowClear: c ? { clearIcon: t(K, { "aria-label": "clear", icon: N }) } : void 0, iconRender: s ?? E }) });
31
+ return t(z, { label: u, helper: f, htmlFor: o, disabled: d, status: a.status, className: p, required: r, extra: e ?? v, children: t(h.Password, { ...a, className: _, placeholder: i ? void 0 : n, disabled: d || i, required: r, id: (l = a.id) !== null && l !== void 0 ? l : o, ref: k, size: w, allowClear: c ? { clearIcon: t(K, { "aria-label": "clear", icon: x }) } : void 0, iconRender: s ?? E }) });
32
32
  }), C = W;
33
33
  C.displayName = "KitInput";
34
34
  C.TextArea = X;
@@ -1,8 +1,8 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as x, useState as w } from "react";
3
3
  import { InputNumber as g } from "antd";
4
- import { K as j } from "../../../chunks/InputWrapper.D7QArlvo.js";
5
- import { u as y } from "../../../chunks/useKitTheme.BdeSOGoj.js";
4
+ import { K as j } from "../../../chunks/InputWrapper.Ckc5loyB.js";
5
+ import { u as y } from "../../../chunks/useKitTheme.C7yw6CDw.js";
6
6
  import H from "classnames";
7
7
  import '../../../assets/index6.css';const R = {
8
8
  "kit-input-number": "_kit-input-number_1e65d_2"
@@ -1,4 +1,4 @@
1
- import { K as t } from "../../../chunks/InputWrapper.D7QArlvo.js";
1
+ import { K as t } from "../../../chunks/InputWrapper.Ckc5loyB.js";
2
2
  export {
3
3
  t as KitInputWrapper
4
4
  };
@@ -6,8 +6,8 @@ import { ConfigContext as U } from "antd/es/config-provider/";
6
6
  import X from "antd/es/config-provider/SizeContext";
7
7
  import Y from "rc-util/es/pickAttrs";
8
8
  import { Radio as Z } from "antd";
9
- import { u as ee } from "../../../chunks/useKitTheme.BdeSOGoj.js";
10
- import { K as ae } from "../../../chunks/InputWrapper.D7QArlvo.js";
9
+ import { u as ee } from "../../../chunks/useKitTheme.C7yw6CDw.js";
10
+ import { K as ae } from "../../../chunks/InputWrapper.Ckc5loyB.js";
11
11
  import te from "antd/es/radio/style";
12
12
  import '../../../assets/index39.css';const K = O(null), re = K.Provider, oe = {
13
13
  "kit-radio": "_kit-radio_agroh_12"
@@ -1,7 +1,7 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { forwardRef as k, useMemo as v } from "react";
3
3
  import { Rate as x } from "antd";
4
- import { u as C } from "../../../chunks/useKitTheme.BdeSOGoj.js";
4
+ import { u as C } from "../../../chunks/useKitTheme.C7yw6CDw.js";
5
5
  import { FontAwesomeIcon as a } from "@fortawesome/react-fontawesome";
6
6
  import { faStar as S } from "@fortawesome/free-solid-svg-icons";
7
7
  import { faStarHalfStroke as R, faStar as p } from "@fortawesome/free-regular-svg-icons";
@@ -1,6 +1,6 @@
1
1
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
2
2
  import h from "classnames";
3
- import { u as s } from "../../../../chunks/useKitTheme.BdeSOGoj.js";
3
+ import { u as s } from "../../../../chunks/useKitTheme.C7yw6CDw.js";
4
4
  import '../../../../assets/index20.css';const d = {
5
5
  "kit-rich-text-editor-content-character-count": "_kit-rich-text-editor-content-character-count_6w3ub_2"
6
6
  }, p = ({ editor: c, status: t, maxLength: r }) => {