@classic-homes/maps-core 0.3.0 → 0.4.1
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/dist/types/index.d.cts
CHANGED
|
@@ -145,6 +145,12 @@ interface MapErrorEventParams {
|
|
|
145
145
|
source?: string;
|
|
146
146
|
/** Original error object */
|
|
147
147
|
error?: Error;
|
|
148
|
+
/**
|
|
149
|
+
* True when the error replaced the map with the error panel (it happened
|
|
150
|
+
* before the map first loaded). False for failures after load — a missing
|
|
151
|
+
* tile or sprite — where the map stays up.
|
|
152
|
+
*/
|
|
153
|
+
fatal?: boolean;
|
|
148
154
|
}
|
|
149
155
|
|
|
150
156
|
/**
|
package/dist/types/index.d.ts
CHANGED
|
@@ -145,6 +145,12 @@ interface MapErrorEventParams {
|
|
|
145
145
|
source?: string;
|
|
146
146
|
/** Original error object */
|
|
147
147
|
error?: Error;
|
|
148
|
+
/**
|
|
149
|
+
* True when the error replaced the map with the error panel (it happened
|
|
150
|
+
* before the map first loaded). False for failures after load — a missing
|
|
151
|
+
* tile or sprite — where the map stays up.
|
|
152
|
+
*/
|
|
153
|
+
fatal?: boolean;
|
|
148
154
|
}
|
|
149
155
|
|
|
150
156
|
/**
|
package/package.json
CHANGED
package/src/styles/bundled.css
CHANGED
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
--primary-foreground: 0 0% 100%;
|
|
50
50
|
--primary-hover: 357 71% 32%;
|
|
51
51
|
|
|
52
|
-
--secondary:
|
|
53
|
-
--secondary-foreground: 0 0%
|
|
54
|
-
--secondary-hover: 72
|
|
52
|
+
--secondary: 71 10% 40%;
|
|
53
|
+
--secondary-foreground: 0 0% 100%;
|
|
54
|
+
--secondary-hover: 357 72% 39%;
|
|
55
55
|
|
|
56
56
|
--muted: 72 11% 91%;
|
|
57
57
|
--muted-foreground: 0 0% 48%;
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
|
|
108
108
|
--secondary: 80 5% 32%;
|
|
109
109
|
--secondary-foreground: 220 14% 96%;
|
|
110
|
-
--secondary-hover:
|
|
110
|
+
--secondary-hover: 357 72% 39%;
|
|
111
111
|
|
|
112
112
|
--muted: 0 0% 30%;
|
|
113
113
|
--muted-foreground: 218 11% 65%;
|
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
background-color: hsl(var(--primary, 357 72% 39%));
|
|
532
532
|
}
|
|
533
533
|
.bg-secondary {
|
|
534
|
-
background-color: hsl(var(--secondary,
|
|
534
|
+
background-color: hsl(var(--secondary, 71 10% 40%));
|
|
535
535
|
}
|
|
536
536
|
.bg-success {
|
|
537
537
|
background-color: hsl(var(--success, 160 84% 39%));
|
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
color: hsl(var(--primary-foreground, 0 0% 100%));
|
|
573
573
|
}
|
|
574
574
|
.text-secondary-foreground {
|
|
575
|
-
color: hsl(var(--secondary-foreground, 0 0%
|
|
575
|
+
color: hsl(var(--secondary-foreground, 0 0% 100%));
|
|
576
576
|
}
|
|
577
577
|
.text-success-foreground {
|
|
578
578
|
color: hsl(var(--success-foreground, 0 0% 100%));
|
package/src/styles/utilities.css
CHANGED
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
background-color: hsl(var(--primary, 357 72% 39%));
|
|
374
374
|
}
|
|
375
375
|
.bg-secondary {
|
|
376
|
-
background-color: hsl(var(--secondary,
|
|
376
|
+
background-color: hsl(var(--secondary, 71 10% 40%));
|
|
377
377
|
}
|
|
378
378
|
.bg-success {
|
|
379
379
|
background-color: hsl(var(--success, 160 84% 39%));
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
color: hsl(var(--primary-foreground, 0 0% 100%));
|
|
420
420
|
}
|
|
421
421
|
.text-secondary-foreground {
|
|
422
|
-
color: hsl(var(--secondary-foreground, 0 0%
|
|
422
|
+
color: hsl(var(--secondary-foreground, 0 0% 100%));
|
|
423
423
|
}
|
|
424
424
|
.text-success-foreground {
|
|
425
425
|
color: hsl(var(--success-foreground, 0 0% 100%));
|