@usableapp/cardds 0.4.0 → 0.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usableapp/cardds",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
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.",
@@ -48,7 +48,8 @@
48
48
  "cardds.css",
49
49
  "cardds.js",
50
50
  "icons.svg",
51
- "README.md"
51
+ "README.md",
52
+ "CHANGELOG.md"
52
53
  ],
53
54
  "peerDependencies": {
54
55
  "react": ">=18",
@@ -1,7 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- export interface CardBackProps extends ComponentProps<'button'> {
3
- /** accessible name */
4
- label?: string;
5
- }
6
- /** CardBack — the back button a tapped stack sheet reveals in its head; first child of that sheet's CardHead. Hidden until the sheet is open. */
7
- export declare function CardBack({ label, className, ...rest }: CardBackProps): import("react").JSX.Element;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { cx } from '../cx.js';
3
- import { Icon } from '../type/Icon.js';
4
- /** CardBack — the back button a tapped stack sheet reveals in its head; first child of that sheet's CardHead. Hidden until the sheet is open. */
5
- export function CardBack({ label = 'Back', className, ...rest }) {
6
- return (_jsx("button", { type: "button", className: cx('icon-btn icon-btn--sm card__back', className), "aria-label": label, ...rest, children: _jsx(Icon, { name: "arrow-left" }) }));
7
- }