@segnavia/react 0.26.0 → 0.27.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.
package/dist/elements.js CHANGED
@@ -39,7 +39,9 @@ const ELEMENTS = {
39
39
  "base",
40
40
  "css",
41
41
  "mountMargin",
42
- "slots"
42
+ "slots",
43
+ "motifs",
44
+ "fonts"
43
45
  ], { onSegnaviaThumbnailError: "segnavia-thumbnail-error" }),
44
46
  paperPicker: element(STYLED_ELEMENTS.paperPicker, ["value", "labels"], { onChange: "change" }),
45
47
  itemSettings: element("segnavia-item-settings", [
@@ -54,21 +56,27 @@ const ELEMENTS = {
54
56
  "page",
55
57
  "css",
56
58
  "cspExtra",
57
- "slots"
59
+ "slots",
60
+ "motifs",
61
+ "fonts"
58
62
  ], {}),
59
63
  paper: element(HEADLESS_ELEMENTS.paper, [
60
64
  "paper",
61
65
  "side",
62
66
  "css",
63
67
  "cspExtra",
64
- "slots"
68
+ "slots",
69
+ "motifs",
70
+ "fonts"
65
71
  ], {}),
66
72
  document: element(HEADLESS_ELEMENTS.document, [
67
73
  "css",
68
74
  "cspExtra",
69
75
  "pages",
70
76
  "print",
71
- "slots"
77
+ "slots",
78
+ "motifs",
79
+ "fonts"
72
80
  ], {}),
73
81
  play: element(STYLED_ELEMENTS.play, controlProperties, {}),
74
82
  step: element(STYLED_ELEMENTS.step, controlProperties, {}),
package/dist/props.d.ts CHANGED
@@ -62,6 +62,8 @@ export interface ThumbnailProps extends ElementProps<SegnaviaThumbnail> {
62
62
  css?: string;
63
63
  mountMargin?: number;
64
64
  slots?: SegnaviaThumbnail['slots'];
65
+ motifs?: SegnaviaThumbnail['motifs'];
66
+ fonts?: SegnaviaThumbnail['fonts'];
65
67
  onSegnaviaThumbnailError?: CustomEventProp<unknown>;
66
68
  }
67
69
  export type PaperPickerProps = Omit<ElementProps<SegnaviaPaperPicker>, 'onChange'> & {
@@ -83,6 +85,8 @@ export interface PageProps extends ElementProps<SegnaviaPage> {
83
85
  css?: string;
84
86
  cspExtra?: string;
85
87
  slots?: SegnaviaPage['slots'];
88
+ motifs?: SegnaviaPage['motifs'];
89
+ fonts?: SegnaviaPage['fonts'];
86
90
  src?: string;
87
91
  unstyled?: boolean;
88
92
  }
@@ -92,6 +96,8 @@ export interface PaperProps extends ElementProps<SegnaviaPaper> {
92
96
  css?: string;
93
97
  cspExtra?: string;
94
98
  slots?: SegnaviaPaper['slots'];
99
+ motifs?: SegnaviaPaper['motifs'];
100
+ fonts?: SegnaviaPaper['fonts'];
95
101
  unstyled?: boolean;
96
102
  }
97
103
  export interface DocumentProps extends ElementProps<SegnaviaDocument> {
@@ -100,6 +106,8 @@ export interface DocumentProps extends ElementProps<SegnaviaDocument> {
100
106
  css?: string;
101
107
  cspExtra?: string;
102
108
  slots?: SegnaviaDocument['slots'];
109
+ motifs?: SegnaviaDocument['motifs'];
110
+ fonts?: SegnaviaDocument['fonts'];
103
111
  unstyled?: boolean;
104
112
  }
105
113
  export type PlayProps = ControlProps<SegnaviaPlay>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@segnavia/react",
3
- "version": "0.26.0",
3
+ "version": "0.27.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,7 +26,7 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "@segnavia/frame": "0.26.0"
29
+ "@segnavia/frame": "0.27.0"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "^18.0.0 || ^19.0.0",