@rehagro/ui 0.1.2 → 0.1.3

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,3 +1,4 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
4
  var React8 = require('react');
package/dist/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import React8, { forwardRef, createContext, useState, useRef, useCallback, useEffect, useContext, useMemo } from 'react';
2
3
  import { jsxs, jsx } from 'react/jsx-runtime';
3
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rehagro/ui",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "author": "Rehagro's Development Team",
5
5
  "description": "Rehagro Design System - React component library",
6
6
  "main": "./dist/index.cjs",
@@ -51,7 +51,7 @@
51
51
  "vitest": "^2.1.0"
52
52
  },
53
53
  "scripts": {
54
- "build": "tsup && tailwindcss -i src/styles/styles.css -o dist/styles.css --minify",
54
+ "build": "tsup && node scripts/add-use-client.mjs && tailwindcss -i src/styles/styles.css -o dist/styles.css --minify",
55
55
  "typecheck": "tsc --noEmit",
56
56
  "lint": "eslint src/",
57
57
  "format": "prettier --write src/",