@purpurds/toggle 4.2.0 → 4.4.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/DraggableX.d.ts +3 -2
- package/dist/LICENSE.txt +3 -3
- package/dist/toggle.cjs.js.map +1 -1
- package/dist/toggle.d.ts +2 -1
- package/dist/toggle.es.js +28 -28
- package/dist/toggle.es.js.map +1 -1
- package/dist/useToggleDrag.d.ts +4 -3
- package/package.json +12 -12
package/dist/DraggableX.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { CSSProperties, ReactElement, ReactNode } from
|
|
1
|
+
import { CSSProperties, ReactElement, ReactNode } from 'react';
|
|
2
|
+
|
|
2
3
|
export type DraggableXProps = {
|
|
3
4
|
children?: ReactNode;
|
|
4
5
|
disabled?: boolean;
|
|
@@ -20,5 +21,5 @@ export type DraggableXProps = {
|
|
|
20
21
|
*
|
|
21
22
|
* It is called `DraggableX` since it's only for dragging along the x-axis.
|
|
22
23
|
*/
|
|
23
|
-
export declare const DraggableX: ({ children, disabled, onStart, onDrag, onStop, bounds, position, style, }: DraggableXProps) => ReactElement<any, string | import(
|
|
24
|
+
export declare const DraggableX: ({ children, disabled, onStart, onDrag, onStop, bounds, position, style, }: DraggableXProps) => ReactElement<any, string | import('react').JSXElementConstructor<any>> | null;
|
|
24
25
|
//# sourceMappingURL=DraggableX.d.ts.map
|
package/dist/LICENSE.txt
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
Name: @purpurds/icon
|
|
2
|
-
Version: 4.
|
|
2
|
+
Version: 4.3.0
|
|
3
3
|
License: AGPL-3.0-only
|
|
4
4
|
Private: false
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
Name: @purpurds/label
|
|
9
|
-
Version: 4.
|
|
9
|
+
Version: 4.3.0
|
|
10
10
|
License: AGPL-3.0-only
|
|
11
11
|
Private: false
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
Name: @purpurds/paragraph
|
|
16
|
-
Version: 4.
|
|
16
|
+
Version: 4.3.0
|
|
17
17
|
License: AGPL-3.0-only
|
|
18
18
|
Private: false
|
|
19
19
|
|