feat(html): configure deesWccTools with sections metadata for Elements and Pages
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-12-28 - 1.5.0 - feat(html)
|
||||||
|
configure deesWccTools with sections metadata for Elements and Pages
|
||||||
|
|
||||||
|
- Replaced positional setupWccTools call with a config object containing sections
|
||||||
|
- Adds two sections: 'Elements' (type: elements, icon: widgets) and 'Pages' (type: pages, icon: web) mapping items to imported modules
|
||||||
|
- No behavioral change to subsequent deesDomTools.elementBasic.setup() call
|
||||||
|
|
||||||
## 2025-12-28 - 1.4.2 - fix(deps)
|
## 2025-12-28 - 1.4.2 - fix(deps)
|
||||||
add MIT license, update package metadata and bump dependencies; simplify docs
|
add MIT license, update package metadata and bump dependencies; simplify docs
|
||||||
|
|
||||||
|
|||||||
@@ -8,5 +8,20 @@ import '@design.estate/dees-wcctools/demotools';
|
|||||||
import * as elements from '../ts_web/elements/index.js';
|
import * as elements from '../ts_web/elements/index.js';
|
||||||
import * as pages from '../ts_web/pages/index.js';
|
import * as pages from '../ts_web/pages/index.js';
|
||||||
|
|
||||||
deesWccTools.setupWccTools(elements as any, pages);
|
deesWccTools.setupWccTools({
|
||||||
|
sections: [
|
||||||
|
{
|
||||||
|
name: 'Elements',
|
||||||
|
type: 'elements',
|
||||||
|
items: elements,
|
||||||
|
icon: 'widgets',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Pages',
|
||||||
|
type: 'pages',
|
||||||
|
items: pages,
|
||||||
|
icon: 'web',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
deesDomTools.elementBasic.setup();
|
deesDomTools.elementBasic.setup();
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@uptime.link/statuspage',
|
name: '@uptime.link/statuspage',
|
||||||
version: '1.4.2',
|
version: '1.5.0',
|
||||||
description: 'A catalog of web components for the UptimeLink dashboard.'
|
description: 'A catalog of web components for the UptimeLink dashboard.'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user