@serendie/ui 3.1.1-dev.202602260402 → 3.1.1-dev.202603310916

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 (52) hide show
  1. package/dist/client.js +5 -5
  2. package/dist/components/Avatar/Avatar.js +5 -5
  3. package/dist/components/Badge/Badge.js +1 -1
  4. package/dist/components/Banner/Banner.js +4 -4
  5. package/dist/components/BottomNavigation/BottomNavigationItem.js +4 -4
  6. package/dist/components/Button/Button.js +6 -6
  7. package/dist/components/CheckBox/CheckBox.js +4 -4
  8. package/dist/components/ChoiceBox/ChoiceBox.js +1 -1
  9. package/dist/components/DashboardWidget/DashboardWidget.js +4 -4
  10. package/dist/components/DataTable/DataTableComponent.js +16 -17
  11. package/dist/components/DataTable/table/HeaderCell.js +4 -4
  12. package/dist/components/DataTable/table/Root.js +4 -4
  13. package/dist/components/DatePicker/DatePicker.js +2 -2
  14. package/dist/components/Divider/Divider.js +4 -4
  15. package/dist/components/Drawer/Drawer.js +1 -1
  16. package/dist/components/IconButton/IconButton.js +4 -4
  17. package/dist/components/List/ListItem.js +1 -1
  18. package/dist/components/ModalDialog/ModalDialog.js +10 -10
  19. package/dist/components/NotificationBadge/NotificationBadge.js +1 -1
  20. package/dist/components/Pagination/Pagination.js +6 -6
  21. package/dist/components/RadioButton/RadioButton.js +4 -4
  22. package/dist/components/Search/Search.js +12 -12
  23. package/dist/components/Select/Select.js +7 -7
  24. package/dist/components/Switch/Switch.js +11 -11
  25. package/dist/components/Tabs/TabItem.js +6 -6
  26. package/dist/components/Tabs/Tabs.js +5 -5
  27. package/dist/components/TextArea/TextArea.js +4 -4
  28. package/dist/components/TextField/TextField.js +1 -1
  29. package/dist/components/Toast/Toast.js +6 -6
  30. package/dist/components/Tooltip/Tooltip.js +12 -12
  31. package/dist/components/TopAppBar/TopAppBar.js +4 -4
  32. package/dist/index.js +5 -5
  33. package/dist/node_modules/@ark-ui/react/dist/components/accordion/use-accordion-item-context.js +2 -3
  34. package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox-item-context.js +2 -3
  35. package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox-item-group-props-context.js +2 -3
  36. package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-item-context.js +2 -3
  37. package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-item-group-context.js +2 -3
  38. package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-option-item-props-context.js +2 -3
  39. package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-trigger-item-context.js +2 -3
  40. package/dist/node_modules/@ark-ui/react/dist/components/select/use-select-item-context.js +2 -3
  41. package/dist/node_modules/@ark-ui/react/dist/components/select/use-select-item-props-context.js +2 -3
  42. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +1 -1
  43. package/dist/node_modules/@zag-js/accordion/dist/index.js +4 -4
  44. package/dist/node_modules/@zag-js/combobox/dist/index.js +1 -1
  45. package/dist/node_modules/@zag-js/date-picker/dist/index.js +13 -13
  46. package/dist/node_modules/@zag-js/menu/dist/index.js +11 -11
  47. package/dist/node_modules/@zag-js/react/dist/index.js +1 -1
  48. package/dist/node_modules/@zag-js/remove-scroll/dist/index.js +3 -3
  49. package/dist/node_modules/@zag-js/tabs/dist/index.js +4 -4
  50. package/dist/node_modules/@zag-js/toast/dist/index.js +4 -4
  51. package/dist/node_modules/@zag-js/tooltip/dist/index.js +3 -3
  52. package/package.json +4 -1
@@ -5,19 +5,19 @@ import { ListItem as N } from "../List/ListItem.js";
5
5
  import { useAutoPortalContainer as R } from "../../hooks/useAutoPortalContainer.js";
6
6
  import { useTranslations as z } from "../../i18n/index.js";
7
7
  import { createListCollection as P } from "../../node_modules/@ark-ui/react/dist/components/collection/list-collection.js";
8
+ import { css as r } from "../../styled-system/css/css.js";
8
9
  import { Portal as V } from "../../node_modules/@ark-ui/react/dist/components/portal/portal.js";
9
- import { sva as B } from "../../styled-system/css/sva.js";
10
- import { SelectRoot as L } from "../../node_modules/@ark-ui/react/dist/components/select/select-root.js";
11
- import { cx as I } from "../../styled-system/css/cx.js";
10
+ import { cx as B } from "../../styled-system/css/cx.js";
11
+ import { sva as L } from "../../styled-system/css/sva.js";
12
+ import { SelectRoot as I } from "../../node_modules/@ark-ui/react/dist/components/select/select-root.js";
12
13
  import { SelectLabel as A } from "../../node_modules/@ark-ui/react/dist/components/select/select-label.js";
13
- import { css as r } from "../../styled-system/css/css.js";
14
14
  import { SelectControl as O } from "../../node_modules/@ark-ui/react/dist/components/select/select-control.js";
15
15
  import { SelectTrigger as j } from "../../node_modules/@ark-ui/react/dist/components/select/select-trigger.js";
16
16
  import { SelectValueText as W } from "../../node_modules/@ark-ui/react/dist/components/select/select-value-text.js";
17
17
  import { SelectPositioner as E } from "../../node_modules/@ark-ui/react/dist/components/select/select-positioner.js";
18
18
  import { SelectContent as k } from "../../node_modules/@ark-ui/react/dist/components/select/select-content.js";
19
19
  import { SelectItem as q } from "../../node_modules/@ark-ui/react/dist/components/select/select-item.js";
20
- const c = B({
20
+ const c = L({
21
21
  slots: ["root", "valueText", "trigger", "content", "item", "iconBox"],
22
22
  base: {
23
23
  root: {
@@ -176,12 +176,12 @@ const c = B({
176
176
  itemToValue: (s) => s.value
177
177
  });
178
178
  return /* @__PURE__ */ i(
179
- L,
179
+ I,
180
180
  {
181
181
  ...S,
182
182
  collection: l,
183
183
  invalid: d,
184
- className: I(o.root, u),
184
+ className: B(o.root, u),
185
185
  positioning: {
186
186
  sameWidth: !0,
187
187
  offset: {
@@ -1,14 +1,14 @@
1
1
  import { jsxs as e, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as y } from "react";
3
- import { sva as u } from "../../styled-system/css/sva.js";
4
- import { SwitchRoot as b } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-root.js";
5
3
  import { cx as t } from "../../styled-system/css/cx.js";
4
+ import { css as u } from "../../styled-system/css/css.js";
5
+ import { sva as b } from "../../styled-system/css/sva.js";
6
+ import { SwitchRoot as h } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-root.js";
6
7
  import { SwitchLabel as i } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-label.js";
7
- import { SwitchControl as h } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-control.js";
8
- import { SwitchThumb as g } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-thumb.js";
9
- import { SwitchHiddenInput as f } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-hidden-input.js";
10
- import { css as x } from "../../styled-system/css/css.js";
11
- const n = u({
8
+ import { SwitchControl as g } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-control.js";
9
+ import { SwitchThumb as f } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-thumb.js";
10
+ import { SwitchHiddenInput as x } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-hidden-input.js";
11
+ const n = b({
12
12
  slots: ["root", "control", "thumb", "label", "textGroup", "helperText"],
13
13
  base: {
14
14
  root: {
@@ -100,13 +100,13 @@ const n = u({
100
100
  ({ label: a, helperText: s, className: d, ...l }, m) => {
101
101
  const [c, p] = n.splitVariantProps(l), o = n(c);
102
102
  return /* @__PURE__ */ e(
103
- b,
103
+ h,
104
104
  {
105
105
  ref: m,
106
106
  className: t(
107
107
  "group",
108
108
  o.root,
109
- s && x({ alignItems: "flex-start" }),
109
+ s && u({ alignItems: "flex-start" }),
110
110
  d
111
111
  ),
112
112
  ...p,
@@ -115,8 +115,8 @@ const n = u({
115
115
  /* @__PURE__ */ r(i, { className: o.label, children: a }),
116
116
  s && /* @__PURE__ */ r(i, { className: o.helperText, children: s })
117
117
  ] }),
118
- /* @__PURE__ */ r(h, { className: t("control", o.control), children: /* @__PURE__ */ r(g, { className: o.thumb }) }),
119
- /* @__PURE__ */ r(f, {})
118
+ /* @__PURE__ */ r(g, { className: t("control", o.control), children: /* @__PURE__ */ r(f, { className: o.thumb }) }),
119
+ /* @__PURE__ */ r(x, {})
120
120
  ]
121
121
  }
122
122
  );
@@ -1,9 +1,9 @@
1
1
  import { jsxs as y, jsx as o } from "react/jsx-runtime";
2
2
  import { NotificationBadge as i } from "../NotificationBadge/NotificationBadge.js";
3
- import { sva as b } from "../../styled-system/css/sva.js";
4
- import { TabTrigger as u } from "../../node_modules/@ark-ui/react/dist/components/tabs/tab-trigger.js";
5
- import { cx as h } from "../../styled-system/css/cx.js";
6
- const l = b({
3
+ import { cx as b } from "../../styled-system/css/cx.js";
4
+ import { sva as u } from "../../styled-system/css/sva.js";
5
+ import { TabTrigger as h } from "../../node_modules/@ark-ui/react/dist/components/tabs/tab-trigger.js";
6
+ const l = u({
7
7
  slots: ["trigger", "dot", "badgeBox", "badge"],
8
8
  base: {
9
9
  trigger: {
@@ -69,10 +69,10 @@ const l = b({
69
69
  }) => {
70
70
  const [p, g] = l.splitVariantProps(m), e = l(p), s = r ? e.badge : "";
71
71
  return /* @__PURE__ */ y(
72
- u,
72
+ h,
73
73
  {
74
74
  value: a,
75
- className: h(e.trigger, d),
75
+ className: b(e.trigger, d),
76
76
  disabled: r,
77
77
  ...g,
78
78
  children: [
@@ -1,9 +1,9 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { sva as n } from "../../styled-system/css/sva.js";
3
- import { TabsRoot as l } from "../../node_modules/@ark-ui/react/dist/components/tabs/tabs-root.js";
4
- import { cx as p } from "../../styled-system/css/cx.js";
2
+ import { cx as n } from "../../styled-system/css/cx.js";
3
+ import { sva as l } from "../../styled-system/css/sva.js";
4
+ import { TabsRoot as p } from "../../node_modules/@ark-ui/react/dist/components/tabs/tabs-root.js";
5
5
  import { TabList as c } from "../../node_modules/@ark-ui/react/dist/components/tabs/tab-list.js";
6
- const o = n({
6
+ const o = l({
7
7
  slots: ["root", "list"],
8
8
  base: {
9
9
  root: {
@@ -19,7 +19,7 @@ const o = n({
19
19
  }
20
20
  }), u = ({ children: r, className: e, ...i }) => {
21
21
  const [a, m] = o.splitVariantProps(i), s = o(a);
22
- return /* @__PURE__ */ t(l, { className: p(s.root, e), ...m, children: /* @__PURE__ */ t(c, { className: s.list, children: r }) });
22
+ return /* @__PURE__ */ t(p, { className: n(s.root, e), ...m, children: /* @__PURE__ */ t(c, { className: s.list, children: r }) });
23
23
  };
24
24
  export {
25
25
  u as Tabs,
@@ -2,9 +2,9 @@ import { jsxs as a, jsx as s } from "react/jsx-runtime";
2
2
  import w from "../../node_modules/merge-refs/dist/esm/index.js";
3
3
  import c, { forwardRef as C } from "react";
4
4
  import { useTranslations as N } from "../../i18n/index.js";
5
- import { sva as R } from "../../styled-system/css/sva.js";
6
- import { cx as T } from "../../styled-system/css/cx.js";
7
- const p = R({
5
+ import { cx as R } from "../../styled-system/css/cx.js";
6
+ import { sva as T } from "../../styled-system/css/sva.js";
7
+ const p = T({
8
8
  slots: [
9
9
  "root",
10
10
  "label",
@@ -117,7 +117,7 @@ const p = R({
117
117
  ...l
118
118
  }, h) => {
119
119
  const x = N(), b = c.useRef(null), f = w(b, h), [S, v] = p.splitVariantProps(l), e = p(S), _ = t || i && o, m = l.id || c.useId();
120
- return /* @__PURE__ */ a("div", { className: T(e.root, g), children: [
120
+ return /* @__PURE__ */ a("div", { className: R(e.root, g), children: [
121
121
  r ? /* @__PURE__ */ a("label", { className: e.label, htmlFor: m, children: [
122
122
  r,
123
123
  d && /* @__PURE__ */ s("span", { className: e.required, children: u ?? x("common.required") })
@@ -4,8 +4,8 @@ import z from "../../node_modules/merge-refs/dist/esm/index.js";
4
4
  import m, { forwardRef as B } from "react";
5
5
  import { textFieldRecipe as b } from "../../recipes/textFieldRecipe.js";
6
6
  import { useTranslations as E } from "../../i18n/index.js";
7
- import { cx as G } from "../../styled-system/css/cx.js";
8
7
  import { css as w } from "../../styled-system/css/css.js";
8
+ import { cx as G } from "../../styled-system/css/cx.js";
9
9
  const X = B(
10
10
  ({
11
11
  placeholder: F,
@@ -1,11 +1,11 @@
1
1
  import { jsx as o, jsxs as a } from "react/jsx-runtime";
2
2
  import { SerendieSymbolAlertCircleFilled as n, SerendieSymbolCheckCircleFilled as l } from "@serendie/symbols";
3
- import { createToaster as m } from "../../node_modules/@ark-ui/react/dist/components/toast/create-toaster.js";
4
- import { Toaster as c } from "../../node_modules/@ark-ui/react/dist/components/toast/toaster.js";
5
- import { sva as d } from "../../styled-system/css/sva.js";
3
+ import { Toaster as m } from "../../node_modules/@ark-ui/react/dist/components/toast/toaster.js";
4
+ import { sva as c } from "../../styled-system/css/sva.js";
5
+ import { createToaster as d } from "../../node_modules/@ark-ui/react/dist/components/toast/create-toaster.js";
6
6
  import { ToastRoot as p } from "../../node_modules/@ark-ui/react/dist/components/toast/toast-root.js";
7
7
  import { ToastTitle as y } from "../../node_modules/@ark-ui/react/dist/components/toast/toast-title.js";
8
- const x = d({
8
+ const x = c({
9
9
  slots: ["root", "textGroup", "text", "icon"],
10
10
  base: {
11
11
  root: {
@@ -60,9 +60,9 @@ const x = d({
60
60
  defaultVariants: {
61
61
  variant: "default"
62
62
  }
63
- }), C = m({
63
+ }), C = d({
64
64
  placement: "bottom"
65
- }), T = ({ toaster: r }) => /* @__PURE__ */ o(c, { toaster: r, children: (t) => {
65
+ }), T = ({ toaster: r }) => /* @__PURE__ */ o(m, { toaster: r, children: (t) => {
66
66
  const s = t.type === "error" ? "error" : "default", e = x({ variant: s }), i = s === "error" ? /* @__PURE__ */ o(n, { className: e.icon }) : /* @__PURE__ */ o(l, { className: e.icon });
67
67
  return /* @__PURE__ */ o(p, { className: e.root, children: /* @__PURE__ */ a("div", { className: e.textGroup, children: [
68
68
  i,
@@ -1,13 +1,13 @@
1
1
  import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
- import { sva as y } from "../../styled-system/css/sva.js";
3
- import { TooltipRoot as f } from "../../node_modules/@ark-ui/react/dist/components/tooltip/tooltip-root.js";
4
- import { TooltipTrigger as w } from "../../node_modules/@ark-ui/react/dist/components/tooltip/tooltip-trigger.js";
5
- import { TooltipPositioner as T } from "../../node_modules/@ark-ui/react/dist/components/tooltip/tooltip-positioner.js";
6
- import { TooltipContent as g } from "../../node_modules/@ark-ui/react/dist/components/tooltip/tooltip-content.js";
7
- import { cx as h } from "../../styled-system/css/cx.js";
2
+ import { cx as y } from "../../styled-system/css/cx.js";
3
+ import { sva as f } from "../../styled-system/css/sva.js";
4
+ import { TooltipRoot as w } from "../../node_modules/@ark-ui/react/dist/components/tooltip/tooltip-root.js";
5
+ import { TooltipTrigger as T } from "../../node_modules/@ark-ui/react/dist/components/tooltip/tooltip-trigger.js";
6
+ import { TooltipPositioner as g } from "../../node_modules/@ark-ui/react/dist/components/tooltip/tooltip-positioner.js";
7
+ import { TooltipContent as h } from "../../node_modules/@ark-ui/react/dist/components/tooltip/tooltip-content.js";
8
8
  import { TooltipArrow as u } from "../../node_modules/@ark-ui/react/dist/components/tooltip/tooltip-arrow.js";
9
9
  import { TooltipArrowTip as S } from "../../node_modules/@ark-ui/react/dist/components/tooltip/tooltip-arrow-tip.js";
10
- const t = y({
10
+ const t = f({
11
11
  slots: ["content", "arrow", "arrowTip"],
12
12
  base: {
13
13
  content: {
@@ -39,18 +39,18 @@ const t = y({
39
39
  }) => {
40
40
  const [c, x] = t.splitVariantProps(d), r = t(c);
41
41
  return /* @__PURE__ */ s(
42
- f,
42
+ w,
43
43
  {
44
44
  openDelay: n,
45
45
  closeDelay: l,
46
46
  positioning: { placement: a, arrowPadding: 8 },
47
47
  disabled: m,
48
48
  children: [
49
- /* @__PURE__ */ o(w, { asChild: !0, children: i }),
50
- /* @__PURE__ */ o(T, { children: /* @__PURE__ */ s(
51
- g,
49
+ /* @__PURE__ */ o(T, { asChild: !0, children: i }),
50
+ /* @__PURE__ */ o(g, { children: /* @__PURE__ */ s(
51
+ h,
52
52
  {
53
- className: h(r.content, p),
53
+ className: y(r.content, p),
54
54
  ...x,
55
55
  children: [
56
56
  /* @__PURE__ */ o(u, { className: r.arrow, children: /* @__PURE__ */ o(S, { className: r.arrowTip }) }),
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
2
  import { NotificationBadge as d } from "../NotificationBadge/NotificationBadge.js";
3
- import { sva as y } from "../../styled-system/css/sva.js";
4
- import { cx as x } from "../../styled-system/css/cx.js";
5
- const n = y({
3
+ import { cx as y } from "../../styled-system/css/cx.js";
4
+ import { sva as x } from "../../styled-system/css/sva.js";
5
+ const n = x({
6
6
  slots: ["root", "container", "left", "buttonContainer", "title"],
7
7
  base: {
8
8
  root: {
@@ -62,7 +62,7 @@ const n = y({
62
62
  ...l
63
63
  }) => {
64
64
  const [p, { className: c, ...m }] = n.splitVariantProps(l), t = n(p);
65
- return /* @__PURE__ */ e("nav", { className: x(t.root, c), ...m, children: /* @__PURE__ */ o("div", { className: t.container, children: [
65
+ return /* @__PURE__ */ e("nav", { className: y(t.root, c), ...m, children: /* @__PURE__ */ o("div", { className: t.container, children: [
66
66
  /* @__PURE__ */ o("div", { className: t.left, children: [
67
67
  /* @__PURE__ */ e("div", { className: t.buttonContainer, children: i }),
68
68
  /* @__PURE__ */ e("h1", { className: t.title, children: r }),
package/dist/index.js CHANGED
@@ -42,8 +42,8 @@ import { TextField as le } from "./components/TextField/TextField.js";
42
42
  import { Toast as he, ToastStyle as Se, toaster as Ce } from "./components/Toast/Toast.js";
43
43
  import { Tooltip as Be } from "./components/Tooltip/Tooltip.js";
44
44
  import { TopAppBar as ye } from "./components/TopAppBar/TopAppBar.js";
45
- import { LanguageProvider as Ie, SerendieProvider as Pe } from "./i18n/provider.js";
46
- import { DataTableComponent as be } from "./components/DataTable/DataTableComponent.js";
45
+ import { DataTableComponent as Ie } from "./components/DataTable/DataTableComponent.js";
46
+ import { LanguageProvider as De, SerendieProvider as be } from "./i18n/provider.js";
47
47
  import { parse as ve } from "./node_modules/@zag-js/date-picker/dist/index.js";
48
48
  export {
49
49
  C as Accordion,
@@ -66,7 +66,7 @@ export {
66
66
  s as ColorSchemeScript,
67
67
  po as DashboardWidget,
68
68
  io as DataTable,
69
- be as DataTableComponent,
69
+ Ie as DataTableComponent,
70
70
  so as DatePicker,
71
71
  co as Divider,
72
72
  lo as DividerStyle,
@@ -75,7 +75,7 @@ export {
75
75
  Bo as DropdownMenuStyle,
76
76
  yo as IconButton,
77
77
  To as IconButtonStyle,
78
- Ie as LanguageProvider,
78
+ De as LanguageProvider,
79
79
  Po as List,
80
80
  bo as ListItem,
81
81
  ko as ListItemStyle,
@@ -95,7 +95,7 @@ export {
95
95
  oe as SelectStyle,
96
96
  W as SerendieChartTheme,
97
97
  r as SerendiePreset,
98
- Pe as SerendieProvider,
98
+ be as SerendieProvider,
99
99
  re as Switch,
100
100
  te as SwitchStyle,
101
101
  ie as TabItem,
@@ -1,10 +1,9 @@
1
1
  import { createContext as o } from "../../utils/create-context.js";
2
- const [t, r] = o({
2
+ const [r] = o({
3
3
  name: "AccordionItemContext",
4
4
  hookName: "useAccordionItemContext",
5
5
  providerName: "<AccordionItemProvider />"
6
6
  });
7
7
  export {
8
- t as AccordionItemProvider,
9
- r as useAccordionItemContext
8
+ r as AccordionItemProvider
10
9
  };
@@ -1,10 +1,9 @@
1
1
  import { createContext as o } from "../../utils/create-context.js";
2
- const [t, m] = o({
2
+ const [t] = o({
3
3
  name: "ComboboxItemContext",
4
4
  hookName: "useComboboxItemContext",
5
5
  providerName: "<ComboboxItemProvider />"
6
6
  });
7
7
  export {
8
- t as ComboboxItemProvider,
9
- m as useComboboxItemContext
8
+ t as ComboboxItemProvider
10
9
  };
@@ -1,10 +1,9 @@
1
1
  import { createContext as o } from "../../utils/create-context.js";
2
- const [r, t] = o({
2
+ const [e] = o({
3
3
  name: "ComboboxItemGroupPropsContext",
4
4
  hookName: "useComboboxItemGroupPropsContext",
5
5
  providerName: "<ComboboxItemGroupPropsProvider />"
6
6
  });
7
7
  export {
8
- r as ComboboxItemGroupPropsProvider,
9
- t as useComboboxItemGroupPropsContext
8
+ e as ComboboxItemGroupPropsProvider
10
9
  };
@@ -1,10 +1,9 @@
1
1
  import { createContext as e } from "../../utils/create-context.js";
2
- const [o, n] = e({
2
+ const [o] = e({
3
3
  name: "MenuItemContext",
4
4
  hookName: "useMenuItemContext",
5
5
  providerName: "<MenuItemProvider />"
6
6
  });
7
7
  export {
8
- o as MenuItemProvider,
9
- n as useMenuItemContext
8
+ o as MenuItemProvider
10
9
  };
@@ -1,10 +1,9 @@
1
1
  import { createContext as e } from "../../utils/create-context.js";
2
- const [t, r] = e({
2
+ const [r] = e({
3
3
  name: "MenuItemGroupContext",
4
4
  hookName: "useMenuItemGroupContext",
5
5
  providerName: "<MenuItemGroupProvider />"
6
6
  });
7
7
  export {
8
- t as MenuItemGroupProvider,
9
- r as useMenuItemGroupContext
8
+ r as MenuItemGroupProvider
10
9
  };
@@ -1,10 +1,9 @@
1
1
  import { createContext as e } from "../../utils/create-context.js";
2
- const [t, r] = e({
2
+ const [r] = e({
3
3
  name: "MenuItemPropsContext",
4
4
  hookName: "useMenuItemPropsContext",
5
5
  providerName: "<MenuItemPropsProvider />"
6
6
  });
7
7
  export {
8
- t as MenuItemPropsProvider,
9
- r as useMenuItemPropsContext
8
+ r as MenuItemPropsProvider
10
9
  };
@@ -1,11 +1,10 @@
1
1
  import { createContext as e } from "../../utils/create-context.js";
2
- const [r, n] = e({
2
+ const [t] = e({
3
3
  name: "MenuMachineContext",
4
4
  hookName: "useMenuMachineContext",
5
5
  providerName: "<MenuMachineProvider />",
6
6
  strict: !1
7
7
  });
8
8
  export {
9
- r as MenuTriggerItemProvider,
10
- n as useMenuTriggerItemContext
9
+ t as MenuTriggerItemProvider
11
10
  };
@@ -1,10 +1,9 @@
1
1
  import { createContext as e } from "../../utils/create-context.js";
2
- const [o, m] = e({
2
+ const [o] = e({
3
3
  name: "SelectItemContext",
4
4
  hookName: "useSelectItemContext",
5
5
  providerName: "<SelectItemProvider />"
6
6
  });
7
7
  export {
8
- o as SelectItemProvider,
9
- m as useSelectItemContext
8
+ o as SelectItemProvider
10
9
  };
@@ -1,10 +1,9 @@
1
1
  import { createContext as e } from "../../utils/create-context.js";
2
- const [o, r] = e({
2
+ const [o] = e({
3
3
  name: "SelectItemPropsContext",
4
4
  hookName: "useSelectItemPropsContext",
5
5
  providerName: "<SelectItemPropsProvider />"
6
6
  });
7
7
  export {
8
- o as SelectItemPropsProvider,
9
- r as useSelectItemPropsContext
8
+ o as SelectItemPropsProvider
10
9
  };
@@ -1,5 +1,5 @@
1
1
  import { offset as st, flip as rt, shift as ct, arrow as lt, size as ft, hide as ut, computePosition as ht, limitShift as at } from "../../core/dist/floating-ui.core.js";
2
- import { createCoords as y, rectToClientRect as J, floor as A, max as E, round as D, min as N } from "../../utils/dist/floating-ui.utils.js";
2
+ import { createCoords as y, rectToClientRect as J, floor as A, round as D, max as E, min as N } from "../../utils/dist/floating-ui.utils.js";
3
3
  import { getOverflowAncestors as $, isElement as v, getDocumentElement as R, getWindow as L, getFrameElement as U, getComputedStyle as b, isHTMLElement as C, isWebKit as Q, isTopLayer as V, getParentNode as S, isLastTraversableNode as z, isTableElement as dt, isContainingBlock as Y, getContainingBlock as gt, getNodeName as _, isOverflowElement as q, getNodeScroll as H } from "../../utils/dist/floating-ui.utils.dom.js";
4
4
  function Z(t) {
5
5
  const e = b(t);
@@ -1,6 +1,6 @@
1
1
  import { createAnatomy as C } from "../../anatomy/dist/index.js";
2
2
  import { getEventKey as h, isSafari as S, dataAttr as u, prevById as F, nextById as P, queryAll as w } from "../../dom-query/dist/index.js";
3
- import { warn as x, last as L, first as A, add as $, remove as B } from "../../utils/dist/index.js";
3
+ import { warn as x, add as L, remove as A, last as $, first as B } from "../../utils/dist/index.js";
4
4
  import { createMachine as N, createGuards as U } from "../../core/dist/index.js";
5
5
  import { createProps as y } from "../../types/dist/index.js";
6
6
  var H = C("accordion").parts("root", "item", "itemTrigger", "itemContent", "itemIndicator"), g = H.build(), v = (e) => {
@@ -18,7 +18,7 @@ var H = C("accordion").parts("root", "item", "itemTrigger", "itemContent", "item
18
18
  }, k = (e) => e.getById(v(e)), p = (e) => {
19
19
  const a = `[aria-controls][data-ownedby='${CSS.escape(v(e))}']:not([disabled])`;
20
20
  return w(k(e), a);
21
- }, D = (e) => A(p(e)), X = (e) => L(p(e)), z = (e, t) => P(p(e), m(e, t)), M = (e, t) => F(p(e), m(e, t));
21
+ }, D = (e) => B(p(e)), X = (e) => $(p(e)), z = (e, t) => P(p(e), m(e, t)), M = (e, t) => F(p(e), m(e, t));
22
22
  function _(e, t) {
23
23
  const { send: a, context: o, prop: n, scope: l, computed: f } = e, T = o.get("focusedValue"), I = o.get("value"), E = n("multiple");
24
24
  function R(i) {
@@ -226,11 +226,11 @@ var { and: q, not: j } = U(), ee = N({
226
226
  },
227
227
  actions: {
228
228
  collapse({ context: e, prop: t, event: a }) {
229
- const o = t("multiple") ? B(e.get("value"), a.value) : [];
229
+ const o = t("multiple") ? A(e.get("value"), a.value) : [];
230
230
  e.set("value", o);
231
231
  },
232
232
  expand({ context: e, prop: t, event: a }) {
233
- const o = t("multiple") ? $(e.get("value"), a.value) : [a.value];
233
+ const o = t("multiple") ? L(e.get("value"), a.value) : [a.value];
234
234
  e.set("value", o);
235
235
  },
236
236
  focusFirstTrigger({ scope: e }) {
@@ -1,6 +1,6 @@
1
1
  import { createAnatomy as ge } from "../../anatomy/dist/index.js";
2
2
  import { ListCollection as ie } from "../../collection/dist/index.js";
3
- import { raf as V, setCaretToEnd as de, nextTick as he, observeAttributes as pe, clickIfLink as me, dataAttr as c, ariaAttr as K, isDownloadingEvent as Ie, isOpeningInNewTab as Ce, isContextMenuEvent as ve, isLeftClick as D, getEventKey as $, isComposingEvent as fe, query as Oe, isAnchorElement as Ve, scrollIntoView as q } from "../../dom-query/dist/index.js";
3
+ import { raf as V, setCaretToEnd as de, nextTick as he, observeAttributes as pe, clickIfLink as me, dataAttr as c, isDownloadingEvent as Ie, isOpeningInNewTab as Ce, isContextMenuEvent as ve, ariaAttr as K, isLeftClick as D, getEventKey as $, isComposingEvent as fe, query as Oe, isAnchorElement as Ve, scrollIntoView as q } from "../../dom-query/dist/index.js";
4
4
  import { getPlacement as Y, getPlacementStyles as Ee } from "../../popper/dist/index.js";
5
5
  import { match as P, remove as Te, addOrRemove as j, isBoolean as ye, isEqual as Pe, ensure as ke } from "../../utils/dist/index.js";
6
6
  import { ariaHidden as Le } from "../../aria-hidden/dist/index.js";
@@ -3,8 +3,8 @@ import { CalendarDate as ze } from "../../../@internationalized/date/dist/Calend
3
3
  import { isEqualDay as De, isWeekend as et, isToday as tt } from "../../../@internationalized/date/dist/queries.js";
4
4
  import { parseDate as at } from "../../../@internationalized/date/dist/string.js";
5
5
  import { DateFormatter as te } from "../../../@internationalized/date/dist/DateFormatter.js";
6
- import { getWeekDays as nt, getDateRangePreset as pe, getDecadeRange as ae, constrainValue as F, getTodayDate as U, getMonthFormatter as he, getDaysInWeek as ot, isDateOutsideRange as B, getDayFormatter as rt, getUnitDuration as st, isDateEqual as C, isDateUnavailable as we, getMonthNames as it, getYearsRange as lt, getMonthDays as ct, getEndDate as ut, alignDate as Ce, getPreviousSection as dt, getNextSection as gt, getPreviousPage as ft, getNextPage as vt, formatSelectedDate as Vt, isNextRangeInvalid as mt, isPreviousRangeInvalid as yt, parseDateString as Tt, getAdjustedDateFn as St } from "../../date-utils/dist/index.js";
7
- import { getNativeEvent as Et, dataAttr as u, ariaAttr as w, getEventKey as bt, isComposingEvent as Dt, queryAll as pt, setElementValue as j, raf as M, query as ht, restoreTextSelection as wt, disableTextSelection as Ct } from "../../dom-query/dist/index.js";
6
+ import { getDateRangePreset as pe, getDecadeRange as ae, constrainValue as F, getTodayDate as U, getWeekDays as nt, getMonthFormatter as he, getDaysInWeek as ot, isDateOutsideRange as B, getDayFormatter as rt, getUnitDuration as st, isDateEqual as C, isDateUnavailable as we, getMonthNames as it, getYearsRange as lt, getMonthDays as ct, alignDate as Ce, getPreviousSection as ut, getNextSection as dt, getPreviousPage as gt, getNextPage as ft, formatSelectedDate as vt, isNextRangeInvalid as Vt, isPreviousRangeInvalid as mt, getEndDate as yt, parseDateString as Tt, getAdjustedDateFn as St } from "../../date-utils/dist/index.js";
7
+ import { getNativeEvent as Et, dataAttr as u, ariaAttr as w, getEventKey as bt, isComposingEvent as Dt, setElementValue as j, raf as M, restoreTextSelection as pt, disableTextSelection as ht, queryAll as wt, query as Ct } from "../../dom-query/dist/index.js";
8
8
  import { getPlacementStyles as Pt, getPlacement as Ot } from "../../popper/dist/index.js";
9
9
  import { chunk as Pe, isValueWithinRange as Oe, match as Q, clampValue as It } from "../../utils/dist/index.js";
10
10
  import { createMachine as xt, createGuards as Rt } from "../../core/dist/index.js";
@@ -81,7 +81,7 @@ var kt = Qe("date-picker").parts(
81
81
  }, $e = (e) => {
82
82
  var t;
83
83
  return ((t = e.ids) == null ? void 0 : t.yearSelect) ?? `datepicker:${e.id}:year-select`;
84
- }, xe = (e, t) => ht(z(e), `[data-part=table-cell-trigger][data-view=${t}][data-focus]:not([data-outside-range])`), Re = (e) => e.getById(Ne(e)), z = (e) => e.getById(de(e)), Y = (e) => pt(Be(e), "[data-part=input]"), Ht = (e) => e.getById($e(e)), Wt = (e) => e.getById(Me(e)), Yt = (e) => e.getById(Le(e)), Gt = (e) => e.getById(Fe(e)), Be = (e) => e.getById(ke(e));
84
+ }, xe = (e, t) => Ct(z(e), `[data-part=table-cell-trigger][data-view=${t}][data-focus]:not([data-outside-range])`), Re = (e) => e.getById(Ne(e)), z = (e) => e.getById(de(e)), Y = (e) => wt(Be(e), "[data-part=input]"), Ht = (e) => e.getById($e(e)), Wt = (e) => e.getById(Me(e)), Yt = (e) => e.getById(Le(e)), Gt = (e) => e.getById(Fe(e)), Be = (e) => e.getById(ke(e));
85
85
  function ge(e) {
86
86
  const [t, a] = e;
87
87
  return !t || !a || t.compare(a) <= 0 ? e : [a, t];
@@ -927,14 +927,14 @@ var Sa = xt({
927
927
  computed: {
928
928
  isInteractive: ({ prop: e }) => !e("disabled") && !e("readOnly"),
929
929
  visibleDuration: ({ prop: e }) => ({ months: e("numOfMonths") }),
930
- endValue: ({ context: e, computed: t }) => ut(e.get("startValue"), t("visibleDuration")),
930
+ endValue: ({ context: e, computed: t }) => yt(e.get("startValue"), t("visibleDuration")),
931
931
  visibleRange: ({ context: e, computed: t }) => ({ start: e.get("startValue"), end: t("endValue") }),
932
932
  visibleRangeText({ context: e, prop: t, computed: a }) {
933
933
  const n = t("timeZone"), r = new te(t("locale"), { month: "long", year: "numeric", timeZone: n }), l = r.format(e.get("startValue").toDate(n)), d = r.format(a("endValue").toDate(n)), g = t("selectionMode") === "range" ? `${l} - ${d}` : l;
934
934
  return { start: l, end: d, formatted: g };
935
935
  },
936
- isPrevVisibleRangeValid: ({ context: e, prop: t }) => !yt(e.get("startValue"), t("min"), t("max")),
937
- isNextVisibleRangeValid: ({ prop: e, computed: t }) => !mt(t("endValue"), e("min"), e("max")),
936
+ isPrevVisibleRangeValid: ({ context: e, prop: t }) => !mt(e.get("startValue"), t("min"), t("max")),
937
+ isNextVisibleRangeValid: ({ prop: e, computed: t }) => !Vt(t("endValue"), e("min"), e("max")),
938
938
  valueAsString: ({ context: e, prop: t }) => X(e.get("value"), t)
939
939
  },
940
940
  effects: ["setupLiveRegion"],
@@ -1446,7 +1446,7 @@ var Sa = xt({
1446
1446
  },
1447
1447
  announceValueText({ context: e, prop: t, refs: a }) {
1448
1448
  var r;
1449
- const n = e.get("value").map((l) => Vt(l, null, t("locale"), t("timeZone")));
1449
+ const n = e.get("value").map((l) => vt(l, null, t("locale"), t("timeZone")));
1450
1450
  (r = a.get("announcer")) == null || r.announce(n.join(","), 3e3);
1451
1451
  },
1452
1452
  announceVisibleRange({ computed: e, refs: t }) {
@@ -1455,10 +1455,10 @@ var Sa = xt({
1455
1455
  (n = t.get("announcer")) == null || n.announce(a);
1456
1456
  },
1457
1457
  disableTextSelection({ scope: e }) {
1458
- Ct({ target: z(e), doc: e.getDoc() });
1458
+ ht({ target: z(e), doc: e.getDoc() });
1459
1459
  },
1460
1460
  enableTextSelection({ scope: e }) {
1461
- wt({ doc: e.getDoc(), target: z(e) });
1461
+ pt({ doc: e.getDoc(), target: z(e) });
1462
1462
  },
1463
1463
  focusFirstSelectedDate(e) {
1464
1464
  const { context: t } = e;
@@ -1542,7 +1542,7 @@ var Sa = xt({
1542
1542
  m(e, a);
1543
1543
  },
1544
1544
  focusNextPage(e) {
1545
- const { context: t, computed: a, prop: n } = e, r = vt(
1545
+ const { context: t, computed: a, prop: n } = e, r = ft(
1546
1546
  t.get("focusedValue"),
1547
1547
  t.get("startValue"),
1548
1548
  a("visibleDuration"),
@@ -1553,7 +1553,7 @@ var Sa = xt({
1553
1553
  J(e, r);
1554
1554
  },
1555
1555
  focusPreviousPage(e) {
1556
- const { context: t, computed: a, prop: n } = e, r = ft(
1556
+ const { context: t, computed: a, prop: n } = e, r = gt(
1557
1557
  t.get("focusedValue"),
1558
1558
  t.get("startValue"),
1559
1559
  a("visibleDuration"),
@@ -1572,7 +1572,7 @@ var Sa = xt({
1572
1572
  m(e, t("endValue").copy());
1573
1573
  },
1574
1574
  focusNextSection(e) {
1575
- const { context: t, event: a, computed: n, prop: r } = e, l = gt(
1575
+ const { context: t, event: a, computed: n, prop: r } = e, l = dt(
1576
1576
  t.get("focusedValue"),
1577
1577
  t.get("startValue"),
1578
1578
  a.larger,
@@ -1584,7 +1584,7 @@ var Sa = xt({
1584
1584
  l && J(e, l);
1585
1585
  },
1586
1586
  focusPreviousSection(e) {
1587
- const { context: t, event: a, computed: n, prop: r } = e, l = dt(
1587
+ const { context: t, event: a, computed: n, prop: r } = e, l = ut(
1588
1588
  t.get("focusedValue"),
1589
1589
  t.get("startValue"),
1590
1590
  a.larger,