@usefillo/react 0.6.1 → 0.6.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/dist/index.d.ts +2 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -148,6 +148,7 @@ type ContentProps = {
|
|
|
148
148
|
id: string;
|
|
149
149
|
children?: string;
|
|
150
150
|
text?: string;
|
|
151
|
+
visibleIf?: Condition | Condition[];
|
|
151
152
|
};
|
|
152
153
|
/** Inert: rendering one throws; they exist to be read by the compiler. */
|
|
153
154
|
type Inert<P> = (props: P) => never;
|
|
@@ -194,6 +195,7 @@ declare const Fillo: {
|
|
|
194
195
|
readonly Paragraph: Inert<ContentProps>;
|
|
195
196
|
readonly Divider: Inert<{
|
|
196
197
|
id: string;
|
|
198
|
+
visibleIf?: Condition | Condition[];
|
|
197
199
|
}>;
|
|
198
200
|
readonly Page: Inert<{
|
|
199
201
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usefillo/react",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Headless React components for embedding Fillo forms natively in your product.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@usefillo/core": "^0.6.
|
|
36
|
+
"@usefillo/core": "^0.6.2"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": "^18.0.0 || ^19.0.0",
|