@yamada-ui/alert 0.4.5 → 0.5.0
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/alert.d.mts +2 -2
- package/dist/alert.d.ts +2 -2
- package/dist/alert.js +1 -1
- package/dist/alert.mjs +1 -1
- package/dist/{chunk-QPOJIJ7U.mjs → chunk-RAB3N7WN.mjs} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/alert.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ declare const statuses: {
|
|
|
11
11
|
};
|
|
12
12
|
readonly success: {
|
|
13
13
|
readonly icon: FC<_yamada_ui_icon.IconProps>;
|
|
14
|
-
readonly colorScheme: "
|
|
14
|
+
readonly colorScheme: "success";
|
|
15
15
|
};
|
|
16
16
|
readonly warning: {
|
|
17
17
|
readonly icon: FC<_yamada_ui_icon.IconProps>;
|
|
@@ -27,7 +27,7 @@ declare const statuses: {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
type Status = keyof typeof statuses;
|
|
30
|
-
declare const getStatusColorScheme: (status: Status) => "primary" | "
|
|
30
|
+
declare const getStatusColorScheme: (status: Status) => "primary" | "success" | "warning" | "danger";
|
|
31
31
|
declare const getStatusIcon: (status: Status) => FC<_yamada_ui_icon.IconProps> | _yamada_ui_core.Component<"svg", LoadingProps>;
|
|
32
32
|
type AlertOptions = {
|
|
33
33
|
/**
|
package/dist/alert.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare const statuses: {
|
|
|
11
11
|
};
|
|
12
12
|
readonly success: {
|
|
13
13
|
readonly icon: FC<_yamada_ui_icon.IconProps>;
|
|
14
|
-
readonly colorScheme: "
|
|
14
|
+
readonly colorScheme: "success";
|
|
15
15
|
};
|
|
16
16
|
readonly warning: {
|
|
17
17
|
readonly icon: FC<_yamada_ui_icon.IconProps>;
|
|
@@ -27,7 +27,7 @@ declare const statuses: {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
type Status = keyof typeof statuses;
|
|
30
|
-
declare const getStatusColorScheme: (status: Status) => "primary" | "
|
|
30
|
+
declare const getStatusColorScheme: (status: Status) => "primary" | "success" | "warning" | "danger";
|
|
31
31
|
declare const getStatusIcon: (status: Status) => FC<_yamada_ui_icon.IconProps> | _yamada_ui_core.Component<"svg", LoadingProps>;
|
|
32
32
|
type AlertOptions = {
|
|
33
33
|
/**
|
package/dist/alert.js
CHANGED
|
@@ -36,7 +36,7 @@ var import_utils = require("@yamada-ui/utils");
|
|
|
36
36
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
37
|
var statuses = {
|
|
38
38
|
info: { icon: import_icon.InfoIcon, colorScheme: "primary" },
|
|
39
|
-
success: { icon: import_icon.CheckIcon, colorScheme: "
|
|
39
|
+
success: { icon: import_icon.CheckIcon, colorScheme: "success" },
|
|
40
40
|
warning: { icon: import_icon.WarningIcon, colorScheme: "warning" },
|
|
41
41
|
error: { icon: import_icon.WarningIcon, colorScheme: "danger" },
|
|
42
42
|
loading: { icon: import_loading.Loading, colorScheme: "primary" }
|
package/dist/alert.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { createContext, cx } from "@yamada-ui/utils";
|
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
14
14
|
var statuses = {
|
|
15
15
|
info: { icon: InfoIcon, colorScheme: "primary" },
|
|
16
|
-
success: { icon: CheckIcon, colorScheme: "
|
|
16
|
+
success: { icon: CheckIcon, colorScheme: "success" },
|
|
17
17
|
warning: { icon: WarningIcon, colorScheme: "warning" },
|
|
18
18
|
error: { icon: WarningIcon, colorScheme: "danger" },
|
|
19
19
|
loading: { icon: Loading, colorScheme: "primary" }
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var import_utils = require("@yamada-ui/utils");
|
|
|
36
36
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
37
|
var statuses = {
|
|
38
38
|
info: { icon: import_icon.InfoIcon, colorScheme: "primary" },
|
|
39
|
-
success: { icon: import_icon.CheckIcon, colorScheme: "
|
|
39
|
+
success: { icon: import_icon.CheckIcon, colorScheme: "success" },
|
|
40
40
|
warning: { icon: import_icon.WarningIcon, colorScheme: "warning" },
|
|
41
41
|
error: { icon: import_icon.WarningIcon, colorScheme: "danger" },
|
|
42
42
|
loading: { icon: import_loading.Loading, colorScheme: "primary" }
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/alert",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Yamada UI alert component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yamada",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"url": "https://github.com/hirotomoyamada/yamada-ui/issues"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@yamada-ui/core": "0.
|
|
39
|
-
"@yamada-ui/utils": "0.
|
|
40
|
-
"@yamada-ui/icon": "0.3.
|
|
41
|
-
"@yamada-ui/loading": "0.4.
|
|
38
|
+
"@yamada-ui/core": "0.11.0",
|
|
39
|
+
"@yamada-ui/utils": "0.3.0",
|
|
40
|
+
"@yamada-ui/icon": "0.3.6",
|
|
41
|
+
"@yamada-ui/loading": "0.4.6"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"react": "^18.0.0",
|