@fabio.caffarello/react-design-system 1.3.0 → 1.3.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fabio.caffarello/react-design-system",
3
3
  "private": false,
4
- "version": "1.3.0",
4
+ "version": "1.3.2",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -9,7 +9,10 @@
9
9
  "exports": {
10
10
  ".": {
11
11
  "types": "./dist/ui/index.d.ts",
12
- "import": "./dist/index.js",
12
+ "import": {
13
+ "development": "./src/ui/index.ts",
14
+ "default": "./dist/index.js"
15
+ },
13
16
  "require": "./dist/index.cjs"
14
17
  }
15
18
  },
@@ -17,6 +20,9 @@
17
20
  "dist",
18
21
  "src"
19
22
  ],
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
20
26
  "scripts": {
21
27
  "dev": "vite",
22
28
  "build": "npx tsc --project tsconfig.app.json --declaration --emitDeclarationOnly --outDir dist && vite build",
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import type { AnchorHTMLAttributes } from "react";
2
4
 
3
5
  interface Props extends AnchorHTMLAttributes<HTMLAnchorElement> {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import type { HTMLAttributes } from "react";
2
4
  import NavLink from "../../atoms/NavLink/NavLink";
3
5
 
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import type { FormHTMLAttributes, ReactNode } from "react";
2
4
 
3
5
  interface Props extends FormHTMLAttributes<HTMLFormElement> {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import type { HTMLAttributes } from "react";
2
4
  import { Button } from "../../atoms";
3
5
 
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import type { HTMLAttributes, ReactNode } from "react";
2
4
  import { useEffect, useRef } from "react";
3
5
  import { createPortal } from "react-dom";
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import type { HTMLAttributes, ReactNode } from "react";
2
4
 
3
5
  export interface TableColumn<T = any> {