diff --git a/packages/vanilla/assets/images/angle-arrow-down-gray-90.svg b/packages/vanilla/assets/images/angle-arrow-down-gray-90.svg new file mode 100644 index 00000000..1a5d2442 --- /dev/null +++ b/packages/vanilla/assets/images/angle-arrow-down-gray-90.svg @@ -0,0 +1 @@ +angle-arrow-down-gray-90 \ No newline at end of file diff --git a/packages/vanilla/src/components/select/select.stories.js b/packages/vanilla/src/components/select/select.stories.js new file mode 100644 index 00000000..d4ed8285 --- /dev/null +++ b/packages/vanilla/src/components/select/select.stories.js @@ -0,0 +1,104 @@ +export default { + title: 'Patterns', + parameters: { + html: { + root: '.cbp-form' + } + }, + argTypes: { + label: { + name: 'Label', + description: 'Represents a caption for the `` element.', + control: { type: 'text' } + }, + inputId: { + name: 'Input ID', + description: 'The `id` on the native `select` tag, required to link the `label` and `select` for accessibility purposes.', + control: { type: 'text' } + }, + formControlName: { + name: 'Input Name', + description: 'Name of the form control in the input element. Submitted with the form as part of a name/value pair.', + control: { type: 'text' } + }, + errorMessage: { + name: 'Error Message', + description: 'A message in the input description that a problem has occurred.', + control: { type: 'text' } + }, + optionsObj: { + name: 'Options Object', + description: 'Sets the label of the `