citadel_cli 1.0.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.
Files changed (61) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +337 -0
  3. package/dist/.vite/manifest.json +12 -0
  4. package/dist/citadel.css +1 -0
  5. package/dist/citadel.es.js +3039 -0
  6. package/dist/citadel.umd.js +1015 -0
  7. package/dist/command_examples/basic-commands.d.ts +83 -0
  8. package/dist/dist/styles.css +789 -0
  9. package/dist/index.d.ts +2 -0
  10. package/dist/src/App.d.ts +4 -0
  11. package/dist/src/__test-utils__/factories.d.ts +21 -0
  12. package/dist/src/components/Citadel/Citadel.d.ts +11 -0
  13. package/dist/src/components/Citadel/Cursor.d.ts +9 -0
  14. package/dist/src/components/Citadel/__tests__/Citadel.test.d.ts +1 -0
  15. package/dist/src/components/Citadel/commands/history-commands.d.ts +2 -0
  16. package/dist/src/components/Citadel/components/AvailableCommands.d.ts +9 -0
  17. package/dist/src/components/Citadel/components/CommandInput.d.ts +10 -0
  18. package/dist/src/components/Citadel/components/CommandOutput.d.ts +8 -0
  19. package/dist/src/components/Citadel/components/CommandOutputLine.d.ts +9 -0
  20. package/dist/src/components/Citadel/components/Spinner.d.ts +2 -0
  21. package/dist/src/components/Citadel/components/__tests__/AvailableCommands.test.d.ts +1 -0
  22. package/dist/src/components/Citadel/components/__tests__/CommandInput.test.d.ts +1 -0
  23. package/dist/src/components/Citadel/components/__tests__/CommandOutput.test.d.ts +1 -0
  24. package/dist/src/components/Citadel/components/__tests__/CommandOutputLine.test.d.ts +1 -0
  25. package/dist/src/components/Citadel/components/__tests__/Spinner.test.d.ts +1 -0
  26. package/dist/src/components/Citadel/config/CitadelConfigContext.d.ts +11 -0
  27. package/dist/src/components/Citadel/config/__tests__/CitadelConfigContext.test.d.ts +1 -0
  28. package/dist/src/components/Citadel/config/defaults.d.ts +26 -0
  29. package/dist/src/components/Citadel/config/types.d.ts +56 -0
  30. package/dist/src/components/Citadel/hooks/__tests__/useCitadelState.test.d.ts +1 -0
  31. package/dist/src/components/Citadel/hooks/__tests__/useCommandHistory.test.d.ts +1 -0
  32. package/dist/src/components/Citadel/hooks/__tests__/useCommandParser.test.d.ts +1 -0
  33. package/dist/src/components/Citadel/hooks/__tests__/useCommandTrie.test.d.ts +1 -0
  34. package/dist/src/components/Citadel/hooks/useCitadelState.d.ts +6 -0
  35. package/dist/src/components/Citadel/hooks/useCommandHistory.d.ts +17 -0
  36. package/dist/src/components/Citadel/hooks/useCommandParser.d.ts +19 -0
  37. package/dist/src/components/Citadel/hooks/useCommandTrie.d.ts +2 -0
  38. package/dist/src/components/Citadel/hooks/useGlobalShortcut.d.ts +8 -0
  39. package/dist/src/components/Citadel/hooks/useSlideAnimation.d.ts +14 -0
  40. package/dist/src/components/Citadel/index.d.ts +2 -0
  41. package/dist/src/components/Citadel/services/HistoryService.d.ts +15 -0
  42. package/dist/src/components/Citadel/storage/BaseStorage.d.ts +25 -0
  43. package/dist/src/components/Citadel/storage/LocalStorage.d.ts +12 -0
  44. package/dist/src/components/Citadel/storage/MemoryStorage.d.ts +12 -0
  45. package/dist/src/components/Citadel/storage/StorageFactory.d.ts +9 -0
  46. package/dist/src/components/Citadel/storage/__tests__/LocalStorage.test.d.ts +1 -0
  47. package/dist/src/components/Citadel/storage/__tests__/MemoryStorage.test.d.ts +1 -0
  48. package/dist/src/components/Citadel/types/__tests__/command-trie.test.d.ts +1 -0
  49. package/dist/src/components/Citadel/types/command-context.d.ts +4 -0
  50. package/dist/src/components/Citadel/types/command-results.d.ts +41 -0
  51. package/dist/src/components/Citadel/types/command-trie.d.ts +238 -0
  52. package/dist/src/components/Citadel/types/cursor.d.ts +26 -0
  53. package/dist/src/components/Citadel/types/help-command.d.ts +3 -0
  54. package/dist/src/components/Citadel/types/index.d.ts +3 -0
  55. package/dist/src/components/Citadel/types/state.d.ts +40 -0
  56. package/dist/src/components/Citadel/types/storage.d.ts +44 -0
  57. package/dist/src/components/Citadel/utils/keySimulation.d.ts +2 -0
  58. package/dist/src/index.d.ts +4 -0
  59. package/dist/src/main.d.ts +1 -0
  60. package/dist/src/test/setup.d.ts +1 -0
  61. package/package.json +73 -0
@@ -0,0 +1,789 @@
1
+ .citadel-root *,.citadel-root ::before,.citadel-root ::after {
2
+ --tw-border-spacing-x: 0;
3
+ --tw-border-spacing-y: 0;
4
+ --tw-translate-x: 0;
5
+ --tw-translate-y: 0;
6
+ --tw-rotate: 0;
7
+ --tw-skew-x: 0;
8
+ --tw-skew-y: 0;
9
+ --tw-scale-x: 1;
10
+ --tw-scale-y: 1;
11
+ --tw-pan-x: ;
12
+ --tw-pan-y: ;
13
+ --tw-pinch-zoom: ;
14
+ --tw-scroll-snap-strictness: proximity;
15
+ --tw-gradient-from-position: ;
16
+ --tw-gradient-via-position: ;
17
+ --tw-gradient-to-position: ;
18
+ --tw-ordinal: ;
19
+ --tw-slashed-zero: ;
20
+ --tw-numeric-figure: ;
21
+ --tw-numeric-spacing: ;
22
+ --tw-numeric-fraction: ;
23
+ --tw-ring-inset: ;
24
+ --tw-ring-offset-width: 0px;
25
+ --tw-ring-offset-color: #fff;
26
+ --tw-ring-color: rgb(59 130 246 / 0.5);
27
+ --tw-ring-offset-shadow: 0 0 #0000;
28
+ --tw-ring-shadow: 0 0 #0000;
29
+ --tw-shadow: 0 0 #0000;
30
+ --tw-shadow-colored: 0 0 #0000;
31
+ --tw-blur: ;
32
+ --tw-brightness: ;
33
+ --tw-contrast: ;
34
+ --tw-grayscale: ;
35
+ --tw-hue-rotate: ;
36
+ --tw-invert: ;
37
+ --tw-saturate: ;
38
+ --tw-sepia: ;
39
+ --tw-drop-shadow: ;
40
+ --tw-backdrop-blur: ;
41
+ --tw-backdrop-brightness: ;
42
+ --tw-backdrop-contrast: ;
43
+ --tw-backdrop-grayscale: ;
44
+ --tw-backdrop-hue-rotate: ;
45
+ --tw-backdrop-invert: ;
46
+ --tw-backdrop-opacity: ;
47
+ --tw-backdrop-saturate: ;
48
+ --tw-backdrop-sepia: ;
49
+ --tw-contain-size: ;
50
+ --tw-contain-layout: ;
51
+ --tw-contain-paint: ;
52
+ --tw-contain-style: ;
53
+ }
54
+
55
+ .citadel-root ::backdrop {
56
+ --tw-border-spacing-x: 0;
57
+ --tw-border-spacing-y: 0;
58
+ --tw-translate-x: 0;
59
+ --tw-translate-y: 0;
60
+ --tw-rotate: 0;
61
+ --tw-skew-x: 0;
62
+ --tw-skew-y: 0;
63
+ --tw-scale-x: 1;
64
+ --tw-scale-y: 1;
65
+ --tw-pan-x: ;
66
+ --tw-pan-y: ;
67
+ --tw-pinch-zoom: ;
68
+ --tw-scroll-snap-strictness: proximity;
69
+ --tw-gradient-from-position: ;
70
+ --tw-gradient-via-position: ;
71
+ --tw-gradient-to-position: ;
72
+ --tw-ordinal: ;
73
+ --tw-slashed-zero: ;
74
+ --tw-numeric-figure: ;
75
+ --tw-numeric-spacing: ;
76
+ --tw-numeric-fraction: ;
77
+ --tw-ring-inset: ;
78
+ --tw-ring-offset-width: 0px;
79
+ --tw-ring-offset-color: #fff;
80
+ --tw-ring-color: rgb(59 130 246 / 0.5);
81
+ --tw-ring-offset-shadow: 0 0 #0000;
82
+ --tw-ring-shadow: 0 0 #0000;
83
+ --tw-shadow: 0 0 #0000;
84
+ --tw-shadow-colored: 0 0 #0000;
85
+ --tw-blur: ;
86
+ --tw-brightness: ;
87
+ --tw-contrast: ;
88
+ --tw-grayscale: ;
89
+ --tw-hue-rotate: ;
90
+ --tw-invert: ;
91
+ --tw-saturate: ;
92
+ --tw-sepia: ;
93
+ --tw-drop-shadow: ;
94
+ --tw-backdrop-blur: ;
95
+ --tw-backdrop-brightness: ;
96
+ --tw-backdrop-contrast: ;
97
+ --tw-backdrop-grayscale: ;
98
+ --tw-backdrop-hue-rotate: ;
99
+ --tw-backdrop-invert: ;
100
+ --tw-backdrop-opacity: ;
101
+ --tw-backdrop-saturate: ;
102
+ --tw-backdrop-sepia: ;
103
+ --tw-contain-size: ;
104
+ --tw-contain-layout: ;
105
+ --tw-contain-paint: ;
106
+ --tw-contain-style: ;
107
+ }/*
108
+ ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
109
+ *//*
110
+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
111
+ 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
112
+ */
113
+
114
+ .citadel-root *,.citadel-root ::before,.citadel-root ::after {
115
+ box-sizing: border-box; /* 1 */
116
+ border-width: 0; /* 2 */
117
+ border-style: solid; /* 2 */
118
+ border-color: #e5e7eb; /* 2 */
119
+ }
120
+
121
+ .citadel-root ::before,.citadel-root ::after {
122
+ --tw-content: '';
123
+ }
124
+
125
+ /*
126
+ 1. Use a consistent sensible line-height in all browsers.
127
+ 2. Prevent adjustments of font size after orientation changes in iOS.
128
+ 3. Use a more readable tab size.
129
+ 4. Use the user's configured `sans` font-family by default.
130
+ 5. Use the user's configured `sans` font-feature-settings by default.
131
+ 6. Use the user's configured `sans` font-variation-settings by default.
132
+ 7. Disable tap highlights on iOS
133
+ */
134
+
135
+ html,.citadel-root :host {
136
+ line-height: 1.5; /* 1 */
137
+ -webkit-text-size-adjust: 100%; /* 2 */
138
+ -moz-tab-size: 4; /* 3 */
139
+ -o-tab-size: 4;
140
+ tab-size: 4; /* 3 */
141
+ font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
142
+ font-feature-settings: normal; /* 5 */
143
+ font-variation-settings: normal; /* 6 */
144
+ -webkit-tap-highlight-color: transparent; /* 7 */
145
+ }
146
+
147
+ /*
148
+ 1. Remove the margin in all browsers.
149
+ 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
150
+ */
151
+
152
+ body {
153
+ margin: 0; /* 1 */
154
+ line-height: inherit; /* 2 */
155
+ }
156
+
157
+ /*
158
+ 1. Add the correct height in Firefox.
159
+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
160
+ 3. Ensure horizontal rules are visible by default.
161
+ */
162
+
163
+ .citadel-root hr {
164
+ height: 0; /* 1 */
165
+ color: inherit; /* 2 */
166
+ border-top-width: 1px; /* 3 */
167
+ }
168
+
169
+ /*
170
+ Add the correct text decoration in Chrome, Edge, and Safari.
171
+ */
172
+
173
+ .citadel-root abbr:where([title]) {
174
+ -webkit-text-decoration: underline dotted;
175
+ text-decoration: underline dotted;
176
+ }
177
+
178
+ /*
179
+ Remove the default font size and weight for headings.
180
+ */
181
+
182
+ .citadel-root h1,.citadel-root h2,.citadel-root h3,.citadel-root h4,.citadel-root h5,.citadel-root h6 {
183
+ font-size: inherit;
184
+ font-weight: inherit;
185
+ }
186
+
187
+ /*
188
+ Reset links to optimize for opt-in styling instead of opt-out.
189
+ */
190
+
191
+ .citadel-root a {
192
+ color: inherit;
193
+ text-decoration: inherit;
194
+ }
195
+
196
+ /*
197
+ Add the correct font weight in Edge and Safari.
198
+ */
199
+
200
+ .citadel-root b,.citadel-root strong {
201
+ font-weight: bolder;
202
+ }
203
+
204
+ /*
205
+ 1. Use the user's configured `mono` font-family by default.
206
+ 2. Use the user's configured `mono` font-feature-settings by default.
207
+ 3. Use the user's configured `mono` font-variation-settings by default.
208
+ 4. Correct the odd `em` font sizing in all browsers.
209
+ */
210
+
211
+ .citadel-root code,.citadel-root kbd,.citadel-root samp,.citadel-root pre {
212
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
213
+ font-feature-settings: normal; /* 2 */
214
+ font-variation-settings: normal; /* 3 */
215
+ font-size: 1em; /* 4 */
216
+ }
217
+
218
+ /*
219
+ Add the correct font size in all browsers.
220
+ */
221
+
222
+ .citadel-root small {
223
+ font-size: 80%;
224
+ }
225
+
226
+ /*
227
+ Prevent `sub` and `sup` elements from affecting the line height in all browsers.
228
+ */
229
+
230
+ .citadel-root sub,.citadel-root sup {
231
+ font-size: 75%;
232
+ line-height: 0;
233
+ position: relative;
234
+ vertical-align: baseline;
235
+ }
236
+
237
+ .citadel-root sub {
238
+ bottom: -0.25em;
239
+ }
240
+
241
+ .citadel-root sup {
242
+ top: -0.5em;
243
+ }
244
+
245
+ /*
246
+ 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
247
+ 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
248
+ 3. Remove gaps between table borders by default.
249
+ */
250
+
251
+ .citadel-root table {
252
+ text-indent: 0; /* 1 */
253
+ border-color: inherit; /* 2 */
254
+ border-collapse: collapse; /* 3 */
255
+ }
256
+
257
+ /*
258
+ 1. Change the font styles in all browsers.
259
+ 2. Remove the margin in Firefox and Safari.
260
+ 3. Remove default padding in all browsers.
261
+ */
262
+
263
+ .citadel-root button,.citadel-root input,.citadel-root optgroup,.citadel-root select,.citadel-root textarea {
264
+ font-family: inherit; /* 1 */
265
+ font-feature-settings: inherit; /* 1 */
266
+ font-variation-settings: inherit; /* 1 */
267
+ font-size: 100%; /* 1 */
268
+ font-weight: inherit; /* 1 */
269
+ line-height: inherit; /* 1 */
270
+ letter-spacing: inherit; /* 1 */
271
+ color: inherit; /* 1 */
272
+ margin: 0; /* 2 */
273
+ padding: 0; /* 3 */
274
+ }
275
+
276
+ /*
277
+ Remove the inheritance of text transform in Edge and Firefox.
278
+ */
279
+
280
+ .citadel-root button,.citadel-root select {
281
+ text-transform: none;
282
+ }
283
+
284
+ /*
285
+ 1. Correct the inability to style clickable types in iOS and Safari.
286
+ 2. Remove default button styles.
287
+ */
288
+
289
+ .citadel-root button,.citadel-root input:where([type='button']),.citadel-root input:where([type='reset']),.citadel-root input:where([type='submit']) {
290
+ -webkit-appearance: button; /* 1 */
291
+ background-color: transparent; /* 2 */
292
+ background-image: none; /* 2 */
293
+ }
294
+
295
+ /*
296
+ Use the modern Firefox focus style for all focusable elements.
297
+ */
298
+
299
+ .citadel-root :-moz-focusring {
300
+ outline: auto;
301
+ }
302
+
303
+ /*
304
+ Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
305
+ */
306
+
307
+ .citadel-root :-moz-ui-invalid {
308
+ box-shadow: none;
309
+ }
310
+
311
+ /*
312
+ Add the correct vertical alignment in Chrome and Firefox.
313
+ */
314
+
315
+ .citadel-root progress {
316
+ vertical-align: baseline;
317
+ }
318
+
319
+ /*
320
+ Correct the cursor style of increment and decrement buttons in Safari.
321
+ */
322
+
323
+ .citadel-root ::-webkit-inner-spin-button,.citadel-root ::-webkit-outer-spin-button {
324
+ height: auto;
325
+ }
326
+
327
+ /*
328
+ 1. Correct the odd appearance in Chrome and Safari.
329
+ 2. Correct the outline style in Safari.
330
+ */
331
+
332
+ .citadel-root [type='search'] {
333
+ -webkit-appearance: textfield; /* 1 */
334
+ outline-offset: -2px; /* 2 */
335
+ }
336
+
337
+ /*
338
+ Remove the inner padding in Chrome and Safari on macOS.
339
+ */
340
+
341
+ .citadel-root ::-webkit-search-decoration {
342
+ -webkit-appearance: none;
343
+ }
344
+
345
+ /*
346
+ 1. Correct the inability to style clickable types in iOS and Safari.
347
+ 2. Change font properties to `inherit` in Safari.
348
+ */
349
+
350
+ .citadel-root ::-webkit-file-upload-button {
351
+ -webkit-appearance: button; /* 1 */
352
+ font: inherit; /* 2 */
353
+ }
354
+
355
+ /*
356
+ Add the correct display in Chrome and Safari.
357
+ */
358
+
359
+ .citadel-root summary {
360
+ display: list-item;
361
+ }
362
+
363
+ /*
364
+ Removes the default spacing and border for appropriate elements.
365
+ */
366
+
367
+ .citadel-root blockquote,.citadel-root dl,.citadel-root dd,.citadel-root h1,.citadel-root h2,.citadel-root h3,.citadel-root h4,.citadel-root h5,.citadel-root h6,.citadel-root hr,.citadel-root figure,.citadel-root p,.citadel-root pre {
368
+ margin: 0;
369
+ }
370
+
371
+ .citadel-root fieldset {
372
+ margin: 0;
373
+ padding: 0;
374
+ }
375
+
376
+ .citadel-root legend {
377
+ padding: 0;
378
+ }
379
+
380
+ .citadel-root ol,.citadel-root ul,.citadel-root menu {
381
+ list-style: none;
382
+ margin: 0;
383
+ padding: 0;
384
+ }
385
+
386
+ /*
387
+ Reset default styling for dialogs.
388
+ */
389
+ .citadel-root dialog {
390
+ padding: 0;
391
+ }
392
+
393
+ /*
394
+ Prevent resizing textareas horizontally by default.
395
+ */
396
+
397
+ .citadel-root textarea {
398
+ resize: vertical;
399
+ }
400
+
401
+ /*
402
+ 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
403
+ 2. Set the default placeholder color to the user's configured gray 400 color.
404
+ */
405
+
406
+ .citadel-root input::-moz-placeholder, .citadel-root textarea::-moz-placeholder {
407
+ opacity: 1; /* 1 */
408
+ color: #9ca3af; /* 2 */
409
+ }
410
+
411
+ .citadel-root input::placeholder,.citadel-root textarea::placeholder {
412
+ opacity: 1; /* 1 */
413
+ color: #9ca3af; /* 2 */
414
+ }
415
+
416
+ /*
417
+ Set the default cursor for buttons.
418
+ */
419
+
420
+ .citadel-root button,.citadel-root [role="button"] {
421
+ cursor: pointer;
422
+ }
423
+
424
+ /*
425
+ Make sure disabled buttons don't get the pointer cursor.
426
+ */
427
+ .citadel-root :disabled {
428
+ cursor: default;
429
+ }
430
+
431
+ /*
432
+ 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
433
+ 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
434
+ This can trigger a poorly considered lint error in some tools but is included by design.
435
+ */
436
+
437
+ .citadel-root img,.citadel-root svg,.citadel-root video,.citadel-root canvas,.citadel-root audio,.citadel-root iframe,.citadel-root embed,.citadel-root object {
438
+ display: block; /* 1 */
439
+ vertical-align: middle; /* 2 */
440
+ }
441
+
442
+ /*
443
+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
444
+ */
445
+
446
+ .citadel-root img,.citadel-root video {
447
+ max-width: 100%;
448
+ height: auto;
449
+ }
450
+
451
+ /* Make elements with the HTML hidden attribute stay hidden by default */
452
+ .citadel-root [hidden]:where(:not([hidden="until-found"])) {
453
+ display: none;
454
+ }
455
+ .citadel-root .container {
456
+ width: 100%;
457
+ }
458
+ @media (min-width: 640px) {
459
+
460
+ .citadel-root .container {
461
+ max-width: 640px;
462
+ }
463
+ }
464
+ @media (min-width: 768px) {
465
+
466
+ .citadel-root .container {
467
+ max-width: 768px;
468
+ }
469
+ }
470
+ @media (min-width: 1024px) {
471
+
472
+ .citadel-root .container {
473
+ max-width: 1024px;
474
+ }
475
+ }
476
+ @media (min-width: 1280px) {
477
+
478
+ .citadel-root .container {
479
+ max-width: 1280px;
480
+ }
481
+ }
482
+ @media (min-width: 1536px) {
483
+
484
+ .citadel-root .container {
485
+ max-width: 1536px;
486
+ }
487
+ }
488
+ .citadel-root .pointer-events-none {
489
+ pointer-events: none;
490
+ }
491
+ .citadel-root .visible {
492
+ visibility: visible;
493
+ }
494
+ .citadel-root .static {
495
+ position: static;
496
+ }
497
+ .citadel-root .absolute {
498
+ position: absolute;
499
+ }
500
+ .citadel-root .relative {
501
+ position: relative;
502
+ }
503
+ .citadel-root .top-0 {
504
+ top: 0px;
505
+ }
506
+ .citadel-root .my-2 {
507
+ margin-top: 0.5rem;
508
+ margin-bottom: 0.5rem;
509
+ }
510
+ .citadel-root .mb-4 {
511
+ margin-bottom: 1rem;
512
+ }
513
+ .citadel-root .ml-2 {
514
+ margin-left: 0.5rem;
515
+ }
516
+ .citadel-root .mr-2 {
517
+ margin-right: 0.5rem;
518
+ }
519
+ .citadel-root .mt-1 {
520
+ margin-top: 0.25rem;
521
+ }
522
+ .citadel-root .mt-2 {
523
+ margin-top: 0.5rem;
524
+ }
525
+ .citadel-root .inline-block {
526
+ display: inline-block;
527
+ }
528
+ .citadel-root .flex {
529
+ display: flex;
530
+ }
531
+ .citadel-root .hidden {
532
+ display: none;
533
+ }
534
+ .citadel-root .h-12 {
535
+ height: 3rem;
536
+ }
537
+ .citadel-root .h-4 {
538
+ height: 1rem;
539
+ }
540
+ .citadel-root .h-auto {
541
+ height: auto;
542
+ }
543
+ .citadel-root .h-full {
544
+ height: 100%;
545
+ }
546
+ .citadel-root .max-h-\[300px\] {
547
+ max-height: 300px;
548
+ }
549
+ .citadel-root .min-h-0 {
550
+ min-height: 0px;
551
+ }
552
+ .citadel-root .min-h-screen {
553
+ min-height: 100vh;
554
+ }
555
+ .citadel-root .w-4 {
556
+ width: 1rem;
557
+ }
558
+ .citadel-root .w-full {
559
+ width: 100%;
560
+ }
561
+ .citadel-root .max-w-\[400px\] {
562
+ max-width: 400px;
563
+ }
564
+ .citadel-root .flex-1 {
565
+ flex: 1 1 0%;
566
+ }
567
+ .citadel-root .flex-shrink-0 {
568
+ flex-shrink: 0;
569
+ }
570
+ .citadel-root .transform {
571
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
572
+ }
573
+ @keyframes spin {
574
+
575
+ to {
576
+ transform: rotate(360deg);
577
+ }
578
+ }
579
+ .citadel-root .animate-spin {
580
+ animation: spin 1s linear infinite;
581
+ }
582
+ .citadel-root .flex-col {
583
+ flex-direction: column;
584
+ }
585
+ .citadel-root .flex-wrap {
586
+ flex-wrap: wrap;
587
+ }
588
+ .citadel-root .items-center {
589
+ align-items: center;
590
+ }
591
+ .citadel-root .justify-center {
592
+ justify-content: center;
593
+ }
594
+ .citadel-root .gap-2 {
595
+ gap: 0.5rem;
596
+ }
597
+ .citadel-root .overflow-y-auto {
598
+ overflow-y: auto;
599
+ }
600
+ .citadel-root .whitespace-pre {
601
+ white-space: pre;
602
+ }
603
+ .citadel-root .rounded {
604
+ border-radius: 0.25rem;
605
+ }
606
+ .citadel-root .rounded-full {
607
+ border-radius: 9999px;
608
+ }
609
+ .citadel-root .rounded-lg {
610
+ border-radius: 0.5rem;
611
+ }
612
+ .citadel-root .border {
613
+ border-width: 1px;
614
+ }
615
+ .citadel-root .border-2 {
616
+ border-width: 2px;
617
+ }
618
+ .citadel-root .border-t {
619
+ border-top-width: 1px;
620
+ }
621
+ .citadel-root .border-gray-300 {
622
+ --tw-border-opacity: 1;
623
+ border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
624
+ }
625
+ .citadel-root .border-gray-700 {
626
+ --tw-border-opacity: 1;
627
+ border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
628
+ }
629
+ .citadel-root .border-t-gray-600 {
630
+ --tw-border-opacity: 1;
631
+ border-top-color: rgb(75 85 99 / var(--tw-border-opacity, 1));
632
+ }
633
+ .citadel-root .bg-gray-100 {
634
+ --tw-bg-opacity: 1;
635
+ background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
636
+ }
637
+ .citadel-root .bg-gray-800 {
638
+ --tw-bg-opacity: 1;
639
+ background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
640
+ }
641
+ .citadel-root .bg-gray-900 {
642
+ --tw-bg-opacity: 1;
643
+ background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
644
+ }
645
+ .citadel-root .bg-green-500 {
646
+ --tw-bg-opacity: 1;
647
+ background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
648
+ }
649
+ .citadel-root .bg-red-500 {
650
+ --tw-bg-opacity: 1;
651
+ background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
652
+ }
653
+ .citadel-root .bg-transparent {
654
+ background-color: transparent;
655
+ }
656
+ .citadel-root .bg-white {
657
+ --tw-bg-opacity: 1;
658
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
659
+ }
660
+ .citadel-root .object-contain {
661
+ -o-object-fit: contain;
662
+ object-fit: contain;
663
+ }
664
+ .citadel-root .p-3 {
665
+ padding: 0.75rem;
666
+ }
667
+ .citadel-root .p-4 {
668
+ padding: 1rem;
669
+ }
670
+ .citadel-root .p-6 {
671
+ padding: 1.5rem;
672
+ }
673
+ .citadel-root .px-2 {
674
+ padding-left: 0.5rem;
675
+ padding-right: 0.5rem;
676
+ }
677
+ .citadel-root .px-4 {
678
+ padding-left: 1rem;
679
+ padding-right: 1rem;
680
+ }
681
+ .citadel-root .py-1 {
682
+ padding-top: 0.25rem;
683
+ padding-bottom: 0.25rem;
684
+ }
685
+ .citadel-root .pt-2 {
686
+ padding-top: 0.5rem;
687
+ }
688
+ .citadel-root .pt-3 {
689
+ padding-top: 0.75rem;
690
+ }
691
+ .citadel-root .text-left {
692
+ text-align: left;
693
+ }
694
+ .citadel-root .font-mono {
695
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
696
+ }
697
+ .citadel-root .text-base {
698
+ font-size: 1rem;
699
+ line-height: 1.5rem;
700
+ }
701
+ .citadel-root .text-lg {
702
+ font-size: 1.125rem;
703
+ line-height: 1.75rem;
704
+ }
705
+ .citadel-root .text-sm {
706
+ font-size: 0.875rem;
707
+ line-height: 1.25rem;
708
+ }
709
+ .citadel-root .text-xs {
710
+ font-size: 0.75rem;
711
+ line-height: 1rem;
712
+ }
713
+ .citadel-root .text-blue-400 {
714
+ --tw-text-opacity: 1;
715
+ color: rgb(96 165 250 / var(--tw-text-opacity, 1));
716
+ }
717
+ .citadel-root .text-gray-200 {
718
+ --tw-text-opacity: 1;
719
+ color: rgb(229 231 235 / var(--tw-text-opacity, 1));
720
+ }
721
+ .citadel-root .text-gray-300 {
722
+ --tw-text-opacity: 1;
723
+ color: rgb(209 213 219 / var(--tw-text-opacity, 1));
724
+ }
725
+ .citadel-root .text-gray-400 {
726
+ --tw-text-opacity: 1;
727
+ color: rgb(156 163 175 / var(--tw-text-opacity, 1));
728
+ }
729
+ .citadel-root .text-gray-500 {
730
+ --tw-text-opacity: 1;
731
+ color: rgb(107 114 128 / var(--tw-text-opacity, 1));
732
+ }
733
+ .citadel-root .text-gray-700 {
734
+ --tw-text-opacity: 1;
735
+ color: rgb(55 65 81 / var(--tw-text-opacity, 1));
736
+ }
737
+ .citadel-root .text-green-500 {
738
+ --tw-text-opacity: 1;
739
+ color: rgb(34 197 94 / var(--tw-text-opacity, 1));
740
+ }
741
+ .citadel-root .text-red-400 {
742
+ --tw-text-opacity: 1;
743
+ color: rgb(248 113 113 / var(--tw-text-opacity, 1));
744
+ }
745
+ .citadel-root .text-red-500 {
746
+ --tw-text-opacity: 1;
747
+ color: rgb(239 68 68 / var(--tw-text-opacity, 1));
748
+ }
749
+ .citadel-root .text-white {
750
+ --tw-text-opacity: 1;
751
+ color: rgb(255 255 255 / var(--tw-text-opacity, 1));
752
+ }
753
+ .citadel-root .underline {
754
+ text-decoration-line: underline;
755
+ }
756
+ .citadel-root .caret-transparent {
757
+ caret-color: transparent;
758
+ }
759
+ .citadel-root .shadow-lg {
760
+ --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
761
+ --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
762
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
763
+ }
764
+ .citadel-root .outline-none {
765
+ outline: 2px solid transparent;
766
+ outline-offset: 2px;
767
+ }
768
+ .citadel-root .filter {
769
+ filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
770
+ }
771
+ .citadel-root .transition {
772
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
773
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
774
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
775
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
776
+ transition-duration: 150ms;
777
+ }
778
+ .citadel-root .ease-in-out {
779
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
780
+ }
781
+ .citadel-root .ease-out {
782
+ transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
783
+ }
784
+ .citadel-root .last\:mb-0:last-child {
785
+ margin-bottom: 0px;
786
+ }
787
+ .citadel-root .last\:mr-0:last-child {
788
+ margin-right: 0px;
789
+ }