@moda/om 15.11.4 → 16.0.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 +12 -0
- package/dist/components/Breakpoint/Breakpoint.d.ts +3 -1
- package/dist/components/Breakpoint/BreakpointProvider.d.ts +1 -0
- package/dist/index.cjs.js +3508 -3092
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3429 -3013
- package/dist/index.esm.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +35 -35
- package/src/components/Breakpoint/Breakpoint.tsx +1 -1
- package/src/components/Breakpoint/BreakpointProvider.tsx +1 -0
- package/src/components/Checkbox/Checkbox.test.tsx +4 -4
- package/src/components/CreditCardNumberInput/CreditCardNumberInput.tsx +6 -3
- package/src/components/Field/Field.test.tsx +1 -1
- package/src/components/Modal/Modal.test.tsx +3 -3
- package/src/components/Select/Select.test.tsx +12 -17
- package/src/components/Select/Select.tsx +1 -1
- package/src/components/Select/SelectOption.tsx +1 -1
- package/src/components/Tag/Tag.test.tsx +2 -2
- package/src/components/Toast/Toast.test.tsx +2 -2
- package/src/hooks/useClickOutside.ts +2 -2
- package/src/hooks/useKeyboardListNavigation.spec.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [16.0.0](https://github.com/ModaOperandi/om/compare/v15.11.4...v16.0.0) (2022-05-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **dependencies:** upgrade to React 18 ([#2602](https://github.com/ModaOperandi/om/issues/2602)) ([bf413bf](https://github.com/ModaOperandi/om/commit/bf413bfccb02e980dfd7ccd19c49afa764427753))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* **dependencies:** this package has react >= 18.1.0 and react-dom >= 18.1.0 as peer dependencies now
|
|
17
|
+
|
|
6
18
|
## [15.11.4](https://github.com/ModaOperandi/om/compare/v15.11.3...v15.11.4) (2021-12-14)
|
|
7
19
|
|
|
8
20
|
|
|
@@ -9,6 +9,8 @@ declare type GreaterThan = {
|
|
|
9
9
|
declare type LessThan = {
|
|
10
10
|
lt: string;
|
|
11
11
|
};
|
|
12
|
-
export declare type BreakpointProps = At | GreaterThan | LessThan
|
|
12
|
+
export declare type BreakpointProps = (At | GreaterThan | LessThan) & {
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
};
|
|
13
15
|
export declare const Breakpoint: React.FC<BreakpointProps>;
|
|
14
16
|
export {};
|
|
@@ -10,6 +10,7 @@ export declare type BreakpointProviderProps = {
|
|
|
10
10
|
* this is useful for SSR (with some kind of device detection) and hydration on client-side
|
|
11
11
|
*/
|
|
12
12
|
defaultWidth?: 'auto' | number;
|
|
13
|
+
children?: React.ReactNode;
|
|
13
14
|
};
|
|
14
15
|
export declare const BreakpointContext: React.Context<BreakpointProviderProps>;
|
|
15
16
|
export declare const BreakpointProvider: React.FC<BreakpointProviderProps>;
|