@uniweb/kit 0.7.6 → 0.7.8

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
@@ -39,7 +39,7 @@ function Hero({ content }) {
39
39
 
40
40
  return (
41
41
  <div>
42
- <Image src={content.imgs[0]?.url} alt="Hero" />
42
+ <Image src={content.images[0]?.url} alt="Hero" />
43
43
  <h1>{localize({ en: 'Welcome', es: 'Bienvenido' })}</h1>
44
44
  <Link to="/about">Learn More</Link>
45
45
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/kit",
3
- "version": "0.7.6",
3
+ "version": "0.7.8",
4
4
  "description": "Standard component library for Uniweb foundations",
5
5
  "type": "module",
6
6
  "exports": {
@@ -41,7 +41,7 @@
41
41
  "fuse.js": "^7.0.0",
42
42
  "shiki": "^3.0.0",
43
43
  "tailwind-merge": "^2.6.0",
44
- "@uniweb/core": "0.5.6"
44
+ "@uniweb/core": "0.5.8"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": "^18.0.0 || ^19.0.0",
@@ -24,7 +24,7 @@ import { getChildBlockRenderer } from '../../utils/index.js'
24
24
  *
25
25
  * @example
26
26
  * // Try inset first, fall back to video, then image
27
- * <Visual inset={block.insets[0]} video={content.videos[0]} image={content.imgs[0]} />
27
+ * <Visual inset={block.insets[0]} video={content.videos[0]} image={content.images[0]} />
28
28
  *
29
29
  * @example
30
30
  * // Specific inset only
@@ -32,7 +32,7 @@ import { getChildBlockRenderer } from '../../utils/index.js'
32
32
  *
33
33
  * @example
34
34
  * // Image only
35
- * <Visual image={content.imgs[1]} className="aspect-video" />
35
+ * <Visual image={content.images[1]} className="aspect-video" />
36
36
  */
37
37
  export function Visual({ inset, video, image, className, fallback = null }) {
38
38
  if (inset) {