@usableapp/cardds 0.7.81 → 0.7.82

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.
@@ -29,7 +29,8 @@ export interface StampPlaceProps extends Omit<ComponentProps<'span'>, 'onClick'>
29
29
  onClick?: () => void;
30
30
  }
31
31
  /**
32
- * StampPlace — an empty place for a stamp: a dashed 4:5 frame the size a Stamp would be, a word or an Icon inside.
33
- * The dashes are a stroke, not a border: `--stamp-place-dash` and `--stamp-place-gap` set them.
32
+ * StampPlace — an empty place for a stamp: a 4:5 frame of round dots the size a Stamp would be, a word or an Icon inside.
33
+ * The dots are a stroke, not a border: `--stamp-place-dot` is their width, `--stamp-place-gap` the distance from one centre to the next,
34
+ * and a `--stamp-place-dash` above 0 stretches each dot into a dash.
34
35
  */
35
36
  export declare function StampPlace({ faint, onClick, className, children, ...rest }: StampPlaceProps): import("react").JSX.Element;
@@ -13,8 +13,9 @@ export function Stamp({ pictures, tone = 'custard', name, words, bare, tilt, onC
13
13
  return (_jsx(Box, { className: cx('stamp', `stamp--${shown.length}`, bare && 'stamp--bare', tilt && `stamp--tilt-${tilt}`, tap && 'stamp--tap', className), ...boxProps, children: _jsx("span", { className: "stamp__paper", children: _jsxs("span", { className: cx('stamp__pic', `sticky--${tone}`), children: [shown.map((picture, i) => _jsx("span", { className: "stamp__art", "aria-hidden": "true", children: picture }, i)), (name != null || words != null) && (_jsxs("span", { className: "stamp__cap", children: [words != null && _jsx("span", { className: "stamp__words", children: words }), name != null && _jsx("span", { className: "stamp__name", children: name })] }))] }) }) }));
14
14
  }
15
15
  /**
16
- * StampPlace — an empty place for a stamp: a dashed 4:5 frame the size a Stamp would be, a word or an Icon inside.
17
- * The dashes are a stroke, not a border: `--stamp-place-dash` and `--stamp-place-gap` set them.
16
+ * StampPlace — an empty place for a stamp: a 4:5 frame of round dots the size a Stamp would be, a word or an Icon inside.
17
+ * The dots are a stroke, not a border: `--stamp-place-dot` is their width, `--stamp-place-gap` the distance from one centre to the next,
18
+ * and a `--stamp-place-dash` above 0 stretches each dot into a dash.
18
19
  */
19
20
  export function StampPlace({ faint, onClick, className, children, ...rest }) {
20
21
  const tap = onClick != null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usableapp/cardds",
3
- "version": "0.7.81",
3
+ "version": "0.7.82",
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.",