@eagami/ui 2.12.0 → 3.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eagami/ui",
3
- "version": "2.12.0",
3
+ "version": "3.1.0",
4
4
  "description": "Lightweight, accessible Angular UI component library built on CSS custom properties",
5
5
  "author": "Michal Wiraszka <michal@eagami.com>",
6
6
  "license": "MIT",
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "sideEffects": false,
24
24
  "peerDependencies": {
25
- "@angular/common": "^21.0.0",
26
- "@angular/core": "^21.0.0",
27
- "@angular/forms": "^21.0.0"
25
+ "@angular/common": "^21.0.0 || ^22.0.0",
26
+ "@angular/core": "^21.0.0 || ^22.0.0",
27
+ "@angular/forms": "^21.0.0 || ^22.0.0"
28
28
  },
29
29
  "dependencies": {},
30
30
  "engines": {
@@ -13,8 +13,9 @@
13
13
  // When a max-width switches the bubble to multi-line, break long unbreakable
14
14
  // strings (URLs, tokens) instead of letting them overflow the bubble.
15
15
  overflow-wrap: anywhere;
16
+ border: var(--border-width-thin) solid var(--color-tooltip-border);
16
17
  border-radius: var(--radius-md);
17
- background-color: var(--color-neutral-800);
18
+ background-color: var(--color-tooltip-surface);
18
19
  color: var(--color-neutral-0);
19
20
  pointer-events: none;
20
21
  animation: ea-tooltip-fade-in var(--duration-fast) var(--ease-out);
@@ -92,6 +92,12 @@
92
92
  --color-bg-elevated: var(--color-neutral-0);
93
93
  --color-bg-overlay: rgba(0, 0, 0, 0.5);
94
94
 
95
+ // Tooltips float over arbitrary content, so their surface is a unique tone that
96
+ // never matches a page or palette colour in either theme; the translucent
97
+ // hairline border separates it from same-tone backgrounds.
98
+ --color-tooltip-surface: #1a1b21;
99
+ --color-tooltip-border: rgba(255, 255, 255, 0.15);
100
+
95
101
  // Interactive lift layers for hover and active/selected fills. Light surfaces
96
102
  // are all near-white and never collapse onto these shades, so solid muted
97
103
  // tones read cleanly. Dark mode swaps them for translucent washes (see the