eidotter 0.19.0 → 0.19.3
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.
- package/LICENSE.md +0 -0
- package/README.md +27 -11
- package/dist/components/Accordion/components/AccordionFill.d.ts +0 -0
- package/dist/components/Accordion/components/Section.d.ts +0 -0
- package/dist/components/Accordion/components/index.d.ts +0 -0
- package/dist/components/Accordion/index.d.ts +0 -0
- package/dist/components/Alert/components/Alert.d.ts +0 -0
- package/dist/components/Alert/components/index.d.ts +0 -0
- package/dist/components/Alert/index.d.ts +0 -0
- package/dist/components/Badge/components/Badge.d.ts +0 -0
- package/dist/components/Badge/components/index.d.ts +0 -0
- package/dist/components/Badge/index.d.ts +0 -0
- package/dist/components/Breadcrumb/components/Breadcrumb.d.ts +0 -0
- package/dist/components/Breadcrumb/components/index.d.ts +0 -0
- package/dist/components/Breadcrumb/index.d.ts +0 -0
- package/dist/components/Button/components/Button.d.ts +0 -0
- package/dist/components/Button/components/index.d.ts +0 -0
- package/dist/components/Button/index.d.ts +0 -0
- package/dist/components/Card/components/Card.d.ts +0 -0
- package/dist/components/Card/components/index.d.ts +0 -0
- package/dist/components/Card/index.d.ts +0 -0
- package/dist/components/Chat/components/ChatContainer.d.ts +0 -0
- package/dist/components/Chat/components/ChatHistory.d.ts +0 -0
- package/dist/components/Chat/components/ChatInput.d.ts +0 -0
- package/dist/components/Chat/components/ChatMessage.d.ts +0 -0
- package/dist/components/Chat/components/index.d.ts +0 -0
- package/dist/components/Chat/index.d.ts +0 -0
- package/dist/components/Checkbox/components/Checkbox.d.ts +0 -0
- package/dist/components/Checkbox/components/index.d.ts +0 -0
- package/dist/components/Checkbox/index.d.ts +0 -0
- package/dist/components/CommandPrompt/components/CommandPrompt.d.ts +0 -0
- package/dist/components/CommandPrompt/components/index.d.ts +0 -0
- package/dist/components/CommandPrompt/index.d.ts +0 -0
- package/dist/components/FilterBar/components/FilterBar.d.ts +0 -0
- package/dist/components/FilterBar/components/index.d.ts +0 -0
- package/dist/components/FilterBar/index.d.ts +0 -0
- package/dist/components/Footer/components/Footer.d.ts +0 -0
- package/dist/components/Footer/components/index.d.ts +0 -0
- package/dist/components/Footer/index.d.ts +0 -0
- package/dist/components/Header/components/Header.d.ts +0 -0
- package/dist/components/Header/components/index.d.ts +0 -0
- package/dist/components/Header/index.d.ts +0 -0
- package/dist/components/Icon/components/Icon.d.ts +0 -0
- package/dist/components/Icon/components/index.d.ts +0 -0
- package/dist/components/Icon/index.d.ts +0 -0
- package/dist/components/InlineExpand/components/InlineExpand.d.ts +0 -0
- package/dist/components/InlineExpand/components/index.d.ts +0 -0
- package/dist/components/InlineExpand/index.d.ts +0 -0
- package/dist/components/Input/components/Input.d.ts +0 -0
- package/dist/components/Input/components/index.d.ts +0 -0
- package/dist/components/Input/index.d.ts +0 -0
- package/dist/components/Modal/components/Modal.d.ts +0 -0
- package/dist/components/Modal/components/index.d.ts +0 -0
- package/dist/components/Modal/index.d.ts +0 -0
- package/dist/components/Nav/components/Nav.d.ts +0 -0
- package/dist/components/Nav/components/index.d.ts +0 -0
- package/dist/components/Nav/index.d.ts +0 -0
- package/dist/components/Notification/components/Notification.d.ts +0 -0
- package/dist/components/Notification/components/index.d.ts +0 -0
- package/dist/components/Notification/index.d.ts +0 -0
- package/dist/components/Progress/components/Progress.d.ts +0 -0
- package/dist/components/Progress/components/index.d.ts +0 -0
- package/dist/components/Progress/index.d.ts +0 -0
- package/dist/components/RetroEffects/components/RetroEffects.d.ts +0 -0
- package/dist/components/RetroEffects/components/index.d.ts +0 -0
- package/dist/components/RetroEffects/index.d.ts +0 -0
- package/dist/components/Separator/components/Separator.d.ts +0 -0
- package/dist/components/Separator/components/index.d.ts +0 -0
- package/dist/components/Separator/index.d.ts +0 -0
- package/dist/components/Stat/components/Stat.d.ts +0 -0
- package/dist/components/Stat/components/index.d.ts +0 -0
- package/dist/components/Stat/index.d.ts +0 -0
- package/dist/components/Switch/components/Switch.d.ts +0 -0
- package/dist/components/Switch/components/index.d.ts +0 -0
- package/dist/components/Switch/index.d.ts +0 -0
- package/dist/components/Tabs/components/Tabs.d.ts +0 -0
- package/dist/components/Tabs/components/index.d.ts +0 -0
- package/dist/components/Tabs/index.d.ts +0 -0
- package/dist/components/Tag/components/Tag.d.ts +0 -0
- package/dist/components/Tag/components/TagGroup.d.ts +0 -0
- package/dist/components/Tag/components/index.d.ts +0 -0
- package/dist/components/Tag/index.d.ts +0 -0
- package/dist/components/Terminal/components/Terminal.d.ts +0 -0
- package/dist/components/Terminal/components/index.d.ts +0 -0
- package/dist/components/Terminal/index.d.ts +0 -0
- package/dist/components/TextScramble/components/TextScramble.d.ts +0 -0
- package/dist/components/TextScramble/components/index.d.ts +0 -0
- package/dist/components/TextScramble/index.d.ts +0 -0
- package/dist/components/TimelineContainer/components/TimelineAxis.d.ts +0 -0
- package/dist/components/TimelineContainer/components/TimelineContainer.d.ts +0 -0
- package/dist/components/TimelineContainer/components/TimelineContent.d.ts +0 -0
- package/dist/components/TimelineContainer/components/TimelineEntryCard.d.ts +0 -0
- package/dist/components/TimelineContainer/components/ZoomControls.d.ts +0 -0
- package/dist/components/TimelineContainer/components/index.d.ts +0 -0
- package/dist/components/TimelineContainer/components/timelineUtils.d.ts +0 -0
- package/dist/components/TimelineContainer/components/timelineUtils.test.d.ts +0 -0
- package/dist/components/TimelineContainer/components/types.d.ts +0 -0
- package/dist/components/TimelineContainer/components/useDrillDown.d.ts +0 -0
- package/dist/components/TimelineContainer/components/useDrillDown.test.d.ts +0 -0
- package/dist/components/TimelineContainer/components/useSelection.d.ts +0 -0
- package/dist/components/TimelineContainer/components/useSelection.test.d.ts +0 -0
- package/dist/components/TimelineContainer/components/useZoom.d.ts +0 -0
- package/dist/components/TimelineContainer/components/useZoom.test.d.ts +0 -0
- package/dist/components/TimelineContainer/components/views/DayView.d.ts +0 -0
- package/dist/components/TimelineContainer/components/views/HourView.d.ts +0 -0
- package/dist/components/TimelineContainer/components/views/MonthView.d.ts +0 -0
- package/dist/components/TimelineContainer/components/views/YearView.d.ts +0 -0
- package/dist/components/TimelineContainer/components/views/index.d.ts +0 -0
- package/dist/components/TimelineContainer/index.d.ts +0 -0
- package/dist/components/TimelineNode/components/TimelineNode.d.ts +0 -0
- package/dist/components/TimelineNode/components/index.d.ts +0 -0
- package/dist/components/TimelineNode/index.d.ts +0 -0
- package/dist/components/registry.d.ts +0 -0
- package/dist/eidotter.css +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.es.js +70 -62
- package/dist/index.umd.js +4 -4
- package/guidelines/README.md +10 -6
- package/guidelines/components.md +0 -0
- package/guidelines/patterns.md +0 -0
- package/package.json +3 -3
- package/src/styles/fonts/Flexi_IBM_VGA_LICENSE.txt +0 -0
- package/src/styles/fonts/Flexi_IBM_VGA_True.ttf +0 -0
- package/src/styles/fonts.css +0 -0
- package/src/styles/theme.amber-mono.css +2 -2
- package/src/styles/theme.cga-amber.css +2 -2
- package/src/styles/theme.cga-mode4-p0.css +2 -2
- package/src/styles/theme.cga-mode4-p1.css +2 -2
- package/src/styles/theme.cga-mode5.css +2 -2
- package/src/styles/tokens.css +2 -2
- package/tailwind.preset.cjs +58 -13
- package/tailwind.preset.enhanced.cjs +21 -36
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import './styles/fonts.css';
|
|
2
|
+
import './styles/tokens.css';
|
|
2
3
|
import './styles/tailwind.css';
|
|
3
4
|
export { Alert } from './components/Alert';
|
|
4
5
|
export { Section, AccordionFill } from './components/Accordion';
|
|
@@ -65,4 +66,4 @@ export { isSafeUrl } from './utils';
|
|
|
65
66
|
export { ZOOM_LEVELS } from './components/TimelineContainer';
|
|
66
67
|
export { componentRegistry, projects, getComponentMeta, getComponentsByOrigin, getComponentsByConsumer, getVariantsUsedBy, getVariantConsumerMap, } from './components/registry';
|
|
67
68
|
export type { ComponentMeta, ProjectId, ProjectInfo, VariantMeta, PlatformId, PlatformMeta, ChangelogEntry, } from './components/registry';
|
|
68
|
-
export declare const version = "0.19.
|
|
69
|
+
export declare const version = "0.19.1";
|
package/dist/index.es.js
CHANGED
|
@@ -1008,7 +1008,7 @@ function Tt({ values: t, children: e }) {
|
|
|
1008
1008
|
}, e);
|
|
1009
1009
|
return e;
|
|
1010
1010
|
}
|
|
1011
|
-
function
|
|
1011
|
+
function Ce(t) {
|
|
1012
1012
|
let { className: e, style: n, children: r, defaultClassName: i, defaultChildren: o, defaultStyle: l, values: a, render: s } = t;
|
|
1013
1013
|
return q(() => {
|
|
1014
1014
|
let d, c, u;
|
|
@@ -2335,8 +2335,8 @@ function qs(t) {
|
|
|
2335
2335
|
]), td(a, r, n), Js(a, n), nd(a, r, n), ed(a, i), j(() => {
|
|
2336
2336
|
const m = ue(te(a.current ? a.current[0] : void 0));
|
|
2337
2337
|
let h = null;
|
|
2338
|
-
if (
|
|
2339
|
-
for (let g of me.traverse()) g.scopeRef &&
|
|
2338
|
+
if (Pe(m, a.current)) {
|
|
2339
|
+
for (let g of me.traverse()) g.scopeRef && Pe(m, g.scopeRef.current) && (h = g);
|
|
2340
2340
|
h === me.getTreeNode(a) && (ce = h.scopeRef);
|
|
2341
2341
|
}
|
|
2342
2342
|
}, [
|
|
@@ -2376,7 +2376,7 @@ function Ys(t) {
|
|
|
2376
2376
|
tabbable: i,
|
|
2377
2377
|
accept: l
|
|
2378
2378
|
}, n);
|
|
2379
|
-
u.currentNode =
|
|
2379
|
+
u.currentNode = Pe(s, n) ? s : d;
|
|
2380
2380
|
let m = u.nextNode();
|
|
2381
2381
|
return !m && o && (u.currentNode = d, m = u.nextNode()), m && Re(m, !0), m;
|
|
2382
2382
|
},
|
|
@@ -2387,7 +2387,7 @@ function Ys(t) {
|
|
|
2387
2387
|
tabbable: i,
|
|
2388
2388
|
accept: l
|
|
2389
2389
|
}, n);
|
|
2390
|
-
u.currentNode =
|
|
2390
|
+
u.currentNode = Pe(s, n) ? s : d;
|
|
2391
2391
|
let m = u.previousNode();
|
|
2392
2392
|
return !m && o && (u.currentNode = d, m = u.previousNode()), m && Re(m, !0), m;
|
|
2393
2393
|
},
|
|
@@ -2448,7 +2448,7 @@ function Js(t, e) {
|
|
|
2448
2448
|
let l = (d) => {
|
|
2449
2449
|
if (d.key !== "Tab" || d.altKey || d.ctrlKey || d.metaKey || !$t(t) || d.isComposing) return;
|
|
2450
2450
|
let c = ue(o), u = t.current;
|
|
2451
|
-
if (!u || !
|
|
2451
|
+
if (!u || !Pe(c, u)) return;
|
|
2452
2452
|
let m = Ze(u), h = _e(m, {
|
|
2453
2453
|
tabbable: !0
|
|
2454
2454
|
}, u);
|
|
@@ -2457,7 +2457,7 @@ function Js(t, e) {
|
|
|
2457
2457
|
let g = d.shiftKey ? h.previousNode() : h.nextNode();
|
|
2458
2458
|
g || (h.currentNode = d.shiftKey ? u[u.length - 1].nextElementSibling : u[0].previousElementSibling, g = d.shiftKey ? h.previousNode() : h.nextNode()), d.preventDefault(), g && Re(g, !0);
|
|
2459
2459
|
}, a = (d) => {
|
|
2460
|
-
(!ce || on(ce, t)) &&
|
|
2460
|
+
(!ce || on(ce, t)) && Pe(_(d), t.current) ? (ce = t, n.current = _(d)) : $t(t) && !We(_(d), t) ? n.current ? n.current.focus() : ce && ce.current && tr(ce.current) : $t(t) && (n.current = _(d));
|
|
2461
2461
|
}, s = (d) => {
|
|
2462
2462
|
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
|
2463
2463
|
let c = nn(), u = (c === "virtual" || c === null) && hr() && mr(), m = ue(o);
|
|
@@ -2486,13 +2486,13 @@ function Js(t, e) {
|
|
|
2486
2486
|
function So(t) {
|
|
2487
2487
|
return We(t);
|
|
2488
2488
|
}
|
|
2489
|
-
function
|
|
2489
|
+
function Pe(t, e) {
|
|
2490
2490
|
return !t || !e ? !1 : e.some((n) => G(n, t));
|
|
2491
2491
|
}
|
|
2492
2492
|
function We(t, e = null) {
|
|
2493
2493
|
if (t instanceof Element && t.closest("[data-react-aria-top-layer]")) return !0;
|
|
2494
2494
|
for (let { scopeRef: n } of me.traverse(me.getTreeNode(e)))
|
|
2495
|
-
if (n &&
|
|
2495
|
+
if (n && Pe(t, n.current)) return !0;
|
|
2496
2496
|
return !1;
|
|
2497
2497
|
}
|
|
2498
2498
|
function Qs(t) {
|
|
@@ -2536,7 +2536,7 @@ function ed(t, e) {
|
|
|
2536
2536
|
if (n.current) {
|
|
2537
2537
|
ce = t;
|
|
2538
2538
|
const r = te(t.current ? t.current[0] : void 0);
|
|
2539
|
-
!
|
|
2539
|
+
!Pe(ue(r), ce.current) && t.current && tr(t.current);
|
|
2540
2540
|
}
|
|
2541
2541
|
n.current = !1;
|
|
2542
2542
|
}, [
|
|
@@ -2550,7 +2550,7 @@ function td(t, e, n) {
|
|
|
2550
2550
|
const i = te(r ? r[0] : void 0);
|
|
2551
2551
|
let o = (l) => {
|
|
2552
2552
|
let a = _(l);
|
|
2553
|
-
|
|
2553
|
+
Pe(a, t.current) ? ce = t : So(a) || (ce = null);
|
|
2554
2554
|
};
|
|
2555
2555
|
return i.addEventListener("focusin", o, !1), r == null || r.forEach((l) => l.addEventListener("focusin", o, !1)), () => {
|
|
2556
2556
|
i.removeEventListener("focusin", o, !1), r == null || r.forEach((l) => l.removeEventListener("focusin", o, !1));
|
|
@@ -2576,7 +2576,7 @@ function nd(t, e, n) {
|
|
|
2576
2576
|
const o = te(i ? i[0] : void 0);
|
|
2577
2577
|
if (!e || n) return;
|
|
2578
2578
|
let l = () => {
|
|
2579
|
-
(!ce || on(ce, t)) &&
|
|
2579
|
+
(!ce || on(ce, t)) && Pe(ue(o), t.current) && (ce = t);
|
|
2580
2580
|
};
|
|
2581
2581
|
return o.addEventListener("focusin", l, !1), i == null || i.forEach((a) => a.addEventListener("focusin", l, !1)), () => {
|
|
2582
2582
|
o.removeEventListener("focusin", l, !1), i == null || i.forEach((a) => a.removeEventListener("focusin", l, !1));
|
|
@@ -2662,7 +2662,7 @@ function ai(t) {
|
|
|
2662
2662
|
function _e(t, e, n) {
|
|
2663
2663
|
let r = e != null && e.tabbable ? co : so, i = (t == null ? void 0 : t.nodeType) === Node.ELEMENT_NODE ? t : null, o = te(i), l = eo(o, t || o, NodeFilter.SHOW_ELEMENT, {
|
|
2664
2664
|
acceptNode(a) {
|
|
2665
|
-
return G(e == null ? void 0 : e.from, a) || e != null && e.tabbable && a.tagName === "INPUT" && a.getAttribute("type") === "radio" && (!Xs(a) || l.currentNode.tagName === "INPUT" && l.currentNode.type === "radio" && l.currentNode.name === a.name) ? NodeFilter.FILTER_REJECT : r(a) && (!n ||
|
|
2665
|
+
return G(e == null ? void 0 : e.from, a) || e != null && e.tabbable && a.tagName === "INPUT" && a.getAttribute("type") === "radio" && (!Xs(a) || l.currentNode.tagName === "INPUT" && l.currentNode.type === "radio" && l.currentNode.name === a.name) ? NodeFilter.FILTER_REJECT : r(a) && (!n || Pe(a, n)) && (!(e != null && e.accept) || e.accept(a)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
2666
2666
|
}
|
|
2667
2667
|
});
|
|
2668
2668
|
return e != null && e.from && (l.currentNode = e.from), l;
|
|
@@ -2690,7 +2690,7 @@ class Sr {
|
|
|
2690
2690
|
let n = this.fastMap.get(e);
|
|
2691
2691
|
if (!n) return;
|
|
2692
2692
|
let r = n.parent;
|
|
2693
|
-
for (let o of this.traverse()) o !== n && n.nodeToRestore && o.nodeToRestore && n.scopeRef && n.scopeRef.current &&
|
|
2693
|
+
for (let o of this.traverse()) o !== n && n.nodeToRestore && o.nodeToRestore && n.scopeRef && n.scopeRef.current && Pe(o.nodeToRestore, n.scopeRef.current) && (o.nodeToRestore = n.nodeToRestore);
|
|
2694
2694
|
let i = n.children;
|
|
2695
2695
|
r && (r.removeChild(n), i.size > 0 && i.forEach((o) => r && r.addChild(o))), this.fastMap.delete(n.scopeRef);
|
|
2696
2696
|
}
|
|
@@ -5373,7 +5373,7 @@ const Pl = /* @__PURE__ */ ee({}), $c = /* @__PURE__ */ Kt(function(e, n) {
|
|
|
5373
5373
|
isFocusVisible: d,
|
|
5374
5374
|
isDisabled: e.isDisabled || !1,
|
|
5375
5375
|
isPending: i ?? !1
|
|
5376
|
-
}, h =
|
|
5376
|
+
}, h = Ce({
|
|
5377
5377
|
...e,
|
|
5378
5378
|
values: m,
|
|
5379
5379
|
defaultClassName: "react-aria-Button"
|
|
@@ -5486,9 +5486,9 @@ class wi {
|
|
|
5486
5486
|
this.lastKey = (l = r == null ? void 0 : r.key) !== null && l !== void 0 ? l : null;
|
|
5487
5487
|
}
|
|
5488
5488
|
}
|
|
5489
|
-
class
|
|
5489
|
+
class Ne extends Set {
|
|
5490
5490
|
constructor(e, n, r) {
|
|
5491
|
-
super(e), e instanceof
|
|
5491
|
+
super(e), e instanceof Ne ? (this.anchorKey = n ?? e.anchorKey, this.currentKey = r ?? e.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);
|
|
5492
5492
|
}
|
|
5493
5493
|
}
|
|
5494
5494
|
function Sc(t, e) {
|
|
@@ -5500,7 +5500,7 @@ function Sc(t, e) {
|
|
|
5500
5500
|
function Pc(t) {
|
|
5501
5501
|
let { selectionMode: e = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: o = "all" } = t, l = I(!1), [, a] = U(!1), s = I(null), d = I(null), [, c] = U(null), u = q(() => Ei(t.selectedKeys), [
|
|
5502
5502
|
t.selectedKeys
|
|
5503
|
-
]), m = q(() => Ei(t.defaultSelectedKeys, new
|
|
5503
|
+
]), m = q(() => Ei(t.defaultSelectedKeys, new Ne()), [
|
|
5504
5504
|
t.defaultSelectedKeys
|
|
5505
5505
|
]), [h, g] = kt(u, m, t.onSelectionChange), v = q(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
5506
5506
|
t.disabledKeys
|
|
@@ -5540,7 +5540,7 @@ function Pc(t) {
|
|
|
5540
5540
|
};
|
|
5541
5541
|
}
|
|
5542
5542
|
function Ei(t, e) {
|
|
5543
|
-
return t ? t === "all" ? "all" : new
|
|
5543
|
+
return t ? t === "all" ? "all" : new Ne(t) : e;
|
|
5544
5544
|
}
|
|
5545
5545
|
class kr {
|
|
5546
5546
|
/**
|
|
@@ -5668,14 +5668,14 @@ class kr {
|
|
|
5668
5668
|
let n = this.getKey(e);
|
|
5669
5669
|
if (n == null) return;
|
|
5670
5670
|
let r;
|
|
5671
|
-
if (this.state.selectedKeys === "all") r = new
|
|
5671
|
+
if (this.state.selectedKeys === "all") r = new Ne([
|
|
5672
5672
|
n
|
|
5673
5673
|
], n, n);
|
|
5674
5674
|
else {
|
|
5675
5675
|
let l = this.state.selectedKeys;
|
|
5676
5676
|
var i;
|
|
5677
5677
|
let a = (i = l.anchorKey) !== null && i !== void 0 ? i : n;
|
|
5678
|
-
r = new
|
|
5678
|
+
r = new Ne(l, a, n);
|
|
5679
5679
|
var o;
|
|
5680
5680
|
for (let s of this.getKeyRange(a, (o = l.currentKey) !== null && o !== void 0 ? o : n)) r.delete(s);
|
|
5681
5681
|
for (let s of this.getKeyRange(n, a)) this.canSelectItem(s) && r.add(s);
|
|
@@ -5714,7 +5714,7 @@ class kr {
|
|
|
5714
5714
|
}
|
|
5715
5715
|
let n = this.getKey(e);
|
|
5716
5716
|
if (n == null) return;
|
|
5717
|
-
let r = new
|
|
5717
|
+
let r = new Ne(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
|
|
5718
5718
|
r.has(n) ? r.delete(n) : this.canSelectItem(n) && (r.add(n), r.anchorKey = n, r.currentKey = n), !(this.disallowEmptySelection && r.size === 0) && this.state.setSelectedKeys(r);
|
|
5719
5719
|
}
|
|
5720
5720
|
/**
|
|
@@ -5724,9 +5724,9 @@ class kr {
|
|
|
5724
5724
|
if (this.selectionMode === "none") return;
|
|
5725
5725
|
let n = this.getKey(e);
|
|
5726
5726
|
if (n == null) return;
|
|
5727
|
-
let r = this.canSelectItem(n) ? new
|
|
5727
|
+
let r = this.canSelectItem(n) ? new Ne([
|
|
5728
5728
|
n
|
|
5729
|
-
], n, n) : new
|
|
5729
|
+
], n, n) : new Ne();
|
|
5730
5730
|
this.state.setSelectedKeys(r);
|
|
5731
5731
|
}
|
|
5732
5732
|
/**
|
|
@@ -5734,7 +5734,7 @@ class kr {
|
|
|
5734
5734
|
*/
|
|
5735
5735
|
setSelectedKeys(e) {
|
|
5736
5736
|
if (this.selectionMode === "none") return;
|
|
5737
|
-
let n = new
|
|
5737
|
+
let n = new Ne();
|
|
5738
5738
|
for (let r of e) {
|
|
5739
5739
|
let i = this.getKey(r);
|
|
5740
5740
|
if (i != null && (n.add(i), this.selectionMode === "single"))
|
|
@@ -5767,7 +5767,7 @@ class kr {
|
|
|
5767
5767
|
* Removes all keys from the selection.
|
|
5768
5768
|
*/
|
|
5769
5769
|
clearSelection() {
|
|
5770
|
-
!this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new
|
|
5770
|
+
!this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new Ne());
|
|
5771
5771
|
}
|
|
5772
5772
|
/**
|
|
5773
5773
|
* Toggles between select all and an empty selection.
|
|
@@ -5987,7 +5987,7 @@ const Ic = /* @__PURE__ */ ee(null), kl = /* @__PURE__ */ ee(null), Kc = /* @__P
|
|
|
5987
5987
|
}, Nr(e), c), { isFocused: x, isFocusVisible: w, focusProps: P } = ot(), C = g || v, { hoverProps: W, isHovered: A } = Dt({
|
|
5988
5988
|
...e,
|
|
5989
5989
|
isDisabled: C
|
|
5990
|
-
}), E =
|
|
5990
|
+
}), E = Ce({
|
|
5991
5991
|
...e,
|
|
5992
5992
|
defaultClassName: "react-aria-Checkbox",
|
|
5993
5993
|
values: {
|
|
@@ -6038,7 +6038,7 @@ const Rc = /* @__PURE__ */ Kt(function(e, n) {
|
|
|
6038
6038
|
}), { isFocused: o, isFocusVisible: l, focusProps: a } = ot({
|
|
6039
6039
|
isTextInput: !0,
|
|
6040
6040
|
autoFocus: e.autoFocus
|
|
6041
|
-
}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", d =
|
|
6041
|
+
}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", d = Ce({
|
|
6042
6042
|
...e,
|
|
6043
6043
|
values: {
|
|
6044
6044
|
isHovered: i,
|
|
@@ -6078,7 +6078,7 @@ const Oc = /* @__PURE__ */ ee({
|
|
|
6078
6078
|
"aria-labelledby": r
|
|
6079
6079
|
}, n), l = re(gn);
|
|
6080
6080
|
!i["aria-label"] && !i["aria-labelledby"] && (e["aria-labelledby"] ? i["aria-labelledby"] = e["aria-labelledby"] : process.env.NODE_ENV !== "production" && console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));
|
|
6081
|
-
let a =
|
|
6081
|
+
let a = Ce({
|
|
6082
6082
|
defaultClassName: "react-aria-Dialog",
|
|
6083
6083
|
className: e.className,
|
|
6084
6084
|
style: e.style,
|
|
@@ -6174,7 +6174,7 @@ function Uc(t, e) {
|
|
|
6174
6174
|
}
|
|
6175
6175
|
const Dl = /* @__PURE__ */ fe(Uc);
|
|
6176
6176
|
function Wc({ UNSTABLE_portalContainer: t, ...e }) {
|
|
6177
|
-
let n = e.modalRef, { state: r } = e, { modalProps: i, underlayProps: o } = gd(e, r, n), l = vr(e.overlayRef) || e.isEntering || !1, a =
|
|
6177
|
+
let n = e.modalRef, { state: r } = e, { modalProps: i, underlayProps: o } = gd(e, r, n), l = vr(e.overlayRef) || e.isEntering || !1, a = Ce({
|
|
6178
6178
|
...e,
|
|
6179
6179
|
defaultClassName: "react-aria-ModalOverlay",
|
|
6180
6180
|
values: {
|
|
@@ -6226,7 +6226,7 @@ function Pi(t) {
|
|
|
6226
6226
|
let { modalProps: e, modalRef: n, isExiting: r, isDismissable: i } = re(Tr), o = re(gn), l = q(() => pt(t.modalRef, n), [
|
|
6227
6227
|
t.modalRef,
|
|
6228
6228
|
n
|
|
6229
|
-
]), a = je(l), s = vr(a), d =
|
|
6229
|
+
]), a = je(l), s = vr(a), d = Ce({
|
|
6230
6230
|
...t,
|
|
6231
6231
|
defaultClassName: "react-aria-Modal",
|
|
6232
6232
|
values: {
|
|
@@ -6257,7 +6257,7 @@ const jc = /* @__PURE__ */ ee(null), Gc = /* @__PURE__ */ fe(function(e, n) {
|
|
|
6257
6257
|
}, l, o), { isFocused: h, isFocusVisible: g, focusProps: v } = ot(), $ = e.isDisabled || e.isReadOnly, { hoverProps: y, isHovered: x } = Dt({
|
|
6258
6258
|
...e,
|
|
6259
6259
|
isDisabled: $
|
|
6260
|
-
}), w =
|
|
6260
|
+
}), w = Ce({
|
|
6261
6261
|
...e,
|
|
6262
6262
|
defaultClassName: "react-aria-Switch",
|
|
6263
6263
|
values: {
|
|
@@ -6322,7 +6322,7 @@ function Yc({ props: t, tabsRef: e, collection: n }) {
|
|
|
6322
6322
|
r,
|
|
6323
6323
|
l,
|
|
6324
6324
|
a
|
|
6325
|
-
]), d =
|
|
6325
|
+
]), d = Ce({
|
|
6326
6326
|
...t,
|
|
6327
6327
|
defaultClassName: "react-aria-Tabs",
|
|
6328
6328
|
values: s
|
|
@@ -6361,7 +6361,7 @@ function Xc({ props: t, forwardedRef: e }) {
|
|
|
6361
6361
|
...t,
|
|
6362
6362
|
orientation: i,
|
|
6363
6363
|
keyboardActivation: o
|
|
6364
|
-
}, n, l), s =
|
|
6364
|
+
}, n, l), s = Ce({
|
|
6365
6365
|
...t,
|
|
6366
6366
|
children: null,
|
|
6367
6367
|
defaultClassName: "react-aria-TabList",
|
|
@@ -6393,7 +6393,7 @@ const Jc = /* @__PURE__ */ oc(Il, (t, e, n) => {
|
|
|
6393
6393
|
onHoverStart: t.onHoverStart,
|
|
6394
6394
|
onHoverEnd: t.onHoverEnd,
|
|
6395
6395
|
onHoverChange: t.onHoverChange
|
|
6396
|
-
}), g =
|
|
6396
|
+
}), g = Ce({
|
|
6397
6397
|
...t,
|
|
6398
6398
|
id: void 0,
|
|
6399
6399
|
children: n.rendered,
|
|
@@ -6436,7 +6436,7 @@ const Jc = /* @__PURE__ */ oc(Il, (t, e, n) => {
|
|
|
6436
6436
|
});
|
|
6437
6437
|
});
|
|
6438
6438
|
function eu(t) {
|
|
6439
|
-
let e = re(tt), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: o, ...l } = t, { tabPanelProps: a } = bc(t, e, r), { focusProps: s, isFocused: d, isFocusVisible: c } = ot(), u = e.selectedKey === t.id, m = vr(r) && !i, h =
|
|
6439
|
+
let e = re(tt), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: o, ...l } = t, { tabPanelProps: a } = bc(t, e, r), { focusProps: s, isFocused: d, isFocusVisible: c } = ot(), u = e.selectedKey === t.id, m = vr(r) && !i, h = Ce({
|
|
6440
6440
|
...t,
|
|
6441
6441
|
defaultClassName: "react-aria-TabPanel",
|
|
6442
6442
|
values: {
|
|
@@ -6493,7 +6493,7 @@ const tu = /* @__PURE__ */ ee({}), nu = /* @__PURE__ */ ee(null), ru = /* @__PUR
|
|
|
6493
6493
|
a.current = P, P && u(P instanceof HTMLTextAreaElement ? "textarea" : "input");
|
|
6494
6494
|
}, [
|
|
6495
6495
|
a
|
|
6496
|
-
]), x =
|
|
6496
|
+
]), x = Ce({
|
|
6497
6497
|
...e,
|
|
6498
6498
|
values: {
|
|
6499
6499
|
isDisabled: e.isDisabled || !1,
|
|
@@ -9493,7 +9493,7 @@ const Gu = (t) => S.createElement("svg", Object.assign({ viewBox: "0 0 24 24", w
|
|
|
9493
9493
|
// window minimize control, not abort
|
|
9494
9494
|
Fullscreen: ef,
|
|
9495
9495
|
Add: tf
|
|
9496
|
-
}, of = { L: 56, S: 24 },
|
|
9496
|
+
}, of = { L: 56, S: 24 }, Se = ({
|
|
9497
9497
|
name: t,
|
|
9498
9498
|
size: e = "L",
|
|
9499
9499
|
className: n = "",
|
|
@@ -9584,7 +9584,7 @@ const cf = fe(({
|
|
|
9584
9584
|
className: H(
|
|
9585
9585
|
"relative w-full flex flex-col gap-4 p-4",
|
|
9586
9586
|
"font-dos text-dos-text-sm",
|
|
9587
|
-
"
|
|
9587
|
+
"border border-dos-border-default rounded-dos-base",
|
|
9588
9588
|
"eidotter-alert",
|
|
9589
9589
|
`eidotter-alert--${c}`,
|
|
9590
9590
|
u === "floating" && "max-w-[1216px]",
|
|
@@ -9598,7 +9598,7 @@ const cf = fe(({
|
|
|
9598
9598
|
"data-size": u,
|
|
9599
9599
|
children: [
|
|
9600
9600
|
/* @__PURE__ */ p("div", { className: "eidotter-alert__icon", children: /* @__PURE__ */ p(
|
|
9601
|
-
|
|
9601
|
+
Se,
|
|
9602
9602
|
{
|
|
9603
9603
|
name: af[c] || "Info",
|
|
9604
9604
|
size: "S",
|
|
@@ -9629,7 +9629,7 @@ const cf = fe(({
|
|
|
9629
9629
|
className: "eidotter-alert__close",
|
|
9630
9630
|
onPress: h,
|
|
9631
9631
|
"aria-label": "Close alert",
|
|
9632
|
-
children: /* @__PURE__ */ p(
|
|
9632
|
+
children: /* @__PURE__ */ p(Se, { name: "Close", size: "S" })
|
|
9633
9633
|
}
|
|
9634
9634
|
)
|
|
9635
9635
|
]
|
|
@@ -9657,7 +9657,7 @@ const uf = ({
|
|
|
9657
9657
|
"div",
|
|
9658
9658
|
{
|
|
9659
9659
|
className: H(
|
|
9660
|
-
"w-full border border-dos-border-default
|
|
9660
|
+
"w-full border border-dos-border-default text-cga-amber font-dos",
|
|
9661
9661
|
"eidotter-section",
|
|
9662
9662
|
l && "eidotter-section--expanded",
|
|
9663
9663
|
r && "eidotter-section--hover",
|
|
@@ -9673,7 +9673,7 @@ const uf = ({
|
|
|
9673
9673
|
children: [
|
|
9674
9674
|
/* @__PURE__ */ p("div", { className: "flex-1 text-base leading-6", children: t }),
|
|
9675
9675
|
/* @__PURE__ */ p("div", { className: "eidotter-section__icon flex items-center justify-center w-6 h-6 ml-2 text-inherit", children: /* @__PURE__ */ p(
|
|
9676
|
-
|
|
9676
|
+
Se,
|
|
9677
9677
|
{
|
|
9678
9678
|
name: l ? "Chevron Up" : "Chevron Down",
|
|
9679
9679
|
size: "S"
|
|
@@ -9819,7 +9819,7 @@ const Li = {
|
|
|
9819
9819
|
ref: l,
|
|
9820
9820
|
className: H(
|
|
9821
9821
|
"border-2 border-solid border-dos-border-default",
|
|
9822
|
-
"
|
|
9822
|
+
"font-dos text-cga-amber",
|
|
9823
9823
|
"eidotter-card",
|
|
9824
9824
|
Li[r] || Li.default,
|
|
9825
9825
|
i
|
|
@@ -10072,7 +10072,7 @@ const Ai = {
|
|
|
10072
10072
|
{
|
|
10073
10073
|
ref: d,
|
|
10074
10074
|
className: H(
|
|
10075
|
-
"w-full bg-
|
|
10075
|
+
"w-full bg-transparent text-cga-amber font-dos text-base p-2",
|
|
10076
10076
|
"border-2 border-dos-border-default outline-none box-border",
|
|
10077
10077
|
"eidotter-input",
|
|
10078
10078
|
Ai[t] || Ai.default,
|
|
@@ -10127,7 +10127,7 @@ const pm = ({
|
|
|
10127
10127
|
onPress: E,
|
|
10128
10128
|
"aria-label": `Restore ${e} window`,
|
|
10129
10129
|
children: /* @__PURE__ */ D("div", { className: "terminal__taskbar-item", children: [
|
|
10130
|
-
/* @__PURE__ */ p(
|
|
10130
|
+
/* @__PURE__ */ p(Se, { name: "App", size: "S" }),
|
|
10131
10131
|
/* @__PURE__ */ p("span", { className: "terminal__taskbar-title", children: e })
|
|
10132
10132
|
] })
|
|
10133
10133
|
}
|
|
@@ -10144,7 +10144,7 @@ const pm = ({
|
|
|
10144
10144
|
children: [
|
|
10145
10145
|
/* @__PURE__ */ D("div", { className: "terminal__title-bar", children: [
|
|
10146
10146
|
/* @__PURE__ */ D("div", { className: "terminal__title", children: [
|
|
10147
|
-
/* @__PURE__ */ p(
|
|
10147
|
+
/* @__PURE__ */ p(Se, { name: "App", size: "S", "aria-hidden": "true" }),
|
|
10148
10148
|
/* @__PURE__ */ p("span", { className: "terminal__title-text", children: e })
|
|
10149
10149
|
] }),
|
|
10150
10150
|
(i || o || l) && /* @__PURE__ */ D("div", { className: "terminal__controls", children: [
|
|
@@ -10154,7 +10154,7 @@ const pm = ({
|
|
|
10154
10154
|
className: "terminal__control terminal__control--minimize",
|
|
10155
10155
|
onPress: C,
|
|
10156
10156
|
"aria-label": "Minimize window",
|
|
10157
|
-
children: /* @__PURE__ */ p(
|
|
10157
|
+
children: /* @__PURE__ */ p(Se, { name: "Cancel", size: "S" })
|
|
10158
10158
|
}
|
|
10159
10159
|
),
|
|
10160
10160
|
o && /* @__PURE__ */ p(
|
|
@@ -10163,7 +10163,7 @@ const pm = ({
|
|
|
10163
10163
|
className: "terminal__control terminal__control--maximize",
|
|
10164
10164
|
onPress: W,
|
|
10165
10165
|
"aria-label": x ? "Restore window" : "Maximize window",
|
|
10166
|
-
children: /* @__PURE__ */ p(
|
|
10166
|
+
children: /* @__PURE__ */ p(Se, { name: x ? "Fullscreen" : "Add", size: "S" })
|
|
10167
10167
|
}
|
|
10168
10168
|
),
|
|
10169
10169
|
l && /* @__PURE__ */ p(
|
|
@@ -10172,7 +10172,7 @@ const pm = ({
|
|
|
10172
10172
|
className: "terminal__control terminal__control--close",
|
|
10173
10173
|
onPress: A,
|
|
10174
10174
|
"aria-label": "Close window",
|
|
10175
|
-
children: /* @__PURE__ */ p(
|
|
10175
|
+
children: /* @__PURE__ */ p(Se, { name: "Close", size: "S" })
|
|
10176
10176
|
}
|
|
10177
10177
|
)
|
|
10178
10178
|
] })
|
|
@@ -11413,7 +11413,7 @@ const jf = ({
|
|
|
11413
11413
|
className: "eidotter-modal__close",
|
|
11414
11414
|
onPress: () => c(!1),
|
|
11415
11415
|
"aria-label": "Close modal",
|
|
11416
|
-
children: /* @__PURE__ */ p(
|
|
11416
|
+
children: /* @__PURE__ */ p(Se, { name: "Close", size: "S" })
|
|
11417
11417
|
}
|
|
11418
11418
|
)
|
|
11419
11419
|
] }),
|
|
@@ -11831,7 +11831,13 @@ const ta = {
|
|
|
11831
11831
|
className: i
|
|
11832
11832
|
}) => {
|
|
11833
11833
|
const [o, l] = U(!1), a = r || "a", s = B(() => l((c) => !c), []), d = B(() => l(!1), []);
|
|
11834
|
-
return
|
|
11834
|
+
return j(() => {
|
|
11835
|
+
if (!o) return;
|
|
11836
|
+
const c = (u) => {
|
|
11837
|
+
u.key === "Escape" && d();
|
|
11838
|
+
};
|
|
11839
|
+
return document.addEventListener("keydown", c), () => document.removeEventListener("keydown", c);
|
|
11840
|
+
}, [o, d]), /* @__PURE__ */ D("div", { className: H(
|
|
11835
11841
|
"eidotter-nav eidotter-nav--mobile",
|
|
11836
11842
|
ta[n],
|
|
11837
11843
|
i
|
|
@@ -11840,10 +11846,11 @@ const ta = {
|
|
|
11840
11846
|
"button",
|
|
11841
11847
|
{
|
|
11842
11848
|
onClick: s,
|
|
11843
|
-
className: "eidotter-
|
|
11849
|
+
className: "eidotter-nav__menu-trigger",
|
|
11844
11850
|
"aria-label": o ? "Close menu" : "Open menu",
|
|
11845
11851
|
"aria-expanded": o,
|
|
11846
|
-
|
|
11852
|
+
"aria-controls": "eidotter-mobile-nav-panel",
|
|
11853
|
+
children: "MENU"
|
|
11847
11854
|
}
|
|
11848
11855
|
),
|
|
11849
11856
|
o && /* @__PURE__ */ p(
|
|
@@ -11857,6 +11864,7 @@ const ta = {
|
|
|
11857
11864
|
/* @__PURE__ */ D(
|
|
11858
11865
|
"nav",
|
|
11859
11866
|
{
|
|
11867
|
+
id: "eidotter-mobile-nav-panel",
|
|
11860
11868
|
className: H(
|
|
11861
11869
|
"eidotter-nav__panel",
|
|
11862
11870
|
o && "eidotter-nav__panel--open"
|
|
@@ -11869,7 +11877,7 @@ const ta = {
|
|
|
11869
11877
|
onClick: d,
|
|
11870
11878
|
className: "eidotter-nav__close",
|
|
11871
11879
|
"aria-label": "Close menu",
|
|
11872
|
-
children: "
|
|
11880
|
+
children: /* @__PURE__ */ p(Se, { name: "Close", size: "S" })
|
|
11873
11881
|
}
|
|
11874
11882
|
) }),
|
|
11875
11883
|
/* @__PURE__ */ p("ul", { className: "eidotter-nav__list", children: t.map((c) => /* @__PURE__ */ p("li", { className: "eidotter-nav__item", children: /* @__PURE__ */ p(
|
|
@@ -11984,7 +11992,7 @@ const ta = {
|
|
|
11984
11992
|
{
|
|
11985
11993
|
className: H(
|
|
11986
11994
|
"flex items-start font-dos text-dos-text-md p-2 cursor-text",
|
|
11987
|
-
"
|
|
11995
|
+
"text-cga-amber",
|
|
11988
11996
|
"eidotter-chat-input",
|
|
11989
11997
|
r && "eidotter-chat-input--disabled",
|
|
11990
11998
|
i
|
|
@@ -12028,7 +12036,7 @@ const ta = {
|
|
|
12028
12036
|
"div",
|
|
12029
12037
|
{
|
|
12030
12038
|
className: H(
|
|
12031
|
-
"flex flex-col h-full min-h-0
|
|
12039
|
+
"flex flex-col h-full min-h-0",
|
|
12032
12040
|
s
|
|
12033
12041
|
),
|
|
12034
12042
|
...d,
|
|
@@ -12193,7 +12201,7 @@ const dm = {
|
|
|
12193
12201
|
className: H(
|
|
12194
12202
|
"w-full max-w-[400px]",
|
|
12195
12203
|
"font-dos text-dos-text-sm",
|
|
12196
|
-
"
|
|
12204
|
+
"border border-dos-border-default rounded-dos-base",
|
|
12197
12205
|
"eidotter-notification",
|
|
12198
12206
|
`eidotter-notification--${t}`,
|
|
12199
12207
|
m && "eidotter-notification--closing",
|
|
@@ -12207,7 +12215,7 @@ const dm = {
|
|
|
12207
12215
|
/* @__PURE__ */ D("div", { className: "flex flex-row gap-4 p-4", children: [
|
|
12208
12216
|
o && /* @__PURE__ */ p("div", { className: "eidotter-notification__avatar flex-shrink-0", children: o }),
|
|
12209
12217
|
v && /* @__PURE__ */ p("div", { className: "eidotter-notification__icon", children: /* @__PURE__ */ p(
|
|
12210
|
-
|
|
12218
|
+
Se,
|
|
12211
12219
|
{
|
|
12212
12220
|
name: dm[t] || "Info",
|
|
12213
12221
|
size: "S",
|
|
@@ -12251,7 +12259,7 @@ const dm = {
|
|
|
12251
12259
|
className: "eidotter-notification__close",
|
|
12252
12260
|
onPress: h,
|
|
12253
12261
|
"aria-label": "Close notification",
|
|
12254
|
-
children: /* @__PURE__ */ p(
|
|
12262
|
+
children: /* @__PURE__ */ p(Se, { name: "Close", size: "S" })
|
|
12255
12263
|
}
|
|
12256
12264
|
)
|
|
12257
12265
|
] })
|
|
@@ -12455,7 +12463,7 @@ function Dm(t) {
|
|
|
12455
12463
|
n[r] = i.usedBy ?? [];
|
|
12456
12464
|
return n;
|
|
12457
12465
|
}
|
|
12458
|
-
const Im = "0.19.
|
|
12466
|
+
const Im = "0.19.1";
|
|
12459
12467
|
export {
|
|
12460
12468
|
mm as AccordionFill,
|
|
12461
12469
|
cf as Alert,
|
|
@@ -12473,7 +12481,7 @@ export {
|
|
|
12473
12481
|
gm as FilterBar,
|
|
12474
12482
|
Em as Footer,
|
|
12475
12483
|
sm as Header,
|
|
12476
|
-
|
|
12484
|
+
Se as Icon,
|
|
12477
12485
|
ym as InlineExpand,
|
|
12478
12486
|
vf as Input,
|
|
12479
12487
|
ra as MobileNav,
|