chore: Remove unused code from ui-library (#38374)

* Remove unneeded code.

* Remove more unused code.

* Update knip.jsonc for ui-library.

* Remove unneeded imports. Change the registry generation to only generate what's needed.

* Cleanup the rehype middleware (it wasn't used). Clean up the example blocks generation.

* Don't show the "show code" button in all dropzone examples.
This commit is contained in:
Ivan Vasilov
2025-09-02 15:36:41 +02:00
committed by GitHub
parent 0d224c3aae
commit 501918857b
41 changed files with 49 additions and 2208 deletions

6
pnpm-lock.yaml generated
View File

@@ -1387,9 +1387,6 @@ importers:
react-hook-form:
specifier: ^7.45.0
version: 7.47.0(react@18.3.1)
react-inlinesvg:
specifier: ^4.0.4
version: 4.0.4(react@18.3.1)
react-markdown:
specifier: ^10.1.0
version: 10.1.0(@types/react@18.3.3)(react@18.3.1)(supports-color@8.1.1)
@@ -1505,9 +1502,6 @@ importers:
typescript:
specifier: ~5.5.0
version: 5.5.2
unist-builder:
specifier: 3.0.0
version: 3.0.0
vite:
specifier: 'catalog:'
version: 6.3.5(@types/node@22.13.14)(jiti@2.4.2)(sass@1.77.4)(terser@5.39.0)(tsx@4.19.3)(yaml@2.4.5)