arxatec-ui 0.1.7 → 0.1.8
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/styles.css +3 -1
- package/package.json +2 -2
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`.
|
package/dist/styles.css
CHANGED
|
@@ -819,4 +819,6 @@
|
|
|
819
819
|
float: left;
|
|
820
820
|
height: 0;
|
|
821
821
|
pointer-events: none;
|
|
822
|
-
}
|
|
822
|
+
}
|
|
823
|
+
._wrapper_tnenm_2 .ProseMirror{max-width:none;min-height:0;font-size:.875rem;line-height:1rem;font-family:var(--font-sans);background:0 0;outline:none;margin:0;padding:.375rem .75rem}._wrapper_tnenm_2{min-height:2.5rem}._wrapper_tnenm_2 .ProseMirror p,._wrapper_tnenm_2 .ProseMirror li,._wrapper_tnenm_2 .ProseMirror blockquote,._wrapper_tnenm_2 .ProseMirror code,._wrapper_tnenm_2 .ProseMirror strong,._wrapper_tnenm_2 .ProseMirror em,._wrapper_tnenm_2 .ProseMirror u{margin:.5rem 0;font-size:.8rem;line-height:1rem}._wrapper_tnenm_2 .ProseMirror h1{margin:.375rem 0 .25rem;font-size:1.125rem;font-weight:600;line-height:1.35}._wrapper_tnenm_2 .ProseMirror h2{margin:.375rem 0 .25rem;font-size:1.05rem;font-weight:600;line-height:1.35}._wrapper_tnenm_2 .ProseMirror h3{margin:.35rem 0 .2rem;font-size:.95rem;font-weight:600;line-height:1.3}._wrapper_tnenm_2 .ProseMirror h4{margin:.3rem 0 .15rem;font-size:.875rem;font-weight:600;line-height:1.3}._wrapper_tnenm_2 .ProseMirror h5,._wrapper_tnenm_2 .ProseMirror h6{margin:.25rem 0;font-size:.875rem;font-weight:600;line-height:1.25}._wrapper_tnenm_2 .ProseMirror p{margin:.125rem 0}._wrapper_tnenm_2 .ProseMirror ul,._wrapper_tnenm_2 .ProseMirror ol{margin:.25rem 0;padding-left:1.25rem}._wrapper_tnenm_2 .ProseMirror li{margin:0}._wrapper_tnenm_2 .ProseMirror blockquote{border-left-width:2px;margin:.25rem 0;padding-left:.75rem}._wrapper_tnenm_2 .ProseMirror code{font-size:.8125rem}._wrapper_tnenm_2 .ProseMirror .is-description-editor-empty:before{content:attr(data-placeholder);float:left;pointer-events:none;height:0;color:var(--color-muted-foreground);font-size:.8rem}
|
|
824
|
+
/*$vite$:1*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arxatec-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "React component library for building Arxatec product UIs—built on established ecosystem libraries for a consistent, efficient workflow. More at https://arxatec.net.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"scripts": {
|
|
61
61
|
"dev": "vite",
|
|
62
62
|
"build": "tsc -b tsconfig.build.json && vite build",
|
|
63
|
-
"build:lib": "vite build --config vite.lib.config.ts && node
|
|
63
|
+
"build:lib": "vite build --config vite.lib.config.ts && node scripts/merge-lib-styles.mjs",
|
|
64
64
|
"prepublishOnly": "npm run build:lib",
|
|
65
65
|
"lint": "eslint .",
|
|
66
66
|
"preview": "vite preview",
|