docs-ui: add missing component slugs and fix changelog sync

Add `badge`, `slider`, and `use-table` to the Component type so
the changelog sync script recognizes them. Add `useTable` special
case mapping in the sync script, and include `use-table` in the
Table docs page changelog.

Also fix CHANGELOG.md to use `Slider` instead of `RangeSlider`
as the affected component name.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
This commit is contained in:
Johan Persson
2026-04-15 09:43:54 +02:00
parent 951ee25105
commit 552e4b2d43
4 changed files with 7 additions and 2 deletions
@@ -325,5 +325,6 @@ A table body that renders animated skeleton rows as a loading placeholder. Usefu
'cell-text',
'cell-profile',
'table-body-skeleton',
'use-table',
]}
/>
+3
View File
@@ -5,6 +5,7 @@ export type Component =
| 'accordion-trigger'
| 'alert'
| 'avatar'
| 'badge'
| 'box'
| 'button'
| 'button-icon'
@@ -61,6 +62,7 @@ export type Component =
| 'searchfield'
| 'select'
| 'skeleton'
| 'slider'
| 'submenu-trigger'
| 'switch'
| 'tab'
@@ -80,6 +82,7 @@ export type Component =
| 'toggle-button-group'
| 'tooltip'
| 'tooltip-trigger'
| 'use-table'
| 'visually-hidden';
export type Hook = 'use-breakpoint';