@zuzjs/ui 1.0.33 → 1.0.35
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/bin.cjs +4 -4
- package/dist/bin.js +1 -1
- package/dist/{chunk-LE3HEEAK.cjs → chunk-35QXKGLH.cjs} +2 -2
- package/dist/{chunk-6RUAMBJW.js → chunk-ZRRWTL7H.js} +1 -1
- package/dist/css/styles.css +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +6 -6
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { ElementType, ComponentPropsWithoutRef, Ref, ReactNode, MouseEvent as MouseEvent$1, RefObject, FC, CSSProperties, FormEventHandler, JSX, HTMLAttributes, ComponentPropsWithRef } from 'react';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
3
|
import * as _zuzjs_hooks from '@zuzjs/hooks';
|
|
5
|
-
import { LineChartProps, MediaItem, useMediaPlayer, Command } from '@zuzjs/hooks';
|
|
4
|
+
import { DragOptions, LineChartProps, MediaItem, useMediaPlayer, Command } from '@zuzjs/hooks';
|
|
5
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { PubSub } from '@zuzjs/core';
|
|
7
7
|
|
|
8
8
|
declare const AVATAR: {
|
|
@@ -212,6 +212,9 @@ interface ZuzProps {
|
|
|
212
212
|
/** Animation configuration using {@link animationProps} */
|
|
213
213
|
fx?: animationProps;
|
|
214
214
|
transition?: ValueOf<typeof TRANSITIONS>;
|
|
215
|
+
/** Makes Component Draggable */
|
|
216
|
+
draggable?: boolean;
|
|
217
|
+
dragOptions?: DragOptions;
|
|
215
218
|
}
|
|
216
219
|
interface BoxProps extends Partial<Props<`div`>> {
|
|
217
220
|
name?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { ElementType, ComponentPropsWithoutRef, Ref, ReactNode, MouseEvent as MouseEvent$1, RefObject, FC, CSSProperties, FormEventHandler, JSX, HTMLAttributes, ComponentPropsWithRef } from 'react';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
3
|
import * as _zuzjs_hooks from '@zuzjs/hooks';
|
|
5
|
-
import { LineChartProps, MediaItem, useMediaPlayer, Command } from '@zuzjs/hooks';
|
|
4
|
+
import { DragOptions, LineChartProps, MediaItem, useMediaPlayer, Command } from '@zuzjs/hooks';
|
|
5
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { PubSub } from '@zuzjs/core';
|
|
7
7
|
|
|
8
8
|
declare const AVATAR: {
|
|
@@ -212,6 +212,9 @@ interface ZuzProps {
|
|
|
212
212
|
/** Animation configuration using {@link animationProps} */
|
|
213
213
|
fx?: animationProps;
|
|
214
214
|
transition?: ValueOf<typeof TRANSITIONS>;
|
|
215
|
+
/** Makes Component Draggable */
|
|
216
|
+
draggable?: boolean;
|
|
217
|
+
dragOptions?: DragOptions;
|
|
215
218
|
}
|
|
216
219
|
interface BoxProps extends Partial<Props<`div`>> {
|
|
217
220
|
name?: string;
|