@elevasis/ui 1.26.1 → 1.28.0
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/dist/charts/index.js +2 -2
- package/dist/{chunk-MHW43EOH.js → chunk-2IFYDILW.js} +2 -1
- package/dist/{chunk-AWT255UH.js → chunk-2IJCM3VQ.js} +37 -37
- package/dist/{chunk-4INR75ZS.js → chunk-37NT4BNV.js} +589 -65
- package/dist/chunk-5COLSYBE.js +199 -0
- package/dist/{chunk-YNGQ7U5H.js → chunk-7CJ5QBN2.js} +2 -2
- package/dist/{chunk-L3GVDMCA.js → chunk-C27LLJM6.js} +3 -195
- package/dist/chunk-C4WOXS2C.js +6646 -0
- package/dist/{chunk-RMPXGBNI.js → chunk-D25AE46Q.js} +2 -2
- package/dist/{chunk-ZVJKIJFG.js → chunk-EBCIUZVV.js} +13 -42
- package/dist/{chunk-O4UB5DQQ.js → chunk-F2J7675J.js} +1 -1
- package/dist/chunk-KLG4H5NM.js +247 -0
- package/dist/{chunk-BS4J2LAW.js → chunk-QTD5HPKD.js} +1 -1
- package/dist/chunk-S4S6K4MV.js +635 -0
- package/dist/{chunk-FEZZ3IDU.js → chunk-TXPUIHX2.js} +10 -10
- package/dist/{chunk-L4XXM55J.js → chunk-W4VYXIN7.js} +142 -3
- package/dist/{chunk-4WKWLFBZ.js → chunk-ZUJ7WMGV.js} +1 -1
- package/dist/chunk-ZXBD5SBV.js +2115 -0
- package/dist/components/index.d.ts +339 -73
- package/dist/components/index.js +840 -688
- package/dist/features/auth/index.d.ts +125 -0
- package/dist/features/auth/index.js +2 -2
- package/dist/features/dashboard/index.d.ts +28 -2
- package/dist/features/dashboard/index.js +21 -635
- package/dist/features/monitoring/index.d.ts +28 -1
- package/dist/features/monitoring/index.js +19 -529
- package/dist/features/operations/index.d.ts +57 -8
- package/dist/features/operations/index.js +25 -3760
- package/dist/features/settings/index.d.ts +153 -1
- package/dist/features/settings/index.js +19 -1438
- package/dist/hooks/index.d.ts +262 -25
- package/dist/hooks/index.js +12 -8
- package/dist/hooks/published.d.ts +137 -25
- package/dist/hooks/published.js +11 -7
- package/dist/index.d.ts +388 -99
- package/dist/index.js +12 -11
- package/dist/initialization/index.d.ts +125 -0
- package/dist/layout/index.d.ts +2 -0
- package/dist/layout/index.js +6 -5
- package/dist/organization/index.js +1 -2
- package/dist/profile/index.d.ts +125 -0
- package/dist/provider/index.d.ts +130 -3
- package/dist/provider/index.js +10 -4
- package/dist/provider/published.d.ts +130 -3
- package/dist/provider/published.js +8 -2
- package/dist/router/context.d.ts +1 -0
- package/dist/router/index.d.ts +1 -0
- package/dist/router/index.js +1 -1
- package/dist/supabase/index.d.ts +242 -0
- package/dist/theme/index.js +2 -2
- package/dist/types/index.d.ts +126 -1
- package/package.json +1 -1
- package/dist/chunk-LR4WVA7W.js +0 -682
- package/dist/chunk-R7WLWGPO.js +0 -126
- package/dist/chunk-TCKIAHDC.js +0 -2626
- package/dist/chunk-V7XHGJQZ.js +0 -145
- package/dist/{chunk-WWEMNIHW.js → chunk-YYBM5LNJ.js} +1 -1
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { topbarHeight, sidebarTransitionDuration, sidebarBottomSectionHeight } from './chunk-QJ2S46NI.js';
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
|
|
5
|
+
var SubshellContainer = ({ children, className }) => {
|
|
6
|
+
return /* @__PURE__ */ jsx(
|
|
7
|
+
"div",
|
|
8
|
+
{
|
|
9
|
+
className,
|
|
10
|
+
style: {
|
|
11
|
+
display: "flex",
|
|
12
|
+
height: "100%",
|
|
13
|
+
width: "100%",
|
|
14
|
+
position: "relative"
|
|
15
|
+
},
|
|
16
|
+
children
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
};
|
|
20
|
+
var SubshellRightSideContainer = ({ children, className }) => {
|
|
21
|
+
return /* @__PURE__ */ jsx(
|
|
22
|
+
"div",
|
|
23
|
+
{
|
|
24
|
+
className,
|
|
25
|
+
style: {
|
|
26
|
+
flex: 1,
|
|
27
|
+
minWidth: 0,
|
|
28
|
+
display: "flex",
|
|
29
|
+
flexDirection: "column",
|
|
30
|
+
overflow: "hidden"
|
|
31
|
+
},
|
|
32
|
+
children
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
};
|
|
36
|
+
var mdSpacing = 16;
|
|
37
|
+
var SubshellContentContainer = ({ children, className }) => {
|
|
38
|
+
return /* @__PURE__ */ jsx(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
className,
|
|
42
|
+
style: {
|
|
43
|
+
display: "flex",
|
|
44
|
+
flexDirection: "column",
|
|
45
|
+
flex: 1,
|
|
46
|
+
overflowX: "clip",
|
|
47
|
+
overflowY: "auto",
|
|
48
|
+
minWidth: 0,
|
|
49
|
+
minHeight: 0,
|
|
50
|
+
padding: "var(--mantine-spacing-md)",
|
|
51
|
+
paddingTop: `${topbarHeight + mdSpacing}px`
|
|
52
|
+
},
|
|
53
|
+
children
|
|
54
|
+
}
|
|
55
|
+
);
|
|
56
|
+
};
|
|
57
|
+
var SubshellSidebar = ({
|
|
58
|
+
children,
|
|
59
|
+
className,
|
|
60
|
+
width,
|
|
61
|
+
collapsible = true,
|
|
62
|
+
defaultOpen = true
|
|
63
|
+
}) => {
|
|
64
|
+
const [isOpen, setIsOpen] = useState(defaultOpen);
|
|
65
|
+
const effectiveWidth = collapsible && !isOpen ? 0 : width;
|
|
66
|
+
if (!collapsible) {
|
|
67
|
+
return /* @__PURE__ */ jsx(
|
|
68
|
+
"aside",
|
|
69
|
+
{
|
|
70
|
+
className,
|
|
71
|
+
style: {
|
|
72
|
+
width: `${width}px`,
|
|
73
|
+
flexShrink: 0,
|
|
74
|
+
display: "flex",
|
|
75
|
+
flexDirection: "column",
|
|
76
|
+
backgroundColor: "color-mix(in srgb, var(--glass-background) 80%, transparent)",
|
|
77
|
+
backdropFilter: "var(--glass-blur)",
|
|
78
|
+
WebkitBackdropFilter: "var(--glass-blur)",
|
|
79
|
+
borderRight: "1px solid var(--color-border)",
|
|
80
|
+
boxShadow: "var(--card-shadow)",
|
|
81
|
+
clipPath: "inset(-100px -100px -100px 0)",
|
|
82
|
+
minHeight: `calc(100vh - ${topbarHeight}px)`,
|
|
83
|
+
marginTop: `${topbarHeight}px`,
|
|
84
|
+
fontFamily: "var(--elevasis-font-family-subtitle)"
|
|
85
|
+
},
|
|
86
|
+
children
|
|
87
|
+
}
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
return /* @__PURE__ */ jsxs(
|
|
91
|
+
"div",
|
|
92
|
+
{
|
|
93
|
+
style: {
|
|
94
|
+
position: "relative",
|
|
95
|
+
flexShrink: 0,
|
|
96
|
+
marginTop: `${topbarHeight}px`,
|
|
97
|
+
minHeight: `calc(100vh - ${topbarHeight}px)`
|
|
98
|
+
},
|
|
99
|
+
children: [
|
|
100
|
+
/* @__PURE__ */ jsx(
|
|
101
|
+
"aside",
|
|
102
|
+
{
|
|
103
|
+
className,
|
|
104
|
+
style: {
|
|
105
|
+
width: `${effectiveWidth}px`,
|
|
106
|
+
flexShrink: 0,
|
|
107
|
+
display: "flex",
|
|
108
|
+
flexDirection: "column",
|
|
109
|
+
backgroundColor: "color-mix(in srgb, var(--glass-background) 80%, transparent)",
|
|
110
|
+
backdropFilter: "var(--glass-blur)",
|
|
111
|
+
WebkitBackdropFilter: "var(--glass-blur)",
|
|
112
|
+
borderRight: isOpen ? "1px solid var(--color-border)" : "none",
|
|
113
|
+
boxShadow: isOpen ? "var(--card-shadow)" : "none",
|
|
114
|
+
clipPath: isOpen ? "inset(-100px -100px -100px 0)" : "none",
|
|
115
|
+
height: "100%",
|
|
116
|
+
fontFamily: "var(--elevasis-font-family-subtitle)",
|
|
117
|
+
overflow: "hidden",
|
|
118
|
+
transition: `width ${sidebarTransitionDuration}ms var(--easing)`
|
|
119
|
+
},
|
|
120
|
+
children: /* @__PURE__ */ jsx(
|
|
121
|
+
"div",
|
|
122
|
+
{
|
|
123
|
+
style: {
|
|
124
|
+
width: `${width}px`,
|
|
125
|
+
flexShrink: 0,
|
|
126
|
+
display: "flex",
|
|
127
|
+
flexDirection: "column",
|
|
128
|
+
opacity: isOpen ? 1 : 0,
|
|
129
|
+
transition: `opacity var(--duration-fast) var(--easing)`
|
|
130
|
+
},
|
|
131
|
+
children
|
|
132
|
+
}
|
|
133
|
+
)
|
|
134
|
+
}
|
|
135
|
+
),
|
|
136
|
+
/* @__PURE__ */ jsx(
|
|
137
|
+
"button",
|
|
138
|
+
{
|
|
139
|
+
onClick: () => setIsOpen((prev) => !prev),
|
|
140
|
+
style: {
|
|
141
|
+
position: "absolute",
|
|
142
|
+
right: 0,
|
|
143
|
+
bottom: 0,
|
|
144
|
+
transform: "translateX(100%)",
|
|
145
|
+
width: "20px",
|
|
146
|
+
// Match the live height of the outer Sidebar's bottom profile section.
|
|
147
|
+
// SidebarBottomSection publishes --elevasis-sidebar-bottom-section-height
|
|
148
|
+
// via ResizeObserver so this follows its actual height through
|
|
149
|
+
// collapse/expand transitions. Falls back to the expanded-state
|
|
150
|
+
// constant when rendered outside a Sidebar layout.
|
|
151
|
+
height: `var(--elevasis-sidebar-bottom-section-height, ${sidebarBottomSectionHeight}px)`,
|
|
152
|
+
display: "flex",
|
|
153
|
+
alignItems: "center",
|
|
154
|
+
justifyContent: "center",
|
|
155
|
+
backgroundColor: "color-mix(in srgb, var(--glass-background) 80%, transparent)",
|
|
156
|
+
backdropFilter: "var(--glass-blur)",
|
|
157
|
+
WebkitBackdropFilter: "var(--glass-blur)",
|
|
158
|
+
border: "1px solid var(--color-border)",
|
|
159
|
+
borderLeft: "none",
|
|
160
|
+
borderBottom: "none",
|
|
161
|
+
borderRadius: "0 4px 0 0",
|
|
162
|
+
cursor: "pointer",
|
|
163
|
+
color: "var(--color-text-subtle)",
|
|
164
|
+
padding: 0,
|
|
165
|
+
zIndex: 10,
|
|
166
|
+
transition: `color var(--duration-fast) var(--easing)`
|
|
167
|
+
},
|
|
168
|
+
"aria-label": isOpen ? "Collapse sidebar" : "Expand sidebar",
|
|
169
|
+
children: /* @__PURE__ */ jsx(
|
|
170
|
+
"svg",
|
|
171
|
+
{
|
|
172
|
+
width: "6",
|
|
173
|
+
height: "10",
|
|
174
|
+
viewBox: "0 0 8 12",
|
|
175
|
+
fill: "none",
|
|
176
|
+
style: {
|
|
177
|
+
transform: isOpen ? void 0 : "rotate(180deg)",
|
|
178
|
+
transition: `transform var(--duration-fast) var(--easing)`
|
|
179
|
+
},
|
|
180
|
+
children: /* @__PURE__ */ jsx(
|
|
181
|
+
"path",
|
|
182
|
+
{
|
|
183
|
+
d: "M6 1L1 6L6 11",
|
|
184
|
+
stroke: "currentColor",
|
|
185
|
+
strokeWidth: "1.5",
|
|
186
|
+
strokeLinecap: "round",
|
|
187
|
+
strokeLinejoin: "round"
|
|
188
|
+
}
|
|
189
|
+
)
|
|
190
|
+
}
|
|
191
|
+
)
|
|
192
|
+
}
|
|
193
|
+
)
|
|
194
|
+
]
|
|
195
|
+
}
|
|
196
|
+
);
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
export { SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CredentialNameSchema, UuidSchema, useErrorNotification, showApiErrorNotification } from './chunk-
|
|
1
|
+
import { CredentialNameSchema, UuidSchema, useErrorNotification, showApiErrorNotification } from './chunk-EBCIUZVV.js';
|
|
2
2
|
import { getTimeRangeDates } from './chunk-LXHZYSMQ.js';
|
|
3
|
-
import { useNotificationAdapter } from './chunk-
|
|
3
|
+
import { useNotificationAdapter } from './chunk-KLG4H5NM.js';
|
|
4
4
|
import { GC_TIME_SHORT, STALE_TIME_MONITORING, GC_TIME_MEDIUM, STALE_TIME_DEFAULT } from './chunk-IOKL7BKE.js';
|
|
5
5
|
import { useElevasisServices } from './chunk-QEPXAWE2.js';
|
|
6
6
|
import { z } from 'zod';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NavigationButton } from './chunk-NNKKBSJN.js';
|
|
2
|
-
import { sidebarItemGap, sidebarSubLinkPaddingY, sidebarSubLinkPaddingX, sidebarSubLinkIndent, sidebarHoverDelay, sidebarTransitionDuration, sidebarCollapsedWidth, sidebarWidth, topbarHeight, sidebarToggleIconSize, sidebarSectionPadding, sidebarBottomSectionHeight } from './chunk-QJ2S46NI.js';
|
|
3
2
|
import { useAppearance } from './chunk-QJ2KCHKX.js';
|
|
3
|
+
import { sidebarItemGap, sidebarSubLinkPaddingY, sidebarSubLinkPaddingX, sidebarSubLinkIndent, sidebarHoverDelay, sidebarTransitionDuration, sidebarCollapsedWidth, sidebarWidth, topbarHeight, sidebarToggleIconSize, sidebarSectionPadding } from './chunk-QJ2S46NI.js';
|
|
4
4
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
5
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
import { createContext, memo, useEffect, createElement, useContext, useRef, useLayoutEffect, useState } from 'react';
|
|
@@ -389,6 +389,7 @@ var SubLinkItem = ({ linkItem, currentPath }) => {
|
|
|
389
389
|
{
|
|
390
390
|
to: linkItem.link,
|
|
391
391
|
onClick: linkItem.onClick,
|
|
392
|
+
"data-onboarding-tour-id": linkItem.dataOnboardingTourId,
|
|
392
393
|
style: {
|
|
393
394
|
display: "block",
|
|
394
395
|
textDecoration: "none",
|
|
@@ -956,199 +957,6 @@ var Sidebar = memo(function Sidebar2({
|
|
|
956
957
|
/* @__PURE__ */ jsx(SidebarBottomSection, { user, onLogout, onAccountClick })
|
|
957
958
|
] });
|
|
958
959
|
});
|
|
959
|
-
var SubshellContainer = ({ children, className }) => {
|
|
960
|
-
return /* @__PURE__ */ jsx(
|
|
961
|
-
"div",
|
|
962
|
-
{
|
|
963
|
-
className,
|
|
964
|
-
style: {
|
|
965
|
-
display: "flex",
|
|
966
|
-
height: "100%",
|
|
967
|
-
width: "100%",
|
|
968
|
-
position: "relative"
|
|
969
|
-
},
|
|
970
|
-
children
|
|
971
|
-
}
|
|
972
|
-
);
|
|
973
|
-
};
|
|
974
|
-
var SubshellRightSideContainer = ({ children, className }) => {
|
|
975
|
-
return /* @__PURE__ */ jsx(
|
|
976
|
-
"div",
|
|
977
|
-
{
|
|
978
|
-
className,
|
|
979
|
-
style: {
|
|
980
|
-
flex: 1,
|
|
981
|
-
minWidth: 0,
|
|
982
|
-
display: "flex",
|
|
983
|
-
flexDirection: "column",
|
|
984
|
-
overflow: "hidden"
|
|
985
|
-
},
|
|
986
|
-
children
|
|
987
|
-
}
|
|
988
|
-
);
|
|
989
|
-
};
|
|
990
|
-
var mdSpacing = 16;
|
|
991
|
-
var SubshellContentContainer = ({ children, className }) => {
|
|
992
|
-
return /* @__PURE__ */ jsx(
|
|
993
|
-
"div",
|
|
994
|
-
{
|
|
995
|
-
className,
|
|
996
|
-
style: {
|
|
997
|
-
display: "flex",
|
|
998
|
-
flexDirection: "column",
|
|
999
|
-
flex: 1,
|
|
1000
|
-
overflowX: "clip",
|
|
1001
|
-
overflowY: "auto",
|
|
1002
|
-
minWidth: 0,
|
|
1003
|
-
minHeight: 0,
|
|
1004
|
-
padding: "var(--mantine-spacing-md)",
|
|
1005
|
-
paddingTop: `${topbarHeight + mdSpacing}px`
|
|
1006
|
-
},
|
|
1007
|
-
children
|
|
1008
|
-
}
|
|
1009
|
-
);
|
|
1010
|
-
};
|
|
1011
|
-
var SubshellSidebar = ({
|
|
1012
|
-
children,
|
|
1013
|
-
className,
|
|
1014
|
-
width,
|
|
1015
|
-
collapsible = true,
|
|
1016
|
-
defaultOpen = true
|
|
1017
|
-
}) => {
|
|
1018
|
-
const [isOpen, setIsOpen] = useState(defaultOpen);
|
|
1019
|
-
const effectiveWidth = collapsible && !isOpen ? 0 : width;
|
|
1020
|
-
if (!collapsible) {
|
|
1021
|
-
return /* @__PURE__ */ jsx(
|
|
1022
|
-
"aside",
|
|
1023
|
-
{
|
|
1024
|
-
className,
|
|
1025
|
-
style: {
|
|
1026
|
-
width: `${width}px`,
|
|
1027
|
-
flexShrink: 0,
|
|
1028
|
-
display: "flex",
|
|
1029
|
-
flexDirection: "column",
|
|
1030
|
-
backgroundColor: "color-mix(in srgb, var(--glass-background) 80%, transparent)",
|
|
1031
|
-
backdropFilter: "var(--glass-blur)",
|
|
1032
|
-
WebkitBackdropFilter: "var(--glass-blur)",
|
|
1033
|
-
borderRight: "1px solid var(--color-border)",
|
|
1034
|
-
boxShadow: "var(--card-shadow)",
|
|
1035
|
-
clipPath: "inset(-100px -100px -100px 0)",
|
|
1036
|
-
minHeight: `calc(100vh - ${topbarHeight}px)`,
|
|
1037
|
-
marginTop: `${topbarHeight}px`,
|
|
1038
|
-
fontFamily: "var(--elevasis-font-family-subtitle)"
|
|
1039
|
-
},
|
|
1040
|
-
children
|
|
1041
|
-
}
|
|
1042
|
-
);
|
|
1043
|
-
}
|
|
1044
|
-
return /* @__PURE__ */ jsxs(
|
|
1045
|
-
"div",
|
|
1046
|
-
{
|
|
1047
|
-
style: {
|
|
1048
|
-
position: "relative",
|
|
1049
|
-
flexShrink: 0,
|
|
1050
|
-
marginTop: `${topbarHeight}px`,
|
|
1051
|
-
minHeight: `calc(100vh - ${topbarHeight}px)`
|
|
1052
|
-
},
|
|
1053
|
-
children: [
|
|
1054
|
-
/* @__PURE__ */ jsx(
|
|
1055
|
-
"aside",
|
|
1056
|
-
{
|
|
1057
|
-
className,
|
|
1058
|
-
style: {
|
|
1059
|
-
width: `${effectiveWidth}px`,
|
|
1060
|
-
flexShrink: 0,
|
|
1061
|
-
display: "flex",
|
|
1062
|
-
flexDirection: "column",
|
|
1063
|
-
backgroundColor: "color-mix(in srgb, var(--glass-background) 80%, transparent)",
|
|
1064
|
-
backdropFilter: "var(--glass-blur)",
|
|
1065
|
-
WebkitBackdropFilter: "var(--glass-blur)",
|
|
1066
|
-
borderRight: isOpen ? "1px solid var(--color-border)" : "none",
|
|
1067
|
-
boxShadow: isOpen ? "var(--card-shadow)" : "none",
|
|
1068
|
-
clipPath: isOpen ? "inset(-100px -100px -100px 0)" : "none",
|
|
1069
|
-
height: "100%",
|
|
1070
|
-
fontFamily: "var(--elevasis-font-family-subtitle)",
|
|
1071
|
-
overflow: "hidden",
|
|
1072
|
-
transition: `width ${sidebarTransitionDuration}ms var(--easing)`
|
|
1073
|
-
},
|
|
1074
|
-
children: /* @__PURE__ */ jsx(
|
|
1075
|
-
"div",
|
|
1076
|
-
{
|
|
1077
|
-
style: {
|
|
1078
|
-
width: `${width}px`,
|
|
1079
|
-
flexShrink: 0,
|
|
1080
|
-
display: "flex",
|
|
1081
|
-
flexDirection: "column",
|
|
1082
|
-
opacity: isOpen ? 1 : 0,
|
|
1083
|
-
transition: `opacity var(--duration-fast) var(--easing)`
|
|
1084
|
-
},
|
|
1085
|
-
children
|
|
1086
|
-
}
|
|
1087
|
-
)
|
|
1088
|
-
}
|
|
1089
|
-
),
|
|
1090
|
-
/* @__PURE__ */ jsx(
|
|
1091
|
-
"button",
|
|
1092
|
-
{
|
|
1093
|
-
onClick: () => setIsOpen((prev) => !prev),
|
|
1094
|
-
style: {
|
|
1095
|
-
position: "absolute",
|
|
1096
|
-
right: 0,
|
|
1097
|
-
bottom: 0,
|
|
1098
|
-
transform: "translateX(100%)",
|
|
1099
|
-
width: "20px",
|
|
1100
|
-
// Match the live height of the outer Sidebar's bottom profile section.
|
|
1101
|
-
// SidebarBottomSection publishes --elevasis-sidebar-bottom-section-height
|
|
1102
|
-
// via ResizeObserver so this follows its actual height through
|
|
1103
|
-
// collapse/expand transitions. Falls back to the expanded-state
|
|
1104
|
-
// constant when rendered outside a Sidebar layout.
|
|
1105
|
-
height: `var(--elevasis-sidebar-bottom-section-height, ${sidebarBottomSectionHeight}px)`,
|
|
1106
|
-
display: "flex",
|
|
1107
|
-
alignItems: "center",
|
|
1108
|
-
justifyContent: "center",
|
|
1109
|
-
backgroundColor: "color-mix(in srgb, var(--glass-background) 80%, transparent)",
|
|
1110
|
-
backdropFilter: "var(--glass-blur)",
|
|
1111
|
-
WebkitBackdropFilter: "var(--glass-blur)",
|
|
1112
|
-
border: "1px solid var(--color-border)",
|
|
1113
|
-
borderLeft: "none",
|
|
1114
|
-
borderBottom: "none",
|
|
1115
|
-
borderRadius: "0 4px 0 0",
|
|
1116
|
-
cursor: "pointer",
|
|
1117
|
-
color: "var(--color-text-subtle)",
|
|
1118
|
-
padding: 0,
|
|
1119
|
-
zIndex: 10,
|
|
1120
|
-
transition: `color var(--duration-fast) var(--easing)`
|
|
1121
|
-
},
|
|
1122
|
-
"aria-label": isOpen ? "Collapse sidebar" : "Expand sidebar",
|
|
1123
|
-
children: /* @__PURE__ */ jsx(
|
|
1124
|
-
"svg",
|
|
1125
|
-
{
|
|
1126
|
-
width: "6",
|
|
1127
|
-
height: "10",
|
|
1128
|
-
viewBox: "0 0 8 12",
|
|
1129
|
-
fill: "none",
|
|
1130
|
-
style: {
|
|
1131
|
-
transform: isOpen ? void 0 : "rotate(180deg)",
|
|
1132
|
-
transition: `transform var(--duration-fast) var(--easing)`
|
|
1133
|
-
},
|
|
1134
|
-
children: /* @__PURE__ */ jsx(
|
|
1135
|
-
"path",
|
|
1136
|
-
{
|
|
1137
|
-
d: "M6 1L1 6L6 11",
|
|
1138
|
-
stroke: "currentColor",
|
|
1139
|
-
strokeWidth: "1.5",
|
|
1140
|
-
strokeLinecap: "round",
|
|
1141
|
-
strokeLinejoin: "round"
|
|
1142
|
-
}
|
|
1143
|
-
)
|
|
1144
|
-
}
|
|
1145
|
-
)
|
|
1146
|
-
}
|
|
1147
|
-
)
|
|
1148
|
-
]
|
|
1149
|
-
}
|
|
1150
|
-
);
|
|
1151
|
-
};
|
|
1152
960
|
|
|
1153
961
|
// src/components/layout/sub-shell/constants.ts
|
|
1154
962
|
var subsidebarWidth = 200;
|
|
@@ -1242,4 +1050,4 @@ var Topbar = ({ version, leftContent, children }) => {
|
|
|
1242
1050
|
] });
|
|
1243
1051
|
};
|
|
1244
1052
|
|
|
1245
|
-
export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider,
|
|
1053
|
+
export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider, Topbar, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse };
|