@pstdio/ui 0.3.1 → 0.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.
Files changed (80) hide show
  1. package/dist/chat-ui.js +12 -11
  2. package/dist/chat-ui.js.map +1 -1
  3. package/dist/components/attached-panel.d.ts +9 -0
  4. package/dist/components/attached-panel.utils.d.ts +6 -0
  5. package/dist/components/bubble-button.d.ts +10 -0
  6. package/dist/components/bubble-panel.d.ts +18 -0
  7. package/dist/components/chat-ui/components/chat-panel-sticky-user-message.d.ts +1 -1
  8. package/dist/components/diff-card.d.ts +3 -0
  9. package/dist/components/diff-drawer.d.ts +1 -0
  10. package/dist/components/layout.d.ts +1 -2
  11. package/dist/components/layout.stories.d.ts +3 -3
  12. package/dist/components/panel-header.constants.d.ts +1 -0
  13. package/dist/components/rich-text/markdown-editor/markdown-editor.d.ts +1 -0
  14. package/dist/components/rich-text/shared/components/content-editable.d.ts +2 -1
  15. package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/resolve-block-type.d.ts +17 -0
  16. package/dist/components/rich-text/shared/transformers/markdown-transformers.d.ts +1 -0
  17. package/dist/components/searchable-menu.d.ts +35 -2
  18. package/dist/components/searchable-menu.stories.d.ts +2 -0
  19. package/dist/components/session-indicator.d.ts +2 -2
  20. package/dist/components/session-indicator.stories.d.ts +1 -0
  21. package/dist/components/sidebar/sidebar-footer.d.ts +6 -0
  22. package/dist/components/sidebar/sidebar-header.d.ts +7 -0
  23. package/dist/components/sidebar/sidebar-project-menu.d.ts +10 -0
  24. package/dist/components/sidebar/sidebar.d.ts +2 -0
  25. package/dist/components/sidebar/sidebar.store.d.ts +47 -0
  26. package/dist/components/{sidebar-next/sidebar-next.stories.d.ts → sidebar/sidebar.stories.d.ts} +4 -3
  27. package/dist/components/{sidebar-next/sidebar-next.types.d.ts → sidebar/sidebar.types.d.ts} +3 -2
  28. package/dist/components/sidebar-tree/sidebar-node-content.d.ts +9 -0
  29. package/dist/components/sidebar-tree/sidebar-tree.d.ts +1 -1
  30. package/dist/components/sidebar-tree/sidebar-tree.types.d.ts +10 -2
  31. package/dist/components/style-guide.stories.d.ts +6 -11
  32. package/dist/components/tickets/ticket-card.d.ts +2 -7
  33. package/dist/components/workspace-badge.d.ts +22 -0
  34. package/dist/components/workspace-badge.stories.d.ts +13 -0
  35. package/dist/get-file-type-icon-CirIyuE8.js +92 -0
  36. package/dist/get-file-type-icon-CirIyuE8.js.map +1 -0
  37. package/dist/index.d.ts +18 -19
  38. package/dist/index.js +1849 -1743
  39. package/dist/index.js.map +1 -1
  40. package/dist/{rich-message-ZT2CEiwt.js → rich-message-Bad4GxH2.js} +520 -503
  41. package/dist/rich-message-Bad4GxH2.js.map +1 -0
  42. package/dist/rich-text.js +276 -272
  43. package/dist/rich-text.js.map +1 -1
  44. package/dist/style.css +1 -1
  45. package/dist/test-utils/local-storage.d.ts +1 -0
  46. package/dist/theme/global.d.ts +3 -0
  47. package/dist/theme/primitives/colors.d.ts +116 -0
  48. package/dist/theme/recipes/button.d.ts +13 -13
  49. package/dist/theme/recipes/dialog.d.ts +1 -1
  50. package/dist/theme/recipes/drawer.d.ts +1 -1
  51. package/dist/theme/recipes/menu.d.ts +1 -1
  52. package/dist/theme/recipes/popover.d.ts +1 -1
  53. package/dist/theme/recipes/tooltip.d.ts +1 -1
  54. package/dist/theme/tokens/colors.d.ts +162 -8
  55. package/dist/{theme-BFV2Q048.js → theme-D0VvFB1Y.js} +292 -154
  56. package/dist/theme-D0VvFB1Y.js.map +1 -0
  57. package/dist/theme.js +1 -1
  58. package/package.json +2 -2
  59. package/dist/components/documentation/docs-changelog.d.ts +0 -20
  60. package/dist/components/documentation/docs-changelog.stories.d.ts +0 -15
  61. package/dist/components/documentation/docs-outline.d.ts +0 -13
  62. package/dist/components/documentation/docs-outline.stories.d.ts +0 -16
  63. package/dist/components/documentation/docs-pagination.d.ts +0 -10
  64. package/dist/components/documentation/docs-pagination.stories.d.ts +0 -14
  65. package/dist/components/documentation/docs-sidebar.d.ts +0 -14
  66. package/dist/components/documentation/docs-sidebar.stories.d.ts +0 -7
  67. package/dist/components/panel-menu.d.ts +0 -9
  68. package/dist/components/panel-menu.stories.d.ts +0 -8
  69. package/dist/components/sidebar-next/sidebar-next-footer.d.ts +0 -6
  70. package/dist/components/sidebar-next/sidebar-next-header.d.ts +0 -7
  71. package/dist/components/sidebar-next/sidebar-next.d.ts +0 -2
  72. package/dist/components/sidebar-next/sidebar-next.store.d.ts +0 -47
  73. package/dist/components/sidebar-next/sidebar-next.store.test.d.ts +0 -1
  74. package/dist/rich-message-ZT2CEiwt.js.map +0 -1
  75. package/dist/theme-BFV2Q048.js.map +0 -1
  76. package/dist/tooltip-Dze4WXVl.js +0 -86
  77. package/dist/tooltip-Dze4WXVl.js.map +0 -1
  78. /package/dist/components/{chat-ui/components/ai-conversation.test.d.ts → attached-panel.utils.test.d.ts} +0 -0
  79. /package/dist/components/{chat-ui/components/chat-panel.sticky-user-message.test.d.ts → rich-text/shared/transformers/markdown-transformers.test.d.ts} +0 -0
  80. /package/dist/components/{searchable-menu.test.d.ts → sidebar/sidebar.store.test.d.ts} +0 -0
@@ -102,6 +102,18 @@ export declare const bg: {
102
102
  _dark: string;
103
103
  };
104
104
  };
105
+ hover: {
106
+ value: {
107
+ base: string;
108
+ _dark: string;
109
+ };
110
+ };
111
+ active: {
112
+ value: {
113
+ base: string;
114
+ _dark: string;
115
+ };
116
+ };
105
117
  code: {
106
118
  value: {
107
119
  base: string;
@@ -141,13 +153,22 @@ export declare const bg: {
141
153
  button: {
142
154
  primary: {
143
155
  default: {
144
- value: string;
156
+ value: {
157
+ base: string;
158
+ _dark: string;
159
+ };
145
160
  };
146
161
  hover: {
147
- value: string;
162
+ value: {
163
+ base: string;
164
+ _dark: string;
165
+ };
148
166
  };
149
167
  pressed: {
150
- value: string;
168
+ value: {
169
+ base: string;
170
+ _dark: string;
171
+ };
151
172
  };
152
173
  disabled: {
153
174
  value: string;
@@ -305,6 +326,12 @@ export declare const bg: {
305
326
  _dark: string;
306
327
  };
307
328
  };
329
+ "yellow-dark": {
330
+ value: {
331
+ base: string;
332
+ _dark: string;
333
+ };
334
+ };
308
335
  "sand-light": {
309
336
  value: {
310
337
  base: string;
@@ -359,7 +386,57 @@ export declare const border: {
359
386
  export declare const blue: {
360
387
  border: {
361
388
  value: {
362
- base: string;
389
+ _light: string;
390
+ _dark: string;
391
+ };
392
+ };
393
+ };
394
+ export declare const orange: {
395
+ contrast: {
396
+ value: {
397
+ _light: string;
398
+ _dark: string;
399
+ };
400
+ };
401
+ fg: {
402
+ value: {
403
+ _light: string;
404
+ _dark: string;
405
+ };
406
+ };
407
+ subtle: {
408
+ value: {
409
+ _light: string;
410
+ _dark: string;
411
+ };
412
+ };
413
+ muted: {
414
+ value: {
415
+ _light: string;
416
+ _dark: string;
417
+ };
418
+ };
419
+ emphasized: {
420
+ value: {
421
+ _light: string;
422
+ _dark: string;
423
+ };
424
+ };
425
+ solid: {
426
+ value: {
427
+ _light: string;
428
+ _dark: string;
429
+ };
430
+ };
431
+ focusRing: {
432
+ value: {
433
+ _light: string;
434
+ _dark: string;
435
+ };
436
+ };
437
+ border: {
438
+ value: {
439
+ _light: string;
363
440
  _dark: string;
364
441
  };
365
442
  };
@@ -641,6 +718,18 @@ export declare const semanticColors: {
641
718
  _dark: string;
642
719
  };
643
720
  };
721
+ hover: {
722
+ value: {
723
+ base: string;
724
+ _dark: string;
725
+ };
726
+ };
727
+ active: {
728
+ value: {
729
+ base: string;
730
+ _dark: string;
731
+ };
732
+ };
644
733
  code: {
645
734
  value: {
646
735
  base: string;
@@ -680,13 +769,22 @@ export declare const semanticColors: {
680
769
  button: {
681
770
  primary: {
682
771
  default: {
683
- value: string;
772
+ value: {
773
+ base: string;
774
+ _dark: string;
775
+ };
684
776
  };
685
777
  hover: {
686
- value: string;
778
+ value: {
779
+ base: string;
780
+ _dark: string;
781
+ };
687
782
  };
688
783
  pressed: {
689
- value: string;
784
+ value: {
785
+ base: string;
786
+ _dark: string;
787
+ };
690
788
  };
691
789
  disabled: {
692
790
  value: string;
@@ -844,6 +942,12 @@ export declare const semanticColors: {
844
942
  _dark: string;
845
943
  };
846
944
  };
945
+ "yellow-dark": {
946
+ value: {
947
+ base: string;
948
+ _dark: string;
949
+ };
950
+ };
847
951
  "sand-light": {
848
952
  value: {
849
953
  base: string;
@@ -898,7 +1002,57 @@ export declare const semanticColors: {
898
1002
  blue: {
899
1003
  border: {
900
1004
  value: {
901
- base: string;
1005
+ _light: string;
1006
+ _dark: string;
1007
+ };
1008
+ };
1009
+ };
1010
+ orange: {
1011
+ contrast: {
1012
+ value: {
1013
+ _light: string;
1014
+ _dark: string;
1015
+ };
1016
+ };
1017
+ fg: {
1018
+ value: {
1019
+ _light: string;
1020
+ _dark: string;
1021
+ };
1022
+ };
1023
+ subtle: {
1024
+ value: {
1025
+ _light: string;
1026
+ _dark: string;
1027
+ };
1028
+ };
1029
+ muted: {
1030
+ value: {
1031
+ _light: string;
1032
+ _dark: string;
1033
+ };
1034
+ };
1035
+ emphasized: {
1036
+ value: {
1037
+ _light: string;
1038
+ _dark: string;
1039
+ };
1040
+ };
1041
+ solid: {
1042
+ value: {
1043
+ _light: string;
1044
+ _dark: string;
1045
+ };
1046
+ };
1047
+ focusRing: {
1048
+ value: {
1049
+ _light: string;
1050
+ _dark: string;
1051
+ };
1052
+ };
1053
+ border: {
1054
+ value: {
1055
+ _light: string;
902
1056
  _dark: string;
903
1057
  };
904
1058
  };