@inklu/docs 0.2.0 → 0.2.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/CHANGELOG.md +6 -0
- package/dist/index.js +13 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
- package/src/components/layout/site-provider.tsx +2 -0
package/dist/index.mjs
CHANGED
|
@@ -1877,6 +1877,9 @@ function SiteLayout({ children, header, footer }) {
|
|
|
1877
1877
|
] });
|
|
1878
1878
|
}
|
|
1879
1879
|
|
|
1880
|
+
// src/components/layout/site-provider.tsx
|
|
1881
|
+
import { Analytics } from "@vercel/analytics/react";
|
|
1882
|
+
|
|
1880
1883
|
// src/components/ui/direction.tsx
|
|
1881
1884
|
import {
|
|
1882
1885
|
DirectionProvider,
|
|
@@ -1891,16 +1894,19 @@ function ThemeProvider(props) {
|
|
|
1891
1894
|
}
|
|
1892
1895
|
|
|
1893
1896
|
// src/components/layout/site-provider.tsx
|
|
1894
|
-
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
1897
|
+
import { jsx as jsx21, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1895
1898
|
function SiteProvider({ children }) {
|
|
1896
|
-
return /* @__PURE__ */
|
|
1899
|
+
return /* @__PURE__ */ jsxs13(
|
|
1897
1900
|
ThemeProvider,
|
|
1898
1901
|
{
|
|
1899
1902
|
attribute: "class",
|
|
1900
1903
|
defaultTheme: "dark",
|
|
1901
1904
|
enableSystem: true,
|
|
1902
1905
|
disableTransitionOnChange: true,
|
|
1903
|
-
children:
|
|
1906
|
+
children: [
|
|
1907
|
+
/* @__PURE__ */ jsx21(DirectionProvider, { direction: "ltr", children: /* @__PURE__ */ jsx21(ToastProvider, { position: "bottom-right", children: /* @__PURE__ */ jsx21(AnchoredToastProvider, { children }) }) }),
|
|
1908
|
+
/* @__PURE__ */ jsx21(Analytics, {})
|
|
1909
|
+
]
|
|
1904
1910
|
}
|
|
1905
1911
|
);
|
|
1906
1912
|
}
|