@equinor/echo-components 0.10.0-beta-0 → 0.10.0-beta-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/echo-components",
3
- "version": "0.10.0-beta-0",
3
+ "version": "0.10.0-beta-2",
4
4
  "dependencies": {
5
5
  "chart.js": "4.4.0",
6
6
  "react-window": "1.8.9",
@@ -8,8 +8,8 @@
8
8
  },
9
9
  "peerDependencies": {
10
10
  "@equinor/echo-utils": ">= 0.3.0 < 0.4.0",
11
- "@equinor/eds-core-react": "=0.25.0",
12
- "@equinor/eds-icons": "=0.17.0",
11
+ "@equinor/eds-core-react": "0.34.0",
12
+ "@equinor/eds-icons": "0.19.3",
13
13
  "react": ">= 17.0.2",
14
14
  "react-dom": ">= 17.0.2",
15
15
  "zustand": "4.4.6",
@@ -7,6 +7,7 @@ export declare function Tabs(props: TabListProps): import("react/jsx-runtime").J
7
7
  /** Returns a button that acts like a tab button in a tab list. */
8
8
  export declare const Tab: import("react").ForwardRefExoticComponent<{
9
9
  active?: boolean | undefined;
10
+ value?: string | number | undefined;
10
11
  disabled?: boolean | undefined;
11
12
  as?: import("react").ElementType | undefined;
12
13
  } & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<unknown>>;
@@ -1,3 +1,2 @@
1
1
  export { IconList } from './iconList/IconList';
2
2
  export * from './linkCard/LinkCard';
3
- export * from './optionsList/OptionsList';
@@ -10,6 +10,5 @@ export * from './legend';
10
10
  export * from './linkCardItem';
11
11
  export * from './menuItem';
12
12
  export * from './notificationItem';
13
- export * from './optionsItem';
14
13
  export * from './radioButtonItem';
15
14
  export * from './workOrderItem';
@@ -1,24 +0,0 @@
1
- import React, { CSSProperties } from 'react';
2
- import { OptionsItem } from '../../types/optionsItem';
3
- export interface OptionsListProps {
4
- style?: CSSProperties;
5
- items: OptionsItem[];
6
- titles: string[];
7
- columns: number;
8
- }
9
- /**
10
- * Component that renders a list with a set number of radio buttons for each row in the list
11
- *
12
- * @param {OptionsListProps} {
13
- * items:{ the items that should be shown in the list
14
- * title: the text displayed for a row in the list
15
- * color: the background color used in the badge in front of the title of the item
16
- * selectedColumnIndex: specifies witch radio button should have selected state. Should not be larger than the columns input property
17
- * }
18
- * style: Optional parameter that can override the wrapper style
19
- * titles: list of title that should be shown for the different columns in the list
20
- * columns: the number of columns the list should have
21
- * }
22
- * @return {*} {JSX.Element} a list of rows with a set of radio buttons
23
- */
24
- export declare const OptionsList: ({ items, style, titles, columns }: OptionsListProps) => React.JSX.Element;
@@ -1,6 +0,0 @@
1
- export interface OptionsItem {
2
- color?: string;
3
- title: string;
4
- selectedColumnIndex: number;
5
- onSelected: (rowIndex: number, columnIndex: number) => void;
6
- }