@yamada-ui/notice 0.5.7 → 0.5.8

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.
@@ -8,10 +8,7 @@ import {
8
8
  AlertTitle
9
9
  } from "@yamada-ui/alert";
10
10
  import { CloseButton } from "@yamada-ui/close-button";
11
- import {
12
- ui,
13
- useTheme
14
- } from "@yamada-ui/core";
11
+ import { ui, useTheme } from "@yamada-ui/core";
15
12
  import { cx, merge } from "@yamada-ui/utils";
16
13
  import { useMemo } from "react";
17
14
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -37,7 +34,7 @@ var createNotice = (message, {
37
34
  style
38
35
  }) => {
39
36
  counter += 1;
40
- id = id != null ? id : counter;
37
+ id != null ? id : id = counter;
41
38
  return {
42
39
  id,
43
40
  placement,
@@ -1,15 +1,11 @@
1
1
  "use client"
2
2
  import {
3
3
  noticeStore
4
- } from "./chunk-D2HAPVIT.mjs";
4
+ } from "./chunk-3PACDUP5.mjs";
5
5
 
6
6
  // src/notice-provider.tsx
7
7
  import { ui } from "@yamada-ui/core";
8
- import {
9
- AnimatePresence,
10
- motion,
11
- useIsPresent
12
- } from "@yamada-ui/motion";
8
+ import { AnimatePresence, motion, useIsPresent } from "@yamada-ui/motion";
13
9
  import { Portal } from "@yamada-ui/portal";
14
10
  import { useTimeout } from "@yamada-ui/use-timeout";
15
11
  import { cx, runIfFunc, useUpdateEffect } from "@yamada-ui/utils";
package/dist/index.js CHANGED
@@ -56,7 +56,7 @@ var createNotice = (message, {
56
56
  style
57
57
  }) => {
58
58
  counter += 1;
59
- id = id != null ? id : counter;
59
+ id != null ? id : id = counter;
60
60
  return {
61
61
  id,
62
62
  placement,
package/dist/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use client"
2
2
  import {
3
3
  NoticeProvider
4
- } from "./chunk-7IT22KSQ.mjs";
4
+ } from "./chunk-NOR7BYPS.mjs";
5
5
  import {
6
6
  noticeStore,
7
7
  useNotice
8
- } from "./chunk-D2HAPVIT.mjs";
8
+ } from "./chunk-3PACDUP5.mjs";
9
9
  export {
10
10
  NoticeProvider,
11
11
  noticeStore,
@@ -60,7 +60,7 @@ var createNotice = (message, {
60
60
  style
61
61
  }) => {
62
62
  counter += 1;
63
- id = id != null ? id : counter;
63
+ id != null ? id : id = counter;
64
64
  return {
65
65
  id,
66
66
  placement,
@@ -1,8 +1,8 @@
1
1
  "use client"
2
2
  import {
3
3
  NoticeProvider
4
- } from "./chunk-7IT22KSQ.mjs";
5
- import "./chunk-D2HAPVIT.mjs";
4
+ } from "./chunk-NOR7BYPS.mjs";
5
+ import "./chunk-3PACDUP5.mjs";
6
6
  export {
7
7
  NoticeProvider
8
8
  };
package/dist/notice.js CHANGED
@@ -53,7 +53,7 @@ var createNotice = (message, {
53
53
  style
54
54
  }) => {
55
55
  counter += 1;
56
- id = id != null ? id : counter;
56
+ id != null ? id : id = counter;
57
57
  return {
58
58
  id,
59
59
  placement,
package/dist/notice.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  noticeStore,
4
4
  useNotice
5
- } from "./chunk-D2HAPVIT.mjs";
5
+ } from "./chunk-3PACDUP5.mjs";
6
6
  export {
7
7
  noticeStore,
8
8
  useNotice
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/notice",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "description": "Yamada UI notice component",
5
5
  "keywords": [
6
6
  "yamada",
@@ -35,11 +35,11 @@
35
35
  "url": "https://github.com/hirotomoyamada/yamada-ui/issues"
36
36
  },
37
37
  "dependencies": {
38
- "@yamada-ui/core": "0.12.6",
39
- "@yamada-ui/close-button": "0.3.17",
40
- "@yamada-ui/alert": "0.5.12",
41
- "@yamada-ui/portal": "0.3.6",
42
- "@yamada-ui/motion": "0.4.16",
38
+ "@yamada-ui/core": "0.12.7",
39
+ "@yamada-ui/close-button": "0.3.18",
40
+ "@yamada-ui/alert": "0.5.13",
41
+ "@yamada-ui/portal": "0.3.7",
42
+ "@yamada-ui/motion": "0.4.17",
43
43
  "@yamada-ui/use-timeout": "0.2.5",
44
44
  "@yamada-ui/utils": "0.3.3"
45
45
  },