Socket
Book a DemoInstallSign in
Socket

@useblu/ocean-components

Package Overview
Dependencies
Maintainers
4
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@useblu/ocean-components - npm Package Compare versions

Comparing version

to
0.1.0-beta.8

dist/Input/index.d.ts

2

dist/index.d.ts

@@ -7,1 +7,3 @@ export { default as Typography } from './Typography';

export * from './Button';
export { default as Input } from './Input';
export * from './Input';

@@ -185,3 +185,11 @@ import React from 'react';

export { Button, Col, Container, index as Grid, Row, Typography };
var Input = React.forwardRef(function Input(_a, ref) {
var type = _a.type, className = _a.className, label = _a.label, helperText = _a.helperText, blocked = _a.blocked, error = _a.error, id = _a.id, rest = __rest(_a, ["type", "className", "label", "helperText", "blocked", "error", "id"]);
return (React.createElement("div", { className: "ods-input__root" },
label && (React.createElement("label", { className: "ods-input__label", htmlFor: id }, label)),
React.createElement("input", __assign({ ref: ref, type: type || 'text', id: id, className: classnames('ods-input', blocked && 'ods-input--blocked', error && 'ods-input--error', className) }, rest)),
helperText && (React.createElement("p", { className: classnames('ods-input__helper-text', error && 'ods-input__helper-text--error') }, helperText))));
});
export { Button, Col, Container, index as Grid, Input, Row, Typography };
//# sourceMappingURL=index.es.js.map

@@ -191,2 +191,10 @@ 'use strict';

var Input = React.forwardRef(function Input(_a, ref) {
var type = _a.type, className = _a.className, label = _a.label, helperText = _a.helperText, blocked = _a.blocked, error = _a.error, id = _a.id, rest = __rest(_a, ["type", "className", "label", "helperText", "blocked", "error", "id"]);
return (React.createElement("div", { className: "ods-input__root" },
label && (React.createElement("label", { className: "ods-input__label", htmlFor: id }, label)),
React.createElement("input", __assign({ ref: ref, type: type || 'text', id: id, className: classnames('ods-input', blocked && 'ods-input--blocked', error && 'ods-input--error', className) }, rest)),
helperText && (React.createElement("p", { className: classnames('ods-input__helper-text', error && 'ods-input__helper-text--error') }, helperText))));
});
exports.Button = Button;

@@ -196,4 +204,5 @@ exports.Col = Col;

exports.Grid = index;
exports.Input = Input;
exports.Row = Row;
exports.Typography = Typography;
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@useblu/ocean-components",
"version": "0.1.0-beta.7",
"version": "0.1.0-beta.8",
"description": "React components that implement Ocean's Design System.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.