musae 1.0.10 → 1.0.12
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/components/icon/icons/action/index.cjs +6 -0
- package/dist/components/icon/icons/action/index.d.ts +4 -1
- package/dist/components/icon/icons/action/index.mjs +3 -0
- package/dist/components/icon/icons/action/logout.cjs +22 -0
- package/dist/components/icon/icons/action/logout.d.ts +3 -0
- package/dist/components/icon/icons/action/logout.mjs +18 -0
- package/dist/components/icon/icons/action/schedule.cjs +22 -0
- package/dist/components/icon/icons/action/schedule.d.ts +3 -0
- package/dist/components/icon/icons/action/schedule.mjs +18 -0
- package/dist/components/icon/icons/action/turned-in.cjs +22 -0
- package/dist/components/icon/icons/action/turned-in.d.ts +3 -0
- package/dist/components/icon/icons/action/turned-in.mjs +18 -0
- package/dist/components/icon/icons/device/dark-mode.cjs +22 -0
- package/dist/components/icon/icons/device/dark-mode.d.ts +3 -0
- package/dist/components/icon/icons/device/dark-mode.mjs +18 -0
- package/dist/components/icon/icons/device/index.d.ts +3 -0
- package/dist/components/icon/icons/device/light-mode.cjs +22 -0
- package/dist/components/icon/icons/device/light-mode.d.ts +3 -0
- package/dist/components/icon/icons/device/light-mode.mjs +18 -0
- package/dist/components/icon/icons/index.cjs +10 -0
- package/dist/components/icon/icons/index.d.ts +1 -0
- package/dist/components/icon/icons/index.mjs +5 -0
- package/dist/hooks/use-theme-color-vars.cjs +1 -1
- package/dist/hooks/use-theme-color-vars.d.ts +1 -1
- package/dist/hooks/use-theme-color-vars.mjs +1 -1
- package/package.json +1 -1
|
@@ -18,6 +18,9 @@ var threeDRotation = require('./three-d-rotation.cjs');
|
|
|
18
18
|
var accountCircle = require('./account-circle.cjs');
|
|
19
19
|
var rocketLaunch = require('./rocket-launch.cjs');
|
|
20
20
|
var preview = require('./preview.cjs');
|
|
21
|
+
var logout = require('./logout.cjs');
|
|
22
|
+
var schedule = require('./schedule.cjs');
|
|
23
|
+
var turnedIn = require('./turned-in.cjs');
|
|
21
24
|
|
|
22
25
|
|
|
23
26
|
|
|
@@ -39,3 +42,6 @@ exports.ThreeDRotation = threeDRotation.default;
|
|
|
39
42
|
exports.AccountCircle = accountCircle.default;
|
|
40
43
|
exports.RocketLaunch = rocketLaunch.default;
|
|
41
44
|
exports.Preview = preview.default;
|
|
45
|
+
exports.Logout = logout.default;
|
|
46
|
+
exports.Schedule = schedule.default;
|
|
47
|
+
exports.TurnedIn = turnedIn.default;
|
|
@@ -16,4 +16,7 @@ import ThreeDRotation from "./three-d-rotation";
|
|
|
16
16
|
import AccountCircle from "./account-circle";
|
|
17
17
|
import RocketLaunch from "./rocket-launch";
|
|
18
18
|
import Preview from "./preview";
|
|
19
|
-
|
|
19
|
+
import Logout from "./logout";
|
|
20
|
+
import Schedule from "./schedule";
|
|
21
|
+
import TurnedIn from "./turned-in";
|
|
22
|
+
export { Visibility, VisibilityOff, CheckCircleOutline, Done, CheckCircle, SwapHoriz, SwapVert, ZoomOut, ZoomIn, DoneOutline, Translate, Code, OpenInNew, Delete, ThreeDRotation, AccountCircle, RocketLaunch, Preview, Logout, Schedule, TurnedIn, };
|
|
@@ -16,3 +16,6 @@ export { default as ThreeDRotation } from './three-d-rotation.mjs';
|
|
|
16
16
|
export { default as AccountCircle } from './account-circle.mjs';
|
|
17
17
|
export { default as RocketLaunch } from './rocket-launch.mjs';
|
|
18
18
|
export { default as Preview } from './preview.mjs';
|
|
19
|
+
export { default as Logout } from './logout.mjs';
|
|
20
|
+
export { default as Schedule } from './schedule.mjs';
|
|
21
|
+
export { default as TurnedIn } from './turned-in.mjs';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var hoc = require('../../hoc.cjs');
|
|
7
|
+
|
|
8
|
+
var Logout = hoc.withIcon(function (_ref) {
|
|
9
|
+
var size = _ref.size;
|
|
10
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
width: size,
|
|
13
|
+
height: size,
|
|
14
|
+
viewBox: "0 0 24 24",
|
|
15
|
+
fill: "none"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
d: "M17 8L15.59 9.41L17.17 11H9V13H17.17L15.59 14.58L17 16L21 12L17 8ZM5 5H12V3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H12V19H5V5Z",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}));
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
exports.default = Logout;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { withIcon } from '../../hoc.mjs';
|
|
3
|
+
|
|
4
|
+
var Logout = withIcon(function (_ref) {
|
|
5
|
+
var size = _ref.size;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M17 8L15.59 9.41L17.17 11H9V13H17.17L15.59 14.58L17 16L21 12L17 8ZM5 5H12V3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H12V19H5V5Z",
|
|
14
|
+
fill: "currentColor"
|
|
15
|
+
}));
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { Logout as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var hoc = require('../../hoc.cjs');
|
|
7
|
+
|
|
8
|
+
var Schedule = hoc.withIcon(function (_ref) {
|
|
9
|
+
var size = _ref.size;
|
|
10
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
width: size,
|
|
13
|
+
height: size,
|
|
14
|
+
viewBox: "0 0 24 24",
|
|
15
|
+
fill: "none"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
d: "M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM12.5 7H11V13L16.25 16.15L17 14.92L12.5 12.25V7Z",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}));
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
exports.default = Schedule;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { withIcon } from '../../hoc.mjs';
|
|
3
|
+
|
|
4
|
+
var Schedule = withIcon(function (_ref) {
|
|
5
|
+
var size = _ref.size;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM12.5 7H11V13L16.25 16.15L17 14.92L12.5 12.25V7Z",
|
|
14
|
+
fill: "currentColor"
|
|
15
|
+
}));
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { Schedule as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var hoc = require('../../hoc.cjs');
|
|
7
|
+
|
|
8
|
+
var TurnedIn = hoc.withIcon(function (_ref) {
|
|
9
|
+
var size = _ref.size;
|
|
10
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
width: size,
|
|
13
|
+
height: size,
|
|
14
|
+
viewBox: "0 0 24 24",
|
|
15
|
+
fill: "none"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
d: "M17 3H7C5.9 3 5.01 3.9 5.01 5L5 21L12 18L19 21V5C19 3.9 18.1 3 17 3Z",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}));
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
exports.default = TurnedIn;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { withIcon } from '../../hoc.mjs';
|
|
3
|
+
|
|
4
|
+
var TurnedIn = withIcon(function (_ref) {
|
|
5
|
+
var size = _ref.size;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M17 3H7C5.9 3 5.01 3.9 5.01 5L5 21L12 18L19 21V5C19 3.9 18.1 3 17 3Z",
|
|
14
|
+
fill: "currentColor"
|
|
15
|
+
}));
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { TurnedIn as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var hoc = require('../../hoc.cjs');
|
|
7
|
+
|
|
8
|
+
var DarkMode = hoc.withIcon(function (_ref) {
|
|
9
|
+
var size = _ref.size;
|
|
10
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
width: size,
|
|
13
|
+
height: size,
|
|
14
|
+
viewBox: "0 0 24 24",
|
|
15
|
+
fill: "none"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
d: "M9.37 5.51C9.19 6.15 9.1 6.82 9.1 7.5C9.1 11.58 12.42 14.9 16.5 14.9C17.18 14.9 17.85 14.81 18.49 14.63C17.45 17.19 14.93 19 12 19C8.14 19 5 15.86 5 12C5 9.07 6.81 6.55 9.37 5.51ZM12 3C7.03 3 3 7.03 3 12C3 16.97 7.03 21 12 21C16.97 21 21 16.97 21 12C21 11.54 20.96 11.08 20.9 10.64C19.92 12.01 18.32 12.9 16.5 12.9C13.52 12.9 11.1 10.48 11.1 7.5C11.1 5.69 11.99 4.08 13.36 3.1C12.92 3.04 12.46 3 12 3Z",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}));
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
exports.default = DarkMode;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { withIcon } from '../../hoc.mjs';
|
|
3
|
+
|
|
4
|
+
var DarkMode = withIcon(function (_ref) {
|
|
5
|
+
var size = _ref.size;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M9.37 5.51C9.19 6.15 9.1 6.82 9.1 7.5C9.1 11.58 12.42 14.9 16.5 14.9C17.18 14.9 17.85 14.81 18.49 14.63C17.45 17.19 14.93 19 12 19C8.14 19 5 15.86 5 12C5 9.07 6.81 6.55 9.37 5.51ZM12 3C7.03 3 3 7.03 3 12C3 16.97 7.03 21 12 21C16.97 21 21 16.97 21 12C21 11.54 20.96 11.08 20.9 10.64C19.92 12.01 18.32 12.9 16.5 12.9C13.52 12.9 11.1 10.48 11.1 7.5C11.1 5.69 11.99 4.08 13.36 3.1C12.92 3.04 12.46 3 12 3Z",
|
|
14
|
+
fill: "currentColor"
|
|
15
|
+
}));
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { DarkMode as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var hoc = require('../../hoc.cjs');
|
|
7
|
+
|
|
8
|
+
var LightMode = hoc.withIcon(function (_ref) {
|
|
9
|
+
var size = _ref.size;
|
|
10
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
width: size,
|
|
13
|
+
height: size,
|
|
14
|
+
viewBox: "0 0 24 24",
|
|
15
|
+
fill: "none"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
d: "M12 9C13.65 9 15 10.35 15 12C15 13.65 13.65 15 12 15C10.35 15 9 13.65 9 12C9 10.35 10.35 9 12 9ZM12 7C9.24 7 7 9.24 7 12C7 14.76 9.24 17 12 17C14.76 17 17 14.76 17 12C17 9.24 14.76 7 12 7ZM2 13H4C4.55 13 5 12.55 5 12C5 11.45 4.55 11 4 11H2C1.45 11 1 11.45 1 12C1 12.55 1.45 13 2 13ZM20 13H22C22.55 13 23 12.55 23 12C23 11.45 22.55 11 22 11H20C19.45 11 19 11.45 19 12C19 12.55 19.45 13 20 13ZM11 2V4C11 4.55 11.45 5 12 5C12.55 5 13 4.55 13 4V2C13 1.45 12.55 1 12 1C11.45 1 11 1.45 11 2ZM11 20V22C11 22.55 11.45 23 12 23C12.55 23 13 22.55 13 22V20C13 19.45 12.55 19 12 19C11.45 19 11 19.45 11 20ZM5.99 4.58C5.6 4.19 4.96 4.19 4.58 4.58C4.19 4.97 4.19 5.61 4.58 5.99L5.64 7.05C6.03 7.44 6.67 7.44 7.05 7.05C7.43 6.66 7.44 6.02 7.05 5.64L5.99 4.58ZM18.36 16.95C17.97 16.56 17.33 16.56 16.95 16.95C16.56 17.34 16.56 17.98 16.95 18.36L18.01 19.42C18.4 19.81 19.04 19.81 19.42 19.42C19.81 19.03 19.81 18.39 19.42 18.01L18.36 16.95ZM19.42 5.99C19.81 5.6 19.81 4.96 19.42 4.58C19.03 4.19 18.39 4.19 18.01 4.58L16.95 5.64C16.56 6.03 16.56 6.67 16.95 7.05C17.34 7.43 17.98 7.44 18.36 7.05L19.42 5.99ZM7.05 18.36C7.44 17.97 7.44 17.33 7.05 16.95C6.66 16.56 6.02 16.56 5.64 16.95L4.58 18.01C4.19 18.4 4.19 19.04 4.58 19.42C4.97 19.8 5.61 19.81 5.99 19.42L7.05 18.36Z",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}));
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
exports.default = LightMode;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { withIcon } from '../../hoc.mjs';
|
|
3
|
+
|
|
4
|
+
var LightMode = withIcon(function (_ref) {
|
|
5
|
+
var size = _ref.size;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M12 9C13.65 9 15 10.35 15 12C15 13.65 13.65 15 12 15C10.35 15 9 13.65 9 12C9 10.35 10.35 9 12 9ZM12 7C9.24 7 7 9.24 7 12C7 14.76 9.24 17 12 17C14.76 17 17 14.76 17 12C17 9.24 14.76 7 12 7ZM2 13H4C4.55 13 5 12.55 5 12C5 11.45 4.55 11 4 11H2C1.45 11 1 11.45 1 12C1 12.55 1.45 13 2 13ZM20 13H22C22.55 13 23 12.55 23 12C23 11.45 22.55 11 22 11H20C19.45 11 19 11.45 19 12C19 12.55 19.45 13 20 13ZM11 2V4C11 4.55 11.45 5 12 5C12.55 5 13 4.55 13 4V2C13 1.45 12.55 1 12 1C11.45 1 11 1.45 11 2ZM11 20V22C11 22.55 11.45 23 12 23C12.55 23 13 22.55 13 22V20C13 19.45 12.55 19 12 19C11.45 19 11 19.45 11 20ZM5.99 4.58C5.6 4.19 4.96 4.19 4.58 4.58C4.19 4.97 4.19 5.61 4.58 5.99L5.64 7.05C6.03 7.44 6.67 7.44 7.05 7.05C7.43 6.66 7.44 6.02 7.05 5.64L5.99 4.58ZM18.36 16.95C17.97 16.56 17.33 16.56 16.95 16.95C16.56 17.34 16.56 17.98 16.95 18.36L18.01 19.42C18.4 19.81 19.04 19.81 19.42 19.42C19.81 19.03 19.81 18.39 19.42 18.01L18.36 16.95ZM19.42 5.99C19.81 5.6 19.81 4.96 19.42 4.58C19.03 4.19 18.39 4.19 18.01 4.58L16.95 5.64C16.56 6.03 16.56 6.67 16.95 7.05C17.34 7.43 17.98 7.44 18.36 7.05L19.42 5.99ZM7.05 18.36C7.44 17.97 7.44 17.33 7.05 16.95C6.66 16.56 6.02 16.56 5.64 16.95L4.58 18.01C4.19 18.4 4.19 19.04 4.58 19.42C4.97 19.8 5.61 19.81 5.99 19.42L7.05 18.36Z",
|
|
14
|
+
fill: "currentColor"
|
|
15
|
+
}));
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { LightMode as default };
|
|
@@ -18,6 +18,9 @@ var threeDRotation = require('./action/three-d-rotation.cjs');
|
|
|
18
18
|
var accountCircle = require('./action/account-circle.cjs');
|
|
19
19
|
var rocketLaunch = require('./action/rocket-launch.cjs');
|
|
20
20
|
var preview = require('./action/preview.cjs');
|
|
21
|
+
var logout = require('./action/logout.cjs');
|
|
22
|
+
var schedule = require('./action/schedule.cjs');
|
|
23
|
+
var turnedIn = require('./action/turned-in.cjs');
|
|
21
24
|
var errorOutline = require('./alert/error-outline.cjs');
|
|
22
25
|
var addAlert = require('./alert/add-alert.cjs');
|
|
23
26
|
var autoDelete = require('./alert/auto-delete.cjs');
|
|
@@ -71,6 +74,8 @@ var github = require('./mock/github.cjs');
|
|
|
71
74
|
var loading = require('./mock/loading.cjs');
|
|
72
75
|
var windPower = require('./home/wind-power.cjs');
|
|
73
76
|
var smartToy = require('./home/smart-toy.cjs');
|
|
77
|
+
var darkMode = require('./device/dark-mode.cjs');
|
|
78
|
+
var lightMode = require('./device/light-mode.cjs');
|
|
74
79
|
|
|
75
80
|
|
|
76
81
|
|
|
@@ -92,6 +97,9 @@ exports.ThreeDRotation = threeDRotation.default;
|
|
|
92
97
|
exports.AccountCircle = accountCircle.default;
|
|
93
98
|
exports.RocketLaunch = rocketLaunch.default;
|
|
94
99
|
exports.Preview = preview.default;
|
|
100
|
+
exports.Logout = logout.default;
|
|
101
|
+
exports.Schedule = schedule.default;
|
|
102
|
+
exports.TurnedIn = turnedIn.default;
|
|
95
103
|
exports.ErrorOutline = errorOutline.default;
|
|
96
104
|
exports.AddAlert = addAlert.default;
|
|
97
105
|
exports.AutoDelete = autoDelete.default;
|
|
@@ -145,3 +153,5 @@ exports.Github = github.default;
|
|
|
145
153
|
exports.Loading = loading.default;
|
|
146
154
|
exports.WindPower = windPower.default;
|
|
147
155
|
exports.SmartToy = smartToy.default;
|
|
156
|
+
exports.DarkMode = darkMode.default;
|
|
157
|
+
exports.LightMode = lightMode.default;
|
|
@@ -16,6 +16,9 @@ export { default as ThreeDRotation } from './action/three-d-rotation.mjs';
|
|
|
16
16
|
export { default as AccountCircle } from './action/account-circle.mjs';
|
|
17
17
|
export { default as RocketLaunch } from './action/rocket-launch.mjs';
|
|
18
18
|
export { default as Preview } from './action/preview.mjs';
|
|
19
|
+
export { default as Logout } from './action/logout.mjs';
|
|
20
|
+
export { default as Schedule } from './action/schedule.mjs';
|
|
21
|
+
export { default as TurnedIn } from './action/turned-in.mjs';
|
|
19
22
|
export { default as ErrorOutline } from './alert/error-outline.mjs';
|
|
20
23
|
export { default as AddAlert } from './alert/add-alert.mjs';
|
|
21
24
|
export { default as AutoDelete } from './alert/auto-delete.mjs';
|
|
@@ -69,3 +72,5 @@ export { default as Github } from './mock/github.mjs';
|
|
|
69
72
|
export { default as Loading } from './mock/loading.mjs';
|
|
70
73
|
export { default as WindPower } from './home/wind-power.mjs';
|
|
71
74
|
export { default as SmartToy } from './home/smart-toy.mjs';
|
|
75
|
+
export { default as DarkMode } from './device/dark-mode.mjs';
|
|
76
|
+
export { default as LightMode } from './device/light-mode.mjs';
|
|
@@ -22,7 +22,7 @@ var useThemeColorVars = function useThemeColorVars(tokens) {
|
|
|
22
22
|
if (relax.isUndefined(_opacity)) {
|
|
23
23
|
prev["--color-".concat(_token)] = _color;
|
|
24
24
|
} else {
|
|
25
|
-
prev["--color-".concat(_token, "-opacity-").concat(_opacity)] = color.hexToRgba(_color, _opacity).toString();
|
|
25
|
+
prev["--color-".concat(_token, "-opacity-").concat((_opacity * 100).toString().padStart(2, "0"))] = color.hexToRgba(_color, _opacity).toString();
|
|
26
26
|
}
|
|
27
27
|
return prev;
|
|
28
28
|
}, {});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ColorRole } from "../utils/color-role";
|
|
2
|
-
type ThemeColorVarToken = `--color-${ColorRole}` | `--color-${ColorRole}-opacity-${
|
|
2
|
+
type ThemeColorVarToken = `--color-${ColorRole}` | `--color-${ColorRole}-opacity-${string}`;
|
|
3
3
|
export type ThemeColorVariable = `var(${ThemeColorVarToken})`;
|
|
4
4
|
/**
|
|
5
5
|
* @description 主题色样式变量
|
|
@@ -20,7 +20,7 @@ var useThemeColorVars = function useThemeColorVars(tokens) {
|
|
|
20
20
|
if (isUndefined(_opacity)) {
|
|
21
21
|
prev["--color-".concat(_token)] = _color;
|
|
22
22
|
} else {
|
|
23
|
-
prev["--color-".concat(_token, "-opacity-").concat(_opacity)] = hexToRgba(_color, _opacity).toString();
|
|
23
|
+
prev["--color-".concat(_token, "-opacity-").concat((_opacity * 100).toString().padStart(2, "0"))] = hexToRgba(_color, _opacity).toString();
|
|
24
24
|
}
|
|
25
25
|
return prev;
|
|
26
26
|
}, {});
|