@starasia/admin 12.8.0 → 12.9.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/RightDrawer/index.d.ts +6 -0
- package/dist/index.cjs.js +5 -5
- package/dist/index.es.js +747 -753
- package/dist/index.umd.js +3 -3
- package/package.json +2 -2
|
@@ -17,5 +17,11 @@ export interface RightDrawerProps {
|
|
|
17
17
|
minWidth?: CSSProperties["minWidth"];
|
|
18
18
|
maxWidth?: CSSProperties["maxWidth"];
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Lebar panel sekarang di-set via prop `size` milik Drawer (bukan inline
|
|
22
|
+
* `style` + helper clamp manual). Drawer's CSS `max-width: calc(100vw - 16px)`
|
|
23
|
+
* yang otomatis meng-clamp ke viewport, jadi tidak perlu `min(...)` lagi.
|
|
24
|
+
* `width`/`minWidth`/`maxWidth` dipertahankan untuk backward-compat call site.
|
|
25
|
+
*/
|
|
20
26
|
export declare const RightDrawer: React.ForwardRefExoticComponent<RightDrawerProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
27
|
export {};
|