@atlaskit/rovo-agent-components 3.1.0 → 3.1.1
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/CHANGELOG.md +6 -0
- package/dist/cjs/i18n/sr_RS.js +17 -0
- package/dist/cjs/i18n/sr_YR.js +17 -0
- package/dist/es2019/i18n/sr_RS.js +11 -0
- package/dist/es2019/i18n/sr_YR.js +11 -0
- package/dist/esm/i18n/sr_RS.js +11 -0
- package/dist/esm/i18n/sr_YR.js +11 -0
- package/dist/types/common/ui/chat-icon/index.d.ts +1 -1
- package/dist/types/common/ui/chat-pill/index.d.ts +2 -3
- package/dist/types/common/ui/hidden-icon/index.d.ts +1 -1
- package/dist/types/common/ui/link-icon-button/index.d.ts +1 -1
- package/dist/types/common/ui/star-icon-button/index.d.ts +1 -1
- package/dist/types/i18n/sr_RS.d.ts +10 -0
- package/dist/types/i18n/sr_YR.d.ts +10 -0
- package/dist/types/ui/agent-avatar/generated-avatars/index.d.ts +4 -5
- package/dist/types/ui/agent-avatar/index.d.ts +0 -1
- package/dist/types/ui/agent-conversation-starters/index.d.ts +0 -1
- package/dist/types/ui/agent-profile-info/agent-star-count/index.d.ts +0 -1
- package/dist/types/ui/agent-profile-info/index.d.ts +8 -8
- package/dist/types-ts4.5/common/ui/chat-icon/index.d.ts +1 -1
- package/dist/types-ts4.5/common/ui/chat-pill/index.d.ts +2 -3
- package/dist/types-ts4.5/common/ui/hidden-icon/index.d.ts +1 -1
- package/dist/types-ts4.5/common/ui/link-icon-button/index.d.ts +1 -1
- package/dist/types-ts4.5/common/ui/star-icon-button/index.d.ts +1 -1
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +10 -0
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +10 -0
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/index.d.ts +4 -5
- package/dist/types-ts4.5/ui/agent-avatar/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/agent-conversation-starters/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/agent-profile-info/agent-star-count/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/agent-profile-info/index.d.ts +8 -8
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/* prettier-ignore */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE:
|
|
10
|
+
*
|
|
11
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
|
+
*/
|
|
14
|
+
//Serbian (Serbia) [sr-RS]
|
|
15
|
+
var _default = exports.default = {
|
|
16
|
+
'rovo-chat.view-agent.more-actions-for-label': 'Više radnji za {agentName}'
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/* prettier-ignore */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE:
|
|
10
|
+
*
|
|
11
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
|
+
*/
|
|
14
|
+
//Serbian (Cyrillic) [sr-YR]
|
|
15
|
+
var _default = exports.default = {
|
|
16
|
+
'rovo-chat.view-agent.more-actions-for-label': 'Више радњи за {agentName}'
|
|
17
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Serbian (Serbia) [sr-RS]
|
|
9
|
+
export default {
|
|
10
|
+
'rovo-chat.view-agent.more-actions-for-label': 'Više radnji za {agentName}'
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Serbian (Cyrillic) [sr-YR]
|
|
9
|
+
export default {
|
|
10
|
+
'rovo-chat.view-agent.more-actions-for-label': 'Више радњи за {agentName}'
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Serbian (Serbia) [sr-RS]
|
|
9
|
+
export default {
|
|
10
|
+
'rovo-chat.view-agent.more-actions-for-label': 'Više radnji za {agentName}'
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Serbian (Cyrillic) [sr-YR]
|
|
9
|
+
export default {
|
|
10
|
+
'rovo-chat.view-agent.more-actions-for-label': 'Више радњи за {agentName}'
|
|
11
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type NewCoreIconProps } from '@atlaskit/icon';
|
|
3
|
-
export declare const ChatPillIcon: (props: Omit<NewCoreIconProps,
|
|
3
|
+
export declare const ChatPillIcon: (props: Omit<NewCoreIconProps, "label" | "glyph">) => React.JSX.Element;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type ButtonProps } from '@atlaskit/button';
|
|
3
2
|
export type ChatPillProps = Omit<ButtonProps, 'iconBefore'> & {
|
|
4
3
|
whiteSpacePreWrap?: boolean;
|
|
5
4
|
renderIcon?: boolean;
|
|
6
5
|
};
|
|
7
6
|
export declare const ChatPill: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "iconBefore"> & {
|
|
8
|
-
whiteSpacePreWrap?: boolean
|
|
9
|
-
renderIcon?: boolean
|
|
7
|
+
whiteSpacePreWrap?: boolean;
|
|
8
|
+
renderIcon?: boolean;
|
|
10
9
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
11
10
|
export type BrowseAgentsPillProps = Omit<ButtonProps, 'iconBefore' | 'children'>;
|
|
12
11
|
export declare const BrowseAgentsPill: import("react").ForwardRefExoticComponent<BrowseAgentsPillProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type NewCoreIconProps } from '@atlaskit/icon';
|
|
3
|
-
export declare const HiddenIcon: (props: Omit<NewCoreIconProps,
|
|
3
|
+
export declare const HiddenIcon: (props: Omit<NewCoreIconProps, "glyph">) => React.JSX.Element;
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
import { type KeyboardEvent, type MouseEvent } from 'react';
|
|
7
7
|
export declare const LinkIconButton: ({ handleCopy, visible, }: {
|
|
8
8
|
handleCopy: (e: MouseEvent<Element, globalThis.MouseEvent> | KeyboardEvent<Element>) => void;
|
|
9
|
-
visible?: boolean
|
|
9
|
+
visible?: boolean;
|
|
10
10
|
}) => JSX.Element;
|
|
@@ -6,5 +6,5 @@ import { type KeyboardEvent, type MouseEvent } from 'react';
|
|
|
6
6
|
export declare const StarIconButton: ({ isStarred, handleToggle, visible, }: {
|
|
7
7
|
isStarred: boolean;
|
|
8
8
|
handleToggle: (e: MouseEvent<Element, globalThis.MouseEvent> | KeyboardEvent<Element>) => void;
|
|
9
|
-
visible?: boolean
|
|
9
|
+
visible?: boolean;
|
|
10
10
|
}) => JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type SizeType } from '@atlaskit/avatar';
|
|
3
2
|
export declare const yellowColor: {
|
|
4
3
|
primary: string;
|
|
@@ -31,10 +30,10 @@ type GeneratedAvatarProps = {
|
|
|
31
30
|
* agentId examples:
|
|
32
31
|
* cd002f25-46e4-4023-80ff-32e4d90849b4
|
|
33
32
|
*/
|
|
34
|
-
export declare const getNumberIdForAvatar: ({ agentIdentityAccountId, agentId, }: Pick<GeneratedAvatarProps,
|
|
35
|
-
export declare const AgentBanner: ({ agentNamedId, agentId, agentIdentityAccountId, height, fillSpace, }: Pick<GeneratedAvatarProps, "
|
|
36
|
-
height?: number
|
|
37
|
-
fillSpace?: boolean
|
|
33
|
+
export declare const getNumberIdForAvatar: ({ agentIdentityAccountId, agentId, }: Pick<GeneratedAvatarProps, "agentIdentityAccountId" | "agentId">) => number | null;
|
|
34
|
+
export declare const AgentBanner: ({ agentNamedId, agentId, agentIdentityAccountId, height, fillSpace, }: Pick<GeneratedAvatarProps, "agentId" | "agentNamedId" | "agentIdentityAccountId"> & {
|
|
35
|
+
height?: number;
|
|
36
|
+
fillSpace?: boolean;
|
|
38
37
|
}) => JSX.Element;
|
|
39
38
|
export declare const GeneratedAvatar: (props: GeneratedAvatarProps) => JSX.Element;
|
|
40
39
|
export {};
|
|
@@ -5,28 +5,28 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
export declare const AgentProfileCreator: ({ creator, onCreatorLinkClick, isLoading: isLoading, }: {
|
|
7
7
|
creator?: {
|
|
8
|
-
type:
|
|
8
|
+
type: "CUSTOMER";
|
|
9
9
|
name: string;
|
|
10
10
|
profileLink: string;
|
|
11
|
-
status?: "active" | "inactive"
|
|
11
|
+
status?: "active" | "inactive";
|
|
12
12
|
} | {
|
|
13
|
-
type:
|
|
13
|
+
type: "SYSTEM";
|
|
14
14
|
} | {
|
|
15
|
-
type:
|
|
15
|
+
type: "THIRD_PARTY";
|
|
16
16
|
name: string;
|
|
17
17
|
} | {
|
|
18
|
-
type:
|
|
18
|
+
type: "FORGE";
|
|
19
19
|
name: string;
|
|
20
20
|
} | {
|
|
21
|
-
type:
|
|
21
|
+
type: "OOTB";
|
|
22
22
|
name: string;
|
|
23
|
-
}
|
|
23
|
+
};
|
|
24
24
|
isLoading: boolean;
|
|
25
25
|
onCreatorLinkClick: () => void;
|
|
26
26
|
}) => JSX.Element | null;
|
|
27
27
|
export declare const AgentProfileInfo: ({ agentName, agentDescription, creatorRender, starCountRender, isStarred, isHidden, onStarToggle, }: {
|
|
28
28
|
agentName: string;
|
|
29
|
-
agentDescription?: string | null
|
|
29
|
+
agentDescription?: string | null;
|
|
30
30
|
creatorRender: React.ReactNode;
|
|
31
31
|
starCountRender: React.ReactNode;
|
|
32
32
|
isStarred: boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type NewCoreIconProps } from '@atlaskit/icon';
|
|
3
|
-
export declare const ChatPillIcon: (props: Omit<NewCoreIconProps,
|
|
3
|
+
export declare const ChatPillIcon: (props: Omit<NewCoreIconProps, "label" | "glyph">) => React.JSX.Element;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type ButtonProps } from '@atlaskit/button';
|
|
3
2
|
export type ChatPillProps = Omit<ButtonProps, 'iconBefore'> & {
|
|
4
3
|
whiteSpacePreWrap?: boolean;
|
|
5
4
|
renderIcon?: boolean;
|
|
6
5
|
};
|
|
7
6
|
export declare const ChatPill: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "iconBefore"> & {
|
|
8
|
-
whiteSpacePreWrap?: boolean
|
|
9
|
-
renderIcon?: boolean
|
|
7
|
+
whiteSpacePreWrap?: boolean;
|
|
8
|
+
renderIcon?: boolean;
|
|
10
9
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
11
10
|
export type BrowseAgentsPillProps = Omit<ButtonProps, 'iconBefore' | 'children'>;
|
|
12
11
|
export declare const BrowseAgentsPill: import("react").ForwardRefExoticComponent<BrowseAgentsPillProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type NewCoreIconProps } from '@atlaskit/icon';
|
|
3
|
-
export declare const HiddenIcon: (props: Omit<NewCoreIconProps,
|
|
3
|
+
export declare const HiddenIcon: (props: Omit<NewCoreIconProps, "glyph">) => React.JSX.Element;
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
import { type KeyboardEvent, type MouseEvent } from 'react';
|
|
7
7
|
export declare const LinkIconButton: ({ handleCopy, visible, }: {
|
|
8
8
|
handleCopy: (e: MouseEvent<Element, globalThis.MouseEvent> | KeyboardEvent<Element>) => void;
|
|
9
|
-
visible?: boolean
|
|
9
|
+
visible?: boolean;
|
|
10
10
|
}) => JSX.Element;
|
|
@@ -6,5 +6,5 @@ import { type KeyboardEvent, type MouseEvent } from 'react';
|
|
|
6
6
|
export declare const StarIconButton: ({ isStarred, handleToggle, visible, }: {
|
|
7
7
|
isStarred: boolean;
|
|
8
8
|
handleToggle: (e: MouseEvent<Element, globalThis.MouseEvent> | KeyboardEvent<Element>) => void;
|
|
9
|
-
visible?: boolean
|
|
9
|
+
visible?: boolean;
|
|
10
10
|
}) => JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type SizeType } from '@atlaskit/avatar';
|
|
3
2
|
export declare const yellowColor: {
|
|
4
3
|
primary: string;
|
|
@@ -31,10 +30,10 @@ type GeneratedAvatarProps = {
|
|
|
31
30
|
* agentId examples:
|
|
32
31
|
* cd002f25-46e4-4023-80ff-32e4d90849b4
|
|
33
32
|
*/
|
|
34
|
-
export declare const getNumberIdForAvatar: ({ agentIdentityAccountId, agentId, }: Pick<GeneratedAvatarProps,
|
|
35
|
-
export declare const AgentBanner: ({ agentNamedId, agentId, agentIdentityAccountId, height, fillSpace, }: Pick<GeneratedAvatarProps, "
|
|
36
|
-
height?: number
|
|
37
|
-
fillSpace?: boolean
|
|
33
|
+
export declare const getNumberIdForAvatar: ({ agentIdentityAccountId, agentId, }: Pick<GeneratedAvatarProps, "agentIdentityAccountId" | "agentId">) => number | null;
|
|
34
|
+
export declare const AgentBanner: ({ agentNamedId, agentId, agentIdentityAccountId, height, fillSpace, }: Pick<GeneratedAvatarProps, "agentId" | "agentNamedId" | "agentIdentityAccountId"> & {
|
|
35
|
+
height?: number;
|
|
36
|
+
fillSpace?: boolean;
|
|
38
37
|
}) => JSX.Element;
|
|
39
38
|
export declare const GeneratedAvatar: (props: GeneratedAvatarProps) => JSX.Element;
|
|
40
39
|
export {};
|
|
@@ -5,28 +5,28 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
export declare const AgentProfileCreator: ({ creator, onCreatorLinkClick, isLoading: isLoading, }: {
|
|
7
7
|
creator?: {
|
|
8
|
-
type:
|
|
8
|
+
type: "CUSTOMER";
|
|
9
9
|
name: string;
|
|
10
10
|
profileLink: string;
|
|
11
|
-
status?: "active" | "inactive"
|
|
11
|
+
status?: "active" | "inactive";
|
|
12
12
|
} | {
|
|
13
|
-
type:
|
|
13
|
+
type: "SYSTEM";
|
|
14
14
|
} | {
|
|
15
|
-
type:
|
|
15
|
+
type: "THIRD_PARTY";
|
|
16
16
|
name: string;
|
|
17
17
|
} | {
|
|
18
|
-
type:
|
|
18
|
+
type: "FORGE";
|
|
19
19
|
name: string;
|
|
20
20
|
} | {
|
|
21
|
-
type:
|
|
21
|
+
type: "OOTB";
|
|
22
22
|
name: string;
|
|
23
|
-
}
|
|
23
|
+
};
|
|
24
24
|
isLoading: boolean;
|
|
25
25
|
onCreatorLinkClick: () => void;
|
|
26
26
|
}) => JSX.Element | null;
|
|
27
27
|
export declare const AgentProfileInfo: ({ agentName, agentDescription, creatorRender, starCountRender, isStarred, isHidden, onStarToggle, }: {
|
|
28
28
|
agentName: string;
|
|
29
|
-
agentDescription?: string | null
|
|
29
|
+
agentDescription?: string | null;
|
|
30
30
|
creatorRender: React.ReactNode;
|
|
31
31
|
starCountRender: React.ReactNode;
|
|
32
32
|
isStarred: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "This package host public components related to rovo agents, the components here are needed for other public atlaskit packages",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
39
39
|
"@atlaskit/avatar": "^25.1.0",
|
|
40
|
-
"@atlaskit/button": "^23.
|
|
40
|
+
"@atlaskit/button": "^23.4.0",
|
|
41
41
|
"@atlaskit/css": "^0.12.0",
|
|
42
42
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
43
43
|
"@atlaskit/heading": "^5.2.0",
|
|
44
|
-
"@atlaskit/icon": "^
|
|
44
|
+
"@atlaskit/icon": "^28.0.0",
|
|
45
45
|
"@atlaskit/legacy-custom-icons": "^0.22.0",
|
|
46
46
|
"@atlaskit/link": "^3.2.0",
|
|
47
|
-
"@atlaskit/logo": "^19.
|
|
47
|
+
"@atlaskit/logo": "^19.7.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
49
|
"@atlaskit/primitives": "^14.11.0",
|
|
50
50
|
"@atlaskit/skeleton": "^2.1.0",
|