@mijn-ui/react-card 0.4.1 → 0.4.2
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/dist/index.js +6 -0
- package/dist/metafile-esm.json +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -40,6 +40,7 @@ var Card = ({
|
|
|
40
40
|
return /* @__PURE__ */ jsx(CardProvider, { value: { unstyled, styles, classNames }, children: /* @__PURE__ */ jsx(
|
|
41
41
|
"div",
|
|
42
42
|
{
|
|
43
|
+
"data-slot": "card",
|
|
43
44
|
className: base({
|
|
44
45
|
className: cn(classNames?.base, className)
|
|
45
46
|
}),
|
|
@@ -52,6 +53,7 @@ var CardHeader = ({ className, unstyled, ...props }) => {
|
|
|
52
53
|
return /* @__PURE__ */ jsx(
|
|
53
54
|
"div",
|
|
54
55
|
{
|
|
56
|
+
"data-slot": "card-header",
|
|
55
57
|
className: header({
|
|
56
58
|
className: cn(classNames?.header, className)
|
|
57
59
|
}),
|
|
@@ -64,6 +66,7 @@ var CardTitle = ({ className, unstyled, ...props }) => {
|
|
|
64
66
|
return /* @__PURE__ */ jsx(
|
|
65
67
|
"div",
|
|
66
68
|
{
|
|
69
|
+
"data-slot": "card-title",
|
|
67
70
|
className: title({
|
|
68
71
|
className: cn(classNames?.title, className)
|
|
69
72
|
}),
|
|
@@ -80,6 +83,7 @@ var CardDescription = ({
|
|
|
80
83
|
return /* @__PURE__ */ jsx(
|
|
81
84
|
"div",
|
|
82
85
|
{
|
|
86
|
+
"data-slot": "card-description",
|
|
83
87
|
className: description({
|
|
84
88
|
className: cn(classNames?.description, className)
|
|
85
89
|
}),
|
|
@@ -92,6 +96,7 @@ var CardContent = ({ className, unstyled, ...props }) => {
|
|
|
92
96
|
return /* @__PURE__ */ jsx(
|
|
93
97
|
"div",
|
|
94
98
|
{
|
|
99
|
+
"data-slot": "card-content",
|
|
95
100
|
className: content({
|
|
96
101
|
className: cn(classNames?.content, className)
|
|
97
102
|
}),
|
|
@@ -104,6 +109,7 @@ var CardFooter = ({ className, unstyled, ...props }) => {
|
|
|
104
109
|
return /* @__PURE__ */ jsx(
|
|
105
110
|
"div",
|
|
106
111
|
{
|
|
112
|
+
"data-slot": "card-footer",
|
|
107
113
|
className: footer({
|
|
108
114
|
className: cn(classNames?.footer, className)
|
|
109
115
|
}),
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/card.tsx":{"bytes":
|
|
1
|
+
{"inputs":{"src/card.tsx":{"bytes":5955,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":23,"imports":[{"path":"src/card.tsx","kind":"import-statement","original":"./card"}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["Card","CardContent","CardDescription","CardFooter","CardHeader","CardTitle","cardStyles","useCardStyles"],"entryPoint":"src/index.ts","inputs":{"src/card.tsx":{"bytesInOutput":3030},"src/index.ts":{"bytesInOutput":0}},"bytes":3186}}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mijn-ui/react-card",
|
|
3
3
|
"author": "Htet Aung Lin<htetaunglin.coder@gmail.com>",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.2",
|
|
5
5
|
"homepage": "https://mijn-ui.vercel.app",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"@next/eslint-plugin-next": "^15.0.3",
|
|
24
24
|
"@types/react": "^19.0.0",
|
|
25
25
|
"@types/react-dom": "^19.0.0",
|
|
26
|
-
"react": "19.0.
|
|
27
|
-
"react-dom": "19.0.
|
|
28
|
-
"@mijn-ui/react-button": "0.5.
|
|
26
|
+
"react": "19.0.1",
|
|
27
|
+
"react-dom": "19.0.1",
|
|
28
|
+
"@mijn-ui/react-button": "0.5.2",
|
|
29
29
|
"@mijn-ui/react-core": "0.5.0",
|
|
30
30
|
"eslint-config-custom": "0.0.1",
|
|
31
31
|
"tsconfig": "0.0.0",
|