Skip to content

Commit 14644f9

Browse files
committed
chore: save open-ui script
1 parent afd2dfa commit 14644f9

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

dev/scripts/open-ui.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ const path = require('path');
33
const ELEMENTS = require(path.relative(__dirname, 'node_modules/@public-ui/components/custom-elements.json'));
44
const TODAY = new Date();
55
const OPEN_UI = {
6-
$schema: '../schemas/design-system.schema.json5',
6+
$schema: '../schemas/design-system.schema.json',
77
lastUpdated: TODAY.getFullYear() + '-' + (TODAY.getMonth() + 1) + '-' + TODAY.getDate(),
88
name: 'KoliBri',
99
description:
1010
'KoliBri builds directly on the web standards of the W3C (framework-agnostic), is a generic reference implementation of the WCAG standard and the BITV for accessibility and implemented as a multi-theming capable presentation layer. There is no technical reference and no data transmission functionalities. This means that KoliBri can be reused for the realization of static websites as well as dynamic web applications with different corporate designs and style guides and is therefore very interesting for open source.',
11-
url: 'https://public-ui.github.io/',
11+
url: 'https://public-ui.github.io/en/',
1212
version: ELEMENTS.version,
13-
by: 'Informationstechnik Zentrum Bund',
13+
by: 'Informationstechnikzentrum Bund',
1414
components: [],
1515
};
1616
const removeUnderscore = (str) => {
@@ -23,6 +23,7 @@ const pascalCase = (str) => {
2323
};
2424
const BLACKLIST = [
2525
'kol-alert-wc',
26+
'kol-avatar-wc',
2627
'kol-button-group',
2728
'kol-button-group-wc',
2829
'kol-color',
@@ -35,8 +36,10 @@ const BLACKLIST = [
3536
'kol-kolibri',
3637
'kol-logo',
3738
'kol-link-group',
39+
'kol-popover-wc',
3840
'kol-span',
3941
'kol-span-wc',
42+
'kol-tooltip-wc',
4043
'kol-version',
4144
];
4245
ELEMENTS.tags.forEach((tag) => {
@@ -47,7 +50,7 @@ ELEMENTS.tags.forEach((tag) => {
4750
// openUIName: pascalCase(clearedName),
4851
name: pascalCase(clearedName),
4952
definition: tag.description,
50-
url: `https://public-ui.github.io/docs/components/${clearedName}`,
53+
url: `https://public-ui.github.io/en/docs/components/${clearedName}`,
5154
anatomy: [],
5255
concepts: [],
5356
};

0 commit comments

Comments
 (0)