frst-components 0.29.5 → 0.29.7
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.js
CHANGED
|
@@ -3245,7 +3245,7 @@ const StyledContainer = styled__default["default"](reactToastify.ToastContainer)
|
|
|
3245
3245
|
}
|
|
3246
3246
|
`;
|
|
3247
3247
|
|
|
3248
|
-
const showToastV2 = ({ type = 'success', message, showBySeconds = 5, styles, startICon }) => {
|
|
3248
|
+
const showToastV2 = ({ type = 'success', message, showBySeconds = 5, styles, startICon, isHiddenCloseicon }) => {
|
|
3249
3249
|
let iconComponent = startICon;
|
|
3250
3250
|
switch (type) {
|
|
3251
3251
|
case 'error':
|
|
@@ -3263,7 +3263,7 @@ const showToastV2 = ({ type = 'success', message, showBySeconds = 5, styles, sta
|
|
|
3263
3263
|
const toastOptions = {
|
|
3264
3264
|
position: 'top-right',
|
|
3265
3265
|
autoClose: showBySeconds * 1000,
|
|
3266
|
-
closeButton: (jsxRuntime.jsx("span", { style: {
|
|
3266
|
+
closeButton: isHiddenCloseicon ? (jsxRuntime.jsx(jsxRuntime.Fragment, {})) : (jsxRuntime.jsx("span", { style: {
|
|
3267
3267
|
display: 'flex',
|
|
3268
3268
|
marginTop: 'auto',
|
|
3269
3269
|
marginBottom: 'auto',
|
|
@@ -25106,6 +25106,7 @@ const CardButton = styled__default["default"]('div') `
|
|
|
25106
25106
|
|
|
25107
25107
|
:hover {
|
|
25108
25108
|
background: #F18624;
|
|
25109
|
+
border: 1px solid #F18624;
|
|
25109
25110
|
}
|
|
25110
25111
|
|
|
25111
25112
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/people/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,oEAoBzB,CAAA;AAED,eAAO,MAAM,UAAU,oEAItB,CAAA;AAED,eAAO,MAAM,QAAQ,oEAqBpB,CAAA;AAED,eAAO,MAAM,WAAW,oEAGvB,CAAA;AAED,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/people/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,oEAoBzB,CAAA;AAED,eAAO,MAAM,UAAU,oEAItB,CAAA;AAED,eAAO,MAAM,QAAQ,oEAqBpB,CAAA;AAED,eAAO,MAAM,WAAW,oEAGvB,CAAA;AAED,eAAO,MAAM,UAAU,oEAkBtB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ToastProps } from './toast-v2.types';
|
|
2
|
-
export declare const showToastV2: ({ type, message, showBySeconds, styles, startICon }: ToastProps) => void;
|
|
2
|
+
export declare const showToastV2: ({ type, message, showBySeconds, styles, startICon, isHiddenCloseicon }: ToastProps) => void;
|
|
3
3
|
export declare const ToastV2: () => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/toast-v2/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAK7C,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/toast-v2/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAK7C,eAAO,MAAM,WAAW,2EAOrB,UAAU,SA2DZ,CAAA;AAED,eAAO,MAAM,OAAO,+CAMnB,CAAA"}
|