@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.
- package/dist/asciidoc.css +25 -29
- package/dist/button.css +1 -1
- package/dist/{chunk-BTKC2KJ2.js → chunk-EZCJJGCD.js} +234 -325
- package/dist/chunk-EZCJJGCD.js.map +1 -0
- package/dist/components/src/index.js +12 -12
- package/dist/components/src/index.js.map +1 -1
- package/dist/icons/index.d.ts +0 -9
- package/dist/icons/react/index.d.ts +158 -176
- package/dist/icons/react/index.js +1 -7
- package/dist/tabs.css +1 -1
- package/icons/sprite.svg +1 -1
- package/icons/svg/open-link-12.svg +1 -1
- package/package.json +3 -1
- package/styles/dist/blue.css +162 -643
- package/styles/dist/green.css +162 -641
- package/styles/dist/main.css +634 -855
- package/styles/dist/purple.css +162 -643
- package/styles/dist/red.css +162 -643
- package/styles/dist/tailwind.css +51 -0
- package/styles/dist/yellow.css +162 -641
- package/dist/chunk-BTKC2KJ2.js.map +0 -1
- package/icons/svg/download-outline-12.svg +0 -1
- package/icons/svg/size-outline-12.svg +0 -1
- package/icons/svg/time-outline-12.svg +0 -1
- package/styles/dist/tailwind-tokens.ts +0 -2988
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
DirectionRightIcon_default,
|
|
4
4
|
Link16Icon_default,
|
|
5
5
|
SelectArrows6Icon_default
|
|
6
|
-
} from "../../chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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:
|
|
2072
|
-
destructive:
|
|
2073
|
-
notice:
|
|
2074
|
-
|
|
2075
|
-
purple:
|
|
2076
|
-
|
|
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-
|
|
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],
|