@tracktor/design-system 2.7.0 → 2.7.2
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/CHANGELOG.md +2 -4
- package/dist/colors.cjs +1 -1
- package/dist/colors.js +139 -32
- package/dist/main.cjs +17 -72
- package/dist/main.js +1953 -4430
- package/dist/src/config/theme.d.ts +1 -1
- package/dist/src/context/Theme/ThemeProvider.d.ts +3 -7
- package/package.json +3 -3
- package/dist/grey-B9gwZZx5.cjs +0 -1
- package/dist/grey-CScVvAOT.js +0 -119
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
# [Versions](https://github.com/Tracktor/design-system/releases)
|
|
2
2
|
|
|
3
|
-
## v2.7.
|
|
4
|
-
- **[fix]** -
|
|
5
|
-
- **[feat]** - Changed the image prop in TimeLineItem to file to support multiple file types.
|
|
6
|
-
- **[feat]** - Added FileViewer component in the DataDisplay category.
|
|
3
|
+
## v2.7.2
|
|
4
|
+
- **[fix]** - Theme provider
|
package/dist/colors.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f={black:"#000",white:"#fff"},e={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},c={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},b={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},a={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},d={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},A={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},n={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},o={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},t={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},l={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},r={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},s={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},g={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},i={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},p={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},u={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},y={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},m={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},h={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"};exports.amber=i;exports.blue=A;exports.blueGrey=h;exports.brown=y;exports.common=f;exports.cyan=o;exports.deepOrange=u;exports.deepPurple=a;exports.green=l;exports.grey=m;exports.indigo=d;exports.lightBlue=n;exports.lightGreen=r;exports.lime=s;exports.orange=p;exports.pink=c;exports.purple=b;exports.red=e;exports.teal=t;exports.yellow=g;
|
package/dist/colors.js
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
|
-
import { b as g, c as i, g as m, a as u, l as y, o as h, p as w, r as x } from "./grey-CScVvAOT.js";
|
|
2
1
|
const f = {
|
|
2
|
+
black: "#000",
|
|
3
|
+
white: "#fff"
|
|
4
|
+
}, e = {
|
|
5
|
+
50: "#ffebee",
|
|
6
|
+
100: "#ffcdd2",
|
|
7
|
+
200: "#ef9a9a",
|
|
8
|
+
300: "#e57373",
|
|
9
|
+
400: "#ef5350",
|
|
10
|
+
500: "#f44336",
|
|
11
|
+
600: "#e53935",
|
|
12
|
+
700: "#d32f2f",
|
|
13
|
+
800: "#c62828",
|
|
14
|
+
900: "#b71c1c",
|
|
15
|
+
A100: "#ff8a80",
|
|
16
|
+
A200: "#ff5252",
|
|
17
|
+
A400: "#ff1744",
|
|
18
|
+
A700: "#d50000"
|
|
19
|
+
}, c = {
|
|
3
20
|
50: "#fce4ec",
|
|
4
21
|
100: "#f8bbd0",
|
|
5
22
|
200: "#f48fb1",
|
|
@@ -14,7 +31,22 @@ const f = {
|
|
|
14
31
|
A200: "#ff4081",
|
|
15
32
|
A400: "#f50057",
|
|
16
33
|
A700: "#c51162"
|
|
17
|
-
},
|
|
34
|
+
}, b = {
|
|
35
|
+
50: "#f3e5f5",
|
|
36
|
+
100: "#e1bee7",
|
|
37
|
+
200: "#ce93d8",
|
|
38
|
+
300: "#ba68c8",
|
|
39
|
+
400: "#ab47bc",
|
|
40
|
+
500: "#9c27b0",
|
|
41
|
+
600: "#8e24aa",
|
|
42
|
+
700: "#7b1fa2",
|
|
43
|
+
800: "#6a1b9a",
|
|
44
|
+
900: "#4a148c",
|
|
45
|
+
A100: "#ea80fc",
|
|
46
|
+
A200: "#e040fb",
|
|
47
|
+
A400: "#d500f9",
|
|
48
|
+
A700: "#aa00ff"
|
|
49
|
+
}, a = {
|
|
18
50
|
50: "#ede7f6",
|
|
19
51
|
100: "#d1c4e9",
|
|
20
52
|
200: "#b39ddb",
|
|
@@ -29,7 +61,7 @@ const f = {
|
|
|
29
61
|
A200: "#7c4dff",
|
|
30
62
|
A400: "#651fff",
|
|
31
63
|
A700: "#6200ea"
|
|
32
|
-
},
|
|
64
|
+
}, d = {
|
|
33
65
|
50: "#e8eaf6",
|
|
34
66
|
100: "#c5cae9",
|
|
35
67
|
200: "#9fa8da",
|
|
@@ -44,7 +76,37 @@ const f = {
|
|
|
44
76
|
A200: "#536dfe",
|
|
45
77
|
A400: "#3d5afe",
|
|
46
78
|
A700: "#304ffe"
|
|
47
|
-
},
|
|
79
|
+
}, A = {
|
|
80
|
+
50: "#e3f2fd",
|
|
81
|
+
100: "#bbdefb",
|
|
82
|
+
200: "#90caf9",
|
|
83
|
+
300: "#64b5f6",
|
|
84
|
+
400: "#42a5f5",
|
|
85
|
+
500: "#2196f3",
|
|
86
|
+
600: "#1e88e5",
|
|
87
|
+
700: "#1976d2",
|
|
88
|
+
800: "#1565c0",
|
|
89
|
+
900: "#0d47a1",
|
|
90
|
+
A100: "#82b1ff",
|
|
91
|
+
A200: "#448aff",
|
|
92
|
+
A400: "#2979ff",
|
|
93
|
+
A700: "#2962ff"
|
|
94
|
+
}, n = {
|
|
95
|
+
50: "#e1f5fe",
|
|
96
|
+
100: "#b3e5fc",
|
|
97
|
+
200: "#81d4fa",
|
|
98
|
+
300: "#4fc3f7",
|
|
99
|
+
400: "#29b6f6",
|
|
100
|
+
500: "#03a9f4",
|
|
101
|
+
600: "#039be5",
|
|
102
|
+
700: "#0288d1",
|
|
103
|
+
800: "#0277bd",
|
|
104
|
+
900: "#01579b",
|
|
105
|
+
A100: "#80d8ff",
|
|
106
|
+
A200: "#40c4ff",
|
|
107
|
+
A400: "#00b0ff",
|
|
108
|
+
A700: "#0091ea"
|
|
109
|
+
}, o = {
|
|
48
110
|
50: "#e0f7fa",
|
|
49
111
|
100: "#b2ebf2",
|
|
50
112
|
200: "#80deea",
|
|
@@ -59,7 +121,7 @@ const f = {
|
|
|
59
121
|
A200: "#18ffff",
|
|
60
122
|
A400: "#00e5ff",
|
|
61
123
|
A700: "#00b8d4"
|
|
62
|
-
},
|
|
124
|
+
}, t = {
|
|
63
125
|
50: "#e0f2f1",
|
|
64
126
|
100: "#b2dfdb",
|
|
65
127
|
200: "#80cbc4",
|
|
@@ -74,7 +136,22 @@ const f = {
|
|
|
74
136
|
A200: "#64ffda",
|
|
75
137
|
A400: "#1de9b6",
|
|
76
138
|
A700: "#00bfa5"
|
|
77
|
-
},
|
|
139
|
+
}, s = {
|
|
140
|
+
50: "#e8f5e9",
|
|
141
|
+
100: "#c8e6c9",
|
|
142
|
+
200: "#a5d6a7",
|
|
143
|
+
300: "#81c784",
|
|
144
|
+
400: "#66bb6a",
|
|
145
|
+
500: "#4caf50",
|
|
146
|
+
600: "#43a047",
|
|
147
|
+
700: "#388e3c",
|
|
148
|
+
800: "#2e7d32",
|
|
149
|
+
900: "#1b5e20",
|
|
150
|
+
A100: "#b9f6ca",
|
|
151
|
+
A200: "#69f0ae",
|
|
152
|
+
A400: "#00e676",
|
|
153
|
+
A700: "#00c853"
|
|
154
|
+
}, l = {
|
|
78
155
|
50: "#f1f8e9",
|
|
79
156
|
100: "#dcedc8",
|
|
80
157
|
200: "#c5e1a5",
|
|
@@ -89,7 +166,7 @@ const f = {
|
|
|
89
166
|
A200: "#b2ff59",
|
|
90
167
|
A400: "#76ff03",
|
|
91
168
|
A700: "#64dd17"
|
|
92
|
-
},
|
|
169
|
+
}, r = {
|
|
93
170
|
50: "#f9fbe7",
|
|
94
171
|
100: "#f0f4c3",
|
|
95
172
|
200: "#e6ee9c",
|
|
@@ -104,7 +181,7 @@ const f = {
|
|
|
104
181
|
A200: "#eeff41",
|
|
105
182
|
A400: "#c6ff00",
|
|
106
183
|
A700: "#aeea00"
|
|
107
|
-
},
|
|
184
|
+
}, g = {
|
|
108
185
|
50: "#fffde7",
|
|
109
186
|
100: "#fff9c4",
|
|
110
187
|
200: "#fff59d",
|
|
@@ -119,7 +196,7 @@ const f = {
|
|
|
119
196
|
A200: "#ffff00",
|
|
120
197
|
A400: "#ffea00",
|
|
121
198
|
A700: "#ffd600"
|
|
122
|
-
},
|
|
199
|
+
}, i = {
|
|
123
200
|
50: "#fff8e1",
|
|
124
201
|
100: "#ffecb3",
|
|
125
202
|
200: "#ffe082",
|
|
@@ -134,7 +211,22 @@ const f = {
|
|
|
134
211
|
A200: "#ffd740",
|
|
135
212
|
A400: "#ffc400",
|
|
136
213
|
A700: "#ffab00"
|
|
137
|
-
},
|
|
214
|
+
}, p = {
|
|
215
|
+
50: "#fff3e0",
|
|
216
|
+
100: "#ffe0b2",
|
|
217
|
+
200: "#ffcc80",
|
|
218
|
+
300: "#ffb74d",
|
|
219
|
+
400: "#ffa726",
|
|
220
|
+
500: "#ff9800",
|
|
221
|
+
600: "#fb8c00",
|
|
222
|
+
700: "#f57c00",
|
|
223
|
+
800: "#ef6c00",
|
|
224
|
+
900: "#e65100",
|
|
225
|
+
A100: "#ffd180",
|
|
226
|
+
A200: "#ffab40",
|
|
227
|
+
A400: "#ff9100",
|
|
228
|
+
A700: "#ff6d00"
|
|
229
|
+
}, u = {
|
|
138
230
|
50: "#fbe9e7",
|
|
139
231
|
100: "#ffccbc",
|
|
140
232
|
200: "#ffab91",
|
|
@@ -149,7 +241,7 @@ const f = {
|
|
|
149
241
|
A200: "#ff6e40",
|
|
150
242
|
A400: "#ff3d00",
|
|
151
243
|
A700: "#dd2c00"
|
|
152
|
-
},
|
|
244
|
+
}, m = {
|
|
153
245
|
50: "#efebe9",
|
|
154
246
|
100: "#d7ccc8",
|
|
155
247
|
200: "#bcaaa4",
|
|
@@ -164,7 +256,22 @@ const f = {
|
|
|
164
256
|
A200: "#bcaaa4",
|
|
165
257
|
A400: "#8d6e63",
|
|
166
258
|
A700: "#5d4037"
|
|
167
|
-
},
|
|
259
|
+
}, y = {
|
|
260
|
+
50: "#fafafa",
|
|
261
|
+
100: "#f5f5f5",
|
|
262
|
+
200: "#eeeeee",
|
|
263
|
+
300: "#e0e0e0",
|
|
264
|
+
400: "#bdbdbd",
|
|
265
|
+
500: "#9e9e9e",
|
|
266
|
+
600: "#757575",
|
|
267
|
+
700: "#616161",
|
|
268
|
+
800: "#424242",
|
|
269
|
+
900: "#212121",
|
|
270
|
+
A100: "#f5f5f5",
|
|
271
|
+
A200: "#eeeeee",
|
|
272
|
+
A400: "#bdbdbd",
|
|
273
|
+
A700: "#616161"
|
|
274
|
+
}, h = {
|
|
168
275
|
50: "#eceff1",
|
|
169
276
|
100: "#cfd8dc",
|
|
170
277
|
200: "#b0bec5",
|
|
@@ -181,24 +288,24 @@ const f = {
|
|
|
181
288
|
A700: "#455a64"
|
|
182
289
|
};
|
|
183
290
|
export {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
291
|
+
i as amber,
|
|
292
|
+
A as blue,
|
|
293
|
+
h as blueGrey,
|
|
294
|
+
m as brown,
|
|
295
|
+
f as common,
|
|
296
|
+
o as cyan,
|
|
297
|
+
u as deepOrange,
|
|
298
|
+
a as deepPurple,
|
|
299
|
+
s as green,
|
|
300
|
+
y as grey,
|
|
301
|
+
d as indigo,
|
|
302
|
+
n as lightBlue,
|
|
303
|
+
l as lightGreen,
|
|
304
|
+
r as lime,
|
|
305
|
+
p as orange,
|
|
306
|
+
c as pink,
|
|
307
|
+
b as purple,
|
|
308
|
+
e as red,
|
|
309
|
+
t as teal,
|
|
310
|
+
g as yellow
|
|
204
311
|
};
|