@firecms/core 3.0.0-canary.150 → 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.
Files changed (38) hide show
  1. package/dist/index.es.js +65 -61
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.umd.js +65 -61
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/preview/PropertyPreviewProps.d.ts +1 -1
  6. package/dist/preview/components/EnumValuesChip.d.ts +1 -1
  7. package/dist/preview/util.d.ts +3 -3
  8. package/dist/types/fields.d.ts +2 -2
  9. package/package.json +5 -5
  10. package/src/components/EntityCollectionTable/fields/TableReferenceField.tsx +1 -1
  11. package/src/components/EntityCollectionTable/internal/CollectionTableToolbar.tsx +1 -1
  12. package/src/components/EntityCollectionView/EntityCollectionView.tsx +1 -1
  13. package/src/components/EntityPreview.tsx +14 -14
  14. package/src/components/SelectableTable/filters/DateTimeFilterField.tsx +2 -1
  15. package/src/components/SelectableTable/filters/ReferenceFilterField.tsx +1 -0
  16. package/src/components/VirtualTable/fields/VirtualTableDateField.tsx +1 -1
  17. package/src/components/VirtualTable/fields/VirtualTableSelect.tsx +1 -0
  18. package/src/form/components/CustomIdField.tsx +1 -0
  19. package/src/form/field_bindings/BlockFieldBinding.tsx +1 -1
  20. package/src/form/field_bindings/DateTimeFieldBinding.tsx +1 -1
  21. package/src/form/field_bindings/KeyValueFieldBinding.tsx +6 -6
  22. package/src/form/field_bindings/MapFieldBinding.tsx +1 -0
  23. package/src/form/field_bindings/SelectFieldBinding.tsx +2 -2
  24. package/src/form/field_bindings/TextFieldBinding.tsx +1 -1
  25. package/src/preview/PropertyPreviewProps.tsx +1 -1
  26. package/src/preview/components/BooleanPreview.tsx +1 -1
  27. package/src/preview/components/EnumValuesChip.tsx +1 -1
  28. package/src/preview/components/ImagePreview.tsx +1 -1
  29. package/src/preview/components/UrlComponentPreview.tsx +3 -3
  30. package/src/preview/property_previews/ArrayOfReferencesPreview.tsx +1 -1
  31. package/src/preview/property_previews/ArrayOfStorageComponentsPreview.tsx +1 -1
  32. package/src/preview/property_previews/ArrayOneOfPreview.tsx +1 -1
  33. package/src/preview/property_previews/ArrayPropertyPreview.tsx +1 -1
  34. package/src/preview/property_previews/MapPropertyPreview.tsx +1 -1
  35. package/src/preview/property_previews/SkeletonPropertyComponent.tsx +12 -12
  36. package/src/preview/property_previews/StringPropertyPreview.tsx +2 -2
  37. package/src/preview/util.ts +10 -10
  38. package/src/types/fields.tsx +2 -2
package/dist/index.es.js CHANGED
@@ -4259,6 +4259,7 @@ function VirtualTableSelect(props) {
4259
4259
  Select,
4260
4260
  {
4261
4261
  inputRef: ref,
4262
+ size: "large",
4262
4263
  className: "w-full h-full p-0 bg-transparent",
4263
4264
  position: "item-aligned",
4264
4265
  disabled,
@@ -4382,7 +4383,7 @@ function VirtualTableDateField(props) {
4382
4383
  {
4383
4384
  value: internalValue ?? void 0,
4384
4385
  onChange: (dateValue) => updateValue(dateValue ?? null),
4385
- size: "medium",
4386
+ size: "large",
4386
4387
  invisible: true,
4387
4388
  inputClassName: cls("w-full h-full", focusedDisabled),
4388
4389
  className: cls("w-full h-full", focusedDisabled),
@@ -4416,28 +4417,28 @@ class ErrorBoundary extends React__default.Component {
4416
4417
  return this.props.children;
4417
4418
  }
4418
4419
  }
4419
- const TINY_THUMBNAIL = 40;
4420
- const SMALL_THUMBNAIL = 100;
4421
- const REGULAR_THUMBNAIL = 200;
4420
+ const SMALL_THUMBNAIL = 40;
4421
+ const MEDIUM_THUMBNAIL = 100;
4422
+ const LARGE_THUMBNAIL = 200;
4422
4423
  function getThumbnailMeasure(size) {
4423
- if (size === "smallest")
4424
- return TINY_THUMBNAIL;
4425
- else if (size === "small")
4424
+ if (size === "small")
4426
4425
  return SMALL_THUMBNAIL;
4427
4426
  else if (size === "medium")
4428
- return REGULAR_THUMBNAIL;
4427
+ return MEDIUM_THUMBNAIL;
4428
+ else if (size === "large")
4429
+ return LARGE_THUMBNAIL;
4429
4430
  else throw Error("Thumbnail size not mapped");
4430
4431
  }
4431
4432
  function getPreviewSizeFrom(size) {
4432
4433
  switch (size) {
4433
4434
  case "xs":
4434
4435
  case "s":
4435
- return "smallest";
4436
- case "m":
4437
4436
  return "small";
4437
+ case "m":
4438
+ return "medium";
4438
4439
  case "l":
4439
4440
  case "xl":
4440
- return "medium";
4441
+ return "large";
4441
4442
  default:
4442
4443
  throw Error("Missing mapping value in getPreviewSizeFrom: " + size);
4443
4444
  }
@@ -5041,7 +5042,7 @@ function EntityPreview({
5041
5042
  propertyConfigs: customizationController.propertyConfigs
5042
5043
  }), [collection]);
5043
5044
  const listProperties = useMemo(
5044
- () => getEntityPreviewKeys(resolvedCollection, customizationController.propertyConfigs, previewProperties, size === "small" || size === "medium" ? 3 : 1),
5045
+ () => getEntityPreviewKeys(resolvedCollection, customizationController.propertyConfigs, previewProperties, size === "medium" || size === "large" ? 3 : 1),
5045
5046
  [previewProperties, resolvedCollection, size]
5046
5047
  );
5047
5048
  const titleProperty = getEntityTitlePropertyKey(resolvedCollection, customizationController.propertyConfigs);
@@ -5055,13 +5056,13 @@ function EntityPreview({
5055
5056
  hover: disabled ? void 0 : hover,
5056
5057
  size,
5057
5058
  children: [
5058
- /* @__PURE__ */ jsxs("div", { className: cls("flex w-10 h-10 ml-1 mr-2 shrink-0", size === "smallest" ? "my-0.5" : "m-2 self-start"), children: [
5059
+ /* @__PURE__ */ jsxs("div", { className: cls("flex w-10 h-10 ml-1 mr-2 shrink-0", size === "small" ? "my-0.5" : "m-2 self-start"), children: [
5059
5060
  imageProperty && /* @__PURE__ */ jsx(
5060
5061
  PropertyPreview,
5061
5062
  {
5062
5063
  property: imageProperty,
5063
5064
  propertyKey: imagePropertyKey,
5064
- size: "smallest",
5065
+ size: "small",
5065
5066
  value: getValueInPath(entity.values, imagePropertyKey)
5066
5067
  }
5067
5068
  ),
@@ -5076,7 +5077,7 @@ function EntityPreview({
5076
5077
  )
5077
5078
  ] }),
5078
5079
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col grow-1 w-full max-w-full m-1", children: [
5079
- size !== "smallest" && includeId && (entity ? /* @__PURE__ */ jsx("div", { className: `${size !== "medium" ? "block whitespace-nowrap overflow-hidden truncate" : ""}`, children: /* @__PURE__ */ jsx(
5080
+ size !== "small" && includeId && (entity ? /* @__PURE__ */ jsx("div", { className: `${size !== "large" ? "block whitespace-nowrap overflow-hidden truncate" : ""}`, children: /* @__PURE__ */ jsx(
5080
5081
  Typography,
5081
5082
  {
5082
5083
  variant: "caption",
@@ -5085,19 +5086,19 @@ function EntityPreview({
5085
5086
  children: entity.id
5086
5087
  }
5087
5088
  ) }) : /* @__PURE__ */ jsx(Skeleton, {})),
5088
- titleProperty && /* @__PURE__ */ jsx("div", { className: "my-0.5 text-sm font-medium", children: entity ? /* @__PURE__ */ jsx(
5089
+ titleProperty && /* @__PURE__ */ jsx("div", { className: "my-0.5 text-sm font-large", children: entity ? /* @__PURE__ */ jsx(
5089
5090
  PropertyPreview,
5090
5091
  {
5091
5092
  propertyKey: titleProperty,
5092
5093
  value: getValueInPath(entity.values, titleProperty),
5093
5094
  property: resolvedCollection.properties[titleProperty],
5094
- size: "medium"
5095
+ size: "large"
5095
5096
  }
5096
5097
  ) : /* @__PURE__ */ jsx(
5097
5098
  SkeletonPropertyComponent,
5098
5099
  {
5099
5100
  property: resolvedCollection.properties[titleProperty],
5100
- size: "medium"
5101
+ size: "large"
5101
5102
  }
5102
5103
  ) }),
5103
5104
  restProperties && restProperties.map((key) => {
@@ -5113,13 +5114,13 @@ function EntityPreview({
5113
5114
  propertyKey: key,
5114
5115
  value: getValueInPath(entity.values, key),
5115
5116
  property: childProperty,
5116
- size: "smallest"
5117
+ size: "small"
5117
5118
  }
5118
5119
  ) : /* @__PURE__ */ jsx(
5119
5120
  SkeletonPropertyComponent,
5120
5121
  {
5121
5122
  property: childProperty,
5122
- size: "smallest"
5123
+ size: "small"
5123
5124
  }
5124
5125
  )
5125
5126
  },
@@ -5131,8 +5132,8 @@ function EntityPreview({
5131
5132
  IconButton,
5132
5133
  {
5133
5134
  color: "inherit",
5134
- size: "small",
5135
- className: size !== "smallest" ? "self-start" : "",
5135
+ size: "medium",
5136
+ className: size !== "small" ? "self-start" : "",
5136
5137
  onClick: (e) => {
5137
5138
  e.stopPropagation();
5138
5139
  analyticsController.onAnalyticsEvent?.("entity_click_from_reference", {
@@ -5146,7 +5147,7 @@ function EntityPreview({
5146
5147
  updateUrl: true
5147
5148
  });
5148
5149
  },
5149
- children: /* @__PURE__ */ jsx(KeyboardTabIcon, { size: "small" })
5150
+ children: /* @__PURE__ */ jsx(KeyboardTabIcon, { size: "medium" })
5150
5151
  }
5151
5152
  ) }),
5152
5153
  actions
@@ -5179,7 +5180,7 @@ const EntityPreviewContainer = React.forwardRef(({
5179
5180
  fullwidth ? "w-full" : "",
5180
5181
  "items-center",
5181
5182
  hover ? "hover:bg-surface-accent-50 dark:hover:bg-surface-800 group-hover:bg-surface-accent-50 dark:group-hover:bg-surface-800" : "",
5182
- size === "smallest" ? "p-1" : "px-2 py-1",
5183
+ size === "small" ? "p-1" : "px-2 py-1",
5183
5184
  "flex border rounded-lg",
5184
5185
  onClick ? "cursor-pointer" : "",
5185
5186
  defaultBorderMixin,
@@ -5287,7 +5288,7 @@ const TableReferenceFieldInternal = React__default.memo(
5287
5288
  ReferencePreview,
5288
5289
  {
5289
5290
  onClick: disabled ? void 0 : handleOpen,
5290
- size: "smallest",
5291
+ size: "small",
5291
5292
  reference,
5292
5293
  hover: !disabled,
5293
5294
  disabled: !path,
@@ -6454,7 +6455,7 @@ function CollectionTableToolbar({
6454
6455
  {
6455
6456
  value: size,
6456
6457
  className: "w-16 h-10",
6457
- size: "small",
6458
+ size: "medium",
6458
6459
  onValueChange: (v) => onSizeChanged(v),
6459
6460
  renderValue: (v) => /* @__PURE__ */ jsx("div", { className: "font-medium", children: v.toUpperCase() }),
6460
6461
  children: ["xs", "s", "m", "l", "xl"].map((size2) => /* @__PURE__ */ jsx(SelectItem, { value: size2, className: "w-12 font-medium text-center", children: size2.toUpperCase() }, size2))
@@ -7569,6 +7570,7 @@ function ReferenceFilterField({
7569
7570
  Select,
7570
7571
  {
7571
7572
  value: operation,
7573
+ size: "large",
7572
7574
  onValueChange: (value2) => {
7573
7575
  updateFilter(value2, internalValue);
7574
7576
  },
@@ -7887,6 +7889,7 @@ function DateTimeFilterField({
7887
7889
  Select,
7888
7890
  {
7889
7891
  value: operation,
7892
+ size: "large",
7890
7893
  onValueChange: (value2) => {
7891
7894
  updateFilter(value2, internalValue);
7892
7895
  },
@@ -7899,7 +7902,7 @@ function DateTimeFilterField({
7899
7902
  DateTimeField,
7900
7903
  {
7901
7904
  mode,
7902
- size: "medium",
7905
+ size: "large",
7903
7906
  locale,
7904
7907
  value: internalValue ?? void 0,
7905
7908
  onChange: (dateValue) => {
@@ -10040,6 +10043,7 @@ function CustomIdField({
10040
10043
  enumValues && /* @__PURE__ */ jsx(
10041
10044
  Select,
10042
10045
  {
10046
+ size: "large",
10043
10047
  error,
10044
10048
  onValueChange: (v) => onChange(v),
10045
10049
  ...fieldProps,
@@ -11644,7 +11648,7 @@ const EntityCollectionView = React__default.memo(
11644
11648
  ReferencePreview,
11645
11649
  {
11646
11650
  reference,
11647
- size: "smallest"
11651
+ size: "small"
11648
11652
  },
11649
11653
  reference.path + "/" + reference.id
11650
11654
  );
@@ -13593,7 +13597,7 @@ function ImagePreview({
13593
13597
  url
13594
13598
  }) {
13595
13599
  const imageSize = useMemo(() => getThumbnailMeasure(size), [size]);
13596
- if (size === "smallest") {
13600
+ if (size === "small") {
13597
13601
  return /* @__PURE__ */ jsx(
13598
13602
  "img",
13599
13603
  {
@@ -13769,11 +13773,11 @@ function VideoPreview({
13769
13773
  interactive
13770
13774
  }) {
13771
13775
  const imageSize = useMemo(() => {
13772
- if (size === "smallest")
13776
+ if (size === "small")
13773
13777
  return "140px";
13774
- else if (size === "small")
13775
- return "240px";
13776
13778
  else if (size === "medium")
13779
+ return "240px";
13780
+ else if (size === "large")
13777
13781
  return "100%";
13778
13782
  else throw new Error("Invalid size");
13779
13783
  }, [size]);
@@ -13855,16 +13859,16 @@ function renderMap(property, size) {
13855
13859
  if (!property.properties)
13856
13860
  return /* @__PURE__ */ jsx(Fragment, {});
13857
13861
  let mapPropertyKeys;
13858
- if (size === "medium") {
13862
+ if (size === "large") {
13859
13863
  mapPropertyKeys = Object.keys(property.properties);
13860
13864
  } else {
13861
13865
  mapPropertyKeys = property.previewProperties || Object.keys(property.properties);
13862
- if (size === "small")
13866
+ if (size === "medium")
13863
13867
  mapPropertyKeys = mapPropertyKeys.slice(0, 3);
13864
- else if (size === "smallest")
13868
+ else if (size === "small")
13865
13869
  mapPropertyKeys = mapPropertyKeys.slice(0, 1);
13866
13870
  }
13867
- if (size !== "medium")
13871
+ if (size !== "large")
13868
13872
  return /* @__PURE__ */ jsx(
13869
13873
  "div",
13870
13874
  {
@@ -13873,7 +13877,7 @@ function renderMap(property, size) {
13873
13877
  SkeletonPropertyComponent,
13874
13878
  {
13875
13879
  property: property.properties[key],
13876
- size: "small"
13880
+ size: "medium"
13877
13881
  }
13878
13882
  ) }, `map_${key}`))
13879
13883
  }
@@ -13901,7 +13905,7 @@ function renderMap(property, size) {
13901
13905
  SkeletonPropertyComponent,
13902
13906
  {
13903
13907
  property: property.properties[key],
13904
- size: "small"
13908
+ size: "medium"
13905
13909
  }
13906
13910
  )
13907
13911
  },
@@ -13929,7 +13933,7 @@ function renderArrayOfMaps(properties, size, previewProperties) {
13929
13933
  SkeletonPropertyComponent,
13930
13934
  {
13931
13935
  property: properties[key],
13932
- size: "small"
13936
+ size: "medium"
13933
13937
  }
13934
13938
  )
13935
13939
  },
@@ -13956,7 +13960,7 @@ function renderGenericArrayCell(property, index = 0) {
13956
13960
  SkeletonPropertyComponent,
13957
13961
  {
13958
13962
  property,
13959
- size: "small"
13963
+ size: "medium"
13960
13964
  },
13961
13965
  `i_${index2}`
13962
13966
  ) })
@@ -13966,7 +13970,7 @@ function renderGenericArrayCell(property, index = 0) {
13966
13970
  );
13967
13971
  }
13968
13972
  function renderSkeletonImageThumbnail(size) {
13969
- const imageSize = size === "smallest" ? 40 : size === "small" ? 100 : 200;
13973
+ const imageSize = size === "small" ? 40 : size === "medium" ? 100 : 200;
13970
13974
  return /* @__PURE__ */ jsx(
13971
13975
  Skeleton,
13972
13976
  {
@@ -13978,7 +13982,7 @@ function renderSkeletonImageThumbnail(size) {
13978
13982
  function renderReference() {
13979
13983
  return /* @__PURE__ */ jsx(Skeleton, { width: 200, height: 100 });
13980
13984
  }
13981
- function renderUrlComponent(property, size = "medium") {
13985
+ function renderUrlComponent(property, size = "large") {
13982
13986
  if (typeof property.url === "boolean") {
13983
13987
  return /* @__PURE__ */ jsxs("div", { style: {
13984
13988
  display: "flex"
@@ -14131,10 +14135,10 @@ function StringPropertyPreview({
14131
14135
  } else {
14132
14136
  if (!value) return /* @__PURE__ */ jsx(Fragment, {});
14133
14137
  const lines = value.split("\n");
14134
- return value && value.includes("\n") ? /* @__PURE__ */ jsx("div", { className: cls("overflow-x-scroll", size === "smallest" ? "text-sm" : ""), children: lines.map((str, index) => /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
14138
+ return value && value.includes("\n") ? /* @__PURE__ */ jsx("div", { className: cls("overflow-x-scroll", size === "small" ? "text-sm" : ""), children: lines.map((str, index) => /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
14135
14139
  /* @__PURE__ */ jsx("span", { children: str }),
14136
14140
  index !== lines.length - 1 && /* @__PURE__ */ jsx("br", {})
14137
- ] }, `string_preview_${index}`)) }) : size === "smallest" ? /* @__PURE__ */ jsx("span", { className: "text-sm", children: value }) : /* @__PURE__ */ jsx(Fragment, { children: value });
14141
+ ] }, `string_preview_${index}`)) }) : size === "small" ? /* @__PURE__ */ jsx("span", { className: "text-sm", children: value }) : /* @__PURE__ */ jsx(Fragment, { children: value });
14138
14142
  }
14139
14143
  }
14140
14144
  function ArrayPropertyPreview({
@@ -14157,7 +14161,7 @@ function ArrayPropertyPreview({
14157
14161
  throw Error("Picked wrong preview component ArrayPreview");
14158
14162
  const values = value;
14159
14163
  if (!values) return null;
14160
- const childSize = size === "medium" ? "small" : "smallest";
14164
+ const childSize = size === "medium" ? "medium" : "small";
14161
14165
  return /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2", children: values && values.map(
14162
14166
  (value2, index) => {
14163
14167
  const of = property.resolvedProperties[index] ?? (property.resolvedProperties[index] ?? (Array.isArray(property.of) ? property.of[index] : property.of));
@@ -14338,7 +14342,7 @@ function ArrayOfReferencesPreview({
14338
14342
  }
14339
14343
  if (property?.dataType !== "array" || !property.of || property.of.dataType !== "reference")
14340
14344
  throw Error("Picked wrong preview component ArrayOfReferencesPreview");
14341
- const childSize = size === "medium" ? "small" : "smallest";
14345
+ const childSize = size === "medium" ? "medium" : "small";
14342
14346
  return /* @__PURE__ */ jsx("div", { className: "flex flex-col w-full", children: value && value.map(
14343
14347
  (reference, index) => {
14344
14348
  const ofProperty = property.of;
@@ -14381,7 +14385,7 @@ function ArrayOfStorageComponentsPreview({
14381
14385
  }
14382
14386
  if (property.dataType !== "array" || !property.of || property.of.dataType !== "string")
14383
14387
  throw Error("Picked wrong preview component ArrayOfStorageComponentsPreview");
14384
- const childSize = size === "medium" ? "small" : "smallest";
14388
+ const childSize = size === "medium" ? "medium" : "small";
14385
14389
  return /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2", children: value && value.map(
14386
14390
  (v, index) => /* @__PURE__ */ jsx(ErrorBoundary, { children: /* @__PURE__ */ jsx(
14387
14391
  PropertyPreview,
@@ -14495,7 +14499,7 @@ function ArrayOneOfPreview({
14495
14499
  }
14496
14500
  const values = value;
14497
14501
  if (!values) return null;
14498
- const childSize = size === "medium" ? "small" : "smallest";
14502
+ const childSize = size === "medium" ? "medium" : "small";
14499
14503
  const typeField = property.oneOf.typeField ?? DEFAULT_ONE_OF_TYPE;
14500
14504
  const valueField = property.oneOf.valueField ?? DEFAULT_ONE_OF_VALUE;
14501
14505
  const properties = property.oneOf.properties;
@@ -14533,7 +14537,7 @@ function MapPropertyPreview({
14533
14537
  }
14534
14538
  if (!value) return null;
14535
14539
  const mapPropertyKeys = Object.keys(mapProperty.properties);
14536
- if (size === "smallest")
14540
+ if (size === "small")
14537
14541
  return /* @__PURE__ */ jsx("div", { className: "w-full flex flex-col space-y-1 md:space-y-2", children: mapPropertyKeys.map((key, index) => /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
14538
14542
  ErrorBoundary,
14539
14543
  {
@@ -14693,7 +14697,7 @@ function BooleanPreview({
14693
14697
  property.name && /* @__PURE__ */ jsx(
14694
14698
  "span",
14695
14699
  {
14696
- className: cls("text-text-secondary dark:text-text-secondary-dark", size === "smallest" ? "text-sm" : ""),
14700
+ className: cls("text-text-secondary dark:text-text-secondary-dark", size === "small" ? "text-sm" : ""),
14697
14701
  children: property.name
14698
14702
  }
14699
14703
  )
@@ -15059,7 +15063,7 @@ function SelectFieldBinding({
15059
15063
  touched,
15060
15064
  property,
15061
15065
  includeDescription,
15062
- size = "medium"
15066
+ size = "large"
15063
15067
  }) {
15064
15068
  const enumValues = resolveEnumValues(property.enumValues ?? []);
15065
15069
  useClearRestoreValue({
@@ -15076,9 +15080,9 @@ function SelectFieldBinding({
15076
15080
  /* @__PURE__ */ jsx(
15077
15081
  Select,
15078
15082
  {
15079
- size: size === "medium" ? "medium" : "small",
15080
15083
  value: value !== void 0 && value != null ? value.toString() : "",
15081
15084
  disabled,
15085
+ size,
15082
15086
  position: "item-aligned",
15083
15087
  inputClassName: cls("w-full"),
15084
15088
  label: /* @__PURE__ */ jsx(PropertyIdCopyTooltip, { propertyKey, children: /* @__PURE__ */ jsx(
@@ -15831,7 +15835,7 @@ function TextFieldBinding({
15831
15835
  autoFocus,
15832
15836
  property,
15833
15837
  includeDescription,
15834
- size = "medium"
15838
+ size = "large"
15835
15839
  }) {
15836
15840
  let multiline;
15837
15841
  let url;
@@ -15996,7 +16000,7 @@ function DateTimeFieldBinding({
15996
16000
  {
15997
16001
  value: internalValue,
15998
16002
  onChange: (dateValue) => setValue(dateValue),
15999
- size: "medium",
16003
+ size: "large",
16000
16004
  mode: property.mode,
16001
16005
  clearable: property.clearable,
16002
16006
  locale,
@@ -16740,7 +16744,7 @@ function MapKeyValueRow({
16740
16744
  placeholder: "value",
16741
16745
  value: entryValue2,
16742
16746
  type: dataType2 === "number" ? "number" : "text",
16743
- size: "small",
16747
+ size: "medium",
16744
16748
  disabled: disabled || !fieldKey2,
16745
16749
  onChange: (event) => {
16746
16750
  if (dataType2 === "number") {
@@ -16776,7 +16780,7 @@ function MapKeyValueRow({
16776
16780
  DateTimeField,
16777
16781
  {
16778
16782
  value: entryValue2,
16779
- size: "small",
16783
+ size: "medium",
16780
16784
  locale,
16781
16785
  disabled: disabled || !fieldKey2,
16782
16786
  onChange: (date) => {
@@ -16792,7 +16796,7 @@ function MapKeyValueRow({
16792
16796
  BooleanSwitchWithLabel,
16793
16797
  {
16794
16798
  value: entryValue2,
16795
- size: "small",
16799
+ size: "medium",
16796
16800
  position: "start",
16797
16801
  disabled: disabled || !fieldKey2,
16798
16802
  onValueChange: (newValue) => {
@@ -16896,7 +16900,7 @@ function MapKeyValueRow({
16896
16900
  value: fieldKey,
16897
16901
  placeholder: "key",
16898
16902
  disabled: disabled || entryValue !== void 0 && entryValue !== null && entryValue !== "",
16899
- size: "small",
16903
+ size: "medium",
16900
16904
  onChange: (event) => {
16901
16905
  onFieldKeyChange(event.target.value);
16902
16906
  }
@@ -16995,7 +16999,7 @@ function ArrayKeyValueRow({
16995
16999
  {
16996
17000
  value: entryValue,
16997
17001
  type: dataType === "number" ? "number" : "text",
16998
- size: "small",
17002
+ size: "medium",
16999
17003
  onChange: (event) => {
17000
17004
  if (dataType === "number") {
17001
17005
  const numberValue = event.target.value ? parseFloat(event.target.value) : void 0;
@@ -17017,7 +17021,7 @@ function ArrayKeyValueRow({
17017
17021
  DateTimeField,
17018
17022
  {
17019
17023
  value: entryValue,
17020
- size: "small",
17024
+ size: "medium",
17021
17025
  locale,
17022
17026
  onChange: (date) => {
17023
17027
  setValue(date);
@@ -17427,7 +17431,7 @@ function BlockEntry({
17427
17431
  children: "Type"
17428
17432
  }
17429
17433
  ),
17430
- size: "small",
17434
+ size: "medium",
17431
17435
  position: "item-aligned",
17432
17436
  value: value1,
17433
17437
  renderValue: (enumKey) => /* @__PURE__ */ jsx(