@telicent-oss/ds 0.14.0 → 0.15.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
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/telicent-oss/telicent-ds.git"
8
8
  },
9
9
  "type": "module",
10
- "version": "0.14.0",
10
+ "version": "0.15.0",
11
11
  "private": false,
12
12
  "dependencies": {
13
13
  "@emotion/react": "^11.10.6",
@@ -21,20 +21,25 @@
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.31.3-TELFE654.0",
25
24
  "@telicent-oss/ontology-icon-lib": "^0.1.0",
25
+ "@telicent-oss/ontologyservice": "0.31.3-TELFE654.0",
26
26
  "classnames": "^2.3.1",
27
27
  "d3": "^7.8.2",
28
28
  "lodash": "^4.17.21",
29
29
  "maplibre-gl": "^4.0.0",
30
+ "react": "18.2.0",
31
+ "react-dom": "18.2.0",
30
32
  "react-map-gl": "7.1.0",
31
33
  "react-rnd": "^10.4.13",
32
34
  "zod": "^3.21.4"
33
35
  },
34
36
  "resolutions": {
37
+ "react": "18.2.0",
38
+ "react-dom": "18.2.0",
35
39
  "nth-check": "^2.1.1",
36
40
  "prettier": "^2.8.8",
37
- "cross-spawn": "^7.0.6"
41
+ "cross-spawn": "^7.0.6",
42
+ "jest": "^29.7.0"
38
43
  },
39
44
  "resolutionsReasons": {
40
45
  "nth-check": "vulnerability: Tested `react-scripts start/test/build`"
@@ -46,6 +51,8 @@
46
51
  "build": "vite build",
47
52
  "preview": "vite preview",
48
53
  "test": "react-scripts test",
54
+ "test:diff": "react-scripts test --watchAll=false --coverage=false --onlyChanged --bail",
55
+ "test:diffMain": "react-scripts test --watchAll=false --coverage=false --changedSince=origin/main --bail",
49
56
  "eject": "react-scripts eject",
50
57
  "storybook": "storybook dev -p 6006",
51
58
  "build-storybook": "storybook build",
@@ -61,9 +68,9 @@
61
68
  "link-to-local-packages": "./scripts/link-to-local-packages.sh"
62
69
  },
63
70
  "peerDependencies": {
71
+ "@telicent-oss/ontology-icon-lib": "*",
64
72
  "react": "*",
65
- "react-dom": "*",
66
- "@telicent-oss/ontology-icon-lib": "*"
73
+ "react-dom": "*"
67
74
  },
68
75
  "browserslist": {
69
76
  "production": [
@@ -127,11 +134,12 @@
127
134
  "eslint-plugin-storybook": "^0.8.0",
128
135
  "eslint-plugin-testing-library": "^6.0.0",
129
136
  "husky": "^8.0.3",
137
+ "jest": "^29.7.0",
138
+ "jest-environment-jsdom": "^29.7.0",
139
+ "jest-transform-stub": "^2.0.0",
130
140
  "postcss": "^8.4.29",
131
141
  "postcss-cli": "^10.1.0",
132
142
  "postcss-import": "^15.1.0",
133
- "react": "18.2.0",
134
- "react-dom": "18.2.0",
135
143
  "react-scripts": "5.0.0",
136
144
  "release-please": "15.6.0",
137
145
  "remark-gfm": "^3.0.1",
@@ -173,6 +181,9 @@
173
181
  }
174
182
  },
175
183
  "jest": {
184
+ "transform": {
185
+ "^.+\\.css$": "jest-transform-stub"
186
+ },
176
187
  "moduleNameMapper": {
177
188
  "^d3$": "<rootDir>/node_modules/d3/dist/d3.min.js"
178
189
  },
@@ -1,59 +0,0 @@
1
- import { RenderOptions } from '@testing-library/react';
2
-
3
- export declare const setup: (jsx: JSX.Element, options?: RenderOptions) => {
4
- container: HTMLElement;
5
- baseElement: HTMLElement;
6
- debug: (baseElement?: import('react-dom/client').Container | (Element | Document) | Array<import('react-dom/client').Container | (Element | Document)> | undefined, maxLength?: number | undefined, options?: import('pretty-format').OptionsReceived | undefined) => void;
7
- rerender: (ui: React.ReactNode) => void;
8
- unmount: () => void;
9
- asFragment: () => DocumentFragment;
10
- getByLabelText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement;
11
- getAllByLabelText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement[];
12
- queryByLabelText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement | null;
13
- queryAllByLabelText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement[];
14
- findByLabelText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
15
- findAllByLabelText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
16
- getByPlaceholderText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement;
17
- getAllByPlaceholderText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
18
- queryByPlaceholderText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement | null;
19
- queryAllByPlaceholderText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
20
- findByPlaceholderText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
21
- findAllByPlaceholderText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
22
- getByText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement;
23
- getAllByText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement[];
24
- queryByText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement | null;
25
- queryAllByText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement[];
26
- findByText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
27
- findAllByText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
28
- getByAltText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement;
29
- getAllByAltText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
30
- queryByAltText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement | null;
31
- queryAllByAltText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
32
- findByAltText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
33
- findAllByAltText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
34
- getByTitle: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement;
35
- getAllByTitle: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
36
- queryByTitle: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement | null;
37
- queryAllByTitle: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
38
- findByTitle: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
39
- findAllByTitle: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
40
- getByDisplayValue: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement;
41
- getAllByDisplayValue: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
42
- queryByDisplayValue: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement | null;
43
- queryAllByDisplayValue: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
44
- findByDisplayValue: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
45
- findAllByDisplayValue: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
46
- getByRole: (role: import('@testing-library/react').ByRoleMatcher, options?: import('@testing-library/react').ByRoleOptions | undefined) => HTMLElement;
47
- getAllByRole: (role: import('@testing-library/react').ByRoleMatcher, options?: import('@testing-library/react').ByRoleOptions | undefined) => HTMLElement[];
48
- queryByRole: (role: import('@testing-library/react').ByRoleMatcher, options?: import('@testing-library/react').ByRoleOptions | undefined) => HTMLElement | null;
49
- queryAllByRole: (role: import('@testing-library/react').ByRoleMatcher, options?: import('@testing-library/react').ByRoleOptions | undefined) => HTMLElement[];
50
- findByRole: (role: import('@testing-library/react').ByRoleMatcher, options?: import('@testing-library/react').ByRoleOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
51
- findAllByRole: (role: import('@testing-library/react').ByRoleMatcher, options?: import('@testing-library/react').ByRoleOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
52
- getByTestId: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement;
53
- getAllByTestId: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
54
- queryByTestId: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement | null;
55
- queryAllByTestId: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
56
- findByTestId: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
57
- findAllByTestId: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
58
- user: import('@testing-library/user-event').UserEvent;
59
- };