@useblu/ocean-react 1.112.1 → 1.113.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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.113.0](https://github.com/ocean-ds/ocean-web/compare/v1.112.1...v1.113.0) (2025-10-22)
7
+
8
+ ### Features
9
+
10
+ - updates modals ([#1193](https://github.com/ocean-ds/ocean-web/issues/1193)) ([ea8c934](https://github.com/ocean-ds/ocean-web/commit/ea8c934ec926dddb7f99d350019d977867e28566))
11
+
6
12
  ## [1.112.1](https://github.com/ocean-ds/ocean-web/compare/v1.112.0...v1.112.1) (2025-10-07)
7
13
 
8
14
  ### Bug Fixes
package/Modal/Modal.d.ts CHANGED
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import ReactModal from 'react-modal';
3
3
  export type ModalProps = {
4
4
  blocked?: boolean;
5
- maxWidth?: 'sm' | 'md' | 'lg' | false;
5
+ maxWidth?: 'sm' | 'md' | 'lg' | 'xl' | false;
6
6
  disableClose?: boolean;
7
7
  onRequestClose(event: React.MouseEvent | React.KeyboardEvent): void;
8
8
  } & ReactModal.Props;
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,aAAa,CAAC;AAIrC,MAAM,MAAM,UAAU,GAAG;IAMvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAOlB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IAMtC,YAAY,CAAC,EAAE,OAAO,CAAC;IAIvB,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,GAAG,IAAI,CAAC;CACrE,GAAG,UAAU,CAAC,KAAK,CAAC;AAErB,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAyC/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,aAAa,CAAC;AAIrC,MAAM,MAAM,UAAU,GAAG;IAMvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAOlB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IAM7C,YAAY,CAAC,EAAE,OAAO,CAAC;IAIvB,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,GAAG,IAAI,CAAC;CACrE,GAAG,UAAU,CAAC,KAAK,CAAC;AAErB,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAyC/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
package/index.es.js CHANGED
@@ -8713,7 +8713,7 @@ var Modal = function (_a) {
8713
8713
  beforeClose: 'ods-modal__content--before-close',
8714
8714
  }, onRequestClose: onRequestClose }, rest),
8715
8715
  e.createElement("div", { className: "ods-modal__header" }, !disableClose && (e.createElement("button", { type: "button", className: "ods-modal__header-close", "aria-label": "Close modal", onClick: onRequestClose },
8716
- e.createElement(yo, null)))),
8716
+ e.createElement(yo, { size: 20 })))),
8717
8717
  e.createElement("div", { className: "ods-modal__body" }, children)));
8718
8718
  };
8719
8719