@firecms/collection_editor 3.0.0-canary.151 → 3.0.0-canary.152
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 +8 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +8 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +8 -8
- package/src/ui/collection_editor/CollectionDetailsForm.tsx +3 -1
- package/src/ui/collection_editor/import/CollectionEditorImportMapping.tsx +1 -0
- package/src/ui/collection_editor/properties/DateTimePropertyField.tsx +2 -0
- package/src/ui/collection_editor/properties/EnumPropertyField.tsx +1 -0
- package/src/ui/collection_editor/properties/ReferencePropertyField.tsx +1 -0
package/dist/index.es.js
CHANGED
|
@@ -290,6 +290,7 @@ function CollectionDetailsForm({
|
|
|
290
290
|
Select,
|
|
291
291
|
{
|
|
292
292
|
name: "defaultSize",
|
|
293
|
+
size: "large",
|
|
293
294
|
label: "Default row size",
|
|
294
295
|
position: "item-aligned",
|
|
295
296
|
onChange: handleChange,
|
|
@@ -311,6 +312,7 @@ function CollectionDetailsForm({
|
|
|
311
312
|
name: "customId",
|
|
312
313
|
label: "Document IDs generation",
|
|
313
314
|
position: "item-aligned",
|
|
315
|
+
size: "large",
|
|
314
316
|
disabled: customIdValue === "code_defined",
|
|
315
317
|
onValueChange: (v) => {
|
|
316
318
|
if (v === "code_defined")
|
|
@@ -403,7 +405,7 @@ function DefaultDatabaseField({
|
|
|
403
405
|
children: /* @__PURE__ */ jsx(
|
|
404
406
|
TextField,
|
|
405
407
|
{
|
|
406
|
-
size: "
|
|
408
|
+
size: "small",
|
|
407
409
|
invisible: true,
|
|
408
410
|
inputClassName: "text-end",
|
|
409
411
|
value: databaseId ?? "",
|
|
@@ -1082,6 +1084,7 @@ function EnumPropertyField({
|
|
|
1082
1084
|
onValueChange: (value) => {
|
|
1083
1085
|
setFieldValue("defaultValue", value);
|
|
1084
1086
|
},
|
|
1087
|
+
size: "large",
|
|
1085
1088
|
label: "Default value",
|
|
1086
1089
|
value: defaultValue ?? "",
|
|
1087
1090
|
children: enumValues.filter((enumValue) => Boolean(enumValue?.id)).map((enumValue) => /* @__PURE__ */ jsx(
|
|
@@ -2354,6 +2357,7 @@ function CollectionsSelect({
|
|
|
2354
2357
|
value: value ?? "",
|
|
2355
2358
|
position: "item-aligned",
|
|
2356
2359
|
name: pathPath,
|
|
2360
|
+
size: "large",
|
|
2357
2361
|
onChange: handleChange,
|
|
2358
2362
|
label: "Target collection",
|
|
2359
2363
|
renderValue: (selected) => {
|
|
@@ -2448,6 +2452,7 @@ function DateTimePropertyField({ disabled }) {
|
|
|
2448
2452
|
name: modePath,
|
|
2449
2453
|
value: modeValue ?? "date",
|
|
2450
2454
|
error: Boolean(modeError),
|
|
2455
|
+
size: "large",
|
|
2451
2456
|
onValueChange: (v) => setFieldValue(modePath, v),
|
|
2452
2457
|
label: "Mode",
|
|
2453
2458
|
renderValue: (v) => {
|
|
@@ -2475,6 +2480,7 @@ function DateTimePropertyField({ disabled }) {
|
|
|
2475
2480
|
{
|
|
2476
2481
|
name: autoValuePath,
|
|
2477
2482
|
disabled,
|
|
2483
|
+
size: "large",
|
|
2478
2484
|
value: autoValueValue ?? "",
|
|
2479
2485
|
onValueChange: (v) => setFieldValue(autoValuePath, v === "none" ? null : v),
|
|
2480
2486
|
renderValue: (v) => {
|
|
@@ -5307,6 +5313,7 @@ function PropertySelect({
|
|
|
5307
5313
|
open: selectOpen,
|
|
5308
5314
|
onOpenChange: setSelectOpen,
|
|
5309
5315
|
invisible: true,
|
|
5316
|
+
size: "large",
|
|
5310
5317
|
className: "w-full",
|
|
5311
5318
|
disabled,
|
|
5312
5319
|
error: !widget,
|