@meshmakers/octo-ui 3.4.1450 → 3.4.1490
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/README.md +108 -0
- package/entity-forms/README.md +460 -0
- package/fesm2022/meshmakers-octo-ui-branding-settings.mjs +2 -2
- package/fesm2022/meshmakers-octo-ui-branding-settings.mjs.map +1 -1
- package/fesm2022/meshmakers-octo-ui-entity-forms.mjs +7880 -0
- package/fesm2022/meshmakers-octo-ui-entity-forms.mjs.map +1 -0
- package/fesm2022/meshmakers-octo-ui-tree-navigation-settings.mjs +2 -2
- package/fesm2022/meshmakers-octo-ui-tree-navigation-settings.mjs.map +1 -1
- package/fesm2022/meshmakers-octo-ui.mjs +985 -402
- package/fesm2022/meshmakers-octo-ui.mjs.map +1 -1
- package/lib/runtime-browser/styles/_button.scss +87 -0
- package/lib/runtime-browser/styles/_field-input.scss +16 -0
- package/lib/runtime-browser/styles/_flat-button.scss +14 -0
- package/lib/runtime-browser/styles/_index.scss +1 -1
- package/lib/runtime-browser/styles/_styles.scss +760 -1407
- package/lib/runtime-browser/styles/_theme.scss +248 -288
- package/lib/runtime-browser/styles/_variables.scss +26 -41
- package/package.json +5 -1
- package/types/meshmakers-octo-ui-entity-forms.d.ts +2594 -0
- package/types/meshmakers-octo-ui.d.ts +197 -4
- package/lib/runtime-browser/styles/_lcars-button.scss +0 -57
- package/lib/runtime-browser/styles/_lcars-flat-btn.scss +0 -11
- package/lib/runtime-browser/styles/_lcars-input.scss +0 -13
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
// ============================================================================
|
|
2
2
|
// RUNTIME BROWSER - Design Tokens (Kendo-independent)
|
|
3
|
-
//
|
|
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
|
-
//
|
|
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; //
|
|
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
|
|
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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
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
|
-
//
|
|
166
|
-
|
|
167
|
-
--lcars-
|
|
168
|
-
|
|
169
|
-
|
|
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 (
|
|
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.
|
|
3
|
+
"version": "3.4.1490",
|
|
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"
|