@hanzo/ui 4.8.2 → 4.8.4

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/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ "use client";
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -28,9 +29,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
29
  ));
29
30
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
31
 
31
- // primitives/index-next.ts
32
- var index_next_exports = {};
33
- __export(index_next_exports, {
32
+ // primitives/index-client.ts
33
+ var index_client_exports = {};
34
+ __export(index_client_exports, {
34
35
  AIAgentIcon: () => AIAgentIcon,
35
36
  AISearchContentIcon: () => AISearchContentIcon,
36
37
  Accordion: () => Accordion,
@@ -350,7 +351,7 @@ __export(index_next_exports, {
350
351
  toggleVariants: () => toggleVariants,
351
352
  useFormField: () => useFormField
352
353
  });
353
- module.exports = __toCommonJS(index_next_exports);
354
+ module.exports = __toCommonJS(index_client_exports);
354
355
 
355
356
  // primitives/accordion.tsx
356
357
  var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
package/dist/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
4
  var __export = (target, all) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "4.8.2",
3
+ "version": "4.8.4",
4
4
  "description": "Multi-framework UI library with React, Vue, Svelte, and React Native support. Based on shadcn/ui with comprehensive framework coverage.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import type * as LabelPrimitive from '@radix-ui/react-label';
2
4
  import { Slot } from '@radix-ui/react-slot';
3
5
  import React from 'react';
@@ -0,0 +1,4 @@
1
+ 'use client';
2
+
3
+ // Re-export everything from the main index
4
+ export * from './index-next';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import { EyeIcon, EyeOffIcon } from 'lucide-react';
2
4
  import React from 'react';
3
5
  import { useEffect, useImperativeHandle, useRef } from 'react';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React from 'react';
2
4
 
3
5
  import { RefCallBack } from 'react-hook-form';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React from 'react';
2
4
 
3
5
  import { RefCallBack } from 'react-hook-form';