@usableapp/cardds 0.1.4 → 0.1.6
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/README.md +49 -46
- package/cardds.js +47 -10
- package/css/actions.css +12 -27
- package/css/base.css +24 -10
- package/css/layover.css +67 -22
- package/css/sheet.css +10 -4
- package/css/step.css +17 -6
- package/css/tokens.css +1 -0
- package/dist/cardds.css +131 -69
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/scaffold/BaseContent.d.ts +14 -0
- package/dist/scaffold/BaseContent.js +15 -0
- package/dist/scaffold/EmptyState.d.ts +2 -2
- package/dist/scaffold/EmptyState.js +2 -2
- package/dist/sheets/Drawer.d.ts +7 -3
- package/dist/sheets/Drawer.js +8 -4
- package/dist/sheets/Sheet.d.ts +3 -3
- package/dist/sheets/SheetStage.d.ts +1 -1
- package/dist/sheets/Step.d.ts +2 -7
- package/dist/sheets/Step.js +2 -6
- package/package.json +3 -5
- package/dist/scaffold/Section.d.ts +0 -12
- package/dist/scaffold/Section.js +0 -13
package/dist/scaffold/Section.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cx } from '../cx.js';
|
|
3
|
-
/**
|
|
4
|
-
* Section — frameless on-surface content + a CTA: an overline, a display heading, a paragraph, a CtaPack.
|
|
5
|
-
* NEVER a card: sections are what the base says; cards are content the system offers.
|
|
6
|
-
*/
|
|
7
|
-
export function Section({ className, ...rest }) {
|
|
8
|
-
return _jsx("section", { className: cx('section', className), ...rest });
|
|
9
|
-
}
|
|
10
|
-
/** CtaPack — the buttons under a Section's words, wrapping on one line. */
|
|
11
|
-
export function CtaPack({ className, ...rest }) {
|
|
12
|
-
return _jsx("div", { className: cx('cta-pack', className), ...rest });
|
|
13
|
-
}
|