@oliasoft-open-source/react-ui-library 4.1.3 → 4.1.5
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/global.css +15 -14
- package/dist/index.d.ts +4 -2
- package/dist/index.js +15 -11
- package/dist/index.js.map +1 -1
- package/dist/storybook/assets/{Color-6VNJS4EI-a0e2d6dc.js → Color-6VNJS4EI-9a2985b2.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-NNNQARDV-5513f0f7.js → DocsRenderer-NNNQARDV-7d390284.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-4HIR6TLV-e5bc3028.js → WithTooltip-4HIR6TLV-935a2b47.js} +1 -1
- package/dist/storybook/assets/{buttons-and-links-216d956c.js → buttons-and-links-f8588ace.js} +1 -1
- package/dist/storybook/assets/{chunk-HLWAVYOI-7fd45292.js → chunk-HLWAVYOI-ec25be11.js} +1 -1
- package/dist/storybook/assets/{color-6c9a97da.js → color-9efc2f2e.js} +1 -1
- package/dist/storybook/assets/{formatter-SWP5E3XI-119a127c.js → formatter-SWP5E3XI-6ab3c3a9.js} +1 -1
- package/dist/storybook/assets/iframe-697f8aaf.js +1 -0
- package/dist/storybook/assets/{index-c6e526ea.js → index-a7512f2e.js} +4 -4
- package/dist/storybook/assets/{input-validation-d6cf4799.js → input-validation-3ded498c.js} +1 -1
- package/dist/storybook/assets/{inputs-810bab80.js → inputs-7d113dd0.js} +1 -1
- package/dist/storybook/assets/{layout-forms-b38a9d8b.js → layout-forms-b74a30ba.js} +1 -1
- package/dist/storybook/assets/{layout-general-a55199b9.js → layout-general-7e3b0be7.js} +1 -1
- package/dist/storybook/assets/{padding-and-spacing-d4a5c140.js → padding-and-spacing-d47007e6.js} +1 -1
- package/dist/storybook/assets/{pop-confirm.stories-2cec5a7a.js → pop-confirm.stories-81b30901.js} +1 -1
- package/dist/storybook/assets/preview-20eb7184.js +1 -0
- package/dist/storybook/assets/{preview-0f48de18.js → preview-c85f9156.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-NMPM6SWI-752dace7.js → syntaxhighlighter-NMPM6SWI-90fd0fb6.js} +1 -1
- package/dist/storybook/assets/{table.stories-bc0b72fb.js → table.stories-4b91e144.js} +63 -16
- package/dist/storybook/assets/{toaster-819866ea.js → toaster-541ce85b.js} +1 -1
- package/dist/storybook/assets/toaster.stories-bed0d43f.js +86 -0
- 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/storybook/assets/toaster.stories-a56ac738.js +0 -34
package/dist/global.css
CHANGED
|
@@ -9891,23 +9891,23 @@ tbody ._staticCell_u3xdj_116 ._staticCellContent_u3xdj_119 {
|
|
|
9891
9891
|
._disabledPointerEvents_u3xdj_204 {
|
|
9892
9892
|
pointer-events: none;
|
|
9893
9893
|
}
|
|
9894
|
-
.
|
|
9894
|
+
._tabs_1y79t_1 {
|
|
9895
9895
|
display: flex;
|
|
9896
9896
|
flex-wrap: wrap;
|
|
9897
9897
|
border-bottom: 1px solid var(--color-border);
|
|
9898
9898
|
flex-shrink: 0;
|
|
9899
9899
|
}
|
|
9900
|
-
.
|
|
9900
|
+
._tabs_1y79t_1._padding_1y79t_7 {
|
|
9901
9901
|
padding-left: var(--padding);
|
|
9902
9902
|
padding-right: var(--padding);
|
|
9903
9903
|
}
|
|
9904
|
-
.
|
|
9904
|
+
._tabs_1y79t_1._margin_1y79t_11 {
|
|
9905
9905
|
margin: var(--padding) 0;
|
|
9906
9906
|
}
|
|
9907
|
-
.
|
|
9907
|
+
._contentPadding_1y79t_14 {
|
|
9908
9908
|
padding-top: var(--padding);
|
|
9909
9909
|
}
|
|
9910
|
-
.
|
|
9910
|
+
._item_1y79t_17 {
|
|
9911
9911
|
align-self: flex-end;
|
|
9912
9912
|
display: flex;
|
|
9913
9913
|
align-items: center;
|
|
@@ -9924,37 +9924,38 @@ tbody ._staticCell_u3xdj_116 ._staticCellContent_u3xdj_119 {
|
|
|
9924
9924
|
font-size: var(--font-size-lg);
|
|
9925
9925
|
color: var(--color-text-primary);
|
|
9926
9926
|
cursor: pointer;
|
|
9927
|
+
text-transform: capitalize;
|
|
9927
9928
|
}
|
|
9928
|
-
.
|
|
9929
|
+
._item_1y79t_17:not(:last-child) {
|
|
9929
9930
|
margin-right: var(--padding);
|
|
9930
9931
|
}
|
|
9931
|
-
.
|
|
9932
|
+
._item_1y79t_17:hover:not(._active_1y79t_39) {
|
|
9932
9933
|
color: var(--color-text-primary-hover);
|
|
9933
9934
|
background: rgba(0, 0, 0, 0.025);
|
|
9934
9935
|
}
|
|
9935
|
-
[data-theme='dark'] .
|
|
9936
|
+
[data-theme='dark'] ._item_1y79t_17:hover:not(._active_1y79t_39) {
|
|
9936
9937
|
background: rgba(255, 255, 255, 0.1);
|
|
9937
9938
|
}
|
|
9938
|
-
.
|
|
9939
|
+
._item_1y79t_17:active:not(._active_1y79t_39) {
|
|
9939
9940
|
color: var(--color-text-primary-active);
|
|
9940
9941
|
background: rgba(0, 0, 0, 0.05);
|
|
9941
9942
|
}
|
|
9942
|
-
[data-theme='dark'] .
|
|
9943
|
+
[data-theme='dark'] ._item_1y79t_17:active:not(._active_1y79t_39) {
|
|
9943
9944
|
background: rgba(255, 255, 255, 0.2);
|
|
9944
9945
|
}
|
|
9945
|
-
.
|
|
9946
|
+
._item_1y79t_17._active_1y79t_39 {
|
|
9946
9947
|
border-color: var(--color-text);
|
|
9947
9948
|
color: var(--color-text);
|
|
9948
9949
|
cursor: default;
|
|
9949
9950
|
}
|
|
9950
|
-
.
|
|
9951
|
+
._item_1y79t_17._hidden_1y79t_58 {
|
|
9951
9952
|
display: none !important;
|
|
9952
9953
|
}
|
|
9953
|
-
.
|
|
9954
|
+
._item_1y79t_17._disabled_1y79t_61 {
|
|
9954
9955
|
color: var(--color-text-faint);
|
|
9955
9956
|
pointer-events: none;
|
|
9956
9957
|
}
|
|
9957
|
-
.
|
|
9958
|
+
._item_1y79t_17._left_1y79t_65 + ._item_1y79t_17._right_1y79t_65 {
|
|
9958
9959
|
margin-left: auto;
|
|
9959
9960
|
}
|
|
9960
9961
|
._inputInTable_66zck_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
|
@@ -63831,16 +63831,16 @@ const Table = (props) => {
|
|
|
63831
63831
|
)
|
|
63832
63832
|
] });
|
|
63833
63833
|
};
|
|
63834
|
-
const tabs = "
|
|
63835
|
-
const padding = "
|
|
63836
|
-
const margin = "
|
|
63837
|
-
const contentPadding = "
|
|
63838
|
-
const item$1 = "
|
|
63839
|
-
const active$1 = "
|
|
63840
|
-
const hidden = "
|
|
63841
|
-
const disabled$1 = "
|
|
63842
|
-
const left$1 = "
|
|
63843
|
-
const right$1 = "
|
|
63834
|
+
const tabs = "_tabs_1y79t_1";
|
|
63835
|
+
const padding = "_padding_1y79t_7";
|
|
63836
|
+
const margin = "_margin_1y79t_11";
|
|
63837
|
+
const contentPadding = "_contentPadding_1y79t_14";
|
|
63838
|
+
const item$1 = "_item_1y79t_17";
|
|
63839
|
+
const active$1 = "_active_1y79t_39";
|
|
63840
|
+
const hidden = "_hidden_1y79t_58";
|
|
63841
|
+
const disabled$1 = "_disabled_1y79t_61";
|
|
63842
|
+
const left$1 = "_left_1y79t_65";
|
|
63843
|
+
const right$1 = "_right_1y79t_65";
|
|
63844
63844
|
const styles$5 = {
|
|
63845
63845
|
tabs,
|
|
63846
63846
|
padding,
|
|
@@ -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,
|