@oliasoft-open-source/react-ui-library 4.1.3 → 4.1.4
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.ts +4 -2
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/storybook/assets/{Color-6VNJS4EI-a0e2d6dc.js → Color-6VNJS4EI-d27e5bb5.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-NNNQARDV-5513f0f7.js → DocsRenderer-NNNQARDV-6a6b4a3d.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-4HIR6TLV-e5bc3028.js → WithTooltip-4HIR6TLV-ee9133da.js} +1 -1
- package/dist/storybook/assets/{buttons-and-links-216d956c.js → buttons-and-links-7ae5425e.js} +1 -1
- package/dist/storybook/assets/{chunk-HLWAVYOI-7fd45292.js → chunk-HLWAVYOI-2bef6b9b.js} +1 -1
- package/dist/storybook/assets/{color-6c9a97da.js → color-13e423e2.js} +1 -1
- package/dist/storybook/assets/{file-input.stories-0e546123.js → file-input.stories-b496f4ea.js} +1 -1
- package/dist/storybook/assets/{form.stories-c02bea64.js → form.stories-431b9233.js} +1 -1
- package/dist/storybook/assets/{formatter-SWP5E3XI-119a127c.js → formatter-SWP5E3XI-5228d2cc.js} +1 -1
- package/dist/storybook/assets/iframe-a2fe9ab2.js +1 -0
- package/dist/storybook/assets/{index-c6e526ea.js → index-8cfd8772.js} +4 -4
- package/dist/storybook/assets/{input-validation-d6cf4799.js → input-validation-ded4be10.js} +1 -1
- package/dist/storybook/assets/{inputs-810bab80.js → inputs-7cd3baeb.js} +1 -1
- package/dist/storybook/assets/{layout-forms-b38a9d8b.js → layout-forms-23e415b3.js} +1 -1
- package/dist/storybook/assets/{layout-general-a55199b9.js → layout-general-10455156.js} +1 -1
- package/dist/storybook/assets/{padding-and-spacing-d4a5c140.js → padding-and-spacing-622b1fd7.js} +1 -1
- package/dist/storybook/assets/preview-327d400b.js +1 -0
- package/dist/storybook/assets/{preview-0f48de18.js → preview-d06c675f.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-NMPM6SWI-752dace7.js → syntaxhighlighter-NMPM6SWI-f9c29eb0.js} +1 -1
- package/dist/storybook/assets/{table.stories-bc0b72fb.js → table.stories-4b91e144.js} +63 -16
- package/dist/storybook/assets/{textarea-54dd1c9a.js → textarea-eef180d9.js} +1 -1
- package/dist/storybook/assets/{textarea.stories-4b85aa60.js → textarea.stories-4182caf6.js} +1 -1
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/index.json +1 -1
- package/dist/storybook/project.json +1 -1
- package/dist/storybook/stories.json +1 -1
- package/package.json +1 -1
- package/dist/storybook/assets/iframe-77c6f9a6.js +0 -1
- package/dist/storybook/assets/preview-49b9c8f7.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -74,6 +74,8 @@ export declare const Dialog: ({ dialog }: IDialogProps) => JSX_2.Element;
|
|
|
74
74
|
|
|
75
75
|
export declare const DisabledContext: React_2.Context<boolean>;
|
|
76
76
|
|
|
77
|
+
export declare const dismissToast: (id: Id) => void;
|
|
78
|
+
|
|
77
79
|
export declare const Divider: ({ children, margin, color, align, }: IDividerProps) => JSX_2.Element;
|
|
78
80
|
|
|
79
81
|
export declare const Drawer: ({ background, fixed, open: openProp, setOpen: setOpenProp, right, width, closedWidth, shadow, top, button, buttonAnimate, buttonPosition, border, children, tabs, defaultTabIndex, activeTab: activeTabProp, setActiveTab: setActiveTabProp, testId, onResize, getActiveTab, onClose, onOpen, }: IDrawerProps) => JSX_2.Element;
|
|
@@ -778,7 +780,7 @@ export declare interface IMessageProps {
|
|
|
778
780
|
message: IMessage;
|
|
779
781
|
}
|
|
780
782
|
|
|
781
|
-
declare type IMessageType = {
|
|
783
|
+
export declare type IMessageType = {
|
|
782
784
|
type?: TMessageType | string;
|
|
783
785
|
icon?: boolean;
|
|
784
786
|
heading?: string | number;
|
|
@@ -1359,7 +1361,7 @@ export declare interface ITextProps {
|
|
|
1359
1361
|
export declare interface IToastProps {
|
|
1360
1362
|
id?: Id;
|
|
1361
1363
|
message: IMessageType;
|
|
1362
|
-
autoClose?: number;
|
|
1364
|
+
autoClose?: number | false;
|
|
1363
1365
|
onClose?: TEmpty;
|
|
1364
1366
|
}
|
|
1365
1367
|
|
package/dist/index.js
CHANGED
|
@@ -65194,7 +65194,7 @@ const toast = ({
|
|
|
65194
65194
|
toastId: id2,
|
|
65195
65195
|
autoClose,
|
|
65196
65196
|
onClose,
|
|
65197
|
-
hideProgressBar: false,
|
|
65197
|
+
hideProgressBar: autoClose === false,
|
|
65198
65198
|
icon: false,
|
|
65199
65199
|
closeOnClick: false,
|
|
65200
65200
|
pauseOnHover: true,
|
|
@@ -65204,6 +65204,9 @@ const toast = ({
|
|
|
65204
65204
|
type: toastType
|
|
65205
65205
|
});
|
|
65206
65206
|
};
|
|
65207
|
+
const dismissToast = (id2) => {
|
|
65208
|
+
toast$1.dismiss(id2);
|
|
65209
|
+
};
|
|
65207
65210
|
const toggle$1 = "_toggle_1mo1i_9";
|
|
65208
65211
|
const small = "_small_1mo1i_25";
|
|
65209
65212
|
const disabled = "_disabled_1mo1i_102";
|
|
@@ -77464,6 +77467,7 @@ export {
|
|
|
77464
77467
|
TopBar,
|
|
77465
77468
|
Tree,
|
|
77466
77469
|
TriggerType,
|
|
77470
|
+
dismissToast,
|
|
77467
77471
|
readFile,
|
|
77468
77472
|
toast,
|
|
77469
77473
|
useFocus,
|