@praxisui/core 8.0.0-beta.0 → 8.0.0-beta.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/core",
3
- "version": "8.0.0-beta.0",
3
+ "version": "8.0.0-beta.11",
4
4
  "description": "Core library for Praxis UI Workspace: types, tokens, services and utilities shared across @praxisui/* packages.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.0.0",
@@ -0,0 +1,174 @@
1
+ /*
2
+ * Praxis UI host theme bridge.
3
+ *
4
+ * Import this file after the Angular Material theme and the CDK overlay CSS.
5
+ * The bridge assumes Material Symbols and, when mi:* ligatures are used,
6
+ * Material Icons classic are loaded by the host HTML.
7
+ */
8
+
9
+ :root {
10
+ --md-sys-color-primary: var(--mat-sys-primary, #006a6a);
11
+ --md-sys-color-on-primary: var(--mat-sys-on-primary, #ffffff);
12
+ --md-sys-color-primary-container: var(--mat-sys-primary-container, #9cf1ef);
13
+ --md-sys-color-on-primary-container: var(--mat-sys-on-primary-container, #002020);
14
+ --md-sys-color-secondary: var(--mat-sys-secondary, #4a6363);
15
+ --md-sys-color-on-secondary: var(--mat-sys-on-secondary, #ffffff);
16
+ --md-sys-color-secondary-container: var(--mat-sys-secondary-container, #cce8e7);
17
+ --md-sys-color-on-secondary-container: var(--mat-sys-on-secondary-container, #051f20);
18
+ --md-sys-color-tertiary: var(--mat-sys-tertiary, #4b607c);
19
+ --md-sys-color-on-tertiary: var(--mat-sys-on-tertiary, #ffffff);
20
+ --md-sys-color-tertiary-container: var(--mat-sys-tertiary-container, #d3e4ff);
21
+ --md-sys-color-on-tertiary-container: var(--mat-sys-on-tertiary-container, #041c35);
22
+ --md-sys-color-error: var(--mat-sys-error, #ba1a1a);
23
+ --md-sys-color-on-error: var(--mat-sys-on-error, #ffffff);
24
+ --md-sys-color-error-container: var(--mat-sys-error-container, #ffdad6);
25
+ --md-sys-color-on-error-container: var(--mat-sys-on-error-container, #410002);
26
+ --md-sys-color-surface: var(--mat-sys-surface, #fbfcfc);
27
+ --md-sys-color-surface-container-lowest: var(--mat-sys-surface-container-lowest, #ffffff);
28
+ --md-sys-color-surface-container-low: var(--mat-sys-surface-container-low, #f2f6f5);
29
+ --md-sys-color-surface-container: var(--mat-sys-surface-container, #ecefed);
30
+ --md-sys-color-surface-container-high: var(--mat-sys-surface-container-high, #e6e9e8);
31
+ --md-sys-color-surface-container-highest: var(--mat-sys-surface-container-highest, #e0e3e2);
32
+ --md-sys-color-surface-variant: var(--mat-sys-surface-variant, #dae5e3);
33
+ --md-sys-color-on-surface: var(--mat-sys-on-surface, #191c1c);
34
+ --md-sys-color-on-surface-variant: var(--mat-sys-on-surface-variant, #3f4948);
35
+ --md-sys-color-outline: var(--mat-sys-outline, #6f7978);
36
+ --md-sys-color-outline-variant: var(--mat-sys-outline-variant, #bec9c7);
37
+ --md-sys-color-shadow: var(--mat-sys-shadow, #000000);
38
+ --md-sys-color-scrim: var(--mat-sys-scrim, #000000);
39
+ --md-sys-elevation-level1: var(--mat-app-elevation-shadow-level1, 0 1px 2px rgba(0, 0, 0, 0.14));
40
+ --md-sys-elevation-level2: var(--mat-app-elevation-shadow-level2, 0 2px 6px rgba(0, 0, 0, 0.16));
41
+ --md-sys-elevation-level3: var(--mat-app-elevation-shadow-level3, 0 4px 12px rgba(0, 0, 0, 0.18));
42
+
43
+ --pdx-material-surface: var(--md-sys-color-surface-container);
44
+ --pdx-material-surface-high: var(--md-sys-color-surface-container-high);
45
+ --pdx-material-on-surface: var(--md-sys-color-on-surface);
46
+ --pdx-material-on-surface-muted: var(--md-sys-color-on-surface-variant);
47
+ --pdx-material-outline: var(--md-sys-color-outline-variant);
48
+ --pdx-material-focus-outline: var(--md-sys-color-primary);
49
+ --pdx-overlay-surface: var(--pdx-material-surface);
50
+ --pdx-overlay-on-surface: var(--pdx-material-on-surface);
51
+ --pdx-overlay-on-surface-muted: var(--pdx-material-on-surface-muted);
52
+ --pdx-overlay-state-layer: var(--md-sys-color-surface-container-high);
53
+ }
54
+
55
+ .material-icons,
56
+ mat-icon.material-icons {
57
+ direction: ltr;
58
+ display: inline-block;
59
+ font-family: "Material Icons";
60
+ font-feature-settings: "liga";
61
+ font-size: 24px;
62
+ font-style: normal;
63
+ font-weight: normal;
64
+ letter-spacing: normal;
65
+ line-height: 1;
66
+ text-transform: none;
67
+ white-space: nowrap;
68
+ word-wrap: normal;
69
+ -webkit-font-feature-settings: "liga";
70
+ -webkit-font-smoothing: antialiased;
71
+ }
72
+
73
+ .material-symbols-outlined,
74
+ .material-symbols-rounded,
75
+ .material-symbols-sharp,
76
+ mat-icon.material-symbols-outlined,
77
+ mat-icon.material-symbols-rounded,
78
+ mat-icon.material-symbols-sharp {
79
+ direction: ltr;
80
+ display: inline-block;
81
+ font-feature-settings: "liga";
82
+ font-size: 24px;
83
+ font-style: normal;
84
+ font-weight: normal;
85
+ letter-spacing: normal;
86
+ line-height: 1;
87
+ text-transform: none;
88
+ white-space: nowrap;
89
+ word-wrap: normal;
90
+ -webkit-font-feature-settings: "liga";
91
+ -webkit-font-smoothing: antialiased;
92
+ }
93
+
94
+ .material-symbols-outlined,
95
+ mat-icon.material-symbols-outlined {
96
+ font-family: "Material Symbols Outlined";
97
+ }
98
+
99
+ .material-symbols-rounded,
100
+ mat-icon.material-symbols-rounded {
101
+ font-family: "Material Symbols Rounded";
102
+ }
103
+
104
+ .material-symbols-sharp,
105
+ mat-icon.material-symbols-sharp {
106
+ font-family: "Material Symbols Sharp";
107
+ }
108
+
109
+ .cdk-overlay-container {
110
+ color: var(--pdx-overlay-on-surface);
111
+ }
112
+
113
+ .cdk-overlay-container .mat-mdc-dialog-container {
114
+ --mdc-dialog-container-color: var(--pdx-overlay-surface);
115
+ --mdc-dialog-subhead-color: var(--pdx-overlay-on-surface);
116
+ --mdc-dialog-supporting-text-color: var(--pdx-overlay-on-surface-muted);
117
+ }
118
+
119
+ .cdk-overlay-container .mat-mdc-select-panel,
120
+ .cdk-overlay-container .mat-mdc-autocomplete-panel,
121
+ .cdk-overlay-container .mat-mdc-menu-panel {
122
+ background: var(--pdx-overlay-surface);
123
+ border: 1px solid var(--pdx-material-outline);
124
+ box-shadow: var(--md-sys-elevation-level2);
125
+ color: var(--pdx-overlay-on-surface);
126
+ }
127
+
128
+ .cdk-overlay-container .mat-mdc-option,
129
+ .cdk-overlay-container .mat-mdc-menu-item {
130
+ color: var(--pdx-overlay-on-surface);
131
+ }
132
+
133
+ .cdk-overlay-container .mat-mdc-option.mdc-list-item--selected,
134
+ .cdk-overlay-container .mat-mdc-option.mat-mdc-option-active,
135
+ .cdk-overlay-container .mat-mdc-menu-item:hover,
136
+ .cdk-overlay-container .mat-mdc-menu-item.cdk-program-focused,
137
+ .cdk-overlay-container .mat-mdc-menu-item.cdk-keyboard-focused {
138
+ background: var(--pdx-overlay-state-layer);
139
+ }
140
+
141
+ .cdk-overlay-container .mat-mdc-tooltip .mdc-tooltip__surface {
142
+ background: var(--md-sys-color-inverse-surface, #2d3131);
143
+ color: var(--md-sys-color-inverse-on-surface, #eff1f0);
144
+ }
145
+
146
+ .mat-mdc-form-field {
147
+ --mdc-filled-text-field-container-color: var(--md-sys-color-surface-container-low);
148
+ --mdc-filled-text-field-input-text-color: var(--pdx-material-on-surface);
149
+ --mdc-filled-text-field-label-text-color: var(--pdx-material-on-surface-muted);
150
+ --mdc-filled-text-field-focus-label-text-color: var(--pdx-material-focus-outline);
151
+ --mdc-filled-text-field-active-indicator-color: var(--pdx-material-outline);
152
+ --mdc-filled-text-field-focus-active-indicator-color: var(--pdx-material-focus-outline);
153
+ --mdc-outlined-text-field-input-text-color: var(--pdx-material-on-surface);
154
+ --mdc-outlined-text-field-label-text-color: var(--pdx-material-on-surface-muted);
155
+ --mdc-outlined-text-field-focus-label-text-color: var(--pdx-material-focus-outline);
156
+ --mdc-outlined-text-field-outline-color: var(--pdx-material-outline);
157
+ --mdc-outlined-text-field-hover-outline-color: var(--md-sys-color-outline);
158
+ --mdc-outlined-text-field-focus-outline-color: var(--pdx-material-focus-outline);
159
+ --mat-select-enabled-trigger-text-color: var(--pdx-material-on-surface);
160
+ --mat-select-panel-background-color: var(--pdx-material-surface);
161
+ }
162
+
163
+ .mat-mdc-button,
164
+ .mat-mdc-outlined-button,
165
+ .mat-mdc-raised-button,
166
+ .mat-mdc-unelevated-button {
167
+ --mdc-text-button-label-text-color: var(--md-sys-color-primary);
168
+ --mdc-outlined-button-label-text-color: var(--md-sys-color-primary);
169
+ --mdc-outlined-button-outline-color: var(--pdx-material-outline);
170
+ --mdc-protected-button-container-color: var(--md-sys-color-surface-container-low);
171
+ --mdc-protected-button-label-text-color: var(--md-sys-color-primary);
172
+ --mdc-filled-button-container-color: var(--md-sys-color-primary);
173
+ --mdc-filled-button-label-text-color: var(--md-sys-color-on-primary);
174
+ }