@ostack.tech/ui 0.9.0 → 0.9.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/ostack-ui.css +10 -4
- package/dist/ostack-ui.css.map +1 -1
- package/dist/ostack-ui.js +0 -1
- package/dist/ostack-ui.js.map +1 -1
- package/package.json +3 -3
- package/scss/components/Link/_Link-variables.scss +7 -0
- package/scss/components/Link/_Link.scss +7 -0
- package/scss/scss/helpers/_visually-hidden.scss +8 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ostack.tech/ui",
|
|
3
3
|
"description": "ostack/UI component library.",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.1",
|
|
5
5
|
"homepage": "https://ui.ostack.tech/",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Opensoft",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@fortawesome/react-fontawesome": "^3.1.1",
|
|
48
|
-
"@tanstack/react-virtual": "^3.13.
|
|
48
|
+
"@tanstack/react-virtual": "^3.13.18",
|
|
49
49
|
"cmdk": "^1.1.1",
|
|
50
50
|
"from-exponential": "^1.1.1",
|
|
51
51
|
"radix-ui": "^1.4.3",
|
|
52
52
|
"react-day-picker": "^9.13.0",
|
|
53
|
-
"react-error-boundary": "^6.0.
|
|
53
|
+
"react-error-boundary": "^6.0.3",
|
|
54
54
|
"react-number-format": "^5.4.4",
|
|
55
55
|
"react-to-print": "^3.2.0",
|
|
56
56
|
"tinykeys": "^3.0.0"
|
|
@@ -15,6 +15,13 @@ $link-hover-color: null !default;
|
|
|
15
15
|
$link-hover-text-decoration-line: underline !default;
|
|
16
16
|
$link-hover-text-decoration-color: null !default;
|
|
17
17
|
|
|
18
|
+
// Focus
|
|
19
|
+
$link-focus-border-radius: var(--#{$prefix}border-radius-xs) !default;
|
|
20
|
+
$link-focus-outline-width: 2px !default;
|
|
21
|
+
$link-focus-outline-style: solid !default;
|
|
22
|
+
$link-focus-outline-color: var(--#{$prefix}accent-8) !default;
|
|
23
|
+
$link-focus-outline-offset: 2px !default;
|
|
24
|
+
|
|
18
25
|
// Alert variant
|
|
19
26
|
$link-alert-color: inherit !default;
|
|
20
27
|
$link-alert-text-decoration-line: underline !default;
|
|
@@ -20,6 +20,13 @@
|
|
|
20
20
|
text-decoration-line: $link-hover-text-decoration-line;
|
|
21
21
|
text-decoration-color: $link-hover-text-decoration-color;
|
|
22
22
|
}
|
|
23
|
+
|
|
24
|
+
&:focus-visible {
|
|
25
|
+
border-radius: $link-focus-border-radius;
|
|
26
|
+
outline: $link-focus-outline-width $link-focus-outline-style
|
|
27
|
+
$link-focus-outline-color;
|
|
28
|
+
outline-offset: $link-focus-outline-offset;
|
|
29
|
+
}
|
|
23
30
|
}
|
|
24
31
|
|
|
25
32
|
// Alert variant
|
|
@@ -15,13 +15,16 @@
|
|
|
15
15
|
white-space: nowrap !important;
|
|
16
16
|
border: 0 !important;
|
|
17
17
|
|
|
18
|
-
// Fix for positioned table caption that could become anonymous cells
|
|
19
|
-
&:not(caption) {
|
|
20
|
-
position: absolute !important;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
18
|
// Fix to prevent overflowing children to become focusable
|
|
24
19
|
* {
|
|
25
20
|
overflow: hidden !important;
|
|
26
21
|
}
|
|
27
22
|
}
|
|
23
|
+
|
|
24
|
+
.#{$prefix}visually-hidden,
|
|
25
|
+
.#{$prefix}visually-hidden-focusable {
|
|
26
|
+
// Fix for positioned table caption that could become anonymous cells
|
|
27
|
+
&:not(caption) {
|
|
28
|
+
position: absolute !important;
|
|
29
|
+
}
|
|
30
|
+
}
|