@parhelia/alpaca 0.3.12763 → 0.3.12767
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/GraphQL.js +1 -1
- package/dist/GraphiQLPanel.js +1 -1
- package/dist/componentCommands.js +1 -1
- package/package.json +1 -1
package/dist/GraphQL.js
CHANGED
|
@@ -196,5 +196,5 @@ export function GraphQL() {
|
|
|
196
196
|
},
|
|
197
197
|
},
|
|
198
198
|
});
|
|
199
|
-
}, children: [_jsx(ParheliaAgentIcon, { size: 16, strokeWidth: 1
|
|
199
|
+
}, children: [_jsx(ParheliaAgentIcon, { size: 16, strokeWidth: 1 }), _jsx("span", { className: "sr-only", children: "Start GraphQL Agent" })] }) }), _jsx(TooltipContent, { children: "Start GraphQL Agent" })] }) }) })] }));
|
|
200
200
|
}
|
package/dist/GraphiQLPanel.js
CHANGED
|
@@ -203,5 +203,5 @@ export function GraphiQLPanel({ item, query, variables, onQueryChange, onVariabl
|
|
|
203
203
|
.alpaca-graphiql-shell .graphiql-logo {
|
|
204
204
|
display: none;
|
|
205
205
|
}
|
|
206
|
-
` }), _jsxs("div", { className: "flex items-center justify-between gap-3 border-b border-border-default bg-neutral-grey-5 px-3 py-2 text-xs text-neutral-grey-50", children: [_jsxs("div", { className: "flex min-w-0 flex-wrap items-center gap-2", children: [_jsxs("span", { children: ["Base item: ", _jsx("span", { className: "font-mono", children: itemLabel || item.id })] }), _jsxs("span", { children: [item.language, " v", item.version] })] }), headerActions && (_jsx("div", { className: "ml-auto flex shrink-0 items-center gap-2", children: headerActions }))] }), !!lastTransportMessage && (_jsx("div", { className: "border-b border-feedback-orange bg-feedback-orange-light px-3 py-2 text-xs text-feedback-orange", children: lastTransportMessage })), schemaResult.error && (_jsxs("div", { className: "flex items-center justify-between gap-3 border-b border-feedback-red bg-feedback-red-light px-3 py-2 text-xs text-feedback-red", children: [_jsx("span", { children: schemaResult.error }), _jsxs(ActionButton, { className: "shrink-0", disabled: isRefreshingSchema, isLoading: isRefreshingSchema, loadingText: "Retrying", onClick: handleRefreshSchema, variant: "outline", children: [_jsx(RefreshCw, { className: "h-3.5 w-3.5" }), _jsx("span", { children: "Retry" })] })] })), _jsx("div", { className: "alpaca-graphiql-shell min-h-0 flex-1 bg-white [&_.graphiql-container]:h-full", children: _jsx(GraphiQLIDE, { className: "h-full", fetcher: fetcher, schema: graphiqlSchema, forcedTheme: "light", initialQuery: query, initialVariables: variables, initialHeaders: "", onEditQuery: onQueryChange, onEditVariables: onVariablesChange, onEditHeaders: handleEditHeaders, isHeadersEditorEnabled: false, defaultEditorToolsVisibility: "variables", plugins: plugins, children: _jsx(GraphiQLSyncBridge, { query: query, variables: variables }) }) })] }));
|
|
206
|
+
` }), _jsxs("div", { className: "flex items-center justify-between gap-3 border-b border-border-default bg-neutral-grey-5 px-3 py-2 text-xs text-neutral-grey-50", children: [_jsxs("div", { className: "flex min-w-0 flex-wrap items-center gap-2", children: [_jsxs("span", { children: ["Base item: ", _jsx("span", { className: "font-mono", children: itemLabel || item.id })] }), _jsxs("span", { children: [item.language, " v", item.version] })] }), headerActions && (_jsx("div", { className: "ml-auto flex shrink-0 items-center gap-2", children: headerActions }))] }), !!lastTransportMessage && (_jsx("div", { className: "border-b border-feedback-orange bg-feedback-orange-light px-3 py-2 text-xs text-feedback-orange", children: lastTransportMessage })), schemaResult.error && (_jsxs("div", { className: "flex items-center justify-between gap-3 border-b border-feedback-red bg-feedback-red-light px-3 py-2 text-xs text-feedback-red", children: [_jsx("span", { children: schemaResult.error }), _jsxs(ActionButton, { className: "shrink-0", disabled: isRefreshingSchema, isLoading: isRefreshingSchema, loadingText: "Retrying", onClick: handleRefreshSchema, variant: "outline", children: [_jsx(RefreshCw, { strokeWidth: 1, className: "h-3.5 w-3.5" }), _jsx("span", { children: "Retry" })] })] })), _jsx("div", { className: "alpaca-graphiql-shell min-h-0 flex-1 bg-white [&_.graphiql-container]:h-full", children: _jsx(GraphiQLIDE, { className: "h-full", fetcher: fetcher, schema: graphiqlSchema, forcedTheme: "light", initialQuery: query, initialVariables: variables, initialHeaders: "", onEditQuery: onQueryChange, onEditVariables: onVariablesChange, onEditHeaders: handleEditHeaders, isHeadersEditorEnabled: false, defaultEditorToolsVisibility: "variables", plugins: plugins, children: _jsx(GraphiQLSyncBridge, { query: query, variables: variables }) }) })] }));
|
|
207
207
|
}
|
|
@@ -47,7 +47,7 @@ async function getCheckboxCommand(components, editContext, fieldName, label) {
|
|
|
47
47
|
const allLinked = items.every((item) => item.fields.find((field) => field.name === fieldName)?.rawValue === "1");
|
|
48
48
|
return {
|
|
49
49
|
id: fieldName,
|
|
50
|
-
icon: allLinked ? (_jsx(Check, { size: defaultIconSize })) : someLinked ? (_jsx(StopCircle, { size: defaultIconSize })) : (_jsx(Square, { size: defaultIconSize })),
|
|
50
|
+
icon: allLinked ? (_jsx(Check, { strokeWidth: 1, size: defaultIconSize })) : someLinked ? (_jsx(StopCircle, { strokeWidth: 1, size: defaultIconSize })) : (_jsx(Square, { strokeWidth: 1, size: defaultIconSize })),
|
|
51
51
|
label,
|
|
52
52
|
disabled: () => false,
|
|
53
53
|
execute: async () => {
|