atlas-react-kit 1.2.6 → 1.2.7
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/DESIGN_RULES.md +3 -1
- package/dist/skeleton.js +1 -1
- package/package.json +1 -1
package/DESIGN_RULES.md
CHANGED
|
@@ -84,7 +84,9 @@ keyboard and screen-reader testing.
|
|
|
84
84
|
field, checkbox, radio, and switch boundaries (`border-input`), checked
|
|
85
85
|
fills (`bg-primary`), selected borders (`border-selected-foreground`), and
|
|
86
86
|
the focus ring. `border-border` is for dividers and card edges only; never
|
|
87
|
-
make it the only boundary of a control.
|
|
87
|
+
make it the only boundary of a control. Loading placeholders (`Skeleton`)
|
|
88
|
+
use `bg-muted`. They are decorative, not UI boundaries, so they do not
|
|
89
|
+
use the input-boundary token.
|
|
88
90
|
- Focus is a solid `ring-ring` (brand purple), never a translucent ring such
|
|
89
91
|
as `ring-ring/30`, which fades below 3:1. Keyboard-highlighted menu and list
|
|
90
92
|
items show a 2px `ring` bar on their leading edge. Content that scrolls must
|
package/dist/skeleton.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from "./utils.js";
|
|
3
3
|
function Skeleton({ className, ...props }) {
|
|
4
|
-
return (_jsx("div", { "data-slot": "skeleton", className: cn("animate-pulse bg-
|
|
4
|
+
return (_jsx("div", { "data-slot": "skeleton", className: cn("animate-pulse bg-muted", className), ...props }));
|
|
5
5
|
}
|
|
6
6
|
export { Skeleton };
|