citadel_cli 1.3.0 → 1.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.
@@ -18,7 +18,7 @@ import { CitadelConfig } from './types';
18
18
  *
19
19
  * @property fontSize - The default font size used by the interface. Default: '0.875rem'.
20
20
  *
21
- * @property initialHeight - The initial CSS height of the interface. Default: '40vh'.
21
+ * @property initialHeight - The initial CSS height of the interface. Default: '50vh'.
22
22
  *
23
23
  * @property logLevel - The logging level for the Citadel interface. Default: DEBUG in development, ERROR in production.
24
24
  *
@@ -26,7 +26,7 @@ import { CitadelConfig } from './types';
26
26
  *
27
27
  * @property minHeight - The minimum CSS height of the interface. Default: '200'.
28
28
  *
29
- * @property outputFontSize - The output font size as CSS value or Tailwind text size class. Default: '0.875rem'.
29
+ * @property outputFontSize - The output font size as a CSS value. Default: '0.875rem'.
30
30
  *
31
31
  * @property resetStateOnHide - When true, hiding the interface (via Escape key or other means) will clear the command input.
32
32
  * When false, the interface preserves the last input when hidden. Default: false.
@@ -34,8 +34,7 @@ export interface CitadelConfig {
34
34
  fontFamily?: string;
35
35
  /**
36
36
  * The default font size used by the interface.
37
- * Accepts either a CSS font-size value (e.g. '14px', '0.875rem')
38
- * or a Tailwind text size class (e.g. 'text-sm').
37
+ * Accepts any valid CSS `font-size` value (e.g. '14px', '0.875rem').
39
38
  */
40
39
  fontSize?: string;
41
40
  /**
@@ -62,8 +61,7 @@ export interface CitadelConfig {
62
61
  minHeight?: string;
63
62
  /**
64
63
  * The font size for command output text.
65
- * Accepts either a CSS font-size value (e.g. '14px', '0.875rem')
66
- * or a Tailwind text size class (e.g. 'text-sm').
64
+ * Accepts any valid CSS `font-size` value (e.g. '14px', '0.875rem').
67
65
  * If omitted, output uses `fontSize`.
68
66
  */
69
67
  outputFontSize?: string;
@@ -1,6 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
2
  interface TypographySettings {
3
- className?: string;
4
3
  style?: CSSProperties;
5
4
  }
6
5
  export declare const resolveTextSize: (size?: string) => TypographySettings;
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "type": "git",
18
18
  "url": "git+https://github.com/jchilders/citadel_cli.git"
19
19
  },
20
- "version": "1.3.0",
20
+ "version": "1.4.0",
21
21
  "type": "module",
22
22
  "scripts": {
23
23
  "build": "tsc && vite build",
@@ -30,6 +30,11 @@
30
30
  "test:e2e": "playwright test",
31
31
  "test:e2e:ui": "playwright test --ui",
32
32
  "coverage": "vitest run --coverage",
33
+ "metrics:build": "node scripts/metrics/collect-build-metrics.mjs",
34
+ "metrics:runtime": "node scripts/metrics/collect-runtime-metrics.mjs",
35
+ "metrics:compare": "node scripts/metrics/compare-metrics.mjs",
36
+ "metrics:all": "node scripts/metrics/run-all-metrics.mjs",
37
+ "metrics:report": "node scripts/metrics/run-all-metrics.mjs --skip-build --skip-runtime",
33
38
  "postinstall": "playwright install"
34
39
  },
35
40
  "exports": {
@@ -39,7 +44,7 @@
39
44
  "import": "./dist/citadel.es.js",
40
45
  "require": "./dist/citadel.umd.cjs"
41
46
  },
42
- "./styles.css": "./dist/styles.css",
47
+ "./styles.css": "./dist/citadel.css",
43
48
  "./citadel.css": "./dist/citadel.css"
44
49
  },
45
50
  "types": "./dist/index.d.ts",
@@ -65,15 +70,13 @@
65
70
  "@types/react-dom": "^18.2.21",
66
71
  "@vitejs/plugin-react": "^4.3.3",
67
72
  "@vitest/coverage-v8": "^2.1.6",
68
- "autoprefixer": "^10.4.20",
69
73
  "eslint": "^9.13.0",
70
74
  "eslint-plugin-react-hooks": "^5.0.0",
75
+ "eslint-plugin-react-perf": "^3.3.3",
71
76
  "eslint-plugin-react-refresh": "^0.4.14",
72
77
  "globals": "^15.11.0",
73
78
  "jsdom": "^25.0.1",
74
79
  "playwright": "^1.49.0",
75
- "postcss": "^8.4.49",
76
- "tailwindcss": "^3.4.17",
77
80
  "typescript": "^5.4.2",
78
81
  "typescript-eslint": "^8.11.0",
79
82
  "vite": "^5.1.5",
package/dist/citadel.css DELETED
@@ -1 +0,0 @@
1
- ._panelContainer_1pav9_3{position:fixed;height:var(--citadel-default-height);min-height:var(--citadel-min-height);max-height:var(--citadel-max-height);background-color:var(--citadel-bg);overflow:hidden;width:100%;box-sizing:border-box;margin:0;padding:0;bottom:0;left:0;right:0}._innerContainer_1pav9_19{height:100%;flex:1;width:100%;display:flex;flex-direction:column;margin:0;padding:0}._inputSection_1pav9_29{border-top:1px solid var(--citadel-border);padding:1rem;margin:0;box-sizing:border-box}._resizeHandle_1pav9_36{width:100%;height:6px;background:transparent;cursor:ns-resize;position:absolute;top:-3px;left:0;right:0;z-index:10;-moz-user-select:none;user-select:none;-webkit-user-select:none;pointer-events:all}._resizeHandle_1pav9_36:hover{background:#ffffff1a}@keyframes _citadel_slideUp_1pav9_65{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes _citadel_slideDown_1pav9_69{0%{transform:translateY(0)}to{transform:translateY(100%)}}._citadel_slideUp_1pav9_65{animation:_citadel_slideUp_1pav9_65 .2s ease-out forwards}._citadel_slideDown_1pav9_69{animation:_citadel_slideDown_1pav9_69 .2s ease-out forwards}._inlineContainer_1pav9_73{position:relative;width:100%;height:100%;display:flex;flex-direction:column;background-color:var(--citadel-bg);overflow:hidden;box-sizing:border-box}