kaleido-ui 0.1.80 → 0.1.81

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.
@@ -326,7 +326,7 @@
326
326
  --spacing-icon-sm: 14px;
327
327
  --spacing-icon-md: 16px;
328
328
  --spacing-icon-lg: 18px;
329
- --spacing-icon-nav: 22px;
329
+ --spacing-icon-nav: 1.6875rem;
330
330
  --spacing-icon-control: 34px;
331
331
 
332
332
  /* Border radius */
@@ -331,7 +331,8 @@ var iconBoxSize = {
331
331
  sm: "14px",
332
332
  md: "16px",
333
333
  lg: "18px",
334
- nav: "22px",
334
+ nav: "1.6875rem",
335
+ // 27px — bottom-nav icons; rem so side-panel font scaling applies
335
336
  control: "34px"
336
337
  };
337
338
 
@@ -231,7 +231,7 @@ declare const iconBoxSize: {
231
231
  readonly sm: "14px";
232
232
  readonly md: "16px";
233
233
  readonly lg: "18px";
234
- readonly nav: "22px";
234
+ readonly nav: "1.6875rem";
235
235
  readonly control: "34px";
236
236
  };
237
237
 
@@ -231,7 +231,7 @@ declare const iconBoxSize: {
231
231
  readonly sm: "14px";
232
232
  readonly md: "16px";
233
233
  readonly lg: "18px";
234
- readonly nav: "22px";
234
+ readonly nav: "1.6875rem";
235
235
  readonly control: "34px";
236
236
  };
237
237
 
@@ -283,7 +283,8 @@ var iconBoxSize = {
283
283
  sm: "14px",
284
284
  md: "16px",
285
285
  lg: "18px",
286
- nav: "22px",
286
+ nav: "1.6875rem",
287
+ // 27px — bottom-nav icons; rem so side-panel font scaling applies
287
288
  control: "34px"
288
289
  };
289
290
 
@@ -2826,7 +2826,7 @@ function SettingsTile({ icon, title, description, value, onClick }) {
2826
2826
  {
2827
2827
  type: "button",
2828
2828
  onClick,
2829
- className: "w-full rounded-2xl bg-card p-5 text-left transition-all duration-200 hover:bg-accent active:scale-[0.98]",
2829
+ className: "w-full rounded-2xl bg-card/70 p-5 text-left transition-all duration-200 hover:bg-accent active:scale-[0.98]",
2830
2830
  children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center justify-between gap-3", children: [
2831
2831
  /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [
2832
2832
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "flex size-10 shrink-0 items-center justify-center rounded-xl bg-muted", children: icon }),
@@ -3151,10 +3151,10 @@ function ExpandIcon({ expanded }) {
3151
3151
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { name: expanded ? "expand_less" : "expand_more", size: "md" });
3152
3152
  }
3153
3153
  var ACCOUNT_ACCENT_BG = {
3154
- RGB: "bg-gradient-to-br from-primary/[0.06] via-card to-primary/[0.10]",
3155
- SPARK: "bg-gradient-to-br from-info/[0.06] via-card to-info/[0.10]",
3156
- ARKADE: "bg-gradient-to-br from-network-arkade/[0.06] via-card to-network-arkade/[0.10]",
3157
- NOSTR: "bg-gradient-to-br from-network-arkade/[0.06] via-card to-network-arkade/[0.10]"
3154
+ RGB: "bg-gradient-to-br from-primary/[0.06] via-card/70 to-primary/[0.10]",
3155
+ SPARK: "bg-gradient-to-br from-info/[0.06] via-card/70 to-info/[0.10]",
3156
+ ARKADE: "bg-gradient-to-br from-network-arkade/[0.06] via-card/70 to-network-arkade/[0.10]",
3157
+ NOSTR: "bg-gradient-to-br from-network-arkade/[0.06] via-card/70 to-network-arkade/[0.10]"
3158
3158
  };
3159
3159
  function AccountSettingsRow({
3160
3160
  accountId,
@@ -5467,7 +5467,7 @@ function SettingItem({
5467
5467
  "div",
5468
5468
  {
5469
5469
  className: cn(
5470
- "p-5 rounded-2xl bg-card transition-all duration-200 group",
5470
+ "p-5 rounded-2xl bg-card/70 transition-all duration-200 group",
5471
5471
  isClickable && "cursor-pointer active:scale-[0.98]",
5472
5472
  className
5473
5473
  ),
@@ -5783,7 +5783,7 @@ function BottomSheet({
5783
5783
  "div",
5784
5784
  {
5785
5785
  className: cn(
5786
- "fixed inset-0 z-50 flex items-end justify-center bg-black/60 backdrop-blur-sm",
5786
+ "fixed inset-0 z-50 flex items-end justify-center bg-background/80 backdrop-blur-lg",
5787
5787
  className
5788
5788
  ),
5789
5789
  onClick: handleBackdropClick,
@@ -5791,7 +5791,7 @@ function BottomSheet({
5791
5791
  "div",
5792
5792
  {
5793
5793
  className: cn(
5794
- "max-h-[90vh] w-full overflow-y-auto rounded-t-2xl border-t border-border bg-background px-4 pb-6 pt-5 shadow-xl animate-in slide-in-from-bottom-4 duration-200",
5794
+ "max-h-[90vh] w-full overflow-y-auto rounded-t-2xl border-t border-border bg-card px-4 pb-6 pt-5 shadow-xl animate-in slide-in-from-bottom-4 duration-200",
5795
5795
  contentClassName
5796
5796
  ),
5797
5797
  children: [
@@ -6180,7 +6180,7 @@ function SettingsSectionCard({
6180
6180
  className,
6181
6181
  bodyClassName
6182
6182
  }) {
6183
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("section", { className: cn("space-y-4 rounded-xl bg-card p-4", className), children: [
6183
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("section", { className: cn("space-y-4 rounded-xl bg-card/70 p-4", className), children: [
6184
6184
  /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: "flex items-start justify-between gap-4", children: [
6185
6185
  /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: "min-w-0 flex-1", children: [
6186
6186
  /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("h2", { className: "text-sm font-bold text-foreground", children: title }),
@@ -7664,7 +7664,7 @@ function DepositNetworkDefaultModal({
7664
7664
  }) {
7665
7665
  if (!open) return null;
7666
7666
  const options = availableAccounts.map((id) => NETWORK_OPTIONS[id]).filter(Boolean);
7667
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "fixed inset-0 z-50 flex items-end justify-center bg-black/60 backdrop-blur-sm", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "w-full space-y-4 rounded-t-2xl border-t border-border bg-background px-4 pb-7 pt-5 animate-in slide-in-from-bottom-4 duration-200", children: [
7667
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "fixed inset-0 z-50 flex items-end justify-center bg-background/80 backdrop-blur-lg", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "w-full space-y-4 rounded-t-2xl border-t border-border bg-card px-4 pb-7 pt-5 animate-in slide-in-from-bottom-4 duration-200", children: [
7668
7668
  /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "-mt-1 mb-1 flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "h-1 w-10 rounded-full bg-white/15" }) }),
7669
7669
  /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { children: [
7670
7670
  /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("p", { className: "text-sm font-bold text-white", children: "Choose your default network" }),
package/dist/web/index.js CHANGED
@@ -2646,7 +2646,7 @@ function SettingsTile({ icon, title, description, value, onClick }) {
2646
2646
  {
2647
2647
  type: "button",
2648
2648
  onClick,
2649
- className: "w-full rounded-2xl bg-card p-5 text-left transition-all duration-200 hover:bg-accent active:scale-[0.98]",
2649
+ className: "w-full rounded-2xl bg-card/70 p-5 text-left transition-all duration-200 hover:bg-accent active:scale-[0.98]",
2650
2650
  children: /* @__PURE__ */ jsxs19("div", { className: "flex items-center justify-between gap-3", children: [
2651
2651
  /* @__PURE__ */ jsxs19("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [
2652
2652
  /* @__PURE__ */ jsx32("div", { className: "flex size-10 shrink-0 items-center justify-center rounded-xl bg-muted", children: icon }),
@@ -2971,10 +2971,10 @@ function ExpandIcon({ expanded }) {
2971
2971
  return /* @__PURE__ */ jsx33(Icon, { name: expanded ? "expand_less" : "expand_more", size: "md" });
2972
2972
  }
2973
2973
  var ACCOUNT_ACCENT_BG = {
2974
- RGB: "bg-gradient-to-br from-primary/[0.06] via-card to-primary/[0.10]",
2975
- SPARK: "bg-gradient-to-br from-info/[0.06] via-card to-info/[0.10]",
2976
- ARKADE: "bg-gradient-to-br from-network-arkade/[0.06] via-card to-network-arkade/[0.10]",
2977
- NOSTR: "bg-gradient-to-br from-network-arkade/[0.06] via-card to-network-arkade/[0.10]"
2974
+ RGB: "bg-gradient-to-br from-primary/[0.06] via-card/70 to-primary/[0.10]",
2975
+ SPARK: "bg-gradient-to-br from-info/[0.06] via-card/70 to-info/[0.10]",
2976
+ ARKADE: "bg-gradient-to-br from-network-arkade/[0.06] via-card/70 to-network-arkade/[0.10]",
2977
+ NOSTR: "bg-gradient-to-br from-network-arkade/[0.06] via-card/70 to-network-arkade/[0.10]"
2978
2978
  };
2979
2979
  function AccountSettingsRow({
2980
2980
  accountId,
@@ -5287,7 +5287,7 @@ function SettingItem({
5287
5287
  "div",
5288
5288
  {
5289
5289
  className: cn(
5290
- "p-5 rounded-2xl bg-card transition-all duration-200 group",
5290
+ "p-5 rounded-2xl bg-card/70 transition-all duration-200 group",
5291
5291
  isClickable && "cursor-pointer active:scale-[0.98]",
5292
5292
  className
5293
5293
  ),
@@ -5603,7 +5603,7 @@ function BottomSheet({
5603
5603
  "div",
5604
5604
  {
5605
5605
  className: cn(
5606
- "fixed inset-0 z-50 flex items-end justify-center bg-black/60 backdrop-blur-sm",
5606
+ "fixed inset-0 z-50 flex items-end justify-center bg-background/80 backdrop-blur-lg",
5607
5607
  className
5608
5608
  ),
5609
5609
  onClick: handleBackdropClick,
@@ -5611,7 +5611,7 @@ function BottomSheet({
5611
5611
  "div",
5612
5612
  {
5613
5613
  className: cn(
5614
- "max-h-[90vh] w-full overflow-y-auto rounded-t-2xl border-t border-border bg-background px-4 pb-6 pt-5 shadow-xl animate-in slide-in-from-bottom-4 duration-200",
5614
+ "max-h-[90vh] w-full overflow-y-auto rounded-t-2xl border-t border-border bg-card px-4 pb-6 pt-5 shadow-xl animate-in slide-in-from-bottom-4 duration-200",
5615
5615
  contentClassName
5616
5616
  ),
5617
5617
  children: [
@@ -6000,7 +6000,7 @@ function SettingsSectionCard({
6000
6000
  className,
6001
6001
  bodyClassName
6002
6002
  }) {
6003
- return /* @__PURE__ */ jsxs56("section", { className: cn("space-y-4 rounded-xl bg-card p-4", className), children: [
6003
+ return /* @__PURE__ */ jsxs56("section", { className: cn("space-y-4 rounded-xl bg-card/70 p-4", className), children: [
6004
6004
  /* @__PURE__ */ jsxs56("div", { className: "flex items-start justify-between gap-4", children: [
6005
6005
  /* @__PURE__ */ jsxs56("div", { className: "min-w-0 flex-1", children: [
6006
6006
  /* @__PURE__ */ jsx70("h2", { className: "text-sm font-bold text-foreground", children: title }),
@@ -7484,7 +7484,7 @@ function DepositNetworkDefaultModal({
7484
7484
  }) {
7485
7485
  if (!open) return null;
7486
7486
  const options = availableAccounts.map((id) => NETWORK_OPTIONS[id]).filter(Boolean);
7487
- return /* @__PURE__ */ jsx76("div", { className: "fixed inset-0 z-50 flex items-end justify-center bg-black/60 backdrop-blur-sm", children: /* @__PURE__ */ jsxs62("div", { className: "w-full space-y-4 rounded-t-2xl border-t border-border bg-background px-4 pb-7 pt-5 animate-in slide-in-from-bottom-4 duration-200", children: [
7487
+ return /* @__PURE__ */ jsx76("div", { className: "fixed inset-0 z-50 flex items-end justify-center bg-background/80 backdrop-blur-lg", children: /* @__PURE__ */ jsxs62("div", { className: "w-full space-y-4 rounded-t-2xl border-t border-border bg-card px-4 pb-7 pt-5 animate-in slide-in-from-bottom-4 duration-200", children: [
7488
7488
  /* @__PURE__ */ jsx76("div", { className: "-mt-1 mb-1 flex justify-center", children: /* @__PURE__ */ jsx76("div", { className: "h-1 w-10 rounded-full bg-white/15" }) }),
7489
7489
  /* @__PURE__ */ jsxs62("div", { children: [
7490
7490
  /* @__PURE__ */ jsx76("p", { className: "text-sm font-bold text-white", children: "Choose your default network" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaleido-ui",
3
- "version": "0.1.80",
3
+ "version": "0.1.81",
4
4
  "description": "KaleidoSwap shared UI library — design tokens, web components (Tailwind + Radix), and React Native components extending WDK UI Kit",
5
5
  "license": "MIT",
6
6
  "type": "module",