@carbon-labs/react-animated-header 0.38.0 → 0.40.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.
Files changed (83) hide show
  1. package/es/__stories__/AnimatedHeader.stories.d.ts +2 -2
  2. package/es/components/AnimatedHeader/AnimatedHeader.js +2 -2
  3. package/es/components/ContentSwitcherSelector/ContentSwitcherSelector.js +1 -1
  4. package/es/components/HeaderAction/HeaderAction.js +1 -1
  5. package/es/components/HeaderTitle/HeaderTitle.js +1 -1
  6. package/es/components/TasksController/TasksController.js +1 -1
  7. package/es/components/Tiles/AIPromptTile/AIPromptTile.d.ts +4 -0
  8. package/es/components/Tiles/AIPromptTile/AIPromptTile.js +17 -5
  9. package/es/components/Tiles/AITile/AITile.d.ts +4 -0
  10. package/es/components/Tiles/AITile/AITile.js +7 -1
  11. package/es/components/Tiles/AITile/AITileBody.d.ts +8 -1
  12. package/es/components/Tiles/AITile/AITileBody.js +17 -5
  13. package/es/components/Tiles/GlassTile/GlassTile.d.ts +3 -0
  14. package/es/components/Tiles/GlassTile/GlassTile.js +5 -1
  15. package/es/components/Tiles/GlassTile/GlassTileBody.d.ts +6 -1
  16. package/es/components/Tiles/GlassTile/GlassTileBody.js +9 -3
  17. package/es/components/WorkspaceSelector/WorkspaceSelector.js +1 -1
  18. package/es/index.js +1 -0
  19. package/lib/__stories__/AnimatedHeader.stories.d.ts +2 -2
  20. package/lib/components/AnimatedHeader/AnimatedHeader.js +3 -3
  21. package/lib/components/ContentSwitcherSelector/ContentSwitcherSelector.js +1 -1
  22. package/lib/components/HeaderAction/HeaderAction.js +1 -1
  23. package/lib/components/HeaderTitle/HeaderTitle.js +1 -1
  24. package/lib/components/TasksController/TasksController.js +1 -1
  25. package/lib/components/Tiles/AIPromptTile/AIPromptTile.d.ts +4 -0
  26. package/lib/components/Tiles/AIPromptTile/AIPromptTile.js +16 -4
  27. package/lib/components/Tiles/AITile/AITile.d.ts +4 -0
  28. package/lib/components/Tiles/AITile/AITile.js +7 -1
  29. package/lib/components/Tiles/AITile/AITileBody.d.ts +8 -1
  30. package/lib/components/Tiles/AITile/AITileBody.js +16 -4
  31. package/lib/components/Tiles/GlassTile/GlassTile.d.ts +3 -0
  32. package/lib/components/Tiles/GlassTile/GlassTile.js +5 -1
  33. package/lib/components/Tiles/GlassTile/GlassTileBody.d.ts +6 -1
  34. package/lib/components/Tiles/GlassTile/GlassTileBody.js +8 -2
  35. package/lib/components/WorkspaceSelector/WorkspaceSelector.js +1 -1
  36. package/lib/es/_virtual/_rollupPluginBabelHelpers.d.ts +8 -0
  37. package/lib/es/assets/animated/header_animated_data_fabric_dark_06.json.d.ts +1097 -0
  38. package/lib/es/assets/animated/header_animated_data_fabric_light_03.json.d.ts +1097 -0
  39. package/lib/es/assets/animated/header_animated_db2_dark_03.json.d.ts +2639 -0
  40. package/lib/es/assets/animated/header_animated_db2_light_03.json.d.ts +2639 -0
  41. package/lib/es/assets/animated/header_animated_watsonx_a_dark_06.json.d.ts +771 -0
  42. package/lib/es/assets/animated/header_animated_watsonx_a_light_06.json.d.ts +771 -0
  43. package/lib/es/assets/animated/header_animated_watsonx_data_dark_03.json.d.ts +1963 -0
  44. package/lib/es/assets/animated/header_animated_watsonx_data_light_04.json.d.ts +2043 -0
  45. package/lib/es/assets/animated/header_animated_wxbia_dark_06.json.d.ts +1053 -0
  46. package/lib/es/assets/animated/header_animated_wxbia_light_09.json.d.ts +1053 -0
  47. package/lib/es/assets/static/header_static_data_fabric_dark_06.svg.d.ts +8 -0
  48. package/lib/es/assets/static/header_static_data_fabric_light_06.svg.d.ts +8 -0
  49. package/lib/{_virtual/lottie2.js → es/assets/static/header_static_db2_dark_01.svg.d.ts} +2 -6
  50. package/{es/_virtual/lottie2.js → lib/es/assets/static/header_static_db2_light_01.svg.d.ts} +2 -4
  51. package/lib/es/assets/static/header_static_watsonx_a_dark_01.svg.d.ts +8 -0
  52. package/lib/es/assets/static/header_static_watsonx_a_light_01.svg.d.ts +8 -0
  53. package/lib/es/assets/static/header_static_watsonx_data_dark_05.svg.d.ts +8 -0
  54. package/lib/es/assets/static/header_static_watsonx_data_light_06.svg.d.ts +8 -0
  55. package/lib/es/assets/static/header_static_wxbia_dark_01.svg.d.ts +8 -0
  56. package/lib/es/assets/static/header_static_wxbia_light_01.svg.d.ts +8 -0
  57. package/lib/es/components/AnimatedHeader/AnimatedHeader.d.ts +99 -0
  58. package/lib/es/components/ContentSwitcherSelector/ContentSwitcherSelector.d.ts +10 -0
  59. package/lib/es/components/HeaderAction/HeaderAction.d.ts +11 -0
  60. package/lib/es/components/HeaderTitle/HeaderTitle.d.ts +8 -0
  61. package/lib/es/components/TasksController/TasksController.d.ts +11 -0
  62. package/lib/es/components/Tiles/AIPromptTile/AIPromptTile.d.ts +25 -0
  63. package/lib/es/components/Tiles/AITile/AITile.d.ts +26 -0
  64. package/lib/es/components/Tiles/AITile/AITileBody.d.ts +16 -0
  65. package/lib/es/components/Tiles/BaseTile/BaseTile.d.ts +2 -0
  66. package/lib/es/components/Tiles/GlassTile/GlassTile.d.ts +24 -0
  67. package/lib/es/components/Tiles/GlassTile/GlassTileBody.d.ts +15 -0
  68. package/lib/es/components/WorkspaceSelector/WorkspaceSelector.d.ts +9 -0
  69. package/lib/es/index.d.ts +24 -0
  70. package/lib/index.js +1 -0
  71. package/package.json +4 -6
  72. package/scss/Tiles/AIPromptTile/ai-prompt-tile.scss +5 -0
  73. package/scss/Tiles/AITile/ai-tile.scss +5 -0
  74. package/scss/Tiles/GlassTile/glass-tile.scss +5 -0
  75. package/LICENSE +0 -201
  76. package/es/_virtual/_commonjsHelpers.js +0 -12
  77. package/es/_virtual/lottie.js +0 -14
  78. package/es/node_modules/@carbon-labs/utilities/es/usePrefix.js +0 -20
  79. package/es/node_modules/lottie-web/build/player/lottie.js +0 -683
  80. package/lib/_virtual/_commonjsHelpers.js +0 -14
  81. package/lib/_virtual/lottie.js +0 -18
  82. package/lib/node_modules/@carbon-labs/utilities/es/usePrefix.js +0 -23
  83. package/lib/node_modules/lottie-web/build/player/lottie.js +0 -685
@@ -0,0 +1,8 @@
1
+ export { header_static_data_fabric_dark_06 as default };
2
+ /**
3
+ * Copyright IBM Corp. 2024
4
+ *
5
+ * This source code is licensed under the Apache-2.0 license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ declare var header_static_data_fabric_dark_06: string;
@@ -0,0 +1,8 @@
1
+ export { header_static_data_fabric_light_06 as default };
2
+ /**
3
+ * Copyright IBM Corp. 2024
4
+ *
5
+ * This source code is licensed under the Apache-2.0 license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ declare var header_static_data_fabric_light_06: string;
@@ -1,12 +1,8 @@
1
+ export { header_static_db2_dark_01 as default };
1
2
  /**
2
3
  * Copyright IBM Corp. 2024
3
4
  *
4
5
  * This source code is licensed under the Apache-2.0 license found in the
5
6
  * LICENSE file in the root directory of this source tree.
6
7
  */
7
-
8
- 'use strict';
9
-
10
- var lottie = {exports: {}};
11
-
12
- exports.__module = lottie;
8
+ declare var header_static_db2_dark_01: string;
@@ -1,10 +1,8 @@
1
+ export { header_static_db2_light_01 as default };
1
2
  /**
2
3
  * Copyright IBM Corp. 2024
3
4
  *
4
5
  * This source code is licensed under the Apache-2.0 license found in the
5
6
  * LICENSE file in the root directory of this source tree.
6
7
  */
7
-
8
- var lottie = {exports: {}};
9
-
10
- export { lottie as __module };
8
+ declare var header_static_db2_light_01: string;
@@ -0,0 +1,8 @@
1
+ export { header_static_watsonx_a_dark_01 as default };
2
+ /**
3
+ * Copyright IBM Corp. 2024
4
+ *
5
+ * This source code is licensed under the Apache-2.0 license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ declare var header_static_watsonx_a_dark_01: string;
@@ -0,0 +1,8 @@
1
+ export { header_static_watsonx_a_light_01 as default };
2
+ /**
3
+ * Copyright IBM Corp. 2024
4
+ *
5
+ * This source code is licensed under the Apache-2.0 license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ declare var header_static_watsonx_a_light_01: string;
@@ -0,0 +1,8 @@
1
+ export { header_static_watsonx_data_dark_05 as default };
2
+ /**
3
+ * Copyright IBM Corp. 2024
4
+ *
5
+ * This source code is licensed under the Apache-2.0 license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ declare var header_static_watsonx_data_dark_05: string;
@@ -0,0 +1,8 @@
1
+ export { header_static_watsonx_data_light_06 as default };
2
+ /**
3
+ * Copyright IBM Corp. 2024
4
+ *
5
+ * This source code is licensed under the Apache-2.0 license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ declare var header_static_watsonx_data_light_06: string;
@@ -0,0 +1,8 @@
1
+ export { header_static_wxbia_dark_01 as default };
2
+ /**
3
+ * Copyright IBM Corp. 2024
4
+ *
5
+ * This source code is licensed under the Apache-2.0 license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ declare var header_static_wxbia_dark_01: string;
@@ -0,0 +1,8 @@
1
+ export { header_static_wxbia_light_01 as default };
2
+ /**
3
+ * Copyright IBM Corp. 2024
4
+ *
5
+ * This source code is licensed under the Apache-2.0 license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ declare var header_static_wxbia_light_01: string;
@@ -0,0 +1,99 @@
1
+ export { AnimatedHeader as default };
2
+ /** Animated Header */
3
+ declare function AnimatedHeader({ allTileGroups, ariaLabels, selectedTileGroup, setSelectedTileGroup, description, headerAnimation, headerStatic, productName, userName, welcomeText, contentSwitcherConfig, headerActionConfig, tasksControllerConfig, workspaceSelectorConfig, isLoading, disabledTaskLabel, expandButtonLabel, collapseButtonLabel, tileClickHandler }: {
4
+ allTileGroups: any;
5
+ ariaLabels?: {} | undefined;
6
+ selectedTileGroup: any;
7
+ setSelectedTileGroup: any;
8
+ description: any;
9
+ headerAnimation: any;
10
+ headerStatic: any;
11
+ productName?: string | undefined;
12
+ userName: any;
13
+ welcomeText: any;
14
+ contentSwitcherConfig: any;
15
+ headerActionConfig: any;
16
+ tasksControllerConfig: any;
17
+ workspaceSelectorConfig: any;
18
+ isLoading: any;
19
+ disabledTaskLabel: any;
20
+ expandButtonLabel?: string | undefined;
21
+ collapseButtonLabel?: string | undefined;
22
+ tileClickHandler: any;
23
+ }): React.DetailedReactHTMLElement<{
24
+ className: string;
25
+ "data-expanded": boolean;
26
+ }, HTMLElement>;
27
+ declare namespace AnimatedHeader {
28
+ let displayName: string;
29
+ namespace propTypes {
30
+ let allTileGroups: PropTypes.Requireable<(object | null | undefined)[]>;
31
+ let ariaLabels: PropTypes.Requireable<object>;
32
+ let className: PropTypes.Requireable<string>;
33
+ let collapseButtonLabel: PropTypes.Requireable<string>;
34
+ let contentSwitcherConfig: PropTypes.Requireable<PropTypes.InferProps<{
35
+ items: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
36
+ id: PropTypes.Requireable<string>;
37
+ text: PropTypes.Validator<string>;
38
+ onSelect: PropTypes.Requireable<(...args: any[]) => any>;
39
+ }>>[]>;
40
+ ariaLabel: PropTypes.Requireable<string>;
41
+ isLoading: PropTypes.Requireable<boolean>;
42
+ lowContrast: PropTypes.Requireable<boolean>;
43
+ headerExpanded: PropTypes.Requireable<boolean>;
44
+ visibleCount: PropTypes.Requireable<number>;
45
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
46
+ }>>;
47
+ let description: PropTypes.Requireable<string>;
48
+ let expandButtonLabel: PropTypes.Requireable<string>;
49
+ let headerActionConfig: PropTypes.Requireable<PropTypes.InferProps<{
50
+ type: PropTypes.Validator<string>;
51
+ iconButton: PropTypes.Requireable<PropTypes.InferProps<{
52
+ icon: PropTypes.Validator<NonNullable<PropTypes.ReactComponentLike>>;
53
+ iconLabel: PropTypes.Validator<string>;
54
+ onClick: PropTypes.Validator<(...args: any[]) => any>;
55
+ disabled: PropTypes.Requireable<boolean>;
56
+ ariaLabel: PropTypes.Requireable<string>;
57
+ propsOverrides: PropTypes.Requireable<object>;
58
+ }>>;
59
+ ghostButton: PropTypes.Requireable<PropTypes.InferProps<{
60
+ label: PropTypes.Validator<string>;
61
+ icon: PropTypes.Requireable<PropTypes.ReactComponentLike>;
62
+ onClick: PropTypes.Validator<(...args: any[]) => any>;
63
+ disabled: PropTypes.Requireable<boolean>;
64
+ ariaLabel: PropTypes.Requireable<string>;
65
+ propsOverrides: PropTypes.Requireable<object>;
66
+ }>>;
67
+ }>>;
68
+ let headerAnimation: PropTypes.Requireable<object>;
69
+ let headerStatic: PropTypes.Requireable<object>;
70
+ let isLoading: PropTypes.Requireable<boolean>;
71
+ let productName: PropTypes.Requireable<string>;
72
+ let selectedTileGroup: PropTypes.Requireable<object>;
73
+ let setSelectedTileGroup: PropTypes.Requireable<(...args: any[]) => any>;
74
+ let tasksControllerConfig: PropTypes.Requireable<PropTypes.InferProps<{
75
+ type: PropTypes.Validator<string>;
76
+ isLoading: PropTypes.Requireable<boolean>;
77
+ button: PropTypes.Requireable<PropTypes.InferProps<{
78
+ text: PropTypes.Validator<string>;
79
+ propsOverrides: PropTypes.Requireable<object>;
80
+ }>>;
81
+ dropdown: PropTypes.Requireable<PropTypes.InferProps<{
82
+ label: PropTypes.Requireable<string>;
83
+ ariaLabel: PropTypes.Requireable<string>;
84
+ propsOverrides: PropTypes.Requireable<object>;
85
+ }>>;
86
+ }>>;
87
+ let tileClickHandler: PropTypes.Requireable<(...args: any[]) => any>;
88
+ let userName: PropTypes.Requireable<string>;
89
+ let welcomeText: PropTypes.Requireable<string>;
90
+ let workspaceSelectorConfig: PropTypes.Requireable<PropTypes.InferProps<{
91
+ propsOverrides: PropTypes.Requireable<object>;
92
+ allWorkspaces: PropTypes.Requireable<(object | null | undefined)[]>;
93
+ selectedWorkspace: PropTypes.Requireable<object>;
94
+ setSelectedWorkspace: PropTypes.Validator<(...args: any[]) => any>;
95
+ }>>;
96
+ }
97
+ }
98
+ import React from 'react';
99
+ import PropTypes from 'prop-types';
@@ -0,0 +1,10 @@
1
+ export { ContentSwitcherSelector as default };
2
+ declare function ContentSwitcherSelector({ contentSwitcherConfig, isLoading, headerExpanded }: {
3
+ contentSwitcherConfig: any;
4
+ isLoading: any;
5
+ headerExpanded: any;
6
+ }): React.FunctionComponentElement<import("@carbon/react").SkeletonPlaceholderProps> | React.DetailedReactHTMLElement<{
7
+ className: string;
8
+ "data-expanded": any;
9
+ }, HTMLElement> | null;
10
+ import React from 'react';
@@ -0,0 +1,11 @@
1
+ export { HeaderAction as default };
2
+ declare function HeaderAction({ config, headerExpanded }: {
3
+ config: any;
4
+ headerExpanded: any;
5
+ }): React.DetailedReactHTMLElement<{
6
+ className: string;
7
+ "aria-label": any;
8
+ "aria-hidden": boolean;
9
+ "data-expanded": any;
10
+ }, HTMLElement> | undefined;
11
+ import React from 'react';
@@ -0,0 +1,8 @@
1
+ export { HeaderTitle as default };
2
+ declare function HeaderTitle({ userName, welcomeText, headerExpanded, ariaLabels }: {
3
+ userName: any;
4
+ welcomeText: any;
5
+ headerExpanded: any;
6
+ ariaLabels: any;
7
+ }): React.FunctionComponentElement<import("@carbon/react").TooltipProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>>;
8
+ import React from 'react';
@@ -0,0 +1,11 @@
1
+ export { TasksController as default };
2
+ declare function TasksController({ tasksControllerConfig, isLoading, allTileGroups, selectedTileGroup, setSelectedTileGroup }: {
3
+ tasksControllerConfig: any;
4
+ isLoading: any;
5
+ allTileGroups: any;
6
+ selectedTileGroup: any;
7
+ setSelectedTileGroup: any;
8
+ }): React.FunctionComponentElement<import("@carbon/react").ButtonProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>> | React.FunctionComponentElement<import("@carbon/react").SkeletonPlaceholderProps> | React.DetailedReactHTMLElement<{
9
+ className: string;
10
+ }, HTMLElement> | null;
11
+ import React from 'react';
@@ -0,0 +1,25 @@
1
+ export function AIPromptTile({ tileId, href, title, disabledTaskLabel, productName, promptPlaceholder, primaryIcon: PrimaryIcon, aiLabelVariant, aiLabelText, aiLabelTagType, onClick, ariaLabel, open, isLoading, isDisabled }: {
2
+ tileId: any;
3
+ href: any;
4
+ title: any;
5
+ disabledTaskLabel: any;
6
+ productName: any;
7
+ promptPlaceholder?: string | undefined;
8
+ primaryIcon: any;
9
+ aiLabelVariant?: string | undefined;
10
+ aiLabelText?: string | undefined;
11
+ aiLabelTagType?: string | undefined;
12
+ onClick: any;
13
+ ariaLabel: any;
14
+ open: any;
15
+ isLoading: any;
16
+ isDisabled: any;
17
+ }): React.DetailedReactHTMLElement<{
18
+ id: string;
19
+ className: string;
20
+ "aria-label": any;
21
+ role: "listitem";
22
+ title: any;
23
+ key: any;
24
+ }, HTMLElement>;
25
+ import React from 'react';
@@ -0,0 +1,26 @@
1
+ export function AITile({ tileId, href, title, subtitle, disabledTaskLabel, customContent, primaryIcon: PrimaryIcon, secondaryIcon: SecondaryIcon, aiLabelVariant, aiLabelText, aiLabelTagType, onClick: aiTileClickHandler, ariaLabel, open, isLoading, isDisabled }: {
2
+ tileId: any;
3
+ href: any;
4
+ title: any;
5
+ subtitle: any;
6
+ disabledTaskLabel: any;
7
+ customContent: any;
8
+ primaryIcon: any;
9
+ secondaryIcon: any;
10
+ aiLabelVariant: any;
11
+ aiLabelText: any;
12
+ aiLabelTagType: any;
13
+ onClick: any;
14
+ ariaLabel: any;
15
+ open: any;
16
+ isLoading: any;
17
+ isDisabled: any;
18
+ }): React.DetailedReactHTMLElement<{
19
+ className: string;
20
+ key: any;
21
+ "aria-label": any;
22
+ title: any;
23
+ tabIndex: number;
24
+ }, HTMLElement> | React.FunctionComponentElement<import("@carbon/react").LinkProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>>;
25
+ import React from 'react';
26
+ export { AITile as default };
@@ -0,0 +1,16 @@
1
+ export function AITileBody({ open, title, subtitle, customContent, primaryIcon: PrimaryIcon, secondaryIcon: SecondaryIcon, aiLabelVariant, aiLabelText, aiLabelTagType, isLoading }: {
2
+ open: any;
3
+ title: any;
4
+ subtitle: any;
5
+ customContent: any;
6
+ primaryIcon: any;
7
+ secondaryIcon: any;
8
+ aiLabelVariant?: string | undefined;
9
+ aiLabelText?: string | undefined;
10
+ aiLabelTagType?: string | undefined;
11
+ isLoading: any;
12
+ }): React.FunctionComponentElement<import("@carbon/react").SkeletonPlaceholderProps> | React.DetailedReactHTMLElement<{
13
+ className: string;
14
+ "data-expanded": any;
15
+ }, HTMLElement>;
16
+ import React from 'react';
@@ -0,0 +1,2 @@
1
+ export function BaseTile(props: any): React.FunctionComponentElement<import("../AITile/AITile.js").AITileProps> | React.FunctionComponentElement<import("../AIPromptTile/AIPromptTile.js").AIPromptTileProps> | React.FunctionComponentElement<import("../GlassTile/GlassTile.js").GlassTileProps>;
2
+ import React from 'react';
@@ -0,0 +1,24 @@
1
+ export function GlassTile({ tileId, href, title, subtitle, disabledTaskLabel, customContent, primaryIcon: PrimaryIcon, secondaryIcon: SecondaryIcon, tagLabel, tagType, onClick: glassTileClickHandler, ariaLabel, open, isLoading, isDisabled }: {
2
+ tileId: any;
3
+ href: any;
4
+ title: any;
5
+ subtitle: any;
6
+ disabledTaskLabel: any;
7
+ customContent: any;
8
+ primaryIcon: any;
9
+ secondaryIcon: any;
10
+ tagLabel: any;
11
+ tagType: any;
12
+ onClick: any;
13
+ ariaLabel: any;
14
+ open: any;
15
+ isLoading: any;
16
+ isDisabled: any;
17
+ }): React.FunctionComponentElement<import("@carbon/react").LinkProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>> | React.DetailedReactHTMLElement<{
18
+ className: string;
19
+ key: any;
20
+ "aria-label": any;
21
+ title: any;
22
+ tabIndex: number;
23
+ }, HTMLElement>;
24
+ import React from 'react';
@@ -0,0 +1,15 @@
1
+ export function GlassTileBody({ open, title, subtitle, customContent, primaryIcon: PrimaryIcon, secondaryIcon: SecondaryIcon, tagLabel, tagType, isLoading }: {
2
+ open: any;
3
+ title: any;
4
+ subtitle: any;
5
+ customContent: any;
6
+ primaryIcon: any;
7
+ secondaryIcon: any;
8
+ tagLabel: any;
9
+ tagType?: string | undefined;
10
+ isLoading: any;
11
+ }): React.FunctionComponentElement<import("@carbon/react").SkeletonPlaceholderProps> | React.DetailedReactHTMLElement<{
12
+ className: string;
13
+ "data-expanded": any;
14
+ }, HTMLElement>;
15
+ import React from 'react';
@@ -0,0 +1,9 @@
1
+ export { WorkspaceSelector as default };
2
+ declare function WorkspaceSelector({ workspaceSelectorConfig, userName, isLoading }: {
3
+ workspaceSelectorConfig: any;
4
+ userName: any;
5
+ isLoading: any;
6
+ }): React.FunctionComponentElement<import("@carbon/react").SkeletonPlaceholderProps> | React.FunctionComponentElement<import("@carbon/react").DropdownProps<unknown> & {
7
+ ref?: React.Ref<HTMLButtonElement>;
8
+ }> | null;
9
+ import React from 'react';
@@ -0,0 +1,24 @@
1
+ export { default as AnimatedHeader } from "./components/AnimatedHeader/AnimatedHeader.js";
2
+ export { default as HeaderAction } from "./components/HeaderAction/HeaderAction.js";
3
+ export { default as HeaderTitle } from "./components/HeaderTitle/HeaderTitle.js";
4
+ export { BaseTile } from "./components/Tiles/BaseTile/BaseTile.js";
5
+ export { default as dataFabricStaticLight } from "./assets/static/header_static_data_fabric_light_06.svg.js";
6
+ export { default as dataFabricStaticDark } from "./assets/static/header_static_data_fabric_dark_06.svg.js";
7
+ export { default as db2StaticLight } from "./assets/static/header_static_db2_light_01.svg.js";
8
+ export { default as db2StaticDark } from "./assets/static/header_static_db2_dark_01.svg.js";
9
+ export { default as watsonXStaticLight } from "./assets/static/header_static_watsonx_data_light_06.svg.js";
10
+ export { default as watsonXStaticDark } from "./assets/static/header_static_watsonx_data_dark_05.svg.js";
11
+ export { default as watsonXAStaticLight } from "./assets/static/header_static_watsonx_a_light_01.svg.js";
12
+ export { default as watsonXAStaticDark } from "./assets/static/header_static_watsonx_a_dark_01.svg.js";
13
+ export { default as wxbiaStaticLight } from "./assets/static/header_static_wxbia_light_01.svg.js";
14
+ export { default as wxbiaStaticDark } from "./assets/static/header_static_wxbia_dark_01.svg.js";
15
+ export { default as dataFabricAnimatedLight } from "./assets/animated/header_animated_data_fabric_light_03.json.js";
16
+ export { default as dataFabricAnimatedDark } from "./assets/animated/header_animated_data_fabric_dark_06.json.js";
17
+ export { default as db2AnimatedLight } from "./assets/animated/header_animated_db2_light_03.json.js";
18
+ export { default as db2AnimatedDark } from "./assets/animated/header_animated_db2_dark_03.json.js";
19
+ export { default as watsonXAnimatedLight } from "./assets/animated/header_animated_watsonx_data_light_04.json.js";
20
+ export { default as watsonXAnimatedDark } from "./assets/animated/header_animated_watsonx_data_dark_03.json.js";
21
+ export { default as watsonXAAnimatedLight } from "./assets/animated/header_animated_watsonx_a_light_06.json.js";
22
+ export { default as watsonXAAnimatedDark } from "./assets/animated/header_animated_watsonx_a_dark_06.json.js";
23
+ export { default as wxbiaAnimatedLight } from "./assets/animated/header_animated_wxbia_light_09.json.js";
24
+ export { default as wxbiaAnimatedDark } from "./assets/animated/header_animated_wxbia_dark_06.json.js";
package/lib/index.js CHANGED
@@ -12,6 +12,7 @@ var HeaderAction = require('./components/HeaderAction/HeaderAction.js');
12
12
  var HeaderTitle = require('./components/HeaderTitle/HeaderTitle.js');
13
13
  require('react');
14
14
  require('@carbon/react');
15
+ require('@carbon-labs/utilities/usePrefix');
15
16
  require('@carbon/react/icons');
16
17
  var BaseTile = require('./components/Tiles/BaseTile/BaseTile.js');
17
18
  var header_static_data_fabric_light_06 = require('./assets/static/header_static_data_fabric_light_06.svg.js');
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "@carbon-labs/react-animated-header",
3
- "version": "0.38.0",
3
+ "version": "0.40.0",
4
4
  "publishConfig": {
5
- "access": "public",
6
- "provenance": true
5
+ "access": "public"
7
6
  },
8
7
  "type": "module",
9
8
  "description": "Carbon Labs - Animated Header",
@@ -43,7 +42,6 @@
43
42
  "lottie-web": "^5.12.2"
44
43
  },
45
44
  "devDependencies": {
46
- "@carbon-labs/utilities": "canary"
47
- },
48
- "gitHead": "f339f983db13e1cc4af78c6f9dcd20370b07290d"
45
+ "@carbon-labs/utilities": "0.20.0"
46
+ }
49
47
  }
@@ -137,10 +137,15 @@ $prefix: 'clabs--animated-header__ai-prompt-tile' !default;
137
137
  position: relative;
138
138
  z-index: 4;
139
139
  display: flex;
140
+ align-items: flex-start;
140
141
  justify-content: space-between;
141
142
  margin-block-end: $spacing-05;
142
143
  }
143
144
 
145
+ .#{$prefix}--tag {
146
+ z-index: 4;
147
+ }
148
+
144
149
  .#{$prefix}--title {
145
150
  @include type-style('body-compact-02');
146
151
 
@@ -133,10 +133,15 @@ $prefix: 'clabs--animated-header__ai-tile' !default;
133
133
  position: relative;
134
134
  z-index: 4;
135
135
  display: flex;
136
+ align-items: flex-start;
136
137
  justify-content: space-between;
137
138
  margin-block-end: $spacing-05;
138
139
  }
139
140
 
141
+ .#{$prefix}--tag {
142
+ z-index: 4;
143
+ }
144
+
140
145
  .#{$prefix}--title {
141
146
  @include type-style('body-compact-02');
142
147
 
@@ -100,10 +100,15 @@ $prefix: 'clabs--animated-header__glass-tile' !default;
100
100
  position: relative;
101
101
  z-index: 2;
102
102
  display: flex;
103
+ align-items: flex-start;
103
104
  justify-content: space-between;
104
105
  margin-block-end: $spacing-05;
105
106
  }
106
107
 
108
+ .#{$prefix}--tag {
109
+ z-index: 2;
110
+ }
111
+
107
112
  .#{$prefix}--title {
108
113
  @include type-style('body-compact-02');
109
114