@eqtylab/equality 5.0.0 → 5.0.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/CHANGELOG.md +24 -0
- package/dist/index.cjs +85 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +85 -8
- package/dist/index.js.map +1 -1
- package/dist/nav.module.module.css.module.css +42 -2
- package/dist/skeleton.module.module.css.module.css +4 -1
- package/dist/spinner.module.module.css.module.css +2 -0
- package/package.json +1 -1
|
@@ -227,12 +227,52 @@
|
|
|
227
227
|
.nav-switcher-list:has(.nav-switcher-footer) {
|
|
228
228
|
scroll-padding-bottom: 2.5rem;
|
|
229
229
|
}
|
|
230
|
-
.nav-switcher-list .nav-switcher-action
|
|
230
|
+
.nav-switcher-list .nav-switcher-action,
|
|
231
|
+
.nav-switcher-list .nav-switcher-retry {
|
|
231
232
|
justify-content: center;
|
|
232
233
|
}
|
|
233
|
-
.nav-switcher-action > span:empty
|
|
234
|
+
.nav-switcher-action > span:empty,
|
|
235
|
+
.nav-switcher-retry > span:empty {
|
|
234
236
|
display: none;
|
|
235
237
|
}
|
|
238
|
+
.nav-switcher-error {
|
|
239
|
+
display: flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
gap: calc(0.25rem * 2);
|
|
242
|
+
font-size: 0.75rem;
|
|
243
|
+
line-height: var(--tw-leading, calc(1 / 0.75));
|
|
244
|
+
color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
|
|
245
|
+
}
|
|
246
|
+
.nav-switcher-error-message {
|
|
247
|
+
display: flex;
|
|
248
|
+
align-items: center;
|
|
249
|
+
gap: calc(0.25rem * 1.5);
|
|
250
|
+
}
|
|
251
|
+
.nav-switcher-error-icon {
|
|
252
|
+
width: calc(0.25rem * 3.5);
|
|
253
|
+
height: calc(0.25rem * 3.5);
|
|
254
|
+
flex-shrink: 0;
|
|
255
|
+
color: var(--color-text-warning, color(display-p3 0.8263 0.6154 0.2247));
|
|
256
|
+
}
|
|
257
|
+
.nav-switcher-status {
|
|
258
|
+
position: absolute;
|
|
259
|
+
width: 1px;
|
|
260
|
+
height: 1px;
|
|
261
|
+
padding: 0;
|
|
262
|
+
margin: -1px;
|
|
263
|
+
overflow: hidden;
|
|
264
|
+
clip-path: inset(50%);
|
|
265
|
+
white-space: nowrap;
|
|
266
|
+
border-width: 0;
|
|
267
|
+
}
|
|
268
|
+
.nav-switcher-empty {
|
|
269
|
+
padding-inline: calc(0.25rem * 2);
|
|
270
|
+
padding-block: calc(0.25rem * 1.5);
|
|
271
|
+
text-align: center;
|
|
272
|
+
font-size: 0.75rem;
|
|
273
|
+
line-height: var(--tw-leading, calc(1 / 0.75));
|
|
274
|
+
color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
|
|
275
|
+
}
|
|
236
276
|
.nav-rail-item:hover {
|
|
237
277
|
background-color: var(--color-list-item-hover);
|
|
238
278
|
color: var(--color-text-primary, color(display-p3 0 0 0));
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
2
|
.skeleton {
|
|
3
3
|
border-radius: var(--radius-md, 0.375rem);
|
|
4
|
-
background-color: var(--color-greyscale-
|
|
4
|
+
background-color: var(--color-greyscale-200, color(display-p3 0.8698 0.8698 0.8698));
|
|
5
|
+
&:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
|
|
6
|
+
background-color: var(--color-greyscale-800, color(display-p3 0.1792 0.1792 0.1792));
|
|
7
|
+
}
|
|
5
8
|
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
6
9
|
}
|
|
7
10
|
@keyframes pulse {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
2
|
.spinner-container {
|
|
3
3
|
position: relative;
|
|
4
|
+
display: block;
|
|
4
5
|
}
|
|
5
6
|
.spinner {
|
|
7
|
+
display: block;
|
|
6
8
|
border-top-color: transparent;
|
|
7
9
|
border-radius: calc(infinity * 1px);
|
|
8
10
|
animation: spin 1s linear infinite;
|