mainbase-ui 1.2.5-b → 1.2.5
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/index.cjs +54 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +37 -6
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +51 -24
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -268,15 +268,14 @@
|
|
|
268
268
|
background-color .15s ease,
|
|
269
269
|
border-color .15s ease,
|
|
270
270
|
color .15s ease,
|
|
271
|
-
box-shadow .15s ease
|
|
272
|
-
transform .15s ease;
|
|
271
|
+
box-shadow .15s ease;
|
|
273
272
|
user-select: none;
|
|
274
273
|
}
|
|
275
|
-
.mb-button:active:not(:disabled) {
|
|
276
|
-
transform: translateY(1px);
|
|
277
|
-
}
|
|
278
274
|
.mb-button:focus-visible {
|
|
279
|
-
box-shadow: 0 0 0 3px var(--mb-
|
|
275
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--mb-primary) 25%, transparent);
|
|
276
|
+
}
|
|
277
|
+
.mb-button:active:not(:disabled) {
|
|
278
|
+
filter: brightness(.96);
|
|
280
279
|
}
|
|
281
280
|
.mb-button--sm {
|
|
282
281
|
height: 32px;
|
|
@@ -3424,6 +3423,38 @@
|
|
|
3424
3423
|
background: color-mix(in srgb, var(--mb-warning) 20%, transparent);
|
|
3425
3424
|
}
|
|
3426
3425
|
|
|
3426
|
+
/* src/components/Link/Link.css */
|
|
3427
|
+
.mb-link {
|
|
3428
|
+
display: inline-flex;
|
|
3429
|
+
align-items: center;
|
|
3430
|
+
font-family: var(--mb-font-family);
|
|
3431
|
+
text-decoration: none;
|
|
3432
|
+
cursor: pointer;
|
|
3433
|
+
transition: color .15s ease, opacity .15s ease;
|
|
3434
|
+
}
|
|
3435
|
+
.mb-link--default {
|
|
3436
|
+
color: var(--mb-text-color);
|
|
3437
|
+
}
|
|
3438
|
+
.mb-link--default:hover {
|
|
3439
|
+
color: var(--mb-primary);
|
|
3440
|
+
}
|
|
3441
|
+
.mb-link--primary {
|
|
3442
|
+
color: var(--mb-primary);
|
|
3443
|
+
}
|
|
3444
|
+
.mb-link--primary:hover {
|
|
3445
|
+
opacity: .8;
|
|
3446
|
+
}
|
|
3447
|
+
.mb-link--muted {
|
|
3448
|
+
color: var(--mb-text-secondary);
|
|
3449
|
+
}
|
|
3450
|
+
.mb-link--muted:hover {
|
|
3451
|
+
color: var(--mb-text-color);
|
|
3452
|
+
}
|
|
3453
|
+
.mb-link:focus-visible {
|
|
3454
|
+
outline: 2px solid var(--mb-primary);
|
|
3455
|
+
outline-offset: 3px;
|
|
3456
|
+
}
|
|
3457
|
+
|
|
3427
3458
|
/* src/components/Card/Card.css */
|
|
3428
3459
|
.mb-card {
|
|
3429
3460
|
display: flex;
|