@opencode-ai/ui 0.0.0-dev-19214 → 0.0.0-dev-19217

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.
@@ -98,6 +98,14 @@ declare const icons: {
98
98
  viewBox: string;
99
99
  body: string;
100
100
  };
101
+ "outline-worktree": {
102
+ viewBox: string;
103
+ body: string;
104
+ };
105
+ "outline-trash": {
106
+ viewBox: string;
107
+ body: string;
108
+ };
101
109
  close: {
102
110
  viewBox: string;
103
111
  body: string;
@@ -4,7 +4,7 @@ import type { ComponentProps } from "solid-js";
4
4
  import "./tooltip.css";
5
5
  export interface TooltipProps extends ComponentProps<typeof Root> {
6
6
  value: JSX.Element;
7
- appearance?: "standard" | "compact";
7
+ appearance?: "standard" | "compact" | "large";
8
8
  class?: string;
9
9
  contentClass?: string;
10
10
  contentStyle?: JSX.CSSProperties;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode-ai/ui",
3
- "version": "0.0.0-dev-19214",
3
+ "version": "0.0.0-dev-19217",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -231,6 +231,7 @@
231
231
  [data-component="button-v2"][data-variant="ghost-muted"] {
232
232
  background-color: transparent;
233
233
  color: var(--v2-text-text-muted);
234
+ font-weight: 440;
234
235
  }
235
236
 
236
237
  [data-component="button-v2"][data-variant="ghost-muted"] [data-slot="icon-svg"] {
@@ -100,6 +100,14 @@ const icons = {
100
100
  viewBox: "0 0 16 16",
101
101
  body: `<path d="M2 10.668V14.0013H10.6667M13.9974 10.6667V2H2.66406M13.9974 10.668V14.0013H10.6641M2 10V2H5.33333" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="square"/><path d="M10.6693 10.6654V5.33203H5.33594V10.6654H10.6693Z" fill="currentColor"/>`,
102
102
  },
103
+ "outline-worktree": {
104
+ viewBox: "0 0 16 16",
105
+ body: `<path d="M12 3.11133L14.3885 5.49977L12 7.88822M14.5 5.49972H10.058L5.13456 11.8139M14.5 11.6606L8.5 11.6606M5.50012 11.6597H1.5" stroke="currentColor"/>`,
106
+ },
107
+ "outline-trash": {
108
+ viewBox: "0 0 16 16",
109
+ body: `<path d="M2.44434 4.22224H13.5554M5.99994 4.22224V2.44446C5.99994 1.95557 5.99992 1.55557 5.99992 1.55557H9.99989C9.99989 1.55557 9.99994 1.95557 9.99994 2.44446V4.22224M6.55545 7.77779L6.7485 11.7778M9.44437 7.77779L9.2513 11.7778M12.1756 6.88891L11.8666 12.7556C11.8168 13.7068 11.7748 14.4445 11.7748 14.4445H4.22511C4.22511 14.4445 4.18392 13.7067 4.13414 12.7556L3.82509 6.88891" stroke="currentColor"/>`,
110
+ },
103
111
  close: {
104
112
  viewBox: "0 0 20 20",
105
113
  body: `<path d="M14.4446 5.55566L5.55566 14.4446M5.55566 5.55566L14.4446 14.4446" stroke="currentColor" stroke-linejoin="round"/>`,
@@ -65,6 +65,13 @@
65
65
  }
66
66
  }
67
67
 
68
+ [data-component="tooltip-v2"][data-appearance="large"] {
69
+ padding: 12px;
70
+ font-size: 13px;
71
+ line-height: var(--line-height-compact);
72
+ letter-spacing: -0.04px;
73
+ }
74
+
68
75
  @keyframes tooltipV2In {
69
76
  from {
70
77
  opacity: 0;
@@ -6,7 +6,7 @@ import "./tooltip.css"
6
6
 
7
7
  export interface TooltipProps extends ComponentProps<typeof Root> {
8
8
  value: JSX.Element
9
- appearance?: "standard" | "compact"
9
+ appearance?: "standard" | "compact" | "large"
10
10
  class?: string
11
11
  contentClass?: string
12
12
  contentStyle?: JSX.CSSProperties