@agregio-solutions/design-system 1.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist/design-system.cjs +1160 -0
- package/dist/design-system.js +13519 -0
- package/dist/ds-fonts/EDF2020.woff2 +0 -0
- package/dist/ds-fonts/EDF2020Bold.woff2 +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/packages/components/Badge/index.d.ts +34 -0
- package/dist/packages/components/Button/index.d.ts +41 -0
- package/dist/packages/components/Checkbox/index.d.ts +54 -0
- package/dist/packages/components/CheckboxGroup/index.d.ts +35 -0
- package/dist/packages/components/Chip/index.d.ts +19 -0
- package/dist/packages/components/DataTable/DataTableCell/index.d.ts +16 -0
- package/dist/packages/components/DataTable/DataTableHeader/index.d.ts +22 -0
- package/dist/packages/components/DataTable/DataTableRow/index.d.ts +11 -0
- package/dist/packages/components/DataTable/index.d.ts +7 -0
- package/dist/packages/components/Drawer/index.d.ts +42 -0
- package/dist/packages/components/Dropdown/components/DropdownListItem/index.d.ts +31 -0
- package/dist/packages/components/Dropdown/index.d.ts +15 -0
- package/dist/packages/components/Icon/components/access_time.d.ts +3 -0
- package/dist/packages/components/Icon/components/add.d.ts +3 -0
- package/dist/packages/components/Icon/components/add_box.d.ts +3 -0
- package/dist/packages/components/Icon/components/arrow_back.d.ts +3 -0
- package/dist/packages/components/Icon/components/arrow_downward.d.ts +3 -0
- package/dist/packages/components/Icon/components/arrow_forward.d.ts +3 -0
- package/dist/packages/components/Icon/components/arrow_upward.d.ts +3 -0
- package/dist/packages/components/Icon/components/bar_chart.d.ts +3 -0
- package/dist/packages/components/Icon/components/bolt.d.ts +3 -0
- package/dist/packages/components/Icon/components/business.d.ts +3 -0
- package/dist/packages/components/Icon/components/calendar_today.d.ts +3 -0
- package/dist/packages/components/Icon/components/cancel.d.ts +3 -0
- package/dist/packages/components/Icon/components/check.d.ts +3 -0
- package/dist/packages/components/Icon/components/check_circle_outline.d.ts +3 -0
- package/dist/packages/components/Icon/components/chevron_left.d.ts +3 -0
- package/dist/packages/components/Icon/components/chevron_right.d.ts +3 -0
- package/dist/packages/components/Icon/components/clear.d.ts +3 -0
- package/dist/packages/components/Icon/components/close.d.ts +3 -0
- package/dist/packages/components/Icon/components/content_copy.d.ts +3 -0
- package/dist/packages/components/Icon/components/delete_outline.d.ts +3 -0
- package/dist/packages/components/Icon/components/download.d.ts +3 -0
- package/dist/packages/components/Icon/components/drag_indicator.d.ts +3 -0
- package/dist/packages/components/Icon/components/edit.d.ts +3 -0
- package/dist/packages/components/Icon/components/error_outline.d.ts +3 -0
- package/dist/packages/components/Icon/components/exit_to_app.d.ts +3 -0
- package/dist/packages/components/Icon/components/expand_less.d.ts +3 -0
- package/dist/packages/components/Icon/components/expand_more.d.ts +3 -0
- package/dist/packages/components/Icon/components/fiber_new.d.ts +3 -0
- package/dist/packages/components/Icon/components/filter_alt.d.ts +3 -0
- package/dist/packages/components/Icon/components/filter_list.d.ts +3 -0
- package/dist/packages/components/Icon/components/first_page.d.ts +3 -0
- package/dist/packages/components/Icon/components/folder_open.d.ts +3 -0
- package/dist/packages/components/Icon/components/grid_view.d.ts +3 -0
- package/dist/packages/components/Icon/components/help_outline.d.ts +3 -0
- package/dist/packages/components/Icon/components/home.d.ts +3 -0
- package/dist/packages/components/Icon/components/insert_emoticon.d.ts +3 -0
- package/dist/packages/components/Icon/components/language.d.ts +3 -0
- package/dist/packages/components/Icon/components/last_page.d.ts +3 -0
- package/dist/packages/components/Icon/components/link.d.ts +3 -0
- package/dist/packages/components/Icon/components/list.d.ts +3 -0
- package/dist/packages/components/Icon/components/location_searching.d.ts +3 -0
- package/dist/packages/components/Icon/components/logout.d.ts +3 -0
- package/dist/packages/components/Icon/components/menu.d.ts +3 -0
- package/dist/packages/components/Icon/components/minimize.d.ts +3 -0
- package/dist/packages/components/Icon/components/monitor_heart.d.ts +3 -0
- package/dist/packages/components/Icon/components/more_horiz.d.ts +3 -0
- package/dist/packages/components/Icon/components/more_vert.d.ts +3 -0
- package/dist/packages/components/Icon/components/moving.d.ts +3 -0
- package/dist/packages/components/Icon/components/notifications_active.d.ts +3 -0
- package/dist/packages/components/Icon/components/notifications_none.d.ts +3 -0
- package/dist/packages/components/Icon/components/notifications_off.d.ts +3 -0
- package/dist/packages/components/Icon/components/refresh.d.ts +3 -0
- package/dist/packages/components/Icon/components/remove_red_eye.d.ts +3 -0
- package/dist/packages/components/Icon/components/search.d.ts +3 -0
- package/dist/packages/components/Icon/components/send.d.ts +3 -0
- package/dist/packages/components/Icon/components/settings.d.ts +3 -0
- package/dist/packages/components/Icon/components/stacked_line_chart.d.ts +3 -0
- package/dist/packages/components/Icon/components/star.d.ts +3 -0
- package/dist/packages/components/Icon/components/star_outline.d.ts +3 -0
- package/dist/packages/components/Icon/components/swap_horiz.d.ts +3 -0
- package/dist/packages/components/Icon/components/text_snippet.d.ts +3 -0
- package/dist/packages/components/Icon/components/undo.d.ts +3 -0
- package/dist/packages/components/Icon/components/warehouse.d.ts +3 -0
- package/dist/packages/components/Icon/components/warning_amber.d.ts +3 -0
- package/dist/packages/components/Icon/index.d.ts +140 -0
- package/dist/packages/components/Pagination/index.d.ts +33 -0
- package/dist/packages/components/Radio/index.d.ts +18 -0
- package/dist/packages/components/Select/index.d.ts +132 -0
- package/dist/packages/components/SelectItem/index.d.ts +21 -0
- package/dist/packages/components/Tag/index.d.ts +19 -0
- package/dist/packages/components/TextInput/index.d.ts +144 -0
- package/dist/packages/ds-design-tokens/index.d.ts +4 -0
- package/dist/packages/ds-design-tokens/src/base.style.json.d.ts +225 -0
- package/dist/packages/ds-design-tokens/src/fontSize.style.d.ts +18 -0
- package/dist/packages/ds-design-tokens/src/tokens.style.d.ts +70 -0
- package/dist/packages/index.d.ts +22 -0
- package/dist/packages/mui/mui-theme.d.ts +4 -0
- package/dist/style.css +1 -0
- package/package.json +88 -0
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"colors": {
|
|
3
|
+
"sky": {
|
|
4
|
+
"100": {
|
|
5
|
+
"$type": "color",
|
|
6
|
+
"$value": "#d8e1f3"
|
|
7
|
+
},
|
|
8
|
+
"400": {
|
|
9
|
+
"$type": "color",
|
|
10
|
+
"$value": "#0059ff"
|
|
11
|
+
},
|
|
12
|
+
"600": {
|
|
13
|
+
"$type": "color",
|
|
14
|
+
"$value": "#003dad"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"ocean": {
|
|
18
|
+
"100": {
|
|
19
|
+
"$type": "color",
|
|
20
|
+
"$value": "#e5f6ff"
|
|
21
|
+
},
|
|
22
|
+
"300": {
|
|
23
|
+
"$type": "color",
|
|
24
|
+
"$value": "#449eca"
|
|
25
|
+
},
|
|
26
|
+
"400": {
|
|
27
|
+
"$type": "color",
|
|
28
|
+
"$value": "#00a0f0"
|
|
29
|
+
},
|
|
30
|
+
"600": {
|
|
31
|
+
"$type": "color",
|
|
32
|
+
"$value": "#00527a"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"green": {
|
|
36
|
+
"100": {
|
|
37
|
+
"$type": "color",
|
|
38
|
+
"$value": "#f0f8ed"
|
|
39
|
+
},
|
|
40
|
+
"400": {
|
|
41
|
+
"$type": "color",
|
|
42
|
+
"$value": "#3ba50d"
|
|
43
|
+
},
|
|
44
|
+
"600": {
|
|
45
|
+
"$type": "color",
|
|
46
|
+
"$value": "#1e5f02"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"brown": {
|
|
50
|
+
"100": {
|
|
51
|
+
"$type": "color",
|
|
52
|
+
"$value": "#fff7e5"
|
|
53
|
+
},
|
|
54
|
+
"400": {
|
|
55
|
+
"$type": "color",
|
|
56
|
+
"$value": "#eba000"
|
|
57
|
+
},
|
|
58
|
+
"600": {
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"$value": "#6b4900"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"red": {
|
|
64
|
+
"100": {
|
|
65
|
+
"$type": "color",
|
|
66
|
+
"$value": "#ffe5ed"
|
|
67
|
+
},
|
|
68
|
+
"400": {
|
|
69
|
+
"$type": "color",
|
|
70
|
+
"$value": "#d10a46"
|
|
71
|
+
},
|
|
72
|
+
"600": {
|
|
73
|
+
"$type": "color",
|
|
74
|
+
"$value": "#850028"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"azure": {
|
|
78
|
+
"400": {
|
|
79
|
+
"$type": "color",
|
|
80
|
+
"$value": "#0f87ff"
|
|
81
|
+
},
|
|
82
|
+
"500": {
|
|
83
|
+
"$type": "color",
|
|
84
|
+
"$value": "#1056c6"
|
|
85
|
+
},
|
|
86
|
+
"700": {
|
|
87
|
+
"$type": "color",
|
|
88
|
+
"$value": "#001a70"
|
|
89
|
+
},
|
|
90
|
+
"800": {
|
|
91
|
+
"$type": "color",
|
|
92
|
+
"$value": "#001352"
|
|
93
|
+
},
|
|
94
|
+
"900": {
|
|
95
|
+
"$type": "color",
|
|
96
|
+
"$value": "#000c33"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"grass": {
|
|
100
|
+
"400": {
|
|
101
|
+
"$type": "color",
|
|
102
|
+
"$value": "#c1e510"
|
|
103
|
+
},
|
|
104
|
+
"500": {
|
|
105
|
+
"$type": "color",
|
|
106
|
+
"$value": "#89da10"
|
|
107
|
+
},
|
|
108
|
+
"700": {
|
|
109
|
+
"$type": "color",
|
|
110
|
+
"$value": "#4f9c30"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"orange": {
|
|
114
|
+
"400": {
|
|
115
|
+
"$type": "color",
|
|
116
|
+
"$value": "#ffb30f"
|
|
117
|
+
},
|
|
118
|
+
"500": {
|
|
119
|
+
"$type": "color",
|
|
120
|
+
"$value": "#ff871f"
|
|
121
|
+
},
|
|
122
|
+
"700": {
|
|
123
|
+
"$type": "color",
|
|
124
|
+
"$value": "#fe5716"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"grey": {
|
|
128
|
+
"0": {
|
|
129
|
+
"$type": "color",
|
|
130
|
+
"$value": "#ffffff"
|
|
131
|
+
},
|
|
132
|
+
"50": {
|
|
133
|
+
"$type": "color",
|
|
134
|
+
"$value": "#f8f9fc"
|
|
135
|
+
},
|
|
136
|
+
"100": {
|
|
137
|
+
"$type": "color",
|
|
138
|
+
"$value": "#e2e3e9"
|
|
139
|
+
},
|
|
140
|
+
"200": {
|
|
141
|
+
"$type": "color",
|
|
142
|
+
"$value": "#dbdde6"
|
|
143
|
+
},
|
|
144
|
+
"300": {
|
|
145
|
+
"$type": "color",
|
|
146
|
+
"$value": "#b8bbc6"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"spacings": {
|
|
151
|
+
"1": {
|
|
152
|
+
"$type": "dimension",
|
|
153
|
+
"$value": 8
|
|
154
|
+
},
|
|
155
|
+
"2": {
|
|
156
|
+
"$type": "dimension",
|
|
157
|
+
"$value": 16
|
|
158
|
+
},
|
|
159
|
+
"3": {
|
|
160
|
+
"$type": "dimension",
|
|
161
|
+
"$value": 24
|
|
162
|
+
},
|
|
163
|
+
"4": {
|
|
164
|
+
"$type": "dimension",
|
|
165
|
+
"$value": 32
|
|
166
|
+
},
|
|
167
|
+
"5": {
|
|
168
|
+
"$type": "dimension",
|
|
169
|
+
"$value": 40
|
|
170
|
+
},
|
|
171
|
+
"6": {
|
|
172
|
+
"$type": "dimension",
|
|
173
|
+
"$value": 48
|
|
174
|
+
},
|
|
175
|
+
"7": {
|
|
176
|
+
"$type": "dimension",
|
|
177
|
+
"$value": 56
|
|
178
|
+
},
|
|
179
|
+
"8": {
|
|
180
|
+
"$type": "dimension",
|
|
181
|
+
"$value": 64
|
|
182
|
+
},
|
|
183
|
+
"9": {
|
|
184
|
+
"$type": "dimension",
|
|
185
|
+
"$value": 72
|
|
186
|
+
},
|
|
187
|
+
"10": {
|
|
188
|
+
"$type": "dimension",
|
|
189
|
+
"$value": 80
|
|
190
|
+
},
|
|
191
|
+
"11": {
|
|
192
|
+
"$type": "dimension",
|
|
193
|
+
"$value": 88
|
|
194
|
+
},
|
|
195
|
+
"12": {
|
|
196
|
+
"$type": "dimension",
|
|
197
|
+
"$value": 96
|
|
198
|
+
},
|
|
199
|
+
"13": {
|
|
200
|
+
"$type": "dimension",
|
|
201
|
+
"$value": 104
|
|
202
|
+
},
|
|
203
|
+
"half": {
|
|
204
|
+
"$type": "dimension",
|
|
205
|
+
"$value": 4
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"radiuss": {
|
|
209
|
+
"sm": {
|
|
210
|
+
"$type": "dimension",
|
|
211
|
+
"$value": 2
|
|
212
|
+
},
|
|
213
|
+
"md": {
|
|
214
|
+
"$type": "dimension",
|
|
215
|
+
"$value": 4
|
|
216
|
+
},
|
|
217
|
+
"lg": {
|
|
218
|
+
"$type": "dimension",
|
|
219
|
+
"$value": 8
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
;
|
|
224
|
+
|
|
225
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const fontSize: {
|
|
2
|
+
xxSmall: string;
|
|
3
|
+
extraSmall: string;
|
|
4
|
+
small: string;
|
|
5
|
+
medium: string;
|
|
6
|
+
large: string;
|
|
7
|
+
extraLarge: string;
|
|
8
|
+
xxLarge: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const lineHeight: {
|
|
11
|
+
xxSmall: string;
|
|
12
|
+
extraSmall: string;
|
|
13
|
+
small: string;
|
|
14
|
+
medium: string;
|
|
15
|
+
large: string;
|
|
16
|
+
extraLarge: string;
|
|
17
|
+
xxLarge: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export declare const tokens: {
|
|
2
|
+
color: {
|
|
3
|
+
content: {
|
|
4
|
+
action: {
|
|
5
|
+
action: string;
|
|
6
|
+
actionDarker: string;
|
|
7
|
+
actionLighter: string;
|
|
8
|
+
};
|
|
9
|
+
neutral: {
|
|
10
|
+
primary: string;
|
|
11
|
+
primaryReversed: string;
|
|
12
|
+
secondary: string;
|
|
13
|
+
tertiary: string;
|
|
14
|
+
stroke: string;
|
|
15
|
+
};
|
|
16
|
+
brand: {
|
|
17
|
+
brand1: string;
|
|
18
|
+
brand2: string;
|
|
19
|
+
brand3: string;
|
|
20
|
+
brand4: string;
|
|
21
|
+
brand5: string;
|
|
22
|
+
brand6: string;
|
|
23
|
+
brand7: string;
|
|
24
|
+
brand8: string;
|
|
25
|
+
brand9: string;
|
|
26
|
+
};
|
|
27
|
+
message: {
|
|
28
|
+
informative: string;
|
|
29
|
+
informativeDarker: string;
|
|
30
|
+
informativeLighter: string;
|
|
31
|
+
negative: string;
|
|
32
|
+
negativeDarker: string;
|
|
33
|
+
negativeLighter: string;
|
|
34
|
+
positive: string;
|
|
35
|
+
positiveDarker: string;
|
|
36
|
+
positiveLighter: string;
|
|
37
|
+
warning: string;
|
|
38
|
+
warningDarker: string;
|
|
39
|
+
warningLighter: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
background: {
|
|
43
|
+
neutral: {
|
|
44
|
+
overground: string;
|
|
45
|
+
ground: string;
|
|
46
|
+
groundReversed: string;
|
|
47
|
+
underground1: string;
|
|
48
|
+
underground2: string;
|
|
49
|
+
};
|
|
50
|
+
highlight: {
|
|
51
|
+
focus: string;
|
|
52
|
+
focusReversed: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
spacing: {
|
|
57
|
+
xxs: string;
|
|
58
|
+
xs: string;
|
|
59
|
+
sm: string;
|
|
60
|
+
md: string;
|
|
61
|
+
lg: string;
|
|
62
|
+
xl: string;
|
|
63
|
+
xxl: string;
|
|
64
|
+
};
|
|
65
|
+
radius: {
|
|
66
|
+
minimal: string;
|
|
67
|
+
rounded: string;
|
|
68
|
+
full: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { I18nProvider } from 'react-aria';
|
|
2
|
+
import { default as createMuiTheme } from './mui/mui-theme.ts';
|
|
3
|
+
import { tokens, fontSize, lineHeight } from './ds-design-tokens/index';
|
|
4
|
+
import { default as SelectItem } from 'packages/components/SelectItem';
|
|
5
|
+
import { default as Select } from './components/Select';
|
|
6
|
+
import { default as Pagination } from './components/Pagination';
|
|
7
|
+
import { default as Radio } from './components/Radio';
|
|
8
|
+
import { default as TextInput } from './components/TextInput';
|
|
9
|
+
import { default as Dropdown } from './components/Dropdown';
|
|
10
|
+
import { default as DataTable } from './components/DataTable';
|
|
11
|
+
import { default as DataTableRow } from './components/DataTable/DataTableRow';
|
|
12
|
+
import { default as DataTableCell } from './components/DataTable/DataTableCell';
|
|
13
|
+
import { default as DataTableHeader } from './components/DataTable/DataTableHeader';
|
|
14
|
+
import { default as Drawer } from './components/Drawer';
|
|
15
|
+
import { default as CheckboxGroup } from './components/CheckboxGroup';
|
|
16
|
+
import { default as Checkbox } from './components/Checkbox';
|
|
17
|
+
import { default as Badge } from './components/Badge';
|
|
18
|
+
import { default as Tag } from './components/Tag';
|
|
19
|
+
import { default as Icon } from './components/Icon';
|
|
20
|
+
import { default as Button } from './components/Button';
|
|
21
|
+
|
|
22
|
+
export { tokens, fontSize, lineHeight, Button, Icon, Checkbox, Drawer, CheckboxGroup, Tag, Badge, createMuiTheme, Dropdown, DataTableHeader, DataTableCell, DataTableRow, DataTable, Select, SelectItem, TextInput, Radio, Pagination, I18nProvider, };
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}*,:after,:before{box-sizing:border-box}.design-system-icon{display:inline-block;width:1em}@font-face{font-family:EDF2020;font-style:normal;font-weight:400;src:url(/ds-fonts/EDF2020.woff2) format("woff2")}@font-face{font-family:EDF2020;font-style:normal;font-weight:700;src:url(/ds-fonts/EDF2020Bold.woff2) format("woff2")}*{font-family:EDF2020,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root{--color-content-action-action: #0059ff;--color-content-action-action-darker: #003dad;--color-content-action-action-lighter: #d8e1f3;--color-content-neutral-primary: #000c33;--color-content-neutral-primary-reversed: #ffffff;--color-content-neutral-secondary: #001352;--color-content-neutral-tertiary: #b8bbc6;--color-content-neutral-stroke: #dbdde6;--color-content-brand-brand-1: #001a70;--color-content-brand-brand-2: #1056c6;--color-content-brand-brand-3: #0f87ff;--color-content-brand-brand-4: #4f9c30;--color-content-brand-brand-5: #89da10;--color-content-brand-brand-6: #c1e510;--color-content-brand-brand-7: #fe5716;--color-content-brand-brand-8: #ff871f;--color-content-brand-brand-9: #ffb30f;--color-content-message-informative: #00a0f0;--color-content-message-informative-darker: #00527a;--color-content-message-informative-lighter: #e5f6ff;--color-content-message-negative: #d10a46;--color-content-message-negative-darker: #850028;--color-content-message-negative-lighter: #ffe5ed;--color-content-message-positive: #3ba50d;--color-content-message-positive-darker: #1e5f02;--color-content-message-positive-lighter: #f0f8ed;--color-content-message-warning: #eba000;--color-content-message-warning-darker: #6b4900;--color-content-message-warning-lighter: #fff7e5;--color-background-neutral-overground: #ffffff;--color-background-neutral-ground: #ffffff;--color-background-neutral-ground-reversed: #000c33;--color-background-neutral-underground-1: #f8f9fc;--color-background-neutral-underground-2: #e2e3e9;--color-background-highlight-focus: #449eca;--color-background-highlight-focus-reversed: #ffffff;--spacing-xxs: 4px;--spacing-xs: 8px;--spacing-sm: 16px;--spacing-md: 24px;--spacing-lg: 32px;--spacing-xl: 48px;--spacing-xxl: 80px;--radius-minimal: 2px;--radius-rounded: 4px;--radius-full: 8px}
|
package/package.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@agregio-solutions/design-system",
|
|
3
|
+
"version": "1.12.1",
|
|
4
|
+
"description": "React Component library and Storybook that is part of the Design System for Agregio Solutions",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "dist/design-system.js",
|
|
7
|
+
"main": "dist/design-system.cjs",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "vite build",
|
|
17
|
+
"build-storybook": "storybook build",
|
|
18
|
+
"chromatic": "chromatic",
|
|
19
|
+
"eslint": "eslint . --ignore-path .gitignore",
|
|
20
|
+
"formatters": "npm run prettier:check && npm run eslint && npm run typescript:check",
|
|
21
|
+
"integrity": "npm run formatters && npm run vitest:all && npm run build && npm run storybook:test:integrity",
|
|
22
|
+
"pre-commit": "lint-staged && npm run typescript:check && npm run vitest:only-changed && npm run storybook:test:only-changed",
|
|
23
|
+
"prepare": "husky",
|
|
24
|
+
"prettier:check": "prettier . --check --ignore-path .gitignore",
|
|
25
|
+
"prettier:write": "prettier . --write --ignore-path .gitignore",
|
|
26
|
+
"storybook": "storybook dev -p 6006",
|
|
27
|
+
"storybook:start": "http-server storybook-static -p 6006 --silent",
|
|
28
|
+
"storybook:test": "test-storybook --url http://localhost:6006",
|
|
29
|
+
"storybook:test:only-changed": "start-server-and-test storybook 6006 'npm run storybook:test -- -- -o'",
|
|
30
|
+
"storybook:test:integrity": "npm run build-storybook && npx start-server-and-test storybook:start http://localhost:6006 storybook:test",
|
|
31
|
+
"typescript:check": "tsc --noEmit",
|
|
32
|
+
"vitest:all": "vitest run",
|
|
33
|
+
"vitest:only-changed": "vitest run --changed"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@emotion/react": "^11.11.4",
|
|
37
|
+
"@emotion/styled": "^11.11.0",
|
|
38
|
+
"@mui/material": "^5.15.14",
|
|
39
|
+
"@semantic-release/gitlab": "^13.0.3",
|
|
40
|
+
"@semantic-release/npm": "^12.0.0",
|
|
41
|
+
"@storybook/addon-a11y": "^8.0.8",
|
|
42
|
+
"@storybook/addon-essentials": "^8.0.8",
|
|
43
|
+
"@storybook/addon-interactions": "^8.0.8",
|
|
44
|
+
"@storybook/addon-links": "^8.0.8",
|
|
45
|
+
"@storybook/blocks": "^8.0.8",
|
|
46
|
+
"@storybook/manager-api": "^8.0.8",
|
|
47
|
+
"@storybook/react": "^8.0.8",
|
|
48
|
+
"@storybook/react-vite": "^8.0.8",
|
|
49
|
+
"@storybook/test": "^8.0.8",
|
|
50
|
+
"@storybook/test-runner": "^0.17.0",
|
|
51
|
+
"@storybook/theming": "^8.0.8",
|
|
52
|
+
"@tanstack/react-table": "^8.15.0",
|
|
53
|
+
"@types/node": "^20.12.2",
|
|
54
|
+
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
55
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
56
|
+
"chromatic": "^11.0.0",
|
|
57
|
+
"conventional-changelog-conventionalcommits": "^7.0.2",
|
|
58
|
+
"eslint": "^8.57.0",
|
|
59
|
+
"eslint-config-prettier": "^9.1.0",
|
|
60
|
+
"eslint-plugin-jest-dom": "^5.2.0",
|
|
61
|
+
"eslint-plugin-react": "^7.34.1",
|
|
62
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
63
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
64
|
+
"http-server": "^14.1.1",
|
|
65
|
+
"husky": "^9.0.11",
|
|
66
|
+
"lint-staged": "^15.2.2",
|
|
67
|
+
"lodash": "^4.17.21",
|
|
68
|
+
"prettier": "^3.2.5",
|
|
69
|
+
"react": "^18.2.0",
|
|
70
|
+
"react-dom": "^18.2.0",
|
|
71
|
+
"react-hook-form": "^7.51.1",
|
|
72
|
+
"remark-gfm": "^4.0.0",
|
|
73
|
+
"semantic-release": "^23.0.6",
|
|
74
|
+
"start-server-and-test": "^2.0.3",
|
|
75
|
+
"storybook": "^8.0.8",
|
|
76
|
+
"vite-plugin-dts": "^3.7.3",
|
|
77
|
+
"vitest": "^1.5.0"
|
|
78
|
+
},
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"@react-aria/optimize-locales-plugin": "^1.0.2",
|
|
81
|
+
"clsx": "^2.1.0",
|
|
82
|
+
"normalize.css": "^8.0.1",
|
|
83
|
+
"react-aria-components": "^1.1.1",
|
|
84
|
+
"styled-components": "^6.1.8",
|
|
85
|
+
"vite": "^5.2.6",
|
|
86
|
+
"vite-tsconfig-paths": "^4.3.2"
|
|
87
|
+
}
|
|
88
|
+
}
|