@ixo/ui 0.0.14 → 0.0.15
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/.vite/manifest.json +43 -43
- package/dist/components/AppShellNavigation/components/AsideResizable.d.ts +2 -1
- package/dist/components/AppShellNavigation/components/AsideResizable.d.ts.map +1 -1
- package/dist/components/AppShellNavigation/index.d.ts +2 -1
- package/dist/components/AppShellNavigation/index.d.ts.map +1 -1
- package/dist/{components-vw6J_dpp.cjs → components-B0B09Vsk.cjs} +43 -17
- package/dist/{components-vw6J_dpp.cjs.map → components-B0B09Vsk.cjs.map} +1 -1
- package/dist/{components-BiD0_7V_.js → components-CoGX1kwb.js} +43 -17
- package/dist/{components-BiD0_7V_.js.map → components-CoGX1kwb.js.map} +1 -1
- package/dist/export/components.cjs +1 -1
- package/dist/export/components.mjs +1 -1
- package/dist/{index-4sKOMBmk.cjs → index-3RRyZp85.cjs} +3 -3
- package/dist/{index-4sKOMBmk.cjs.map → index-3RRyZp85.cjs.map} +1 -1
- package/dist/{index-BvFDLUUX.js → index-72gYmOmd.js} +3 -3
- package/dist/{index-BvFDLUUX.js.map → index-72gYmOmd.js.map} +1 -1
- package/dist/{index-CXrrJ_Le.js → index-BElczvPE.js} +2 -2
- package/dist/{index-CXrrJ_Le.js.map → index-BElczvPE.js.map} +1 -1
- package/dist/{index-CsIW1_OQ.js → index-BIF9-t6h.js} +2 -2
- package/dist/{index-CsIW1_OQ.js.map → index-BIF9-t6h.js.map} +1 -1
- package/dist/{index-DNqtJQVl.cjs → index-BPiG2IqF.cjs} +2 -2
- package/dist/{index-DNqtJQVl.cjs.map → index-BPiG2IqF.cjs.map} +1 -1
- package/dist/{index-DVcSKgbJ.js → index-BVZ6ZzpV.js} +2 -2
- package/dist/{index-DVcSKgbJ.js.map → index-BVZ6ZzpV.js.map} +1 -1
- package/dist/{index-DqcjuULv.js → index-BphUXVlg.js} +3 -3
- package/dist/{index-DqcjuULv.js.map → index-BphUXVlg.js.map} +1 -1
- package/dist/{index-BHcOFwds.cjs → index-BvkqUymq.cjs} +2 -2
- package/dist/{index-BHcOFwds.cjs.map → index-BvkqUymq.cjs.map} +1 -1
- package/dist/{index-By0FBgRQ.js → index-CDZdWXqv.js} +2 -2
- package/dist/{index-By0FBgRQ.js.map → index-CDZdWXqv.js.map} +1 -1
- package/dist/{index-Coxm5WEM.cjs → index-CJE1_yJ6.cjs} +2 -2
- package/dist/{index-Coxm5WEM.cjs.map → index-CJE1_yJ6.cjs.map} +1 -1
- package/dist/{index-BG-QfJbv.cjs → index-CWElz4HJ.cjs} +2 -2
- package/dist/{index-BG-QfJbv.cjs.map → index-CWElz4HJ.cjs.map} +1 -1
- package/dist/{index-yjx-PRyb.cjs → index-CXi6Syua.cjs} +2 -2
- package/dist/{index-yjx-PRyb.cjs.map → index-CXi6Syua.cjs.map} +1 -1
- package/dist/{index-BuxCAg_1.cjs → index-CfPgXC_X.cjs} +2 -2
- package/dist/{index-BuxCAg_1.cjs.map → index-CfPgXC_X.cjs.map} +1 -1
- package/dist/{index-djRt821o.cjs → index-D0eJPLEq.cjs} +2 -2
- package/dist/{index-djRt821o.cjs.map → index-D0eJPLEq.cjs.map} +1 -1
- package/dist/{index-CyysTrZP.cjs → index-DOa4tU-h.cjs} +2 -2
- package/dist/{index-CyysTrZP.cjs.map → index-DOa4tU-h.cjs.map} +1 -1
- package/dist/{index-c39fFlNp.js → index-DRJd3yU2.js} +2 -2
- package/dist/{index-c39fFlNp.js.map → index-DRJd3yU2.js.map} +1 -1
- package/dist/{index-CF2PVnSW.js → index-DbRJT74u.js} +2 -2
- package/dist/{index-CF2PVnSW.js.map → index-DbRJT74u.js.map} +1 -1
- package/dist/{index-Dva9zr6w.js → index-DeirAOH-.js} +2 -2
- package/dist/{index-Dva9zr6w.js.map → index-DeirAOH-.js.map} +1 -1
- package/dist/{index-nhqvNIAj.cjs → index-ffAWONI_.cjs} +3 -3
- package/dist/{index-nhqvNIAj.cjs.map → index-ffAWONI_.cjs.map} +1 -1
- package/dist/{index-ErQUX7j7.js → index-jE_hmlY8.js} +2 -2
- package/dist/{index-ErQUX7j7.js.map → index-jE_hmlY8.js.map} +1 -1
- package/package.json +1 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"_useUITheme-DqgAb7n1.cjs"
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
|
-
"_components-
|
|
33
|
-
"file": "components-
|
|
32
|
+
"_components-B0B09Vsk.cjs": {
|
|
33
|
+
"file": "components-B0B09Vsk.cjs",
|
|
34
34
|
"name": "components",
|
|
35
35
|
"imports": [
|
|
36
|
-
"_UsersSolid-
|
|
37
|
-
"_constants-
|
|
38
|
-
"_useUITheme-
|
|
39
|
-
"_Blank-
|
|
40
|
-
"_useEventSubscribe-
|
|
41
|
-
"_themes-
|
|
36
|
+
"_UsersSolid-peS-I-xF.cjs",
|
|
37
|
+
"_constants-DFJRYpE2.cjs",
|
|
38
|
+
"_useUITheme-DqgAb7n1.cjs",
|
|
39
|
+
"_Blank-DapEucFF.cjs",
|
|
40
|
+
"_useEventSubscribe-BTFTMdWH.cjs",
|
|
41
|
+
"_themes-CAW1Y0Nk.cjs"
|
|
42
42
|
],
|
|
43
43
|
"dynamicImports": [
|
|
44
44
|
"src/components/ActionCard/components/Header/index.tsx",
|
|
@@ -55,16 +55,16 @@
|
|
|
55
55
|
"src/components/SodaCard/components/Actions/index.tsx"
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
|
-
"_components-
|
|
59
|
-
"file": "components-
|
|
58
|
+
"_components-CoGX1kwb.js": {
|
|
59
|
+
"file": "components-CoGX1kwb.js",
|
|
60
60
|
"name": "components",
|
|
61
61
|
"imports": [
|
|
62
|
-
"_UsersSolid-
|
|
63
|
-
"_constants-
|
|
64
|
-
"_useUITheme-
|
|
65
|
-
"_Blank-
|
|
66
|
-
"_useEventSubscribe-
|
|
67
|
-
"_themes-
|
|
62
|
+
"_UsersSolid-CyNyz_eF.js",
|
|
63
|
+
"_constants-B7xlU8b8.js",
|
|
64
|
+
"_useUITheme-7i8NJ2FG.js",
|
|
65
|
+
"_Blank-CElsicB7.js",
|
|
66
|
+
"_useEventSubscribe-16wxaghO.js",
|
|
67
|
+
"_themes-Dxo8D1cq.js"
|
|
68
68
|
],
|
|
69
69
|
"dynamicImports": [
|
|
70
70
|
"src/components/ActionCard/components/Header/index.tsx",
|
|
@@ -103,18 +103,18 @@
|
|
|
103
103
|
"_constants-B7xlU8b8.js"
|
|
104
104
|
]
|
|
105
105
|
},
|
|
106
|
-
"_index-
|
|
107
|
-
"file": "index-
|
|
106
|
+
"_index-CJE1_yJ6.cjs": {
|
|
107
|
+
"file": "index-CJE1_yJ6.cjs",
|
|
108
108
|
"name": "index",
|
|
109
109
|
"imports": [
|
|
110
|
-
"_components-
|
|
110
|
+
"_components-B0B09Vsk.cjs"
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
|
-
"_index-
|
|
114
|
-
"file": "index-
|
|
113
|
+
"_index-jE_hmlY8.js": {
|
|
114
|
+
"file": "index-jE_hmlY8.js",
|
|
115
115
|
"name": "index",
|
|
116
116
|
"imports": [
|
|
117
|
-
"_components-
|
|
117
|
+
"_components-CoGX1kwb.js"
|
|
118
118
|
]
|
|
119
119
|
},
|
|
120
120
|
"_themes-CAW1Y0Nk.cjs": {
|
|
@@ -158,41 +158,41 @@
|
|
|
158
158
|
"name": "utils"
|
|
159
159
|
},
|
|
160
160
|
"src/components/ActionCard/components/Footer/index.tsx": {
|
|
161
|
-
"file": "index-
|
|
161
|
+
"file": "index-3RRyZp85.cjs",
|
|
162
162
|
"name": "index",
|
|
163
163
|
"src": "src/components/ActionCard/components/Footer/index.tsx",
|
|
164
164
|
"isDynamicEntry": true,
|
|
165
165
|
"imports": [
|
|
166
|
-
"_index-
|
|
167
|
-
"_components-
|
|
166
|
+
"_index-CJE1_yJ6.cjs",
|
|
167
|
+
"_components-B0B09Vsk.cjs"
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
170
|
"src/components/ActionCard/components/Header/index.tsx": {
|
|
171
|
-
"file": "index-
|
|
171
|
+
"file": "index-D0eJPLEq.cjs",
|
|
172
172
|
"name": "index",
|
|
173
173
|
"src": "src/components/ActionCard/components/Header/index.tsx",
|
|
174
174
|
"isDynamicEntry": true,
|
|
175
175
|
"imports": [
|
|
176
|
-
"_components-
|
|
176
|
+
"_components-B0B09Vsk.cjs",
|
|
177
177
|
"_UsersSolid-peS-I-xF.cjs"
|
|
178
178
|
]
|
|
179
179
|
},
|
|
180
180
|
"src/components/ActionSheet/components/Badge/index.tsx": {
|
|
181
|
-
"file": "index-
|
|
181
|
+
"file": "index-CfPgXC_X.cjs",
|
|
182
182
|
"name": "index",
|
|
183
183
|
"src": "src/components/ActionSheet/components/Badge/index.tsx",
|
|
184
184
|
"isDynamicEntry": true,
|
|
185
185
|
"imports": [
|
|
186
|
-
"_components-
|
|
186
|
+
"_components-B0B09Vsk.cjs"
|
|
187
187
|
]
|
|
188
188
|
},
|
|
189
189
|
"src/components/Card/components/Header/index.tsx": {
|
|
190
|
-
"file": "index-
|
|
190
|
+
"file": "index-CWElz4HJ.cjs",
|
|
191
191
|
"name": "index",
|
|
192
192
|
"src": "src/components/Card/components/Header/index.tsx",
|
|
193
193
|
"isDynamicEntry": true,
|
|
194
194
|
"imports": [
|
|
195
|
-
"_components-
|
|
195
|
+
"_components-B0B09Vsk.cjs"
|
|
196
196
|
]
|
|
197
197
|
},
|
|
198
198
|
"src/components/Chart/components/LazyChart/index.tsx": {
|
|
@@ -202,31 +202,31 @@
|
|
|
202
202
|
"isDynamicEntry": true
|
|
203
203
|
},
|
|
204
204
|
"src/components/SodaCard/components/Actions/index.tsx": {
|
|
205
|
-
"file": "index-
|
|
205
|
+
"file": "index-ffAWONI_.cjs",
|
|
206
206
|
"name": "index",
|
|
207
207
|
"src": "src/components/SodaCard/components/Actions/index.tsx",
|
|
208
208
|
"isDynamicEntry": true,
|
|
209
209
|
"imports": [
|
|
210
|
-
"_index-
|
|
211
|
-
"_components-
|
|
210
|
+
"_index-CJE1_yJ6.cjs",
|
|
211
|
+
"_components-B0B09Vsk.cjs"
|
|
212
212
|
]
|
|
213
213
|
},
|
|
214
214
|
"src/components/SodaCard/components/Assets/index.tsx": {
|
|
215
|
-
"file": "index-
|
|
215
|
+
"file": "index-DOa4tU-h.cjs",
|
|
216
216
|
"name": "index",
|
|
217
217
|
"src": "src/components/SodaCard/components/Assets/index.tsx",
|
|
218
218
|
"isDynamicEntry": true,
|
|
219
219
|
"imports": [
|
|
220
|
-
"_components-
|
|
220
|
+
"_components-B0B09Vsk.cjs"
|
|
221
221
|
]
|
|
222
222
|
},
|
|
223
223
|
"src/components/SodaCard/components/Content/index.tsx": {
|
|
224
|
-
"file": "index-
|
|
224
|
+
"file": "index-BvkqUymq.cjs",
|
|
225
225
|
"name": "index",
|
|
226
226
|
"src": "src/components/SodaCard/components/Content/index.tsx",
|
|
227
227
|
"isDynamicEntry": true,
|
|
228
228
|
"imports": [
|
|
229
|
-
"_components-
|
|
229
|
+
"_components-B0B09Vsk.cjs",
|
|
230
230
|
"_utils-BmyeZmSR.cjs"
|
|
231
231
|
]
|
|
232
232
|
},
|
|
@@ -237,22 +237,22 @@
|
|
|
237
237
|
"isDynamicEntry": true
|
|
238
238
|
},
|
|
239
239
|
"src/components/SodaCard/components/Header/index.tsx": {
|
|
240
|
-
"file": "index-
|
|
240
|
+
"file": "index-CXi6Syua.cjs",
|
|
241
241
|
"name": "index",
|
|
242
242
|
"src": "src/components/SodaCard/components/Header/index.tsx",
|
|
243
243
|
"isDynamicEntry": true,
|
|
244
244
|
"imports": [
|
|
245
|
-
"_components-
|
|
245
|
+
"_components-B0B09Vsk.cjs",
|
|
246
246
|
"_constants-DFJRYpE2.cjs"
|
|
247
247
|
]
|
|
248
248
|
},
|
|
249
249
|
"src/components/SodaCard/components/MainAction/index.tsx": {
|
|
250
|
-
"file": "index-
|
|
250
|
+
"file": "index-BPiG2IqF.cjs",
|
|
251
251
|
"name": "index",
|
|
252
252
|
"src": "src/components/SodaCard/components/MainAction/index.tsx",
|
|
253
253
|
"isDynamicEntry": true,
|
|
254
254
|
"imports": [
|
|
255
|
-
"_components-
|
|
255
|
+
"_components-B0B09Vsk.cjs"
|
|
256
256
|
]
|
|
257
257
|
},
|
|
258
258
|
"src/components/SodaCard/components/Map/index.tsx": {
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
"src": "src/export/components.ts",
|
|
273
273
|
"isEntry": true,
|
|
274
274
|
"imports": [
|
|
275
|
-
"_components-
|
|
275
|
+
"_components-B0B09Vsk.cjs"
|
|
276
276
|
]
|
|
277
277
|
},
|
|
278
278
|
"src/export/hooks.ts": {
|
|
@@ -4,7 +4,8 @@ type Props = PropsWithChildren<{
|
|
|
4
4
|
onAsideToggle?: () => void;
|
|
5
5
|
width?: number;
|
|
6
6
|
onWidthChange?: (width: number) => void;
|
|
7
|
+
onMaxExpand?: () => void;
|
|
7
8
|
}>;
|
|
8
|
-
export default function AsideResizable({ children, asideCollapsed, onAsideToggle, width, onWidthChange }: Props): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export default function AsideResizable({ children, asideCollapsed, onAsideToggle, width, onWidthChange, onMaxExpand }: Props): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
9
10
|
export {};
|
|
10
11
|
//# sourceMappingURL=AsideResizable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AsideResizable.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShellNavigation/components/AsideResizable.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAA+B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AsideResizable.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShellNavigation/components/AsideResizable.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAA+B,MAAM,OAAO,CAAC;AAKvE,KAAK,KAAK,GAAG,iBAAiB,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC,CAAC;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,QAAQ,EAAE,cAAsB,EAAE,aAAa,EAAE,KAAW,EAAE,aAAa,EAAE,WAAW,EAAE,EAAE,KAAK,2DAsHzI"}
|
|
@@ -53,6 +53,7 @@ type Props = {
|
|
|
53
53
|
right?: ReactElement;
|
|
54
54
|
asideCollapsed?: boolean;
|
|
55
55
|
onAsideToggle?: () => void;
|
|
56
|
+
onMaxExpand?: () => void;
|
|
56
57
|
avatarIcon?: {
|
|
57
58
|
icon: string | ReactElement | null;
|
|
58
59
|
onClick: () => void;
|
|
@@ -64,6 +65,6 @@ type Props = {
|
|
|
64
65
|
onAddSpaceClick?: () => void;
|
|
65
66
|
onMinusSpaceClick?: () => void;
|
|
66
67
|
};
|
|
67
|
-
export declare function AppShellNavigation({ spaces, pageItem, selectedSpace, temporarySpace, menuItems, companyIcon, onAddSpaceClick, onMinusSpaceClick, avatarIcon, onMenuItemClick, onSettingsIconClick, onBackClick, isBackButtonVisible, footerMenuItems, roomCategories, right, asideCollapsed, onAsideToggle, children }: PropsWithChildren<Props>): ReactElement;
|
|
68
|
+
export declare function AppShellNavigation({ spaces, pageItem, selectedSpace, temporarySpace, menuItems, companyIcon, onAddSpaceClick, onMinusSpaceClick, avatarIcon, onMenuItemClick, onSettingsIconClick, onBackClick, isBackButtonVisible, footerMenuItems, roomCategories, right, asideCollapsed, onAsideToggle, onMaxExpand, children }: PropsWithChildren<Props>): ReactElement;
|
|
68
69
|
export {};
|
|
69
70
|
//# sourceMappingURL=index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AC;AAyLF,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,SAAS,EACT,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,KAAK,EACL,cAAqB,EACrB,aAAa,EACb,WAAW,EACX,QAAQ,EACT,EAAE,iBAAiB,CAAC,KAAK,CAAC,GAAG,YAAY,CA+IzC"}
|
|
@@ -797,8 +797,8 @@ function AccordionTable({
|
|
|
797
797
|
}
|
|
798
798
|
);
|
|
799
799
|
}
|
|
800
|
-
const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
801
|
-
const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
800
|
+
const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-D0eJPLEq.cjs")));
|
|
801
|
+
const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-3RRyZp85.cjs")));
|
|
802
802
|
function ActionCard({ header, content, footer, useHoverMode = false }) {
|
|
803
803
|
const hasContent = !!content || !!footer;
|
|
804
804
|
const initialVisibility = footer?.startHidden !== true;
|
|
@@ -882,7 +882,7 @@ function Loader({ size, color = "primary" }) {
|
|
|
882
882
|
}
|
|
883
883
|
const CARD_WIDTH$1 = 350;
|
|
884
884
|
const CARD_HEADER_HEIGHT = 158;
|
|
885
|
-
const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
885
|
+
const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-CWElz4HJ.cjs")));
|
|
886
886
|
function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
|
|
887
887
|
const wrapperRef = react$1.useRef(null);
|
|
888
888
|
const handleOnClick = react$1.useCallback(
|
|
@@ -1317,7 +1317,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
|
|
|
1317
1317
|
document.body
|
|
1318
1318
|
);
|
|
1319
1319
|
}
|
|
1320
|
-
const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
1320
|
+
const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-CfPgXC_X.cjs")));
|
|
1321
1321
|
function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
|
|
1322
1322
|
const shadowScrollRef = react$1.useRef(null);
|
|
1323
1323
|
const wrapperContentAreaRef = react$1.useRef(null);
|
|
@@ -2160,16 +2160,16 @@ function Avatar({ src, rounded = true, size = 62, did }) {
|
|
|
2160
2160
|
return /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.User, { css: ({ text }) => ({ ...css2, backgroundColor: text.secondary }) });
|
|
2161
2161
|
}
|
|
2162
2162
|
const MIN_WIDTH = 200;
|
|
2163
|
-
|
|
2164
|
-
function AsideResizable({ children, asideCollapsed = false, onAsideToggle, width = 300, onWidthChange }) {
|
|
2163
|
+
function AsideResizable({ children, asideCollapsed = false, onAsideToggle, width = 450, onWidthChange, onMaxExpand }) {
|
|
2165
2164
|
const [isResizing, setIsResizing] = react$1.useState(false);
|
|
2166
2165
|
const [ref] = hooks.useResizeObserver();
|
|
2167
2166
|
const isShowingRef = react$1.useRef(false);
|
|
2167
|
+
const hasFiredMaxExpand = react$1.useRef(false);
|
|
2168
2168
|
const theme = useUITheme.useUITheme();
|
|
2169
2169
|
react$1.useEffect(() => {
|
|
2170
2170
|
if (!asideCollapsed && width <= MIN_WIDTH) {
|
|
2171
2171
|
isShowingRef.current = true;
|
|
2172
|
-
onWidthChange?.(
|
|
2172
|
+
onWidthChange?.(width);
|
|
2173
2173
|
setTimeout(() => {
|
|
2174
2174
|
isShowingRef.current = false;
|
|
2175
2175
|
}, 200);
|
|
@@ -2195,7 +2195,9 @@ function AsideResizable({ children, asideCollapsed = false, onAsideToggle, width
|
|
|
2195
2195
|
const handleMouseMove = (e) => {
|
|
2196
2196
|
if (!isResizing) return;
|
|
2197
2197
|
const newWidth = window.innerWidth - e.clientX;
|
|
2198
|
-
|
|
2198
|
+
const maxWidth = window.innerWidth - 600;
|
|
2199
|
+
const constrainedWidth = Math.min(Math.max(newWidth, MIN_WIDTH), maxWidth);
|
|
2200
|
+
onWidthChange?.(constrainedWidth);
|
|
2199
2201
|
};
|
|
2200
2202
|
react$1.useEffect(() => {
|
|
2201
2203
|
if (width === MIN_WIDTH && !asideCollapsed && onAsideToggle && !isShowingRef.current) {
|
|
@@ -2203,13 +2205,36 @@ function AsideResizable({ children, asideCollapsed = false, onAsideToggle, width
|
|
|
2203
2205
|
onAsideToggle();
|
|
2204
2206
|
}
|
|
2205
2207
|
}, [width, asideCollapsed, onAsideToggle]);
|
|
2208
|
+
react$1.useEffect(() => {
|
|
2209
|
+
const maxWidth = window.innerWidth - 600;
|
|
2210
|
+
if (width >= maxWidth && onMaxExpand && !hasFiredMaxExpand.current) {
|
|
2211
|
+
hasFiredMaxExpand.current = true;
|
|
2212
|
+
clearListeners();
|
|
2213
|
+
onMaxExpand();
|
|
2214
|
+
} else if (width < maxWidth) {
|
|
2215
|
+
hasFiredMaxExpand.current = false;
|
|
2216
|
+
}
|
|
2217
|
+
}, [width, onMaxExpand]);
|
|
2218
|
+
react$1.useEffect(() => {
|
|
2219
|
+
const handleWindowResize = () => {
|
|
2220
|
+
const newMaxWidth = window.innerWidth - 600;
|
|
2221
|
+
const newMinWidth = MIN_WIDTH;
|
|
2222
|
+
if (width > newMaxWidth) {
|
|
2223
|
+
onWidthChange?.(newMaxWidth);
|
|
2224
|
+
} else if (width < newMinWidth) {
|
|
2225
|
+
onWidthChange?.(newMinWidth);
|
|
2226
|
+
}
|
|
2227
|
+
};
|
|
2228
|
+
window.addEventListener("resize", handleWindowResize);
|
|
2229
|
+
return () => window.removeEventListener("resize", handleWindowResize);
|
|
2230
|
+
}, [width, onWidthChange]);
|
|
2206
2231
|
const handleMouseUp = () => setIsResizing(false);
|
|
2207
2232
|
const handleMouseDown = (e) => {
|
|
2208
2233
|
e.preventDefault();
|
|
2209
2234
|
setIsResizing(true);
|
|
2210
2235
|
};
|
|
2211
2236
|
if (asideCollapsed) return null;
|
|
2212
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(core.AppShell.Aside, { w: width, miw: 200, maw:
|
|
2237
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(core.AppShell.Aside, { w: width, miw: 200, maw: window.innerWidth - 340, ref, children: [
|
|
2213
2238
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2214
2239
|
core.Box,
|
|
2215
2240
|
{
|
|
@@ -2429,10 +2454,11 @@ function AppShellNavigation({
|
|
|
2429
2454
|
right,
|
|
2430
2455
|
asideCollapsed = true,
|
|
2431
2456
|
onAsideToggle,
|
|
2457
|
+
onMaxExpand,
|
|
2432
2458
|
children
|
|
2433
2459
|
}) {
|
|
2434
2460
|
const [navbarCollapsed, { toggle: toggleNavbar }] = hooks.useDisclosure(true);
|
|
2435
|
-
const [asideWidth, setAsideWidth] = react$1.useState(
|
|
2461
|
+
const [asideWidth, setAsideWidth] = react$1.useState(450);
|
|
2436
2462
|
const theme = useUITheme.useUITheme();
|
|
2437
2463
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2438
2464
|
core.AppShell,
|
|
@@ -2527,7 +2553,7 @@ function AppShellNavigation({
|
|
|
2527
2553
|
] })
|
|
2528
2554
|
] }) }),
|
|
2529
2555
|
/* @__PURE__ */ jsxRuntime.jsx(core.AppShell.Main, { children }),
|
|
2530
|
-
/* @__PURE__ */ jsxRuntime.jsx(AsideResizable, { asideCollapsed, onAsideToggle, width: asideWidth, onWidthChange: setAsideWidth, children: right })
|
|
2556
|
+
/* @__PURE__ */ jsxRuntime.jsx(AsideResizable, { asideCollapsed, onAsideToggle, onMaxExpand, width: asideWidth, onWidthChange: setAsideWidth, children: right })
|
|
2531
2557
|
]
|
|
2532
2558
|
}
|
|
2533
2559
|
);
|
|
@@ -5505,13 +5531,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
5505
5531
|
}
|
|
5506
5532
|
);
|
|
5507
5533
|
}
|
|
5508
|
-
const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5509
|
-
const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5510
|
-
const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5534
|
+
const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-BPiG2IqF.cjs")));
|
|
5535
|
+
const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-CXi6Syua.cjs")));
|
|
5536
|
+
const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-BvkqUymq.cjs")));
|
|
5511
5537
|
const Map = react$1.lazy(() => Promise.resolve().then(() => require("./index-D4PsPquZ.cjs")));
|
|
5512
5538
|
const CustomContent = react$1.lazy(() => Promise.resolve().then(() => require("./index-ByrCNpS2.cjs")));
|
|
5513
|
-
const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5514
|
-
const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5539
|
+
const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-DOa4tU-h.cjs")));
|
|
5540
|
+
const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-ffAWONI_.cjs")));
|
|
5515
5541
|
const HOVER_BORDER_WIDTH = 1;
|
|
5516
5542
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
5517
5543
|
const wrapperRef = react$1.useRef(null);
|
|
@@ -10823,4 +10849,4 @@ exports.UserMessage = UserMessage;
|
|
|
10823
10849
|
exports.WorkspaceModal = WorkspaceModal;
|
|
10824
10850
|
exports.cutText = cutText;
|
|
10825
10851
|
exports.isValidClick = isValidClick;
|
|
10826
|
-
//# sourceMappingURL=components-
|
|
10852
|
+
//# sourceMappingURL=components-B0B09Vsk.cjs.map
|