@opencode/ui 2.0.21 → 2.0.23
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/dist/context/dialog.d.ts +7 -3
- package/dist/data-display/accordion/accordion.d.ts +3 -1
- package/dist/data-display/project-avatar/project-avatar.d.ts +10 -0
- package/dist/feedback/toast/toast.d.ts +3 -2
- package/dist/i18n/en.d.ts +4 -0
- package/dist/icons/catalog.d.ts +253 -0
- package/dist/icons/icon/additional-icons.d.ts +1 -0
- package/dist/icons/icon/icon.d.ts +1 -237
- package/package.json +5 -1
- package/src/context/dialog.tsx +99 -52
- package/src/data-display/accordion/accordion.tsx +16 -2
- package/src/data-display/project-avatar/project-avatar.tsx +33 -0
- package/src/feedback/toast/toast.tsx +32 -6
- package/src/i18n/en.ts +9 -0
- package/src/icons/catalog.ts +269 -0
- package/src/icons/icon/additional-icons.ts +1 -0
- package/src/icons/icon/icon.tsx +10 -250
- package/src/navigation/tabs/tabs.css +2 -68
- package/src/styles/tailwind/index.css +1 -0
- package/src/styles/theme.css +1 -0
|
@@ -211,11 +211,6 @@
|
|
|
211
211
|
transform 120ms ease;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
&[data-value="review"] {
|
|
215
|
-
padding-left: 8px;
|
|
216
|
-
padding-right: 8px;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
214
|
[data-slot="tabs-trigger"] {
|
|
220
215
|
height: 100%;
|
|
221
216
|
padding: 0 !important;
|
|
@@ -552,18 +547,6 @@
|
|
|
552
547
|
}
|
|
553
548
|
}
|
|
554
549
|
|
|
555
|
-
&[data-value="open-file"],
|
|
556
|
-
&[data-value^="file://"],
|
|
557
|
-
&[data-value="browser"],
|
|
558
|
-
&[data-value^="browser:"] {
|
|
559
|
-
gap: 8px;
|
|
560
|
-
padding-inline-end: 4px;
|
|
561
|
-
|
|
562
|
-
[data-slot="tabs-trigger-close-button"] {
|
|
563
|
-
margin-inline-start: 0;
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
|
|
567
550
|
&:has([data-selected]) {
|
|
568
551
|
background-color: var(--v2-background-bg-layer-02);
|
|
569
552
|
box-shadow: none;
|
|
@@ -581,7 +564,7 @@
|
|
|
581
564
|
font-variation-settings: "slnt" 0;
|
|
582
565
|
font-variant-numeric: tabular-nums;
|
|
583
566
|
|
|
584
|
-
&[data-selected]
|
|
567
|
+
&[data-selected] {
|
|
585
568
|
color: var(--v2-text-text-base);
|
|
586
569
|
}
|
|
587
570
|
|
|
@@ -646,61 +629,12 @@
|
|
|
646
629
|
[data-component="tabs"]
|
|
647
630
|
.session-review-v2-tabs-bar
|
|
648
631
|
[data-slot="tabs-list"]
|
|
649
|
-
> .sticky
|
|
632
|
+
> .sticky {
|
|
650
633
|
left: auto;
|
|
651
634
|
right: auto;
|
|
652
635
|
inset-inline-end: 0;
|
|
653
636
|
}
|
|
654
637
|
|
|
655
|
-
:root
|
|
656
|
-
body
|
|
657
|
-
#review-panel
|
|
658
|
-
[data-component="tabs"]
|
|
659
|
-
.session-review-v2-tabs-bar
|
|
660
|
-
[data-slot="tabs-list"]
|
|
661
|
-
> .session-review-v2-sidebar-toggle-slot.sticky {
|
|
662
|
-
left: auto;
|
|
663
|
-
right: auto;
|
|
664
|
-
inset-inline-start: 0;
|
|
665
|
-
padding-inline-end: 0;
|
|
666
|
-
|
|
667
|
-
&::before {
|
|
668
|
-
content: "";
|
|
669
|
-
position: absolute;
|
|
670
|
-
top: 50%;
|
|
671
|
-
bottom: auto;
|
|
672
|
-
inset-inline-start: auto;
|
|
673
|
-
inset-inline-end: 100%;
|
|
674
|
-
transform: translateY(-50%);
|
|
675
|
-
width: 12px;
|
|
676
|
-
height: 28px;
|
|
677
|
-
background-color: var(--v2-background-bg-base);
|
|
678
|
-
background-image: none;
|
|
679
|
-
pointer-events: none;
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
&::after {
|
|
683
|
-
content: "";
|
|
684
|
-
position: absolute;
|
|
685
|
-
top: 50%;
|
|
686
|
-
inset-inline-start: 100%;
|
|
687
|
-
inset-inline-end: auto;
|
|
688
|
-
transform: translateY(-50%);
|
|
689
|
-
width: 8px;
|
|
690
|
-
height: 28px;
|
|
691
|
-
pointer-events: none;
|
|
692
|
-
background: linear-gradient(90deg, var(--v2-background-bg-base), transparent);
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
&:dir(rtl)::after {
|
|
696
|
-
background: linear-gradient(270deg, var(--v2-background-bg-base), transparent);
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
[data-component="icon-button-v2"]::after {
|
|
700
|
-
display: none;
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
|
|
704
638
|
:root body #review-panel [data-component="tabs"] .session-review-v2-open-in-app-slot {
|
|
705
639
|
flex-shrink: 0;
|
|
706
640
|
margin-inline-start: auto;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
@source not "../../../../desktop/src/renderer/**/*.test.{ts,tsx}";
|
|
11
11
|
@source "../../../../enterprise/src";
|
|
12
12
|
@source "../../../../session-ui/src";
|
|
13
|
+
@source "../../../../gui-extensions/src";
|
|
13
14
|
@source not "../../../../session-ui/src/**/*.test.{ts,tsx}";
|
|
14
15
|
@source "../../../../storybook";
|
|
15
16
|
@source "../../../src";
|