@temp-spotwork/ui 1.7.4 → 1.7.6

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 (90) hide show
  1. package/dist/{Combination-B1NSOvaC.js → Combination-Cmsu7uVq.js} +1 -1
  2. package/dist/{_commonjsHelpers-BkfeUUK-.js → _commonjsHelpers-BVfed4GL.js} +2 -2
  3. package/dist/{addYears-D3POA9ql.js → addYears-BWBSd1NA.js} +1 -1
  4. package/dist/components/atoms/avatar/Avatar.stories.d.ts +6 -0
  5. package/dist/components/atoms/avatar/Avatar.stories.js +70 -12
  6. package/dist/components/atoms/avatar/avatar.js +30 -30
  7. package/dist/components/atoms/conversation/chatheader/chatheader.js +1 -1
  8. package/dist/components/atoms/form/calendar/calendar-date-cell.js +7 -7
  9. package/dist/components/atoms/form/calendar/calendar-month.js +1 -1
  10. package/dist/components/atoms/form/calendar/calendar-utils.js +1 -1
  11. package/dist/components/atoms/form/calendar/calendar.js +1 -1
  12. package/dist/components/atoms/form/calendar/calendar.stories.js +2 -2
  13. package/dist/components/atoms/form/calendar/month-header.js +1 -1
  14. package/dist/components/atoms/form/checkbox/checkbox.js +1 -1
  15. package/dist/components/atoms/form/chips/chips.js +1 -1
  16. package/dist/components/atoms/form/dateselect/date-calendar.js +1 -1
  17. package/dist/components/atoms/form/dateselect/date-dropdown-header.js +1 -1
  18. package/dist/components/atoms/form/dateselect/date-input.js +3 -3
  19. package/dist/components/atoms/form/dateselect/date-month-year-switch.js +1 -1
  20. package/dist/components/atoms/form/dateselect/dateselect.js +4 -4
  21. package/dist/components/atoms/form/dateselect/month-switch.js +3 -3
  22. package/dist/components/atoms/form/dateselect/year-switch.js +4 -4
  23. package/dist/components/atoms/form/dropdown/dropdown.js +2 -2
  24. package/dist/components/atoms/form/dropdown/styles.js +1 -1
  25. package/dist/components/atoms/form/multiselect/multiselect.js +1 -1
  26. package/dist/components/atoms/form/navigation/navigation.js +1 -1
  27. package/dist/components/atoms/form/stepper/stepper.js +1 -1
  28. package/dist/components/atoms/form/switch/switch.js +4 -4
  29. package/dist/components/atoms/form/textarea/rich-textarea.js +1 -1
  30. package/dist/components/atoms/form/textarea/textarea.js +1 -1
  31. package/dist/components/atoms/form/textfield/textfield.js +1 -1
  32. package/dist/components/atoms/form/time-picker/time-picker-dropdown.js +2 -2
  33. package/dist/components/atoms/form/time-picker/time-picker-input.js +2 -2
  34. package/dist/components/atoms/form/time-picker/time-picker.js +1 -1
  35. package/dist/components/atoms/form/time-picker/time-picker.stories.js +1 -1
  36. package/dist/components/atoms/form/timeselect/hours-switch.js +2 -2
  37. package/dist/components/atoms/form/timeselect/minutes-switch.js +2 -2
  38. package/dist/components/atoms/form/timeselect/timeselect.js +1 -1
  39. package/dist/components/atoms/icons/icons.js +6 -6
  40. package/dist/components/atoms/icons/icons.stories.js +1 -1
  41. package/dist/components/atoms/navigation/navigation-item/navigation-item.d.ts +14 -1
  42. package/dist/components/atoms/navigation/navigation-item/navigation-item.js +56 -56
  43. package/dist/components/atoms/small-large-text/small-large-text.js +7 -6
  44. package/dist/components/atoms/tooltip/tooltip.js +5 -5
  45. package/dist/components/atoms/tooltip/tooltip.stories.js +1 -1
  46. package/dist/components/molecules/alert/alert.js +8 -7
  47. package/dist/components/molecules/conversation/contact/contact.js +1 -1
  48. package/dist/components/molecules/conversation/message-editor/message-editor.js +1 -1
  49. package/dist/components/molecules/datatables/row-header/row-header.js +1 -1
  50. package/dist/components/molecules/dataviz/donut-chart/donut-chart.js +1 -1
  51. package/dist/components/molecules/dataviz/dot-matrix/dot-matrix.js +1 -1
  52. package/dist/components/molecules/dialog/dialog.js +8 -7
  53. package/dist/components/molecules/drawer/drawer.js +14 -13
  54. package/dist/components/molecules/filter/checkbox/checkbox.js +1 -1
  55. package/dist/components/molecules/filter/context-search/context-search.js +1 -1
  56. package/dist/components/molecules/filter/date-range-selector/date-range-selector.js +4 -4
  57. package/dist/components/molecules/filter/date-selector/date-selector.js +4 -4
  58. package/dist/components/molecules/filter/dropdown-selector/dropdown-selector.js +2 -2
  59. package/dist/components/molecules/filter/dropdown-selector/styles.js +1 -1
  60. package/dist/components/molecules/filter/range-selector/range-selector.js +3 -3
  61. package/dist/components/molecules/filter/range-selector/styles.js +1 -1
  62. package/dist/components/molecules/link/link.js +1 -1
  63. package/dist/components/molecules/navigation/context-menu/context-menu.js +1 -1
  64. package/dist/components/molecules/navigation/menubar/menubar.js +1 -1
  65. package/dist/components/molecules/navigation/sidebar/sidebar.js +28 -31
  66. package/dist/components/molecules/snackbar/Snackbar.stories.js +1 -1
  67. package/dist/components/molecules/snackbar/index.js +1 -1
  68. package/dist/components/molecules/snackbar/snackbar.js +7 -6
  69. package/dist/components/styles/colors/colors.js +1 -1
  70. package/dist/components/styles/typography/typography.js +1 -1
  71. package/dist/{constants-BfMb81ht.js → constants-B4duAnvD.js} +5 -5
  72. package/dist/{format-BwmhcciO.js → format-BuDzOByC.js} +8 -8
  73. package/dist/{index-QKj2bKph.js → index-Bm3lnWO8.js} +23 -23
  74. package/dist/{index-DVNTJNwY.js → index-C8EuuBMC.js} +6 -6
  75. package/dist/{index-B9jfXCBx.js → index-CRTzrqB9.js} +14 -14
  76. package/dist/{index-Bam3aisa.js → index-CSucbNlF.js} +17 -17
  77. package/dist/{index-Ck3lRuRz.js → index-CYMdFyYH.js} +10 -10
  78. package/dist/{index-ByBd5wKB.js → index-C_XRprxd.js} +3 -3
  79. package/dist/{index-DLKZ-XYv.js → index-DL5wn_Sh.js} +20 -20
  80. package/dist/{index-fN7hCOo3.js → index-Y8TYOJJY.js} +1 -1
  81. package/dist/{index-DMvnp-vR.js → index-e0vK3ttb.js} +1 -1
  82. package/dist/{isToday-DmBTkQMq.js → isToday-CO0rX_Nr.js} +2 -2
  83. package/dist/{lodash-CyvSh4lH.js → lodash-Da6oICkd.js} +1 -1
  84. package/dist/main.js +22 -22
  85. package/dist/purify.es-Bxiq5T7l.js +590 -0
  86. package/dist/{react-spring_web.modern-BzbxCya-.js → react-spring_web.modern-CKwWSQke.js} +3 -3
  87. package/dist/{snackbar-CHpPc7Hi.js → snackbar-B9zd5z5s.js} +21 -20
  88. package/dist/{startOfToday-BPMZZniU.js → startOfToday-CHlrckpa.js} +1 -1
  89. package/package.json +1 -1
  90. package/dist/purify.es-CcKdJiNO.js +0 -595
@@ -1,6 +1,6 @@
1
1
  import * as u from "react";
2
2
  import { useState as ge } from "react";
3
- import { j as q, b as ye, a as be } from "./index-DLKZ-XYv.js";
3
+ import { u as q, m as ye, c as be } from "./index-DL5wn_Sh.js";
4
4
  import { jsx as Ee } from "react/jsx-runtime";
5
5
  var _ = 0;
6
6
  function yt() {
@@ -22,7 +22,7 @@ function l(e) {
22
22
  }), t;
23
23
  }
24
24
  export {
25
- l as a,
25
+ f as a,
26
26
  u as c,
27
- f as g
27
+ l as g
28
28
  };
@@ -1,4 +1,4 @@
1
- import { b as o } from "./format-BwmhcciO.js";
1
+ import { b as o } from "./format-BuDzOByC.js";
2
2
  function d(a, r) {
3
3
  return o(a, r * 12);
4
4
  }
@@ -7,3 +7,9 @@ type Story = StoryObj<typeof meta>;
7
7
  export declare const Circular: Story;
8
8
  export declare const WithFullName: Story;
9
9
  export declare const LargeWithFullName: Story;
10
+ export declare const SingleName: Story;
11
+ export declare const WhitespaceName: Story;
12
+ export declare const EmptyName: Story;
13
+ export declare const NoTextView: Story;
14
+ export declare const NullName: Story;
15
+ export declare const EdgeCasesShowcase: Story;
@@ -1,8 +1,9 @@
1
- import { f as a } from "../../../index-Dpx0xQmQ.js";
2
- import { Avatar as r } from "./avatar.js";
3
- const o = {
1
+ import { jsx as a, jsxs as l } from "react/jsx-runtime";
2
+ import { f as s } from "../../../index-Dpx0xQmQ.js";
3
+ import { Avatar as t } from "./avatar.js";
4
+ const v = {
4
5
  title: "@spotwork-ui/Avatar",
5
- component: r,
6
+ component: t,
6
7
  parameters: {
7
8
  layout: "centered"
8
9
  },
@@ -10,19 +11,19 @@ const o = {
10
11
  argTypes: {
11
12
  backgroundColor: { control: "color" }
12
13
  },
13
- args: { onClick: a() }
14
- }, i = {
14
+ args: { onClick: s() }
15
+ }, u = {
15
16
  args: {
16
17
  id: "circular-avatar",
17
18
  variant: "circular"
18
19
  }
19
- }, c = {
20
+ }, d = {
20
21
  args: {
21
22
  id: "full-name-avatar",
22
23
  variant: "circular",
23
24
  textView: "Steve Bob"
24
25
  }
25
- }, l = {
26
+ }, x = {
26
27
  args: {
27
28
  id: "large-full-name-avatar",
28
29
  variant: "circular",
@@ -30,10 +31,67 @@ const o = {
30
31
  size: 9,
31
32
  isActive: !0
32
33
  }
34
+ }, g = {
35
+ args: {
36
+ id: "single-name-avatar",
37
+ variant: "circular",
38
+ textView: "Steve"
39
+ }
40
+ }, p = {
41
+ args: {
42
+ id: "whitespace-name-avatar",
43
+ variant: "circular",
44
+ textView: " "
45
+ }
46
+ }, w = {
47
+ args: {
48
+ id: "empty-name-avatar",
49
+ variant: "circular",
50
+ textView: ""
51
+ }
52
+ }, f = {
53
+ args: {
54
+ id: "no-text-view-avatar",
55
+ variant: "circular"
56
+ }
57
+ }, V = {
58
+ args: {
59
+ id: "null-name-avatar",
60
+ variant: "circular",
61
+ textView: null
62
+ }
63
+ }, c = [
64
+ { label: "Full name", textView: "Steve Bob" },
65
+ { label: "Single name", textView: "Steve" },
66
+ { label: 'Whitespace " "', textView: " " },
67
+ { label: 'Empty ""', textView: "" },
68
+ { label: "Undefined", textView: void 0 },
69
+ { label: "Null", textView: null }
70
+ ], N = {
71
+ render: () => /* @__PURE__ */ a("div", { className: "flex flex-wrap gap-6", children: c.map(({ label: r, textView: i }, e) => /* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-2", children: [
72
+ /* @__PURE__ */ a(
73
+ t,
74
+ {
75
+ id: `showcase-${e}`,
76
+ variant: "circular",
77
+ textView: i
78
+ }
79
+ ),
80
+ /* @__PURE__ */ a("span", { className: "text-xs text-gray-600", children: r })
81
+ ] }, e)) }),
82
+ parameters: {
83
+ layout: "padded"
84
+ }
33
85
  };
34
86
  export {
35
- i as Circular,
36
- l as LargeWithFullName,
37
- c as WithFullName,
38
- o as default
87
+ u as Circular,
88
+ N as EdgeCasesShowcase,
89
+ w as EmptyName,
90
+ x as LargeWithFullName,
91
+ f as NoTextView,
92
+ V as NullName,
93
+ g as SingleName,
94
+ p as WhitespaceName,
95
+ d as WithFullName,
96
+ v as default
39
97
  };
@@ -1,38 +1,38 @@
1
- import { jsx as r, Fragment as g, jsxs as I } from "react/jsx-runtime";
2
- import { Typography as y } from "../../styles/typography/typography.js";
3
- import { classesMap as D } from "./styles.js";
4
- import F from "./statusIndicatorIcon.js";
5
- import { t as l } from "../../../bundle-mjs-BjFsLjkg.js";
6
- function w({
7
- id: E,
1
+ import { jsx as r, Fragment as b, jsxs as _ } from "react/jsx-runtime";
2
+ import { Typography as I } from "../../styles/typography/typography.js";
3
+ import { classesMap as y } from "./styles.js";
4
+ import D from "./statusIndicatorIcon.js";
5
+ import { t as c } from "../../../bundle-mjs-BjFsLjkg.js";
6
+ function j({
7
+ id: g,
8
8
  hasBorder: i = !1,
9
9
  variant: d,
10
10
  image: m,
11
- textView: u = "NN",
11
+ textView: E = "NN",
12
12
  isActive: n,
13
13
  isOnline: v = !1,
14
14
  onClick: s,
15
15
  size: t
16
16
  }) {
17
17
  const C = (() => {
18
- const e = u.trim().split(/\s+/);
19
- return e.length > 1 ? (e[0][0] + e[e.length - 1][0]).toUpperCase() : e.length === 1 ? e[0][0].toUpperCase() : u;
20
- })(), a = d === "circular", o = a ? 5 : 5.5, c = t ? t / o : 1, p = D[d](i), h = !a && i && n ? "border-bcolor-active" : "border-bcolor-divider", S = t && o > t ? 1 : 7, U = () => {
21
- s && s(E);
22
- }, A = m ? /* @__PURE__ */ r(g, { children: /* @__PURE__ */ r(
18
+ const e = (E ?? "").trim().split(/\s+/).filter(Boolean);
19
+ return e.length === 0 ? "NN" : e.length === 1 ? e[0][0].toUpperCase() : (e[0][0] + e[e.length - 1][0]).toUpperCase();
20
+ })(), a = d === "circular", o = a ? 5 : 5.5, l = t ? t / o : 1, u = y[d](i), p = !a && i && n ? "border-bcolor-active" : "border-bcolor-divider", S = t && o > t ? 1 : 7, U = () => {
21
+ s && s(g);
22
+ }, x = m ? /* @__PURE__ */ r(b, { children: /* @__PURE__ */ r(
23
23
  "img",
24
24
  {
25
- className: l(p.image, h),
25
+ className: c(u.image, p),
26
26
  src: m,
27
27
  alt: "avatar-image"
28
28
  }
29
- ) }) : /* @__PURE__ */ r(g, { children: /* @__PURE__ */ r(
29
+ ) }) : /* @__PURE__ */ r(b, { children: /* @__PURE__ */ r(
30
30
  "div",
31
31
  {
32
32
  "data-testid": "avatar-text-box",
33
- className: l(p.textBox, h),
33
+ className: c(u.textBox, p),
34
34
  children: /* @__PURE__ */ r(
35
- y,
35
+ I,
36
36
  {
37
37
  swStyle: S,
38
38
  children: C,
@@ -40,20 +40,20 @@ function w({
40
40
  }
41
41
  )
42
42
  }
43
- ) }), f = 0.25, x = a && v && !n && /* @__PURE__ */ r(
43
+ ) }), f = 0.25, A = a && v && !n && /* @__PURE__ */ r(
44
44
  "div",
45
45
  {
46
46
  className: "absolute",
47
47
  style: {
48
- bottom: `${c * f}rem`,
49
- right: `${c * f}rem`
48
+ bottom: `${l * f}rem`,
49
+ right: `${l * f}rem`
50
50
  },
51
51
  "data-testid": "avatar-online-status",
52
- children: /* @__PURE__ */ r(F, { scalingFactor: c })
52
+ children: /* @__PURE__ */ r(D, { scalingFactor: l })
53
53
  }
54
- ), b = s ? "button" : "div", _ = () => a && n ? "border-bcolor-active" : "border-[transparent]";
55
- return /* @__PURE__ */ I(
56
- b,
54
+ ), h = s ? "button" : "div", N = () => a && n ? "border-bcolor-active" : "border-[transparent]";
55
+ return /* @__PURE__ */ _(
56
+ h,
57
57
  {
58
58
  "data-testid": "avatar-container",
59
59
  onClick: U,
@@ -61,19 +61,19 @@ function w({
61
61
  width: `${t || o}rem`,
62
62
  height: `${t || o}rem`
63
63
  },
64
- className: l(
64
+ className: c(
65
65
  "flex items-center justify-center flex-shrink-0 flex-grow-0 relative",
66
- _(),
66
+ N(),
67
67
  "aspect-square"
68
68
  ),
69
- ...b === "button" ? { type: "button" } : {},
69
+ ...h === "button" ? { type: "button" } : {},
70
70
  children: [
71
- A,
72
- x
71
+ x,
72
+ A
73
73
  ]
74
74
  }
75
75
  );
76
76
  }
77
77
  export {
78
- w as Avatar
78
+ j as Avatar
79
79
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as t } from "react";
3
- import { c as l } from "../../../../index-fN7hCOo3.js";
3
+ import { c as l } from "../../../../index-Y8TYOJJY.js";
4
4
  import { chatHeaderIconContainer as k, chatHeader as x, fixedWidth as v } from "./styles.js";
5
5
  import { Icons as i } from "../../icons/icons.js";
6
6
  import "../../icons/iconsSVGs/Large/Profile.js";
@@ -1,10 +1,10 @@
1
1
  import { jsx as s, jsxs as C } from "react/jsx-runtime";
2
2
  import { isValidElement as B } from "react";
3
- import { m as a } from "../../../../index-DMvnp-vR.js";
3
+ import { m as a } from "../../../../index-e0vK3ttb.js";
4
4
  import { Typography as N } from "../../../styles/typography/typography.js";
5
5
  import { t as T } from "../../../../bundle-mjs-BjFsLjkg.js";
6
6
  import { isDateInCurrentMonth as F, isDateSelected as j, isDateDisabled as M, isDateSelectable as G } from "./calendar-utils.js";
7
- import { T as H, a as J, b as K, C as L, A as Q } from "../../../../index-Bam3aisa.js";
7
+ import { T as H, b as J, P as K, C as L, A as Q } from "../../../../index-CSucbNlF.js";
8
8
  import { toolTipStyles as R } from "../../../styles/tool-tip/styles.js";
9
9
  const z = ({
10
10
  date: l,
@@ -14,12 +14,12 @@ const z = ({
14
14
  onCellRef: I,
15
15
  minDate: w,
16
16
  maxDate: g,
17
- month: k,
17
+ month: P,
18
18
  timezone: i,
19
19
  overrideTooltip: h,
20
20
  readOnly: d
21
21
  }) => {
22
- const y = a.tz(l, i).isSame(a.tz(/* @__PURE__ */ new Date(), i), "day"), A = l.toISOString().split("T")[0], P = (o) => {
22
+ const y = a.tz(l, i).isSame(a.tz(/* @__PURE__ */ new Date(), i), "day"), k = l.toISOString().split("T")[0], A = (o) => {
23
23
  if (S || M(o.date, i, w, g)) return;
24
24
  const x = [...c], q = j(
25
25
  o.date,
@@ -28,7 +28,7 @@ const z = ({
28
28
  );
29
29
  let p;
30
30
  q ? p = x.filter((b) => !a.tz(b.date, i).isSame(o.date, "day")) : p = [...x, o], u == null || u(p);
31
- }, E = F(l, k, i), e = j(
31
+ }, E = F(l, P, i), e = j(
32
32
  l,
33
33
  c.map((o) => o.date),
34
34
  i
@@ -42,13 +42,13 @@ const z = ({
42
42
  type: "button",
43
43
  "aria-disabled": n || !m,
44
44
  "aria-selected": e,
45
- ref: (o) => I(A, o),
45
+ ref: (o) => I(k, o),
46
46
  className: T(t),
47
47
  onMouseDown: (o) => {
48
48
  o.preventDefault();
49
49
  },
50
50
  onClick: (o) => {
51
- o.stopPropagation(), !n && m && !(r != null && r.isDisabled) && P({ date: l });
51
+ o.stopPropagation(), !n && m && !(r != null && r.isDisabled) && A({ date: l });
52
52
  },
53
53
  children: /* @__PURE__ */ s(
54
54
  N,
@@ -1,6 +1,6 @@
1
1
  import { jsx as g, Fragment as Z, jsxs as _ } from "react/jsx-runtime";
2
2
  import { useState as B, useRef as N, useMemo as A, useCallback as H, useEffect as z } from "react";
3
- import { m as i } from "../../../../index-DMvnp-vR.js";
3
+ import { m as i } from "../../../../index-e0vK3ttb.js";
4
4
  import { CalendarDateCell as tt } from "./calendar-date-cell.js";
5
5
  import { isDateSelectable as et, isDateInCurrentMonth as nt, isDateDisabled as ot } from "./calendar-utils.js";
6
6
  import { MonthHeader as rt } from "./month-header.js";
@@ -1,4 +1,4 @@
1
- import { m as n } from "../../../../index-DMvnp-vR.js";
1
+ import { m as n } from "../../../../index-e0vK3ttb.js";
2
2
  const o = (t, e, r) => e.some((s) => n.tz(s, r).isSame(t, "day")), d = (t, e, r, s) => !!(r && n.tz(t, e).endOf("day").isBefore(r) || s && n.tz(t, e).endOf("day").isAfter(s)), f = (t, e, r) => n.tz(t, r).isSame(e, "month"), u = (t, e, r) => {
3
3
  const s = e.find((i) => n.tz(i.date, r).isSame(t, "day"));
4
4
  return !(s != null && s.isDisabled);
@@ -2,7 +2,7 @@ import { jsxs as z, jsx as r } from "react/jsx-runtime";
2
2
  import { useState as y, useEffect as C } from "react";
3
3
  import { CalendarDates as b } from "./calendar-month.js";
4
4
  import { t as j } from "../../../../bundle-mjs-BjFsLjkg.js";
5
- import { m as t } from "../../../../index-DMvnp-vR.js";
5
+ import { m as t } from "../../../../index-e0vK3ttb.js";
6
6
  import { StickyButton as p } from "./sticky-button.js";
7
7
  const q = ({
8
8
  selectedDates: n = [],
@@ -1,8 +1,8 @@
1
1
  import { jsxs as a, jsx as o } from "react/jsx-runtime";
2
2
  import { useState as c } from "react";
3
3
  import { Calendar as l } from "./calendar.js";
4
- import { m as t } from "../../../../index-DMvnp-vR.js";
5
- import { P as m } from "../../../../index-Bam3aisa.js";
4
+ import { m as t } from "../../../../index-e0vK3ttb.js";
5
+ import { a as m } from "../../../../index-CSucbNlF.js";
6
6
  import { Button as s } from "../../../molecules/button/button.js";
7
7
  const C = {
8
8
  title: "@spotwork-ui/atoms/form/Calendar",
@@ -1,5 +1,5 @@
1
1
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import { m as c } from "../../../../index-DMvnp-vR.js";
2
+ import { m as c } from "../../../../index-e0vK3ttb.js";
3
3
  import { Typography as r } from "../../../styles/typography/typography.js";
4
4
  const n = ({ month: m, timezone: s }) => /* @__PURE__ */ a("div", { className: "select-none pb-md", children: [
5
5
  /* @__PURE__ */ e("div", { className: "flex items-center justify-center mb-md", children: /* @__PURE__ */ e(r, { swStyle: 5, color: "active", className: "font-medium", children: c(m).tz(s).format("MMMM YYYY") }) }),
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
- import { C as f, a as b } from "../../../../index-B9jfXCBx.js";
2
+ import { C as f, a as b } from "../../../../index-CRTzrqB9.js";
3
3
  import { Icons as p } from "../../icons/icons.js";
4
4
  import "../../icons/iconsSVGs/Large/Profile.js";
5
5
  import "../../icons/iconsSVGs/Small/Profile.js";
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as f } from "react/jsx-runtime";
2
2
  import { colorVariants as A, badgeColorMapInverted as k, classesMap as O } from "./styles.js";
3
3
  import { Icons as x } from "../../icons/icons.js";
4
4
  import { svgs as b } from "../../icons/iconMap.js";
5
- import { c as w } from "../../../../index-fN7hCOo3.js";
5
+ import { c as w } from "../../../../index-Y8TYOJJY.js";
6
6
  import { Typography as m } from "../../../styles/typography/typography.js";
7
7
  import { Badge as R } from "../../badge/badge.js";
8
8
  import { t as v } from "../../../../bundle-mjs-BjFsLjkg.js";
@@ -1,7 +1,7 @@
1
1
  import { jsxs as Y, jsx as a } from "react/jsx-runtime";
2
2
  import { t as M } from "../../../../bundle-mjs-BjFsLjkg.js";
3
3
  import { Typography as p } from "../../../styles/typography/typography.js";
4
- import { m as e } from "../../../../index-DMvnp-vR.js";
4
+ import { m as e } from "../../../../index-e0vK3ttb.js";
5
5
  const T = ({
6
6
  currentMonth: l,
7
7
  value: i,
@@ -3,7 +3,7 @@ import { Icons as r } from "../../icons/icons.js";
3
3
  import "../../icons/iconsSVGs/Large/Profile.js";
4
4
  import "../../icons/iconsSVGs/Small/Profile.js";
5
5
  import { Typography as n } from "../../../styles/typography/typography.js";
6
- import { m as s } from "../../../../index-DMvnp-vR.js";
6
+ import { m as s } from "../../../../index-e0vK3ttb.js";
7
7
  const h = ({
8
8
  currentMonth: o,
9
9
  onPreviousMonth: t,
@@ -1,15 +1,15 @@
1
1
  import { jsxs as ie, jsx as Ct } from "react/jsx-runtime";
2
2
  import Q from "react";
3
- import { g as re } from "../../../../_commonjsHelpers-BkfeUUK-.js";
3
+ import { a as re } from "../../../../_commonjsHelpers-BVfed4GL.js";
4
4
  import { t as Ot } from "../../../../bundle-mjs-BjFsLjkg.js";
5
- import "../../../../purify.es-CcKdJiNO.js";
5
+ import "../../../../purify.es-Bxiq5T7l.js";
6
6
  import { styleMap as ne } from "../../../styles/typography/style.js";
7
7
  import "../../../styles/colors/colormap.js";
8
8
  import { Icons as ae } from "../../icons/icons.js";
9
9
  import "../../icons/iconsSVGs/Large/Profile.js";
10
10
  import "../../icons/iconsSVGs/Small/Profile.js";
11
11
  import { outlinedBorder as ue } from "../../../styles/defaults/defaults.js";
12
- import { m as J } from "../../../../index-DMvnp-vR.js";
12
+ import { m as J } from "../../../../index-e0vK3ttb.js";
13
13
  function Z(a) {
14
14
  return typeof a == "string" || a instanceof String;
15
15
  }
@@ -5,7 +5,7 @@ import "../../icons/iconsSVGs/Small/Profile.js";
5
5
  import { Typography as f } from "../../../styles/typography/typography.js";
6
6
  import { MonthSwitch as h } from "./month-switch.js";
7
7
  import { YearSwitch as y } from "./year-switch.js";
8
- import { m as p } from "../../../../index-DMvnp-vR.js";
8
+ import { m as p } from "../../../../index-e0vK3ttb.js";
9
9
  const j = ({
10
10
  currentMonth: t,
11
11
  value: o,
@@ -5,15 +5,15 @@ import "../../icons/iconsSVGs/Large/Profile.js";
5
5
  import "../../icons/iconsSVGs/Small/Profile.js";
6
6
  import { getStyles as X } from "./styles.js";
7
7
  import { t as k } from "../../../../bundle-mjs-BjFsLjkg.js";
8
- import { m as n } from "../../../../index-DMvnp-vR.js";
8
+ import { m as n } from "../../../../index-e0vK3ttb.js";
9
9
  import { Typography as A } from "../../../styles/typography/typography.js";
10
10
  import { getLabelColor as Z, getInnerIconColor as tt, getBorderClasses as et, getHelperTextColor as ot } from "../utils-for-forms/state-functions.js";
11
11
  import { FormHelperText as nt } from "../form-helper-text/form-helper-text.js";
12
12
  import { DateInput as rt } from "./date-input.js";
13
13
  import { DateDropdown as st } from "./date-dropdown.js";
14
- import { s as at } from "../../../../startOfToday-BPMZZniU.js";
15
- import { a as L } from "../../../../addYears-D3POA9ql.js";
16
- import { f as b } from "../../../../format-BwmhcciO.js";
14
+ import { s as at } from "../../../../startOfToday-CHlrckpa.js";
15
+ import { a as L } from "../../../../addYears-BWBSd1NA.js";
16
+ import { f as b } from "../../../../format-BuDzOByC.js";
17
17
  const zt = l.forwardRef(
18
18
  ({
19
19
  label: R,
@@ -4,12 +4,12 @@ import { Icons as S } from "../../icons/icons.js";
4
4
  import "../../icons/iconsSVGs/Large/Profile.js";
5
5
  import "../../icons/iconsSVGs/Small/Profile.js";
6
6
  import { getStyles as I } from "./styles.js";
7
- import { l as P } from "../../../../lodash-CyvSh4lH.js";
7
+ import { l as P } from "../../../../lodash-Da6oICkd.js";
8
8
  import { t as V } from "../../../../bundle-mjs-BjFsLjkg.js";
9
9
  import { eachMonthOfInterval as W } from "./helpers.js";
10
10
  import { Typography as N } from "../../../styles/typography/typography.js";
11
- import { m as k } from "../../../../index-DMvnp-vR.js";
12
- import { b as L, a as x, f as p } from "../../../../format-BwmhcciO.js";
11
+ import { m as k } from "../../../../index-e0vK3ttb.js";
12
+ import { b as L, a as x, f as p } from "../../../../format-BuDzOByC.js";
13
13
  import { i as u } from "../../../../isWithinInterval-BTUruC3j.js";
14
14
  import { s as w, a as R } from "../../../../set-CXVt2sL3.js";
15
15
  function U(a, o) {
@@ -3,15 +3,15 @@ import { Icons as v } from "../../icons/icons.js";
3
3
  import "../../icons/iconsSVGs/Large/Profile.js";
4
4
  import "../../icons/iconsSVGs/Small/Profile.js";
5
5
  import { getStyles as E } from "./styles.js";
6
- import { c as j } from "../../../../index-fN7hCOo3.js";
7
- import { l as I } from "../../../../lodash-CyvSh4lH.js";
6
+ import { c as j } from "../../../../index-Y8TYOJJY.js";
7
+ import { l as I } from "../../../../lodash-Da6oICkd.js";
8
8
  import { eachYearOfInterval as P } from "./helpers.js";
9
9
  import { Typography as N } from "../../../styles/typography/typography.js";
10
10
  import { useRef as R, useCallback as S, useEffect as V } from "react";
11
- import { a as k } from "../../../../addYears-D3POA9ql.js";
11
+ import { a as k } from "../../../../addYears-BWBSd1NA.js";
12
12
  import { i as u } from "../../../../isWithinInterval-BTUruC3j.js";
13
13
  import { s as p } from "../../../../set-CXVt2sL3.js";
14
- import { a as F, f as h } from "../../../../format-BwmhcciO.js";
14
+ import { a as F, f as h } from "../../../../format-BuDzOByC.js";
15
15
  import { t as y } from "../../../../toDate-DF9e2eS8.js";
16
16
  import { c as W } from "../../../../startOfWeek-DBvLd9He.js";
17
17
  function L(r, t) {
@@ -1,11 +1,11 @@
1
1
  import { jsxs as f, jsx as r, Fragment as Z } from "react/jsx-runtime";
2
2
  import j, { useRef as V, useState as x } from "react";
3
- import { R as ee, T as re, I as se, P as oe, C as te, S as ne, V as ce, a as le, b as ae } from "../../../../index-DVNTJNwY.js";
3
+ import { R as ee, T as re, I as se, P as oe, C as te, b as ne, V as ce, a as le, S as ae } from "../../../../index-C8EuuBMC.js";
4
4
  import { Icons as b } from "../../icons/icons.js";
5
5
  import "../../icons/iconsSVGs/Large/Profile.js";
6
6
  import "../../icons/iconsSVGs/Small/Profile.js";
7
7
  import { selectorContainer as ie, badgeStyleMap as w, triggerStyles as de, scrollButtonStyles as R, itemStyles as fe, contentStyles as he, hintStyles as me } from "./styles.js";
8
- import { c as W } from "../../../../index-fN7hCOo3.js";
8
+ import { c as W } from "../../../../index-Y8TYOJJY.js";
9
9
  import { outlinedBorder as P, border as pe } from "../../../styles/defaults/defaults.js";
10
10
  import { Checkbox as ye } from "../checkbox/checkbox.js";
11
11
  import { Typography as g } from "../../../styles/typography/typography.js";
@@ -1,4 +1,4 @@
1
- import { c as e } from "../../../../index-fN7hCOo3.js";
1
+ import { c as e } from "../../../../index-Y8TYOJJY.js";
2
2
  const r = e(
3
3
  "px-md h-[4rem] w-full flex flex-row justify-between items-center gap-md"
4
4
  ), s = e(
@@ -4,7 +4,7 @@ import { Typeahead as z } from "../typeahead/typeahead.js";
4
4
  import { Chips as L } from "../chips/chips.js";
5
5
  import { Typography as D } from "../../../styles/typography/typography.js";
6
6
  import { getBorderClasses as E, getLabelColor as G, getHelperTextColor as J } from "../utils-for-forms/state-functions.js";
7
- import { c as K } from "../../../../index-fN7hCOo3.js";
7
+ import { c as K } from "../../../../index-Y8TYOJJY.js";
8
8
  import { FormHelperText as P } from "../form-helper-text/form-helper-text.js";
9
9
  function ee({
10
10
  options: N,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
2
  import { Typography as i } from "../../../styles/typography/typography.js";
3
- import { c as o } from "../../../../index-fN7hCOo3.js";
3
+ import { c as o } from "../../../../index-Y8TYOJJY.js";
4
4
  import { subLabelClass as l, titleClass as a, container as t, pendingBorder as m, activeBorder as p } from "./styles.js";
5
5
  function v({
6
6
  type: e,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as I, jsx as o } from "react/jsx-runtime";
2
2
  import x, { useState as v, useEffect as _ } from "react";
3
- import { c as E } from "../../../../index-fN7hCOo3.js";
3
+ import { c as E } from "../../../../index-Y8TYOJJY.js";
4
4
  import { textFieldContainer as $ } from "./styles.js";
5
5
  import { Icons as R } from "../../icons/icons.js";
6
6
  import "../../icons/iconsSVGs/Large/Profile.js";
@@ -1,13 +1,13 @@
1
1
  import { jsxs as x, jsx as o } from "react/jsx-runtime";
2
2
  import * as d from "react";
3
3
  import H, { useId as M } from "react";
4
- import { b as k, u as A, a as P, c as j, d as F, e as U } from "../../../../index-DLKZ-XYv.js";
5
- import { u as q } from "../../../../index-BZPx6jYI.js";
4
+ import { m as k, n as A, c as P, e as j, q, h as F } from "../../../../index-DL5wn_Sh.js";
5
+ import { u as U } from "../../../../index-BZPx6jYI.js";
6
6
  import { Typography as z } from "../../../styles/typography/typography.js";
7
7
  import { FormHelperText as L } from "../form-helper-text/form-helper-text.js";
8
8
  import { getHelperTextColor as O } from "../utils-for-forms/state-functions.js";
9
9
  import { t as w } from "../../../../bundle-mjs-BjFsLjkg.js";
10
- var b = "Switch", [D] = U(b), [V, W] = D(b), R = d.forwardRef(
10
+ var b = "Switch", [D] = F(b), [V, W] = D(b), R = d.forwardRef(
11
11
  (e, n) => {
12
12
  const {
13
13
  __scopeSwitch: r,
@@ -86,7 +86,7 @@ var X = "SwitchBubbleInput", _ = d.forwardRef(
86
86
  bubbles: a = !0,
87
87
  ...s
88
88
  }, u) => {
89
- const c = d.useRef(null), t = k(c, u), l = q(r), f = F(n);
89
+ const c = d.useRef(null), t = k(c, u), l = U(r), f = q(n);
90
90
  return d.useEffect(() => {
91
91
  const i = c.current;
92
92
  if (!i) return;
@@ -4,7 +4,7 @@ import { Icons as q } from "../../icons/icons.js";
4
4
  import "../../icons/iconsSVGs/Large/Profile.js";
5
5
  import "../../icons/iconsSVGs/Small/Profile.js";
6
6
  import { styles as O } from "./styles.js";
7
- import { c as p } from "../../../../index-fN7hCOo3.js";
7
+ import { c as p } from "../../../../index-Y8TYOJJY.js";
8
8
  import { Typography as T } from "../../../styles/typography/typography.js";
9
9
  import { styleMap as E } from "../../../styles/typography/style.js";
10
10
  import { getLabelColor as D, getBorderClasses as j, getHelperTextColor as W } from "../utils-for-forms/state-functions.js";
@@ -4,7 +4,7 @@ import { Icons as j } from "../../icons/icons.js";
4
4
  import "../../icons/iconsSVGs/Large/Profile.js";
5
5
  import "../../icons/iconsSVGs/Small/Profile.js";
6
6
  import { styles as F } from "./styles.js";
7
- import { c as f } from "../../../../index-fN7hCOo3.js";
7
+ import { c as f } from "../../../../index-Y8TYOJJY.js";
8
8
  import { Typography as p } from "../../../styles/typography/typography.js";
9
9
  import { styleMap as H } from "../../../styles/typography/style.js";
10
10
  import { getLabelColor as R, getBorderClasses as _, getHelperTextColor as b } from "../utils-for-forms/state-functions.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
2
  import W, { useState as S } from "react";
3
- import { c } from "../../../../index-fN7hCOo3.js";
3
+ import { c } from "../../../../index-Y8TYOJJY.js";
4
4
  import { textFieldMessageEditor as q, textFieldContainer as z, helperTextContainer as D } from "./styles.js";
5
5
  import { Icons as h } from "../../icons/icons.js";
6
6
  import G from "../../icons/iconsSVGs/Large/EyeClose.js";
@@ -1,7 +1,7 @@
1
1
  import { jsxs as P, jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as V, useRef as h, useState as j, useImperativeHandle as W, useEffect as b } from "react";
3
3
  import { Typography as x } from "../../../styles/typography/typography.js";
4
- import { m as q } from "../../../../index-DMvnp-vR.js";
4
+ import { m as q } from "../../../../index-e0vK3ttb.js";
5
5
  import { t as S } from "../../../../bundle-mjs-BjFsLjkg.js";
6
6
  import { Icons as k } from "../../icons/icons.js";
7
7
  import "../../icons/iconsSVGs/Large/Profile.js";
@@ -9,7 +9,7 @@ import "../../icons/iconsSVGs/Small/Profile.js";
9
9
  import { outlinedBorder as F } from "../../../styles/defaults/defaults.js";
10
10
  import { t as d } from "../../../../toDate-DF9e2eS8.js";
11
11
  import { i as G } from "../../../../isBefore-D0yKF9R5.js";
12
- import { m as J } from "../../../../constants-BfMb81ht.js";
12
+ import { b as J } from "../../../../constants-B4duAnvD.js";
13
13
  function K(t) {
14
14
  return (r) => {
15
15
  const n = Math[t], s = n(r);