@equinor/echo-components 1.0.1 → 1.2.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/echo-components",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"chart.js": "4.5.0",
|
|
6
6
|
"react-datepicker": "8.7.0",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"react-window": "1.8.11"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@equinor/echo-utils": ">= 1.
|
|
11
|
+
"@equinor/echo-utils": ">= 1.2.0 < 2.0.0",
|
|
12
12
|
"@equinor/eds-core-react": "0.43.0",
|
|
13
13
|
"@equinor/eds-icons": "0.22.0",
|
|
14
14
|
"@equinor/eds-tokens": "0.9.2",
|
|
@@ -4,3 +4,9 @@ export interface EchoBottomBarProps {
|
|
|
4
4
|
style?: React.CSSProperties;
|
|
5
5
|
}
|
|
6
6
|
export declare const EchoBottomBar: React.FC<EchoBottomBarProps>;
|
|
7
|
+
/**
|
|
8
|
+
* Child for EchoBottomBar. An <li> with the needed style
|
|
9
|
+
**/
|
|
10
|
+
export declare const EchoBottomBarItem: ({ children }: {
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -33,6 +33,7 @@ export interface SidebarButtonProps {
|
|
|
33
33
|
* The icon to be displayed.
|
|
34
34
|
*/
|
|
35
35
|
children: React.ReactNode;
|
|
36
|
+
showIndicator?: boolean;
|
|
36
37
|
}
|
|
37
38
|
/**
|
|
38
39
|
* The reusable button component that is used in the sidebars/bottom bar.
|
|
@@ -57,4 +58,4 @@ export interface SidebarButtonProps {
|
|
|
57
58
|
* }
|
|
58
59
|
* @return {*} {JSX.Element}
|
|
59
60
|
*/
|
|
60
|
-
export declare const SidebarButton: ({ text, active, onClick, count, buttonPosition, refValue, id, children }: SidebarButtonProps) => React.JSX.Element;
|
|
61
|
+
export declare const SidebarButton: ({ text, active, onClick, count, buttonPosition, refValue, id, children, showIndicator }: SidebarButtonProps) => React.JSX.Element;
|
package/style-reset.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
#root,body,html{height:100%;overflow:hidden;position:fixed;width:100%}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:var(--equiGray5);border-radius:5px}::-webkit-scrollbar-thumb{background:var(--equiGreen1);border-radius:5px}::-webkit-scrollbar-thumb:hover{background:var(--eds_interactive_primary__hover)}button,input{appearance:none;background:transparent;border:inherit;color:inherit;font:inherit;outline:0}input,input:after,input:before{-webkit-user-select:initial;-khtml-user-select:initial;-moz-user-select:initial;-ms-user-select:initial;user-select:auto}
|
|
1
|
+
#root,body,html{height:100%;overflow:hidden;position:fixed;width:100%}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:var(--equiGray5);border-radius:5px}::-webkit-scrollbar-thumb{background:var(--equiGreen1);border-radius:5px}::-webkit-scrollbar-thumb:hover{background:var(--eds_interactive_primary__hover)}button,input{appearance:none;background:transparent;border:inherit;color:inherit;font:inherit;outline:0}input,input:after,input:before{-webkit-user-select:initial;-khtml-user-select:initial;-moz-user-select:initial;-ms-user-select:initial;user-select:auto}
|