atriusmaps-node-sdk 3.3.1066 → 3.3.1068
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/cjs/package.json.js
CHANGED
package/dist/package.json.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var a="3.3.
|
|
1
|
+
var a="3.3.1068",e={version:a};export{e as default,a as version};
|
|
@@ -11,6 +11,22 @@ type ThemeManagerState = {
|
|
|
11
11
|
theme: ResolvedTheme;
|
|
12
12
|
contentURL: string | null;
|
|
13
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* Generate CSS custom properties from theme colors
|
|
16
|
+
* Flattens nested keyboard colors and creates alpha variants on-demand
|
|
17
|
+
*
|
|
18
|
+
* Alpha variants are defined explicitly based on actual usage in the codebase.
|
|
19
|
+
* This approach:
|
|
20
|
+
* - Makes CSS output more efficient (only generates what we use)
|
|
21
|
+
* - Documents which alpha variants are actually needed
|
|
22
|
+
* - Makes it easy to spot opportunities for consolidation
|
|
23
|
+
*
|
|
24
|
+
* To add a new alpha variant:
|
|
25
|
+
* 1. Add it to the alphaVariants array below
|
|
26
|
+
* 2. Use it in code as: var(--color-{colorName}-{alphaValue})
|
|
27
|
+
*/
|
|
28
|
+
declare const generateCSSVariables: (theme: ResolvedTheme) => string;
|
|
29
|
+
declare const GlobalStyle: import("react").NamedExoticComponent<import("styled-components").ExecutionProps & object>;
|
|
14
30
|
declare const initThemeManager: (app: ThemeManagerApp) => {
|
|
15
31
|
buildTheme: (themeDef: ThemeDef, defaultTheme?: string) => {
|
|
16
32
|
getTheme: () => ResolvedTheme;
|
|
@@ -26,4 +42,4 @@ declare const initThemeManager: (app: ThemeManagerApp) => {
|
|
|
26
42
|
getThemeState: () => StateObjMultiple<ThemeManagerState>;
|
|
27
43
|
};
|
|
28
44
|
};
|
|
29
|
-
export { initThemeManager };
|
|
45
|
+
export { initThemeManager, GlobalStyle, generateCSSVariables };
|
package/package.json
CHANGED