boardui 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1031,6 +1031,10 @@ function editDistance(a, b) {
|
|
|
1031
1031
|
}
|
|
1032
1032
|
return d[rows - 1][cols - 1];
|
|
1033
1033
|
}
|
|
1034
|
+
var UNRELEASED = {
|
|
1035
|
+
"agent-orb": '"agent-orb" is not available yet. It is still in progress and not open to public use.',
|
|
1036
|
+
orb: "The BoardUI orb component is not available yet. It is still in progress and not open to public use."
|
|
1037
|
+
};
|
|
1034
1038
|
var CURATED_SUGGESTIONS = {
|
|
1035
1039
|
textarea: ["input"],
|
|
1036
1040
|
"text-area": ["input"],
|
|
@@ -1059,6 +1063,8 @@ function resolveName(raw, universe) {
|
|
|
1059
1063
|
if (universe.all.has(n)) return { name: n };
|
|
1060
1064
|
const alias = universe.aliases.get(n);
|
|
1061
1065
|
if (alias) return { name: alias };
|
|
1066
|
+
const unreleased = UNRELEASED[n];
|
|
1067
|
+
if (unreleased) return { error: unreleased };
|
|
1062
1068
|
const suggestions = new Set(CURATED_SUGGESTIONS[n] ?? []);
|
|
1063
1069
|
const scored = [];
|
|
1064
1070
|
for (const name of universe.all) {
|