@ramme-io/shared 4.3.0 → 4.4.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/index.cjs +4 -2
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -351,7 +351,7 @@ var AppSpecificationSchema = import_zod.z.object({
|
|
|
351
351
|
createdAt: import_zod.z.string().optional()
|
|
352
352
|
}),
|
|
353
353
|
config: import_zod.z.object({
|
|
354
|
-
theme: import_zod.z.enum(["light", "dark", "system", "corporate", "midnight", "blueprint"]).default("system"),
|
|
354
|
+
theme: import_zod.z.enum(["light", "dark", "system", "corporate", "midnight", "blueprint", "markets"]).default("system"),
|
|
355
355
|
layout: import_zod.z.enum(["dashboard", "explorer", "studio", "focus"]).default("dashboard"),
|
|
356
356
|
mockMode: import_zod.z.boolean().default(true),
|
|
357
357
|
brokerUrl: import_zod.z.string().optional(),
|
|
@@ -1764,6 +1764,7 @@ Your goal is to design a complete software solution: Data, Logic, and Interface.
|
|
|
1764
1764
|
- 'corporate' \u2192 finance, HR, professional services (green/amber)
|
|
1765
1765
|
- 'midnight' \u2192 analytics, creative tools, AI apps (indigo/purple)
|
|
1766
1766
|
- 'blueprint' \u2192 engineering, technical, IoT, infrastructure (blue/sharp)
|
|
1767
|
+
- 'markets' \u2192 trading, portfolios, prices, credit (black/blue, green up, orange down)
|
|
1767
1768
|
- 'system' \u2192 follow OS preference (default if unsure)
|
|
1768
1769
|
- Only populate 'themeOverrides' when the user explicitly asks for a custom color.
|
|
1769
1770
|
|
|
@@ -1784,6 +1785,7 @@ the user changes from 'light' to 'dark' or 'midnight'. Raw colors BREAK this.
|
|
|
1784
1785
|
ring-ring \u2192 focus rings on inputs and interactive elements
|
|
1785
1786
|
bg-success \u2192 positive status indicators
|
|
1786
1787
|
bg-warning \u2192 caution/warning indicators
|
|
1788
|
+
text-gain-strong / text-loss-strong \u2192 a price or figure moving up / down (never success/destructive)
|
|
1787
1789
|
bg-destructive \u2192 error/danger indicators
|
|
1788
1790
|
|
|
1789
1791
|
\u274C BANNED \u2014 Never use these raw Tailwind palette classes:
|
|
@@ -2024,7 +2026,7 @@ var AIThemeSchema = import_zod14.z.object({
|
|
|
2024
2026
|
*/
|
|
2025
2027
|
cssVars: ThemeOverridesSchema
|
|
2026
2028
|
});
|
|
2027
|
-
var THEME_PRESETS = ["light", "dark", "system", "corporate", "midnight", "blueprint"];
|
|
2029
|
+
var THEME_PRESETS = ["light", "dark", "system", "corporate", "midnight", "blueprint", "markets"];
|
|
2028
2030
|
var ThemeTokensSchema = import_zod14.z.object({
|
|
2029
2031
|
primary: RGBString,
|
|
2030
2032
|
neutral: RGBString,
|
package/dist/index.d.cts
CHANGED
|
@@ -591,7 +591,7 @@ declare const AppSpecificationSchema: z.ZodObject<{
|
|
|
591
591
|
createdAt?: string | undefined;
|
|
592
592
|
}>;
|
|
593
593
|
config: z.ZodObject<{
|
|
594
|
-
theme: z.ZodDefault<z.ZodEnum<["light", "dark", "system", "corporate", "midnight", "blueprint"]>>;
|
|
594
|
+
theme: z.ZodDefault<z.ZodEnum<["light", "dark", "system", "corporate", "midnight", "blueprint", "markets"]>>;
|
|
595
595
|
layout: z.ZodDefault<z.ZodEnum<["dashboard", "explorer", "studio", "focus"]>>;
|
|
596
596
|
mockMode: z.ZodDefault<z.ZodBoolean>;
|
|
597
597
|
brokerUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -607,7 +607,7 @@ declare const AppSpecificationSchema: z.ZodObject<{
|
|
|
607
607
|
}>>;
|
|
608
608
|
}, "strip", z.ZodTypeAny, {
|
|
609
609
|
layout: "dashboard" | "explorer" | "studio" | "focus";
|
|
610
|
-
theme: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint";
|
|
610
|
+
theme: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | "markets";
|
|
611
611
|
mockMode: boolean;
|
|
612
612
|
brokerUrl?: string | undefined;
|
|
613
613
|
aiKeyManifest?: {
|
|
@@ -616,7 +616,7 @@ declare const AppSpecificationSchema: z.ZodObject<{
|
|
|
616
616
|
} | undefined;
|
|
617
617
|
}, {
|
|
618
618
|
layout?: "dashboard" | "explorer" | "studio" | "focus" | undefined;
|
|
619
|
-
theme?: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | undefined;
|
|
619
|
+
theme?: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | "markets" | undefined;
|
|
620
620
|
mockMode?: boolean | undefined;
|
|
621
621
|
brokerUrl?: string | undefined;
|
|
622
622
|
aiKeyManifest?: {
|
|
@@ -1084,7 +1084,7 @@ declare const AppSpecificationSchema: z.ZodObject<{
|
|
|
1084
1084
|
}, "strip", z.ZodTypeAny, {
|
|
1085
1085
|
config: {
|
|
1086
1086
|
layout: "dashboard" | "explorer" | "studio" | "focus";
|
|
1087
|
-
theme: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint";
|
|
1087
|
+
theme: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | "markets";
|
|
1088
1088
|
mockMode: boolean;
|
|
1089
1089
|
brokerUrl?: string | undefined;
|
|
1090
1090
|
aiKeyManifest?: {
|
|
@@ -1193,7 +1193,7 @@ declare const AppSpecificationSchema: z.ZodObject<{
|
|
|
1193
1193
|
}, {
|
|
1194
1194
|
config: {
|
|
1195
1195
|
layout?: "dashboard" | "explorer" | "studio" | "focus" | undefined;
|
|
1196
|
-
theme?: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | undefined;
|
|
1196
|
+
theme?: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | "markets" | undefined;
|
|
1197
1197
|
mockMode?: boolean | undefined;
|
|
1198
1198
|
brokerUrl?: string | undefined;
|
|
1199
1199
|
aiKeyManifest?: {
|
|
@@ -51170,7 +51170,7 @@ declare const AIThemeSchema: z.ZodObject<{
|
|
|
51170
51170
|
}>;
|
|
51171
51171
|
type AITheme = z.infer<typeof AIThemeSchema>;
|
|
51172
51172
|
/** All built-in theme preset CSS class names. */
|
|
51173
|
-
declare const THEME_PRESETS: readonly ["light", "dark", "system", "corporate", "midnight", "blueprint"];
|
|
51173
|
+
declare const THEME_PRESETS: readonly ["light", "dark", "system", "corporate", "midnight", "blueprint", "markets"];
|
|
51174
51174
|
type ThemePreset = typeof THEME_PRESETS[number];
|
|
51175
51175
|
/**
|
|
51176
51176
|
* ThemeTokensSchema — the 5-token palette + radius contract for the Settings
|
|
@@ -54424,11 +54424,11 @@ declare const NewAccessTokenSchema: z.ZodObject<{
|
|
|
54424
54424
|
}, "strip", z.ZodTypeAny, {
|
|
54425
54425
|
name: string;
|
|
54426
54426
|
scopes: ("boards:read" | "boards:send" | "boards:configure")[];
|
|
54427
|
-
days:
|
|
54427
|
+
days: 7 | 90 | 30 | 365;
|
|
54428
54428
|
}, {
|
|
54429
54429
|
name: string;
|
|
54430
54430
|
scopes: ("boards:read" | "boards:send" | "boards:configure")[];
|
|
54431
|
-
days:
|
|
54431
|
+
days: 7 | 90 | 30 | 365;
|
|
54432
54432
|
}>;
|
|
54433
54433
|
type AccessTokenScope = z.infer<typeof AccessTokenScopeSchema>;
|
|
54434
54434
|
type AccessTokenRecord = z.infer<typeof AccessTokenRecordSchema>;
|
package/dist/index.d.ts
CHANGED
|
@@ -591,7 +591,7 @@ declare const AppSpecificationSchema: z.ZodObject<{
|
|
|
591
591
|
createdAt?: string | undefined;
|
|
592
592
|
}>;
|
|
593
593
|
config: z.ZodObject<{
|
|
594
|
-
theme: z.ZodDefault<z.ZodEnum<["light", "dark", "system", "corporate", "midnight", "blueprint"]>>;
|
|
594
|
+
theme: z.ZodDefault<z.ZodEnum<["light", "dark", "system", "corporate", "midnight", "blueprint", "markets"]>>;
|
|
595
595
|
layout: z.ZodDefault<z.ZodEnum<["dashboard", "explorer", "studio", "focus"]>>;
|
|
596
596
|
mockMode: z.ZodDefault<z.ZodBoolean>;
|
|
597
597
|
brokerUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -607,7 +607,7 @@ declare const AppSpecificationSchema: z.ZodObject<{
|
|
|
607
607
|
}>>;
|
|
608
608
|
}, "strip", z.ZodTypeAny, {
|
|
609
609
|
layout: "dashboard" | "explorer" | "studio" | "focus";
|
|
610
|
-
theme: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint";
|
|
610
|
+
theme: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | "markets";
|
|
611
611
|
mockMode: boolean;
|
|
612
612
|
brokerUrl?: string | undefined;
|
|
613
613
|
aiKeyManifest?: {
|
|
@@ -616,7 +616,7 @@ declare const AppSpecificationSchema: z.ZodObject<{
|
|
|
616
616
|
} | undefined;
|
|
617
617
|
}, {
|
|
618
618
|
layout?: "dashboard" | "explorer" | "studio" | "focus" | undefined;
|
|
619
|
-
theme?: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | undefined;
|
|
619
|
+
theme?: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | "markets" | undefined;
|
|
620
620
|
mockMode?: boolean | undefined;
|
|
621
621
|
brokerUrl?: string | undefined;
|
|
622
622
|
aiKeyManifest?: {
|
|
@@ -1084,7 +1084,7 @@ declare const AppSpecificationSchema: z.ZodObject<{
|
|
|
1084
1084
|
}, "strip", z.ZodTypeAny, {
|
|
1085
1085
|
config: {
|
|
1086
1086
|
layout: "dashboard" | "explorer" | "studio" | "focus";
|
|
1087
|
-
theme: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint";
|
|
1087
|
+
theme: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | "markets";
|
|
1088
1088
|
mockMode: boolean;
|
|
1089
1089
|
brokerUrl?: string | undefined;
|
|
1090
1090
|
aiKeyManifest?: {
|
|
@@ -1193,7 +1193,7 @@ declare const AppSpecificationSchema: z.ZodObject<{
|
|
|
1193
1193
|
}, {
|
|
1194
1194
|
config: {
|
|
1195
1195
|
layout?: "dashboard" | "explorer" | "studio" | "focus" | undefined;
|
|
1196
|
-
theme?: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | undefined;
|
|
1196
|
+
theme?: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | "markets" | undefined;
|
|
1197
1197
|
mockMode?: boolean | undefined;
|
|
1198
1198
|
brokerUrl?: string | undefined;
|
|
1199
1199
|
aiKeyManifest?: {
|
|
@@ -51170,7 +51170,7 @@ declare const AIThemeSchema: z.ZodObject<{
|
|
|
51170
51170
|
}>;
|
|
51171
51171
|
type AITheme = z.infer<typeof AIThemeSchema>;
|
|
51172
51172
|
/** All built-in theme preset CSS class names. */
|
|
51173
|
-
declare const THEME_PRESETS: readonly ["light", "dark", "system", "corporate", "midnight", "blueprint"];
|
|
51173
|
+
declare const THEME_PRESETS: readonly ["light", "dark", "system", "corporate", "midnight", "blueprint", "markets"];
|
|
51174
51174
|
type ThemePreset = typeof THEME_PRESETS[number];
|
|
51175
51175
|
/**
|
|
51176
51176
|
* ThemeTokensSchema — the 5-token palette + radius contract for the Settings
|
|
@@ -54424,11 +54424,11 @@ declare const NewAccessTokenSchema: z.ZodObject<{
|
|
|
54424
54424
|
}, "strip", z.ZodTypeAny, {
|
|
54425
54425
|
name: string;
|
|
54426
54426
|
scopes: ("boards:read" | "boards:send" | "boards:configure")[];
|
|
54427
|
-
days:
|
|
54427
|
+
days: 7 | 90 | 30 | 365;
|
|
54428
54428
|
}, {
|
|
54429
54429
|
name: string;
|
|
54430
54430
|
scopes: ("boards:read" | "boards:send" | "boards:configure")[];
|
|
54431
|
-
days:
|
|
54431
|
+
days: 7 | 90 | 30 | 365;
|
|
54432
54432
|
}>;
|
|
54433
54433
|
type AccessTokenScope = z.infer<typeof AccessTokenScopeSchema>;
|
|
54434
54434
|
type AccessTokenRecord = z.infer<typeof AccessTokenRecordSchema>;
|
package/dist/index.js
CHANGED
|
@@ -122,7 +122,7 @@ var AppSpecificationSchema = z.object({
|
|
|
122
122
|
createdAt: z.string().optional()
|
|
123
123
|
}),
|
|
124
124
|
config: z.object({
|
|
125
|
-
theme: z.enum(["light", "dark", "system", "corporate", "midnight", "blueprint"]).default("system"),
|
|
125
|
+
theme: z.enum(["light", "dark", "system", "corporate", "midnight", "blueprint", "markets"]).default("system"),
|
|
126
126
|
layout: z.enum(["dashboard", "explorer", "studio", "focus"]).default("dashboard"),
|
|
127
127
|
mockMode: z.boolean().default(true),
|
|
128
128
|
brokerUrl: z.string().optional(),
|
|
@@ -1535,6 +1535,7 @@ Your goal is to design a complete software solution: Data, Logic, and Interface.
|
|
|
1535
1535
|
- 'corporate' \u2192 finance, HR, professional services (green/amber)
|
|
1536
1536
|
- 'midnight' \u2192 analytics, creative tools, AI apps (indigo/purple)
|
|
1537
1537
|
- 'blueprint' \u2192 engineering, technical, IoT, infrastructure (blue/sharp)
|
|
1538
|
+
- 'markets' \u2192 trading, portfolios, prices, credit (black/blue, green up, orange down)
|
|
1538
1539
|
- 'system' \u2192 follow OS preference (default if unsure)
|
|
1539
1540
|
- Only populate 'themeOverrides' when the user explicitly asks for a custom color.
|
|
1540
1541
|
|
|
@@ -1555,6 +1556,7 @@ the user changes from 'light' to 'dark' or 'midnight'. Raw colors BREAK this.
|
|
|
1555
1556
|
ring-ring \u2192 focus rings on inputs and interactive elements
|
|
1556
1557
|
bg-success \u2192 positive status indicators
|
|
1557
1558
|
bg-warning \u2192 caution/warning indicators
|
|
1559
|
+
text-gain-strong / text-loss-strong \u2192 a price or figure moving up / down (never success/destructive)
|
|
1558
1560
|
bg-destructive \u2192 error/danger indicators
|
|
1559
1561
|
|
|
1560
1562
|
\u274C BANNED \u2014 Never use these raw Tailwind palette classes:
|
|
@@ -1795,7 +1797,7 @@ var AIThemeSchema = z14.object({
|
|
|
1795
1797
|
*/
|
|
1796
1798
|
cssVars: ThemeOverridesSchema
|
|
1797
1799
|
});
|
|
1798
|
-
var THEME_PRESETS = ["light", "dark", "system", "corporate", "midnight", "blueprint"];
|
|
1800
|
+
var THEME_PRESETS = ["light", "dark", "system", "corporate", "midnight", "blueprint", "markets"];
|
|
1799
1801
|
var ThemeTokensSchema = z14.object({
|
|
1800
1802
|
primary: RGBString,
|
|
1801
1803
|
neutral: RGBString,
|