@pstdio/ui 0.40.0 → 0.41.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 (83) hide show
  1. package/dist/{MermaidComponent-81jr28u4.js → MermaidComponent-BCiI63_G.js} +3 -3
  2. package/dist/{MermaidComponent-81jr28u4.js.map → MermaidComponent-BCiI63_G.js.map} +1 -1
  3. package/dist/chat-question-bubble-w2vMbFsS.js +68 -0
  4. package/dist/chat-question-bubble-w2vMbFsS.js.map +1 -0
  5. package/dist/chat-ui.d.ts +96 -21
  6. package/dist/chat-ui.js +2091 -1441
  7. package/dist/chat-ui.js.map +1 -1
  8. package/dist/{data-table-stats-row-CpRe_xK2.js → data-table-stats-row-EiTEONdY.js} +2 -2
  9. package/dist/{data-table-stats-row-CpRe_xK2.js.map → data-table-stats-row-EiTEONdY.js.map} +1 -1
  10. package/dist/data-table.d.ts +27 -7
  11. package/dist/data-table.js +1035 -872
  12. package/dist/data-table.js.map +1 -1
  13. package/dist/diff-bubble-DewUd_2w.js +61 -0
  14. package/dist/diff-bubble-DewUd_2w.js.map +1 -0
  15. package/dist/{diff-drawer-45rpk3aq.js → diff-drawer-BwZBOObe.js} +106 -85
  16. package/dist/diff-drawer-BwZBOObe.js.map +1 -0
  17. package/dist/diff-viewer-kOOd7C7h.js +574 -0
  18. package/dist/diff-viewer-kOOd7C7h.js.map +1 -0
  19. package/dist/diff.d.ts +11 -0
  20. package/dist/diff.js +107 -98
  21. package/dist/diff.js.map +1 -1
  22. package/dist/display-sort-control-DPxc0e5z.js +587 -0
  23. package/dist/display-sort-control-DPxc0e5z.js.map +1 -0
  24. package/dist/{workspace-badge-Brm3Xr3m.d.ts → host-storage-DP0RLj4i.d.ts} +15 -1
  25. package/dist/{index-Bfddrlz8.d.ts → index-C9mywhyX.d.ts} +50 -14
  26. package/dist/index-D3UJyWWh.d.ts +501 -0
  27. package/dist/{index-CbtbcvKm.d.ts → index-DlmvvQ6x.d.ts} +1 -1
  28. package/dist/index.d.ts +44 -19
  29. package/dist/index.js +941 -908
  30. package/dist/index.js.map +1 -1
  31. package/dist/kanban-renderer.d.ts +2 -326
  32. package/dist/kanban-renderer.js +991 -610
  33. package/dist/kanban-renderer.js.map +1 -1
  34. package/dist/list-row-DM0DiIrN.js +1167 -0
  35. package/dist/list-row-DM0DiIrN.js.map +1 -0
  36. package/dist/{mermaid-renderer-DImi0fDp.js → mermaid-renderer-0PmNkOXI.js} +29 -29
  37. package/dist/mermaid-renderer-0PmNkOXI.js.map +1 -0
  38. package/dist/mermaid.js +1 -1
  39. package/dist/param-editor.js +2 -3
  40. package/dist/prism-JVIsQMoJ.js +1029 -0
  41. package/dist/prism-JVIsQMoJ.js.map +1 -0
  42. package/dist/{resource-badge-95WPVlZf.d.ts → resource-badge-nOWPqxFU.d.ts} +1 -0
  43. package/dist/rich-text-DM24VNQZ.js +10447 -0
  44. package/dist/rich-text-DM24VNQZ.js.map +1 -0
  45. package/dist/rich-text.d.ts +2 -2
  46. package/dist/rich-text.js +2 -2
  47. package/dist/style.css +1 -1
  48. package/dist/terminal.d.ts +5 -63
  49. package/dist/terminal.js +102 -122
  50. package/dist/terminal.js.map +1 -1
  51. package/dist/{theme-CbmSEbRF.js → theme-at0rtSnX.js} +435 -245
  52. package/dist/theme-at0rtSnX.js.map +1 -0
  53. package/dist/theme-kKuLN2jb.js +80 -0
  54. package/dist/theme-kKuLN2jb.js.map +1 -0
  55. package/dist/theme-preference-BV4cbJNB.js +115 -0
  56. package/dist/theme-preference-BV4cbJNB.js.map +1 -0
  57. package/dist/theme.js +3 -2
  58. package/dist/{tree-list-BNZwjQZA.js → tree-list-Cqgl8mnN.js} +255 -250
  59. package/dist/tree-list-Cqgl8mnN.js.map +1 -0
  60. package/package.json +4 -4
  61. package/dist/diff-bubble-DZsarmSG.js +0 -61
  62. package/dist/diff-bubble-DZsarmSG.js.map +0 -1
  63. package/dist/diff-drawer-45rpk3aq.js.map +0 -1
  64. package/dist/diff-viewer-BP_mI6Wx.js +0 -558
  65. package/dist/diff-viewer-BP_mI6Wx.js.map +0 -1
  66. package/dist/list-row-uqD-q4gv.js +0 -1018
  67. package/dist/list-row-uqD-q4gv.js.map +0 -1
  68. package/dist/mermaid-renderer-DImi0fDp.js.map +0 -1
  69. package/dist/param-editor-BQd4AOUP.js +0 -225
  70. package/dist/param-editor-BQd4AOUP.js.map +0 -1
  71. package/dist/param-editor-field-BJ_rLUnV.js +0 -2385
  72. package/dist/param-editor-field-BJ_rLUnV.js.map +0 -1
  73. package/dist/prism-BStPsJSB.js +0 -658
  74. package/dist/prism-BStPsJSB.js.map +0 -1
  75. package/dist/rich-text-VYAmEigU.js +0 -6979
  76. package/dist/rich-text-VYAmEigU.js.map +0 -1
  77. package/dist/slider-hwHYe98I.js +0 -423
  78. package/dist/slider-hwHYe98I.js.map +0 -1
  79. package/dist/theme-CbmSEbRF.js.map +0 -1
  80. package/dist/theme-preference-pzfuK5cH.js +0 -101
  81. package/dist/theme-preference-pzfuK5cH.js.map +0 -1
  82. package/dist/tree-list-BNZwjQZA.js.map +0 -1
  83. package/dist/types-DWA3enV6.d.ts +0 -182
@@ -1,17 +1,9 @@
1
- import { createSystem as e, defaultConfig as t, defineConfig as n, defineLayerStyles as r, defineRecipe as i, defineSlotRecipe as a, defineTextStyles as o } from "@chakra-ui/react";
2
- import "@fontsource/inter/400.css";
3
- import "@fontsource/inter/500.css";
4
- import "@fontsource/playfair-display/400.css";
5
- import "@fontsource/playfair-display/600.css";
6
- import "@fontsource/playfair-display/700.css";
7
- import "@fontsource/onest/400.css";
8
- import "@fontsource/onest/500.css";
9
- import "@fontsource/onest/600.css";
10
- import "@fontsource/onest/700.css";
11
- import { alertAnatomy as s, colorPickerAnatomy as c, dialogAnatomy as ee, drawerAnatomy as te, fieldsetAnatomy as ne, menuAnatomy as l, numberInputAnatomy as u, popoverAnatomy as d, switchAnatomy as f, tabsAnatomy as p, timelineAnatomy as re, tooltipAnatomy as ie } from "@chakra-ui/react/anatomy";
12
- import { progressCircleSlotRecipe as m } from "@chakra-ui/react/theme";
1
+ import { t as e } from "./chat-question-bubble-w2vMbFsS.js";
2
+ import { createSystem as t, defaultConfig as n, defineConfig as r, defineLayerStyles as i, defineRecipe as a, defineSlotRecipe as o, defineTextStyles as s } from "@chakra-ui/react";
3
+ import { alertAnatomy as c, colorPickerAnatomy as ee, dialogAnatomy as te, drawerAnatomy as ne, fieldsetAnatomy as l, menuAnatomy as u, numberInputAnatomy as d, popoverAnatomy as f, switchAnatomy as p, tabsAnatomy as m, tagAnatomy as re, timelineAnatomy as ie, tooltipAnatomy as ae } from "@chakra-ui/react/anatomy";
4
+ import { progressCircleSlotRecipe as h } from "@chakra-ui/react/theme";
13
5
  //#region src/theme/recipes/window-title-bar.ts
14
- var h = a({
6
+ var g = o({
15
7
  className: "ps-window-title-bar",
16
8
  slots: ["root", "content"],
17
9
  base: {
@@ -46,7 +38,7 @@ var h = a({
46
38
  } }
47
39
  } },
48
40
  defaultVariants: { controls: "overlay" }
49
- }), g = a({
41
+ }), _ = o({
50
42
  className: "ps-window-tabs",
51
43
  slots: [
52
44
  "list",
@@ -142,72 +134,7 @@ var h = a({
142
134
  }
143
135
  }
144
136
  }
145
- }), ae = {
146
- "editor.background": ["colors.bg", "colors.bg.code"],
147
- "editor.foreground": ["colors.fg"],
148
- "editor.lineHighlightBackground": ["colors.bg.hover"],
149
- "editor.selectionBackground": ["colors.bg.active"],
150
- "editorWidget.background": ["colors.bg.panel"],
151
- "sideBar.background": ["colors.bg.panel"],
152
- "panel.background": ["colors.bg.panel"],
153
- "input.background": ["colors.bg.subtle"],
154
- "input.foreground": ["colors.fg"],
155
- "input.border": ["colors.border"],
156
- "dropdown.background": ["colors.bg.panel"],
157
- "menu.background": ["colors.bg.panel", "colors.bg.menu-item.default"],
158
- "menu.foreground": ["colors.fg.menu-item.default"],
159
- "menu.selectionBackground": [
160
- "colors.bg.menu-item.hover",
161
- "colors.bg.menu-item.focus",
162
- "colors.bg.menu-item.selected"
163
- ],
164
- "list.hoverBackground": ["colors.bg.menu-item.hover", "colors.bg.menu-item.focus"],
165
- "list.focusBackground": ["colors.bg.menu-item.focus"],
166
- "list.inactiveSelectionBackground": ["colors.bg.menu-item.selected"],
167
- "list.activeSelectionBackground": ["colors.bg.menu-item.selected"],
168
- "badge.background": ["colors.bg.muted"],
169
- "badge.foreground": ["colors.fg.muted"],
170
- "button.background": ["colors.bg.button.primary.default", "colors.bg.accent-primary.default"],
171
- "button.hoverBackground": ["colors.bg.button.primary.hover", "colors.bg.accent-primary.hover"],
172
- "button.foreground": ["colors.fg.button.primary.default"],
173
- "diffEditor.insertedTextBackground": ["colors.bg.success"],
174
- "diffEditor.removedTextBackground": ["colors.bg.error"],
175
- focusBorder: ["colors.border.accent"],
176
- foreground: ["colors.fg"],
177
- "gitDecoration.addedResourceForeground": ["colors.fg.success"],
178
- "gitDecoration.deletedResourceForeground": ["colors.fg.error"],
179
- descriptionForeground: ["colors.fg.muted"],
180
- disabledForeground: ["colors.fg.subtle"],
181
- border: ["colors.border", "colors.border.subtle"]
182
- }, _ = (e) => `colors.vscode.${e}`, v = (e) => e.replace(/^#/, ""), y = (e) => {
183
- let t = (e.theme.tokenColors ?? []).flatMap((e) => (Array.isArray(e.scope) ? e.scope : e.scope ? [e.scope] : []).map((t) => ({
184
- token: t,
185
- ...e.settings?.foreground ? { foreground: v(e.settings.foreground) } : {},
186
- ...e.settings?.fontStyle ? { fontStyle: e.settings.fontStyle } : {}
187
- })));
188
- return {
189
- base: e.mode === "dark" ? "vs-dark" : "vs",
190
- inherit: !0,
191
- rules: t,
192
- colors: e.theme.colors ?? {}
193
- };
194
- }, b = (e) => {
195
- let t = {}, n = e.theme.colors ?? {};
196
- for (let [e, r] of Object.entries(n)) t[_(e)] = r;
197
- for (let [e, r] of Object.entries(ae)) {
198
- let i = n[e];
199
- if (i) for (let e of r) t[e] = i;
200
- }
201
- return {
202
- id: e.id,
203
- mode: e.mode,
204
- tokens: t,
205
- monacoTheme: y({
206
- mode: e.mode,
207
- theme: e.theme
208
- })
209
- };
210
- }, x = {
137
+ }), v = {
211
138
  "*::selection": {
212
139
  bg: {
213
140
  base: "bg.accent-secondary.blue-medium",
@@ -254,7 +181,7 @@ var h = a({
254
181
  },
255
182
  "@media (min-width: 2560px)": { html: { fontSize: "1.25rem" } },
256
183
  "@media (min-width: 3840px)": { html: { fontSize: "1.5rem" } }
257
- }, S = {
184
+ }, y = {
258
185
  windowControl: {
259
186
  close: { value: "#FF5F57" },
260
187
  minimize: { value: "#FEBC2E" },
@@ -457,14 +384,71 @@ var h = a({
457
384
  mint: {
458
385
  100: { value: "#D3ECEE" },
459
386
  200: { value: "#B3DEE2" }
387
+ },
388
+ terminal: {
389
+ light: {
390
+ background: { value: "#f4f4f5" },
391
+ foreground: { value: "#171717" },
392
+ cursor: { value: "#171717" },
393
+ cursorAccent: { value: "#000000" },
394
+ selectionBackground: { value: "#d4d4d8" },
395
+ black: { value: "#27272a" },
396
+ red: { value: "#dc2626" },
397
+ green: { value: "#16a34a" },
398
+ yellow: { value: "#ca8a04" },
399
+ blue: { value: "#2563eb" },
400
+ magenta: { value: "#c026d3" },
401
+ cyan: { value: "#0891b2" },
402
+ white: { value: "#e4e4e7" },
403
+ brightBlack: { value: "#52525b" },
404
+ brightRed: { value: "#ef4444" },
405
+ brightGreen: { value: "#22c55e" },
406
+ brightYellow: { value: "#eab308" },
407
+ brightBlue: { value: "#3b82f6" },
408
+ brightMagenta: { value: "#d946ef" },
409
+ brightCyan: { value: "#06b6d4" },
410
+ brightWhite: { value: "#fafafa" }
411
+ },
412
+ dark: {
413
+ background: { value: "#0a0a0a" },
414
+ foreground: { value: "#fafafa" },
415
+ cursor: { value: "#fafafa" },
416
+ cursorAccent: { value: "#000000" },
417
+ selectionBackground: { value: "#3f3f46" },
418
+ black: { value: "#27272a" },
419
+ red: { value: "#f87171" },
420
+ green: { value: "#4ade80" },
421
+ yellow: { value: "#facc15" },
422
+ blue: { value: "#60a5fa" },
423
+ magenta: { value: "#e879f9" },
424
+ cyan: { value: "#22d3ee" },
425
+ white: { value: "#e4e4e7" },
426
+ brightBlack: { value: "#52525b" },
427
+ brightRed: { value: "#fca5a5" },
428
+ brightGreen: { value: "#86efac" },
429
+ brightYellow: { value: "#fde047" },
430
+ brightBlue: { value: "#93c5fd" },
431
+ brightMagenta: { value: "#f0abfc" },
432
+ brightCyan: { value: "#67e8f9" },
433
+ brightWhite: { value: "#fafafa" }
434
+ }
435
+ },
436
+ codeEditor: {
437
+ background: { value: "#0a0d15" },
438
+ foreground: { value: "#f5f5f5" },
439
+ lineHighlightBackground: { value: "#22252C" },
440
+ cursor: { value: "#A7A7A7" },
441
+ whitespace: { value: "#3B3B3B" },
442
+ indentGuide: { value: "#404040" },
443
+ indentGuideActive: { value: "#707070" }
460
444
  }
461
- }, C = {
445
+ }, b = {
462
446
  display: { value: "'Playfair Display', serif" },
463
447
  brand: { value: "Onest, sans-serif" },
464
448
  heading: { value: "Onest, sans-serif" },
465
449
  label: { value: "Onest, sans-serif" },
466
450
  body: { value: "Inter, sans-serif" }
467
- }, w = {
451
+ }, x = {
468
452
  "2xs": { value: "0.5rem" },
469
453
  xs: { value: "0.625rem" },
470
454
  sm: { value: "0.75rem" },
@@ -482,12 +466,12 @@ var h = a({
482
466
  "icon-sm": { value: "1rem" },
483
467
  "icon-md": { value: "1.25rem" },
484
468
  "icon-lg": { value: "1.25rem" }
485
- }, T = {
469
+ }, S = {
486
470
  regular: { value: 400 },
487
471
  medium: { value: 500 },
488
472
  semibold: { value: 600 },
489
473
  bold: { value: 700 }
490
- }, E = {
474
+ }, C = {
491
475
  0: "0rem",
492
476
  25: "0.125rem",
493
477
  50: "0.25rem",
@@ -508,77 +492,85 @@ var h = a({
508
492
  2e3: "10rem",
509
493
  3e3: "15rem",
510
494
  4e3: "20rem"
511
- }, D = {
495
+ }, w = {
512
496
  "window-tab-gap": { value: "0.4375rem" },
513
497
  "window-controls-mac": { value: "5.625rem" },
514
498
  none: { value: "0" },
515
- "3xs": { value: E[25] },
516
- "2xs": { value: E[50] },
517
- xs: { value: E[100] },
499
+ "3xs": { value: C[25] },
500
+ "2xs": { value: C[50] },
501
+ xs: { value: C[100] },
518
502
  compact: { value: "0.625rem" },
519
- sm: { value: E[150] },
503
+ sm: { value: C[150] },
520
504
  comfortable: { value: "0.875rem" },
521
- md: { value: E[200] },
522
- lg: { value: E[300] },
523
- xl: { value: E[400] },
524
- "2xl": { value: E[500] },
525
- "3xl": { value: E[600] },
526
- "3.5xl": { value: E[700] },
527
- "4xl": { value: E[800] },
528
- "4.5xl": { value: E[900] },
529
- "5xl": { value: E[1600] },
530
- "panel-gap": { value: E[50] }
531
- }, O = {
505
+ md: { value: C[200] },
506
+ lg: { value: C[300] },
507
+ xl: { value: C[400] },
508
+ "2xl": { value: C[500] },
509
+ "3xl": { value: C[600] },
510
+ "3.5xl": { value: C[700] },
511
+ "4xl": { value: C[800] },
512
+ "4.5xl": { value: C[900] },
513
+ "5xl": { value: C[1600] },
514
+ "panel-gap": { value: C[50] },
515
+ "performance-bar-gap": { value: "1px" }
516
+ }, T = {
517
+ "status-dot": { value: "0.375rem" },
518
+ "performance-bar": { value: C[25] },
519
+ "performance-meter": { value: "0.625rem" },
520
+ "performance-chart": { value: "2.25rem" },
521
+ "performance-popover": { value: "23.75rem" },
532
522
  "folder-picker-width": { value: "36.5rem" },
533
523
  "folder-picker-height": { value: "31rem" },
534
524
  "folder-picker-header": { value: "3.25rem" },
535
- "panel-gap": { value: E[50] },
525
+ "panel-gap": { value: C[50] },
536
526
  "window-title-bar": { value: "2.75rem" },
537
527
  "window-tab": { value: "1.75rem" },
538
528
  "window-tab-close": { value: "0.8125rem" },
539
- "tab-min": { value: E[600] },
529
+ "tab-min": { value: C[600] },
540
530
  "tab-label-max": { value: "8.875rem" },
541
- "window-tab-min": { value: E[800] },
531
+ "window-tab-min": { value: C[800] },
542
532
  "window-tab-label-max": { value: "11.0625rem" },
543
533
  "mobile-titlebar": { value: "3.25rem" },
544
534
  "collection-row": { value: "2.125rem" },
545
- "drop-indicator": { value: E[25] },
535
+ "drop-indicator": { value: C[25] },
546
536
  "tree-empty-drop-zone": { value: "1.75rem" },
547
- "filter-pill": { value: E[300] },
548
- "icon-2xs": { value: E[150] },
537
+ "filter-pill": { value: C[300] },
538
+ "filter-picker-height": { value: "30rem" },
539
+ "icon-2xs": { value: C[150] },
549
540
  "icon-xs": { value: "0.875rem" },
550
- "icon-sm": { value: E[200] },
551
- "icon-md": { value: E[250] },
552
- "tag-color-dot": { value: E[250] },
541
+ "icon-sm": { value: C[200] },
542
+ "icon-md": { value: C[250] },
543
+ "tag-color-dot": { value: C[250] },
553
544
  "tag-icon-cell": { value: "1.75rem" },
554
545
  "tag-picker": { value: "16.75rem" },
555
546
  "tag-picker-color-only": { value: "13.75rem" },
556
547
  "tag-swatch": { value: "1.625rem" },
557
548
  "tag-swatch-dot": { value: "0.625rem" },
558
- "tag-editor-row": { value: E[500] },
549
+ "tag-editor-row": { value: C[500] },
559
550
  "tag-editor-add-row": { value: "2.25rem" },
560
- "tag-editor-lead": { value: E[600] },
551
+ "tag-editor-lead": { value: C[600] },
561
552
  "tag-editor-commands": { value: "11.875rem" },
562
553
  "tag-editor-trailing": { value: "1.625rem" },
563
554
  "segmented-control-sm": { value: "1.75rem" },
564
- "segmented-control-xs": { value: E[300] },
565
- "segmented-control-item-sm": { value: E[300] },
566
- "segmented-control-item-xs": { value: E[250] },
567
- "tag-action-menu": { value: E[2e3] },
568
- "view-bar": { value: E[500] },
555
+ "segmented-control-xs": { value: C[300] },
556
+ "segmented-control-item-sm": { value: C[300] },
557
+ "segmented-control-item-xs": { value: C[250] },
558
+ "tag-action-menu": { value: C[2e3] },
559
+ "view-bar": { value: C[500] },
569
560
  "view-subheader": { value: "2.25rem" }
570
- }, k = { selection: { value: "0.09375rem" } }, A = {
561
+ }, E = { selection: { value: "0.09375rem" } }, D = {
571
562
  none: { value: "0" },
572
- "2xs": { value: E[25] },
573
- xs: { value: E[50] },
563
+ "2xs": { value: C[25] },
564
+ xs: { value: C[50] },
574
565
  compact: { value: "0.375rem" },
575
- sm: { value: E[100] },
576
- md: { value: E[150] },
577
- lg: { value: E[200] },
578
- xl: { value: E[400] },
579
- full: { value: "100%" }
580
- }, j = a({
581
- slots: s.keys(),
566
+ sm: { value: C[100] },
567
+ md: { value: C[150] },
568
+ lg: { value: C[200] },
569
+ xl: { value: C[400] },
570
+ full: { value: "100%" },
571
+ pill: { value: "9999px" }
572
+ }, O = o({
573
+ slots: c.keys(),
582
574
  base: {
583
575
  root: {
584
576
  px: "xs",
@@ -639,12 +631,22 @@ var h = a({
639
631
  }
640
632
  }
641
633
  ]
642
- }), M = i({
634
+ }), k = {
635
+ bg: {
636
+ _light: "bg.muted",
637
+ _dark: "bg.subtle"
638
+ },
639
+ color: "fg.muted",
640
+ _hover: { bg: {
641
+ _light: "bg.subtle",
642
+ _dark: "bg.hover"
643
+ } }
644
+ }, A = a({
643
645
  className: "chakra-badge",
644
646
  base: {
645
647
  display: "inline-flex",
646
648
  alignItems: "center",
647
- borderRadius: "9999px",
649
+ borderRadius: "pill",
648
650
  gap: "1",
649
651
  fontWeight: "medium",
650
652
  fontVariantNumeric: "tabular-nums",
@@ -653,6 +655,7 @@ var h = a({
653
655
  },
654
656
  variants: {
655
657
  variant: {
658
+ ticket: k,
656
659
  solid: {
657
660
  bg: "colorPalette.solid",
658
661
  color: "colorPalette.contrast"
@@ -711,7 +714,17 @@ var h = a({
711
714
  variant: "subtle",
712
715
  size: "sm"
713
716
  }
714
- }), N = i({
717
+ }), j = {
718
+ color: "fg",
719
+ bg: "transparent",
720
+ borderRadius: "0",
721
+ border: "none",
722
+ borderRightWidth: "1px",
723
+ borderRightStyle: "solid",
724
+ borderRightColor: "border.subtle",
725
+ _hover: { bg: "bg.hover" },
726
+ _expanded: { bg: "bg.active" }
727
+ }, M = a({
715
728
  base: {
716
729
  borderRadius: "xs",
717
730
  transition: "all 0.1s ease-in-out",
@@ -805,6 +818,11 @@ var h = a({
805
818
  _hover: { bg: "transparent" }
806
819
  }
807
820
  },
821
+ "filter-segment": j,
822
+ "filter-condition": {
823
+ ...j,
824
+ color: "fg.muted"
825
+ },
808
826
  "ghost-static": {
809
827
  color: "fg",
810
828
  bg: "transparent",
@@ -871,8 +889,26 @@ var h = a({
871
889
  size: "sm",
872
890
  variant: "outline"
873
891
  }
874
- }), P = "border.accent-light", F = a({
875
- slots: c.keys(),
892
+ }), N = o({
893
+ slots: [
894
+ "root",
895
+ "control",
896
+ "indicator",
897
+ "label",
898
+ "group"
899
+ ],
900
+ base: { control: { borderRadius: "xs" } },
901
+ variants: { size: { xs: {
902
+ root: { gap: "2xs" },
903
+ control: {
904
+ boxSize: "3",
905
+ borderRadius: "2xs"
906
+ },
907
+ indicator: { boxSize: "2.5" },
908
+ label: { textStyle: "label/XS" }
909
+ } } }
910
+ }), P = "border.accent-light", F = o({
911
+ slots: ee.keys(),
876
912
  base: {
877
913
  control: {
878
914
  display: "flex",
@@ -975,8 +1011,8 @@ var h = a({
975
1011
  sm: {}
976
1012
  } },
977
1013
  defaultVariants: { size: "sm" }
978
- }), I = a({
979
- slots: ee.keys(),
1014
+ }), I = o({
1015
+ slots: te.keys(),
980
1016
  base: {
981
1017
  title: { textStyle: "heading/dialog" },
982
1018
  content: {
@@ -987,8 +1023,8 @@ var h = a({
987
1023
  overflow: "hidden"
988
1024
  }
989
1025
  }
990
- }), L = i({ base: { borderColor: "border.subtle" } }), R = a({
991
- slots: te.keys(),
1026
+ }), L = a({ base: { borderColor: "border.subtle" } }), R = o({
1027
+ slots: ne.keys(),
992
1028
  base: {
993
1029
  header: {
994
1030
  fontWeight: "medium",
@@ -997,8 +1033,9 @@ var h = a({
997
1033
  },
998
1034
  content: { bg: "bg" }
999
1035
  }
1000
- }), z = a({
1036
+ }), z = o({
1001
1037
  slots: [
1038
+ "root",
1002
1039
  "preview",
1003
1040
  "input",
1004
1041
  "textarea"
@@ -1048,51 +1085,81 @@ var h = a({
1048
1085
  _placeholder: { color: "fg.muted" }
1049
1086
  }
1050
1087
  },
1051
- variants: { size: {
1052
- sm: {
1053
- preview: {
1054
- textStyle: "label/S/medium",
1055
- lineHeight: "1.25rem"
1056
- },
1057
- input: {
1058
- textStyle: "label/S/medium",
1059
- lineHeight: "1.25rem"
1060
- },
1061
- textarea: {
1062
- textStyle: "label/S/medium",
1063
- lineHeight: "1.25rem"
1064
- }
1065
- },
1066
- md: {
1067
- preview: {
1068
- textStyle: "label/M/medium",
1069
- lineHeight: "1.375rem"
1070
- },
1071
- input: {
1072
- textStyle: "label/M/medium",
1073
- lineHeight: "1.375rem"
1088
+ variants: {
1089
+ variant: { "filter-segment": { input: {
1090
+ bg: "transparent",
1091
+ _focusVisible: { outline: "none" }
1092
+ } } },
1093
+ size: {
1094
+ xs: {
1095
+ root: {
1096
+ display: "inline-flex",
1097
+ alignItems: "center"
1098
+ },
1099
+ preview: {
1100
+ textStyle: "label/XS",
1101
+ lineHeight: "1rem",
1102
+ px: "xs",
1103
+ minH: "5",
1104
+ alignContent: "center"
1105
+ },
1106
+ input: {
1107
+ textStyle: "label/XS",
1108
+ lineHeight: "1rem",
1109
+ px: "xs",
1110
+ minH: "5"
1111
+ },
1112
+ textarea: {
1113
+ textStyle: "label/XS",
1114
+ lineHeight: "1rem",
1115
+ px: "xs"
1116
+ }
1074
1117
  },
1075
- textarea: {
1076
- textStyle: "label/M/medium",
1077
- lineHeight: "1.375rem"
1078
- }
1079
- },
1080
- lg: {
1081
- preview: {
1082
- textStyle: "label/L/medium",
1083
- lineHeight: "1.5rem"
1118
+ sm: {
1119
+ preview: {
1120
+ textStyle: "label/S/medium",
1121
+ lineHeight: "1.25rem"
1122
+ },
1123
+ input: {
1124
+ textStyle: "label/S/medium",
1125
+ lineHeight: "1.25rem"
1126
+ },
1127
+ textarea: {
1128
+ textStyle: "label/S/medium",
1129
+ lineHeight: "1.25rem"
1130
+ }
1084
1131
  },
1085
- input: {
1086
- textStyle: "label/L/medium",
1087
- lineHeight: "1.5rem"
1132
+ md: {
1133
+ preview: {
1134
+ textStyle: "label/M/medium",
1135
+ lineHeight: "1.375rem"
1136
+ },
1137
+ input: {
1138
+ textStyle: "label/M/medium",
1139
+ lineHeight: "1.375rem"
1140
+ },
1141
+ textarea: {
1142
+ textStyle: "label/M/medium",
1143
+ lineHeight: "1.375rem"
1144
+ }
1088
1145
  },
1089
- textarea: {
1090
- textStyle: "label/L/medium",
1091
- lineHeight: "1.5rem"
1146
+ lg: {
1147
+ preview: {
1148
+ textStyle: "label/L/medium",
1149
+ lineHeight: "1.5rem"
1150
+ },
1151
+ input: {
1152
+ textStyle: "label/L/medium",
1153
+ lineHeight: "1.5rem"
1154
+ },
1155
+ textarea: {
1156
+ textStyle: "label/L/medium",
1157
+ lineHeight: "1.5rem"
1158
+ }
1092
1159
  }
1093
1160
  }
1094
- } }
1095
- }), B = a({
1161
+ }
1162
+ }), B = o({
1096
1163
  slots: [
1097
1164
  "content",
1098
1165
  "header",
@@ -1172,10 +1239,10 @@ var h = a({
1172
1239
  gap: "xs"
1173
1240
  }
1174
1241
  }
1175
- }), V = a({
1176
- slots: ne.keys(),
1242
+ }), V = o({
1243
+ slots: l.keys(),
1177
1244
  base: { legend: { mb: "2xs" } }
1178
- }), H = "border.accent-light", U = i({
1245
+ }), H = "border.accent-light", U = a({
1179
1246
  base: {
1180
1247
  px: "sm",
1181
1248
  borderRadius: "xs",
@@ -1290,7 +1357,7 @@ var h = a({
1290
1357
  size: "sm",
1291
1358
  variant: "outline"
1292
1359
  }
1293
- }), W = i({
1360
+ }), W = a({
1294
1361
  base: {
1295
1362
  display: "inline-flex",
1296
1363
  alignItems: "center",
@@ -1353,8 +1420,8 @@ var h = a({
1353
1420
  size: "md",
1354
1421
  variant: "raised"
1355
1422
  }
1356
- }), oe = a({
1357
- slots: l.keys(),
1423
+ }), G = o({
1424
+ slots: u.keys(),
1358
1425
  base: {
1359
1426
  itemGroupLabel: {
1360
1427
  ml: "{2xs}",
@@ -1410,6 +1477,7 @@ var h = a({
1410
1477
  },
1411
1478
  separator: {
1412
1479
  my: "0",
1480
+ mx: "0",
1413
1481
  borderColor: "border.subtle"
1414
1482
  },
1415
1483
  content: {
@@ -1426,7 +1494,7 @@ var h = a({
1426
1494
  bg: "bg",
1427
1495
  borderWidth: "1px",
1428
1496
  borderStyle: "solid",
1429
- borderColor: "border",
1497
+ borderColor: "border.subtle",
1430
1498
  textStyle: "label/M/regular"
1431
1499
  }
1432
1500
  },
@@ -1435,15 +1503,15 @@ var h = a({
1435
1503
  minWidth: "64",
1436
1504
  maxWidth: "64"
1437
1505
  } } } }
1438
- }), G = "var(--chakra-colors-border)", K = "var(--chakra-colors-border-accent-light)", q = a({
1439
- slots: u.keys(),
1506
+ }), oe = "var(--chakra-colors-border)", K = "var(--chakra-colors-border-accent-light)", q = o({
1507
+ slots: d.keys(),
1440
1508
  base: {
1441
1509
  root: {
1442
1510
  position: "relative",
1443
1511
  zIndex: "0",
1444
1512
  isolation: "isolate",
1445
1513
  boxShadow: "none",
1446
- "--number-input-border-color": G,
1514
+ "--number-input-border-color": oe,
1447
1515
  "&:is(:hover, [data-hover])": { "--number-input-border-color": K },
1448
1516
  "&:is(:active, [data-active])": { "--number-input-border-color": K },
1449
1517
  "&:focus-within": { "--number-input-border-color": K }
@@ -1614,8 +1682,8 @@ var h = a({
1614
1682
  size: "sm",
1615
1683
  variant: "outline"
1616
1684
  }
1617
- }), se = a({
1618
- slots: d.keys(),
1685
+ }), se = o({
1686
+ slots: f.keys(),
1619
1687
  base: {
1620
1688
  positioner: { _focus: { outline: "none" } },
1621
1689
  closeTrigger: {
@@ -1633,7 +1701,8 @@ var h = a({
1633
1701
  bg: "bg",
1634
1702
  borderWidth: "1px",
1635
1703
  borderStyle: "solid",
1636
- borderColor: "border",
1704
+ borderColor: "border.subtle",
1705
+ overflow: "visible",
1637
1706
  _focus: { outline: "none" }
1638
1707
  },
1639
1708
  title: {
@@ -1648,10 +1717,10 @@ var h = a({
1648
1717
  variant: { responsive: { content: { width: "unset" } } },
1649
1718
  size: { "2xl": { content: { width: "2xl" } } }
1650
1719
  }
1651
- }), ce = m.variants?.size ?? {}, le = {
1652
- ...m,
1720
+ }), ce = h.variants?.size ?? {}, le = {
1721
+ ...h,
1653
1722
  variants: {
1654
- ...m.variants,
1723
+ ...h.variants,
1655
1724
  size: {
1656
1725
  ...ce,
1657
1726
  "2xs": {
@@ -1683,7 +1752,7 @@ var h = a({
1683
1752
  overflow: "visible"
1684
1753
  },
1685
1754
  separator: { display: "none" }
1686
- }, ue = a({
1755
+ }, ue = o({
1687
1756
  slots: [
1688
1757
  "root",
1689
1758
  "resizablePanel",
@@ -1771,11 +1840,11 @@ var h = a({
1771
1840
  orientation: "horizontal",
1772
1841
  layout: "split"
1773
1842
  }
1774
- }), de = i({ base: {
1843
+ }), de = a({ base: {
1775
1844
  "--start-color": "fg",
1776
1845
  "--end-color": "fg.muted"
1777
- } }), fe = a({
1778
- slots: f.keys(),
1846
+ } }), fe = o({
1847
+ slots: p.keys(),
1779
1848
  base: {
1780
1849
  control: {
1781
1850
  alignItems: "center",
@@ -1817,8 +1886,8 @@ var h = a({
1817
1886
  },
1818
1887
  thumb: { _checked: { bg: "fg.inverted" } }
1819
1888
  } } }
1820
- }), pe = a({
1821
- slots: p.keys(),
1889
+ }), pe = o({
1890
+ slots: m.keys(),
1822
1891
  base: {
1823
1892
  root: { "--tabs-trigger-radius": "radii.xs" },
1824
1893
  list: {
@@ -1943,7 +2012,77 @@ var h = a({
1943
2012
  size: "xs",
1944
2013
  variant: "subtle"
1945
2014
  }
1946
- }), Y = "border.accent-light", me = i({
2015
+ }), me = o({
2016
+ slots: re.keys(),
2017
+ base: {
2018
+ root: {
2019
+ display: "inline-flex",
2020
+ alignItems: "center",
2021
+ borderRadius: "pill",
2022
+ gap: "2xs",
2023
+ minW: "0",
2024
+ maxW: "64",
2025
+ flexShrink: "1"
2026
+ },
2027
+ label: {
2028
+ minW: "0",
2029
+ overflow: "hidden",
2030
+ whiteSpace: "nowrap",
2031
+ textOverflow: "ellipsis",
2032
+ cursor: "pointer",
2033
+ _focusVisible: {
2034
+ outline: "2px solid",
2035
+ outlineColor: "border",
2036
+ outlineOffset: "2px"
2037
+ }
2038
+ },
2039
+ startElement: {
2040
+ "& [data-status-dot]": {
2041
+ display: "block",
2042
+ boxSize: "status-dot",
2043
+ borderRadius: "full",
2044
+ bg: "fg.muted"
2045
+ },
2046
+ "& [data-tone=success]": { bg: "fg.success" },
2047
+ "& [data-tone=info]": { bg: "fg.info" },
2048
+ "& [data-tone=warning]": { bg: "fg.warning" },
2049
+ "& [data-tone=error]": { bg: "fg.error" }
2050
+ },
2051
+ closeTrigger: {
2052
+ display: "inline-flex",
2053
+ alignItems: "center",
2054
+ justifyContent: "center",
2055
+ boxSize: "4",
2056
+ flexShrink: "0",
2057
+ borderRadius: "full",
2058
+ cursor: "pointer",
2059
+ _hover: { bg: "bg.hover" },
2060
+ _disabled: {
2061
+ cursor: "not-allowed",
2062
+ opacity: "0.5"
2063
+ },
2064
+ _focusVisible: {
2065
+ outline: "2px solid",
2066
+ outlineColor: "border"
2067
+ },
2068
+ "& svg": { boxSize: "3" }
2069
+ }
2070
+ },
2071
+ variants: {
2072
+ variant: { ticket: { root: k } },
2073
+ size: { composer: { root: {
2074
+ height: "7",
2075
+ minH: "7",
2076
+ px: "xs",
2077
+ py: "0",
2078
+ textStyle: "label/S/medium"
2079
+ } } }
2080
+ },
2081
+ defaultVariants: {
2082
+ variant: "ticket",
2083
+ size: "composer"
2084
+ }
2085
+ }), Y = "border.accent-light", he = a({
1947
2086
  base: {
1948
2087
  paddingX: "sm",
1949
2088
  paddingY: "xs",
@@ -2029,8 +2168,8 @@ var h = a({
2029
2168
  size: "sm",
2030
2169
  variant: "outline"
2031
2170
  }
2032
- }), he = a({
2033
- slots: re.keys(),
2171
+ }), ge = o({
2172
+ slots: ie.keys(),
2034
2173
  base: {
2035
2174
  root: {
2036
2175
  display: "flex",
@@ -2161,34 +2300,34 @@ var h = a({
2161
2300
  variant: "solid",
2162
2301
  showLastSeparator: !1
2163
2302
  }
2164
- }), ge = a({
2165
- slots: ie.keys(),
2303
+ }), _e = o({
2304
+ slots: ae.keys(),
2166
2305
  base: { content: {
2167
2306
  bg: "bg.inverted",
2168
2307
  borderRadius: "xs",
2169
2308
  color: "fg.inverted"
2170
2309
  } }
2171
- }), _e = /* @__PURE__ */ new Set([
2310
+ }), ve = /* @__PURE__ */ new Set([
2172
2311
  "boxShadow",
2173
2312
  "boxShadowColor",
2174
2313
  "textShadow"
2175
- ]), X = /shadow/i, ve = (e) => {
2314
+ ]), X = /shadow/i, ye = (e) => {
2176
2315
  if (!X.test(e)) return e;
2177
2316
  let t = e.split(",").map((e) => e.trim()).filter((e) => !X.test(e));
2178
2317
  if (t.length !== 0) return t.join(", ");
2179
- }, Z = (e) => Array.isArray(e) ? e.map(Z).filter((e) => e !== void 0) : typeof e == "string" ? ve(e) : !e || typeof e != "object" ? e : Object.fromEntries(Object.entries(e).flatMap(([e, t]) => {
2180
- if (_e.has(e) || X.test(e)) return [];
2318
+ }, Z = (e) => Array.isArray(e) ? e.map(Z).filter((e) => e !== void 0) : typeof e == "string" ? ye(e) : !e || typeof e != "object" ? e : Object.fromEntries(Object.entries(e).flatMap(([e, t]) => {
2319
+ if (ve.has(e) || X.test(e)) return [];
2181
2320
  let n = Z(t);
2182
2321
  return n === void 0 ? [] : [[e, n]];
2183
2322
  })), Q = (e) => {
2184
2323
  let { shadows: t, ...n } = e ?? {};
2185
2324
  return n;
2186
- }, ye = {
2325
+ }, be = {
2187
2326
  badge: ["surface"],
2188
2327
  button: ["secondary", "surface"]
2189
- }, be = (e) => {
2328
+ }, $ = (e) => {
2190
2329
  let t = { ...e ?? {} };
2191
- for (let [e, n] of Object.entries(ye)) {
2330
+ for (let [e, n] of Object.entries(be)) {
2192
2331
  let r = t[e];
2193
2332
  if (!r || typeof r != "object") continue;
2194
2333
  let i = r, a = i.variants, o = a?.variant;
@@ -2204,15 +2343,15 @@ var h = a({
2204
2343
  }
2205
2344
  return t;
2206
2345
  }, xe = {
2207
- ...t,
2346
+ ...n,
2208
2347
  theme: {
2209
- ...t.theme,
2210
- tokens: Q(t.theme?.tokens),
2211
- semanticTokens: Q(t.theme?.semanticTokens),
2212
- recipes: be(Z(t.theme?.recipes)),
2213
- slotRecipes: Z(t.theme?.slotRecipes),
2214
- layerStyles: Z(t.theme?.layerStyles),
2215
- animationStyles: Z(t.theme?.animationStyles)
2348
+ ...n.theme,
2349
+ tokens: Q(n.theme?.tokens),
2350
+ semanticTokens: Q(n.theme?.semanticTokens),
2351
+ recipes: $(Z(n.theme?.recipes)),
2352
+ slotRecipes: Z(n.theme?.slotRecipes),
2353
+ layerStyles: Z(n.theme?.layerStyles),
2354
+ animationStyles: Z(n.theme?.animationStyles)
2216
2355
  }
2217
2356
  }, Se = {
2218
2357
  DEFAULT: { value: "1px solid {colors.border}" },
@@ -2645,7 +2784,43 @@ var h = a({
2645
2784
  _light: "{colors.blacks.800}",
2646
2785
  _dark: "{colors.blacks.800}"
2647
2786
  } } } }
2648
- }, $ = r({
2787
+ }, we = i({
2788
+ statusBarItem: { value: {
2789
+ position: "relative",
2790
+ minWidth: "0",
2791
+ height: "full",
2792
+ "&[data-sortable]": { cursor: "grab" },
2793
+ "&[data-dragging]": { opacity: .5 }
2794
+ } },
2795
+ dropIndicator: { value: {
2796
+ position: "absolute",
2797
+ zIndex: "1",
2798
+ borderRadius: "2xs",
2799
+ bg: "bg.accent-primary.default",
2800
+ pointerEvents: "none"
2801
+ } },
2802
+ tabDropZone: { value: {
2803
+ bg: "bg.accent-primary.default/4",
2804
+ color: "fg.muted",
2805
+ borderWidth: "1px",
2806
+ borderColor: "bg.accent-primary.default",
2807
+ borderRadius: "inherit"
2808
+ } },
2809
+ filterPicker: { value: { height: "min({sizes.filter-picker-height}, calc(100dvh - {spacing.xl}))" } },
2810
+ filterLabel: { value: {
2811
+ paddingInline: "xs",
2812
+ borderRightWidth: "1px",
2813
+ borderColor: "border.subtle",
2814
+ height: "full",
2815
+ display: "inline-flex"
2816
+ } },
2817
+ filterPill: { value: {
2818
+ height: "filter-pill",
2819
+ borderWidth: "1px",
2820
+ borderColor: "border.subtle",
2821
+ borderRadius: "xs",
2822
+ bg: "bg.muted"
2823
+ } },
2649
2824
  floatingBar: { value: {
2650
2825
  paddingInline: "sm",
2651
2826
  paddingBlock: "2xs",
@@ -2684,7 +2859,7 @@ var h = a({
2684
2859
  border: "1px solid",
2685
2860
  borderColor: "border"
2686
2861
  } }
2687
- }), we = o({
2862
+ }), Te = s({
2688
2863
  "heading/dialog": { value: {
2689
2864
  fontFamily: "heading",
2690
2865
  fontSize: "0.9375rem",
@@ -2867,6 +3042,18 @@ var h = a({
2867
3042
  fontWeight: "400",
2868
3043
  lineHeight: "150%"
2869
3044
  } },
3045
+ "mono/3XL/semibold": { value: {
3046
+ fontFamily: "mono",
3047
+ fontSize: "3xl",
3048
+ fontWeight: "600",
3049
+ lineHeight: "100%"
3050
+ } },
3051
+ "mono/S": { value: {
3052
+ fontFamily: "mono",
3053
+ fontSize: "sm",
3054
+ fontWeight: "400",
3055
+ lineHeight: "160%"
3056
+ } },
2870
3057
  "paragraph/S/regular": { value: {
2871
3058
  fontFamily: "body",
2872
3059
  fontSize: "sm",
@@ -2918,8 +3105,8 @@ var h = a({
2918
3105
  color: "fg",
2919
3106
  letterSpacing: "0.14px"
2920
3107
  } }
2921
- }), Te = n({
2922
- globalCss: x,
3108
+ }), Ee = r({
3109
+ globalCss: v,
2923
3110
  utilities: { WebkitAppRegion: {
2924
3111
  values: ["drag", "no-drag"],
2925
3112
  transform: (e) => ({ WebkitAppRegion: e })
@@ -2929,41 +3116,44 @@ var h = a({
2929
3116
  "3xl": "2560px",
2930
3117
  "4xl": "3840px"
2931
3118
  },
2932
- textStyles: we,
2933
- layerStyles: $,
3119
+ textStyles: Te,
3120
+ layerStyles: we,
2934
3121
  recipes: {
2935
- badge: M,
2936
- button: N,
3122
+ chatQuestionBubble: e,
3123
+ badge: A,
3124
+ button: M,
2937
3125
  divider: L,
2938
3126
  input: U,
2939
3127
  kbd: W,
2940
3128
  skeleton: de,
2941
- textarea: me
3129
+ textarea: he
2942
3130
  },
2943
3131
  tokens: {
2944
- colors: S,
2945
- borderWidths: k,
2946
- fonts: C,
2947
- fontSizes: w,
2948
- fontWeights: T,
2949
- radii: A,
2950
- sizes: O,
2951
- spacing: D
3132
+ colors: y,
3133
+ borderWidths: E,
3134
+ fonts: b,
3135
+ fontSizes: x,
3136
+ fontWeights: S,
3137
+ radii: D,
3138
+ sizes: T,
3139
+ spacing: w
2952
3140
  },
2953
3141
  semanticTokens: {
2954
3142
  colors: Ce,
2955
3143
  borders: Se
2956
3144
  },
2957
3145
  slotRecipes: {
2958
- windowTitleBar: h,
2959
- windowTabs: g,
3146
+ tag: me,
3147
+ checkbox: N,
3148
+ windowTitleBar: g,
3149
+ windowTabs: _,
2960
3150
  resizableSplitLayout: ue,
2961
- alert: j,
3151
+ alert: O,
2962
3152
  colorPicker: F,
2963
3153
  drawer: R,
2964
- tooltip: ge,
3154
+ tooltip: _e,
2965
3155
  popover: se,
2966
- menu: oe,
3156
+ menu: G,
2967
3157
  numberInput: q,
2968
3158
  editable: z,
2969
3159
  form: V,
@@ -2972,11 +3162,11 @@ var h = a({
2972
3162
  progressCircle: le,
2973
3163
  switch: fe,
2974
3164
  tabs: pe,
2975
- timeline: he
3165
+ timeline: ge
2976
3166
  }
2977
3167
  }
2978
- }), Ee = e(xe, Te);
3168
+ }), De = t(xe, Ee);
2979
3169
  //#endregion
2980
- export { h as a, g as i, y as n, b as r, Ee as t };
3170
+ export { _ as n, g as r, De as t };
2981
3171
 
2982
- //# sourceMappingURL=theme-CbmSEbRF.js.map
3172
+ //# sourceMappingURL=theme-at0rtSnX.js.map