@linkurious/ogma-linkurious-parser 4.1.8 → 4.1.10
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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +92 -75
- package/dist/index.mjs.map +1 -1
- package/dist/styles/styleRules.d.ts +8 -0
- package/package.json +3 -3
|
@@ -96,6 +96,14 @@ export declare class StyleRules {
|
|
|
96
96
|
* Return the label of item type for a legend item
|
|
97
97
|
*/
|
|
98
98
|
static getTypeLabel(type: string | undefined | null): string;
|
|
99
|
+
/**
|
|
100
|
+
* Return the color of item type from the list of styles
|
|
101
|
+
*/
|
|
102
|
+
getColorForType(type: string): string;
|
|
103
|
+
/**
|
|
104
|
+
* Return the icon of item type from the list of styles
|
|
105
|
+
*/
|
|
106
|
+
getIconForType(type: string): string | number | undefined;
|
|
99
107
|
/**
|
|
100
108
|
* Check if a legend item already exists and overwrite it / push it
|
|
101
109
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linkurious/ogma-linkurious-parser",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.10",
|
|
4
4
|
"author": "Linkurious SAS",
|
|
5
5
|
"description": "Parse and load a Linkurious visualization in Ogma with one line of code ",
|
|
6
6
|
"files": [
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"module": "./dist/index.mjs",
|
|
16
16
|
"types": "./dist/index.d.ts",
|
|
17
17
|
"engines": {
|
|
18
|
-
"node": "20.18.
|
|
18
|
+
"node": "20.18.2"
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|
|
21
21
|
".": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@linkurious/ogma": "5.1.1",
|
|
64
|
-
"@linkurious/rest-client": "4.1.
|
|
64
|
+
"@linkurious/rest-client": "4.1.10",
|
|
65
65
|
"@types/chai": "4.2.17",
|
|
66
66
|
"@types/lodash": "4.14.182",
|
|
67
67
|
"@types/mocha": "5.2.7",
|