UNPKG

807 BJavaScriptView Raw
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.numberInputConfig = mod.exports;
12 }
13})(this, function (module) {
14 'use strict';
15
16 module.exports = {
17 variants: [{
18 name: 'default',
19 label: 'Number Input',
20 notes: '\n Number inputs are similar to text fields, but contain controls used to increase or decrease an incremental value.\n The Number Input component can be passed a starting value, a min, a max, and the step.\n '
21 }, {
22 name: 'light',
23 label: 'Number Input (Light)',
24 context: {
25 light: true
26 }
27 }]
28 };
29});
\No newline at end of file