@temp-spotwork/ui 1.7.3 → 1.7.5

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.js +17 -17
  5. package/dist/components/atoms/conversation/chatheader/chatheader.js +1 -1
  6. package/dist/components/atoms/form/calendar/calendar-date-cell.js +7 -7
  7. package/dist/components/atoms/form/calendar/calendar-month.js +1 -1
  8. package/dist/components/atoms/form/calendar/calendar-utils.js +1 -1
  9. package/dist/components/atoms/form/calendar/calendar.js +1 -1
  10. package/dist/components/atoms/form/calendar/calendar.stories.js +2 -2
  11. package/dist/components/atoms/form/calendar/month-header.js +1 -1
  12. package/dist/components/atoms/form/checkbox/checkbox.js +1 -1
  13. package/dist/components/atoms/form/chips/chips.js +1 -1
  14. package/dist/components/atoms/form/dateselect/date-calendar.js +1 -1
  15. package/dist/components/atoms/form/dateselect/date-dropdown-header.js +1 -1
  16. package/dist/components/atoms/form/dateselect/date-input.js +3 -3
  17. package/dist/components/atoms/form/dateselect/date-month-year-switch.js +1 -1
  18. package/dist/components/atoms/form/dateselect/dateselect.js +4 -4
  19. package/dist/components/atoms/form/dateselect/month-switch.js +3 -3
  20. package/dist/components/atoms/form/dateselect/year-switch.js +4 -4
  21. package/dist/components/atoms/form/dropdown/dropdown.js +2 -2
  22. package/dist/components/atoms/form/dropdown/styles.js +1 -1
  23. package/dist/components/atoms/form/multiselect/multiselect.js +1 -1
  24. package/dist/components/atoms/form/navigation/navigation.js +1 -1
  25. package/dist/components/atoms/form/stepper/stepper.js +1 -1
  26. package/dist/components/atoms/form/switch/switch.js +4 -4
  27. package/dist/components/atoms/form/textarea/rich-textarea.js +1 -1
  28. package/dist/components/atoms/form/textarea/textarea.js +1 -1
  29. package/dist/components/atoms/form/textfield/textfield.js +1 -1
  30. package/dist/components/atoms/form/time-picker/time-picker-dropdown.js +2 -2
  31. package/dist/components/atoms/form/time-picker/time-picker-input.js +2 -2
  32. package/dist/components/atoms/form/time-picker/time-picker.js +1 -1
  33. package/dist/components/atoms/form/time-picker/time-picker.stories.js +1 -1
  34. package/dist/components/atoms/form/timeselect/hours-switch.js +2 -2
  35. package/dist/components/atoms/form/timeselect/minutes-switch.js +2 -2
  36. package/dist/components/atoms/form/timeselect/timeselect.js +1 -1
  37. package/dist/components/atoms/icons/icons.js +6 -6
  38. package/dist/components/atoms/icons/icons.stories.js +1 -1
  39. package/dist/components/atoms/navigation/navigation-item/navigation-item.d.ts +14 -1
  40. package/dist/components/atoms/navigation/navigation-item/navigation-item.js +56 -56
  41. package/dist/components/atoms/small-large-text/SmallLargeText.stories.d.ts +11 -0
  42. package/dist/components/atoms/small-large-text/SmallLargeText.stories.js +60 -0
  43. package/dist/components/atoms/small-large-text/small-large-text.js +22 -12
  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 -6
  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 -6
  53. package/dist/components/molecules/drawer/drawer.js +14 -12
  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 -5
  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-BUPlWHWk.js → snackbar-B9zd5z5s.js} +21 -19
  88. package/dist/{startOfToday-BPMZZniU.js → startOfToday-CHlrckpa.js} +1 -1
  89. package/package.json +3 -2
  90. package/dist/purify.es-CcKdJiNO.js +0 -595
@@ -2,8 +2,8 @@ import { jsx as s, jsxs as _ } from "react/jsx-runtime";
2
2
  import * as w from "react";
3
3
  import fe, { useState as F } from "react";
4
4
  import { c as Q } from "../../../../index-rKs9bXHr.js";
5
- import { u as pe, c as T, a as k, b as B, d as he, e as Se } from "../../../../index-DLKZ-XYv.js";
6
- import { c as ve, u as ge } from "../../../../index-ByBd5wKB.js";
5
+ import { n as pe, e as T, c as k, m as B, q as he, h as Se } from "../../../../index-DL5wn_Sh.js";
6
+ import { c as ve, u as ge } from "../../../../index-C_XRprxd.js";
7
7
  import { u as be } from "../../../../index-BZPx6jYI.js";
8
8
  import { Typography as K } from "../../../styles/typography/typography.js";
9
9
  import { Badge as we } from "../../../atoms/badge/badge.js";
@@ -11,7 +11,7 @@ import { Icons as xe } from "../../../atoms/icons/icons.js";
11
11
  import "../../../atoms/icons/iconsSVGs/Large/Profile.js";
12
12
  import "../../../atoms/icons/iconsSVGs/Small/Profile.js";
13
13
  import { styles as ye } from "./styles.js";
14
- import { c as L } from "../../../../index-fN7hCOo3.js";
14
+ import { c as L } from "../../../../index-Y8TYOJJY.js";
15
15
  var Z = ["PageUp", "PageDown"], ee = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], te = {
16
16
  "from-left": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
17
17
  "from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
@@ -1,6 +1,6 @@
1
1
  import { outlinedBorder as r, border as e } from "../../../styles/defaults/defaults.js";
2
2
  import "react";
3
- import "../../../../purify.es-CcKdJiNO.js";
3
+ import "../../../../purify.es-Bxiq5T7l.js";
4
4
  import { styleMap as n } from "../../../styles/typography/style.js";
5
5
  import "../../../styles/colors/colormap.js";
6
6
  const d = (t, l) => ({
@@ -3,7 +3,7 @@ import { useState as n } from "react";
3
3
  import { Icons as c } from "../../atoms/icons/icons.js";
4
4
  import "../../atoms/icons/iconsSVGs/Large/Profile.js";
5
5
  import "../../atoms/icons/iconsSVGs/Small/Profile.js";
6
- import { c as d } from "../../../index-fN7hCOo3.js";
6
+ import { c as d } from "../../../index-Y8TYOJJY.js";
7
7
  import { Typography as x } from "../../styles/typography/typography.js";
8
8
  import { baseStyle as $, flexItems as C, typographyStyle as M } from "./styles.js";
9
9
  import "../../styles/colors/colors.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { t } from "../../../../bundle-mjs-BjFsLjkg.js";
3
3
  import { NavigationItem as a } from "../../../atoms/navigation/navigation-item/navigation-item.js";
4
- import { I as n } from "../../../../index-QKj2bKph.js";
4
+ import { I as n } from "../../../../index-Bm3lnWO8.js";
5
5
  function u({ options: m, classNames: o }) {
6
6
  return /* @__PURE__ */ r(
7
7
  "div",
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
- import { R as c, T as f, P as m, C as d } from "../../../../index-QKj2bKph.js";
2
+ import { R as c, T as f, P as m, C as d } from "../../../../index-Bm3lnWO8.js";
3
3
  import { t as u } from "../../../../bundle-mjs-BjFsLjkg.js";
4
4
  function h({
5
5
  trigger: a,
@@ -1,19 +1,19 @@
1
- import { jsx as r, jsxs as o, Fragment as h } from "react/jsx-runtime";
2
- import { NavigationItem as s } from "../../../atoms/navigation/navigation-item/navigation-item.js";
3
- import { u as v, a as c } from "../../../../react-spring_web.modern-BzbxCya-.js";
4
- import { R as b, P as p, O as x, C as N, T as k, D as y } from "../../../../index-Ck3lRuRz.js";
1
+ import { jsx as r, jsxs as i, Fragment as h } from "react/jsx-runtime";
2
+ import { NavigationItem as t } from "../../../atoms/navigation/navigation-item/navigation-item.js";
3
+ import { b as g, a as s } from "../../../../react-spring_web.modern-CKwWSQke.js";
4
+ import { R as b, P as v, O as x, C as N, T as k, D as y } from "../../../../index-CYMdFyYH.js";
5
5
  import "../../../styles/colors/colors.js";
6
6
  import { surface as C } from "../../../styles/colors/colormap.js";
7
7
  function z({
8
- open: i,
9
- setOpen: t,
8
+ open: a,
9
+ setOpen: c,
10
10
  topItems: d,
11
- bottomItems: a = [],
11
+ bottomItems: l = [],
12
12
  transitionDuration: f = 300,
13
- width: u = "22.5rem",
14
- overlayTransparent: n = !1
13
+ width: m = "22.5rem",
14
+ overlayTransparent: o = !1
15
15
  }) {
16
- const m = v(i, {
16
+ const p = g(a, {
17
17
  from: { opacity: 0, transform: "translateX(-100%)" },
18
18
  enter: { opacity: 1, transform: "translateX(0%)" },
19
19
  leave: { opacity: 1 },
@@ -21,9 +21,9 @@ function z({
21
21
  duration: f
22
22
  }
23
23
  });
24
- return /* @__PURE__ */ r(b, { open: i, onOpenChange: t, modal: !n, children: /* @__PURE__ */ r(p, { children: m(
25
- (l, g) => g ? /* @__PURE__ */ o(h, { children: [
26
- !n && /* @__PURE__ */ r(c.div, { style: { opacity: l.opacity }, children: /* @__PURE__ */ r(
24
+ return /* @__PURE__ */ r(b, { open: a, onOpenChange: c, modal: !o, children: /* @__PURE__ */ r(v, { children: p(
25
+ (n, u) => u ? /* @__PURE__ */ i(h, { children: [
26
+ !o && /* @__PURE__ */ r(s.div, { style: { opacity: n.opacity }, children: /* @__PURE__ */ r(
27
27
  x,
28
28
  {
29
29
  forceMount: !0,
@@ -34,35 +34,32 @@ function z({
34
34
  }
35
35
  }
36
36
  ) }),
37
- /* @__PURE__ */ o(N, { forceMount: !0, "data-state": i ? "open" : "close", children: [
37
+ /* @__PURE__ */ i(N, { forceMount: !0, "data-state": a ? "open" : "close", children: [
38
38
  /* @__PURE__ */ r(k, { className: "sr-only", children: "Navigation Sidebar" }),
39
39
  /* @__PURE__ */ r(y, { className: "sr-only", children: "Navigation menu with links to different sections" }),
40
- /* @__PURE__ */ o(
41
- c.div,
40
+ /* @__PURE__ */ i(
41
+ s.div,
42
42
  {
43
- style: { transform: l.transform, width: u },
44
- className: `fixed top-[6rem] left-0 h-screen z-50 bg-surface-default focus:outline-none flex flex-col ${n ? "border-[0.1rem] border-bcolor-divider" : "shadow-[0rem_1rem_1rem_0rem_#B0B0B0] border-t-[0.1rem] border-bcolor-divider"}`,
43
+ style: { transform: n.transform, width: m },
44
+ className: `fixed top-[6rem] left-0 h-screen z-50 bg-surface-default focus:outline-none flex flex-col ${o ? "border-[0.1rem] border-bcolor-divider" : "shadow-[0rem_1rem_1rem_0rem_#B0B0B0] border-t-[0.1rem] border-bcolor-divider"}`,
45
45
  children: [
46
- /* @__PURE__ */ r("div", { className: "flex flex-col gap-xs p-md flex-1", children: d.map((e) => /* @__PURE__ */ o(
47
- "a",
46
+ /* @__PURE__ */ r("div", { className: "flex flex-col gap-xs p-md flex-1", children: d.map((e) => /* @__PURE__ */ r(
47
+ t,
48
48
  {
49
- href: e.link,
49
+ ...e,
50
+ isNavigation: !0,
50
51
  onClick: () => e.onClick(e.link),
51
- className: "group focus-visible:ring-2 focus-visible:ring-shadow-active focus:outline-none rounded hover:bg-bcolor-divider block no-underline",
52
- children: [
53
- " ",
54
- /* @__PURE__ */ r(s, { ...e, isNavigation: !0 })
55
- ]
52
+ href: e.link
56
53
  },
57
54
  e.label
58
55
  )) }),
59
- a.length > 0 && /* @__PURE__ */ r("div", { className: "flex flex-col gap-lg p-md", children: a.map((e) => /* @__PURE__ */ r(
60
- "a",
56
+ l.length > 0 && /* @__PURE__ */ r("div", { className: "flex flex-col gap-lg p-md", children: l.map((e) => /* @__PURE__ */ r(
57
+ t,
61
58
  {
62
- href: e.link,
59
+ ...e,
60
+ isNavigation: !0,
63
61
  onClick: () => e.onClick(e.link),
64
- className: "group focus-visible:ring-2 focus-visible:ring-shadow-active focus:outline-none rounded hover:bg-bcolor-divider block no-underline",
65
- children: /* @__PURE__ */ r(s, { ...e, isNavigation: !0 })
62
+ href: e.link
66
63
  },
67
64
  e.label
68
65
  )) })
@@ -1,6 +1,6 @@
1
1
  import { jsx as t, jsxs as a } from "react/jsx-runtime";
2
2
  import { useState as l } from "react";
3
- import { S as r, P as c, V as d } from "../../../snackbar-BUPlWHWk.js";
3
+ import { S as r, P as c, V as d } from "../../../snackbar-B9zd5z5s.js";
4
4
  import { Button as h } from "../button/button.js";
5
5
  const w = {
6
6
  title: "@spotwork-ui/Snackbar",
@@ -1,4 +1,4 @@
1
- import { S as o } from "../../../snackbar-BUPlWHWk.js";
1
+ import { S as o } from "../../../snackbar-B9zd5z5s.js";
2
2
  export {
3
3
  o as Snackbar
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { S as D } from "../../../snackbar-BUPlWHWk.js";
2
+ import { S as F } from "../../../snackbar-B9zd5z5s.js";
3
3
  import "../../styles/tailwind-config/index.js";
4
4
  import "../../styles/typography/typography.js";
5
5
  import "../../styles/colors/colors.js";
@@ -7,14 +7,15 @@ import "../../styles/colors/colormap.js";
7
7
  import "../../atoms/icons/icons.js";
8
8
  import "../../atoms/icons/iconsSVGs/Large/Profile.js";
9
9
  import "../../atoms/icons/iconsSVGs/Small/Profile.js";
10
- import "../../../index-fN7hCOo3.js";
10
+ import "../../../index-Y8TYOJJY.js";
11
11
  import "react";
12
+ import "../../atoms/navigation/navigation-item/navigation-item.js";
12
13
  import "../../atoms/form/dateselect/dateselect.js";
13
14
  import "../../atoms/form/time-picker/time-picker.js";
14
15
  import "../../atoms/form/dropdown/dropdown.js";
15
16
  import "../filter/dropdown-selector/styles.js";
16
17
  import "../../atoms/form/dropdown-search/dropdown-search.js";
17
- import "../../../index-DMvnp-vR.js";
18
+ import "../../../index-e0vK3ttb.js";
18
19
  import "../../atoms/form/textfield/textfield.js";
19
20
  import "../../atoms/form/stepper/stepper.js";
20
21
  import "../../atoms/form/textarea/textarea.js";
@@ -23,10 +24,11 @@ import "../../atoms/form/timeselect/timeselect.js";
23
24
  import "../button/button.js";
24
25
  import "../datatables/cell/cell.js";
25
26
  import "../dataviz/donut-chart/donut-chart.js";
26
- import "../../../react-spring_web.modern-BzbxCya-.js";
27
+ import "../../../react-spring_web.modern-CKwWSQke.js";
27
28
  import "../form/radiogroup/radiogroup.js";
29
+ import "../../../purify.es-Bxiq5T7l.js";
28
30
  import "../../../card-Cc2Qkiqr.js";
29
31
  import "./styles.js";
30
32
  export {
31
- D as Snackbar
33
+ F as Snackbar
32
34
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
2
  import { crusta as r, cinnabar as m, blueRibbon as t, apple as o, sun as v, woodsmoke as h } from "./colormap.js";
3
- import { c as l } from "../../../index-fN7hCOo3.js";
3
+ import { c as l } from "../../../index-Y8TYOJJY.js";
4
4
  const N = Object.entries(r), b = Object.entries(m), u = Object.entries(t), p = Object.entries(o), g = Object.entries(v), x = Object.entries(h), d = "w-8 h-8 m-1", c = "text-xs justify-center align-middle text-center", n = "flex flex-row align-middle justify-center text-center";
5
5
  function V() {
6
6
  return /* @__PURE__ */ a("div", { className: "flex flex-col m-2", children: [
@@ -1,5 +1,5 @@
1
1
  import { createElement as f } from "react";
2
- import { p as l } from "../../../purify.es-CcKdJiNO.js";
2
+ import { p as l } from "../../../purify.es-Bxiq5T7l.js";
3
3
  import { styleMap as y, fontFamilyMap as T, fontWeightMap as L, fontSizeMap as d, textTypeMap as s } from "./style.js";
4
4
  import { glyphClassesMap as $ } from "../colors/colormap.js";
5
5
  function E({
@@ -1,8 +1,8 @@
1
1
  const s = 6048e5, n = 864e5, o = 6e4, c = 36e5, i = 1e3;
2
2
  export {
3
- n as a,
4
- s as b,
5
- c,
6
- i as d,
7
- o as m
3
+ c as a,
4
+ o as b,
5
+ i as c,
6
+ s as d,
7
+ n as m
8
8
  };
@@ -1,6 +1,6 @@
1
1
  import { c as w, a as _, s as W, g as T } from "./startOfWeek-DBvLd9He.js";
2
2
  import { t as l } from "./toDate-DF9e2eS8.js";
3
- import { a as L, b as q } from "./constants-BfMb81ht.js";
3
+ import { m as L, d as q } from "./constants-B4duAnvD.js";
4
4
  function A(t, e) {
5
5
  const n = l(t);
6
6
  if (isNaN(e)) return w(t, NaN);
@@ -1209,15 +1209,15 @@ function jt(t) {
1209
1209
  export {
1210
1210
  Jt as a,
1211
1211
  A as b,
1212
- Q as c,
1213
- k as d,
1214
- Dt as e,
1212
+ S as c,
1213
+ Yt as d,
1214
+ kt as e,
1215
1215
  $t as f,
1216
- Yt as g,
1217
- S as h,
1218
- kt as i,
1216
+ Dt as g,
1217
+ Q as h,
1218
+ qt as i,
1219
1219
  Ht as j,
1220
- qt as k,
1220
+ k,
1221
1221
  Ft as l,
1222
1222
  Y as s,
1223
1223
  Qt as w
@@ -1,7 +1,7 @@
1
1
  import * as a from "react";
2
- import { e as me, f as le, a as N, c as M, b as $, u as Pe, j as ve, R as gn, A as wn, P as te, g as hn, i as De, o as _n, D as Cn, C as Rn, k as In, l as En, q as ye } from "./index-DLKZ-XYv.js";
3
- import { c as Te, u as xe } from "./index-ByBd5wKB.js";
4
- import { h as bn, u as Sn, R as Pn, F as Dn } from "./Combination-B1NSOvaC.js";
2
+ import { h as me, o as le, c as N, e as M, m as $, n as Pe, u as ve, d as gn, A as wn, b as te, P as hn, i as De, l as _n, D as Cn, C as Rn, j as In, a as En, f as ye } from "./index-DL5wn_Sh.js";
3
+ import { c as Te, u as xe } from "./index-C_XRprxd.js";
4
+ import { h as bn, u as Sn, R as Pn, F as Dn } from "./Combination-Cmsu7uVq.js";
5
5
  import { jsx as s } from "react/jsx-runtime";
6
6
  var de = "rovingFocusGroup.onEntryFocus", yn = { bubbles: !1, cancelable: !0 }, z = "RovingFocusGroup", [fe, Ae, Tn] = Te(z), [xn, Ne] = me(
7
7
  z,
@@ -173,11 +173,11 @@ var Kn = Oe, Un = ke, pe = ["Enter", " "], $n = ["ArrowDown", "PageUp", "Home"],
173
173
  }, Yn = {
174
174
  ltr: ["ArrowLeft"],
175
175
  rtl: ["ArrowRight"]
176
- }, q = "Menu", [H, Xn, jn] = Te(q), [k, Ke] = me(q, [
176
+ }, Z = "Menu", [H, Xn, jn] = Te(Z), [k, Ke] = me(Z, [
177
177
  jn,
178
178
  De,
179
179
  Ne
180
- ]), re = De(), Ue = Ne(), [Hn, G] = k(q), [Wn, Z] = k(q), $e = (e) => {
180
+ ]), re = De(), Ue = Ne(), [Hn, G] = k(Z), [Wn, q] = k(Z), $e = (e) => {
181
181
  const { __scopeMenu: o, open: n = !1, children: t, dir: r, onOpenChange: c, modal: d = !0 } = e, l = re(o), [m, v] = a.useState(null), i = a.useRef(!1), u = ve(c), f = xe(r);
182
182
  return a.useEffect(() => {
183
183
  const w = () => {
@@ -208,7 +208,7 @@ var Kn = Oe, Un = ke, pe = ["Enter", " "], $n = ["ArrowDown", "PageUp", "Home"],
208
208
  }
209
209
  ) });
210
210
  };
211
- $e.displayName = q;
211
+ $e.displayName = Z;
212
212
  var zn = "MenuAnchor", Me = a.forwardRef(
213
213
  (e, o) => {
214
214
  const { __scopeMenu: n, ...t } = e, r = re(n);
@@ -216,16 +216,16 @@ var zn = "MenuAnchor", Me = a.forwardRef(
216
216
  }
217
217
  );
218
218
  Me.displayName = zn;
219
- var ge = "MenuPortal", [qn, Be] = k(ge, {
219
+ var ge = "MenuPortal", [Zn, Be] = k(ge, {
220
220
  forceMount: void 0
221
221
  }), Ve = (e) => {
222
222
  const { __scopeMenu: o, forceMount: n, children: t, container: r } = e, c = G(ge, o);
223
- return /* @__PURE__ */ s(qn, { scope: o, forceMount: n, children: /* @__PURE__ */ s(te, { present: n || c.open, children: /* @__PURE__ */ s(hn, { asChild: !0, container: r, children: t }) }) });
223
+ return /* @__PURE__ */ s(Zn, { scope: o, forceMount: n, children: /* @__PURE__ */ s(te, { present: n || c.open, children: /* @__PURE__ */ s(hn, { asChild: !0, container: r, children: t }) }) });
224
224
  };
225
225
  Ve.displayName = ge;
226
- var S = "MenuContent", [Zn, we] = k(S), Ye = a.forwardRef(
226
+ var S = "MenuContent", [qn, we] = k(S), Ye = a.forwardRef(
227
227
  (e, o) => {
228
- const n = Be(S, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = G(S, e.__scopeMenu), d = Z(S, e.__scopeMenu);
228
+ const n = Be(S, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = G(S, e.__scopeMenu), d = q(S, e.__scopeMenu);
229
229
  return /* @__PURE__ */ s(H.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(te, { present: t || c.open, children: /* @__PURE__ */ s(H.Slot, { scope: e.__scopeMenu, children: d.modal ? /* @__PURE__ */ s(Jn, { ...r, ref: o }) : /* @__PURE__ */ s(Qn, { ...r, ref: o }) }) }) });
230
230
  }
231
231
  ), Jn = a.forwardRef(
@@ -281,7 +281,7 @@ var S = "MenuContent", [Zn, we] = k(S), Ye = a.forwardRef(
281
281
  onDismiss: w,
282
282
  disableOutsideScroll: g,
283
283
  ...E
284
- } = e, h = G(S, n), I = Z(S, n), x = re(n), _ = Ue(n), P = Xn(n), [B, J] = a.useState(null), O = a.useRef(null), C = $(o, O, h.onContentChange), L = a.useRef(0), F = a.useRef(""), V = a.useRef(0), Y = a.useRef(null), Q = a.useRef("right"), ee = a.useRef(0), se = g ? Pn : a.Fragment, y = g ? { as: eo, allowPinchZoom: !0 } : void 0, Mn = (p) => {
284
+ } = e, h = G(S, n), I = q(S, n), x = re(n), _ = Ue(n), P = Xn(n), [B, J] = a.useState(null), O = a.useRef(null), C = $(o, O, h.onContentChange), L = a.useRef(0), F = a.useRef(""), V = a.useRef(0), Y = a.useRef(null), Q = a.useRef("right"), ee = a.useRef(0), se = g ? Pn : a.Fragment, y = g ? { as: eo, allowPinchZoom: !0 } : void 0, Mn = (p) => {
285
285
  var U, Ee;
286
286
  const b = F.current + p, D = P().filter((T) => !T.disabled), A = document.activeElement, ue = (U = D.find((T) => T.ref.current === A)) == null ? void 0 : U.textValue, ie = D.map((T) => T.textValue), Ie = po(ie, b, ue), X = (Ee = D.find((T) => T.textValue === Ie)) == null ? void 0 : Ee.ref.current;
287
287
  (function T(be) {
@@ -294,7 +294,7 @@ var S = "MenuContent", [Zn, we] = k(S), Ye = a.forwardRef(
294
294
  return Q.current === ((D = Y.current) == null ? void 0 : D.side) && vo(p, (A = Y.current) == null ? void 0 : A.area);
295
295
  }, []);
296
296
  return /* @__PURE__ */ s(
297
- Zn,
297
+ qn,
298
298
  {
299
299
  scope: n,
300
300
  searchRef: F,
@@ -418,7 +418,7 @@ var oo = "MenuLabel", Xe = a.forwardRef(
418
418
  Xe.displayName = oo;
419
419
  var ne = "MenuItem", Se = "menu.itemSelect", ae = a.forwardRef(
420
420
  (e, o) => {
421
- const { disabled: n = !1, onSelect: t, ...r } = e, c = a.useRef(null), d = Z(ne, e.__scopeMenu), l = we(ne, e.__scopeMenu), m = $(o, c), v = a.useRef(!1), i = () => {
421
+ const { disabled: n = !1, onSelect: t, ...r } = e, c = a.useRef(null), d = q(ne, e.__scopeMenu), l = we(ne, e.__scopeMenu), m = $(o, c), v = a.useRef(!1), i = () => {
422
422
  const u = c.current;
423
423
  if (!n && u) {
424
424
  const f = new CustomEvent(Se, { bubbles: !0, cancelable: !0 });
@@ -519,9 +519,9 @@ var We = "MenuRadioGroup", [ro, ao] = k(
519
519
  }
520
520
  );
521
521
  ze.displayName = We;
522
- var qe = "MenuRadioItem", Ze = a.forwardRef(
522
+ var Ze = "MenuRadioItem", qe = a.forwardRef(
523
523
  (e, o) => {
524
- const { value: n, ...t } = e, r = ao(qe, e.__scopeMenu), c = n === r.value;
524
+ const { value: n, ...t } = e, r = ao(Ze, e.__scopeMenu), c = n === r.value;
525
525
  return /* @__PURE__ */ s(Je, { scope: e.__scopeMenu, checked: c, children: /* @__PURE__ */ s(
526
526
  ae,
527
527
  {
@@ -542,7 +542,7 @@ var qe = "MenuRadioItem", Ze = a.forwardRef(
542
542
  ) });
543
543
  }
544
544
  );
545
- Ze.displayName = qe;
545
+ qe.displayName = Ze;
546
546
  var Ce = "MenuItemIndicator", [Je, co] = k(
547
547
  Ce,
548
548
  { checked: !1 }
@@ -590,7 +590,7 @@ var uo = "MenuArrow", nn = a.forwardRef(
590
590
  nn.displayName = uo;
591
591
  var io = "MenuSub", [at, on] = k(io), j = "MenuSubTrigger", tn = a.forwardRef(
592
592
  (e, o) => {
593
- const n = G(j, e.__scopeMenu), t = Z(j, e.__scopeMenu), r = on(j, e.__scopeMenu), c = we(j, e.__scopeMenu), d = a.useRef(null), { pointerGraceTimerRef: l, onPointerGraceIntentChange: m } = c, v = { __scopeMenu: e.__scopeMenu }, i = a.useCallback(() => {
593
+ const n = G(j, e.__scopeMenu), t = q(j, e.__scopeMenu), r = on(j, e.__scopeMenu), c = we(j, e.__scopeMenu), d = a.useRef(null), { pointerGraceTimerRef: l, onPointerGraceIntentChange: m } = c, v = { __scopeMenu: e.__scopeMenu }, i = a.useCallback(() => {
594
594
  d.current && window.clearTimeout(d.current), d.current = null;
595
595
  }, []);
596
596
  return a.useEffect(() => i, [i]), a.useEffect(() => {
@@ -661,7 +661,7 @@ var io = "MenuSub", [at, on] = k(io), j = "MenuSubTrigger", tn = a.forwardRef(
661
661
  tn.displayName = j;
662
662
  var rn = "MenuSubContent", an = a.forwardRef(
663
663
  (e, o) => {
664
- const n = Be(S, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = G(S, e.__scopeMenu), d = Z(S, e.__scopeMenu), l = on(rn, e.__scopeMenu), m = a.useRef(null), v = $(o, m);
664
+ const n = Be(S, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = G(S, e.__scopeMenu), d = q(S, e.__scopeMenu), l = on(rn, e.__scopeMenu), m = a.useRef(null), v = $(o, m);
665
665
  return /* @__PURE__ */ s(H.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(te, { present: t || c.open, children: /* @__PURE__ */ s(H.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(
666
666
  he,
667
667
  {
@@ -738,7 +738,7 @@ function vo(e, o) {
738
738
  function W(e) {
739
739
  return (o) => o.pointerType === "mouse" ? e(o) : void 0;
740
740
  }
741
- var Mo = $e, go = Me, wo = Ve, ho = Ye, _o = _e, Co = Xe, Ro = ae, Io = He, Eo = ze, bo = Ze, So = Qe, Po = en, Do = nn, yo = tn, To = an, ce = "DropdownMenu", [xo] = me(
741
+ var Mo = $e, go = Me, wo = Ve, ho = Ye, _o = _e, Co = Xe, Ro = ae, Io = He, Eo = ze, bo = qe, So = Qe, Po = en, Do = nn, yo = tn, To = an, ce = "DropdownMenu", [xo] = me(
742
742
  ce,
743
743
  [Ke]
744
744
  ), R = Ke(), [Ao, sn] = xo(ce), un = (e) => {
@@ -882,18 +882,18 @@ var Ho = "DropdownMenuSeparator", Wo = a.forwardRef((e, o) => {
882
882
  return /* @__PURE__ */ s(Po, { ...r, ...t, ref: o });
883
883
  });
884
884
  Wo.displayName = Ho;
885
- var zo = "DropdownMenuArrow", qo = a.forwardRef(
885
+ var zo = "DropdownMenuArrow", Zo = a.forwardRef(
886
886
  (e, o) => {
887
887
  const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
888
888
  return /* @__PURE__ */ s(Do, { ...r, ...t, ref: o });
889
889
  }
890
890
  );
891
- qo.displayName = zo;
892
- var Zo = "DropdownMenuSubTrigger", Jo = a.forwardRef((e, o) => {
891
+ Zo.displayName = zo;
892
+ var qo = "DropdownMenuSubTrigger", Jo = a.forwardRef((e, o) => {
893
893
  const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
894
894
  return /* @__PURE__ */ s(yo, { ...r, ...t, ref: o });
895
895
  });
896
- Jo.displayName = Zo;
896
+ Jo.displayName = qo;
897
897
  var Qo = "DropdownMenuSubContent", et = a.forwardRef((e, o) => {
898
898
  const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
899
899
  return /* @__PURE__ */ s(
@@ -1,10 +1,10 @@
1
1
  import * as t from "react";
2
- import { u as Re, R as Qe, f as Ie, b as B, A as et, a as M, c as E, g as tt, h as Y, r as be, i as _e, j as ot, D as nt, e as rt, k as st, C as lt, l as ct } from "./index-DLKZ-XYv.js";
2
+ import { n as Re, d as Qe, o as Ie, m as B, A as et, c as M, e as E, P as tt, p as Y, r as be, i as _e, u as ot, D as nt, h as rt, j as st, C as lt, a as ct } from "./index-DL5wn_Sh.js";
3
3
  import { c as Ee } from "./index-rKs9bXHr.js";
4
- import { u as at, c as it } from "./index-ByBd5wKB.js";
5
- import { h as dt, u as ut, R as pt, F as ft } from "./Combination-B1NSOvaC.js";
4
+ import { u as at, c as it } from "./index-C_XRprxd.js";
5
+ import { h as dt, u as ut, R as pt, F as ft } from "./Combination-Cmsu7uVq.js";
6
6
  import { u as mt } from "./index-BZPx6jYI.js";
7
- import { V as ht } from "./index-Bam3aisa.js";
7
+ import { V as ht } from "./index-CSucbNlF.js";
8
8
  import { jsx as m, jsxs as ce, Fragment as Te } from "react/jsx-runtime";
9
9
  var vt = [" ", "Enter", "ArrowUp", "ArrowDown"], gt = [" ", "Enter"], J = "Select", [ie, de, St] = it(J), [te] = rt(J, [
10
10
  St,
@@ -816,9 +816,9 @@ export {
816
816
  $t as I,
817
817
  Jt as P,
818
818
  Xt as R,
819
- oo as S,
819
+ no as S,
820
820
  Zt as T,
821
821
  eo as V,
822
822
  to as a,
823
- no as b
823
+ oo as b
824
824
  };
@@ -1,5 +1,5 @@
1
1
  import * as s from "react";
2
- import { P as L, a as I, u as O, b as N, c as S, d as j, e as H } from "./index-DLKZ-XYv.js";
2
+ import { b as L, c as P, n as O, m as N, e as S, q as j, h as H } from "./index-DL5wn_Sh.js";
3
3
  import { u as z } from "./index-BZPx6jYI.js";
4
4
  import { jsx as h, jsxs as G, Fragment as K } from "react/jsx-runtime";
5
5
  var _ = "Checkbox", [U] = H(_), [X, g] = U(_);
@@ -25,7 +25,7 @@ function J(t) {
25
25
  }), [m, v] = s.useState(null), [R, o] = s.useState(null), n = s.useRef(!1), E = m ? !!f || !!m.closest("form") : (
26
26
  // We set this to true by default so that events bubble to forms without JS (SSR)
27
27
  !0
28
- ), P = {
28
+ ), I = {
29
29
  checked: l,
30
30
  disabled: e,
31
31
  setChecked: x,
@@ -45,8 +45,8 @@ function J(t) {
45
45
  X,
46
46
  {
47
47
  scope: a,
48
- ...P,
49
- children: W(i) ? i(P) : u
48
+ ...I,
49
+ children: W(i) ? i(I) : u
50
50
  }
51
51
  );
52
52
  }
@@ -71,7 +71,7 @@ var w = "CheckboxTrigger", B = s.forwardRef(
71
71
  return o.addEventListener("reset", n), () => o.removeEventListener("reset", n);
72
72
  }
73
73
  }, [e, i]), /* @__PURE__ */ h(
74
- I.button,
74
+ P.button,
75
75
  {
76
76
  type: "button",
77
77
  role: "checkbox",
@@ -130,7 +130,7 @@ var Q = s.forwardRef(
130
130
  }
131
131
  ),
132
132
  l && /* @__PURE__ */ h(
133
- q,
133
+ T,
134
134
  {
135
135
  __scopeCheckbox: c
136
136
  }
@@ -141,15 +141,15 @@ var Q = s.forwardRef(
141
141
  }
142
142
  );
143
143
  Q.displayName = _;
144
- var M = "CheckboxIndicator", V = s.forwardRef(
144
+ var q = "CheckboxIndicator", V = s.forwardRef(
145
145
  (t, a) => {
146
- const { __scopeCheckbox: c, forceMount: u, ...r } = t, e = g(M, c);
146
+ const { __scopeCheckbox: c, forceMount: u, ...r } = t, e = g(q, c);
147
147
  return /* @__PURE__ */ h(
148
148
  L,
149
149
  {
150
150
  present: u || b(e.checked) || e.checked === !0,
151
151
  children: /* @__PURE__ */ h(
152
- I.span,
152
+ P.span,
153
153
  {
154
154
  "data-state": A(e.checked),
155
155
  "data-disabled": e.disabled ? "" : void 0,
@@ -162,8 +162,8 @@ var M = "CheckboxIndicator", V = s.forwardRef(
162
162
  );
163
163
  }
164
164
  );
165
- V.displayName = M;
166
- var T = "CheckboxBubbleInput", q = s.forwardRef(
165
+ V.displayName = q;
166
+ var M = "CheckboxBubbleInput", T = s.forwardRef(
167
167
  ({ __scopeCheckbox: t, ...a }, c) => {
168
168
  const {
169
169
  control: u,
@@ -177,7 +177,7 @@ var T = "CheckboxBubbleInput", q = s.forwardRef(
177
177
  form: i,
178
178
  bubbleInput: l,
179
179
  setBubbleInput: x
180
- } = g(T, t), m = N(c, x), v = z(e), R = j(u);
180
+ } = g(M, t), m = N(c, x), v = z(e), R = j(u);
181
181
  s.useEffect(() => {
182
182
  const n = l;
183
183
  if (!n) return;
@@ -192,7 +192,7 @@ var T = "CheckboxBubbleInput", q = s.forwardRef(
192
192
  }, [l, v, e, r]);
193
193
  const o = s.useRef(b(e) ? !1 : e);
194
194
  return /* @__PURE__ */ h(
195
- I.input,
195
+ P.input,
196
196
  {
197
197
  type: "checkbox",
198
198
  "aria-hidden": !0,
@@ -221,7 +221,7 @@ var T = "CheckboxBubbleInput", q = s.forwardRef(
221
221
  );
222
222
  }
223
223
  );
224
- q.displayName = T;
224
+ T.displayName = M;
225
225
  function W(t) {
226
226
  return typeof t == "function";
227
227
  }