@duro-app/ui 5.7.0 → 5.8.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 (127) hide show
  1. package/dist/{Table-Dj7PXqO_.js → Table-CAjPFgTX.js} +397 -394
  2. package/dist/Table-CAjPFgTX.js.map +1 -0
  3. package/dist/{compiler-runtime-B2IcI8_O.js → compiler-runtime-BuugS4D0.js} +67 -59
  4. package/dist/{compiler-runtime-B2IcI8_O.js.map → compiler-runtime-BuugS4D0.js.map} +1 -1
  5. package/dist/components/AppShell/AppShell.d.ts +74 -0
  6. package/dist/components/AppShell/AppShell.d.ts.map +1 -0
  7. package/dist/components/AppShell/AppShell.meta.d.ts +3 -0
  8. package/dist/components/AppShell/AppShell.meta.d.ts.map +1 -0
  9. package/dist/components/AppShell/AppShell.stories.d.ts +192 -0
  10. package/dist/components/AppShell/AppShell.stories.d.ts.map +1 -0
  11. package/dist/components/AppShell/styles.css.d.ts +187 -0
  12. package/dist/components/AppShell/styles.css.d.ts.map +1 -0
  13. package/dist/components/Aside/Aside.d.ts +23 -0
  14. package/dist/components/Aside/Aside.d.ts.map +1 -0
  15. package/dist/components/Aside/Aside.meta.d.ts +3 -0
  16. package/dist/components/Aside/Aside.meta.d.ts.map +1 -0
  17. package/dist/components/Aside/Aside.stories.d.ts +45 -0
  18. package/dist/components/Aside/Aside.stories.d.ts.map +1 -0
  19. package/dist/components/Aside/styles.css.d.ts +44 -0
  20. package/dist/components/Aside/styles.css.d.ts.map +1 -0
  21. package/dist/components/Button/styles.css.d.ts +2 -0
  22. package/dist/components/Button/styles.css.d.ts.map +1 -1
  23. package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +3 -3
  24. package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts.map +1 -1
  25. package/dist/components/CodeBlock/CodeBlock.d.ts +29 -0
  26. package/dist/components/CodeBlock/CodeBlock.d.ts.map +1 -0
  27. package/dist/components/CodeBlock/CodeBlock.meta.d.ts +3 -0
  28. package/dist/components/CodeBlock/CodeBlock.meta.d.ts.map +1 -0
  29. package/dist/components/CodeBlock/CodeBlock.stories.d.ts +73 -0
  30. package/dist/components/CodeBlock/CodeBlock.stories.d.ts.map +1 -0
  31. package/dist/components/CodeBlock/styles.css.d.ts +41 -0
  32. package/dist/components/CodeBlock/styles.css.d.ts.map +1 -0
  33. package/dist/components/Grid/Grid.d.ts +13 -4
  34. package/dist/components/Grid/Grid.d.ts.map +1 -1
  35. package/dist/components/Grid/Grid.meta.d.ts.map +1 -1
  36. package/dist/components/Grid/Grid.stories.d.ts +28 -0
  37. package/dist/components/Grid/Grid.stories.d.ts.map +1 -1
  38. package/dist/components/Grid/styles.css.d.ts +3 -0
  39. package/dist/components/Grid/styles.css.d.ts.map +1 -1
  40. package/dist/components/Heading/Heading.d.ts +3 -1
  41. package/dist/components/Heading/Heading.d.ts.map +1 -1
  42. package/dist/components/Heading/Heading.stories.d.ts +9 -0
  43. package/dist/components/Heading/Heading.stories.d.ts.map +1 -0
  44. package/dist/components/LinkButton/LinkButton.stories.d.ts +7 -0
  45. package/dist/components/LinkButton/LinkButton.stories.d.ts.map +1 -1
  46. package/dist/components/LinkButton/styles.css.d.ts +2 -0
  47. package/dist/components/LinkButton/styles.css.d.ts.map +1 -1
  48. package/dist/components/LiveRegion/LiveRegion.d.ts +28 -0
  49. package/dist/components/LiveRegion/LiveRegion.d.ts.map +1 -0
  50. package/dist/components/LiveRegion/LiveRegion.meta.d.ts +3 -0
  51. package/dist/components/LiveRegion/LiveRegion.meta.d.ts.map +1 -0
  52. package/dist/components/LiveRegion/LiveRegion.stories.d.ts +66 -0
  53. package/dist/components/LiveRegion/LiveRegion.stories.d.ts.map +1 -0
  54. package/dist/components/Menu/Menu.stories.d.ts +7 -0
  55. package/dist/components/Menu/Menu.stories.d.ts.map +1 -1
  56. package/dist/components/Menu/styles.css.d.ts +2 -0
  57. package/dist/components/Menu/styles.css.d.ts.map +1 -1
  58. package/dist/components/PageNav/styles.css.d.ts +1 -1
  59. package/dist/components/Prose/Prose.d.ts +17 -0
  60. package/dist/components/Prose/Prose.d.ts.map +1 -0
  61. package/dist/components/Prose/Prose.meta.d.ts +3 -0
  62. package/dist/components/Prose/Prose.meta.d.ts.map +1 -0
  63. package/dist/components/Prose/Prose.stories.d.ts +63 -0
  64. package/dist/components/Prose/Prose.stories.d.ts.map +1 -0
  65. package/dist/components/SideNav/SideNav.d.ts +7 -1
  66. package/dist/components/SideNav/SideNav.d.ts.map +1 -1
  67. package/dist/components/SideNav/SideNav.stories.d.ts +3 -0
  68. package/dist/components/SideNav/SideNav.stories.d.ts.map +1 -1
  69. package/dist/components/Time/Time.d.ts +26 -0
  70. package/dist/components/Time/Time.d.ts.map +1 -0
  71. package/dist/components/Time/Time.meta.d.ts +3 -0
  72. package/dist/components/Time/Time.meta.d.ts.map +1 -0
  73. package/dist/components/Time/Time.stories.d.ts +77 -0
  74. package/dist/components/Time/Time.stories.d.ts.map +1 -0
  75. package/dist/components/Time/relative.d.ts +27 -0
  76. package/dist/components/Time/relative.d.ts.map +1 -0
  77. package/dist/form.js +1 -1
  78. package/dist/hooks/useContainerBelow.d.ts +18 -0
  79. package/dist/hooks/useContainerBelow.d.ts.map +1 -0
  80. package/dist/index.css +1 -1
  81. package/dist/index.d.ts +9 -1
  82. package/dist/index.d.ts.map +1 -1
  83. package/dist/index.js +4870 -4183
  84. package/dist/index.js.map +1 -1
  85. package/dist/table.js +2 -2
  86. package/package.json +2 -2
  87. package/src/components/AppShell/AppShell.meta.ts +62 -0
  88. package/src/components/AppShell/AppShell.stories.tsx +825 -0
  89. package/src/components/AppShell/AppShell.tsx +346 -0
  90. package/src/components/AppShell/styles.css.ts +219 -0
  91. package/src/components/Aside/Aside.meta.ts +33 -0
  92. package/src/components/Aside/Aside.stories.tsx +106 -0
  93. package/src/components/Aside/Aside.tsx +42 -0
  94. package/src/components/Aside/styles.css.ts +60 -0
  95. package/src/components/Button/styles.css.ts +7 -2
  96. package/src/components/ButtonGroup/ButtonGroup.stories.tsx +4 -5
  97. package/src/components/CodeBlock/CodeBlock.meta.ts +29 -0
  98. package/src/components/CodeBlock/CodeBlock.stories.tsx +192 -0
  99. package/src/components/CodeBlock/CodeBlock.tsx +99 -0
  100. package/src/components/CodeBlock/styles.css.ts +48 -0
  101. package/src/components/Grid/Grid.meta.ts +2 -1
  102. package/src/components/Grid/Grid.stories.tsx +202 -3
  103. package/src/components/Grid/Grid.tsx +35 -6
  104. package/src/components/Grid/styles.css.ts +11 -0
  105. package/src/components/Heading/Heading.stories.tsx +51 -0
  106. package/src/components/Heading/Heading.tsx +38 -7
  107. package/src/components/LinkButton/LinkButton.stories.tsx +41 -1
  108. package/src/components/LinkButton/styles.css.ts +6 -2
  109. package/src/components/LiveRegion/LiveRegion.meta.ts +29 -0
  110. package/src/components/LiveRegion/LiveRegion.stories.tsx +139 -0
  111. package/src/components/LiveRegion/LiveRegion.tsx +48 -0
  112. package/src/components/Menu/Menu.stories.tsx +62 -0
  113. package/src/components/Menu/styles.css.ts +6 -3
  114. package/src/components/Prose/Prose.meta.ts +32 -0
  115. package/src/components/Prose/Prose.stories.tsx +240 -0
  116. package/src/components/Prose/Prose.tsx +25 -0
  117. package/src/components/Prose/prose.css +179 -0
  118. package/src/components/SideNav/SideNav.stories.tsx +29 -0
  119. package/src/components/SideNav/SideNav.tsx +14 -2
  120. package/src/components/Time/Time.meta.ts +17 -0
  121. package/src/components/Time/Time.stories.tsx +173 -0
  122. package/src/components/Time/Time.tsx +33 -0
  123. package/src/components/Time/relative.ts +89 -0
  124. package/src/hooks/useContainerBelow.ts +39 -0
  125. package/src/index.ts +13 -1
  126. package/src/strict.css +4 -1
  127. package/dist/Table-Dj7PXqO_.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { jsx as M, jsxs as U, Fragment as Me } from "react/jsx-runtime";
2
- import { c as L, m as W, d as S } from "./compiler-runtime-B2IcI8_O.js";
2
+ import { c as L, m as W, d as S } from "./compiler-runtime-BuugS4D0.js";
3
3
  import { useContext as G, createContext as A, useId as Y, useRef as q, useLayoutEffect as J, useState as Z, useCallback as K, useEffect as F, Children as Q, isValidElement as Te } from "react";
4
4
  import { createPortal as We } from "react-dom";
5
5
  const Se = {
@@ -19,7 +19,7 @@ const Se = {
19
19
  brisk: 160,
20
20
  base: 200,
21
21
  slow: 280
22
- }, Ce = ["touchTarget", "controlSm", "controlMd", "controlLg", "indicator", "indicatorDot", "checkMarkW", "checkMarkH", "switchTrackW", "switchTrackH", "switchThumb", "iconButton", "iconButtonSm", "spinnerSm", "spinnerMd", "spinnerLg", "glyphXs", "glyphSm", "glyphMd", "iconSm", "iconMd", "iconLg", "iconXl", "iconXxl", "navMarkerW", "navMarkerH", "divider", "tabIndicator", "edgeFade", "scrollbar", "swatchW", "swatchH", "labelMinW", "popupMinW", "listMaxH", "listMaxHSm", "dialogSm", "dialogMd", "dialogLg", "panelSm", "panelMd", "panelLg", "toastMaxW", "gridColSm", "gridColMd", "pageSm", "pageMd", "pageLg", "sidebarW", "pageXs", "pageXl", "asideW", "gridColXs", "fieldMinWSm", "fieldMinW", "popoverWSm", "popoverW", "popupMaxW", "meterH", "skeletonChipW", "dropZoneMinH", "canvasMinH", "editorMinH", "toolbarH", "embedW", "colorPickerW", "colorAreaH", "colorTrackH", "colorSwatch", "colorPreviewH", "handle", "chip", "placeholderMinH", "previewMaxH", "barH", "readoutW", "sliderW", "paletteMinW", "deviceBarW", "timeGutterW", "dayHeaderH", "timelineLabelW"], _ = {
22
+ }, Ce = ["touchTarget", "controlSm", "controlMd", "controlLg", "indicator", "indicatorDot", "checkMarkW", "checkMarkH", "switchTrackW", "switchTrackH", "switchThumb", "iconButton", "iconButtonSm", "spinnerSm", "spinnerMd", "spinnerLg", "glyphXs", "glyphSm", "glyphMd", "iconSm", "iconMd", "iconLg", "iconXl", "iconXxl", "navMarkerW", "navMarkerH", "divider", "tabIndicator", "edgeFade", "scrollbar", "swatchW", "swatchH", "labelMinW", "popupMinW", "listMaxH", "listMaxHSm", "dialogSm", "dialogMd", "dialogLg", "panelSm", "panelMd", "panelLg", "toastMaxW", "gridColSm", "gridColMd", "pageSm", "pageMd", "pageLg", "sidebarW", "pageXs", "pageXl", "asideW", "gridColXs", "fieldMinWSm", "fieldMinW", "popoverWSm", "popoverW", "popupMaxW", "meterH", "skeletonChipW", "dropZoneMinH", "canvasMinH", "editorMinH", "toolbarH", "embedW", "colorPickerW", "colorAreaH", "colorTrackH", "colorSwatch", "colorPreviewH", "handle", "chip", "placeholderMinH", "previewMaxH", "barH", "readoutW", "sliderW", "paletteMinW", "deviceBarW", "timeGutterW", "dayHeaderH", "timelineLabelW", "appBarH"], _ = {
23
23
  touchTarget: 44,
24
24
  iconSm: 16,
25
25
  iconMd: 18,
@@ -32,303 +32,13 @@ const Se = {
32
32
  lg: _.iconLg,
33
33
  xl: _.iconXl,
34
34
  xxl: _.iconXxl
35
- };
36
- /**
37
- * @license react-strict-dom
38
- * Copyright (c) Meta Platforms, Inc. and affiliates.
39
- *
40
- * This source code is licensed under the MIT license found in the
41
- * LICENSE file in the root directory of this source tree.
42
- */
43
- const ae = {};
44
- function Re(t) {
45
- process.env.NODE_ENV !== "test" && ae[t] || (ae[t] = !0, console.error(`[error] React Strict DOM: ${t}`));
46
- }
47
- const je = /* @__PURE__ */ new Set(["alt", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autoCapitalize", "autoComplete", "autoFocus", "checked", "children", "crossOrigin", "decoding", "defaultChecked", "defaultValue", "dir", "disabled", "download", "draggable", "elementTiming", "enterKeyHint", "fetchPriority", "for", "height", "hidden", "href", "id", "inert", "inputMode", "label", "lang", "loading", "max", "maxLength", "min", "minLength", "multiple", "name", "onAuxClick", "onBeforeInput", "onBlur", "onChange", "onClick", "onContextMenu", "onCopy", "onCut", "onError", "onFocus", "onFocusIn", "onFocusOut", "onFullscreenChange", "onFullscreenError", "onGotPointerCapture", "onInput", "onInvalid", "onKeyDown", "onKeyUp", "onLoad", "onLostPointerCapture", "onPaste", "onPointerCancel", "onPointerDown", "onPointerEnter", "onPointerLeave", "onPointerMove", "onPointerOut", "onPointerOver", "onPointerUp", "onScroll", "onSelect", "onSelectionChange", "onWheel", "placeholder", "readOnly", "referrerPolicy", "rel", "required", "role", "rows", "selected", "spellCheck", "src", "srcSet", "step", "style", "tabIndex", "target", "type", "value", "width", "suppressHydrationWarning", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseOut", "onMouseOver", "onMouseUp", "onTouchCancel", "onTouchEnd", "onTouchMove", "onTouchStart"]);
48
- function ze(t) {
49
- return je.has(t) || t.indexOf("data-") > -1;
50
- }
51
- var oe = {};
52
- Object.defineProperty(oe, "__esModule", {
53
- value: !0
54
- });
55
- var pe = oe.styleq = void 0, He = /* @__PURE__ */ new WeakMap(), Le = "$$css";
56
- function xe(t) {
57
- var e, o, n;
58
- return t != null && (e = t.disableCache === !0, o = t.disableMix === !0, n = t.transform), function() {
59
- for (var l = [], a = "", i = null, r = "", s = e ? null : He, d = new Array(arguments.length), p = 0; p < arguments.length; p++)
60
- d[p] = arguments[p];
61
- for (; d.length > 0; ) {
62
- var u = d.pop();
63
- if (!(u == null || u === !1)) {
64
- if (Array.isArray(u)) {
65
- for (var x = 0; x < u.length; x++)
66
- d.push(u[x]);
67
- continue;
68
- }
69
- var g = n != null ? n(u) : u;
70
- if (g.$$css != null) {
71
- var h = "";
72
- if (s != null && s.has(g)) {
73
- var b = s.get(g);
74
- b != null && (h = b[0], r = b[2], l.push.apply(l, b[1]), s = b[3]);
75
- } else {
76
- var y = [];
77
- for (var k in g) {
78
- var w = g[k];
79
- if (k === Le) {
80
- var C = g[k];
81
- C !== !0 && (r = r ? C + "; " + r : C);
82
- continue;
83
- }
84
- typeof w == "string" || w === null ? l.includes(k) || (l.push(k), s != null && y.push(k), typeof w == "string" && (h += h ? " " + w : w)) : console.error("styleq: ".concat(k, " typeof ").concat(String(w), ' is not "string" or "null".'));
85
- }
86
- if (s != null) {
87
- var R = /* @__PURE__ */ new WeakMap();
88
- s.set(g, [h, y, r, R]), s = R;
89
- }
90
- }
91
- h && (a = a ? h + " " + a : h);
92
- } else if (o)
93
- i == null && (i = {}), i = Object.assign({}, g, i);
94
- else {
95
- var H = null;
96
- for (var I in g) {
97
- var O = g[I];
98
- O !== void 0 && (l.includes(I) || (O != null && (i == null && (i = {}), H == null && (H = {}), H[I] = O), l.push(I), s = null));
99
- }
100
- H != null && (i = Object.assign(H, i));
101
- }
102
- }
103
- }
104
- var D = [a, i, r];
105
- return D;
106
- };
35
+ }, pe = A(null);
36
+ function Re() {
37
+ return G(pe);
107
38
  }
108
- var Ie = pe = oe.styleq = xe();
109
- Ie.factory = xe;
110
- const qe = pe.factory({
111
- disableMix: !0
112
- });
113
- function Pe(...t) {
114
- const [e, o, n] = qe(t), c = {};
115
- if (e != null && e !== "" && (c.className = e), o != null && (c.style = o), n != null && n !== "") {
116
- const l = n.split(";"), a = {};
117
- for (const i of l) {
118
- const r = i.trim(), [s, d] = r.split(":");
119
- d != null && (a[s] = a[s] != null ? `${a[s]},${d}` : d);
120
- }
121
- c["data-style-src"] = Object.keys(a).map((i) => `${i}:${a[i]}`).join("; ");
122
- }
123
- return c;
124
- }
125
- function Ee(t) {
126
- Object.keys(t).forEach((e) => {
127
- ze(e) || (Re(`invalid prop "${e}"`), delete t[e]);
128
- });
129
- }
130
- function m(t, e) {
131
- const o = {
132
- $$css: !0,
133
- "debug::name": `html-${t}`
134
- };
135
- function n({
136
- ref: c,
137
- ...l
138
- }) {
139
- const {
140
- for: a,
141
- style: i,
142
- ...r
143
- } = l, s = r;
144
- Ee(s), a != null && (s.htmlFor = a), l.role != null && (s.role = l.role === "none" ? "presentation" : l.role), t === "button" ? s.type = s.type ? s.type : "button" : (t === "input" || t === "textarea") && (s.dir = s.dir ? s.dir : "auto");
145
- const d = Pe([o, e, i]);
146
- return M(t, {
147
- ...s,
148
- ...d,
149
- ref: c
150
- });
151
- }
152
- return n.displayName = `html.${t}`, n;
153
- }
154
- const v = {
155
- block: {
156
- "margin-kogj98": "margin-x1ghz6dp",
157
- "padding-kmVPX3": "padding-x1717udv",
158
- $$css: ".pnpm:web/index.js:226"
159
- },
160
- inline: {
161
- "margin-kogj98": "margin-x1ghz6dp",
162
- "padding-kmVPX3": "padding-x1717udv",
163
- "textDecoration-kybGjl": "textDecoration-x1hl2dhg",
164
- "textAlign-k9WMMc": "textAlign-x16tdsg8",
165
- "wordWrap-kD5eJx": "wordWrap-x1vvkbs",
166
- $$css: ".pnpm:web/index.js:230"
167
- },
168
- inlineblock: {
169
- "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
170
- "margin-kogj98": "margin-x1ghz6dp",
171
- "padding-kmVPX3": "padding-x1717udv",
172
- $$css: ".pnpm:web/index.js:237"
173
- },
174
- button: {
175
- "borderWidth-kMzoRj": "borderWidth-xmkeg23",
176
- $$css: ".pnpm:web/index.js:242"
177
- },
178
- codePre: {
179
- "fontFamily-kMv6JI": "fontFamily-x1lxnp44",
180
- "fontSize-kGuDYH": "fontSize-xrv4cvt",
181
- "overflow-kVQacm": "overflow-xysyzu8",
182
- $$css: ".pnpm:web/index.js:245"
183
- },
184
- heading: {
185
- "fontSize-kGuDYH": "fontSize-xngnso2",
186
- "wordWrap-kD5eJx": "wordWrap-x1vvkbs",
187
- $$css: ".pnpm:web/index.js:250"
188
- },
189
- hr: {
190
- "backgroundColor-kWkggS": "backgroundColor-x42x0ya",
191
- "borderStyle-ksu8eU": "borderStyle-xng3xce",
192
- "borderWidth-kMzoRj": "borderWidth-xc342km",
193
- "boxSizing-kB7OPa": "boxSizing-x9f619",
194
- "height-kZKoxP": "height-xjm9jq1",
195
- $$css: ".pnpm:web/index.js:254"
196
- },
197
- img: {
198
- "aspectRatio-kOBAk4": "aspectRatio-xuw900x",
199
- "height-kZKoxP": "height-xt7dq6l",
200
- "maxWidth-ks0D6T": "maxWidth-x193iq5w",
201
- $$css: ".pnpm:web/index.js:261"
202
- },
203
- input: {
204
- "borderWidth-kMzoRj": "borderWidth-xmkeg23",
205
- "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
206
- $$css: ".pnpm:web/index.js:266"
207
- },
208
- list: {
209
- "listStyle-kB88ic": "listStyle-xe8uvvx",
210
- $$css: ".pnpm:web/index.js:270"
211
- },
212
- strong: {
213
- "fontWeight-k63SB2": "fontWeight-x117nqv4",
214
- $$css: ".pnpm:web/index.js:273"
215
- },
216
- textarea: {
217
- "borderWidth-kMzoRj": "borderWidth-xmkeg23",
218
- "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
219
- "resize-kHenm0": "resize-x288g5",
220
- $$css: ".pnpm:web/index.js:276"
221
- }
222
- }, Be = v.inline, Oe = v.block, Ge = v.block, Ae = v.inline, De = v.inline, Fe = v.inline, Ve = v.block, Xe = null, Ke = [v.inlineblock, v.button], Ne = [v.inline, v.codePre], _e = null, Ye = v.block, Ze = v.inline, Ue = v.block, Je = v.block, Qe = v.block, X = [v.block, v.heading], et = v.block, tt = [v.block, v.hr], ot = v.inline, nt = v.img, rt = [v.inlineblock, v.input], it = null, st = null, lt = v.inline, at = v.block, ct = v.block, dt = v.inline, ut = v.block, pt = [v.list, v.block], xt = null, gt = null, ht = v.block, mt = [v.block, v.codePre], ft = null, bt = v.block, kt = v.inlineblock, vt = v.inline, yt = [v.inline, v.strong], wt = v.inline, $t = v.inline, Mt = [v.inlineblock, v.textarea], Tt = null, Wt = [v.list, v.block], f = {
223
- a: Be,
224
- article: Oe,
225
- aside: Ge,
226
- b: Ae,
227
- bdi: De,
228
- bdo: Fe,
229
- blockquote: Ve,
230
- br: Xe,
231
- button: Ke,
232
- code: Ne,
233
- del: _e,
234
- div: Ye,
235
- em: Ze,
236
- fieldset: Ue,
237
- footer: Je,
238
- form: Qe,
239
- h1: X,
240
- h2: X,
241
- h3: X,
242
- h4: X,
243
- h5: X,
244
- h6: X,
245
- header: et,
246
- hr: tt,
247
- i: ot,
248
- img: nt,
249
- input: rt,
250
- ins: it,
251
- kbd: st,
252
- label: lt,
253
- li: at,
254
- main: ct,
255
- mark: dt,
256
- nav: ut,
257
- ol: pt,
258
- optgroup: xt,
259
- option: gt,
260
- p: ht,
261
- pre: mt,
262
- s: ft,
263
- section: bt,
264
- select: kt,
265
- span: vt,
266
- strong: yt,
267
- sub: wt,
268
- sup: $t,
269
- textarea: Mt,
270
- u: Tt,
271
- ul: Wt
272
- }, St = m("a", f.a), Ct = m("article", f.article), Rt = m("aside", f.aside), jt = m("b", f.b), zt = m("bdi", f.bdi), Ht = m("bdo", f.bdo), Lt = m("blockquote", f.blockquote), It = m("br", f.br), qt = m("button", f.button), Pt = m("code", f.code), Et = m("del", f.del), Bt = m("div", f.div), Ot = m("em", f.em), Gt = m("fieldset", f.fieldset), At = m("footer", f.footer), Dt = m("form", f.form), Ft = m("h1", f.h1), Vt = m("h2", f.h2), Xt = m("h3", f.h3), Kt = m("h4", f.h4), Nt = m("h5", f.h5), _t = m("h6", f.h6), Yt = m("header", f.header), Zt = m("hr", f.hr), Ut = m("i", f.i), Jt = m("img", f.img), Qt = m("input", f.input), eo = m("ins", f.ins), to = m("kbd", f.kbd), oo = m("label", f.label), no = m("li", f.li), ro = m("main", f.main), io = m("mark", f.mark), so = m("nav", f.nav), lo = m("ol", f.ol), ao = m("optgroup", f.optgroup), co = m("option", f.option), uo = m("p", f.p), po = m("pre", f.pre), xo = m("s", f.s), go = m("section", f.section), ho = m("select", f.select), mo = m("span", f.span), fo = m("strong", f.strong), bo = m("sub", f.sub), ko = m("sup", f.sup), vo = m("textarea", f.textarea), yo = m("u", f.u), wo = m("ul", f.ul);
273
- var $o = /* @__PURE__ */ Object.freeze({
274
- __proto__: null,
275
- a: St,
276
- article: Ct,
277
- aside: Rt,
278
- b: jt,
279
- bdi: zt,
280
- bdo: Ht,
281
- blockquote: Lt,
282
- br: It,
283
- button: qt,
284
- code: Pt,
285
- del: Et,
286
- div: Bt,
287
- em: Ot,
288
- fieldset: Gt,
289
- footer: At,
290
- form: Dt,
291
- h1: Ft,
292
- h2: Vt,
293
- h3: Xt,
294
- h4: Kt,
295
- h5: Nt,
296
- h6: _t,
297
- header: Yt,
298
- hr: Zt,
299
- i: Ut,
300
- img: Jt,
301
- input: Qt,
302
- ins: eo,
303
- kbd: to,
304
- label: oo,
305
- li: no,
306
- main: ro,
307
- mark: io,
308
- nav: so,
309
- ol: lo,
310
- optgroup: ao,
311
- option: co,
312
- p: uo,
313
- pre: po,
314
- s: xo,
315
- section: go,
316
- select: ho,
317
- span: mo,
318
- strong: fo,
319
- sub: bo,
320
- sup: ko,
321
- textarea: vo,
322
- u: yo,
323
- ul: wo
324
- });
325
- const ge = A(null);
326
- function Mo() {
327
- return G(ge);
328
- }
329
- const he = A(null);
330
- function To() {
331
- return G(he);
39
+ const xe = A(null);
40
+ function ze() {
41
+ return G(xe);
332
42
  }
333
43
  const V = {
334
44
  item: {
@@ -368,7 +78,7 @@ const V = {
368
78
  "marginTop-keoZOQ": "marginTop-xn1ib9x",
369
79
  $$css: "ButtonGroup/attached.css.ts:39"
370
80
  }
371
- }, Wo = {
81
+ }, je = {
372
82
  horizontal: {
373
83
  first: V.horizontalFirst,
374
84
  middle: V.horizontalMiddle,
@@ -382,13 +92,13 @@ const V = {
382
92
  only: null
383
93
  }
384
94
  };
385
- function So(t) {
95
+ function He(t) {
386
96
  const e = L.c(26);
387
97
  let o;
388
98
  e[0] !== t ? (o = t === void 0 ? {} : t, e[0] = t, e[1] = o) : o = e[1];
389
99
  const {
390
100
  disabled: n
391
- } = o, c = n === void 0 ? !1 : n, l = Y(), a = q(null), i = To(), r = Mo(), s = i?.register, d = r?.register;
101
+ } = o, c = n === void 0 ? !1 : n, l = Y(), a = q(null), i = ze(), r = Re(), s = i?.register, d = r?.register;
392
102
  let p, u;
393
103
  e[2] !== c || e[3] !== s || e[4] !== l || e[5] !== d ? (p = () => {
394
104
  const R = a.current;
@@ -403,7 +113,7 @@ function So(t) {
403
113
  e[8] !== i || e[9] !== l ? (x = i ? i.positionOf(l) : null, e[8] = i, e[9] = l, e[10] = x) : x = e[10];
404
114
  const g = x;
405
115
  let h;
406
- e[11] !== i || e[12] !== g ? (h = i && g ? [V.item, Wo[i.orientation][g]] : null, e[11] = i, e[12] = g, e[13] = h) : h = e[13];
116
+ e[11] !== i || e[12] !== g ? (h = i && g ? [V.item, je[i.orientation][g]] : null, e[11] = i, e[12] = g, e[13] = h) : h = e[13];
407
117
  const b = h, y = i !== null;
408
118
  let k;
409
119
  e[14] !== l || e[15] !== r ? (k = r?.tabIndexOf(l), e[14] = l, e[15] = r, e[16] = k) : k = e[16];
@@ -419,22 +129,22 @@ function So(t) {
419
129
  onFocus: w
420
130
  }, e[20] = g, e[21] = b, e[22] = y, e[23] = k, e[24] = w, e[25] = C) : C = e[25], C;
421
131
  }
422
- const Co = {
132
+ const Le = {
423
133
  xjvd03b: "x27mww3 xjvd03b",
424
134
  $$css: !0
425
- }, Ro = {
135
+ }, Ie = {
426
136
  x13v825q: "x1jk1o70 x13v825q",
427
137
  $$css: !0
428
- }, jo = {
138
+ }, qe = {
429
139
  xjvd03b: "x1kpt2hd xjvd03b",
430
140
  $$css: !0
431
- }, zo = {
141
+ }, Pe = {
432
142
  x13v825q: "xc8o4hb x13v825q",
433
143
  $$css: !0
434
- }, Ho = {
435
- light: [Co, Ro],
436
- "high-contrast": [jo, zo]
437
- }, ce = {
144
+ }, Ee = {
145
+ light: [Le, Ie],
146
+ "high-contrast": [qe, Pe]
147
+ }, ae = {
438
148
  root: {
439
149
  "display-k1xSpc": "display-xjp7ctv",
440
150
  "color-kMwMTN": "color-x95150z",
@@ -450,41 +160,42 @@ const Co = {
450
160
  "zIndex-kY2c9j": "zIndex-x3z26px",
451
161
  $$css: "ThemeProvider/ThemeProvider.tsx:29"
452
162
  }
453
- }, me = A(null);
454
- function Lo() {
455
- return G(me);
163
+ }, ge = A(null);
164
+ function Be() {
165
+ return G(ge);
456
166
  }
457
167
  function xn(t) {
458
168
  const e = L.c(11), {
459
169
  theme: o,
460
170
  children: n
461
- } = t, c = o === void 0 ? "dark" : o, l = Ho[c], a = l?.[0], i = l?.[1];
171
+ } = t, c = o === void 0 ? "dark" : o, l = Ee[c], a = l?.[0], i = l?.[1];
462
172
  let r;
463
- e[0] !== a || e[1] !== i ? (r = [a, i, ce.root], e[0] = a, e[1] = i, e[2] = r) : r = e[2];
173
+ e[0] !== a || e[1] !== i ? (r = [a, i, ae.root], e[0] = a, e[1] = i, e[2] = r) : r = e[2];
464
174
  const s = r, [d, p] = Z(null);
465
175
  let u;
466
- e[3] !== n || e[4] !== d ? (u = /* @__PURE__ */ M(me.Provider, { value: d, children: n }), e[3] = n, e[4] = d, e[5] = u) : u = e[5];
176
+ e[3] !== n || e[4] !== d ? (u = /* @__PURE__ */ M(ge.Provider, { value: d, children: n }), e[3] = n, e[4] = d, e[5] = u) : u = e[5];
467
177
  let x;
468
- e[6] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ M("div", { "data-element-src": "ThemeProvider/ThemeProvider.tsx:60", ref: p, "data-portal-mount": !0, ...W(S.div, ce.portalMount) }), e[6] = x) : x = e[6];
178
+ e[6] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ M("div", { "data-element-src": "ThemeProvider/ThemeProvider.tsx:60", ref: p, "data-portal-mount": !0, ...W(S.div, ae.portalMount) }), e[6] = x) : x = e[6];
469
179
  let g;
470
180
  return e[7] !== u || e[8] !== c || e[9] !== s ? (g = /* @__PURE__ */ U("div", { "data-element-src": "ThemeProvider/ThemeProvider.tsx:58", "data-theme": c, ...W(S.div, s), children: [
471
181
  u,
472
182
  x
473
183
  ] }), e[7] = u, e[8] = c, e[9] = s, e[10] = g) : g = e[10], g;
474
184
  }
475
- function Io(t) {
185
+ function Oe(t) {
476
186
  const e = L.c(2), {
477
187
  children: o
478
188
  } = t;
479
189
  let n;
480
- return e[0] !== o ? (n = /* @__PURE__ */ M(he.Provider, { value: null, children: /* @__PURE__ */ M(ge.Provider, { value: null, children: o }) }), e[0] = o, e[1] = n) : n = e[1], n;
481
- }
482
- const qo = typeof process < "u" && process.env?.NODE_ENV === "production", de = /* @__PURE__ */ new Set();
483
- function fe(t, e, o) {
484
- const n = `${t}:${e}`;
485
- qo || de.has(n) || (de.add(n), console.warn(`[duro-app/ui ${t}] ${o}`));
190
+ return e[0] !== o ? (n = /* @__PURE__ */ M(xe.Provider, { value: null, children: /* @__PURE__ */ M(pe.Provider, { value: null, children: o }) }), e[0] = o, e[1] = n) : n = e[1], n;
486
191
  }
487
- const be = {
192
+ const gn = {
193
+ xs: 480,
194
+ sm: 640,
195
+ md: 768,
196
+ lg: 1024,
197
+ xl: 1280
198
+ }, he = {
488
199
  touchTarget: "var(--touchTarget-x1u5badx)",
489
200
  controlSm: "var(--controlSm-x6ymn93)",
490
201
  controlMd: "var(--controlMd-xkvaeme)",
@@ -567,10 +278,306 @@ const be = {
567
278
  timeGutterW: "var(--timeGutterW-xsc6tna)",
568
279
  dayHeaderH: "var(--dayHeaderH-x1j7gty0)",
569
280
  timelineLabelW: "var(--timelineLabelW-xx6mz1f)",
281
+ appBarH: "var(--appBarH-x12xs6hi)",
570
282
  __varGroupHash__: "x1w57kmz"
571
- }, ke = new Set(Ce);
283
+ };
284
+ /**
285
+ * @license react-strict-dom
286
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
287
+ *
288
+ * This source code is licensed under the MIT license found in the
289
+ * LICENSE file in the root directory of this source tree.
290
+ */
291
+ const ce = {};
292
+ function Ge(t) {
293
+ process.env.NODE_ENV !== "test" && ce[t] || (ce[t] = !0, console.error(`[error] React Strict DOM: ${t}`));
294
+ }
295
+ const Ae = /* @__PURE__ */ new Set(["alt", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autoCapitalize", "autoComplete", "autoFocus", "checked", "children", "crossOrigin", "decoding", "defaultChecked", "defaultValue", "dir", "disabled", "download", "draggable", "elementTiming", "enterKeyHint", "fetchPriority", "for", "height", "hidden", "href", "id", "inert", "inputMode", "label", "lang", "loading", "max", "maxLength", "min", "minLength", "multiple", "name", "onAuxClick", "onBeforeInput", "onBlur", "onChange", "onClick", "onContextMenu", "onCopy", "onCut", "onError", "onFocus", "onFocusIn", "onFocusOut", "onFullscreenChange", "onFullscreenError", "onGotPointerCapture", "onInput", "onInvalid", "onKeyDown", "onKeyUp", "onLoad", "onLostPointerCapture", "onPaste", "onPointerCancel", "onPointerDown", "onPointerEnter", "onPointerLeave", "onPointerMove", "onPointerOut", "onPointerOver", "onPointerUp", "onScroll", "onSelect", "onSelectionChange", "onWheel", "placeholder", "readOnly", "referrerPolicy", "rel", "required", "role", "rows", "selected", "spellCheck", "src", "srcSet", "step", "style", "tabIndex", "target", "type", "value", "width", "suppressHydrationWarning", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseOut", "onMouseOver", "onMouseUp", "onTouchCancel", "onTouchEnd", "onTouchMove", "onTouchStart"]);
296
+ function De(t) {
297
+ return Ae.has(t) || t.indexOf("data-") > -1;
298
+ }
299
+ var oe = {};
300
+ Object.defineProperty(oe, "__esModule", {
301
+ value: !0
302
+ });
303
+ var me = oe.styleq = void 0, Fe = /* @__PURE__ */ new WeakMap(), Ve = "$$css";
304
+ function fe(t) {
305
+ var e, o, n;
306
+ return t != null && (e = t.disableCache === !0, o = t.disableMix === !0, n = t.transform), function() {
307
+ for (var l = [], a = "", i = null, r = "", s = e ? null : Fe, d = new Array(arguments.length), p = 0; p < arguments.length; p++)
308
+ d[p] = arguments[p];
309
+ for (; d.length > 0; ) {
310
+ var u = d.pop();
311
+ if (!(u == null || u === !1)) {
312
+ if (Array.isArray(u)) {
313
+ for (var x = 0; x < u.length; x++)
314
+ d.push(u[x]);
315
+ continue;
316
+ }
317
+ var g = n != null ? n(u) : u;
318
+ if (g.$$css != null) {
319
+ var h = "";
320
+ if (s != null && s.has(g)) {
321
+ var b = s.get(g);
322
+ b != null && (h = b[0], r = b[2], l.push.apply(l, b[1]), s = b[3]);
323
+ } else {
324
+ var y = [];
325
+ for (var k in g) {
326
+ var w = g[k];
327
+ if (k === Ve) {
328
+ var C = g[k];
329
+ C !== !0 && (r = r ? C + "; " + r : C);
330
+ continue;
331
+ }
332
+ typeof w == "string" || w === null ? l.includes(k) || (l.push(k), s != null && y.push(k), typeof w == "string" && (h += h ? " " + w : w)) : console.error("styleq: ".concat(k, " typeof ").concat(String(w), ' is not "string" or "null".'));
333
+ }
334
+ if (s != null) {
335
+ var R = /* @__PURE__ */ new WeakMap();
336
+ s.set(g, [h, y, r, R]), s = R;
337
+ }
338
+ }
339
+ h && (a = a ? h + " " + a : h);
340
+ } else if (o)
341
+ i == null && (i = {}), i = Object.assign({}, g, i);
342
+ else {
343
+ var H = null;
344
+ for (var I in g) {
345
+ var O = g[I];
346
+ O !== void 0 && (l.includes(I) || (O != null && (i == null && (i = {}), H == null && (H = {}), H[I] = O), l.push(I), s = null));
347
+ }
348
+ H != null && (i = Object.assign(H, i));
349
+ }
350
+ }
351
+ }
352
+ var D = [a, i, r];
353
+ return D;
354
+ };
355
+ }
356
+ var Xe = me = oe.styleq = fe();
357
+ Xe.factory = fe;
358
+ const Ke = me.factory({
359
+ disableMix: !0
360
+ });
361
+ function Ne(...t) {
362
+ const [e, o, n] = Ke(t), c = {};
363
+ if (e != null && e !== "" && (c.className = e), o != null && (c.style = o), n != null && n !== "") {
364
+ const l = n.split(";"), a = {};
365
+ for (const i of l) {
366
+ const r = i.trim(), [s, d] = r.split(":");
367
+ d != null && (a[s] = a[s] != null ? `${a[s]},${d}` : d);
368
+ }
369
+ c["data-style-src"] = Object.keys(a).map((i) => `${i}:${a[i]}`).join("; ");
370
+ }
371
+ return c;
372
+ }
373
+ function _e(t) {
374
+ Object.keys(t).forEach((e) => {
375
+ De(e) || (Ge(`invalid prop "${e}"`), delete t[e]);
376
+ });
377
+ }
378
+ function m(t, e) {
379
+ const o = {
380
+ $$css: !0,
381
+ "debug::name": `html-${t}`
382
+ };
383
+ function n({
384
+ ref: c,
385
+ ...l
386
+ }) {
387
+ const {
388
+ for: a,
389
+ style: i,
390
+ ...r
391
+ } = l, s = r;
392
+ _e(s), a != null && (s.htmlFor = a), l.role != null && (s.role = l.role === "none" ? "presentation" : l.role), t === "button" ? s.type = s.type ? s.type : "button" : (t === "input" || t === "textarea") && (s.dir = s.dir ? s.dir : "auto");
393
+ const d = Ne([o, e, i]);
394
+ return M(t, {
395
+ ...s,
396
+ ...d,
397
+ ref: c
398
+ });
399
+ }
400
+ return n.displayName = `html.${t}`, n;
401
+ }
402
+ const v = {
403
+ block: {
404
+ "margin-kogj98": "margin-x1ghz6dp",
405
+ "padding-kmVPX3": "padding-x1717udv",
406
+ $$css: ".pnpm:web/index.js:226"
407
+ },
408
+ inline: {
409
+ "margin-kogj98": "margin-x1ghz6dp",
410
+ "padding-kmVPX3": "padding-x1717udv",
411
+ "textDecoration-kybGjl": "textDecoration-x1hl2dhg",
412
+ "textAlign-k9WMMc": "textAlign-x16tdsg8",
413
+ "wordWrap-kD5eJx": "wordWrap-x1vvkbs",
414
+ $$css: ".pnpm:web/index.js:230"
415
+ },
416
+ inlineblock: {
417
+ "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
418
+ "margin-kogj98": "margin-x1ghz6dp",
419
+ "padding-kmVPX3": "padding-x1717udv",
420
+ $$css: ".pnpm:web/index.js:237"
421
+ },
422
+ button: {
423
+ "borderWidth-kMzoRj": "borderWidth-xmkeg23",
424
+ $$css: ".pnpm:web/index.js:242"
425
+ },
426
+ codePre: {
427
+ "fontFamily-kMv6JI": "fontFamily-x1lxnp44",
428
+ "fontSize-kGuDYH": "fontSize-xrv4cvt",
429
+ "overflow-kVQacm": "overflow-xysyzu8",
430
+ $$css: ".pnpm:web/index.js:245"
431
+ },
432
+ heading: {
433
+ "fontSize-kGuDYH": "fontSize-xngnso2",
434
+ "wordWrap-kD5eJx": "wordWrap-x1vvkbs",
435
+ $$css: ".pnpm:web/index.js:250"
436
+ },
437
+ hr: {
438
+ "backgroundColor-kWkggS": "backgroundColor-x42x0ya",
439
+ "borderStyle-ksu8eU": "borderStyle-xng3xce",
440
+ "borderWidth-kMzoRj": "borderWidth-xc342km",
441
+ "boxSizing-kB7OPa": "boxSizing-x9f619",
442
+ "height-kZKoxP": "height-xjm9jq1",
443
+ $$css: ".pnpm:web/index.js:254"
444
+ },
445
+ img: {
446
+ "aspectRatio-kOBAk4": "aspectRatio-xuw900x",
447
+ "height-kZKoxP": "height-xt7dq6l",
448
+ "maxWidth-ks0D6T": "maxWidth-x193iq5w",
449
+ $$css: ".pnpm:web/index.js:261"
450
+ },
451
+ input: {
452
+ "borderWidth-kMzoRj": "borderWidth-xmkeg23",
453
+ "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
454
+ $$css: ".pnpm:web/index.js:266"
455
+ },
456
+ list: {
457
+ "listStyle-kB88ic": "listStyle-xe8uvvx",
458
+ $$css: ".pnpm:web/index.js:270"
459
+ },
460
+ strong: {
461
+ "fontWeight-k63SB2": "fontWeight-x117nqv4",
462
+ $$css: ".pnpm:web/index.js:273"
463
+ },
464
+ textarea: {
465
+ "borderWidth-kMzoRj": "borderWidth-xmkeg23",
466
+ "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
467
+ "resize-kHenm0": "resize-x288g5",
468
+ $$css: ".pnpm:web/index.js:276"
469
+ }
470
+ }, Ye = v.inline, Ze = v.block, Ue = v.block, Je = v.inline, Qe = v.inline, et = v.inline, tt = v.block, ot = null, nt = [v.inlineblock, v.button], rt = [v.inline, v.codePre], it = null, st = v.block, lt = v.inline, at = v.block, ct = v.block, dt = v.block, X = [v.block, v.heading], ut = v.block, pt = [v.block, v.hr], xt = v.inline, gt = v.img, ht = [v.inlineblock, v.input], mt = null, ft = null, bt = v.inline, kt = v.block, vt = v.block, yt = v.inline, wt = v.block, $t = [v.list, v.block], Mt = null, Tt = null, Wt = v.block, St = [v.block, v.codePre], Ct = null, Rt = v.block, zt = v.inlineblock, jt = v.inline, Ht = [v.inline, v.strong], Lt = v.inline, It = v.inline, qt = [v.inlineblock, v.textarea], Pt = null, Et = [v.list, v.block], f = {
471
+ a: Ye,
472
+ article: Ze,
473
+ aside: Ue,
474
+ b: Je,
475
+ bdi: Qe,
476
+ bdo: et,
477
+ blockquote: tt,
478
+ br: ot,
479
+ button: nt,
480
+ code: rt,
481
+ del: it,
482
+ div: st,
483
+ em: lt,
484
+ fieldset: at,
485
+ footer: ct,
486
+ form: dt,
487
+ h1: X,
488
+ h2: X,
489
+ h3: X,
490
+ h4: X,
491
+ h5: X,
492
+ h6: X,
493
+ header: ut,
494
+ hr: pt,
495
+ i: xt,
496
+ img: gt,
497
+ input: ht,
498
+ ins: mt,
499
+ kbd: ft,
500
+ label: bt,
501
+ li: kt,
502
+ main: vt,
503
+ mark: yt,
504
+ nav: wt,
505
+ ol: $t,
506
+ optgroup: Mt,
507
+ option: Tt,
508
+ p: Wt,
509
+ pre: St,
510
+ s: Ct,
511
+ section: Rt,
512
+ select: zt,
513
+ span: jt,
514
+ strong: Ht,
515
+ sub: Lt,
516
+ sup: It,
517
+ textarea: qt,
518
+ u: Pt,
519
+ ul: Et
520
+ }, Bt = m("a", f.a), Ot = m("article", f.article), Gt = m("aside", f.aside), At = m("b", f.b), Dt = m("bdi", f.bdi), Ft = m("bdo", f.bdo), Vt = m("blockquote", f.blockquote), Xt = m("br", f.br), Kt = m("button", f.button), Nt = m("code", f.code), _t = m("del", f.del), Yt = m("div", f.div), Zt = m("em", f.em), Ut = m("fieldset", f.fieldset), Jt = m("footer", f.footer), Qt = m("form", f.form), eo = m("h1", f.h1), to = m("h2", f.h2), oo = m("h3", f.h3), no = m("h4", f.h4), ro = m("h5", f.h5), io = m("h6", f.h6), so = m("header", f.header), lo = m("hr", f.hr), ao = m("i", f.i), co = m("img", f.img), uo = m("input", f.input), po = m("ins", f.ins), xo = m("kbd", f.kbd), go = m("label", f.label), ho = m("li", f.li), mo = m("main", f.main), fo = m("mark", f.mark), bo = m("nav", f.nav), ko = m("ol", f.ol), vo = m("optgroup", f.optgroup), yo = m("option", f.option), wo = m("p", f.p), $o = m("pre", f.pre), Mo = m("s", f.s), To = m("section", f.section), Wo = m("select", f.select), So = m("span", f.span), Co = m("strong", f.strong), Ro = m("sub", f.sub), zo = m("sup", f.sup), jo = m("textarea", f.textarea), Ho = m("u", f.u), Lo = m("ul", f.ul);
521
+ var Io = /* @__PURE__ */ Object.freeze({
522
+ __proto__: null,
523
+ a: Bt,
524
+ article: Ot,
525
+ aside: Gt,
526
+ b: At,
527
+ bdi: Dt,
528
+ bdo: Ft,
529
+ blockquote: Vt,
530
+ br: Xt,
531
+ button: Kt,
532
+ code: Nt,
533
+ del: _t,
534
+ div: Yt,
535
+ em: Zt,
536
+ fieldset: Ut,
537
+ footer: Jt,
538
+ form: Qt,
539
+ h1: eo,
540
+ h2: to,
541
+ h3: oo,
542
+ h4: no,
543
+ h5: ro,
544
+ h6: io,
545
+ header: so,
546
+ hr: lo,
547
+ i: ao,
548
+ img: co,
549
+ input: uo,
550
+ ins: po,
551
+ kbd: xo,
552
+ label: go,
553
+ li: ho,
554
+ main: mo,
555
+ mark: fo,
556
+ nav: bo,
557
+ ol: ko,
558
+ optgroup: vo,
559
+ option: yo,
560
+ p: wo,
561
+ pre: $o,
562
+ s: Mo,
563
+ section: To,
564
+ select: Wo,
565
+ span: So,
566
+ strong: Co,
567
+ sub: Ro,
568
+ sup: zo,
569
+ textarea: jo,
570
+ u: Ho,
571
+ ul: Lo
572
+ });
573
+ const qo = typeof process < "u" && process.env?.NODE_ENV === "production", de = /* @__PURE__ */ new Set();
574
+ function be(t, e, o) {
575
+ const n = `${t}:${e}`;
576
+ qo || de.has(n) || (de.add(n), console.warn(`[duro-app/ui ${t}] ${o}`));
577
+ }
578
+ const ke = new Set(Ce);
572
579
  function ve(t) {
573
- return typeof t == "string" && ke.has(t) ? be[t] : t;
580
+ return typeof t == "string" && ke.has(t) ? he[t] : t;
574
581
  }
575
582
  function ue(t) {
576
583
  const e = t;
@@ -580,7 +587,7 @@ function ue(t) {
580
587
  const n = o[2].split(",").map((c) => String(ve(c.trim())));
581
588
  return `${o[1]}(${n.join(", ")})`;
582
589
  }
583
- return ke.has(e) ? be[e] : e;
590
+ return ke.has(e) ? he[e] : e;
584
591
  }
585
592
  const P = {
586
593
  root: {
@@ -604,6 +611,8 @@ const P = {
604
611
  "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
605
612
  "borderColor-kVAM5u": "borderColor-x15ykms2",
606
613
  "borderRadius-kaIpWk": "borderRadius-x17rit4p",
614
+ "minWidth-k7Eaqz": "minWidth-x7pv91t",
615
+ "minHeight-kAzted": "minHeight-xztz0i",
607
616
  "cursor-kkrTdU": "cursor-x1ypdohk",
608
617
  "transitionProperty-k1ekBW": "transitionProperty-xts7igz",
609
618
  "transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
@@ -611,14 +620,14 @@ const P = {
611
620
  },
612
621
  triggerGhost: {
613
622
  "justifyContent-kjj79g": "justifyContent-xl56j7k",
614
- "minWidth-k7Eaqz": "minWidth-x1v8ggfx",
615
- "minHeight-kAzted": "minHeight-x1304zm3",
623
+ "minWidth-k7Eaqz": "minWidth-x1v8ggfx minWidth-x7pv91t",
624
+ "minHeight-kAzted": "minHeight-x1304zm3 minHeight-xztz0i",
616
625
  "paddingTop-kLKAdn": "paddingTop-x1i738hq",
617
626
  "paddingBottom-kGO01o": "paddingBottom-x6sojwk",
618
627
  "paddingLeft-kE3dHu": "paddingLeft-xzmizx3",
619
628
  "paddingRight-kpe85a": "paddingRight-x7ulw7g",
620
629
  "borderColor-kVAM5u": "borderColor-x9r1u3d",
621
- $$css: "Menu/styles.css.ts:40"
630
+ $$css: "Menu/styles.css.ts:43"
622
631
  },
623
632
  triggerSmall: {
624
633
  "gap-kOIVth": "gap-xl5ne8a",
@@ -628,13 +637,13 @@ const P = {
628
637
  "paddingRight-kpe85a": "paddingRight-xpkaq21",
629
638
  "fontSize-kGuDYH": "fontSize-x1f81oxx",
630
639
  "minHeight-kAzted": "minHeight-xjf0s44 minHeight-xztz0i",
631
- $$css: "Menu/styles.css.ts:53"
640
+ $$css: "Menu/styles.css.ts:56"
632
641
  },
633
642
  triggerGhostSmall: {
634
643
  "fontSize-kGuDYH": "fontSize-x1f81oxx",
635
- "minWidth-k7Eaqz": "minWidth-x1xyvl2a",
644
+ "minWidth-k7Eaqz": "minWidth-x1xyvl2a minWidth-x7pv91t",
636
645
  "minHeight-kAzted": "minHeight-xmlnt67 minHeight-xztz0i",
637
- $$css: "Menu/styles.css.ts:63"
646
+ $$css: "Menu/styles.css.ts:66"
638
647
  },
639
648
  popup: {
640
649
  "position-kVAEAm": "position-xixxii4",
@@ -654,12 +663,12 @@ const P = {
654
663
  "zIndex-kY2c9j": "zIndex-x9qr3eb",
655
664
  "pointerEvents-kfzvcC": "pointerEvents-x67bb7w",
656
665
  "outlineStyle-k3XXqK": "outlineStyle-x1t137rt",
657
- $$css: "Menu/styles.css.ts:68"
666
+ $$css: "Menu/styles.css.ts:71"
658
667
  },
659
668
  popupPosition: (t, e) => [{
660
669
  "top-k87sOh": t != null ? "top-xjbys53" : t,
661
670
  "left-kbCHJM": e != null ? "left-xgq9j65" : e,
662
- $$css: "Menu/styles.css.ts:91"
671
+ $$css: "Menu/styles.css.ts:94"
663
672
  }, {
664
673
  "--x-top": ((o) => typeof o == "number" ? o + "px" : o ?? void 0)(t),
665
674
  "--x-left": ((o) => typeof o == "number" ? o + "px" : o ?? void 0)(e)
@@ -679,7 +688,7 @@ const P = {
679
688
  "backgroundColor-kWkggS": "backgroundColor-xjbqb8w",
680
689
  "transitionProperty-k1ekBW": "transitionProperty-x15406qy",
681
690
  "transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
682
- $$css: "Menu/styles.css.ts:95"
691
+ $$css: "Menu/styles.css.ts:98"
683
692
  },
684
693
  itemHighlighted: {
685
694
  "backgroundColor-kWkggS": "backgroundColor-xlyqa1p",
@@ -687,7 +696,7 @@ const P = {
687
696
  "outlineWidth-kMeerF": "outlineWidth-x1a33d5h",
688
697
  "outlineColor-kjBf7l": "outlineColor-x1uczgqu",
689
698
  "outlineOffset-kInvED": "outlineOffset-x186wpgv",
690
- $$css: "Menu/styles.css.ts:113"
699
+ $$css: "Menu/styles.css.ts:116"
691
700
  },
692
701
  separator: {
693
702
  "height-kZKoxP": "height-xqtp20y",
@@ -696,12 +705,12 @@ const P = {
696
705
  "borderTopWidth-kEafiO": "borderTopWidth-xljp14s",
697
706
  "borderTopStyle-kPef9Z": "borderTopStyle-x13fuv20",
698
707
  "borderTopColor-kLZC3w": "borderTopColor-xvuocu",
699
- $$css: "Menu/styles.css.ts:120"
708
+ $$css: "Menu/styles.css.ts:123"
700
709
  },
701
710
  linkItem: {
702
711
  "textDecoration-kybGjl": "textDecoration-x1hl2dhg",
703
712
  "color-kMwMTN": "color-x95150z color-xtolcfe",
704
- $$css: "Menu/styles.css.ts:128"
713
+ $$css: "Menu/styles.css.ts:131"
705
714
  }
706
715
  }, ye = A(null);
707
716
  function ee() {
@@ -752,54 +761,54 @@ function Eo({
752
761
  }, [i]);
753
762
  const O = K((T, E) => {
754
763
  h.current.set(T, E);
755
- const j = h.current, z = [...j.keys()];
756
- return z.sort((B, N) => {
757
- const se = j.get(B), le = j.get(N);
764
+ const z = h.current, j = [...z.keys()];
765
+ return j.sort((B, N) => {
766
+ const se = z.get(B), le = z.get(N);
758
767
  return !se || !le ? 0 : se.compareDocumentPosition(le) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
759
- }), b.current = z, () => {
768
+ }), b.current = j, () => {
760
769
  h.current.delete(T), b.current = b.current.filter((B) => B !== T);
761
770
  };
762
771
  }, []);
763
772
  return F(() => {
764
773
  const T = g.current;
765
774
  if (!T || !a) return;
766
- function E(j) {
767
- if (j.key === "Escape") {
768
- j.preventDefault(), j.stopPropagation(), R();
775
+ function E(z) {
776
+ if (z.key === "Escape") {
777
+ z.preventDefault(), z.stopPropagation(), R();
769
778
  return;
770
779
  }
771
- if (j.key === "Tab") {
780
+ if (z.key === "Tab") {
772
781
  R();
773
782
  return;
774
783
  }
775
- const z = b.current;
776
- if (z.length !== 0)
777
- switch (j.key) {
784
+ const j = b.current;
785
+ if (j.length !== 0)
786
+ switch (z.key) {
778
787
  case "ArrowDown": {
779
- j.preventDefault(), r((B) => {
780
- const N = B ? z.indexOf(B) : -1;
781
- return z[(N + 1) % z.length];
788
+ z.preventDefault(), r((B) => {
789
+ const N = B ? j.indexOf(B) : -1;
790
+ return j[(N + 1) % j.length];
782
791
  });
783
792
  break;
784
793
  }
785
794
  case "ArrowUp": {
786
- j.preventDefault(), r((B) => {
787
- const N = B ? z.indexOf(B) : 0;
788
- return z[(N - 1 + z.length) % z.length];
795
+ z.preventDefault(), r((B) => {
796
+ const N = B ? j.indexOf(B) : 0;
797
+ return j[(N - 1 + j.length) % j.length];
789
798
  });
790
799
  break;
791
800
  }
792
801
  case "Home": {
793
- j.preventDefault(), r(z[0]);
802
+ z.preventDefault(), r(j[0]);
794
803
  break;
795
804
  }
796
805
  case "End": {
797
- j.preventDefault(), r(z[z.length - 1]);
806
+ z.preventDefault(), r(j[j.length - 1]);
798
807
  break;
799
808
  }
800
809
  case "Enter":
801
810
  case " ": {
802
- j.preventDefault();
811
+ z.preventDefault();
803
812
  const B = s.current;
804
813
  B && h.current.get(B)?.click();
805
814
  break;
@@ -898,11 +907,11 @@ function Fo({
898
907
  menuId: i,
899
908
  triggerId: r,
900
909
  triggerRef: s
901
- } = ee(), d = So(), p = d.ref, u = K((x) => {
910
+ } = ee(), d = He(), p = d.ref, u = K((x) => {
902
911
  s.current = x, p.current = x, typeof c == "function" ? c(x) : c && (c.current = x);
903
912
  }, [c, s, p]);
904
913
  return F(() => {
905
- s.current?.querySelector(Do) && fe("Menu", "trigger-nested-control", "Menu.Trigger is itself the button — give it the label (text, an Icon), not a Button, link or other control. A control inside a <button> is invalid HTML: it breaks hydration and hands assistive tech a button inside a button.");
914
+ s.current?.querySelector(Do) && be("Menu", "trigger-nested-control", "Menu.Trigger is itself the button — give it the label (text, an Icon), not a Button, link or other control. A control inside a <button> is invalid HTML: it breaks hydration and hands assistive tech a button inside a button.");
906
915
  }, [s]), /* @__PURE__ */ M("button", { "data-element-src": "Menu/Menu.tsx:100", ref: u, tabIndex: d.tabIndex, onFocus: d.onFocus, id: r, type: "button", onClick: a, "aria-label": e, "aria-expanded": l, "aria-haspopup": "menu", "aria-controls": l ? i : void 0, ...W(S.button, P.trigger, o === "ghost" ? [P.triggerGhost, n === "small" && P.triggerGhostSmall] : n === "small" && P.triggerSmall, d.style), children: t });
907
916
  }
908
917
  function Vo(t) {
@@ -922,7 +931,7 @@ function Vo(t) {
922
931
  top: 0,
923
932
  left: 0
924
933
  }, e[0] = p) : p = e[0];
925
- const [u, x] = Z(p), g = Lo();
934
+ const [u, x] = Z(p), g = Be();
926
935
  let h;
927
936
  e[1] !== l ? (h = {
928
937
  active: l
@@ -935,7 +944,7 @@ function Vo(t) {
935
944
  const T = d.current, E = s.current?.getBoundingClientRect();
936
945
  if (!T || !E)
937
946
  return;
938
- const j = Bo({
947
+ const z = Bo({
939
948
  anchor: {
940
949
  top: E.top,
941
950
  left: E.left,
@@ -954,9 +963,9 @@ function Vo(t) {
954
963
  align: c,
955
964
  offset: Se.xs
956
965
  });
957
- x((z) => z.top === j.top && z.left === j.left ? z : {
958
- top: j.top,
959
- left: j.left
966
+ x((j) => j.top === z.top && j.left === z.left ? j : {
967
+ top: z.top,
968
+ left: z.left
960
969
  });
961
970
  };
962
971
  return D(), window.addEventListener("resize", D), window.addEventListener("scroll", D, !0), () => {
@@ -970,7 +979,7 @@ function Vo(t) {
970
979
  let C;
971
980
  e[12] !== w ? (C = [P.popup, w], e[12] = w, e[13] = C) : C = e[13];
972
981
  let R;
973
- e[14] !== o ? (R = /* @__PURE__ */ M(Io, { children: o }), e[14] = o, e[15] = R) : R = e[15];
982
+ e[14] !== o ? (R = /* @__PURE__ */ M(Oe, { children: o }), e[14] = o, e[15] = R) : R = e[15];
974
983
  let H;
975
984
  e[16] !== a || e[17] !== d || e[18] !== k || e[19] !== C || e[20] !== R || e[21] !== i ? (H = /* @__PURE__ */ M("div", { "data-element-src": "Menu/Menu.tsx:170", ref: d, id: a, role: "menu", tabIndex: -1, "aria-labelledby": i, "aria-activedescendant": k, ...W(S.div, C), children: R }), e[16] = a, e[17] = d, e[18] = k, e[19] = C, e[20] = R, e[21] = i, e[22] = H) : H = e[22];
976
985
  const I = g ?? document.body;
@@ -1037,19 +1046,13 @@ function No() {
1037
1046
  let e;
1038
1047
  return t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ M("div", { "data-element-src": "Menu/Menu.tsx:260", role: "separator", "aria-orientation": "horizontal", ...W(S.div, P.separator) }), t[0] = e) : e = t[0], e;
1039
1048
  }
1040
- const gn = {
1049
+ const hn = {
1041
1050
  Root: Ao,
1042
1051
  Trigger: Fo,
1043
1052
  Popup: Vo,
1044
1053
  Item: Xo,
1045
1054
  LinkItem: Ko,
1046
1055
  Separator: No
1047
- }, hn = {
1048
- xs: 480,
1049
- sm: 640,
1050
- md: 768,
1051
- lg: 1024,
1052
- xl: 1280
1053
1056
  }, $ = {
1054
1057
  container: {
1055
1058
  "containerType-k9g6sI": "containerType-x12h1iku",
@@ -1299,7 +1302,7 @@ function Uo(t, e) {
1299
1302
  const p = r.width ? String(ue(r.width)) : `minmax(${ve(e)}, 1fr)`;
1300
1303
  o.push(p), n.push(r.compactWidth ? String(ue(r.compactWidth)) : p);
1301
1304
  const u = typeof r.label == "string" ? r.label : void 0, x = Yo(r.children).trim(), g = u ?? x;
1302
- !u && x === "" && r.children != null && fe("Table", "headerCell-missing-label", "Table.HeaderCell with JSX children must set `label` for stack-mode rendering."), c.push(g);
1305
+ !u && x === "" && r.children != null && be("Table", "headerCell-missing-label", "Table.HeaderCell with JSX children must set `label` for stack-mode rendering."), c.push(g);
1303
1306
  } else r.children && l(r.children);
1304
1307
  });
1305
1308
  }
@@ -1409,7 +1412,7 @@ function tn(t) {
1409
1412
  let c, l, a, i, r, s;
1410
1413
  if (e[0] !== o || e[1] !== n) {
1411
1414
  const u = Q.toArray(o);
1412
- l = ne.Provider, s = !1, c = $o.div, a = "rowgroup", i = $.body;
1415
+ l = ne.Provider, s = !1, c = Io.div, a = "rowgroup", i = $.body;
1413
1416
  let x;
1414
1417
  e[8] !== n ? (x = (g, h) => n !== "striped" ? g : /* @__PURE__ */ M($e.Provider, { value: h, children: g }, g.key ?? h), e[8] = n, e[9] = x) : x = e[9], r = u.map(x), e[0] = o, e[1] = n, e[2] = c, e[3] = l, e[4] = a, e[5] = i, e[6] = r, e[7] = s;
1415
1418
  } else
@@ -1507,27 +1510,27 @@ const sn = {
1507
1510
  Cell: rn
1508
1511
  }, mn = sn;
1509
1512
  export {
1510
- he as B,
1511
- Io as C,
1513
+ xe as B,
1514
+ Oe as C,
1512
1515
  un as D,
1513
1516
  ie as H,
1514
1517
  pn as I,
1515
- gn as M,
1518
+ hn as M,
1516
1519
  Oo as P,
1517
1520
  nn as R,
1518
1521
  Se as S,
1519
1522
  xn as T,
1520
- Lo as a,
1521
- Go as b,
1522
- Bo as c,
1523
- fe as d,
1524
- Mo as e,
1525
- To as f,
1526
- ge as g,
1527
- $o as h,
1528
- Po as i,
1529
- ue as j,
1530
- hn as k,
1523
+ Be as a,
1524
+ gn as b,
1525
+ Go as c,
1526
+ be as d,
1527
+ Bo as e,
1528
+ Re as f,
1529
+ ze as g,
1530
+ Io as h,
1531
+ pe as i,
1532
+ Po as j,
1533
+ ue as k,
1531
1534
  mn as l,
1532
1535
  $ as m,
1533
1536
  en as n,
@@ -1535,9 +1538,9 @@ export {
1535
1538
  Qo as p,
1536
1539
  rn as q,
1537
1540
  ve as r,
1538
- be as s,
1541
+ he as s,
1539
1542
  _ as t,
1540
- So as u,
1543
+ He as u,
1541
1544
  sn as v
1542
1545
  };
1543
- //# sourceMappingURL=Table-Dj7PXqO_.js.map
1546
+ //# sourceMappingURL=Table-CAjPFgTX.js.map