@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/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;