@dexhq/canvas 0.13.0 → 0.15.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/CHANGELOG.md +53 -0
- package/README.md +21 -18
- package/app/canvas/activity.tsx +8 -15
- package/app/canvas/anchoring.ts +3 -5
- package/app/canvas/canvas-input.ts +151 -14
- package/app/canvas/canvas-keys.ts +9 -0
- package/app/canvas/canvas-model.ts +5 -42
- package/app/canvas/canvas-panels.ts +1 -17
- package/app/canvas/canvas-scene.ts +7 -3
- package/app/canvas/canvas-ui.ts +2 -1
- package/app/canvas/canvas.css +61 -26
- package/app/canvas/change-notice.tsx +10 -1
- package/app/canvas/comment-layer.tsx +2 -1
- package/app/canvas/comments.tsx +204 -82
- package/app/canvas/element-picker.ts +200 -27
- package/app/canvas/engine/canvas-gestures.ts +72 -17
- package/app/canvas/engine/canvas-store.ts +17 -1
- package/app/canvas/engine/engine.css +6 -3
- package/app/canvas/find-bar.tsx +817 -0
- package/app/canvas/find-model.ts +135 -0
- package/app/canvas/flow-canvas.tsx +18 -2
- package/app/canvas/follow-pin.ts +26 -6
- package/app/canvas/frame-node.tsx +43 -26
- package/app/canvas/imported-reviews.tsx +12 -22
- package/app/canvas/layout.ts +27 -0
- package/app/canvas/live-page.ts +142 -19
- package/app/canvas/page-find.ts +220 -0
- package/app/canvas/page-style.ts +23 -0
- package/app/canvas/section-node.tsx +2 -0
- package/app/canvas/spec-threads.ts +24 -23
- package/app/canvas/thread-focus.tsx +14 -12
- package/app/canvas/tool-cursors.ts +16 -16
- package/app/canvas/use-activity.ts +0 -8
- package/app/canvas/use-agent-changes.tsx +34 -40
- package/app/canvas/use-canvas-clipboard.tsx +11 -14
- package/app/canvas/xray.ts +3 -12
- package/app/frame.tsx +5 -0
- package/app/i18n/locales/en/messages.po +114 -12
- package/app/i18n/locales/en/messages.ts +1 -1
- package/app/i18n/locales/pseudo/messages.po +114 -12
- package/app/i18n/locales/pseudo/messages.ts +1 -1
- package/app/icons/{sets/lucide.tsx → glyphs.tsx} +7 -5
- package/app/icons/index.tsx +3 -3
- package/app/icons/types.ts +3 -10
- package/app/index.html +3 -3
- package/app/main.tsx +3 -0
- package/app/pages/canvas-settings.tsx +35 -0
- package/app/pages/canvas.tsx +27 -8
- package/app/pages/commands-settings.tsx +16 -2
- package/app/shell/about.tsx +5 -4
- package/app/shell/feedback-details.ts +0 -3
- package/app/shell/feedback-form.tsx +10 -21
- package/app/shell/feedback-link.tsx +2 -1
- package/app/shell/instructions-editor.tsx +1 -1
- package/app/shell/presence-style.ts +59 -0
- package/app/shell/presence.tsx +6 -3
- package/app/shell/scaled-frame.tsx +21 -9
- package/app/shell/settings-sections.ts +12 -0
- package/app/shell/sidebar.tsx +1 -1
- package/app/studio-ui.d.ts +0 -9
- package/app/types.ts +21 -205
- package/app/ui/file-drop.ts +128 -0
- package/app/ui/prompt-editor.tsx +1 -1
- package/app/ui/shadcn/input-group.tsx +2 -2
- package/dist/cli/banner.d.mts +4 -2
- package/dist/cli/banner.mjs +34 -11
- package/dist/cli/commands/app.mjs +19 -11
- package/dist/cli/commands/create.d.mts +26 -14
- package/dist/cli/commands/create.mjs +13 -7
- package/dist/cli/commands/dev.mjs +2 -3
- package/dist/cli/commands/hook.mjs +2 -1
- package/dist/cli/commands/init.d.mts +11 -6
- package/dist/cli/help.d.mts +1 -1
- package/dist/cli/help.mjs +3 -3
- package/dist/cli/main.d.mts +22 -12
- package/dist/config/index.d.mts +6 -5
- package/dist/config/project-files.d.mts +6 -3
- package/dist/config/project-files.mjs +14 -5
- package/dist/config/renamed.d.mts +0 -2
- package/dist/config/renamed.mjs +1 -3
- package/dist/config/schema.d.mts +0 -5
- package/dist/config/schema.mjs +0 -5
- package/dist/content/capture.d.mts +2 -2
- package/dist/content/capture.mjs +2 -2
- package/dist/content/content.d.mts +3 -141
- package/dist/content/content.mjs +7 -65
- package/dist/content/flow-specs.mjs +1 -1
- package/dist/content/prototype-summary.d.mts +3 -39
- package/dist/content/prototype-summary.mjs +2 -3
- package/dist/content/prototypes.mjs +1 -1
- package/dist/content/snapshot-client.mjs +1 -1
- package/dist/content/text-replace.d.mts +30 -0
- package/dist/content/text-replace.mjs +309 -0
- package/dist/content/thread-module.mjs +1 -1
- package/dist/content/threads.mjs +1 -1
- package/dist/paths.d.mts +0 -2
- package/dist/paths.mjs +1 -3
- package/dist/server/agent-env.d.mts +5 -1
- package/dist/server/agent-env.mjs +7 -2
- package/dist/server/agent-session.d.mts +14 -1
- package/dist/server/agent-session.mjs +84 -19
- package/dist/server/brief.mjs +3 -3
- package/dist/server/build-pictures.mjs +1 -1
- package/dist/server/channel.d.mts +19 -24
- package/dist/server/channel.mjs +70 -37
- package/dist/server/claimed-presence.d.mts +18 -0
- package/dist/server/claimed-presence.mjs +58 -0
- package/dist/server/close-check.mjs +2 -2
- package/dist/server/comments/actions.d.mts +153 -0
- package/dist/server/comments/actions.mjs +154 -0
- package/dist/server/comments/routes.d.mts +25 -0
- package/dist/server/comments/routes.mjs +88 -0
- package/dist/server/comments/tools.d.mts +6 -0
- package/dist/server/comments/tools.mjs +154 -0
- package/dist/server/dev-server.mjs +36 -13
- package/dist/server/file-errors.d.mts +7 -2
- package/dist/server/file-errors.mjs +31 -8
- package/dist/server/file-lock.d.mts +2 -2
- package/dist/server/file-lock.mjs +130 -36
- package/dist/server/mcp.d.mts +0 -2
- package/dist/server/mcp.mjs +7 -8
- package/dist/server/me.d.mts +1 -1
- package/dist/server/open-page.d.mts +22 -0
- package/dist/server/open-page.mjs +20 -2
- package/dist/server/outcome.d.mts +22 -0
- package/dist/server/outcome.mjs +8 -0
- package/dist/server/own-copies.mjs +2 -2
- package/dist/server/people.d.mts +1 -1
- package/dist/server/port.d.mts +12 -0
- package/dist/server/port.mjs +66 -14
- package/dist/server/presence.d.mts +4 -1
- package/dist/server/presence.mjs +2 -2
- package/dist/server/requests.d.mts +5 -1
- package/dist/server/requests.mjs +32 -47
- package/dist/server/studio-for.d.mts +5 -0
- package/dist/server/studio-for.mjs +18 -4
- package/dist/server/sync-install.d.mts +8 -12
- package/dist/server/sync-install.mjs +12 -30
- package/dist/server/thread-source.mjs +2 -2
- package/dist/server/tools/describe.d.mts +1 -1
- package/dist/server/tools/describe.mjs +1 -1
- package/dist/server/tools/feedback.d.mts +1 -1
- package/dist/server/tools/reading.mjs +13 -4
- package/dist/server/tools/show.d.mts +1 -1
- package/dist/server/tools/snapshot.d.mts +1 -1
- package/dist/server/tools/thread-list.mjs +1 -1
- package/dist/server/tools/watch.mjs +5 -3
- package/dist/server/vite.mjs +28 -31
- package/dist/server/web-app.mjs +7 -10
- package/dist/server/work-groups.mjs +1 -1
- package/dist/setup/apply.mjs +8 -14
- package/dist/setup/create.d.mts +4 -2
- package/dist/setup/create.mjs +118 -36
- package/dist/setup/design-system-checks.mjs +3 -12
- package/dist/setup/desktop-app-script.mjs +4 -3
- package/dist/setup/desktop-app-start.d.mts +8 -2
- package/dist/setup/desktop-app-start.mjs +64 -29
- package/dist/setup/desktop-app.d.mts +8 -0
- package/dist/setup/desktop-app.mjs +20 -4
- package/dist/setup/detect.d.mts +14 -7
- package/dist/setup/detect.mjs +56 -10
- package/dist/setup/doctor.mjs +2 -4
- package/dist/setup/existing-setup.d.mts +1 -3
- package/dist/setup/existing-setup.mjs +10 -11
- package/dist/setup/migrate/row-titles.mjs +1 -1
- package/dist/setup/own-app.d.mts +1 -2
- package/dist/setup/own-app.mjs +4 -5
- package/dist/setup/plan.d.mts +8 -6
- package/dist/setup/plan.mjs +64 -48
- package/dist/setup/project.d.mts +6 -17
- package/dist/setup/project.mjs +17 -61
- package/dist/setup/prompts.d.mts +5 -5
- package/dist/setup/prompts.mjs +28 -61
- package/dist/setup/questions.d.mts +12 -4
- package/dist/setup/questions.mjs +10 -25
- package/dist/setup/starters.d.mts +2 -0
- package/dist/setup/starters.mjs +26 -9
- package/dist/setup/workspace-setup.d.mts +1 -2
- package/dist/setup/workspace-setup.mjs +4 -6
- package/dist/setup/write.d.mts +15 -5
- package/dist/setup/write.mjs +35 -9
- package/dist/shared/annotations-core.mjs +1 -1
- package/dist/shared/canvas-core.mjs +1 -1
- package/dist/shared/canvas-file.d.mts +201 -0
- package/dist/shared/canvas-file.mjs +1 -0
- package/dist/shared/comments/routes.d.mts +53 -0
- package/dist/shared/comments/routes.mjs +37 -0
- package/dist/shared/feedback.d.mts +8 -0
- package/dist/shared/feedback.mjs +10 -2
- package/dist/shared/page-review.d.mts +2 -11
- package/dist/shared/page-review.mjs +4 -13
- package/dist/shared/presence-core.d.mts +11 -0
- package/dist/shared/presence-core.mjs +11 -2
- package/dist/shared/review-file.d.mts +5 -0
- package/dist/shared/review-file.mjs +23 -13
- package/dist/shared/server-page.mjs +7 -1
- package/dist/shared/signup.d.mts +2 -5
- package/dist/shared/signup.mjs +2 -35
- package/dist/shared/studio-events.d.mts +0 -6
- package/dist/shared/studio-events.mjs +1 -5
- package/dist/shared/studio-files.d.mts +12 -0
- package/dist/shared/studio-files.mjs +6 -1
- package/dist/shared/studio-routes.d.mts +16 -62
- package/dist/shared/studio-routes.mjs +1 -69
- package/dist/shared/threads-core.d.mts +2 -2
- package/dist/shared/threads-core.mjs +1 -1
- package/extension/dist/feedback.js +148 -138
- package/extension/dist/manifest.json +1 -1
- package/extension/dist/picker.js +146 -136
- package/package.json +3 -20
- package/src/cli/banner.ts +45 -11
- package/src/cli/commands/app.ts +23 -8
- package/src/cli/commands/create.ts +17 -9
- package/src/cli/commands/dev.ts +0 -3
- package/src/cli/commands/hook.ts +4 -1
- package/src/cli/help.ts +3 -3
- package/src/config/index.ts +6 -5
- package/src/config/project-files.ts +21 -11
- package/src/config/renamed.ts +0 -3
- package/src/config/schema.ts +0 -1
- package/src/content/capture.ts +6 -12
- package/src/content/content.ts +7 -244
- package/src/content/flow-specs.ts +2 -1
- package/src/content/prototype-summary.ts +4 -44
- package/src/content/review-pages.ts +2 -1
- package/src/content/snapshot-client.ts +1 -1
- package/src/content/text-replace.ts +449 -0
- package/src/paths.ts +0 -8
- package/src/server/agent-env.ts +12 -2
- package/src/server/agent-session.ts +124 -34
- package/src/server/brief.ts +8 -3
- package/src/server/channel.ts +121 -52
- package/src/server/claimed-presence.ts +93 -0
- package/src/server/comments/actions.ts +352 -0
- package/src/server/comments/routes.ts +176 -0
- package/src/server/comments/tools.ts +317 -0
- package/src/server/dev-server.ts +49 -15
- package/src/server/file-errors.ts +47 -13
- package/src/server/file-lock.ts +205 -54
- package/src/server/mcp.ts +13 -14
- package/src/server/me.ts +2 -5
- package/src/server/open-page.ts +54 -4
- package/src/server/outcome.ts +26 -0
- package/src/server/people.ts +2 -1
- package/src/server/port.ts +94 -20
- package/src/server/presence.ts +11 -3
- package/src/server/requests.ts +60 -70
- package/src/server/studio-for.ts +27 -3
- package/src/server/sync-install.ts +35 -26
- package/src/server/thread-place.ts +2 -4
- package/src/server/tools/reading.ts +16 -3
- package/src/server/tools/watch.ts +7 -7
- package/src/server/vite.ts +37 -40
- package/src/server/web-app.ts +14 -12
- package/src/setup/apply.ts +10 -16
- package/src/setup/create.ts +143 -37
- package/src/setup/design-system-checks.ts +7 -15
- package/src/setup/desktop-app-script.ts +4 -3
- package/src/setup/desktop-app-start.ts +94 -26
- package/src/setup/desktop-app.ts +24 -3
- package/src/setup/detect.ts +56 -14
- package/src/setup/doctor.ts +4 -4
- package/src/setup/existing-setup.ts +10 -12
- package/src/setup/own-app.ts +2 -5
- package/src/setup/plan.ts +93 -84
- package/src/setup/project.ts +25 -118
- package/src/setup/prompts.ts +44 -127
- package/src/setup/questions.ts +27 -29
- package/src/setup/starters.ts +35 -10
- package/src/setup/workspace-setup.ts +8 -18
- package/src/setup/write.ts +52 -9
- package/src/shared/canvas-file.ts +205 -0
- package/src/shared/comments/routes.ts +79 -0
- package/src/shared/feedback.ts +14 -4
- package/src/shared/page-review.ts +11 -16
- package/src/shared/presence-core.ts +16 -2
- package/src/shared/review-file.ts +28 -12
- package/src/shared/server-page.ts +11 -1
- package/src/shared/signup.ts +4 -28
- package/src/shared/studio-events.ts +0 -13
- package/src/shared/studio-files.ts +14 -0
- package/src/shared/studio-routes.ts +21 -64
- package/src/shared/threads-core.ts +2 -2
- package/templates/methods/review.md +2 -2
- package/templates/rules/canvas-frames.md +104 -0
- package/templates/rules/canvas.md +8 -142
- package/templates/rules/prototypes.md +1 -1
- package/templates/rules/snapshots.md +52 -0
- package/templates/starters/standalone/README.md +7 -7
- package/templates/starters/standalone/components.json +1 -1
- package/templates/starters/standalone/package.json +1 -2
- package/templates/starters/turborepo/README.md +6 -6
- package/templates/starters/turborepo/apps/web/components.json +1 -1
- package/templates/starters/turborepo/apps/web/package.json +1 -2
- package/templates/starters/turborepo/apps/web/src/app.tsx +4 -5
- package/templates/starters/turborepo/packages/ui/components.json +1 -1
- package/templates/starters/turborepo/packages/ui/package.json +1 -2
- package/templates/starters/vite/README.md +7 -6
- package/templates/starters/vite/components.json +1 -1
- package/templates/starters/vite/package.json +1 -2
- package/templates/starters/vite/src/app.tsx +3 -4
- package/templates/starters/vite/src/components/ui/accordion.tsx +71 -0
- package/templates/starters/vite/src/components/ui/attachment.tsx +1 -1
- package/templates/starters/vite/src/components/ui/badge.tsx +2 -2
- package/templates/starters/vite/src/components/ui/button.tsx +17 -12
- package/templates/starters/vite/src/components/ui/card.tsx +1 -1
- package/templates/starters/vite/src/components/ui/checkbox.tsx +28 -0
- package/templates/starters/vite/src/components/ui/dialog.tsx +5 -5
- package/templates/starters/vite/src/components/ui/dropdown-menu.tsx +17 -14
- package/templates/starters/vite/src/components/ui/field.tsx +3 -1
- package/templates/starters/vite/src/components/ui/input-group.tsx +5 -3
- package/templates/starters/vite/src/components/ui/input.tsx +1 -1
- package/templates/starters/vite/src/components/ui/label.tsx +2 -0
- package/templates/starters/vite/src/components/ui/native-select.tsx +3 -4
- package/templates/starters/vite/src/components/ui/popover.tsx +1 -1
- package/templates/starters/vite/src/components/ui/separator.tsx +2 -0
- package/templates/starters/vite/src/components/ui/spinner.tsx +3 -7
- package/templates/starters/vite/src/components/ui/switch.tsx +1 -1
- package/templates/starters/vite/src/components/ui/textarea.tsx +1 -1
- package/templates/starters/vite/src/components/ui/toggle.tsx +4 -2
- package/templates/starters/vite/src/index.css +533 -111
- package/app/icons/sets/hugeicons.tsx +0 -259
- package/app/icons/sets/phosphor.tsx +0 -251
- package/dist/server/icon-set.d.mts +0 -15
- package/dist/server/icon-set.mjs +0 -31
- package/dist/server/tools/close-reply.d.mts +0 -6
- package/dist/server/tools/close-reply.mjs +0 -138
- package/dist/server/tools/comment.d.mts +0 -6
- package/dist/server/tools/comment.mjs +0 -49
- package/dist/shared/icon-sets.d.mts +0 -9
- package/dist/shared/icon-sets.mjs +0 -21
- package/src/server/icon-set.ts +0 -56
- package/src/server/tools/close-reply.ts +0 -271
- package/src/server/tools/comment.ts +0 -96
- package/src/shared/icon-sets.ts +0 -23
- /package/app/public/{sudio-192.png → dex-192.png} +0 -0
- /package/app/public/{sudio-512.png → dex-512.png} +0 -0
- /package/app/public/{apple-touch-icon.png → dex-apple-touch-icon.png} +0 -0
- /package/app/public/{favicon-32.png → dex-icon-32.png} +0 -0
- /package/app/public/{favicon.svg → dex-icon.svg} +0 -0
- /package/app/public/{sudio-maskable-512.png → dex-maskable-512.png} +0 -0
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
// Hugeicons: rounded, softer line icons.
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
AlertCircleIcon,
|
|
5
|
-
AppWindowIcon,
|
|
6
|
-
ArchiveIcon,
|
|
7
|
-
ArrowDown01Icon,
|
|
8
|
-
ArrowExpand01Icon,
|
|
9
|
-
ArrowLeft01Icon,
|
|
10
|
-
ArrowLeft02Icon,
|
|
11
|
-
ArrowRight01Icon,
|
|
12
|
-
ArrowRight02Icon,
|
|
13
|
-
ArrowShrink01Icon,
|
|
14
|
-
ArrowUp02Icon,
|
|
15
|
-
ArrowUpDownIcon,
|
|
16
|
-
ArrowUpRight01Icon,
|
|
17
|
-
BarChartIcon,
|
|
18
|
-
BookOpen01Icon,
|
|
19
|
-
BoundingBoxIcon,
|
|
20
|
-
BrowserIcon,
|
|
21
|
-
BubbleChatAddIcon,
|
|
22
|
-
BubbleChatIcon,
|
|
23
|
-
Cancel01Icon,
|
|
24
|
-
CarouselHorizontalIcon,
|
|
25
|
-
CheckmarkCircle02Icon,
|
|
26
|
-
CheckmarkSquare02Icon,
|
|
27
|
-
CircleArrowDown01Icon,
|
|
28
|
-
CircleArrowUp01Icon,
|
|
29
|
-
Clock01Icon,
|
|
30
|
-
ComputerTerminal01Icon,
|
|
31
|
-
Copy01Icon,
|
|
32
|
-
Cursor01Icon,
|
|
33
|
-
CursorPointer01Icon,
|
|
34
|
-
DashboardSquare01Icon,
|
|
35
|
-
DashboardSquare02Icon,
|
|
36
|
-
Delete02Icon,
|
|
37
|
-
Download04Icon,
|
|
38
|
-
File01Icon,
|
|
39
|
-
File02Icon,
|
|
40
|
-
Files02Icon,
|
|
41
|
-
FitToScreenIcon,
|
|
42
|
-
FlowConnectionIcon,
|
|
43
|
-
FrameIcon,
|
|
44
|
-
GitBranchIcon,
|
|
45
|
-
GitCommitIcon,
|
|
46
|
-
GitMergeIcon,
|
|
47
|
-
GitPullRequestIcon,
|
|
48
|
-
Grid3x3Icon,
|
|
49
|
-
GridViewIcon,
|
|
50
|
-
HandIcon,
|
|
51
|
-
Heading01Icon,
|
|
52
|
-
Heading02Icon,
|
|
53
|
-
Heading03Icon,
|
|
54
|
-
HelpCircleIcon,
|
|
55
|
-
Home01Icon,
|
|
56
|
-
Image01Icon,
|
|
57
|
-
InboxIcon,
|
|
58
|
-
InformationCircleIcon,
|
|
59
|
-
InputTextIcon,
|
|
60
|
-
LabelIcon,
|
|
61
|
-
LaptopIcon,
|
|
62
|
-
Layers01Icon,
|
|
63
|
-
Layout2RowIcon,
|
|
64
|
-
LayoutThreeColumnIcon,
|
|
65
|
-
LayoutTopIcon,
|
|
66
|
-
LeftToRightListBulletIcon,
|
|
67
|
-
LeftToRightListNumberIcon,
|
|
68
|
-
Link01Icon,
|
|
69
|
-
LinkSquare02Icon,
|
|
70
|
-
ListFilterIcon,
|
|
71
|
-
ListViewIcon,
|
|
72
|
-
Loading03Icon,
|
|
73
|
-
LockIcon,
|
|
74
|
-
Menu01Icon,
|
|
75
|
-
MessageAdd01Icon,
|
|
76
|
-
MessageNotification01Icon,
|
|
77
|
-
MinusSignIcon,
|
|
78
|
-
MonitorIcon,
|
|
79
|
-
Moon02Icon,
|
|
80
|
-
MoreHorizontalIcon,
|
|
81
|
-
Note01Icon,
|
|
82
|
-
NoteEditIcon,
|
|
83
|
-
Notification03Icon,
|
|
84
|
-
PaintBoardIcon,
|
|
85
|
-
PaperclipIcon,
|
|
86
|
-
PencilEdit02Icon,
|
|
87
|
-
PenTool03Icon,
|
|
88
|
-
PlayIcon,
|
|
89
|
-
PlusSignIcon,
|
|
90
|
-
Presentation01Icon,
|
|
91
|
-
RefreshIcon,
|
|
92
|
-
Robot01Icon,
|
|
93
|
-
Rocket01Icon,
|
|
94
|
-
RotateCcwIcon,
|
|
95
|
-
ScanSearchIcon,
|
|
96
|
-
Search01Icon,
|
|
97
|
-
Settings01Icon,
|
|
98
|
-
SidebarLeftIcon,
|
|
99
|
-
SlidersHorizontalIcon,
|
|
100
|
-
SmartPhone01Icon,
|
|
101
|
-
SmileIcon,
|
|
102
|
-
SourceCodeIcon,
|
|
103
|
-
SparklesIcon,
|
|
104
|
-
SquareIcon,
|
|
105
|
-
StarIcon,
|
|
106
|
-
Sun01Icon,
|
|
107
|
-
Table01Icon,
|
|
108
|
-
Tablet01Icon,
|
|
109
|
-
TabletSmartphoneIcon,
|
|
110
|
-
TextBoldIcon,
|
|
111
|
-
TextFontIcon,
|
|
112
|
-
TextIcon,
|
|
113
|
-
TextItalicIcon,
|
|
114
|
-
Tick02Icon,
|
|
115
|
-
ToggleOnIcon,
|
|
116
|
-
Tv01Icon,
|
|
117
|
-
Undo02Icon,
|
|
118
|
-
Upload01Icon,
|
|
119
|
-
UserCircleIcon,
|
|
120
|
-
UserGroupIcon,
|
|
121
|
-
UserIcon,
|
|
122
|
-
ViewIcon,
|
|
123
|
-
ViewOffSlashIcon,
|
|
124
|
-
WebDesign01Icon,
|
|
125
|
-
} from "@hugeicons/core-free-icons";
|
|
126
|
-
import { HugeiconsIcon, type IconSvgElement } from "@hugeicons/react";
|
|
127
|
-
import type { Glyph, GlyphProps, IconGlyphs } from "../types";
|
|
128
|
-
|
|
129
|
-
const STROKE = 1.5;
|
|
130
|
-
|
|
131
|
-
const hugeicon =
|
|
132
|
-
(icon: IconSvgElement): Glyph =>
|
|
133
|
-
({ size, strokeWidth: _, ...props }: GlyphProps) => (
|
|
134
|
-
<HugeiconsIcon icon={icon} size={size} strokeWidth={STROKE} {...props} />
|
|
135
|
-
);
|
|
136
|
-
|
|
137
|
-
export const glyphs = {
|
|
138
|
-
ArrowUpRight: hugeicon(ArrowUpRight01Icon),
|
|
139
|
-
GitBranch: hugeicon(GitBranchIcon),
|
|
140
|
-
GitCommitHorizontal: hugeicon(GitCommitIcon),
|
|
141
|
-
GitMerge: hugeicon(GitMergeIcon),
|
|
142
|
-
GitPullRequest: hugeicon(GitPullRequestIcon),
|
|
143
|
-
RefreshCw: hugeicon(RefreshIcon),
|
|
144
|
-
Upload: hugeicon(Upload01Icon),
|
|
145
|
-
AlignLeft: hugeicon(Note01Icon),
|
|
146
|
-
AppWindow: hugeicon(AppWindowIcon),
|
|
147
|
-
Archive: hugeicon(ArchiveIcon),
|
|
148
|
-
ArrowLeft: hugeicon(ArrowLeft02Icon),
|
|
149
|
-
ArrowRight: hugeicon(ArrowRight02Icon),
|
|
150
|
-
ArrowUp: hugeicon(ArrowUp02Icon),
|
|
151
|
-
ArrowUpDown: hugeicon(ArrowUpDownIcon),
|
|
152
|
-
Bell: hugeicon(Notification03Icon),
|
|
153
|
-
House: hugeicon(Home01Icon),
|
|
154
|
-
Bold: hugeicon(TextBoldIcon),
|
|
155
|
-
BookOpen: hugeicon(BookOpen01Icon),
|
|
156
|
-
Bot: hugeicon(Robot01Icon),
|
|
157
|
-
ChartColumn: hugeicon(BarChartIcon),
|
|
158
|
-
Check: hugeicon(Tick02Icon),
|
|
159
|
-
Braces: hugeicon(SourceCodeIcon),
|
|
160
|
-
Inbox: hugeicon(InboxIcon),
|
|
161
|
-
ChevronDown: hugeicon(ArrowDown01Icon),
|
|
162
|
-
ChevronLeft: hugeicon(ArrowLeft01Icon),
|
|
163
|
-
Download: hugeicon(Download04Icon),
|
|
164
|
-
ChevronRight: hugeicon(ArrowRight01Icon),
|
|
165
|
-
CircleAlert: hugeicon(AlertCircleIcon),
|
|
166
|
-
CircleArrowUp: hugeicon(CircleArrowUp01Icon),
|
|
167
|
-
CircleCheck: hugeicon(CheckmarkCircle02Icon),
|
|
168
|
-
CircleHelp: hugeicon(HelpCircleIcon),
|
|
169
|
-
CircleChevronDown: hugeicon(CircleArrowDown01Icon),
|
|
170
|
-
CircleUser: hugeicon(UserCircleIcon),
|
|
171
|
-
Columns3: hugeicon(LayoutThreeColumnIcon),
|
|
172
|
-
Clock: hugeicon(Clock01Icon),
|
|
173
|
-
LayoutGrid: hugeicon(GridViewIcon),
|
|
174
|
-
Copy: hugeicon(Copy01Icon),
|
|
175
|
-
Ellipsis: hugeicon(MoreHorizontalIcon),
|
|
176
|
-
ExternalLink: hugeicon(LinkSquare02Icon),
|
|
177
|
-
Eye: hugeicon(ViewIcon),
|
|
178
|
-
EyeOff: hugeicon(ViewOffSlashIcon),
|
|
179
|
-
File: hugeicon(File02Icon),
|
|
180
|
-
Files: hugeicon(Files02Icon),
|
|
181
|
-
FileText: hugeicon(File01Icon),
|
|
182
|
-
Frame: hugeicon(FrameIcon),
|
|
183
|
-
GalleryHorizontal: hugeicon(CarouselHorizontalIcon),
|
|
184
|
-
Hand: hugeicon(HandIcon),
|
|
185
|
-
Heading: hugeicon(TextIcon),
|
|
186
|
-
Heading1: hugeicon(Heading01Icon),
|
|
187
|
-
Heading2: hugeicon(Heading02Icon),
|
|
188
|
-
Heading3: hugeicon(Heading03Icon),
|
|
189
|
-
Image: hugeicon(Image01Icon),
|
|
190
|
-
Info: hugeicon(InformationCircleIcon),
|
|
191
|
-
Italic: hugeicon(TextItalicIcon),
|
|
192
|
-
Layers: hugeicon(Layers01Icon),
|
|
193
|
-
LayoutDashboard: hugeicon(DashboardSquare01Icon),
|
|
194
|
-
LayoutTemplate: hugeicon(DashboardSquare02Icon),
|
|
195
|
-
Link: hugeicon(Link01Icon),
|
|
196
|
-
Lock: hugeicon(LockIcon),
|
|
197
|
-
List: hugeicon(LeftToRightListBulletIcon),
|
|
198
|
-
ListFilter: hugeicon(ListFilterIcon),
|
|
199
|
-
ListOrdered: hugeicon(LeftToRightListNumberIcon),
|
|
200
|
-
Loader2: hugeicon(Loading03Icon),
|
|
201
|
-
Maximize2: hugeicon(ArrowExpand01Icon),
|
|
202
|
-
Menu: hugeicon(Menu01Icon),
|
|
203
|
-
Minimize2: hugeicon(ArrowShrink01Icon),
|
|
204
|
-
MessageCirclePlus: hugeicon(MessageAdd01Icon),
|
|
205
|
-
MessageCircle: hugeicon(BubbleChatIcon),
|
|
206
|
-
MessageSquarePlus: hugeicon(BubbleChatAddIcon),
|
|
207
|
-
MessageSquareWarning: hugeicon(MessageNotification01Icon),
|
|
208
|
-
Minus: hugeicon(MinusSignIcon),
|
|
209
|
-
Monitor: hugeicon(MonitorIcon),
|
|
210
|
-
Moon: hugeicon(Moon02Icon),
|
|
211
|
-
MousePointer2: hugeicon(Cursor01Icon),
|
|
212
|
-
MousePointerClick: hugeicon(CursorPointer01Icon),
|
|
213
|
-
NotebookPen: hugeicon(NoteEditIcon),
|
|
214
|
-
PanelBottom: hugeicon(WebDesign01Icon),
|
|
215
|
-
Palette: hugeicon(PaintBoardIcon),
|
|
216
|
-
Paperclip: hugeicon(PaperclipIcon),
|
|
217
|
-
Presentation: hugeicon(Presentation01Icon),
|
|
218
|
-
PanelLeft: hugeicon(SidebarLeftIcon),
|
|
219
|
-
PanelTop: hugeicon(LayoutTopIcon),
|
|
220
|
-
PanelsTopLeft: hugeicon(BrowserIcon),
|
|
221
|
-
PenTool: hugeicon(PenTool03Icon),
|
|
222
|
-
Pencil: hugeicon(PencilEdit02Icon),
|
|
223
|
-
Play: hugeicon(PlayIcon),
|
|
224
|
-
Plus: hugeicon(PlusSignIcon),
|
|
225
|
-
Rocket: hugeicon(Rocket01Icon),
|
|
226
|
-
RotateCcw: hugeicon(RotateCcwIcon),
|
|
227
|
-
Rows2: hugeicon(Layout2RowIcon),
|
|
228
|
-
Rows3: hugeicon(ListViewIcon),
|
|
229
|
-
Scaling: hugeicon(FitToScreenIcon),
|
|
230
|
-
ScanSearch: hugeicon(ScanSearchIcon),
|
|
231
|
-
Search: hugeicon(Search01Icon),
|
|
232
|
-
Settings: hugeicon(Settings01Icon),
|
|
233
|
-
SlidersHorizontal: hugeicon(SlidersHorizontalIcon),
|
|
234
|
-
Smartphone: hugeicon(SmartPhone01Icon),
|
|
235
|
-
SmilePlus: hugeicon(SmileIcon),
|
|
236
|
-
Sparkles: hugeicon(SparklesIcon),
|
|
237
|
-
Square: hugeicon(SquareIcon),
|
|
238
|
-
SquareDashed: hugeicon(BoundingBoxIcon),
|
|
239
|
-
SquareCheck: hugeicon(CheckmarkSquare02Icon),
|
|
240
|
-
SquareTerminal: hugeicon(ComputerTerminal01Icon),
|
|
241
|
-
Star: hugeicon(StarIcon),
|
|
242
|
-
Sun: hugeicon(Sun01Icon),
|
|
243
|
-
Table: hugeicon(Table01Icon),
|
|
244
|
-
Tablet: hugeicon(Tablet01Icon),
|
|
245
|
-
TabletSmartphone: hugeicon(TabletSmartphoneIcon),
|
|
246
|
-
Tv: hugeicon(Tv01Icon),
|
|
247
|
-
Laptop: hugeicon(LaptopIcon),
|
|
248
|
-
Grid3x3: hugeicon(Grid3x3Icon),
|
|
249
|
-
Tag: hugeicon(LabelIcon),
|
|
250
|
-
TextCursorInput: hugeicon(InputTextIcon),
|
|
251
|
-
ToggleRight: hugeicon(ToggleOnIcon),
|
|
252
|
-
Trash2: hugeicon(Delete02Icon),
|
|
253
|
-
Type: hugeicon(TextFontIcon),
|
|
254
|
-
Undo2: hugeicon(Undo02Icon),
|
|
255
|
-
User: hugeicon(UserIcon),
|
|
256
|
-
Users: hugeicon(UserGroupIcon),
|
|
257
|
-
Workflow: hugeicon(FlowConnectionIcon),
|
|
258
|
-
X: hugeicon(Cancel01Icon),
|
|
259
|
-
} satisfies IconGlyphs;
|
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
// Phosphor (regular weight): plain, open line icons. Deep
|
|
2
|
-
// imports keep bundlers off the 9,000-icon barrel.
|
|
3
|
-
|
|
4
|
-
import type { Icon as PhosphorIcon } from "@phosphor-icons/react/dist/lib/types";
|
|
5
|
-
import { AppWindowIcon as AppWindow } from "@phosphor-icons/react/dist/ssr/AppWindow";
|
|
6
|
-
import { ArchiveIcon as Archive } from "@phosphor-icons/react/dist/ssr/Archive";
|
|
7
|
-
import { ArrowCircleUpIcon as ArrowCircleUp } from "@phosphor-icons/react/dist/ssr/ArrowCircleUp";
|
|
8
|
-
import { ArrowCounterClockwiseIcon as ArrowCounterClockwise } from "@phosphor-icons/react/dist/ssr/ArrowCounterClockwise";
|
|
9
|
-
import { ArrowLeftIcon as ArrowLeft } from "@phosphor-icons/react/dist/ssr/ArrowLeft";
|
|
10
|
-
import { ArrowRightIcon as ArrowRight } from "@phosphor-icons/react/dist/ssr/ArrowRight";
|
|
11
|
-
import { ArrowSquareOutIcon as ArrowSquareOut } from "@phosphor-icons/react/dist/ssr/ArrowSquareOut";
|
|
12
|
-
import { ArrowsClockwiseIcon as ArrowsClockwise } from "@phosphor-icons/react/dist/ssr/ArrowsClockwise";
|
|
13
|
-
import { ArrowsDownUpIcon as ArrowsDownUp } from "@phosphor-icons/react/dist/ssr/ArrowsDownUp";
|
|
14
|
-
import { ArrowsInSimpleIcon as ArrowsInSimple } from "@phosphor-icons/react/dist/ssr/ArrowsInSimple";
|
|
15
|
-
import { ArrowsOutSimpleIcon as ArrowsOutSimple } from "@phosphor-icons/react/dist/ssr/ArrowsOutSimple";
|
|
16
|
-
import { ArrowUpIcon as ArrowUp } from "@phosphor-icons/react/dist/ssr/ArrowUp";
|
|
17
|
-
import { ArrowUpRightIcon as ArrowUpRight } from "@phosphor-icons/react/dist/ssr/ArrowUpRight";
|
|
18
|
-
import { BellIcon as Bell } from "@phosphor-icons/react/dist/ssr/Bell";
|
|
19
|
-
import { BookOpenIcon as BookOpen } from "@phosphor-icons/react/dist/ssr/BookOpen";
|
|
20
|
-
import { BoundingBoxIcon as BoundingBox } from "@phosphor-icons/react/dist/ssr/BoundingBox";
|
|
21
|
-
import { BracketsCurlyIcon as BracketsCurly } from "@phosphor-icons/react/dist/ssr/BracketsCurly";
|
|
22
|
-
import { BrowserIcon as Browser } from "@phosphor-icons/react/dist/ssr/Browser";
|
|
23
|
-
import { CardsIcon as Cards } from "@phosphor-icons/react/dist/ssr/Cards";
|
|
24
|
-
import { CaretCircleDownIcon as CaretCircleDown } from "@phosphor-icons/react/dist/ssr/CaretCircleDown";
|
|
25
|
-
import { CaretDownIcon as CaretDown } from "@phosphor-icons/react/dist/ssr/CaretDown";
|
|
26
|
-
import { CaretLeftIcon as CaretLeft } from "@phosphor-icons/react/dist/ssr/CaretLeft";
|
|
27
|
-
import { CaretRightIcon as CaretRight } from "@phosphor-icons/react/dist/ssr/CaretRight";
|
|
28
|
-
import { ChartBarIcon as ChartBar } from "@phosphor-icons/react/dist/ssr/ChartBar";
|
|
29
|
-
import { ChatCenteredDotsIcon as ChatCenteredDots } from "@phosphor-icons/react/dist/ssr/ChatCenteredDots";
|
|
30
|
-
import { ChatCenteredTextIcon as ChatCenteredText } from "@phosphor-icons/react/dist/ssr/ChatCenteredText";
|
|
31
|
-
import { ChatCircleIcon as ChatCircle } from "@phosphor-icons/react/dist/ssr/ChatCircle";
|
|
32
|
-
import { ChatCircleDotsIcon as ChatCircleDots } from "@phosphor-icons/react/dist/ssr/ChatCircleDots";
|
|
33
|
-
import { CheckIcon as Check } from "@phosphor-icons/react/dist/ssr/Check";
|
|
34
|
-
import { CheckCircleIcon as CheckCircle } from "@phosphor-icons/react/dist/ssr/CheckCircle";
|
|
35
|
-
import { CheckSquareIcon as CheckSquare } from "@phosphor-icons/react/dist/ssr/CheckSquare";
|
|
36
|
-
import { CircleNotchIcon as CircleNotch } from "@phosphor-icons/react/dist/ssr/CircleNotch";
|
|
37
|
-
import { ClockIcon as Clock } from "@phosphor-icons/react/dist/ssr/Clock";
|
|
38
|
-
import { ColumnsIcon as Columns } from "@phosphor-icons/react/dist/ssr/Columns";
|
|
39
|
-
import { CopyIcon as Copy } from "@phosphor-icons/react/dist/ssr/Copy";
|
|
40
|
-
import { CornersOutIcon as CornersOut } from "@phosphor-icons/react/dist/ssr/CornersOut";
|
|
41
|
-
import { CursorIcon as Cursor } from "@phosphor-icons/react/dist/ssr/Cursor";
|
|
42
|
-
import { CursorClickIcon as CursorClick } from "@phosphor-icons/react/dist/ssr/CursorClick";
|
|
43
|
-
import { DeviceMobileIcon as DeviceMobile } from "@phosphor-icons/react/dist/ssr/DeviceMobile";
|
|
44
|
-
import { DevicesIcon as Devices } from "@phosphor-icons/react/dist/ssr/Devices";
|
|
45
|
-
import { DeviceTabletIcon as DeviceTablet } from "@phosphor-icons/react/dist/ssr/DeviceTablet";
|
|
46
|
-
import { DotsThreeIcon as DotsThree } from "@phosphor-icons/react/dist/ssr/DotsThree";
|
|
47
|
-
import { DownloadSimpleIcon as DownloadSimple } from "@phosphor-icons/react/dist/ssr/DownloadSimple";
|
|
48
|
-
import { EyeIcon as Eye } from "@phosphor-icons/react/dist/ssr/Eye";
|
|
49
|
-
import { EyeSlashIcon as EyeSlash } from "@phosphor-icons/react/dist/ssr/EyeSlash";
|
|
50
|
-
import { FileIcon as File } from "@phosphor-icons/react/dist/ssr/File";
|
|
51
|
-
import { FilesIcon as Files } from "@phosphor-icons/react/dist/ssr/Files";
|
|
52
|
-
import { FileTextIcon as FileText } from "@phosphor-icons/react/dist/ssr/FileText";
|
|
53
|
-
import { FlowArrowIcon as FlowArrow } from "@phosphor-icons/react/dist/ssr/FlowArrow";
|
|
54
|
-
import { FrameCornersIcon as FrameCorners } from "@phosphor-icons/react/dist/ssr/FrameCorners";
|
|
55
|
-
import { FunnelSimpleIcon as FunnelSimple } from "@phosphor-icons/react/dist/ssr/FunnelSimple";
|
|
56
|
-
import { GearSixIcon as GearSix } from "@phosphor-icons/react/dist/ssr/GearSix";
|
|
57
|
-
import { GitBranchIcon as GitBranch } from "@phosphor-icons/react/dist/ssr/GitBranch";
|
|
58
|
-
import { GitCommitIcon as GitCommit } from "@phosphor-icons/react/dist/ssr/GitCommit";
|
|
59
|
-
import { GitMergeIcon as GitMerge } from "@phosphor-icons/react/dist/ssr/GitMerge";
|
|
60
|
-
import { GitPullRequestIcon as GitPullRequest } from "@phosphor-icons/react/dist/ssr/GitPullRequest";
|
|
61
|
-
import { GridFourIcon as GridFour } from "@phosphor-icons/react/dist/ssr/GridFour";
|
|
62
|
-
import { GridNineIcon as GridNine } from "@phosphor-icons/react/dist/ssr/GridNine";
|
|
63
|
-
import { HandIcon as Hand } from "@phosphor-icons/react/dist/ssr/Hand";
|
|
64
|
-
import { HouseIcon as House } from "@phosphor-icons/react/dist/ssr/House";
|
|
65
|
-
import { ImageIcon as Image } from "@phosphor-icons/react/dist/ssr/Image";
|
|
66
|
-
import { InfoIcon as Info } from "@phosphor-icons/react/dist/ssr/Info";
|
|
67
|
-
import { LaptopIcon as Laptop } from "@phosphor-icons/react/dist/ssr/Laptop";
|
|
68
|
-
import { LayoutIcon as Layout } from "@phosphor-icons/react/dist/ssr/Layout";
|
|
69
|
-
import { LinkIcon as Link } from "@phosphor-icons/react/dist/ssr/Link";
|
|
70
|
-
import { ListIcon as List } from "@phosphor-icons/react/dist/ssr/List";
|
|
71
|
-
import { ListBulletsIcon as ListBullets } from "@phosphor-icons/react/dist/ssr/ListBullets";
|
|
72
|
-
import { ListNumbersIcon as ListNumbers } from "@phosphor-icons/react/dist/ssr/ListNumbers";
|
|
73
|
-
import { LockIcon as Lock } from "@phosphor-icons/react/dist/ssr/Lock";
|
|
74
|
-
import { MagnifyingGlassIcon as MagnifyingGlass } from "@phosphor-icons/react/dist/ssr/MagnifyingGlass";
|
|
75
|
-
import { MagnifyingGlassPlusIcon as MagnifyingGlassPlus } from "@phosphor-icons/react/dist/ssr/MagnifyingGlassPlus";
|
|
76
|
-
import { MinusIcon as Minus } from "@phosphor-icons/react/dist/ssr/Minus";
|
|
77
|
-
import { MonitorIcon as Monitor } from "@phosphor-icons/react/dist/ssr/Monitor";
|
|
78
|
-
import { MoonIcon as Moon } from "@phosphor-icons/react/dist/ssr/Moon";
|
|
79
|
-
import { NotePencilIcon as NotePencil } from "@phosphor-icons/react/dist/ssr/NotePencil";
|
|
80
|
-
import { PaletteIcon as Palette } from "@phosphor-icons/react/dist/ssr/Palette";
|
|
81
|
-
import { PaperclipIcon as Paperclip } from "@phosphor-icons/react/dist/ssr/Paperclip";
|
|
82
|
-
import { PencilSimpleIcon as PencilSimple } from "@phosphor-icons/react/dist/ssr/PencilSimple";
|
|
83
|
-
import { PenNibIcon as PenNib } from "@phosphor-icons/react/dist/ssr/PenNib";
|
|
84
|
-
import { PlayIcon as Play } from "@phosphor-icons/react/dist/ssr/Play";
|
|
85
|
-
import { PlusIcon as Plus } from "@phosphor-icons/react/dist/ssr/Plus";
|
|
86
|
-
import { PresentationIcon as Presentation } from "@phosphor-icons/react/dist/ssr/Presentation";
|
|
87
|
-
import { QuestionIcon as Question } from "@phosphor-icons/react/dist/ssr/Question";
|
|
88
|
-
import { RobotIcon as Robot } from "@phosphor-icons/react/dist/ssr/Robot";
|
|
89
|
-
import { RocketLaunchIcon as RocketLaunch } from "@phosphor-icons/react/dist/ssr/RocketLaunch";
|
|
90
|
-
import { RowsIcon as Rows } from "@phosphor-icons/react/dist/ssr/Rows";
|
|
91
|
-
import { SidebarSimpleIcon as SidebarSimple } from "@phosphor-icons/react/dist/ssr/SidebarSimple";
|
|
92
|
-
import { SlidersHorizontalIcon as SlidersHorizontal } from "@phosphor-icons/react/dist/ssr/SlidersHorizontal";
|
|
93
|
-
import { SmileyIcon as Smiley } from "@phosphor-icons/react/dist/ssr/Smiley";
|
|
94
|
-
import { SparkleIcon as Sparkle } from "@phosphor-icons/react/dist/ssr/Sparkle";
|
|
95
|
-
import { SquareIcon as Square } from "@phosphor-icons/react/dist/ssr/Square";
|
|
96
|
-
import { SquareHalfBottomIcon as SquareHalfBottom } from "@phosphor-icons/react/dist/ssr/SquareHalfBottom";
|
|
97
|
-
import { SquaresFourIcon as SquaresFour } from "@phosphor-icons/react/dist/ssr/SquaresFour";
|
|
98
|
-
import { StackIcon as Stack } from "@phosphor-icons/react/dist/ssr/Stack";
|
|
99
|
-
import { StarIcon as Star } from "@phosphor-icons/react/dist/ssr/Star";
|
|
100
|
-
import { SunIcon as Sun } from "@phosphor-icons/react/dist/ssr/Sun";
|
|
101
|
-
import { TableIcon as Table } from "@phosphor-icons/react/dist/ssr/Table";
|
|
102
|
-
import { TabsIcon as Tabs } from "@phosphor-icons/react/dist/ssr/Tabs";
|
|
103
|
-
import { TagIcon as Tag } from "@phosphor-icons/react/dist/ssr/Tag";
|
|
104
|
-
import { TelevisionIcon as Television } from "@phosphor-icons/react/dist/ssr/Television";
|
|
105
|
-
import { TerminalWindowIcon as TerminalWindow } from "@phosphor-icons/react/dist/ssr/TerminalWindow";
|
|
106
|
-
import { TextAlignLeftIcon as TextAlignLeft } from "@phosphor-icons/react/dist/ssr/TextAlignLeft";
|
|
107
|
-
import { TextBIcon as TextB } from "@phosphor-icons/react/dist/ssr/TextB";
|
|
108
|
-
import { TextboxIcon as Textbox } from "@phosphor-icons/react/dist/ssr/Textbox";
|
|
109
|
-
import { TextHOneIcon as TextHOne } from "@phosphor-icons/react/dist/ssr/TextHOne";
|
|
110
|
-
import { TextHThreeIcon as TextHThree } from "@phosphor-icons/react/dist/ssr/TextHThree";
|
|
111
|
-
import { TextHTwoIcon as TextHTwo } from "@phosphor-icons/react/dist/ssr/TextHTwo";
|
|
112
|
-
import { TextItalicIcon as TextItalic } from "@phosphor-icons/react/dist/ssr/TextItalic";
|
|
113
|
-
import { TextTIcon as TextT } from "@phosphor-icons/react/dist/ssr/TextT";
|
|
114
|
-
import { ToggleRightIcon as ToggleRight } from "@phosphor-icons/react/dist/ssr/ToggleRight";
|
|
115
|
-
import { TrashIcon as Trash } from "@phosphor-icons/react/dist/ssr/Trash";
|
|
116
|
-
import { TrayIcon as Tray } from "@phosphor-icons/react/dist/ssr/Tray";
|
|
117
|
-
import { UploadSimpleIcon as UploadSimple } from "@phosphor-icons/react/dist/ssr/UploadSimple";
|
|
118
|
-
import { UserIcon as User } from "@phosphor-icons/react/dist/ssr/User";
|
|
119
|
-
import { UserCircleIcon as UserCircle } from "@phosphor-icons/react/dist/ssr/UserCircle";
|
|
120
|
-
import { UsersIcon as Users } from "@phosphor-icons/react/dist/ssr/Users";
|
|
121
|
-
import { WarningCircleIcon as WarningCircle } from "@phosphor-icons/react/dist/ssr/WarningCircle";
|
|
122
|
-
import { XIcon as X } from "@phosphor-icons/react/dist/ssr/X";
|
|
123
|
-
import type { Glyph, GlyphProps, IconGlyphs } from "../types";
|
|
124
|
-
|
|
125
|
-
const phosphor =
|
|
126
|
-
(Draw: PhosphorIcon): Glyph =>
|
|
127
|
-
({ size, ...props }: GlyphProps) => <Draw size={size} {...props} />;
|
|
128
|
-
|
|
129
|
-
export const glyphs = {
|
|
130
|
-
ArrowUpRight: phosphor(ArrowUpRight),
|
|
131
|
-
GitBranch: phosphor(GitBranch),
|
|
132
|
-
GitCommitHorizontal: phosphor(GitCommit),
|
|
133
|
-
GitMerge: phosphor(GitMerge),
|
|
134
|
-
GitPullRequest: phosphor(GitPullRequest),
|
|
135
|
-
RefreshCw: phosphor(ArrowsClockwise),
|
|
136
|
-
Upload: phosphor(UploadSimple),
|
|
137
|
-
AlignLeft: phosphor(TextAlignLeft),
|
|
138
|
-
AppWindow: phosphor(AppWindow),
|
|
139
|
-
Archive: phosphor(Archive),
|
|
140
|
-
ArrowLeft: phosphor(ArrowLeft),
|
|
141
|
-
ArrowRight: phosphor(ArrowRight),
|
|
142
|
-
ArrowUp: phosphor(ArrowUp),
|
|
143
|
-
ArrowUpDown: phosphor(ArrowsDownUp),
|
|
144
|
-
Bell: phosphor(Bell),
|
|
145
|
-
House: phosphor(House),
|
|
146
|
-
Bold: phosphor(TextB),
|
|
147
|
-
BookOpen: phosphor(BookOpen),
|
|
148
|
-
Bot: phosphor(Robot),
|
|
149
|
-
ChartColumn: phosphor(ChartBar),
|
|
150
|
-
Check: phosphor(Check),
|
|
151
|
-
Braces: phosphor(BracketsCurly),
|
|
152
|
-
Inbox: phosphor(Tray),
|
|
153
|
-
ChevronDown: phosphor(CaretDown),
|
|
154
|
-
ChevronLeft: phosphor(CaretLeft),
|
|
155
|
-
Download: phosphor(DownloadSimple),
|
|
156
|
-
ChevronRight: phosphor(CaretRight),
|
|
157
|
-
CircleAlert: phosphor(WarningCircle),
|
|
158
|
-
CircleArrowUp: phosphor(ArrowCircleUp),
|
|
159
|
-
CircleCheck: phosphor(CheckCircle),
|
|
160
|
-
CircleHelp: phosphor(Question),
|
|
161
|
-
CircleChevronDown: phosphor(CaretCircleDown),
|
|
162
|
-
CircleUser: phosphor(UserCircle),
|
|
163
|
-
Columns3: phosphor(Columns),
|
|
164
|
-
Clock: phosphor(Clock),
|
|
165
|
-
LayoutGrid: phosphor(GridFour),
|
|
166
|
-
Copy: phosphor(Copy),
|
|
167
|
-
Ellipsis: phosphor(DotsThree),
|
|
168
|
-
ExternalLink: phosphor(ArrowSquareOut),
|
|
169
|
-
Eye: phosphor(Eye),
|
|
170
|
-
EyeOff: phosphor(EyeSlash),
|
|
171
|
-
File: phosphor(File),
|
|
172
|
-
Files: phosphor(Files),
|
|
173
|
-
FileText: phosphor(FileText),
|
|
174
|
-
Frame: phosphor(FrameCorners),
|
|
175
|
-
GalleryHorizontal: phosphor(Cards),
|
|
176
|
-
Hand: phosphor(Hand),
|
|
177
|
-
Heading: phosphor(TextT),
|
|
178
|
-
Heading1: phosphor(TextHOne),
|
|
179
|
-
Heading2: phosphor(TextHTwo),
|
|
180
|
-
Heading3: phosphor(TextHThree),
|
|
181
|
-
Image: phosphor(Image),
|
|
182
|
-
Info: phosphor(Info),
|
|
183
|
-
Italic: phosphor(TextItalic),
|
|
184
|
-
Layers: phosphor(Stack),
|
|
185
|
-
LayoutDashboard: phosphor(SquaresFour),
|
|
186
|
-
LayoutTemplate: phosphor(Layout),
|
|
187
|
-
Link: phosphor(Link),
|
|
188
|
-
Lock: phosphor(Lock),
|
|
189
|
-
List: phosphor(ListBullets),
|
|
190
|
-
ListFilter: phosphor(FunnelSimple),
|
|
191
|
-
ListOrdered: phosphor(ListNumbers),
|
|
192
|
-
Loader2: phosphor(CircleNotch),
|
|
193
|
-
Maximize2: phosphor(ArrowsOutSimple),
|
|
194
|
-
Menu: phosphor(List),
|
|
195
|
-
Minimize2: phosphor(ArrowsInSimple),
|
|
196
|
-
MessageCirclePlus: phosphor(ChatCircleDots),
|
|
197
|
-
MessageCircle: phosphor(ChatCircle),
|
|
198
|
-
MessageSquarePlus: phosphor(ChatCenteredDots),
|
|
199
|
-
MessageSquareWarning: phosphor(ChatCenteredText),
|
|
200
|
-
Minus: phosphor(Minus),
|
|
201
|
-
Monitor: phosphor(Monitor),
|
|
202
|
-
Moon: phosphor(Moon),
|
|
203
|
-
MousePointer2: phosphor(Cursor),
|
|
204
|
-
MousePointerClick: phosphor(CursorClick),
|
|
205
|
-
NotebookPen: phosphor(NotePencil),
|
|
206
|
-
PanelBottom: phosphor(SquareHalfBottom),
|
|
207
|
-
Palette: phosphor(Palette),
|
|
208
|
-
Paperclip: phosphor(Paperclip),
|
|
209
|
-
Presentation: phosphor(Presentation),
|
|
210
|
-
PanelLeft: phosphor(SidebarSimple),
|
|
211
|
-
PanelTop: phosphor(Tabs),
|
|
212
|
-
PanelsTopLeft: phosphor(Browser),
|
|
213
|
-
PenTool: phosphor(PenNib),
|
|
214
|
-
Pencil: phosphor(PencilSimple),
|
|
215
|
-
Play: phosphor(Play),
|
|
216
|
-
Plus: phosphor(Plus),
|
|
217
|
-
Rocket: phosphor(RocketLaunch),
|
|
218
|
-
RotateCcw: phosphor(ArrowCounterClockwise),
|
|
219
|
-
Rows2: phosphor(Rows),
|
|
220
|
-
Rows3: phosphor(Rows),
|
|
221
|
-
Scaling: phosphor(CornersOut),
|
|
222
|
-
ScanSearch: phosphor(MagnifyingGlassPlus),
|
|
223
|
-
Search: phosphor(MagnifyingGlass),
|
|
224
|
-
Settings: phosphor(GearSix),
|
|
225
|
-
SlidersHorizontal: phosphor(SlidersHorizontal),
|
|
226
|
-
Smartphone: phosphor(DeviceMobile),
|
|
227
|
-
SmilePlus: phosphor(Smiley),
|
|
228
|
-
Sparkles: phosphor(Sparkle),
|
|
229
|
-
Square: phosphor(Square),
|
|
230
|
-
SquareDashed: phosphor(BoundingBox),
|
|
231
|
-
SquareCheck: phosphor(CheckSquare),
|
|
232
|
-
SquareTerminal: phosphor(TerminalWindow),
|
|
233
|
-
Star: phosphor(Star),
|
|
234
|
-
Sun: phosphor(Sun),
|
|
235
|
-
Table: phosphor(Table),
|
|
236
|
-
Tablet: phosphor(DeviceTablet),
|
|
237
|
-
TabletSmartphone: phosphor(Devices),
|
|
238
|
-
Tv: phosphor(Television),
|
|
239
|
-
Laptop: phosphor(Laptop),
|
|
240
|
-
Grid3x3: phosphor(GridNine),
|
|
241
|
-
Tag: phosphor(Tag),
|
|
242
|
-
TextCursorInput: phosphor(Textbox),
|
|
243
|
-
ToggleRight: phosphor(ToggleRight),
|
|
244
|
-
Trash2: phosphor(Trash),
|
|
245
|
-
Type: phosphor(TextT),
|
|
246
|
-
Undo2: phosphor(ArrowCounterClockwise),
|
|
247
|
-
User: phosphor(User),
|
|
248
|
-
Users: phosphor(Users),
|
|
249
|
-
Workflow: phosphor(FlowArrow),
|
|
250
|
-
X: phosphor(X),
|
|
251
|
-
} satisfies IconGlyphs;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { StudioInterface } from "../config/index.mjs";
|
|
2
|
-
import { InterfaceIcons } from "../shared/icon-sets.mjs";
|
|
3
|
-
//#region src/server/icon-set.d.ts
|
|
4
|
-
interface IconProject {
|
|
5
|
-
root: string;
|
|
6
|
-
ui?: StudioInterface;
|
|
7
|
-
}
|
|
8
|
-
export declare const interfaceIconSet: (project: IconProject) => InterfaceIcons;
|
|
9
|
-
/** Why the interface draws with Lucide, not the set chosen, and the command that installs it. */
|
|
10
|
-
export declare function missingIconSet(project: IconProject): {
|
|
11
|
-
fix: string;
|
|
12
|
-
message: string;
|
|
13
|
-
} | undefined;
|
|
14
|
-
export declare const iconSetWarnings: (project: IconProject) => string[];
|
|
15
|
-
//#endregion
|
package/dist/server/icon-set.mjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { studioPeer } from "../paths.mjs";
|
|
2
|
-
import { ICON_SET_PACKAGES, INTERFACE_ICONS } from "../shared/icon-sets.mjs";
|
|
3
|
-
import { canImport } from "../config/project-files.mjs";
|
|
4
|
-
import { packageManager, pmCommand } from "../config/package-manager.mjs";
|
|
5
|
-
//#region src/server/icon-set.ts
|
|
6
|
-
const chosenIconSet = (project) => {
|
|
7
|
-
const set = project.ui?.icons ?? "lucide";
|
|
8
|
-
if (!INTERFACE_ICONS.includes(set)) throw new Error(`ui.icons must be one of ${INTERFACE_ICONS.join(", ")}, not "${set}".`);
|
|
9
|
-
return set;
|
|
10
|
-
};
|
|
11
|
-
const interfaceIconSet = (project) => {
|
|
12
|
-
const set = chosenIconSet(project);
|
|
13
|
-
return ICON_SET_PACKAGES[set].every((name) => canImport(name, project.root)) ? set : "lucide";
|
|
14
|
-
};
|
|
15
|
-
/** Why the interface draws with Lucide, not the set chosen, and the command that installs it. */
|
|
16
|
-
function missingIconSet(project) {
|
|
17
|
-
const set = chosenIconSet(project);
|
|
18
|
-
if (interfaceIconSet(project) === set) return;
|
|
19
|
-
const names = ICON_SET_PACKAGES[set];
|
|
20
|
-
const specs = names.map((name) => `${name}@${studioPeer(name) ?? "latest"}`);
|
|
21
|
-
return {
|
|
22
|
-
message: `ui.icons is ${set}, but ${names.join(" and ")} ${names.length === 1 ? "isn't" : "aren't"} installed, so the interface draws with Lucide`,
|
|
23
|
-
fix: `Install it: ${pmCommand(packageManager(project.root), "add", ["-D", ...specs]).join(" ")}`
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
const iconSetWarnings = (project) => {
|
|
27
|
-
const missing = missingIconSet(project);
|
|
28
|
-
return missing ? [`${missing.message}. ${missing.fix}`] : [];
|
|
29
|
-
};
|
|
30
|
-
//#endregion
|
|
31
|
-
export { iconSetWarnings, interfaceIconSet, missingIconSet };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ToolContext } from "./context.mjs";
|
|
2
|
-
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
3
|
-
//#region src/server/tools/close-reply.d.ts
|
|
4
|
-
/** Register `close` and `reply` on `server`. */
|
|
5
|
-
export declare function registerCloseAndReplyTools(server: McpServer, context: ToolContext): void;
|
|
6
|
-
//#endregion
|