@lokalise/harmony 1.18.1 → 1.18.2
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/harmony.cjs +1 -1
- package/dist/harmony.mjs +431 -408
- package/dist/types/src/components/Sidebar/Sidebar.d.ts +1 -1
- package/dist/types/src/components/Sidebar/Sidebar.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/Avatar/Avatar.d.ts +1 -1
- package/dist/types/src/components/Sidebar/Widgets/Tasks/TaskOverview/TaskOverview.d.ts +1 -1
- package/dist/types/src/components/Sidebar/Widgets/Tasks/types.d.ts +1 -1
- package/dist/types/src/components/Sidebar/Widgets/Tasks/utils/content.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/Tasks/utils/taskEvents.test.d.ts +1 -0
- package/dist/types/tests/mocks/sidebar/tasks.d.ts +3 -1
- package/package.json +1 -1
@@ -9,7 +9,7 @@ declare const Sidebar: {
|
|
9
9
|
({ children, ...navProps }: SidebarProps): import("react/jsx-runtime").JSX.Element;
|
10
10
|
Top: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
11
11
|
Bottom: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
12
|
-
Avatar: ({ src, href, ariaLabel, alt }: {
|
12
|
+
Avatar: ({ src, href, ariaLabel, alt, }: {
|
13
13
|
src: string;
|
14
14
|
href?: string;
|
15
15
|
ariaLabel?: string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -12,5 +12,5 @@ type AvatarProps = {
|
|
12
12
|
* Display company main avatar / logo in the top section of the Sidebar.
|
13
13
|
* Used as the main branding element and home navigation link.
|
14
14
|
*/
|
15
|
-
export declare const Avatar: ({ src, href, ariaLabel, alt }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
15
|
+
export declare const Avatar: ({ src, href, ariaLabel, alt, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
16
16
|
export {};
|
@@ -2,4 +2,4 @@ import { SidebarTask } from '../types';
|
|
2
2
|
export type TaskProps = {
|
3
3
|
task: SidebarTask;
|
4
4
|
};
|
5
|
-
export declare const TaskOverview: ({ task }: TaskProps) => import("react/jsx-runtime").JSX.Element
|
5
|
+
export declare const TaskOverview: ({ task }: TaskProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -79,7 +79,7 @@ export type SidebarTasksConfig = {
|
|
79
79
|
langProgressOnClick?: SidebarDefaultFn;
|
80
80
|
};
|
81
81
|
export type SidebarTasksContextProps = Pick<SidebarTasksConfig, 'onTasksWidgetOpen' | 'getProjectUrl' | 'taskTitleOnClick' | 'langNameOnClick' | 'langProgressOnClick' | 'onLanguageCompleteConfirm'> & {
|
82
|
-
fetchTasks: () => Promise<
|
82
|
+
fetchTasks: () => Promise<SidebarTask[]>;
|
83
83
|
tasks: SidebarTask[];
|
84
84
|
tasksCount: number;
|
85
85
|
loadingTasks: boolean;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,2 +1,4 @@
|
|
1
|
-
import { SidebarTask } from '../../../src/components/Sidebar/Widgets/Tasks/types';
|
1
|
+
import { SidebarTask, SidebarTaskLanguage, SidebarTaskStyleGuide } from '../../../src/components/Sidebar/Widgets/Tasks/types';
|
2
|
+
export declare const createTaskLanguage: () => SidebarTaskLanguage;
|
2
3
|
export declare const createTask: () => SidebarTask;
|
4
|
+
export declare const createStyleGuide: () => SidebarTaskStyleGuide;
|