@qodalis/cli-core 2.2.0 → 2.4.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/package.json +1 -1
- package/public-api.d.mts +7 -6
- package/public-api.d.ts +7 -6
- package/public-api.js +33 -30
- package/public-api.js.map +1 -1
- package/public-api.mjs +33 -30
- package/public-api.mjs.map +1 -1
package/package.json
CHANGED
package/public-api.d.mts
CHANGED
|
@@ -2153,9 +2153,9 @@ type CliOptions = Record<string, any> & {
|
|
|
2153
2153
|
branding?: CliBranding;
|
|
2154
2154
|
/**
|
|
2155
2155
|
* Terminal colors set by the host: `'dark'`, `'light'`, `'auto'`, a terminal
|
|
2156
|
-
* theme name or a {@link CliPanelTheme} (its `terminal`).
|
|
2157
|
-
*
|
|
2158
|
-
*
|
|
2156
|
+
* theme name or a {@link CliPanelTheme} (its `terminal`). It is the default:
|
|
2157
|
+
* a theme the user applies with the `theme` command wins over it until
|
|
2158
|
+
* `theme reset`. In a panel, this is the panel's `theme`.
|
|
2159
2159
|
*/
|
|
2160
2160
|
theme?: CliPanelThemeInput;
|
|
2161
2161
|
/**
|
|
@@ -2407,8 +2407,9 @@ interface CliPanelConfig {
|
|
|
2407
2407
|
* - a {@link CliPanelTheme}: a base palette with your own colors, font and corners
|
|
2408
2408
|
*
|
|
2409
2409
|
* Changing it while the panel is open restyles the panel and its terminals, so a
|
|
2410
|
-
* host can pass its own light/dark setting through.
|
|
2411
|
-
*
|
|
2410
|
+
* host can pass its own light/dark setting through. It is the default: a theme
|
|
2411
|
+
* the user applies with the `theme` command wins over it (and restyles the
|
|
2412
|
+
* panel) until `theme reset`.
|
|
2412
2413
|
* @default 'dark'
|
|
2413
2414
|
*/
|
|
2414
2415
|
theme?: CliPanelThemeInput;
|
|
@@ -4259,7 +4260,7 @@ interface CliThemeInfo {
|
|
|
4259
4260
|
|
|
4260
4261
|
declare const DefaultThemeInfos: Record<string, CliThemeInfo>;
|
|
4261
4262
|
|
|
4262
|
-
declare const LIBRARY_VERSION = "2.
|
|
4263
|
+
declare const LIBRARY_VERSION = "2.4.0";
|
|
4263
4264
|
declare const API_VERSION = 2;
|
|
4264
4265
|
|
|
4265
4266
|
/**
|
package/public-api.d.ts
CHANGED
|
@@ -2153,9 +2153,9 @@ type CliOptions = Record<string, any> & {
|
|
|
2153
2153
|
branding?: CliBranding;
|
|
2154
2154
|
/**
|
|
2155
2155
|
* Terminal colors set by the host: `'dark'`, `'light'`, `'auto'`, a terminal
|
|
2156
|
-
* theme name or a {@link CliPanelTheme} (its `terminal`).
|
|
2157
|
-
*
|
|
2158
|
-
*
|
|
2156
|
+
* theme name or a {@link CliPanelTheme} (its `terminal`). It is the default:
|
|
2157
|
+
* a theme the user applies with the `theme` command wins over it until
|
|
2158
|
+
* `theme reset`. In a panel, this is the panel's `theme`.
|
|
2159
2159
|
*/
|
|
2160
2160
|
theme?: CliPanelThemeInput;
|
|
2161
2161
|
/**
|
|
@@ -2407,8 +2407,9 @@ interface CliPanelConfig {
|
|
|
2407
2407
|
* - a {@link CliPanelTheme}: a base palette with your own colors, font and corners
|
|
2408
2408
|
*
|
|
2409
2409
|
* Changing it while the panel is open restyles the panel and its terminals, so a
|
|
2410
|
-
* host can pass its own light/dark setting through.
|
|
2411
|
-
*
|
|
2410
|
+
* host can pass its own light/dark setting through. It is the default: a theme
|
|
2411
|
+
* the user applies with the `theme` command wins over it (and restyles the
|
|
2412
|
+
* panel) until `theme reset`.
|
|
2412
2413
|
* @default 'dark'
|
|
2413
2414
|
*/
|
|
2414
2415
|
theme?: CliPanelThemeInput;
|
|
@@ -4259,7 +4260,7 @@ interface CliThemeInfo {
|
|
|
4259
4260
|
|
|
4260
4261
|
declare const DefaultThemeInfos: Record<string, CliThemeInfo>;
|
|
4261
4262
|
|
|
4262
|
-
declare const LIBRARY_VERSION = "2.
|
|
4263
|
+
declare const LIBRARY_VERSION = "2.4.0";
|
|
4263
4264
|
declare const API_VERSION = 2;
|
|
4264
4265
|
|
|
4265
4266
|
/**
|
package/public-api.js
CHANGED
|
@@ -2599,7 +2599,7 @@ function satisfiesVersionRange(installed, range) {
|
|
|
2599
2599
|
}
|
|
2600
2600
|
|
|
2601
2601
|
// src/lib/version.ts
|
|
2602
|
-
var LIBRARY_VERSION = "2.
|
|
2602
|
+
var LIBRARY_VERSION = "2.4.0";
|
|
2603
2603
|
var API_VERSION = 2;
|
|
2604
2604
|
|
|
2605
2605
|
// src/lib/utils/server-version-negotiator.ts
|
|
@@ -2749,28 +2749,30 @@ var DefaultThemes = {
|
|
|
2749
2749
|
brightCyan: "#a5f3fc",
|
|
2750
2750
|
brightWhite: "#f1f5f9"
|
|
2751
2751
|
},
|
|
2752
|
+
// Soft grey paper and slate text; every color reads at 4.5:1 or more on the background
|
|
2752
2753
|
light: {
|
|
2753
|
-
background: "#
|
|
2754
|
-
foreground: "#
|
|
2754
|
+
background: "#f7f8fa",
|
|
2755
|
+
foreground: "#334155",
|
|
2755
2756
|
cursor: "#4f46e5",
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2757
|
+
cursorAccent: "#f7f8fa",
|
|
2758
|
+
selectionBackground: "#d9def7",
|
|
2759
|
+
selectionForeground: "#1e293b",
|
|
2760
|
+
black: "#334155",
|
|
2761
|
+
red: "#c93c37",
|
|
2762
|
+
green: "#2c7a4b",
|
|
2763
|
+
yellow: "#946200",
|
|
2764
|
+
blue: "#3d5bd9",
|
|
2765
|
+
magenta: "#8b3fc7",
|
|
2766
|
+
cyan: "#0e7586",
|
|
2767
|
+
white: "#5b6577",
|
|
2768
|
+
brightBlack: "#667085",
|
|
2769
|
+
brightRed: "#b42a25",
|
|
2770
|
+
brightGreen: "#1f6a3d",
|
|
2771
|
+
brightYellow: "#7a5100",
|
|
2772
|
+
brightBlue: "#2f47bd",
|
|
2773
|
+
brightMagenta: "#7431ad",
|
|
2774
|
+
brightCyan: "#0a6170",
|
|
2775
|
+
brightWhite: "#1e293b"
|
|
2774
2776
|
},
|
|
2775
2777
|
classic: {
|
|
2776
2778
|
background: "#0c0c0c",
|
|
@@ -3429,17 +3431,18 @@ var CliPanelPalettes = Object.freeze({
|
|
|
3429
3431
|
danger: "#f87171",
|
|
3430
3432
|
shadow: "rgba(0, 0, 0, 0.45)"
|
|
3431
3433
|
}),
|
|
3434
|
+
// Soft grey paper instead of pure white, slate text rather than black: easier on the eyes
|
|
3432
3435
|
light: Object.freeze({
|
|
3433
|
-
background: "#
|
|
3434
|
-
headerBackground: "#
|
|
3435
|
-
border: "#
|
|
3436
|
-
text: "#
|
|
3437
|
-
textSecondary: "#
|
|
3436
|
+
background: "#f7f8fa",
|
|
3437
|
+
headerBackground: "#eceff3",
|
|
3438
|
+
border: "#d9dee6",
|
|
3439
|
+
text: "#1e293b",
|
|
3440
|
+
textSecondary: "#5b6577",
|
|
3438
3441
|
accent: "#4f46e5",
|
|
3439
|
-
hoverBackground: "rgba(
|
|
3440
|
-
activeBackground: "rgba(79, 70, 229, 0.
|
|
3441
|
-
danger: "#
|
|
3442
|
-
shadow: "rgba(15, 23, 42, 0.
|
|
3442
|
+
hoverBackground: "rgba(30, 41, 59, 0.06)",
|
|
3443
|
+
activeBackground: "rgba(79, 70, 229, 0.12)",
|
|
3444
|
+
danger: "#c93c37",
|
|
3445
|
+
shadow: "rgba(15, 23, 42, 0.12)"
|
|
3443
3446
|
})
|
|
3444
3447
|
});
|
|
3445
3448
|
var PALETTE_TERMINALS = {
|