@yoamigo.com/core 0.2.2 → 0.3.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.
package/dist/plugin.js CHANGED
@@ -24,7 +24,7 @@ function yoamigoPlugin(options = {}) {
24
24
  if (import.meta.hot) {
25
25
  import.meta.hot.on('yoamigo:content-update', async () => {
26
26
  try {
27
- const { default: newContent } = await import('./content?t=' + Date.now())
27
+ const { default: newContent } = await import(/* @vite-ignore */ './content?t=' + Date.now())
28
28
  const { registerContent } = await import('@yoamigo.com/core')
29
29
  registerContent(newContent)
30
30
  window.dispatchEvent(new CustomEvent('content-updated'))
package/dist/prod.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { a as ContentStore, E as ContentStoreMode, C as ContentStoreProvider, d as MarkdownText, e as MarkdownTextProps, P as PageInfo, b as StaticImage, c as StaticImageProps, M as StaticText, S as StaticTextProps, b as YaImage, c as YaImageProps, M as YaText, S as YaTextProps, u as useContentStore } from './MarkdownText-kV5IiAma.js';
1
+ export { a as ContentStore, E as ContentStoreMode, C as ContentStoreProvider, d as MarkdownText, e as MarkdownTextProps, P as PageInfo, b as StaticImage, c as StaticImageProps, M as StaticText, S as StaticTextProps, b as YaImage, c as YaImageProps, M as YaText, S as YaTextProps, u as useContentStore } from './MarkdownText-BUTYfqXS.js';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import React__default from 'react';
3
+ import React from 'react';
4
4
  export { Link, LinkProps, NavigateFunction, Router, RouterProps, useNavigate } from './router.js';
5
5
  export { Route, Switch, useParams } from 'wouter';
6
6
  export { A as AssetResolverFn, C as ContentRegistry, c as contentRegistry, a as getAllContent, g as getContent, h as hasContent, r as registerContent, b as resolveAssetUrl, s as setAssetResolver } from './asset-resolver-BnIvDkVv.js';
@@ -10,9 +10,9 @@ interface StaticLinkProps {
10
10
  href?: string;
11
11
  className?: string;
12
12
  /** Inline styles to apply to the link element */
13
- style?: React__default.CSSProperties;
13
+ style?: React.CSSProperties;
14
14
  as?: 'a' | 'span';
15
- children?: React__default.ReactNode;
15
+ children?: React.ReactNode;
16
16
  /** Optional click handler called after navigation */
17
17
  onClick?: () => void;
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoamigo.com/core",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "Core components, router, and utilities for YoAmigo templates",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -62,6 +62,7 @@
62
62
  "prepublishOnly": "pnpm build"
63
63
  },
64
64
  "dependencies": {
65
+ "@floating-ui/react": "^0.27.16",
65
66
  "clsx": "^2.1.1",
66
67
  "html2canvas-pro": "^1.6.1",
67
68
  "preact": "^10.27.2",