@react-ui-org/react-ui 0.50.0 → 0.50.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/lib.development.js +7 -7
- package/dist/lib.js +1 -1
- package/package.json +1 -1
- package/src/lib/components/Button/_tools.scss +0 -4
- package/src/lib/foundation.scss +1 -0
- package/src/lib/styles/generic/_focus.scss +11 -0
- package/src/lib/styles/generic/_forms.scss +0 -12
- package/src/lib/styles/tools/_reset.scss +0 -1
package/package.json
CHANGED
package/src/lib/foundation.scss
CHANGED
@@ -0,0 +1,11 @@
|
|
1
|
+
@use "../tools/accessibility";
|
2
|
+
|
3
|
+
// Remove focus outline as we implement custom appearance of focus state. Increase specificity where necessary to
|
4
|
+
// override normalize.css.
|
5
|
+
:where(button, input, select, textarea):focus {
|
6
|
+
outline: none;
|
7
|
+
}
|
8
|
+
|
9
|
+
:is(a, button, input, select, textarea, [type="button"], [type="submit"]) {
|
10
|
+
@include accessibility.focus-ring();
|
11
|
+
}
|
@@ -1,15 +1,3 @@
|
|
1
|
-
@use "../tools/accessibility";
|
2
|
-
|
3
|
-
// Remove focus outline as we implement custom appearance of focus state. Increase specificity where necessary to
|
4
|
-
// override normalize.css.
|
5
|
-
:where(button, input, select, textarea):focus {
|
6
|
-
outline: none;
|
7
|
-
}
|
8
|
-
|
9
|
-
:is(a, button, input, select, textarea, [type="button"], [type="submit"]) {
|
10
|
-
@include accessibility.focus-ring();
|
11
|
-
}
|
12
|
-
|
13
1
|
// Reset Chrome and Firefox behaviour which sets a `min-width: min-content;` on fieldsets.
|
14
2
|
fieldset {
|
15
3
|
min-width: 0;
|