@eagami/ui 5.60.0 → 5.60.2
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/fesm2022/eagami-ui.mjs +3 -3
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/src/styles/_fallback-fonts.scss +22 -0
- package/src/styles/eagami-ui.scss +1 -0
- package/src/styles/tokens/_colors.scss +2 -0
- package/src/styles/tokens/_elevation.scss +3 -1
- package/types/eagami-ui.d.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.60.
|
|
3
|
+
"version": "5.60.2",
|
|
4
4
|
"description": "Lightweight, accessible, themeable Angular UI component library and icon set built on CSS custom properties",
|
|
5
5
|
"author": "Michal Wiraszka <michal@eagami.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Arial with metric overrides matching DM Sans and Syne, named right after each web font
|
|
2
|
+
// in the font tokens, so text laid out before the web font arrives already takes its
|
|
3
|
+
// final size and the swap moves nothing. Changing a web font means regenerating these
|
|
4
|
+
// (Capsize, fontaine or fallback-font-generator).
|
|
5
|
+
|
|
6
|
+
@font-face {
|
|
7
|
+
font-family: 'DM Sans Fallback';
|
|
8
|
+
src: local('Arial');
|
|
9
|
+
ascent-override: 92.5%;
|
|
10
|
+
descent-override: 24.4%;
|
|
11
|
+
line-gap-override: 0%;
|
|
12
|
+
size-adjust: 100.06%;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: 'Syne Fallback';
|
|
17
|
+
src: local('Arial');
|
|
18
|
+
ascent-override: 102%;
|
|
19
|
+
descent-override: 27%;
|
|
20
|
+
line-gap-override: 0%;
|
|
21
|
+
size-adjust: 105%;
|
|
22
|
+
}
|
|
@@ -234,6 +234,8 @@
|
|
|
234
234
|
);
|
|
235
235
|
--color-border-default: var(--color-neutral-400);
|
|
236
236
|
--color-border-strong: var(--color-neutral-300);
|
|
237
|
+
// primary-500 drops under 3:1 on the dark surfaces, so focus lifts to a lighter step
|
|
238
|
+
--color-border-focus: var(--color-primary-300);
|
|
237
239
|
// Dividers flip to a light wash so the rule stays visible on every dark tier
|
|
238
240
|
--color-divider: rgba(255, 255, 255, 0.12);
|
|
239
241
|
|
|
@@ -27,7 +27,9 @@
|
|
|
27
27
|
--shadow-well-strong:
|
|
28
28
|
inset 0 2px 3px rgba(0, 0, 0, 0.4), inset 0 -1.5px 1px rgba(255, 255, 255, 0.55);
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
// The gap keeps the ring apart from a filled control of the same hue
|
|
31
|
+
--shadow-focus-ring:
|
|
32
|
+
0 0 0 2px var(--color-bg-base), 0 0 0 4px var(--color-border-focus);
|
|
31
33
|
--shadow-focus-ring-error: 0 0 0 3px var(--color-error-200);
|
|
32
34
|
--shadow-focus-ring-success: 0 0 0 3px var(--color-success-200);
|
|
33
35
|
|
package/types/eagami-ui.d.ts
CHANGED
|
@@ -9350,7 +9350,9 @@ export declare function iconDisplayName(iconOrSlug: IconComponentType | string):
|
|
|
9350
9350
|
* the consuming bundle, which is the right trade-off when you actually want
|
|
9351
9351
|
* the full set. For single-icon usage import the component directly (e.g.
|
|
9352
9352
|
* `import { HomeIconComponent } from '@eagami/ui'`) and the bundler will
|
|
9353
|
-
* tree-shake `ICONS` away.
|
|
9353
|
+
* tree-shake `ICONS` away. The `@__PURE__` annotation is what allows that:
|
|
9354
|
+
* bundlers that keep unannotated calls in third-party code, as Angular's build
|
|
9355
|
+
* does, would otherwise keep the `.sort()` call and every icon with it.
|
|
9354
9356
|
*/
|
|
9355
9357
|
export declare const ICONS: ReadonlyArray<IconComponentType>;
|
|
9356
9358
|
export declare class AccessibilityIconComponent extends IconComponentBase {
|