@multiplatform.one/frappe-ui 6.4.1 → 6.4.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplatform.one/frappe-ui",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.2",
|
|
4
4
|
"description": "Pre-wired Tamagui components for Frappe doctypes with live data",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cross-platform",
|
|
@@ -78,17 +78,17 @@
|
|
|
78
78
|
"html5-qrcode": "^2.3.8",
|
|
79
79
|
"signature_pad": "^5.1.3",
|
|
80
80
|
"tamagui": "2.0.0-rc.41",
|
|
81
|
-
"@multiplatform.one/components": "6.4.
|
|
82
|
-
"@multiplatform.one/desktop": "6.4.
|
|
83
|
-
"@multiplatform.one/
|
|
84
|
-
"@multiplatform.one/
|
|
85
|
-
"@multiplatform.one/
|
|
86
|
-
"@multiplatform.one/
|
|
87
|
-
"@multiplatform.one/rich-text": "6.4.
|
|
88
|
-
"@multiplatform.one/
|
|
89
|
-
"@multiplatform.one/
|
|
90
|
-
"@multiplatform.one/
|
|
91
|
-
"@multiplatform.one/
|
|
81
|
+
"@multiplatform.one/components": "6.4.2",
|
|
82
|
+
"@multiplatform.one/desktop": "6.4.2",
|
|
83
|
+
"@multiplatform.one/i18n": "6.4.2",
|
|
84
|
+
"@multiplatform.one/platform": "6.4.2",
|
|
85
|
+
"@multiplatform.one/frappe": "6.4.2",
|
|
86
|
+
"@multiplatform.one/forms": "6.4.2",
|
|
87
|
+
"@multiplatform.one/rich-text": "6.4.2",
|
|
88
|
+
"@multiplatform.one/router": "6.4.2",
|
|
89
|
+
"@multiplatform.one/table": "6.4.2",
|
|
90
|
+
"@multiplatform.one/theme": "6.4.2",
|
|
91
|
+
"@multiplatform.one/store": "6.4.2"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
94
|
"@tamagui/build": "2.0.0-rc.41",
|
|
@@ -101,9 +101,9 @@
|
|
|
101
101
|
"react-dom": "19.2.5",
|
|
102
102
|
"react-i18next": "^16.6.6",
|
|
103
103
|
"vitest": "^4.1.5",
|
|
104
|
-
"@multiplatform.one/
|
|
105
|
-
"@multiplatform.one/
|
|
106
|
-
"@multiplatform.one/
|
|
104
|
+
"@multiplatform.one/config": "6.4.2",
|
|
105
|
+
"@multiplatform.one/test-utils": "6.4.2",
|
|
106
|
+
"@multiplatform.one/storybook": "6.4.2"
|
|
107
107
|
},
|
|
108
108
|
"peerDependencies": {
|
|
109
109
|
"@react-native-community/datetimepicker": "^8.0.1",
|
package/src/FrappeDashboard.tsx
CHANGED
|
@@ -203,7 +203,7 @@ function LiveDashboardContent<TDoc extends { name: string; doctype: string }>({
|
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
return (
|
|
206
|
-
<YStack {...knobProps.
|
|
206
|
+
<YStack {...knobProps.containerRadius} flex={1} {...stackProps}>
|
|
207
207
|
{(title || showRefresh) && (
|
|
208
208
|
<XStack
|
|
209
209
|
{...knobProps.panelPadding}
|
|
@@ -316,7 +316,7 @@ export function FrappeDashboard<TDoc extends { name: string; doctype: string }>(
|
|
|
316
316
|
// Static widgets path (no live dataSource)
|
|
317
317
|
if (!dataSource || !connectionConfig) {
|
|
318
318
|
return (
|
|
319
|
-
<YStack {...knobProps.
|
|
319
|
+
<YStack {...knobProps.containerRadius} flex={1} {...stackProps}>
|
|
320
320
|
{(title || autoRefresh) && (
|
|
321
321
|
<XStack
|
|
322
322
|
{...knobProps.panelPadding}
|
package/src/FrappeListView.tsx
CHANGED
|
@@ -647,7 +647,7 @@ export function FrappeListView<TDoc extends { name: string; doctype: string }>({
|
|
|
647
647
|
return (
|
|
648
648
|
<YStack
|
|
649
649
|
flex={1}
|
|
650
|
-
{...knobProps.
|
|
650
|
+
{...knobProps.containerRadius}
|
|
651
651
|
testID={`${doctype.toLowerCase()}-list`}
|
|
652
652
|
{...stackProps}
|
|
653
653
|
>
|
|
@@ -459,7 +459,7 @@ export function FrappeReportBuilder({
|
|
|
459
459
|
alignItems="center"
|
|
460
460
|
justifyContent="space-between"
|
|
461
461
|
padding="$2"
|
|
462
|
-
{...knobProps.
|
|
462
|
+
{...knobProps.containerRadius}
|
|
463
463
|
hoverStyle={{ backgroundColor: "$color2" }}
|
|
464
464
|
cursor="pointer"
|
|
465
465
|
onPress={() => handleLoadReport(report)}
|
package/src/FrappeTreeView.tsx
CHANGED
|
@@ -259,7 +259,7 @@ export function FrappeTreeView<TDoc extends { name: string; doctype: string }>({
|
|
|
259
259
|
<YStack {...knobProps.gap} flex={1} {...stackProps}>
|
|
260
260
|
<FrappeReconnectIndicator config={appConfig} />
|
|
261
261
|
<TreeView
|
|
262
|
-
{...knobProps.
|
|
262
|
+
{...knobProps.containerRadius}
|
|
263
263
|
nodes={treeNodes}
|
|
264
264
|
ariaLabel={t("{{doctype}} tree", { doctype })}
|
|
265
265
|
expandByDefault={expandByDefault}
|
|
@@ -79,7 +79,7 @@ export function DeskFormPage({ doctype, name, onNavigate }: DeskFormPageProps) {
|
|
|
79
79
|
alignItems="center"
|
|
80
80
|
justifyContent="center"
|
|
81
81
|
{...knobProps.panelPadding}
|
|
82
|
-
{...knobProps.
|
|
82
|
+
{...knobProps.containerRadius}
|
|
83
83
|
{...knobProps.gap}
|
|
84
84
|
>
|
|
85
85
|
<Text color="$color10" fontSize={knobProps.sizeToken} {...knobProps.body}>
|
|
@@ -57,7 +57,7 @@ export function DeskListPage({ doctype, onNavigate }: DeskListPageProps) {
|
|
|
57
57
|
alignItems="center"
|
|
58
58
|
justifyContent="center"
|
|
59
59
|
{...knobProps.panelPadding}
|
|
60
|
-
{...knobProps.
|
|
60
|
+
{...knobProps.containerRadius}
|
|
61
61
|
{...knobProps.gap}
|
|
62
62
|
>
|
|
63
63
|
<Text color="$color10" fontSize={knobProps.sizeToken} {...knobProps.body}>
|