@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @inklu/docs
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - add vercel analytics for docs
8
+
3
9
  ## 0.2.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.js CHANGED
@@ -1966,6 +1966,9 @@ function SiteLayout({ children, header, footer }) {
1966
1966
  ] });
1967
1967
  }
1968
1968
 
1969
+ // src/components/layout/site-provider.tsx
1970
+ var import_react22 = require("@vercel/analytics/react");
1971
+
1969
1972
  // src/components/ui/direction.tsx
1970
1973
  var import_direction_provider = require("@base-ui/react/direction-provider");
1971
1974
 
@@ -1979,25 +1982,28 @@ function ThemeProvider(props) {
1979
1982
  // src/components/layout/site-provider.tsx
1980
1983
  var import_jsx_runtime21 = require("react/jsx-runtime");
1981
1984
  function SiteProvider({ children }) {
1982
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1985
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1983
1986
  ThemeProvider,
1984
1987
  {
1985
1988
  attribute: "class",
1986
1989
  defaultTheme: "dark",
1987
1990
  enableSystem: true,
1988
1991
  disableTransitionOnChange: true,
1989
- children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_direction_provider.DirectionProvider, { direction: "ltr", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ToastProvider, { position: "bottom-right", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AnchoredToastProvider, { children }) }) })
1992
+ children: [
1993
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_direction_provider.DirectionProvider, { direction: "ltr", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ToastProvider, { position: "bottom-right", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AnchoredToastProvider, { children }) }) }),
1994
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react22.Analytics, {})
1995
+ ]
1990
1996
  }
1991
1997
  );
1992
1998
  }
1993
1999
 
1994
2000
  // src/components/layout/site-template.tsx
1995
- var import_react22 = require("motion/react");
2001
+ var import_react23 = require("motion/react");
1996
2002
  var import_jsx_runtime22 = require("react/jsx-runtime");
1997
2003
  function SiteTemplate({ children }) {
1998
- const reduced = (0, import_react22.useReducedMotion)();
2004
+ const reduced = (0, import_react23.useReducedMotion)();
1999
2005
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2000
- import_react22.motion.div,
2006
+ import_react23.motion.div,
2001
2007
  {
2002
2008
  initial: reduced ? false : { opacity: 0 },
2003
2009
  animate: { opacity: 1 },
@@ -2111,14 +2117,14 @@ function ButtonGroupSeparator({
2111
2117
  }
2112
2118
 
2113
2119
  // src/components/ui/card.tsx
2114
- var import_react23 = require("@lisse/react");
2120
+ var import_react24 = require("@lisse/react");
2115
2121
  var import_jsx_runtime25 = require("react/jsx-runtime");
2116
2122
  function Card({
2117
2123
  className,
2118
2124
  size = "default",
2119
2125
  ...props
2120
2126
  }) {
2121
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react23.SmoothCorners, { asChild: true, corners: { radius: 24, smoothing: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2127
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react24.SmoothCorners, { asChild: true, corners: { radius: 24, smoothing: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2122
2128
  "div",
2123
2129
  {
2124
2130
  "data-slot": "card",