mayak-common-library 0.0.37 → 0.0.39

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 CHANGED
@@ -1216,13 +1216,14 @@ var import_jsx_runtime44 = require("react/jsx-runtime");
1216
1216
  var StyledToggleButtonGroup = (0, import_material27.styled)(
1217
1217
  import_material27.ToggleButtonGroup
1218
1218
  )(({ theme: theme2, flexDirection }) => ({
1219
+ marginBottom: theme2.spacing(-1),
1219
1220
  [`& .${import_material27.toggleButtonGroupClasses.grouped}`]: {
1220
1221
  marginRight: flexDirection === "col" ? "unset" : theme2.spacing(1),
1221
- marginBottom: flexDirection === "col" ? theme2.spacing(1) : "unset",
1222
+ marginBottom: theme2.spacing(1),
1223
+ //flexDirection === "col" ? theme.spacing(1) : "unset",
1222
1224
  width: "fit-content"
1223
1225
  },
1224
1226
  [`& .${import_material27.toggleButtonGroupClasses.lastButton}`]: {
1225
- marginBottom: "unset",
1226
1227
  marginRight: "unset"
1227
1228
  },
1228
1229
  [`& .${import_material27.toggleButtonGroupClasses.middleButton},& .${import_material27.toggleButtonGroupClasses.lastButton}`]: {
package/dist/index.mjs CHANGED
@@ -1170,13 +1170,14 @@ import { jsx as jsx43 } from "react/jsx-runtime";
1170
1170
  var StyledToggleButtonGroup = styled9(
1171
1171
  MUIToggleButtonGroup
1172
1172
  )(({ theme: theme2, flexDirection }) => ({
1173
+ marginBottom: theme2.spacing(-1),
1173
1174
  [`& .${toggleButtonGroupClasses.grouped}`]: {
1174
1175
  marginRight: flexDirection === "col" ? "unset" : theme2.spacing(1),
1175
- marginBottom: flexDirection === "col" ? theme2.spacing(1) : "unset",
1176
+ marginBottom: theme2.spacing(1),
1177
+ //flexDirection === "col" ? theme.spacing(1) : "unset",
1176
1178
  width: "fit-content"
1177
1179
  },
1178
1180
  [`& .${toggleButtonGroupClasses.lastButton}`]: {
1179
- marginBottom: "unset",
1180
1181
  marginRight: "unset"
1181
1182
  },
1182
1183
  [`& .${toggleButtonGroupClasses.middleButton},& .${toggleButtonGroupClasses.lastButton}`]: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mayak-common-library",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -27,6 +27,9 @@
27
27
  "stylis": "^4.3.2",
28
28
  "tailwindcss": "^3.4.4"
29
29
  },
30
+ "peerDependencies": {
31
+ "react-hook-form": "^7.52.0"
32
+ },
30
33
  "devDependencies": {
31
34
  "@contentful/rich-text-types": "^16.8.1",
32
35
  "@svgr/webpack": "^8.1.0",