@onfido/castor
Advanced tools
Comparing version 2.1.0 to 2.2.0
export * from './button/button'; | ||
export * from './checkbox/checkbox'; | ||
export * from './combobox/combobox'; | ||
export * from './field/field'; | ||
@@ -8,2 +9,3 @@ export * from './form/form'; | ||
export * from './input/input'; | ||
export * from './option-list/option-list'; | ||
export * from './popover/popover'; | ||
@@ -10,0 +12,0 @@ export * from './progress/progress'; |
{ | ||
"name": "@onfido/castor", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Onfido's design system.", | ||
@@ -31,3 +31,3 @@ "author": "Onfido", | ||
"@onfido/castor-tokens": "^1.0.0-beta.5", | ||
"csstype": "^3.0.11" | ||
"csstype": "^3.1.0" | ||
}, | ||
@@ -34,0 +34,0 @@ "peerDependencies": { |
export * from './button/button'; | ||
export * from './checkbox/checkbox'; | ||
export * from './combobox/combobox'; | ||
export * from './field/field'; | ||
@@ -8,2 +9,3 @@ export * from './form/form'; | ||
export * from './input/input'; | ||
export * from './option-list/option-list'; | ||
export * from './popover/popover'; | ||
@@ -10,0 +12,0 @@ export * from './progress/progress'; |
@@ -38,9 +38,17 @@ import { html, htmlMatrix, Meta, omit, Story } from '../../../../../docs'; | ||
children: 'Select an option...', | ||
disabled: true, | ||
hidden: true, | ||
selected: true, | ||
value: '', | ||
}), | ||
html('option', { children: 'Option 1', value: 1 }), | ||
html('option', { children: 'Option 2', value: 2 }), | ||
html('option', { children: 'Option 3', value: 3 }), | ||
html('option', { children: 'Option', value: 1 }), | ||
html('option', { children: 'Disabled option', value: 2, disabled: true }), | ||
html('option', { | ||
children: 'Longer option that is quite long', | ||
value: 'long', | ||
}), | ||
html('option', { | ||
children: | ||
'An enormously long option that we truncate when it gets too long', | ||
value: 'enormous', | ||
}), | ||
], | ||
@@ -60,19 +68,2 @@ borderless: false, | ||
export const AsRequired: Story<SelectProps> = { | ||
args: { | ||
children: [ | ||
html('option', { | ||
children: 'Select an option...', | ||
disabled: true, | ||
selected: true, | ||
value: '', | ||
}), | ||
html('option', { children: 'Option 1', value: 1 }), | ||
html('option', { children: 'Option 2', value: 2 }), | ||
html('option', { children: 'Option 3', value: 3 }), | ||
], | ||
required: true, | ||
}, | ||
}; | ||
export const WithEmptyModifier: Story<SelectProps> = { | ||
@@ -79,0 +70,0 @@ args: { |
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
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
187976
204
2301
Updatedcsstype@^3.1.0