@ostack.tech/ui-exhibit 0.10.0 → 0.10.1
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 +1 -1
- package/dist/ostack-ui-exhibit.css +2 -2
- package/dist/ostack-ui-exhibit.js +2 -2
- package/dist/ostack-ui-exhibit.js.map +1 -1
- package/dist/webapp/assets/{index-54a2WCtJ.css → index-BKYn_yyA.css} +1 -1
- package/dist/webapp/assets/{index-DzBccsSr.js → index-DlK2khbd.js} +1 -1
- package/dist/webapp/index.html +2 -2
- package/package.json +3 -3
- package/scss/_App.scss +2 -2
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ body {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
#exhibit-title {
|
|
14
|
-
margin-
|
|
14
|
+
margin-block: 0;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
#exhibit-main {
|
|
@@ -37,7 +37,7 @@ body {
|
|
|
37
37
|
overflow-x: auto;
|
|
38
38
|
}
|
|
39
39
|
.exhibit-grid:focus-visible {
|
|
40
|
-
border-radius: var(--o-ui-border-radius-
|
|
40
|
+
border-radius: var(--o-ui-border-radius-xs);
|
|
41
41
|
outline: 2px solid var(--o-ui-primary-8);
|
|
42
42
|
outline-offset: 2px;
|
|
43
43
|
}
|
|
@@ -41,7 +41,7 @@ function ExhibitSection({
|
|
|
41
41
|
const docsUrl = useDocsUrl();
|
|
42
42
|
const headingId = title.toLowerCase().replace(/[^a-z0-9]/g, "-");
|
|
43
43
|
return /* @__PURE__ */ jsx(Stack, { asChild: true, children: /* @__PURE__ */ jsxs("section", { className: "exhibit-section", "aria-labelledby": headingId, children: [
|
|
44
|
-
/* @__PURE__ */ jsx(Stack, { asChild: true, direction: "row", gap: 4, alignItems: "
|
|
44
|
+
/* @__PURE__ */ jsx(Stack, { asChild: true, direction: "row", gap: 4, alignItems: "baseline", children: /* @__PURE__ */ jsxs("header", { children: [
|
|
45
45
|
/* @__PURE__ */ jsx(Heading, { id: headingId, children: /* @__PURE__ */ jsx(
|
|
46
46
|
Link,
|
|
47
47
|
{
|
|
@@ -1410,7 +1410,7 @@ function ToastSection() {
|
|
|
1410
1410
|
function TooltipSection() {
|
|
1411
1411
|
return /* @__PURE__ */ jsx(ExhibitSection, { title: "Tooltip", docsPage: "ostack-ui-overlay-tooltip", children: /* @__PURE__ */ jsx(Tooltip, { content: "Press to reload all content", children: /* @__PURE__ */ jsx(Button, { children: "Refresh" }) }) });
|
|
1412
1412
|
}
|
|
1413
|
-
const DEFAULT_PROD_DOCS_URL = "https://ui.ostack.tech/";
|
|
1413
|
+
const DEFAULT_PROD_DOCS_URL = process.env.NODE_ENV === "production" ? "https://ui.ostack.tech/" : void 0;
|
|
1414
1414
|
function ExhibitApp({
|
|
1415
1415
|
docsUrl = DEFAULT_PROD_DOCS_URL,
|
|
1416
1416
|
title = document.title,
|