@useblu/ocean-components
Advanced tools
Comparing version
@@ -202,5 +202,5 @@ import React from 'react'; | ||
var Radio = React.forwardRef(function Radio(_a, ref) { | ||
var className = _a.className, label = _a.label, id = _a.id, _b = _a.disabled, disabled = _b === void 0 ? false : _b, rest = __rest(_a, ["className", "label", "id", "disabled"]); | ||
var className = _a.className, label = _a.label, id = _a.id, rest = __rest(_a, ["className", "label", "id"]); | ||
return (React.createElement("label", { className: "ods-radio__root", htmlFor: id }, | ||
React.createElement("input", __assign({ ref: ref, id: id, className: classnames('ods-radio', className), disabled: disabled }, rest, { type: "radio" })), | ||
React.createElement("input", __assign({ ref: ref, id: id, className: classnames('ods-radio', className) }, rest, { type: "radio" })), | ||
React.createElement("span", { className: "ods-radio__checkmark" }), | ||
@@ -207,0 +207,0 @@ label && (React.createElement("span", { className: "ods-typography ods-typography__paragraph ods-radio__label" }, label)))); |
@@ -208,5 +208,5 @@ 'use strict'; | ||
var Radio = React.forwardRef(function Radio(_a, ref) { | ||
var className = _a.className, label = _a.label, id = _a.id, _b = _a.disabled, disabled = _b === void 0 ? false : _b, rest = __rest(_a, ["className", "label", "id", "disabled"]); | ||
var className = _a.className, label = _a.label, id = _a.id, rest = __rest(_a, ["className", "label", "id"]); | ||
return (React.createElement("label", { className: "ods-radio__root", htmlFor: id }, | ||
React.createElement("input", __assign({ ref: ref, id: id, className: classnames('ods-radio', className), disabled: disabled }, rest, { type: "radio" })), | ||
React.createElement("input", __assign({ ref: ref, id: id, className: classnames('ods-radio', className) }, rest, { type: "radio" })), | ||
React.createElement("span", { className: "ods-radio__checkmark" }), | ||
@@ -213,0 +213,0 @@ label && (React.createElement("span", { className: "ods-typography ods-typography__paragraph ods-radio__label" }, label)))); |
{ | ||
"name": "@useblu/ocean-components", | ||
"version": "0.1.0-beta.12", | ||
"version": "0.1.0-beta.13", | ||
"description": "React components that implement Ocean's Design System.", | ||
@@ -38,10 +38,10 @@ "main": "dist/index.js", | ||
"@rollup/plugin-node-resolve": "^8.4.0", | ||
"@storybook/addon-a11y": "^6.0.1", | ||
"@storybook/addon-backgrounds": "^6.0.1", | ||
"@storybook/addon-controls": "^6.0.1", | ||
"@storybook/addon-docs": "^6.0.1", | ||
"@storybook/addon-viewport": "^6.0.1", | ||
"@storybook/react": "^6.0.1", | ||
"@storybook/addon-a11y": "^6.0.2", | ||
"@storybook/addon-backgrounds": "^6.0.2", | ||
"@storybook/addon-controls": "^6.0.2", | ||
"@storybook/addon-docs": "^6.0.2", | ||
"@storybook/addon-viewport": "^6.0.2", | ||
"@storybook/react": "^6.0.2", | ||
"@storybook/storybook-deployer": "^2.8.6", | ||
"@testing-library/jest-dom": "^5.11.2", | ||
"@testing-library/jest-dom": "^5.11.3", | ||
"@testing-library/react": "^10.4.8", | ||
@@ -48,0 +48,0 @@ "@types/classnames": "2.2.10", |
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
197633
-0.05%