-
Notifications
You must be signed in to change notification settings - Fork 461
feat: reworked markdown tables according to new design #4088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request reworks table rendering and associated UI kit components to align with the new design specifications.
- In the Kotlin HTML renderer, a new div container is wrapped around table elements to support updated styling.
- In the UI kit package, module exports have been refactored to use explicit re-exports, and a new table style import has been added.
- In the component creator script, the generated index file now uses an export statement to reflect the intended module structure.
Reviewed Changes
Copilot reviewed 4 out of 8 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| dokka-subprojects/plugin-base/src/main/kotlin/org/jetbrains/dokka/base/renderers/html/HtmlRenderer.kt | Added a div with class "table--container" wrapping the table element for new design support |
| dokka-subprojects/plugin-base-frontend/src/main/ui-kit/table/index.ts | Introduced a SCSS import to include table-specific styling |
| dokka-subprojects/plugin-base-frontend/src/main/ui-kit/index.ts | Refactored module exports to individual "export * as" statements |
| dokka-subprojects/plugin-base-frontend/create-component.mjs | Updated the generated file content to use an export statement rather than an import |
Files not reviewed (4)
- dokka-subprojects/plugin-base-frontend/src/main/ui-kit/table/styles.scss: Language not supported
- dokka-subprojects/plugin-base/src/main/resources/dokka/styles/style.css: Language not supported
- dokka-subprojects/plugin-base/src/main/resources/dokka/ui-kit/ui-kit.css: Language not supported
- dokka-subprojects/plugin-base/src/main/resources/dokka/ui-kit/ui-kit.min.css: Language not supported
| } | ||
|
|
||
| th { | ||
| padding: 7.5px 15.5px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please double check the float values? Didn't expect to have it there.
* feat: restyled tabs and made them accessible * fix: removed tabs underline when they wrap * feat: clear toc state by click on the logo and by closing a tab (#4093)
This is how it looks like

