@choice-ui/react 1.7.7 → 1.8.0
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/components/emoji-picker/dist/index.d.ts +29 -1
- package/dist/components/emoji-picker/dist/index.js +144 -42
- package/dist/components/emoji-picker/src/components/emoji-empty.d.ts +4 -0
- package/dist/components/emoji-picker/src/components/emoji-empty.js +9 -3
- package/dist/components/emoji-picker/src/components/emoji-footer.d.ts +4 -1
- package/dist/components/emoji-picker/src/components/emoji-footer.js +11 -3
- package/dist/components/emoji-picker/src/emoji-picker.d.ts +16 -0
- package/dist/components/emoji-picker/src/emoji-picker.js +59 -19
- package/dist/components/emoji-picker/src/hooks/index.d.ts +1 -1
- package/dist/components/emoji-picker/src/hooks/use-emoji-data.d.ts +13 -10
- package/dist/components/emoji-picker/src/hooks/use-emoji-data.js +41 -13
- package/dist/components/emoji-picker/src/hooks/use-emoji-scroll.js +24 -3
- package/dist/components/emoji-picker/src/tv.js +1 -1
- package/dist/components/icon-button/dist/index.d.ts +1 -1
- package/dist/components/icon-button/dist/index.js +29 -0
- package/dist/components/icon-button/src/icon-button.d.ts +1 -1
- package/dist/components/icon-button/src/tv.d.ts +9 -0
- package/dist/components/icon-button/src/tv.js +29 -0
- package/dist/components/textarea/dist/index.js +3 -1
- package/dist/components/tooltip/dist/index.d.ts +2 -0
- package/dist/components/tooltip/dist/index.js +23 -5
- package/dist/components/tooltip/src/components/tooltip-content.js +20 -4
- package/dist/components/tooltip/src/tooltip.js +3 -1
- package/dist/components/tooltip/src/types.d.ts +3 -0
- package/dist/components/virtual-select/dist/index.d.ts +48 -0
- package/dist/styles/components.css +15 -0
- package/package.json +20 -32
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@choice-ui/react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "A desktop-first React UI component library built for professional desktop applications with comprehensive documentation",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"source": "./app/index.ts",
|
|
8
8
|
"main": "./dist/index.js",
|
|
9
|
-
"types": "./
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
10
|
"files": [
|
|
11
11
|
"dist",
|
|
12
12
|
"README.md",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|
|
17
|
-
"types": "./
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
18
|
"import": "./dist/index.js"
|
|
19
19
|
},
|
|
20
20
|
"./styles/*": "./dist/styles/*",
|
|
@@ -22,36 +22,10 @@
|
|
|
22
22
|
"./llms.txt": "./dist/llms.txt"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
|
-
"access": "public"
|
|
26
|
-
"types": "./dist/index.d.ts",
|
|
27
|
-
"main": "./dist/index.js",
|
|
28
|
-
"exports": {
|
|
29
|
-
".": {
|
|
30
|
-
"types": "./dist/index.d.ts",
|
|
31
|
-
"import": "./dist/index.js"
|
|
32
|
-
},
|
|
33
|
-
"./styles/*": "./dist/styles/*",
|
|
34
|
-
"./tailwind.css": "./dist/tailwind.css",
|
|
35
|
-
"./llms.txt": "./dist/llms.txt"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"scripts": {
|
|
39
|
-
"build": "pnpm run clean && pnpm --filter @choice-ui/shared build && vite build",
|
|
40
|
-
"build:watch": "vite build --watch",
|
|
41
|
-
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
|
|
42
|
-
"lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
|
|
43
|
-
"lint:types": "tsc",
|
|
44
|
-
"clean": "rimraf dist",
|
|
45
|
-
"prepublishOnly": "pnpm run build",
|
|
46
|
-
"plop": "pnpm dlx plop",
|
|
47
|
-
"test": "jest",
|
|
48
|
-
"test:watch": "jest --watch",
|
|
49
|
-
"test:coverage": "jest --coverage",
|
|
50
|
-
"madge": "npx madge --circular --extensions ts app/"
|
|
25
|
+
"access": "public"
|
|
51
26
|
},
|
|
52
27
|
"dependencies": {
|
|
53
28
|
"@choiceform/icons-react": "^1.3.8",
|
|
54
|
-
"@choice-ui/design-tokens": "workspace:*",
|
|
55
29
|
"classnames": "^2.5.1",
|
|
56
30
|
"tailwind-merge": "^3.3.1",
|
|
57
31
|
"tailwind-variants": "^3.1.0",
|
|
@@ -85,7 +59,8 @@
|
|
|
85
59
|
"remark-breaks": "^4.0.0",
|
|
86
60
|
"remark-math": "^6.0.0",
|
|
87
61
|
"harden-react-markdown": "^1.0.4",
|
|
88
|
-
"shiki": "^3.9.2"
|
|
62
|
+
"shiki": "^3.9.2",
|
|
63
|
+
"@choice-ui/design-tokens": "0.2.13"
|
|
89
64
|
},
|
|
90
65
|
"devDependencies": {
|
|
91
66
|
"@babel/core": "^7.27.1",
|
|
@@ -136,5 +111,18 @@
|
|
|
136
111
|
"peerDependencies": {
|
|
137
112
|
"react": ">=18.0.0",
|
|
138
113
|
"react-dom": ">=18.0.0"
|
|
114
|
+
},
|
|
115
|
+
"scripts": {
|
|
116
|
+
"build": "pnpm run clean && pnpm --filter @choice-ui/shared build && vite build",
|
|
117
|
+
"build:watch": "vite build --watch",
|
|
118
|
+
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
|
|
119
|
+
"lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
|
|
120
|
+
"lint:types": "tsc",
|
|
121
|
+
"clean": "rimraf dist",
|
|
122
|
+
"plop": "pnpm dlx plop",
|
|
123
|
+
"test": "jest",
|
|
124
|
+
"test:watch": "jest --watch",
|
|
125
|
+
"test:coverage": "jest --coverage",
|
|
126
|
+
"madge": "npx madge --circular --extensions ts app/"
|
|
139
127
|
}
|
|
140
|
-
}
|
|
128
|
+
}
|