@ultrst-armada/floks 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.
- package/package.json +3 -1
- package/packages/canvas-ui/dist/{chunk-UEIMM6PV.js → chunk-OOTTFWXA.js} +1 -1
- package/packages/canvas-ui/dist/{chunk-2GLR35UM.js → chunk-U2SC3RMJ.js} +1 -1
- package/packages/canvas-ui/dist/{chunk-QWQ4PCXQ.js → chunk-XVAHT5WE.js} +1 -1
- package/packages/canvas-ui/dist/graph-2d/index.js +2 -2
- package/packages/canvas-ui/dist/index.d.ts +1 -1
- package/packages/canvas-ui/dist/index.js +3 -3
- package/packages/canvas-ui/dist/predictive/index.d.ts +4 -3
- package/packages/canvas-ui/dist/predictive/index.js +2 -2
- package/packages/canvas-ui/package.json +1 -1
- package/packages/ui/dist/{chunk-OHISLM3Z.js → chunk-KYFSUQVT.js} +69 -3
- package/packages/ui/dist/components/base/index.js +3 -3
- package/packages/ui/dist/components/composite/index.js +5 -5
- package/packages/ui/dist/components/settings/index.js +2 -2
- package/packages/ui/dist/hierarchy/index.d.ts +66 -1
- package/packages/ui/dist/hierarchy/index.js +39 -1
- package/packages/ui/dist/index.d.ts +1 -1
- package/packages/ui/dist/index.js +73 -35
- package/packages/ui/dist/{chunk-QWXEW7WH.js → chunk-ATQPZLJX.js} +3 -3
- package/packages/ui/dist/{chunk-DABYTYOU.js → chunk-VEWPTZGO.js} +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultrst-armada/floks",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"zod": "^3.24.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
+
"@ultrst-armada/kloks": "^1.0.2",
|
|
53
54
|
"lucide-react": ">=0.300.0",
|
|
54
55
|
"react": "^18.0.0 || ^19.0.0",
|
|
55
56
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
@@ -58,6 +59,7 @@
|
|
|
58
59
|
"@types/node": "^22.0.0",
|
|
59
60
|
"@types/react": "^19.0.0",
|
|
60
61
|
"@types/react-dom": "^19.0.0",
|
|
62
|
+
"@ultrst-armada/kloks": "^1.0.2",
|
|
61
63
|
"lucide-react": "^1.55.0",
|
|
62
64
|
"react": "^19.0.1",
|
|
63
65
|
"react-dom": "^19.0.1",
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
Wire2D,
|
|
14
14
|
useCanvas2DCoordinates,
|
|
15
15
|
useCanvas2DMagnetic
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-XVAHT5WE.js";
|
|
17
17
|
import {
|
|
18
18
|
NODE_CARD_WIDTH,
|
|
19
19
|
Node2DBase,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
getSocketLocalOffset,
|
|
24
24
|
getSocketScreenPosition,
|
|
25
25
|
renderSpriteIcon
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-U2SC3RMJ.js";
|
|
27
27
|
export {
|
|
28
28
|
BIOME_CONFIGS,
|
|
29
29
|
COORD_SCALE,
|
|
@@ -7,7 +7,7 @@ import React__default from 'react';
|
|
|
7
7
|
import { NodeDefinition, GraphSettings, BaseNode, SolidConnection, Trace, ViewLink, BaseViewWindow, Socket, GraphNode } from '@ultrst-armada/kloks/state-graph';
|
|
8
8
|
export { B as BIOME_CONFIGS, C as COORD_SCALE, a as CameraState, b as Canvas2DViewerProps, c as ConnectingWireState } from './types-D3RRfQUo.js';
|
|
9
9
|
export { CanvasBackground2D, CanvasErrorBoundary, ContainerNode2D, EffectNode2D, MagneticTraces2D, ModuleNode2D, NODE_CARD_WIDTH, Node2DBase, Node2DBaseProps, NodeRenderer2D, NodeRenderer2DProps, RecorderWaveformDisplay, RecorderWaveformDisplayProps, RotaryKnob, RotaryKnobProps, SOCKET_ROW_HEIGHT, Socket2D, Socket2DProps, SocketScreenPosition, TriggerNode2D, Wire2D, Wire2DProps, getSocketLocalOffset, getSocketScreenPosition, renderSpriteIcon, useCanvas2DCoordinates, useCanvas2DMagnetic } from './graph-2d/index.js';
|
|
10
|
-
export { PredictiveGhostNodeCard, PredictiveGhostNodeCardProps, PredictiveHudToolbar, PredictiveLayer2D, usePredictiveGraph2D } from './predictive/index.js';
|
|
10
|
+
export { PredictiveGhostNodeCard, PredictiveGhostNodeCardProps, PredictiveHudToolbar, PredictiveLayer2D, PredictiveLayer2DProps, UsePredictiveGraph2DProps, UseViewer2DPredictiveProps, usePredictiveGraph2D } from './predictive/index.js';
|
|
11
11
|
|
|
12
12
|
interface MidpointWidgetsProps {
|
|
13
13
|
x: number;
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
Wire2D,
|
|
30
30
|
useCanvas2DCoordinates,
|
|
31
31
|
useCanvas2DMagnetic
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XVAHT5WE.js";
|
|
33
33
|
import {
|
|
34
34
|
PredictiveGhostNodeCard,
|
|
35
35
|
PredictiveHudToolbar,
|
|
36
36
|
PredictiveLayer2D,
|
|
37
37
|
usePredictiveGraph2D
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-OOTTFWXA.js";
|
|
39
39
|
import {
|
|
40
40
|
NODE_CARD_WIDTH,
|
|
41
41
|
Node2DBase,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
getSocketLocalOffset,
|
|
46
46
|
getSocketScreenPosition,
|
|
47
47
|
renderSpriteIcon
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-U2SC3RMJ.js";
|
|
49
49
|
import {
|
|
50
50
|
Tile,
|
|
51
51
|
TileCreateButton,
|
|
@@ -48,14 +48,15 @@ interface PredictiveLayer2DProps {
|
|
|
48
48
|
}
|
|
49
49
|
declare const PredictiveLayer2D: React__default.FC<PredictiveLayer2DProps>;
|
|
50
50
|
|
|
51
|
-
interface
|
|
51
|
+
interface UsePredictiveGraph2DProps {
|
|
52
52
|
nodes: SpaceNode[];
|
|
53
53
|
connections: NodeConnection[];
|
|
54
54
|
selectedNodeId: string | null;
|
|
55
55
|
selectedNodeIds?: string[];
|
|
56
56
|
onSolidifyPredictiveNodes?: (ghosts: PredictiveGhostNode[]) => void;
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
type UseViewer2DPredictiveProps = UsePredictiveGraph2DProps;
|
|
59
|
+
declare function usePredictiveGraph2D({ nodes, connections, selectedNodeId, selectedNodeIds, onSolidifyPredictiveNodes, }: UsePredictiveGraph2DProps): {
|
|
59
60
|
isActive: boolean;
|
|
60
61
|
scenarioIndex: number;
|
|
61
62
|
targetNodes: SpaceNode[];
|
|
@@ -71,4 +72,4 @@ declare function usePredictiveGraph2D({ nodes, connections, selectedNodeId, sele
|
|
|
71
72
|
close: () => void;
|
|
72
73
|
};
|
|
73
74
|
|
|
74
|
-
export { PredictiveGhostNodeCard, type PredictiveGhostNodeCardProps, PredictiveHudToolbar, PredictiveLayer2D, usePredictiveGraph2D };
|
|
75
|
+
export { PredictiveGhostNodeCard, type PredictiveGhostNodeCardProps, PredictiveHudToolbar, PredictiveLayer2D, type PredictiveLayer2DProps, type UsePredictiveGraph2DProps, type UseViewer2DPredictiveProps, usePredictiveGraph2D };
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
PredictiveHudToolbar,
|
|
4
4
|
PredictiveLayer2D,
|
|
5
5
|
usePredictiveGraph2D
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-OOTTFWXA.js";
|
|
7
|
+
import "../chunk-U2SC3RMJ.js";
|
|
8
8
|
export {
|
|
9
9
|
PredictiveGhostNodeCard,
|
|
10
10
|
PredictiveHudToolbar,
|
|
@@ -70,11 +70,20 @@ var UIElementBase = class extends GraphEntityParent {
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
// src/hierarchy/UIParent.tsx
|
|
73
|
+
import React from "react";
|
|
73
74
|
var UIModel = class extends UIElementBase {
|
|
74
75
|
constructor(id, name, variant = "primary", size = "md") {
|
|
75
76
|
super(id, name, "panel", variant, size);
|
|
76
77
|
}
|
|
77
78
|
};
|
|
79
|
+
var UIParent = ({
|
|
80
|
+
as: Component = "div",
|
|
81
|
+
children,
|
|
82
|
+
className = "",
|
|
83
|
+
...props
|
|
84
|
+
}) => {
|
|
85
|
+
return React.createElement(Component, { className, ...props }, children);
|
|
86
|
+
};
|
|
78
87
|
|
|
79
88
|
// src/hierarchy/ButtonParent.tsx
|
|
80
89
|
import { useMemo } from "react";
|
|
@@ -215,6 +224,16 @@ var ButtonParent = ({
|
|
|
215
224
|
}
|
|
216
225
|
);
|
|
217
226
|
};
|
|
227
|
+
var ButtonModel = class extends UIElementBase {
|
|
228
|
+
constructor(id, name, variant = "primary", size = "md") {
|
|
229
|
+
super(id, name, "button", variant, size);
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
var ActionButton = (props) => /* @__PURE__ */ jsx(ButtonParent, { variant: "accent", ...props });
|
|
233
|
+
var IconButton = (props) => /* @__PURE__ */ jsx(ButtonParent, { variant: "secondary", ...props });
|
|
234
|
+
var ToggleButton = (props) => /* @__PURE__ */ jsx(ButtonParent, { variant: "dock", ...props });
|
|
235
|
+
var DangerButton = (props) => /* @__PURE__ */ jsx(ButtonParent, { variant: "danger", ...props });
|
|
236
|
+
var GhostButton = (props) => /* @__PURE__ */ jsx(ButtonParent, { variant: "ghost", ...props });
|
|
218
237
|
|
|
219
238
|
// src/hierarchy/PanelParent.tsx
|
|
220
239
|
import { useMemo as useMemo2 } from "react";
|
|
@@ -337,6 +356,15 @@ var PanelParent = ({
|
|
|
337
356
|
}
|
|
338
357
|
);
|
|
339
358
|
};
|
|
359
|
+
var PanelModel = class extends UIElementBase {
|
|
360
|
+
constructor(id, name, variant = "primary", size = "md") {
|
|
361
|
+
super(id, name, "panel", variant, size);
|
|
362
|
+
}
|
|
363
|
+
};
|
|
364
|
+
var ModalPanel = (props) => /* @__PURE__ */ jsx2(PanelParent, { zIndex: 100, ...props });
|
|
365
|
+
var InspectorPanel = (props) => /* @__PURE__ */ jsx2(PanelParent, { ...props });
|
|
366
|
+
var CardPanel = (props) => /* @__PURE__ */ jsx2(PanelParent, { ...props });
|
|
367
|
+
var ToolbarPanel = (props) => /* @__PURE__ */ jsx2(PanelParent, { ...props });
|
|
340
368
|
|
|
341
369
|
// src/hierarchy/InputParent.tsx
|
|
342
370
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -474,6 +502,11 @@ var ToggleInput = ({
|
|
|
474
502
|
}
|
|
475
503
|
);
|
|
476
504
|
};
|
|
505
|
+
var InputModel = class extends UIElementBase {
|
|
506
|
+
constructor(id, name, variant = "primary", size = "md") {
|
|
507
|
+
super(id, name, "input", variant, size);
|
|
508
|
+
}
|
|
509
|
+
};
|
|
477
510
|
|
|
478
511
|
// src/hierarchy/TileParent.tsx
|
|
479
512
|
import { useState, useRef, useEffect } from "react";
|
|
@@ -564,9 +597,18 @@ var TileParent = ({
|
|
|
564
597
|
}
|
|
565
598
|
);
|
|
566
599
|
};
|
|
600
|
+
var TileModel = class extends UIElementBase {
|
|
601
|
+
constructor(id, name, variant = "primary", size = "md") {
|
|
602
|
+
super(id, name, "tile", variant, size);
|
|
603
|
+
}
|
|
604
|
+
};
|
|
605
|
+
var SpawnOptionTile = (props) => /* @__PURE__ */ jsx4(TileParent, { ...props });
|
|
606
|
+
var CategoryCardTile = (props) => /* @__PURE__ */ jsx4(TileParent, { ...props });
|
|
607
|
+
var ClipCardTile = (props) => /* @__PURE__ */ jsx4(TileParent, { ...props });
|
|
608
|
+
var ChannelStripTile = (props) => /* @__PURE__ */ jsx4(TileParent, { ...props });
|
|
567
609
|
|
|
568
610
|
// src/hierarchy/BadgeParent.tsx
|
|
569
|
-
import
|
|
611
|
+
import React5 from "react";
|
|
570
612
|
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
571
613
|
var Badge = ({
|
|
572
614
|
id,
|
|
@@ -576,7 +618,7 @@ var Badge = ({
|
|
|
576
618
|
className = ""
|
|
577
619
|
}) => {
|
|
578
620
|
const palette = usePalette();
|
|
579
|
-
const colorStyle =
|
|
621
|
+
const colorStyle = React5.useMemo(() => {
|
|
580
622
|
switch (variant) {
|
|
581
623
|
case "accent":
|
|
582
624
|
return {
|
|
@@ -685,19 +727,43 @@ var StatusDot = ({
|
|
|
685
727
|
}
|
|
686
728
|
);
|
|
687
729
|
};
|
|
730
|
+
var BadgeModel = class extends UIElementBase {
|
|
731
|
+
constructor(id, name, variant = "primary", size = "md") {
|
|
732
|
+
super(id, name, "badge", variant, size);
|
|
733
|
+
}
|
|
734
|
+
};
|
|
688
735
|
|
|
689
736
|
export {
|
|
690
737
|
registerPaletteResolver,
|
|
691
738
|
UIElementBase,
|
|
692
739
|
UIModel,
|
|
740
|
+
UIParent,
|
|
693
741
|
ButtonParent,
|
|
742
|
+
ButtonModel,
|
|
743
|
+
ActionButton,
|
|
744
|
+
IconButton,
|
|
745
|
+
ToggleButton,
|
|
746
|
+
DangerButton,
|
|
747
|
+
GhostButton,
|
|
694
748
|
PanelParent,
|
|
749
|
+
PanelModel,
|
|
750
|
+
ModalPanel,
|
|
751
|
+
InspectorPanel,
|
|
752
|
+
CardPanel,
|
|
753
|
+
ToolbarPanel,
|
|
695
754
|
SliderInput,
|
|
696
755
|
TextInput,
|
|
697
756
|
SelectInput,
|
|
698
757
|
ToggleInput,
|
|
758
|
+
InputModel,
|
|
699
759
|
TileParent,
|
|
760
|
+
TileModel,
|
|
761
|
+
SpawnOptionTile,
|
|
762
|
+
CategoryCardTile,
|
|
763
|
+
ClipCardTile,
|
|
764
|
+
ChannelStripTile,
|
|
700
765
|
Badge,
|
|
701
766
|
TelemetryPill,
|
|
702
|
-
StatusDot
|
|
767
|
+
StatusDot,
|
|
768
|
+
BadgeModel
|
|
703
769
|
};
|
|
@@ -5,6 +5,9 @@ import {
|
|
|
5
5
|
CredentialField,
|
|
6
6
|
KNOWN_CREDENTIAL_URLS
|
|
7
7
|
} from "../../chunk-KIFQA7L6.js";
|
|
8
|
+
import {
|
|
9
|
+
BaseTooltip
|
|
10
|
+
} from "../../chunk-GKP6KHTI.js";
|
|
8
11
|
import {
|
|
9
12
|
BaseBadge,
|
|
10
13
|
BaseCard
|
|
@@ -12,9 +15,6 @@ import {
|
|
|
12
15
|
import {
|
|
13
16
|
BaseInput
|
|
14
17
|
} from "../../chunk-W42SJGOJ.js";
|
|
15
|
-
import {
|
|
16
|
-
BaseTooltip
|
|
17
|
-
} from "../../chunk-GKP6KHTI.js";
|
|
18
18
|
import "../../chunk-62ITRDJX.js";
|
|
19
19
|
import {
|
|
20
20
|
BaseButton
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
SearchableList,
|
|
8
8
|
StatusIndicator,
|
|
9
9
|
useSearchKeyboardNavigation
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-VEWPTZGO.js";
|
|
11
|
+
import {
|
|
12
|
+
IconOnlyButton
|
|
13
|
+
} from "../../chunk-OR5ZNJI4.js";
|
|
11
14
|
import {
|
|
12
15
|
CopyableLogViewer
|
|
13
16
|
} from "../../chunk-RLQ2ALJG.js";
|
|
17
|
+
import "../../chunk-GKP6KHTI.js";
|
|
14
18
|
import "../../chunk-UOR4P6PO.js";
|
|
15
19
|
import "../../chunk-W42SJGOJ.js";
|
|
16
|
-
import {
|
|
17
|
-
IconOnlyButton
|
|
18
|
-
} from "../../chunk-OR5ZNJI4.js";
|
|
19
|
-
import "../../chunk-GKP6KHTI.js";
|
|
20
20
|
import "../../chunk-62ITRDJX.js";
|
|
21
21
|
import "../../chunk-A2CDQISJ.js";
|
|
22
22
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SettingsTab,
|
|
3
3
|
ThemeSettingsSection
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-RLQ2ALJG.js";
|
|
4
|
+
} from "../../chunk-ATQPZLJX.js";
|
|
6
5
|
import "../../chunk-DZJ3NSCX.js";
|
|
6
|
+
import "../../chunk-RLQ2ALJG.js";
|
|
7
7
|
import "../../chunk-UOR4P6PO.js";
|
|
8
8
|
import "../../chunk-A2CDQISJ.js";
|
|
9
9
|
export {
|
|
@@ -2,6 +2,27 @@ import React__default from 'react';
|
|
|
2
2
|
import { GraphEntityParent } from '@ultrst-armada/kloks/state-graph';
|
|
3
3
|
|
|
4
4
|
type GraphEntityMetadata = Record<string, any>;
|
|
5
|
+
interface UIInteractionState {
|
|
6
|
+
isHovered?: boolean;
|
|
7
|
+
isActive?: boolean;
|
|
8
|
+
isFocused?: boolean;
|
|
9
|
+
isDisabled?: boolean;
|
|
10
|
+
isSelected?: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface UIStyleTokens {
|
|
13
|
+
bgPrimary?: string;
|
|
14
|
+
bgSecondary?: string;
|
|
15
|
+
bgSurface?: string;
|
|
16
|
+
bgElevated?: string;
|
|
17
|
+
textPrimary?: string;
|
|
18
|
+
textSecondary?: string;
|
|
19
|
+
textMuted?: string;
|
|
20
|
+
accentPrimary?: string;
|
|
21
|
+
accentSecondary?: string;
|
|
22
|
+
borderSubtle?: string;
|
|
23
|
+
borderMedium?: string;
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}
|
|
5
26
|
type ColorPalette = Record<string, any>;
|
|
6
27
|
declare function registerPaletteResolver(fn: () => ColorPalette): void;
|
|
7
28
|
type UIRole = 'panel' | 'button' | 'input' | 'tile' | 'badge';
|
|
@@ -49,6 +70,10 @@ type UIProps = UIBaseProps;
|
|
|
49
70
|
declare abstract class UIModel extends UIElementBase {
|
|
50
71
|
constructor(id: string, name: string, variant?: UIVariant, size?: UISize);
|
|
51
72
|
}
|
|
73
|
+
interface UIParentProps extends UIBaseProps {
|
|
74
|
+
as?: React__default.ElementType;
|
|
75
|
+
}
|
|
76
|
+
declare const UIParent: React__default.FC<UIParentProps>;
|
|
52
77
|
|
|
53
78
|
interface ButtonParentProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
54
79
|
variant?: UIVariant;
|
|
@@ -63,6 +88,18 @@ interface ButtonParentProps extends React__default.ButtonHTMLAttributes<HTMLButt
|
|
|
63
88
|
}
|
|
64
89
|
declare const ButtonParent: React__default.FC<ButtonParentProps>;
|
|
65
90
|
|
|
91
|
+
declare class ButtonModel extends UIElementBase {
|
|
92
|
+
constructor(id: string, name: string, variant?: UIVariant, size?: UISize);
|
|
93
|
+
}
|
|
94
|
+
type ButtonVariant = UIVariant;
|
|
95
|
+
type ButtonSize = UISize;
|
|
96
|
+
type ButtonProps = ButtonParentProps;
|
|
97
|
+
declare const ActionButton: React__default.FC<ButtonParentProps>;
|
|
98
|
+
declare const IconButton: React__default.FC<ButtonParentProps>;
|
|
99
|
+
declare const ToggleButton: React__default.FC<ButtonParentProps>;
|
|
100
|
+
declare const DangerButton: React__default.FC<ButtonParentProps>;
|
|
101
|
+
declare const GhostButton: React__default.FC<ButtonParentProps>;
|
|
102
|
+
|
|
66
103
|
interface PanelParentProps {
|
|
67
104
|
id?: string;
|
|
68
105
|
title: string;
|
|
@@ -86,6 +123,16 @@ interface PanelParentProps {
|
|
|
86
123
|
}
|
|
87
124
|
declare const PanelParent: React__default.FC<PanelParentProps>;
|
|
88
125
|
|
|
126
|
+
declare class PanelModel extends UIElementBase {
|
|
127
|
+
constructor(id: string, name: string, variant?: UIVariant, size?: UISize);
|
|
128
|
+
}
|
|
129
|
+
type PanelVariant = 'modal' | 'inspector' | 'card' | 'toolbar' | 'default';
|
|
130
|
+
type PanelProps = PanelParentProps;
|
|
131
|
+
declare const ModalPanel: React__default.FC<PanelParentProps>;
|
|
132
|
+
declare const InspectorPanel: React__default.FC<PanelParentProps>;
|
|
133
|
+
declare const CardPanel: React__default.FC<PanelParentProps>;
|
|
134
|
+
declare const ToolbarPanel: React__default.FC<PanelParentProps>;
|
|
135
|
+
|
|
89
136
|
interface SliderInputProps {
|
|
90
137
|
id?: string;
|
|
91
138
|
value: number;
|
|
@@ -120,6 +167,10 @@ interface ToggleInputProps {
|
|
|
120
167
|
}
|
|
121
168
|
declare const ToggleInput: React__default.FC<ToggleInputProps>;
|
|
122
169
|
|
|
170
|
+
declare class InputModel extends UIElementBase {
|
|
171
|
+
constructor(id: string, name: string, variant?: UIVariant, size?: UISize);
|
|
172
|
+
}
|
|
173
|
+
|
|
123
174
|
interface TileParentProps {
|
|
124
175
|
id: string;
|
|
125
176
|
icon?: React__default.ReactNode;
|
|
@@ -141,6 +192,15 @@ interface TileParentProps {
|
|
|
141
192
|
}
|
|
142
193
|
declare const TileParent: React__default.FC<TileParentProps>;
|
|
143
194
|
|
|
195
|
+
declare class TileModel extends UIElementBase {
|
|
196
|
+
constructor(id: string, name: string, variant?: UIVariant, size?: UISize);
|
|
197
|
+
}
|
|
198
|
+
type TileVariant = 'default' | 'clip' | 'category' | 'strip';
|
|
199
|
+
declare const SpawnOptionTile: React__default.FC<TileParentProps>;
|
|
200
|
+
declare const CategoryCardTile: React__default.FC<TileParentProps>;
|
|
201
|
+
declare const ClipCardTile: React__default.FC<TileParentProps>;
|
|
202
|
+
declare const ChannelStripTile: React__default.FC<TileParentProps>;
|
|
203
|
+
|
|
144
204
|
interface BadgeProps {
|
|
145
205
|
id?: string;
|
|
146
206
|
label: string;
|
|
@@ -165,4 +225,9 @@ interface StatusDotProps {
|
|
|
165
225
|
}
|
|
166
226
|
declare const StatusDot: React__default.FC<StatusDotProps>;
|
|
167
227
|
|
|
168
|
-
|
|
228
|
+
declare class BadgeModel extends UIElementBase {
|
|
229
|
+
constructor(id: string, name: string, variant?: UIVariant, size?: UISize);
|
|
230
|
+
}
|
|
231
|
+
type BadgeTone = 'primary' | 'accent' | 'success' | 'warning' | 'danger' | 'info';
|
|
232
|
+
|
|
233
|
+
export { ActionButton, Badge, BadgeModel, type BadgeProps, type BadgeTone, ButtonModel, ButtonParent, type ButtonParentProps, type ButtonProps, type ButtonSize, type ButtonVariant, CardPanel, CategoryCardTile, ChannelStripTile, ClipCardTile, type ColorPalette, DangerButton, GhostButton, type GraphEntityMetadata, IconButton, InputModel, InspectorPanel, ModalPanel, PanelModel, PanelParent, type PanelParentProps, type PanelProps, type PanelVariant, SelectInput, type SelectInputProps, SliderInput, type SliderInputProps, SpawnOptionTile, StatusDot, type StatusDotProps, TelemetryPill, type TelemetryPillProps, TextInput, type TextInputProps, TileModel, TileParent, type TileParentProps, type TileVariant, ToggleButton, ToggleInput, type ToggleInputProps, ToolbarPanel, type TooltipDirection, type UIBaseProps, UIElementBase, type UIInteractionState, UIModel, UIParent, type UIParentProps, type UIProps, type UIRole, type UISize, type UIStyleTokens, type UIVariant, registerPaletteResolver };
|
|
@@ -1,18 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ActionButton,
|
|
2
3
|
Badge,
|
|
4
|
+
BadgeModel,
|
|
5
|
+
ButtonModel,
|
|
3
6
|
ButtonParent,
|
|
7
|
+
CardPanel,
|
|
8
|
+
CategoryCardTile,
|
|
9
|
+
ChannelStripTile,
|
|
10
|
+
ClipCardTile,
|
|
11
|
+
DangerButton,
|
|
12
|
+
GhostButton,
|
|
13
|
+
IconButton,
|
|
14
|
+
InputModel,
|
|
15
|
+
InspectorPanel,
|
|
16
|
+
ModalPanel,
|
|
17
|
+
PanelModel,
|
|
4
18
|
PanelParent,
|
|
5
19
|
SelectInput,
|
|
6
20
|
SliderInput,
|
|
21
|
+
SpawnOptionTile,
|
|
7
22
|
StatusDot,
|
|
8
23
|
TelemetryPill,
|
|
9
24
|
TextInput,
|
|
25
|
+
TileModel,
|
|
10
26
|
TileParent,
|
|
27
|
+
ToggleButton,
|
|
11
28
|
ToggleInput,
|
|
29
|
+
ToolbarPanel,
|
|
12
30
|
UIElementBase,
|
|
13
31
|
UIModel,
|
|
32
|
+
UIParent,
|
|
14
33
|
registerPaletteResolver
|
|
15
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-KYFSUQVT.js";
|
|
16
35
|
import "../chunk-ZQK5I5ZL.js";
|
|
17
36
|
import "../chunk-XXIH2HWI.js";
|
|
18
37
|
import "../chunk-5ZMXFCD4.js";
|
|
@@ -20,17 +39,36 @@ import "../chunk-C3L53YN4.js";
|
|
|
20
39
|
import "../chunk-62ITRDJX.js";
|
|
21
40
|
import "../chunk-A2CDQISJ.js";
|
|
22
41
|
export {
|
|
42
|
+
ActionButton,
|
|
23
43
|
Badge,
|
|
44
|
+
BadgeModel,
|
|
45
|
+
ButtonModel,
|
|
24
46
|
ButtonParent,
|
|
47
|
+
CardPanel,
|
|
48
|
+
CategoryCardTile,
|
|
49
|
+
ChannelStripTile,
|
|
50
|
+
ClipCardTile,
|
|
51
|
+
DangerButton,
|
|
52
|
+
GhostButton,
|
|
53
|
+
IconButton,
|
|
54
|
+
InputModel,
|
|
55
|
+
InspectorPanel,
|
|
56
|
+
ModalPanel,
|
|
57
|
+
PanelModel,
|
|
25
58
|
PanelParent,
|
|
26
59
|
SelectInput,
|
|
27
60
|
SliderInput,
|
|
61
|
+
SpawnOptionTile,
|
|
28
62
|
StatusDot,
|
|
29
63
|
TelemetryPill,
|
|
30
64
|
TextInput,
|
|
65
|
+
TileModel,
|
|
31
66
|
TileParent,
|
|
67
|
+
ToggleButton,
|
|
32
68
|
ToggleInput,
|
|
69
|
+
ToolbarPanel,
|
|
33
70
|
UIElementBase,
|
|
34
71
|
UIModel,
|
|
72
|
+
UIParent,
|
|
35
73
|
registerPaletteResolver
|
|
36
74
|
};
|
|
@@ -10,7 +10,7 @@ export { SettingsTab, SettingsTabProps, ThemeSettingsSection } from './component
|
|
|
10
10
|
export { LoginModal, LoginModalProps } from './components/auth/index.js';
|
|
11
11
|
export { SrklBackblazeAccount, SrklBackblazeTile, StorageOptionTiles, StoragePresetTile, StorageSelection, WorkspaceRecord, WorkspaceSecondaryClone, WorkspaceSecondaryClonesPanel, WorkspaceStorageReadonlyPanel, WorkspaceTilesMenu, WorkspaceTilesMenuProps } from './components/workspace/index.js';
|
|
12
12
|
export { DEFAULT_PALETTE_ID, THEME_STORAGE_KEY, ThemeContextValue, ThemeProvider, ThemeProviderProps, applyPaletteToDocument, getActivePalette, paletteToSkipoThemePack, subscribeToPalette, usePalette, useTheme } from './palette/index.js';
|
|
13
|
-
export { Badge, BadgeProps, ButtonParent, ButtonParentProps, GraphEntityMetadata, PanelParent, PanelParentProps, SelectInput, SelectInputProps, SliderInput, SliderInputProps, StatusDot, StatusDotProps, TelemetryPill, TelemetryPillProps, TextInput, TextInputProps, TileParent, TileParentProps, ToggleInput, ToggleInputProps, TooltipDirection, UIBaseProps, UIElementBase, UIModel, UIProps, UIRole, UISize, UIVariant, registerPaletteResolver } from './hierarchy/index.js';
|
|
13
|
+
export { ActionButton, Badge, BadgeModel, BadgeProps, BadgeTone, ButtonModel, ButtonParent, ButtonParentProps, ButtonProps, ButtonSize, ButtonVariant, CardPanel, CategoryCardTile, ChannelStripTile, ClipCardTile, DangerButton, GhostButton, GraphEntityMetadata, IconButton, InputModel, InspectorPanel, ModalPanel, PanelModel, PanelParent, PanelParentProps, PanelProps, PanelVariant, SelectInput, SelectInputProps, SliderInput, SliderInputProps, SpawnOptionTile, StatusDot, StatusDotProps, TelemetryPill, TelemetryPillProps, TextInput, TextInputProps, TileModel, TileParent, TileParentProps, TileVariant, ToggleButton, ToggleInput, ToggleInputProps, ToolbarPanel, TooltipDirection, UIBaseProps, UIElementBase, UIInteractionState, UIModel, UIParent, UIParentProps, UIProps, UIRole, UISize, UIStyleTokens, UIVariant, registerPaletteResolver } from './hierarchy/index.js';
|
|
14
14
|
import 'zod';
|
|
15
15
|
import 'react';
|
|
16
16
|
import '@ultrst-armada/kloks/state-graph';
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ConfirmDialog,
|
|
3
|
-
CopyableErrorAlert,
|
|
4
|
-
EmptyState,
|
|
5
|
-
LoadingOverlay,
|
|
6
|
-
SearchInput,
|
|
7
|
-
SearchableList,
|
|
8
|
-
StatusIndicator,
|
|
9
|
-
useSearchKeyboardNavigation
|
|
10
|
-
} from "./chunk-DABYTYOU.js";
|
|
11
1
|
import {
|
|
12
2
|
AppShell,
|
|
13
3
|
BreadcrumbNav,
|
|
14
4
|
HeaderBar,
|
|
15
5
|
TopToolbar
|
|
16
6
|
} from "./chunk-GWW3BGOB.js";
|
|
7
|
+
import {
|
|
8
|
+
DEFAULT_PANEL_GEOMETRY,
|
|
9
|
+
DrawerContainer,
|
|
10
|
+
FloatingDetailsPanel,
|
|
11
|
+
PageContainer,
|
|
12
|
+
PanelContainer,
|
|
13
|
+
ResizeHandles,
|
|
14
|
+
SectionContainer,
|
|
15
|
+
SidebarContainer,
|
|
16
|
+
SplitContainer,
|
|
17
|
+
TabContainer,
|
|
18
|
+
usePanelGeometry,
|
|
19
|
+
usePanelInteraction
|
|
20
|
+
} from "./chunk-TXKLROFC.js";
|
|
17
21
|
import {
|
|
18
22
|
SettingsTab,
|
|
19
23
|
ThemeSettingsSection
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import {
|
|
22
|
-
CopyableLogViewer
|
|
23
|
-
} from "./chunk-RLQ2ALJG.js";
|
|
24
|
+
} from "./chunk-ATQPZLJX.js";
|
|
24
25
|
import {
|
|
25
26
|
SrklBackblazeTile,
|
|
26
27
|
StorageOptionTiles,
|
|
@@ -30,20 +31,39 @@ import {
|
|
|
30
31
|
WorkspaceTilesMenu
|
|
31
32
|
} from "./chunk-ELZOBTWX.js";
|
|
32
33
|
import {
|
|
34
|
+
ActionButton,
|
|
33
35
|
Badge,
|
|
36
|
+
BadgeModel,
|
|
37
|
+
ButtonModel,
|
|
34
38
|
ButtonParent,
|
|
39
|
+
CardPanel,
|
|
40
|
+
CategoryCardTile,
|
|
41
|
+
ChannelStripTile,
|
|
42
|
+
ClipCardTile,
|
|
43
|
+
DangerButton,
|
|
44
|
+
GhostButton,
|
|
45
|
+
IconButton,
|
|
46
|
+
InputModel,
|
|
47
|
+
InspectorPanel,
|
|
48
|
+
ModalPanel,
|
|
49
|
+
PanelModel,
|
|
35
50
|
PanelParent,
|
|
36
51
|
SelectInput,
|
|
37
52
|
SliderInput,
|
|
53
|
+
SpawnOptionTile,
|
|
38
54
|
StatusDot,
|
|
39
55
|
TelemetryPill,
|
|
40
56
|
TextInput,
|
|
57
|
+
TileModel,
|
|
41
58
|
TileParent,
|
|
59
|
+
ToggleButton,
|
|
42
60
|
ToggleInput,
|
|
61
|
+
ToolbarPanel,
|
|
43
62
|
UIElementBase,
|
|
44
63
|
UIModel,
|
|
64
|
+
UIParent,
|
|
45
65
|
registerPaletteResolver
|
|
46
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-KYFSUQVT.js";
|
|
47
67
|
import "./chunk-SLJBDDSN.js";
|
|
48
68
|
import {
|
|
49
69
|
DEFAULT_PALETTE_ID,
|
|
@@ -116,13 +136,6 @@ import {
|
|
|
116
136
|
CredentialField,
|
|
117
137
|
KNOWN_CREDENTIAL_URLS
|
|
118
138
|
} from "./chunk-KIFQA7L6.js";
|
|
119
|
-
import {
|
|
120
|
-
BaseBadge,
|
|
121
|
-
BaseCard
|
|
122
|
-
} from "./chunk-UOR4P6PO.js";
|
|
123
|
-
import {
|
|
124
|
-
BaseInput
|
|
125
|
-
} from "./chunk-W42SJGOJ.js";
|
|
126
139
|
import "./chunk-5ZMXFCD4.js";
|
|
127
140
|
import {
|
|
128
141
|
ApiCallIndicator,
|
|
@@ -132,26 +145,32 @@ import {
|
|
|
132
145
|
SystemMessageDisplay
|
|
133
146
|
} from "./chunk-C3L53YN4.js";
|
|
134
147
|
import {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
TabContainer,
|
|
145
|
-
usePanelGeometry,
|
|
146
|
-
usePanelInteraction
|
|
147
|
-
} from "./chunk-TXKLROFC.js";
|
|
148
|
+
ConfirmDialog,
|
|
149
|
+
CopyableErrorAlert,
|
|
150
|
+
EmptyState,
|
|
151
|
+
LoadingOverlay,
|
|
152
|
+
SearchInput,
|
|
153
|
+
SearchableList,
|
|
154
|
+
StatusIndicator,
|
|
155
|
+
useSearchKeyboardNavigation
|
|
156
|
+
} from "./chunk-VEWPTZGO.js";
|
|
148
157
|
import {
|
|
149
158
|
IconOnlyButton,
|
|
150
159
|
ModalContainer
|
|
151
160
|
} from "./chunk-OR5ZNJI4.js";
|
|
161
|
+
import {
|
|
162
|
+
CopyableLogViewer
|
|
163
|
+
} from "./chunk-RLQ2ALJG.js";
|
|
152
164
|
import {
|
|
153
165
|
BaseTooltip
|
|
154
166
|
} from "./chunk-GKP6KHTI.js";
|
|
167
|
+
import {
|
|
168
|
+
BaseBadge,
|
|
169
|
+
BaseCard
|
|
170
|
+
} from "./chunk-UOR4P6PO.js";
|
|
171
|
+
import {
|
|
172
|
+
BaseInput
|
|
173
|
+
} from "./chunk-W42SJGOJ.js";
|
|
155
174
|
import {
|
|
156
175
|
BottomStripProvider,
|
|
157
176
|
useBottomStrip
|
|
@@ -160,11 +179,13 @@ import {
|
|
|
160
179
|
BaseButton
|
|
161
180
|
} from "./chunk-A2CDQISJ.js";
|
|
162
181
|
export {
|
|
182
|
+
ActionButton,
|
|
163
183
|
ApiCallIndicator,
|
|
164
184
|
AppShell,
|
|
165
185
|
AutoSaveToggle,
|
|
166
186
|
BUILTIN_PALETTES,
|
|
167
187
|
Badge,
|
|
188
|
+
BadgeModel,
|
|
168
189
|
BaseBadge,
|
|
169
190
|
BaseButton,
|
|
170
191
|
BaseCard,
|
|
@@ -177,8 +198,13 @@ export {
|
|
|
177
198
|
BottomStrip,
|
|
178
199
|
BottomStripProvider,
|
|
179
200
|
BreadcrumbNav,
|
|
201
|
+
ButtonModel,
|
|
180
202
|
ButtonParent,
|
|
181
203
|
CANONICAL_ELEMENTS,
|
|
204
|
+
CardPanel,
|
|
205
|
+
CategoryCardTile,
|
|
206
|
+
ChannelStripTile,
|
|
207
|
+
ClipCardTile,
|
|
182
208
|
CodeStyleSchema,
|
|
183
209
|
ConfirmDialog,
|
|
184
210
|
CopyableErrorAlert,
|
|
@@ -192,16 +218,21 @@ export {
|
|
|
192
218
|
DOCUSTACK_CYBERPUNK_PACK,
|
|
193
219
|
DOCUSTACK_DARK_GOLD_PACK,
|
|
194
220
|
DOCUSTACK_WARM_COFFEE_PACK,
|
|
221
|
+
DangerButton,
|
|
195
222
|
docustack_cyberpunk_neon_default as DocuStackCyberpunkPack,
|
|
196
223
|
docustack_dark_gold_default as DocuStackDarkGoldPack,
|
|
197
224
|
docustack_warm_coffee_default as DocuStackWarmCoffeePack,
|
|
198
225
|
DrawerContainer,
|
|
199
226
|
EmptyState,
|
|
200
227
|
FloatingDetailsPanel,
|
|
228
|
+
GhostButton,
|
|
201
229
|
HeaderBar,
|
|
202
230
|
HeadingLevelSchema,
|
|
203
231
|
HorizontalRuleStyleSchema,
|
|
232
|
+
IconButton,
|
|
204
233
|
IconOnlyButton,
|
|
234
|
+
InputModel,
|
|
235
|
+
InspectorPanel,
|
|
205
236
|
KNOWN_CREDENTIAL_URLS,
|
|
206
237
|
LinkStyleSchema,
|
|
207
238
|
ListStyleSchema,
|
|
@@ -209,9 +240,11 @@ export {
|
|
|
209
240
|
LoginModal,
|
|
210
241
|
MarkdownSectionStylesSchema,
|
|
211
242
|
ModalContainer,
|
|
243
|
+
ModalPanel,
|
|
212
244
|
ModularThemePackSchema,
|
|
213
245
|
PageContainer,
|
|
214
246
|
PanelContainer,
|
|
247
|
+
PanelModel,
|
|
215
248
|
PanelParent,
|
|
216
249
|
ParagraphStyleSchema,
|
|
217
250
|
ResizeHandles,
|
|
@@ -225,6 +258,7 @@ export {
|
|
|
225
258
|
SkipoThemeMetadataSchema,
|
|
226
259
|
SkipoThemeProvider,
|
|
227
260
|
SliderInput,
|
|
261
|
+
SpawnOptionTile,
|
|
228
262
|
SplitContainer,
|
|
229
263
|
SrklBackblazeTile,
|
|
230
264
|
StatusDot,
|
|
@@ -243,12 +277,16 @@ export {
|
|
|
243
277
|
ThemeSettingsSection,
|
|
244
278
|
ThemeTypographySchema,
|
|
245
279
|
ThemeVariantDefinitionSchema,
|
|
280
|
+
TileModel,
|
|
246
281
|
TileParent,
|
|
282
|
+
ToggleButton,
|
|
247
283
|
ToggleInput,
|
|
284
|
+
ToolbarPanel,
|
|
248
285
|
TopToolbar,
|
|
249
286
|
UIElementBase,
|
|
250
287
|
UIElementThemeValueSchema,
|
|
251
288
|
UIModel,
|
|
289
|
+
UIParent,
|
|
252
290
|
WorkspaceSecondaryClonesPanel,
|
|
253
291
|
WorkspaceStorageReadonlyPanel,
|
|
254
292
|
WorkspaceTilesMenu,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CopyableLogViewer
|
|
3
|
-
} from "./chunk-RLQ2ALJG.js";
|
|
4
1
|
import {
|
|
5
2
|
DEFAULT_DARK_THEME_PACK,
|
|
6
3
|
DEFAULT_LIGHT_THEME_PACK,
|
|
7
4
|
useSkipoTheme
|
|
8
5
|
} from "./chunk-DZJ3NSCX.js";
|
|
6
|
+
import {
|
|
7
|
+
CopyableLogViewer
|
|
8
|
+
} from "./chunk-RLQ2ALJG.js";
|
|
9
9
|
import {
|
|
10
10
|
BaseBadge,
|
|
11
11
|
BaseCard
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ModalContainer
|
|
3
|
+
} from "./chunk-OR5ZNJI4.js";
|
|
1
4
|
import {
|
|
2
5
|
BaseBadge,
|
|
3
6
|
BaseCard
|
|
@@ -5,9 +8,6 @@ import {
|
|
|
5
8
|
import {
|
|
6
9
|
BaseInput
|
|
7
10
|
} from "./chunk-W42SJGOJ.js";
|
|
8
|
-
import {
|
|
9
|
-
ModalContainer
|
|
10
|
-
} from "./chunk-OR5ZNJI4.js";
|
|
11
11
|
import {
|
|
12
12
|
BaseButton
|
|
13
13
|
} from "./chunk-A2CDQISJ.js";
|