urfu-ui-kit-react 0.0.22 → 0.0.23

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.
@@ -4801,20 +4801,21 @@ const W_ = ({
4801
4801
  active: G,
4802
4802
  children: O,
4803
4803
  maxWidth: fe = "900px",
4804
- className: j = ""
4804
+ maxHeight: j,
4805
+ className: se = ""
4805
4806
  }) => /* @__PURE__ */ F.jsx(
4806
4807
  "div",
4807
4808
  {
4808
- className: `${G ? "u-modal u-modal-active" : "u-modal"} ${j}`,
4809
+ className: `${G ? "u-modal u-modal-active" : "u-modal"} ${se}`,
4809
4810
  onClick: L,
4810
4811
  children: /* @__PURE__ */ F.jsx("div", { className: "u-modal__container", children: /* @__PURE__ */ F.jsxs(
4811
4812
  "div",
4812
4813
  {
4813
4814
  className: "u-modal__body",
4814
- onClick: (se) => {
4815
- se.stopPropagation();
4815
+ onClick: (g) => {
4816
+ g.stopPropagation();
4816
4817
  },
4817
- style: { width: "100%", maxWidth: fe },
4818
+ style: { width: "100%", maxWidth: fe, height: j && "100%", maxHeight: j },
4818
4819
  children: [
4819
4820
  O,
4820
4821
  /* @__PURE__ */ F.jsx("div", { className: "u-modal__exit", children: /* @__PURE__ */ F.jsx("button", { className: "u-button-cross", onClick: L }) })
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "UrFU UI-Kit for React Web",
4
4
  "license": "UNLICENSED",
5
5
  "private": false,
6
- "version": "0.0.22",
6
+ "version": "0.0.23",
7
7
  "type": "module",
8
8
  "main": "dist/urfu-ui-kit-react",
9
9
  "types": "dist/urfu-ui-kit-react",
@@ -20,7 +20,7 @@
20
20
  "air-datepicker": "^3.5.1",
21
21
  "react": "^18.3.1",
22
22
  "react-dom": "^18.3.1",
23
- "urfu-ui-kit-vanilla": "^1.1.18"
23
+ "urfu-ui-kit-vanilla": "^1.1.19"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@chromatic-com/storybook": "^1.3.3",