@equinor/echo-components 0.11.14-beta34 → 0.11.14
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/index.cjs.js +1 -1
- package/package.json +1 -1
- package/src/components/index.d.ts +1 -0
- package/src/components/itemMarker/ChipsContainer.d.ts +2 -2
- package/src/components/itemMarker/ItemMarker.d.ts +3 -3
- package/src/components/itemMarker/ItemMarkerChip.d.ts +2 -1
- package/src/components/itemMarker/ItemMarkerChips.d.ts +2 -2
package/package.json
CHANGED
|
@@ -20,6 +20,7 @@ export * from './horizontalTabView';
|
|
|
20
20
|
export * from './iconLink/compactIconLink/CompactIconLink';
|
|
21
21
|
export * from './iconLink/inlineTagIconLink/InlineTagIconLink';
|
|
22
22
|
export * from './itemMarker/ItemMarker';
|
|
23
|
+
export type { ItemMarkerChipProps } from './itemMarker/ItemMarkerChip';
|
|
23
24
|
export * from './itemMarker/ItemMarkerExpanded';
|
|
24
25
|
export * from './itemMarker/ItemMarkerIcon';
|
|
25
26
|
export * from './itemMarker/MultipleItemMarkers';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ItemMarkerChipProps } from './ItemMarkerChip';
|
|
3
3
|
export interface ChipsContainerProps {
|
|
4
|
-
chips:
|
|
4
|
+
chips: ItemMarkerChipProps[];
|
|
5
5
|
className?: string;
|
|
6
6
|
children?: ReactNode;
|
|
7
7
|
isTransparent?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { CSSProperties } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ItemMarkerChipProps } from './ItemMarkerChip';
|
|
3
3
|
import { ItemMarkerIconType, ItemMarkerPosition, ItemMarkerSize } from './utils/itemMarkerUtils';
|
|
4
4
|
export interface ItemMarkerProps {
|
|
5
5
|
icon: ItemMarkerIconType;
|
|
@@ -7,7 +7,7 @@ export interface ItemMarkerProps {
|
|
|
7
7
|
isTransparent?: boolean;
|
|
8
8
|
isActive?: boolean;
|
|
9
9
|
isChipsEnabled?: boolean;
|
|
10
|
-
chips?:
|
|
10
|
+
chips?: ItemMarkerChipProps[];
|
|
11
11
|
backgroundColor?: string;
|
|
12
12
|
iconColor?: string;
|
|
13
13
|
hasPointer?: boolean;
|
|
@@ -27,7 +27,7 @@ export interface ItemMarkerProps {
|
|
|
27
27
|
* @param {boolean} isTransparent - If true, marker is visible; if false, transparent (optional).
|
|
28
28
|
* @param {boolean} isActive - Indicates active state (optional).
|
|
29
29
|
* @param {boolean} isChipsEnabled - Shows chips if true (optional).
|
|
30
|
-
* @param {
|
|
30
|
+
* @param {ItemMarkerChipProps[]} chips - Chips to display (optional).
|
|
31
31
|
* @param {string} backgroundColor - The itemMarker's background color (optional).
|
|
32
32
|
* @param {string} iconColor - Background color of the icon (optional).
|
|
33
33
|
* @param {boolean} hasPointer - If true, marker includes a pointer (optional).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ItemMarkerChipProps } from './ItemMarkerChip';
|
|
3
3
|
export interface ItemMarkerChipsProps {
|
|
4
|
-
chips:
|
|
4
|
+
chips: ItemMarkerChipProps[];
|
|
5
5
|
maxNumberOfChips?: number;
|
|
6
6
|
className?: string;
|
|
7
7
|
style?: CSSProperties;
|