1 | (function (global, factory) {
|
2 | if (typeof define === "function" && define.amd) {
|
3 | define(['module'], factory);
|
4 | } else if (typeof exports !== "undefined") {
|
5 | factory(module);
|
6 | } else {
|
7 | var mod = {
|
8 | exports: {}
|
9 | };
|
10 | factory(mod);
|
11 | global.textInputConfig = mod.exports;
|
12 | }
|
13 | })(this, function (module) {
|
14 | 'use strict';
|
15 |
|
16 | module.exports = {
|
17 | variants: [{
|
18 | name: 'default',
|
19 | label: 'Text Input',
|
20 | 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 '
|
21 | }, {
|
22 | name: 'light',
|
23 | label: 'Text Input (Light)',
|
24 | context: {
|
25 | light: true
|
26 | }
|
27 | }, {
|
28 | name: 'password',
|
29 | label: 'Password Input',
|
30 | context: {
|
31 | password: true
|
32 | }
|
33 | }, {
|
34 | name: 'password--light',
|
35 | label: 'Password Input (Light)',
|
36 | context: {
|
37 | light: true,
|
38 | password: true
|
39 | }
|
40 | }]
|
41 | };
|
42 | }); |
\ | No newline at end of file |