@ostack.tech/ui 1.3.2 → 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 +32 -32
- package/package.json +1 -1
- package/scss/components/Link/_Link.scss +8 -10
- package/scss/scss/helpers/_margin-utils.scss +1 -1
- package/scss/scss/helpers/_padding-utils.scss +1 -1
- package/scss/scss/helpers/_sizing-utils.scss +1 -1
- package/scss/scss/helpers/_text-utils.scss +1 -1
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
|
@@ -193,16 +193,16 @@
|
|
|
193
193
|
--o-ui-ml: var(--o-ui-ml-xxl);
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
:
|
|
196
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-mt] {
|
|
197
197
|
margin-top: var(--o-ui-mt);
|
|
198
198
|
}
|
|
199
|
-
:
|
|
199
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-mr] {
|
|
200
200
|
margin-right: var(--o-ui-mr);
|
|
201
201
|
}
|
|
202
|
-
:
|
|
202
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-mb] {
|
|
203
203
|
margin-bottom: var(--o-ui-mb);
|
|
204
204
|
}
|
|
205
|
-
:
|
|
205
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-ml] {
|
|
206
206
|
margin-left: var(--o-ui-ml);
|
|
207
207
|
}
|
|
208
208
|
|
|
@@ -308,16 +308,16 @@
|
|
|
308
308
|
--o-ui-pl: var(--o-ui-pl-xxl);
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
:
|
|
311
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-pt] {
|
|
312
312
|
padding-top: var(--o-ui-pt);
|
|
313
313
|
}
|
|
314
|
-
:
|
|
314
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-pr] {
|
|
315
315
|
padding-right: var(--o-ui-pr);
|
|
316
316
|
}
|
|
317
|
-
:
|
|
317
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-pb] {
|
|
318
318
|
padding-bottom: var(--o-ui-pb);
|
|
319
319
|
}
|
|
320
|
-
:
|
|
320
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-pl] {
|
|
321
321
|
padding-left: var(--o-ui-pl);
|
|
322
322
|
}
|
|
323
323
|
|
|
@@ -479,22 +479,22 @@
|
|
|
479
479
|
--o-ui-max-h: var(--o-ui-max-h-xxl);
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
|
-
:
|
|
482
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-w] {
|
|
483
483
|
width: var(--o-ui-w);
|
|
484
484
|
}
|
|
485
|
-
:
|
|
485
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-min-w] {
|
|
486
486
|
min-width: var(--o-ui-min-w);
|
|
487
487
|
}
|
|
488
|
-
:
|
|
488
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-max-w] {
|
|
489
489
|
max-width: var(--o-ui-max-w);
|
|
490
490
|
}
|
|
491
|
-
:
|
|
491
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-h] {
|
|
492
492
|
height: var(--o-ui-h);
|
|
493
493
|
}
|
|
494
|
-
:
|
|
494
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-min-h] {
|
|
495
495
|
min-height: var(--o-ui-min-h);
|
|
496
496
|
}
|
|
497
|
-
:
|
|
497
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-max-h] {
|
|
498
498
|
max-height: var(--o-ui-max-h);
|
|
499
499
|
}
|
|
500
500
|
|
|
@@ -623,22 +623,22 @@
|
|
|
623
623
|
--o-ui-text-wrap: var(--o-ui-text-wrap-xxl);
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
:
|
|
626
|
+
:where(.o-ui-root, .o-ui-root *)[data-text-truncate] {
|
|
627
627
|
text-overflow: ellipsis;
|
|
628
628
|
white-space: nowrap;
|
|
629
629
|
overflow: hidden;
|
|
630
630
|
}
|
|
631
|
-
:
|
|
631
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-text-size] {
|
|
632
632
|
font-size: var(--o-ui-font-size);
|
|
633
633
|
line-height: var(--o-ui-line-height);
|
|
634
634
|
}
|
|
635
|
-
:
|
|
635
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-text-align] {
|
|
636
636
|
text-align: var(--o-ui-text-align);
|
|
637
637
|
}
|
|
638
|
-
:
|
|
638
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-font-weight] {
|
|
639
639
|
font-weight: var(--o-ui-font-weight);
|
|
640
640
|
}
|
|
641
|
-
:
|
|
641
|
+
:where(.o-ui-root, .o-ui-root *)[data-has-text-wrap] {
|
|
642
642
|
text-wrap: var(--o-ui-text-wrap);
|
|
643
643
|
}
|
|
644
644
|
|
|
@@ -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;
|