@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 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 = 'bestseller' | 'trending' | 'fall-essential' | 'dark-fuchsia';
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,6 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const Default: () => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './PasswordInput';
@@ -34,3 +34,4 @@ export * from './Textarea';
34
34
  export * from './TextInput';
35
35
  export * from './Toast';
36
36
  export * from './VerticalDivider';
37
+ export * from './PasswordInput';