UNPKG

carbon-components

Version:

Carbon Components is a component library for IBM Cloud

60 lines (58 loc) 1.9 kB
'use strict'; module.exports = { default: 'large', variants: [ { name: 'large', 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, or as a filter to aid the user in finding content. `, context: { suffix: 'lg', }, }, { name: '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, or as a filter to aid the user in finding content. With the small version, the search field will be more compact. `, context: { suffix: 'sm', }, }, { name: 'large-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, or as a filter to aid the user in finding content. `, context: { suffix: 'lg', light: true, }, }, { name: '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, or as a filter to aid the user in finding content. With the small version, the search field will be more compact. `, context: { suffix: 'sm', light: true, }, }, ], };