@majoo-ui/react 1.61.14-rc.4 → 1.61.14-rc.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/index.esm.js +11 -14
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -5961,31 +5961,28 @@ Toast.defaultProps = {
|
|
|
5961
5961
|
|
|
5962
5962
|
const _excluded$t = ["preventDuplicate"];
|
|
5963
5963
|
var _jsxFileName$U = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
|
|
5964
|
-
const {
|
|
5965
|
-
toastPosition
|
|
5966
|
-
} = foundations;
|
|
5967
5964
|
const ToastBox = styled(Flex$1, {
|
|
5968
5965
|
position: 'fixed',
|
|
5969
5966
|
variants: {
|
|
5970
5967
|
position: {
|
|
5971
5968
|
[TOP_RIGHT_POSITION]: {
|
|
5972
|
-
top: toastPosition
|
|
5973
|
-
right: toastPosition
|
|
5969
|
+
top: '$toastPosition$top',
|
|
5970
|
+
right: '$toastPosition$right',
|
|
5974
5971
|
flexDirection: 'column-reverse'
|
|
5975
5972
|
},
|
|
5976
5973
|
[TOP_LEFT_POSITION]: {
|
|
5977
|
-
top: toastPosition
|
|
5978
|
-
left: toastPosition
|
|
5974
|
+
top: '$toastPosition$top',
|
|
5975
|
+
left: '$toastPosition$left',
|
|
5979
5976
|
flexDirection: 'column-reverse'
|
|
5980
5977
|
},
|
|
5981
5978
|
[BOTTOM_RIGHT_POSITION]: {
|
|
5982
|
-
bottom: toastPosition
|
|
5983
|
-
right: toastPosition
|
|
5979
|
+
bottom: '$toastPosition$bottom',
|
|
5980
|
+
right: '$toastPosition$right',
|
|
5984
5981
|
flexDirection: 'column'
|
|
5985
5982
|
},
|
|
5986
5983
|
[BOTTOM_LEFT_POSITION]: {
|
|
5987
|
-
bottom: toastPosition
|
|
5988
|
-
left: toastPosition
|
|
5984
|
+
bottom: '$toastPosition$bottom',
|
|
5985
|
+
left: '$toastPosition$left',
|
|
5989
5986
|
flexDirection: 'column'
|
|
5990
5987
|
}
|
|
5991
5988
|
}
|
|
@@ -6011,7 +6008,7 @@ const ToastContainer = ({
|
|
|
6011
6008
|
__self: undefined,
|
|
6012
6009
|
__source: {
|
|
6013
6010
|
fileName: _jsxFileName$U,
|
|
6014
|
-
lineNumber:
|
|
6011
|
+
lineNumber: 43,
|
|
6015
6012
|
columnNumber: 5
|
|
6016
6013
|
}
|
|
6017
6014
|
}, /*#__PURE__*/React.createElement(ToastBox, {
|
|
@@ -6019,7 +6016,7 @@ const ToastContainer = ({
|
|
|
6019
6016
|
__self: undefined,
|
|
6020
6017
|
__source: {
|
|
6021
6018
|
fileName: _jsxFileName$U,
|
|
6022
|
-
lineNumber:
|
|
6019
|
+
lineNumber: 44,
|
|
6023
6020
|
columnNumber: 7
|
|
6024
6021
|
}
|
|
6025
6022
|
}, toasts.map((item, index) => {
|
|
@@ -6034,7 +6031,7 @@ const ToastContainer = ({
|
|
|
6034
6031
|
__self: undefined,
|
|
6035
6032
|
__source: {
|
|
6036
6033
|
fileName: _jsxFileName$U,
|
|
6037
|
-
lineNumber:
|
|
6034
|
+
lineNumber: 47,
|
|
6038
6035
|
columnNumber: 18
|
|
6039
6036
|
}
|
|
6040
6037
|
}));
|