@instructure/ui-radio-input
Advanced tools
Comparing version 6.16.1-rc.37 to 6.16.1-rc.38
{ | ||
"name": "@instructure/ui-radio-input", | ||
"version": "6.16.1-rc.37+216f3c918", | ||
"version": "6.16.1-rc.38+dddda644f", | ||
"description": "A styled HTML input type='radio' element", | ||
@@ -25,9 +25,9 @@ "author": "Instructure, Inc. Engineering and Product Design", | ||
"@babel/runtime": "^7.5.0", | ||
"@instructure/ui-dom-utils": "6.16.1-rc.37+216f3c918", | ||
"@instructure/ui-form-field": "6.16.1-rc.37+216f3c918", | ||
"@instructure/ui-prop-types": "6.16.1-rc.37+216f3c918", | ||
"@instructure/ui-react-utils": "6.16.1-rc.37+216f3c918", | ||
"@instructure/ui-testable": "6.16.1-rc.37+216f3c918", | ||
"@instructure/ui-themeable": "6.16.1-rc.37+216f3c918", | ||
"@instructure/uid": "6.16.1-rc.37+216f3c918", | ||
"@instructure/ui-dom-utils": "6.16.1-rc.38+dddda644f", | ||
"@instructure/ui-form-field": "6.16.1-rc.38+dddda644f", | ||
"@instructure/ui-prop-types": "6.16.1-rc.38+dddda644f", | ||
"@instructure/ui-react-utils": "6.16.1-rc.38+dddda644f", | ||
"@instructure/ui-testable": "6.16.1-rc.38+dddda644f", | ||
"@instructure/ui-themeable": "6.16.1-rc.38+dddda644f", | ||
"@instructure/uid": "6.16.1-rc.38+dddda644f", | ||
"classnames": "^2", | ||
@@ -37,5 +37,5 @@ "prop-types": "^15" | ||
"devDependencies": { | ||
"@instructure/ui-babel-preset": "6.16.1-rc.37+216f3c918", | ||
"@instructure/ui-color-utils": "6.16.1-rc.37+216f3c918", | ||
"@instructure/ui-test-utils": "6.16.1-rc.37+216f3c918" | ||
"@instructure/ui-babel-preset": "6.16.1-rc.38+dddda644f", | ||
"@instructure/ui-color-utils": "6.16.1-rc.38+dddda644f", | ||
"@instructure/ui-test-utils": "6.16.1-rc.38+dddda644f" | ||
}, | ||
@@ -49,3 +49,3 @@ "peerDependencies": { | ||
"sideEffects": false, | ||
"gitHead": "216f3c918461c069b09ac759456f99ca44c02817" | ||
"gitHead": "dddda644f19724b1abc87fc17cae88f0c8b0655a" | ||
} |
import * as React from 'react'; | ||
export type RadioInputValue = string | number; | ||
export type RadioInputVariant = "simple" | "toggle"; | ||
export type RadioInputSize = "small" | "medium" | "large"; | ||
export type RadioInputContext = "success" | "warning" | "danger" | "off"; | ||
export interface RadioInputProps { | ||
label: React.ReactNode; | ||
value?: RadioInputValue; | ||
id?: string; | ||
name?: string; | ||
checked?: boolean; | ||
/** | ||
* Whether or not to disable the input | ||
*/ | ||
disabled?: boolean; | ||
/** | ||
* Works just like disabled but keeps the same styles as if it were active | ||
*/ | ||
readOnly?: boolean; | ||
variant?: RadioInputVariant; | ||
size?: RadioInputSize; | ||
context?: RadioInputContext; | ||
inline?: boolean; | ||
onClick?: (...args: any[])=>any; | ||
onChange?: (...args: any[])=>any; | ||
} | ||
export class RadioInput extends React.Component<RadioInputProps, any> { | ||
render(): JSX.Element; | ||
} | ||
export type RadioInputGroupDefaultValue = string | number; | ||
@@ -90,1 +52,39 @@ | ||
export type RadioInputValue = string | number; | ||
export type RadioInputVariant = "simple" | "toggle"; | ||
export type RadioInputSize = "small" | "medium" | "large"; | ||
export type RadioInputContext = "success" | "warning" | "danger" | "off"; | ||
export interface RadioInputProps { | ||
label: React.ReactNode; | ||
value?: RadioInputValue; | ||
id?: string; | ||
name?: string; | ||
checked?: boolean; | ||
/** | ||
* Whether or not to disable the input | ||
*/ | ||
disabled?: boolean; | ||
/** | ||
* Works just like disabled but keeps the same styles as if it were active | ||
*/ | ||
readOnly?: boolean; | ||
variant?: RadioInputVariant; | ||
size?: RadioInputSize; | ||
context?: RadioInputContext; | ||
inline?: boolean; | ||
onClick?: (...args: any[])=>any; | ||
onChange?: (...args: any[])=>any; | ||
} | ||
export class RadioInput extends React.Component<RadioInputProps, any> { | ||
render(): JSX.Element; | ||
} | ||
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package