@usableapp/cardds 0.7.112 → 0.7.113
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/CHANGELOG.md +9 -0
- package/css/base.css +1 -1
- package/dist/cardds.css +1 -1
- package/dist/catalog.json +1 -1
- package/dist/type/Text.d.ts +4 -2
- package/package.json +1 -1
package/dist/type/Text.d.ts
CHANGED
|
@@ -19,8 +19,10 @@ export interface TextProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
19
19
|
/** the member may select and copy these words (a code, an address, a reference number) — everything else in a Screen is not
|
|
20
20
|
* selectable, like a native app (Lh 2026-09-25) */
|
|
21
21
|
selectable?: boolean;
|
|
22
|
-
/** body only: the words show `--text-scroll-lines` lines (knob, default 3
|
|
23
|
-
*
|
|
22
|
+
/** body only: the words show `--text-scroll-lines` lines (knob, default 3.5 — the half line shows there is more, Lh 2026-10-24) in a plain box with no
|
|
23
|
+
* border, and the rest scrolls inside the box — a long reason in a card. The box counts in the text's own lines, so a bigger text size keeps 3.5 lines.
|
|
24
|
+
* A scroll never turns a turning card. `--text-scroll-size` (knob, a length) makes the box ALWAYS that tall: a short text keeps the room, a long one
|
|
25
|
+
* scrolls in it; `3.5lh` keeps 3.5 lines at every text size */
|
|
24
26
|
scroll?: boolean;
|
|
25
27
|
/** the element; defaults per level (h2 for display/h1/h2, p for title/body/stat, span for the rest) */
|
|
26
28
|
as?: 'h1' | 'h2' | 'h3' | 'p' | 'span' | 'strong' | 'div';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usableapp/cardds",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.113",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "card-first mobile design system, React-first: the components in src/ are thin wrappers over the CSS contract (css/*.css stays the only truth); gallery/ shows every story live (npm run dev), tests/ measures the geometry.",
|