@meshmakers/octo-ui 3.4.1480 → 3.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.
@@ -1,10 +1,11 @@
1
1
  // ============================================================================
2
2
  // RUNTIME BROWSER - Design Tokens (Kendo-independent)
3
- // LCARS-inspired theme variables. Use with Kendo when host imports Kendo theme.
3
+ // Brand constants and the remaining legacy --lcars-* font/motion aliases of the Deep Sea tokens
4
+ // (_theme.scss). Use with Kendo when host imports Kendo theme.
4
5
  // ============================================================================
5
6
 
6
7
  // ----------------------------------------------------------------------------
7
- // LCARS DESIGN TOKENS - Brand color palette (from Brand Manual)
8
+ // BRAND COLOR PALETTE (from Brand Manual) — logo, charts, marketing blocks
8
9
  // ----------------------------------------------------------------------------
9
10
  $octo-mint: #64ceb9; // Primary highlight
10
11
  $neo-cyan: #00a8dc; // Secondary highlight
@@ -12,27 +13,29 @@ $indigogo: #546fbd; // Panel accents
12
13
  $toffee: #da9162; // Warm accent
13
14
  $bubblegum: #ec658f; // Alert/warning accent
14
15
  $lilac-glow: #c861d6; // Hover states, glow effects
15
- $royal-violet: #6c4da8; // LCARS-typical accent
16
+ $royal-violet: #6c4da8; // AI hue (brightened as --theme-ai)
16
17
  $ash-blue: #9292a6; // Inactive elements, secondary text
17
18
  $iron-navy: #394555; // Surface, panels
18
19
  $deep-sea: #07172b; // Background (NEVER use black!)
19
20
  $surface-elevated: #1f2e40; // Elevated surfaces
20
21
  $octo-text-color: #ffffff;
21
- $lcars-border-color: #64ceb9;
22
22
  $pink: #ec658f;
23
23
 
24
24
  // Additional theme colors (used when Kendo theme is applied)
25
25
  $kendo-inverse: #3d3d3d;
26
26
  $kendo-success: #37b400;
27
27
 
28
- /// Applies CSS custom properties for the LCARS theme.
28
+ /// Applies the brand CSS custom properties and the legacy --lcars-* font/motion aliases.
29
29
  /// Include this on :host or a container (e.g. .kendo-theme-provider).
30
30
  /// When Kendo is imported by the host, these variables override Kendo's defaults.
31
31
  @mixin variables {
32
- // Typography
33
- --lcars-font-primary: "Montserrat", "Roboto", "Helvetica Neue", sans-serif;
34
- --lcars-font-mono: "Roboto Mono", "Consolas", monospace;
35
- --lcars-border-color: #{$lcars-border-color};
32
+ // Typography — aliases of the Deep Sea font tokens (_theme.scss
33
+ // foundation-tokens); the literal stacks are the fallback for hosts that
34
+ // include variables() without theme(). Kept ONLY for the Meshmakers App,
35
+ // which still references them, until it migrates (AB#5526). Do not use in
36
+ // new code — use --theme-font-display / --theme-font-mono.
37
+ --lcars-font-primary: var(--theme-font-display, "Montserrat", "Roboto", "Helvetica Neue", sans-serif);
38
+ --lcars-font-mono: var(--theme-font-mono, "Roboto Mono", "Consolas", monospace);
36
39
 
37
40
  --pink: #{$pink};
38
41
 
@@ -68,7 +71,9 @@ $kendo-success: #37b400;
68
71
  --kendo-color-primary-on-surface: var(--theme-text-accent, var(--octo-mint));
69
72
  --kendo-color-app-surface: var(--theme-bg-app, var(--deep-sea));
70
73
  --kendo-color-on-app-surface: var(--octo-text-color);
71
- font-family: var(--lcars-font-primary);
74
+ // Body text uses the UI face (Roboto); Montserrat is the display face for
75
+ // titles (--theme-font-display). The literal stack serves hosts without theme().
76
+ font-family: var(--theme-font-ui, "Roboto", "Helvetica Neue", sans-serif);
72
77
 
73
78
  // Derived colors for gradients/overlays (theme-aware)
74
79
  --octo-mint-05: color-mix(in srgb, var(--octo-mint) 5%, transparent);
@@ -162,34 +167,14 @@ $kendo-success: #37b400;
162
167
  transparent
163
168
  );
164
169
 
165
- // LCARS-specific design tokens
166
- --lcars-glow-primary: 0 0 10px var(--octo-mint-40);
167
- --lcars-btn-base: linear-gradient(180deg, var(--octo-mint-15), var(--octo-mint-05));
168
- --lcars-btn-base-hover: linear-gradient(180deg, var(--octo-mint-25), var(--octo-mint-15));
169
- --lcars-input-focus: 0 0 8px var(--octo-mint-30);
170
- --lcars-glow-cyan: 0 0 10px var(--neo-cyan-40);
171
- --lcars-glow-violet: 0 0 10px var(--royal-violet-40);
172
- --lcars-glow-pink: 0 0 10px var(--bubblegum-40);
173
-
174
- // LCARS Border Radius (asymmetric is characteristic)
175
- --lcars-radius-sm: 4px;
176
- --lcars-radius-md: 8px;
177
- --lcars-radius-lg: 16px;
178
- --lcars-radius-xl: 24px;
179
- --lcars-radius-pill: 50px;
180
-
181
- // Panel styling
182
- --lcars-panel-border: 1px solid var(--octo-mint-20);
183
- --lcars-panel-bg: var(--surface-elevated-60);
184
-
185
- // Transitions
186
- --lcars-transition-fast: 150ms ease;
187
- --lcars-transition-normal: 250ms ease;
188
-
189
- // Designer/Symbol Editor Panel Variables (theme-aware with LCARS fallbacks)
170
+ // Transition alias of the Deep Sea motion tokens — kept ONLY for the
171
+ // Meshmakers App until it migrates (AB#5526); use --theme-motion-* instead.
172
+ --lcars-transition-fast: var(--theme-motion-fast, 150ms) var(--theme-motion-easing, ease);
173
+
174
+ // Designer/Symbol Editor Panel Variables (theme-aware with brand fallbacks)
190
175
  --designer-panel-bg: var(--theme-bg-elevated, var(--surface-elevated));
191
176
  --designer-panel-bg-elevated: var(--theme-bg-surface, var(--iron-navy));
192
- --designer-panel-border: var(--octo-mint-20);
177
+ --designer-panel-border: var(--theme-border-default, var(--octo-mint-20));
193
178
  --designer-panel-text: var(--octo-text-color);
194
179
  --designer-panel-text-secondary: var(--theme-text-secondary, var(--ash-blue));
195
180
  --designer-panel-text-muted: color-mix(
@@ -197,15 +182,15 @@ $kendo-success: #37b400;
197
182
  var(--theme-text-secondary, var(--ash-blue)) 70%,
198
183
  transparent
199
184
  );
200
- --designer-panel-accent: var(--octo-mint);
201
- --designer-panel-accent-hover-bg: var(--octo-mint-15);
185
+ --designer-panel-accent: var(--theme-text-accent, var(--octo-mint));
186
+ --designer-panel-accent-hover-bg: var(--theme-bg-hover, var(--octo-mint-15));
202
187
  --designer-panel-input-bg: var(--theme-bg-input, var(--deep-sea));
203
188
  --designer-panel-delete-hover-bg: var(--bubblegum-20);
204
189
  --designer-panel-delete-color: var(--bubblegum);
205
190
 
206
- // Cron Expression Cell Variables (LCARS theme for list view)
207
- --mm-cron-code-bg: var(--deep-sea-80);
208
- --mm-cron-code-text: var(--octo-mint);
191
+ // Cron Expression Cell Variables (list view)
192
+ --mm-cron-code-bg: var(--theme-bg-sunken, var(--deep-sea-80));
193
+ --mm-cron-code-text: var(--theme-text-code, var(--octo-mint));
209
194
  --mm-cron-text-secondary: var(--ash-blue);
210
195
  --mm-cron-success: var(--kendo-success);
211
196
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshmakers/octo-ui",
3
- "version": "3.4.1480",
3
+ "version": "3.5.00",
4
4
  "peerDependencies": {
5
5
  "@ngx-translate/core": "^17.0.0 || ^18.0.0",
6
6
  "@angular/animations": "^22.0.0",
@@ -51,6 +51,10 @@
51
51
  "types": "./types/meshmakers-octo-ui-branding-settings.d.ts",
52
52
  "default": "./fesm2022/meshmakers-octo-ui-branding-settings.mjs"
53
53
  },
54
+ "./entity-forms": {
55
+ "types": "./types/meshmakers-octo-ui-entity-forms.d.ts",
56
+ "default": "./fesm2022/meshmakers-octo-ui-entity-forms.mjs"
57
+ },
54
58
  "./tree-navigation-settings": {
55
59
  "types": "./types/meshmakers-octo-ui-tree-navigation-settings.d.ts",
56
60
  "default": "./fesm2022/meshmakers-octo-ui-tree-navigation-settings.mjs"