@particle-academy/react-fancy 4.12.0 → 4.13.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/README.md +5 -4
- package/dist/index.cjs +919 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +269 -4
- package/dist/index.d.ts +269 -4
- package/dist/index.js +919 -2
- package/dist/index.js.map +1 -1
- package/docs/AccordionPanel.md +6 -6
- package/docs/Action.md +3 -82
- package/docs/FileBrowser.md +231 -0
- package/docs/utilities.md +5 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -154,6 +154,7 @@ npx vite build # Build demo app (verifies imports work)
|
|
|
154
154
|
| Navbar | Responsive navigation bar with hamburger collapse | [docs](docs/Navbar.md) |
|
|
155
155
|
| Pagination | Page navigation with prev/next and ellipsis | [docs](docs/Pagination.md) |
|
|
156
156
|
| TreeNav | Hierarchical file/folder tree with expand/collapse, selection, and extension-based icons | [docs](docs/TreeNav.md) |
|
|
157
|
+
| FileBrowser | Remote-capable file/folder browser + directory picker — lazy async provider and/or streamed snapshot tree, breadcrumb + editable path, sorting, name filter | [docs](docs/FileBrowser.md) |
|
|
157
158
|
|
|
158
159
|
### Rich Content
|
|
159
160
|
|
|
@@ -232,9 +233,9 @@ Dark mode works via Tailwind's `dark:` class strategy. The library's `Portal` co
|
|
|
232
233
|
```
|
|
233
234
|
src/
|
|
234
235
|
├── components/ # One directory per component
|
|
235
|
-
│ ├──
|
|
236
|
-
│ │ ├──
|
|
237
|
-
│ │ ├──
|
|
236
|
+
│ ├── Button/
|
|
237
|
+
│ │ ├── Button.tsx # Component implementation
|
|
238
|
+
│ │ ├── Button.types.ts # Props interface
|
|
238
239
|
│ │ └── index.ts # Re-exports
|
|
239
240
|
│ ├── Modal/
|
|
240
241
|
│ │ ├── Modal.tsx # Root + Object.assign compound
|
|
@@ -257,7 +258,7 @@ src/
|
|
|
257
258
|
|
|
258
259
|
- `Size` — `"xs" | "sm" | "md" | "lg" | "xl"`
|
|
259
260
|
- `Color` — Full Tailwind color palette (17 colors)
|
|
260
|
-
- `ButtonColor` —
|
|
261
|
+
- `ButtonColor` — Standalone colors used by `Button` and friends; alias of `Color` (full palette). Deprecated legacy alias: `ActionColor`
|
|
261
262
|
- `Variant` — `"solid" | "outline" | "ghost" | "soft"`
|
|
262
263
|
- `Placement` — `"top" | "bottom" | "left" | "right"` + start/end variants
|
|
263
264
|
|