@useblu/ocean-react
Advanced tools
Comparing version 1.1.0-next to 1.1.0
import React from 'react'; | ||
import { MergeElementProps } from '../_util/type'; | ||
declare type ButtonProps<P extends React.ElementType = 'button'> = { | ||
export declare type ButtonProps<P extends React.ElementType = 'button'> = { | ||
component?: P; | ||
@@ -5,0 +5,0 @@ } & MergeElementProps<P, { |
@@ -6,2 +6,8 @@ # Change Log | ||
# [1.1.0](https://github.com/Pagnet/ocean-ds-web/compare/v1.0.2...v1.1.0) (2021-05-01) | ||
### Features | ||
- **ocean-react:** export prop types ([476e809](https://github.com/Pagnet/ocean-ds-web/commit/476e8096c71f2349e98f478300dbee97117d4b30)) | ||
## [1.0.2](https://github.com/Pagnet/ocean-ds-web/compare/v1.0.1...v1.0.2) (2021-04-29) | ||
@@ -8,0 +14,0 @@ |
import React from 'react'; | ||
export declare type CheckboxProps = { | ||
label?: React.ReactNode; | ||
} & React.ComponentPropsWithoutRef<'input'>; | ||
declare const Checkbox: React.ForwardRefExoticComponent<{ | ||
@@ -3,0 +6,0 @@ label?: React.ReactNode; |
import React from 'react'; | ||
declare type RowColWidth = '1' | '2' | '3' | '4' | '5' | '6'; | ||
export declare type RowProps = { | ||
noGutters?: boolean; | ||
xs?: RowColWidth; | ||
sm?: RowColWidth; | ||
md?: RowColWidth; | ||
lg?: RowColWidth; | ||
xl?: RowColWidth; | ||
} & React.ComponentPropsWithoutRef<'div'>; | ||
declare const Row: React.ForwardRefExoticComponent<{ | ||
@@ -4,0 +12,0 @@ noGutters?: boolean | undefined; |
@@ -21,4 +21,2 @@ export { default as Typography } from './Typography'; | ||
export * from './Switch'; | ||
export { default as Modal } from './Modal'; | ||
export * from './Modal'; | ||
//# sourceMappingURL=index.d.ts.map |
import React from 'react'; | ||
import { FormControlProps } from '../FormControl'; | ||
export declare type InputProps = { | ||
type?: 'text' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'url'; | ||
} & Omit<FormControlProps, 'children'> & React.ComponentPropsWithoutRef<'input'>; | ||
declare const Input: React.ForwardRefExoticComponent<{ | ||
@@ -4,0 +7,0 @@ type?: "number" | "text" | "email" | "password" | "search" | "tel" | "url" | undefined; |
import React from 'react'; | ||
import { MergeElementProps } from '../_util/type'; | ||
declare type LinkProps<P extends React.ElementType = 'a'> = { | ||
export declare type LinkProps<P extends React.ElementType = 'a'> = { | ||
component?: P; | ||
@@ -5,0 +5,0 @@ } & MergeElementProps<P, { |
{ | ||
"name": "@useblu/ocean-react", | ||
"version": "1.1.0-next", | ||
"version": "1.1.0", | ||
"private": false, | ||
@@ -25,6 +25,3 @@ "description": "React components that implement Ocean's Design System.", | ||
"@reach/auto-id": "0.15.0", | ||
"@types/react-modal": "3.12.0", | ||
"@useblu/ocean-icons-react": "0.1.5", | ||
"classnames": "2.3.1", | ||
"react-modal": "3.13.1" | ||
"classnames": "2.3.1" | ||
}, | ||
@@ -37,6 +34,6 @@ "peerDependencies": { | ||
"publishConfig": { | ||
"access": "public", | ||
"cache": "~/.npm" | ||
"access": "public" | ||
}, | ||
"sideEffects": false | ||
"sideEffects": false, | ||
"gitHead": "169450a1d20e16c908113164d2f3a61148daac33" | ||
} |
import React from 'react'; | ||
export declare type RadioProps = { | ||
label?: React.ReactNode; | ||
} & React.ComponentPropsWithoutRef<'input'>; | ||
declare const Radio: React.ForwardRefExoticComponent<{ | ||
@@ -3,0 +6,0 @@ label?: React.ReactNode; |
import React from 'react'; | ||
export declare type SwitchProps = React.ComponentPropsWithoutRef<'input'>; | ||
declare const Switch: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>; | ||
export default Switch; | ||
//# sourceMappingURL=Switch.d.ts.map |
import React from 'react'; | ||
import { FormControlProps } from '../FormControl'; | ||
export declare type TextAreaProps = Omit<FormControlProps, 'children'> & React.ComponentPropsWithoutRef<'textarea'>; | ||
declare const TextArea: React.ForwardRefExoticComponent<Omit<FormControlProps, "children"> & Pick<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "key" | keyof React.TextareaHTMLAttributes<HTMLTextAreaElement>> & React.RefAttributes<HTMLTextAreaElement>>; | ||
export default TextArea; | ||
//# sourceMappingURL=TextArea.d.ts.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
5
1
0
261602
78
1376
1
- Removed@types/react-modal@3.12.0
- Removed@useblu/ocean-icons-react@0.1.5
- Removedreact-modal@3.13.1
- Removed@types/react@19.0.6(transitive)
- Removed@types/react-modal@3.12.0(transitive)
- Removed@useblu/ocean-icons-react@0.1.5(transitive)
- Removedcsstype@3.1.3(transitive)
- Removedexenv@1.2.2(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedreact-lifecycles-compat@3.0.4(transitive)
- Removedreact-modal@3.13.1(transitive)
- Removedwarning@4.0.3(transitive)