@kashifd/jwero-components 0.6.99 → 0.7.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/dist/index.es.js +63 -53
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -58191,62 +58191,72 @@ const cz = ({ name: e, data: t, labels: r }) => {
|
|
|
58191
58191
|
...d
|
|
58192
58192
|
},
|
|
58193
58193
|
children: [
|
|
58194
|
-
/* @__PURE__ */ b.jsxs(
|
|
58195
|
-
|
|
58196
|
-
|
|
58197
|
-
|
|
58198
|
-
|
|
58199
|
-
|
|
58200
|
-
|
|
58201
|
-
|
|
58202
|
-
|
|
58203
|
-
children:
|
|
58204
|
-
|
|
58205
|
-
|
|
58206
|
-
|
|
58207
|
-
|
|
58208
|
-
|
|
58209
|
-
|
|
58210
|
-
|
|
58211
|
-
|
|
58212
|
-
|
|
58213
|
-
|
|
58214
|
-
|
|
58194
|
+
/* @__PURE__ */ b.jsxs(
|
|
58195
|
+
Ye,
|
|
58196
|
+
{
|
|
58197
|
+
sx: {
|
|
58198
|
+
gap: "0.5rem",
|
|
58199
|
+
padding: "1rem",
|
|
58200
|
+
width: m != null && m.flag ? "50%" : "100%"
|
|
58201
|
+
},
|
|
58202
|
+
children: [
|
|
58203
|
+
/* @__PURE__ */ b.jsx(bt, { variant: "xlMedium", ...s, children: e == null ? void 0 : e.label }),
|
|
58204
|
+
/* @__PURE__ */ b.jsxs(
|
|
58205
|
+
Ye,
|
|
58206
|
+
{
|
|
58207
|
+
sx: {
|
|
58208
|
+
gap: "0.5rem",
|
|
58209
|
+
alignItems: "flex-start"
|
|
58210
|
+
},
|
|
58211
|
+
children: [
|
|
58212
|
+
/* @__PURE__ */ b.jsx(bt, { variant: "xxlSemibold", ...c, children: e == null ? void 0 : e.total_number }),
|
|
58213
|
+
(t || a && (e == null ? void 0 : e.subData)) && /* @__PURE__ */ b.jsxs(Ye, { sx: { gap: "0.75rem" }, children: [
|
|
58214
|
+
t && /* @__PURE__ */ b.jsx(
|
|
58215
|
+
Ye,
|
|
58215
58216
|
{
|
|
58216
|
-
|
|
58217
|
-
|
|
58218
|
-
|
|
58219
|
-
|
|
58220
|
-
|
|
58221
|
-
|
|
58222
|
-
|
|
58223
|
-
|
|
58224
|
-
|
|
58225
|
-
|
|
58226
|
-
|
|
58217
|
+
sx: {
|
|
58218
|
+
gap: "0.5rem",
|
|
58219
|
+
alignItems: "flex-start"
|
|
58220
|
+
},
|
|
58221
|
+
children: /* @__PURE__ */ b.jsx(
|
|
58222
|
+
Ta,
|
|
58223
|
+
{
|
|
58224
|
+
type: (e == null ? void 0 : e.chipType) || "custom",
|
|
58225
|
+
customProps: e == null ? void 0 : e.customChipProps,
|
|
58226
|
+
textSx: {
|
|
58227
|
+
textAlign: "center",
|
|
58228
|
+
fontFamily: "Inter,sans-serif",
|
|
58229
|
+
fontSize: "0.75rem",
|
|
58230
|
+
fontStyle: "normal",
|
|
58231
|
+
fontWeight: 600,
|
|
58232
|
+
lineHeight: "1.25rem",
|
|
58233
|
+
letterSpacing: "-0.015rem"
|
|
58234
|
+
}
|
|
58235
|
+
}
|
|
58236
|
+
)
|
|
58237
|
+
}
|
|
58238
|
+
),
|
|
58239
|
+
a && (e == null ? void 0 : e.subData) && /* @__PURE__ */ b.jsx(
|
|
58240
|
+
Ye,
|
|
58241
|
+
{
|
|
58242
|
+
direction: "row",
|
|
58243
|
+
spacing: 2,
|
|
58244
|
+
sx: { width: "100%", justifyContent: "space-between" },
|
|
58245
|
+
children: e.subData.map((w) => /* @__PURE__ */ b.jsxs(nr, { textAlign: "center", children: [
|
|
58246
|
+
/* @__PURE__ */ b.jsx(bt, { variant: "lRegular", children: w.label }),
|
|
58247
|
+
/* @__PURE__ */ b.jsx(bt, { variant: "xlSemibold", children: w.value })
|
|
58248
|
+
] }, w.label))
|
|
58227
58249
|
}
|
|
58228
58250
|
)
|
|
58229
|
-
}
|
|
58230
|
-
|
|
58231
|
-
|
|
58232
|
-
|
|
58233
|
-
|
|
58234
|
-
|
|
58235
|
-
|
|
58236
|
-
|
|
58237
|
-
|
|
58238
|
-
/* @__PURE__ */ b.jsx(bt, { variant: "lRegular", children: w.label }),
|
|
58239
|
-
/* @__PURE__ */ b.jsx(bt, { variant: "xlSemibold", children: w.value })
|
|
58240
|
-
] }, w.label))
|
|
58241
|
-
}
|
|
58242
|
-
)
|
|
58243
|
-
] })
|
|
58244
|
-
]
|
|
58245
|
-
}
|
|
58246
|
-
),
|
|
58247
|
-
g && g
|
|
58248
|
-
] }),
|
|
58249
|
-
(m == null ? void 0 : m.flag) && /* @__PURE__ */ b.jsx(Ye, { sx: { height: "7.5rem" }, children: /* @__PURE__ */ b.jsx(cz, { data: m.data, labels: m.label }) })
|
|
58251
|
+
] })
|
|
58252
|
+
]
|
|
58253
|
+
}
|
|
58254
|
+
),
|
|
58255
|
+
g && g
|
|
58256
|
+
]
|
|
58257
|
+
}
|
|
58258
|
+
),
|
|
58259
|
+
(m == null ? void 0 : m.flag) && /* @__PURE__ */ b.jsx(Ye, { sx: { height: "7.5rem", width: "50%" }, children: /* @__PURE__ */ b.jsx(cz, { data: m.data, labels: m.label }) })
|
|
58250
58260
|
]
|
|
58251
58261
|
}
|
|
58252
58262
|
);
|