@revikornmann/muka-ui 0.55.0 → 0.56.0

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.
@@ -7,6 +7,14 @@ export interface PageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'c
7
7
  children: React.ReactNode;
8
8
  /** Footer below the content (legal line, site footer). */
9
9
  footer?: React.ReactNode;
10
+ /**
11
+ * Actions that stay at the bottom of the screen while the page scrolls,
12
+ * typically a `BottomBar variant="actions"`: "Ondertekenen" on an offer a
13
+ * client reads without an account. The bar sticks to the bottom edge until
14
+ * the end of the content, and sits above the footer there. The bar clears
15
+ * the home indicator itself, so give it no padding of its own.
16
+ */
17
+ actions?: React.ReactNode;
10
18
  /**
11
19
  * Page background. `level3` (default) is the base surface; `level2` sets
12
20
  * cards on the page apart from it. A `SiteHeader` inside takes the same
@@ -31,6 +39,9 @@ export interface PageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'c
31
39
  * Android app shell without extra CSS. Pair it with a `SiteHeader`, which
32
40
  * handles the status bar.
33
41
  *
42
+ * A page with one task to finish (read an offer, then sign it) takes its
43
+ * actions in `actions`: they stay in reach while the reader scrolls.
44
+ *
34
45
  * App screens use `View` (inside `AppShell`) instead; it scrolls its own body.
35
46
  */
36
47
  export declare const Page: React.FC<PageProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../../../components/Page/Page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,CAAC;AAEpB,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACvF,0DAA0D;IAC1D,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB,qDAAqD;IACrD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,0DAA0D;IAC1D,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAE9B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CACrC;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA+BpC,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../../../components/Page/Page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,CAAC;AAEpB,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACvF,0DAA0D;IAC1D,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB,qDAAqD;IACrD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,0DAA0D;IAC1D,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAE9B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CACrC;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiCpC,CAAC;AAEF,eAAe,IAAI,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revikornmann/muka-ui",
3
- "version": "0.55.0",
3
+ "version": "0.56.0",
4
4
  "description": "Muka Design System - Multi-brand design tokens and React components",
5
5
  "main": "dist/cjs/components/index.js",
6
6
  "module": "dist/esm/components/index.js",