@manhphi1309/components 1.1.1 → 1.1.3
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 +11 -1
- package/dist/index.cjs +9 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -3,14 +3,23 @@
|
|
|
3
3
|
The unified, complete React UI library. This master-package aggregates all individual components and utilities into a single, easy-to-install dependency.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
|
+
|
|
6
7
|
```bash
|
|
7
8
|
npm install @manhphi1309/components
|
|
8
9
|
```
|
|
9
10
|
|
|
10
11
|
## Usage
|
|
12
|
+
|
|
11
13
|
Instead of installing individual packages, you can import everything directly from this meta-package:
|
|
14
|
+
|
|
12
15
|
```tsx
|
|
13
|
-
import {
|
|
16
|
+
import {
|
|
17
|
+
Button,
|
|
18
|
+
Input,
|
|
19
|
+
DatePicker,
|
|
20
|
+
Card,
|
|
21
|
+
Tooltip,
|
|
22
|
+
} from "@manhphi1309/components"
|
|
14
23
|
```
|
|
15
24
|
|
|
16
25
|
## Included Components & Subcomponents
|
|
@@ -23,6 +32,7 @@ This master-package bundles the following components and utilities:
|
|
|
23
32
|
- **Card**: `Card`, `CardHeader`, `CardFooter`, `CardTitle`, `CardDescription`, `CardAction`, `CardContent`
|
|
24
33
|
- **Checkbox**: `Checkbox`
|
|
25
34
|
- **DatePicker**: `DatePicker`, `DateRange`
|
|
35
|
+
- **DropdownMenu**: `DropdownMenu`, `DropdownMenuPortal`, `DropdownMenuTrigger`, `DropdownMenuContent`, `DropdownMenuGroup`, `DropdownMenuLabel`, `DropdownMenuItem`, `DropdownMenuCheckboxItem`, `DropdownMenuRadioGroup`, `DropdownMenuRadioItem`, `DropdownMenuSeparator`, `DropdownMenuShortcut`, `DropdownMenuSub`, `DropdownMenuSubTrigger`, `DropdownMenuSubContent`
|
|
26
36
|
- **Field**: `Field`, `FieldLabel`, `FieldDescription`, `FieldError`, `FieldGroup`, `FieldLegend`, `FieldSeparator`, `FieldSet`, `FieldContent`, `FieldTitle`
|
|
27
37
|
- **Form**: `FormWrapper`
|
|
28
38
|
- **Hooks**: `useIsMobile`
|
package/dist/index.cjs
CHANGED
|
@@ -80,6 +80,15 @@ Object.keys(_manhphi1309_date_picker).forEach(function(k) {
|
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
|
+
var _manhphi1309_dropdown_menu = require("@manhphi1309/dropdown-menu");
|
|
84
|
+
Object.keys(_manhphi1309_dropdown_menu).forEach(function(k) {
|
|
85
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
get: function() {
|
|
88
|
+
return _manhphi1309_dropdown_menu[k];
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
});
|
|
83
92
|
var _manhphi1309_field = require("@manhphi1309/field");
|
|
84
93
|
Object.keys(_manhphi1309_field).forEach(function(k) {
|
|
85
94
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
package/dist/index.d.cts
CHANGED
|
@@ -7,6 +7,7 @@ export * from "@manhphi1309/calendar";
|
|
|
7
7
|
export * from "@manhphi1309/card";
|
|
8
8
|
export * from "@manhphi1309/checkbox";
|
|
9
9
|
export * from "@manhphi1309/date-picker";
|
|
10
|
+
export * from "@manhphi1309/dropdown-menu";
|
|
10
11
|
export * from "@manhphi1309/field";
|
|
11
12
|
export * from "@manhphi1309/form";
|
|
12
13
|
export * from "@manhphi1309/hooks";
|
package/dist/index.d.mts
CHANGED
|
@@ -7,6 +7,7 @@ export * from "@manhphi1309/calendar";
|
|
|
7
7
|
export * from "@manhphi1309/card";
|
|
8
8
|
export * from "@manhphi1309/checkbox";
|
|
9
9
|
export * from "@manhphi1309/date-picker";
|
|
10
|
+
export * from "@manhphi1309/dropdown-menu";
|
|
10
11
|
export * from "@manhphi1309/field";
|
|
11
12
|
export * from "@manhphi1309/form";
|
|
12
13
|
export * from "@manhphi1309/hooks";
|
package/dist/index.mjs
CHANGED
|
@@ -8,6 +8,7 @@ export * from "@manhphi1309/calendar";
|
|
|
8
8
|
export * from "@manhphi1309/card";
|
|
9
9
|
export * from "@manhphi1309/checkbox";
|
|
10
10
|
export * from "@manhphi1309/date-picker";
|
|
11
|
+
export * from "@manhphi1309/dropdown-menu";
|
|
11
12
|
export * from "@manhphi1309/field";
|
|
12
13
|
export * from "@manhphi1309/form";
|
|
13
14
|
export * from "@manhphi1309/hooks";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manhphi1309/components",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"main": "./dist/index.cjs",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.cts",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"@manhphi1309/card": "*",
|
|
37
37
|
"@manhphi1309/checkbox": "*",
|
|
38
38
|
"@manhphi1309/date-picker": "*",
|
|
39
|
+
"@manhphi1309/dropdown-menu": "*",
|
|
39
40
|
"@manhphi1309/field": "*",
|
|
40
41
|
"@manhphi1309/form": "*",
|
|
41
42
|
"@manhphi1309/hooks": "*",
|