UNPKG

carbon-components

Version:

Carbon Components is a component library for IBM Cloud

44 lines (41 loc) 1.09 kB
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; var _require = require('../../globals/js/feature-flags'), componentsX = _require.componentsX; var _require2 = require('../../globals/js/settings'), prefix = _require2.prefix; module.exports = { context: { componentsX: componentsX, prefix: prefix }, variants: [{ name: 'default', label: 'Text Input', notes: "\n Text fields enable the user to interact with and input data. A single line\n field is used when the input anticipated by the user is a single line of\n text as opposed to a paragraph.\n " }, { name: 'light', label: 'Text Input (Light)', context: { light: true } }, { name: 'password', label: 'Password Input', context: { password: true } }, { name: 'password--light', label: 'Password Input (Light)', context: { light: true, password: true } }] };