@carbon-labs/react-animated-header 0.43.0 → 0.44.0
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/__stories__/AnimatedHeader.stories.d.ts +3 -2
- package/es/__stories__/data/SampleCustomTaskContent.d.ts +2 -1
- package/es/__stories__/data/index.d.ts +1 -1
- package/es/components/TasksController/TasksController.d.ts +2 -1
- package/es/components/Tiles/AITile/AITileBody.d.ts +2 -2
- package/es/components/Tiles/GlassTile/GlassTileBody.d.ts +2 -2
- package/es/components/WorkspaceSelector/WorkspaceSelector.d.ts +2 -1
- package/lib/__stories__/AnimatedHeader.stories.d.ts +3 -2
- package/lib/__stories__/data/SampleCustomTaskContent.d.ts +2 -1
- package/lib/__stories__/data/index.d.ts +1 -1
- package/lib/components/TasksController/TasksController.d.ts +2 -1
- package/lib/components/Tiles/AITile/AITileBody.d.ts +2 -2
- package/lib/components/Tiles/GlassTile/GlassTileBody.d.ts +2 -2
- package/lib/components/WorkspaceSelector/WorkspaceSelector.d.ts +2 -1
- package/package.json +3 -3
|
@@ -6,13 +6,14 @@
|
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
+
import React from 'react';
|
|
9
10
|
import AnimatedHeader from '../components/AnimatedHeader/AnimatedHeader';
|
|
10
11
|
import type { Meta } from '@storybook/react-webpack5';
|
|
11
12
|
import '../components/animated-header.scss';
|
|
12
13
|
declare const meta: Meta<typeof AnimatedHeader>;
|
|
13
14
|
export default meta;
|
|
14
15
|
export declare const ThemeG10: {
|
|
15
|
-
(args: any):
|
|
16
|
+
(args: any): React.JSX.Element;
|
|
16
17
|
argTypes: {
|
|
17
18
|
description: {
|
|
18
19
|
description: string;
|
|
@@ -15205,7 +15206,7 @@ export declare const ThemeG10: {
|
|
|
15205
15206
|
};
|
|
15206
15207
|
};
|
|
15207
15208
|
export declare const ThemeG100: {
|
|
15208
|
-
(args: any):
|
|
15209
|
+
(args: any): React.JSX.Element;
|
|
15209
15210
|
argTypes: {
|
|
15210
15211
|
description: {
|
|
15211
15212
|
description: string;
|
|
@@ -6,5 +6,6 @@
|
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
import React from 'react';
|
|
10
|
+
declare const SampleCustomTaskContent: () => React.JSX.Element;
|
|
10
11
|
export default SampleCustomTaskContent;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
+
import React from 'react';
|
|
9
10
|
import { ButtonBaseProps, DropdownProps } from '@carbon/react';
|
|
10
11
|
import { TileGroup } from '../AnimatedHeader/types';
|
|
11
12
|
export interface TasksControllerConfig {
|
|
@@ -28,5 +29,5 @@ export type TasksControllerProps = {
|
|
|
28
29
|
selectedTileGroup?: TileGroup;
|
|
29
30
|
setSelectedTileGroup?: (e: any) => void;
|
|
30
31
|
};
|
|
31
|
-
declare const TasksController: ({ tasksControllerConfig, isLoading, allTileGroups, selectedTileGroup, setSelectedTileGroup, }: TasksControllerProps) =>
|
|
32
|
+
declare const TasksController: ({ tasksControllerConfig, isLoading, allTileGroups, selectedTileGroup, setSelectedTileGroup, }: TasksControllerProps) => React.JSX.Element | null;
|
|
32
33
|
export default TasksController;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
import { ElementType, ReactNode } from 'react';
|
|
9
|
+
import React, { ElementType, ReactNode } from 'react';
|
|
10
10
|
import { type TagProps } from '@carbon/react';
|
|
11
11
|
type TagTypeName = TagProps<'div'>['type'];
|
|
12
12
|
export type AITileLabelVariant = 'aiLabel' | 'tag';
|
|
@@ -22,5 +22,5 @@ export type AITileBodyProps = {
|
|
|
22
22
|
aiLabelTagType?: TagTypeName;
|
|
23
23
|
isLoading?: boolean;
|
|
24
24
|
};
|
|
25
|
-
export declare const AITileBody: ({ open, title, subtitle, customContent, primaryIcon: PrimaryIcon, secondaryIcon: SecondaryIcon, aiLabelVariant, aiLabelText, aiLabelTagType, isLoading, }: AITileBodyProps) =>
|
|
25
|
+
export declare const AITileBody: ({ open, title, subtitle, customContent, primaryIcon: PrimaryIcon, secondaryIcon: SecondaryIcon, aiLabelVariant, aiLabelText, aiLabelTagType, isLoading, }: AITileBodyProps) => React.JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
import { ElementType, ReactNode } from 'react';
|
|
9
|
+
import React, { ElementType, ReactNode } from 'react';
|
|
10
10
|
import { type TagProps } from '@carbon/react';
|
|
11
11
|
type TagTypeName = TagProps<'div'>['type'];
|
|
12
12
|
export type GlassTileBodyProps = {
|
|
@@ -20,5 +20,5 @@ export type GlassTileBodyProps = {
|
|
|
20
20
|
tagType?: TagTypeName;
|
|
21
21
|
isLoading?: boolean;
|
|
22
22
|
};
|
|
23
|
-
export declare const GlassTileBody: ({ open, title, subtitle, customContent, primaryIcon: PrimaryIcon, secondaryIcon: SecondaryIcon, tagLabel, tagType, isLoading, }: GlassTileBodyProps) =>
|
|
23
|
+
export declare const GlassTileBody: ({ open, title, subtitle, customContent, primaryIcon: PrimaryIcon, secondaryIcon: SecondaryIcon, tagLabel, tagType, isLoading, }: GlassTileBodyProps) => React.JSX.Element;
|
|
24
24
|
export {};
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
import { DropdownProps } from '@carbon/react';
|
|
10
|
+
import React from 'react';
|
|
10
11
|
export interface Workspace {
|
|
11
12
|
id: string;
|
|
12
13
|
label: string;
|
|
@@ -24,5 +25,5 @@ export type WorkspaceSelectorProps = {
|
|
|
24
25
|
userName?: string;
|
|
25
26
|
isLoading?: boolean;
|
|
26
27
|
};
|
|
27
|
-
declare const WorkspaceSelector: ({ workspaceSelectorConfig, userName, isLoading, }: WorkspaceSelectorProps) =>
|
|
28
|
+
declare const WorkspaceSelector: ({ workspaceSelectorConfig, userName, isLoading, }: WorkspaceSelectorProps) => React.JSX.Element | null;
|
|
28
29
|
export default WorkspaceSelector;
|
|
@@ -6,13 +6,14 @@
|
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
+
import React from 'react';
|
|
9
10
|
import AnimatedHeader from '../components/AnimatedHeader/AnimatedHeader';
|
|
10
11
|
import type { Meta } from '@storybook/react-webpack5';
|
|
11
12
|
import '../components/animated-header.scss';
|
|
12
13
|
declare const meta: Meta<typeof AnimatedHeader>;
|
|
13
14
|
export default meta;
|
|
14
15
|
export declare const ThemeG10: {
|
|
15
|
-
(args: any):
|
|
16
|
+
(args: any): React.JSX.Element;
|
|
16
17
|
argTypes: {
|
|
17
18
|
description: {
|
|
18
19
|
description: string;
|
|
@@ -15205,7 +15206,7 @@ export declare const ThemeG10: {
|
|
|
15205
15206
|
};
|
|
15206
15207
|
};
|
|
15207
15208
|
export declare const ThemeG100: {
|
|
15208
|
-
(args: any):
|
|
15209
|
+
(args: any): React.JSX.Element;
|
|
15209
15210
|
argTypes: {
|
|
15210
15211
|
description: {
|
|
15211
15212
|
description: string;
|
|
@@ -6,5 +6,6 @@
|
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
import React from 'react';
|
|
10
|
+
declare const SampleCustomTaskContent: () => React.JSX.Element;
|
|
10
11
|
export default SampleCustomTaskContent;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
+
import React from 'react';
|
|
9
10
|
import { ButtonBaseProps, DropdownProps } from '@carbon/react';
|
|
10
11
|
import { TileGroup } from '../AnimatedHeader/types';
|
|
11
12
|
export interface TasksControllerConfig {
|
|
@@ -28,5 +29,5 @@ export type TasksControllerProps = {
|
|
|
28
29
|
selectedTileGroup?: TileGroup;
|
|
29
30
|
setSelectedTileGroup?: (e: any) => void;
|
|
30
31
|
};
|
|
31
|
-
declare const TasksController: ({ tasksControllerConfig, isLoading, allTileGroups, selectedTileGroup, setSelectedTileGroup, }: TasksControllerProps) =>
|
|
32
|
+
declare const TasksController: ({ tasksControllerConfig, isLoading, allTileGroups, selectedTileGroup, setSelectedTileGroup, }: TasksControllerProps) => React.JSX.Element | null;
|
|
32
33
|
export default TasksController;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
import { ElementType, ReactNode } from 'react';
|
|
9
|
+
import React, { ElementType, ReactNode } from 'react';
|
|
10
10
|
import { type TagProps } from '@carbon/react';
|
|
11
11
|
type TagTypeName = TagProps<'div'>['type'];
|
|
12
12
|
export type AITileLabelVariant = 'aiLabel' | 'tag';
|
|
@@ -22,5 +22,5 @@ export type AITileBodyProps = {
|
|
|
22
22
|
aiLabelTagType?: TagTypeName;
|
|
23
23
|
isLoading?: boolean;
|
|
24
24
|
};
|
|
25
|
-
export declare const AITileBody: ({ open, title, subtitle, customContent, primaryIcon: PrimaryIcon, secondaryIcon: SecondaryIcon, aiLabelVariant, aiLabelText, aiLabelTagType, isLoading, }: AITileBodyProps) =>
|
|
25
|
+
export declare const AITileBody: ({ open, title, subtitle, customContent, primaryIcon: PrimaryIcon, secondaryIcon: SecondaryIcon, aiLabelVariant, aiLabelText, aiLabelTagType, isLoading, }: AITileBodyProps) => React.JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
import { ElementType, ReactNode } from 'react';
|
|
9
|
+
import React, { ElementType, ReactNode } from 'react';
|
|
10
10
|
import { type TagProps } from '@carbon/react';
|
|
11
11
|
type TagTypeName = TagProps<'div'>['type'];
|
|
12
12
|
export type GlassTileBodyProps = {
|
|
@@ -20,5 +20,5 @@ export type GlassTileBodyProps = {
|
|
|
20
20
|
tagType?: TagTypeName;
|
|
21
21
|
isLoading?: boolean;
|
|
22
22
|
};
|
|
23
|
-
export declare const GlassTileBody: ({ open, title, subtitle, customContent, primaryIcon: PrimaryIcon, secondaryIcon: SecondaryIcon, tagLabel, tagType, isLoading, }: GlassTileBodyProps) =>
|
|
23
|
+
export declare const GlassTileBody: ({ open, title, subtitle, customContent, primaryIcon: PrimaryIcon, secondaryIcon: SecondaryIcon, tagLabel, tagType, isLoading, }: GlassTileBodyProps) => React.JSX.Element;
|
|
24
24
|
export {};
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
import { DropdownProps } from '@carbon/react';
|
|
10
|
+
import React from 'react';
|
|
10
11
|
export interface Workspace {
|
|
11
12
|
id: string;
|
|
12
13
|
label: string;
|
|
@@ -24,5 +25,5 @@ export type WorkspaceSelectorProps = {
|
|
|
24
25
|
userName?: string;
|
|
25
26
|
isLoading?: boolean;
|
|
26
27
|
};
|
|
27
|
-
declare const WorkspaceSelector: ({ workspaceSelectorConfig, userName, isLoading, }: WorkspaceSelectorProps) =>
|
|
28
|
+
declare const WorkspaceSelector: ({ workspaceSelectorConfig, userName, isLoading, }: WorkspaceSelectorProps) => React.JSX.Element | null;
|
|
28
29
|
export default WorkspaceSelector;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon-labs/react-animated-header",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.44.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"lottie-web": "^5.12.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@carbon-labs/utilities": "0.
|
|
46
|
+
"@carbon-labs/utilities": "0.22.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "a90f7c900917a4a25e61fe92a80a564f81cdaa50"
|
|
49
49
|
}
|