@moda/om 15.11.4 → 16.1.1

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,32 @@
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.1.1](https://github.com/ModaOperandi/om/compare/v16.1.0...v16.1.1) (2022-05-26)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **checkbox:** renames prop to `checkIcon` instead of `showCheckUsing` ([c2bb15e](https://github.com/ModaOperandi/om/commit/c2bb15e9da1bd8b427a1c9ccfa48e7d231cb5046))
12
+
13
+ # [16.1.0](https://github.com/ModaOperandi/om/compare/v16.0.0...v16.1.0) (2022-05-24)
14
+
15
+
16
+ ### Features
17
+
18
+ * **checkbox:** swaps the mark from defaulting a bullet to a check mark icon ([#2650](https://github.com/ModaOperandi/om/issues/2650)) ([d8e42c3](https://github.com/ModaOperandi/om/commit/d8e42c31eff9095acd6d2ef5a01939d74835de35))
19
+
20
+ # [16.0.0](https://github.com/ModaOperandi/om/compare/v15.11.4...v16.0.0) (2022-05-12)
21
+
22
+
23
+ ### Features
24
+
25
+ * **dependencies:** upgrade to React 18 ([#2602](https://github.com/ModaOperandi/om/issues/2602)) ([bf413bf](https://github.com/ModaOperandi/om/commit/bf413bfccb02e980dfd7ccd19c49afa764427753))
26
+
27
+
28
+ ### BREAKING CHANGES
29
+
30
+ * **dependencies:** this package has react >= 18.1.0 and react-dom >= 18.1.0 as peer dependencies now
31
+
6
32
  ## [15.11.4](https://github.com/ModaOperandi/om/compare/v15.11.3...v15.11.4) (2021-12-14)
7
33
 
8
34
 
@@ -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>;
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
2
  import './Checkbox.scss';
3
+ export declare type ShowCheckedUsing = 'checkmark' | 'circle';
3
4
  export declare type CheckboxProps = React.InputHTMLAttributes<HTMLInputElement> & {
4
5
  children?: JSX.Element | string;
6
+ checkIcon?: ShowCheckedUsing;
5
7
  };
6
8
  export declare const Checkbox: React.FC<CheckboxProps>;