@firecms/core 3.0.0-canary.151 → 3.0.0-canary.153

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 +69 -63
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.umd.js +69 -63
  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 +18 -20
  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
  ),
@@ -5075,8 +5076,10 @@ function EntityPreview({
5075
5076
  }
5076
5077
  )
5077
5078
  ] }),
5078
- /* @__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(
5079
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col grow-1 w-full m-1 shrink-1", style: {
5080
+ "maxWidth": "calc(100% - 96px)"
5081
+ }, children: [
5082
+ size !== "small" && includeId && (entity ? /* @__PURE__ */ jsx("div", { className: "block whitespace-nowrap overflow-hidden truncate", children: /* @__PURE__ */ jsx(
5080
5083
  Typography,
5081
5084
  {
5082
5085
  variant: "caption",
@@ -5085,19 +5088,19 @@ function EntityPreview({
5085
5088
  children: entity.id
5086
5089
  }
5087
5090
  ) }) : /* @__PURE__ */ jsx(Skeleton, {})),
5088
- titleProperty && /* @__PURE__ */ jsx("div", { className: "my-0.5 text-sm font-medium", children: entity ? /* @__PURE__ */ jsx(
5091
+ titleProperty && /* @__PURE__ */ jsx("div", { className: "my-0.5 text-sm font-large", children: entity ? /* @__PURE__ */ jsx(
5089
5092
  PropertyPreview,
5090
5093
  {
5091
5094
  propertyKey: titleProperty,
5092
5095
  value: getValueInPath(entity.values, titleProperty),
5093
5096
  property: resolvedCollection.properties[titleProperty],
5094
- size: "medium"
5097
+ size: "large"
5095
5098
  }
5096
5099
  ) : /* @__PURE__ */ jsx(
5097
5100
  SkeletonPropertyComponent,
5098
5101
  {
5099
5102
  property: resolvedCollection.properties[titleProperty],
5100
- size: "medium"
5103
+ size: "large"
5101
5104
  }
5102
5105
  ) }),
5103
5106
  restProperties && restProperties.map((key) => {
@@ -5113,13 +5116,13 @@ function EntityPreview({
5113
5116
  propertyKey: key,
5114
5117
  value: getValueInPath(entity.values, key),
5115
5118
  property: childProperty,
5116
- size: "smallest"
5119
+ size: "small"
5117
5120
  }
5118
5121
  ) : /* @__PURE__ */ jsx(
5119
5122
  SkeletonPropertyComponent,
5120
5123
  {
5121
5124
  property: childProperty,
5122
- size: "smallest"
5125
+ size: "small"
5123
5126
  }
5124
5127
  )
5125
5128
  },
@@ -5127,12 +5130,12 @@ function EntityPreview({
5127
5130
  );
5128
5131
  })
5129
5132
  ] }),
5130
- entity && includeEntityLink && /* @__PURE__ */ jsx(Tooltip, { title: `See details for ${entity.id}`, children: /* @__PURE__ */ jsx(
5133
+ entity && includeEntityLink && /* @__PURE__ */ jsx(Tooltip, { title: `See details for ${entity.id}`, className: "shrink-0", children: /* @__PURE__ */ jsx(
5131
5134
  IconButton,
5132
5135
  {
5133
5136
  color: "inherit",
5134
- size: "small",
5135
- className: size !== "smallest" ? "self-start" : "",
5137
+ size: "medium",
5138
+ className: size !== "small" ? "self-start" : "",
5136
5139
  onClick: (e) => {
5137
5140
  e.stopPropagation();
5138
5141
  analyticsController.onAnalyticsEvent?.("entity_click_from_reference", {
@@ -5146,7 +5149,7 @@ function EntityPreview({
5146
5149
  updateUrl: true
5147
5150
  });
5148
5151
  },
5149
- children: /* @__PURE__ */ jsx(KeyboardTabIcon, { size: "small" })
5152
+ children: /* @__PURE__ */ jsx(KeyboardTabIcon, { size: "medium" })
5150
5153
  }
5151
5154
  ) }),
5152
5155
  actions
@@ -5179,7 +5182,7 @@ const EntityPreviewContainer = React.forwardRef(({
5179
5182
  fullwidth ? "w-full" : "",
5180
5183
  "items-center",
5181
5184
  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",
5185
+ size === "small" ? "p-1" : "px-2 py-1",
5183
5186
  "flex border rounded-lg",
5184
5187
  onClick ? "cursor-pointer" : "",
5185
5188
  defaultBorderMixin,
@@ -5287,7 +5290,7 @@ const TableReferenceFieldInternal = React__default.memo(
5287
5290
  ReferencePreview,
5288
5291
  {
5289
5292
  onClick: disabled ? void 0 : handleOpen,
5290
- size: "smallest",
5293
+ size: "small",
5291
5294
  reference,
5292
5295
  hover: !disabled,
5293
5296
  disabled: !path,
@@ -6454,7 +6457,7 @@ function CollectionTableToolbar({
6454
6457
  {
6455
6458
  value: size,
6456
6459
  className: "w-16 h-10",
6457
- size: "small",
6460
+ size: "medium",
6458
6461
  onValueChange: (v) => onSizeChanged(v),
6459
6462
  renderValue: (v) => /* @__PURE__ */ jsx("div", { className: "font-medium", children: v.toUpperCase() }),
6460
6463
  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 +7572,7 @@ function ReferenceFilterField({
7569
7572
  Select,
7570
7573
  {
7571
7574
  value: operation,
7575
+ size: "large",
7572
7576
  onValueChange: (value2) => {
7573
7577
  updateFilter(value2, internalValue);
7574
7578
  },
@@ -7887,6 +7891,7 @@ function DateTimeFilterField({
7887
7891
  Select,
7888
7892
  {
7889
7893
  value: operation,
7894
+ size: "large",
7890
7895
  onValueChange: (value2) => {
7891
7896
  updateFilter(value2, internalValue);
7892
7897
  },
@@ -7899,7 +7904,7 @@ function DateTimeFilterField({
7899
7904
  DateTimeField,
7900
7905
  {
7901
7906
  mode,
7902
- size: "medium",
7907
+ size: "large",
7903
7908
  locale,
7904
7909
  value: internalValue ?? void 0,
7905
7910
  onChange: (dateValue) => {
@@ -10040,6 +10045,7 @@ function CustomIdField({
10040
10045
  enumValues && /* @__PURE__ */ jsx(
10041
10046
  Select,
10042
10047
  {
10048
+ size: "large",
10043
10049
  error,
10044
10050
  onValueChange: (v) => onChange(v),
10045
10051
  ...fieldProps,
@@ -11644,7 +11650,7 @@ const EntityCollectionView = React__default.memo(
11644
11650
  ReferencePreview,
11645
11651
  {
11646
11652
  reference,
11647
- size: "smallest"
11653
+ size: "small"
11648
11654
  },
11649
11655
  reference.path + "/" + reference.id
11650
11656
  );
@@ -13593,7 +13599,7 @@ function ImagePreview({
13593
13599
  url
13594
13600
  }) {
13595
13601
  const imageSize = useMemo(() => getThumbnailMeasure(size), [size]);
13596
- if (size === "smallest") {
13602
+ if (size === "small") {
13597
13603
  return /* @__PURE__ */ jsx(
13598
13604
  "img",
13599
13605
  {
@@ -13769,11 +13775,11 @@ function VideoPreview({
13769
13775
  interactive
13770
13776
  }) {
13771
13777
  const imageSize = useMemo(() => {
13772
- if (size === "smallest")
13778
+ if (size === "small")
13773
13779
  return "140px";
13774
- else if (size === "small")
13775
- return "240px";
13776
13780
  else if (size === "medium")
13781
+ return "240px";
13782
+ else if (size === "large")
13777
13783
  return "100%";
13778
13784
  else throw new Error("Invalid size");
13779
13785
  }, [size]);
@@ -13855,16 +13861,16 @@ function renderMap(property, size) {
13855
13861
  if (!property.properties)
13856
13862
  return /* @__PURE__ */ jsx(Fragment, {});
13857
13863
  let mapPropertyKeys;
13858
- if (size === "medium") {
13864
+ if (size === "large") {
13859
13865
  mapPropertyKeys = Object.keys(property.properties);
13860
13866
  } else {
13861
13867
  mapPropertyKeys = property.previewProperties || Object.keys(property.properties);
13862
- if (size === "small")
13868
+ if (size === "medium")
13863
13869
  mapPropertyKeys = mapPropertyKeys.slice(0, 3);
13864
- else if (size === "smallest")
13870
+ else if (size === "small")
13865
13871
  mapPropertyKeys = mapPropertyKeys.slice(0, 1);
13866
13872
  }
13867
- if (size !== "medium")
13873
+ if (size !== "large")
13868
13874
  return /* @__PURE__ */ jsx(
13869
13875
  "div",
13870
13876
  {
@@ -13873,7 +13879,7 @@ function renderMap(property, size) {
13873
13879
  SkeletonPropertyComponent,
13874
13880
  {
13875
13881
  property: property.properties[key],
13876
- size: "small"
13882
+ size: "medium"
13877
13883
  }
13878
13884
  ) }, `map_${key}`))
13879
13885
  }
@@ -13901,7 +13907,7 @@ function renderMap(property, size) {
13901
13907
  SkeletonPropertyComponent,
13902
13908
  {
13903
13909
  property: property.properties[key],
13904
- size: "small"
13910
+ size: "medium"
13905
13911
  }
13906
13912
  )
13907
13913
  },
@@ -13929,7 +13935,7 @@ function renderArrayOfMaps(properties, size, previewProperties) {
13929
13935
  SkeletonPropertyComponent,
13930
13936
  {
13931
13937
  property: properties[key],
13932
- size: "small"
13938
+ size: "medium"
13933
13939
  }
13934
13940
  )
13935
13941
  },
@@ -13956,7 +13962,7 @@ function renderGenericArrayCell(property, index = 0) {
13956
13962
  SkeletonPropertyComponent,
13957
13963
  {
13958
13964
  property,
13959
- size: "small"
13965
+ size: "medium"
13960
13966
  },
13961
13967
  `i_${index2}`
13962
13968
  ) })
@@ -13966,7 +13972,7 @@ function renderGenericArrayCell(property, index = 0) {
13966
13972
  );
13967
13973
  }
13968
13974
  function renderSkeletonImageThumbnail(size) {
13969
- const imageSize = size === "smallest" ? 40 : size === "small" ? 100 : 200;
13975
+ const imageSize = size === "small" ? 40 : size === "medium" ? 100 : 200;
13970
13976
  return /* @__PURE__ */ jsx(
13971
13977
  Skeleton,
13972
13978
  {
@@ -13978,7 +13984,7 @@ function renderSkeletonImageThumbnail(size) {
13978
13984
  function renderReference() {
13979
13985
  return /* @__PURE__ */ jsx(Skeleton, { width: 200, height: 100 });
13980
13986
  }
13981
- function renderUrlComponent(property, size = "medium") {
13987
+ function renderUrlComponent(property, size = "large") {
13982
13988
  if (typeof property.url === "boolean") {
13983
13989
  return /* @__PURE__ */ jsxs("div", { style: {
13984
13990
  display: "flex"
@@ -14131,10 +14137,10 @@ function StringPropertyPreview({
14131
14137
  } else {
14132
14138
  if (!value) return /* @__PURE__ */ jsx(Fragment, {});
14133
14139
  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: [
14140
+ 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
14141
  /* @__PURE__ */ jsx("span", { children: str }),
14136
14142
  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 });
14143
+ ] }, `string_preview_${index}`)) }) : size === "small" ? /* @__PURE__ */ jsx("span", { className: "text-sm", children: value }) : /* @__PURE__ */ jsx(Fragment, { children: value });
14138
14144
  }
14139
14145
  }
14140
14146
  function ArrayPropertyPreview({
@@ -14157,7 +14163,7 @@ function ArrayPropertyPreview({
14157
14163
  throw Error("Picked wrong preview component ArrayPreview");
14158
14164
  const values = value;
14159
14165
  if (!values) return null;
14160
- const childSize = size === "medium" ? "small" : "smallest";
14166
+ const childSize = size === "medium" ? "medium" : "small";
14161
14167
  return /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2", children: values && values.map(
14162
14168
  (value2, index) => {
14163
14169
  const of = property.resolvedProperties[index] ?? (property.resolvedProperties[index] ?? (Array.isArray(property.of) ? property.of[index] : property.of));
@@ -14338,7 +14344,7 @@ function ArrayOfReferencesPreview({
14338
14344
  }
14339
14345
  if (property?.dataType !== "array" || !property.of || property.of.dataType !== "reference")
14340
14346
  throw Error("Picked wrong preview component ArrayOfReferencesPreview");
14341
- const childSize = size === "medium" ? "small" : "smallest";
14347
+ const childSize = size === "medium" ? "medium" : "small";
14342
14348
  return /* @__PURE__ */ jsx("div", { className: "flex flex-col w-full", children: value && value.map(
14343
14349
  (reference, index) => {
14344
14350
  const ofProperty = property.of;
@@ -14381,7 +14387,7 @@ function ArrayOfStorageComponentsPreview({
14381
14387
  }
14382
14388
  if (property.dataType !== "array" || !property.of || property.of.dataType !== "string")
14383
14389
  throw Error("Picked wrong preview component ArrayOfStorageComponentsPreview");
14384
- const childSize = size === "medium" ? "small" : "smallest";
14390
+ const childSize = size === "medium" ? "medium" : "small";
14385
14391
  return /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2", children: value && value.map(
14386
14392
  (v, index) => /* @__PURE__ */ jsx(ErrorBoundary, { children: /* @__PURE__ */ jsx(
14387
14393
  PropertyPreview,
@@ -14495,7 +14501,7 @@ function ArrayOneOfPreview({
14495
14501
  }
14496
14502
  const values = value;
14497
14503
  if (!values) return null;
14498
- const childSize = size === "medium" ? "small" : "smallest";
14504
+ const childSize = size === "medium" ? "medium" : "small";
14499
14505
  const typeField = property.oneOf.typeField ?? DEFAULT_ONE_OF_TYPE;
14500
14506
  const valueField = property.oneOf.valueField ?? DEFAULT_ONE_OF_VALUE;
14501
14507
  const properties = property.oneOf.properties;
@@ -14533,7 +14539,7 @@ function MapPropertyPreview({
14533
14539
  }
14534
14540
  if (!value) return null;
14535
14541
  const mapPropertyKeys = Object.keys(mapProperty.properties);
14536
- if (size === "smallest")
14542
+ if (size === "small")
14537
14543
  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
14544
  ErrorBoundary,
14539
14545
  {
@@ -14693,7 +14699,7 @@ function BooleanPreview({
14693
14699
  property.name && /* @__PURE__ */ jsx(
14694
14700
  "span",
14695
14701
  {
14696
- className: cls("text-text-secondary dark:text-text-secondary-dark", size === "smallest" ? "text-sm" : ""),
14702
+ className: cls("text-text-secondary dark:text-text-secondary-dark", size === "small" ? "text-sm" : ""),
14697
14703
  children: property.name
14698
14704
  }
14699
14705
  )
@@ -15059,7 +15065,7 @@ function SelectFieldBinding({
15059
15065
  touched,
15060
15066
  property,
15061
15067
  includeDescription,
15062
- size = "medium"
15068
+ size = "large"
15063
15069
  }) {
15064
15070
  const enumValues = resolveEnumValues(property.enumValues ?? []);
15065
15071
  useClearRestoreValue({
@@ -15076,9 +15082,9 @@ function SelectFieldBinding({
15076
15082
  /* @__PURE__ */ jsx(
15077
15083
  Select,
15078
15084
  {
15079
- size: size === "medium" ? "medium" : "small",
15080
15085
  value: value !== void 0 && value != null ? value.toString() : "",
15081
15086
  disabled,
15087
+ size,
15082
15088
  position: "item-aligned",
15083
15089
  inputClassName: cls("w-full"),
15084
15090
  label: /* @__PURE__ */ jsx(PropertyIdCopyTooltip, { propertyKey, children: /* @__PURE__ */ jsx(
@@ -15831,7 +15837,7 @@ function TextFieldBinding({
15831
15837
  autoFocus,
15832
15838
  property,
15833
15839
  includeDescription,
15834
- size = "medium"
15840
+ size = "large"
15835
15841
  }) {
15836
15842
  let multiline;
15837
15843
  let url;
@@ -15996,7 +16002,7 @@ function DateTimeFieldBinding({
15996
16002
  {
15997
16003
  value: internalValue,
15998
16004
  onChange: (dateValue) => setValue(dateValue),
15999
- size: "medium",
16005
+ size: "large",
16000
16006
  mode: property.mode,
16001
16007
  clearable: property.clearable,
16002
16008
  locale,
@@ -16740,7 +16746,7 @@ function MapKeyValueRow({
16740
16746
  placeholder: "value",
16741
16747
  value: entryValue2,
16742
16748
  type: dataType2 === "number" ? "number" : "text",
16743
- size: "small",
16749
+ size: "medium",
16744
16750
  disabled: disabled || !fieldKey2,
16745
16751
  onChange: (event) => {
16746
16752
  if (dataType2 === "number") {
@@ -16776,7 +16782,7 @@ function MapKeyValueRow({
16776
16782
  DateTimeField,
16777
16783
  {
16778
16784
  value: entryValue2,
16779
- size: "small",
16785
+ size: "medium",
16780
16786
  locale,
16781
16787
  disabled: disabled || !fieldKey2,
16782
16788
  onChange: (date) => {
@@ -16792,7 +16798,7 @@ function MapKeyValueRow({
16792
16798
  BooleanSwitchWithLabel,
16793
16799
  {
16794
16800
  value: entryValue2,
16795
- size: "small",
16801
+ size: "medium",
16796
16802
  position: "start",
16797
16803
  disabled: disabled || !fieldKey2,
16798
16804
  onValueChange: (newValue) => {
@@ -16896,7 +16902,7 @@ function MapKeyValueRow({
16896
16902
  value: fieldKey,
16897
16903
  placeholder: "key",
16898
16904
  disabled: disabled || entryValue !== void 0 && entryValue !== null && entryValue !== "",
16899
- size: "small",
16905
+ size: "medium",
16900
16906
  onChange: (event) => {
16901
16907
  onFieldKeyChange(event.target.value);
16902
16908
  }
@@ -16995,7 +17001,7 @@ function ArrayKeyValueRow({
16995
17001
  {
16996
17002
  value: entryValue,
16997
17003
  type: dataType === "number" ? "number" : "text",
16998
- size: "small",
17004
+ size: "medium",
16999
17005
  onChange: (event) => {
17000
17006
  if (dataType === "number") {
17001
17007
  const numberValue = event.target.value ? parseFloat(event.target.value) : void 0;
@@ -17017,7 +17023,7 @@ function ArrayKeyValueRow({
17017
17023
  DateTimeField,
17018
17024
  {
17019
17025
  value: entryValue,
17020
- size: "small",
17026
+ size: "medium",
17021
17027
  locale,
17022
17028
  onChange: (date) => {
17023
17029
  setValue(date);
@@ -17427,7 +17433,7 @@ function BlockEntry({
17427
17433
  children: "Type"
17428
17434
  }
17429
17435
  ),
17430
- size: "small",
17436
+ size: "medium",
17431
17437
  position: "item-aligned",
17432
17438
  value: value1,
17433
17439
  renderValue: (enumKey) => /* @__PURE__ */ jsx(