jy-headless 0.2.17 → 0.2.18

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,35 +1,22 @@
1
1
  {
2
2
  "name": "jy-headless",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "description": "A lightweight and customizable headless UI library for React components",
5
- "main": "dist/index.js",
6
- "module": "dist/index.js",
7
- "types": "dist/index.d.ts",
5
+ "license": "MIT",
8
6
  "repository": "https://github.com/yCZwIqY/jy-headless",
9
- "scripts": {
10
- "build": " rollup -c",
11
- "build-publish": "npm run build && npm publish",
12
- "storybook": "storybook dev -p 6006",
13
- "build-storybook": "storybook build"
14
- },
15
- "files": [
16
- "dist"
17
- ],
7
+ "main": "./cjs/index.js",
8
+ "module": "./index.js",
9
+ "types": "./index.d.ts",
18
10
  "exports": {
19
11
  ".": {
20
- "import": "./dist/index.js",
21
- "require": "./dist/cjs/index.js",
22
- "types": "./dist/index.d.ts"
23
- },
24
- "./buttons": {
25
- "import": "./buttons/index.js",
26
- "require": "./cjs/buttons/index.js",
27
- "types": "./types/buttons/index.d.ts"
12
+ "import": "./index.js",
13
+ "require": "./cjs/index.js",
14
+ "types": "./index.d.ts"
28
15
  },
29
- "./buttons/Button": {
30
- "import": "./buttons/Button/Button.js",
31
- "require": "./cjs/buttons/Button/Button.js",
32
- "types": "./types/buttons/Button/Button.d.ts"
16
+ "./cjs": {
17
+ "import": "./cjs/index.js",
18
+ "require": "./cjs/cjs/index.js",
19
+ "types": "./cjs/index.d.ts"
33
20
  }
34
21
  },
35
22
  "keywords": [
@@ -39,52 +26,5 @@
39
26
  "ui-library",
40
27
  "tailwind",
41
28
  "storybook"
42
- ],
43
- "author": "",
44
- "license": "MIT",
45
- "type": "module",
46
- "devDependencies": {
47
- "@babel/core": "^7.26.10",
48
- "@babel/preset-env": "^7.26.7",
49
- "@babel/preset-react": "^7.26.3",
50
- "@chromatic-com/storybook": "3.2.4",
51
- "@rollup/plugin-babel": "^6.0.4",
52
- "@rollup/plugin-commonjs": "^28.0.2",
53
- "@rollup/plugin-node-resolve": "^16.0.0",
54
- "@storybook/addon-essentials": "^8.5.1",
55
- "@storybook/addon-interactions": "^8.5.1",
56
- "@storybook/addon-onboarding": "^8.5.1",
57
- "@storybook/addon-postcss": "^2.0.0",
58
- "@storybook/blocks": "^8.5.1",
59
- "@storybook/react": "^8.5.1",
60
- "@storybook/react-vite": "^8.5.1",
61
- "@storybook/test": "^8.5.1",
62
- "@testing-library/jest-dom": "^6.6.3",
63
- "@testing-library/react": "^16.2.0",
64
- "@types/jest": "^29.5.14",
65
- "@types/react": "^19.0.7",
66
- "@types/react-dom": "^19.0.3",
67
- "babel-jest": "^29.7.0",
68
- "chromatic": "^11.25.1",
69
- "jest": "^29.7.0",
70
- "jest-environment-jsdom": "^29.7.0",
71
- "postcss": "^8.5.1",
72
- "prettier": "^3.4.2",
73
- "react": "^19.0.0",
74
- "react-dom": "^19.0.0",
75
- "rollup": "^4.31.0",
76
- "rollup-plugin-postcss": "^4.0.2",
77
- "rollup-plugin-typescript2": "^0.36.0",
78
- "storybook": "^8.5.1",
79
- "ts-jest": "^29.2.5",
80
- "typescript": "^5.7.3"
81
- },
82
- "dependencies": {
83
- "rollup-plugin-peer-deps-external": "^2.2.4",
84
- "tslib": "^2.8.1"
85
- },
86
- "peerDependencies": {
87
- "react": "^18.0.0 || ^19.0.0",
88
- "react-dom": "^18.0.0 || ^19.0.0"
89
- }
90
- }
29
+ ]
30
+ }
package/version.txt ADDED
@@ -0,0 +1 @@
1
+ 0.2.18
package/README.md DELETED
@@ -1,77 +0,0 @@
1
- # jy-headless
2
-
3
- jy-headless는 React용으로 설계된 현대적이고 경량화된 커스터마이즈 가능한 Headless UI 컴포넌트 라이브러리입니다. 다양한 컴포넌트를 제공하며, 이를 쉽게 스타일링하고 React 애플리케이션에
4
- 통합할 수 있습니다. 이 라이브러리는 접근성에 최적화된 비스타일링 컴포넌트를 제공하여, 자신만의 디자인을 만들 수 있도록 돕습니다.
5
-
6
- ## 특징
7
-
8
- - 모듈형 컴포넌트: 버튼, 입력, 모달, 스피너 등 다양한 필수 UI 컴포넌트 제공
9
- - 완전한 커스터마이징 가능: 컴포넌트에 스타일이 적용되지 않아 Tailwind CSS, styled-components 등 원하는 스타일링 방식으로 자유롭게 꾸밀 수 있습니다.
10
- - TypeScript 지원: TypeScript로 구축되어 개발자 경험과 타입 안전성이 향상되었습니다.
11
- - 성능 최적화: Rollup을 사용하여 트리 쉐이킹과 최적화된 번들 사이즈를 구현
12
-
13
- ## 컴포넌트
14
-
15
- - Button
16
- - Input
17
- - ImageInput
18
- - Spinner
19
- - Radio
20
- - RadioInput
21
- - RadioGroup
22
- - Checkbox
23
- - Checkbox(Single)
24
- - CheckboxList
25
- - Modal
26
- - Tab
27
- - Accordion
28
- Dropdown
29
- - Icons
30
- - CallIcon
31
- - CloseIcon
32
- - SearchIcon
33
- - HomeIcon
34
- - SearchIcon
35
- - DownArrowIcon
36
- - UpArrowIcon
37
- - ImageIcon
38
- - ImagePlusIcon
39
-
40
- ## Storybook
41
-
42
- [Storybook Demo](https://6795bdd4b570ec0f79b87452-vxalvntppc.chromatic.com)에서 `jy-headless` 라이브러리의 컴포넌트들을 실시간으로 확인할 수 있습니다.
43
-
44
- ## 설치
45
-
46
- ```bash
47
- npm install jy-headless
48
- # 또는
49
- pnpm install jy-headless
50
- # 또는
51
- yarn add jy-headless
52
- ```
53
-
54
- ## 사용법
55
-
56
- 컴포넌트를 아래와 같이 import하여 사용할 수 있습니다:
57
-
58
- ```jsx
59
- import { Button, Input, Modal } from 'jy-headless';
60
-
61
- const App = () => (
62
- <div>
63
- <Button onClick={() => alert('Button clicked!')}>클릭하세요</Button>
64
- <Input placeholder="무언가를 입력하세요..." />
65
- <Modal isOpen={true} opener={<Button>open dialog</Button>}>
66
- <Modal.Overlay>
67
- <h3>모달입니다</h3>
68
- <Modal.Close></Modal.Close>
69
- </Modal.Overlay>
70
- </Modal>
71
- </div>
72
- );
73
- ```
74
-
75
- ## 라이선스
76
-
77
- MIT
package/dist/package.json DELETED
@@ -1,30 +0,0 @@
1
- {
2
- "name": "jy-headless",
3
- "version": "0.2.16",
4
- "description": "A lightweight and customizable headless UI library for React components",
5
- "license": "MIT",
6
- "repository": "https://github.com/yCZwIqY/jy-headless",
7
- "main": "./cjs/index.js",
8
- "module": "./index.js",
9
- "types": "./index.d.ts",
10
- "exports": {
11
- ".": {
12
- "import": "./index.js",
13
- "require": "./cjs/index.js",
14
- "types": "./index.d.ts"
15
- },
16
- "./cjs": {
17
- "import": "./cjs/index.js",
18
- "require": "./cjs/cjs/index.js",
19
- "types": "./cjs/index.d.ts"
20
- }
21
- },
22
- "keywords": [
23
- "react",
24
- "headless-ui",
25
- "react-components",
26
- "ui-library",
27
- "tailwind",
28
- "storybook"
29
- ]
30
- }
package/dist/version.txt DELETED
@@ -1 +0,0 @@
1
- 0.2.16
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes