@roadlittledawn/docs-design-system-react 0.15.0 → 0.15.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/USAGE.md
CHANGED
|
@@ -274,7 +274,7 @@ import { CardGrid } from "@roadlittledawn/docs-design-system-react";
|
|
|
274
274
|
|
|
275
275
|
## Tile
|
|
276
276
|
|
|
277
|
-
A compact, clickable item designed for dense listing patterns — integrations, frameworks, plugins, skills, etc. Unlike `Card`, Tile has a fixed layout (icon left, title right) and a simpler, more opinionated API.
|
|
277
|
+
A compact, clickable item designed for dense listing patterns — integrations, frameworks, plugins, skills, etc. Unlike `Card`, Tile has a fixed layout (icon left, title right) and a simpler, more opinionated API. Styles are provided via `@roadlittledawn/docs-design-system-react/styles.css` — no per-component CSS import is needed.
|
|
278
278
|
|
|
279
279
|
### When to Use
|
|
280
280
|
|
package/dist/components/Tile.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import "./Tile.css";
|
|
3
2
|
export function Tile(_a) {
|
|
4
3
|
var title = _a.title, icon = _a.icon, description = _a.description, href = _a.href, _b = _a.showArrow, showArrow = _b === void 0 ? false : _b, _c = _a.className, className = _c === void 0 ? "" : _c;
|
|
5
4
|
var tileClasses = [
|