@rebasepro/ui 0.13.0 → 0.13.1-canary.g3660bd5

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 CHANGED
@@ -5521,10 +5521,10 @@ function Skeleton({ width, height, className }) {
5521
5521
  useInjectStyles("Skeleton", styles);
5522
5522
  return /* @__PURE__ */ jsx("span", {
5523
5523
  style: {
5524
- width: width ? `${width}px` : "100%",
5525
- height: height ? `${height}px` : "12px"
5524
+ width: width === void 0 ? void 0 : `${width}px`,
5525
+ height: height === void 0 ? void 0 : `${height}px`
5526
5526
  },
5527
- className: cls("block relative overflow-hidden", "bg-surface-accent-50 dark:bg-surface-accent-800 rounded-md", "max-w-full max-h-full", className),
5527
+ className: cls("block relative overflow-hidden", "bg-surface-accent-50 dark:bg-surface-accent-800 rounded-md", "max-w-full max-h-full", width === void 0 ? "w-full" : void 0, height === void 0 ? "h-3" : void 0, className),
5528
5528
  children: /* @__PURE__ */ jsx("span", {
5529
5529
  className: "absolute inset-0 bg-gradient-to-r from-transparent via-white/50 dark:via-white/8 to-transparent",
5530
5530
  style: { animation: "shimmer 1.8s ease-in-out infinite" }
@@ -6417,6 +6417,8 @@ function VirtualTableInput(props) {
6417
6417
  return /* @__PURE__ */ jsx(TextareaAutosize, {
6418
6418
  className: focusedDisabled,
6419
6419
  ref,
6420
+ disabled,
6421
+ readOnly: disabled,
6420
6422
  style: {
6421
6423
  padding: 0,
6422
6424
  margin: 0,
@@ -6508,6 +6510,8 @@ function VirtualTableDateField(props) {
6508
6510
  return /* @__PURE__ */ jsx(DateTimeField, {
6509
6511
  value: internalValue ?? void 0,
6510
6512
  onChange: (dateValue) => updateValue(dateValue ?? null),
6513
+ disabled,
6514
+ error: Boolean(error),
6511
6515
  invisible: true,
6512
6516
  size: small ? "small" : "medium",
6513
6517
  inputClassName: cls("w-full h-full", focusedDisabled),
@@ -8594,7 +8598,7 @@ function CollectionView({ dataController, properties, propertiesOrder, displayed
8594
8598
  case "kanban": return resolvedKanbanProperty ? /* @__PURE__ */ jsx(CollectionKanbanView, {
8595
8599
  ...sharedProps,
8596
8600
  kanbanProperty: resolvedKanbanProperty,
8597
- onRowCreate
8601
+ onRowCreate: canCreate ? onRowCreate : void 0
8598
8602
  }) : /* @__PURE__ */ jsx("div", {
8599
8603
  className: "flex items-center justify-center p-8",
8600
8604
  children: /* @__PURE__ */ jsx(Typography, {