arxatec-ui 0.1.7 → 0.1.9
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 +3 -1
- package/dist/components/rich_text_editor/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2734 -2732
- package/dist/index.js.map +1 -1
- package/dist/sidebar-BFis4wS9.js +560 -0
- package/dist/sidebar-BFis4wS9.js.map +1 -0
- package/dist/sidebar.js +2 -347
- package/dist/styles.css +3 -1
- package/package.json +2 -2
- package/dist/sheet-BAH_9-wM.js +0 -222
- package/dist/sheet-BAH_9-wM.js.map +0 -1
- package/dist/sidebar.js.map +0 -1
package/README.md
CHANGED
|
@@ -31,6 +31,8 @@ import "arxatec-ui/styles.css";
|
|
|
31
31
|
|
|
32
32
|
That CSS uses Tailwind v4 features (`@import "tailwindcss"`, `@theme`, etc.). Your build **must process** it with Tailwind (serving the raw file without compiling is not enough).
|
|
33
33
|
|
|
34
|
+
The same stylesheet **also appends** CSS extracted from the library build (TipTap / `RichTextEditor`, hashed classes from **CSS modules** such as `DescriptionMarkdownEditor`, etc.). You do **not** import those files separately; `arxatec-ui/styles.css` is the one entry for consumers.
|
|
35
|
+
|
|
34
36
|
### Vite + Tailwind v4
|
|
35
37
|
|
|
36
38
|
1. Install Tailwind and the official Vite plugin:
|
|
@@ -87,7 +89,7 @@ Patterns follow **shadcn**-style APIs (compound components with named exports).
|
|
|
87
89
|
|
|
88
90
|
### Components (overview)
|
|
89
91
|
|
|
90
|
-
- **Forms & text:** `Button`, `Input`, `Textarea`, `Label`, `Checkbox`, `RadioGroup`, `Select`, `Slider`, `Toggle`, `InputOTP`, `FileDropZone`, `LocationInput`, `DateRangePicker`, `Calendar`, `AsyncSelect`, and more.
|
|
92
|
+
- **Forms & text:** `Button`, `Input`, `Textarea`, `Label`, `Checkbox`, `RadioGroup`, `Select`, `Slider`, `Toggle`, `InputOTP`, `FileDropZone`, `LocationInput`, `DateRangePicker`, `Calendar`, `AsyncSelect`, `DescriptionMarkdownEditor`, `RichTextEditor`, and more.
|
|
91
93
|
- **Surfaces & navigation:** `Card`, `Dialog`, `Sheet`, `Drawer`, `Popover`, `Tooltip`, `DropdownMenu`, `ContextMenu`, `Tabs`, `Breadcrumb`, `Pagination`, `PaginationController`, `Sidebar`, `Command`, `Collapsible`, and more.
|
|
92
94
|
- **Data & feedback:** `Table`, `Badge`, `Skeleton`, `Progress`, `StatusMessage`, `AsyncBoundary`, `AsyncCommandList`, `Chart`, `Carousel`, and more.
|
|
93
95
|
- **Maps:** `MapView`, `MapPicker`.
|
|
@@ -7,6 +7,7 @@ export interface RichTextEditorRef {
|
|
|
7
7
|
export declare const RichTextEditor: import('react').ForwardRefExoticComponent<{
|
|
8
8
|
className?: string;
|
|
9
9
|
fileId?: string;
|
|
10
|
+
initialContent?: JSONContent;
|
|
10
11
|
/** Si se define, el botón "Guardar" persistirá el documento vía este callback. */
|
|
11
12
|
onSave?: (schema: JSONContent) => Promise<void>;
|
|
12
13
|
onSaveSuccess?: () => void;
|
package/dist/index.d.ts
CHANGED