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:
@@ -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',
|
||||
]}
|
||||
/>
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user