@ctlyst.id/internal-ui 3.1.13 → 3.1.15
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.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -17,7 +17,7 @@ import { AsyncCreatableProps } from 'react-select/async-creatable';
|
|
17
17
|
import { CreatableProps } from 'react-select/creatable';
|
18
18
|
import { ToastOptions } from 'react-toastify';
|
19
19
|
export { ToastContainer } from 'react-toastify';
|
20
|
-
import { ToastIcon } from 'react-toastify/dist/types';
|
20
|
+
import { Id, ToastIcon } from 'react-toastify/dist/types';
|
21
21
|
import * as axios from 'axios';
|
22
22
|
import { AxiosRequestConfig, AxiosInstance, AxiosResponse } from 'axios';
|
23
23
|
export { ThemeTypings } from '@chakra-ui/styled-system';
|
@@ -722,6 +722,7 @@ declare const useToast: () => {
|
|
722
722
|
warning: (message: string, options?: CustomToastOptions) => void;
|
723
723
|
info: (message: string, options?: CustomToastOptions) => void;
|
724
724
|
custom: (message: string, options?: CustomToastOptions) => void;
|
725
|
+
dismiss: (id?: Id) => void;
|
725
726
|
};
|
726
727
|
|
727
728
|
interface BaseTooltipProps extends Omit<TooltipProps$1, 'color'> {
|
package/dist/index.d.ts
CHANGED
@@ -17,7 +17,7 @@ import { AsyncCreatableProps } from 'react-select/async-creatable';
|
|
17
17
|
import { CreatableProps } from 'react-select/creatable';
|
18
18
|
import { ToastOptions } from 'react-toastify';
|
19
19
|
export { ToastContainer } from 'react-toastify';
|
20
|
-
import { ToastIcon } from 'react-toastify/dist/types';
|
20
|
+
import { Id, ToastIcon } from 'react-toastify/dist/types';
|
21
21
|
import * as axios from 'axios';
|
22
22
|
import { AxiosRequestConfig, AxiosInstance, AxiosResponse } from 'axios';
|
23
23
|
export { ThemeTypings } from '@chakra-ui/styled-system';
|
@@ -722,6 +722,7 @@ declare const useToast: () => {
|
|
722
722
|
warning: (message: string, options?: CustomToastOptions) => void;
|
723
723
|
info: (message: string, options?: CustomToastOptions) => void;
|
724
724
|
custom: (message: string, options?: CustomToastOptions) => void;
|
725
|
+
dismiss: (id?: Id) => void;
|
725
726
|
};
|
726
727
|
|
727
728
|
interface BaseTooltipProps extends Omit<TooltipProps$1, 'color'> {
|
package/dist/index.js
CHANGED
@@ -3474,6 +3474,10 @@ var PaginationButton = (0, import_react57.forwardRef)(({ className, style, isAct
|
|
3474
3474
|
background: btnNotActiveBg,
|
3475
3475
|
color: btnNotActiveColor
|
3476
3476
|
} : {},
|
3477
|
+
_active: {
|
3478
|
+
background: "primary.500",
|
3479
|
+
color: "neutral.300"
|
3480
|
+
},
|
3477
3481
|
_disabled: {
|
3478
3482
|
background: (0, import_react57.useColorModeValue)("neutral.300", "mirage.900"),
|
3479
3483
|
color: "neutral.600",
|
@@ -4873,7 +4877,8 @@ var useToast = () => {
|
|
4873
4877
|
...restOptions,
|
4874
4878
|
style: { backgroundColor: style == null ? void 0 : style.backgroundColor, color: style == null ? void 0 : style.color }
|
4875
4879
|
});
|
4876
|
-
}
|
4880
|
+
},
|
4881
|
+
dismiss: (id) => import_react_toastify.toast.dismiss(id)
|
4877
4882
|
};
|
4878
4883
|
};
|
4879
4884
|
|