@eturnity/eturnity_reusable_components 8.34.0-EPDM-16204.1 → 8.37.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/dist/main.es16.js +1 -1
- package/dist/main.es199.js +6 -4
- package/dist/main.es348.js +4 -4
- package/dist/main.es386.js +1 -1
- package/dist/main.es559.js +1 -1
- package/dist/main.es708.js +1 -1
- package/dist/main.es742.js +60 -21
- package/dist/main.es743.js +21 -60
- package/dist/main.es8.js +103 -66
- package/package.json +1 -1
- package/src/assets/svgIcons/electricity_tariff.svg +2 -2
- package/src/assets/svgIcons/suitcase.svg +2 -2
- package/src/assets/theme.js +90 -63
- package/src/components/buttons/mainButton/MainButton.stories.js +6 -0
- package/src/components/buttons/mainButton/index.vue +9 -1
- package/src/components/dropdown/Dropdown.stories.js +111 -39
- package/src/components/dropdown/defaultProps.js +7 -0
- package/src/components/dropdown/dropdown.spec.js +55 -0
- package/src/components/dropdown/index.vue +30 -21
- package/src/components/inputs/select/option/index.vue +21 -3
- package/src/components/progressBar/ProgressBar.stories.js +62 -0
- package/src/components/progressBar/defaultProps.js +5 -0
- package/src/components/progressBar/index.vue +28 -56
- package/src/components/progressBar/progressBar.spec.js +52 -0
- package/src/components/sideMenu/index.vue +23 -27
- package/src/components/tables/mainTable/index.vue +2 -1
package/dist/main.es16.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isSymbol, hasChanged, isObject, NOOP, isArray, extend, toRawType, isFunction, def, hasOwn, isIntegerKey, isMap, makeMap, capitalize } from "./main.
|
|
1
|
+
import { isSymbol, hasChanged, isObject, NOOP, isArray, extend, toRawType, isFunction, def, hasOwn, isIntegerKey, isMap, makeMap, capitalize } from "./main.es742.js";
|
|
2
2
|
function warn(msg, ...args) {
|
|
3
3
|
console.warn(`[Vue warn] ${msg}`, ...args);
|
|
4
4
|
}
|
package/dist/main.es199.js
CHANGED
|
@@ -2,13 +2,15 @@ import "./main.es3.js";
|
|
|
2
2
|
import { openBlock, createElementBlock, createElementVNode as createBaseVNode } from "./main.es6.js";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
width: "
|
|
6
|
-
height: "
|
|
5
|
+
width: "10",
|
|
6
|
+
height: "18",
|
|
7
7
|
fill: "none"
|
|
8
8
|
};
|
|
9
9
|
const _hoisted_2 = /* @__PURE__ */ createBaseVNode("path", {
|
|
10
|
-
fill: "#
|
|
11
|
-
|
|
10
|
+
fill: "#263238",
|
|
11
|
+
"fill-rule": "evenodd",
|
|
12
|
+
d: "M9.367 9.334A.2.2 0 0 0 9.218 9h-3.05L8.299.785c.052-.202-.201-.339-.342-.184L.634 8.666A.2.2 0 0 0 .782 9h3.05l-2.13 8.215c-.053.202.2.34.341.184z",
|
|
13
|
+
"clip-rule": "evenodd"
|
|
12
14
|
}, null, -1);
|
|
13
15
|
const _hoisted_3 = [
|
|
14
16
|
_hoisted_2
|
package/dist/main.es348.js
CHANGED
|
@@ -2,13 +2,13 @@ import "./main.es3.js";
|
|
|
2
2
|
import { openBlock, createElementBlock, createElementVNode as createBaseVNode } from "./main.es6.js";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
width: "
|
|
6
|
-
height: "
|
|
5
|
+
width: "16",
|
|
6
|
+
height: "15",
|
|
7
7
|
fill: "none"
|
|
8
8
|
};
|
|
9
9
|
const _hoisted_2 = /* @__PURE__ */ createBaseVNode("path", {
|
|
10
|
-
fill: "#
|
|
11
|
-
d: "
|
|
10
|
+
fill: "#263238",
|
|
11
|
+
d: "M25.6 16.15h-2.1v-1.4c0-.777-.623-1.4-1.4-1.4h-4.2c-.777 0-1.4.623-1.4 1.4v1.4h-2.1c-.777 0-1.4.623-1.4 1.4v7.7c0 .777.623 1.4 1.4 1.4h11.2c.777 0 1.4-.623 1.4-1.4v-7.7c0-.777-.623-1.4-1.4-1.4m-7.7-1.4h4.2v1.4h-4.2zm7.7 7H14.4v-4.2h11.2z"
|
|
12
12
|
}, null, -1);
|
|
13
13
|
const _hoisted_3 = [
|
|
14
14
|
_hoisted_2
|
package/dist/main.es386.js
CHANGED
package/dist/main.es559.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite_glob_0_172 = "data:image/svg+xml;base64,
|
|
1
|
+
const __vite_glob_0_172 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxMCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik05LjM2NjUyIDkuMzM0NDVDOS40ODMyIDkuMjA1OTUgOS4zOTIwMyA5IDkuMjE4NDUgOUg2LjE2NzY3TDguMjk4OTYgMC43ODUyODlDOC4zNTE0MyAwLjU4MzA3MyA4LjA5Nzc1IDAuNDQ1OTUgNy45NTczMSAwLjYwMDYxTDAuNjMzNzg0IDguNjY1NTVDMC41MTcwOTYgOC43OTQwNSAwLjYwODI3MSA5IDAuNzgxODQ3IDlIMy44MzI2M0wxLjcwMTM0IDE3LjIxNDdDMS42NDg4NyAxNy40MTY5IDEuOTAyNTUgMTcuNTU0MSAyLjA0Mjk5IDE3LjM5OTRMOS4zNjY1MiA5LjMzNDQ1WiIgZmlsbD0iIzI2MzIzOCIvPgo8L3N2Zz4K";
|
|
2
2
|
export {
|
|
3
3
|
__vite_glob_0_172 as default
|
|
4
4
|
};
|
package/dist/main.es708.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite_glob_0_321 = "data:image/svg+xml;base64,
|
|
1
|
+
const __vite_glob_0_321 = "data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjE1IiB2aWV3Ym94PSIxMiAxMiAxNiAxNSIgd2lkdGg9IjE2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMjUuNiAxNi4xNUgyMy41VjE0Ljc1QzIzLjUgMTMuOTczIDIyLjg3NyAxMy4zNSAyMi4xIDEzLjM1SDE3LjlDMTcuMTIzIDEzLjM1IDE2LjUgMTMuOTczIDE2LjUgMTQuNzVWMTYuMTVIMTQuNEMxMy42MjMgMTYuMTUgMTMgMTYuNzczIDEzIDE3LjU1VjI1LjI1QzEzIDI2LjAyNyAxMy42MjMgMjYuNjUgMTQuNCAyNi42NUgyNS42QzI2LjM3NyAyNi42NSAyNyAyNi4wMjcgMjcgMjUuMjVWMTcuNTVDMjcgMTYuNzczIDI2LjM3NyAxNi4xNSAyNS42IDE2LjE1Wk0xNy45IDE0Ljc1SDIyLjFWMTYuMTVIMTcuOVYxNC43NVpNMjUuNiAyMS43NUgxNC40VjE3LjU1SDE2LjVIMTcuOUgyMi4xSDIzLjVIMjUuNlYyMS43NVoiIGZpbGw9IiMyNjMyMzgiPjwvcGF0aD4KPC9zdmc+Cg==";
|
|
2
2
|
export {
|
|
3
3
|
__vite_glob_0_321 as default
|
|
4
4
|
};
|
package/dist/main.es742.js
CHANGED
|
@@ -1,25 +1,64 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return supported;
|
|
1
|
+
function makeMap(str, expectsLowerCase) {
|
|
2
|
+
const map = /* @__PURE__ */ Object.create(null);
|
|
3
|
+
const list = str.split(",");
|
|
4
|
+
for (let i = 0; i < list.length; i++) {
|
|
5
|
+
map[list[i]] = true;
|
|
7
6
|
}
|
|
8
|
-
|
|
9
|
-
supported = true;
|
|
10
|
-
perf = window.performance;
|
|
11
|
-
} else if (typeof globalThis !== "undefined" && ((_a = globalThis.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
|
|
12
|
-
supported = true;
|
|
13
|
-
perf = globalThis.perf_hooks.performance;
|
|
14
|
-
} else {
|
|
15
|
-
supported = false;
|
|
16
|
-
}
|
|
17
|
-
return supported;
|
|
18
|
-
}
|
|
19
|
-
function now() {
|
|
20
|
-
return isPerformanceSupported() ? perf.now() : Date.now();
|
|
7
|
+
return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
|
|
21
8
|
}
|
|
9
|
+
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
10
|
+
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
11
|
+
const NOOP = () => {
|
|
12
|
+
};
|
|
13
|
+
const extend = Object.assign;
|
|
14
|
+
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
15
|
+
const hasOwn = (val, key) => hasOwnProperty.call(val, key);
|
|
16
|
+
const isArray = Array.isArray;
|
|
17
|
+
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
18
|
+
const isFunction = (val) => typeof val === "function";
|
|
19
|
+
const isString = (val) => typeof val === "string";
|
|
20
|
+
const isSymbol = (val) => typeof val === "symbol";
|
|
21
|
+
const isObject = (val) => val !== null && typeof val === "object";
|
|
22
|
+
const objectToString = Object.prototype.toString;
|
|
23
|
+
const toTypeString = (value) => objectToString.call(value);
|
|
24
|
+
const toRawType = (value) => {
|
|
25
|
+
return toTypeString(value).slice(8, -1);
|
|
26
|
+
};
|
|
27
|
+
const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
|
|
28
|
+
const cacheStringFunction = (fn) => {
|
|
29
|
+
const cache = /* @__PURE__ */ Object.create(null);
|
|
30
|
+
return (str) => {
|
|
31
|
+
const hit = cache[str];
|
|
32
|
+
return hit || (cache[str] = fn(str));
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
const capitalize = cacheStringFunction(
|
|
36
|
+
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
37
|
+
);
|
|
38
|
+
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
|
|
39
|
+
const def = (obj, key, value) => {
|
|
40
|
+
Object.defineProperty(obj, key, {
|
|
41
|
+
configurable: true,
|
|
42
|
+
enumerable: false,
|
|
43
|
+
value
|
|
44
|
+
});
|
|
45
|
+
};
|
|
22
46
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
47
|
+
NOOP,
|
|
48
|
+
capitalize,
|
|
49
|
+
def,
|
|
50
|
+
extend,
|
|
51
|
+
hasChanged,
|
|
52
|
+
hasOwn,
|
|
53
|
+
isArray,
|
|
54
|
+
isFunction,
|
|
55
|
+
isIntegerKey,
|
|
56
|
+
isMap,
|
|
57
|
+
isObject,
|
|
58
|
+
isString,
|
|
59
|
+
isSymbol,
|
|
60
|
+
makeMap,
|
|
61
|
+
objectToString,
|
|
62
|
+
toRawType,
|
|
63
|
+
toTypeString
|
|
25
64
|
};
|
package/dist/main.es743.js
CHANGED
|
@@ -1,64 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
let supported;
|
|
2
|
+
let perf;
|
|
3
|
+
function isPerformanceSupported() {
|
|
4
|
+
var _a;
|
|
5
|
+
if (supported !== void 0) {
|
|
6
|
+
return supported;
|
|
6
7
|
}
|
|
7
|
-
|
|
8
|
+
if (typeof window !== "undefined" && window.performance) {
|
|
9
|
+
supported = true;
|
|
10
|
+
perf = window.performance;
|
|
11
|
+
} else if (typeof globalThis !== "undefined" && ((_a = globalThis.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
|
|
12
|
+
supported = true;
|
|
13
|
+
perf = globalThis.perf_hooks.performance;
|
|
14
|
+
} else {
|
|
15
|
+
supported = false;
|
|
16
|
+
}
|
|
17
|
+
return supported;
|
|
18
|
+
}
|
|
19
|
+
function now() {
|
|
20
|
+
return isPerformanceSupported() ? perf.now() : Date.now();
|
|
8
21
|
}
|
|
9
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
10
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
11
|
-
const NOOP = () => {
|
|
12
|
-
};
|
|
13
|
-
const extend = Object.assign;
|
|
14
|
-
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
15
|
-
const hasOwn = (val, key) => hasOwnProperty.call(val, key);
|
|
16
|
-
const isArray = Array.isArray;
|
|
17
|
-
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
18
|
-
const isFunction = (val) => typeof val === "function";
|
|
19
|
-
const isString = (val) => typeof val === "string";
|
|
20
|
-
const isSymbol = (val) => typeof val === "symbol";
|
|
21
|
-
const isObject = (val) => val !== null && typeof val === "object";
|
|
22
|
-
const objectToString = Object.prototype.toString;
|
|
23
|
-
const toTypeString = (value) => objectToString.call(value);
|
|
24
|
-
const toRawType = (value) => {
|
|
25
|
-
return toTypeString(value).slice(8, -1);
|
|
26
|
-
};
|
|
27
|
-
const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
|
|
28
|
-
const cacheStringFunction = (fn) => {
|
|
29
|
-
const cache = /* @__PURE__ */ Object.create(null);
|
|
30
|
-
return (str) => {
|
|
31
|
-
const hit = cache[str];
|
|
32
|
-
return hit || (cache[str] = fn(str));
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
const capitalize = cacheStringFunction(
|
|
36
|
-
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
37
|
-
);
|
|
38
|
-
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
|
|
39
|
-
const def = (obj, key, value) => {
|
|
40
|
-
Object.defineProperty(obj, key, {
|
|
41
|
-
configurable: true,
|
|
42
|
-
enumerable: false,
|
|
43
|
-
value
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
22
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
def,
|
|
50
|
-
extend,
|
|
51
|
-
hasChanged,
|
|
52
|
-
hasOwn,
|
|
53
|
-
isArray,
|
|
54
|
-
isFunction,
|
|
55
|
-
isIntegerKey,
|
|
56
|
-
isMap,
|
|
57
|
-
isObject,
|
|
58
|
-
isString,
|
|
59
|
-
isSymbol,
|
|
60
|
-
makeMap,
|
|
61
|
-
objectToString,
|
|
62
|
-
toRawType,
|
|
63
|
-
toTypeString
|
|
23
|
+
isPerformanceSupported,
|
|
24
|
+
now
|
|
64
25
|
};
|
package/dist/main.es8.js
CHANGED
|
@@ -26,8 +26,6 @@ const theme = (() => {
|
|
|
26
26
|
red2: "#de5959",
|
|
27
27
|
red3: "#FFCCCC",
|
|
28
28
|
red4: "#FF9A9A",
|
|
29
|
-
red6: "#FFEBEB",
|
|
30
|
-
red5: "#CC4545",
|
|
31
29
|
pureRed: "#ff0000",
|
|
32
30
|
darkRed: "#d00000",
|
|
33
31
|
cornellRed: "#a52019",
|
|
@@ -69,8 +67,6 @@ const theme = (() => {
|
|
|
69
67
|
purple4: "#D0D6F5",
|
|
70
68
|
purple5: "#533181",
|
|
71
69
|
purple6: "#6F20DC",
|
|
72
|
-
purple7: "#F5EEFF",
|
|
73
|
-
purple8: "#B17BFA",
|
|
74
70
|
orange: "#ffc338",
|
|
75
71
|
disabled: "#dfe1e1",
|
|
76
72
|
transparentWhite2: "#ffffff32",
|
|
@@ -183,9 +179,35 @@ const theme = (() => {
|
|
|
183
179
|
900: "#331111"
|
|
184
180
|
}
|
|
185
181
|
};
|
|
182
|
+
const chartGradients = {
|
|
183
|
+
simple: {
|
|
184
|
+
from: semanticColors.purple[500],
|
|
185
|
+
to: semanticColors.purple[400]
|
|
186
|
+
},
|
|
187
|
+
stacked: [{
|
|
188
|
+
from: "#F5EDFF",
|
|
189
|
+
to: "#DEC5FF"
|
|
190
|
+
}, {
|
|
191
|
+
from: "#CAA2FF",
|
|
192
|
+
to: "#F2E8FF"
|
|
193
|
+
}, {
|
|
194
|
+
from: "#B987FC",
|
|
195
|
+
to: "#904AEF"
|
|
196
|
+
}, {
|
|
197
|
+
from: "#8B40F2",
|
|
198
|
+
to: "#4A1394"
|
|
199
|
+
}, {
|
|
200
|
+
from: "#6A05F2",
|
|
201
|
+
to: "#4905A5"
|
|
202
|
+
}, {
|
|
203
|
+
from: "#5402C3",
|
|
204
|
+
to: "#2B0362"
|
|
205
|
+
}]
|
|
206
|
+
};
|
|
186
207
|
return {
|
|
187
208
|
colors,
|
|
188
209
|
semanticColors,
|
|
210
|
+
chartGradients,
|
|
189
211
|
fonts: {
|
|
190
212
|
mainFont: '"Figtree", sans-serif'
|
|
191
213
|
},
|
|
@@ -204,6 +226,18 @@ const theme = (() => {
|
|
|
204
226
|
boxShadow: {
|
|
205
227
|
card: "0px 2px 8px 2px rgba(0, 0, 0, 0.15)"
|
|
206
228
|
},
|
|
229
|
+
progressBar: {
|
|
230
|
+
light: {
|
|
231
|
+
fillColor: semanticColors.purple[500],
|
|
232
|
+
backgroundColor: semanticColors.grey[200],
|
|
233
|
+
labelColor: semanticColors.grey[700]
|
|
234
|
+
},
|
|
235
|
+
dark: {
|
|
236
|
+
fillColor: colors.white,
|
|
237
|
+
backgroundColor: semanticColors.grey[700],
|
|
238
|
+
labelColor: semanticColors.grey[200]
|
|
239
|
+
}
|
|
240
|
+
},
|
|
207
241
|
mainButton: {
|
|
208
242
|
light: {
|
|
209
243
|
// theme
|
|
@@ -401,27 +435,29 @@ const theme = (() => {
|
|
|
401
435
|
backgroundColor: semanticColors.grey[300],
|
|
402
436
|
borderColor: ""
|
|
403
437
|
}
|
|
404
|
-
}
|
|
405
|
-
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
protag: {
|
|
441
|
+
main: {
|
|
406
442
|
default: {
|
|
407
|
-
backgroundColor:
|
|
443
|
+
backgroundColor: semanticColors.yellow[300],
|
|
408
444
|
textColor: semanticColors.teal[800],
|
|
409
|
-
borderColor:
|
|
445
|
+
borderColor: "transparent"
|
|
410
446
|
},
|
|
411
447
|
hover: {
|
|
412
|
-
backgroundColor: semanticColors.
|
|
448
|
+
backgroundColor: semanticColors.yellow[300],
|
|
413
449
|
textColor: semanticColors.teal[800],
|
|
414
|
-
borderColor:
|
|
450
|
+
borderColor: ""
|
|
415
451
|
},
|
|
416
452
|
active: {
|
|
417
|
-
backgroundColor: semanticColors.
|
|
453
|
+
backgroundColor: semanticColors.yellow[300],
|
|
418
454
|
textColor: semanticColors.teal[800],
|
|
419
|
-
borderColor:
|
|
455
|
+
borderColor: ""
|
|
420
456
|
},
|
|
421
457
|
disabled: {
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
borderColor:
|
|
458
|
+
backgroundColor: semanticColors.yellow[300],
|
|
459
|
+
textColor: semanticColors.teal[400],
|
|
460
|
+
borderColor: ""
|
|
425
461
|
}
|
|
426
462
|
}
|
|
427
463
|
},
|
|
@@ -448,54 +484,6 @@ const theme = (() => {
|
|
|
448
484
|
borderColor: ""
|
|
449
485
|
}
|
|
450
486
|
}
|
|
451
|
-
},
|
|
452
|
-
protag: {
|
|
453
|
-
main: {
|
|
454
|
-
default: {
|
|
455
|
-
backgroundColor: semanticColors.yellow[200],
|
|
456
|
-
textColor: semanticColors.teal[800],
|
|
457
|
-
borderColor: ""
|
|
458
|
-
},
|
|
459
|
-
hover: {
|
|
460
|
-
backgroundColor: semanticColors.yellow[200],
|
|
461
|
-
textColor: semanticColors.teal[800],
|
|
462
|
-
borderColor: ""
|
|
463
|
-
},
|
|
464
|
-
active: {
|
|
465
|
-
backgroundColor: semanticColors.yellow[200],
|
|
466
|
-
textColor: semanticColors.teal[800],
|
|
467
|
-
borderColor: ""
|
|
468
|
-
},
|
|
469
|
-
disabled: {
|
|
470
|
-
backgroundColor: semanticColors.yellow[200],
|
|
471
|
-
textColor: semanticColors.teal[400],
|
|
472
|
-
borderColor: ""
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
freeTrialTag: {
|
|
477
|
-
main: {
|
|
478
|
-
default: {
|
|
479
|
-
backgroundColor: semanticColors.blue[200],
|
|
480
|
-
textColor: semanticColors.teal[800],
|
|
481
|
-
borderColor: ""
|
|
482
|
-
},
|
|
483
|
-
hover: {
|
|
484
|
-
backgroundColor: semanticColors.blue[200],
|
|
485
|
-
textColor: semanticColors.teal[800],
|
|
486
|
-
borderColor: ""
|
|
487
|
-
},
|
|
488
|
-
active: {
|
|
489
|
-
backgroundColor: semanticColors.blue[200],
|
|
490
|
-
textColor: semanticColors.teal[800],
|
|
491
|
-
borderColor: ""
|
|
492
|
-
},
|
|
493
|
-
disabled: {
|
|
494
|
-
backgroundColor: semanticColors.blue[200],
|
|
495
|
-
textColor: semanticColors.teal[400],
|
|
496
|
-
borderColor: ""
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
487
|
}
|
|
500
488
|
},
|
|
501
489
|
dark: {
|
|
@@ -647,6 +635,55 @@ const theme = (() => {
|
|
|
647
635
|
}
|
|
648
636
|
}
|
|
649
637
|
},
|
|
638
|
+
tertiary: {
|
|
639
|
+
// type
|
|
640
|
+
main: {
|
|
641
|
+
// variant: this is the default variant
|
|
642
|
+
default: {
|
|
643
|
+
backgroundColor: "transparent",
|
|
644
|
+
textColor: semanticColors.purple[50],
|
|
645
|
+
borderColor: semanticColors.teal[500]
|
|
646
|
+
},
|
|
647
|
+
hover: {
|
|
648
|
+
backgroundColor: semanticColors.teal[600],
|
|
649
|
+
textColor: semanticColors.purple[50],
|
|
650
|
+
borderColor: semanticColors.teal[400]
|
|
651
|
+
},
|
|
652
|
+
active: {
|
|
653
|
+
backgroundColor: semanticColors.teal[700],
|
|
654
|
+
textColor: semanticColors.purple[50],
|
|
655
|
+
borderColor: semanticColors.teal[300]
|
|
656
|
+
},
|
|
657
|
+
disabled: {
|
|
658
|
+
textColor: semanticColors.grey[600],
|
|
659
|
+
backgroundColor: semanticColors.grey[500],
|
|
660
|
+
borderColor: semanticColors.grey[800]
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
cancel: {
|
|
664
|
+
// variant
|
|
665
|
+
default: {
|
|
666
|
+
backgroundColor: semanticColors.teal[200],
|
|
667
|
+
textColor: semanticColors.red[400],
|
|
668
|
+
borderColor: semanticColors.teal[500]
|
|
669
|
+
},
|
|
670
|
+
hover: {
|
|
671
|
+
backgroundColor: semanticColors.red[700],
|
|
672
|
+
textColor: semanticColors.red[700],
|
|
673
|
+
borderColor: semanticColors.teal[400]
|
|
674
|
+
},
|
|
675
|
+
active: {
|
|
676
|
+
backgroundColor: semanticColors.red[600],
|
|
677
|
+
textColor: semanticColors.red[200],
|
|
678
|
+
borderColor: semanticColors.teal[300]
|
|
679
|
+
},
|
|
680
|
+
disabled: {
|
|
681
|
+
textColor: semanticColors.grey[600],
|
|
682
|
+
backgroundColor: semanticColors.grey[500],
|
|
683
|
+
borderColor: semanticColors.grey[800]
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
},
|
|
650
687
|
ghost: {
|
|
651
688
|
// type
|
|
652
689
|
main: {
|
|
@@ -738,9 +775,9 @@ const theme = (() => {
|
|
|
738
775
|
iconWidth: "26px"
|
|
739
776
|
},
|
|
740
777
|
tiny: {
|
|
741
|
-
padding: "
|
|
742
|
-
fontSize: "
|
|
743
|
-
iconWidth: "
|
|
778
|
+
padding: "2px 5px",
|
|
779
|
+
fontSize: "10px",
|
|
780
|
+
iconWidth: "18px"
|
|
744
781
|
}
|
|
745
782
|
}
|
|
746
783
|
}
|
package/package.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path
|
|
1
|
+
<svg width="10" height="18" viewBox="0 0 10 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.36652 9.33445C9.4832 9.20595 9.39203 9 9.21845 9H6.16767L8.29896 0.785289C8.35143 0.583073 8.09775 0.44595 7.95731 0.60061L0.633784 8.66555C0.517096 8.79405 0.608271 9 0.781847 9H3.83263L1.70134 17.2147C1.64887 17.4169 1.90255 17.5541 2.04299 17.3994L9.36652 9.33445Z" fill="#263238"/>
|
|
3
3
|
</svg>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
<path d="
|
|
1
|
+
<svg fill="none" height="15" viewbox="12 12 16 15" width="16" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M25.6 16.15H23.5V14.75C23.5 13.973 22.877 13.35 22.1 13.35H17.9C17.123 13.35 16.5 13.973 16.5 14.75V16.15H14.4C13.623 16.15 13 16.773 13 17.55V25.25C13 26.027 13.623 26.65 14.4 26.65H25.6C26.377 26.65 27 26.027 27 25.25V17.55C27 16.773 26.377 16.15 25.6 16.15ZM17.9 14.75H22.1V16.15H17.9V14.75ZM25.6 21.75H14.4V17.55H16.5H17.9H22.1H23.5H25.6V21.75Z" fill="#263238"></path>
|
|
3
3
|
</svg>
|