@jamsrui/card 0.0.8 → 0.0.9
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/card-config.d.mts +0 -1
- package/dist/card-context.d.mts +0 -1
- package/dist/card.d.mts +0 -1
- package/dist/index.d.mts +0 -1
- package/dist/styles.d.mts +4 -5
- package/dist/styles.mjs +1 -1
- package/dist/use-card.d.mts +0 -1
- package/package.json +5 -5
package/dist/card-config.d.mts
CHANGED
|
@@ -11,7 +11,6 @@ import '@jamsrui/utils';
|
|
|
11
11
|
import './card-header-content.mjs';
|
|
12
12
|
import 'react';
|
|
13
13
|
import './styles.mjs';
|
|
14
|
-
import 'tailwind-variants';
|
|
15
14
|
|
|
16
15
|
declare const useCardConfig: () => CardConfig.Props;
|
|
17
16
|
declare const CardConfig: (props: Omit<Partial<CardConfig.Props>, "children"> & {
|
package/dist/card-context.d.mts
CHANGED
|
@@ -10,7 +10,6 @@ import './card-header.mjs';
|
|
|
10
10
|
import './card-header-content.mjs';
|
|
11
11
|
import './card-title.mjs';
|
|
12
12
|
import './styles.mjs';
|
|
13
|
-
import 'tailwind-variants';
|
|
14
13
|
|
|
15
14
|
declare const CardContextProvider: (props: CardContext.Props) => react_jsx_runtime.JSX.Element;
|
|
16
15
|
declare const useCardContext: () => CardContext.Type;
|
package/dist/card.d.mts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/styles.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _jamsrui_utils from '@jamsrui/utils';
|
|
2
2
|
import { VariantProps } from '@jamsrui/utils';
|
|
3
3
|
|
|
4
|
-
declare const
|
|
5
|
-
declare const cardVariants: tailwind_variants.TVReturnType<{
|
|
4
|
+
declare const cardVariants: _jamsrui_utils.TVReturnType<{
|
|
6
5
|
bg: {
|
|
7
6
|
default: {
|
|
8
7
|
root: string;
|
|
@@ -68,7 +67,7 @@ declare const cardVariants: tailwind_variants.TVReturnType<{
|
|
|
68
67
|
description: string;
|
|
69
68
|
footer: string;
|
|
70
69
|
content: string;
|
|
71
|
-
},
|
|
70
|
+
}, _jamsrui_utils.TVReturnType<{
|
|
72
71
|
bg: {
|
|
73
72
|
default: {
|
|
74
73
|
root: string;
|
|
@@ -105,4 +104,4 @@ declare const cardVariants: tailwind_variants.TVReturnType<{
|
|
|
105
104
|
type CardVariants = VariantProps<typeof cardVariants>;
|
|
106
105
|
type CardSlots = keyof ReturnType<typeof cardVariants>;
|
|
107
106
|
|
|
108
|
-
export { type CardSlots, type CardVariants, cardVariants
|
|
107
|
+
export { type CardSlots, type CardVariants, cardVariants };
|
package/dist/styles.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{radiusVariant as r,tv as
|
|
1
|
+
import{radiusVariant as r,tv as e}from"@jamsrui/utils";const a=e({slots:{root:"relative flex flex-col overflow-hidden transition-colo",header:"relative flex items-center gap-2 px-4 pt-4",headerContent:"flex flex-col grow gap-1",title:"font-medium",description:"text-foreground-secondary",footer:"flex justify-end gap-2 px-4 pb-4",content:"h-full p-4"},variants:{bg:{default:{root:"bg-surface"},secondary:{root:"bg-surface"}},isBordered:{true:"border border-divider-dark"},isElevated:{true:"shadow-sm"},radius:r("root")},defaultVariants:{bg:"default",variant:"solid",radius:"md"}});export{a as cardVariants};
|
package/dist/use-card.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/card",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/
|
|
9
|
-
"@jamsrui/
|
|
10
|
-
"@jamsrui/
|
|
11
|
-
"@jamsrui/utils": "^0.0.
|
|
8
|
+
"@jamsrui/hooks": "^0.0.9",
|
|
9
|
+
"@jamsrui/core": "^0.0.8",
|
|
10
|
+
"@jamsrui/text": "^0.0.9",
|
|
11
|
+
"@jamsrui/utils": "^0.0.9"
|
|
12
12
|
},
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|