@usefragments/ui 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +3 -40
package/README.md CHANGED
@@ -18,10 +18,15 @@ pnpm add @usefragments/ui
18
18
  # or: npm install @usefragments/ui
19
19
  ```
20
20
 
21
- Peer dependencies:
21
+ The root export includes the advanced table, editor, markdown, chart, date,
22
+ color, and code components. Their libraries are therefore required peers rather
23
+ than optional peers. npm and pnpm install them automatically by default. If peer
24
+ auto-install is disabled, install the full peer set explicitly:
22
25
 
23
26
  ```bash
24
- npm install react react-dom
27
+ npm install react react-dom @tanstack/react-table @tanstack/react-virtual \
28
+ @tiptap/extension-link @tiptap/react @tiptap/starter-kit date-fns \
29
+ react-colorful react-day-picker react-markdown recharts remark-gfm shiki
25
30
  ```
26
31
 
27
32
  ## Setup
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@usefragments/ui",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "license": "MIT",
5
5
  "description": "Customizable UI components built on Base UI headless primitives",
6
6
  "author": "Conan McNicholl",
7
7
  "homepage": "https://usefragments.com",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "https://github.com/fragments-sdk/ui"
10
+ "url": "https://github.com/fragments-sdk/fragments",
11
+ "directory": "libs/ui"
11
12
  },
12
13
  "type": "module",
13
14
  "main": "dist/index.cjs",
@@ -154,44 +155,6 @@
154
155
  "remark-gfm": ">=4.0.0",
155
156
  "shiki": ">=1.0.0"
156
157
  },
157
- "peerDependenciesMeta": {
158
- "react-markdown": {
159
- "optional": true
160
- },
161
- "recharts": {
162
- "optional": true
163
- },
164
- "remark-gfm": {
165
- "optional": true
166
- },
167
- "react-day-picker": {
168
- "optional": true
169
- },
170
- "date-fns": {
171
- "optional": true
172
- },
173
- "shiki": {
174
- "optional": true
175
- },
176
- "react-colorful": {
177
- "optional": true
178
- },
179
- "@tanstack/react-table": {
180
- "optional": true
181
- },
182
- "@tanstack/react-virtual": {
183
- "optional": true
184
- },
185
- "@tiptap/react": {
186
- "optional": true
187
- },
188
- "@tiptap/starter-kit": {
189
- "optional": true
190
- },
191
- "@tiptap/extension-link": {
192
- "optional": true
193
- }
194
- },
195
158
  "scarfSettings": {
196
159
  "defaultOptIn": true
197
160
  },