datalayer-ui 0.3.15__tar.gz
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.
- datalayer_ui-0.3.15/.github/workflows/fix-license-header.yml +62 -0
- datalayer_ui-0.3.15/.gitignore +162 -0
- datalayer_ui-0.3.15/.licenserc.yaml +42 -0
- datalayer_ui-0.3.15/.prettierignore +8 -0
- datalayer_ui-0.3.15/.prettierrc +6 -0
- datalayer_ui-0.3.15/.storybook/custom.css +18 -0
- datalayer_ui-0.3.15/.storybook/main.ts +207 -0
- datalayer_ui-0.3.15/.storybook/manager.ts +12 -0
- datalayer_ui-0.3.15/.storybook/preview.tsx +129 -0
- datalayer_ui-0.3.15/.storybook/theme.ts +13 -0
- datalayer_ui-0.3.15/.yarnrc.yml +21 -0
- datalayer_ui-0.3.15/CHANGELOG.md +5 -0
- datalayer_ui-0.3.15/LICENSE +5 -0
- datalayer_ui-0.3.15/Makefile +84 -0
- datalayer_ui-0.3.15/PKG-INFO +434 -0
- datalayer_ui-0.3.15/README.md +396 -0
- datalayer_ui-0.3.15/RELEASE.md +68 -0
- datalayer_ui-0.3.15/conda-recipe/README.md +1 -0
- datalayer_ui-0.3.15/conda-recipe/meta.yaml +29 -0
- datalayer_ui-0.3.15/conda-recipe/post-link.sh +4 -0
- datalayer_ui-0.3.15/conda-recipe/publish-conda.sh +22 -0
- datalayer_ui-0.3.15/conftest.py +12 -0
- datalayer_ui-0.3.15/datalayer_ui/__init__.py +32 -0
- datalayer_ui-0.3.15/datalayer_ui/__main__.py +11 -0
- datalayer_ui-0.3.15/datalayer_ui/_version.py +4 -0
- datalayer_ui-0.3.15/datalayer_ui/handlers/__init__.py +4 -0
- datalayer_ui-0.3.15/datalayer_ui/handlers/base.py +14 -0
- datalayer_ui-0.3.15/datalayer_ui/handlers/index/__init__.py +4 -0
- datalayer_ui-0.3.15/datalayer_ui/handlers/index/handler.py +19 -0
- datalayer_ui-0.3.15/datalayer_ui/lab.py +46 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/package.json +437 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/schemas/@datalayer/ui/package.json.orig +432 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/schemas/@datalayer/ui/plugin.json +15 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/1120.fbdeea6f30069198c255.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/1120.fbdeea6f30069198c255.js.LICENSE.txt +20 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/1436.457a2b69e4071104a1e0.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/1508.883077df05d477ea7d4c.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/1508.883077df05d477ea7d4c.js.LICENSE.txt +8 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/1555.0352cbf9050f02492faa.js +1552 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/1555.0352cbf9050f02492faa.js.LICENSE.txt +34 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/1568.a2b0155ab53693159f78.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/160.f9f71ce3838daa370f35.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/160.f9f71ce3838daa370f35.js.LICENSE.txt +14 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/165.7072c823a7b97a117687.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/1667.0da51f6f4f09f754c342.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/1733.1994d397a9fd7ce1a91b.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/1815.50a09ec238f0f30a8959.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/1815.50a09ec238f0f30a8959.js.LICENSE.txt +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/186.10e85bccc7f0f6b68087.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/186.10e85bccc7f0f6b68087.js.LICENSE.txt +32 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/1921.262a2ce3e4c694cfd8ea.js +8 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/2098.a5f1bc37f9ba69e5fc1f.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/2148.9293e3f89b36efa4ea6c.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/218.74d4f843c4c20161470b.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/2211.ab429ed102a60297f300.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/2271.908d128bf2f6cfae6696.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/2475.a67d561bed710c320662.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/2504.8c18925a78ca53e8a2bb.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/2594.2e259038f2388ace68d5.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/2594.2e259038f2388ace68d5.js.LICENSE.txt +9 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/2745.5d9b6222f06a64c657ed.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/2876.a042fdff0042ae5ce1c7.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3079.cc6e32cb4826baff7106.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3091.a6553dfd2ad2b849c22d.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3091.a6553dfd2ad2b849c22d.js.LICENSE.txt +52 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3158.1364833cb58a7543a19c.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3189.1eda117727b6532d7965.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3210.b5c13a91e031e4608c42.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3403.9f25607fec08a4a079c7.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3428.ad354ed991f787aa80a3.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/346.5ec88182b55205803ff5.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3538.7af925f504b703589049.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3573.18dc90eea1372d96b4a8.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3668.01038c3c61b60b2d1d70.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/373c04fd2418f5c77eea.eot +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3748.ee77dbee22b7be5eb73a.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3762.9e15574c0fc6a4bf7b4d.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/387.a4f5d13b63ab0e10de06.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/387.a4f5d13b63ab0e10de06.js.LICENSE.txt +5 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3918.38aa515cd8f017a95d7f.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3961.e9aaffee8f5f5b64b827.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3961.e9aaffee8f5f5b64b827.js.LICENSE.txt +6 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3967.caa4cb3c6f785e91374b.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/3f6d3488cf65374f6f67.woff +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4050.829561023dc4f094810d.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4337.cd51080452f2ac016059.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4337.cd51080452f2ac016059.js.LICENSE.txt +19 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/437.83ba3debe733e10bb203.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4391.636f72b689361a811111.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4406.87ecc2571cc75b630a50.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4509.5d605afd74c6b7a09743.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4509.5d605afd74c6b7a09743.js.LICENSE.txt +17 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4512.4bc8c080e50648b672ed.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4512.4bc8c080e50648b672ed.js.LICENSE.txt +9 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4573.e9f16d6f92a50c7d010a.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4646.b6573011ff9a1c9699fb.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/470.493c37ece262d5eb164c.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4772.d1bf8e7e1b056007b5a1.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4772.d1bf8e7e1b056007b5a1.js.LICENSE.txt +19 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/4796.e5670e1b92cffe77f6f0.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/5457.c2c110bad4e325b35c7d.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/5473.a97bc267549717782c7c.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/5570.0f5dab99399ac2f35f7b.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/584.5ce3ab37dd73e8a4675d.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/5932.54fe4d38d697a2d1c436.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/5950.0b7f46b3ef7a8c0bc1dd.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/5950.0b7f46b3ef7a8c0bc1dd.js.LICENSE.txt +19 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/5954.b1e907ec78e50a482c8d.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6198.db5701a3f67ef1be56b4.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6222.87ceb0b13806fb69e78a.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6229.ce99d57b36c253dbdaac.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/634.987361bad71d63d0cef4.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6341.4a8b381d54302a6bfbba.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6341.4a8b381d54302a6bfbba.js.LICENSE.txt +9 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6446.dee96ebfed3c1f506cc8.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6491.6836070a224d71c20cbd.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6509.6b7a9b99ecc15c5e438e.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6509.6b7a9b99ecc15c5e438e.js.LICENSE.txt +9 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/655.156243fe6ad273424c96.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/655.156243fe6ad273424c96.js.LICENSE.txt +14 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6553.eb7c0a6c7ee724d75f36.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6631.d26059e604adc5ecaaf7.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6632.4d44fdaa2c31e011d9f0.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6651.40bc228ee3bfb805a171.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6727.14ac43f97042f486f12a.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6727.14ac43f97042f486f12a.js.LICENSE.txt +9 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/6771.c824cd134f8d08d2c491.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/7127.0c6ba82470925e13f58c.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/7137.3cc0485298c7d97fa933.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/7318.ecc19c21a053934b1ce8.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/7318.ecc19c21a053934b1ce8.js.LICENSE.txt +9 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/7745.717976dd05358215480c.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/79d088064beb3826054f.eot +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8030.0d55e736ffdc8b0337b5.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8030.0d55e736ffdc8b0337b5.js.LICENSE.txt +9 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/817.fc0cfaf878a9899560e9.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/817.fc0cfaf878a9899560e9.js.LICENSE.txt +5 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8371.88d092e30d7035394645.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8564.4b0de72ad6a24dba3139.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8573.e421c70ef372e7d1f90a.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8573.e421c70ef372e7d1f90a.js.LICENSE.txt +9 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8695.77433b3ebef5a7d14e16.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8714.06352a63fd1d1c028b61.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8770.32565c01ced100bd425f.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8787.4d5c41520024ebb26c6b.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8787.4d5c41520024ebb26c6b.js.LICENSE.txt +19 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8954.4ade1393af2f343945ac.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8954.4ade1393af2f343945ac.js.LICENSE.txt +5 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/8ea8791754915a898a31.woff2 +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/9055.c6db4527162a48e31a85.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/9425.c08d509bb16337ce27ce.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/947.1900e098624b95bf0d54.js +19 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/9487.3371db76d705f1962872.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/952.2a78a410b33bcbddfd24.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/9645.bb3a33d281ad60f90c63.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/9674eb1bd55047179038.svg +5034 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/9698.eee180f11e773f234f9e.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/982.199e8037d10805984b4b.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/9834b82ad26e2a37583d.woff2 +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/a3b9817780214caf01e8.svg +3717 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/af6397503fcefbd61397.ttf +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/be0a084962d8066884f7.svg +801 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/cb9e9e693192413cde2b.woff +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/cda59d6efffa685830fd.ttf +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/e4299464e7b012968eed.eot +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/e42a88444448ac3d6054.woff2 +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/e8711bbb871afd8e9dea.ttf +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/f9217f66874b0c01cd8c.woff +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/lite-service-worker.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/pypi/all.json +128 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/pypi/ipykernel-6.9.2-py3-none-any.whl +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/pypi/piplite-0.4.6-py3-none-any.whl +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/pypi/pyodide_kernel-0.4.6-py3-none-any.whl +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/pypi/widgetsnbextension-3.6.999-py3-none-any.whl +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/pypi/widgetsnbextension-4.0.999-py3-none-any.whl +0 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/remoteEntry.20989265dcaa0056f66b.js +1 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/schema/kernel.v0.schema.json +42 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/style.js +4 -0
- datalayer_ui-0.3.15/datalayer_ui/labextension/static/third-party-licenses.json +2548 -0
- datalayer_ui-0.3.15/datalayer_ui/serverapplication.py +45 -0
- datalayer_ui-0.3.15/datalayer_ui/static/README.md +3 -0
- datalayer_ui-0.3.15/datalayer_ui/static/main.datalayer-ui.js +2 -0
- datalayer_ui-0.3.15/datalayer_ui/templates/index.html +41 -0
- datalayer_ui-0.3.15/datalayer_ui/tests/__init__.py +5 -0
- datalayer_ui-0.3.15/datalayer_ui/tests/test_handlers.py +20 -0
- datalayer_ui-0.3.15/dev/notebooks/.datalayer/ping.ipynb +185 -0
- datalayer_ui-0.3.15/dev/notebooks/README.md +3 -0
- datalayer_ui-0.3.15/dev/notebooks/ping.ipynb +112 -0
- datalayer_ui-0.3.15/dev/notebooks/plotly.ipynb +59 -0
- datalayer_ui-0.3.15/gulpfile.js +97 -0
- datalayer_ui-0.3.15/hatch_build.py +53 -0
- datalayer_ui-0.3.15/install.json +5 -0
- datalayer_ui-0.3.15/jest-playwright.config.js +24 -0
- datalayer_ui-0.3.15/jest.config.js +66 -0
- datalayer_ui-0.3.15/jupyter-config/nb-config/datalayer_ui.json +7 -0
- datalayer_ui-0.3.15/jupyter-config/server-config/datalayer_ui.json +7 -0
- datalayer_ui-0.3.15/node_modules/@storybook/react/template/cli/.eslintrc.json +5 -0
- datalayer_ui-0.3.15/node_modules/ajv/scripts/.eslintrc.yml +3 -0
- datalayer_ui-0.3.15/node_modules/playwright/.eslintrc.js +6 -0
- datalayer_ui-0.3.15/node_modules/sprintf-js/.npmignore +1 -0
- datalayer_ui-0.3.15/node_modules/wait-on/.editorconfig +9 -0
- datalayer_ui-0.3.15/node_modules/wait-on/.eslintrc.js +20 -0
- datalayer_ui-0.3.15/node_modules/wait-on/.prettierrc.js +6 -0
- datalayer_ui-0.3.15/node_modules/zrender/.eslintignore +4 -0
- datalayer_ui-0.3.15/package.json +432 -0
- datalayer_ui-0.3.15/public/index-local.html +61 -0
- datalayer_ui-0.3.15/public/index-mock.html +60 -0
- datalayer_ui-0.3.15/public/index.ejs +82 -0
- datalayer_ui-0.3.15/public/index.html +35 -0
- datalayer_ui-0.3.15/pyproject.toml +119 -0
- datalayer_ui-0.3.15/schema/plugin.json +15 -0
- datalayer_ui-0.3.15/setup.py +5 -0
- datalayer_ui-0.3.15/src/EmptyApp.js +13 -0
- datalayer_ui-0.3.15/src/EmptyShim.js +7 -0
- datalayer_ui-0.3.15/src/assets/images/.gitignore +6 -0
- datalayer_ui-0.3.15/src/stories/notebooks/examples/NotebookExample1.ipynb.json +64 -0
- datalayer_ui-0.3.15/src/stories/notebooks/examples/NotebookExample2.ipynb.json +48 -0
- datalayer_ui-0.3.15/tsconfig.json +37 -0
- datalayer_ui-0.3.15/ui-tests/README.md +148 -0
- datalayer_ui-0.3.15/ui-tests/jupyter_server_test_config.py +24 -0
- datalayer_ui-0.3.15/ui-tests/package.json +13 -0
- datalayer_ui-0.3.15/ui-tests/playwright.config.js +20 -0
- datalayer_ui-0.3.15/ui-tests/tests/datalayer.spec.ts +27 -0
- datalayer_ui-0.3.15/webpack.config-tmp.js +176 -0
- datalayer_ui-0.3.15/webpack.config.js +213 -0
- datalayer_ui-0.3.15/webpack.lab-config.js +47 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
name: Fix License Headers
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request_target:
|
|
5
|
+
|
|
6
|
+
concurrency:
|
|
7
|
+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
8
|
+
cancel-in-progress: true
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
header-license-fix:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
contents: write
|
|
16
|
+
pull-requests: write
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- name: Checkout
|
|
20
|
+
uses: actions/checkout@v4
|
|
21
|
+
with:
|
|
22
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
23
|
+
|
|
24
|
+
- name: Checkout the branch from the PR that triggered the job
|
|
25
|
+
run: gh pr checkout ${{ github.event.pull_request.number }}
|
|
26
|
+
env:
|
|
27
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
28
|
+
|
|
29
|
+
- name: Fix License Header
|
|
30
|
+
# pin to include https://github.com/apache/skywalking-eyes/pull/168
|
|
31
|
+
uses: apache/skywalking-eyes/header@e19b828cea6a6027cceae78f05d81317347d21be
|
|
32
|
+
with:
|
|
33
|
+
mode: fix
|
|
34
|
+
|
|
35
|
+
- name: List files changed
|
|
36
|
+
id: files-changed
|
|
37
|
+
shell: bash -l {0}
|
|
38
|
+
run: |
|
|
39
|
+
set -ex
|
|
40
|
+
export CHANGES=$(git status --porcelain | tee /tmp/modified.log | wc -l)
|
|
41
|
+
cat /tmp/modified.log
|
|
42
|
+
|
|
43
|
+
echo "N_CHANGES=${CHANGES}" >> $GITHUB_OUTPUT
|
|
44
|
+
|
|
45
|
+
git diff
|
|
46
|
+
|
|
47
|
+
- name: Commit any changes
|
|
48
|
+
if: steps.files-changed.outputs.N_CHANGES != '0'
|
|
49
|
+
shell: bash -l {0}
|
|
50
|
+
run: |
|
|
51
|
+
git config user.name "github-actions[bot]"
|
|
52
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
53
|
+
|
|
54
|
+
git pull --no-tags
|
|
55
|
+
|
|
56
|
+
git add *
|
|
57
|
+
git commit -m "Automatic application of license header"
|
|
58
|
+
|
|
59
|
+
git config push.default upstream
|
|
60
|
+
git push
|
|
61
|
+
env:
|
|
62
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# Copyright (c) Datalayer, Inc. https://datalayer.io
|
|
2
|
+
# Distributed under the terms of the Datalayer License.
|
|
3
|
+
|
|
4
|
+
# Check with git check-ignore -v **/*
|
|
5
|
+
|
|
6
|
+
# Exclude
|
|
7
|
+
.*
|
|
8
|
+
dist
|
|
9
|
+
build
|
|
10
|
+
lib
|
|
11
|
+
*.lock
|
|
12
|
+
*.sqlite
|
|
13
|
+
*.tsbuildinfo
|
|
14
|
+
*.egg-info
|
|
15
|
+
*-lock.json
|
|
16
|
+
*-error.log
|
|
17
|
+
*.log
|
|
18
|
+
*.lock
|
|
19
|
+
*.tsbuildinfo
|
|
20
|
+
*.zip
|
|
21
|
+
__pycache__
|
|
22
|
+
node_modules
|
|
23
|
+
coverage
|
|
24
|
+
typedoc
|
|
25
|
+
|
|
26
|
+
dev/notebooks/*
|
|
27
|
+
|
|
28
|
+
storybook-static
|
|
29
|
+
dist
|
|
30
|
+
dist-ssr
|
|
31
|
+
*.local
|
|
32
|
+
|
|
33
|
+
*.egg-info
|
|
34
|
+
datalayer_ui/labextension
|
|
35
|
+
# Version file is handled by hatchling
|
|
36
|
+
datalayer_ui/_version.py
|
|
37
|
+
|
|
38
|
+
datalayer_ui/static/*.js
|
|
39
|
+
datalayer_ui/static/*.css
|
|
40
|
+
|
|
41
|
+
conda-recipe/out/*
|
|
42
|
+
|
|
43
|
+
coverage
|
|
44
|
+
|
|
45
|
+
# Integration tests
|
|
46
|
+
ui-tests/test-results/
|
|
47
|
+
ui-tests/playwright-report/
|
|
48
|
+
|
|
49
|
+
# Created by https://www.gitignore.io/api/python
|
|
50
|
+
# Edit at https://www.gitignore.io/?templates=python
|
|
51
|
+
|
|
52
|
+
### Python ###
|
|
53
|
+
# Byte-compiled / optimized / DLL files
|
|
54
|
+
__pycache__/
|
|
55
|
+
*.py[cod]
|
|
56
|
+
*$py.class
|
|
57
|
+
|
|
58
|
+
# C extensions
|
|
59
|
+
*.so
|
|
60
|
+
|
|
61
|
+
# Distribution / packaging
|
|
62
|
+
.Python
|
|
63
|
+
build/
|
|
64
|
+
develop-eggs/
|
|
65
|
+
dist/
|
|
66
|
+
downloads/
|
|
67
|
+
eggs/
|
|
68
|
+
.eggs/
|
|
69
|
+
lib/
|
|
70
|
+
lib64/
|
|
71
|
+
parts/
|
|
72
|
+
sdist/
|
|
73
|
+
var/
|
|
74
|
+
wheels/
|
|
75
|
+
pip-wheel-metadata/
|
|
76
|
+
share/python-wheels/
|
|
77
|
+
.installed.cfg
|
|
78
|
+
*.egg
|
|
79
|
+
MANIFEST
|
|
80
|
+
|
|
81
|
+
# PyInstaller
|
|
82
|
+
# Usually these files are written by a python script from a template
|
|
83
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
84
|
+
*.manifest
|
|
85
|
+
*.spec
|
|
86
|
+
|
|
87
|
+
# Installer logs
|
|
88
|
+
pip-log.txt
|
|
89
|
+
pip-delete-this-directory.txt
|
|
90
|
+
|
|
91
|
+
# Unit test / coverage reports
|
|
92
|
+
htmlcov/
|
|
93
|
+
.tox/
|
|
94
|
+
.nox/
|
|
95
|
+
.coverage
|
|
96
|
+
.coverage.*
|
|
97
|
+
.cache
|
|
98
|
+
nosetests.xml
|
|
99
|
+
coverage.xml
|
|
100
|
+
*.cover
|
|
101
|
+
.hypothesis/
|
|
102
|
+
.pytest_cache/
|
|
103
|
+
|
|
104
|
+
# Translations
|
|
105
|
+
*.mo
|
|
106
|
+
*.pot
|
|
107
|
+
|
|
108
|
+
# Scrapy stuff:
|
|
109
|
+
.scrapy
|
|
110
|
+
|
|
111
|
+
# Sphinx documentation
|
|
112
|
+
docs/_build/
|
|
113
|
+
|
|
114
|
+
# PyBuilder
|
|
115
|
+
target/
|
|
116
|
+
|
|
117
|
+
# pyenv
|
|
118
|
+
.python-version
|
|
119
|
+
|
|
120
|
+
# celery beat schedule file
|
|
121
|
+
celerybeat-schedule
|
|
122
|
+
|
|
123
|
+
# SageMath parsed files
|
|
124
|
+
*.sage.py
|
|
125
|
+
|
|
126
|
+
# Spyder project settings
|
|
127
|
+
.spyderproject
|
|
128
|
+
.spyproject
|
|
129
|
+
|
|
130
|
+
# Rope project settings
|
|
131
|
+
.ropeproject
|
|
132
|
+
|
|
133
|
+
# Mr Developer
|
|
134
|
+
.mr.developer.cfg
|
|
135
|
+
.project
|
|
136
|
+
.pydevproject
|
|
137
|
+
|
|
138
|
+
# mkdocs documentation
|
|
139
|
+
/site
|
|
140
|
+
|
|
141
|
+
# mypy
|
|
142
|
+
.mypy_cache/
|
|
143
|
+
.dmypy.json
|
|
144
|
+
dmypy.json
|
|
145
|
+
|
|
146
|
+
# Pyre type checker
|
|
147
|
+
.pyre/
|
|
148
|
+
|
|
149
|
+
# Include
|
|
150
|
+
!**/.*ignore
|
|
151
|
+
!**/.*rc
|
|
152
|
+
!**/.*rc.js
|
|
153
|
+
!**/.*rc.yml
|
|
154
|
+
!**/.*config
|
|
155
|
+
!*.*rc.json
|
|
156
|
+
!.github
|
|
157
|
+
!.storybook
|
|
158
|
+
!.licenserc.yaml
|
|
159
|
+
!dev/notebooks/README.md
|
|
160
|
+
!dev/notebooks/.datalayer
|
|
161
|
+
!dev/notebooks/ping.ipynb
|
|
162
|
+
!dev/notebooks/plotly.ipynb
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
header:
|
|
2
|
+
license:
|
|
3
|
+
spdx-id: Datalayer
|
|
4
|
+
copyright-owner: Datalayer, Inc.
|
|
5
|
+
copyright-year: 2021-2024
|
|
6
|
+
content: |
|
|
7
|
+
Copyright (c) [year] [owner]
|
|
8
|
+
|
|
9
|
+
Datalayer License
|
|
10
|
+
|
|
11
|
+
paths-ignore:
|
|
12
|
+
- '**/*.ipynb'
|
|
13
|
+
- '**/*.json'
|
|
14
|
+
- '**/*.md'
|
|
15
|
+
- '**/*.svg'
|
|
16
|
+
- '**/*.tsbuildinfo'
|
|
17
|
+
- '**/*.yml'
|
|
18
|
+
- '**/*.yaml'
|
|
19
|
+
- '**/build'
|
|
20
|
+
- '**/lib'
|
|
21
|
+
- '**/node_modules'
|
|
22
|
+
- '**/MANIFEST.in'
|
|
23
|
+
- '**/static'
|
|
24
|
+
- '**/typings'
|
|
25
|
+
- '**/schemas'
|
|
26
|
+
- '**/themes'
|
|
27
|
+
- '*.map.js'
|
|
28
|
+
- '*.bundle.js'
|
|
29
|
+
- '**/.*'
|
|
30
|
+
- 'LICENSE'
|
|
31
|
+
- '.devcontainer/resources/'
|
|
32
|
+
- 'dev/notebooks/example1.dash'
|
|
33
|
+
- 'dev/notebooks/subfolder-2/untitled.txt'
|
|
34
|
+
- 'examples/cra/public/robots.txt'
|
|
35
|
+
- '**/LICENSE.txt'
|
|
36
|
+
- '**/*.nblink'
|
|
37
|
+
- 'docs/docs'
|
|
38
|
+
- 'packages/lexical/src/ui/PrettierButton.tsx_tmp'
|
|
39
|
+
- 'packages/react/third-party-license.txt'
|
|
40
|
+
- 'patches/'
|
|
41
|
+
|
|
42
|
+
comment: on-failure
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2021-2024 Datalayer, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Datalayer License
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
@import url("https://use.fontawesome.com/releases/v5.0.10/css/all.css");
|
|
8
|
+
|
|
9
|
+
@import '@primer/react-brand/lib/css/main.css';
|
|
10
|
+
|
|
11
|
+
body {
|
|
12
|
+
background-color: white !important;
|
|
13
|
+
}
|
|
14
|
+
/*
|
|
15
|
+
.sb-show-main.sb-main-padded {
|
|
16
|
+
padding: 0 !important;
|
|
17
|
+
}
|
|
18
|
+
*/
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2021-2024 Datalayer, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Datalayer License
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { StorybookConfig } from '@storybook/react-webpack5';
|
|
8
|
+
import { RuleSetRule } from 'webpack';
|
|
9
|
+
import { join, dirname } from 'path';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* This function is used to resolve the absolute path of a package.
|
|
13
|
+
* It is needed in projects that use Yarn PnP or are set up within a monorepo.
|
|
14
|
+
*/
|
|
15
|
+
function getAbsolutePath(value: string): any {
|
|
16
|
+
return dirname(require.resolve(join(value, 'package.json')));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const config: StorybookConfig = {
|
|
20
|
+
stories: [
|
|
21
|
+
'../src/stories/**/*.mdx',
|
|
22
|
+
'../src/stories/**/*.stories.@(js|jsx|mjs|ts|tsx)',
|
|
23
|
+
],
|
|
24
|
+
previewHead: (head) => `${head}
|
|
25
|
+
<title>Datalayer Tech Storybook<title>
|
|
26
|
+
<link
|
|
27
|
+
href="https://use.fontawesome.com/releases/v5.0.10/css/all.css"
|
|
28
|
+
rel="stylesheet"
|
|
29
|
+
/>
|
|
30
|
+
<script id="datalayer-config-data" type="application/json">
|
|
31
|
+
{
|
|
32
|
+
"jupyterServerUrl": "https://prod1.datalayer.run/api/jupyter-server",
|
|
33
|
+
"jupyterServerToken": "60c1661cc408f978c309d04157af55c9588ff9557c9380e4fb50785750703da6"
|
|
34
|
+
}
|
|
35
|
+
</script>
|
|
36
|
+
<script id="jupyter-config-data" type="application/json">
|
|
37
|
+
{
|
|
38
|
+
"appName": "Datalayer",
|
|
39
|
+
"baseUrl": "https://prod1.datalayer.run/api/jupyter-server",
|
|
40
|
+
"wsUrl": "wss://prod1.datalayer.run/api/jupyter-server",
|
|
41
|
+
"token": "60c1661cc408f978c309d04157af55c9588ff9557c9380e4fb50785750703da6",
|
|
42
|
+
"appUrl": "/lab",
|
|
43
|
+
"themesUrl": "/lab/api/themes",
|
|
44
|
+
"disableRTC": false,
|
|
45
|
+
"terminalsAvailable": "false",
|
|
46
|
+
"mathjaxUrl": "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js",
|
|
47
|
+
"mathjaxConfig": "TeX-AMS_CHTML-full,Safe"
|
|
48
|
+
}
|
|
49
|
+
</script>
|
|
50
|
+
<script
|
|
51
|
+
data-jupyter-widgets-cdn="https://cdn.jsdelivr.net/npm/"
|
|
52
|
+
data-jupyter-widgets-cdn-only="true"
|
|
53
|
+
>
|
|
54
|
+
</script>
|
|
55
|
+
<link rel="shortcut icon"
|
|
56
|
+
href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAC7SURBVFiF7ZU9CgIxEIXfTHbPopfYc+pJ9AALtmJnZSOIoJWFoCTzLHazxh/Ebpt5EPIxM8XXTCKTxYyMCYwJFhOYCo4JFiMuu317PZwaqEBUIar4YMmskL73DytGjgu4gAt4PDJdzkkzMBloBhqBgcu69XW+1I+rNSQESNDuaMEhdP/Fj/7oW+ACLuACHk/3F5BAfuMLBjm8/ZnxNvNtHmY4b7Ztut0bqStoVSHfWj9Z6mr8LXABF3CBB3nvkDfEVN6PAAAAAElFTkSuQmCC"
|
|
57
|
+
type="image/x-icon" />
|
|
58
|
+
`,
|
|
59
|
+
addons: [
|
|
60
|
+
getAbsolutePath('@storybook/addon-links'),
|
|
61
|
+
{
|
|
62
|
+
name: getAbsolutePath('@storybook/addon-essentials'),
|
|
63
|
+
options: {
|
|
64
|
+
backgrounds: false,
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
getAbsolutePath('@storybook/addon-interactions'),
|
|
68
|
+
],
|
|
69
|
+
framework: {
|
|
70
|
+
name: getAbsolutePath('@storybook/react-webpack5'),
|
|
71
|
+
options: {
|
|
72
|
+
builder: {
|
|
73
|
+
// useSWC: true,
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
webpackFinal: config => {
|
|
78
|
+
/*
|
|
79
|
+
config.module?.rules?.forEach((rule) => {
|
|
80
|
+
if (
|
|
81
|
+
rule &&
|
|
82
|
+
typeof rule === "object" &&
|
|
83
|
+
rule.test instanceof RegExp &&
|
|
84
|
+
rule.test.test(".svg")
|
|
85
|
+
) {
|
|
86
|
+
rule.exclude = /\.svg$/;
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
*/
|
|
90
|
+
if (config.module?.rules) {
|
|
91
|
+
const svgLoaderRule = config.module.rules.find(rule => (rule as RuleSetRule).test && ((rule as RuleSetRule).test as RegExp).test!('.svg'));
|
|
92
|
+
if (svgLoaderRule) {
|
|
93
|
+
(svgLoaderRule as RuleSetRule).exclude = /\.svg$/;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
config.module?.rules?.push(
|
|
97
|
+
{
|
|
98
|
+
test: /\.tsx?$/,
|
|
99
|
+
loader: 'babel-loader',
|
|
100
|
+
options: {
|
|
101
|
+
plugins: [
|
|
102
|
+
[
|
|
103
|
+
'@babel/plugin-transform-typescript',
|
|
104
|
+
{
|
|
105
|
+
allowDeclareFields: true,
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
'@babel/plugin-proposal-class-properties',
|
|
109
|
+
],
|
|
110
|
+
presets: [
|
|
111
|
+
[
|
|
112
|
+
'@babel/preset-react',
|
|
113
|
+
{
|
|
114
|
+
runtime: 'automatic',
|
|
115
|
+
importSource: 'react',
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
'@babel/preset-typescript',
|
|
119
|
+
],
|
|
120
|
+
cacheDirectory: true,
|
|
121
|
+
},
|
|
122
|
+
exclude: /node_modules/,
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
test: /\.jsx?$/,
|
|
126
|
+
loader: 'babel-loader',
|
|
127
|
+
options: {
|
|
128
|
+
presets: ['@babel/preset-react'],
|
|
129
|
+
cacheDirectory: true
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
/*
|
|
133
|
+
{
|
|
134
|
+
// In .css files, svg is loaded as a data URI.
|
|
135
|
+
test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
|
|
136
|
+
issuer: /\.css$/,
|
|
137
|
+
use: {
|
|
138
|
+
loader: 'svg-url-loader',
|
|
139
|
+
options: { encoding: 'none', limit: 10000 },
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
*/
|
|
143
|
+
{
|
|
144
|
+
// In .ts and .tsx files (both of which compile to .js), svg files
|
|
145
|
+
// must be loaded as a raw string instead of data URIs.
|
|
146
|
+
test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
|
|
147
|
+
issuer: /\.js$/,
|
|
148
|
+
type: 'asset/source',
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
|
|
152
|
+
issuer: /\.tsx$/,
|
|
153
|
+
use: [
|
|
154
|
+
'@svgr/webpack'
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
|
|
159
|
+
issuer: /\.mdx$/,
|
|
160
|
+
use: [
|
|
161
|
+
'@svgr/webpack'
|
|
162
|
+
],
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
test: /\.m?js/,
|
|
166
|
+
resolve: {
|
|
167
|
+
fullySpecified: false,
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
test: /\.c?js/,
|
|
172
|
+
resolve: {
|
|
173
|
+
fullySpecified: false,
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
// Rule for jupyterlite service worker
|
|
177
|
+
{
|
|
178
|
+
resourceQuery: /text/,
|
|
179
|
+
type: 'asset/resource',
|
|
180
|
+
generator: {
|
|
181
|
+
filename: '[name][ext]',
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
// Rules for pyodide kernel assets
|
|
185
|
+
{
|
|
186
|
+
test: /pypi\/.*/,
|
|
187
|
+
type: 'asset/resource',
|
|
188
|
+
generator: {
|
|
189
|
+
filename: 'pypi/[name][ext][query]',
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
test: /pyodide-kernel-extension\/schema\/.*/,
|
|
194
|
+
type: 'asset/resource',
|
|
195
|
+
generator: {
|
|
196
|
+
filename: 'schema/[name][ext][query]',
|
|
197
|
+
},
|
|
198
|
+
}
|
|
199
|
+
);
|
|
200
|
+
return config;
|
|
201
|
+
},
|
|
202
|
+
docs: {
|
|
203
|
+
autodocs: 'tag',
|
|
204
|
+
},
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
export default config;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2021-2024 Datalayer, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Datalayer License
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import React from "react";
|
|
8
|
+
import { CodeOrSourceMdx } from "@storybook/addon-docs";
|
|
9
|
+
import { Mermaid } from "mdx-mermaid/lib/Mermaid"
|
|
10
|
+
import mermaid from 'mermaid';
|
|
11
|
+
import zenuml from '@mermaid-js/mermaid-zenuml';
|
|
12
|
+
import type { Preview } from '@storybook/react';
|
|
13
|
+
import { toolbarTypes, withDatalayer } from '../src/stories/_utils/story-helpers';
|
|
14
|
+
|
|
15
|
+
import '@jupyterlab/apputils/style/materialcolors.css';
|
|
16
|
+
import '@jupyterlab/application/style/buttons.css';
|
|
17
|
+
import '@jupyterlab/ui-components/style/base.css';
|
|
18
|
+
import '@jupyterlab/apputils/style/dialog.css';
|
|
19
|
+
|
|
20
|
+
import './custom.css';
|
|
21
|
+
|
|
22
|
+
export const globalTypes = toolbarTypes;
|
|
23
|
+
export const decorators = [withDatalayer];
|
|
24
|
+
|
|
25
|
+
const init = mermaid.registerExternalDiagrams([zenuml]);
|
|
26
|
+
|
|
27
|
+
const preview: Preview = {
|
|
28
|
+
parameters: {
|
|
29
|
+
docs: {
|
|
30
|
+
components: {
|
|
31
|
+
code: props => {
|
|
32
|
+
return props.className?.includes("mermaid")
|
|
33
|
+
?
|
|
34
|
+
<Mermaid chart={props.children} />
|
|
35
|
+
:
|
|
36
|
+
<CodeOrSourceMdx {...props} />
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
actions: { argTypesRegex: '^on[A-Z].*' },
|
|
41
|
+
html: {
|
|
42
|
+
root: '#html-addon-root',
|
|
43
|
+
removeEmptyComments: true,
|
|
44
|
+
},
|
|
45
|
+
controls: {
|
|
46
|
+
expanded: true,
|
|
47
|
+
hideNoControlsWarning: true,
|
|
48
|
+
matchers: {
|
|
49
|
+
color: /(background|color)$/i,
|
|
50
|
+
date: /Date$/i,
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
/*
|
|
54
|
+
options: {
|
|
55
|
+
storySort: (a, b) => {
|
|
56
|
+
return (a.id === b.id ? 0 : a.id.localeCompare(b.id, undefined, { numeric: true }))
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
*/
|
|
60
|
+
options: {
|
|
61
|
+
storySort: {
|
|
62
|
+
method: 'alphabetical',
|
|
63
|
+
order: [
|
|
64
|
+
'Welcome', 'Open Science Cases', 'Actors', 'Strategies', 'Quadrant',
|
|
65
|
+
'Planning', 'Running on the Edge', 'Data Scientist Journey',
|
|
66
|
+
'IAM', [
|
|
67
|
+
'IAM', 'Personal Account', 'Sign Up', 'Sign In', 'Sign Out', 'Profile',
|
|
68
|
+
'Organizations', 'Teams', 'Enterprises', 'Permissions', 'Roles', 'Vault', 'Tokens', 'MFA',
|
|
69
|
+
'New Password', 'New Password Confirm', 'OIDC Provider', 'SAML Provider', 'SCIM',
|
|
70
|
+
],
|
|
71
|
+
'Contents', [
|
|
72
|
+
'Contents', 'Contents Browser', 'Local Files', 'S3 Buckets', 'Git Repositories', 'Data Sources',
|
|
73
|
+
],
|
|
74
|
+
'Environments', [
|
|
75
|
+
'Environments', 'Platform Environments', 'User Environments',
|
|
76
|
+
'Distributed Frameworks', 'Accelerated Computing (GPU)', 'Requests and Limits',
|
|
77
|
+
],
|
|
78
|
+
'Kernels', [
|
|
79
|
+
'Kernels', 'Protocol', 'State', 'Picker', 'Launcher', 'Server Kernels',
|
|
80
|
+
'Browser Kernels', 'Remote Kernels', 'Terminal',
|
|
81
|
+
],
|
|
82
|
+
'Notebooks', [
|
|
83
|
+
'Notebooks', 'Base Editor', 'Lab Editor', 'Rich Editor', 'Cell', 'SQL Cell', 'Cells DAG', 'Console',
|
|
84
|
+
'IPyWidgets', 'Input Forms', 'Mime Renderers', 'LSP Autocomplete', 'Dataframe Explorer',
|
|
85
|
+
'Variables Explorer', 'Snippets', 'Table of Contents', 'Exports', 'Extensions',
|
|
86
|
+
],
|
|
87
|
+
'Spaces', [
|
|
88
|
+
'Spaces', 'Members', 'Contents', 'Notebooks', 'Environments', 'Kernels', 'Access Control', 'Settings',
|
|
89
|
+
],
|
|
90
|
+
'Collaboration', [
|
|
91
|
+
'Collaboration', 'Rooms', 'Collaborators', 'Room Access', 'Collaborative Notebook',
|
|
92
|
+
'Collaborative Kernel', 'Versioning', 'Commenting', 'Suggestions',
|
|
93
|
+
],
|
|
94
|
+
'Publications', [
|
|
95
|
+
'Publications', 'Library', 'Search',
|
|
96
|
+
],
|
|
97
|
+
'Deployments', [
|
|
98
|
+
'Deployments', 'Viewer', 'Embedding', 'Functions', 'Applications', 'DAG', 'Access Control',
|
|
99
|
+
],
|
|
100
|
+
'Automation', [
|
|
101
|
+
'Automation', 'Scheduler',
|
|
102
|
+
],
|
|
103
|
+
'Management', [
|
|
104
|
+
'Management', 'Configuration', 'Services Monitoring', 'Usage Monitoring', 'Calendar', 'Logs Aggregation', 'SLA', 'Status', 'Alerting',
|
|
105
|
+
'Availability', 'Benchmarks', 'Backup', 'Restore', 'Versions', 'Upgrades', 'License', 'Support', 'Auditing',
|
|
106
|
+
],
|
|
107
|
+
'Usage', [
|
|
108
|
+
'Usage', 'Tiers', 'Costs' , 'Activity' , 'Credits' , 'Redeem Credits', 'Billing', 'Refund', 'Ads',
|
|
109
|
+
],
|
|
110
|
+
'AI', [
|
|
111
|
+
'AI', 'AI Assistant', 'AI Completer',
|
|
112
|
+
],
|
|
113
|
+
'Education', [
|
|
114
|
+
'Education', 'Exercises', 'Lessons', 'Asisgnment', 'Grading',
|
|
115
|
+
],
|
|
116
|
+
'Integrations', [
|
|
117
|
+
'Integrations', 'JupyterHub',
|
|
118
|
+
],
|
|
119
|
+
'About', [
|
|
120
|
+
'About', 'Sponsor', 'Trust', 'Terms of Service', 'Comparison', 'Testimonials', 'Dataliens', 'FAQ',
|
|
121
|
+
],
|
|
122
|
+
],
|
|
123
|
+
locales: 'en-US',
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
export default preview;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2021-2024 Datalayer, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Datalayer License
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import { create } from '@storybook/theming/create';
|
|
8
|
+
|
|
9
|
+
export default create({
|
|
10
|
+
base: 'light',
|
|
11
|
+
brandTitle: 'Datalayer Tech Components',
|
|
12
|
+
brandUrl: 'https://datalayer.tech',
|
|
13
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Copyright (c) Datalayer, Inc. https://datalayer.io
|
|
2
|
+
# Distributed under the terms of the Datalayer License.
|
|
3
|
+
|
|
4
|
+
enableImmutableInstalls: false
|
|
5
|
+
enableInlineBuilds: false
|
|
6
|
+
enableTelemetry: false
|
|
7
|
+
httpTimeout: 60000
|
|
8
|
+
nodeLinker: node-modules
|
|
9
|
+
npmRegistryServer: "https://registry.yarnpkg.com"
|
|
10
|
+
checksumBehavior: update
|
|
11
|
+
|
|
12
|
+
# This will fix the build error with @lerna/legacy-package-management
|
|
13
|
+
# See https://github.com/lerna/repro/pull/11
|
|
14
|
+
packageExtensions:
|
|
15
|
+
"@lerna/legacy-package-management@*":
|
|
16
|
+
dependencies:
|
|
17
|
+
"@lerna/child-process": "*"
|
|
18
|
+
"js-yaml": "*"
|
|
19
|
+
"rimraf": "*"
|
|
20
|
+
peerDependencies:
|
|
21
|
+
"nx": "*"
|