@yamada-ui/alert 0.5.15 → 0.5.17

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/README.md CHANGED
@@ -22,7 +22,7 @@ $ npm install @yamada-ui/alert
22
22
 
23
23
  Wouldn't you like to contribute? That's amazing! We have prepared a [contribution guide](https://github.com/hirotomoyamada/yamada-ui/blob/main/CONTRIBUTING.md) to assist you.
24
24
 
25
- ## Licence
25
+ ## License
26
26
 
27
27
  This package is licensed under the terms of the
28
28
  [MIT license](https://github.com/hirotomoyamada/yamada-ui/blob/main/LICENSE).
package/dist/alert.d.mts CHANGED
@@ -27,7 +27,7 @@ declare const defaultStatuses: {
27
27
  };
28
28
  };
29
29
  type Status = keyof typeof defaultStatuses;
30
- declare const getStatusColorScheme: (status: Status, statuses?: AlertStatuses) => "link" | (string & {}) | "info" | "success" | "warning" | "danger" | "blue" | "cyan" | "fuchsia" | "gray" | "green" | "indigo" | "lime" | "orange" | "pink" | "purple" | "red" | "teal" | "violet" | "yellow" | "primary" | "secondary" | "whiteAlpha" | "blackAlpha" | "zinc" | "neutral" | "stone" | "rose" | "amber" | "emerald" | "sky";
30
+ declare const getStatusColorScheme: (status: Status, statuses?: AlertStatuses) => "link" | (string & {}) | "info" | "success" | "warning" | "danger" | "blue" | "cyan" | "fuchsia" | "gray" | "green" | "indigo" | "lime" | "orange" | "pink" | "purple" | "red" | "teal" | "violet" | "yellow" | "primary" | "secondary" | "whiteAlpha" | "blackAlpha" | "neutral" | "rose" | "flashy" | "amber" | "emerald" | "sky";
31
31
  declare const getStatusIcon: (status: Status, statuses?: AlertStatuses) => FC<_yamada_ui_icon.IconProps> | _yamada_ui_core.Component<"svg", LoadingProps> | FC;
32
32
  type AlertOptions = {
33
33
  /**
package/dist/alert.d.ts CHANGED
@@ -27,7 +27,7 @@ declare const defaultStatuses: {
27
27
  };
28
28
  };
29
29
  type Status = keyof typeof defaultStatuses;
30
- declare const getStatusColorScheme: (status: Status, statuses?: AlertStatuses) => "link" | (string & {}) | "info" | "success" | "warning" | "danger" | "blue" | "cyan" | "fuchsia" | "gray" | "green" | "indigo" | "lime" | "orange" | "pink" | "purple" | "red" | "teal" | "violet" | "yellow" | "primary" | "secondary" | "whiteAlpha" | "blackAlpha" | "zinc" | "neutral" | "stone" | "rose" | "amber" | "emerald" | "sky";
30
+ declare const getStatusColorScheme: (status: Status, statuses?: AlertStatuses) => "link" | (string & {}) | "info" | "success" | "warning" | "danger" | "blue" | "cyan" | "fuchsia" | "gray" | "green" | "indigo" | "lime" | "orange" | "pink" | "purple" | "red" | "teal" | "violet" | "yellow" | "primary" | "secondary" | "whiteAlpha" | "blackAlpha" | "neutral" | "rose" | "flashy" | "amber" | "emerald" | "sky";
31
31
  declare const getStatusIcon: (status: Status, statuses?: AlertStatuses) => FC<_yamada_ui_icon.IconProps> | _yamada_ui_core.Component<"svg", LoadingProps> | FC;
32
32
  type AlertOptions = {
33
33
  /**
package/dist/alert.js CHANGED
@@ -97,7 +97,8 @@ var AlertIcon = ({
97
97
  const statuses = (_c = (_b = (_a = theme.__config) == null ? void 0 : _a.alert) == null ? void 0 : _b.statuses) != null ? _c : {};
98
98
  const Icon = getStatusIcon(status, statuses);
99
99
  const css = {
100
- ...status === "loading" ? styles.loading : styles.icon
100
+ ...styles.icon,
101
+ ...status === "loading" ? styles.loading : {}
101
102
  };
102
103
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
103
104
  import_core.ui.span,
package/dist/alert.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  AlertTitle,
7
7
  getStatusColorScheme,
8
8
  getStatusIcon
9
- } from "./chunk-JLV5CZ2J.mjs";
9
+ } from "./chunk-B7QCNGBP.mjs";
10
10
  export {
11
11
  Alert,
12
12
  AlertDescription,
@@ -75,7 +75,8 @@ var AlertIcon = ({
75
75
  const statuses = (_c = (_b = (_a = theme.__config) == null ? void 0 : _a.alert) == null ? void 0 : _b.statuses) != null ? _c : {};
76
76
  const Icon = getStatusIcon(status, statuses);
77
77
  const css = {
78
- ...status === "loading" ? styles.loading : styles.icon
78
+ ...styles.icon,
79
+ ...status === "loading" ? styles.loading : {}
79
80
  };
80
81
  return /* @__PURE__ */ jsx(
81
82
  ui.span,
package/dist/index.js CHANGED
@@ -97,7 +97,8 @@ var AlertIcon = ({
97
97
  const statuses = (_c = (_b = (_a = theme.__config) == null ? void 0 : _a.alert) == null ? void 0 : _b.statuses) != null ? _c : {};
98
98
  const Icon = getStatusIcon(status, statuses);
99
99
  const css = {
100
- ...status === "loading" ? styles.loading : styles.icon
100
+ ...styles.icon,
101
+ ...status === "loading" ? styles.loading : {}
101
102
  };
102
103
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
103
104
  import_core.ui.span,
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  AlertDescription,
5
5
  AlertIcon,
6
6
  AlertTitle
7
- } from "./chunk-JLV5CZ2J.mjs";
7
+ } from "./chunk-B7QCNGBP.mjs";
8
8
  export {
9
9
  Alert,
10
10
  AlertDescription,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/alert",
3
- "version": "0.5.15",
3
+ "version": "0.5.17",
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.13.0",
39
- "@yamada-ui/utils": "0.3.3",
40
- "@yamada-ui/icon": "0.3.19",
41
- "@yamada-ui/loading": "0.5.7"
38
+ "@yamada-ui/core": "0.13.2",
39
+ "@yamada-ui/utils": "0.4.1",
40
+ "@yamada-ui/icon": "0.3.21",
41
+ "@yamada-ui/loading": "0.5.9"
42
42
  },
43
43
  "devDependencies": {
44
44
  "react": "^18.0.0",