@wrdagency/blockout 1.0.0 → 1.0.1

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 (83) hide show
  1. package/dist/{2NBKRL7C-DHf-2xkD.js → 2NBKRL7C-Cug3TzgR.js} +19 -19
  2. package/dist/{2RSXSRCN-bkYY_QT6.js → 2RSXSRCN-Bc3g-z-i.js} +19 -19
  3. package/dist/{4CMBR7SL-BkCeHgv2.js → 4CMBR7SL-xNGezbCB.js} +2 -2
  4. package/dist/{5JTVDSTH-BiHTUReD.js → 5JTVDSTH-CIreO5bC.js} +15 -15
  5. package/dist/{5VQZOHHZ-BpLDJOFs.js → 5VQZOHHZ-CNzYHc1X.js} +1 -1
  6. package/dist/{6VRAQV3D-DIdyGLyW.js → 6VRAQV3D-BoLhl3hf.js} +22 -22
  7. package/dist/{A3WPL2ZJ-SF-cbtmp.js → A3WPL2ZJ-D0Eh1dEB.js} +2 -2
  8. package/dist/{BM6PGYQY-D4-MwCVB.js → BM6PGYQY-Bhr7peim.js} +2 -2
  9. package/dist/{DG5U6ZEL-u5QgMA8f.js → DG5U6ZEL-C7eLVyh-.js} +3 -3
  10. package/dist/{EM5CXX6A-iTR0FDQv.js → EM5CXX6A-DKxCXPnz.js} +2 -2
  11. package/dist/{F5MUBM3I-Cv5aLv5o.js → F5MUBM3I-_HauDyEF.js} +21 -21
  12. package/dist/{G7GW6PWC-FbNigUHQ.js → G7GW6PWC-Crp1Jn-8.js} +56 -56
  13. package/dist/{J2LQO3EC-DIOM09Y6.js → J2LQO3EC-CcHJqN0I.js} +6 -6
  14. package/dist/{KFH4SEIX-BuapSU1b.js → KFH4SEIX-D-fCkpQv.js} +19 -19
  15. package/dist/{LMDWO4NN-DyBcLLfK.js → LMDWO4NN-DdLnHzru.js} +22 -22
  16. package/dist/{MR26YJYP-BdwVX8xi.js → MR26YJYP-yD1_RvCA.js} +23 -23
  17. package/dist/{MTZPJQMC-DMklE0XE.js → MTZPJQMC-RLG1q394.js} +2 -2
  18. package/dist/{O2PQ2652-CRn371N3.js → O2PQ2652-THp22K4G.js} +3 -3
  19. package/dist/{P7GR5CS5-Btbh4-Mw.js → P7GR5CS5-Dub2zqTX.js} +4 -6
  20. package/dist/{PFRGBC2K-DobANx7W.js → PFRGBC2K-DUhGSIey.js} +65 -65
  21. package/dist/{RS7LB2H4-lmOMNc4h.js → RS7LB2H4-C0kmTjy8.js} +1 -1
  22. package/dist/RZ4GPYOB-c8s_KHUk.js +37 -0
  23. package/dist/{S43UC3DV-C5JWPIhF.js → S43UC3DV-erT1ucAd.js} +3 -3
  24. package/dist/{T7VMP3TM-DRNGQJpZ.js → T7VMP3TM-C-Aesx9K.js} +11 -11
  25. package/dist/TP7N7UIH-mdk33dnV.js +34 -0
  26. package/dist/{UQQRIHDV-eF2M9Cz2.js → UQQRIHDV-DIXH69U3.js} +13 -13
  27. package/dist/{UYGDZTLQ-DRLNvYE6.js → UYGDZTLQ-fOwUiOjI.js} +2 -2
  28. package/dist/{VIIRIBF3-DX-Wjw1-.js → VIIRIBF3-DylpToFV.js} +3 -3
  29. package/dist/{WMYDSCNQ-YGSwAHQE.js → WMYDSCNQ-D43V-JUe.js} +16 -16
  30. package/dist/{WYCIER3C-DndYR0iO.js → WYCIER3C-S-jsj0wy.js} +2 -2
  31. package/dist/{YV4JVR4I-DOlaib2E.js → YV4JVR4I-BXEaRiAN.js} +1 -1
  32. package/dist/assets/button.css +1 -1
  33. package/dist/assets/index8.css +1 -1
  34. package/dist/components/breadcrumbs/index.js +5 -5
  35. package/dist/components/button/index.js +7 -5
  36. package/dist/components/button/row.d.ts +7 -0
  37. package/dist/components/button/row.js +14 -0
  38. package/dist/components/controls/base-popover-control/index.js +3 -3
  39. package/dist/components/controls/date-control/index.js +1 -1
  40. package/dist/components/controls/date-control/picker.js +5 -5
  41. package/dist/components/controls/select-control/control.js +2 -2
  42. package/dist/components/controls/select-control/select.js +78 -78
  43. package/dist/components/data-view/data/normalize.js +0 -4
  44. package/dist/components/data-view/types/fields.d.ts +0 -5
  45. package/dist/components/filesystem/file.js +1 -1
  46. package/dist/components/filesystem/folder.js +30 -30
  47. package/dist/components/filesystem/list.js +1 -1
  48. package/dist/components/filesystem/root.js +1 -1
  49. package/dist/components/menu/index.js +1 -1
  50. package/dist/components/menu/item.js +1 -1
  51. package/dist/components/menu/items/action.js +1 -1
  52. package/dist/components/menu/items/spacer.js +5 -5
  53. package/dist/components/menu/items/submenu.js +2 -2
  54. package/dist/components/menu/items/toggle.js +1 -1
  55. package/dist/components/shell/index.js +8 -4
  56. package/dist/components/shell/navigation.d.ts +6 -0
  57. package/dist/components/shell/navigation.js +6 -0
  58. package/dist/components/shell/root.d.ts +3 -2
  59. package/dist/components/shell/root.js +19 -6
  60. package/dist/components/shell/sidebar.d.ts +6 -0
  61. package/dist/components/shell/sidebar.js +6 -0
  62. package/dist/components/tabs/list.js +6 -6
  63. package/dist/components/tabs/panel.js +35 -35
  64. package/dist/components/tabs/root.js +12 -12
  65. package/dist/components/tabs/tab.js +15 -15
  66. package/dist/components/toolbar/divider.js +5 -5
  67. package/dist/components/toolbar/index.js +3 -3
  68. package/dist/components/toolbar/root.js +8 -8
  69. package/dist/components/window/index.js +1 -1
  70. package/dist/{composite-provider-cs4korvf.js → composite-provider-R5SnRc_G.js} +2 -2
  71. package/dist/{item-B72AQ4I4.js → item-C5GtZF5t.js} +33 -33
  72. package/dist/{picker-D0DleQso.js → picker-HwuTWxQw.js} +4 -4
  73. package/dist/primitives/popover/index.js +1 -1
  74. package/dist/primitives/popover/root.js +1 -1
  75. package/dist/primitives/popover/target.js +1 -1
  76. package/dist/primitives/popover/window.js +3 -3
  77. package/dist/primitives/tooltip/index.js +15 -15
  78. package/dist/{root-j6NM_Xfo.js → root-C7IYlG1s.js} +2 -2
  79. package/dist/utils/url.js +7 -3
  80. package/package.json +1 -1
  81. package/dist/RZ4GPYOB-1GOhO1-l.js +0 -37
  82. package/dist/TP7N7UIH-DlW_S-4B.js +0 -34
  83. package/dist/components/button/index.d.ts +0 -4
@@ -1,19 +1,19 @@
1
- import { jsx as l, jsxs as H } from "react/jsx-runtime";
1
+ import { jsx as o, jsxs as H } from "react/jsx-runtime";
2
2
  import * as e from "react";
3
3
  import { createContext as v, useContext as M, useState as u } from "react";
4
4
  import { w as i } from "../../SSRBase.es-BUXS72ra.js";
5
5
  import { List as E } from "./list.js";
6
- import { u as _ } from "../../WYCIER3C-DndYR0iO.js";
7
- import { c as g } from "../../RS7LB2H4-lmOMNc4h.js";
8
- import { c as m, q as b, a as C, m as d, r as p, o as s, p as c, _ as A, j as F } from "../../LMDWO4NN-DyBcLLfK.js";
9
- import { C as G } from "../../6VRAQV3D-DIdyGLyW.js";
10
- import { D as y } from "../../F5MUBM3I-Cv5aLv5o.js";
11
- import { D as N } from "../../KFH4SEIX-BuapSU1b.js";
6
+ import { u as _ } from "../../WYCIER3C-S-jsj0wy.js";
7
+ import { c as g } from "../../RS7LB2H4-C0kmTjy8.js";
8
+ import { c as m, q as b, b as C, o as d, r as p, f as s, a as c, _ as A, l as F } from "../../LMDWO4NN-DdLnHzru.js";
9
+ import { C as G } from "../../6VRAQV3D-BoLhl3hf.js";
10
+ import { D as y } from "../../F5MUBM3I-_HauDyEF.js";
11
+ import { D as N } from "../../KFH4SEIX-D-fCkpQv.js";
12
12
  var f = v(void 0), I = "div", h = m(
13
13
  function(a) {
14
- const t = M(f), o = b(a.id);
15
- return C(() => (t == null || t(o), () => t == null ? void 0 : t(void 0)), [t, o]), a = d({
16
- id: o,
14
+ const t = M(f), l = b(a.id);
15
+ return C(() => (t == null || t(l), () => t == null ? void 0 : t(void 0)), [t, l]), a = d({
16
+ id: l,
17
17
  "aria-hidden": !0
18
18
  }, a), p(a);
19
19
  }
@@ -23,17 +23,17 @@ s(function(a) {
23
23
  return c(I, t);
24
24
  });
25
25
  var w = "div", x = m(function(a) {
26
- var t = a, { store: o } = t, n = A(t, ["store"]);
26
+ var t = a, { store: l } = t, n = A(t, ["store"]);
27
27
  return n = h(n), n;
28
28
  }), D = s(function(a) {
29
29
  const t = x(a);
30
30
  return c(w, t);
31
31
  }), P = "div", V = m(
32
32
  function(a) {
33
- const [t, o] = u();
33
+ const [t, l] = u();
34
34
  return a = F(
35
35
  a,
36
- (n) => /* @__PURE__ */ l(f.Provider, { value: o, children: n }),
36
+ (n) => /* @__PURE__ */ o(f.Provider, { value: l, children: n }),
37
37
  []
38
38
  ), a = d({
39
39
  role: "group",
@@ -45,20 +45,20 @@ s(function(a) {
45
45
  const t = V(a);
46
46
  return c(P, t);
47
47
  });
48
- var O = "div", j = m(
48
+ var O = "div", R = m(
49
49
  function(a) {
50
- var t = a, { store: o } = t, n = A(t, ["store"]);
50
+ var t = a, { store: l } = t, n = A(t, ["store"]);
51
51
  return n = V(n), n;
52
52
  }
53
- ), R = s(function(a) {
54
- const t = j(a);
53
+ ), T = s(function(a) {
54
+ const t = R(a);
55
55
  return c(O, t);
56
56
  });
57
- function T(r = {}) {
57
+ function $(r = {}) {
58
58
  const a = _(r);
59
- return /* @__PURE__ */ l(g, { value: a, children: r.children });
59
+ return /* @__PURE__ */ o(g, { value: a, children: r.children });
60
60
  }
61
- const $ = /* @__PURE__ */ new Map([
61
+ const j = /* @__PURE__ */ new Map([
62
62
  [
63
63
  "bold",
64
64
  /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M216,68H133.39l-26-29.29a20,20,0,0,0-15-6.71H40A20,20,0,0,0,20,52V200.62A19.41,19.41,0,0,0,39.38,220H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68ZM44,56H90.61l10.67,12H44ZM212,196H44V92H212Z" }))
@@ -89,7 +89,7 @@ const $ = /* @__PURE__ */ new Map([
89
89
  "thin",
90
90
  /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M216,76H129.66L101.17,47.52A11.9,11.9,0,0,0,92.69,44H40A12,12,0,0,0,28,56V200.62A11.4,11.4,0,0,0,39.38,212H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76ZM36,56a4,4,0,0,1,4-4H92.69a4,4,0,0,1,2.82,1.17L118.34,76H36ZM220,200.89a3.12,3.12,0,0,1-3.11,3.11H39.38A3.39,3.39,0,0,1,36,200.62V84H216a4,4,0,0,1,4,4Z" }))
91
91
  ]
92
- ]), L = e.forwardRef((r, a) => /* @__PURE__ */ e.createElement(i, { ref: a, ...r, weights: $ }));
92
+ ]), L = e.forwardRef((r, a) => /* @__PURE__ */ e.createElement(i, { ref: a, ...r, weights: j }));
93
93
  L.displayName = "FolderIcon";
94
94
  const S = /* @__PURE__ */ new Map([
95
95
  [
@@ -125,28 +125,28 @@ const S = /* @__PURE__ */ new Map([
125
125
  ]), Z = e.forwardRef((r, a) => /* @__PURE__ */ e.createElement(i, { ref: a, ...r, weights: S }));
126
126
  Z.displayName = "FolderOpenIcon";
127
127
  const Y = ({ name: r, children: a }) => {
128
- const [t, o] = u(!1);
129
- return /* @__PURE__ */ l(T, { open: t, setOpen: o, children: /* @__PURE__ */ H(
130
- R,
128
+ const [t, l] = u(!1);
129
+ return /* @__PURE__ */ o($, { open: t, setOpen: l, children: /* @__PURE__ */ H(
130
+ T,
131
131
  {
132
- render: /* @__PURE__ */ l("li", {}),
132
+ render: /* @__PURE__ */ o("li", {}),
133
133
  className: "component-filesystem__folder",
134
134
  children: [
135
135
  /* @__PURE__ */ H(
136
136
  G,
137
137
  {
138
- render: /* @__PURE__ */ l(y, {}),
138
+ render: /* @__PURE__ */ o(y, {}),
139
139
  className: "component-filesystem__folder__line",
140
140
  children: [
141
- /* @__PURE__ */ l(t ? Z : L, { className: "component-filesystem__folder__icon" }),
142
- /* @__PURE__ */ l(D, { className: "component-filesystem__folder__name", children: r })
141
+ /* @__PURE__ */ o(t ? Z : L, { className: "component-filesystem__folder__icon" }),
142
+ /* @__PURE__ */ o(D, { className: "component-filesystem__folder__name", children: r })
143
143
  ]
144
144
  }
145
145
  ),
146
- a && /* @__PURE__ */ l(
146
+ a && /* @__PURE__ */ o(
147
147
  N,
148
148
  {
149
- render: /* @__PURE__ */ l(E, {}),
149
+ render: /* @__PURE__ */ o(E, {}),
150
150
  className: "component-filesystem__folder__children",
151
151
  unmountOnHide: !0,
152
152
  children: a
@@ -1,7 +1,7 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { cn as e } from "../../utils/css.js";
3
3
  import { forwardRef as s } from "react";
4
- import { C as i } from "../../5JTVDSTH-BiHTUReD.js";
4
+ import { C as i } from "../../5JTVDSTH-CIreO5bC.js";
5
5
  const c = s(
6
6
  ({ className: r, ...m }, t) => /* @__PURE__ */ o(
7
7
  i,
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { List as t } from "./list.js";
3
- import { C as i } from "../../composite-provider-cs4korvf.js";
3
+ import { C as i } from "../../composite-provider-R5SnRc_G.js";
4
4
  const p = ({ ...r }) => /* @__PURE__ */ o(i, { orientation: "vertical", children: /* @__PURE__ */ o(t, { ...r }) });
5
5
  export {
6
6
  p as Root
@@ -2,7 +2,7 @@ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import { cn as d } from "../../utils/css.js";
3
3
  import { useState as w } from "react";
4
4
  import { Button as n } from "../button/index.js";
5
- import { M, a as _, b as h, c as v } from "../../item-B72AQ4I4.js";
5
+ import { M, a as _, b as h, c as v } from "../../item-C5GtZF5t.js";
6
6
  import '../../assets/style18.css';/* empty css */
7
7
  const B = ({
8
8
  className: r,
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "./items/action.js";
3
3
  import "./items/spacer.js";
4
- import { c as e } from "../../item-B72AQ4I4.js";
4
+ import { c as e } from "../../item-C5GtZF5t.js";
5
5
  import "./items/toggle.js";
6
6
  export {
7
7
  e as MenuItem
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import { EmptyIcon as c } from "../icon.js";
3
- import { M as t } from "../../../2NBKRL7C-DHf-2xkD.js";
3
+ import { M as t } from "../../../2NBKRL7C-Cug3TzgR.js";
4
4
  const l = ({ item: n }) => {
5
5
  const m = n.icon || c;
6
6
  return /* @__PURE__ */ o(
@@ -1,12 +1,12 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { u as p } from "../../../VIIRIBF3-DX-Wjw1-.js";
3
- import { u } from "../../../TP7N7UIH-DlW_S-4B.js";
4
- import { o as m, c, p as f, _, m as i } from "../../../LMDWO4NN-DyBcLLfK.js";
2
+ import { u } from "../../../VIIRIBF3-DylpToFV.js";
3
+ import { u as p } from "../../../TP7N7UIH-mdk33dnV.js";
4
+ import { f as m, c, a as f, _, o as i } from "../../../LMDWO4NN-DdLnHzru.js";
5
5
  var M = "hr", S = c(
6
6
  function(e) {
7
7
  var r = e, { store: o } = r, a = _(r, ["store"]);
8
- const s = p();
9
- return o = o || s, a = u(i({ store: o }, a)), a;
8
+ const s = u();
9
+ return o = o || s, a = p(i({ store: o }, a)), a;
10
10
  }
11
11
  ), l = m(function(e) {
12
12
  const r = S(e);
@@ -1,8 +1,8 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../../CaretRight.es-vnr78BGI.js";
3
3
  import "../icon.js";
4
- import { S as i } from "../../../item-B72AQ4I4.js";
5
- import "../../../2NBKRL7C-DHf-2xkD.js";
4
+ import { S as i } from "../../../item-C5GtZF5t.js";
5
+ import "../../../2NBKRL7C-Cug3TzgR.js";
6
6
  export {
7
7
  i as SubmenuMenuItem
8
8
  };
@@ -3,7 +3,7 @@ import { cn as r } from "../../../utils/css.js";
3
3
  import { r as a, a as i } from "../../../Square.es-KJLdY11q.js";
4
4
  import "react";
5
5
  import { EmptyIcon as p } from "../icon.js";
6
- import { M as d } from "../../../2NBKRL7C-DHf-2xkD.js";
6
+ import { M as d } from "../../../2NBKRL7C-Cug3TzgR.js";
7
7
  const x = ({ item: e }) => {
8
8
  const t = e.icon || p, s = () => {
9
9
  var _, m, l;
@@ -1,8 +1,12 @@
1
- import { Pane as o } from "./pane.js";
1
+ import { Navigation as o } from "./navigation.js";
2
+ import { Pane as r } from "./pane.js";
2
3
  import { Root as t } from "./root.js";
3
- import '../../assets/index8.css';const m = Object.assign(t, {
4
- Pane: o
4
+ import { Sidebar as i } from "./sidebar.js";
5
+ import '../../assets/index8.css';const f = Object.assign(t, {
6
+ Pane: r,
7
+ Sidebar: i,
8
+ Navigation: o
5
9
  });
6
10
  export {
7
- m as Shell
11
+ f as Shell
8
12
  };
@@ -0,0 +1,6 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ interface NavigationProps extends PropsWithChildren {
3
+ className?: string;
4
+ }
5
+ export declare const Navigation: FC<NavigationProps>;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { cn as i } from "../../utils/css.js";
3
+ const m = ({ className: o, children: n }) => /* @__PURE__ */ t("div", { className: i("component-shell__navigation", o), children: n });
4
+ export {
5
+ m as Navigation
6
+ };
@@ -1,6 +1,7 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- interface RootProps extends PropsWithChildren {
1
+ import { FC, ReactElement } from 'react';
2
+ interface RootProps {
3
3
  className?: string;
4
+ children?: ReactElement[];
4
5
  }
5
6
  export declare const Root: FC<RootProps>;
6
7
  export {};
@@ -1,18 +1,31 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { cn as p } from "../../utils/css.js";
1
+ import { jsxs as a, jsx as m } from "react/jsx-runtime";
2
+ import { cn as i } from "../../utils/css.js";
3
3
  import '../../assets/styles.css';import '../../assets/style6.css';import '../../assets/style5.css';import '../../assets/style4.css';import '../../assets/style3.css';import '../../assets/style2.css';import '../../assets/style.css';import '../../assets/style9.css';/* empty css */
4
- import "react";
4
+ import { Children as p } from "react";
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  import "../../primitives/popover/index.js";
8
8
  /* empty css */
9
- import { ScrollArea as t } from "../../primitives/scroll-area/index.js";
9
+ import { ScrollArea as l } from "../../primitives/scroll-area/index.js";
10
10
  import "../../primitives/symbol/index.js";
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
- const j = ({ className: r, children: m }) => /* @__PURE__ */ o("div", { className: p("component-shell", r), children: /* @__PURE__ */ o(t, { className: "component-shell__panes", axis: "x", children: /* @__PURE__ */ o("div", { className: "component-shell__panes-wrapper", children: m }) }) });
15
+ import { Pane as t } from "./pane.js";
16
+ const b = ({ className: e, children: r }) => {
17
+ const n = p.map(
18
+ r,
19
+ (o) => (o == null ? void 0 : o.type) === t ? o : null
20
+ ), s = p.map(
21
+ r,
22
+ (o) => (o == null ? void 0 : o.type) !== t ? o : null
23
+ );
24
+ return /* @__PURE__ */ a("div", { className: i("component-shell", e), children: [
25
+ s,
26
+ /* @__PURE__ */ m(l, { className: "component-shell__panes", axis: "x", children: /* @__PURE__ */ m("div", { className: "component-shell__panes-wrapper", children: n }) })
27
+ ] });
28
+ };
16
29
  export {
17
- j as Root
30
+ b as Root
18
31
  };
@@ -0,0 +1,6 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ interface SidebarProps extends PropsWithChildren {
3
+ className?: string;
4
+ }
5
+ export declare const Sidebar: FC<SidebarProps>;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { cn as m } from "../../utils/css.js";
3
+ const i = ({ className: r, children: o }) => /* @__PURE__ */ e("div", { className: m("component-shell__sidebar", r), children: o });
4
+ export {
5
+ i as Sidebar
6
+ };
@@ -1,9 +1,9 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { cn as m } from "../../utils/css.js";
3
- import { u, T as b } from "../../UYGDZTLQ-DRLNvYE6.js";
4
- import { u as v } from "../../5JTVDSTH-BiHTUReD.js";
5
- import { o as f, c as l, p as d, _ as T, i as _, j as L, m as i } from "../../LMDWO4NN-DyBcLLfK.js";
6
- var x = "div", E = l(
3
+ import { u, T as b } from "../../UYGDZTLQ-fOwUiOjI.js";
4
+ import { u as f } from "../../5JTVDSTH-CIreO5bC.js";
5
+ import { f as l, c as v, a as d, _ as T, i as _, l as L, o as i } from "../../LMDWO4NN-DdLnHzru.js";
6
+ var x = "div", E = v(
7
7
  function(r) {
8
8
  var e = r, { store: t } = e, o = T(e, ["store"]);
9
9
  const p = u();
@@ -23,9 +23,9 @@ var x = "div", E = l(
23
23
  }, o)), o = i({
24
24
  role: "tablist",
25
25
  "aria-orientation": c
26
- }, o), o = v(i({ store: t }, o)), o;
26
+ }, o), o = f(i({ store: t }, o)), o;
27
27
  }
28
- ), N = f(function(r) {
28
+ ), N = l(function(r) {
29
29
  const e = E(r);
30
30
  return d(x, e);
31
31
  });
@@ -1,19 +1,19 @@
1
1
  import { jsx as S } from "react/jsx-runtime";
2
- import { cn as j } from "../../utils/css.js";
3
- import { u as A, T as K } from "../../UYGDZTLQ-DRLNvYE6.js";
4
- import { u as O } from "../../KFH4SEIX-BuapSU1b.js";
5
- import { u as V } from "../../WYCIER3C-DndYR0iO.js";
6
- import { u as q } from "../../RZ4GPYOB-1GOhO1-l.js";
7
- import { g as F, u as W } from "../../PFRGBC2K-DobANx7W.js";
8
- import { a as T } from "../../YV4JVR4I-DOlaib2E.js";
9
- import { o as z, c as B, p as G, _ as J, i as Q, q as U, b as h, k as _, m as d, j as X, l as Y } from "../../LMDWO4NN-DyBcLLfK.js";
2
+ import { cn as A } from "../../utils/css.js";
3
+ import { u as K, T as O } from "../../UYGDZTLQ-fOwUiOjI.js";
4
+ import { u as j } from "../../KFH4SEIX-D-fCkpQv.js";
5
+ import { u as V } from "../../WYCIER3C-S-jsj0wy.js";
6
+ import { u as q } from "../../RZ4GPYOB-c8s_KHUk.js";
7
+ import { g as F, u as W } from "../../PFRGBC2K-DUhGSIey.js";
8
+ import { a as T } from "../../YV4JVR4I-BXEaRiAN.js";
9
+ import { f as z, c as B, a as G, _ as J, i as Q, q as U, e as h, m as _, o as d, l as X, n as Y } from "../../LMDWO4NN-DdLnHzru.js";
10
10
  import { useRef as w, useEffect as R, useState as Z, useCallback as $ } from "react";
11
11
  var ee = "div", te = B(
12
12
  function(c) {
13
13
  var a = c, {
14
14
  store: t,
15
15
  unmountOnHide: C,
16
- tabId: f,
16
+ tabId: p,
17
17
  getItem: b,
18
18
  scrollRestoration: v,
19
19
  scrollElement: l
@@ -25,7 +25,7 @@ var ee = "div", te = B(
25
25
  "scrollRestoration",
26
26
  "scrollElement"
27
27
  ]);
28
- const D = A();
28
+ const D = K();
29
29
  t = t || D, Q(
30
30
  t,
31
31
  process.env.NODE_ENV !== "production" && "TabPanel must receive a `store` prop or be wrapped in a TabProvider component."
@@ -34,7 +34,7 @@ var ee = "div", te = B(
34
34
  t.panels,
35
35
  () => {
36
36
  var e;
37
- return f || ((e = t == null ? void 0 : t.panels.item(m)) == null ? void 0 : e.tabId);
37
+ return p || ((e = t == null ? void 0 : t.panels.item(m)) == null ? void 0 : e.tabId);
38
38
  }
39
39
  ), k = T(
40
40
  t,
@@ -46,55 +46,55 @@ var ee = "div", te = B(
46
46
  return e ? l ? typeof l == "function" ? l(e) : "current" in l ? l.current : l : e : null;
47
47
  });
48
48
  R(() => {
49
- var e, n;
49
+ var e, o;
50
50
  if (!v || !P) return;
51
- const o = x();
52
- if (!o) return;
51
+ const n = x();
52
+ if (!n) return;
53
53
  if (v === "reset") {
54
- o.scroll(0, 0);
54
+ n.scroll(0, 0);
55
55
  return;
56
56
  }
57
57
  if (!s) return;
58
58
  const u = E.current.get(s);
59
- o.scroll((e = u == null ? void 0 : u.x) != null ? e : 0, (n = u == null ? void 0 : u.y) != null ? n : 0);
59
+ n.scroll((e = u == null ? void 0 : u.x) != null ? e : 0, (o = u == null ? void 0 : u.y) != null ? o : 0);
60
60
  const i = () => {
61
61
  E.current.set(s, {
62
- x: o.scrollLeft,
63
- y: o.scrollTop
62
+ x: n.scrollLeft,
63
+ y: n.scrollTop
64
64
  });
65
65
  };
66
- return o.addEventListener("scroll", i), () => {
67
- o.removeEventListener("scroll", i);
66
+ return n.addEventListener("scroll", i), () => {
67
+ n.removeEventListener("scroll", i);
68
68
  };
69
69
  }, [v, P, s, x, t]);
70
70
  const [H, L] = Z(!1);
71
71
  R(() => {
72
72
  const e = I.current;
73
73
  if (!e) return;
74
- const n = F(e);
75
- L(!!n.length);
74
+ const o = F(e);
75
+ L(!!o.length);
76
76
  }, []);
77
77
  const M = $(
78
78
  (e) => {
79
- const n = _(d({}, e), { id: m || e.id, tabId: f });
80
- return b ? b(n) : n;
79
+ const o = _(d({}, e), { id: m || e.id, tabId: p });
80
+ return b ? b(o) : o;
81
81
  },
82
- [m, f, b]
82
+ [m, p, b]
83
83
  ), y = r.onKeyDown, N = h((e) => {
84
84
  if (y == null || y(e), e.defaultPrevented || !(t != null && t.composite)) return;
85
- const o = {
85
+ const n = {
86
86
  ArrowLeft: t.previous,
87
87
  ArrowRight: t.next,
88
88
  Home: t.first,
89
89
  End: t.last
90
90
  }[e.key];
91
- if (!o) return;
92
- const { selectedId: u } = t.getState(), i = o({ activeId: u });
91
+ if (!n) return;
92
+ const { selectedId: u } = t.getState(), i = n({ activeId: u });
93
93
  i && (e.preventDefault(), t.move(i));
94
94
  });
95
95
  return r = X(
96
96
  r,
97
- (e) => /* @__PURE__ */ S(K, { value: t, children: e }),
97
+ (e) => /* @__PURE__ */ S(O, { value: t, children: e }),
98
98
  [t]
99
99
  ), r = _(d({
100
100
  id: m,
@@ -108,26 +108,26 @@ var ee = "div", te = B(
108
108
  // If the tab panel is rendered as part of another composite widget such
109
109
  // as combobox, it should not be focusable.
110
110
  focusable: !t.composite && !H
111
- }, r)), r = O(d({ store: g }, r)), r = q(_(d({ store: t.panels }, r), { getItem: M })), r;
111
+ }, r)), r = j(d({ store: g }, r)), r = q(_(d({ store: t.panels }, r), { getItem: M })), r;
112
112
  }
113
113
  ), re = z(function(c) {
114
114
  const a = te(c);
115
115
  return G(ee, a);
116
116
  });
117
- const pe = ({
118
- value: p,
117
+ const fe = ({
118
+ value: f,
119
119
  className: c,
120
120
  style: a,
121
121
  children: t
122
122
  }) => /* @__PURE__ */ S(
123
123
  re,
124
124
  {
125
- tabId: p,
126
- className: j("component-tabs__panel", c),
125
+ tabId: f,
126
+ className: A("component-tabs__panel", c),
127
127
  style: a,
128
128
  children: t
129
129
  }
130
130
  );
131
131
  export {
132
- pe as Panel
132
+ fe as Panel
133
133
  };
@@ -1,12 +1,12 @@
1
1
  import { jsx as _ } from "react/jsx-runtime";
2
- import { cn as F } from "../../utils/css.js";
3
- import { u as R } from "../../DG5U6ZEL-u5QgMA8f.js";
4
- import { c as $, a as z, b as A } from "../../4CMBR7SL-BkCeHgv2.js";
5
- import { u as K } from "../../S43UC3DV-C5JWPIhF.js";
6
- import { m as N, o as O, c as Q, s as I, e as l, g as U, b as y, d as T } from "../../YV4JVR4I-DOlaib2E.js";
7
- import { P as W, Q as p, S as f, R as S, a1 as M, k as B, m as L, T as V } from "../../LMDWO4NN-DyBcLLfK.js";
2
+ import { cn as R } from "../../utils/css.js";
3
+ import { u as $ } from "../../DG5U6ZEL-C7eLVyh-.js";
4
+ import { c as k, a as z, b as A } from "../../4CMBR7SL-xNGezbCB.js";
5
+ import { u as K } from "../../S43UC3DV-erT1ucAd.js";
6
+ import { m as N, o as O, c as Q, s as I, e as l, g as U, b as y, d as T } from "../../YV4JVR4I-BXEaRiAN.js";
7
+ import { P as W, Q as p, S as f, R as S, a1 as M, m as B, o as L, T as V } from "../../LMDWO4NN-DdLnHzru.js";
8
8
  import { useMemo as q } from "react";
9
- import { b as w } from "../../UYGDZTLQ-DRLNvYE6.js";
9
+ import { b as w } from "../../UYGDZTLQ-fOwUiOjI.js";
10
10
  function D(e = {}) {
11
11
  var n = e, {
12
12
  composite: o,
@@ -30,7 +30,7 @@ function D(e = {}) {
30
30
  d.store,
31
31
  O(o, g),
32
32
  O(c, g)
33
- ), r = v == null ? void 0 : v.getState(), b = $(p(S({}, d), {
33
+ ), r = v == null ? void 0 : v.getState(), b = k(p(S({}, d), {
34
34
  store: v,
35
35
  // We need to explicitly set the default value of `includesBaseElement` to
36
36
  // `false` since we don't want the composite store to default it to `true`
@@ -99,9 +99,9 @@ function D(e = {}) {
99
99
  if (a.length)
100
100
  return l(x, ["renderedItems"], (i) => {
101
101
  const m = i.renderedItems;
102
- m.some((u) => !u.tabId) && m.forEach((u, k) => {
102
+ m.some((u) => !u.tabId) && m.forEach((u, F) => {
103
103
  if (u.tabId) return;
104
- const E = a[k];
104
+ const E = a[F];
105
105
  E && x.renderItem(p(S({}, u), { tabId: E.id }));
106
106
  });
107
107
  });
@@ -141,7 +141,7 @@ function G(e, n, o) {
141
141
  );
142
142
  }
143
143
  function H(e = {}) {
144
- const n = K(), o = R() || n;
144
+ const n = K(), o = $() || n;
145
145
  e = B(L({}, e), {
146
146
  composite: e.composite !== void 0 ? e.composite : o,
147
147
  combobox: e.combobox !== void 0 ? e.combobox : n
@@ -165,7 +165,7 @@ const ce = ({
165
165
  selectedId: e,
166
166
  setSelectedId: n,
167
167
  defaultSelectedId: o,
168
- children: /* @__PURE__ */ _("div", { className: F("component-tabs", c), children: d })
168
+ children: /* @__PURE__ */ _("div", { className: R("component-tabs", c), children: d })
169
169
  }
170
170
  );
171
171
  export {
@@ -1,11 +1,11 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import { cn as N } from "../../utils/css.js";
3
- import { a as w } from "../../UYGDZTLQ-DRLNvYE6.js";
4
- import { C, u as E } from "../../6VRAQV3D-DIdyGLyW.js";
5
- import { a as F } from "../../YV4JVR4I-DOlaib2E.js";
6
- import { B as V, o as W, c as D, p as j, _ as A, i as q, q as B, s as H, k as a, m as r, b as L } from "../../LMDWO4NN-DyBcLLfK.js";
7
- import { useCallback as O } from "react";
8
- var $ = "button", y = D(function(i) {
3
+ import { a as w } from "../../UYGDZTLQ-fOwUiOjI.js";
4
+ import { C, u as E } from "../../6VRAQV3D-BoLhl3hf.js";
5
+ import { a as F } from "../../YV4JVR4I-BXEaRiAN.js";
6
+ import { s as V, f as W, c as D, a as j, _ as A, i as q, q as H, t as L, m as a, o as r, e as O } from "../../LMDWO4NN-DdLnHzru.js";
7
+ import { useCallback as $ } from "react";
8
+ var y = "button", z = D(function(i) {
9
9
  var n = i, {
10
10
  store: e,
11
11
  getItem: l
@@ -18,20 +18,20 @@ var $ = "button", y = D(function(i) {
18
18
  e,
19
19
  process.env.NODE_ENV !== "production" && "Tab must be wrapped in a TabList component."
20
20
  );
21
- const b = B(), s = t.id || b, I = H(t), x = O(
21
+ const b = H(), s = t.id || b, I = L(t), x = $(
22
22
  (o) => {
23
23
  const c = a(r({}, o), { dimmed: I });
24
24
  return l ? l(c) : c;
25
25
  },
26
26
  [I, l]
27
- ), f = t.onClick, g = L((o) => {
27
+ ), f = t.onClick, g = O((o) => {
28
28
  f == null || f(o), !o.defaultPrevented && (e == null || e.setSelectedId(s));
29
29
  }), T = e.panels.useState(
30
30
  (o) => {
31
31
  var c;
32
- return (c = o.items.find((R) => R.tabId === s)) == null ? void 0 : c.id;
32
+ return (c = o.items.find((k) => k.tabId === s)) == null ? void 0 : c.id;
33
33
  }
34
- ), v = b ? t.shouldRegisterItem : !1, S = e.useState((o) => !!s && o.activeId === s), u = e.useState((o) => !!s && o.selectedId === s), P = e.useState((o) => !!e.item(o.activeId)), k = S || u && !P, _ = u || ((p = t.accessibleWhenDisabled) != null ? p : !0);
34
+ ), v = b ? t.shouldRegisterItem : !1, S = e.useState((o) => !!s && o.activeId === s), u = e.useState((o) => !!s && o.selectedId === s), P = e.useState((o) => !!e.item(o.activeId)), R = S || u && !P, _ = u || ((p = t.accessibleWhenDisabled) != null ? p : !0);
35
35
  if (F(
36
36
  e.combobox || e.composite,
37
37
  "virtualFocus"
@@ -49,7 +49,7 @@ var $ = "button", y = D(function(i) {
49
49
  id: s,
50
50
  accessibleWhenDisabled: _,
51
51
  store: e.composite,
52
- shouldRegisterItem: k && v,
52
+ shouldRegisterItem: R && v,
53
53
  rowId: t.rowId,
54
54
  render: t.render
55
55
  };
@@ -69,13 +69,13 @@ var $ = "button", y = D(function(i) {
69
69
  getItem: x,
70
70
  shouldRegisterItem: v
71
71
  })), t;
72
- }), z = V(
72
+ }), B = V(
73
73
  W(function(i) {
74
- const n = y(i);
75
- return j($, n);
74
+ const n = z(i);
75
+ return j(y, n);
76
76
  })
77
77
  );
78
- const Z = ({ className: d, value: i, children: n }) => /* @__PURE__ */ m(z, { id: i, className: N("component-tabs__tab", d), children: /* @__PURE__ */ m("div", { className: "component-tabs__tab__label", children: n }) });
78
+ const Z = ({ className: d, value: i, children: n }) => /* @__PURE__ */ m(B, { id: i, className: N("component-tabs__tab", d), children: /* @__PURE__ */ m("div", { className: "component-tabs__tab__label", children: n }) });
79
79
  export {
80
80
  Z as Tab
81
81
  };