@ostack.tech/ui 1.3.3 → 1.3.4
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/README.md +3 -2
- package/dist/ostack-ui.css +13 -13
- package/package.json +1 -1
- package/scss/components/Link/_Link.scss +8 -10
package/README.md
CHANGED
|
@@ -7,8 +7,9 @@ To build forms with [ostack/KForm](https://kform.ostack.tech/), see
|
|
|
7
7
|
|
|
8
8
|
## Documentation
|
|
9
9
|
|
|
10
|
-
- [ostack/UI documentation](https://ui.ostack.tech/) ([llms.txt](https://ui.ostack.tech/llms.txt)
|
|
11
|
-
the latest ostack/UI and ostack/UI-KForm
|
|
10
|
+
- [ostack/UI documentation](https://ui.ostack.tech/) ([llms.txt](https://ui.ostack.tech/llms.txt),
|
|
11
|
+
[llms-full.txt](https://ui.ostack.tech/llms-full.txt)): the latest ostack/UI and ostack/UI-KForm
|
|
12
|
+
documentation.
|
|
12
13
|
|
|
13
14
|
## License
|
|
14
15
|
|
package/dist/ostack-ui.css
CHANGED
|
@@ -3420,32 +3420,32 @@ a > .o-ui-code {
|
|
|
3420
3420
|
outline: 2px solid var(--o-ui-accent-8);
|
|
3421
3421
|
outline-offset: 2px;
|
|
3422
3422
|
}
|
|
3423
|
-
.o-ui-link:is(button) {
|
|
3423
|
+
.o-ui-link--alert:is(:any-link, button) {
|
|
3424
|
+
color: inherit;
|
|
3425
|
+
text-decoration-line: underline;
|
|
3426
|
+
font-weight: var(--prefixfont-weight, 700);
|
|
3427
|
+
}
|
|
3428
|
+
.o-ui-link--alert:is(:any-link, button):hover {
|
|
3429
|
+
color: inherit;
|
|
3430
|
+
text-decoration-color: inherit;
|
|
3431
|
+
}
|
|
3432
|
+
.o-ui-link:is(button):not(:any-link) {
|
|
3424
3433
|
-webkit-appearance: button;
|
|
3425
3434
|
-webkit-user-select: none;
|
|
3426
3435
|
user-select: none;
|
|
3427
3436
|
}
|
|
3428
|
-
.o-ui-link:is(button):not(:disabled, [data-disabled]) {
|
|
3437
|
+
.o-ui-link:is(button):not(:any-link):not(:disabled, [data-disabled]) {
|
|
3429
3438
|
cursor: pointer;
|
|
3430
3439
|
}
|
|
3431
|
-
.o-ui-link:is(button):is(:disabled, [data-disabled]) {
|
|
3440
|
+
.o-ui-link:is(button):not(:any-link):is(:disabled, [data-disabled]) {
|
|
3432
3441
|
cursor: not-allowed;
|
|
3433
3442
|
}
|
|
3434
|
-
.o-ui-link:is(button) {
|
|
3443
|
+
.o-ui-link:is(button):not(:any-link) {
|
|
3435
3444
|
padding: 0;
|
|
3436
3445
|
background-color: transparent;
|
|
3437
3446
|
border: none;
|
|
3438
3447
|
font: inherit;
|
|
3439
3448
|
}
|
|
3440
|
-
.o-ui-link--alert:is(:any-link, button) {
|
|
3441
|
-
color: inherit;
|
|
3442
|
-
text-decoration-line: underline;
|
|
3443
|
-
font-weight: var(--prefixfont-weight, 700);
|
|
3444
|
-
}
|
|
3445
|
-
.o-ui-link--alert:is(:any-link, button):hover {
|
|
3446
|
-
color: inherit;
|
|
3447
|
-
text-decoration-color: inherit;
|
|
3448
|
-
}
|
|
3449
3449
|
.o-ui-link__icon {
|
|
3450
3450
|
margin-left: 0.35em;
|
|
3451
3451
|
}
|
package/package.json
CHANGED
|
@@ -28,15 +28,6 @@
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
&:is(button) {
|
|
32
|
-
@include button-reset();
|
|
33
|
-
|
|
34
|
-
padding: 0;
|
|
35
|
-
background-color: transparent;
|
|
36
|
-
border: none;
|
|
37
|
-
font: inherit;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
31
|
// Alert variant
|
|
41
32
|
&--alert:is(:any-link, button) {
|
|
42
33
|
color: $link-alert-color;
|
|
@@ -52,7 +43,14 @@
|
|
|
52
43
|
}
|
|
53
44
|
|
|
54
45
|
// Button
|
|
55
|
-
&:is(button
|
|
46
|
+
&:is(button):not(:any-link) {
|
|
47
|
+
@include button-reset();
|
|
48
|
+
|
|
49
|
+
padding: 0;
|
|
50
|
+
background-color: transparent;
|
|
51
|
+
border: none;
|
|
52
|
+
font: inherit;
|
|
53
|
+
|
|
56
54
|
text-transform: $link-button-text-transform;
|
|
57
55
|
color: $link-button-color;
|
|
58
56
|
text-decoration-line: $link-button-text-decoration-line;
|