Skip to content

Commit d098a05

Browse files
author
github-actions
committed
Update main site. [skip ci]
1 parent a399b6b commit d098a05

98 files changed

Lines changed: 2287 additions & 673 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<script>
1919
MarkBind.setupWithSearch()
2020
</script>
21-
<script src="https://cdn.jsdelivr.net/npm/@custardui/custardui" data-base-url="/"></script>
21+
<script src="https://cdn.jsdelivr.net/npm/@custardui/custardui@latest" data-base-url="/"></script>
2222
<script>
2323
function copyCodeBlock(element) {
2424
const pre = element.parentElement.parentElement;

README.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

README.page-vue-render.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/**
2+
* CustardUI Plugin for MarkBind
3+
* Injects the CustardUI auto-init script into every page.
4+
* Configuration is loaded from websiteUrl/BaseUrl/custardui.config.json
5+
*/
6+
7+
// Local Development: ESM Modules, relative directory
8+
// Markbind Deployment: Use unpkg CDN
9+
function getScripts() {
10+
return [
11+
// Latest Beta Release
12+
'<script src="https://unpkg.com/@custardui/custardui@beta" data-base-url="/betadocs"></script>'
13+
];
14+
}
15+
16+
const tagConfig = {
17+
'cv-toggle': {
18+
isCustomElement: true
19+
},
20+
'cv-tabgroup': {
21+
isCustomElement: true
22+
},
23+
'cv-tab': {
24+
isCustomElement: true
25+
},
26+
'cv-tab-body': {
27+
isCustomElement: true
28+
},
29+
'cv-tab-header': {
30+
isCustomElement: true
31+
},
32+
'cv-define-placeholder': {
33+
isCustomElement: true
34+
},
35+
'cv-placeholder-input': {
36+
isCustomElement: true
37+
},
38+
'cv-label': {
39+
isCustomElement: true
40+
}
41+
};
42+
43+
// CJS: module.exports = { getScripts };
44+
export { getScripts, tagConfig };
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/**
2+
* CustardUI Plugin for MarkBind
3+
* Injects the CustardUI auto-init script into every page.
4+
* Configuration is loaded from websiteUrl/BaseUrl/custardui.config.json
5+
*/
6+
7+
// Local Development: ESM Modules, relative directory
8+
// Markbind Deployment: Use unpkg CDN
9+
function getScripts() {
10+
return [
11+
// Local Development
12+
'<script src="../../../dist/custardui.js" data-base-url="/devdocs"></script>'
13+
];
14+
}
15+
16+
const tagConfig = {
17+
'cv-toggle': {
18+
isCustomElement: true
19+
},
20+
'cv-tabgroup': {
21+
isCustomElement: true
22+
},
23+
'cv-tab': {
24+
isCustomElement: true
25+
},
26+
'cv-tab-body': {
27+
isCustomElement: true
28+
},
29+
'cv-tab-header': {
30+
isCustomElement: true
31+
},
32+
'cv-define-placeholder': {
33+
isCustomElement: true
34+
},
35+
'cv-placeholder-input': {
36+
isCustomElement: true
37+
},
38+
'cv-label': {
39+
isCustomElement: true
40+
}
41+
};
42+
43+
// CJS: module.exports = { getScripts };
44+
export { getScripts, tagConfig };

_markbind/plugins/custardui.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,8 @@
88
// Markbind Deployment: Use unpkg CDN
99
function getScripts() {
1010
return [
11-
// Local Development
12-
// '<script src="../../../dist/custardui.js" data-base-url="/betadocs"></script>'
13-
1411
// Latest Stable Release
15-
'<script src="https://cdn.jsdelivr.net/npm/@custardui/custardui" data-base-url="/"></script>'
16-
17-
// Latest Beta Release
18-
// '<script src="https://unpkg.com/@custardui/custardui@beta" data-base-url="/betadocs"></script>'
12+
'<script src="https://cdn.jsdelivr.net/npm/@custardui/custardui@latest" data-base-url="/"></script>'
1913
];
2014
}
2115

@@ -40,6 +34,9 @@ const tagConfig = {
4034
},
4135
'cv-placeholder-input': {
4236
isCustomElement: true
37+
},
38+
'cv-label': {
39+
isCustomElement: true
4340
}
4441
};
4542

about.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

about.page-vue-render.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

authorGuide/adaptations.page-vue-render.js

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 17 additions & 172 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)