chop-logic-components 0.4.0 → 0.5.1

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
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/SavouryGin/chop-logic-components.git"
6
6
  },
7
- "version": "0.4.0",
7
+ "version": "0.5.1",
8
8
  "description": "React UI components library for Chop Logic project",
9
9
  "type": "module",
10
10
  "main": "dist/index.cjs.js",
@@ -16,6 +16,7 @@
16
16
  "scripts": {
17
17
  "format": "prettier --write --parser typescript '**/*.{ts,tsx}'",
18
18
  "lint": "eslint . --ext .ts,.tsx --ignore-path .gitignore --fix",
19
+ "check-types": "tsc --pretty --noEmit",
19
20
  "build": "tsc && vite build",
20
21
  "test": "vitest",
21
22
  "test:ci": "vitest run",
@@ -47,14 +48,14 @@
47
48
  "@chromatic-com/storybook": "^1.5.0",
48
49
  "@commitlint/cli": "^19.3.0",
49
50
  "@commitlint/config-conventional": "^19.2.2",
50
- "@storybook/addon-essentials": "^8.1.6",
51
- "@storybook/addon-interactions": "^8.1.6",
52
- "@storybook/addon-links": "^8.1.6",
53
- "@storybook/addon-onboarding": "^8.1.6",
54
- "@storybook/blocks": "^8.1.6",
55
- "@storybook/react": "^8.1.6",
56
- "@storybook/react-vite": "^8.1.6",
57
- "@storybook/test": "^8.1.6",
51
+ "@storybook/addon-essentials": "^8.1.10",
52
+ "@storybook/addon-interactions": "^8.1.10",
53
+ "@storybook/addon-links": "^8.1.10",
54
+ "@storybook/addon-onboarding": "^8.1.10",
55
+ "@storybook/blocks": "^8.1.10",
56
+ "@storybook/react": "^8.1.10",
57
+ "@storybook/react-vite": "^8.1.10",
58
+ "@storybook/test": "^8.1.10",
58
59
  "@testing-library/jest-dom": "^6.4.2",
59
60
  "@testing-library/react": "^15.0.6",
60
61
  "@testing-library/user-event": "^14.5.2",
@@ -72,7 +73,7 @@
72
73
  "jsdom": "^24.0.0",
73
74
  "lint-staged": "^15.2.2",
74
75
  "prettier": "^3.2.5",
75
- "storybook": "^8.1.6",
76
+ "storybook": "^8.1.10",
76
77
  "typescript": "^5.4.5",
77
78
  "vite": "^5.2.10",
78
79
  "vite-plugin-dts": "^3.9.0",
@@ -1,12 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- /**
4
- * Hook that handles clicks outside of the passed ref
5
- */
6
- type UseClickOutsideParams = {
7
- ref: React.MutableRefObject<any>;
8
- onClickOutsideHandler: () => void;
9
- dependentRef?: React.MutableRefObject<any>;
10
- };
11
- export declare const useClickOutside: ({ ref, onClickOutsideHandler, dependentRef }: UseClickOutsideParams) => void;
12
- export {};