@rebasepro/ui 0.15.0 → 0.15.1-canary.g869ace1

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.css CHANGED
@@ -37,28 +37,28 @@ html.dark {
37
37
  and holding 600 all the way down to text-sm made every heading shout equally
38
38
  — a heading stops being a headline somewhere, and the scale should say where.
39
39
 
40
- The ladder now spans three weights rather than two. 600 everywhere at the top
41
- meant a page title and the section heading inside it were the same voice at
42
- two sizes, so a screen had no clear first thing to read. 700 is the *display*
43
- tier only h1 and h2, page titles and stat numbers — and nothing in the UI
44
- chrome (nav, labels, buttons, table headers) goes above 600.
45
-
46
- This costs nothing on the wire: both faces are loaded as VARIABLE fonts
47
- (@fontsource-variable/inter, @fontsource-variable/instrument-sans), so the
48
- whole weight axis is already in the file that ships. The earlier "never above
49
- 600" rule was written when static weights meant every step was another
50
- download; that constraint no longer exists.
40
+ The ladder spans three weights 400/500/600 and 600 is the ceiling. No
41
+ tier goes to 700: the display end separates itself by SIZE and tracking, not
42
+ by weight, and a 30px 700 next to a 30px 500 elsewhere on the same product
43
+ reads as two different type systems rather than one ladder.
44
+
45
+ Both faces load as VARIABLE fonts (@fontsource-variable/inter,
46
+ @fontsource-variable/instrument-sans), so the whole axis ships either way
47
+ the 600 ceiling is a design decision, not a payload one.
51
48
 
52
49
  With a single face carrying both headings and body, weight and tracking are
53
50
  the only things separating a heading from the copy around it — so the tiers
54
51
  have to actually differ, rather than all sitting at 600. */
55
52
 
53
+ /* 500, not 700. This reverses the 2026-08 "700 for display" decision on
54
+ purpose: the marketing site and the panel were running different display
55
+ weights, which is the single most visible incoherence between them. */
56
56
  .typography-h1 {
57
- @apply text-4xl font-headers font-bold tracking-display;
57
+ @apply text-4xl font-headers font-medium tracking-display;
58
58
  }
59
59
 
60
60
  .typography-h2 {
61
- @apply text-3xl font-headers font-bold tracking-display;
61
+ @apply text-3xl font-headers font-medium tracking-display;
62
62
  }
63
63
 
64
64
  .typography-h3 {
@@ -144,10 +144,11 @@ html.dark {
144
144
  @apply font-mono tabular-nums;
145
145
  }
146
146
 
147
- /* The headline number on a stat tile. Display weight, display tracking, and
148
- tabular figures so a row of tiles shares a baseline grid. */
147
+ /* The headline number on a stat tile. Display tracking and tabular figures so a
148
+ row of tiles shares a baseline grid. Semibold, not bold: the number is
149
+ already the largest thing on the tile, and 600 is the system ceiling. */
149
150
  .typography-stat {
150
- @apply text-3xl font-headers font-bold tracking-display tabular-nums;
151
+ @apply text-3xl font-headers font-semibold tracking-display tabular-nums;
151
152
  }
152
153
 
153
154
  :focus-visible {
package/dist/index.es.js CHANGED
@@ -5095,7 +5095,7 @@ var SelectItem = React.memo(function SelectItem({ value, children, disabled, cla
5095
5095
  });
5096
5096
  var SelectGroup = React.memo(function SelectGroup({ label, children, className }) {
5097
5097
  return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SelectPrimitive.Group, {
5098
- className: cls("text-xs text-surface-accent-900 dark:text-white uppercase tracking-wider font-bold mt-6 first:mt-2", "px-2 py-2", className),
5098
+ className: cls("text-xs text-surface-accent-900 dark:text-white uppercase tracking-wider font-semibold mt-6 first:mt-2", "px-2 py-2", className),
5099
5099
  children: label
5100
5100
  }), children] });
5101
5101
  });
@@ -5186,7 +5186,7 @@ var Sheet = ({ children, side = "right", title, modal = true, includeBackgroundO
5186
5186
  onOpenAutoFocus: (event) => event.preventDefault(),
5187
5187
  onPointerDownOutside,
5188
5188
  onInteractOutside,
5189
- className: cls("outline-none", borderClass[side], defaultBorderMixin, "transform-gpu", "will-change-transform", "text-surface-accent-900 dark:text-white", "fixed transform z-50 transition-[transform,opacity] ease-in-out", !displayed ? "duration-150" : "duration-100", "outline-none focus:outline-none focus-visible:outline-none focus-visible:ring-0 focus:ring-0", transparent ? "" : "shadow-md bg-white dark:bg-surface-900", side === "top" || side === "bottom" ? "w-full" : "h-full", side === "left" || side === "top" ? "left-0 top-0" : "right-0 bottom-0", displayed && open ? "opacity-100" : "opacity-50", !displayed || !open ? transformValue[side] : "", className),
5189
+ className: cls("outline-none", borderClass[side], defaultBorderMixin, "text-surface-accent-900 dark:text-white", "fixed transform z-50 transition-[transform,opacity] ease-in-out", !displayed ? "duration-150" : "duration-100", "outline-none focus:outline-none focus-visible:outline-none focus-visible:ring-0 focus:ring-0", transparent ? "" : "shadow-md bg-white dark:bg-surface-900", side === "top" || side === "bottom" ? "w-full" : "h-full", side === "left" || side === "top" ? "left-0 top-0" : "right-0 bottom-0", displayed && open ? "opacity-100" : "opacity-50", !displayed || !open ? transformValue[side] : "", className),
5190
5190
  style,
5191
5191
  children: [/* @__PURE__ */ jsx(DialogPrimitive.Title, {
5192
5192
  className: "sr-only outline-none focus:outline-none focus-visible:outline-none focus-visible:ring-0 focus:ring-0",
@@ -5950,7 +5950,7 @@ var VirtualTableHeader = React.memo(function VirtualTableHeader({ resizeHandleRe
5950
5950
  ]
5951
5951
  })
5952
5952
  }), sort && sortPosition !== void 0 && /* @__PURE__ */ jsx("span", {
5953
- className: "flex-shrink-0 -ml-0.5 mr-0.5 text-[10px] font-bold leading-none tabular-nums text-text-secondary dark:text-text-secondary-dark",
5953
+ className: "flex-shrink-0 -ml-0.5 mr-0.5 text-[10px] font-semibold leading-none tabular-nums text-text-secondary dark:text-text-secondary-dark",
5954
5954
  "aria-hidden": true,
5955
5955
  children: sortPosition + 1
5956
5956
  })]