@diamondlightsource/davidia 1.0.5 → 1.3.0-rc.1

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
@@ -6,74 +6,77 @@
6
6
  "url": "git+https://github.com/DiamondLightSource/davidia.git"
7
7
  },
8
8
  "private": false,
9
- "version": "1.0.5",
9
+ "version": "1.3.0-rc.1",
10
10
  "type": "module",
11
11
  "files": [
12
12
  "dist"
13
13
  ],
14
14
  "exports": {
15
- ".": "./src/index.ts"
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "import": "./dist/index.js"
18
+ },
19
+ "./index.css": "./dist/index.css"
16
20
  },
17
21
  "dependencies": {
18
- "@react-hookz/web": "^24.0.4",
19
- "@visx/drag": "^3.3.0",
22
+ "@msgpack/msgpack": "^3.1.3",
23
+ "@react-hookz/web": "^25.2.0",
24
+ "@visx/drag": "^3.12.0",
20
25
  "afterframe": "^1.0.2",
21
26
  "buffer": "^6.0.3",
22
- "cwise": "^1.0.10",
23
27
  "d3-array": "^3.2.4",
24
- "d3-format": "^3.1.0",
28
+ "d3-format": "^3.1.2",
25
29
  "d3-scale": "^4.0.2",
26
- "messagepack": "^1.1.12",
27
30
  "ndarray-concat-rows": "^1.0.1",
28
31
  "ndarray-linspace": "^2.0.3",
29
- "react-colorful": "^5.6.1",
30
- "react-draggable": "^4.4.6",
31
- "react-icons": "^5.3.0",
32
- "react-select": "^5.8.0",
33
- "react-use-websocket": "^4.8.1",
32
+ "ndarray-tile": "^1.0.3",
33
+ "ndarray-unsqueeze": "^1.0.3",
34
+ "react-colorful": "^5.8.0",
35
+ "react-draggable": "^4.7.1",
36
+ "react-icons": "^5.7.0",
37
+ "react-select": "^5.10.2",
38
+ "react-use-websocket": "^4.13.0",
34
39
  "websocket": "^1.0.35"
35
40
  },
36
41
  "peerDependencies": {
37
- "@h5web/lib": "^14.0.1",
38
- "@react-three/drei": "^9.111.2",
39
- "@react-three/fiber": "^8.17.5",
40
- "ndarray": "^1.0.19",
41
- "react": "^18.3.1",
42
- "react-dom": "^18.3.1",
43
- "react-toastify": "^9.1.3",
44
- "three": "^0.167.1"
42
+ "@h5web/lib": "^16.0.0",
43
+ "@react-three/drei": "^9.122.0",
44
+ "@react-three/fiber": "^8.18.0",
45
+ "ndarray": "~1.0.19",
46
+ "react": "^18.3.0",
47
+ "react-dom": "^18.3.0",
48
+ "react-toastify": "^11.0.5",
49
+ "three": "0.182.0"
45
50
  },
46
51
  "devDependencies": {
47
- "@h5web/lib": "^14.0.1",
48
- "@react-three/drei": "^9.111.2",
49
- "@react-three/fiber": "^8.17.5",
50
- "@types/cwise": "^1.0.6",
51
- "@types/d3-array": "^3.2.1",
52
+ "@h5web/lib": "^17.0.0",
53
+ "@microsoft/api-extractor": "^7.59.4",
54
+ "@react-three/drei": "^9.122.0",
55
+ "@react-three/fiber": "^8.18.0",
56
+ "@types/d3-array": "^3.2.2",
52
57
  "@types/d3-format": "^3.0.4",
53
- "@types/d3-random": "^3.0.3",
54
- "@types/d3-scale": "^4.0.8",
55
- "@types/ndarray": "^1.0.14",
56
- "@types/react": "^18.3.4",
57
- "@types/react-dom": "^18.3.0",
58
- "@types/three": "^0.164.1",
58
+ "@types/d3-random": "^3.0.4",
59
+ "@types/d3-scale": "^4.0.9",
60
+ "@types/ndarray": "~1.0.14",
61
+ "@types/react": "^18.3.31",
62
+ "@types/react-dom": "^18.3.7",
63
+ "@types/three": "~0.182.0",
59
64
  "@types/websocket": "^1.0.10",
60
65
  "d3-random": "^3.0.1",
61
- "ndarray": "^1.0.19",
66
+ "ndarray": "~1.0.19",
62
67
  "react": "^18.3.1",
63
68
  "react-dom": "^18.3.1",
64
- "react-toastify": "^9.1.3",
65
- "three": "^0.167.1",
66
- "typedoc": "^0.25.13",
67
- "vite-plugin-dts": "^3.9.1",
68
- "vitest": "^1.6.0"
69
+ "react-toastify": "^11.1.0",
70
+ "three": "0.182.0",
71
+ "typedoc": "^0.28.20",
72
+ "unplugin-dts": "^1.1.2",
73
+ "vitest": "^5.0.3"
69
74
  },
70
75
  "scripts": {
71
- "build": "tsc && vite build",
76
+ "build": "tsc -b && vite build",
72
77
  "lint": "eslint . --report-unused-disable-directives --max-warnings 0",
73
78
  "lint-fix": "eslint . --report-unused-disable-directives --max-warnings 0 --fix",
74
79
  "test": "vitest",
75
80
  "docs": "typedoc --out ../../typedocs src"
76
- },
77
- "main": "dist/index.js",
78
- "types": "dist/index.d.ts"
81
+ }
79
82
  }
package/dist/style.css DELETED
@@ -1 +0,0 @@
1
- ._top_cq7uz_1{display:grid;grid-template-columns:70px 50px 100px 70px}._error_cq7uz_6{color:red;display:flex;flex-direction:row;align-items:center;padding-right:10px}._label_cq7uz_14{display:flex;flex-direction:row;align-items:center}._modal_ftojl_1{z-index:1000;position:fixed;left:45%}._modal_content_ftojl_7{background-color:#fff;border:2px solid rgba(255,255,255,.9);box-shadow:#0000001a 0 0 0 1px,#0000001a 0 4px 11px;display:grid}._modal_header_ftojl_16,._modal_footer_ftojl_17{position:relative;padding:10px}._modal_title_ftojl_22{margin:0}._modal_body_ftojl_26{position:relative;padding:10px;border-top:1px solid grey}._close_button_ftojl_32{position:absolute;top:1ex;right:1ex}._aspect_ftojl_38{padding-top:10px;justify-content:left;position:relative}._btn_ftojl_44{justify-content:center;padding:0 .5rem;background-color:var(--h5w-toolbar--bgColor, aliceblue);border-radius:.8rem;cursor:pointer;box-shadow:-1px -1px 2px inset var(--h5w-btnRaised--shadowColor, gray)}._btn_ftojl_44:hover{background-color:var(--h5w-btn-hover--bgColor, whitesmoke)}._root_h18us_1{position:relative;display:flex;flex-direction:column;align-items:center}._sliderContainer_h18us_8{display:flex;flex:1 1 0%;padding:0 .375rem;margin-right:-.375rem}._slider_h18us_8{display:flex;margin-right:-.25rem;font-size:.75rem;cursor:pointer;--track-width: var(--h5w-domainSlider-track--width, 8rem);--track-height: var(--h5w-domainSlider-track--height, .625rem);--thumb-size: calc(var(--track-height) * 2.5);--thumb-size-auto: calc(var(--thumb-size) * .9)}._tools_h18us_27{padding-left:2rem;padding-right:2rem;padding-bottom:2rem}._toolsInner_h18us_37{padding:1rem .375rem 1rem .75rem;display:flex;align-items:center}._modeless_1im3t_1{z-index:1000;position:fixed;left:45%}._modeless_content_1im3t_7{background-color:#fff;border:2px solid rgba(255,255,255,.9);box-shadow:#0000001a 0 0 0 1px,#0000001a 0 4px 11px;display:grid}._modeless_header_1im3t_16,._modeless_footer_1im3t_17{position:relative;padding:10px}._modeless_title_1im3t_22{margin:0}._modeless_body_1im3t_26{position:relative;padding:10px;border-top:1px solid grey;display:grid;row-gap:4px}._close_button_1im3t_34{position:absolute;top:1ex;right:1ex}._aspect_1im3t_40{padding-top:10px;justify-content:left;position:relative}._btn_1im3t_46{justify-content:center;padding:0 .5rem;background-color:var(--h5w-toolbar--bgColor, aliceblue);border-radius:.8rem;cursor:pointer;box-shadow:-1px -1px 2px inset var(--h5w-btnRaised--shadowColor, gray)}._btn_1im3t_46:hover{background-color:var(--h5w-btn-hover--bgColor, whitesmoke)}._colourLabel_1evqd_1{border-left:24px solid #000000;padding-left:10px;margin-top:20px}._option_1qhtz_1{display:flex;align-items:center}._icon_1qhtz_6{font-size:1.5em;padding-top:1px}._scrollContainer_a4950_1{max-height:24ex;overflow-y:scroll}