@telicent-oss/ds 0.1.5-rc3 → 0.1.6-rc3

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
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/telicent-oss/telicent-ds.git"
8
8
  },
9
9
  "type": "module",
10
- "version": "0.1.5-rc3",
10
+ "version": "0.1.6-rc3",
11
11
  "private": false,
12
12
  "dependencies": {
13
13
  "@emotion/react": "^11.10.6",
@@ -21,7 +21,7 @@
21
21
  "@mui/x-tree-view": "7.3.1",
22
22
  "@react-spring/web": "9.7.3",
23
23
  "@tanstack/react-query": "^5.18.0",
24
- "@telicent-oss/ontologyservice": "^0.0.1",
24
+ "@telicent-oss/ontologyservice": "^0.30.0-dev3",
25
25
  "classnames": "^2.3.1",
26
26
  "d3": "^7.8.2",
27
27
  "lodash": "^4.17.21",
@@ -1,48 +0,0 @@
1
- import { default as OntologyService } from '@telicent-oss/ontologyservice';
2
-
3
- type OntologyStyle = {
4
- defaultIcons: {
5
- riIcon: string;
6
- faIcon: string;
7
- faUnicode: string;
8
- faClass: string;
9
- };
10
- defaultStyles: {
11
- shape: string;
12
- borderRadius: string;
13
- borderWidth: string;
14
- selectedBorderWidth: string;
15
- dark: {
16
- backgroundColor: string;
17
- color: string;
18
- };
19
- light: {
20
- backgroundColor: string;
21
- color: string;
22
- };
23
- };
24
- };
25
- export type StyleResponse = Record<string, OntologyStyle>;
26
- export type IconStyle = {
27
- classUri: string;
28
- backgroundColor: string;
29
- color: string;
30
- iconFallbackText: string;
31
- alt: string;
32
- } & Partial<{
33
- faIcon: string;
34
- faUnicode: string;
35
- shape: string;
36
- }>;
37
- type OntologyStylesContextProps = {
38
- styles: IconStyle[];
39
- findIcon: (classUri: string) => IconStyle;
40
- };
41
- type OntologyStylesProviderProps = {
42
- service: OntologyService;
43
- } & Partial<{
44
- children: React.ReactNode;
45
- }>;
46
- declare const OntologyStylesProvider: React.FC<OntologyStylesProviderProps>;
47
- declare const useOntologyStyles: () => OntologyStylesContextProps;
48
- export { OntologyStylesProvider, useOntologyStyles };
@@ -1,8 +0,0 @@
1
- import { default as OntologyService } from '@telicent-oss/ontologyservice';
2
-
3
- type DSProvidersProps = Partial<{
4
- children: React.ReactNode;
5
- ontologyService: OntologyService;
6
- }>;
7
- declare const DSProviders: React.FC<DSProvidersProps>;
8
- export default DSProviders;