@kenlo/kdls-design-system 2.31.0 → 2.32.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/components/Drawer/Drawer.d.ts +1 -1
- package/dist/components/Modal/useExitTransition.d.ts +5 -0
- package/dist/components/Modal/useScrollLock.d.ts +1 -0
- package/dist/index.cjs +3 -3
- package/dist/index.css +1 -1
- package/dist/index.js +2051 -2015
- package/kdls-manifest.json +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { TooltipPosition } from '../Tooltip';
|
|
|
4
4
|
import './Drawer.css';
|
|
5
5
|
import '../../foundations/Scrollbar/Scrollbar.css';
|
|
6
6
|
export interface DrawerProps {
|
|
7
|
-
/** Controls visibility. When false, the drawer is unmounted from the DOM */
|
|
7
|
+
/** Controls visibility. When false, the drawer slides out and is then unmounted from the DOM */
|
|
8
8
|
isOpen: boolean;
|
|
9
9
|
/** Called when the overlay or the close button is clicked */
|
|
10
10
|
onClose: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useScrollLock(active: boolean): void;
|