ardo 3.4.0 → 3.5.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.
Files changed (24) hide show
  1. package/dist/{DocPage-Dy7OrCP2.js → DocPage-EIVMae_6.js} +4 -4
  2. package/dist/DocPage-EIVMae_6.js.map +1 -0
  3. package/dist/assets/src/ui/components/{CodeBlock.css.ts.vanilla-BxDJ2gKc.css → CodeBlock.css.ts.vanilla-DYyQRTxk.css} +4 -4
  4. package/dist/assets/src/ui/components/{Container.css.ts.vanilla-CUhRUA9t.css → Container.css.ts.vanilla-B8_jKj0Q.css} +6 -0
  5. package/dist/assets/src/ui/components/{Features.css.ts.vanilla-ggYasCFy.css → Features.css.ts.vanilla-CcCxB5Q6.css} +1 -1
  6. package/dist/assets/src/ui/{content.css.ts.vanilla-CJnrOQNh.css → content.css.ts.vanilla-B5a1kmaY.css} +12 -2
  7. package/dist/assets/src/ui/theme/{dark.css.ts.vanilla-CQef5pk2.css → dark.css.ts.vanilla-CSJkJvIz.css} +1 -0
  8. package/dist/assets/src/ui/theme/{light.css.ts.vanilla-D8gxaS1c.css → light.css.ts.vanilla-CFz9jeJK.css} +1 -0
  9. package/dist/{contract.css-qPyk_asd.d.ts → contract.css-eFQbUr4z.d.ts} +2 -1
  10. package/dist/contract.css-eFQbUr4z.d.ts.map +1 -0
  11. package/dist/index.js +2 -2
  12. package/dist/mdx/provider.js +1 -1
  13. package/dist/theme/index.d.ts +3 -1
  14. package/dist/theme/index.d.ts.map +1 -1
  15. package/dist/theme/index.js +2 -0
  16. package/dist/theme/index.js.map +1 -1
  17. package/dist/ui/index.js +2 -2
  18. package/dist/ui/styles.css +25 -7
  19. package/dist/ui/styles.js +6 -6
  20. package/dist/{ui-AGPGBunC.js → ui-B6X8gAvz.js} +3 -3
  21. package/dist/{ui-AGPGBunC.js.map → ui-B6X8gAvz.js.map} +1 -1
  22. package/package.json +1 -1
  23. package/dist/DocPage-Dy7OrCP2.js.map +0 -1
  24. package/dist/contract.css-qPyk_asd.d.ts.map +0 -1
@@ -866,7 +866,7 @@ main > ._169q00b0 {
866
866
  box-shadow: var(--ardo-color-codeShadow);
867
867
  }
868
868
  ._1l68ra31 {
869
- padding: var(--ardo-space-sm) var(--ardo-space-md);
869
+ padding: var(--ardo-space-smd) var(--ardo-space-md);
870
870
  font-size: var(--ardo-fontSize-xs);
871
871
  font-weight: 500;
872
872
  font-family: var(--ardo-font-mono);
@@ -882,7 +882,7 @@ main > ._169q00b0 {
882
882
  }
883
883
  ._1l68ra32 pre {
884
884
  margin: 0;
885
- padding: var(--ardo-space-lg) var(--ardo-space-md);
885
+ padding: var(--ardo-space-md);
886
886
  overflow-x: auto;
887
887
  font-family: var(--ardo-font-mono);
888
888
  font-size: var(--ardo-fontSize-sm);
@@ -922,7 +922,7 @@ main > ._169q00b0 {
922
922
  color: #475569;
923
923
  }
924
924
  .ardo-shiki > [data-title] {
925
- padding: var(--ardo-space-sm) var(--ardo-space-md);
925
+ padding: var(--ardo-space-smd) var(--ardo-space-md);
926
926
  font-size: var(--ardo-fontSize-xs);
927
927
  font-weight: 500;
928
928
  font-family: var(--ardo-font-mono);
@@ -944,7 +944,7 @@ main > ._169q00b0 {
944
944
  }
945
945
  .ardo-shiki pre {
946
946
  margin: 0;
947
- padding: var(--ardo-space-lg) var(--ardo-space-md);
947
+ padding: var(--ardo-space-md);
948
948
  overflow-x: auto;
949
949
  font-family: var(--ardo-font-mono);
950
950
  font-size: var(--ardo-fontSize-sm);
@@ -1136,6 +1136,12 @@ main > ._169q00b0 {
1136
1136
  ._1l7ew7ri {
1137
1137
  color: var(--ardo-color-note);
1138
1138
  }
1139
+ ._1l7ew7rj > :first-child {
1140
+ margin-top: 0;
1141
+ }
1142
+ ._1l7ew7rj > :last-child {
1143
+ margin-bottom: 0;
1144
+ }
1139
1145
  @keyframes _1fj68r90 {
1140
1146
  from {
1141
1147
  opacity: 0;
@@ -1177,7 +1183,7 @@ main > ._169q00b0 {
1177
1183
  margin: 0 auto;
1178
1184
  }
1179
1185
  ._15qe9bp5 {
1180
- padding: 28px;
1186
+ padding: var(--ardo-space-lg);
1181
1187
  background: var(--ardo-color-bg);
1182
1188
  border-radius: var(--ardo-radius-lg);
1183
1189
  border: 1px solid var(--ardo-color-border);
@@ -1509,7 +1515,6 @@ main > ._169q00b0 {
1509
1515
  font-family: var(--ardo-font-familyHeading);
1510
1516
  font-weight: 600;
1511
1517
  line-height: 1.22;
1512
- margin-top: var(--ardo-space-2xl);
1513
1518
  margin-bottom: var(--ardo-space-md);
1514
1519
  letter-spacing: -0.01em;
1515
1520
  max-width: var(--ardo-layout-contentMaxWidth);
@@ -1522,15 +1527,26 @@ main > ._169q00b0 {
1522
1527
  }
1523
1528
  .jmxrtm0 h2 {
1524
1529
  font-size: 1.375rem;
1525
- padding-top: var(--ardo-space-md);
1530
+ margin-top: var(--ardo-space-2xl);
1526
1531
  }
1527
1532
  .jmxrtm0 h3 {
1528
1533
  font-size: var(--ardo-fontSize-lg);
1529
1534
  font-weight: 600;
1535
+ margin-top: var(--ardo-space-xl);
1530
1536
  }
1531
1537
  .jmxrtm0 h4 {
1532
1538
  font-size: var(--ardo-fontSize-sm);
1533
1539
  font-weight: 600;
1540
+ margin-top: var(--ardo-space-lg);
1541
+ }
1542
+ .jmxrtm0 h5, .jmxrtm0 h6 {
1543
+ margin-top: var(--ardo-space-lg);
1544
+ }
1545
+ .jmxrtm0 :is(h1,h2,h3,h4,h5,h6) + :is(h2,h3,h4,h5,h6) {
1546
+ margin-top: var(--ardo-space-sm);
1547
+ }
1548
+ .jmxrtm0 > :first-child {
1549
+ margin-top: 0;
1534
1550
  }
1535
1551
  .jmxrtm0 p {
1536
1552
  margin-bottom: var(--ardo-space-lg);
@@ -2091,6 +2107,7 @@ main > ._169q00b0 {
2091
2107
  --ardo-fontSize-3xl: 2rem;
2092
2108
  --ardo-space-xs: 0.25rem;
2093
2109
  --ardo-space-sm: 0.5rem;
2110
+ --ardo-space-smd: 0.75rem;
2094
2111
  --ardo-space-md: 1rem;
2095
2112
  --ardo-space-lg: 1.5rem;
2096
2113
  --ardo-space-xl: 2rem;
@@ -2182,6 +2199,7 @@ main > ._169q00b0 {
2182
2199
  --ardo-fontSize-3xl: 2rem;
2183
2200
  --ardo-space-xs: 0.25rem;
2184
2201
  --ardo-space-sm: 0.5rem;
2202
+ --ardo-space-smd: 0.75rem;
2185
2203
  --ardo-space-md: 1rem;
2186
2204
  --ardo-space-lg: 1.5rem;
2187
2205
  --ardo-space-xl: 2rem;
package/dist/ui/styles.js CHANGED
@@ -6,18 +6,18 @@ import "./../assets/src/ui/Header.css.ts.vanilla-DEcLj8r0.css";
6
6
  import "./../assets/src/ui/Nav.css.ts.vanilla-CsAQjogy.css";
7
7
  import "./../assets/src/ui/Sidebar.css.ts.vanilla-IxNEQEBv.css";
8
8
  import "./../assets/src/ui/components/CopyButton.css.ts.vanilla-CO2awD6S.css";
9
- import "./../assets/src/ui/components/CodeBlock.css.ts.vanilla-BxDJ2gKc.css";
10
- import "./../assets/src/ui/components/Container.css.ts.vanilla-CUhRUA9t.css";
9
+ import "./../assets/src/ui/components/CodeBlock.css.ts.vanilla-DYyQRTxk.css";
10
+ import "./../assets/src/ui/components/Container.css.ts.vanilla-B8_jKj0Q.css";
11
11
  import "./../assets/src/ui/theme/animations.css.ts.vanilla-D6ImVUKy.css";
12
- import "./../assets/src/ui/components/Features.css.ts.vanilla-ggYasCFy.css";
12
+ import "./../assets/src/ui/components/Features.css.ts.vanilla-CcCxB5Q6.css";
13
13
  import "./../assets/src/ui/components/Hero.css.ts.vanilla-DY_BH0W6.css";
14
14
  import "./../assets/src/ui/components/Steps.css.ts.vanilla-CisaxeNj.css";
15
15
  import "./../assets/src/ui/components/Tabs.css.ts.vanilla-C4-vJSnf.css";
16
- import "./../assets/src/ui/content.css.ts.vanilla-CJnrOQNh.css";
16
+ import "./../assets/src/ui/content.css.ts.vanilla-B5a1kmaY.css";
17
17
  import "./../assets/src/ui/DocPage.css.ts.vanilla-CWL92vUE.css";
18
18
  import "./../assets/src/ui/Toc.css.ts.vanilla-CQbpEdTg.css";
19
19
  import "./../assets/src/ui/components/ApiItem.css.ts.vanilla-B_DW-1iJ.css";
20
- import "./../assets/src/ui/theme/light.css.ts.vanilla-D8gxaS1c.css";
21
- import "./../assets/src/ui/theme/dark.css.ts.vanilla-CQef5pk2.css";
20
+ import "./../assets/src/ui/theme/light.css.ts.vanilla-CFz9jeJK.css";
21
+ import "./../assets/src/ui/theme/dark.css.ts.vanilla-CSJkJvIz.css";
22
22
  import "./../assets/src/ui/theme/reset.css.ts.vanilla-e2dF1d0f.css";
23
23
  export {};
@@ -1,5 +1,5 @@
1
1
  import { a as ArdoProvider, d as useArdoSidebar, l as useArdoContexts, o as ArdoSiteConfigProvider, s as useArdoConfig, u as useArdoPageData } from "./sidebar-utils-C06DJsx4.js";
2
- import { $ as footerLink, A as home, B as MonitorIcon, F as ChevronDownIcon, G as SunIcon, H as PackageIcon, I as CodeIcon, K as WrenchIcon, L as FileCodeIcon, M as layout, N as BookOpenIcon, O as ArdoLayout, P as BoxIcon, R as FileTextIcon, U as SearchIcon, V as MoonIcon, W as SettingsIcon, Y as footerArdoLink, Z as footerContainer, j as homeMain, nt as footerPrimary, q as XIcon, tt as footerOwl, z as MessageCircleIcon } from "./DocPage-Dy7OrCP2.js";
2
+ import { $ as footerLink, A as home, B as MonitorIcon, F as ChevronDownIcon, G as SunIcon, H as PackageIcon, I as CodeIcon, K as WrenchIcon, L as FileCodeIcon, M as layout, N as BookOpenIcon, O as ArdoLayout, P as BoxIcon, R as FileTextIcon, U as SearchIcon, V as MoonIcon, W as SettingsIcon, Y as footerArdoLink, Z as footerContainer, j as homeMain, nt as footerPrimary, q as XIcon, tt as footerOwl, z as MessageCircleIcon } from "./DocPage-EIVMae_6.js";
3
3
  import { c as TwitterIcon, i as LinkedinIcon, n as GithubIcon, o as NpmIcon, u as YoutubeIcon } from "./brand-icons-Di8w0Nu9.js";
4
4
  import React, { Children, cloneElement, createContext, isValidElement, use, useEffect, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -14,7 +14,7 @@ import "./assets/src/ui/Header.css.ts.vanilla-DEcLj8r0.css";
14
14
  import "./assets/src/ui/Nav.css.ts.vanilla-CsAQjogy.css";
15
15
  import "./assets/src/ui/Sidebar.css.ts.vanilla-IxNEQEBv.css";
16
16
  import "./assets/src/ui/theme/animations.css.ts.vanilla-D6ImVUKy.css";
17
- import "./assets/src/ui/components/Features.css.ts.vanilla-ggYasCFy.css";
17
+ import "./assets/src/ui/components/Features.css.ts.vanilla-CcCxB5Q6.css";
18
18
  import "./assets/src/ui/components/Hero.css.ts.vanilla-DY_BH0W6.css";
19
19
  import "./assets/src/ui/ErrorBoundary.css.ts.vanilla-C4usIU4z.css";
20
20
  //#region src/ui/OwlMark.tsx
@@ -1760,4 +1760,4 @@ function ArdoNavLink({ to, href, children, className, activeMatch: _activeMatch
1760
1760
  //#endregion
1761
1761
  export { ArdoOwlMark as _, ArdoHero as a, ArdoRoot as c, ArdoSidebarLink as d, ArdoHeader as f, ArdoFooter as g, ArdoSearch as h, ArdoErrorBoundary as i, ArdoSidebar as l, ArdoThemeToggle as m, ArdoNavLink as n, ArdoFeatureCard as o, ArdoSocialLink as p, ArdoHomePage as r, ArdoFeatures as s, ArdoNav as t, ArdoSidebarGroup as u };
1762
1762
 
1763
- //# sourceMappingURL=ui-AGPGBunC.js.map
1763
+ //# sourceMappingURL=ui-B6X8gAvz.js.map