@mijn-ui/react-card 0.0.10 → 0.0.11
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.d.ts +2 -3
- package/dist/index.js +6 -5
- package/dist/metafile-esm.json +1 -1
- package/package.json +11 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import { CardSlots } from '@mijn-ui/react-theme';
|
|
3
|
+
import { UnstyledComponentWithSlots, CardSlots, UnstyledProps } from '@mijn-ui/react-theme';
|
|
5
4
|
|
|
6
5
|
type CardBaseProps = UnstyledComponentWithSlots<CardSlots>;
|
|
7
6
|
type CardProps = React.ComponentProps<"div"> & CardBaseProps;
|
|
@@ -17,4 +16,4 @@ declare const CardContent: ({ className, unstyled, ...props }: CardContentProps)
|
|
|
17
16
|
type CardFooterProps = React.ComponentPropsWithRef<"div"> & UnstyledProps;
|
|
18
17
|
declare const CardFooter: ({ className, unstyled, ...props }: CardFooterProps) => react_jsx_runtime.JSX.Element;
|
|
19
18
|
|
|
20
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
19
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle };
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
|
|
3
3
|
// src/card.tsx
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
createTVUnstyledSlots
|
|
7
|
-
} from "@mijn-ui/react-core";
|
|
8
|
-
import { cardStyles } from "@mijn-ui/react-theme";
|
|
4
|
+
import { createTVUnstyledSlots } from "@mijn-ui/react-core";
|
|
9
5
|
import { useTVUnstyled } from "@mijn-ui/react-hooks";
|
|
6
|
+
import {
|
|
7
|
+
cardStyles,
|
|
8
|
+
cn
|
|
9
|
+
} from "@mijn-ui/react-theme";
|
|
10
|
+
import { createContext } from "@mijn-ui/react-utilities";
|
|
10
11
|
import { jsx } from "react/jsx-runtime";
|
|
11
12
|
var [CardProvider, useCardContext] = createContext({
|
|
12
13
|
name: "CardContext",
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/card.tsx":{"bytes":
|
|
1
|
+
{"inputs":{"src/card.tsx":{"bytes":5249,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"@mijn-ui/react-hooks","kind":"import-statement","external":true},{"path":"@mijn-ui/react-theme","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities","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":"@mijn-ui/react-hooks","kind":"import-statement","external":true},{"path":"@mijn-ui/react-theme","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["Card","CardContent","CardDescription","CardFooter","CardHeader","CardTitle"],"entryPoint":"src/index.ts","inputs":{"src/card.tsx":{"bytesInOutput":2558},"src/index.ts":{"bytesInOutput":0}},"bytes":2668}}}
|
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.0.
|
|
4
|
+
"version": "0.0.11",
|
|
5
5
|
"homepage": "https://mijn-ui.vercel.app",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -22,24 +22,26 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"react": "19.0.0",
|
|
24
24
|
"react-dom": "19.0.0",
|
|
25
|
+
"react-icons": "^5.3.0",
|
|
25
26
|
"@types/react": "^19.0.0",
|
|
26
27
|
"@types/react-dom": "^19.0.0",
|
|
27
28
|
"@next/eslint-plugin-next": "^15.0.3",
|
|
28
|
-
"@mijn-ui/react-
|
|
29
|
-
"@mijn-ui/react-
|
|
29
|
+
"@mijn-ui/react-button": "0.0.13",
|
|
30
|
+
"@mijn-ui/react-core": "0.0.4",
|
|
31
|
+
"@mijn-ui/react-theme": "0.0.9",
|
|
32
|
+
"tsup-config": "0.0.0",
|
|
30
33
|
"eslint-config-custom": "0.0.1",
|
|
31
|
-
"tsconfig": "0.0.0"
|
|
32
|
-
"tsup-config": "0.0.0"
|
|
34
|
+
"tsconfig": "0.0.0"
|
|
33
35
|
},
|
|
34
36
|
"dependencies": {
|
|
35
|
-
"@mijn-ui/react-hooks": "0.0.
|
|
36
|
-
"@mijn-ui/react-utilities": "0.0.
|
|
37
|
+
"@mijn-ui/react-hooks": "0.0.11",
|
|
38
|
+
"@mijn-ui/react-utilities": "0.0.9"
|
|
37
39
|
},
|
|
38
40
|
"peerDependencies": {
|
|
39
41
|
"react": "^19.0",
|
|
40
42
|
"react-dom": "^19.0",
|
|
41
|
-
"@mijn-ui/react-theme": "^0.0.
|
|
42
|
-
"@mijn-ui/react-core": "^0.0.
|
|
43
|
+
"@mijn-ui/react-theme": "^0.0.9",
|
|
44
|
+
"@mijn-ui/react-core": "^0.0.4"
|
|
43
45
|
},
|
|
44
46
|
"publishConfig": {
|
|
45
47
|
"access": "public"
|