@wavv/ui 1.1.0 → 1.2.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.
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ToastStyles: () => JSX.Element;
3
+ export default ToastStyles;
@@ -1,2 +1,3 @@
1
1
  export { default as ScrollbarStyles } from './ScrollbarStyles';
2
2
  export { default as ResetStyles } from './ResetStyles';
3
+ export { default as ToastStyles } from './ToastStyles';
@@ -26,6 +26,7 @@ export { default as Progress } from './components/Progress';
26
26
  export { default as Radio } from './components/Radio';
27
27
  export { default as ResetStyles } from './global-styles/ResetStyles';
28
28
  export { default as ScrollbarStyles } from './global-styles/ScrollbarStyles';
29
+ export { default as ToastStyles } from './global-styles/ToastStyles';
29
30
  export { default as Slider } from './components/Slider';
30
31
  export { default as Spacer } from './components/Spacer';
31
32
  export { default as Spinner } from './components/Spinner';
@@ -260,6 +260,23 @@ export interface ITheme {
260
260
  };
261
261
  borderColor: string;
262
262
  };
263
+ toast: {
264
+ color: string;
265
+ background: {
266
+ deafult: string;
267
+ info: string;
268
+ success: string;
269
+ warning: string;
270
+ error: string;
271
+ };
272
+ border: {
273
+ deafult: string;
274
+ info: string;
275
+ success: string;
276
+ warning: string;
277
+ error: string;
278
+ };
279
+ };
263
280
  toggle: {
264
281
  slider: string;
265
282
  };
package/dist/index.d.ts CHANGED
@@ -469,6 +469,23 @@ interface ITheme {
469
469
  };
470
470
  borderColor: string;
471
471
  };
472
+ toast: {
473
+ color: string;
474
+ background: {
475
+ deafult: string;
476
+ info: string;
477
+ success: string;
478
+ warning: string;
479
+ error: string;
480
+ };
481
+ border: {
482
+ deafult: string;
483
+ info: string;
484
+ success: string;
485
+ warning: string;
486
+ error: string;
487
+ };
488
+ };
472
489
  toggle: {
473
490
  slider: string;
474
491
  };
@@ -2471,6 +2488,8 @@ declare const ResetStyles: ({ families, fontFamily }: ResetStylesProps) => JSX.E
2471
2488
 
2472
2489
  declare const ScrollbarStyles: () => JSX.Element;
2473
2490
 
2491
+ declare const ToastStyles: () => JSX.Element;
2492
+
2474
2493
  declare type SliderProps = {
2475
2494
  /** The current position of the slider knob */
2476
2495
  value: number;
@@ -2651,4 +2670,4 @@ declare const formatDate: (value: Date, option?: TimeSpec | TimeOptions) => stri
2651
2670
 
2652
2671
  declare const copyToClipboard: (text: string) => void;
2653
2672
 
2654
- export { Audio, AudioRef, Button, Calendar, Checkbox, Code, Table$1 as DocTable, DraftEditor, DraftEditorRef, Dropdown, OptionItem as DropdownOption, Form, Grid, ITheme, Icon, IconNames, ImageViewer, InlineCode, Input, InputRef, _default as InputUtils, Label, Menu, Message, MessageHr, Modal, MultiSelect, Notification, Options, Pagination, Progress, Radio, ResetStyles, ScrollbarStyles, Slider, Spacer, Spinner, Table, ThemeProp, Toggle, Tooltip, Action as TransferAction, Item as TransferItem, TransferList, Next as TransferNext, copyToClipboard, formatDate, theme, useEventListener, useOnClickOutside, useSelect, useSelectAll, useWindowSize };
2673
+ export { Audio, AudioRef, Button, Calendar, Checkbox, Code, Table$1 as DocTable, DraftEditor, DraftEditorRef, Dropdown, OptionItem as DropdownOption, Form, Grid, ITheme, Icon, IconNames, ImageViewer, InlineCode, Input, InputRef, _default as InputUtils, Label, Menu, Message, MessageHr, Modal, MultiSelect, Notification, Options, Pagination, Progress, Radio, ResetStyles, ScrollbarStyles, Slider, Spacer, Spinner, Table, ThemeProp, ToastStyles, Toggle, Tooltip, Action as TransferAction, Item as TransferItem, TransferList, Next as TransferNext, copyToClipboard, formatDate, theme, useEventListener, useOnClickOutside, useSelect, useSelectAll, useWindowSize };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavv/ui",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "files": [
5
5
  "dist/**/*"
6
6
  ],