dhre-component-lib 0.4.9 → 0.5.0
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.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -9774,7 +9774,7 @@ const Menu = (props) => {
|
|
|
9774
9774
|
" "))));
|
|
9775
9775
|
};
|
|
9776
9776
|
|
|
9777
|
-
var css$3 = ".toast {\n display: flex;\n align-items: center;\n position: fixed;\n left: 50%;\n transform: translateX(-50%);\n color: #fff;\n border-radius: 8px;\n z-index:
|
|
9777
|
+
var css$3 = ".toast {\n display: flex;\n align-items: center;\n position: fixed;\n left: 50%;\n transform: translateX(-50%);\n color: #fff;\n border-radius: 8px;\n z-index: 10000 !important;\n opacity: 1;\n top: 127px;\n padding: 0 1rem;\n}\n.toast .icon {\n margin-right: 10px;\n margin-top: 5px;\n}\n.toast .icon1 {\n margin-right: 10px;\n margin-top: 5px;\n background: none;\n border: none;\n}\n.toast .text {\n flex-grow: 1;\n text-align: left;\n}\n.toast .undo {\n color: #fff;\n background: none;\n border: none;\n text-decoration: underline;\n cursor: pointer;\n margin-left: auto; /* Pushes the undo button to the right */\n padding: 0;\n float: inline-end;\n}\n.toast .suggestion-item {\n padding: 20px 8px 16px 0;\n cursor: pointer;\n text-align: left;\n}\n.toast .progress-bar {\n position: absolute;\n bottom: 0;\n left: 0;\n height: 4px;\n transition: width 0.1s linear;\n}\n.toast.successMain {\n background-color: #008256;\n}\n.toast .successProgress {\n background-color: #024324;\n}\n.toast.errorMain {\n background-color: #dc3545;\n}\n.toast .errorProgress {\n background-color: #c82333;\n}";
|
|
9778
9778
|
n(css$3,{});
|
|
9779
9779
|
|
|
9780
9780
|
const Toast = ({ icon, text, onActionText, onAction, onHide, type, className, duration, showCrossIcon, crossIcon }) => {
|
package/dist/index.js
CHANGED
|
@@ -9797,7 +9797,7 @@ const Menu = (props) => {
|
|
|
9797
9797
|
" "))));
|
|
9798
9798
|
};
|
|
9799
9799
|
|
|
9800
|
-
var css$3 = ".toast {\n display: flex;\n align-items: center;\n position: fixed;\n left: 50%;\n transform: translateX(-50%);\n color: #fff;\n border-radius: 8px;\n z-index:
|
|
9800
|
+
var css$3 = ".toast {\n display: flex;\n align-items: center;\n position: fixed;\n left: 50%;\n transform: translateX(-50%);\n color: #fff;\n border-radius: 8px;\n z-index: 10000 !important;\n opacity: 1;\n top: 127px;\n padding: 0 1rem;\n}\n.toast .icon {\n margin-right: 10px;\n margin-top: 5px;\n}\n.toast .icon1 {\n margin-right: 10px;\n margin-top: 5px;\n background: none;\n border: none;\n}\n.toast .text {\n flex-grow: 1;\n text-align: left;\n}\n.toast .undo {\n color: #fff;\n background: none;\n border: none;\n text-decoration: underline;\n cursor: pointer;\n margin-left: auto; /* Pushes the undo button to the right */\n padding: 0;\n float: inline-end;\n}\n.toast .suggestion-item {\n padding: 20px 8px 16px 0;\n cursor: pointer;\n text-align: left;\n}\n.toast .progress-bar {\n position: absolute;\n bottom: 0;\n left: 0;\n height: 4px;\n transition: width 0.1s linear;\n}\n.toast.successMain {\n background-color: #008256;\n}\n.toast .successProgress {\n background-color: #024324;\n}\n.toast.errorMain {\n background-color: #dc3545;\n}\n.toast .errorProgress {\n background-color: #c82333;\n}";
|
|
9801
9801
|
n(css$3,{});
|
|
9802
9802
|
|
|
9803
9803
|
const Toast = ({ icon, text, onActionText, onAction, onHide, type, className, duration, showCrossIcon, crossIcon }) => {
|