@jamsrui/alert 0.0.20 → 0.0.22
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/styles.d.mts +3 -3
- package/dist/styles.mjs +1 -1
- package/package.json +6 -6
package/dist/styles.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const alertStyles: _jamsrui_utils.TVReturnType<{
|
|
|
9
9
|
solid: {
|
|
10
10
|
root: string;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
soft: {
|
|
13
13
|
root: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
@@ -54,7 +54,7 @@ declare const alertStyles: _jamsrui_utils.TVReturnType<{
|
|
|
54
54
|
solid: {
|
|
55
55
|
root: string;
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
soft: {
|
|
58
58
|
root: string;
|
|
59
59
|
};
|
|
60
60
|
};
|
|
@@ -99,7 +99,7 @@ declare const alertStyles: _jamsrui_utils.TVReturnType<{
|
|
|
99
99
|
solid: {
|
|
100
100
|
root: string;
|
|
101
101
|
};
|
|
102
|
-
|
|
102
|
+
soft: {
|
|
103
103
|
root: string;
|
|
104
104
|
};
|
|
105
105
|
};
|
package/dist/styles.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{radiusVariant as t,tv as r}from"@jamsrui/utils";const
|
|
1
|
+
import{radiusVariant as t,tv as r}from"@jamsrui/utils";const s=r({slots:{root:"alert__root relative flex gap-2 px-4 py-1.5 text-sm ring-1 ring-inset",icon:"alert__icon shrink-0 py-2",title:"alert__title",description:"alert__description",content:"alert__content flex flex-col grow py-2 gap-1"},variants:{variant:{bordered:{root:"alert--bordered border"},solid:{root:"alert--solid font-medium"},soft:{root:"alert--soft"}},status:{success:{root:"alert--success ring-success-border"},warning:{root:"alert--warning ring-warning-border"},danger:{root:"alert--danger ring-danger-border"},info:{root:"alert--info ring-primary-border"},default:{root:"alert--default ring-default-border"}},radius:t("root")},compoundVariants:[{status:"danger",variant:"solid",className:{root:"bg-danger text-danger-foreground"}},{status:"success",variant:"solid",className:{root:"bg-success text-success-foreground"}},{status:"info",variant:"solid",className:{root:"bg-primary text-primary-foreground"}},{status:"warning",variant:"solid",className:{root:"bg-warning text-warning-foreground"}},{status:"default",variant:"solid",className:{root:"bg-default text-default-foreground"}},{status:"success",variant:"soft",className:{root:"bg-success-soft text-success"}},{status:"info",variant:"soft",className:{root:"bg-primary-soft text-primary"}},{status:"warning",variant:"soft",className:{root:"bg-warning-soft text-warning"}},{status:"danger",variant:"soft",className:{root:"bg-danger-soft text-danger"}},{status:"default",variant:"soft",className:{root:"bg-default-soft text-foreground"}},{status:"danger",variant:"bordered",className:{root:"border-danger-stroke text-danger"}},{status:"success",variant:"bordered",className:{root:"border-success-stroke text-success"}},{status:"info",variant:"bordered",className:{root:"border-primary-stroke text-primary"}},{status:"warning",variant:"bordered",className:{root:"border-warning-stroke text-warning"}},{status:"default",variant:"bordered",className:{root:"border-default-stroke text-foreground"}}],defaultVariants:{status:"success",variant:"soft",radius:"md"}});export{s as alertStyles};
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/alert",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/
|
|
9
|
-
"@jamsrui/
|
|
10
|
-
"@jamsrui/
|
|
11
|
-
"@jamsrui/
|
|
12
|
-
"@jamsrui/
|
|
8
|
+
"@jamsrui/icons": "^0.0.17",
|
|
9
|
+
"@jamsrui/hooks": "^0.0.20",
|
|
10
|
+
"@jamsrui/core": "^0.0.16",
|
|
11
|
+
"@jamsrui/text": "^0.0.20",
|
|
12
|
+
"@jamsrui/utils": "^0.0.20"
|
|
13
13
|
},
|
|
14
14
|
"exports": {
|
|
15
15
|
".": {
|