@kubohiroya/turbowarp-plus-editor-code-views 0.10.0 → 0.12.0
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/README.ja.md +29 -4
- package/README.md +29 -4
- package/dist/palette-category-groups.d.ts +64 -0
- package/dist/palette-category-groups.js +355 -0
- package/dist/palette-category-visibility.d.ts +80 -8
- package/dist/palette-category-visibility.js +177 -12
- package/dist/palette-visibility-dialog.d.ts +12 -0
- package/dist/palette-visibility-dialog.js +15 -8
- package/package.json +5 -1
- package/src/palette-category-groups.ts +378 -0
- package/src/palette-category-visibility.ts +221 -13
- package/src/palette-visibility-dialog.tsx +38 -8
- package/src/styles.css +72 -3
|
@@ -33,8 +33,100 @@ const standardPrefixes = {
|
|
|
33
33
|
motion: 'motion', looks: 'looks', sound: 'sound', event: 'events', control: 'control', sensing: 'sensing',
|
|
34
34
|
operator: 'operators', procedures: 'myBlocks', argument: 'myBlocks'
|
|
35
35
|
};
|
|
36
|
+
const groupIdPattern = /^[A-Za-z0-9_-]+$/;
|
|
37
|
+
const optionalString = (value) => typeof value === 'string' && value ? value : undefined;
|
|
38
|
+
/** The groups `getInfo()` declares, leaving out any that are not well formed or repeat an ID. */
|
|
39
|
+
function declaredGroups(value) {
|
|
40
|
+
if (!Array.isArray(value))
|
|
41
|
+
return [];
|
|
42
|
+
const groups = [];
|
|
43
|
+
for (const item of value) {
|
|
44
|
+
if (!item || typeof item !== 'object')
|
|
45
|
+
continue;
|
|
46
|
+
const { id, name } = item;
|
|
47
|
+
if (typeof id !== 'string' || !groupIdPattern.test(id) || groups.some(group => group.id === id))
|
|
48
|
+
continue;
|
|
49
|
+
const entry = item;
|
|
50
|
+
groups.push({ id, name: typeof name === 'string' && name ? name : id, color1: optionalString(entry.color1),
|
|
51
|
+
color2: optionalString(entry.color2), color3: optionalString(entry.color3),
|
|
52
|
+
menuIconURI: optionalString(entry.menuIconURI) });
|
|
53
|
+
}
|
|
54
|
+
return groups;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Keeps the groups each extension declares on its category info, where {@link extensionPaletteCatalog} reads them,
|
|
58
|
+
* and draws the blocks of a group with a colour of its own in the group's colours. Install it before extensions load.
|
|
59
|
+
* Returns the function that removes it.
|
|
60
|
+
*/
|
|
61
|
+
export function installExtensionPaletteGroups(runtime) {
|
|
62
|
+
const original = runtime._fillExtensionCategory;
|
|
63
|
+
if (typeof original !== 'function')
|
|
64
|
+
return () => { };
|
|
65
|
+
const wrapped = function (categoryInfo, extensionInfo, ...rest) {
|
|
66
|
+
const result = original.call(this, categoryInfo, extensionInfo, ...rest);
|
|
67
|
+
const groups = declaredGroups(extensionInfo?.groups);
|
|
68
|
+
if (categoryInfo && typeof categoryInfo === 'object') {
|
|
69
|
+
categoryInfo.paletteGroups = groups;
|
|
70
|
+
for (const block of Array.isArray(categoryInfo.blocks) ? categoryInfo.blocks : []) {
|
|
71
|
+
const group = groups.find(item => item.id === block?.info?.paletteGroup);
|
|
72
|
+
if (!group?.color1 || !block.json || block.info.color1 !== undefined)
|
|
73
|
+
continue;
|
|
74
|
+
block.json.colour = group.color1;
|
|
75
|
+
if (group.color2)
|
|
76
|
+
block.json.colourSecondary = group.color2;
|
|
77
|
+
if (group.color3)
|
|
78
|
+
block.json.colourTertiary = group.color3;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return result;
|
|
82
|
+
};
|
|
83
|
+
runtime._fillExtensionCategory = wrapped;
|
|
84
|
+
return () => {
|
|
85
|
+
if (runtime._fillExtensionCategory === wrapped)
|
|
86
|
+
runtime._fillExtensionCategory = original;
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/** The groups of the loaded extensions, in palette order, from the VM's category info. */
|
|
90
|
+
export function extensionPaletteCatalog(categories = []) {
|
|
91
|
+
const groups = [];
|
|
92
|
+
const groupOf = new Map();
|
|
93
|
+
for (const category of categories) {
|
|
94
|
+
const extensionName = category.name || category.id;
|
|
95
|
+
const declared = declaredGroups(category.paletteGroups);
|
|
96
|
+
const used = new Set();
|
|
97
|
+
let unmarked = declared.length === 0;
|
|
98
|
+
for (const block of category.blocks ?? []) {
|
|
99
|
+
const opcode = block?.json?.type;
|
|
100
|
+
if (typeof opcode !== 'string')
|
|
101
|
+
continue;
|
|
102
|
+
const group = declared.find(item => item.id === block.info?.paletteGroup);
|
|
103
|
+
if (!group) {
|
|
104
|
+
unmarked = true;
|
|
105
|
+
continue;
|
|
106
|
+
}
|
|
107
|
+
groupOf.set(opcode, `${category.id}/${group.id}`);
|
|
108
|
+
used.add(group.id);
|
|
109
|
+
}
|
|
110
|
+
const menuIconURI = category.menuIconURI || category.blockIconURI || undefined;
|
|
111
|
+
if (unmarked) {
|
|
112
|
+
groups.push({ id: category.id, extensionId: category.id, name: extensionName, extensionName, declared: false,
|
|
113
|
+
color1: category.color1, color2: category.color2, menuIconURI });
|
|
114
|
+
}
|
|
115
|
+
for (const group of declared) {
|
|
116
|
+
if (!used.has(group.id))
|
|
117
|
+
continue;
|
|
118
|
+
groups.push({ id: `${category.id}/${group.id}`, extensionId: category.id, name: group.name, extensionName,
|
|
119
|
+
declared: true, color1: group.color1 ?? category.color1, color2: group.color2 ?? category.color2,
|
|
120
|
+
menuIconURI: group.menuIconURI ?? menuIconURI });
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return { groups, groupOf };
|
|
124
|
+
}
|
|
36
125
|
/** The group a block belongs to, or null for a block no palette group offers. */
|
|
37
|
-
export function groupOfOpcode(opcode) {
|
|
126
|
+
export function groupOfOpcode(opcode, catalog) {
|
|
127
|
+
const declared = catalog?.groupOf.get(opcode);
|
|
128
|
+
if (declared)
|
|
129
|
+
return declared;
|
|
38
130
|
const separator = opcode.indexOf('_');
|
|
39
131
|
if (separator <= 0)
|
|
40
132
|
return null;
|
|
@@ -44,12 +136,12 @@ export function groupOfOpcode(opcode) {
|
|
|
44
136
|
return standardPrefixes[prefix] ?? prefix;
|
|
45
137
|
}
|
|
46
138
|
/** How many blocks of each group the target's code uses. Menus and other shadow blocks are not counted. */
|
|
47
|
-
export function usedGroups(target) {
|
|
139
|
+
export function usedGroups(target, catalog) {
|
|
48
140
|
const counts = new Map();
|
|
49
141
|
for (const block of Object.values(target.blocks?._blocks ?? {})) {
|
|
50
142
|
if (!block || block.shadow || typeof block.opcode !== 'string')
|
|
51
143
|
continue;
|
|
52
|
-
const group = groupOfOpcode(block.opcode);
|
|
144
|
+
const group = groupOfOpcode(block.opcode, catalog);
|
|
53
145
|
if (group)
|
|
54
146
|
counts.set(group, (counts.get(group) ?? 0) + 1);
|
|
55
147
|
}
|
|
@@ -57,16 +149,88 @@ export function usedGroups(target) {
|
|
|
57
149
|
}
|
|
58
150
|
/**
|
|
59
151
|
* The groups shown when a target has no setting of its own: every standard group, and the groups of
|
|
60
|
-
* the
|
|
152
|
+
* the extension groups its code already uses, so a project opens with nothing missing. `extensionGroups` are the
|
|
153
|
+
* IDs of the extension groups on offer: the extension IDs, or with a catalog, its group IDs.
|
|
61
154
|
*/
|
|
62
|
-
export function defaultVisibleGroups(target,
|
|
63
|
-
const used = usedGroups(target);
|
|
64
|
-
return [...standardGroups, ...
|
|
155
|
+
export function defaultVisibleGroups(target, extensionGroups, catalog) {
|
|
156
|
+
const used = usedGroups(target, catalog);
|
|
157
|
+
return [...standardGroups, ...extensionGroups.filter(id => used.has(id))];
|
|
158
|
+
}
|
|
159
|
+
/** A category for one group of an extension, drawn like the extension's own unless the group has its own look. */
|
|
160
|
+
function groupCategory(category, group, children) {
|
|
161
|
+
const part = category.cloneNode(false);
|
|
162
|
+
part.setAttribute('id', group.id);
|
|
163
|
+
part.setAttribute('name', group.name);
|
|
164
|
+
if (group.color1)
|
|
165
|
+
part.setAttribute('colour', group.color1);
|
|
166
|
+
if (group.color2)
|
|
167
|
+
part.setAttribute('secondaryColour', group.color2);
|
|
168
|
+
if (group.menuIconURI)
|
|
169
|
+
part.setAttribute('iconURI', group.menuIconURI);
|
|
170
|
+
part.append(...children);
|
|
171
|
+
return part;
|
|
65
172
|
}
|
|
66
|
-
/**
|
|
67
|
-
|
|
173
|
+
/**
|
|
174
|
+
* Splits each extension category whose extension declares groups into one category per group, in the catalog's
|
|
175
|
+
* order. A label, separator or button goes with the block after it, or with the last block when none follows.
|
|
176
|
+
* With `nested`, the extension's category stays, with its unmarked blocks, and holds the categories of its declared
|
|
177
|
+
* groups, so the palette can show it as a group that opens them (see `./palette-category-groups`).
|
|
178
|
+
*/
|
|
179
|
+
export function splitExtensionCategories(tree, catalog, { nested = false } = {}) {
|
|
180
|
+
for (const category of Array.from(tree.querySelectorAll(':scope > category'))) {
|
|
181
|
+
const extensionId = category.getAttribute('id');
|
|
182
|
+
const groups = catalog.groups.filter(group => group.extensionId === extensionId);
|
|
183
|
+
if (!extensionId || !groups.some(group => group.declared))
|
|
184
|
+
continue;
|
|
185
|
+
const items = new Map();
|
|
186
|
+
let pending = [];
|
|
187
|
+
let last = extensionId;
|
|
188
|
+
for (const child of Array.from(category.children)) {
|
|
189
|
+
if (child.tagName.toLowerCase() !== 'block') {
|
|
190
|
+
pending.push(child);
|
|
191
|
+
continue;
|
|
192
|
+
}
|
|
193
|
+
last = catalog.groupOf.get(child.getAttribute('type') ?? '') ?? extensionId;
|
|
194
|
+
items.set(last, [...items.get(last) ?? [], ...pending, child]);
|
|
195
|
+
pending = [];
|
|
196
|
+
}
|
|
197
|
+
if (pending.length)
|
|
198
|
+
items.set(last, [...items.get(last) ?? [], ...pending]);
|
|
199
|
+
if (nested) {
|
|
200
|
+
category.replaceChildren(...items.get(extensionId) ?? []);
|
|
201
|
+
for (const group of groups) {
|
|
202
|
+
const children = items.get(group.id);
|
|
203
|
+
if (!group.declared || !children)
|
|
204
|
+
continue;
|
|
205
|
+
const part = groupCategory(category, group, children);
|
|
206
|
+
part.removeAttribute('showStatusButton');
|
|
207
|
+
category.append(part);
|
|
208
|
+
}
|
|
209
|
+
continue;
|
|
210
|
+
}
|
|
211
|
+
let first = true;
|
|
212
|
+
for (const group of groups) {
|
|
213
|
+
const children = items.get(group.id);
|
|
214
|
+
if (!children)
|
|
215
|
+
continue;
|
|
216
|
+
const part = groupCategory(category, group, children);
|
|
217
|
+
if (!first)
|
|
218
|
+
part.removeAttribute('showStatusButton');
|
|
219
|
+
first = false;
|
|
220
|
+
category.before(part);
|
|
221
|
+
}
|
|
222
|
+
category.remove();
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Removes the categories the target does not show from a parsed toolbox, before the palette is drawn from it.
|
|
227
|
+
* With a catalog, an extension that declares groups is first split into a category per group.
|
|
228
|
+
*/
|
|
229
|
+
export function filterToolboxTree(tree, visible, catalog) {
|
|
68
230
|
if (!tree)
|
|
69
231
|
return;
|
|
232
|
+
if (catalog)
|
|
233
|
+
splitExtensionCategories(tree, catalog);
|
|
70
234
|
for (const category of Array.from(tree.querySelectorAll(':scope > category'))) {
|
|
71
235
|
const id = category.getAttribute('id');
|
|
72
236
|
if (id && !visible.has(id))
|
|
@@ -78,15 +242,16 @@ export const paletteScreenStateKey = 'blockPalette';
|
|
|
78
242
|
const strings = (value) => Array.isArray(value) && value.every(item => typeof item === 'string') ? [...value] : undefined;
|
|
79
243
|
const sameGroups = (left, right) => left.length === right.length && new Set(left).size === left.length && left.every(group => right.includes(group));
|
|
80
244
|
/** The settings of one project, by runtime target ID, so a renamed sprite keeps its setting. */
|
|
81
|
-
export function createPaletteVisibilityStore() {
|
|
245
|
+
export function createPaletteVisibilityStore({ catalog } = {}) {
|
|
246
|
+
const defaults = (target, extensionIds) => defaultVisibleGroups(target, extensionIds, catalog?.());
|
|
82
247
|
let groups = new Map();
|
|
83
248
|
let projectSets = {};
|
|
84
249
|
return {
|
|
85
250
|
visible(target, extensionIds) {
|
|
86
|
-
return new Set(groups.get(target.id) ??
|
|
251
|
+
return new Set(groups.get(target.id) ?? defaults(target, extensionIds));
|
|
87
252
|
},
|
|
88
253
|
set(target, chosen, extensionIds) {
|
|
89
|
-
if (sameGroups(chosen,
|
|
254
|
+
if (sameGroups(chosen, defaults(target, extensionIds)))
|
|
90
255
|
groups.delete(target.id);
|
|
91
256
|
else
|
|
92
257
|
groups.set(target.id, [...chosen]);
|
|
@@ -6,6 +6,15 @@ export interface PaletteExtension {
|
|
|
6
6
|
id: string;
|
|
7
7
|
/** What the host knows about the extension; at least its name. */
|
|
8
8
|
metadata: ExtensionMetadata;
|
|
9
|
+
/**
|
|
10
|
+
* The groups the extension declares, each chosen on its own, in place of the extension. A group whose ID is the
|
|
11
|
+
* extension's holds the blocks no declared group takes.
|
|
12
|
+
*/
|
|
13
|
+
groups?: readonly {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
color?: string;
|
|
17
|
+
}[];
|
|
9
18
|
}
|
|
10
19
|
export interface PaletteVisibilityChoice {
|
|
11
20
|
/** The groups to show for the target. */
|
|
@@ -70,11 +79,14 @@ export declare class PaletteVisibilityDialog extends React.PureComponent<Palette
|
|
|
70
79
|
extensions: string;
|
|
71
80
|
used: (count: number) => string;
|
|
72
81
|
hiddenInUse: (count: number) => string;
|
|
82
|
+
otherBlocks: string;
|
|
73
83
|
cancel: string;
|
|
74
84
|
confirm: string;
|
|
75
85
|
close: string;
|
|
76
86
|
};
|
|
77
87
|
standard(): ("sound" | "variables" | "events" | "motion" | "looks" | "control" | "sensing" | "operators" | "lists" | "myBlocks")[];
|
|
88
|
+
/** Every group on offer, in the order the screen lists them. */
|
|
89
|
+
offered(): string[];
|
|
78
90
|
available(groups: readonly string[]): string[];
|
|
79
91
|
toggle(group: string): void;
|
|
80
92
|
toggleSet(set: PaletteGroupSet): void;
|
|
@@ -19,7 +19,7 @@ const messages = {
|
|
|
19
19
|
quick: 'Choose several at once', copyFrom: 'Copy settings from', copy: 'Copy', chooseSprite: 'Choose a sprite',
|
|
20
20
|
sets: 'Setting shortcuts', addSet: 'Add setting shortcut', setName: 'Shortcut name', add: 'Add',
|
|
21
21
|
standard: 'Standard block groups', extensions: 'Extension block groups', used: (count) => `In use ${count}`,
|
|
22
|
-
hiddenInUse: (count) => `Hidden and in use: ${count}`, cancel: 'Cancel', confirm: 'Confirm', close: 'Close'
|
|
22
|
+
hiddenInUse: (count) => `Hidden and in use: ${count}`, otherBlocks: 'Other blocks', cancel: 'Cancel', confirm: 'Confirm', close: 'Close'
|
|
23
23
|
},
|
|
24
24
|
ja: {
|
|
25
25
|
title: 'パレット内のブロックグループの表示・非表示の設定', sprite: (name) => `スプライト「${name}」`, stage: '背景',
|
|
@@ -27,7 +27,7 @@ const messages = {
|
|
|
27
27
|
quick: 'まとめて選ぶ', copyFrom: '設定のコピー元', copy: 'コピー', chooseSprite: 'スプライトを選ぶ',
|
|
28
28
|
sets: '設定のショートカット', addSet: '設定のショートカットを追加', setName: 'ショートカットの名前', add: '追加',
|
|
29
29
|
standard: '標準のブロックグループ', extensions: '機能拡張のブロックグループ', used: (count) => `使用中 ${count}`,
|
|
30
|
-
hiddenInUse: (count) => `非表示中・使用中 ${count} 件`, cancel: 'キャンセル', confirm: '確定', close: '閉じる'
|
|
30
|
+
hiddenInUse: (count) => `非表示中・使用中 ${count} 件`, otherBlocks: 'そのほかのブロック', cancel: 'キャンセル', confirm: '確定', close: '閉じる'
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
const isJapanese = (locale) => /^ja(?:-|$)/i.test(locale ?? '');
|
|
@@ -48,8 +48,12 @@ export class PaletteVisibilityDialog extends React.PureComponent {
|
|
|
48
48
|
// The stage has no motion blocks.
|
|
49
49
|
return standardGroups.filter(group => !(this.props.isStage && group === 'motion'));
|
|
50
50
|
}
|
|
51
|
+
/** Every group on offer, in the order the screen lists them. */
|
|
52
|
+
offered() {
|
|
53
|
+
return [...this.standard(), ...this.props.extensions.flatMap(extension => extension.groups ? extension.groups.map(group => group.id) : [extension.id])];
|
|
54
|
+
}
|
|
51
55
|
available(groups) {
|
|
52
|
-
const offered = new Set(
|
|
56
|
+
const offered = new Set(this.offered());
|
|
53
57
|
return groups.filter(group => offered.has(group));
|
|
54
58
|
}
|
|
55
59
|
toggle(group) {
|
|
@@ -84,8 +88,7 @@ export class PaletteVisibilityDialog extends React.PureComponent {
|
|
|
84
88
|
let id = name.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-|-$/g, '') || 'set';
|
|
85
89
|
for (let index = 2; taken.has(id); index++)
|
|
86
90
|
id = `${id.replace(/-\d+$/, '')}-${index}`;
|
|
87
|
-
const groups =
|
|
88
|
-
.filter(group => this.state.shown.has(group));
|
|
91
|
+
const groups = this.offered().filter(group => this.state.shown.has(group));
|
|
89
92
|
this.setState(({ addedSets }) => ({ addedSets: [...addedSets, { id, name, groups }], naming: false, setName: '' }));
|
|
90
93
|
}
|
|
91
94
|
/**
|
|
@@ -103,8 +106,7 @@ export class PaletteVisibilityDialog extends React.PureComponent {
|
|
|
103
106
|
return source ? this.available(source.groups) : [];
|
|
104
107
|
}
|
|
105
108
|
apply() {
|
|
106
|
-
|
|
107
|
-
this.props.onApply({ groups: order.filter(group => this.state.shown.has(group)), addedSets: this.state.addedSets });
|
|
109
|
+
this.props.onApply({ groups: this.offered().filter(group => this.state.shown.has(group)), addedSets: this.state.addedSets });
|
|
108
110
|
}
|
|
109
111
|
render() {
|
|
110
112
|
const { locale, targetName, isStage, used, extensions, onCancel } = this.props;
|
|
@@ -170,7 +172,12 @@ export class PaletteVisibilityDialog extends React.PureComponent {
|
|
|
170
172
|
extensions.length > 0 && (React.createElement("section", { "aria-label": text.extensions },
|
|
171
173
|
React.createElement("h3", null, text.extensions),
|
|
172
174
|
React.createElement("div", { className: "twextsec-review" },
|
|
173
|
-
React.createElement("ul", { className: "twextsec-rows" }, extensions.map(extension => (React.createElement(ExtensionRow, { key: extension.id, metadata: extension.metadata, ids: [extension.id], locale: locale, itemProps: { 'data-
|
|
175
|
+
React.createElement("ul", { className: "twextsec-rows" }, extensions.map(extension => extension.groups ? (React.createElement(ExtensionRow, { key: extension.id, metadata: extension.metadata, ids: [extension.id], locale: locale, itemProps: { 'data-extension': extension.id } },
|
|
176
|
+
React.createElement("div", { className: "tw-palette-visibility-extension-groups" }, extension.groups.map(group => (React.createElement("label", { key: group.id, "data-group": group.id, "data-highlighted": highlighted(group.id) },
|
|
177
|
+
React.createElement("input", { type: "checkbox", checked: shown.has(group.id), onChange: () => this.toggle(group.id) }),
|
|
178
|
+
React.createElement("span", { className: "tw-palette-visibility-swatch", "aria-hidden": "true", style: { color: group.color } }, "\u25CF"),
|
|
179
|
+
group.id === extension.id ? text.otherBlocks : group.name,
|
|
180
|
+
usedBadge(group.id))))))) : (React.createElement(ExtensionRow, { key: extension.id, metadata: extension.metadata, ids: [extension.id], locale: locale, itemProps: { 'data-group': extension.id, 'data-highlighted': highlighted(extension.id) }, pick: { checked: shown.has(extension.id), onToggle: () => this.toggle(extension.id) } }, usedBadge(extension.id)))))))),
|
|
174
181
|
React.createElement("footer", { className: "tw-palette-visibility-footer" },
|
|
175
182
|
React.createElement("span", { role: "status" }, hiddenInUse > 0 ? text.hiddenInUse(hiddenInUse) : ''),
|
|
176
183
|
React.createElement("span", null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubohiroya/turbowarp-plus-editor-code-views",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Code views for TurboWarp Plus Editor: code in tabs and windows, the detached block palette, script layout and block field editing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MPL-2.0",
|
|
@@ -54,6 +54,10 @@
|
|
|
54
54
|
"types": "./dist/palette-dropdown-resize.d.ts",
|
|
55
55
|
"default": "./dist/palette-dropdown-resize.js"
|
|
56
56
|
},
|
|
57
|
+
"./palette-category-groups": {
|
|
58
|
+
"types": "./dist/palette-category-groups.d.ts",
|
|
59
|
+
"default": "./dist/palette-category-groups.js"
|
|
60
|
+
},
|
|
57
61
|
"./palette-category-visibility": {
|
|
58
62
|
"types": "./dist/palette-category-visibility.d.ts",
|
|
59
63
|
"default": "./dist/palette-category-visibility.js"
|