@multiplatform.one/frappe-ui 10.9.0 → 10.9.1
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": "@multiplatform.one/frappe-ui",
|
|
3
|
-
"version": "10.9.
|
|
3
|
+
"version": "10.9.1",
|
|
4
4
|
"description": "Pre-wired Tamagui components for Frappe doctypes with live data",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cross-platform",
|
|
@@ -91,16 +91,16 @@
|
|
|
91
91
|
"access": "public"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"@multiplatform.one/components": "^10.9.
|
|
95
|
-
"@multiplatform.one/desktop": "^10.9.
|
|
96
|
-
"@multiplatform.one/forms": "^10.9.
|
|
97
|
-
"@multiplatform.one/frappe": "^10.9.
|
|
98
|
-
"@multiplatform.one/markdown": "^10.9.
|
|
99
|
-
"@multiplatform.one/platform": "^10.9.
|
|
100
|
-
"@multiplatform.one/rich-text": "^10.9.
|
|
101
|
-
"@multiplatform.one/store": "^10.9.
|
|
102
|
-
"@multiplatform.one/table": "^10.9.
|
|
103
|
-
"@multiplatform.one/theme": "^10.9.
|
|
94
|
+
"@multiplatform.one/components": "^10.9.1",
|
|
95
|
+
"@multiplatform.one/desktop": "^10.9.1",
|
|
96
|
+
"@multiplatform.one/forms": "^10.9.1",
|
|
97
|
+
"@multiplatform.one/frappe": "^10.9.1",
|
|
98
|
+
"@multiplatform.one/markdown": "^10.9.1",
|
|
99
|
+
"@multiplatform.one/platform": "^10.9.1",
|
|
100
|
+
"@multiplatform.one/rich-text": "^10.9.1",
|
|
101
|
+
"@multiplatform.one/store": "^10.9.1",
|
|
102
|
+
"@multiplatform.one/table": "^10.9.1",
|
|
103
|
+
"@multiplatform.one/theme": "^10.9.1",
|
|
104
104
|
"@phosphor-icons/react": "^2.1.10",
|
|
105
105
|
"@tamagui/colors": "3.2.3",
|
|
106
106
|
"@tanstack/db": "0.11.3",
|
|
@@ -117,9 +117,9 @@
|
|
|
117
117
|
"tamagui": "3.2.3"
|
|
118
118
|
},
|
|
119
119
|
"devDependencies": {
|
|
120
|
-
"@multiplatform.one/config": "10.9.
|
|
121
|
-
"@multiplatform.one/storybook": "10.9.
|
|
122
|
-
"@multiplatform.one/test-utils": "10.9.
|
|
120
|
+
"@multiplatform.one/config": "10.9.1",
|
|
121
|
+
"@multiplatform.one/storybook": "10.9.1",
|
|
122
|
+
"@multiplatform.one/test-utils": "10.9.1",
|
|
123
123
|
"@tamagui/build": "3.2.3",
|
|
124
124
|
"@testing-library/jest-dom": "^7.0.1",
|
|
125
125
|
"@testing-library/react": "^16.3.3",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { InMemoryFixtureProvider } from "@multiplatform.one/frappe";
|
|
2
2
|
import { action } from "@multiplatform.one/storybook";
|
|
3
|
+
import { within } from "storybook/test";
|
|
3
4
|
import { YStack } from "tamagui";
|
|
4
5
|
import { Data } from "./fields/Data";
|
|
5
6
|
import { RadioGroupField } from "./fields/RadioGroup";
|
|
@@ -318,6 +319,10 @@ MetaError.parameters = {
|
|
|
318
319
|
story: "DocType meta fetch failure shows an error state instead of an empty editable form.",
|
|
319
320
|
},
|
|
320
321
|
},
|
|
322
|
+
lostpixel: { waitForPlay: true },
|
|
323
|
+
};
|
|
324
|
+
MetaError.play = async ({ canvasElement }: { canvasElement: HTMLElement }) => {
|
|
325
|
+
await within(canvasElement).findByText("Failed to load Contact form", {}, { timeout: 20000 });
|
|
321
326
|
};
|
|
322
327
|
|
|
323
328
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { InMemoryFixtureProvider } from "@multiplatform.one/frappe";
|
|
2
2
|
import { action } from "@multiplatform.one/storybook";
|
|
3
|
+
import { within } from "storybook/test";
|
|
3
4
|
import { FrappeProvider } from "./FrappeProvider";
|
|
4
5
|
import { FrappeTreeView } from "./FrappeTreeView";
|
|
5
6
|
import { FrappeStoryProvider } from "./frappeStoryTarget";
|
|
@@ -215,6 +216,10 @@ export const MetaError = () => (
|
|
|
215
216
|
<FrappeTreeView doctype="QaRegion" />
|
|
216
217
|
</FrappeProvider>
|
|
217
218
|
);
|
|
219
|
+
MetaError.parameters = { lostpixel: { waitForPlay: true } };
|
|
220
|
+
MetaError.play = async ({ canvasElement }: { canvasElement: HTMLElement }) => {
|
|
221
|
+
await within(canvasElement).findByText("Failed to load QaRegion schema", {}, { timeout: 20000 });
|
|
222
|
+
};
|
|
218
223
|
|
|
219
224
|
// ---------------------------------------------------------------------------
|
|
220
225
|
// Live bench story — real tree doctype over the live data path
|
|
@@ -293,3 +298,7 @@ export const GuestPeek = () => (
|
|
|
293
298
|
/>
|
|
294
299
|
</FrappeProvider>
|
|
295
300
|
);
|
|
301
|
+
GuestPeek.parameters = { lostpixel: { waitForPlay: true } };
|
|
302
|
+
GuestPeek.play = async ({ canvasElement }: { canvasElement: HTMLElement }) => {
|
|
303
|
+
await within(canvasElement).findByText("Northern Region", {}, { timeout: 20000 });
|
|
304
|
+
};
|