@ixo/ui 0.1.13 → 0.1.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 +31 -31
- package/dist/components/AppShellNavigation/components/AsideResizable.d.ts.map +1 -1
- package/dist/components/AppShellNavigation/components/RoomItem.d.ts +2 -1
- package/dist/components/AppShellNavigation/components/RoomItem.d.ts.map +1 -1
- package/dist/components/MoreMenu/components/Item/types.d.ts +1 -1
- package/dist/components/MoreMenu/components/Item/types.d.ts.map +1 -1
- package/dist/components/MoreMenu/index.d.ts +1 -1
- package/dist/components/MoreMenu/index.d.ts.map +1 -1
- package/dist/components/MoreMenu/types.d.ts +1 -0
- package/dist/components/MoreMenu/types.d.ts.map +1 -1
- package/dist/{components-CJrqVhQR.cjs → components-BWISh0mc.cjs} +41 -18
- package/dist/{components-CJrqVhQR.cjs.map → components-BWISh0mc.cjs.map} +1 -1
- package/dist/{components-GC_64xlg.js → components-CSb7qSeQ.js} +41 -18
- package/dist/{components-GC_64xlg.js.map → components-CSb7qSeQ.js.map} +1 -1
- package/dist/export/components.cjs +1 -1
- package/dist/export/components.mjs +1 -1
- package/dist/{index-BpxUOj0_.js → index-3BXIAJMs.js} +2 -2
- package/dist/{index-BpxUOj0_.js.map → index-3BXIAJMs.js.map} +1 -1
- package/dist/{index-CbIehUPm.js → index-79BN9bQp.js} +2 -2
- package/dist/{index-CbIehUPm.js.map → index-79BN9bQp.js.map} +1 -1
- package/dist/{index-COjoiQ6v.js → index-BoyyPoe7.js} +2 -2
- package/dist/{index-COjoiQ6v.js.map → index-BoyyPoe7.js.map} +1 -1
- package/dist/{index-DhuIVvP-.js → index-CG7ua6U5.js} +2 -2
- package/dist/{index-DhuIVvP-.js.map → index-CG7ua6U5.js.map} +1 -1
- package/dist/{index-D4hjQu7o.cjs → index-CcNuU5D_.cjs} +3 -3
- package/dist/{index-D4hjQu7o.cjs.map → index-CcNuU5D_.cjs.map} +1 -1
- package/dist/{index-BpkeS09U.cjs → index-CfxTeub_.cjs} +2 -2
- package/dist/{index-BpkeS09U.cjs.map → index-CfxTeub_.cjs.map} +1 -1
- package/dist/{index-C6Lz1EwO.cjs → index-CtRJgMrQ.cjs} +2 -2
- package/dist/{index-C6Lz1EwO.cjs.map → index-CtRJgMrQ.cjs.map} +1 -1
- package/dist/{index-BOA1rttV.cjs → index-D9g1TKno.cjs} +2 -2
- package/dist/{index-BOA1rttV.cjs.map → index-D9g1TKno.cjs.map} +1 -1
- package/dist/{index-CF95Yjpx.cjs → index-DKRrekUN.cjs} +2 -2
- package/dist/{index-CF95Yjpx.cjs.map → index-DKRrekUN.cjs.map} +1 -1
- package/dist/{index-CKLLUc_t.cjs → index-DU7qOQm4.cjs} +3 -3
- package/dist/{index-CKLLUc_t.cjs.map → index-DU7qOQm4.cjs.map} +1 -1
- package/dist/{index-mBNnN5WH.js → index-Dc5K_Tpd.js} +2 -2
- package/dist/{index-mBNnN5WH.js.map → index-Dc5K_Tpd.js.map} +1 -1
- package/dist/{index-C4p0n2GU.js → index-Dg03DAzQ.js} +2 -2
- package/dist/{index-C4p0n2GU.js.map → index-Dg03DAzQ.js.map} +1 -1
- package/dist/{index-BZJenoN5.js → index-Dg3Be72o.js} +2 -2
- package/dist/{index-BZJenoN5.js.map → index-Dg3Be72o.js.map} +1 -1
- package/dist/{index-CLu6bi6f.cjs → index-DkO3nUqT.cjs} +2 -2
- package/dist/{index-CLu6bi6f.cjs.map → index-DkO3nUqT.cjs.map} +1 -1
- package/dist/{index-IBMUjXjl.js → index-DwUyDHTC.js} +2 -2
- package/dist/{index-IBMUjXjl.js.map → index-DwUyDHTC.js.map} +1 -1
- package/dist/{index-WKkZDhwm.js → index-F_vabNrb.js} +3 -3
- package/dist/{index-WKkZDhwm.js.map → index-F_vabNrb.js.map} +1 -1
- package/dist/{index-DRGAD1wN.cjs → index-QE9Jy5-f.cjs} +2 -2
- package/dist/{index-DRGAD1wN.cjs.map → index-QE9Jy5-f.cjs.map} +1 -1
- package/dist/{index-9ec-F2tJ.js → index-QRDAEcwI.js} +3 -3
- package/dist/{index-9ec-F2tJ.js.map → index-QRDAEcwI.js.map} +1 -1
- package/dist/{index-MS9bqnlO.cjs → index-qvBz31v8.cjs} +2 -2
- package/dist/{index-MS9bqnlO.cjs.map → index-qvBz31v8.cjs.map} +1 -1
- package/dist/{index-CxwDOTKU.cjs → index-ySZqJOLy.cjs} +2 -2
- package/dist/{index-CxwDOTKU.cjs.map → index-ySZqJOLy.cjs.map} +1 -1
- package/package.json +1 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"_useUITheme-DqgAb7n1.cjs"
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
|
-
"_components-
|
|
33
|
-
"file": "components-
|
|
32
|
+
"_components-BWISh0mc.cjs": {
|
|
33
|
+
"file": "components-BWISh0mc.cjs",
|
|
34
34
|
"name": "components",
|
|
35
35
|
"imports": [
|
|
36
36
|
"_UsersSolid-C5FpNZ_K.cjs",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"src/components/SodaCard/components/Actions/index.tsx"
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
|
-
"_components-
|
|
59
|
-
"file": "components-
|
|
58
|
+
"_components-CSb7qSeQ.js": {
|
|
59
|
+
"file": "components-CSb7qSeQ.js",
|
|
60
60
|
"name": "components",
|
|
61
61
|
"imports": [
|
|
62
62
|
"_UsersSolid-BAHkDzh8.js",
|
|
@@ -103,18 +103,18 @@
|
|
|
103
103
|
"_constants-B7xlU8b8.js"
|
|
104
104
|
]
|
|
105
105
|
},
|
|
106
|
-
"_index-
|
|
107
|
-
"file": "index-
|
|
106
|
+
"_index-BoyyPoe7.js": {
|
|
107
|
+
"file": "index-BoyyPoe7.js",
|
|
108
108
|
"name": "index",
|
|
109
109
|
"imports": [
|
|
110
|
-
"_components-
|
|
110
|
+
"_components-CSb7qSeQ.js"
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
|
-
"_index-
|
|
114
|
-
"file": "index-
|
|
113
|
+
"_index-DKRrekUN.cjs": {
|
|
114
|
+
"file": "index-DKRrekUN.cjs",
|
|
115
115
|
"name": "index",
|
|
116
116
|
"imports": [
|
|
117
|
-
"_components-
|
|
117
|
+
"_components-BWISh0mc.cjs"
|
|
118
118
|
]
|
|
119
119
|
},
|
|
120
120
|
"_themes-BwGjuKnC.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-DU7qOQm4.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-DKRrekUN.cjs",
|
|
167
|
+
"_components-BWISh0mc.cjs"
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
170
|
"src/components/ActionCard/components/Header/index.tsx": {
|
|
171
|
-
"file": "index-
|
|
171
|
+
"file": "index-CfxTeub_.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-BWISh0mc.cjs",
|
|
177
177
|
"_UsersSolid-C5FpNZ_K.cjs"
|
|
178
178
|
]
|
|
179
179
|
},
|
|
180
180
|
"src/components/ActionSheet/components/Badge/index.tsx": {
|
|
181
|
-
"file": "index-
|
|
181
|
+
"file": "index-D9g1TKno.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-BWISh0mc.cjs"
|
|
187
187
|
]
|
|
188
188
|
},
|
|
189
189
|
"src/components/Card/components/Header/index.tsx": {
|
|
190
|
-
"file": "index-
|
|
190
|
+
"file": "index-DkO3nUqT.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-BWISh0mc.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-CcNuU5D_.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-DKRrekUN.cjs",
|
|
211
|
+
"_components-BWISh0mc.cjs"
|
|
212
212
|
]
|
|
213
213
|
},
|
|
214
214
|
"src/components/SodaCard/components/Assets/index.tsx": {
|
|
215
|
-
"file": "index-
|
|
215
|
+
"file": "index-QE9Jy5-f.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-BWISh0mc.cjs"
|
|
221
221
|
]
|
|
222
222
|
},
|
|
223
223
|
"src/components/SodaCard/components/Content/index.tsx": {
|
|
224
|
-
"file": "index-
|
|
224
|
+
"file": "index-qvBz31v8.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-BWISh0mc.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-ySZqJOLy.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-BWISh0mc.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-CtRJgMrQ.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-BWISh0mc.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-BWISh0mc.cjs"
|
|
276
276
|
]
|
|
277
277
|
},
|
|
278
278
|
"src/export/hooks.ts": {
|
|
@@ -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;AAMvE,KAAK,KAAK,GAAG,iBAAiB,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,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,WAAW,EAAE,cAAc,EAAE,cAAsB,EAAE,aAAa,EAAE,KAAW,EAAE,aAAa,EAAE,WAAW,EAAE,EAAE,KAAK,
|
|
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;AAMvE,KAAK,KAAK,GAAG,iBAAiB,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,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,WAAW,EAAE,cAAc,EAAE,cAAsB,EAAE,aAAa,EAAE,KAAW,EAAE,aAAa,EAAE,WAAW,EAAE,EAAE,KAAK,2DA0ItK"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { IconCmp } from '../../../types/IconCmp';
|
|
3
|
-
import { IconType } from '../../MoreMenu/types';
|
|
3
|
+
import { IconType, PropsItem } from '../../MoreMenu/types';
|
|
4
4
|
export type IRoom = {
|
|
5
5
|
id: string;
|
|
6
6
|
name: string;
|
|
@@ -11,6 +11,7 @@ export type IRoom = {
|
|
|
11
11
|
label: string;
|
|
12
12
|
onClick: () => void;
|
|
13
13
|
};
|
|
14
|
+
actions?: PropsItem[];
|
|
14
15
|
isActive: boolean;
|
|
15
16
|
tag?: string;
|
|
16
17
|
tagIcon?: IconType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoomItem.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShellNavigation/components/RoomItem.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"RoomItem.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShellNavigation/components/RoomItem.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAI3D,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;IACnC,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,aAAa,CAAC,EAAE;QACd,IAAI,EAAE,QAAQ,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;IACF,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB,CAAC;AACF,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,oDA+E3F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/MoreMenu/components/Item/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/MoreMenu/components/Item/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAGF,MAAM,MAAM,QAAQ,GAAG,aAAa,CAAC,eAAe,CAAC,CAAC;AAEtD,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { Props, PropsItem } from './types';
|
|
3
3
|
export type { PropsItem };
|
|
4
|
-
export declare function MoreMenu({ items, controlColor, Icon }: Props): ReactElement;
|
|
4
|
+
export declare function MoreMenu({ items, controlColor, Icon, onOpenChange }: Props): ReactElement;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/MoreMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAY,MAAM,OAAO,CAAC;AAK/C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAG3C,YAAY,EAAE,SAAS,EAAE,CAAC;AAE1B,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,YAAwB,EAAE,IAAI,EAAE,EAAE,KAAK,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/MoreMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAY,MAAM,OAAO,CAAC;AAK/C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAG3C,YAAY,EAAE,SAAS,EAAE,CAAC;AAE1B,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,YAAwB,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,KAAK,GAAG,YAAY,CAqDrG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/MoreMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;AAEpC,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IACxB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,SAAS,CAAC,EAAE,eAAe,GAAG,eAAe,EAAE,GAAG,SAAS,CAAC;IAC5D,IAAI,CAAC,EAAE,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/MoreMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;AAEpC,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IACxB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,SAAS,CAAC,EAAE,eAAe,GAAG,eAAe,EAAE,GAAG,SAAS,CAAC;IAC5D,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,CAAC"}
|
|
@@ -846,8 +846,8 @@ function AccordionTable({
|
|
|
846
846
|
}
|
|
847
847
|
);
|
|
848
848
|
}
|
|
849
|
-
const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
850
|
-
const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
849
|
+
const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-CfxTeub_.cjs")));
|
|
850
|
+
const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-DU7qOQm4.cjs")));
|
|
851
851
|
function ActionCard({ header, content, footer, useHoverMode = false }) {
|
|
852
852
|
const hasContent = !!content || !!footer;
|
|
853
853
|
const initialVisibility = footer?.startHidden !== true;
|
|
@@ -931,7 +931,7 @@ function Loader({ size, color = "primary" }) {
|
|
|
931
931
|
}
|
|
932
932
|
const CARD_WIDTH$1 = 350;
|
|
933
933
|
const CARD_HEADER_HEIGHT = 158;
|
|
934
|
-
const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
934
|
+
const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-DkO3nUqT.cjs")));
|
|
935
935
|
function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
|
|
936
936
|
const wrapperRef = react$1.useRef(null);
|
|
937
937
|
const handleOnClick = react$1.useCallback(
|
|
@@ -1366,7 +1366,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
|
|
|
1366
1366
|
document.body
|
|
1367
1367
|
);
|
|
1368
1368
|
}
|
|
1369
|
-
const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
1369
|
+
const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-D9g1TKno.cjs")));
|
|
1370
1370
|
function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
|
|
1371
1371
|
const shadowScrollRef = react$1.useRef(null);
|
|
1372
1372
|
const wrapperContentAreaRef = react$1.useRef(null);
|
|
@@ -1973,13 +1973,17 @@ function Item({ icon: icon2, label, disabled, onClick }) {
|
|
|
1973
1973
|
}
|
|
1974
1974
|
);
|
|
1975
1975
|
}
|
|
1976
|
-
function MoreMenu({ items, controlColor = "primary", Icon }) {
|
|
1976
|
+
function MoreMenu({ items, controlColor = "primary", Icon, onOpenChange }) {
|
|
1977
1977
|
const [opened, setOpened] = react$1.useState(false);
|
|
1978
|
+
const handleOpenChange = (value) => {
|
|
1979
|
+
setOpened(value);
|
|
1980
|
+
onOpenChange?.(value);
|
|
1981
|
+
};
|
|
1978
1982
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1979
1983
|
core.Popover,
|
|
1980
1984
|
{
|
|
1981
1985
|
opened,
|
|
1982
|
-
onChange:
|
|
1986
|
+
onChange: handleOpenChange,
|
|
1983
1987
|
closeOnClickOutside: true,
|
|
1984
1988
|
styles: {
|
|
1985
1989
|
dropdown: {
|
|
@@ -1995,7 +1999,7 @@ function MoreMenu({ items, controlColor = "primary", Icon }) {
|
|
|
1995
1999
|
position: "right-start",
|
|
1996
2000
|
shadow: "md",
|
|
1997
2001
|
children: [
|
|
1998
|
-
/* @__PURE__ */ jsxRuntime.jsx(core.Popover.Target, { children: /* @__PURE__ */ jsxRuntime.jsx(core.Center, { onClick: () =>
|
|
2002
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Popover.Target, { children: /* @__PURE__ */ jsxRuntime.jsx(core.Center, { onClick: () => handleOpenChange(!opened), children: Icon || /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.EllipsisVSolid, { size: 20, color: controlColor }) }) }),
|
|
1999
2003
|
/* @__PURE__ */ jsxRuntime.jsxs(core.Popover.Dropdown, { children: [
|
|
2000
2004
|
/* @__PURE__ */ jsxRuntime.jsx(core.FocusTrap.InitialFocus, {}),
|
|
2001
2005
|
/* @__PURE__ */ jsxRuntime.jsx(core.Text, { ml: 12, mb: 10, fz: 14, c: "neutralColor.7", children: "Actions" }),
|
|
@@ -2008,7 +2012,7 @@ function MoreMenu({ items, controlColor = "primary", Icon }) {
|
|
|
2008
2012
|
active: item.active,
|
|
2009
2013
|
onClick: () => {
|
|
2010
2014
|
item.onClick();
|
|
2011
|
-
|
|
2015
|
+
handleOpenChange(false);
|
|
2012
2016
|
}
|
|
2013
2017
|
},
|
|
2014
2018
|
item.label
|
|
@@ -2231,12 +2235,14 @@ function AsideResizable({ children, navbarWidth, asideMaximized, asideCollapsed
|
|
|
2231
2235
|
onWidthChange?.(constrainedWidth);
|
|
2232
2236
|
};
|
|
2233
2237
|
react$1.useEffect(() => {
|
|
2238
|
+
if (isMobile) return;
|
|
2234
2239
|
if (width === MIN_WIDTH && !asideCollapsed && onAsideToggle && !isShowingRef.current) {
|
|
2235
2240
|
clearListeners();
|
|
2236
2241
|
onAsideToggle();
|
|
2237
2242
|
}
|
|
2238
|
-
}, [width, asideCollapsed]);
|
|
2243
|
+
}, [width, asideCollapsed, isMobile]);
|
|
2239
2244
|
react$1.useEffect(() => {
|
|
2245
|
+
if (isMobile) return;
|
|
2240
2246
|
const maxWidth = Math.min(window.innerWidth - 600, MAX_WIDTH);
|
|
2241
2247
|
if (width >= maxWidth && onMaxExpand && !hasFiredMaxExpand.current) {
|
|
2242
2248
|
hasFiredMaxExpand.current = true;
|
|
@@ -2245,7 +2251,7 @@ function AsideResizable({ children, navbarWidth, asideMaximized, asideCollapsed
|
|
|
2245
2251
|
} else if (width < maxWidth) {
|
|
2246
2252
|
hasFiredMaxExpand.current = false;
|
|
2247
2253
|
}
|
|
2248
|
-
}, [width, onMaxExpand]);
|
|
2254
|
+
}, [width, onMaxExpand, isMobile]);
|
|
2249
2255
|
react$1.useEffect(() => {
|
|
2250
2256
|
const handleWindowResize = () => {
|
|
2251
2257
|
const newMaxWidth = Math.min(window.innerWidth - 600, MAX_WIDTH);
|
|
@@ -2349,6 +2355,8 @@ function NavigationItemSkeleton() {
|
|
|
2349
2355
|
}
|
|
2350
2356
|
function RoomItem({ room, navbarWidth }) {
|
|
2351
2357
|
const { hovered, ref } = hooks.useHover();
|
|
2358
|
+
const [menuOpened, setMenuOpened] = react$1.useState(false);
|
|
2359
|
+
const showActions = hovered || menuOpened;
|
|
2352
2360
|
const renderIcon = () => {
|
|
2353
2361
|
if (!room.icon) return null;
|
|
2354
2362
|
if (typeof room.icon === "string") {
|
|
@@ -2373,7 +2381,7 @@ function RoomItem({ room, navbarWidth }) {
|
|
|
2373
2381
|
style: {
|
|
2374
2382
|
cursor: "pointer",
|
|
2375
2383
|
borderRadius: 6,
|
|
2376
|
-
backgroundColor: room.isActive ||
|
|
2384
|
+
backgroundColor: room.isActive || showActions ? "var(--mantine-color-neutralColor-6)" : "transparent",
|
|
2377
2385
|
transition: "all 0.15s ease"
|
|
2378
2386
|
},
|
|
2379
2387
|
onClick: () => room.onClick(room.id),
|
|
@@ -2382,7 +2390,7 @@ function RoomItem({ room, navbarWidth }) {
|
|
|
2382
2390
|
renderIcon(),
|
|
2383
2391
|
/* @__PURE__ */ jsxRuntime.jsx(core.Text, { c: room.isActive ? "neutralColor.8" : "neutralColor.7", fz: 14, truncate: true, style: { maxWidth: textMaxWidth }, children: room.name })
|
|
2384
2392
|
] }),
|
|
2385
|
-
|
|
2393
|
+
showActions && /* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: 4, children: [
|
|
2386
2394
|
room.onActionClick && /* @__PURE__ */ jsxRuntime.jsx(core.Tooltip, { label: room.onActionClick.label, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2387
2395
|
core.Center,
|
|
2388
2396
|
{
|
|
@@ -2394,6 +2402,21 @@ function RoomItem({ room, navbarWidth }) {
|
|
|
2394
2402
|
children: icon(room.onActionClick.icon, void 0, "var(--mantine-color-neutralColor-7)")
|
|
2395
2403
|
}
|
|
2396
2404
|
) }),
|
|
2405
|
+
room.actions && room.actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2406
|
+
core.Center,
|
|
2407
|
+
{
|
|
2408
|
+
onClick: (e) => e.stopPropagation(),
|
|
2409
|
+
sx: {
|
|
2410
|
+
cursor: "pointer",
|
|
2411
|
+
borderRadius: 4,
|
|
2412
|
+
transition: "transform 0.2s ease",
|
|
2413
|
+
"&:hover": {
|
|
2414
|
+
background: "var(--mantine-color-neutralColor-5)"
|
|
2415
|
+
}
|
|
2416
|
+
},
|
|
2417
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(MoreMenu, { items: room.actions, controlColor: "secondary", onOpenChange: setMenuOpened })
|
|
2418
|
+
}
|
|
2419
|
+
),
|
|
2397
2420
|
room.tag && room.tagIcon && /* @__PURE__ */ jsxRuntime.jsx(core.Tooltip, { label: room.tag, children: icon(room.tagIcon, void 0, "var(--mantine-color-neutralColor-7)") })
|
|
2398
2421
|
] })
|
|
2399
2422
|
]
|
|
@@ -6117,13 +6140,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
6117
6140
|
}
|
|
6118
6141
|
);
|
|
6119
6142
|
}
|
|
6120
|
-
const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
6121
|
-
const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
6122
|
-
const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
6143
|
+
const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-CtRJgMrQ.cjs")));
|
|
6144
|
+
const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-ySZqJOLy.cjs")));
|
|
6145
|
+
const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-qvBz31v8.cjs")));
|
|
6123
6146
|
const Map = react$1.lazy(() => Promise.resolve().then(() => require("./index-D4PsPquZ.cjs")));
|
|
6124
6147
|
const CustomContent = react$1.lazy(() => Promise.resolve().then(() => require("./index-ByrCNpS2.cjs")));
|
|
6125
|
-
const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
6126
|
-
const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
6148
|
+
const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-QE9Jy5-f.cjs")));
|
|
6149
|
+
const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-CcNuU5D_.cjs")));
|
|
6127
6150
|
const HOVER_BORDER_WIDTH = 1;
|
|
6128
6151
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
6129
6152
|
const wrapperRef = react$1.useRef(null);
|
|
@@ -11420,4 +11443,4 @@ exports.UserMessage = UserMessage;
|
|
|
11420
11443
|
exports.WorkspaceModal = WorkspaceModal;
|
|
11421
11444
|
exports.cutText = cutText;
|
|
11422
11445
|
exports.isValidClick = isValidClick;
|
|
11423
|
-
//# sourceMappingURL=components-
|
|
11446
|
+
//# sourceMappingURL=components-BWISh0mc.cjs.map
|