microboard-ui-temp 0.8.0 → 0.9.0
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/{chunk-vznck1jr.js → chunk-jhg35595.js} +1408 -1270
- package/dist/{chunk-2yb1xtbd.css → chunk-zxdsfc4g.css} +202 -32
- package/dist/example.html +2 -2
- package/dist/index.css +202 -32
- package/dist/index.html +2 -2
- package/dist/index.js +1407 -1270
- package/dist/spa.css +202 -32
- package/dist/spa.js +1408 -1270
- package/dist/types/shared/lib/uiTheme.d.ts +8 -0
- package/package.json +2 -2
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type UITheme = "light" | "dark";
|
|
2
|
+
export declare function initTheme(): void;
|
|
3
|
+
export declare function toggleUITheme(): UITheme;
|
|
4
|
+
export declare function getCurrentUITheme(): UITheme;
|
|
5
|
+
export declare function useUITheme(): {
|
|
6
|
+
theme: UITheme;
|
|
7
|
+
toggle: () => void;
|
|
8
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microboard-ui-temp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
80
80
|
"js-cookie": "^3.0.5",
|
|
81
81
|
"jwt-decode": "^4.0.0",
|
|
82
|
-
"microboard-temp": "0.10.
|
|
82
|
+
"microboard-temp": "0.10.1",
|
|
83
83
|
"nanoid": "^5.1.5",
|
|
84
84
|
"prop-types": "^15.8.1",
|
|
85
85
|
"react-hot-toast": "2.4.1",
|