@cmsgov/design-system
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -142,3 +142,3 @@ "use strict"; | ||
className: labelClassName, | ||
component: 'label', | ||
component: "label", | ||
errorMessage: errorMessage, | ||
@@ -145,0 +145,0 @@ fieldId: this.id(), |
@@ -128,3 +128,3 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
className: labelClassName, | ||
component: 'label', | ||
component: "label", | ||
errorMessage: errorMessage, | ||
@@ -131,0 +131,0 @@ fieldId: this.id(), |
import * as React from 'react'; | ||
import { ChoiceProps } from './Choice'; | ||
import { ChoiceProps as ChoiceComponentProps } from './Choice'; | ||
@@ -8,2 +8,13 @@ export type ChoiceListSize = 'small'; | ||
// Omit props that we override with values from the ChoiceList | ||
type OmitChoiceProp = | ||
| 'inversed' | ||
| 'name' | ||
| 'onBlur' | ||
| 'onChange' | ||
| 'size' | ||
| 'type' | ||
| 'inputRef'; | ||
export type ChoiceProps = Omit<ChoiceComponentProps, OmitChoiceProp>; | ||
export interface ChoiceListProps { | ||
@@ -10,0 +21,0 @@ /** |
{ | ||
"name": "@cmsgov/design-system", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"publishConfig": { | ||
@@ -32,3 +32,3 @@ "access": "public", | ||
}, | ||
"gitHead": "83c7749895e64b3fd87ded114d885579e487a9ab" | ||
"gitHead": "3562d381aa7bb78fe544cd42ddc6afcda3b18a32" | ||
} |
@@ -93,3 +93,3 @@ import FormLabel from '../FormLabel/FormLabel'; | ||
className={labelClassName} | ||
component={'label'} | ||
component="label" | ||
errorMessage={errorMessage} | ||
@@ -96,0 +96,0 @@ fieldId={this.id()} |
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
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
1702029
15884