@widergy/energy-ui 3.1.3 → 3.1.4
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 +7 -0
- package/dist/components/UTDatePicker/index.js +1 -0
- package/dist/components/UTEmojiPicker/constants.js +8 -0
- package/dist/components/UTModal/constants.js +4 -0
- package/dist/components/UTPagination/components/Pagination/index.js +4 -0
- package/dist/components/UTRating/components/Faces/constants.js +10 -0
- package/dist/components/UTStatus/theme.js +5 -0
- package/dist/components/UTTable/components/TableFooter/components/Pagination/index.js +4 -0
- package/dist/components/UTTable/components/TableHeader/index.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.1.4](https://github.com/widergy/energy-ui/compare/v3.1.3...v3.1.4) (2024-01-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* added config for svgo plugin in babel ([#406](https://github.com/widergy/energy-ui/issues/406)) ([0fcb79e](https://github.com/widergy/energy-ui/commit/0fcb79e02a3a0f609cf3969f762564d9b01b6c85))
|
|
7
|
+
|
|
1
8
|
## [3.1.3](https://github.com/widergy/energy-ui/compare/v3.1.2...v3.1.3) (2024-01-11)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -20,6 +20,7 @@ Faces.defaultProps = {
|
|
|
20
20
|
className: "icon icon-tabler icon-tabler-mood-smile",
|
|
21
21
|
width: "24",
|
|
22
22
|
height: "24",
|
|
23
|
+
viewBox: "0 0 24 24",
|
|
23
24
|
strokeWidth: "2",
|
|
24
25
|
stroke: "#677489",
|
|
25
26
|
fill: "none",
|
|
@@ -38,6 +39,7 @@ Nature.defaultProps = {
|
|
|
38
39
|
className: "icon icon-tabler icon-tabler-leaf",
|
|
39
40
|
width: "24",
|
|
40
41
|
height: "24",
|
|
42
|
+
viewBox: "0 0 24 24",
|
|
41
43
|
strokeWidth: "2",
|
|
42
44
|
stroke: "#677489",
|
|
43
45
|
fill: "none",
|
|
@@ -54,6 +56,7 @@ Language.defaultProps = {
|
|
|
54
56
|
className: "icon icon-tabler icon-tabler-heart",
|
|
55
57
|
width: "24",
|
|
56
58
|
height: "24",
|
|
59
|
+
viewBox: "0 0 24 24",
|
|
57
60
|
strokeWidth: "2",
|
|
58
61
|
stroke: "#677489",
|
|
59
62
|
fill: "none",
|
|
@@ -74,6 +77,7 @@ Sports.defaultProps = {
|
|
|
74
77
|
className: "icon icon-tabler icon-tabler-ball-american-football",
|
|
75
78
|
width: "24",
|
|
76
79
|
height: "24",
|
|
80
|
+
viewBox: "0 0 24 24",
|
|
77
81
|
strokeWidth: "2",
|
|
78
82
|
stroke: "#677489",
|
|
79
83
|
fill: "none",
|
|
@@ -92,6 +96,7 @@ Food.defaultProps = {
|
|
|
92
96
|
className: "icon icon-tabler icon-tabler-pizza",
|
|
93
97
|
width: "24",
|
|
94
98
|
height: "24",
|
|
99
|
+
viewBox: "0 0 24 24",
|
|
95
100
|
strokeWidth: "2",
|
|
96
101
|
stroke: "#677489",
|
|
97
102
|
fill: "none",
|
|
@@ -108,6 +113,7 @@ Travel.defaultProps = {
|
|
|
108
113
|
className: "icon icon-tabler icon-tabler-plane",
|
|
109
114
|
width: "24",
|
|
110
115
|
height: "24",
|
|
116
|
+
viewBox: "0 0 24 24",
|
|
111
117
|
strokeWidth: "2",
|
|
112
118
|
stroke: "#677489",
|
|
113
119
|
fill: "none",
|
|
@@ -124,6 +130,7 @@ Creative.defaultProps = {
|
|
|
124
130
|
className: "icon icon-tabler icon-tabler-bulb",
|
|
125
131
|
width: "24",
|
|
126
132
|
height: "24",
|
|
133
|
+
viewBox: "0 0 24 24",
|
|
127
134
|
strokeWidth: "2",
|
|
128
135
|
stroke: "#677489",
|
|
129
136
|
fill: "none",
|
|
@@ -140,6 +147,7 @@ Flags.defaultProps = {
|
|
|
140
147
|
className: "icon icon-tabler icon-tabler-flag",
|
|
141
148
|
width: "24",
|
|
142
149
|
height: "24",
|
|
150
|
+
viewBox: "0 0 24 24",
|
|
143
151
|
strokeWidth: "2",
|
|
144
152
|
stroke: "#677489",
|
|
145
153
|
fill: "none",
|
|
@@ -17,6 +17,7 @@ var InfoIcon = function InfoIcon(props) {
|
|
|
17
17
|
InfoIcon.defaultProps = {
|
|
18
18
|
width: "28",
|
|
19
19
|
height: "28",
|
|
20
|
+
viewBox: "0 0 28 28",
|
|
20
21
|
fill: "none",
|
|
21
22
|
xmlns: "http://www.w3.org/2000/svg"
|
|
22
23
|
};
|
|
@@ -31,6 +32,7 @@ var WarningIcon = function WarningIcon(props) {
|
|
|
31
32
|
WarningIcon.defaultProps = {
|
|
32
33
|
width: "32",
|
|
33
34
|
height: "32",
|
|
35
|
+
viewBox: "0 0 32 32",
|
|
34
36
|
fill: "none",
|
|
35
37
|
xmlns: "http://www.w3.org/2000/svg"
|
|
36
38
|
};
|
|
@@ -45,6 +47,7 @@ var SuccessIcon = function SuccessIcon(props) {
|
|
|
45
47
|
SuccessIcon.defaultProps = {
|
|
46
48
|
width: "32",
|
|
47
49
|
height: "32",
|
|
50
|
+
viewBox: "0 0 32 32",
|
|
48
51
|
fill: "none",
|
|
49
52
|
xmlns: "http://www.w3.org/2000/svg"
|
|
50
53
|
};
|
|
@@ -59,6 +62,7 @@ var ErrorIcon = function ErrorIcon(props) {
|
|
|
59
62
|
ErrorIcon.defaultProps = {
|
|
60
63
|
width: "32",
|
|
61
64
|
height: "32",
|
|
65
|
+
viewBox: "0 0 32 32",
|
|
62
66
|
fill: "none",
|
|
63
67
|
xmlns: "http://www.w3.org/2000/svg"
|
|
64
68
|
};
|
|
@@ -24,6 +24,7 @@ var NavigateBeforeIcon = function NavigateBeforeIcon(props) {
|
|
|
24
24
|
NavigateBeforeIcon.defaultProps = {
|
|
25
25
|
width: "24",
|
|
26
26
|
height: "24",
|
|
27
|
+
viewBox: "0 0 24 24",
|
|
27
28
|
fill: "none",
|
|
28
29
|
xmlns: "http://www.w3.org/2000/svg"
|
|
29
30
|
};
|
|
@@ -38,6 +39,7 @@ var NavigateNextIcon = function NavigateNextIcon(props) {
|
|
|
38
39
|
NavigateNextIcon.defaultProps = {
|
|
39
40
|
width: "24",
|
|
40
41
|
height: "24",
|
|
42
|
+
viewBox: "0 0 24 24",
|
|
41
43
|
fill: "none",
|
|
42
44
|
xmlns: "http://www.w3.org/2000/svg"
|
|
43
45
|
};
|
|
@@ -51,6 +53,7 @@ var NavigateHeaderBeforeIcon = function NavigateHeaderBeforeIcon(props) {
|
|
|
51
53
|
NavigateHeaderBeforeIcon.defaultProps = {
|
|
52
54
|
width: "14",
|
|
53
55
|
height: "14",
|
|
56
|
+
viewBox: "0 0 14 14",
|
|
54
57
|
xmlns: "http://www.w3.org/2000/svg"
|
|
55
58
|
};
|
|
56
59
|
var NavigateHeaderNextIcon = function NavigateHeaderNextIcon(props) {
|
|
@@ -63,6 +66,7 @@ var NavigateHeaderNextIcon = function NavigateHeaderNextIcon(props) {
|
|
|
63
66
|
NavigateHeaderNextIcon.defaultProps = {
|
|
64
67
|
width: "14",
|
|
65
68
|
height: "14",
|
|
69
|
+
viewBox: "0 0 14 14",
|
|
66
70
|
xmlns: "http://www.w3.org/2000/svg"
|
|
67
71
|
};
|
|
68
72
|
const Pagination = _ref => {
|
|
@@ -17,6 +17,7 @@ var MoodConfuzed = function MoodConfuzed(props) {
|
|
|
17
17
|
MoodConfuzed.defaultProps = {
|
|
18
18
|
width: "48",
|
|
19
19
|
height: "48",
|
|
20
|
+
viewBox: "0 0 48 48",
|
|
20
21
|
fill: "none",
|
|
21
22
|
xmlns: "http://www.w3.org/2000/svg"
|
|
22
23
|
};
|
|
@@ -31,6 +32,7 @@ var MoodEmpty = function MoodEmpty(props) {
|
|
|
31
32
|
MoodEmpty.defaultProps = {
|
|
32
33
|
width: "48",
|
|
33
34
|
height: "48",
|
|
35
|
+
viewBox: "0 0 48 48",
|
|
34
36
|
fill: "none",
|
|
35
37
|
xmlns: "http://www.w3.org/2000/svg"
|
|
36
38
|
};
|
|
@@ -45,6 +47,7 @@ var MoodHappy = function MoodHappy(props) {
|
|
|
45
47
|
MoodHappy.defaultProps = {
|
|
46
48
|
width: "48",
|
|
47
49
|
height: "48",
|
|
50
|
+
viewBox: "0 0 48 48",
|
|
48
51
|
fill: "none",
|
|
49
52
|
xmlns: "http://www.w3.org/2000/svg"
|
|
50
53
|
};
|
|
@@ -59,6 +62,7 @@ var MoodSad = function MoodSad(props) {
|
|
|
59
62
|
MoodSad.defaultProps = {
|
|
60
63
|
width: "48",
|
|
61
64
|
height: "48",
|
|
65
|
+
viewBox: "0 0 48 48",
|
|
62
66
|
fill: "none",
|
|
63
67
|
xmlns: "http://www.w3.org/2000/svg"
|
|
64
68
|
};
|
|
@@ -73,6 +77,7 @@ var MoodSmile = function MoodSmile(props) {
|
|
|
73
77
|
MoodSmile.defaultProps = {
|
|
74
78
|
width: "48",
|
|
75
79
|
height: "48",
|
|
80
|
+
viewBox: "0 0 48 48",
|
|
76
81
|
fill: "none",
|
|
77
82
|
xmlns: "http://www.w3.org/2000/svg"
|
|
78
83
|
};
|
|
@@ -92,6 +97,7 @@ var MoodConfuzedSelected = function MoodConfuzedSelected(props) {
|
|
|
92
97
|
MoodConfuzedSelected.defaultProps = {
|
|
93
98
|
width: "48",
|
|
94
99
|
height: "48",
|
|
100
|
+
viewBox: "0 0 48 48",
|
|
95
101
|
fill: "none",
|
|
96
102
|
xmlns: "http://www.w3.org/2000/svg"
|
|
97
103
|
};
|
|
@@ -111,6 +117,7 @@ var MoodEmptySelected = function MoodEmptySelected(props) {
|
|
|
111
117
|
MoodEmptySelected.defaultProps = {
|
|
112
118
|
width: "48",
|
|
113
119
|
height: "48",
|
|
120
|
+
viewBox: "0 0 48 48",
|
|
114
121
|
fill: "none",
|
|
115
122
|
xmlns: "http://www.w3.org/2000/svg"
|
|
116
123
|
};
|
|
@@ -130,6 +137,7 @@ var MoodHappySelected = function MoodHappySelected(props) {
|
|
|
130
137
|
MoodHappySelected.defaultProps = {
|
|
131
138
|
width: "48",
|
|
132
139
|
height: "48",
|
|
140
|
+
viewBox: "0 0 48 48",
|
|
133
141
|
fill: "none",
|
|
134
142
|
xmlns: "http://www.w3.org/2000/svg"
|
|
135
143
|
};
|
|
@@ -149,6 +157,7 @@ var MoodSadSelected = function MoodSadSelected(props) {
|
|
|
149
157
|
MoodSadSelected.defaultProps = {
|
|
150
158
|
width: "48",
|
|
151
159
|
height: "48",
|
|
160
|
+
viewBox: "0 0 48 48",
|
|
152
161
|
fill: "none",
|
|
153
162
|
xmlns: "http://www.w3.org/2000/svg"
|
|
154
163
|
};
|
|
@@ -168,6 +177,7 @@ var MoodSmileSelected = function MoodSmileSelected(props) {
|
|
|
168
177
|
MoodSmileSelected.defaultProps = {
|
|
169
178
|
width: "48",
|
|
170
179
|
height: "48",
|
|
180
|
+
viewBox: "0 0 48 48",
|
|
171
181
|
fill: "none",
|
|
172
182
|
xmlns: "http://www.w3.org/2000/svg"
|
|
173
183
|
};
|
|
@@ -18,6 +18,7 @@ var ErrorIcon = function ErrorIcon(props) {
|
|
|
18
18
|
ErrorIcon.defaultProps = {
|
|
19
19
|
width: "20",
|
|
20
20
|
height: "20",
|
|
21
|
+
viewBox: "0 0 20 20",
|
|
21
22
|
fill: "none",
|
|
22
23
|
xmlns: "http://www.w3.org/2000/svg"
|
|
23
24
|
};
|
|
@@ -32,6 +33,7 @@ var InfoIcon = function InfoIcon(props) {
|
|
|
32
33
|
InfoIcon.defaultProps = {
|
|
33
34
|
width: "20",
|
|
34
35
|
height: "20",
|
|
36
|
+
viewBox: "0 0 20 20",
|
|
35
37
|
fill: "none",
|
|
36
38
|
xmlns: "http://www.w3.org/2000/svg"
|
|
37
39
|
};
|
|
@@ -46,6 +48,7 @@ var SuccessIcon = function SuccessIcon(props) {
|
|
|
46
48
|
SuccessIcon.defaultProps = {
|
|
47
49
|
width: "20",
|
|
48
50
|
height: "20",
|
|
51
|
+
viewBox: "0 0 20 20",
|
|
49
52
|
fill: "none",
|
|
50
53
|
xmlns: "http://www.w3.org/2000/svg"
|
|
51
54
|
};
|
|
@@ -60,6 +63,7 @@ var UnassignedIcon = function UnassignedIcon(props) {
|
|
|
60
63
|
UnassignedIcon.defaultProps = {
|
|
61
64
|
width: "20",
|
|
62
65
|
height: "20",
|
|
66
|
+
viewBox: "0 0 20 20",
|
|
63
67
|
fill: "none",
|
|
64
68
|
xmlns: "http://www.w3.org/2000/svg"
|
|
65
69
|
};
|
|
@@ -74,6 +78,7 @@ var WarningIcon = function WarningIcon(props) {
|
|
|
74
78
|
WarningIcon.defaultProps = {
|
|
75
79
|
width: "20",
|
|
76
80
|
height: "20",
|
|
81
|
+
viewBox: "0 0 20 20",
|
|
77
82
|
fill: "none",
|
|
78
83
|
xmlns: "http://www.w3.org/2000/svg"
|
|
79
84
|
};
|
|
@@ -23,6 +23,7 @@ var NavigateBeforeIcon = function NavigateBeforeIcon(props) {
|
|
|
23
23
|
NavigateBeforeIcon.defaultProps = {
|
|
24
24
|
width: "7",
|
|
25
25
|
height: "14",
|
|
26
|
+
viewBox: "0 0 7 14",
|
|
26
27
|
xmlns: "http://www.w3.org/2000/svg"
|
|
27
28
|
};
|
|
28
29
|
var NavigateNextIcon = function NavigateNextIcon(props) {
|
|
@@ -35,6 +36,7 @@ var NavigateNextIcon = function NavigateNextIcon(props) {
|
|
|
35
36
|
NavigateNextIcon.defaultProps = {
|
|
36
37
|
width: "7",
|
|
37
38
|
height: "14",
|
|
39
|
+
viewBox: "0 0 7 14",
|
|
38
40
|
xmlns: "http://www.w3.org/2000/svg"
|
|
39
41
|
};
|
|
40
42
|
var NavigateHeaderBeforeIcon = function NavigateHeaderBeforeIcon(props) {
|
|
@@ -47,6 +49,7 @@ var NavigateHeaderBeforeIcon = function NavigateHeaderBeforeIcon(props) {
|
|
|
47
49
|
NavigateHeaderBeforeIcon.defaultProps = {
|
|
48
50
|
width: "14",
|
|
49
51
|
height: "14",
|
|
52
|
+
viewBox: "0 0 14 14",
|
|
50
53
|
xmlns: "http://www.w3.org/2000/svg"
|
|
51
54
|
};
|
|
52
55
|
var NavigateHeaderNextIcon = function NavigateHeaderNextIcon(props) {
|
|
@@ -59,6 +62,7 @@ var NavigateHeaderNextIcon = function NavigateHeaderNextIcon(props) {
|
|
|
59
62
|
NavigateHeaderNextIcon.defaultProps = {
|
|
60
63
|
width: "14",
|
|
61
64
|
height: "14",
|
|
65
|
+
viewBox: "0 0 14 14",
|
|
62
66
|
xmlns: "http://www.w3.org/2000/svg"
|
|
63
67
|
};
|
|
64
68
|
const Pagination = _ref => {
|