azamat-ui-kit-cli 0.3.3 → 0.3.12
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 +18 -6
- package/dist/index.cjs +84 -84
- package/package.json +1 -1
- package/vendor/src/components/data-table/data-table-pagination.tsx +2 -2
- package/vendor/src/components/data-table/data-table-toolbar.tsx +6 -6
- package/vendor/src/components/data-table/data-table.tsx +29 -25
- package/vendor/src/components/display/entity-card.tsx +4 -4
- package/vendor/src/components/display/metric-card.tsx +4 -4
- package/vendor/src/components/form/form-date-input.tsx +22 -16
- package/vendor/src/components/form/form-number-input.tsx +19 -13
- package/vendor/src/components/form/form-phone-input.tsx +13 -12
- package/vendor/src/components/form/form-search-input.tsx +22 -16
- package/vendor/src/components/inputs/clearable-input.tsx +9 -9
- package/vendor/src/components/inputs/input-decorator.tsx +20 -20
- package/vendor/src/components/navigation/pagination.tsx +4 -4
- package/vendor/src/components/overlay/sheet-shell.tsx +6 -6
- package/vendor/src/components/patterns/entity-details.tsx +4 -4
- package/vendor/src/components/ui/badge.tsx +21 -22
- package/vendor/src/components/ui/button.tsx +32 -32
- package/vendor/src/components/ui/card.tsx +11 -11
- package/vendor/src/components/ui/checkbox.tsx +1 -1
- package/vendor/src/components/ui/dialog.tsx +7 -7
- package/vendor/src/components/ui/dropdown-menu.tsx +6 -6
- package/vendor/src/components/ui/hover-card.tsx +5 -5
- package/vendor/src/components/ui/input-primitive.tsx +1 -1
- package/vendor/src/components/ui/popover.tsx +1 -1
- package/vendor/src/components/ui/select.tsx +3 -3
- package/vendor/src/components/ui/switch.tsx +2 -2
- package/vendor/src/components/ui/table.tsx +12 -5
- package/vendor/src/components/ui/tabs.tsx +2 -2
- package/vendor/src/components/ui/tooltip.tsx +5 -5
- package/vendor/src/families/member-metadata.ts +6 -6
- package/vendor/src/families/member-snippets.ts +2 -2
- package/vendor/src/index.ts +20 -18
package/README.md
CHANGED
|
@@ -1,19 +1,31 @@
|
|
|
1
1
|
# azamat-ui-kit-cli
|
|
2
2
|
|
|
3
|
-
CLI
|
|
3
|
+
Source-copy CLI for Azamat UI Kit.
|
|
4
4
|
|
|
5
|
-
Use this
|
|
5
|
+
Use this package to copy editable component source into a Next.js or Vite project. Normal app usage does not require `npm install azamat-ui-kit`.
|
|
6
|
+
|
|
7
|
+
## Next.js
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
10
|
npx azamat-ui-kit-cli init --template next --defaults
|
|
9
11
|
npx azamat-ui-kit-cli add button input data-table
|
|
10
12
|
```
|
|
11
13
|
|
|
12
|
-
Vite
|
|
14
|
+
## Vite
|
|
13
15
|
|
|
14
16
|
```bash
|
|
15
|
-
npm install -D azamat-ui-kit-cli
|
|
16
|
-
npm install azamat-ui-kit
|
|
17
17
|
npx azamat-ui-kit-cli init --template vite --defaults
|
|
18
|
-
npx azamat-ui-kit-cli add button
|
|
18
|
+
npx azamat-ui-kit-cli add button input data-table
|
|
19
19
|
```
|
|
20
|
+
|
|
21
|
+
## Commands
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npx azamat-ui-kit-cli list
|
|
25
|
+
npx azamat-ui-kit-cli add button input card
|
|
26
|
+
npx azamat-ui-kit-cli preset minimal
|
|
27
|
+
npx azamat-ui-kit-cli preset dashboard
|
|
28
|
+
npx azamat-ui-kit-cli theme src/index.css
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
The CLI installs only third-party dependencies required by the copied source files.
|