mayak-common-library 0.0.89 → 0.0.91
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 +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1296,10 +1296,10 @@ var import_material28 = require("@mui/material");
|
|
|
1296
1296
|
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1297
1297
|
var StyledToggleButtonGroup = (0, import_material28.styled)(
|
|
1298
1298
|
import_material28.ToggleButtonGroup
|
|
1299
|
-
)((
|
|
1299
|
+
)(() => ({
|
|
1300
1300
|
// marginBottom: theme.spacing(-1),
|
|
1301
1301
|
[`& .${import_material28.toggleButtonGroupClasses.grouped}`]: {
|
|
1302
|
-
marginRight: flexDirection === "col" ? "unset" :
|
|
1302
|
+
// marginRight: flexDirection === "col" ? "unset" : theme.spacing(1),
|
|
1303
1303
|
// marginBottom: theme.spacing(1), //flexDirection === "col" ? theme.spacing(1) : "unset",
|
|
1304
1304
|
width: "fit-content"
|
|
1305
1305
|
},
|
|
@@ -1328,7 +1328,7 @@ var ToggleButtonGroup = (props) => {
|
|
|
1328
1328
|
value,
|
|
1329
1329
|
onChange,
|
|
1330
1330
|
"aria-label": "text formatting",
|
|
1331
|
-
className: `flex flex-${flexDirection} ${textView ? "gap-1 flex-nowrap flex-col" : " flex-wrap"}`,
|
|
1331
|
+
className: `flex flex-${flexDirection} ${textView ? "gap-1 flex-nowrap flex-col" : " flex-wrap gap-2"}`,
|
|
1332
1332
|
children
|
|
1333
1333
|
})
|
|
1334
1334
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -1251,10 +1251,10 @@ import {
|
|
|
1251
1251
|
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
1252
1252
|
var StyledToggleButtonGroup = styled9(
|
|
1253
1253
|
MUIToggleButtonGroup
|
|
1254
|
-
)((
|
|
1254
|
+
)(() => ({
|
|
1255
1255
|
// marginBottom: theme.spacing(-1),
|
|
1256
1256
|
[`& .${toggleButtonGroupClasses.grouped}`]: {
|
|
1257
|
-
marginRight: flexDirection === "col" ? "unset" :
|
|
1257
|
+
// marginRight: flexDirection === "col" ? "unset" : theme.spacing(1),
|
|
1258
1258
|
// marginBottom: theme.spacing(1), //flexDirection === "col" ? theme.spacing(1) : "unset",
|
|
1259
1259
|
width: "fit-content"
|
|
1260
1260
|
},
|
|
@@ -1283,7 +1283,7 @@ var ToggleButtonGroup = (props) => {
|
|
|
1283
1283
|
value,
|
|
1284
1284
|
onChange,
|
|
1285
1285
|
"aria-label": "text formatting",
|
|
1286
|
-
className: `flex flex-${flexDirection} ${textView ? "gap-1 flex-nowrap flex-col" : " flex-wrap"}`,
|
|
1286
|
+
className: `flex flex-${flexDirection} ${textView ? "gap-1 flex-nowrap flex-col" : " flex-wrap gap-2"}`,
|
|
1287
1287
|
children
|
|
1288
1288
|
})
|
|
1289
1289
|
);
|