@designa8/vibedesign-openai-internal-v1-2-176b 0.1.2 → 0.1.4

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @designa8/vibedesign-openai-internal-v1-2-176b
2
2
 
3
- Complete design system generated by Atoms Design, version **0.1.2**.
3
+ Complete design system generated by Atoms Design, version **0.1.4**.
4
4
  Tokens, atoms, molecules, organisms, and templates — import from the package root;
5
5
  never hardcode visual values in consumer code.
6
6
 
package/dist/index.cjs CHANGED
@@ -444,7 +444,7 @@ var AccordionItemMobile = React3.forwardRef(
444
444
  ),
445
445
  children: [
446
446
  leading ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "inline-flex shrink-0 items-center self-start pt-xxs", children: leading }) : null,
447
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "min-w-0 flex-1 font-weight-heading-sm", children: title }),
447
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "min-w-0 flex-1 [font-weight:var(--font-weight-heading-sm)]", children: title }),
448
448
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
449
449
  Icon,
450
450
  {
@@ -2682,7 +2682,7 @@ function Comment({
2682
2682
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-start justify-between gap-sm", children: [
2683
2683
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex min-w-0 flex-col", children: [
2684
2684
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex flex-wrap items-baseline gap-sm", children: [
2685
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-body-md font-weight-heading-sm text-ink", children: c.author }),
2685
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-body-md [font-weight:var(--font-weight-heading-sm)] text-ink", children: c.author }),
2686
2686
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("time", { className: "text-caption text-muted", children: c.time })
2687
2687
  ] }),
2688
2688
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "text-body-md text-body", children: c.body })
@@ -3726,7 +3726,7 @@ function DataTableMobileInner(props, ref) {
3726
3726
  ] }) : null,
3727
3727
  isEmpty ? /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex w-full flex-col items-center gap-xs rounded-lg border border-hairline bg-surface px-base py-xl text-center", children: [
3728
3728
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "mb-sm flex size-10 items-center justify-center rounded-md border border-hairline bg-canvas shadow-sm", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Icon, { name: emptyState.icon ?? "file", size: 18 }) }),
3729
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("h3", { className: "text-body-lg font-weight-heading-sm text-ink", children: emptyState.title }),
3729
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("h3", { className: "text-body-lg [font-weight:var(--font-weight-heading-sm)] text-ink", children: emptyState.title }),
3730
3730
  emptyState.description ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("p", { className: "text-body-sm text-muted", children: emptyState.description }) : null,
3731
3731
  emptyState.linkLabel ? /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(Link, { href: emptyState.linkHref ?? "#", size: "sm", children: [
3732
3732
  emptyState.linkLabel,
@@ -5372,7 +5372,7 @@ var FormMobile = React48.forwardRef(
5372
5372
  ...props,
5373
5373
  children: [
5374
5374
  /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("section", { "aria-labelledby": `${id}-server`, className: "flex flex-col gap-md", children: [
5375
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("h2", { id: `${id}-server`, className: "text-body-lg font-weight-heading-sm text-ink", children: "MCP Server" }),
5375
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("h2", { id: `${id}-server`, className: "text-body-lg [font-weight:var(--font-weight-heading-sm)] text-ink", children: "MCP Server" }),
5376
5376
  /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5377
5377
  FormField,
5378
5378
  {
@@ -5420,7 +5420,7 @@ var FormMobile = React48.forwardRef(
5420
5420
  ] }),
5421
5421
  /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "h-px w-full bg-hairline", "aria-hidden": "true" }),
5422
5422
  /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("section", { "aria-labelledby": `${id}-domain`, className: "flex flex-col gap-md", "aria-live": "polite", children: [
5423
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("h2", { id: `${id}-domain`, className: "text-body-lg font-weight-heading-sm text-ink", children: "Domain verification" }),
5423
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("h2", { id: `${id}-domain`, className: "text-body-lg [font-weight:var(--font-weight-heading-sm)] text-ink", children: "Domain verification" }),
5424
5424
  domain === "idle" ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { variant: "soft", size: "lg", onClick: verify, children: "Verify Domain" }) }) : null,
5425
5425
  domain === "pending" || domain === "verified" ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
5426
5426
  /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CopyField, { id: `${id}-token`, label: "Verification token", value: verificationToken }),
@@ -6660,7 +6660,7 @@ var NavigationMenuDesktop = React59.forwardRef(
6660
6660
  label: entry.label,
6661
6661
  onClose: close,
6662
6662
  children: entry.columns?.length ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "grid grid-cols-3 divide-x divide-hairline", children: entry.columns.map((col, ci) => /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: cn52("flex flex-col gap-sm", ci === 0 ? "pr-base" : "px-base"), children: [
6663
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "px-sm text-body-md font-weight-heading-sm text-ink", children: col.title }),
6663
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "px-sm text-body-md [font-weight:var(--font-weight-heading-sm)] text-ink", children: col.title }),
6664
6664
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "flex flex-col gap-xxs", children: col.links.map((l) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6665
6665
  MenuLinkDesktop,
6666
6666
  {
@@ -7634,7 +7634,7 @@ var Rating = React68.forwardRef(
7634
7634
  const shown = !readOnly && hover != null ? hover : value;
7635
7635
  const stars = Array.from({ length: max }, (_, i) => i + 1);
7636
7636
  const meta = showValue || count != null ? /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { className: "inline-flex items-baseline gap-xs text-body-md", children: [
7637
- showValue ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "text-ink font-weight-heading-sm", children: value.toFixed(2) }) : null,
7637
+ showValue ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "text-ink [font-weight:var(--font-weight-heading-sm)]", children: value.toFixed(2) }) : null,
7638
7638
  count != null ? /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { className: "text-muted", children: [
7639
7639
  "(",
7640
7640
  count.toLocaleString("en-US"),
@@ -7953,6 +7953,7 @@ var SidebarDesktop = React72.forwardRef(
7953
7953
  folded: foldedProp,
7954
7954
  defaultFolded = false,
7955
7955
  onFoldedChange,
7956
+ surface = "card",
7956
7957
  className,
7957
7958
  ...props
7958
7959
  }, ref) => {
@@ -7974,9 +7975,11 @@ var SidebarDesktop = React72.forwardRef(
7974
7975
  {
7975
7976
  ref,
7976
7977
  "data-state": folded ? "folded" : "unfolded",
7978
+ "data-surface": surface,
7977
7979
  "aria-label": "Sidebar",
7978
7980
  className: cn64(
7979
- "flex h-full shrink-0 flex-col overflow-hidden rounded-lg border border-hairline bg-canvas text-ink",
7981
+ "flex h-full shrink-0 flex-col overflow-hidden bg-canvas text-ink",
7982
+ surface === "card" ? "rounded-lg border border-hairline" : "border-r border-hairline",
7980
7983
  "transition-[width] duration-200 ease-out",
7981
7984
  folded ? "w-16" : "w-64",
7982
7985
  className
@@ -8692,7 +8695,7 @@ function Attribution({ t }) {
8692
8695
  return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("figcaption", { className: "flex items-center gap-md", children: [
8693
8696
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Avatar, { src: t.avatarSrc, name: t.name, size: "lg" }),
8694
8697
  /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("span", { className: "flex min-w-0 flex-col", children: [
8695
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "text-body-md font-weight-heading-sm text-ink", children: t.name }),
8698
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "text-body-md [font-weight:var(--font-weight-heading-sm)] text-ink", children: t.name }),
8696
8699
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "text-body-sm text-muted", children: t.role })
8697
8700
  ] })
8698
8701
  ] });
@@ -8751,7 +8754,7 @@ var TestimonialBlock = React78.forwardRef(
8751
8754
  {
8752
8755
  className: cn69(
8753
8756
  "whitespace-nowrap",
8754
- logo.icon ? "text-heading-sm font-weight-heading-sm" : "text-heading-md tracking-heading-md"
8757
+ logo.icon ? "text-heading-sm [font-weight:var(--font-weight-heading-sm)]" : "text-heading-md tracking-heading-md"
8755
8758
  ),
8756
8759
  children: logo.name
8757
8760
  }
@@ -9178,7 +9181,7 @@ var Wizard = React82.forwardRef(
9178
9181
  {
9179
9182
  className: cn73(
9180
9183
  "truncate px-xxs text-body-sm transition-colors duration-200 ease-out",
9181
- active ? "font-weight-heading-sm text-ink" : "text-muted"
9184
+ active ? "[font-weight:var(--font-weight-heading-sm)] text-ink" : "text-muted"
9182
9185
  ),
9183
9186
  children: [
9184
9187
  s.label,
package/dist/index.js CHANGED
@@ -319,7 +319,7 @@ var AccordionItemMobile = React3.forwardRef(
319
319
  ),
320
320
  children: [
321
321
  leading ? /* @__PURE__ */ jsx3("span", { className: "inline-flex shrink-0 items-center self-start pt-xxs", children: leading }) : null,
322
- /* @__PURE__ */ jsx3("span", { className: "min-w-0 flex-1 font-weight-heading-sm", children: title }),
322
+ /* @__PURE__ */ jsx3("span", { className: "min-w-0 flex-1 [font-weight:var(--font-weight-heading-sm)]", children: title }),
323
323
  /* @__PURE__ */ jsx3(
324
324
  Icon,
325
325
  {
@@ -2557,7 +2557,7 @@ function Comment({
2557
2557
  /* @__PURE__ */ jsxs25("div", { className: "flex items-start justify-between gap-sm", children: [
2558
2558
  /* @__PURE__ */ jsxs25("div", { className: "flex min-w-0 flex-col", children: [
2559
2559
  /* @__PURE__ */ jsxs25("div", { className: "flex flex-wrap items-baseline gap-sm", children: [
2560
- /* @__PURE__ */ jsx28("span", { className: "text-body-md font-weight-heading-sm text-ink", children: c.author }),
2560
+ /* @__PURE__ */ jsx28("span", { className: "text-body-md [font-weight:var(--font-weight-heading-sm)] text-ink", children: c.author }),
2561
2561
  /* @__PURE__ */ jsx28("time", { className: "text-caption text-muted", children: c.time })
2562
2562
  ] }),
2563
2563
  /* @__PURE__ */ jsx28("p", { className: "text-body-md text-body", children: c.body })
@@ -3601,7 +3601,7 @@ function DataTableMobileInner(props, ref) {
3601
3601
  ] }) : null,
3602
3602
  isEmpty ? /* @__PURE__ */ jsxs32("div", { className: "flex w-full flex-col items-center gap-xs rounded-lg border border-hairline bg-surface px-base py-xl text-center", children: [
3603
3603
  /* @__PURE__ */ jsx36("span", { className: "mb-sm flex size-10 items-center justify-center rounded-md border border-hairline bg-canvas shadow-sm", children: /* @__PURE__ */ jsx36(Icon, { name: emptyState.icon ?? "file", size: 18 }) }),
3604
- /* @__PURE__ */ jsx36("h3", { className: "text-body-lg font-weight-heading-sm text-ink", children: emptyState.title }),
3604
+ /* @__PURE__ */ jsx36("h3", { className: "text-body-lg [font-weight:var(--font-weight-heading-sm)] text-ink", children: emptyState.title }),
3605
3605
  emptyState.description ? /* @__PURE__ */ jsx36("p", { className: "text-body-sm text-muted", children: emptyState.description }) : null,
3606
3606
  emptyState.linkLabel ? /* @__PURE__ */ jsxs32(Link, { href: emptyState.linkHref ?? "#", size: "sm", children: [
3607
3607
  emptyState.linkLabel,
@@ -5247,7 +5247,7 @@ var FormMobile = React48.forwardRef(
5247
5247
  ...props,
5248
5248
  children: [
5249
5249
  /* @__PURE__ */ jsxs44("section", { "aria-labelledby": `${id}-server`, className: "flex flex-col gap-md", children: [
5250
- /* @__PURE__ */ jsx48("h2", { id: `${id}-server`, className: "text-body-lg font-weight-heading-sm text-ink", children: "MCP Server" }),
5250
+ /* @__PURE__ */ jsx48("h2", { id: `${id}-server`, className: "text-body-lg [font-weight:var(--font-weight-heading-sm)] text-ink", children: "MCP Server" }),
5251
5251
  /* @__PURE__ */ jsx48(
5252
5252
  FormField,
5253
5253
  {
@@ -5295,7 +5295,7 @@ var FormMobile = React48.forwardRef(
5295
5295
  ] }),
5296
5296
  /* @__PURE__ */ jsx48("div", { className: "h-px w-full bg-hairline", "aria-hidden": "true" }),
5297
5297
  /* @__PURE__ */ jsxs44("section", { "aria-labelledby": `${id}-domain`, className: "flex flex-col gap-md", "aria-live": "polite", children: [
5298
- /* @__PURE__ */ jsx48("h2", { id: `${id}-domain`, className: "text-body-lg font-weight-heading-sm text-ink", children: "Domain verification" }),
5298
+ /* @__PURE__ */ jsx48("h2", { id: `${id}-domain`, className: "text-body-lg [font-weight:var(--font-weight-heading-sm)] text-ink", children: "Domain verification" }),
5299
5299
  domain === "idle" ? /* @__PURE__ */ jsx48("div", { children: /* @__PURE__ */ jsx48(Button, { variant: "soft", size: "lg", onClick: verify, children: "Verify Domain" }) }) : null,
5300
5300
  domain === "pending" || domain === "verified" ? /* @__PURE__ */ jsxs44(Fragment5, { children: [
5301
5301
  /* @__PURE__ */ jsx48(CopyField, { id: `${id}-token`, label: "Verification token", value: verificationToken }),
@@ -6535,7 +6535,7 @@ var NavigationMenuDesktop = React59.forwardRef(
6535
6535
  label: entry.label,
6536
6536
  onClose: close,
6537
6537
  children: entry.columns?.length ? /* @__PURE__ */ jsx59("div", { className: "grid grid-cols-3 divide-x divide-hairline", children: entry.columns.map((col, ci) => /* @__PURE__ */ jsxs55("div", { className: cn52("flex flex-col gap-sm", ci === 0 ? "pr-base" : "px-base"), children: [
6538
- /* @__PURE__ */ jsx59("span", { className: "px-sm text-body-md font-weight-heading-sm text-ink", children: col.title }),
6538
+ /* @__PURE__ */ jsx59("span", { className: "px-sm text-body-md [font-weight:var(--font-weight-heading-sm)] text-ink", children: col.title }),
6539
6539
  /* @__PURE__ */ jsx59("div", { className: "flex flex-col gap-xxs", children: col.links.map((l) => /* @__PURE__ */ jsx59(
6540
6540
  MenuLinkDesktop,
6541
6541
  {
@@ -7509,7 +7509,7 @@ var Rating = React68.forwardRef(
7509
7509
  const shown = !readOnly && hover != null ? hover : value;
7510
7510
  const stars = Array.from({ length: max }, (_, i) => i + 1);
7511
7511
  const meta = showValue || count != null ? /* @__PURE__ */ jsxs64("span", { className: "inline-flex items-baseline gap-xs text-body-md", children: [
7512
- showValue ? /* @__PURE__ */ jsx68("span", { className: "text-ink font-weight-heading-sm", children: value.toFixed(2) }) : null,
7512
+ showValue ? /* @__PURE__ */ jsx68("span", { className: "text-ink [font-weight:var(--font-weight-heading-sm)]", children: value.toFixed(2) }) : null,
7513
7513
  count != null ? /* @__PURE__ */ jsxs64("span", { className: "text-muted", children: [
7514
7514
  "(",
7515
7515
  count.toLocaleString("en-US"),
@@ -7828,6 +7828,7 @@ var SidebarDesktop = React72.forwardRef(
7828
7828
  folded: foldedProp,
7829
7829
  defaultFolded = false,
7830
7830
  onFoldedChange,
7831
+ surface = "card",
7831
7832
  className,
7832
7833
  ...props
7833
7834
  }, ref) => {
@@ -7849,9 +7850,11 @@ var SidebarDesktop = React72.forwardRef(
7849
7850
  {
7850
7851
  ref,
7851
7852
  "data-state": folded ? "folded" : "unfolded",
7853
+ "data-surface": surface,
7852
7854
  "aria-label": "Sidebar",
7853
7855
  className: cn64(
7854
- "flex h-full shrink-0 flex-col overflow-hidden rounded-lg border border-hairline bg-canvas text-ink",
7856
+ "flex h-full shrink-0 flex-col overflow-hidden bg-canvas text-ink",
7857
+ surface === "card" ? "rounded-lg border border-hairline" : "border-r border-hairline",
7855
7858
  "transition-[width] duration-200 ease-out",
7856
7859
  folded ? "w-16" : "w-64",
7857
7860
  className
@@ -8567,7 +8570,7 @@ function Attribution({ t }) {
8567
8570
  return /* @__PURE__ */ jsxs73("figcaption", { className: "flex items-center gap-md", children: [
8568
8571
  /* @__PURE__ */ jsx78(Avatar, { src: t.avatarSrc, name: t.name, size: "lg" }),
8569
8572
  /* @__PURE__ */ jsxs73("span", { className: "flex min-w-0 flex-col", children: [
8570
- /* @__PURE__ */ jsx78("span", { className: "text-body-md font-weight-heading-sm text-ink", children: t.name }),
8573
+ /* @__PURE__ */ jsx78("span", { className: "text-body-md [font-weight:var(--font-weight-heading-sm)] text-ink", children: t.name }),
8571
8574
  /* @__PURE__ */ jsx78("span", { className: "text-body-sm text-muted", children: t.role })
8572
8575
  ] })
8573
8576
  ] });
@@ -8626,7 +8629,7 @@ var TestimonialBlock = React78.forwardRef(
8626
8629
  {
8627
8630
  className: cn69(
8628
8631
  "whitespace-nowrap",
8629
- logo.icon ? "text-heading-sm font-weight-heading-sm" : "text-heading-md tracking-heading-md"
8632
+ logo.icon ? "text-heading-sm [font-weight:var(--font-weight-heading-sm)]" : "text-heading-md tracking-heading-md"
8630
8633
  ),
8631
8634
  children: logo.name
8632
8635
  }
@@ -9053,7 +9056,7 @@ var Wizard = React82.forwardRef(
9053
9056
  {
9054
9057
  className: cn73(
9055
9058
  "truncate px-xxs text-body-sm transition-colors duration-200 ease-out",
9056
- active ? "font-weight-heading-sm text-ink" : "text-muted"
9059
+ active ? "[font-weight:var(--font-weight-heading-sm)] text-ink" : "text-muted"
9057
9060
  ),
9058
9061
  children: [
9059
9062
  s.label,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designa8/vibedesign-openai-internal-v1-2-176b",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Complete design system \"My Project openai-internal-v1\" generated by Atoms Design.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -81,7 +81,7 @@ export const AccordionItemMobile = React.forwardRef<HTMLDivElement, AccordionIte
81
81
  )}
82
82
  >
83
83
  {leading ? <span className="inline-flex shrink-0 items-center self-start pt-xxs">{leading}</span> : null}
84
- <span className="min-w-0 flex-1 font-weight-heading-sm">{title}</span>
84
+ <span className="min-w-0 flex-1 [font-weight:var(--font-weight-heading-sm)]">{title}</span>
85
85
  <Icon
86
86
  name="chevron-down"
87
87
  size={18}
@@ -65,7 +65,7 @@ function Comment({
65
65
  <div className="flex items-start justify-between gap-sm">
66
66
  <div className="flex min-w-0 flex-col">
67
67
  <div className="flex flex-wrap items-baseline gap-sm">
68
- <span className="text-body-md font-weight-heading-sm text-ink">{c.author}</span>
68
+ <span className="text-body-md [font-weight:var(--font-weight-heading-sm)] text-ink">{c.author}</span>
69
69
  <time className="text-caption text-muted">{c.time}</time>
70
70
  </div>
71
71
  <p className="text-body-md text-body">{c.body}</p>
@@ -117,7 +117,7 @@ function DataTableMobileInner<Row extends { id: string }>(
117
117
  <span className="mb-sm flex size-10 items-center justify-center rounded-md border border-hairline bg-canvas shadow-sm">
118
118
  <Icon name={emptyState.icon ?? "file"} size={18} />
119
119
  </span>
120
- <h3 className="text-body-lg font-weight-heading-sm text-ink">{emptyState.title}</h3>
120
+ <h3 className="text-body-lg [font-weight:var(--font-weight-heading-sm)] text-ink">{emptyState.title}</h3>
121
121
  {emptyState.description ? <p className="text-body-sm text-muted">{emptyState.description}</p> : null}
122
122
  {emptyState.linkLabel ? (
123
123
  <Link href={emptyState.linkHref ?? "#"} size="sm">{emptyState.linkLabel} →</Link>
@@ -96,7 +96,7 @@ export const FormMobile = React.forwardRef<HTMLFormElement, FormMobileProps>(
96
96
  {...props}
97
97
  >
98
98
  <section aria-labelledby={`${id}-server`} className="flex flex-col gap-md">
99
- <h2 id={`${id}-server`} className="text-body-lg font-weight-heading-sm text-ink">MCP Server</h2>
99
+ <h2 id={`${id}-server`} className="text-body-lg [font-weight:var(--font-weight-heading-sm)] text-ink">MCP Server</h2>
100
100
  <FormField
101
101
  id={`${id}-url`}
102
102
  label="MCP Server URL"
@@ -141,7 +141,7 @@ export const FormMobile = React.forwardRef<HTMLFormElement, FormMobileProps>(
141
141
  <div className="h-px w-full bg-hairline" aria-hidden="true" />
142
142
 
143
143
  <section aria-labelledby={`${id}-domain`} className="flex flex-col gap-md" aria-live="polite">
144
- <h2 id={`${id}-domain`} className="text-body-lg font-weight-heading-sm text-ink">Domain verification</h2>
144
+ <h2 id={`${id}-domain`} className="text-body-lg [font-weight:var(--font-weight-heading-sm)] text-ink">Domain verification</h2>
145
145
  {domain === "idle" ? (
146
146
  <div>
147
147
  <Button variant="soft" size="lg" onClick={verify}>
@@ -329,7 +329,7 @@ export const NavigationMenuDesktop = React.forwardRef<HTMLElement, NavigationMen
329
329
  <div className="grid grid-cols-3 divide-x divide-hairline">
330
330
  {entry.columns.map((col, ci) => (
331
331
  <div key={col.title} className={cn("flex flex-col gap-sm", ci === 0 ? "pr-base" : "px-base")}>
332
- <span className="px-sm text-body-md font-weight-heading-sm text-ink">{col.title}</span>
332
+ <span className="px-sm text-body-md [font-weight:var(--font-weight-heading-sm)] text-ink">{col.title}</span>
333
333
  <div className="flex flex-col gap-xxs">
334
334
  {col.links.map((l) => (
335
335
  <MenuLinkDesktop
@@ -74,7 +74,7 @@ export const Rating = React.forwardRef<HTMLDivElement, RatingProps>(
74
74
  const meta =
75
75
  showValue || count != null ? (
76
76
  <span className="inline-flex items-baseline gap-xs text-body-md">
77
- {showValue ? <span className="text-ink font-weight-heading-sm">{value.toFixed(2)}</span> : null}
77
+ {showValue ? <span className="text-ink [font-weight:var(--font-weight-heading-sm)]">{value.toFixed(2)}</span> : null}
78
78
  {count != null ? <span className="text-muted">({count.toLocaleString("en-US")})</span> : null}
79
79
  </span>
80
80
  ) : null;
@@ -29,6 +29,13 @@ export interface SidebarPromo {
29
29
  icon?: IconName;
30
30
  }
31
31
 
32
+ /**
33
+ * `card` — today's floating panel: rounded corners and a full four-sided border.
34
+ * `flat` — an app-shell rail: square corners and a single right hairline divider,
35
+ * so it sits flush against the page edge at full viewport height.
36
+ */
37
+ export type SidebarSurface = "card" | "flat";
38
+
32
39
  export interface SidebarDesktopProps extends React.HTMLAttributes<HTMLElement> {
33
40
  brandName?: string;
34
41
  brandHref?: string;
@@ -52,6 +59,8 @@ export interface SidebarDesktopProps extends React.HTMLAttributes<HTMLElement> {
52
59
  folded?: boolean;
53
60
  defaultFolded?: boolean;
54
61
  onFoldedChange?: (folded: boolean) => void;
62
+ /** Chrome around the rail. Defaults to `"card"`. */
63
+ surface?: SidebarSurface;
55
64
  }
56
65
 
57
66
  const cn = (...parts: Array<string | false | null | undefined>) =>
@@ -125,6 +134,7 @@ export const SidebarDesktop = React.forwardRef<HTMLElement, SidebarDesktopProps>
125
134
  folded: foldedProp,
126
135
  defaultFolded = false,
127
136
  onFoldedChange,
137
+ surface = "card",
128
138
  className,
129
139
  ...props
130
140
  },
@@ -150,9 +160,11 @@ export const SidebarDesktop = React.forwardRef<HTMLElement, SidebarDesktopProps>
150
160
  <aside
151
161
  ref={ref}
152
162
  data-state={folded ? "folded" : "unfolded"}
163
+ data-surface={surface}
153
164
  aria-label="Sidebar"
154
165
  className={cn(
155
- "flex h-full shrink-0 flex-col overflow-hidden rounded-lg border border-hairline bg-canvas text-ink",
166
+ "flex h-full shrink-0 flex-col overflow-hidden bg-canvas text-ink",
167
+ surface === "card" ? "rounded-lg border border-hairline" : "border-r border-hairline",
156
168
  "transition-[width] duration-200 ease-out",
157
169
  folded ? "w-16" : "w-64",
158
170
  className,
@@ -9,4 +9,5 @@ export type {
9
9
  SidebarNavItem,
10
10
  SidebarNavSection,
11
11
  SidebarPromo,
12
+ SidebarSurface,
12
13
  } from "./SidebarDesktop";
@@ -2,18 +2,51 @@ import * as React from "react";
2
2
  import { SidebarDesktop } from "./SidebarDesktop";
3
3
 
4
4
  export default function SidebarDesktopPreview() {
5
- const [folded, setFolded] = React.useState(false);
5
+ const [cardFolded, setCardFolded] = React.useState(false);
6
+ const [flatFolded, setFlatFolded] = React.useState(false);
6
7
  const [org, setOrg] = React.useState("personal");
8
+
7
9
  return (
8
- <div className="w-full max-w-4xl mx-auto p-lg">
9
- <div className="flex h-[640px] gap-base rounded-xl bg-surface-soft p-sm">
10
- <SidebarDesktop folded={folded} onFoldedChange={setFolded} organization={org} onOrganizationChange={setOrg} />
11
- <div className="flex min-w-0 flex-1 flex-col gap-xs rounded-lg border border-hairline bg-canvas p-lg">
12
- <span className="text-heading-sm text-ink">Dashboard</span>
13
- <span className="text-body-md text-muted">
14
- The sidebar is {folded ? "folded to an icon rail" : "unfolded"}. Use the panel button to toggle it.
15
- </span>
16
- </div>
10
+ <div className="w-full max-w-4xl mx-auto p-lg space-y-md">
11
+ <div className="flex flex-wrap items-start gap-base">
12
+ {/* Default chrome: the floating rounded card. */}
13
+ <section className="flex min-w-0 flex-col gap-xs">
14
+ <span className="text-caption text-muted">surface=&quot;card&quot; (default)</span>
15
+ <div className="flex h-[520px] gap-sm rounded-xl bg-surface-soft p-xs">
16
+ <SidebarDesktop
17
+ folded={cardFolded}
18
+ onFoldedChange={setCardFolded}
19
+ organization={org}
20
+ onOrganizationChange={setOrg}
21
+ />
22
+ <div className="flex w-40 min-w-0 flex-col gap-xxs rounded-lg bg-canvas p-sm">
23
+ <span className="text-body-md text-ink">Dashboard</span>
24
+ <span className="text-caption text-muted">
25
+ {cardFolded ? "Folded to an icon rail." : "Unfolded."}
26
+ </span>
27
+ </div>
28
+ </div>
29
+ </section>
30
+
31
+ {/* App-shell chrome: flush to the page edge, one right hairline. */}
32
+ <section className="flex min-w-0 flex-col gap-xs">
33
+ <span className="text-caption text-muted">surface=&quot;flat&quot; (app-shell rail)</span>
34
+ <div className="flex h-[520px] overflow-hidden rounded-xl border border-hairline bg-canvas">
35
+ <SidebarDesktop
36
+ surface="flat"
37
+ folded={flatFolded}
38
+ onFoldedChange={setFlatFolded}
39
+ organization={org}
40
+ onOrganizationChange={setOrg}
41
+ />
42
+ <div className="flex w-40 min-w-0 flex-col gap-xxs p-sm">
43
+ <span className="text-body-md text-ink">Console</span>
44
+ <span className="text-caption text-muted">
45
+ {flatFolded ? "Folded to an icon rail." : "One right hairline, square corners."}
46
+ </span>
47
+ </div>
48
+ </div>
49
+ </section>
17
50
  </div>
18
51
  </div>
19
52
  );
@@ -52,7 +52,7 @@ function Attribution({ t }: { t: Testimonial }) {
52
52
  <figcaption className="flex items-center gap-md">
53
53
  <Avatar src={t.avatarSrc} name={t.name} size="lg" />
54
54
  <span className="flex min-w-0 flex-col">
55
- <span className="text-body-md font-weight-heading-sm text-ink">{t.name}</span>
55
+ <span className="text-body-md [font-weight:var(--font-weight-heading-sm)] text-ink">{t.name}</span>
56
56
  <span className="text-body-sm text-muted">{t.role}</span>
57
57
  </span>
58
58
  </figcaption>
@@ -127,7 +127,7 @@ export const TestimonialBlock = React.forwardRef<HTMLElement, TestimonialBlockPr
127
127
  className={cn(
128
128
  "whitespace-nowrap",
129
129
  logo.icon
130
- ? "text-heading-sm font-weight-heading-sm"
130
+ ? "text-heading-sm [font-weight:var(--font-weight-heading-sm)]"
131
131
  : "text-heading-md tracking-heading-md",
132
132
  )}
133
133
  >
@@ -95,7 +95,7 @@ export const Wizard = React.forwardRef<HTMLElement, WizardProps>(
95
95
  <span
96
96
  className={cn(
97
97
  "truncate px-xxs text-body-sm transition-colors duration-200 ease-out",
98
- active ? "font-weight-heading-sm text-ink" : "text-muted",
98
+ active ? "[font-weight:var(--font-weight-heading-sm)] text-ink" : "text-muted",
99
99
  )}
100
100
  >
101
101
  {s.label}