@alifd/chat 0.1.15-beta.11 → 0.1.15-beta.13
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/es/icon/index.d.ts +1 -1
- package/es/icon/index.js +1 -0
- package/es/icon/types.d.ts +43 -0
- package/es/icon/types.js +1 -1
- package/es/index.js +1 -1
- package/es/message/style.d.ts +0 -1
- package/es/message/style.js +0 -1
- package/lib/icon/index.d.ts +1 -1
- package/lib/icon/index.js +1 -0
- package/lib/icon/types.d.ts +43 -0
- package/lib/icon/types.js +1 -0
- package/lib/index.js +1 -1
- package/lib/message/style.d.ts +0 -1
- package/lib/message/style.js +0 -1
- package/package.json +1 -1
package/es/icon/index.d.ts
CHANGED
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { Icon as NextIcon } from '@alifd/next';
|
|
10
10
|
import type { IconProps } from '@alifd/next/types/icon';
|
|
11
|
-
export
|
|
11
|
+
export * from './types';
|
|
12
12
|
declare const _default: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<Pick<IconProps & React.RefAttributes<NextIcon>, "key" | keyof IconProps> & import("@alifd/next/types/config-provider/types").ComponentCommonProps, NextIcon, {}>;
|
|
13
13
|
export default _default;
|
package/es/icon/index.js
CHANGED
package/es/icon/types.d.ts
CHANGED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type CommonProps } from '@alifd/next';
|
|
3
|
+
export interface IconSvgProps extends React.SVGAttributes<SVGSVGElement>, CommonProps {
|
|
4
|
+
/**
|
|
5
|
+
* 指定显示哪种图标
|
|
6
|
+
* @en Type of icon
|
|
7
|
+
*/
|
|
8
|
+
type?: string;
|
|
9
|
+
/**
|
|
10
|
+
* 指定图标大小
|
|
11
|
+
* @en Size of icon
|
|
12
|
+
* @defaultValue 'medium'
|
|
13
|
+
*/
|
|
14
|
+
size?: number | 'xxs' | 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl' | 'inherit';
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @api Icon
|
|
18
|
+
*/
|
|
19
|
+
export interface IconProps extends React.HTMLAttributes<HTMLElement>, CommonProps {
|
|
20
|
+
/**
|
|
21
|
+
* 指定显示哪种图标
|
|
22
|
+
* @en Type of icon
|
|
23
|
+
*/
|
|
24
|
+
type?: string;
|
|
25
|
+
/**
|
|
26
|
+
* 指定图标大小
|
|
27
|
+
* @en Size of icon
|
|
28
|
+
* @defaultValue 'medium'
|
|
29
|
+
*/
|
|
30
|
+
size?: number | 'xxs' | 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl' | 'inherit';
|
|
31
|
+
}
|
|
32
|
+
export interface IconOptions {
|
|
33
|
+
/**
|
|
34
|
+
* 如果页面上已经有同 id 的标签,那么不会再加载这个图标库
|
|
35
|
+
* @en If there is already a tag with the same ID on the page, the icon library will not be loaded again
|
|
36
|
+
*/
|
|
37
|
+
scriptUrl: string;
|
|
38
|
+
/**
|
|
39
|
+
* extra common props of icon-font
|
|
40
|
+
* @skip
|
|
41
|
+
*/
|
|
42
|
+
extraCommonProps?: React.SVGAttributes<SVGSVGElement>;
|
|
43
|
+
}
|
package/es/icon/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
package/es/index.js
CHANGED
|
@@ -11,4 +11,4 @@ export { default as TimePicker } from './time-picker';
|
|
|
11
11
|
export { default as PersonPicker } from './person-picker';
|
|
12
12
|
export { default as Message } from './message';
|
|
13
13
|
export { default as Icon } from './icon';
|
|
14
|
-
export const version = '0.1.15-beta.
|
|
14
|
+
export const version = '0.1.15-beta.13';
|
package/es/message/style.d.ts
CHANGED
package/es/message/style.js
CHANGED
package/lib/icon/index.d.ts
CHANGED
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { Icon as NextIcon } from '@alifd/next';
|
|
10
10
|
import type { IconProps } from '@alifd/next/types/icon';
|
|
11
|
-
export
|
|
11
|
+
export * from './types';
|
|
12
12
|
declare const _default: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<Pick<IconProps & React.RefAttributes<NextIcon>, "key" | keyof IconProps> & import("@alifd/next/types/config-provider/types").ComponentCommonProps, NextIcon, {}>;
|
|
13
13
|
export default _default;
|
package/lib/icon/index.js
CHANGED
package/lib/icon/types.d.ts
CHANGED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type CommonProps } from '@alifd/next';
|
|
3
|
+
export interface IconSvgProps extends React.SVGAttributes<SVGSVGElement>, CommonProps {
|
|
4
|
+
/**
|
|
5
|
+
* 指定显示哪种图标
|
|
6
|
+
* @en Type of icon
|
|
7
|
+
*/
|
|
8
|
+
type?: string;
|
|
9
|
+
/**
|
|
10
|
+
* 指定图标大小
|
|
11
|
+
* @en Size of icon
|
|
12
|
+
* @defaultValue 'medium'
|
|
13
|
+
*/
|
|
14
|
+
size?: number | 'xxs' | 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl' | 'inherit';
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @api Icon
|
|
18
|
+
*/
|
|
19
|
+
export interface IconProps extends React.HTMLAttributes<HTMLElement>, CommonProps {
|
|
20
|
+
/**
|
|
21
|
+
* 指定显示哪种图标
|
|
22
|
+
* @en Type of icon
|
|
23
|
+
*/
|
|
24
|
+
type?: string;
|
|
25
|
+
/**
|
|
26
|
+
* 指定图标大小
|
|
27
|
+
* @en Size of icon
|
|
28
|
+
* @defaultValue 'medium'
|
|
29
|
+
*/
|
|
30
|
+
size?: number | 'xxs' | 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl' | 'inherit';
|
|
31
|
+
}
|
|
32
|
+
export interface IconOptions {
|
|
33
|
+
/**
|
|
34
|
+
* 如果页面上已经有同 id 的标签,那么不会再加载这个图标库
|
|
35
|
+
* @en If there is already a tag with the same ID on the page, the icon library will not be loaded again
|
|
36
|
+
*/
|
|
37
|
+
scriptUrl: string;
|
|
38
|
+
/**
|
|
39
|
+
* extra common props of icon-font
|
|
40
|
+
* @skip
|
|
41
|
+
*/
|
|
42
|
+
extraCommonProps?: React.SVGAttributes<SVGSVGElement>;
|
|
43
|
+
}
|
package/lib/icon/types.js
CHANGED
package/lib/index.js
CHANGED
|
@@ -30,4 +30,4 @@ var message_1 = require("./message");
|
|
|
30
30
|
Object.defineProperty(exports, "Message", { enumerable: true, get: function () { return __importDefault(message_1).default; } });
|
|
31
31
|
var icon_1 = require("./icon");
|
|
32
32
|
Object.defineProperty(exports, "Icon", { enumerable: true, get: function () { return __importDefault(icon_1).default; } });
|
|
33
|
-
exports.version = '0.1.15-beta.
|
|
33
|
+
exports.version = '0.1.15-beta.13';
|
package/lib/message/style.d.ts
CHANGED
package/lib/message/style.js
CHANGED