@oxide/design-system 2.7.1--canary.1bbaaff.0 → 2.7.1--canary.e2e4f77.0

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.
@@ -3,7 +3,7 @@ import {
3
3
  DirectionRightIcon_default,
4
4
  Link16Icon_default,
5
5
  SelectArrows6Icon_default
6
- } from "../../chunk-BTKC2KJ2.js";
6
+ } from "../../chunk-EZCJJGCD.js";
7
7
 
8
8
  // components/src/asciidoc/index.tsx
9
9
  import asciidoctor2 from "@asciidoctor/core";
@@ -343,7 +343,7 @@ var DesktopOutline = ({
343
343
  ] }, item.id));
344
344
  };
345
345
  if (toc && toc.length > 0) {
346
- return /* @__PURE__ */ jsx4("ul", { className: cn3("toc w-[--toc-width]", className), children: renderToc(toc) });
346
+ return /* @__PURE__ */ jsx4("ul", { className: cn3("toc w-(--toc-width)", className), children: renderToc(toc) });
347
347
  }
348
348
  return null;
349
349
  };
@@ -393,12 +393,12 @@ var SmallScreenOutline = ({
393
393
  value,
394
394
  onValueChange: setValue,
395
395
  children: /* @__PURE__ */ jsxs3(Accordion.Item, { value: "toc", children: [
396
- /* @__PURE__ */ jsx4(Accordion.Header, { children: /* @__PURE__ */ jsxs3(Accordion.Trigger, { className: "flex h-12 w-full items-center justify-between text-sans-md text-default hover:bg-hover px-[--container-px] [&>svg]:data-[state=open]:rotate-90", children: [
396
+ /* @__PURE__ */ jsx4(Accordion.Header, { children: /* @__PURE__ */ jsxs3(Accordion.Trigger, { className: "flex h-12 w-full items-center justify-between text-sans-md text-default hover:bg-hover px-(--container-px) [&>svg]:data-[state=open]:rotate-90", children: [
397
397
  "Table of Contents",
398
398
  " ",
399
399
  /* @__PURE__ */ jsx4(DirectionRightIcon_default, { className: "transition-all text-tertiary" })
400
400
  ] }) }),
401
- /* @__PURE__ */ jsx4(Accordion.Content, { className: "animated-accordion hydrated max-h-[60vh] overflow-y-scroll w-full border-t border-secondary px-[--container-px]", children: /* @__PURE__ */ jsx4("div", { className: "py-4", children: renderToc(toc) }) })
401
+ /* @__PURE__ */ jsx4(Accordion.Content, { className: "animated-accordion hydrated max-h-[60vh] overflow-y-scroll w-full border-t border-secondary px-(--container-px)", children: /* @__PURE__ */ jsx4("div", { className: "py-4", children: renderToc(toc) }) })
402
402
  ] })
403
403
  }
404
404
  );
@@ -2068,19 +2068,19 @@ import cn4 from "classnames";
2068
2068
  import { jsx as jsx6 } from "react/jsx-runtime";
2069
2069
  var badgeColors = {
2070
2070
  default: {
2071
- default: `ring-1 ring-inset bg-accent-secondary text-accent ring-[rgba(var(--base-green-800-rgb),0.15)]`,
2072
- destructive: `ring-1 ring-inset bg-destructive-secondary text-destructive ring-[rgba(var(--base-red-800-rgb),0.15)]`,
2073
- notice: `ring-1 ring-inset bg-notice-secondary text-notice ring-[rgba(var(--base-yellow-800-rgb),0.15)]`,
2074
- neutral: `ring-1 ring-inset bg-secondary text-secondary ring-[rgba(var(--base-neutral-700-rgb),0.15)]`,
2075
- purple: `ring-1 ring-inset bg-[var(--base-purple-200)] text-[var(--base-purple-700)] ring-[rgba(var(--base-purple-800-rgb),0.15)]`,
2076
- blue: `ring-1 ring-inset bg-info-secondary text-info ring-[rgba(var(--base-blue-800-rgb),0.15)]`
2071
+ default: "bg-accent-secondary text-accent ring-accent/15",
2072
+ destructive: "bg-destructive-secondary text-destructive ring-destructive/15",
2073
+ notice: "bg-notice-secondary text-notice ring-notice/15",
2074
+ blue: "bg-blue-200 text-blue-800 ring-blue-800/15",
2075
+ purple: "bg-purple-200 text-purple-800 ring-purple-800/15",
2076
+ neutral: "bg-secondary text-default ring-neutral-700/15"
2077
2077
  },
2078
2078
  solid: {
2079
2079
  default: "bg-accent text-inverse",
2080
2080
  destructive: "bg-destructive text-inverse",
2081
2081
  notice: "bg-notice text-inverse",
2082
2082
  neutral: "bg-inverse-tertiary text-inverse",
2083
- purple: "bg-[var(--base-purple-700)] text-inverse",
2083
+ purple: "bg-purple-700 text-inverse",
2084
2084
  blue: "bg-info text-inverse"
2085
2085
  }
2086
2086
  };
@@ -2094,7 +2094,7 @@ var Badge = ({
2094
2094
  "span",
2095
2095
  {
2096
2096
  className: cn4(
2097
- "ox-badge",
2097
+ "ox-badge ring ring-inset",
2098
2098
  `variant-${variant}`,
2099
2099
  "inline-flex h-4 items-center whitespace-nowrap rounded-sm px-[3px] py-[1px] uppercase text-mono-sm",
2100
2100
  badgeColors[variant][color],