@delightui/components 0.1.147 → 0.1.149
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/cjs/components/atoms/Chip/ChipExample.d.ts +2 -0
- package/dist/cjs/components/atoms/ToastNotification/ToastNotification.types.d.ts +7 -2
- package/dist/cjs/components/molecules/DatePicker/DatePickerBase/DatePickerBase.presenter.d.ts +14 -10
- package/dist/cjs/components/organisms/Dropzone/Dropzone.types.d.ts +2 -1
- package/dist/cjs/components/organisms/Dropzone/components/DropzoneDrag.d.ts +3 -0
- package/dist/cjs/components/organisms/DropzoneContent/DropzoneContent.types.d.ts +1 -1
- package/dist/cjs/library.css +105 -9
- package/dist/cjs/library.js +3 -3
- package/dist/cjs/library.js.map +1 -1
- package/dist/cjs/modules/notification/types.d.ts +4 -0
- package/dist/esm/components/atoms/Chip/ChipExample.d.ts +2 -0
- package/dist/esm/components/atoms/ToastNotification/ToastNotification.types.d.ts +7 -2
- package/dist/esm/components/molecules/DatePicker/DatePickerBase/DatePickerBase.presenter.d.ts +14 -10
- package/dist/esm/components/organisms/Dropzone/Dropzone.types.d.ts +2 -1
- package/dist/esm/components/organisms/Dropzone/components/DropzoneDrag.d.ts +3 -0
- package/dist/esm/components/organisms/DropzoneContent/DropzoneContent.types.d.ts +1 -1
- package/dist/esm/library.css +105 -9
- package/dist/esm/library.js +3 -3
- package/dist/esm/library.js.map +1 -1
- package/dist/esm/modules/notification/types.d.ts +4 -0
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
|
@@ -20,6 +20,10 @@ export type Notification = {
|
|
|
20
20
|
duration?: number;
|
|
21
21
|
style?: ToastNotificationStyleEnum;
|
|
22
22
|
isDismissable?: boolean;
|
|
23
|
+
isCloseButtonShown?: boolean;
|
|
24
|
+
closeIcon?: ReactNode;
|
|
25
|
+
leadingIcon?: ReactNode;
|
|
26
|
+
trailingIcon?: ReactNode;
|
|
23
27
|
};
|
|
24
28
|
/**
|
|
25
29
|
* Payload for triggering a new notification.
|
package/dist/index.d.ts
CHANGED
|
@@ -2357,7 +2357,7 @@ declare const DropzoneSupportedFormats: (props: DropzoneSupportedFormatsProps) =
|
|
|
2357
2357
|
|
|
2358
2358
|
declare const DropzoneTrigger: (props: DropzoneTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
2359
2359
|
|
|
2360
|
-
type DropzoneContentTypeEnum = 'Empty' | 'Uploaded' | 'Loading';
|
|
2360
|
+
type DropzoneContentTypeEnum = 'Empty' | 'Uploaded' | 'Loading' | 'Drag';
|
|
2361
2361
|
type DropzoneContentProps = {
|
|
2362
2362
|
className?: string;
|
|
2363
2363
|
type: DropzoneContentTypeEnum;
|
|
@@ -2733,6 +2733,10 @@ type Notification = {
|
|
|
2733
2733
|
duration?: number;
|
|
2734
2734
|
style?: ToastNotificationStyleEnum;
|
|
2735
2735
|
isDismissable?: boolean;
|
|
2736
|
+
isCloseButtonShown?: boolean;
|
|
2737
|
+
closeIcon?: ReactNode;
|
|
2738
|
+
leadingIcon?: ReactNode;
|
|
2739
|
+
trailingIcon?: ReactNode;
|
|
2736
2740
|
};
|
|
2737
2741
|
/**
|
|
2738
2742
|
* Payload for triggering a new notification.
|