@carbon-labs/react-animated-header 0.35.0 → 0.36.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.
@@ -15162,28 +15162,9 @@ export declare const ThemeG10: {
15162
15162
  options: number[];
15163
15163
  mapping: {
15164
15164
  0: null;
15165
- 1: {
15166
- ariaLabel: string;
15167
- visibleCount: number;
15168
- items: {
15169
- id: string;
15170
- text: string;
15171
- }[];
15172
- };
15173
- 2: {
15174
- ariaLabel: string;
15175
- visibleCount: number;
15176
- items: {
15177
- id: string;
15178
- text: string;
15179
- }[];
15180
- };
15181
- 3: {
15182
- ariaLabel: string;
15183
- isLoading: boolean;
15184
- visibleCount: number;
15185
- items: never[];
15186
- };
15165
+ 1: import("..").ContentSwitcherConfig;
15166
+ 2: import("..").ContentSwitcherConfig;
15167
+ 3: import("..").ContentSwitcherConfig;
15187
15168
  };
15188
15169
  };
15189
15170
  contentSwitcherLowContrast: {
@@ -30374,28 +30355,9 @@ export declare const ThemeG100: {
30374
30355
  options: number[];
30375
30356
  mapping: {
30376
30357
  0: null;
30377
- 1: {
30378
- ariaLabel: string;
30379
- visibleCount: number;
30380
- items: {
30381
- id: string;
30382
- text: string;
30383
- }[];
30384
- };
30385
- 2: {
30386
- ariaLabel: string;
30387
- visibleCount: number;
30388
- items: {
30389
- id: string;
30390
- text: string;
30391
- }[];
30392
- };
30393
- 3: {
30394
- ariaLabel: string;
30395
- isLoading: boolean;
30396
- visibleCount: number;
30397
- items: never[];
30398
- };
30358
+ 1: import("..").ContentSwitcherConfig;
30359
+ 2: import("..").ContentSwitcherConfig;
30360
+ 3: import("..").ContentSwitcherConfig;
30399
30361
  };
30400
30362
  };
30401
30363
  contentSwitcherLowContrast: {
@@ -8,6 +8,7 @@
8
8
  */
9
9
  import { TileGroup } from '../../components/AnimatedHeader/types';
10
10
  import type { HeaderActionConfig } from '../../components/HeaderAction/header-action.types';
11
+ import type { ContentSwitcherConfig } from '../../components/ContentSwitcherSelector/ContentSwitcherSelector';
11
12
  export declare const workspaceData: {
12
13
  id: string;
13
14
  label: string;
@@ -36,28 +37,9 @@ export declare const tasksControllerConfigLoading: {
36
37
  type: string;
37
38
  isLoading: boolean;
38
39
  };
39
- export declare const contentSwitcherConfigTwo: {
40
- ariaLabel: string;
41
- visibleCount: number;
42
- items: {
43
- id: string;
44
- text: string;
45
- }[];
46
- };
47
- export declare const contentSwitcherConfigThree: {
48
- ariaLabel: string;
49
- visibleCount: number;
50
- items: {
51
- id: string;
52
- text: string;
53
- }[];
54
- };
55
- export declare const contentSwitcherConfigLoading: {
56
- ariaLabel: string;
57
- isLoading: boolean;
58
- visibleCount: number;
59
- items: never[];
60
- };
40
+ export declare const contentSwitcherConfigTwo: ContentSwitcherConfig;
41
+ export declare const contentSwitcherConfigThree: ContentSwitcherConfig;
42
+ export declare const contentSwitcherConfigLoading: ContentSwitcherConfig;
61
43
  export declare const workspaceSelectorConfig: {
62
44
  allWorkspaces: {
63
45
  id: string;
package/es/index.d.ts CHANGED
@@ -14,4 +14,6 @@ import { BaseTile } from './components/Tiles/index';
14
14
  export * from './assets';
15
15
  export type { Workspace, WorkspaceSelectorConfig, } from './components/WorkspaceSelector/WorkspaceSelector';
16
16
  export type { TasksControllerConfig } from './components/TasksController/TasksController';
17
+ export type { HeaderActionConfig } from './components/HeaderAction/header-action.types';
18
+ export type { ContentSwitcherConfig } from './components/ContentSwitcherSelector/ContentSwitcherSelector';
17
19
  export { AnimatedHeader, BaseTile, HeaderAction, HeaderTitle, type AriaLabels, type TileGroup, };
@@ -15162,28 +15162,9 @@ export declare const ThemeG10: {
15162
15162
  options: number[];
15163
15163
  mapping: {
15164
15164
  0: null;
15165
- 1: {
15166
- ariaLabel: string;
15167
- visibleCount: number;
15168
- items: {
15169
- id: string;
15170
- text: string;
15171
- }[];
15172
- };
15173
- 2: {
15174
- ariaLabel: string;
15175
- visibleCount: number;
15176
- items: {
15177
- id: string;
15178
- text: string;
15179
- }[];
15180
- };
15181
- 3: {
15182
- ariaLabel: string;
15183
- isLoading: boolean;
15184
- visibleCount: number;
15185
- items: never[];
15186
- };
15165
+ 1: import("..").ContentSwitcherConfig;
15166
+ 2: import("..").ContentSwitcherConfig;
15167
+ 3: import("..").ContentSwitcherConfig;
15187
15168
  };
15188
15169
  };
15189
15170
  contentSwitcherLowContrast: {
@@ -30374,28 +30355,9 @@ export declare const ThemeG100: {
30374
30355
  options: number[];
30375
30356
  mapping: {
30376
30357
  0: null;
30377
- 1: {
30378
- ariaLabel: string;
30379
- visibleCount: number;
30380
- items: {
30381
- id: string;
30382
- text: string;
30383
- }[];
30384
- };
30385
- 2: {
30386
- ariaLabel: string;
30387
- visibleCount: number;
30388
- items: {
30389
- id: string;
30390
- text: string;
30391
- }[];
30392
- };
30393
- 3: {
30394
- ariaLabel: string;
30395
- isLoading: boolean;
30396
- visibleCount: number;
30397
- items: never[];
30398
- };
30358
+ 1: import("..").ContentSwitcherConfig;
30359
+ 2: import("..").ContentSwitcherConfig;
30360
+ 3: import("..").ContentSwitcherConfig;
30399
30361
  };
30400
30362
  };
30401
30363
  contentSwitcherLowContrast: {
@@ -8,6 +8,7 @@
8
8
  */
9
9
  import { TileGroup } from '../../components/AnimatedHeader/types';
10
10
  import type { HeaderActionConfig } from '../../components/HeaderAction/header-action.types';
11
+ import type { ContentSwitcherConfig } from '../../components/ContentSwitcherSelector/ContentSwitcherSelector';
11
12
  export declare const workspaceData: {
12
13
  id: string;
13
14
  label: string;
@@ -36,28 +37,9 @@ export declare const tasksControllerConfigLoading: {
36
37
  type: string;
37
38
  isLoading: boolean;
38
39
  };
39
- export declare const contentSwitcherConfigTwo: {
40
- ariaLabel: string;
41
- visibleCount: number;
42
- items: {
43
- id: string;
44
- text: string;
45
- }[];
46
- };
47
- export declare const contentSwitcherConfigThree: {
48
- ariaLabel: string;
49
- visibleCount: number;
50
- items: {
51
- id: string;
52
- text: string;
53
- }[];
54
- };
55
- export declare const contentSwitcherConfigLoading: {
56
- ariaLabel: string;
57
- isLoading: boolean;
58
- visibleCount: number;
59
- items: never[];
60
- };
40
+ export declare const contentSwitcherConfigTwo: ContentSwitcherConfig;
41
+ export declare const contentSwitcherConfigThree: ContentSwitcherConfig;
42
+ export declare const contentSwitcherConfigLoading: ContentSwitcherConfig;
61
43
  export declare const workspaceSelectorConfig: {
62
44
  allWorkspaces: {
63
45
  id: string;
package/lib/index.d.ts CHANGED
@@ -14,4 +14,6 @@ import { BaseTile } from './components/Tiles/index';
14
14
  export * from './assets';
15
15
  export type { Workspace, WorkspaceSelectorConfig, } from './components/WorkspaceSelector/WorkspaceSelector';
16
16
  export type { TasksControllerConfig } from './components/TasksController/TasksController';
17
+ export type { HeaderActionConfig } from './components/HeaderAction/header-action.types';
18
+ export type { ContentSwitcherConfig } from './components/ContentSwitcherSelector/ContentSwitcherSelector';
17
19
  export { AnimatedHeader, BaseTile, HeaderAction, HeaderTitle, type AriaLabels, type TileGroup, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon-labs/react-animated-header",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -45,5 +45,5 @@
45
45
  "devDependencies": {
46
46
  "@carbon-labs/utilities": "canary"
47
47
  },
48
- "gitHead": "e309816781d0fc8aff80cb7c9525830cc20c753c"
48
+ "gitHead": "269b91d0aa83d525616e8bc8ea9a36072e097499"
49
49
  }