@starasia/admin 14.56.0 → 14.57.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/components/AppLayout/sidebarTokens.d.ts +23 -0
- package/dist/index.cjs.js +18 -18
- package/dist/index.es.js +1616 -1591
- package/dist/index.umd.js +16 -16
- package/package.json +2 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token permukaan sidebar `AppLayout` — bisa di-set app di CSS tanpa layer, mis.
|
|
3
|
+
*
|
|
4
|
+
* :root {
|
|
5
|
+
* --sa-app-sidebar-bg: #1c2627;
|
|
6
|
+
* --sa-app-sidebar-active-bg: #c8102e;
|
|
7
|
+
* --sa-app-sidebar-active-fg: #ffffff;
|
|
8
|
+
* }
|
|
9
|
+
*
|
|
10
|
+
* Fallback = tampilan bawaan, jadi tanpa token tidak ada yang berubah.
|
|
11
|
+
*/
|
|
12
|
+
/** Latar panel sidebar, footer, & rail. */
|
|
13
|
+
export declare const SIDEBAR_BG = "var(--sa-app-sidebar-bg, var(--sa-background-primary-inverse))";
|
|
14
|
+
/**
|
|
15
|
+
* Item navigasi AKTIF di sidebar & rail (menu induk, sub-menu, tombol rail, tab rail
|
|
16
|
+
* mobile). Dipasang inline hanya saat aktif; item aktif juga diberi `data-active`.
|
|
17
|
+
* Fallback = nilai lama (`bg="white"` → `--sa-background-primary`, teks primary,
|
|
18
|
+
* border subtle, tanpa bayangan).
|
|
19
|
+
*/
|
|
20
|
+
export declare const SIDEBAR_ACTIVE_BG = "var(--sa-app-sidebar-active-bg, var(--sa-background-primary, #ffffff))";
|
|
21
|
+
export declare const SIDEBAR_ACTIVE_FG = "var(--sa-app-sidebar-active-fg, var(--sa-text-primary, #292a2e))";
|
|
22
|
+
export declare const SIDEBAR_ACTIVE_BORDER = "var(--sa-app-sidebar-active-border, var(--sa-border-subtle, #0b120e24))";
|
|
23
|
+
export declare const SIDEBAR_ACTIVE_SHADOW = "var(--sa-app-sidebar-active-shadow, none)";
|