azamat-ui-kit-cli 0.3.4 → 0.3.13

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 (35) hide show
  1. package/README.md +18 -6
  2. package/dist/index.cjs +84 -84
  3. package/package.json +1 -1
  4. package/vendor/src/components/data-table/data-table-pagination.tsx +2 -2
  5. package/vendor/src/components/data-table/data-table-toolbar.tsx +6 -6
  6. package/vendor/src/components/data-table/data-table.tsx +29 -25
  7. package/vendor/src/components/display/entity-card.tsx +4 -4
  8. package/vendor/src/components/display/metric-card.tsx +4 -4
  9. package/vendor/src/components/form/form-date-input.tsx +22 -16
  10. package/vendor/src/components/form/form-number-input.tsx +19 -13
  11. package/vendor/src/components/form/form-phone-input.tsx +13 -12
  12. package/vendor/src/components/form/form-search-input.tsx +22 -16
  13. package/vendor/src/components/inputs/clearable-input.tsx +9 -9
  14. package/vendor/src/components/inputs/input-decorator.tsx +20 -20
  15. package/vendor/src/components/layout/public.ts +12 -12
  16. package/vendor/src/components/navigation/pagination.tsx +4 -4
  17. package/vendor/src/components/overlay/sheet-shell.tsx +6 -6
  18. package/vendor/src/components/patterns/entity-details.tsx +4 -4
  19. package/vendor/src/components/ui/badge.tsx +21 -22
  20. package/vendor/src/components/ui/button.tsx +32 -32
  21. package/vendor/src/components/ui/card.tsx +11 -11
  22. package/vendor/src/components/ui/checkbox.tsx +1 -1
  23. package/vendor/src/components/ui/dialog.tsx +7 -7
  24. package/vendor/src/components/ui/dropdown-menu.tsx +6 -6
  25. package/vendor/src/components/ui/hover-card.tsx +5 -5
  26. package/vendor/src/components/ui/input-primitive.tsx +1 -1
  27. package/vendor/src/components/ui/popover.tsx +1 -1
  28. package/vendor/src/components/ui/select.tsx +3 -3
  29. package/vendor/src/components/ui/switch.tsx +2 -2
  30. package/vendor/src/components/ui/table.tsx +12 -5
  31. package/vendor/src/components/ui/tabs.tsx +2 -2
  32. package/vendor/src/components/ui/tooltip.tsx +5 -5
  33. package/vendor/src/families/member-metadata.ts +6 -6
  34. package/vendor/src/families/member-snippets.ts +2 -2
  35. 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 package for `azamat-ui-kit`.
3
+ Source-copy CLI for Azamat UI Kit.
4
4
 
5
- Use this CLI for the preferred source-copy workflow.
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 uchun:
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 form-input
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.