@firecms/core 3.0.0-canary.133 → 3.0.0-canary.135
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.es.js +9 -9
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +9 -9
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -5
- package/src/components/HomePage/NavigationGroup.tsx +1 -1
- package/src/form/field_bindings/ArrayCustomShapedFieldBinding.tsx +1 -1
- package/src/form/field_bindings/ArrayOfReferencesFieldBinding.tsx +1 -1
- package/src/form/field_bindings/BlockFieldBinding.tsx +1 -1
- package/src/form/field_bindings/KeyValueFieldBinding.tsx +3 -3
- package/src/form/field_bindings/MapFieldBinding.tsx +1 -1
- package/src/form/field_bindings/RepeatFieldBinding.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firecms/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.0-canary.
|
|
4
|
+
"version": "3.0.0-canary.135",
|
|
5
5
|
"description": "Awesome Firebase/Firestore-based headless open-source CMS",
|
|
6
6
|
"funding": {
|
|
7
7
|
"url": "https://github.com/sponsors/firecmsco"
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"./package.json": "./package.json"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@firecms/editor": "^3.0.0-canary.
|
|
50
|
-
"@firecms/formex": "^3.0.0-canary.
|
|
51
|
-
"@firecms/ui": "^3.0.0-canary.
|
|
49
|
+
"@firecms/editor": "^3.0.0-canary.135",
|
|
50
|
+
"@firecms/formex": "^3.0.0-canary.135",
|
|
51
|
+
"@firecms/ui": "^3.0.0-canary.135",
|
|
52
52
|
"@hello-pangea/dnd": "^17.0.0",
|
|
53
53
|
"@radix-ui/react-portal": "^1.1.2",
|
|
54
54
|
"clsx": "^2.1.1",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"dist",
|
|
101
101
|
"src"
|
|
102
102
|
],
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "342200c4215d87e0108c948160dc4f9b22b896be",
|
|
104
104
|
"publishConfig": {
|
|
105
105
|
"access": "public"
|
|
106
106
|
},
|
|
@@ -13,7 +13,7 @@ export function NavigationGroup({
|
|
|
13
13
|
<ExpandablePanel
|
|
14
14
|
invisible={true}
|
|
15
15
|
titleClassName={"font-medium text-sm text-gray-600 dark:text-gray-400"}
|
|
16
|
-
|
|
16
|
+
innerClassName={"py-4"}
|
|
17
17
|
initiallyExpanded={!(userConfigurationPersistence?.collapsedGroups ?? []).includes(group ?? "ungrouped")}
|
|
18
18
|
onExpandedChange={expanded => {
|
|
19
19
|
if (userConfigurationPersistence) {
|
|
@@ -80,7 +80,7 @@ export function ArrayCustomShapedFieldBinding<T extends Array<any>>({
|
|
|
80
80
|
{!minimalistView &&
|
|
81
81
|
<ExpandablePanel initiallyExpanded={expanded}
|
|
82
82
|
title={title}
|
|
83
|
-
|
|
83
|
+
innerClassName={"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2"}>
|
|
84
84
|
{body}
|
|
85
85
|
</ExpandablePanel>}
|
|
86
86
|
|
|
@@ -135,7 +135,7 @@ export function ArrayOfReferencesFieldBinding({
|
|
|
135
135
|
{!minimalistView &&
|
|
136
136
|
<ExpandablePanel
|
|
137
137
|
titleClassName={fieldBackgroundMixin}
|
|
138
|
-
|
|
138
|
+
innerClassName={cls("px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2", fieldBackgroundMixin)}
|
|
139
139
|
initiallyExpanded={expanded}
|
|
140
140
|
title={title}>
|
|
141
141
|
{body}
|
|
@@ -89,7 +89,7 @@ export function BlockFieldBinding<T extends Array<any>>({
|
|
|
89
89
|
|
|
90
90
|
{!minimalistView &&
|
|
91
91
|
<ExpandablePanel
|
|
92
|
-
|
|
92
|
+
innerClassName={"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2"}
|
|
93
93
|
initiallyExpanded={expanded}
|
|
94
94
|
title={title}>
|
|
95
95
|
{body}
|
|
@@ -74,7 +74,7 @@ export function KeyValueFieldBinding({
|
|
|
74
74
|
|
|
75
75
|
{!minimalistView && <ExpandablePanel initiallyExpanded={expanded}
|
|
76
76
|
title={title}
|
|
77
|
-
|
|
77
|
+
innerClassName={"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2"}>{mapFormView}</ExpandablePanel>}
|
|
78
78
|
|
|
79
79
|
{minimalistView && mapFormView}
|
|
80
80
|
|
|
@@ -311,7 +311,7 @@ function MapKeyValueRow<T extends Record<string, any>>({
|
|
|
311
311
|
}}/>;
|
|
312
312
|
} else if (dataType === "boolean") {
|
|
313
313
|
return <BooleanSwitchWithLabel value={entryValue}
|
|
314
|
-
size={"
|
|
314
|
+
size={"small"}
|
|
315
315
|
position={"start"}
|
|
316
316
|
disabled={disabled || !fieldKey}
|
|
317
317
|
onValueChange={(newValue) => {
|
|
@@ -478,7 +478,7 @@ function ArrayKeyValueRow<T>({
|
|
|
478
478
|
}}/>;
|
|
479
479
|
} else if (dataType === "boolean") {
|
|
480
480
|
return <BooleanSwitchWithLabel value={entryValue}
|
|
481
|
-
size={"
|
|
481
|
+
size={"small"}
|
|
482
482
|
position={"start"}
|
|
483
483
|
onValueChange={(v) => {
|
|
484
484
|
setValue(v as T);
|
|
@@ -95,7 +95,7 @@ export function MapFieldBinding({
|
|
|
95
95
|
<ErrorBoundary>
|
|
96
96
|
|
|
97
97
|
{!minimalistView && !minimalistView && <ExpandablePanel initiallyExpanded={expanded}
|
|
98
|
-
|
|
98
|
+
innerClassName={"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2 bg-white dark:bg-gray-900"}
|
|
99
99
|
title={title}>{mapFormView}</ExpandablePanel>}
|
|
100
100
|
|
|
101
101
|
{(minimalistView || minimalistView) && mapFormView}
|
|
@@ -100,7 +100,7 @@ export function RepeatFieldBinding<T extends Array<any>>({
|
|
|
100
100
|
<>
|
|
101
101
|
|
|
102
102
|
{!minimalistView && <ExpandablePanel initiallyExpanded={expanded}
|
|
103
|
-
|
|
103
|
+
innerClassName={"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2"}
|
|
104
104
|
title={title}>
|
|
105
105
|
{arrayContainer}
|
|
106
106
|
</ExpandablePanel>}
|