Skip to content

Commit

Permalink
Merge pull request #612 from PaulHax/material
Browse files Browse the repository at this point in the history
Material Web for UI
  • Loading branch information
thewtex authored Nov 1, 2022
2 parents 9cfc2f2 + f4a06a0 commit 250144a
Show file tree
Hide file tree
Showing 20 changed files with 4,356 additions and 615 deletions.
10 changes: 9 additions & 1 deletion dist/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@
style="display: inline-block; border: 1px solid red;"
class="itk-vtk-viewer"
data-url="test-data/first_instar_brain_zyxc.zarr"
data-viewport="1000x1000"
data-viewport="600x600"
data-background-color="008800"
data-rotate="false"
></div>

<div
style="display: inline-block; border: 1px solid red;"
class="itk-vtk-viewer"
data-url="test-data/astronaut.zarr"
data-background-color="008800"
data-rotate="false"
></div>
Expand Down
529 changes: 270 additions & 259 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"types": "./src/index.d.ts",
"dependencies": {
"@kitware/vtk.js": "^25.8.2",
"@material/web": "^0.1.0-alpha.0",
"@thewtex/iconselect.js": "^2.1.2",
"@xstate/inspect": "^0.4.1",
"axios": "^0.21.1",
Expand Down Expand Up @@ -64,6 +65,7 @@
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-typescript": "^9.0.2",
"@web3-storage/w3": "^2.6.0",
"autoprefixer": "^10.2.6",
"babel-loader": "^8.2.2",
Expand Down
3,957 changes: 3,685 additions & 272 deletions src/UI/reference-ui/dist/referenceUIMachineOptions.js

Large diffs are not rendered by default.

212 changes: 210 additions & 2 deletions src/UI/reference-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions src/UI/reference-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,22 @@
"@babel/plugin-transform-runtime": "^7.17.0",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-typescript": "^9.0.2",
"autoprefixer": "^10.4.4",
"postcss": "^8.4.12",
"rollup": "^2.70.1",
"rollup-plugin-ignore": "^1.0.10",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-svgo": "^2.0.0",
"rollup-plugin-terser": "^7.0.2"
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.8.4"
},
"dependencies": {
"@babel/runtime": "^7.17.6",
"@material/web": "^0.1.0-alpha.0",
"itk-viewer-color-maps": "^1.2.0",
"itk-viewer-icons": "^11.13.0",
"itk-viewer-transfer-function-editor": "^1.2.2"
"itk-viewer-transfer-function-editor": "^1.2.2",
"lit": "^2.4.0"
}
}
2 changes: 2 additions & 0 deletions src/UI/reference-ui/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import commonjs from '@rollup/plugin-commonjs'
import { terser } from 'rollup-plugin-terser'
import { babel } from '@rollup/plugin-babel'
import ignore from 'rollup-plugin-ignore'
import typescript from '@rollup/plugin-typescript'

export default {
input: 'src/referenceUIMachineOptions.js',
Expand All @@ -24,6 +25,7 @@ export default {
commonjs({
transformMixedEsModules: true,
}),
typescript(),
babel({
include: ['src/**'],
extensions: ['.js'],
Expand Down
Loading

0 comments on commit 250144a

Please sign in to comment.