@ck-ui/component-library 1.0.8 → 1.0.10

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 (54) hide show
  1. package/dist/{DropdownFooter-B1d0HFxd.js → DropdownFooter-CJnM_ECj.js} +4 -3
  2. package/dist/{OptionList-BM4AleXV.js → OptionList-DU0iA8Y4.js} +206 -198
  3. package/dist/assets/index-EOsQwhza.css +1 -0
  4. package/dist/assets/index-xlbz19JS.css +1 -0
  5. package/dist/assets/{index-CtR-jzNi.css → index-zWDnehqu.css} +1 -1
  6. package/dist/assets/styles-0GdZsGyi.css +1 -0
  7. package/dist/assets/styles-CwZG1jzB.css +1 -0
  8. package/dist/assets/{styles-DAqMiQ0N.css → styles-DrYTmjez.css} +1 -1
  9. package/dist/components/Breadcrumb/index.js +39 -39
  10. package/dist/components/FusionChart/_config/builders.d.ts.map +1 -1
  11. package/dist/components/FusionChart/_config/builders.js +187 -149
  12. package/dist/components/FusionChart/_config/events.d.ts.map +1 -1
  13. package/dist/components/FusionChart/_config/events.js +52 -37
  14. package/dist/components/FusionChart/_config/helpers.js +6 -6
  15. package/dist/components/FusionChart/_constant/constants.d.ts +3 -3
  16. package/dist/components/FusionChart/_constant/constants.js +1 -1
  17. package/dist/components/FusionChart/_helpers/doughnutHelper.js +13 -13
  18. package/dist/components/FusionChart/_types/fusionChart.types.d.ts +2 -0
  19. package/dist/components/FusionChart/_types/fusionChart.types.d.ts.map +1 -1
  20. package/dist/components/FusionChart/index.d.ts.map +1 -1
  21. package/dist/components/FusionChart/index.js +533 -504
  22. package/dist/components/Search/index.js +60 -60
  23. package/dist/components/SingleSelectDropdown/_helpers/DropdownFooter.js +4 -3
  24. package/dist/components/SingleSelectDropdown/index.js +12 -11
  25. package/dist/components/Table/_helpers/ColumnManager/index.d.ts +1 -1
  26. package/dist/components/Table/_helpers/ColumnManager/index.d.ts.map +1 -1
  27. package/dist/components/Table/_helpers/ColumnManager/index.js +803 -696
  28. package/dist/components/Table/_helpers/FilterColumnToolbar.js +36 -36
  29. package/dist/components/Table/_helpers/GroupedHeader/index.d.ts +3 -2
  30. package/dist/components/Table/_helpers/GroupedHeader/index.d.ts.map +1 -1
  31. package/dist/components/Table/_helpers/GroupedHeader/index.js +148 -147
  32. package/dist/components/Table/_helpers/TableFilterModal/OptionList.d.ts.map +1 -1
  33. package/dist/components/Table/_helpers/TableFilterModal/OptionList.js +3 -3
  34. package/dist/components/Table/_helpers/TableFilterModal/index.d.ts.map +1 -1
  35. package/dist/components/Table/_helpers/TableFilterModal/index.js +52 -50
  36. package/dist/components/Table/_helpers/TableRows.d.ts +1 -1
  37. package/dist/components/Table/_helpers/TableRows.d.ts.map +1 -1
  38. package/dist/components/Table/_helpers/TableRows.js +242 -243
  39. package/dist/components/Table/_hooks/useOverlayScrollbar.d.ts.map +1 -1
  40. package/dist/components/Table/_hooks/useOverlayScrollbar.js +63 -58
  41. package/dist/components/Table/_types/table.types.d.ts +1 -1
  42. package/dist/components/Table/_types/table.types.d.ts.map +1 -1
  43. package/dist/components/Table/_utils/table.utils.d.ts +1 -1
  44. package/dist/components/Table/_utils/table.utils.d.ts.map +1 -1
  45. package/dist/components/Table/_utils/table.utils.js +84 -46
  46. package/dist/components/Table/index.d.ts.map +1 -1
  47. package/dist/components/Table/index.js +398 -327
  48. package/dist/components/TextField/index.js +165 -165
  49. package/package.json +1 -1
  50. package/dist/assets/index-C8gvpfKZ.css +0 -1
  51. package/dist/assets/index-DewFIgpp.css +0 -1
  52. package/dist/assets/styles-DLJzdWsF.css +0 -1
  53. package/dist/assets/styles-O-5pBCak.css +0 -1
  54. package/dist/search-B_cup-NN.js +0 -5
@@ -1,30 +1,30 @@
1
- import { jsx as a, jsxs as $, Fragment as qe } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as $, Fragment as Oe } from "react/jsx-runtime";
2
2
  import { CKButton as Ce } from "../CKButton/index.js";
3
3
  import * as V from "react";
4
4
  import { g as ne, f as le, h as D, s as M, l as K, m as G, n as J, P as e, r as $e, j as S } from "../../useSlot-BiMlGawc.js";
5
5
  import { c as Q } from "../../clsx-OuTLNxxd.js";
6
6
  import { u as Ne, r as Se } from "../../Grow-wzNsNKt2.js";
7
- import { u as ae, f as ie, g as ke, S as Re, O as ze, F as Ie, I as Pe, a as Le } from "../../Select-CiuwMSD7.js";
7
+ import { u as ae, f as ie, g as Re, S as ze, O as qe, F as Ie, I as Pe, a as Le } from "../../Select-CiuwMSD7.js";
8
8
  import { c as Me } from "../../createSimplePaletteValueFilter-BqxST_wX.js";
9
- import '../../assets/index-DewFIgpp.css';function je(o) {
9
+ import '../../assets/index-xlbz19JS.css';function je(o) {
10
10
  return le("MuiFormHelperText", o);
11
11
  }
12
- const de = ne("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
12
+ const ce = ne("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
13
13
  var pe;
14
14
  const Ee = (o) => {
15
15
  const {
16
16
  classes: r,
17
17
  contained: t,
18
18
  size: s,
19
- disabled: c,
19
+ disabled: d,
20
20
  error: l,
21
- filled: d,
21
+ filled: c,
22
22
  focused: u,
23
23
  required: f
24
- } = o, g = {
25
- root: ["root", c && "disabled", l && "error", s && `size${K(s)}`, t && "contained", u && "focused", d && "filled", f && "required"]
24
+ } = o, _ = {
25
+ root: ["root", d && "disabled", l && "error", s && `size${K(s)}`, t && "contained", u && "focused", c && "filled", f && "required"]
26
26
  };
27
- return G(g, je, r);
27
+ return G(_, je, r);
28
28
  }, He = M("p", {
29
29
  name: "MuiFormHelperText",
30
30
  slot: "Root",
@@ -44,10 +44,10 @@ const Ee = (o) => {
44
44
  marginRight: 0,
45
45
  marginBottom: 0,
46
46
  marginLeft: 0,
47
- [`&.${de.disabled}`]: {
47
+ [`&.${ce.disabled}`]: {
48
48
  color: (o.vars || o).palette.text.disabled
49
49
  },
50
- [`&.${de.error}`]: {
50
+ [`&.${ce.error}`]: {
51
51
  color: (o.vars || o).palette.error.main
52
52
  },
53
53
  variants: [{
@@ -71,24 +71,24 @@ const Ee = (o) => {
71
71
  props: r,
72
72
  name: "MuiFormHelperText"
73
73
  }), {
74
- children: c,
74
+ children: d,
75
75
  className: l,
76
- component: d = "p",
76
+ component: c = "p",
77
77
  disabled: u,
78
78
  error: f,
79
- filled: g,
79
+ filled: _,
80
80
  focused: m,
81
81
  margin: b,
82
82
  required: p,
83
83
  variant: T,
84
- ...h
85
- } = s, y = ae(), n = ie({
84
+ ...x
85
+ } = s, h = ae(), n = ie({
86
86
  props: s,
87
- muiFormControl: y,
87
+ muiFormControl: h,
88
88
  states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
89
- }), x = {
89
+ }), y = {
90
90
  ...s,
91
- component: d,
91
+ component: c,
92
92
  contained: n.variant === "filled" || n.variant === "outlined",
93
93
  variant: n.variant,
94
94
  size: n.size,
@@ -98,22 +98,22 @@ const Ee = (o) => {
98
98
  focused: n.focused,
99
99
  required: n.required
100
100
  };
101
- delete x.ownerState;
102
- const q = Ee(x);
101
+ delete y.ownerState;
102
+ const O = Ee(y);
103
103
  return /* @__PURE__ */ a(He, {
104
- as: d,
105
- className: Q(q.root, l),
104
+ as: c,
105
+ className: Q(O.root, l),
106
106
  ref: t,
107
- ...h,
108
- ownerState: x,
109
- children: c === " " ? (
107
+ ...x,
108
+ ownerState: y,
109
+ children: d === " " ? (
110
110
  // notranslate needed while Google Translate will not fix zero-width space issue
111
111
  pe || (pe = /* @__PURE__ */ a("span", {
112
112
  className: "notranslate",
113
113
  "aria-hidden": !0,
114
114
  children: "​"
115
115
  }))
116
- ) : c
116
+ ) : d
117
117
  });
118
118
  });
119
119
  process.env.NODE_ENV !== "production" && (ue.propTypes = {
@@ -182,12 +182,12 @@ const L = ne("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "
182
182
  classes: r,
183
183
  color: t,
184
184
  focused: s,
185
- disabled: c,
185
+ disabled: d,
186
186
  error: l,
187
- filled: d,
187
+ filled: c,
188
188
  required: u
189
189
  } = o, f = {
190
- root: ["root", `color${K(t)}`, c && "disabled", l && "error", d && "filled", s && "focused", u && "required"],
190
+ root: ["root", `color${K(t)}`, d && "disabled", l && "error", c && "filled", s && "focused", u && "required"],
191
191
  asterisk: ["asterisk", l && "error"]
192
192
  };
193
193
  return G(f, Ue, r);
@@ -242,40 +242,40 @@ const L = ne("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "
242
242
  props: r,
243
243
  name: "MuiFormLabel"
244
244
  }), {
245
- children: c,
245
+ children: d,
246
246
  className: l,
247
- color: d,
247
+ color: c,
248
248
  component: u = "label",
249
249
  disabled: f,
250
- error: g,
250
+ error: _,
251
251
  filled: m,
252
252
  focused: b,
253
253
  required: p,
254
254
  ...T
255
- } = s, h = ae(), y = ie({
255
+ } = s, x = ae(), h = ie({
256
256
  props: s,
257
- muiFormControl: h,
257
+ muiFormControl: x,
258
258
  states: ["color", "required", "focused", "disabled", "error", "filled"]
259
259
  }), n = {
260
260
  ...s,
261
- color: y.color || "primary",
261
+ color: h.color || "primary",
262
262
  component: u,
263
- disabled: y.disabled,
264
- error: y.error,
265
- filled: y.filled,
266
- focused: y.focused,
267
- required: y.required
268
- }, x = We(n);
263
+ disabled: h.disabled,
264
+ error: h.error,
265
+ filled: h.filled,
266
+ focused: h.focused,
267
+ required: h.required
268
+ }, y = We(n);
269
269
  return /* @__PURE__ */ $(Ae, {
270
270
  as: u,
271
271
  ownerState: n,
272
- className: Q(x.root, l),
272
+ className: Q(y.root, l),
273
273
  ref: t,
274
274
  ...T,
275
- children: [c, y.required && /* @__PURE__ */ $(Be, {
275
+ children: [d, h.required && /* @__PURE__ */ $(Be, {
276
276
  ownerState: n,
277
277
  "aria-hidden": !0,
278
- className: x.asterisk,
278
+ className: y.asterisk,
279
279
  children: [" ", "*"]
280
280
  })]
281
281
  });
@@ -338,18 +338,18 @@ const Ve = (o) => {
338
338
  classes: r,
339
339
  formControl: t,
340
340
  size: s,
341
- shrink: c,
341
+ shrink: d,
342
342
  disableAnimation: l,
343
- variant: d,
343
+ variant: c,
344
344
  required: u
345
345
  } = o, f = {
346
- root: ["root", t && "formControl", !l && "animated", c && "shrink", s && s !== "medium" && `size${K(s)}`, d],
346
+ root: ["root", t && "formControl", !l && "animated", d && "shrink", s && s !== "medium" && `size${K(s)}`, c],
347
347
  asterisk: [u && "asterisk"]
348
- }, g = G(f, ke, r);
348
+ }, _ = G(f, Re, r);
349
349
  return {
350
350
  ...r,
351
351
  // forward the focused, disabled, etc. classes to the FormLabel
352
- ...g
352
+ ..._
353
353
  };
354
354
  }, De = M(fe, {
355
355
  shouldForwardProp: (o) => $e(o) || o === "classes",
@@ -490,14 +490,14 @@ const Ve = (o) => {
490
490
  name: "MuiInputLabel",
491
491
  props: r
492
492
  }), {
493
- disableAnimation: c = !1,
493
+ disableAnimation: d = !1,
494
494
  margin: l,
495
- shrink: d,
495
+ shrink: c,
496
496
  variant: u,
497
497
  className: f,
498
- ...g
498
+ ..._
499
499
  } = s, m = ae();
500
- let b = d;
500
+ let b = c;
501
501
  typeof b > "u" && m && (b = m.filled || m.focused || m.adornedStart);
502
502
  const p = ie({
503
503
  props: s,
@@ -505,21 +505,21 @@ const Ve = (o) => {
505
505
  states: ["size", "variant", "required", "focused"]
506
506
  }), T = {
507
507
  ...s,
508
- disableAnimation: c,
508
+ disableAnimation: d,
509
509
  formControl: m,
510
510
  shrink: b,
511
511
  size: p.size,
512
512
  variant: p.variant,
513
513
  required: p.required,
514
514
  focused: p.focused
515
- }, h = Ve(T);
515
+ }, x = Ve(T);
516
516
  return /* @__PURE__ */ a(De, {
517
517
  "data-shrink": b,
518
518
  ref: t,
519
- className: Q(h.root, f),
520
- ...g,
519
+ className: Q(x.root, f),
520
+ ..._,
521
521
  ownerState: T,
522
- classes: h
522
+ classes: x
523
523
  });
524
524
  });
525
525
  process.env.NODE_ENV !== "production" && (me.propTypes = {
@@ -596,7 +596,7 @@ ne("MuiTextField", ["root"]);
596
596
  const Ge = {
597
597
  standard: Pe,
598
598
  filled: Ie,
599
- outlined: ze
599
+ outlined: qe
600
600
  }, Je = (o) => {
601
601
  const {
602
602
  classes: r
@@ -612,37 +612,37 @@ const Ge = {
612
612
  props: r,
613
613
  name: "MuiTextField"
614
614
  }), {
615
- autoComplete: c,
615
+ autoComplete: d,
616
616
  autoFocus: l = !1,
617
- children: d,
617
+ children: c,
618
618
  className: u,
619
619
  color: f = "primary",
620
- defaultValue: g,
620
+ defaultValue: _,
621
621
  disabled: m = !1,
622
622
  error: b = !1,
623
623
  fullWidth: p = !1,
624
624
  helperText: T,
625
- id: h,
626
- inputRef: y,
625
+ id: x,
626
+ inputRef: h,
627
627
  label: n,
628
- maxRows: x,
629
- minRows: q,
628
+ maxRows: y,
629
+ minRows: O,
630
630
  multiline: j = !1,
631
- name: O,
631
+ name: F,
632
632
  onBlur: E,
633
633
  onChange: X,
634
634
  onFocus: Y,
635
- placeholder: k,
635
+ placeholder: R,
636
636
  required: H = !1,
637
- rows: R,
637
+ rows: z,
638
638
  select: v = !1,
639
639
  slots: U = {},
640
- slotProps: z = {},
640
+ slotProps: q = {},
641
641
  type: Z,
642
642
  value: W,
643
643
  variant: N = "outlined",
644
644
  ...ee
645
- } = s, _ = {
645
+ } = s, g = {
646
646
  ...s,
647
647
  autoFocus: l,
648
648
  color: f,
@@ -653,25 +653,25 @@ const Ge = {
653
653
  required: H,
654
654
  select: v,
655
655
  variant: N
656
- }, oe = Je(_);
657
- process.env.NODE_ENV !== "production" && v && !d && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
658
- const w = Ne(h), I = T && w ? `${w}-helper-text` : void 0, A = n && w ? `${w}-label` : void 0, re = Ge[N], F = {
656
+ }, oe = Je(g);
657
+ process.env.NODE_ENV !== "production" && v && !c && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
658
+ const w = Ne(x), I = T && w ? `${w}-helper-text` : void 0, A = n && w ? `${w}-label` : void 0, re = Ge[N], k = {
659
659
  slots: U,
660
- slotProps: z
660
+ slotProps: q
661
661
  }, [te, B] = S("select", {
662
- elementType: Re,
663
- externalForwardedProps: F,
664
- ownerState: _
665
- }), P = v && B.native, C = {}, se = F.slotProps.inputLabel;
662
+ elementType: ze,
663
+ externalForwardedProps: k,
664
+ ownerState: g
665
+ }), P = v && B.native, C = {}, se = k.slotProps.inputLabel;
666
666
  N === "outlined" && (se && typeof se.shrink < "u" && (C.notched = se.shrink), C.label = n), v && (P || (C.id = void 0), C["aria-describedby"] = void 0);
667
- const [he, ye] = S("root", {
667
+ const [xe, he] = S("root", {
668
668
  elementType: Qe,
669
669
  shouldForwardComponentProp: !0,
670
670
  externalForwardedProps: {
671
- ...F,
671
+ ...k,
672
672
  ...ee
673
673
  },
674
- ownerState: _,
674
+ ownerState: g,
675
675
  className: Q(oe.root, u),
676
676
  ref: t,
677
677
  additionalProps: {
@@ -682,51 +682,51 @@ const Ge = {
682
682
  color: f,
683
683
  variant: N
684
684
  }
685
- }), [xe, _e] = S("input", {
685
+ }), [ye, ge] = S("input", {
686
686
  elementType: re,
687
- externalForwardedProps: F,
687
+ externalForwardedProps: k,
688
688
  additionalProps: C,
689
- ownerState: _
690
- }), [ge, Te] = S("inputLabel", {
689
+ ownerState: g
690
+ }), [_e, Te] = S("inputLabel", {
691
691
  elementType: me,
692
- externalForwardedProps: F,
693
- ownerState: _
692
+ externalForwardedProps: k,
693
+ ownerState: g
694
694
  }), [ve, we] = S("htmlInput", {
695
695
  elementType: "input",
696
- externalForwardedProps: F,
697
- ownerState: _
698
- }), [Fe, Oe] = S("formHelperText", {
696
+ externalForwardedProps: k,
697
+ ownerState: g
698
+ }), [ke, Fe] = S("formHelperText", {
699
699
  elementType: ue,
700
- externalForwardedProps: F,
701
- ownerState: _
702
- }), ce = /* @__PURE__ */ a(xe, {
700
+ externalForwardedProps: k,
701
+ ownerState: g
702
+ }), de = /* @__PURE__ */ a(ye, {
703
703
  "aria-describedby": I,
704
- autoComplete: c,
704
+ autoComplete: d,
705
705
  autoFocus: l,
706
- defaultValue: g,
706
+ defaultValue: _,
707
707
  fullWidth: p,
708
708
  multiline: j,
709
- name: O,
710
- rows: R,
711
- maxRows: x,
712
- minRows: q,
709
+ name: F,
710
+ rows: z,
711
+ maxRows: y,
712
+ minRows: O,
713
713
  type: Z,
714
714
  value: W,
715
715
  id: w,
716
- inputRef: y,
716
+ inputRef: h,
717
717
  onBlur: E,
718
718
  onChange: X,
719
719
  onFocus: Y,
720
- placeholder: k,
720
+ placeholder: R,
721
721
  inputProps: we,
722
722
  slots: {
723
723
  input: U.htmlInput ? ve : void 0
724
724
  },
725
- ..._e
725
+ ...ge
726
726
  });
727
- return /* @__PURE__ */ $(he, {
728
- ...ye,
729
- children: [n != null && n !== "" && /* @__PURE__ */ a(ge, {
727
+ return /* @__PURE__ */ $(xe, {
728
+ ...he,
729
+ children: [n != null && n !== "" && /* @__PURE__ */ a(_e, {
730
730
  htmlFor: v && !P ? void 0 : w,
731
731
  id: A,
732
732
  ...v && !P && {
@@ -739,12 +739,12 @@ const Ge = {
739
739
  id: w,
740
740
  labelId: A,
741
741
  value: W,
742
- input: ce,
742
+ input: de,
743
743
  ...B,
744
- children: d
745
- }) : ce, T && /* @__PURE__ */ a(Fe, {
744
+ children: c
745
+ }) : de, T && /* @__PURE__ */ a(ke, {
746
746
  id: I,
747
- ...Oe,
747
+ ...Fe,
748
748
  children: T
749
749
  })]
750
750
  });
@@ -922,30 +922,30 @@ process.env.NODE_ENV !== "production" && (be.propTypes = {
922
922
  */
923
923
  variant: e.oneOf(["filled", "outlined", "standard"])
924
924
  });
925
- const Xe = "_label_1cc6q_6", Ye = "_mandatory_1cc6q_18", Ze = "_icon_1cc6q_27", eo = "_small_1cc6q_86", oo = "_medium_1cc6q_94", ro = "_large_1cc6q_102", to = "_filled_1cc6q_110", so = "_suffix_1cc6q_167", no = "_disabled_1cc6q_189", i = {
926
- "ckds-input-field-container": "_ckds-input-field-container_1cc6q_1",
925
+ const Xe = "_label_kg5rx_6", Ye = "_mandatory_kg5rx_18", Ze = "_icon_kg5rx_27", eo = "_small_kg5rx_86", oo = "_medium_kg5rx_94", ro = "_large_kg5rx_102", to = "_filled_kg5rx_110", so = "_suffix_kg5rx_167", no = "_disabled_kg5rx_189", i = {
926
+ "ckds-input-field-container": "_ckds-input-field-container_kg5rx_1",
927
927
  label: Xe,
928
928
  mandatory: Ye,
929
929
  icon: Ze,
930
- "icon-with-label": "_icon-with-label_1cc6q_42",
931
- "text-field": "_text-field_1cc6q_46",
932
- "Mui-focused": "_Mui-focused_1cc6q_59",
933
- "Mui-disabled": "_Mui-disabled_1cc6q_62",
934
- "Mui-error": "_Mui-error_1cc6q_66",
930
+ "icon-with-label": "_icon-with-label_kg5rx_42",
931
+ "text-field": "_text-field_kg5rx_46",
932
+ "Mui-focused": "_Mui-focused_kg5rx_59",
933
+ "Mui-disabled": "_Mui-disabled_kg5rx_62",
934
+ "Mui-error": "_Mui-error_kg5rx_66",
935
935
  small: eo,
936
936
  medium: oo,
937
937
  large: ro,
938
938
  filled: to,
939
- "show-hide-password": "_show-hide-password_1cc6q_114",
940
- "clear-icon": "_clear-icon_1cc6q_115",
941
- "end-icon": "_end-icon_1cc6q_116",
942
- "show-hide-password-with-label": "_show-hide-password-with-label_1cc6q_153",
943
- "clear-icon-with-label": "_clear-icon-with-label_1cc6q_154",
944
- "end-icon-with-label": "_end-icon-with-label_1cc6q_155",
945
- "action-button": "_action-button_1cc6q_159",
939
+ "show-hide-password": "_show-hide-password_kg5rx_114",
940
+ "clear-icon": "_clear-icon_kg5rx_115",
941
+ "end-icon": "_end-icon_kg5rx_116",
942
+ "show-hide-password-with-label": "_show-hide-password-with-label_kg5rx_153",
943
+ "clear-icon-with-label": "_clear-icon-with-label_kg5rx_154",
944
+ "end-icon-with-label": "_end-icon-with-label_kg5rx_155",
945
+ "action-button": "_action-button_kg5rx_159",
946
946
  suffix: so,
947
- "error-text": "_error-text_1cc6q_177",
948
- "helper-text": "_helper-text_1cc6q_182",
947
+ "error-text": "_error-text_kg5rx_177",
948
+ "helper-text": "_helper-text_kg5rx_182",
949
949
  disabled: no
950
950
  };
951
951
  function mo({
@@ -953,37 +953,37 @@ function mo({
953
953
  name: r,
954
954
  handleChange: t,
955
955
  value: s = "",
956
- label: c = "",
956
+ label: d = "",
957
957
  error: l,
958
- placeHolder: d,
958
+ placeHolder: c,
959
959
  toggleIcon: u,
960
960
  toggleActionButton: f,
961
- toggleCallback: g,
961
+ toggleCallback: _,
962
962
  toggleActionBtnCallback: m,
963
963
  selectedVisibilityIcon: b,
964
964
  inputIcon: p,
965
965
  inputClass: T = "",
966
- suffix: h,
967
- prefixIcon: y,
966
+ suffix: x,
967
+ prefixIcon: h,
968
968
  parentClass: n = "",
969
- showLabel: x = !0,
970
- touched: q,
969
+ showLabel: y = !0,
970
+ touched: O,
971
971
  onBlurHandler: j,
972
- disabled: O = !1,
972
+ disabled: F = !1,
973
973
  disabledClass: E = "",
974
974
  filledStyle: X = "",
975
975
  autoComplete: Y = "on",
976
- toolTip: k,
976
+ toolTip: R,
977
977
  maxLength: H = null,
978
- prefix: R,
978
+ prefix: z,
979
979
  showInfoMessage: v = {},
980
980
  actionButtonConfig: U = {},
981
- labelDescription: z = "",
981
+ labelDescription: q = "",
982
982
  disableOnWheel: Z = !1,
983
983
  onFocusHandler: W,
984
984
  onKeyDownHandler: N,
985
985
  mandatory: ee = !1,
986
- helperText: _,
986
+ helperText: g,
987
987
  readOnly: oe = !1,
988
988
  clearable: w = !1,
989
989
  onClear: I,
@@ -991,32 +991,32 @@ function mo({
991
991
  }) {
992
992
  const {
993
993
  isEnabled: re,
994
- component: F
994
+ component: k
995
995
  } = v, {
996
996
  buttonText: te = "",
997
997
  btnVariant: B = "primary",
998
998
  btnsize: P = "small"
999
999
  } = U;
1000
1000
  return /* @__PURE__ */ $("div", { className: `${i["ckds-input-field-container"]} ${n}`, children: [
1001
- x && /* @__PURE__ */ $(qe, { children: [
1001
+ y && /* @__PURE__ */ $(Oe, { children: [
1002
1002
  /* @__PURE__ */ $(
1003
1003
  "span",
1004
1004
  {
1005
1005
  className: `${i.label} ${ee ? i.mandatory : ""}`,
1006
1006
  children: [
1007
- y,
1008
- c,
1009
- typeof z == "function" ? z() : z
1007
+ h,
1008
+ d,
1009
+ typeof q == "function" ? q() : q
1010
1010
  ]
1011
1011
  }
1012
1012
  ),
1013
- R && /* @__PURE__ */ a("span", { className: R.style, children: R.text })
1013
+ z && /* @__PURE__ */ a("span", { className: z.style, children: z.text })
1014
1014
  ] }),
1015
- re && F,
1015
+ re && k,
1016
1016
  p && /* @__PURE__ */ a(
1017
1017
  "div",
1018
1018
  {
1019
- className: `${i.icon} ${x ? i["icon-with-label"] : ""}`,
1019
+ className: `${i.icon} ${y ? i["icon-with-label"] : ""}`,
1020
1020
  children: typeof p == "string" ? /* @__PURE__ */ a(
1021
1021
  "img",
1022
1022
  {
@@ -1034,14 +1034,14 @@ function mo({
1034
1034
  name: r,
1035
1035
  type: o,
1036
1036
  value: s,
1037
- placeholder: E ? "" : d,
1037
+ placeholder: E ? "" : c,
1038
1038
  onChange: t,
1039
1039
  onBlur: j,
1040
1040
  onFocus: W,
1041
- disabled: O,
1041
+ disabled: F,
1042
1042
  autoComplete: Y,
1043
- error: !!(q && l),
1044
- helperText: q && l ? l : "",
1043
+ error: !!(O && l),
1044
+ helperText: O && l ? l : "",
1045
1045
  slotProps: {
1046
1046
  htmlInput: {
1047
1047
  maxLength: H || void 0,
@@ -1061,22 +1061,22 @@ function mo({
1061
1061
  }
1062
1062
  }
1063
1063
  ),
1064
- h && /* @__PURE__ */ $(
1064
+ x && /* @__PURE__ */ $(
1065
1065
  "span",
1066
1066
  {
1067
- className: `${h.style} ${q && l ? i["error-text"] : ""}`,
1067
+ className: `${x.style} ${O && l ? i["error-text"] : ""}`,
1068
1068
  children: [
1069
- h.text,
1070
- h.icon
1069
+ x.text,
1070
+ x.icon
1071
1071
  ]
1072
1072
  }
1073
1073
  ),
1074
- k && /* @__PURE__ */ a("div", { className: k.label, children: k.component }),
1075
- w && s && !O && /* @__PURE__ */ a(
1074
+ R && /* @__PURE__ */ a("div", { className: R.label, children: R.component }),
1075
+ w && s && !F && /* @__PURE__ */ a(
1076
1076
  "span",
1077
1077
  {
1078
1078
  "aria-hidden": "true",
1079
- className: `${i["clear-icon"]} ${x ? i["clear-icon-with-label"] : ""}`,
1079
+ className: `${i["clear-icon"]} ${y ? i["clear-icon-with-label"] : ""}`,
1080
1080
  onClick: () => I?.(o, r),
1081
1081
  children: "✕"
1082
1082
  }
@@ -1085,8 +1085,8 @@ function mo({
1085
1085
  "span",
1086
1086
  {
1087
1087
  "aria-hidden": "true",
1088
- className: `${i["show-hide-password"]} ${x ? i["show-hide-password-with-label"] : ""} ${O || !s ? i.disabled : ""}`,
1089
- onClick: () => !O && g?.(o, r),
1088
+ className: `${i["show-hide-password"]} ${y ? i["show-hide-password-with-label"] : ""} ${F || !s ? i.disabled : ""}`,
1089
+ onClick: () => !F && _?.(o, r),
1090
1090
  children: typeof b == "string" ? /* @__PURE__ */ a(
1091
1091
  "img",
1092
1092
  {
@@ -1103,20 +1103,20 @@ function mo({
1103
1103
  variant: B,
1104
1104
  size: P,
1105
1105
  className: "rounded-[3px] !font-bold ml-[10px]",
1106
- disabled: O || !s || !!l,
1106
+ disabled: F || !s || !!l,
1107
1107
  onChange: () => m?.(
1108
1108
  o,
1109
1109
  r
1110
1110
  )
1111
1111
  }
1112
1112
  ) }),
1113
- _ && (typeof _ == "string" ? /* @__PURE__ */ a(
1113
+ g && (typeof g == "string" ? /* @__PURE__ */ a(
1114
1114
  "span",
1115
1115
  {
1116
- className: `${i["helper-text"]} ${O ? i.disabled : ""}`,
1117
- children: _
1116
+ className: `${i["helper-text"]} ${F ? i.disabled : ""}`,
1117
+ children: g
1118
1118
  }
1119
- ) : _)
1119
+ ) : g)
1120
1120
  ] });
1121
1121
  }
1122
1122
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ck-ui/component-library",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "type": "module",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",