@opencode-ai/ui 0.0.0-dev-17913 → 0.0.0-dev-202608221251
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/{data-display/accordion → components}/accordion.d.ts +6 -6
- package/dist/components/avatar.d.ts +9 -0
- package/dist/components/button.d.ts +9 -0
- package/dist/components/card.d.ts +1 -1
- package/dist/{forms/checkbox → components}/checkbox.d.ts +2 -2
- package/dist/components/dialog.d.ts +12 -0
- package/dist/{data-display/diff-changes → components}/diff-changes.d.ts +1 -2
- package/dist/components/dropdown-menu.d.ts +80 -0
- package/dist/components/icon-button.d.ts +10 -0
- package/dist/{icons/icon/additional-icons.d.ts → components/icon.d.ts} +8 -8
- package/dist/components/keybind.d.ts +6 -0
- package/dist/components/list.d.ts +1 -1
- package/dist/{feedback/progress-circle → components}/progress-circle.d.ts +0 -2
- package/dist/components/radio-group.d.ts +16 -0
- package/dist/components/scroll-view.d.ts +3 -3
- package/dist/components/select.d.ts +21 -0
- package/dist/{forms/switch → components}/switch.d.ts +2 -4
- package/dist/{navigation/tabs → components}/tabs.d.ts +8 -15
- package/dist/components/tag.d.ts +5 -0
- package/dist/{typography/text-shimmer → components}/text-shimmer.d.ts +0 -1
- package/dist/components/toast.d.ts +56 -0
- package/dist/components/tooltip.d.ts +17 -0
- package/dist/context/i18n.d.ts +7 -10
- package/dist/i18n/ar.d.ts +2 -0
- package/dist/i18n/bg.d.ts +2 -0
- package/dist/i18n/br.d.ts +2 -0
- package/dist/i18n/bs.d.ts +2 -0
- package/dist/i18n/da.d.ts +2 -0
- package/dist/i18n/de.d.ts +2 -0
- package/dist/i18n/en.d.ts +1 -218
- package/dist/i18n/es.d.ts +2 -0
- package/dist/i18n/fr.d.ts +2 -0
- package/dist/i18n/ja.d.ts +2 -0
- package/dist/i18n/km.d.ts +2 -0
- package/dist/i18n/ko.d.ts +2 -0
- package/dist/i18n/lo.d.ts +2 -0
- package/dist/i18n/mk.d.ts +2 -0
- package/dist/i18n/mn.d.ts +2 -0
- package/dist/i18n/my.d.ts +2 -0
- package/dist/i18n/pl.d.ts +2 -0
- package/dist/i18n/ru.d.ts +2 -0
- package/dist/i18n/sr.d.ts +2 -0
- package/dist/i18n/tg.d.ts +2 -0
- package/dist/i18n/th.d.ts +2 -0
- package/dist/i18n/tr.d.ts +2 -0
- package/dist/i18n/zh.d.ts +2 -0
- package/dist/i18n/zht.d.ts +2 -0
- package/dist/v2/components/accordion-v2.d.ts +26 -0
- package/dist/{data-display/avatar/avatar.d.ts → v2/components/avatar-v2.d.ts} +1 -1
- package/dist/v2/components/badge-v2.d.ts +6 -0
- package/dist/v2/components/button-v2.d.ts +10 -0
- package/dist/v2/components/checkbox-v2.d.ts +10 -0
- package/dist/{overlays/dialog/dialog.d.ts → v2/components/dialog-v2.d.ts} +2 -1
- package/dist/v2/components/diff-changes-v2.d.ts +11 -0
- package/dist/v2/components/divider-v2.d.ts +5 -0
- package/dist/{forms/field/field.d.ts → v2/components/field-v2.d.ts} +10 -4
- package/dist/v2/components/icon-button-v2.d.ts +11 -0
- package/dist/{icons/icon → v2/components}/icon.d.ts +1 -20
- package/dist/v2/components/inline-input-v2.d.ts +21 -0
- package/dist/v2/components/keybind-v2.d.ts +7 -0
- package/dist/{data-display/line-comment/line-comment.d.ts → v2/components/line-comment-v2.d.ts} +9 -9
- package/dist/v2/components/loader-v2.d.ts +3 -0
- package/dist/v2/components/menu-v2.d.ts +52 -0
- package/dist/v2/components/progress-circle-v2.d.ts +8 -0
- package/dist/{data-display/project-avatar/project-avatar.d.ts → v2/components/project-avatar-v2.d.ts} +1 -1
- package/dist/v2/components/radio-v2.d.ts +16 -0
- package/dist/{navigation/segmented-control/segmented-control.d.ts → v2/components/segmented-control-v2.d.ts} +5 -5
- package/dist/{forms/select/select.d.ts → v2/components/select-v2.d.ts} +6 -4
- package/dist/v2/components/split-button-v2.d.ts +5 -0
- package/dist/v2/components/switch-v2.d.ts +7 -0
- package/dist/v2/components/tabs-v2.d.ts +34 -0
- package/dist/{forms/text-input/text-input.d.ts → v2/components/text-input-v2.d.ts} +3 -3
- package/dist/v2/components/text-shimmer-v2.d.ts +9 -0
- package/dist/v2/components/textarea-v2.d.ts +7 -0
- package/dist/v2/components/toast-v2.d.ts +57 -0
- package/dist/v2/components/tooltip-v2.d.ts +13 -0
- package/dist/v2/components/wordmark-v2.d.ts +2 -0
- package/package.json +13 -131
- package/src/{data-display/accordion → components}/accordion.css +26 -1
- package/src/{data-display/accordion → components}/accordion.tsx +14 -14
- package/src/components/animated-number.css +11 -29
- package/src/components/animated-number.tsx +2 -2
- package/src/components/avatar.css +49 -0
- package/src/components/avatar.tsx +55 -0
- package/src/components/button.css +194 -0
- package/src/{actions/button → components}/button.tsx +11 -10
- package/src/components/card.css +23 -2
- package/src/components/card.tsx +4 -4
- package/src/{forms/checkbox → components}/checkbox.css +7 -1
- package/src/{forms/checkbox → components}/checkbox.tsx +13 -13
- package/src/components/collapsible.tsx +2 -2
- package/src/components/dialog.css +181 -0
- package/src/components/dialog.tsx +72 -0
- package/src/{data-display/diff-changes → components}/diff-changes.css +19 -22
- package/src/components/diff-changes.tsx +115 -0
- package/src/components/dock-surface.css +9 -2
- package/src/components/dropdown-menu.css +135 -0
- package/src/components/dropdown-menu.tsx +308 -0
- package/src/components/icon-button.css +181 -0
- package/src/components/icon-button.tsx +29 -0
- package/src/components/icon.css +39 -0
- package/src/{icons/icon/additional-icons.ts → components/icon.tsx} +74 -8
- package/src/components/image-preview.tsx +2 -3
- package/src/components/keybind.css +18 -0
- package/src/components/keybind.tsx +20 -0
- package/src/components/list.css +5 -5
- package/src/components/list.tsx +5 -7
- package/src/components/popover.tsx +2 -3
- package/src/components/progress-circle.css +16 -0
- package/src/components/progress-circle.tsx +64 -0
- package/src/components/provider-icon.tsx +1 -1
- package/src/components/radio-group.css +187 -0
- package/src/components/radio-group.tsx +83 -0
- package/src/components/scroll-view.tsx +20 -5
- package/src/components/select.css +201 -0
- package/src/components/select.tsx +174 -0
- package/src/components/sticky-accordion-header.tsx +1 -1
- package/src/components/switch.css +136 -0
- package/src/components/switch.tsx +29 -0
- package/src/{navigation/tabs → components}/tabs.css +229 -39
- package/src/components/tabs.tsx +126 -0
- package/src/components/tag.css +37 -0
- package/src/components/tag.tsx +22 -0
- package/src/components/text-field.tsx +4 -12
- package/src/{typography/text-shimmer → components}/text-shimmer.css +1 -2
- package/src/{typography/text-shimmer → components}/text-shimmer.tsx +0 -1
- package/src/components/toast.css +236 -0
- package/src/components/toast.tsx +185 -0
- package/src/components/tooltip.css +74 -0
- package/src/components/tooltip.tsx +163 -0
- package/src/context/i18n.tsx +14 -17
- package/src/hooks/create-auto-scroll.tsx +0 -20
- package/src/i18n/am.ts +2 -0
- package/src/i18n/ar.ts +2 -0
- package/src/i18n/az.ts +2 -0
- package/src/i18n/bg.ts +2 -0
- package/src/i18n/bn.ts +2 -0
- package/src/i18n/br.ts +2 -0
- package/src/i18n/bs.ts +2 -0
- package/src/i18n/ca.ts +2 -0
- package/src/i18n/cs.ts +2 -0
- package/src/i18n/da.ts +2 -0
- package/src/i18n/de.ts +2 -0
- package/src/i18n/dv.ts +2 -0
- package/src/i18n/dz.ts +2 -0
- package/src/i18n/el.ts +2 -0
- package/src/i18n/en.ts +4 -27
- package/src/i18n/es.ts +2 -0
- package/src/i18n/et.ts +2 -0
- package/src/i18n/fa.ts +2 -0
- package/src/i18n/fi.ts +2 -0
- package/src/i18n/fo.ts +2 -0
- package/src/i18n/fr.ts +2 -0
- package/src/i18n/hi.ts +2 -0
- package/src/i18n/hr.ts +2 -0
- package/src/i18n/hu.ts +2 -0
- package/src/i18n/hy.ts +2 -0
- package/src/i18n/id.ts +2 -0
- package/src/i18n/is.ts +2 -0
- package/src/i18n/it.ts +2 -0
- package/src/i18n/ja.ts +2 -0
- package/src/i18n/ka.ts +2 -0
- package/src/i18n/km.ts +2 -0
- package/src/i18n/ko.ts +2 -0
- package/src/i18n/lo.ts +2 -0
- package/src/i18n/lt.ts +2 -0
- package/src/i18n/lv.ts +2 -0
- package/src/i18n/mk.ts +2 -0
- package/src/i18n/mn.ts +2 -0
- package/src/i18n/ms.ts +2 -0
- package/src/i18n/my.ts +2 -0
- package/src/i18n/ne.ts +2 -0
- package/src/i18n/nl.ts +2 -0
- package/src/i18n/no.ts +2 -0
- package/src/i18n/pa.ts +2 -0
- package/src/i18n/pl.ts +2 -0
- package/src/i18n/ro.ts +2 -0
- package/src/i18n/ru.ts +2 -0
- package/src/i18n/si.ts +2 -0
- package/src/i18n/sk.ts +2 -0
- package/src/i18n/sl.ts +2 -0
- package/src/i18n/sq.ts +2 -0
- package/src/i18n/sr.ts +2 -0
- package/src/i18n/sv.ts +2 -0
- package/src/i18n/tg.ts +2 -0
- package/src/i18n/th.ts +2 -0
- package/src/i18n/tk.ts +2 -0
- package/src/i18n/tr.ts +2 -0
- package/src/i18n/uk.ts +2 -0
- package/src/i18n/ur.ts +2 -0
- package/src/i18n/uz.ts +2 -0
- package/src/i18n/vi.ts +2 -0
- package/src/i18n/zh.ts +2 -0
- package/src/i18n/zht.ts +2 -0
- package/src/styles/index.css +20 -4
- package/src/styles/tailwind/colors.css +0 -1
- package/src/styles/tailwind/index.css +1 -15
- package/src/theme/context.tsx +11 -19
- package/src/theme/themes/oc-2.json +1 -3
- package/src/theme/v2/foreground.ts +0 -1
- package/src/v2/components/accordion-v2.css +139 -0
- package/src/v2/components/accordion-v2.tsx +86 -0
- package/src/{data-display/avatar/avatar.tsx → v2/components/avatar-v2.tsx} +1 -1
- package/src/{data-display/badge/badge.css → v2/components/badge-v2.css} +0 -19
- package/src/{data-display/badge/badge.tsx → v2/components/badge-v2.tsx} +4 -6
- package/src/v2/components/button-v2.tsx +35 -0
- package/src/v2/components/checkbox-v2.css +184 -0
- package/src/v2/components/checkbox-v2.tsx +65 -0
- package/src/{overlays/dialog/dialog.css → v2/components/dialog-v2.css} +0 -3
- package/src/{overlays/dialog/dialog.tsx → v2/components/dialog-v2.tsx} +13 -11
- package/src/v2/components/diff-changes-v2.css +26 -0
- package/src/{data-display/diff-changes/diff-changes.tsx → v2/components/diff-changes-v2.tsx} +2 -7
- package/src/{layout/divider/divider.tsx → v2/components/divider-v2.tsx} +3 -3
- package/src/{forms/field/field.tsx → v2/components/field-v2.tsx} +11 -9
- package/src/v2/components/icon-button-v2.tsx +37 -0
- package/src/{icons/icon → v2/components}/icon.tsx +9 -46
- package/src/v2/components/inline-input-v2.css +225 -0
- package/src/v2/components/inline-input-v2.tsx +107 -0
- package/src/{data-display/keybind/keybind.css → v2/components/keybind-v2.css} +1 -1
- package/src/{data-display/keybind/keybind.tsx → v2/components/keybind-v2.tsx} +3 -3
- package/src/{data-display/line-comment/line-comment.tsx → v2/components/line-comment-v2.tsx} +15 -17
- package/src/{feedback/loader/loader.tsx → v2/components/loader-v2.tsx} +2 -2
- package/src/{navigation/menu/menu.css → v2/components/menu-v2.css} +0 -121
- package/src/{navigation/menu/menu.tsx → v2/components/menu-v2.tsx} +32 -96
- package/src/v2/components/progress-circle-v2.css +13 -0
- package/src/v2/components/progress-circle-v2.tsx +52 -0
- package/src/{data-display/project-avatar/project-avatar.tsx → v2/components/project-avatar-v2.tsx} +1 -1
- package/src/{forms/radio/radio.tsx → v2/components/radio-v2.tsx} +20 -30
- package/src/{navigation/segmented-control/segmented-control.tsx → v2/components/segmented-control-v2.tsx} +8 -9
- package/src/{forms/select/select.css → v2/components/select-v2.css} +8 -2
- package/src/{forms/select/select.tsx → v2/components/select-v2.tsx} +32 -38
- package/src/{actions/split-button/split-button.css → v2/components/split-button-v2.css} +6 -1
- package/src/{actions/split-button/split-button.tsx → v2/components/split-button-v2.tsx} +4 -4
- package/src/{forms/switch/switch.css → v2/components/switch-v2.css} +0 -110
- package/src/v2/components/switch-v2.tsx +28 -0
- package/src/{navigation/tabs/tabs-current.css → v2/components/tabs-v2.css} +9 -24
- package/src/v2/components/tabs-v2.tsx +149 -0
- package/src/{forms/text-input/text-input.tsx → v2/components/text-input-v2.tsx} +4 -4
- package/src/v2/components/text-shimmer-v2.css +125 -0
- package/src/v2/components/text-shimmer-v2.tsx +63 -0
- package/src/{forms/textarea/textarea.tsx → v2/components/textarea-v2.tsx} +3 -3
- package/src/{feedback/toast/toast.tsx → v2/components/toast-v2.tsx} +58 -60
- package/src/{overlays/tooltip/tooltip.css → v2/components/tooltip-v2.css} +0 -26
- package/src/{overlays/tooltip/tooltip.tsx → v2/components/tooltip-v2.tsx} +14 -21
- package/src/{typography/wordmark/wordmark.tsx → v2/components/wordmark-v2.tsx} +1 -1
- package/src/{styles/tokens → v2/styles}/theme.css +12 -4
- package/dist/actions/button/button.d.ts +0 -10
- package/dist/actions/icon-button/icon-button.d.ts +0 -11
- package/dist/actions/split-button/split-button.d.ts +0 -5
- package/dist/data-display/badge/badge.d.ts +0 -7
- package/dist/data-display/keybind/keybind.d.ts +0 -7
- package/dist/feedback/loader/loader.d.ts +0 -3
- package/dist/feedback/toast/toast.d.ts +0 -57
- package/dist/forms/radio/radio.d.ts +0 -16
- package/dist/forms/textarea/textarea.d.ts +0 -7
- package/dist/i18n/he.d.ts +0 -197
- package/dist/layout/divider/divider.d.ts +0 -5
- package/dist/navigation/menu/menu.d.ts +0 -59
- package/dist/overlays/tooltip/tooltip.d.ts +0 -15
- package/dist/typography/wordmark/wordmark.d.ts +0 -2
- package/src/actions/icon-button/icon-button.tsx +0 -32
- package/src/feedback/progress-circle/progress-circle.css +0 -28
- package/src/feedback/progress-circle/progress-circle.tsx +0 -64
- package/src/forms/switch/switch.tsx +0 -34
- package/src/i18n/he.ts +0 -199
- package/src/icons/icon/icon.css +0 -3
- package/src/navigation/tabs/tabs.tsx +0 -194
- /package/dist/{forms/inline-input → components}/inline-input.d.ts +0 -0
- /package/dist/{navigation → v2/components}/tab-state-indicator.d.ts +0 -0
- /package/src/{forms/inline-input → components}/inline-input.css +0 -0
- /package/src/{forms/inline-input → components}/inline-input.tsx +0 -0
- /package/src/{data-display/avatar/avatar.css → v2/components/avatar-v2.css} +0 -0
- /package/src/{actions/button/button.css → v2/components/button-v2.css} +0 -0
- /package/src/{layout/divider/divider.css → v2/components/divider-v2.css} +0 -0
- /package/src/{forms/field/field.css → v2/components/field-v2.css} +0 -0
- /package/src/{styles/file-tree.css → v2/components/file-tree-v2.css} +0 -0
- /package/src/{actions/icon-button/icon-button.css → v2/components/icon-button-v2.css} +0 -0
- /package/src/{data-display/line-comment/line-comment.css → v2/components/line-comment-v2.css} +0 -0
- /package/src/{feedback/loader/loader.css → v2/components/loader-v2.css} +0 -0
- /package/src/{data-display/project-avatar/project-avatar.css → v2/components/project-avatar-v2.css} +0 -0
- /package/src/{forms/radio/radio.css → v2/components/radio-v2.css} +0 -0
- /package/src/{navigation/segmented-control/segmented-control.css → v2/components/segmented-control-v2.css} +0 -0
- /package/src/{navigation → v2/components}/tab-state-indicator.tsx +0 -0
- /package/src/{forms/text-input/text-input.css → v2/components/text-input-v2.css} +0 -0
- /package/src/{forms/textarea/textarea.css → v2/components/textarea-v2.css} +0 -0
- /package/src/{feedback/toast/toast.css → v2/components/toast-v2.css} +0 -0
- /package/src/{styles/tokens → v2/styles}/colors.css +0 -0
- /package/src/{styles/tokens/index.css → v2/styles/tailwind.css} +0 -0
package/dist/i18n/en.d.ts
CHANGED
|
@@ -1,218 +1 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
"ui.sessionReview.title": string;
|
|
3
|
-
"ui.sessionReview.title.git": string;
|
|
4
|
-
"ui.sessionReview.title.branch": string;
|
|
5
|
-
"ui.sessionReview.title.lastTurn": string;
|
|
6
|
-
"ui.sessionReview.diffStyle.unified": string;
|
|
7
|
-
"ui.sessionReview.diffStyle.split": string;
|
|
8
|
-
"ui.sessionReview.expandAll": string;
|
|
9
|
-
"ui.sessionReview.collapseAll": string;
|
|
10
|
-
"ui.sessionReview.change.added": string;
|
|
11
|
-
"ui.sessionReview.change.removed": string;
|
|
12
|
-
"ui.sessionReview.change.modified": string;
|
|
13
|
-
"ui.sessionReview.image.loading": string;
|
|
14
|
-
"ui.sessionReview.image.placeholder": string;
|
|
15
|
-
"ui.sessionReview.largeDiff.title": string;
|
|
16
|
-
"ui.sessionReview.largeDiff.meta": string;
|
|
17
|
-
"ui.sessionReview.largeDiff.renderAnyway": string;
|
|
18
|
-
"ui.sessionReviewV2.expandMode": string;
|
|
19
|
-
"ui.sessionReviewV2.filterFiles": string;
|
|
20
|
-
"ui.sessionReviewV2.toggleSidebar": string;
|
|
21
|
-
"ui.sessionReviewV2.showAllLines": string;
|
|
22
|
-
"ui.sessionReviewV2.hideNonDiffLines": string;
|
|
23
|
-
"ui.sessionReviewV2.unifiedDiff": string;
|
|
24
|
-
"ui.sessionReviewV2.splitDiff": string;
|
|
25
|
-
"ui.sessionReviewV2.previousFile": string;
|
|
26
|
-
"ui.sessionReviewV2.nextFile": string;
|
|
27
|
-
"ui.sessionReviewV2.diffView": string;
|
|
28
|
-
"ui.sessionReviewV2.empty.noGit.title": string;
|
|
29
|
-
"ui.sessionReviewV2.empty.noGit.description": string;
|
|
30
|
-
"ui.sessionReviewV2.empty.noGit.action": string;
|
|
31
|
-
"ui.sessionReviewV2.empty.noGit.actionLoading": string;
|
|
32
|
-
"ui.sessionReviewV2.empty.changes.title": string;
|
|
33
|
-
"ui.sessionReviewV2.empty.changes.description": string;
|
|
34
|
-
"ui.sessionReview.openFile": string;
|
|
35
|
-
"ui.sessionReview.selection.line": string;
|
|
36
|
-
"ui.sessionReview.selection.lines": string;
|
|
37
|
-
"ui.fileMedia.kind.image": string;
|
|
38
|
-
"ui.fileMedia.kind.audio": string;
|
|
39
|
-
"ui.fileMedia.state.removed": string;
|
|
40
|
-
"ui.fileMedia.state.loading": string;
|
|
41
|
-
"ui.fileMedia.state.error": string;
|
|
42
|
-
"ui.fileMedia.state.unavailable": string;
|
|
43
|
-
"ui.fileMedia.binary.title": string;
|
|
44
|
-
"ui.fileMedia.binary.description.path": string;
|
|
45
|
-
"ui.fileMedia.binary.description.default": string;
|
|
46
|
-
"ui.lineComment.label.prefix": string;
|
|
47
|
-
"ui.lineComment.label.suffix": string;
|
|
48
|
-
"ui.lineComment.editorLabel.prefix": string;
|
|
49
|
-
"ui.lineComment.editorLabel.suffix": string;
|
|
50
|
-
"ui.lineComment.placeholder": string;
|
|
51
|
-
"ui.lineComment.contextPlaceholder": string;
|
|
52
|
-
"ui.lineComment.submit": string;
|
|
53
|
-
"ui.lineComment.cancel": string;
|
|
54
|
-
"ui.sessionTurn.steps.show": string;
|
|
55
|
-
"ui.sessionTurn.steps.hide": string;
|
|
56
|
-
"ui.sessionTurn.summary.response": string;
|
|
57
|
-
"ui.sessionTurn.diff.showMore": string;
|
|
58
|
-
"ui.sessionTurn.diffs.changed.one": string;
|
|
59
|
-
"ui.sessionTurn.diffs.changed.other": string;
|
|
60
|
-
"ui.sessionTurn.diffs.showAll": string;
|
|
61
|
-
"ui.sessionTurn.diffs.showLess": string;
|
|
62
|
-
"ui.sessionTurn.diffs.more": string;
|
|
63
|
-
"ui.sessionTurn.retry.retrying": string;
|
|
64
|
-
"ui.sessionTurn.retry.inSeconds": string;
|
|
65
|
-
"ui.sessionTurn.retry.attempt": string;
|
|
66
|
-
"ui.sessionTurn.retry.attemptLine": string;
|
|
67
|
-
"ui.sessionTurn.retry.geminiHot": string;
|
|
68
|
-
"ui.sessionTurn.error.freeUsageExceeded": string;
|
|
69
|
-
"ui.sessionTurn.error.addCredits": string;
|
|
70
|
-
"dialog.usageExceeded.freeTier.title": string;
|
|
71
|
-
"dialog.usageExceeded.freeTier.description": string;
|
|
72
|
-
"dialog.usageExceeded.freeTier.actionLabel": string;
|
|
73
|
-
"dialog.usageExceeded.accountRateLimit.title": string;
|
|
74
|
-
"dialog.usageExceeded.accountRateLimit.description": string;
|
|
75
|
-
"dialog.usageExceeded.accountRateLimit.actionLabel": string;
|
|
76
|
-
"ui.sessionTurn.status.delegating": string;
|
|
77
|
-
"ui.sessionTurn.status.planning": string;
|
|
78
|
-
"ui.sessionTurn.status.gatheringContext": string;
|
|
79
|
-
"ui.sessionTurn.status.gatheredContext": string;
|
|
80
|
-
"ui.sessionTurn.status.searchingCodebase": string;
|
|
81
|
-
"ui.sessionTurn.status.searchingWeb": string;
|
|
82
|
-
"ui.sessionTurn.status.makingEdits": string;
|
|
83
|
-
"ui.sessionTurn.status.runningCommands": string;
|
|
84
|
-
"ui.sessionTurn.status.thinking": string;
|
|
85
|
-
"ui.sessionTurn.status.thinkingWithTopic": string;
|
|
86
|
-
"ui.sessionTurn.status.gatheringThoughts": string;
|
|
87
|
-
"ui.sessionTurn.status.consideringNextSteps": string;
|
|
88
|
-
"ui.messagePart.diagnostic.error": string;
|
|
89
|
-
"ui.messagePart.title.edit": string;
|
|
90
|
-
"ui.messagePart.title.write": string;
|
|
91
|
-
"ui.messagePart.option.typeOwnAnswer": string;
|
|
92
|
-
"ui.messagePart.review.title": string;
|
|
93
|
-
"ui.messagePart.questions.dismissed": string;
|
|
94
|
-
"ui.messagePart.compaction": string;
|
|
95
|
-
"ui.messagePart.context.read.one": string;
|
|
96
|
-
"ui.messagePart.context.read.other": string;
|
|
97
|
-
"ui.messagePart.context.search.one": string;
|
|
98
|
-
"ui.messagePart.context.search.other": string;
|
|
99
|
-
"ui.messagePart.context.list.one": string;
|
|
100
|
-
"ui.messagePart.context.list.other": string;
|
|
101
|
-
"ui.messagePart.context.match.one": string;
|
|
102
|
-
"ui.messagePart.context.match.other": string;
|
|
103
|
-
"ui.list.loading": string;
|
|
104
|
-
"ui.list.empty": string;
|
|
105
|
-
"ui.list.clearFilter": string;
|
|
106
|
-
"ui.list.emptyWithFilter.prefix": string;
|
|
107
|
-
"ui.list.emptyWithFilter.suffix": string;
|
|
108
|
-
"ui.fileSearch.placeholder": string;
|
|
109
|
-
"ui.fileSearch.previousMatch": string;
|
|
110
|
-
"ui.fileSearch.nextMatch": string;
|
|
111
|
-
"ui.fileSearch.close": string;
|
|
112
|
-
"ui.messageNav.newMessage": string;
|
|
113
|
-
"ui.promptInput.noMatchingItems": string;
|
|
114
|
-
"ui.promptInput.commands": string;
|
|
115
|
-
"ui.promptInput.dropFiles": string;
|
|
116
|
-
"ui.promptInput.removeAttachment": string;
|
|
117
|
-
"ui.promptInput.label": string;
|
|
118
|
-
"ui.promptInput.placeholder.shell": string;
|
|
119
|
-
"ui.promptInput.placeholder.normal": string;
|
|
120
|
-
"ui.promptInput.add": string;
|
|
121
|
-
"ui.promptInput.attachments": string;
|
|
122
|
-
"ui.promptInput.context": string;
|
|
123
|
-
"ui.promptInput.shell": string;
|
|
124
|
-
"ui.promptInput.chooseAgent": string;
|
|
125
|
-
"ui.promptInput.chooseModel": string;
|
|
126
|
-
"ui.promptInput.chooseVariant": string;
|
|
127
|
-
"ui.promptInput.send": string;
|
|
128
|
-
"ui.promptInput.stop": string;
|
|
129
|
-
"ui.tabs.close": string;
|
|
130
|
-
"ui.textField.copyToClipboard": string;
|
|
131
|
-
"ui.textField.copyLink": string;
|
|
132
|
-
"ui.textField.copied": string;
|
|
133
|
-
"ui.imagePreview.alt": string;
|
|
134
|
-
"ui.scrollView.ariaLabel": string;
|
|
135
|
-
"ui.tool.read": string;
|
|
136
|
-
"ui.tool.loaded": string;
|
|
137
|
-
"ui.tool.loadedFile": string;
|
|
138
|
-
"ui.tool.loadedSkill": string;
|
|
139
|
-
"ui.tool.list": string;
|
|
140
|
-
"ui.tool.glob": string;
|
|
141
|
-
"ui.tool.grep": string;
|
|
142
|
-
"ui.tool.task": string;
|
|
143
|
-
"ui.tool.webfetch": string;
|
|
144
|
-
"ui.tool.websearch": string;
|
|
145
|
-
"ui.tool.websearch.provider": string;
|
|
146
|
-
"ui.tool.shell": string;
|
|
147
|
-
"ui.tool.shell.writingCommand": string;
|
|
148
|
-
"ui.tool.execute": string;
|
|
149
|
-
"ui.tool.patch": string;
|
|
150
|
-
"ui.tool.questions": string;
|
|
151
|
-
"ui.tool.questions.numbered": string;
|
|
152
|
-
"ui.tool.agent": string;
|
|
153
|
-
"ui.tool.agent.default": string;
|
|
154
|
-
"ui.tool.agent.delegating": string;
|
|
155
|
-
"ui.tool.skill": string;
|
|
156
|
-
"ui.basicTool.called": string;
|
|
157
|
-
"ui.toolErrorCard.failed": string;
|
|
158
|
-
"ui.toolErrorCard.copyError": string;
|
|
159
|
-
"ui.common.file.one": string;
|
|
160
|
-
"ui.common.file.other": string;
|
|
161
|
-
"ui.common.question.one": string;
|
|
162
|
-
"ui.common.question.other": string;
|
|
163
|
-
"ui.common.add": string;
|
|
164
|
-
"ui.common.clear": string;
|
|
165
|
-
"ui.common.file": string;
|
|
166
|
-
"ui.common.back": string;
|
|
167
|
-
"ui.common.cancel": string;
|
|
168
|
-
"ui.common.confirm": string;
|
|
169
|
-
"ui.common.dismiss": string;
|
|
170
|
-
"ui.common.close": string;
|
|
171
|
-
"ui.common.next": string;
|
|
172
|
-
"ui.common.submit": string;
|
|
173
|
-
"ui.common.showMore": string;
|
|
174
|
-
"ui.common.moreCount.one": string;
|
|
175
|
-
"ui.common.moreCount.other": string;
|
|
176
|
-
"ui.permission.deny": string;
|
|
177
|
-
"ui.permission.allowAlways": string;
|
|
178
|
-
"ui.permission.allowOnce": string;
|
|
179
|
-
"ui.message.expand": string;
|
|
180
|
-
"ui.message.collapse": string;
|
|
181
|
-
"ui.message.copy": string;
|
|
182
|
-
"ui.message.copyMessage": string;
|
|
183
|
-
"ui.message.forkMessage": string;
|
|
184
|
-
"ui.message.revertMessage": string;
|
|
185
|
-
"ui.message.copyResponse": string;
|
|
186
|
-
"ui.message.copied": string;
|
|
187
|
-
"ui.message.duration.seconds": string;
|
|
188
|
-
"ui.message.duration.minutesSeconds": string;
|
|
189
|
-
"ui.message.interrupted": string;
|
|
190
|
-
"ui.sessionTimeline.notice.model": string;
|
|
191
|
-
"ui.sessionTimeline.notice.movedTo": string;
|
|
192
|
-
"ui.sessionTimeline.notice.movedTooltip": string;
|
|
193
|
-
"ui.sessionTimeline.notice.failed": string;
|
|
194
|
-
"ui.sessionTimeline.notice.cancelled": string;
|
|
195
|
-
"ui.sessionTimeline.notice.finished": string;
|
|
196
|
-
"ui.sessionTimeline.notice.instructionsUpdated": string;
|
|
197
|
-
"ui.message.queued": string;
|
|
198
|
-
"ui.message.attachment.alt": string;
|
|
199
|
-
"ui.patch.action.deleted": string;
|
|
200
|
-
"ui.patch.action.created": string;
|
|
201
|
-
"ui.patch.action.moved": string;
|
|
202
|
-
"ui.patch.action.patched": string;
|
|
203
|
-
"ui.question.subtitle.answered": string;
|
|
204
|
-
"ui.question.answer.none": string;
|
|
205
|
-
"ui.question.review.notAnswered": string;
|
|
206
|
-
"ui.question.multiHint": string;
|
|
207
|
-
"ui.question.singleHint": string;
|
|
208
|
-
"ui.question.custom.placeholder": string;
|
|
209
|
-
};
|
|
210
|
-
export type Key = keyof typeof source;
|
|
211
|
-
export type PluralCategory = "zero" | "one" | "two" | "few" | "many" | "other";
|
|
212
|
-
export type PluralKey = {
|
|
213
|
-
[Entry in Key]: Entry extends `${infer Base}.other` ? (`${Base}.one` extends Key ? Base : never) : never;
|
|
214
|
-
}[Key];
|
|
215
|
-
export type PluralLookupKey = `${PluralKey}.${PluralCategory}`;
|
|
216
|
-
export type LocaleKey = Key | PluralLookupKey;
|
|
217
|
-
export declare const dict: typeof source & Record<string, string>;
|
|
218
|
-
export {};
|
|
1
|
+
export declare const dict: Record<string, string>;
|
package/dist/i18n/es.d.ts
CHANGED
|
@@ -140,6 +140,8 @@ export declare const dict: {
|
|
|
140
140
|
"ui.tool.websearch.provider": string;
|
|
141
141
|
"ui.tool.shell": string;
|
|
142
142
|
"ui.tool.patch": string;
|
|
143
|
+
"ui.tool.todos": string;
|
|
144
|
+
"ui.tool.todos.read": string;
|
|
143
145
|
"ui.tool.questions": string;
|
|
144
146
|
"ui.tool.questions.numbered": string;
|
|
145
147
|
"ui.tool.agent": string;
|
package/dist/i18n/fr.d.ts
CHANGED
|
@@ -140,6 +140,8 @@ export declare const dict: {
|
|
|
140
140
|
"ui.tool.websearch.provider": string;
|
|
141
141
|
"ui.tool.shell": string;
|
|
142
142
|
"ui.tool.patch": string;
|
|
143
|
+
"ui.tool.todos": string;
|
|
144
|
+
"ui.tool.todos.read": string;
|
|
143
145
|
"ui.tool.questions": string;
|
|
144
146
|
"ui.tool.questions.numbered": string;
|
|
145
147
|
"ui.tool.agent": string;
|
package/dist/i18n/ja.d.ts
CHANGED
|
@@ -136,6 +136,8 @@ export declare const dict: {
|
|
|
136
136
|
"ui.tool.websearch.provider": string;
|
|
137
137
|
"ui.tool.shell": string;
|
|
138
138
|
"ui.tool.patch": string;
|
|
139
|
+
"ui.tool.todos": string;
|
|
140
|
+
"ui.tool.todos.read": string;
|
|
139
141
|
"ui.tool.questions": string;
|
|
140
142
|
"ui.tool.questions.numbered": string;
|
|
141
143
|
"ui.tool.agent": string;
|
package/dist/i18n/km.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ export declare const dict: {
|
|
|
141
141
|
"ui.tool.websearch.provider": string;
|
|
142
142
|
"ui.tool.shell": string;
|
|
143
143
|
"ui.tool.patch": string;
|
|
144
|
+
"ui.tool.todos": string;
|
|
145
|
+
"ui.tool.todos.read": string;
|
|
144
146
|
"ui.tool.questions": string;
|
|
145
147
|
"ui.tool.questions.numbered": string;
|
|
146
148
|
"ui.tool.agent": string;
|
package/dist/i18n/ko.d.ts
CHANGED
|
@@ -112,6 +112,8 @@ export declare const dict: {
|
|
|
112
112
|
"ui.tool.websearch.provider": string;
|
|
113
113
|
"ui.tool.shell": string;
|
|
114
114
|
"ui.tool.patch": string;
|
|
115
|
+
"ui.tool.todos": string;
|
|
116
|
+
"ui.tool.todos.read": string;
|
|
115
117
|
"ui.tool.questions": string;
|
|
116
118
|
"ui.tool.questions.numbered": string;
|
|
117
119
|
"ui.tool.agent": string;
|
package/dist/i18n/lo.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ export declare const dict: {
|
|
|
141
141
|
"ui.tool.websearch.provider": string;
|
|
142
142
|
"ui.tool.shell": string;
|
|
143
143
|
"ui.tool.patch": string;
|
|
144
|
+
"ui.tool.todos": string;
|
|
145
|
+
"ui.tool.todos.read": string;
|
|
144
146
|
"ui.tool.questions": string;
|
|
145
147
|
"ui.tool.questions.numbered": string;
|
|
146
148
|
"ui.tool.agent": string;
|
package/dist/i18n/mk.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ export declare const dict: {
|
|
|
141
141
|
"ui.tool.websearch.provider": string;
|
|
142
142
|
"ui.tool.shell": string;
|
|
143
143
|
"ui.tool.patch": string;
|
|
144
|
+
"ui.tool.todos": string;
|
|
145
|
+
"ui.tool.todos.read": string;
|
|
144
146
|
"ui.tool.questions": string;
|
|
145
147
|
"ui.tool.questions.numbered": string;
|
|
146
148
|
"ui.tool.agent": string;
|
package/dist/i18n/mn.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ export declare const dict: {
|
|
|
141
141
|
"ui.tool.websearch.provider": string;
|
|
142
142
|
"ui.tool.shell": string;
|
|
143
143
|
"ui.tool.patch": string;
|
|
144
|
+
"ui.tool.todos": string;
|
|
145
|
+
"ui.tool.todos.read": string;
|
|
144
146
|
"ui.tool.questions": string;
|
|
145
147
|
"ui.tool.questions.numbered": string;
|
|
146
148
|
"ui.tool.agent": string;
|
package/dist/i18n/my.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ export declare const dict: {
|
|
|
141
141
|
"ui.tool.websearch.provider": string;
|
|
142
142
|
"ui.tool.shell": string;
|
|
143
143
|
"ui.tool.patch": string;
|
|
144
|
+
"ui.tool.todos": string;
|
|
145
|
+
"ui.tool.todos.read": string;
|
|
144
146
|
"ui.tool.questions": string;
|
|
145
147
|
"ui.tool.questions.numbered": string;
|
|
146
148
|
"ui.tool.agent": string;
|
package/dist/i18n/pl.d.ts
CHANGED
|
@@ -144,6 +144,8 @@ export declare const dict: {
|
|
|
144
144
|
"ui.tool.websearch.provider": string;
|
|
145
145
|
"ui.tool.shell": string;
|
|
146
146
|
"ui.tool.patch": string;
|
|
147
|
+
"ui.tool.todos": string;
|
|
148
|
+
"ui.tool.todos.read": string;
|
|
147
149
|
"ui.tool.questions": string;
|
|
148
150
|
"ui.tool.questions.numbered": string;
|
|
149
151
|
"ui.tool.agent": string;
|
package/dist/i18n/ru.d.ts
CHANGED
|
@@ -144,6 +144,8 @@ export declare const dict: {
|
|
|
144
144
|
"ui.tool.websearch.provider": string;
|
|
145
145
|
"ui.tool.shell": string;
|
|
146
146
|
"ui.tool.patch": string;
|
|
147
|
+
"ui.tool.todos": string;
|
|
148
|
+
"ui.tool.todos.read": string;
|
|
147
149
|
"ui.tool.questions": string;
|
|
148
150
|
"ui.tool.questions.numbered": string;
|
|
149
151
|
"ui.tool.agent": string;
|
package/dist/i18n/sr.d.ts
CHANGED
|
@@ -145,6 +145,8 @@ export declare const dict: {
|
|
|
145
145
|
"ui.tool.websearch.provider": string;
|
|
146
146
|
"ui.tool.shell": string;
|
|
147
147
|
"ui.tool.patch": string;
|
|
148
|
+
"ui.tool.todos": string;
|
|
149
|
+
"ui.tool.todos.read": string;
|
|
148
150
|
"ui.tool.questions": string;
|
|
149
151
|
"ui.tool.questions.numbered": string;
|
|
150
152
|
"ui.tool.agent": string;
|
package/dist/i18n/tg.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ export declare const dict: {
|
|
|
141
141
|
"ui.tool.websearch.provider": string;
|
|
142
142
|
"ui.tool.shell": string;
|
|
143
143
|
"ui.tool.patch": string;
|
|
144
|
+
"ui.tool.todos": string;
|
|
145
|
+
"ui.tool.todos.read": string;
|
|
144
146
|
"ui.tool.questions": string;
|
|
145
147
|
"ui.tool.questions.numbered": string;
|
|
146
148
|
"ui.tool.agent": string;
|
package/dist/i18n/th.d.ts
CHANGED
|
@@ -136,6 +136,8 @@ export declare const dict: {
|
|
|
136
136
|
"ui.tool.websearch.provider": string;
|
|
137
137
|
"ui.tool.shell": string;
|
|
138
138
|
"ui.tool.patch": string;
|
|
139
|
+
"ui.tool.todos": string;
|
|
140
|
+
"ui.tool.todos.read": string;
|
|
139
141
|
"ui.tool.questions": string;
|
|
140
142
|
"ui.tool.questions.numbered": string;
|
|
141
143
|
"ui.tool.agent": string;
|
package/dist/i18n/tr.d.ts
CHANGED
|
@@ -136,6 +136,8 @@ export declare const dict: {
|
|
|
136
136
|
"ui.tool.websearch.provider": string;
|
|
137
137
|
"ui.tool.shell": string;
|
|
138
138
|
"ui.tool.patch": string;
|
|
139
|
+
"ui.tool.todos": string;
|
|
140
|
+
"ui.tool.todos.read": string;
|
|
139
141
|
"ui.tool.questions": string;
|
|
140
142
|
"ui.tool.questions.numbered": string;
|
|
141
143
|
"ui.tool.agent": string;
|
package/dist/i18n/zh.d.ts
CHANGED
|
@@ -136,6 +136,8 @@ export declare const dict: {
|
|
|
136
136
|
"ui.tool.websearch.provider": string;
|
|
137
137
|
"ui.tool.shell": string;
|
|
138
138
|
"ui.tool.patch": string;
|
|
139
|
+
"ui.tool.todos": string;
|
|
140
|
+
"ui.tool.todos.read": string;
|
|
139
141
|
"ui.tool.questions": string;
|
|
140
142
|
"ui.tool.questions.numbered": string;
|
|
141
143
|
"ui.tool.agent": string;
|
package/dist/i18n/zht.d.ts
CHANGED
|
@@ -136,6 +136,8 @@ export declare const dict: {
|
|
|
136
136
|
"ui.tool.websearch.provider": string;
|
|
137
137
|
"ui.tool.shell": string;
|
|
138
138
|
"ui.tool.patch": string;
|
|
139
|
+
"ui.tool.todos": string;
|
|
140
|
+
"ui.tool.todos.read": string;
|
|
139
141
|
"ui.tool.questions": string;
|
|
140
142
|
"ui.tool.questions.numbered": string;
|
|
141
143
|
"ui.tool.agent": string;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Accordion as Kobalte } from "@kobalte/core/accordion";
|
|
2
|
+
import { type ComponentProps, type ParentProps } from "solid-js";
|
|
3
|
+
import "./accordion-v2.css";
|
|
4
|
+
export interface AccordionV2Props extends ComponentProps<typeof Kobalte> {
|
|
5
|
+
}
|
|
6
|
+
export interface AccordionV2ItemProps extends ComponentProps<typeof Kobalte.Item> {
|
|
7
|
+
}
|
|
8
|
+
export interface AccordionV2HeaderProps extends ComponentProps<typeof Kobalte.Header> {
|
|
9
|
+
}
|
|
10
|
+
export interface AccordionV2TriggerProps extends ComponentProps<typeof Kobalte.Trigger> {
|
|
11
|
+
hideChevron?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface AccordionV2ContentProps extends ComponentProps<typeof Kobalte.Content> {
|
|
14
|
+
}
|
|
15
|
+
declare function AccordionV2Root(props: ParentProps<AccordionV2Props>): import("solid-js").JSX.Element;
|
|
16
|
+
declare function AccordionV2Item(props: ParentProps<AccordionV2ItemProps>): import("solid-js").JSX.Element;
|
|
17
|
+
declare function AccordionV2Header(props: ParentProps<AccordionV2HeaderProps>): import("solid-js").JSX.Element;
|
|
18
|
+
declare function AccordionV2Trigger(props: ParentProps<AccordionV2TriggerProps>): import("solid-js").JSX.Element;
|
|
19
|
+
declare function AccordionV2Content(props: ParentProps<AccordionV2ContentProps>): import("solid-js").JSX.Element;
|
|
20
|
+
export declare const AccordionV2: typeof AccordionV2Root & {
|
|
21
|
+
Item: typeof AccordionV2Item;
|
|
22
|
+
Header: typeof AccordionV2Header;
|
|
23
|
+
Trigger: typeof AccordionV2Trigger;
|
|
24
|
+
Content: typeof AccordionV2Content;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Button as Kobalte } from "@kobalte/core/button";
|
|
2
|
+
import { type ComponentProps } from "solid-js";
|
|
3
|
+
import { type IconProps } from "./icon";
|
|
4
|
+
import "./button-v2.css";
|
|
5
|
+
export interface ButtonV2Props extends ComponentProps<typeof Kobalte>, Pick<ComponentProps<"button">, "class" | "classList" | "children"> {
|
|
6
|
+
size?: "small" | "normal" | "large";
|
|
7
|
+
variant?: "neutral" | "danger" | "warning" | "outline" | "contrast" | "ghost" | "ghost-muted" | "loading";
|
|
8
|
+
icon?: IconProps["name"];
|
|
9
|
+
}
|
|
10
|
+
export declare function ButtonV2(props: ButtonV2Props): import("solid-js").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Checkbox as Kobalte } from "@kobalte/core/checkbox";
|
|
2
|
+
import { type JSX } from "solid-js";
|
|
3
|
+
import type { ComponentProps } from "solid-js";
|
|
4
|
+
import "./checkbox-v2.css";
|
|
5
|
+
export interface CheckboxV2Props extends ComponentProps<typeof Kobalte> {
|
|
6
|
+
label: JSX.Element;
|
|
7
|
+
description?: JSX.Element;
|
|
8
|
+
hideLabel?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function CheckboxV2(props: CheckboxV2Props): JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentProps, type JSXElement, type ParentProps } from "solid-js";
|
|
2
|
-
import "./dialog.css";
|
|
2
|
+
import "./dialog-v2.css";
|
|
3
3
|
export interface DialogProps extends ParentProps {
|
|
4
4
|
size?: "normal" | "large" | "x-large";
|
|
5
5
|
variant?: "default" | "settings";
|
|
@@ -24,3 +24,4 @@ export declare function DialogTitle(props: ParentProps): import("solid-js").JSX.
|
|
|
24
24
|
export declare function DialogTitleGroup(props: DialogTitleGroupProps): import("solid-js").JSX.Element;
|
|
25
25
|
export declare function DialogHeader(props: DialogHeaderProps): import("solid-js").JSX.Element;
|
|
26
26
|
export declare function Dialog(props: DialogProps): import("solid-js").JSX.Element;
|
|
27
|
+
export declare const DialogV2: typeof Dialog;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type ComponentProps, type ParentProps } from "solid-js";
|
|
2
|
-
import "./field.css";
|
|
3
|
-
export interface
|
|
2
|
+
import "./field-v2.css";
|
|
3
|
+
export interface FieldV2Props extends ComponentProps<"div"> {
|
|
4
4
|
invalid?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare function
|
|
6
|
+
declare function FieldV2Root(props: ParentProps<FieldV2Props>): import("solid-js").JSX.Element;
|
|
7
7
|
export interface FieldLabelProps extends ComponentProps<"label"> {
|
|
8
8
|
/** When set, shows the info icon with a tooltip containing this text. */
|
|
9
9
|
tooltip?: string;
|
|
@@ -13,7 +13,13 @@ declare function FieldPrefix(props: ParentProps<ComponentProps<"div">>): import(
|
|
|
13
13
|
declare function FieldSuffix(props: ParentProps<ComponentProps<"div">>): import("solid-js").JSX.Element;
|
|
14
14
|
/** Optional layout wrapper around the control. */
|
|
15
15
|
declare function FieldControl(props: ParentProps<ComponentProps<"div">>): import("solid-js").JSX.Element;
|
|
16
|
-
export declare const
|
|
16
|
+
export declare const FieldV2: typeof FieldV2Root & {
|
|
17
|
+
Label: typeof FieldLabel;
|
|
18
|
+
Prefix: typeof FieldPrefix;
|
|
19
|
+
Suffix: typeof FieldSuffix;
|
|
20
|
+
Control: typeof FieldControl;
|
|
21
|
+
};
|
|
22
|
+
export declare const Field: typeof FieldV2Root & {
|
|
17
23
|
Label: typeof FieldLabel;
|
|
18
24
|
Prefix: typeof FieldPrefix;
|
|
19
25
|
Suffix: typeof FieldSuffix;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Button as Kobalte } from "@kobalte/core/button";
|
|
2
|
+
import { type ComponentProps } from "solid-js";
|
|
3
|
+
import { JSX } from "solid-js";
|
|
4
|
+
import "./icon-button-v2.css";
|
|
5
|
+
export interface IconButtonV2Props extends ComponentProps<typeof Kobalte>, Pick<ComponentProps<"button">, "class" | "classList"> {
|
|
6
|
+
icon?: JSX.Element;
|
|
7
|
+
size?: "small" | "normal" | "large";
|
|
8
|
+
variant?: "neutral" | "contrast" | "ghost" | "ghost-muted";
|
|
9
|
+
state?: "rest" | "hover" | "pressed";
|
|
10
|
+
}
|
|
11
|
+
export declare function IconButtonV2(props: ComponentProps<"button"> & IconButtonV2Props): JSX.Element;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { type ComponentProps } from "solid-js";
|
|
2
|
-
import { additionalIcons } from "./additional-icons";
|
|
3
|
-
import "./icon.css";
|
|
4
2
|
declare const icons: {
|
|
5
3
|
edit: {
|
|
6
4
|
viewBox: string;
|
|
@@ -18,10 +16,6 @@ declare const icons: {
|
|
|
18
16
|
viewBox: string;
|
|
19
17
|
body: string;
|
|
20
18
|
};
|
|
21
|
-
"branch-out": {
|
|
22
|
-
viewBox: string;
|
|
23
|
-
body: string;
|
|
24
|
-
};
|
|
25
19
|
"grid-plus": {
|
|
26
20
|
viewBox: string;
|
|
27
21
|
body: string;
|
|
@@ -126,14 +120,6 @@ declare const icons: {
|
|
|
126
120
|
viewBox: string;
|
|
127
121
|
body: string;
|
|
128
122
|
};
|
|
129
|
-
"window-analytics": {
|
|
130
|
-
viewBox: string;
|
|
131
|
-
body: string;
|
|
132
|
-
};
|
|
133
|
-
trash: {
|
|
134
|
-
viewBox: string;
|
|
135
|
-
body: string;
|
|
136
|
-
};
|
|
137
123
|
"outline-sliders": {
|
|
138
124
|
viewBox: string;
|
|
139
125
|
body: string;
|
|
@@ -158,18 +144,13 @@ declare const icons: {
|
|
|
158
144
|
viewBox: string;
|
|
159
145
|
body: string;
|
|
160
146
|
};
|
|
161
|
-
"fill-triangle-down": {
|
|
162
|
-
viewBox: string;
|
|
163
|
-
body: string;
|
|
164
|
-
};
|
|
165
147
|
archive: {
|
|
166
148
|
viewBox: string;
|
|
167
149
|
body: string;
|
|
168
150
|
};
|
|
169
151
|
};
|
|
170
|
-
type IconName = keyof typeof icons | keyof typeof additionalIcons;
|
|
171
152
|
export interface IconProps extends ComponentProps<"svg"> {
|
|
172
|
-
name:
|
|
153
|
+
name: keyof typeof icons | (string & {});
|
|
173
154
|
size?: "small" | "normal" | "large";
|
|
174
155
|
}
|
|
175
156
|
export declare function Icon(props: IconProps): import("solid-js").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type ComponentProps, type JSX } from "solid-js";
|
|
2
|
+
import "./inline-input-v2.css";
|
|
3
|
+
export interface InlineInputV2Props extends Omit<ComponentProps<"input">, "type" | "prefix"> {
|
|
4
|
+
/** Inline label shown before the field (prefix segment). */
|
|
5
|
+
prefix: JSX.Element;
|
|
6
|
+
/** Fixed width for the prefix segment (px number or CSS length). Omit for fit-content. */
|
|
7
|
+
labelWidth?: number | string;
|
|
8
|
+
/** Show the trailing copy action. */
|
|
9
|
+
showCopyButton?: boolean;
|
|
10
|
+
/** Accessible label for the copy button. */
|
|
11
|
+
copyLabel?: string;
|
|
12
|
+
onCopyClick?: (event: MouseEvent) => void;
|
|
13
|
+
/** Apply tabular numerals to the prefix and field value. */
|
|
14
|
+
numeric?: boolean;
|
|
15
|
+
/** Error styling for the field and value text. */
|
|
16
|
+
invalid?: boolean;
|
|
17
|
+
/** `base` is 28px tall; `large` is 32px tall. */
|
|
18
|
+
appearance?: "base" | "large";
|
|
19
|
+
type?: ComponentProps<"input">["type"];
|
|
20
|
+
}
|
|
21
|
+
export declare function InlineInputV2(props: InlineInputV2Props): JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentProps } from "solid-js";
|
|
2
|
+
import "./keybind-v2.css";
|
|
3
|
+
export interface KeybindV2Props extends ComponentProps<"div"> {
|
|
4
|
+
keys: string[];
|
|
5
|
+
variant?: "neutral" | "ghost";
|
|
6
|
+
}
|
|
7
|
+
export declare function KeybindV2(props: KeybindV2Props): import("solid-js").JSX.Element;
|