@rebasepro/app 0.19.1 → 0.19.2-canary.g09316f6

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
@@ -2673,7 +2673,7 @@ function ErrorView({ title, error, tooltip, onRetry }) {
2673
2673
  children: message
2674
2674
  }),
2675
2675
  errorCode && /* @__PURE__ */ jsx("span", {
2676
- className: "inline-block mt-1 px-1.5 py-0.5 text-[10px] font-mono rounded bg-surface-200 dark:bg-surface-700 text-text-secondary",
2676
+ className: "inline-block mt-1 px-1.5 py-0.5 text-[10px] font-mono rounded bg-surface-raised text-text-secondary",
2677
2677
  children: errorCode
2678
2678
  }),
2679
2679
  onRetry && /* @__PURE__ */ jsx("div", {
@@ -3475,11 +3475,11 @@ function createCacheKey(path, filters) {
3475
3475
  //#region src/components/common/table_height.tsx
3476
3476
  function getRowHeight(size) {
3477
3477
  switch (size) {
3478
- case "xl": return 400;
3479
- case "l": return 280;
3480
- case "m": return 140;
3481
- case "s": return 80;
3482
- case "xs": return 54;
3478
+ case "xl": return 160;
3479
+ case "l": return 96;
3480
+ case "m": return 48;
3481
+ case "s": return 42;
3482
+ case "xs": return 36;
3483
3483
  default: throw Error("Missing mapping for collection size -> height");
3484
3484
  }
3485
3485
  }
@@ -4290,7 +4290,7 @@ function UserSelectPopover({ selectedUser, onUserSelected, users, loading = fals
4290
4290
  align: "end",
4291
4291
  sideOffset: 4,
4292
4292
  trigger: /* @__PURE__ */ jsxs("button", {
4293
- className: cls("flex items-center gap-1.5 text-xs font-medium transition-colors rounded border border-transparent", "text-text-secondary dark:text-text-secondary-dark", "hover:text-text-primary dark:hover:text-text-primary-dark", "bg-surface-100 hover:bg-surface-200 dark:bg-surface-950 dark:hover:bg-surface-700", size === "small" ? "px-2 py-1" : "px-3 py-1.5", className),
4293
+ className: cls("flex items-center gap-1.5 text-xs font-medium transition-colors rounded border border-transparent", "text-text-secondary dark:text-text-secondary-dark", "hover:text-text-primary dark:hover:text-text-primary-dark", "bg-surface-raised hover:bg-surface-raised-hover", size === "small" ? "px-2 py-1" : "px-3 py-1.5", className),
4294
4294
  children: [
4295
4295
  selectedUser?.photoURL ? /* @__PURE__ */ jsx("img", {
4296
4296
  src: selectedUser.photoURL,
@@ -4414,7 +4414,7 @@ function UserSelectPopover({ selectedUser, onUserSelected, users, loading = fals
4414
4414
  function UserRow({ user, isSelected, isSelf, onClick }) {
4415
4415
  return /* @__PURE__ */ jsxs("button", {
4416
4416
  onClick,
4417
- className: cls("w-full flex items-center gap-2.5 px-3 py-2 text-left transition-colors", "hover:bg-surface-accent-100 dark:hover:bg-surface-accent-900", isSelected && "bg-primary/5 dark:bg-primary-dark/10"),
4417
+ className: cls("w-full flex items-center gap-2.5 px-3 py-2 text-left transition-colors", "hover:bg-surface-hover", isSelected && "bg-primary/5 dark:bg-primary-dark/10"),
4418
4418
  style: { minHeight: ITEM_HEIGHT },
4419
4419
  children: [
4420
4420
  user.photoURL ? /* @__PURE__ */ jsx("img", {
@@ -4422,7 +4422,7 @@ function UserRow({ user, isSelected, isSelf, onClick }) {
4422
4422
  alt: "",
4423
4423
  className: "w-7 h-7 rounded-full object-cover shrink-0"
4424
4424
  }) : /* @__PURE__ */ jsx("div", {
4425
- className: "w-7 h-7 rounded-full bg-surface-200 dark:bg-surface-700 flex items-center justify-center shrink-0",
4425
+ className: "w-7 h-7 rounded-full bg-surface-raised flex items-center justify-center shrink-0",
4426
4426
  children: /* @__PURE__ */ jsx(CircleUserIcon, {
4427
4427
  size: "smallest",
4428
4428
  className: "text-text-disabled dark:text-text-disabled-dark"
@@ -4483,7 +4483,7 @@ function UserDisplay({ user }) {
4483
4483
  });
4484
4484
  const avatarSizeClass = "w-6 h-6";
4485
4485
  return /* @__PURE__ */ jsxs("div", {
4486
- className: cls("inline-flex items-center gap-4 px-2 py-1 rounded-xl text-left max-w-full overflow-hidden", "bg-surface-accent-100 dark:bg-surface-accent-800", "border", defaultBorderMixin),
4486
+ className: cls("inline-flex items-center gap-4 px-2 py-1 rounded-xl text-left max-w-full overflow-hidden", "bg-surface-raised", "border", defaultBorderMixin),
4487
4487
  children: [user.photoURL ? /* @__PURE__ */ jsx("img", {
4488
4488
  src: user.photoURL,
4489
4489
  alt: user.displayName || user.email || "User",
@@ -4769,7 +4769,7 @@ function LoginView({ logo, authController, noUserComponent, disableSignupScreen
4769
4769
  else if (notAllowedError instanceof Error) notAllowedMessage = notAllowedError.message;
4770
4770
  else notAllowedMessage = "It looks like you don't have access, based on the specified access configuration";
4771
4771
  return /* @__PURE__ */ jsxs("div", {
4772
- className: cls("relative flex items-center justify-center h-screen w-screen p-4 transition-opacity duration-500 bg-surface-50 dark:bg-surface-900 overflow-hidden", fadeIn ? "opacity-100" : "opacity-0"),
4772
+ className: cls("relative flex items-center justify-center h-screen w-screen p-4 transition-opacity duration-500 bg-surface-frame overflow-hidden", fadeIn ? "opacity-100" : "opacity-0"),
4773
4773
  children: [/* @__PURE__ */ jsxs("div", {
4774
4774
  className: "absolute top-4 right-4 flex items-center gap-1 z-10",
4775
4775
  children: [/* @__PURE__ */ jsx(LanguageToggle, {}), /* @__PURE__ */ jsxs(Menu, {
@@ -4806,7 +4806,7 @@ function LoginView({ logo, authController, noUserComponent, disableSignupScreen
4806
4806
  ]
4807
4807
  })]
4808
4808
  }), /* @__PURE__ */ jsxs("div", {
4809
- className: "relative flex flex-col items-center w-[440px] max-w-full p-8 sm:p-10 bg-white/70 dark:bg-surface-800/70 backdrop-blur-xl border border-surface-200/50 dark:border-surface-700/50 rounded-2xl shadow-2xl z-10 transition-all duration-300 hover:shadow-primary-500/5",
4809
+ className: "relative flex flex-col items-center w-[440px] max-w-full p-8 sm:p-10 bg-surface-card/70 backdrop-blur-xl border border-hairline-strong rounded-2xl shadow-2xl z-10 transition-all duration-300 hover:shadow-primary-500/5",
4810
4810
  children: [
4811
4811
  /* @__PURE__ */ jsx("div", {
4812
4812
  className: "w-24 h-24 m-2 mb-4 drop-shadow-md",
@@ -5335,7 +5335,7 @@ function ForgotPasswordForm({ onClose, authController }) {
5335
5335
  })
5336
5336
  }),
5337
5337
  /* @__PURE__ */ jsxs("div", {
5338
- className: "text-center rounded-xl p-6 bg-surface-50 dark:bg-surface-900/60 dark:border dark:border-surface-700/50",
5338
+ className: "text-center rounded-xl p-6 bg-surface-raised",
5339
5339
  children: [
5340
5340
  /* @__PURE__ */ jsx("div", {
5341
5341
  className: "text-3xl mb-3",