@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 CHANGED
@@ -1,3 +1,3 @@
1
- # `@ostack.tech/exhibit`
1
+ # `@ostack.tech/ui-exhibit`
2
2
 
3
3
  Exhibit of ostack/UI components.
@@ -11,7 +11,7 @@ body {
11
11
  }
12
12
 
13
13
  #exhibit-title {
14
- margin-bottom: 0;
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-sm);
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: "center", children: /* @__PURE__ */ jsxs("header", { children: [
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,