@useblu/ocean-react 1.34.1 → 1.35.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 +12 -0
- package/FormControl/FormControl.d.ts +1 -0
- package/FormControl/FormControl.d.ts.map +1 -1
- package/Input/Input.d.ts +12 -0
- package/Input/Input.d.ts.map +1 -1
- package/Link/Link.d.ts +10 -9
- package/Link/Link.d.ts.map +1 -1
- package/Link/LinkIcons.d.ts +7 -0
- package/Link/LinkIcons.d.ts.map +1 -0
- package/Typography/Typography.d.ts +1 -1
- package/Typography/Typography.d.ts.map +1 -1
- package/index.es.js +19924 -19780
- package/index.es.js.map +1 -1
- package/index.js +19767 -19623
- package/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.35.1](https://github.com/ocean-ds/ocean-web/compare/v1.35.0...v1.35.1) (2022-10-06)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- correcting camelcase spelling of prop and adding a span attribute ([#1019](https://github.com/ocean-ds/ocean-web/issues/1019)) ([004429f](https://github.com/ocean-ds/ocean-web/commit/004429f71893e220c62ac8831288a6736d9993b0))
|
|
11
|
+
|
|
12
|
+
# [1.35.0](https://github.com/ocean-ds/ocean-web/compare/v1.34.2...v1.35.0) (2022-10-03)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- components adjustments ([#1013](https://github.com/ocean-ds/ocean-web/issues/1013)) ([f6a1aa8](https://github.com/ocean-ds/ocean-web/commit/f6a1aa8d0b5210f048fd4b9c9a17d92971f4a9ad))
|
|
17
|
+
|
|
6
18
|
## [1.34.1](https://github.com/ocean-ds/ocean-web/compare/v1.34.0...v1.34.1) (2022-08-05)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormControl.d.ts","sourceRoot":"","sources":["../../src/FormControl/FormControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FormControl.d.ts","sourceRoot":"","sources":["../../src/FormControl/FormControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,oBAAY,gBAAgB,GAAG;IAI7B,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAI7B,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAOjC,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAIhB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoD3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/Input/Input.d.ts
CHANGED
|
@@ -2,11 +2,23 @@ import React from 'react';
|
|
|
2
2
|
import { FormControlProps } from '../FormControl';
|
|
3
3
|
export declare type InputProps = {
|
|
4
4
|
type?: 'text' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'url';
|
|
5
|
+
label?: string;
|
|
6
|
+
helperText?: string;
|
|
7
|
+
error?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
defaultValue?: string;
|
|
10
|
+
tooltipMessage?: string;
|
|
5
11
|
position?: 'right' | 'left';
|
|
6
12
|
adornment?: React.ReactElement;
|
|
7
13
|
} & Omit<FormControlProps, 'children'> & React.ComponentPropsWithoutRef<'input'>;
|
|
8
14
|
declare const Input: React.ForwardRefExoticComponent<{
|
|
9
15
|
type?: "number" | "text" | "email" | "password" | "search" | "tel" | "url" | undefined;
|
|
16
|
+
label?: string | undefined;
|
|
17
|
+
helperText?: string | undefined;
|
|
18
|
+
error?: boolean | undefined;
|
|
19
|
+
disabled?: boolean | undefined;
|
|
20
|
+
defaultValue?: string | undefined;
|
|
21
|
+
tooltipMessage?: string | undefined;
|
|
10
22
|
position?: "right" | "left" | undefined;
|
|
11
23
|
adornment?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
12
24
|
} & Omit<FormControlProps, "children"> & Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
package/Input/Input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,oBAAY,UAAU,GAAG;IAKvB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,oBAAY,UAAU,GAAG;IAKvB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAC;IAI3E,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,UAAU,CAAC,EAAE,MAAM,CAAC;IAIpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAIhB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAOnB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAI5B,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAChC,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GACpC,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;AAE1C,QAAA,MAAM,KAAK;;;;;;;;;;yOAmET,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
package/Link/Link.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
component?: P;
|
|
5
|
-
} & MergeElementProps<P, {
|
|
6
|
-
inverse?: boolean;
|
|
1
|
+
import React, { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export declare type LinkProps = {
|
|
3
|
+
variant?: 'primary' | 'inverse' | 'neutral';
|
|
7
4
|
size?: 'sm' | 'md';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
declare const Link:
|
|
5
|
+
icon?: 'linkChevron' | 'externalLink';
|
|
6
|
+
} & ComponentPropsWithoutRef<'a'>;
|
|
7
|
+
declare const Link: React.ForwardRefExoticComponent<{
|
|
8
|
+
variant?: "primary" | "inverse" | "neutral" | undefined;
|
|
9
|
+
size?: "sm" | "md" | undefined;
|
|
10
|
+
icon?: "linkChevron" | "externalLink" | undefined;
|
|
11
|
+
} & Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement>> & React.RefAttributes<HTMLAnchorElement>>;
|
|
11
12
|
export default Link;
|
|
12
13
|
//# sourceMappingURL=Link.d.ts.map
|
package/Link/Link.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,wBAAwB,EAAc,MAAM,OAAO,CAAC;AAKpE,oBAAY,SAAS,GAAG;IAKtB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IAK5C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKnB,IAAI,CAAC,EAAE,aAAa,GAAG,cAAc,CAAC;CACvC,GAAG,wBAAwB,CAAC,GAAG,CAAC,CAAC;AAElC,QAAA,MAAM,IAAI;;;;0MAmBR,CAAC;AAEH,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkIcons.d.ts","sourceRoot":"","sources":["../../src/Link/LinkIcons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,aAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,aAAa,GAAG,cAAc,CAAC;CACvC,CAAC;AAOF,QAAA,MAAM,SAAS,2CAgBb,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const defaultTypesMapping: Record<string, string>;
|
|
3
|
-
export declare type Variant = 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'subtitle1' | 'subtitle2' | 'paragraph' | 'lead' | 'description' | 'caption';
|
|
3
|
+
export declare type Variant = 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'subtitle1' | 'subtitle2' | 'paragraph' | 'lead' | 'description' | 'caption';
|
|
4
4
|
export declare type TypographyProps = {
|
|
5
5
|
variant: Variant;
|
|
6
6
|
inverse?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../src/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../src/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAYtD,CAAC;AAEF,oBAAY,OAAO,GACf,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,WAAW,GACX,WAAW,GACX,WAAW,GACX,MAAM,GACN,aAAa,GACb,SAAS,CAAC;AAEd,oBAAY,eAAe,GAAG;IAI5B,OAAO,EAAE,OAAO,CAAC;IAKjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAIlB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAC;AAE3C,QAAA,MAAM,UAAU;aAZL,OAAO;;cASN,MAAM,SAAS;8KAwB1B,CAAC;AAEF,eAAe,UAAU,CAAC"}
|