@thecb/components 9.2.0-beta.5 → 9.2.0-beta.6
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.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.esm.js +5 -5
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/toast-notification/ToastNotification.js +3 -3
- package/src/components/molecules/toast-notification/index.d.ts +10 -0
package/dist/index.cjs.js
CHANGED
|
@@ -50298,8 +50298,12 @@ var VARIANTS = {
|
|
|
50298
50298
|
};
|
|
50299
50299
|
|
|
50300
50300
|
var ToastNotification = function ToastNotification(_ref) {
|
|
50301
|
-
var _ref$
|
|
50301
|
+
var _ref$variant = _ref.variant,
|
|
50302
|
+
variant = _ref$variant === void 0 ? VARIANTS.SUCCESS : _ref$variant,
|
|
50303
|
+
_ref$message = _ref.message,
|
|
50302
50304
|
message = _ref$message === void 0 ? "" : _ref$message,
|
|
50305
|
+
toastOpen = _ref.toastOpen,
|
|
50306
|
+
closeToastNotification = _ref.closeToastNotification,
|
|
50303
50307
|
extraStyles = _ref.extraStyles,
|
|
50304
50308
|
_ref$minWidth = _ref.minWidth,
|
|
50305
50309
|
minWidth = _ref$minWidth === void 0 ? "112px" : _ref$minWidth,
|
|
@@ -50309,10 +50313,6 @@ var ToastNotification = function ToastNotification(_ref) {
|
|
|
50309
50313
|
height = _ref$height === void 0 ? "56px" : _ref$height,
|
|
50310
50314
|
_ref$childGap = _ref.childGap,
|
|
50311
50315
|
childGap = _ref$childGap === void 0 ? "1rem" : _ref$childGap,
|
|
50312
|
-
closeToastNotification = _ref.closeToastNotification,
|
|
50313
|
-
toastOpen = _ref.toastOpen,
|
|
50314
|
-
_ref$variant = _ref.variant,
|
|
50315
|
-
variant = _ref$variant === void 0 ? VARIANTS.SUCCESS : _ref$variant,
|
|
50316
50316
|
backgroundColor = _ref.backgroundColor;
|
|
50317
50317
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
50318
50318
|
onClick: closeToastNotification,
|