@yamada-ui/alert 0.1.0 → 0.1.2

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.js CHANGED
@@ -59,7 +59,7 @@ var Alert = (0, import_core.forwardRef)(
59
59
  overflow: "hidden",
60
60
  ...styles.container
61
61
  };
62
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertProvider, { value: { status, styles }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.div, { ref, className: (0, import_utils.cx)("ui-alert", className), __css: css, ...rest, children }) });
62
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertProvider, { value: { status, styles }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.div, { ref, className: (0, import_utils.cx)("ui-alert", className), role: "alert", __css: css, ...rest, children }) });
63
63
  }
64
64
  );
65
65
  var AlertIcon = ({ className, children, variant = "oval", ...rest }) => {
package/dist/alert.mjs CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  AlertTitle,
6
6
  getStatusColorScheme,
7
7
  getStatusIcon
8
- } from "./chunk-2AJTREQZ.mjs";
8
+ } from "./chunk-5VGLDUCN.mjs";
9
9
  export {
10
10
  Alert,
11
11
  AlertDescription,
@@ -35,7 +35,7 @@ var Alert = forwardRef(
35
35
  overflow: "hidden",
36
36
  ...styles.container
37
37
  };
38
- return /* @__PURE__ */ jsx(AlertProvider, { value: { status, styles }, children: /* @__PURE__ */ jsx(ui.div, { ref, className: cx("ui-alert", className), __css: css, ...rest, children }) });
38
+ return /* @__PURE__ */ jsx(AlertProvider, { value: { status, styles }, children: /* @__PURE__ */ jsx(ui.div, { ref, className: cx("ui-alert", className), role: "alert", __css: css, ...rest, children }) });
39
39
  }
40
40
  );
41
41
  var AlertIcon = ({ className, children, variant = "oval", ...rest }) => {
package/dist/index.js CHANGED
@@ -61,7 +61,7 @@ var Alert = (0, import_core.forwardRef)(
61
61
  overflow: "hidden",
62
62
  ...styles.container
63
63
  };
64
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertProvider, { value: { status, styles }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.div, { ref, className: (0, import_utils.cx)("ui-alert", className), __css: css, ...rest, children }) });
64
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertProvider, { value: { status, styles }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.div, { ref, className: (0, import_utils.cx)("ui-alert", className), role: "alert", __css: css, ...rest, children }) });
65
65
  }
66
66
  );
67
67
  var AlertIcon = ({ className, children, variant = "oval", ...rest }) => {
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  AlertTitle,
6
6
  getStatusColorScheme,
7
7
  getStatusIcon
8
- } from "./chunk-2AJTREQZ.mjs";
8
+ } from "./chunk-5VGLDUCN.mjs";
9
9
  export {
10
10
  Alert,
11
11
  AlertDescription,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/alert",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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/icon": "0.1.0",
39
- "@yamada-ui/core": "0.1.0",
38
+ "@yamada-ui/core": "0.1.2",
40
39
  "@yamada-ui/utils": "0.1.0",
41
- "@yamada-ui/loading": "0.1.0"
40
+ "@yamada-ui/icon": "0.1.2",
41
+ "@yamada-ui/loading": "0.1.2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "react": "^18.0.0",