microboard-ui-temp 0.3.8 → 0.5.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-mq91cbqc.js → chunk-8aacyxvb.js} +2416 -2127
- package/dist/{chunk-dn1bhr0e.css → chunk-f0mvcsbm.css} +6 -0
- package/dist/example.html +2 -2
- package/dist/index.css +6 -0
- package/dist/index.html +2 -2
- package/dist/index.js +2416 -2127
- package/dist/spa.css +6 -0
- package/dist/spa.js +2416 -2127
- package/dist/types/features/Pickers/ColorPicker/SemanticColorPicker.d.ts +8 -0
- package/dist/types/features/ToolsPanel/Buttons/ThemeToggle.d.ts +2 -0
- package/dist/types/shared/lib/resolveColorValue.d.ts +9 -0
- package/package.json +2 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolve a ColorValue (or legacy CSS string) to a CSS string for UI display.
|
|
3
|
+
* Uses the current conf.theme for semantic colors.
|
|
4
|
+
*/
|
|
5
|
+
export declare function resolveColorForUI(value: unknown, role?: "background" | "foreground"): string;
|
|
6
|
+
/**
|
|
7
|
+
* Get the semantic ID of a ColorValue if it is semantic, otherwise null.
|
|
8
|
+
*/
|
|
9
|
+
export declare function getSemanticId(value: unknown): string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microboard-ui-temp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.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": "
|
|
82
|
+
"microboard-temp": "0.8.0",
|
|
83
83
|
"nanoid": "^5.1.5",
|
|
84
84
|
"prop-types": "^15.8.1",
|
|
85
85
|
"react-hot-toast": "2.4.1",
|