@equinor/echo-components 0.11.8 → 0.11.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/echo-components",
3
- "version": "0.11.8",
3
+ "version": "0.11.9",
4
4
  "dependencies": {
5
5
  "chart.js": "4.4.3",
6
6
  "react-window": "1.8.10",
@@ -46,6 +46,7 @@ interface ListItemBaseProps {
46
46
  */
47
47
  className?: string;
48
48
  style?: CSSProperties;
49
+ footer?: React.ReactNode;
49
50
  }
50
51
  export type ListItemProps = ListItemBaseProps & WithVisualOrIconOptions;
51
52
  declare function ListItem(props: ListItemProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import { TabProps } from '@equinor/eds-core-react';
2
- import { ReactNode } from 'react';
1
+ import { TabProps, Tabs } from '@equinor/eds-core-react';
2
+ import { ReactElement } from 'react';
3
3
  export type PredefinedTab = {
4
4
  title: string;
5
5
  options?: TabProps;
@@ -9,17 +9,19 @@ export interface MultilineTabsProps {
9
9
  tabs: PredefinedTab[];
10
10
  activeTabIndex: number;
11
11
  onTabChange: (index: number) => void;
12
- children: ReactNode[];
12
+ initiallyExpanded?: boolean;
13
+ children: ReactElement<typeof Tabs.Panels>;
13
14
  }
14
15
  /**
15
16
  * An EDS Tabs component that can be expanded to show overflow in multiple lines.
16
17
  *
17
18
  * @param {MultilineTabsProps} {
18
- * className: Style overrides
19
+ * className: Style overrides on tab list.
19
20
  * tabs: Tab titles and options
20
21
  * activeTabIndex: The current active tab index. Can be overridden with options.active.
21
22
  * onTabChange: Callback for when the tab index changes.
22
- * children: The sectioned tab content
23
+ * initiallyExpanded: The tab panel is expanded on mount.
24
+ * children: The sectioned tab content.
23
25
  * }
24
26
  * @returns {*} {JSX.Element} Returns a custom EDS Tab bar and sectioned content.
25
27
  */
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  interface TitleAndStatusLabelProps {
3
3
  title: string;
4
- statusText: string;
4
+ statusText?: string;
5
5
  statusColor?: string;
6
6
  }
7
7
  /**
@@ -9,3 +9,4 @@ export * from './sap';
9
9
  export * from "./sidesheet";
10
10
  export * from './subsea';
11
11
  export * from './workOrders';
12
+ export * from './xld';
@@ -0,0 +1,2 @@
1
+ import { IconData } from '@equinor/eds-icons';
2
+ export declare const xld_sticky_note: IconData;