@yamada-ui/notice 0.4.9 → 0.4.11

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/index.d.mts CHANGED
@@ -1,5 +1,4 @@
1
1
  export { NoticeOptions, NoticeProps, UseNoticeOptions, noticeStore, useNotice } from './notice.mjs';
2
2
  import '@yamada-ui/alert';
3
3
  import '@yamada-ui/core';
4
- import '@yamada-ui/utils';
5
4
  import 'react';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export { NoticeOptions, NoticeProps, UseNoticeOptions, noticeStore, useNotice } from './notice.js';
2
2
  import '@yamada-ui/alert';
3
3
  import '@yamada-ui/core';
4
- import '@yamada-ui/utils';
5
4
  import 'react';
package/dist/notice.d.mts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { AlertProps } from '@yamada-ui/alert';
2
2
  import { NoticeConfigOptions, NoticePlacement, NoticeComponentProps, CSSUIObject, StyledTheme } from '@yamada-ui/core';
3
- import { Dict } from '@yamada-ui/utils';
4
3
  import { ReactNode } from 'react';
5
4
 
6
5
  type UseNoticeOptions = NoticeConfigOptions;
@@ -15,7 +14,7 @@ type NoticeOptions = {
15
14
  onCloseComplete?: () => void;
16
15
  style?: CSSUIObject;
17
16
  };
18
- declare const createNoticeFunc: (defaultOptions: UseNoticeOptions, theme: StyledTheme<Dict<any>>) => {
17
+ declare const createNoticeFunc: (defaultOptions: UseNoticeOptions, theme: StyledTheme) => {
19
18
  (options?: UseNoticeOptions): string | number;
20
19
  update(id: string | number, options: Omit<UseNoticeOptions, 'id'>): void;
21
20
  closeAll: (options?: {
package/dist/notice.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { AlertProps } from '@yamada-ui/alert';
2
2
  import { NoticeConfigOptions, NoticePlacement, NoticeComponentProps, CSSUIObject, StyledTheme } from '@yamada-ui/core';
3
- import { Dict } from '@yamada-ui/utils';
4
3
  import { ReactNode } from 'react';
5
4
 
6
5
  type UseNoticeOptions = NoticeConfigOptions;
@@ -15,7 +14,7 @@ type NoticeOptions = {
15
14
  onCloseComplete?: () => void;
16
15
  style?: CSSUIObject;
17
16
  };
18
- declare const createNoticeFunc: (defaultOptions: UseNoticeOptions, theme: StyledTheme<Dict<any>>) => {
17
+ declare const createNoticeFunc: (defaultOptions: UseNoticeOptions, theme: StyledTheme) => {
19
18
  (options?: UseNoticeOptions): string | number;
20
19
  update(id: string | number, options: Omit<UseNoticeOptions, 'id'>): void;
21
20
  closeAll: (options?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/notice",
3
- "version": "0.4.9",
3
+ "version": "0.4.11",
4
4
  "description": "Yamada UI notice 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.11.3",
39
- "@yamada-ui/close-button": "0.3.9",
40
- "@yamada-ui/alert": "0.5.3",
41
- "@yamada-ui/utils": "0.3.0"
38
+ "@yamada-ui/core": "0.12.1",
39
+ "@yamada-ui/close-button": "0.3.11",
40
+ "@yamada-ui/alert": "0.5.5",
41
+ "@yamada-ui/utils": "0.3.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "react": "^18.0.0",