@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.umd.js CHANGED
@@ -4263,6 +4263,7 @@
4263
4263
  ui.Select,
4264
4264
  {
4265
4265
  inputRef: ref,
4266
+ size: "large",
4266
4267
  className: "w-full h-full p-0 bg-transparent",
4267
4268
  position: "item-aligned",
4268
4269
  disabled,
@@ -4386,7 +4387,7 @@
4386
4387
  {
4387
4388
  value: internalValue ?? void 0,
4388
4389
  onChange: (dateValue) => updateValue(dateValue ?? null),
4389
- size: "medium",
4390
+ size: "large",
4390
4391
  invisible: true,
4391
4392
  inputClassName: ui.cls("w-full h-full", ui.focusedDisabled),
4392
4393
  className: ui.cls("w-full h-full", ui.focusedDisabled),
@@ -4420,28 +4421,28 @@
4420
4421
  return this.props.children;
4421
4422
  }
4422
4423
  }
4423
- const TINY_THUMBNAIL = 40;
4424
- const SMALL_THUMBNAIL = 100;
4425
- const REGULAR_THUMBNAIL = 200;
4424
+ const SMALL_THUMBNAIL = 40;
4425
+ const MEDIUM_THUMBNAIL = 100;
4426
+ const LARGE_THUMBNAIL = 200;
4426
4427
  function getThumbnailMeasure(size) {
4427
- if (size === "smallest")
4428
- return TINY_THUMBNAIL;
4429
- else if (size === "small")
4428
+ if (size === "small")
4430
4429
  return SMALL_THUMBNAIL;
4431
4430
  else if (size === "medium")
4432
- return REGULAR_THUMBNAIL;
4431
+ return MEDIUM_THUMBNAIL;
4432
+ else if (size === "large")
4433
+ return LARGE_THUMBNAIL;
4433
4434
  else throw Error("Thumbnail size not mapped");
4434
4435
  }
4435
4436
  function getPreviewSizeFrom(size) {
4436
4437
  switch (size) {
4437
4438
  case "xs":
4438
4439
  case "s":
4439
- return "smallest";
4440
- case "m":
4441
4440
  return "small";
4441
+ case "m":
4442
+ return "medium";
4442
4443
  case "l":
4443
4444
  case "xl":
4444
- return "medium";
4445
+ return "large";
4445
4446
  default:
4446
4447
  throw Error("Missing mapping value in getPreviewSizeFrom: " + size);
4447
4448
  }
@@ -5045,7 +5046,7 @@
5045
5046
  propertyConfigs: customizationController.propertyConfigs
5046
5047
  }), [collection]);
5047
5048
  const listProperties = React.useMemo(
5048
- () => getEntityPreviewKeys(resolvedCollection, customizationController.propertyConfigs, previewProperties, size === "small" || size === "medium" ? 3 : 1),
5049
+ () => getEntityPreviewKeys(resolvedCollection, customizationController.propertyConfigs, previewProperties, size === "medium" || size === "large" ? 3 : 1),
5049
5050
  [previewProperties, resolvedCollection, size]
5050
5051
  );
5051
5052
  const titleProperty = getEntityTitlePropertyKey(resolvedCollection, customizationController.propertyConfigs);
@@ -5059,13 +5060,13 @@
5059
5060
  hover: disabled ? void 0 : hover,
5060
5061
  size,
5061
5062
  children: [
5062
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: ui.cls("flex w-10 h-10 ml-1 mr-2 shrink-0", size === "smallest" ? "my-0.5" : "m-2 self-start"), children: [
5063
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: ui.cls("flex w-10 h-10 ml-1 mr-2 shrink-0", size === "small" ? "my-0.5" : "m-2 self-start"), children: [
5063
5064
  imageProperty && /* @__PURE__ */ jsxRuntime.jsx(
5064
5065
  PropertyPreview,
5065
5066
  {
5066
5067
  property: imageProperty,
5067
5068
  propertyKey: imagePropertyKey,
5068
- size: "smallest",
5069
+ size: "small",
5069
5070
  value: getValueInPath(entity.values, imagePropertyKey)
5070
5071
  }
5071
5072
  ),
@@ -5079,8 +5080,10 @@
5079
5080
  }
5080
5081
  )
5081
5082
  ] }),
5082
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col grow-1 w-full max-w-full m-1", children: [
5083
- size !== "smallest" && includeId && (entity ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${size !== "medium" ? "block whitespace-nowrap overflow-hidden truncate" : ""}`, children: /* @__PURE__ */ jsxRuntime.jsx(
5083
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col grow-1 w-full m-1 shrink-1", style: {
5084
+ "maxWidth": "calc(100% - 96px)"
5085
+ }, children: [
5086
+ size !== "small" && includeId && (entity ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "block whitespace-nowrap overflow-hidden truncate", children: /* @__PURE__ */ jsxRuntime.jsx(
5084
5087
  ui.Typography,
5085
5088
  {
5086
5089
  variant: "caption",
@@ -5089,19 +5092,19 @@
5089
5092
  children: entity.id
5090
5093
  }
5091
5094
  ) }) : /* @__PURE__ */ jsxRuntime.jsx(ui.Skeleton, {})),
5092
- titleProperty && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "my-0.5 text-sm font-medium", children: entity ? /* @__PURE__ */ jsxRuntime.jsx(
5095
+ titleProperty && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "my-0.5 text-sm font-large", children: entity ? /* @__PURE__ */ jsxRuntime.jsx(
5093
5096
  PropertyPreview,
5094
5097
  {
5095
5098
  propertyKey: titleProperty,
5096
5099
  value: getValueInPath(entity.values, titleProperty),
5097
5100
  property: resolvedCollection.properties[titleProperty],
5098
- size: "medium"
5101
+ size: "large"
5099
5102
  }
5100
5103
  ) : /* @__PURE__ */ jsxRuntime.jsx(
5101
5104
  SkeletonPropertyComponent,
5102
5105
  {
5103
5106
  property: resolvedCollection.properties[titleProperty],
5104
- size: "medium"
5107
+ size: "large"
5105
5108
  }
5106
5109
  ) }),
5107
5110
  restProperties && restProperties.map((key) => {
@@ -5117,13 +5120,13 @@
5117
5120
  propertyKey: key,
5118
5121
  value: getValueInPath(entity.values, key),
5119
5122
  property: childProperty,
5120
- size: "smallest"
5123
+ size: "small"
5121
5124
  }
5122
5125
  ) : /* @__PURE__ */ jsxRuntime.jsx(
5123
5126
  SkeletonPropertyComponent,
5124
5127
  {
5125
5128
  property: childProperty,
5126
- size: "smallest"
5129
+ size: "small"
5127
5130
  }
5128
5131
  )
5129
5132
  },
@@ -5131,12 +5134,12 @@
5131
5134
  );
5132
5135
  })
5133
5136
  ] }),
5134
- entity && includeEntityLink && /* @__PURE__ */ jsxRuntime.jsx(ui.Tooltip, { title: `See details for ${entity.id}`, children: /* @__PURE__ */ jsxRuntime.jsx(
5137
+ entity && includeEntityLink && /* @__PURE__ */ jsxRuntime.jsx(ui.Tooltip, { title: `See details for ${entity.id}`, className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
5135
5138
  ui.IconButton,
5136
5139
  {
5137
5140
  color: "inherit",
5138
- size: "small",
5139
- className: size !== "smallest" ? "self-start" : "",
5141
+ size: "medium",
5142
+ className: size !== "small" ? "self-start" : "",
5140
5143
  onClick: (e) => {
5141
5144
  e.stopPropagation();
5142
5145
  analyticsController.onAnalyticsEvent?.("entity_click_from_reference", {
@@ -5150,7 +5153,7 @@
5150
5153
  updateUrl: true
5151
5154
  });
5152
5155
  },
5153
- children: /* @__PURE__ */ jsxRuntime.jsx(ui.KeyboardTabIcon, { size: "small" })
5156
+ children: /* @__PURE__ */ jsxRuntime.jsx(ui.KeyboardTabIcon, { size: "medium" })
5154
5157
  }
5155
5158
  ) }),
5156
5159
  actions
@@ -5183,7 +5186,7 @@
5183
5186
  fullwidth ? "w-full" : "",
5184
5187
  "items-center",
5185
5188
  hover ? "hover:bg-surface-accent-50 dark:hover:bg-surface-800 group-hover:bg-surface-accent-50 dark:group-hover:bg-surface-800" : "",
5186
- size === "smallest" ? "p-1" : "px-2 py-1",
5189
+ size === "small" ? "p-1" : "px-2 py-1",
5187
5190
  "flex border rounded-lg",
5188
5191
  onClick ? "cursor-pointer" : "",
5189
5192
  ui.defaultBorderMixin,
@@ -5291,7 +5294,7 @@
5291
5294
  ReferencePreview,
5292
5295
  {
5293
5296
  onClick: disabled ? void 0 : handleOpen,
5294
- size: "smallest",
5297
+ size: "small",
5295
5298
  reference,
5296
5299
  hover: !disabled,
5297
5300
  disabled: !path,
@@ -6458,7 +6461,7 @@
6458
6461
  {
6459
6462
  value: size,
6460
6463
  className: "w-16 h-10",
6461
- size: "small",
6464
+ size: "medium",
6462
6465
  onValueChange: (v) => onSizeChanged(v),
6463
6466
  renderValue: (v) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-medium", children: v.toUpperCase() }),
6464
6467
  children: ["xs", "s", "m", "l", "xl"].map((size2) => /* @__PURE__ */ jsxRuntime.jsx(ui.SelectItem, { value: size2, className: "w-12 font-medium text-center", children: size2.toUpperCase() }, size2))
@@ -7573,6 +7576,7 @@
7573
7576
  ui.Select,
7574
7577
  {
7575
7578
  value: operation,
7579
+ size: "large",
7576
7580
  onValueChange: (value2) => {
7577
7581
  updateFilter(value2, internalValue);
7578
7582
  },
@@ -7891,6 +7895,7 @@
7891
7895
  ui.Select,
7892
7896
  {
7893
7897
  value: operation,
7898
+ size: "large",
7894
7899
  onValueChange: (value2) => {
7895
7900
  updateFilter(value2, internalValue);
7896
7901
  },
@@ -7903,7 +7908,7 @@
7903
7908
  ui.DateTimeField,
7904
7909
  {
7905
7910
  mode,
7906
- size: "medium",
7911
+ size: "large",
7907
7912
  locale,
7908
7913
  value: internalValue ?? void 0,
7909
7914
  onChange: (dateValue) => {
@@ -10044,6 +10049,7 @@
10044
10049
  enumValues && /* @__PURE__ */ jsxRuntime.jsx(
10045
10050
  ui.Select,
10046
10051
  {
10052
+ size: "large",
10047
10053
  error,
10048
10054
  onValueChange: (v) => onChange(v),
10049
10055
  ...fieldProps,
@@ -11648,7 +11654,7 @@
11648
11654
  ReferencePreview,
11649
11655
  {
11650
11656
  reference,
11651
- size: "smallest"
11657
+ size: "small"
11652
11658
  },
11653
11659
  reference.path + "/" + reference.id
11654
11660
  );
@@ -13597,7 +13603,7 @@
13597
13603
  url
13598
13604
  }) {
13599
13605
  const imageSize = React.useMemo(() => getThumbnailMeasure(size), [size]);
13600
- if (size === "smallest") {
13606
+ if (size === "small") {
13601
13607
  return /* @__PURE__ */ jsxRuntime.jsx(
13602
13608
  "img",
13603
13609
  {
@@ -13773,11 +13779,11 @@
13773
13779
  interactive
13774
13780
  }) {
13775
13781
  const imageSize = React.useMemo(() => {
13776
- if (size === "smallest")
13782
+ if (size === "small")
13777
13783
  return "140px";
13778
- else if (size === "small")
13779
- return "240px";
13780
13784
  else if (size === "medium")
13785
+ return "240px";
13786
+ else if (size === "large")
13781
13787
  return "100%";
13782
13788
  else throw new Error("Invalid size");
13783
13789
  }, [size]);
@@ -13859,16 +13865,16 @@
13859
13865
  if (!property.properties)
13860
13866
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {});
13861
13867
  let mapPropertyKeys;
13862
- if (size === "medium") {
13868
+ if (size === "large") {
13863
13869
  mapPropertyKeys = Object.keys(property.properties);
13864
13870
  } else {
13865
13871
  mapPropertyKeys = property.previewProperties || Object.keys(property.properties);
13866
- if (size === "small")
13872
+ if (size === "medium")
13867
13873
  mapPropertyKeys = mapPropertyKeys.slice(0, 3);
13868
- else if (size === "smallest")
13874
+ else if (size === "small")
13869
13875
  mapPropertyKeys = mapPropertyKeys.slice(0, 1);
13870
13876
  }
13871
- if (size !== "medium")
13877
+ if (size !== "large")
13872
13878
  return /* @__PURE__ */ jsxRuntime.jsx(
13873
13879
  "div",
13874
13880
  {
@@ -13877,7 +13883,7 @@
13877
13883
  SkeletonPropertyComponent,
13878
13884
  {
13879
13885
  property: property.properties[key],
13880
- size: "small"
13886
+ size: "medium"
13881
13887
  }
13882
13888
  ) }, `map_${key}`))
13883
13889
  }
@@ -13905,7 +13911,7 @@
13905
13911
  SkeletonPropertyComponent,
13906
13912
  {
13907
13913
  property: property.properties[key],
13908
- size: "small"
13914
+ size: "medium"
13909
13915
  }
13910
13916
  )
13911
13917
  },
@@ -13933,7 +13939,7 @@
13933
13939
  SkeletonPropertyComponent,
13934
13940
  {
13935
13941
  property: properties[key],
13936
- size: "small"
13942
+ size: "medium"
13937
13943
  }
13938
13944
  )
13939
13945
  },
@@ -13960,7 +13966,7 @@
13960
13966
  SkeletonPropertyComponent,
13961
13967
  {
13962
13968
  property,
13963
- size: "small"
13969
+ size: "medium"
13964
13970
  },
13965
13971
  `i_${index2}`
13966
13972
  ) })
@@ -13970,7 +13976,7 @@
13970
13976
  );
13971
13977
  }
13972
13978
  function renderSkeletonImageThumbnail(size) {
13973
- const imageSize = size === "smallest" ? 40 : size === "small" ? 100 : 200;
13979
+ const imageSize = size === "small" ? 40 : size === "medium" ? 100 : 200;
13974
13980
  return /* @__PURE__ */ jsxRuntime.jsx(
13975
13981
  ui.Skeleton,
13976
13982
  {
@@ -13982,7 +13988,7 @@
13982
13988
  function renderReference() {
13983
13989
  return /* @__PURE__ */ jsxRuntime.jsx(ui.Skeleton, { width: 200, height: 100 });
13984
13990
  }
13985
- function renderUrlComponent(property, size = "medium") {
13991
+ function renderUrlComponent(property, size = "large") {
13986
13992
  if (typeof property.url === "boolean") {
13987
13993
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: {
13988
13994
  display: "flex"
@@ -14135,10 +14141,10 @@
14135
14141
  } else {
14136
14142
  if (!value) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {});
14137
14143
  const lines = value.split("\n");
14138
- return value && value.includes("\n") ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: ui.cls("overflow-x-scroll", size === "smallest" ? "text-sm" : ""), children: lines.map((str, index) => /* @__PURE__ */ jsxRuntime.jsxs(React.Fragment, { children: [
14144
+ return value && value.includes("\n") ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: ui.cls("overflow-x-scroll", size === "small" ? "text-sm" : ""), children: lines.map((str, index) => /* @__PURE__ */ jsxRuntime.jsxs(React.Fragment, { children: [
14139
14145
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: str }),
14140
14146
  index !== lines.length - 1 && /* @__PURE__ */ jsxRuntime.jsx("br", {})
14141
- ] }, `string_preview_${index}`)) }) : size === "smallest" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm", children: value }) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: value });
14147
+ ] }, `string_preview_${index}`)) }) : size === "small" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm", children: value }) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: value });
14142
14148
  }
14143
14149
  }
14144
14150
  function ArrayPropertyPreview({
@@ -14161,7 +14167,7 @@
14161
14167
  throw Error("Picked wrong preview component ArrayPreview");
14162
14168
  const values = value;
14163
14169
  if (!values) return null;
14164
- const childSize = size === "medium" ? "small" : "smallest";
14170
+ const childSize = size === "medium" ? "medium" : "small";
14165
14171
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: values && values.map(
14166
14172
  (value2, index) => {
14167
14173
  const of = property.resolvedProperties[index] ?? (property.resolvedProperties[index] ?? (Array.isArray(property.of) ? property.of[index] : property.of));
@@ -14342,7 +14348,7 @@
14342
14348
  }
14343
14349
  if (property?.dataType !== "array" || !property.of || property.of.dataType !== "reference")
14344
14350
  throw Error("Picked wrong preview component ArrayOfReferencesPreview");
14345
- const childSize = size === "medium" ? "small" : "smallest";
14351
+ const childSize = size === "medium" ? "medium" : "small";
14346
14352
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col w-full", children: value && value.map(
14347
14353
  (reference, index) => {
14348
14354
  const ofProperty = property.of;
@@ -14385,7 +14391,7 @@
14385
14391
  }
14386
14392
  if (property.dataType !== "array" || !property.of || property.of.dataType !== "string")
14387
14393
  throw Error("Picked wrong preview component ArrayOfStorageComponentsPreview");
14388
- const childSize = size === "medium" ? "small" : "smallest";
14394
+ const childSize = size === "medium" ? "medium" : "small";
14389
14395
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-2", children: value && value.map(
14390
14396
  (v, index) => /* @__PURE__ */ jsxRuntime.jsx(ErrorBoundary, { children: /* @__PURE__ */ jsxRuntime.jsx(
14391
14397
  PropertyPreview,
@@ -14499,7 +14505,7 @@
14499
14505
  }
14500
14506
  const values = value;
14501
14507
  if (!values) return null;
14502
- const childSize = size === "medium" ? "small" : "smallest";
14508
+ const childSize = size === "medium" ? "medium" : "small";
14503
14509
  const typeField = property.oneOf.typeField ?? DEFAULT_ONE_OF_TYPE;
14504
14510
  const valueField = property.oneOf.valueField ?? DEFAULT_ONE_OF_VALUE;
14505
14511
  const properties = property.oneOf.properties;
@@ -14537,7 +14543,7 @@
14537
14543
  }
14538
14544
  if (!value) return null;
14539
14545
  const mapPropertyKeys = Object.keys(mapProperty.properties);
14540
- if (size === "smallest")
14546
+ if (size === "small")
14541
14547
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full flex flex-col space-y-1 md:space-y-2", children: mapPropertyKeys.map((key, index) => /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
14542
14548
  ErrorBoundary,
14543
14549
  {
@@ -14697,7 +14703,7 @@
14697
14703
  property.name && /* @__PURE__ */ jsxRuntime.jsx(
14698
14704
  "span",
14699
14705
  {
14700
- className: ui.cls("text-text-secondary dark:text-text-secondary-dark", size === "smallest" ? "text-sm" : ""),
14706
+ className: ui.cls("text-text-secondary dark:text-text-secondary-dark", size === "small" ? "text-sm" : ""),
14701
14707
  children: property.name
14702
14708
  }
14703
14709
  )
@@ -15063,7 +15069,7 @@
15063
15069
  touched,
15064
15070
  property,
15065
15071
  includeDescription,
15066
- size = "medium"
15072
+ size = "large"
15067
15073
  }) {
15068
15074
  const enumValues = resolveEnumValues(property.enumValues ?? []);
15069
15075
  useClearRestoreValue({
@@ -15080,9 +15086,9 @@
15080
15086
  /* @__PURE__ */ jsxRuntime.jsx(
15081
15087
  ui.Select,
15082
15088
  {
15083
- size: size === "medium" ? "medium" : "small",
15084
15089
  value: value !== void 0 && value != null ? value.toString() : "",
15085
15090
  disabled,
15091
+ size,
15086
15092
  position: "item-aligned",
15087
15093
  inputClassName: ui.cls("w-full"),
15088
15094
  label: /* @__PURE__ */ jsxRuntime.jsx(PropertyIdCopyTooltip, { propertyKey, children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -15835,7 +15841,7 @@
15835
15841
  autoFocus,
15836
15842
  property,
15837
15843
  includeDescription,
15838
- size = "medium"
15844
+ size = "large"
15839
15845
  }) {
15840
15846
  let multiline;
15841
15847
  let url;
@@ -16000,7 +16006,7 @@
16000
16006
  {
16001
16007
  value: internalValue,
16002
16008
  onChange: (dateValue) => setValue(dateValue),
16003
- size: "medium",
16009
+ size: "large",
16004
16010
  mode: property.mode,
16005
16011
  clearable: property.clearable,
16006
16012
  locale,
@@ -16744,7 +16750,7 @@
16744
16750
  placeholder: "value",
16745
16751
  value: entryValue2,
16746
16752
  type: dataType2 === "number" ? "number" : "text",
16747
- size: "small",
16753
+ size: "medium",
16748
16754
  disabled: disabled || !fieldKey2,
16749
16755
  onChange: (event) => {
16750
16756
  if (dataType2 === "number") {
@@ -16780,7 +16786,7 @@
16780
16786
  ui.DateTimeField,
16781
16787
  {
16782
16788
  value: entryValue2,
16783
- size: "small",
16789
+ size: "medium",
16784
16790
  locale,
16785
16791
  disabled: disabled || !fieldKey2,
16786
16792
  onChange: (date) => {
@@ -16796,7 +16802,7 @@
16796
16802
  ui.BooleanSwitchWithLabel,
16797
16803
  {
16798
16804
  value: entryValue2,
16799
- size: "small",
16805
+ size: "medium",
16800
16806
  position: "start",
16801
16807
  disabled: disabled || !fieldKey2,
16802
16808
  onValueChange: (newValue) => {
@@ -16900,7 +16906,7 @@
16900
16906
  value: fieldKey,
16901
16907
  placeholder: "key",
16902
16908
  disabled: disabled || entryValue !== void 0 && entryValue !== null && entryValue !== "",
16903
- size: "small",
16909
+ size: "medium",
16904
16910
  onChange: (event) => {
16905
16911
  onFieldKeyChange(event.target.value);
16906
16912
  }
@@ -16999,7 +17005,7 @@
16999
17005
  {
17000
17006
  value: entryValue,
17001
17007
  type: dataType === "number" ? "number" : "text",
17002
- size: "small",
17008
+ size: "medium",
17003
17009
  onChange: (event) => {
17004
17010
  if (dataType === "number") {
17005
17011
  const numberValue = event.target.value ? parseFloat(event.target.value) : void 0;
@@ -17021,7 +17027,7 @@
17021
17027
  ui.DateTimeField,
17022
17028
  {
17023
17029
  value: entryValue,
17024
- size: "small",
17030
+ size: "medium",
17025
17031
  locale,
17026
17032
  onChange: (date) => {
17027
17033
  setValue(date);
@@ -17431,7 +17437,7 @@
17431
17437
  children: "Type"
17432
17438
  }
17433
17439
  ),
17434
- size: "small",
17440
+ size: "medium",
17435
17441
  position: "item-aligned",
17436
17442
  value: value1,
17437
17443
  renderValue: (enumKey) => /* @__PURE__ */ jsxRuntime.jsx(