@starasia/admin 12.42.0 → 13.0.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/index.es.js
CHANGED
|
@@ -1210,7 +1210,7 @@ function Ms({
|
|
|
1210
1210
|
{
|
|
1211
1211
|
display: "block",
|
|
1212
1212
|
textAlign: "right",
|
|
1213
|
-
|
|
1213
|
+
customMaxWidth: "12.5rem",
|
|
1214
1214
|
children: [
|
|
1215
1215
|
/* @__PURE__ */ e(
|
|
1216
1216
|
w,
|
|
@@ -1218,33 +1218,40 @@ function Ms({
|
|
|
1218
1218
|
fontSize: "sm",
|
|
1219
1219
|
fontWeight: "semibold",
|
|
1220
1220
|
color: "subtle",
|
|
1221
|
+
textAlign: "right",
|
|
1221
1222
|
truncate: !0,
|
|
1223
|
+
lineHeight: "leading-none",
|
|
1222
1224
|
children: o ? "Loading..." : (n == null ? void 0 : n.name) || "unknown"
|
|
1223
1225
|
}
|
|
1224
1226
|
),
|
|
1225
|
-
/* @__PURE__ */ e(
|
|
1227
|
+
/* @__PURE__ */ e(
|
|
1228
|
+
w,
|
|
1229
|
+
{
|
|
1230
|
+
fontSize: "sm",
|
|
1231
|
+
color: "subtle",
|
|
1232
|
+
textAlign: "right",
|
|
1233
|
+
truncate: !0,
|
|
1234
|
+
children: o ? "" : (n == null ? void 0 : n.email) || "unknown"
|
|
1235
|
+
}
|
|
1236
|
+
)
|
|
1226
1237
|
]
|
|
1227
1238
|
}
|
|
1228
1239
|
),
|
|
1229
1240
|
/* @__PURE__ */ e(
|
|
1230
1241
|
hn,
|
|
1231
1242
|
{
|
|
1232
|
-
size: "
|
|
1243
|
+
size: "sm",
|
|
1233
1244
|
initials: ((n == null ? void 0 : n.name) || "U")[0].toUpperCase(),
|
|
1234
1245
|
bg: "var(--sa-background-brand, #04254f)",
|
|
1235
|
-
color: "var(--sa-background-primary, #ffffff)"
|
|
1236
|
-
style: {
|
|
1237
|
-
fontSize: "0.875rem",
|
|
1238
|
-
boxShadow: "var(--sa-shadow-sm, 0 1px 2px 0 #0000000d)"
|
|
1239
|
-
}
|
|
1246
|
+
color: "var(--sa-background-primary, #ffffff)"
|
|
1240
1247
|
}
|
|
1241
1248
|
),
|
|
1242
1249
|
/* @__PURE__ */ e(
|
|
1243
1250
|
L,
|
|
1244
1251
|
{
|
|
1245
1252
|
name: "ChevronDown",
|
|
1246
|
-
size: "
|
|
1247
|
-
|
|
1253
|
+
size: "xs",
|
|
1254
|
+
color: "subtle"
|
|
1248
1255
|
}
|
|
1249
1256
|
)
|
|
1250
1257
|
]
|
|
@@ -1289,6 +1296,7 @@ function Ms({
|
|
|
1289
1296
|
fontSize: "md",
|
|
1290
1297
|
fontWeight: "bold",
|
|
1291
1298
|
color: "primary",
|
|
1299
|
+
textAlign: "center",
|
|
1292
1300
|
truncate: !0,
|
|
1293
1301
|
style: { maxWidth: "100%" },
|
|
1294
1302
|
children: (n == null ? void 0 : n.name) || "unknown"
|
|
@@ -1299,6 +1307,7 @@ function Ms({
|
|
|
1299
1307
|
{
|
|
1300
1308
|
fontSize: "sm",
|
|
1301
1309
|
color: "subtle",
|
|
1310
|
+
textAlign: "center",
|
|
1302
1311
|
truncate: !0,
|
|
1303
1312
|
style: { maxWidth: "100%" },
|
|
1304
1313
|
children: (n == null ? void 0 : n.email) || "unknown"
|
|
@@ -1309,6 +1318,7 @@ function Ms({
|
|
|
1309
1318
|
{
|
|
1310
1319
|
fontSize: "sm",
|
|
1311
1320
|
color: "subtle",
|
|
1321
|
+
textAlign: "center",
|
|
1312
1322
|
truncate: !0,
|
|
1313
1323
|
style: { maxWidth: "100%" },
|
|
1314
1324
|
children: u
|
|
@@ -2072,7 +2082,6 @@ const wo = (t, r) => {
|
|
|
2072
2082
|
{
|
|
2073
2083
|
variant: "h3",
|
|
2074
2084
|
fontWeight: "semibold",
|
|
2075
|
-
fontFamily: "Poppins",
|
|
2076
2085
|
children: r
|
|
2077
2086
|
}
|
|
2078
2087
|
)
|
|
@@ -6165,7 +6174,7 @@ const Pl = ({
|
|
|
6165
6174
|
}) => {
|
|
6166
6175
|
var p;
|
|
6167
6176
|
process.env.NODE_ENV !== "production" && !Hn && (Hn = !0, console.warn(
|
|
6168
|
-
"[@starasia/admin] `TableSection` deprecated — pakai `<FilterBar>` + `<TableLayout>`. Lihat skill `starasia-list-page-pattern`. Akan dihapus di @starasia/admin@
|
|
6177
|
+
"[@starasia/admin] `TableSection` deprecated — pakai `<FilterBar>` + `<TableLayout>`. Lihat skill `starasia-list-page-pattern`. Akan dihapus di @starasia/admin@14.0.0."
|
|
6169
6178
|
));
|
|
6170
6179
|
const i = oe(null), [l, c] = H(
|
|
6171
6180
|
(r == null ? void 0 : r.defaultFrozenCount) ?? 0
|
|
@@ -7302,7 +7311,6 @@ const _s = jl(Pl), On = 200, Er = "1px solid var(--sa-border-subtle, #0b120e24)"
|
|
|
7302
7311
|
w,
|
|
7303
7312
|
{
|
|
7304
7313
|
...t,
|
|
7305
|
-
fontFamily: "Poppins",
|
|
7306
7314
|
fontSize: t.fontSize || "md",
|
|
7307
7315
|
fontWeight: t.fontWeight || "medium",
|
|
7308
7316
|
color: t.color || "gray-700",
|
|
@@ -9634,7 +9642,6 @@ const pa = ({
|
|
|
9634
9642
|
return /* @__PURE__ */ e(se, { children: l ? /* @__PURE__ */ e(N, { secondary: !0, iconLeft: l, onClick: n, children: i ? /* @__PURE__ */ e(
|
|
9635
9643
|
w,
|
|
9636
9644
|
{
|
|
9637
|
-
fontFamily: "Poppins",
|
|
9638
9645
|
fontSize: "md",
|
|
9639
9646
|
fontWeight: "medium",
|
|
9640
9647
|
style: { color: "var(--sa-background-success, #28ac6e)" },
|