welcome-ui 10.0.0-alpha.12 → 10.0.0-alpha.14

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.
@@ -1,5 +1,5 @@
1
1
  import { MessageProps } from '../types';
2
2
  export declare const Message: {
3
- ({ disabled, fileButtonText, hint, openFile, title, }: MessageProps): import("react/jsx-runtime").JSX.Element;
3
+ ({ disabled, fileButtonText, hint, isLoading, openFile, title, }: MessageProps): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  };
@@ -12,6 +12,7 @@ export type FileDropChildren = {
12
12
  isAnImage?: boolean;
13
13
  isHoverAccept?: DropzoneState['isDragAccept'];
14
14
  isHoverReject?: DropzoneState['isDragReject'];
15
+ isLoading?: boolean;
15
16
  openFile?: OpenType;
16
17
  wordings?: WordingsType;
17
18
  };
@@ -27,6 +28,7 @@ export interface FileDropOptions {
27
28
  handleRemoveFile?: (event: CreateEvent | DropEvent | React.ChangeEvent<HTMLInputElement>) => void;
28
29
  isClearable?: boolean;
29
30
  isEditable?: boolean;
31
+ isLoading?: boolean;
30
32
  name?: string;
31
33
  onBlur?: () => void;
32
34
  onChange?: (event: CreateEvent | DropEvent | React.ChangeEvent<HTMLInputElement>) => void;
@@ -50,12 +52,15 @@ type FileType = FileWithPreview | string;
50
52
  type FileUrlType = string | URL;
51
53
  interface MessageOptions {
52
54
  disabled?: boolean;
55
+ isLoading?: boolean;
53
56
  openFile?: FileDropChildren['openFile'];
54
57
  }
55
58
  type OpenType = DropzoneState['open'];
56
59
  type WordingsType = {
57
60
  fileButtonText?: JSX.Element | string;
58
61
  hint?: JSX.Element | string;
62
+ loadingHint?: JSX.Element | string;
63
+ loadingTitle?: JSX.Element | string;
59
64
  previewButtonText?: JSX.Element | string;
60
65
  title?: JSX.Element | string;
61
66
  };
@@ -5,6 +5,7 @@ export type StickyNoteTitleProps = ComponentProps<'div'> & HTMLAttributes<HTMLDi
5
5
  interface StickyNoteOptions {
6
6
  children: React.ReactNode;
7
7
  handleClose?: () => void;
8
+ isFullWidth?: boolean;
8
9
  shape?: 'rectangle' | 'square';
9
10
  variant?: 'blue' | 'brand' | 'green' | 'orange' | 'pink' | 'teal' | 'violet';
10
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "welcome-ui",
3
- "version": "10.0.0-alpha.12",
3
+ "version": "10.0.0-alpha.14",
4
4
  "description": "Customizable design system with react, typescript, tailwindcss and ariakit.",
5
5
  "files": [
6
6
  "dist"