Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@useblu/ocean-react

Package Overview
Dependencies
Maintainers
3
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@useblu/ocean-react - npm Package Compare versions

Comparing version 1.1.0-next to 1.1.0

2

Button/Button.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc