math-main-components 0.0.23 → 0.0.25
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
CHANGED
@@ -84,10 +84,10 @@ var css_248z$p = ".styles-module_container__gCCnD {\n margin-bottom: 20px;\n w
|
|
84
84
|
var styles$p = {"container":"styles-module_container__gCCnD"};
|
85
85
|
styleInject(css_248z$p);
|
86
86
|
|
87
|
-
function Checkbox({ text, name }) {
|
87
|
+
function Checkbox({ text, name, defaultChecked }) {
|
88
88
|
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
89
89
|
React__default["default"].createElement("div", { className: styles$p.container },
|
90
|
-
React__default["default"].createElement("input", { type: "checkbox", name: name, id: name }),
|
90
|
+
React__default["default"].createElement("input", { type: "checkbox", name: name, id: name, defaultChecked: defaultChecked }),
|
91
91
|
React__default["default"].createElement("label", { htmlFor: name }, text),
|
92
92
|
React__default["default"].createElement(SvgIcon, { iconName: "done", size: "21px" }))));
|
93
93
|
}
|
@@ -131,7 +131,7 @@ function CopyCode({ code, style, onCopy = () => { } }) {
|
|
131
131
|
React__default["default"].createElement("input", { type: "hidden", name: "code", value: code })));
|
132
132
|
}
|
133
133
|
|
134
|
-
var css_248z$m = ".styles-module_container__9-1MH {\n position: fixed;\n height: 100vh;\n width: 100vw;\n background: rgba(255, 255, 255, 0.659);\n backdrop-filter: blur(10px) brightness(70%);\n left: 0;\n top: 0;\n z-index: 10000;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.styles-module_container__9-1MH.styles-module_active__AXoyo {\n opacity: 1;\n}\n.styles-module_container__9-1MH.styles-module_disabled__sELpy {\n pointer-events: none;\n opacity: 0;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M {\n background: white;\n border-radius: 20px;\n padding:
|
134
|
+
var css_248z$m = ".styles-module_container__9-1MH {\n position: fixed;\n height: 100vh;\n width: 100vw;\n background: rgba(255, 255, 255, 0.659);\n backdrop-filter: blur(10px) brightness(70%);\n left: 0;\n top: 0;\n z-index: 10000;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.styles-module_container__9-1MH.styles-module_active__AXoyo {\n opacity: 1;\n}\n.styles-module_container__9-1MH.styles-module_disabled__sELpy {\n pointer-events: none;\n opacity: 0;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M {\n background: white;\n border-radius: 20px;\n padding: 35px;\n width: 450px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n max-width: 100%;\n box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;\n cursor: auto;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M h1 {\n font-size: 26px;\n font-weight: 500;\n line-height: 1.5;\n margin-top: 20px;\n margin-bottom: 20px;\n text-align: center;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_cancel_button__KhwLS {\n border-radius: 12px;\n background: #DADADA;\n padding: 14px 0px;\n border: none;\n outline: none;\n cursor: pointer;\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_cancel_button__KhwLS:hover {\n background: #cbcbcb;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_submit_button__xLzux {\n border-radius: 12px;\n color: white;\n background: #0075FF;\n padding: 14px 0px;\n border: none;\n outline: none;\n cursor: pointer;\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_submit_button__xLzux:hover {\n background: #006ce8;\n}";
|
135
135
|
var styles$m = {"container":"styles-module_container__9-1MH","active":"styles-module_active__AXoyo","disabled":"styles-module_disabled__sELpy","dialog_window":"styles-module_dialog_window__0Bn2M","cancel_button":"styles-module_cancel_button__KhwLS","submit_button":"styles-module_submit_button__xLzux"};
|
136
136
|
styleInject(css_248z$m);
|
137
137
|
|
package/dist/index.esm.js
CHANGED
@@ -76,10 +76,10 @@ var css_248z$p = ".styles-module_container__gCCnD {\n margin-bottom: 20px;\n w
|
|
76
76
|
var styles$p = {"container":"styles-module_container__gCCnD"};
|
77
77
|
styleInject(css_248z$p);
|
78
78
|
|
79
|
-
function Checkbox({ text, name }) {
|
79
|
+
function Checkbox({ text, name, defaultChecked }) {
|
80
80
|
return (React.createElement(React.Fragment, null,
|
81
81
|
React.createElement("div", { className: styles$p.container },
|
82
|
-
React.createElement("input", { type: "checkbox", name: name, id: name }),
|
82
|
+
React.createElement("input", { type: "checkbox", name: name, id: name, defaultChecked: defaultChecked }),
|
83
83
|
React.createElement("label", { htmlFor: name }, text),
|
84
84
|
React.createElement(SvgIcon, { iconName: "done", size: "21px" }))));
|
85
85
|
}
|
@@ -123,7 +123,7 @@ function CopyCode({ code, style, onCopy = () => { } }) {
|
|
123
123
|
React.createElement("input", { type: "hidden", name: "code", value: code })));
|
124
124
|
}
|
125
125
|
|
126
|
-
var css_248z$m = ".styles-module_container__9-1MH {\n position: fixed;\n height: 100vh;\n width: 100vw;\n background: rgba(255, 255, 255, 0.659);\n backdrop-filter: blur(10px) brightness(70%);\n left: 0;\n top: 0;\n z-index: 10000;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.styles-module_container__9-1MH.styles-module_active__AXoyo {\n opacity: 1;\n}\n.styles-module_container__9-1MH.styles-module_disabled__sELpy {\n pointer-events: none;\n opacity: 0;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M {\n background: white;\n border-radius: 20px;\n padding:
|
126
|
+
var css_248z$m = ".styles-module_container__9-1MH {\n position: fixed;\n height: 100vh;\n width: 100vw;\n background: rgba(255, 255, 255, 0.659);\n backdrop-filter: blur(10px) brightness(70%);\n left: 0;\n top: 0;\n z-index: 10000;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.styles-module_container__9-1MH.styles-module_active__AXoyo {\n opacity: 1;\n}\n.styles-module_container__9-1MH.styles-module_disabled__sELpy {\n pointer-events: none;\n opacity: 0;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M {\n background: white;\n border-radius: 20px;\n padding: 35px;\n width: 450px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n max-width: 100%;\n box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;\n cursor: auto;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M h1 {\n font-size: 26px;\n font-weight: 500;\n line-height: 1.5;\n margin-top: 20px;\n margin-bottom: 20px;\n text-align: center;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_cancel_button__KhwLS {\n border-radius: 12px;\n background: #DADADA;\n padding: 14px 0px;\n border: none;\n outline: none;\n cursor: pointer;\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_cancel_button__KhwLS:hover {\n background: #cbcbcb;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_submit_button__xLzux {\n border-radius: 12px;\n color: white;\n background: #0075FF;\n padding: 14px 0px;\n border: none;\n outline: none;\n cursor: pointer;\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_submit_button__xLzux:hover {\n background: #006ce8;\n}";
|
127
127
|
var styles$m = {"container":"styles-module_container__9-1MH","active":"styles-module_active__AXoyo","disabled":"styles-module_disabled__sELpy","dialog_window":"styles-module_dialog_window__0Bn2M","cancel_button":"styles-module_cancel_button__KhwLS","submit_button":"styles-module_submit_button__xLzux"};
|
128
128
|
styleInject(css_248z$m);
|
129
129
|
|