Skip to content

Commit bdb1c3e

Browse files
authored
Remove: Theme selector, Cheat Sheet references, npmtrends.com iframes (#276)
2 parents a21f02c + 0089ce7 commit bdb1c3e

File tree

34 files changed

+4041
-4642
lines changed

34 files changed

+4041
-4642
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ readmes
2323
/static/assets/roboto/
2424
/static/assets/tabler-icons/
2525
/static/assets/kolibri.ico
26-
/static/cheat-sheet/
2726
/static/assets/components-esm
2827
/static/assets/themes
2928

docs/10-get-started/1-first-steps.mdx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@ import { KolAlert, KolLink } from '@public-ui/react';
22

33
# Erste Schritte
44

5-
<div class="grid md:grid-cols-12 mb-4">
6-
<KolAlert _label="Cheat Sheet herunterladen" _level="2" _type="info" _variant="card">
7-
<KolLink
8-
_label="Klicken Sie hier, um sich das Cheat-Sheet zum Entwickeln anzuschauen und herunterzuladen."
9-
_href="https://public-ui.github.io/cheat-sheet/"
10-
_target="_blank"
11-
/>
12-
</KolAlert>
13-
</div>
14-
155
<KolAlert _type="warning" _variant="card">
166
Für Projekt im ITZBund gibt es ein vorgegebenes Seed-Projekt, welches über die internen Kommunikationswege angefragt
177
werden kann.

docs/10-get-started/5-frameworks.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,3 @@ Alle Pakete/Artefakte von KoliBri werden in der öffentlichen <KolLink _label="N
129129
| -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
130130
| <img src="/assets/astro.png" width="150" alt="Logo von Astro" /> | <b>Astro</b><br/>Die Integration erfolgt mittels der <b>React- und Preact-Components</b>. Hierbei werden die Framework-Componentens Server-seitig und die Web Components Client-seitig gerendert. |
131131
| <img src="/assets/next.js.png" width="150" alt="Logo von Next.js" /> | <b>Next.js</b><br/>Die Integration erfolgt mittels der <b>React-Components</b> (CSR der Web Components). Hierbei werden die Framework-Componentens Server-seitig und die Web Components Client-seitig gerendert. |
132-
133-
## Aktuelle Trends
134-
135-
<iframe
136-
src="https://npmtrends.com/@angular/core-vs-next-vs-preact-vs-react-vs-vue-vs-astro-vs-svelte"
137-
style={{
138-
width: '100%',
139-
border: '0',
140-
height: '800px',
141-
}}
142-
></iframe>

docs/30-components/table-stateful.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Synonyme: Data Table, Details List, Data Grid
1717
Die **TableStateful**-Komponente dient primär der übersichtlichen Darstellung von Datenmengen. Dabei ist sie so ausgelegt, dass sie alle von den Daten abhängige Werte automatisch ermittelt und die Tabelle entsprechend darstellt. Hierzu gehören beispielsweise die optionalen Funktionalitäten Spaltensortierung oder Pagination.
1818

1919
<kol-indented-text _summary="Backend-seitige Pagination">
20-
Bei sehr großen Datenmengen ist auch eine manuelle Nutzung der TableStateless-Komponente möglich. Das bedeutet, dass die Tabelle seitenweise "manuell" befüllt wird. Hierzu kann einfach anstatt der Table-Pagination eine "eigene" Pagination unter der Tabelle mittels der Pagination-Komponente verwendet werden. Eine mögliche Sortierung muss ebenfalls über die `onSort`-Events selber implementiert werden. Siehe [KolTableStateless](./table-stateless).
20+
Bei sehr großen Datenmengen ist auch eine manuelle Nutzung der TableStateless-Komponente möglich. Das bedeutet, dass die Tabelle seitenweise "manuell" befüllt wird. Hierzu kann einfach anstatt der Table-Pagination eine "eigene" Pagination unter der Tabelle mittels der Pagination-Komponente verwendet werden. Eine mögliche Sortierung muss ebenfalls über die `onSort`-Events selber implementiert werden. Siehe <kol-link _href="table-stateless" _label="KolTableStateless" />.
2121
</kol-indented-text>
2222

2323
## Konstruktion

docs/30-components/table-stateless.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { ExampleLink } from '@site/src/components/ExampleLink';
1414

1515
Synonyme: Data Table, Details List, Data Grid
1616

17-
Die **TableStateless**-Komponente ist für die reine Darstellung der KoliBri-Tabelle verantwortlich. Für eine Tabellen-Komponente, die Sortierung und Paginierung mit den zur Verfügung gestellten Daten automatisch übernehmen kann, siehe [KolTableStateful](./table-stateful).
17+
Die **TableStateless**-Komponente ist für die reine Darstellung der KoliBri-Tabelle verantwortlich. Für eine Tabellen-Komponente, die Sortierung und Paginierung mit den zur Verfügung gestellten Daten automatisch übernehmen kann, siehe <kol-link _href="table-stateful" _label="KolTableStateful" />.
1818

1919
TableStateless bietet sich insbesondere bei größeren Datenmengen an, wenn es nicht praktikabel ist, die komplette Datenmenge zur Filterung und Sortierung in den Browser auszuliefern.
2020

i18n/en/docusaurus-plugin-content-docs/current/10-get-started/1-first-steps.mdx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@ import {KolAlert, KolLink,} from '@public-ui/react';
22

33
# First steps
44

5-
<div class="grid md:grid-cols-12 mb-4">
6-
<KolAlert _label="Download Cheat Sheet" _level="2" _type="info" _variant="card">
7-
<KolLink
8-
_label="Click here to view and download the cheat sheet for developing."
9-
_href="https://public-ui.github.io/cheat-sheet/"
10-
_target="_blank"
11-
/>
12-
</KolAlert>
13-
</div>
14-
155
## Create a new project
166

177
A new project can be created quickly using the command line wizard.

i18n/en/docusaurus-plugin-content-docs/current/10-get-started/5-frameworks.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,3 @@ All packages/artifacts of KoliBri are provided versioned in the public <KolLink
129129
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
130130
| <img src="/assets/astro.png" width="150" alt="Astro logo" /> | <b>Astro</b><br/>The integration is done using the <b>React and Preact components</b>. The framework components are rendered server-side and the web components are rendered client-side. |
131131
| <img src="/assets/next.js.png" width="150" alt="Next.js logo" /> | <b>Next.js</b><br/>The integration is done through the <b>React-Components</b> (CSR of the Web Components). The framework components are rendered on the server side and the Web Components on the client side. |
132-
133-
## Aktuelle Trends
134-
135-
<iframe
136-
src="https://npmtrends.com/@angular/core-vs-next-vs-preact-vs-react-vs-vue-vs-astro-vs-svelte"
137-
style={{
138-
width: '100%',
139-
border: '0',
140-
height: '800px',
141-
}}
142-
></iframe>

i18n/en/docusaurus-plugin-content-docs/version-1.5/10-get-started/5-frameworks.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,3 @@ All packages/artifacts of KoliBri are provided versioned in the public <kol-link
129129
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
130130
| <img src="/assets/astro.png" width="150" alt="Astro logo" /> | <b>Astro</b><br/>The integration is done using the <b>React and Preact components</b>. The framework components are rendered server-side and the web components are rendered client-side. |
131131
| <img src="/assets/next.js.png" width="150" alt="Next.js logo" /> | <b>Next.js</b><br/>The integration is done through the <b>React-Components</b> (CSR of the Web Components). The framework components are rendered on the server side and the Web Components on the client side. |
132-
133-
## Aktuelle Trends
134-
135-
<iframe
136-
src="https://npmtrends.com/@angular/core-vs-next-vs-preact-vs-react-vs-vue-vs-astro-vs-svelte"
137-
style={{
138-
width: '100%',
139-
border: '0',
140-
height: '800px',
141-
}}
142-
></iframe>

i18n/en/docusaurus-plugin-content-docs/version-1.6/10-get-started/5-frameworks.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,3 @@ All packages/artifacts of KoliBri are provided versioned in the public <kol-link
129129
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
130130
| <img src="/assets/astro.png" width="150" alt="Astro logo" /> | <b>Astro</b><br/>The integration is done using the <b>React and Preact components</b>. The framework components are rendered server-side and the web components are rendered client-side. |
131131
| <img src="/assets/next.js.png" width="150" alt="Next.js logo" /> | <b>Next.js</b><br/>The integration is done through the <b>React-Components</b> (CSR of the Web Components). The framework components are rendered on the server side and the Web Components on the client side. |
132-
133-
## Aktuelle Trends
134-
135-
<iframe
136-
src="https://npmtrends.com/@angular/core-vs-next-vs-preact-vs-react-vs-vue-vs-astro-vs-svelte"
137-
style={{
138-
width: '100%',
139-
border: '0',
140-
height: '800px',
141-
}}
142-
></iframe>

i18n/en/docusaurus-plugin-content-docs/version-1.7/10-get-started/5-frameworks.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,3 @@ All packages/artifacts of KoliBri are provided versioned in the public <kol-link
129129
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
130130
| <img src="/assets/astro.png" width="150" alt="Astro logo" /> | <b>Astro</b><br/>The integration is done using the <b>React and Preact components</b>. The framework components are rendered server-side and the web components are rendered client-side. |
131131
| <img src="/assets/next.js.png" width="150" alt="Next.js logo" /> | <b>Next.js</b><br/>The integration is done through the <b>React-Components</b> (CSR of the Web Components). The framework components are rendered on the server side and the Web Components on the client side. |
132-
133-
## Aktuelle Trends
134-
135-
<iframe
136-
src="https://npmtrends.com/@angular/core-vs-next-vs-preact-vs-react-vs-vue-vs-astro-vs-svelte"
137-
style={{
138-
width: '100%',
139-
border: '0',
140-
height: '800px',
141-
}}
142-
></iframe>

i18n/en/docusaurus-plugin-content-docs/version-2.0/10-get-started/5-frameworks.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,3 @@ All packages/artifacts of KoliBri are provided versioned in the public <kol-link
129129
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
130130
| <img src="/assets/astro.png" width="150" alt="Astro logo" /> | <b>Astro</b><br/>The integration is done using the <b>React and Preact components</b>. The framework components are rendered server-side and the web components are rendered client-side. |
131131
| <img src="/assets/next.js.png" width="150" alt="Next.js logo" /> | <b>Next.js</b><br/>The integration is done through the <b>React-Components</b> (CSR of the Web Components). The framework components are rendered on the server side and the Web Components on the client side. |
132-
133-
## Aktuelle Trends
134-
135-
<iframe
136-
src="https://npmtrends.com/@angular/core-vs-next-vs-preact-vs-react-vs-vue-vs-astro-vs-svelte"
137-
style={{
138-
width: '100%',
139-
border: '0',
140-
height: '800px',
141-
}}
142-
></iframe>

i18n/en/docusaurus-plugin-content-docs/version-2.1/10-get-started/5-frameworks.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,3 @@ All packages/artifacts of KoliBri are provided versioned in the public <KolLink
129129
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
130130
| <img src="/assets/astro.png" width="150" alt="Astro logo" /> | <b>Astro</b><br/>The integration is done using the <b>React and Preact components</b>. The framework components are rendered server-side and the web components are rendered client-side. |
131131
| <img src="/assets/next.js.png" width="150" alt="Next.js logo" /> | <b>Next.js</b><br/>The integration is done through the <b>React-Components</b> (CSR of the Web Components). The framework components are rendered on the server side and the Web Components on the client side. |
132-
133-
## Aktuelle Trends
134-
135-
<iframe
136-
src="https://npmtrends.com/@angular/core-vs-next-vs-preact-vs-react-vs-vue-vs-astro-vs-svelte"
137-
style={{
138-
width: '100%',
139-
border: '0',
140-
height: '800px',
141-
}}
142-
></iframe>

i18n/en/docusaurus-plugin-content-docs/version-2.2/10-get-started/5-frameworks.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,3 @@ All packages/artifacts of KoliBri are provided versioned in the public <KolLink
129129
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
130130
| <img src="/assets/astro.png" width="150" alt="Astro logo" /> | <b>Astro</b><br/>The integration is done using the <b>React and Preact components</b>. The framework components are rendered server-side and the web components are rendered client-side. |
131131
| <img src="/assets/next.js.png" width="150" alt="Next.js logo" /> | <b>Next.js</b><br/>The integration is done through the <b>React-Components</b> (CSR of the Web Components). The framework components are rendered on the server side and the Web Components on the client side. |
132-
133-
## Aktuelle Trends
134-
135-
<iframe
136-
src="https://npmtrends.com/@angular/core-vs-next-vs-preact-vs-react-vs-vue-vs-astro-vs-svelte"
137-
style={{
138-
width: '100%',
139-
border: '0',
140-
height: '800px',
141-
}}
142-
></iframe>

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"docusaurus": "npm run gen:doc && docusaurus",
88
"start": "npm run gen:doc && docusaurus start --no-open",
99
"startonly": "docusaurus start --no-open",
10-
"build": "rimraf build && node scripts/cheat-sheet.js && npm run gen:doc && cpy \"backup/**\" \"readmes\" && docusaurus build && node scripts/update.meta.js && node scripts/minify.js && node scripts/sitemap.en.js",
10+
"build": "rimraf build && npm run gen:doc && cpy \"backup/**\" \"readmes\" && docusaurus build && node scripts/update.meta.js && node scripts/minify.js && node scripts/sitemap.en.js",
1111
"swizzle": "npm run gen:doc && docusaurus swizzle",
1212
"deploy": "npm run gen:doc && docusaurus deploy",
1313
"clear": "npm run gen:doc && docusaurus clear",
@@ -25,7 +25,7 @@
2525
"unused": "knip",
2626
"postinstall": "npm-run-all postinstall:*",
2727
"postinstall:components-assets": "cpy \"node_modules/@public-ui/components/assets/**/*\" static/assets --dot",
28-
"postinstall:themes-assets": "cpy \"node_modules/@public-ui/themes/assets/**/*\" static/assets --dot",
28+
"postinstall:themes-assets": "cpy \"node_modules/@public-ui/theme-default/assets/**/*\" static/assets --dot",
2929
"update": "pnpm ncu:minor && pnpm ncu:major",
3030
"regenerate:version": "rimraf i18n/en/docusaurus-plugin-content-docs/version-2.0 versioned_docs/version-2.0 versioned_readmes/2.0 versioned_sidebars/version-2.0-sidebars.json && npm run docusaurus docs:version 2.0"
3131
},
@@ -41,9 +41,9 @@
4141
"@leanup/form": "1.3.54",
4242
"@mdx-js/react": "3.1.0",
4343
"@monaco-editor/react": "4.6.0",
44-
"@public-ui/components": "next",
45-
"@public-ui/react": "next",
46-
"@public-ui/themes": "next",
44+
"@public-ui/components": "2.2.6-rc.0",
45+
"@public-ui/react": "2.2.6-rc.0",
46+
"@public-ui/theme-default": "2.2.6-rc.0",
4747
"classnames": "2.5.1",
4848
"docusaurus-lunr-search": "3.5.0",
4949
"mermaid": "11.4.1",

0 commit comments

Comments
 (0)