forked from uxpin-merge/grommet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uxpin.config.js
99 lines (98 loc) · 3.35 KB
/
uxpin.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
module.exports = {
components: {
categories: [
{
name: 'Type',
include: [
'src/js/components/Heading/Heading.js',
'src/js/components/Markdown/Markdown/Markdown.js',
'src/js/components/Paragraph/Paragraph.js',
'src/js/components/Text/Text.js',
],
},
{
name: 'Controls',
include: [
'src/js/components/Accordion/Accordion.js',
'src/js/components/AccordionPanel/AccordionPanel.js',
'src/js/components/Anchor/Anchor.js',
'src/js/components/Button/Button.js',
'src/js/components/DropButton/DropButton.js',
'src/js/components/Menu/Menu.js',
'src/js/components/Tab/Tab.js',
'src/js/components/Tabs/Tabs.js',
],
},
{
name: 'Input',
include: [
'src/js/components/CheckBox/CheckBox.js',
'src/js/components/MaskedInput/MaskedInput.js',
'src/js/components/RadioButton/RadioButton.js',
'src/js/components/RadioButtonGroup/RadioButtonGroup.js',
'src/js/components/RangeInput/RangeInput.js',
'src/js/components/RangeSelector/RangeSelector.js',
'src/js/components/Select/Select.js',
'src/js/components/TextArea/TextArea.js',
'src/js/components/TextInput/TextInput.js',
'src/js/components/FormField/FormField.js',
'src/js/components/Form/Form.js',
],
},
{
name: 'Visualization',
include: [
'src/js/components/Calendar/Calendar.js',
'src/js/components/Chart/Chart.js',
'src/js/components/Clock/Clock.js',
'src/js/components/Collapsible/Collapsible.js',
'src/js/components/Keyboard/Keyboard.js',
'src/js/components/Meter/Meter.js',
'src/js/components/WorldMap/WorldMap.js',
],
},
{
name: 'Media',
include: [
'src/js/components/Carousel/Carousel.js',
'src/js/components/Image/Image.js',
'src/js/components/Video/Video/Video.js',
],
},
{
name: 'Layout',
include: [
'src/js/components/Box/Box/Box.js',
'src/js/components/Grid/Grid.js',
'src/js/components/Stack/Stack.js',
],
},
{
name: 'Experimental',
include: [
'src/js/components/Select/SelectInteractive/SelectInteractive.js',
'src/js/components/CheckBox/CheckBoxInteractive/CheckBoxInteractive.js',
'src/js/components/RadioButton/RadioButtonInteractive/RadioButtonInteractive.js',
'src/js/components/RadioButtonGroup/RadioButtonGroupInteractive/RadioButtonGroupInteractive.js',
],
},
],
},
name: 'Grommet',
};
/**
* Unsuported:
* Drop - not sure how it suppose to work. Example in CodeSandbox doesn't work.
* Distribution – function passed to children breaks component.
* Layer – absolute positioning is not supported.
* Infinite Scroll – function passed to children breaks component.
* SkipLink, SkipLinks,SkipLinkTarget – not sure how it suppose to work
* Table - unknown bugs
* DataTable – not supported yet
* Diagram – doesn't render content
*
* Bugs:
* Form – doesn't pass children from preset.
* Keyboard – not sure how it should work.
* RangeSelector – doesn't render content correctly
*/