@moda/om 15.7.0 → 15.10.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 +31 -0
- package/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/Divider/Divider.d.ts +4 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts +7 -0
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts +6 -0
- package/dist/components/PasswordInput/index.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs.js +263 -187
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +105 -28
- package/dist/index.esm.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +6 -6
- package/src/components/Badge/Badge.scss +3 -3
- package/src/components/Badge/Badge.stories.tsx +3 -3
- package/src/components/Badge/Badge.test.tsx +4 -2
- package/src/components/Badge/Badge.tsx +1 -1
- package/src/components/Divider/Divider.scss +0 -5
- package/src/components/Divider/Divider.test.tsx +3 -3
- package/src/components/Divider/Divider.tsx +31 -5
- package/src/components/PasswordInput/PasswordInput.scss +15 -0
- package/src/components/PasswordInput/PasswordInput.stories.tsx +11 -0
- package/src/components/PasswordInput/PasswordInput.tsx +37 -0
- package/src/components/PasswordInput/index.ts +1 -0
- package/src/components/index.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,37 @@
|
|
|
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
|
+
# [15.10.0](https://github.com/ModaOperandi/om/compare/v15.9.0...v15.10.0) (2021-10-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **password-input:** forwarded the input ref ([#2069](https://github.com/ModaOperandi/om/issues/2069)) ([a015c01](https://github.com/ModaOperandi/om/commit/a015c0164c26ff5d243b7735f2a142b80a87dcb6))
|
|
12
|
+
|
|
13
|
+
# [15.9.0](https://github.com/ModaOperandi/om/compare/v15.8.0...v15.9.0) (2021-09-30)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **divider:** allow specifying text treatment ([#2028](https://github.com/ModaOperandi/om/issues/2028)) ([3ce91ca](https://github.com/ModaOperandi/om/commit/3ce91ca5a201c779ca6cc061fd7be0939c4f2fe0))
|
|
19
|
+
|
|
20
|
+
# [15.8.0](https://github.com/ModaOperandi/om/compare/v15.7.1...v15.8.0) (2021-09-15)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* **input:** add ...rest ([9945754](https://github.com/ModaOperandi/om/commit/99457548aa43fbe40eb953bebac76e0ba1a6a6f4))
|
|
26
|
+
* **input:** new password input component ([eaea22f](https://github.com/ModaOperandi/om/commit/eaea22f5c8ce4af79c8450bc66f20e375a5e94b7))
|
|
27
|
+
* **input:** prop updates ([1bf337c](https://github.com/ModaOperandi/om/commit/1bf337c6328fbed707f764d2e4c5171813e40e53))
|
|
28
|
+
* **input:** removed data test id as prop ([1ca517d](https://github.com/ModaOperandi/om/commit/1ca517d3a913d22012ec15b8d6a3116498eabd17))
|
|
29
|
+
|
|
30
|
+
## [15.7.1](https://github.com/ModaOperandi/om/compare/v15.7.0...v15.7.1) (2021-09-03)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* **badge:** fix the way we set the badge colors ([#1970](https://github.com/ModaOperandi/om/issues/1970)) ([9060ef0](https://github.com/ModaOperandi/om/commit/9060ef0444c7bdc3d2c5b888425ecff9e257be89))
|
|
36
|
+
|
|
6
37
|
# [15.7.0](https://github.com/ModaOperandi/om/compare/v15.6.1...v15.7.0) (2021-07-23)
|
|
7
38
|
|
|
8
39
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './Badge.scss';
|
|
3
|
-
export declare type BadgeTheme = '
|
|
3
|
+
export declare type BadgeTheme = 'forest-green' | 'klein-blue' | 'brick' | 'dark-fuchsia';
|
|
4
4
|
export declare type BadgeProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
5
5
|
theme?: BadgeTheme;
|
|
6
6
|
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { TextTreatment, TextColor, TextFontFamily } from '../Text';
|
|
2
3
|
import './Divider.scss';
|
|
3
4
|
export declare type DividerProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
4
5
|
text?: string;
|
|
6
|
+
treatment?: TextTreatment;
|
|
7
|
+
color?: TextColor;
|
|
8
|
+
family?: TextFontFamily;
|
|
5
9
|
type?: 'no-line' | 'two-line';
|
|
6
10
|
verticalPadding?: string;
|
|
7
11
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FieldProps } from '../Field';
|
|
3
|
+
import './PasswordInput.scss';
|
|
4
|
+
export declare type PasswordInputProps = FieldProps;
|
|
5
|
+
export declare const PasswordInput: React.ForwardRefExoticComponent<import("..").InputProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange"> & {
|
|
6
|
+
children?: JSX.Element | undefined;
|
|
7
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PasswordInput';
|