Skip to content

Commit

Permalink
chore(devenv): update variant labels (#784)
Browse files Browse the repository at this point in the history
* chore(devenv): update variant labels

* chore(devenv): modal config update
  • Loading branch information
asudoh committed May 30, 2018
1 parent 01dbb91 commit 69175d3
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 33 deletions.
2 changes: 1 addition & 1 deletion src/components/card/card.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Card',
notes: `
Cards provide an at-a glance preview of the content they link to and frequently contain
easily-consumable content.
Expand Down
2 changes: 1 addition & 1 deletion src/components/code-snippet/code-snippet.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = {
},
{
name: 'inline-light',
label: 'Inline Light',
label: 'Inline (Light)',
notes: `
Code snippets are small blocks of reusable code that can be inserted in a code file.
Expand Down
2 changes: 1 addition & 1 deletion src/components/combo-box/combo-box.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Combo Box',
},
{
name: 'disabled',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Detail Page Header',
},
{
name: 'with-tabs',
Expand Down
6 changes: 3 additions & 3 deletions src/components/dropdown/dropdown.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Dropdown',
notes: `
The Dropdown component is used for navigating or filtering existing content.
`,
},
{
name: 'light',
label: 'Light',
label: 'Dropdown (Light)',
context: {
light: true,
},
Expand All @@ -25,7 +25,7 @@ module.exports = {
},
{
name: 'up-light',
label: 'Up light',
label: 'Up (Light)',
context: {
up: true,
light: true,
Expand Down
4 changes: 2 additions & 2 deletions src/components/form/form.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Form',
notes: 'Forms are widely used to collect user input.',
},
{
name: 'light',
label: 'Light',
label: 'Form (Light)',
context: {
light: true,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Interior Left Nav',
notes: `
Interior left navigation organizes the content structure and provides
context to support user orientation. This pattern accommodates the
Expand Down
2 changes: 1 addition & 1 deletion src/components/list-box/list-box.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'List Box',
},
{
name: 'inline',
Expand Down
2 changes: 1 addition & 1 deletion src/components/loading/loading.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Loading',
notes: `
Loading spinners are used when retrieving data or performing slow computations,
and help to notify users that loading is underway.
Expand Down
8 changes: 4 additions & 4 deletions src/components/modal/modal.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Transactional Modal',
notes: `
Modals communicate information via a secondary window and allow the user to maintain the context of a particular task.
`,
Expand All @@ -19,8 +19,8 @@ module.exports = {
},
{
name: 'nofooter',
label: 'Without footer',
notes: 'Passive modals are modals without footers.',
label: 'Passive Modal',
notes: 'Passive Modals are modals without footers.',
context: {
idSuffix: Math.random()
.toString(36)
Expand All @@ -32,7 +32,7 @@ module.exports = {
},
{
name: 'danger',
label: 'Danger',
label: 'Danger Modal',
context: {
idSuffix: Math.random()
.toString(36)
Expand Down
2 changes: 1 addition & 1 deletion src/components/multi-select/multi-select.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Multi Select',
},
{
name: 'inline',
Expand Down
7 changes: 4 additions & 3 deletions src/components/number-input/number-input.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Number Input',
notes: `
Number inputs are similar to text fields, but contain controls used to increase or decrease an incremental value. The Number Input component can be passed a starting value, a min, a max, and the step.
Number inputs are similar to text fields, but contain controls used to increase or decrease an incremental value.
The Number Input component can be passed a starting value, a min, a max, and the step.
`,
},
{
name: 'light',
label: 'Light',
label: 'Number Input (Light)',
context: {
light: true,
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/order-summary/order-summary.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Order Summary',
notes: `
This component is used to display the items a user will be purchasing.
This version does not include OrderSummaryCategory.
Expand Down
8 changes: 4 additions & 4 deletions src/components/search/search.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
variants: [
{
name: 'large',
label: 'Normal',
label: 'Normal search',
notes: `
Search enables users to specify a word or a phrase to find particular relevant pieces of content
without the use of navigation. Search can be used as the primary means of discovering content,
Expand All @@ -17,7 +17,7 @@ module.exports = {
},
{
name: 'small',
label: 'Small',
label: 'Small search',
notes: `
Search enables users to specify a word or a phrase to find particular relevant pieces of content
without the use of navigation. Search can be used as the primary means of discovering content,
Expand All @@ -30,7 +30,7 @@ module.exports = {
},
{
name: 'large-light',
label: 'Normal Light',
label: 'Normal search (Light)',
notes: `
Search enables users to specify a word or a phrase to find particular relevant pieces of content
without the use of navigation. Search can be used as the primary means of discovering content,
Expand All @@ -43,7 +43,7 @@ module.exports = {
},
{
name: 'small-light',
label: 'Small Light',
label: 'Small search (Light)',
notes: `
Search enables users to specify a word or a phrase to find particular relevant pieces of content
without the use of navigation. Search can be used as the primary means of discovering content,
Expand Down
10 changes: 5 additions & 5 deletions src/components/select/select.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Select',
notes: `
Select displays a list below its title when selected. They are used primarily in forms,
where a user chooses one option from a list. Once the user selects an item, the dropdown will
Expand All @@ -14,29 +14,29 @@ module.exports = {
},
{
name: 'inline',
label: 'Inline',
label: 'Inline Select',
notes: 'Inline select is for use when there will be multiple elements in a row.',
context: {
inline: true,
},
},
{
name: 'light',
label: 'Light',
label: 'Select (Light)',
context: {
light: true,
},
},
{
name: 'invalid',
label: 'Invalid',
label: 'Select (Invalid)',
context: {
invalid: true,
},
},
{
name: 'light-invalid',
label: 'Light invalid',
label: 'Select (Light/Invalid)',
context: {
light: true,
invalid: true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/text-area/text-area.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Text Area',
notes: `
Text areas enable the user to interact with and input data. A text area is used when you
anticipate the user to input more than 1 sentence.
Expand Down
4 changes: 2 additions & 2 deletions src/components/text-input/text-input.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
variants: [
{
name: 'default',
label: 'Default',
label: 'Text Input',
notes: `
Text fields enable the user to interact with and input data. A single line
field is used when the input anticipated by the user is a single line of
Expand All @@ -13,7 +13,7 @@ module.exports = {
},
{
name: 'light',
label: 'Light',
label: 'Text Input (Light)',
context: {
light: true,
},
Expand Down

0 comments on commit 69175d3

Please sign in to comment.