@starasia/admin 14.0.4 → 15.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
@@ -1048,14 +1048,26 @@ function As({
1048
1048
  overflow: "overflow-y-auto",
1049
1049
  paddingBlock: "lg",
1050
1050
  children: Dt.map((E) => /* @__PURE__ */ d(h, { marginBottom: "lg", children: [
1051
- !_ || z ? E.name && /* @__PURE__ */ e(
1051
+ !_ || z ? E.name && // Label kategori, bukan item menu. Dibedakan lewat EMPAT
1052
+ // sinyal sekaligus — lebih kecil, lebih berat, uppercase,
1053
+ // dan tracked — supaya tidak terbaca sederajat dengan
1054
+ // menu di bawahnya. Sebelumnya 14px/400: seukuran itemnya
1055
+ // dan justru lebih tipis, jadi satu-satunya pembeda
1056
+ // tinggal warna. `textTransform` dipasang di sini supaya
1057
+ // casing konsisten walau consumer menulis "Master Data".
1058
+ /* @__PURE__ */ e(
1052
1059
  C,
1053
1060
  {
1054
- fontSize: "md",
1055
- fontWeight: "normal",
1061
+ fontSize: "sm",
1062
+ fontWeight: "semibold",
1056
1063
  color: "subtlest",
1064
+ textTransform: "uppercase",
1057
1065
  truncate: !0,
1058
1066
  style: {
1067
+ // Lewat `style` karena prop `letterSpacing` milik Text
1068
+ // hanya menerima enam nilai sub-pixel (0.03px–0.252px)
1069
+ // — tak satupun cukup untuk tracking uppercase.
1070
+ letterSpacing: "0.06em",
1059
1071
  paddingLeft: "1.25rem",
1060
1072
  paddingRight: "0.75rem",
1061
1073
  paddingBottom: "0.25rem",