@yamada-ui/alert 1.0.42-dev-20241010141723 → 1.0.42-dev-20241010143041

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 CHANGED
@@ -1,17 +1,17 @@
1
- import * as _yamada_ui_core from '@yamada-ui/core';
2
- import { AlertStatuses, HTMLUIProps, ThemeProps, FC } from '@yamada-ui/core';
3
1
  import * as react from 'react';
2
+ import * as _yamada_ui_core from '@yamada-ui/core';
3
+ import { AlertStatuses, FC, HTMLUIProps, ThemeProps } from '@yamada-ui/core';
4
4
  import * as _yamada_ui_icon from '@yamada-ui/icon';
5
5
  import { LoadingProps } from '@yamada-ui/loading';
6
6
 
7
7
  declare const defaultStatuses: {
8
8
  readonly error: {
9
9
  readonly colorScheme: "danger";
10
- readonly icon: react.FC<_yamada_ui_icon.IconProps>;
10
+ readonly icon: FC<_yamada_ui_icon.IconProps>;
11
11
  };
12
12
  readonly info: {
13
13
  readonly colorScheme: "info";
14
- readonly icon: react.FC<_yamada_ui_icon.IconProps>;
14
+ readonly icon: FC<_yamada_ui_icon.IconProps>;
15
15
  };
16
16
  readonly loading: {
17
17
  readonly colorScheme: "primary";
@@ -19,16 +19,16 @@ declare const defaultStatuses: {
19
19
  };
20
20
  readonly success: {
21
21
  readonly colorScheme: "success";
22
- readonly icon: react.FC<_yamada_ui_icon.IconProps>;
22
+ readonly icon: FC<_yamada_ui_icon.IconProps>;
23
23
  };
24
24
  readonly warning: {
25
25
  readonly colorScheme: "warning";
26
- readonly icon: react.FC<_yamada_ui_icon.IconProps>;
26
+ readonly icon: FC<_yamada_ui_icon.IconProps>;
27
27
  };
28
28
  };
29
29
  type Status = keyof typeof defaultStatuses;
30
30
  declare const getStatusColorScheme: (status: Status, statuses?: AlertStatuses) => "danger" | "info" | "primary" | "link" | "success" | "warning" | "amber" | "blackAlpha" | "blue" | "cyan" | "emerald" | "flashy" | "fuchsia" | "gray" | "green" | "indigo" | "lime" | "neutral" | "orange" | "pink" | "purple" | "red" | "rose" | "secondary" | "sky" | "teal" | "violet" | "whiteAlpha" | "yellow" | ({} & string);
31
- declare const getStatusIcon: (status: Status, statuses?: AlertStatuses) => react.FC<_yamada_ui_icon.IconProps> | _yamada_ui_core.Component<"svg", LoadingProps> | react.FC;
31
+ declare const getStatusIcon: (status: Status, statuses?: AlertStatuses) => FC<_yamada_ui_icon.IconProps> | _yamada_ui_core.Component<"svg", LoadingProps> | react.FC;
32
32
  interface AlertOptions {
33
33
  /**
34
34
  * The status of the alert.
package/dist/alert.d.ts CHANGED
@@ -1,17 +1,17 @@
1
- import * as _yamada_ui_core from '@yamada-ui/core';
2
- import { AlertStatuses, HTMLUIProps, ThemeProps, FC } from '@yamada-ui/core';
3
1
  import * as react from 'react';
2
+ import * as _yamada_ui_core from '@yamada-ui/core';
3
+ import { AlertStatuses, FC, HTMLUIProps, ThemeProps } from '@yamada-ui/core';
4
4
  import * as _yamada_ui_icon from '@yamada-ui/icon';
5
5
  import { LoadingProps } from '@yamada-ui/loading';
6
6
 
7
7
  declare const defaultStatuses: {
8
8
  readonly error: {
9
9
  readonly colorScheme: "danger";
10
- readonly icon: react.FC<_yamada_ui_icon.IconProps>;
10
+ readonly icon: FC<_yamada_ui_icon.IconProps>;
11
11
  };
12
12
  readonly info: {
13
13
  readonly colorScheme: "info";
14
- readonly icon: react.FC<_yamada_ui_icon.IconProps>;
14
+ readonly icon: FC<_yamada_ui_icon.IconProps>;
15
15
  };
16
16
  readonly loading: {
17
17
  readonly colorScheme: "primary";
@@ -19,16 +19,16 @@ declare const defaultStatuses: {
19
19
  };
20
20
  readonly success: {
21
21
  readonly colorScheme: "success";
22
- readonly icon: react.FC<_yamada_ui_icon.IconProps>;
22
+ readonly icon: FC<_yamada_ui_icon.IconProps>;
23
23
  };
24
24
  readonly warning: {
25
25
  readonly colorScheme: "warning";
26
- readonly icon: react.FC<_yamada_ui_icon.IconProps>;
26
+ readonly icon: FC<_yamada_ui_icon.IconProps>;
27
27
  };
28
28
  };
29
29
  type Status = keyof typeof defaultStatuses;
30
30
  declare const getStatusColorScheme: (status: Status, statuses?: AlertStatuses) => "danger" | "info" | "primary" | "link" | "success" | "warning" | "amber" | "blackAlpha" | "blue" | "cyan" | "emerald" | "flashy" | "fuchsia" | "gray" | "green" | "indigo" | "lime" | "neutral" | "orange" | "pink" | "purple" | "red" | "rose" | "secondary" | "sky" | "teal" | "violet" | "whiteAlpha" | "yellow" | ({} & string);
31
- declare const getStatusIcon: (status: Status, statuses?: AlertStatuses) => react.FC<_yamada_ui_icon.IconProps> | _yamada_ui_core.Component<"svg", LoadingProps> | react.FC;
31
+ declare const getStatusIcon: (status: Status, statuses?: AlertStatuses) => FC<_yamada_ui_icon.IconProps> | _yamada_ui_core.Component<"svg", LoadingProps> | react.FC;
32
32
  interface AlertOptions {
33
33
  /**
34
34
  * The status of the alert.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { Alert, AlertDescription, AlertDescriptionProps, AlertIcon, AlertIconProps, AlertProps, AlertTitle, AlertTitleProps } from './alert.mjs';
2
- import '@yamada-ui/core';
3
2
  import 'react';
3
+ import '@yamada-ui/core';
4
4
  import '@yamada-ui/icon';
5
5
  import '@yamada-ui/loading';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { Alert, AlertDescription, AlertDescriptionProps, AlertIcon, AlertIconProps, AlertProps, AlertTitle, AlertTitleProps } from './alert.js';
2
- import '@yamada-ui/core';
3
2
  import 'react';
3
+ import '@yamada-ui/core';
4
4
  import '@yamada-ui/icon';
5
5
  import '@yamada-ui/loading';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/alert",
3
- "version": "1.0.42-dev-20241010141723",
3
+ "version": "1.0.42-dev-20241010143041",
4
4
  "description": "Yamada UI alert component",
5
5
  "keywords": [
6
6
  "yamada",
@@ -36,10 +36,10 @@
36
36
  "url": "https://github.com/yamada-ui/yamada-ui/issues"
37
37
  },
38
38
  "dependencies": {
39
- "@yamada-ui/core": "1.15.2-dev-20241010141723",
40
- "@yamada-ui/icon": "1.1.8-dev-20241010141723",
41
- "@yamada-ui/loading": "1.1.18-dev-20241010141723",
42
- "@yamada-ui/utils": "1.5.3-dev-20241010141723"
39
+ "@yamada-ui/core": "1.15.2-dev-20241010143041",
40
+ "@yamada-ui/icon": "1.1.8-dev-20241010143041",
41
+ "@yamada-ui/loading": "1.1.18-dev-20241010143041",
42
+ "@yamada-ui/utils": "1.5.3-dev-20241010143041"
43
43
  },
44
44
  "devDependencies": {
45
45
  "clean-package": "2.2.0",