@ixo/ui 0.1.6 → 0.1.7
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-Bhg-kj6Z.js → components-B_rD80NH.js} +20 -12
- package/dist/{components-Bhg-kj6Z.js.map → components-B_rD80NH.js.map} +1 -1
- package/dist/{components-YkshqT-o.cjs → components-BgEk60Ob.cjs} +20 -12
- package/dist/{components-YkshqT-o.cjs.map → components-BgEk60Ob.cjs.map} +1 -1
- package/dist/export/components.cjs +1 -1
- package/dist/export/components.mjs +1 -1
- package/dist/{index-P3KEgBhv.cjs → index-BJXmGwAC.cjs} +2 -2
- package/dist/{index-P3KEgBhv.cjs.map → index-BJXmGwAC.cjs.map} +1 -1
- package/dist/{index-CHOB1QkU.cjs → index-BO3dBb76.cjs} +2 -2
- package/dist/{index-CHOB1QkU.cjs.map → index-BO3dBb76.cjs.map} +1 -1
- package/dist/{index-C_IALXNA.js → index-Bb5oD5S0.js} +2 -2
- package/dist/{index-C_IALXNA.js.map → index-Bb5oD5S0.js.map} +1 -1
- package/dist/{index-C11vdiDH.cjs → index-Bfq_mrjY.cjs} +2 -2
- package/dist/{index-C11vdiDH.cjs.map → index-Bfq_mrjY.cjs.map} +1 -1
- package/dist/{index-Btt6Tm5Q.js → index-C8qu1Nag.js} +2 -2
- package/dist/{index-Btt6Tm5Q.js.map → index-C8qu1Nag.js.map} +1 -1
- package/dist/{index-CANUhwDW.cjs → index-CJRQEBo0.cjs} +3 -3
- package/dist/{index-CANUhwDW.cjs.map → index-CJRQEBo0.cjs.map} +1 -1
- package/dist/{index-B5ijF3Tp.js → index-CTEU3j15.js} +3 -3
- package/dist/{index-B5ijF3Tp.js.map → index-CTEU3j15.js.map} +1 -1
- package/dist/{index-mrxwm6Xs.js → index-CYsfssFh.js} +3 -3
- package/dist/{index-mrxwm6Xs.js.map → index-CYsfssFh.js.map} +1 -1
- package/dist/{index-BtjEYmib.cjs → index-CcjXZeyr.cjs} +2 -2
- package/dist/{index-BtjEYmib.cjs.map → index-CcjXZeyr.cjs.map} +1 -1
- package/dist/{index-BrbjrA78.cjs → index-D3rssdnu.cjs} +2 -2
- package/dist/{index-BrbjrA78.cjs.map → index-D3rssdnu.cjs.map} +1 -1
- package/dist/{index-C6pNvdxk.cjs → index-DFw-YGRB.cjs} +3 -3
- package/dist/{index-C6pNvdxk.cjs.map → index-DFw-YGRB.cjs.map} +1 -1
- package/dist/{index-DCooV8oV.js → index-DOhTTpb1.js} +2 -2
- package/dist/{index-DCooV8oV.js.map → index-DOhTTpb1.js.map} +1 -1
- package/dist/{index-CskX6vn2.js → index-DiaMcybu.js} +2 -2
- package/dist/{index-CskX6vn2.js.map → index-DiaMcybu.js.map} +1 -1
- package/dist/{index-Bgc3QI4b.cjs → index-Iosewtvm.cjs} +2 -2
- package/dist/{index-Bgc3QI4b.cjs.map → index-Iosewtvm.cjs.map} +1 -1
- package/dist/{index-Chn5-4lW.js → index-K66R2MRS.js} +2 -2
- package/dist/{index-Chn5-4lW.js.map → index-K66R2MRS.js.map} +1 -1
- package/dist/{index-lvV5wzhg.js → index-YQJXRZBs.js} +2 -2
- package/dist/{index-lvV5wzhg.js.map → index-YQJXRZBs.js.map} +1 -1
- package/dist/{index-BtyXrnNq.js → index-Yq2DRnv3.js} +2 -2
- package/dist/{index-BtyXrnNq.js.map → index-Yq2DRnv3.js.map} +1 -1
- package/dist/{index-CR8fPC2b.cjs → index-dGNR0pvK.cjs} +2 -2
- package/dist/{index-CR8fPC2b.cjs.map → index-dGNR0pvK.cjs.map} +1 -1
- package/dist/{index-Bgi4k5s-.cjs → index-kV2fm9R3.cjs} +2 -2
- package/dist/{index-Bgi4k5s-.cjs.map → index-kV2fm9R3.cjs.map} +1 -1
- package/dist/{index-BXOFC_0d.js → index-qjIpKWBJ.js} +2 -2
- package/dist/{index-BXOFC_0d.js.map → index-qjIpKWBJ.js.map} +1 -1
- package/dist/utils/formatters.d.ts +1 -0
- package/dist/utils/formatters.d.ts.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-B_rD80NH.js": {
|
|
33
|
+
"file": "components-B_rD80NH.js",
|
|
34
34
|
"name": "components",
|
|
35
35
|
"imports": [
|
|
36
36
|
"_UsersSolid-BAHkDzh8.js",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"src/components/SodaCard/components/Actions/index.tsx"
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
|
-
"_components-
|
|
59
|
-
"file": "components-
|
|
58
|
+
"_components-BgEk60Ob.cjs": {
|
|
59
|
+
"file": "components-BgEk60Ob.cjs",
|
|
60
60
|
"name": "components",
|
|
61
61
|
"imports": [
|
|
62
62
|
"_UsersSolid-C5FpNZ_K.cjs",
|
|
@@ -103,18 +103,18 @@
|
|
|
103
103
|
"_constants-B7xlU8b8.js"
|
|
104
104
|
]
|
|
105
105
|
},
|
|
106
|
-
"_index-
|
|
107
|
-
"file": "index-
|
|
106
|
+
"_index-C8qu1Nag.js": {
|
|
107
|
+
"file": "index-C8qu1Nag.js",
|
|
108
108
|
"name": "index",
|
|
109
109
|
"imports": [
|
|
110
|
-
"_components-
|
|
110
|
+
"_components-B_rD80NH.js"
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
|
-
"_index-
|
|
114
|
-
"file": "index-
|
|
113
|
+
"_index-CcjXZeyr.cjs": {
|
|
114
|
+
"file": "index-CcjXZeyr.cjs",
|
|
115
115
|
"name": "index",
|
|
116
116
|
"imports": [
|
|
117
|
-
"_components-
|
|
117
|
+
"_components-BgEk60Ob.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-DFw-YGRB.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-CcjXZeyr.cjs",
|
|
167
|
+
"_components-BgEk60Ob.cjs"
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
170
|
"src/components/ActionCard/components/Header/index.tsx": {
|
|
171
|
-
"file": "index-
|
|
171
|
+
"file": "index-D3rssdnu.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-BgEk60Ob.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-Iosewtvm.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-BgEk60Ob.cjs"
|
|
187
187
|
]
|
|
188
188
|
},
|
|
189
189
|
"src/components/Card/components/Header/index.tsx": {
|
|
190
|
-
"file": "index-
|
|
190
|
+
"file": "index-BO3dBb76.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-BgEk60Ob.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-CJRQEBo0.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-CcjXZeyr.cjs",
|
|
211
|
+
"_components-BgEk60Ob.cjs"
|
|
212
212
|
]
|
|
213
213
|
},
|
|
214
214
|
"src/components/SodaCard/components/Assets/index.tsx": {
|
|
215
|
-
"file": "index-
|
|
215
|
+
"file": "index-Bfq_mrjY.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-BgEk60Ob.cjs"
|
|
221
221
|
]
|
|
222
222
|
},
|
|
223
223
|
"src/components/SodaCard/components/Content/index.tsx": {
|
|
224
|
-
"file": "index-
|
|
224
|
+
"file": "index-kV2fm9R3.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-BgEk60Ob.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-dGNR0pvK.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-BgEk60Ob.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-BJXmGwAC.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-BgEk60Ob.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-BgEk60Ob.cjs"
|
|
276
276
|
]
|
|
277
277
|
},
|
|
278
278
|
"src/export/hooks.ts": {
|
|
@@ -822,8 +822,8 @@ function AccordionTable({
|
|
|
822
822
|
}
|
|
823
823
|
);
|
|
824
824
|
}
|
|
825
|
-
const Header$3 = lazy(() => import("./index-
|
|
826
|
-
const Footer = lazy(() => import("./index-
|
|
825
|
+
const Header$3 = lazy(() => import("./index-DOhTTpb1.js"));
|
|
826
|
+
const Footer = lazy(() => import("./index-CTEU3j15.js"));
|
|
827
827
|
function ActionCard({ header, content, footer, useHoverMode = false }) {
|
|
828
828
|
const hasContent = !!content || !!footer;
|
|
829
829
|
const initialVisibility = footer?.startHidden !== true;
|
|
@@ -907,7 +907,7 @@ function Loader({ size, color = "primary" }) {
|
|
|
907
907
|
}
|
|
908
908
|
const CARD_WIDTH$1 = 350;
|
|
909
909
|
const CARD_HEADER_HEIGHT = 158;
|
|
910
|
-
const Header$2 = lazy(() => import("./index-
|
|
910
|
+
const Header$2 = lazy(() => import("./index-Bb5oD5S0.js"));
|
|
911
911
|
function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
|
|
912
912
|
const wrapperRef = useRef(null);
|
|
913
913
|
const handleOnClick = useCallback(
|
|
@@ -1342,7 +1342,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
|
|
|
1342
1342
|
document.body
|
|
1343
1343
|
);
|
|
1344
1344
|
}
|
|
1345
|
-
const Badge = lazy(() => import("./index-
|
|
1345
|
+
const Badge = lazy(() => import("./index-qjIpKWBJ.js"));
|
|
1346
1346
|
function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
|
|
1347
1347
|
const shadowScrollRef = useRef(null);
|
|
1348
1348
|
const wrapperContentAreaRef = useRef(null);
|
|
@@ -2568,6 +2568,14 @@ function cutText(text, length, ending = "…") {
|
|
|
2568
2568
|
}
|
|
2569
2569
|
return result.trim() + ending;
|
|
2570
2570
|
}
|
|
2571
|
+
function shortStr(str, threshold = 30, saveSymbolsAtTheEnd = 10, insert = "...") {
|
|
2572
|
+
if (!str) return str;
|
|
2573
|
+
const len = str.length;
|
|
2574
|
+
if (len <= threshold) return str;
|
|
2575
|
+
const ending = saveSymbolsAtTheEnd ? str.slice(-1 * saveSymbolsAtTheEnd) : "";
|
|
2576
|
+
const beginning = str.substring(0, threshold - saveSymbolsAtTheEnd - insert.length);
|
|
2577
|
+
return `${beginning}${insert}${ending}`;
|
|
2578
|
+
}
|
|
2571
2579
|
function carbonToUSD(carbon) {
|
|
2572
2580
|
return (carbon * 0.03).toLocaleString(void 0, {
|
|
2573
2581
|
minimumFractionDigits: 0,
|
|
@@ -2837,7 +2845,7 @@ function AppShellNavigation({
|
|
|
2837
2845
|
!isAiOpened && /* @__PURE__ */ jsxs(Stack$1, { justify: "space-between", w: "100%", pt: 16, pb: 10, px: 12, children: [
|
|
2838
2846
|
/* @__PURE__ */ jsxs(Stack$1, { gap: 5, children: [
|
|
2839
2847
|
/* @__PURE__ */ jsxs(Flex, { mb: 24, style: { width: "100%" }, justify: "space-between", align: "center", children: [
|
|
2840
|
-
/* @__PURE__ */ jsx(Flex, { align: "center", gap: "10px", children: /* @__PURE__ */ jsx(Tooltip$4, { label: pageItem.pageTitle || "Unknown", disabled: !isTitleOverflowing, position: "bottom", withArrow: true, children: /* @__PURE__ */ jsx(Text$1, { lh: 1, c: "neutralColor.8", children:
|
|
2848
|
+
/* @__PURE__ */ jsx(Flex, { align: "center", gap: "10px", children: /* @__PURE__ */ jsx(Tooltip$4, { label: pageItem.pageTitle || "Unknown", disabled: !isTitleOverflowing, position: "bottom", withArrow: true, children: /* @__PURE__ */ jsx(Text$1, { lh: 1, c: "neutralColor.8", children: isTitleOverflowing ? shortStr(pageItem.pageTitle, 21, 0) : pageItem.pageTitle || "Unknown" }) }) }),
|
|
2841
2849
|
isAiBtnVisible && !isAiOpened && !isMobile && /* @__PURE__ */ jsx(
|
|
2842
2850
|
Center,
|
|
2843
2851
|
{
|
|
@@ -2857,7 +2865,7 @@ function AppShellNavigation({
|
|
|
2857
2865
|
)
|
|
2858
2866
|
] }),
|
|
2859
2867
|
loading ? /* @__PURE__ */ jsx(Stack$1, { gap: 5, children: Array.from({ length: 6 }).map((_, idx) => /* @__PURE__ */ jsx(NavigationItemSkeleton, {}, idx)) }) : menuItems?.map((item, index) => {
|
|
2860
|
-
if (index === separator) {
|
|
2868
|
+
if (index !== 0 && index === separator) {
|
|
2861
2869
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2862
2870
|
/* @__PURE__ */ jsx(Space, { h: 16 }),
|
|
2863
2871
|
/* @__PURE__ */ jsx(MenuItem, { onMenuItemClick, item }, item.id)
|
|
@@ -6001,13 +6009,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
6001
6009
|
}
|
|
6002
6010
|
);
|
|
6003
6011
|
}
|
|
6004
|
-
const MainAction = lazy(() => import("./index-
|
|
6005
|
-
const Header$1 = lazy(() => import("./index-
|
|
6006
|
-
const Content = lazy(() => import("./index-
|
|
6012
|
+
const MainAction = lazy(() => import("./index-Yq2DRnv3.js"));
|
|
6013
|
+
const Header$1 = lazy(() => import("./index-YQJXRZBs.js"));
|
|
6014
|
+
const Content = lazy(() => import("./index-K66R2MRS.js"));
|
|
6007
6015
|
const Map = lazy(() => import("./index-D5Ufmf-s.js"));
|
|
6008
6016
|
const CustomContent = lazy(() => import("./index-DsYjW_4y.js"));
|
|
6009
|
-
const Assets = lazy(() => import("./index-
|
|
6010
|
-
const Actions = lazy(() => import("./index-
|
|
6017
|
+
const Assets = lazy(() => import("./index-DiaMcybu.js"));
|
|
6018
|
+
const Actions = lazy(() => import("./index-CYsfssFh.js"));
|
|
6011
6019
|
const HOVER_BORDER_WIDTH = 1;
|
|
6012
6020
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
6013
6021
|
const wrapperRef = useRef(null);
|
|
@@ -11284,4 +11292,4 @@ export {
|
|
|
11284
11292
|
CardHero as y,
|
|
11285
11293
|
CardSelector as z
|
|
11286
11294
|
};
|
|
11287
|
-
//# sourceMappingURL=components-
|
|
11295
|
+
//# sourceMappingURL=components-B_rD80NH.js.map
|