@opencode/ui 2.2.6 → 2.3.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.
- package/dist/components/diagram-preview.d.ts +9 -0
- package/dist/components/image-zoom.d.ts +4 -0
- package/dist/components/provider-icon.d.ts +2 -0
- package/dist/data-display/badge/badge.d.ts +1 -1
- package/dist/data-display/diff-changes/diff-changes.d.ts +2 -0
- package/dist/data-display/project-avatar/project-avatar.d.ts +2 -0
- package/dist/feedback/toast/toast.d.ts +2 -0
- package/dist/forms/redirect-paste/redirect-paste.d.ts +23 -0
- package/dist/i18n/am.d.ts +1 -0
- package/dist/i18n/ar.d.ts +1 -0
- package/dist/i18n/az.d.ts +1 -0
- package/dist/i18n/bg.d.ts +1 -0
- package/dist/i18n/bn.d.ts +1 -0
- package/dist/i18n/br.d.ts +1 -0
- package/dist/i18n/bs.d.ts +1 -0
- package/dist/i18n/ca.d.ts +1 -0
- package/dist/i18n/cs.d.ts +1 -0
- package/dist/i18n/da.d.ts +1 -0
- package/dist/i18n/de.d.ts +1 -0
- package/dist/i18n/dv.d.ts +1 -0
- package/dist/i18n/dz.d.ts +1 -0
- package/dist/i18n/el.d.ts +1 -0
- package/dist/i18n/en.d.ts +52 -0
- package/dist/i18n/es.d.ts +1 -0
- package/dist/i18n/et.d.ts +1 -0
- package/dist/i18n/fa.d.ts +1 -0
- package/dist/i18n/fi.d.ts +1 -0
- package/dist/i18n/fo.d.ts +1 -0
- package/dist/i18n/fr.d.ts +1 -0
- package/dist/i18n/he.d.ts +1 -0
- package/dist/i18n/hi.d.ts +1 -0
- package/dist/i18n/hr.d.ts +1 -0
- package/dist/i18n/hu.d.ts +1 -0
- package/dist/i18n/hy.d.ts +1 -0
- package/dist/i18n/id.d.ts +1 -0
- package/dist/i18n/is.d.ts +1 -0
- package/dist/i18n/it.d.ts +1 -0
- package/dist/i18n/ja.d.ts +1 -0
- package/dist/i18n/ka.d.ts +1 -0
- package/dist/i18n/km.d.ts +1 -0
- package/dist/i18n/ko.d.ts +1 -0
- package/dist/i18n/lo.d.ts +1 -0
- package/dist/i18n/lt.d.ts +1 -0
- package/dist/i18n/lv.d.ts +1 -0
- package/dist/i18n/mk.d.ts +1 -0
- package/dist/i18n/mn.d.ts +1 -0
- package/dist/i18n/ms.d.ts +1 -0
- package/dist/i18n/my.d.ts +1 -0
- package/dist/i18n/ne.d.ts +1 -0
- package/dist/i18n/nl.d.ts +1 -0
- package/dist/i18n/pa.d.ts +1 -0
- package/dist/i18n/pl.d.ts +1 -0
- package/dist/i18n/ro.d.ts +1 -0
- package/dist/i18n/ru.d.ts +1 -0
- package/dist/i18n/si.d.ts +1 -0
- package/dist/i18n/sk.d.ts +1 -0
- package/dist/i18n/sl.d.ts +1 -0
- package/dist/i18n/sq.d.ts +1 -0
- package/dist/i18n/sr.d.ts +1 -0
- package/dist/i18n/sv.d.ts +1 -0
- package/dist/i18n/tg.d.ts +1 -0
- package/dist/i18n/th.d.ts +1 -0
- package/dist/i18n/tk.d.ts +1 -0
- package/dist/i18n/tr.d.ts +1 -0
- package/dist/i18n/uk.d.ts +1 -0
- package/dist/i18n/ur.d.ts +1 -0
- package/dist/i18n/uz.d.ts +1 -0
- package/dist/i18n/vi.d.ts +1 -0
- package/dist/i18n/zh.d.ts +1 -0
- package/dist/i18n/zht.d.ts +1 -0
- package/dist/icons/catalog.d.ts +4 -0
- package/package.json +124 -119
- package/src/components/diagram-preview.css +95 -0
- package/src/components/diagram-preview.tsx +332 -0
- package/src/components/image-preview.tsx +6 -20
- package/src/components/image-zoom.ts +18 -0
- package/src/components/provider-icon.tsx +7 -2
- package/src/data-display/badge/badge.css +6 -0
- package/src/data-display/badge/badge.tsx +1 -1
- package/src/data-display/diff-changes/diff-changes.tsx +10 -2
- package/src/data-display/project-avatar/project-avatar.css +13 -0
- package/src/data-display/project-avatar/project-avatar.tsx +14 -1
- package/src/feedback/toast/toast.tsx +11 -1
- package/src/forms/inline-input/inline-input.css +0 -1
- package/src/forms/redirect-paste/redirect-paste.tsx +75 -0
- package/src/forms/search-list/search-list.tsx +14 -6
- package/src/forms/select/select.tsx +7 -1
- package/src/i18n/am.ts +1 -0
- package/src/i18n/ar.ts +1 -0
- package/src/i18n/az.ts +1 -0
- package/src/i18n/bg.ts +1 -0
- package/src/i18n/bn.ts +1 -0
- package/src/i18n/br.ts +1 -0
- package/src/i18n/bs.ts +1 -0
- package/src/i18n/ca.ts +1 -0
- package/src/i18n/cs.ts +1 -0
- package/src/i18n/da.ts +1 -0
- package/src/i18n/de.ts +1 -0
- package/src/i18n/dv.ts +1 -0
- package/src/i18n/dz.ts +1 -0
- package/src/i18n/el.ts +1 -0
- package/src/i18n/en.ts +53 -0
- package/src/i18n/es.ts +1 -0
- package/src/i18n/et.ts +1 -0
- package/src/i18n/fa.ts +1 -0
- package/src/i18n/fi.ts +1 -0
- package/src/i18n/fo.ts +1 -0
- package/src/i18n/fr.ts +1 -0
- package/src/i18n/he.ts +1 -0
- package/src/i18n/hi.ts +1 -0
- package/src/i18n/hr.ts +1 -0
- package/src/i18n/hu.ts +1 -0
- package/src/i18n/hy.ts +1 -0
- package/src/i18n/id.ts +1 -0
- package/src/i18n/is.ts +1 -0
- package/src/i18n/it.ts +1 -0
- package/src/i18n/ja.ts +1 -0
- package/src/i18n/ka.ts +1 -0
- package/src/i18n/km.ts +1 -0
- package/src/i18n/ko.ts +1 -0
- package/src/i18n/lo.ts +1 -0
- package/src/i18n/lt.ts +1 -0
- package/src/i18n/lv.ts +1 -0
- package/src/i18n/mk.ts +1 -0
- package/src/i18n/mn.ts +1 -0
- package/src/i18n/ms.ts +1 -0
- package/src/i18n/my.ts +1 -0
- package/src/i18n/ne.ts +1 -0
- package/src/i18n/nl.ts +1 -0
- package/src/i18n/no.ts +1 -0
- package/src/i18n/pa.ts +1 -0
- package/src/i18n/pl.ts +1 -0
- package/src/i18n/ro.ts +1 -0
- package/src/i18n/ru.ts +1 -0
- package/src/i18n/si.ts +1 -0
- package/src/i18n/sk.ts +1 -0
- package/src/i18n/sl.ts +1 -0
- package/src/i18n/sq.ts +1 -0
- package/src/i18n/sr.ts +1 -0
- package/src/i18n/sv.ts +1 -0
- package/src/i18n/tg.ts +1 -0
- package/src/i18n/th.ts +1 -0
- package/src/i18n/tk.ts +1 -0
- package/src/i18n/tr.ts +1 -0
- package/src/i18n/uk.ts +4 -3
- package/src/i18n/ur.ts +1 -0
- package/src/i18n/uz.ts +1 -0
- package/src/i18n/vi.ts +1 -0
- package/src/i18n/zh.ts +1 -0
- package/src/i18n/zht.ts +1 -0
- package/src/icons/catalog.ts +4 -0
- package/src/icons/icon/additional-icons.ts +4 -2
- package/src/icons/new-icons.ts +0 -1
- package/src/navigation/menu/menu.tsx +3 -0
- package/src/overlays/tooltip/tooltip.tsx +2 -0
- package/src/styles/index.css +1 -0
package/dist/i18n/sr.d.ts
CHANGED
|
@@ -173,6 +173,7 @@ export declare const dict: {
|
|
|
173
173
|
"ui.common.dismiss": string;
|
|
174
174
|
"ui.common.close": string;
|
|
175
175
|
"ui.common.next": string;
|
|
176
|
+
"ui.common.continue": string;
|
|
176
177
|
"ui.common.submit": string;
|
|
177
178
|
"ui.common.showMore": string;
|
|
178
179
|
"ui.permission.deny": string;
|
package/dist/i18n/sv.d.ts
CHANGED
|
@@ -196,6 +196,7 @@ export declare const dict: {
|
|
|
196
196
|
"ui.common.dismiss": string;
|
|
197
197
|
"ui.common.close": string;
|
|
198
198
|
"ui.common.next": string;
|
|
199
|
+
"ui.common.continue": string;
|
|
199
200
|
"ui.common.submit": string;
|
|
200
201
|
"ui.common.showMore": string;
|
|
201
202
|
"ui.permission.deny": string;
|
package/dist/i18n/tg.d.ts
CHANGED
|
@@ -159,6 +159,7 @@ export declare const dict: {
|
|
|
159
159
|
"ui.common.dismiss": string;
|
|
160
160
|
"ui.common.close": string;
|
|
161
161
|
"ui.common.next": string;
|
|
162
|
+
"ui.common.continue": string;
|
|
162
163
|
"ui.common.submit": string;
|
|
163
164
|
"ui.common.showMore": string;
|
|
164
165
|
"ui.permission.deny": string;
|
package/dist/i18n/th.d.ts
CHANGED
|
@@ -155,6 +155,7 @@ export declare const dict: {
|
|
|
155
155
|
"ui.common.dismiss": string;
|
|
156
156
|
"ui.common.close": string;
|
|
157
157
|
"ui.common.next": string;
|
|
158
|
+
"ui.common.continue": string;
|
|
158
159
|
"ui.common.submit": string;
|
|
159
160
|
"ui.common.showMore": string;
|
|
160
161
|
"ui.permission.deny": string;
|
package/dist/i18n/tk.d.ts
CHANGED
|
@@ -159,6 +159,7 @@ export declare const dict: {
|
|
|
159
159
|
"ui.common.dismiss": string;
|
|
160
160
|
"ui.common.close": string;
|
|
161
161
|
"ui.common.next": string;
|
|
162
|
+
"ui.common.continue": string;
|
|
162
163
|
"ui.common.submit": string;
|
|
163
164
|
"ui.common.showMore": string;
|
|
164
165
|
"ui.permission.deny": string;
|
package/dist/i18n/tr.d.ts
CHANGED
|
@@ -156,6 +156,7 @@ export declare const dict: {
|
|
|
156
156
|
"ui.common.dismiss": string;
|
|
157
157
|
"ui.common.close": string;
|
|
158
158
|
"ui.common.next": string;
|
|
159
|
+
"ui.common.continue": string;
|
|
159
160
|
"ui.common.submit": string;
|
|
160
161
|
"ui.common.showMore": string;
|
|
161
162
|
"ui.common.moreCount.one": string;
|
package/dist/i18n/uk.d.ts
CHANGED
|
@@ -187,6 +187,7 @@ export declare const dict: {
|
|
|
187
187
|
"ui.common.dismiss": string;
|
|
188
188
|
"ui.common.close": string;
|
|
189
189
|
"ui.common.next": string;
|
|
190
|
+
"ui.common.continue": string;
|
|
190
191
|
"ui.common.submit": string;
|
|
191
192
|
"ui.common.showMore": string;
|
|
192
193
|
"ui.permission.deny": string;
|
package/dist/i18n/ur.d.ts
CHANGED
|
@@ -159,6 +159,7 @@ export declare const dict: {
|
|
|
159
159
|
"ui.common.dismiss": string;
|
|
160
160
|
"ui.common.close": string;
|
|
161
161
|
"ui.common.next": string;
|
|
162
|
+
"ui.common.continue": string;
|
|
162
163
|
"ui.common.submit": string;
|
|
163
164
|
"ui.common.showMore": string;
|
|
164
165
|
"ui.permission.deny": string;
|
package/dist/i18n/uz.d.ts
CHANGED
|
@@ -159,6 +159,7 @@ export declare const dict: {
|
|
|
159
159
|
"ui.common.dismiss": string;
|
|
160
160
|
"ui.common.close": string;
|
|
161
161
|
"ui.common.next": string;
|
|
162
|
+
"ui.common.continue": string;
|
|
162
163
|
"ui.common.submit": string;
|
|
163
164
|
"ui.common.showMore": string;
|
|
164
165
|
"ui.permission.deny": string;
|
package/dist/i18n/vi.d.ts
CHANGED
|
@@ -164,6 +164,7 @@ export declare const dict: {
|
|
|
164
164
|
"ui.common.dismiss": string;
|
|
165
165
|
"ui.common.close": string;
|
|
166
166
|
"ui.common.next": string;
|
|
167
|
+
"ui.common.continue": string;
|
|
167
168
|
"ui.common.submit": string;
|
|
168
169
|
"ui.common.showMore": string;
|
|
169
170
|
"ui.permission.deny": string;
|
package/dist/i18n/zh.d.ts
CHANGED
|
@@ -152,6 +152,7 @@ export declare const dict: {
|
|
|
152
152
|
"ui.common.dismiss": string;
|
|
153
153
|
"ui.common.close": string;
|
|
154
154
|
"ui.common.next": string;
|
|
155
|
+
"ui.common.continue": string;
|
|
155
156
|
"ui.common.submit": string;
|
|
156
157
|
"ui.common.showMore": string;
|
|
157
158
|
"ui.permission.deny": string;
|
package/dist/i18n/zht.d.ts
CHANGED
|
@@ -152,6 +152,7 @@ export declare const dict: {
|
|
|
152
152
|
"ui.common.dismiss": string;
|
|
153
153
|
"ui.common.close": string;
|
|
154
154
|
"ui.common.next": string;
|
|
155
|
+
"ui.common.continue": string;
|
|
155
156
|
"ui.common.submit": string;
|
|
156
157
|
"ui.common.showMore": string;
|
|
157
158
|
"ui.permission.deny": string;
|
package/dist/icons/catalog.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opencode/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -36,244 +36,249 @@
|
|
|
36
36
|
"exports": {
|
|
37
37
|
"./package.json": "./package.json",
|
|
38
38
|
"./accordion": {
|
|
39
|
-
"
|
|
40
|
-
"
|
|
39
|
+
"types": "./dist/data-display/accordion/accordion.d.ts",
|
|
40
|
+
"import": "./src/data-display/accordion/accordion.tsx"
|
|
41
41
|
},
|
|
42
42
|
"./activity-ring": {
|
|
43
|
-
"
|
|
44
|
-
"
|
|
43
|
+
"types": "./dist/feedback/activity-ring/activity-ring.d.ts",
|
|
44
|
+
"import": "./src/feedback/activity-ring/activity-ring.tsx"
|
|
45
45
|
},
|
|
46
46
|
"./avatar": {
|
|
47
|
-
"
|
|
48
|
-
"
|
|
47
|
+
"types": "./dist/data-display/avatar/avatar.d.ts",
|
|
48
|
+
"import": "./src/data-display/avatar/avatar.tsx"
|
|
49
49
|
},
|
|
50
50
|
"./badge": {
|
|
51
|
-
"
|
|
52
|
-
"
|
|
51
|
+
"types": "./dist/data-display/badge/badge.d.ts",
|
|
52
|
+
"import": "./src/data-display/badge/badge.tsx"
|
|
53
53
|
},
|
|
54
54
|
"./button": {
|
|
55
|
-
"
|
|
56
|
-
"
|
|
55
|
+
"types": "./dist/actions/button/button.d.ts",
|
|
56
|
+
"import": "./src/actions/button/button.tsx"
|
|
57
57
|
},
|
|
58
58
|
"./button.css": "./src/actions/button/button.css",
|
|
59
59
|
"./checkbox": {
|
|
60
|
-
"
|
|
61
|
-
"
|
|
60
|
+
"types": "./dist/forms/checkbox/checkbox.d.ts",
|
|
61
|
+
"import": "./src/forms/checkbox/checkbox.tsx"
|
|
62
62
|
},
|
|
63
63
|
"./dialog": {
|
|
64
|
-
"
|
|
65
|
-
"
|
|
64
|
+
"types": "./dist/overlays/dialog/dialog.d.ts",
|
|
65
|
+
"import": "./src/overlays/dialog/dialog.tsx"
|
|
66
66
|
},
|
|
67
67
|
"./diff-changes": {
|
|
68
|
-
"
|
|
69
|
-
"
|
|
68
|
+
"types": "./dist/data-display/diff-changes/diff-changes.d.ts",
|
|
69
|
+
"import": "./src/data-display/diff-changes/diff-changes.tsx"
|
|
70
70
|
},
|
|
71
71
|
"./divider": {
|
|
72
|
-
"
|
|
73
|
-
"
|
|
72
|
+
"types": "./dist/layout/divider/divider.d.ts",
|
|
73
|
+
"import": "./src/layout/divider/divider.tsx"
|
|
74
74
|
},
|
|
75
75
|
"./document-surface.css": "./src/components/document-surface.css",
|
|
76
76
|
"./field": {
|
|
77
|
-
"
|
|
78
|
-
"
|
|
77
|
+
"types": "./dist/forms/field/field.d.ts",
|
|
78
|
+
"import": "./src/forms/field/field.tsx"
|
|
79
79
|
},
|
|
80
80
|
"./file-tree.css": "./src/styles/file-tree.css",
|
|
81
81
|
"./icon": {
|
|
82
|
-
"
|
|
83
|
-
"
|
|
82
|
+
"types": "./dist/icons/icon/icon.d.ts",
|
|
83
|
+
"import": "./src/icons/icon/icon.tsx"
|
|
84
84
|
},
|
|
85
85
|
"./icons/catalog": {
|
|
86
|
-
"
|
|
87
|
-
"
|
|
86
|
+
"types": "./dist/icons/catalog.d.ts",
|
|
87
|
+
"import": "./src/icons/catalog.ts"
|
|
88
88
|
},
|
|
89
89
|
"./icon-button": {
|
|
90
|
-
"
|
|
91
|
-
"
|
|
90
|
+
"types": "./dist/actions/icon-button/icon-button.d.ts",
|
|
91
|
+
"import": "./src/actions/icon-button/icon-button.tsx"
|
|
92
92
|
},
|
|
93
93
|
"./inline-input": {
|
|
94
|
-
"
|
|
95
|
-
"
|
|
94
|
+
"types": "./dist/forms/inline-input/inline-input.d.ts",
|
|
95
|
+
"import": "./src/forms/inline-input/inline-input.tsx"
|
|
96
96
|
},
|
|
97
97
|
"./keybind": {
|
|
98
|
-
"
|
|
99
|
-
"
|
|
98
|
+
"types": "./dist/data-display/keybind/keybind.d.ts",
|
|
99
|
+
"import": "./src/data-display/keybind/keybind.tsx"
|
|
100
100
|
},
|
|
101
101
|
"./line-comment": {
|
|
102
|
-
"
|
|
103
|
-
"
|
|
102
|
+
"types": "./dist/data-display/line-comment/line-comment.d.ts",
|
|
103
|
+
"import": "./src/data-display/line-comment/line-comment.tsx"
|
|
104
104
|
},
|
|
105
105
|
"./line-comment/machine": {
|
|
106
|
-
"
|
|
107
|
-
"
|
|
106
|
+
"types": "./dist/data-display/line-comment/machine.d.ts",
|
|
107
|
+
"import": "./src/data-display/line-comment/machine.ts"
|
|
108
108
|
},
|
|
109
109
|
"./loader": {
|
|
110
|
-
"
|
|
111
|
-
"
|
|
110
|
+
"types": "./dist/feedback/loader/loader.d.ts",
|
|
111
|
+
"import": "./src/feedback/loader/loader.tsx"
|
|
112
112
|
},
|
|
113
113
|
"./mcp-sign-in": {
|
|
114
|
-
"
|
|
115
|
-
"
|
|
114
|
+
"types": "./dist/overlays/mcp-sign-in/mcp-sign-in.d.ts",
|
|
115
|
+
"import": "./src/overlays/mcp-sign-in/mcp-sign-in.ts"
|
|
116
116
|
},
|
|
117
117
|
"./mcp-sign-in/machine": {
|
|
118
|
-
"
|
|
119
|
-
"
|
|
118
|
+
"types": "./dist/overlays/mcp-sign-in/machine.d.ts",
|
|
119
|
+
"import": "./src/overlays/mcp-sign-in/machine.ts"
|
|
120
120
|
},
|
|
121
121
|
"./menu": {
|
|
122
|
-
"
|
|
123
|
-
"
|
|
122
|
+
"types": "./dist/navigation/menu/menu.d.ts",
|
|
123
|
+
"import": "./src/navigation/menu/menu.tsx"
|
|
124
124
|
},
|
|
125
125
|
"./motion": {
|
|
126
|
-
"
|
|
127
|
-
"
|
|
126
|
+
"types": "./dist/motion/index.d.ts",
|
|
127
|
+
"import": "./src/motion/index.ts"
|
|
128
128
|
},
|
|
129
129
|
"./motion/solid": {
|
|
130
|
-
"
|
|
131
|
-
"
|
|
130
|
+
"types": "./dist/motion/solid.d.ts",
|
|
131
|
+
"import": "./src/motion/solid.ts"
|
|
132
132
|
},
|
|
133
133
|
"./motion-tuning": {
|
|
134
|
-
"
|
|
135
|
-
"
|
|
134
|
+
"types": "./dist/motion-tuning.d.ts",
|
|
135
|
+
"import": "./src/motion-tuning.ts"
|
|
136
136
|
},
|
|
137
137
|
"./motion-tuning-features": {
|
|
138
|
-
"
|
|
139
|
-
"
|
|
138
|
+
"types": "./dist/motion-tuning-features.d.ts",
|
|
139
|
+
"import": "./src/motion-tuning-features.ts"
|
|
140
140
|
},
|
|
141
141
|
"./motion-tuning-fields": {
|
|
142
|
-
"
|
|
143
|
-
"
|
|
142
|
+
"types": "./dist/motion-tuning-fields.d.ts",
|
|
143
|
+
"import": "./src/motion-tuning-fields.ts"
|
|
144
144
|
},
|
|
145
145
|
"./progress-circle": {
|
|
146
|
-
"
|
|
147
|
-
"
|
|
146
|
+
"types": "./dist/feedback/progress-circle/progress-circle.d.ts",
|
|
147
|
+
"import": "./src/feedback/progress-circle/progress-circle.tsx"
|
|
148
148
|
},
|
|
149
149
|
"./project-avatar": {
|
|
150
|
-
"
|
|
151
|
-
"
|
|
150
|
+
"types": "./dist/data-display/project-avatar/project-avatar.d.ts",
|
|
151
|
+
"import": "./src/data-display/project-avatar/project-avatar.tsx"
|
|
152
152
|
},
|
|
153
153
|
"./radio": {
|
|
154
|
-
"
|
|
155
|
-
"
|
|
154
|
+
"types": "./dist/forms/radio/radio.d.ts",
|
|
155
|
+
"import": "./src/forms/radio/radio.tsx"
|
|
156
|
+
},
|
|
157
|
+
"./redirect-paste": {
|
|
158
|
+
"types": "./dist/forms/redirect-paste/redirect-paste.d.ts",
|
|
159
|
+
"import": "./src/forms/redirect-paste/redirect-paste.tsx"
|
|
156
160
|
},
|
|
157
161
|
"./search-list": {
|
|
158
|
-
"
|
|
159
|
-
"
|
|
162
|
+
"types": "./dist/forms/search-list/search-list.d.ts",
|
|
163
|
+
"import": "./src/forms/search-list/search-list.tsx"
|
|
160
164
|
},
|
|
161
165
|
"./segmented-control": {
|
|
162
|
-
"
|
|
163
|
-
"
|
|
166
|
+
"types": "./dist/navigation/segmented-control/segmented-control.d.ts",
|
|
167
|
+
"import": "./src/navigation/segmented-control/segmented-control.tsx"
|
|
164
168
|
},
|
|
165
169
|
"./select": {
|
|
166
|
-
"
|
|
167
|
-
"
|
|
170
|
+
"types": "./dist/forms/select/select.d.ts",
|
|
171
|
+
"import": "./src/forms/select/select.tsx"
|
|
168
172
|
},
|
|
173
|
+
"./select.css": "./src/forms/select/select.css",
|
|
169
174
|
"./split-button": {
|
|
170
|
-
"
|
|
171
|
-
"
|
|
175
|
+
"types": "./dist/actions/split-button/split-button.d.ts",
|
|
176
|
+
"import": "./src/actions/split-button/split-button.tsx"
|
|
172
177
|
},
|
|
173
178
|
"./switch": {
|
|
174
|
-
"
|
|
175
|
-
"
|
|
179
|
+
"types": "./dist/forms/switch/switch.d.ts",
|
|
180
|
+
"import": "./src/forms/switch/switch.tsx"
|
|
176
181
|
},
|
|
177
182
|
"./tab-state-indicator": {
|
|
178
|
-
"
|
|
179
|
-
"
|
|
183
|
+
"types": "./dist/navigation/tab-state-indicator.d.ts",
|
|
184
|
+
"import": "./src/navigation/tab-state-indicator.tsx"
|
|
180
185
|
},
|
|
181
186
|
"./tabs": {
|
|
182
|
-
"
|
|
183
|
-
"
|
|
187
|
+
"types": "./dist/navigation/tabs/tabs.d.ts",
|
|
188
|
+
"import": "./src/navigation/tabs/tabs.tsx"
|
|
184
189
|
},
|
|
185
190
|
"./text-input": {
|
|
186
|
-
"
|
|
187
|
-
"
|
|
191
|
+
"types": "./dist/forms/text-input/text-input.d.ts",
|
|
192
|
+
"import": "./src/forms/text-input/text-input.tsx"
|
|
188
193
|
},
|
|
189
194
|
"./text-input.css": "./src/forms/text-input/text-input.css",
|
|
190
195
|
"./textarea": {
|
|
191
|
-
"
|
|
192
|
-
"
|
|
196
|
+
"types": "./dist/forms/textarea/textarea.d.ts",
|
|
197
|
+
"import": "./src/forms/textarea/textarea.tsx"
|
|
193
198
|
},
|
|
194
199
|
"./typeahead": {
|
|
195
|
-
"
|
|
196
|
-
"
|
|
200
|
+
"types": "./dist/forms/typeahead/typeahead.d.ts",
|
|
201
|
+
"import": "./src/forms/typeahead/typeahead.tsx"
|
|
197
202
|
},
|
|
198
203
|
"./slash": {
|
|
199
|
-
"
|
|
200
|
-
"
|
|
204
|
+
"types": "./dist/typography/slash/slash.d.ts",
|
|
205
|
+
"import": "./src/typography/slash/slash.tsx"
|
|
201
206
|
},
|
|
202
207
|
"./text-shimmer": {
|
|
203
|
-
"
|
|
204
|
-
"
|
|
208
|
+
"types": "./dist/typography/text-shimmer/text-shimmer.d.ts",
|
|
209
|
+
"import": "./src/typography/text-shimmer/text-shimmer.tsx"
|
|
205
210
|
},
|
|
206
211
|
"./toast": {
|
|
207
|
-
"
|
|
208
|
-
"
|
|
212
|
+
"types": "./dist/feedback/toast/toast.d.ts",
|
|
213
|
+
"import": "./src/feedback/toast/toast.tsx"
|
|
209
214
|
},
|
|
210
215
|
"./tooltip": {
|
|
211
|
-
"
|
|
212
|
-
"
|
|
216
|
+
"types": "./dist/overlays/tooltip/tooltip.d.ts",
|
|
217
|
+
"import": "./src/overlays/tooltip/tooltip.tsx"
|
|
213
218
|
},
|
|
214
219
|
"./wordmark": {
|
|
215
|
-
"
|
|
216
|
-
"
|
|
220
|
+
"types": "./dist/typography/wordmark/wordmark.d.ts",
|
|
221
|
+
"import": "./src/typography/wordmark/wordmark.tsx"
|
|
217
222
|
},
|
|
218
223
|
"./*": {
|
|
219
|
-
"
|
|
220
|
-
"
|
|
224
|
+
"types": "./dist/components/*.d.ts",
|
|
225
|
+
"import": "./src/components/*.tsx"
|
|
221
226
|
},
|
|
222
227
|
"./i18n/*": {
|
|
223
|
-
"
|
|
224
|
-
"
|
|
228
|
+
"types": "./dist/i18n/*.d.ts",
|
|
229
|
+
"import": "./src/i18n/*.ts"
|
|
225
230
|
},
|
|
226
231
|
"./hooks": {
|
|
227
|
-
"
|
|
228
|
-
"
|
|
232
|
+
"types": "./dist/hooks/index.d.ts",
|
|
233
|
+
"import": "./src/hooks/index.ts"
|
|
229
234
|
},
|
|
230
235
|
"./context": {
|
|
231
|
-
"
|
|
232
|
-
"
|
|
236
|
+
"types": "./dist/context/index.d.ts",
|
|
237
|
+
"import": "./src/context/index.ts"
|
|
233
238
|
},
|
|
234
239
|
"./context/*": {
|
|
235
|
-
"
|
|
236
|
-
"
|
|
240
|
+
"types": "./dist/context/*.d.ts",
|
|
241
|
+
"import": "./src/context/*.tsx"
|
|
237
242
|
},
|
|
238
243
|
"./storybook/scaffold": {
|
|
239
|
-
"
|
|
240
|
-
"
|
|
244
|
+
"types": "./dist/storybook/scaffold.d.ts",
|
|
245
|
+
"import": "./src/storybook/scaffold.tsx"
|
|
241
246
|
},
|
|
242
247
|
"./storybook/fixtures": {
|
|
243
|
-
"
|
|
244
|
-
"
|
|
248
|
+
"types": "./dist/storybook/fixtures.d.ts",
|
|
249
|
+
"import": "./src/storybook/fixtures.ts"
|
|
245
250
|
},
|
|
246
251
|
"./styles": "./src/styles/index.css",
|
|
247
252
|
"./styles/tokens": "./src/styles/tokens/index.css",
|
|
248
253
|
"./styles/tokens/*": "./src/styles/tokens/*",
|
|
249
254
|
"./styles/tailwind": "./src/styles/tailwind/index.css",
|
|
250
255
|
"./theme": {
|
|
251
|
-
"
|
|
252
|
-
"
|
|
256
|
+
"types": "./dist/theme/index.d.ts",
|
|
257
|
+
"import": "./src/theme/index.ts"
|
|
253
258
|
},
|
|
254
259
|
"./theme/*": {
|
|
255
|
-
"
|
|
256
|
-
"
|
|
260
|
+
"types": "./dist/theme/*.d.ts",
|
|
261
|
+
"import": "./src/theme/*.ts"
|
|
257
262
|
},
|
|
258
263
|
"./theme/context": {
|
|
259
|
-
"
|
|
260
|
-
"
|
|
264
|
+
"types": "./dist/theme/context.d.ts",
|
|
265
|
+
"import": "./src/theme/context.tsx"
|
|
261
266
|
},
|
|
262
267
|
"./icons/provider": {
|
|
263
|
-
"
|
|
264
|
-
"
|
|
268
|
+
"types": "./dist/components/provider-icons/types.d.ts",
|
|
269
|
+
"import": "./src/components/provider-icons/types.ts"
|
|
265
270
|
},
|
|
266
271
|
"./icons/file-type": {
|
|
267
|
-
"
|
|
268
|
-
"
|
|
272
|
+
"types": "./dist/components/file-icons/types.d.ts",
|
|
273
|
+
"import": "./src/components/file-icons/types.ts"
|
|
269
274
|
},
|
|
270
275
|
"./icons/file-type-name": {
|
|
271
|
-
"
|
|
272
|
-
"
|
|
276
|
+
"types": "./dist/components/file-icons/choose-icon-name.d.ts",
|
|
277
|
+
"import": "./src/components/file-icons/choose-icon-name.ts"
|
|
273
278
|
},
|
|
274
279
|
"./icons/app": {
|
|
275
|
-
"
|
|
276
|
-
"
|
|
280
|
+
"types": "./dist/components/app-icons/types.d.ts",
|
|
281
|
+
"import": "./src/components/app-icons/types.ts"
|
|
277
282
|
},
|
|
278
283
|
"./fonts/*": "./src/assets/fonts/*",
|
|
279
284
|
"./audio/*": "./src/assets/audio/*"
|
|
@@ -289,7 +294,7 @@
|
|
|
289
294
|
"generate:v2-oc2": "bun run script/build-oc2-v2-overrides.ts"
|
|
290
295
|
},
|
|
291
296
|
"devDependencies": {
|
|
292
|
-
"@hona/strobe": "0.
|
|
297
|
+
"@hona/strobe": "0.34.0",
|
|
293
298
|
"@solidjs/meta": "0.29.4",
|
|
294
299
|
"@tsconfig/node22": "22.0.2",
|
|
295
300
|
"@types/bun": "1.4.3",
|
|
@@ -304,7 +309,7 @@
|
|
|
304
309
|
"dependencies": {
|
|
305
310
|
"@kitlangton/solid-motion": "0.2.2",
|
|
306
311
|
"@kobalte/core": "0.13.13",
|
|
307
|
-
"@opencode/util": "2.
|
|
312
|
+
"@opencode/util": "2.3.0",
|
|
308
313
|
"@pierre/diffs": "1.6.1",
|
|
309
314
|
"@pierre/highlights": "0.2.0",
|
|
310
315
|
"@solid-primitives/event-listener": "2.4.6",
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
[data-component="diagram-preview"] {
|
|
2
|
+
position: fixed;
|
|
3
|
+
inset: 0;
|
|
4
|
+
z-index: 50;
|
|
5
|
+
pointer-events: none;
|
|
6
|
+
|
|
7
|
+
/* The diagram is shown over the dialog stack's overlay, fitted to the window with room for the controls under it. */
|
|
8
|
+
[data-slot="diagram-preview-content"] {
|
|
9
|
+
position: absolute;
|
|
10
|
+
inset: 0;
|
|
11
|
+
pointer-events: auto;
|
|
12
|
+
|
|
13
|
+
&:focus-visible {
|
|
14
|
+
outline: none;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
19
|
+
[data-slot="diagram-preview-content"][data-expanded] {
|
|
20
|
+
animation: diagram-preview-in 150ms ease-out;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
[data-slot="diagram-preview-body"] {
|
|
25
|
+
position: absolute;
|
|
26
|
+
inset: 44px clamp(8px, 3vw, 36px);
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
padding: 12px;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
user-select: none;
|
|
33
|
+
/* A zoomed diagram fades out in the padding instead of being cut at the edge; a fitted one never reaches it. */
|
|
34
|
+
mask-image:
|
|
35
|
+
linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent),
|
|
36
|
+
linear-gradient(to bottom, transparent, #000 12px, #000 calc(100% - 12px), transparent);
|
|
37
|
+
mask-composite: intersect;
|
|
38
|
+
|
|
39
|
+
&[data-zoomed] {
|
|
40
|
+
cursor: grab;
|
|
41
|
+
touch-action: pinch-zoom;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&[data-dragging] {
|
|
45
|
+
cursor: grabbing;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[data-slot="diagram-preview-canvas"] {
|
|
50
|
+
flex: none;
|
|
51
|
+
border-radius: var(--radius-md);
|
|
52
|
+
background: var(--v2-background-bg-layer-02);
|
|
53
|
+
box-shadow: inset 0 0 0 0.5px var(--v2-border-border-base);
|
|
54
|
+
transform-origin: center;
|
|
55
|
+
|
|
56
|
+
> svg {
|
|
57
|
+
display: block;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
[data-slot="diagram-preview-controls"] {
|
|
62
|
+
position: absolute;
|
|
63
|
+
bottom: 12px;
|
|
64
|
+
inset-inline: 0;
|
|
65
|
+
width: fit-content;
|
|
66
|
+
margin-inline: auto;
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
gap: 2px;
|
|
70
|
+
padding: 2px;
|
|
71
|
+
border-radius: 8px;
|
|
72
|
+
background: var(--v2-background-bg-layer-01);
|
|
73
|
+
box-shadow: var(--v2-elevation-floating);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
[data-slot="diagram-preview-zoom-level"] {
|
|
77
|
+
min-width: 52px;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
font-variant-numeric: tabular-nums;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
[data-slot="diagram-preview-divider"] {
|
|
83
|
+
width: 1px;
|
|
84
|
+
height: 16px;
|
|
85
|
+
margin-inline: 2px;
|
|
86
|
+
background: var(--v2-border-border-base);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@keyframes diagram-preview-in {
|
|
91
|
+
from {
|
|
92
|
+
opacity: 0;
|
|
93
|
+
transform: scale(0.98);
|
|
94
|
+
}
|
|
95
|
+
}
|