@k8ordo/ui 2.3.1 → 3.0.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/README.md +6 -5
- package/dist/components/ai/_internal/attachment-preview.mjs +3 -3
- package/dist/components/ai/_internal/collapsible.mjs +1 -1
- package/dist/components/ai/conversation/conversation.mjs +1 -1
- package/dist/components/ai/message/message.mjs +5 -3
- package/dist/components/ai/prompt-input/prompt-input.mjs +3 -3
- package/dist/components/ai/reasoning/reasoning.mjs +1 -1
- package/dist/components/ai/source/source.mjs +2 -2
- package/dist/components/ai/tool-invocation/tool-invocation.mjs +2 -1
- package/dist/components/buttons/copy-button/copy-button.mjs +3 -1
- package/dist/components/data-display/accordion/accordion-button.mjs +1 -1
- package/dist/components/data-display/carousel/carousel.mjs +1 -1
- package/dist/components/data-display/data-table/data-table.mjs +1 -1
- package/dist/components/data-display/tree/tree.mjs +1 -1
- package/dist/components/feedback/alert/alert.mjs +3 -2
- package/dist/components/feedback/callout/callout.mjs +1 -1
- package/dist/components/form/autocomplete/autocomplete.mjs +3 -3
- package/dist/components/form/calendar/calendar.mjs +1 -1
- package/dist/components/form/checkbox/checkbox.mjs +2 -1
- package/dist/components/form/checkbox-card/checkbox-card.mjs +1 -1
- package/dist/components/form/combobox/combobox.mjs +1 -1
- package/dist/components/form/date-picker/date-picker.mjs +2 -2
- package/dist/components/form/file-field/file-field.mjs +2 -2
- package/dist/components/form/number-field/number-field.mjs +1 -1
- package/dist/components/form/password-input/password-input.mjs +3 -2
- package/dist/components/form/select/select.mjs +1 -1
- package/dist/components/icons/alert.d.mts +6 -0
- package/dist/components/icons/alert.mjs +17 -0
- package/dist/components/icons/{vertical-writing.d.mts → arrow-down.d.mts} +1 -1
- package/dist/components/icons/arrow-down.mjs +8 -0
- package/dist/components/icons/arrow-left.d.mts +3 -0
- package/dist/components/icons/arrow-left.mjs +8 -0
- package/dist/components/icons/arrow-right.d.mts +3 -0
- package/dist/components/icons/arrow-right.mjs +8 -0
- package/dist/components/icons/{twitter.d.mts → arrow-up.d.mts} +1 -1
- package/dist/components/icons/arrow-up.mjs +8 -0
- package/dist/components/icons/{qiita.d.mts → bell.d.mts} +1 -1
- package/dist/components/icons/bell.mjs +8 -0
- package/dist/components/icons/{github-mark.d.mts → blend.d.mts} +1 -1
- package/dist/components/icons/blend.mjs +16 -0
- package/dist/components/icons/book-text.d.mts +3 -0
- package/dist/components/icons/book-text.mjs +8 -0
- package/dist/components/icons/bookmark.d.mts +3 -0
- package/dist/components/icons/bookmark.mjs +8 -0
- package/dist/components/icons/bot-message.d.mts +3 -0
- package/dist/components/icons/bot-message.mjs +8 -0
- package/dist/components/icons/bot.d.mts +3 -0
- package/dist/components/icons/bot.mjs +14 -0
- package/dist/components/icons/calendar.d.mts +3 -0
- package/dist/components/icons/calendar.mjs +14 -0
- package/dist/components/icons/check.d.mts +3 -0
- package/dist/components/icons/check.mjs +8 -0
- package/dist/components/icons/chevron-down.d.mts +3 -0
- package/dist/components/icons/chevron-down.mjs +8 -0
- package/dist/components/icons/chevron-left.d.mts +3 -0
- package/dist/components/icons/chevron-left.mjs +8 -0
- package/dist/components/icons/chevron-right.d.mts +3 -0
- package/dist/components/icons/chevron-right.mjs +8 -0
- package/dist/components/icons/chevron-up.d.mts +3 -0
- package/dist/components/icons/chevron-up.mjs +8 -0
- package/dist/components/icons/chevron.d.mts +6 -0
- package/dist/components/icons/chevron.mjs +17 -0
- package/dist/components/icons/chevrons-up-down.d.mts +3 -0
- package/dist/components/icons/chevrons-up-down.mjs +8 -0
- package/dist/components/icons/circle-alert.d.mts +3 -0
- package/dist/components/icons/circle-alert.mjs +12 -0
- package/dist/components/icons/circle-check.d.mts +3 -0
- package/dist/components/icons/circle-check.mjs +12 -0
- package/dist/components/icons/circle-help.d.mts +3 -0
- package/dist/components/icons/circle-help.mjs +12 -0
- package/dist/components/icons/circle-x.d.mts +3 -0
- package/dist/components/icons/circle-x.mjs +12 -0
- package/dist/components/icons/clock.d.mts +3 -0
- package/dist/components/icons/clock.mjs +12 -0
- package/dist/components/icons/code.d.mts +3 -0
- package/dist/components/icons/code.mjs +8 -0
- package/dist/components/icons/color-scale.mjs +18 -30
- package/dist/components/icons/contrast.d.mts +3 -0
- package/dist/components/icons/contrast.mjs +15 -0
- package/dist/components/icons/copy.d.mts +3 -0
- package/dist/components/icons/copy.mjs +14 -0
- package/dist/components/icons/download.d.mts +3 -0
- package/dist/components/icons/download.mjs +8 -0
- package/dist/components/icons/ellipsis-vertical.d.mts +3 -0
- package/dist/components/icons/ellipsis-vertical.mjs +27 -0
- package/dist/components/icons/ellipsis.d.mts +3 -0
- package/dist/components/icons/ellipsis.mjs +27 -0
- package/dist/components/icons/external-link.d.mts +3 -0
- package/dist/components/icons/external-link.mjs +8 -0
- package/dist/components/icons/eye-closed.d.mts +3 -0
- package/dist/components/icons/eye-closed.mjs +8 -0
- package/dist/components/icons/eye.d.mts +3 -0
- package/dist/components/icons/eye.mjs +12 -0
- package/dist/components/icons/file-text.d.mts +3 -0
- package/dist/components/icons/file-text.mjs +12 -0
- package/dist/components/icons/file.d.mts +3 -0
- package/dist/components/icons/file.mjs +8 -0
- package/dist/components/icons/filter.d.mts +3 -0
- package/dist/components/icons/filter.mjs +8 -0
- package/dist/components/icons/flask.d.mts +3 -0
- package/dist/components/icons/flask.mjs +8 -0
- package/dist/components/icons/folder-open.d.mts +3 -0
- package/dist/components/icons/folder-open.mjs +8 -0
- package/dist/components/icons/folder.d.mts +3 -0
- package/dist/components/icons/folder.mjs +8 -0
- package/dist/components/icons/git-fork.d.mts +3 -0
- package/dist/components/icons/git-fork.mjs +25 -0
- package/dist/components/icons/globe.d.mts +3 -0
- package/dist/components/icons/globe.mjs +12 -0
- package/dist/components/icons/grid.d.mts +3 -0
- package/dist/components/icons/grid.mjs +37 -0
- package/dist/components/icons/grip-vertical.d.mts +3 -0
- package/dist/components/icons/grip-vertical.mjs +45 -0
- package/dist/components/icons/heart.d.mts +3 -0
- package/dist/components/icons/heart.mjs +8 -0
- package/dist/components/icons/history.d.mts +3 -0
- package/dist/components/icons/history.mjs +8 -0
- package/dist/components/icons/home.d.mts +3 -0
- package/dist/components/icons/home.mjs +8 -0
- package/dist/components/icons/image.d.mts +3 -0
- package/dist/components/icons/image.mjs +22 -0
- package/dist/components/icons/index.d.mts +105 -9
- package/dist/components/icons/index.mjs +105 -8
- package/dist/components/icons/info.d.mts +3 -0
- package/dist/components/icons/info.mjs +12 -0
- package/dist/components/icons/lightbulb.d.mts +3 -0
- package/dist/components/icons/lightbulb.mjs +8 -0
- package/dist/components/icons/line-icon.d.mts +3 -0
- package/dist/components/icons/line-icon.mjs +17 -0
- package/dist/components/icons/link.d.mts +3 -0
- package/dist/components/icons/link.mjs +11 -0
- package/dist/components/icons/list.d.mts +3 -0
- package/dist/components/icons/list.mjs +8 -0
- package/dist/components/icons/lock-open.d.mts +3 -0
- package/dist/components/icons/lock-open.mjs +14 -0
- package/dist/components/icons/lock.d.mts +3 -0
- package/dist/components/icons/lock.mjs +14 -0
- package/dist/components/icons/log-in.d.mts +3 -0
- package/dist/components/icons/log-in.mjs +8 -0
- package/dist/components/icons/log-out.d.mts +3 -0
- package/dist/components/icons/log-out.mjs +8 -0
- package/dist/components/icons/mail.d.mts +3 -0
- package/dist/components/icons/mail.mjs +14 -0
- package/dist/components/icons/map-pin.d.mts +3 -0
- package/dist/components/icons/map-pin.mjs +12 -0
- package/dist/components/icons/maximize.d.mts +3 -0
- package/dist/components/icons/maximize.mjs +8 -0
- package/dist/components/icons/menu.d.mts +3 -0
- package/dist/components/icons/menu.mjs +8 -0
- package/dist/components/icons/message-circle.d.mts +3 -0
- package/dist/components/icons/message-circle.mjs +8 -0
- package/dist/components/icons/minimize.d.mts +3 -0
- package/dist/components/icons/minimize.mjs +8 -0
- package/dist/components/icons/minus.d.mts +3 -0
- package/dist/components/icons/minus.mjs +8 -0
- package/dist/components/icons/monitor.d.mts +3 -0
- package/dist/components/icons/monitor.mjs +14 -0
- package/dist/components/icons/moon.d.mts +3 -0
- package/dist/components/icons/moon.mjs +8 -0
- package/dist/components/icons/package.d.mts +3 -0
- package/dist/components/icons/package.mjs +8 -0
- package/dist/components/icons/paint-bucket.d.mts +3 -0
- package/dist/components/icons/paint-bucket.mjs +8 -0
- package/dist/components/icons/palette.d.mts +3 -0
- package/dist/components/icons/palette.mjs +8 -0
- package/dist/components/icons/panel-left.d.mts +3 -0
- package/dist/components/icons/panel-left.mjs +14 -0
- package/dist/components/icons/paperclip.d.mts +3 -0
- package/dist/components/icons/paperclip.mjs +11 -0
- package/dist/components/icons/pause.d.mts +3 -0
- package/dist/components/icons/pause.mjs +20 -0
- package/dist/components/icons/pencil.d.mts +3 -0
- package/dist/components/icons/pencil.mjs +8 -0
- package/dist/components/icons/pin.d.mts +3 -0
- package/dist/components/icons/pin.mjs +11 -0
- package/dist/components/icons/play.d.mts +3 -0
- package/dist/components/icons/play.mjs +8 -0
- package/dist/components/icons/plus.d.mts +3 -0
- package/dist/components/icons/plus.mjs +8 -0
- package/dist/components/icons/presentation.d.mts +3 -0
- package/dist/components/icons/presentation.mjs +8 -0
- package/dist/components/icons/redo.d.mts +3 -0
- package/dist/components/icons/redo.mjs +8 -0
- package/dist/components/icons/refresh.d.mts +3 -0
- package/dist/components/icons/refresh.mjs +8 -0
- package/dist/components/icons/rocket.d.mts +3 -0
- package/dist/components/icons/rocket.mjs +19 -0
- package/dist/components/icons/rss.d.mts +3 -0
- package/dist/components/icons/rss.mjs +13 -0
- package/dist/components/icons/search.d.mts +3 -0
- package/dist/components/icons/search.mjs +12 -0
- package/dist/components/icons/send.d.mts +3 -0
- package/dist/components/icons/send.mjs +8 -0
- package/dist/components/icons/settings.d.mts +3 -0
- package/dist/components/icons/settings.mjs +12 -0
- package/dist/components/icons/share.d.mts +3 -0
- package/dist/components/icons/share.mjs +25 -0
- package/dist/components/icons/shield-check.d.mts +3 -0
- package/dist/components/icons/shield-check.mjs +8 -0
- package/dist/components/icons/smile.d.mts +3 -0
- package/dist/components/icons/smile.mjs +12 -0
- package/dist/components/icons/sparkles.d.mts +3 -0
- package/dist/components/icons/sparkles.mjs +8 -0
- package/dist/components/icons/square.d.mts +3 -0
- package/dist/components/icons/square.mjs +14 -0
- package/dist/components/icons/squircle.d.mts +3 -0
- package/dist/components/icons/squircle.mjs +8 -0
- package/dist/components/icons/star.d.mts +3 -0
- package/dist/components/icons/star.mjs +8 -0
- package/dist/components/icons/sun.d.mts +3 -0
- package/dist/components/icons/sun.mjs +12 -0
- package/dist/components/icons/table.d.mts +3 -0
- package/dist/components/icons/table.mjs +14 -0
- package/dist/components/icons/tag.d.mts +3 -0
- package/dist/components/icons/tag.mjs +8 -0
- package/dist/components/icons/text-horizontal.d.mts +3 -0
- package/dist/components/icons/text-horizontal.mjs +8 -0
- package/dist/components/icons/text-vertical.d.mts +3 -0
- package/dist/components/icons/text-vertical.mjs +8 -0
- package/dist/components/icons/thumbs-down.d.mts +3 -0
- package/dist/components/icons/thumbs-down.mjs +8 -0
- package/dist/components/icons/thumbs-up.d.mts +3 -0
- package/dist/components/icons/thumbs-up.mjs +8 -0
- package/dist/components/icons/trash.d.mts +3 -0
- package/dist/components/icons/trash.mjs +8 -0
- package/dist/components/icons/triangle-alert.d.mts +3 -0
- package/dist/components/icons/triangle-alert.mjs +8 -0
- package/dist/components/icons/undo.d.mts +3 -0
- package/dist/components/icons/undo.mjs +8 -0
- package/dist/components/icons/upload.d.mts +3 -0
- package/dist/components/icons/upload.mjs +8 -0
- package/dist/components/icons/user.d.mts +3 -0
- package/dist/components/icons/user.mjs +12 -0
- package/dist/components/icons/users.d.mts +3 -0
- package/dist/components/icons/users.mjs +12 -0
- package/dist/components/icons/x.d.mts +3 -0
- package/dist/components/icons/x.mjs +8 -0
- package/dist/components/index.d.mts +1 -11
- package/dist/components/index.mjs +1 -9
- package/dist/components/navigation/anchor/anchor.mjs +1 -1
- package/dist/components/navigation/breadcrumb/breadcrumb.mjs +1 -1
- package/dist/components/navigation/pagination/pagination.mjs +1 -1
- package/dist/components/navigation/side-nav/side-nav.mjs +1 -1
- package/dist/components/navigation/stepper/stepper.mjs +1 -1
- package/dist/components/overlays/dialog/dialog.mjs +2 -2
- package/dist/components/overlays/drawer/drawer.mjs +2 -2
- package/dist/components/overlays/dropdown-menu/dropdown-menu.mjs +1 -1
- package/dist/components/overlays/dropdown-menu/sub-menu.mjs +1 -1
- package/dist/components/overlays/list-box/list-box.mjs +2 -1
- package/dist/index.d.mts +1 -10
- package/dist/index.mjs +1 -9
- package/dist/integrations/_shared/icon-map.d.mts +106 -0
- package/dist/integrations/_shared/icon-map.mjs +208 -0
- package/dist/integrations/_shared/icon-names.d.mts +1 -0
- package/dist/integrations/_shared/icon-names.mjs +106 -0
- package/dist/integrations/_shared/renderers.mjs +3 -59
- package/dist/integrations/_shared/schemas.d.mts +432 -177
- package/dist/integrations/_shared/schemas.mjs +2 -53
- package/dist/integrations/json-render/catalog.d.mts +344 -140
- package/dist/styles/index.css +0 -6
- package/dist/styles/tailwind.css +0 -3
- package/dist/styles/tokens.d.mts +1 -1
- package/dist/styles/tokens.mjs +1 -1
- package/docs/GUIDE.md +4 -3
- package/docs/props.generated.json +714 -216
- package/docs/references/ai-chat.md +7 -5
- package/docs/references/components.md +91 -28
- package/docs/references/generative-ui.md +6 -3
- package/package.json +29 -26
- package/dist/components/ai/_internal/icons.d.mts +0 -6
- package/dist/components/ai/_internal/icons.mjs +0 -13
- package/dist/components/icons/browsers.d.mts +0 -6
- package/dist/components/icons/browsers.mjs +0 -890
- package/dist/components/icons/github-mark.mjs +0 -18
- package/dist/components/icons/logo.css +0 -17
- package/dist/components/icons/logo.d.mts +0 -4
- package/dist/components/icons/logo.mjs +0 -29
- package/dist/components/icons/logo.module.mjs +0 -8
- package/dist/components/icons/lucide-imports.d.mts +0 -67
- package/dist/components/icons/lucide-imports.mjs +0 -67
- package/dist/components/icons/lucide.d.mts +0 -67
- package/dist/components/icons/lucide.mjs +0 -255
- package/dist/components/icons/qiita.mjs +0 -27
- package/dist/components/icons/twitter.css +0 -9
- package/dist/components/icons/twitter.mjs +0 -20
- package/dist/components/icons/twitter.module.mjs +0 -4
- package/dist/components/icons/vertical-writing.mjs +0 -25
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { CircleAlertIcon } from "../../components/icons/circle-alert.mjs";
|
|
2
|
+
import { CircleCheckIcon } from "../../components/icons/circle-check.mjs";
|
|
3
|
+
import { InfoIcon } from "../../components/icons/info.mjs";
|
|
4
|
+
import { TriangleAlertIcon } from "../../components/icons/triangle-alert.mjs";
|
|
5
|
+
import { CheckIcon } from "../../components/icons/check.mjs";
|
|
6
|
+
import { CopyIcon } from "../../components/icons/copy.mjs";
|
|
7
|
+
import { ChevronDownIcon } from "../../components/icons/chevron-down.mjs";
|
|
8
|
+
import { ChevronLeftIcon } from "../../components/icons/chevron-left.mjs";
|
|
9
|
+
import { ChevronRightIcon } from "../../components/icons/chevron-right.mjs";
|
|
10
|
+
import { ChevronUpIcon } from "../../components/icons/chevron-up.mjs";
|
|
11
|
+
import { MinusIcon } from "../../components/icons/minus.mjs";
|
|
12
|
+
import { XIcon } from "../../components/icons/x.mjs";
|
|
13
|
+
import { CalendarIcon } from "../../components/icons/calendar.mjs";
|
|
14
|
+
import { EyeIcon } from "../../components/icons/eye.mjs";
|
|
15
|
+
import { EyeClosedIcon } from "../../components/icons/eye-closed.mjs";
|
|
16
|
+
import { ExternalLinkIcon } from "../../components/icons/external-link.mjs";
|
|
17
|
+
import { FileIcon } from "../../components/icons/file.mjs";
|
|
18
|
+
import { RefreshIcon } from "../../components/icons/refresh.mjs";
|
|
19
|
+
import { ThumbsDownIcon } from "../../components/icons/thumbs-down.mjs";
|
|
20
|
+
import { ThumbsUpIcon } from "../../components/icons/thumbs-up.mjs";
|
|
21
|
+
import { PaperclipIcon } from "../../components/icons/paperclip.mjs";
|
|
22
|
+
import { SendIcon } from "../../components/icons/send.mjs";
|
|
23
|
+
import { SparklesIcon } from "../../components/icons/sparkles.mjs";
|
|
24
|
+
import { ArrowDownIcon } from "../../components/icons/arrow-down.mjs";
|
|
25
|
+
import { ArrowLeftIcon } from "../../components/icons/arrow-left.mjs";
|
|
26
|
+
import { ArrowRightIcon } from "../../components/icons/arrow-right.mjs";
|
|
27
|
+
import { ArrowUpIcon } from "../../components/icons/arrow-up.mjs";
|
|
28
|
+
import { BellIcon } from "../../components/icons/bell.mjs";
|
|
29
|
+
import { BlendIcon } from "../../components/icons/blend.mjs";
|
|
30
|
+
import { BookTextIcon } from "../../components/icons/book-text.mjs";
|
|
31
|
+
import { BookmarkIcon } from "../../components/icons/bookmark.mjs";
|
|
32
|
+
import { BotMessageIcon } from "../../components/icons/bot-message.mjs";
|
|
33
|
+
import { BotIcon } from "../../components/icons/bot.mjs";
|
|
34
|
+
import { ChevronsUpDownIcon } from "../../components/icons/chevrons-up-down.mjs";
|
|
35
|
+
import { CircleHelpIcon } from "../../components/icons/circle-help.mjs";
|
|
36
|
+
import { CircleXIcon } from "../../components/icons/circle-x.mjs";
|
|
37
|
+
import { ClockIcon } from "../../components/icons/clock.mjs";
|
|
38
|
+
import { CodeIcon } from "../../components/icons/code.mjs";
|
|
39
|
+
import { ColorScaleIcon } from "../../components/icons/color-scale.mjs";
|
|
40
|
+
import { ContrastIcon } from "../../components/icons/contrast.mjs";
|
|
41
|
+
import { DownloadIcon } from "../../components/icons/download.mjs";
|
|
42
|
+
import { EllipsisVerticalIcon } from "../../components/icons/ellipsis-vertical.mjs";
|
|
43
|
+
import { EllipsisIcon } from "../../components/icons/ellipsis.mjs";
|
|
44
|
+
import { FileTextIcon } from "../../components/icons/file-text.mjs";
|
|
45
|
+
import { FilterIcon } from "../../components/icons/filter.mjs";
|
|
46
|
+
import { FlaskIcon } from "../../components/icons/flask.mjs";
|
|
47
|
+
import { FolderOpenIcon } from "../../components/icons/folder-open.mjs";
|
|
48
|
+
import { FolderIcon } from "../../components/icons/folder.mjs";
|
|
49
|
+
import { GitForkIcon } from "../../components/icons/git-fork.mjs";
|
|
50
|
+
import { GlobeIcon } from "../../components/icons/globe.mjs";
|
|
51
|
+
import { GridIcon } from "../../components/icons/grid.mjs";
|
|
52
|
+
import { GripVerticalIcon } from "../../components/icons/grip-vertical.mjs";
|
|
53
|
+
import { HeartIcon } from "../../components/icons/heart.mjs";
|
|
54
|
+
import { HistoryIcon } from "../../components/icons/history.mjs";
|
|
55
|
+
import { HomeIcon } from "../../components/icons/home.mjs";
|
|
56
|
+
import { ImageIcon } from "../../components/icons/image.mjs";
|
|
57
|
+
import { LightbulbIcon } from "../../components/icons/lightbulb.mjs";
|
|
58
|
+
import { LinkIcon } from "../../components/icons/link.mjs";
|
|
59
|
+
import { ListIcon } from "../../components/icons/list.mjs";
|
|
60
|
+
import { LockIcon } from "../../components/icons/lock.mjs";
|
|
61
|
+
import { LockOpenIcon } from "../../components/icons/lock-open.mjs";
|
|
62
|
+
import { LogInIcon } from "../../components/icons/log-in.mjs";
|
|
63
|
+
import { LogOutIcon } from "../../components/icons/log-out.mjs";
|
|
64
|
+
import { MailIcon } from "../../components/icons/mail.mjs";
|
|
65
|
+
import { MapPinIcon } from "../../components/icons/map-pin.mjs";
|
|
66
|
+
import { MaximizeIcon } from "../../components/icons/maximize.mjs";
|
|
67
|
+
import { MenuIcon } from "../../components/icons/menu.mjs";
|
|
68
|
+
import { MessageCircleIcon } from "../../components/icons/message-circle.mjs";
|
|
69
|
+
import { MinimizeIcon } from "../../components/icons/minimize.mjs";
|
|
70
|
+
import { MonitorIcon } from "../../components/icons/monitor.mjs";
|
|
71
|
+
import { MoonIcon } from "../../components/icons/moon.mjs";
|
|
72
|
+
import { PackageIcon } from "../../components/icons/package.mjs";
|
|
73
|
+
import { PaintBucketIcon } from "../../components/icons/paint-bucket.mjs";
|
|
74
|
+
import { PaletteIcon } from "../../components/icons/palette.mjs";
|
|
75
|
+
import { PanelLeftIcon } from "../../components/icons/panel-left.mjs";
|
|
76
|
+
import { PauseIcon } from "../../components/icons/pause.mjs";
|
|
77
|
+
import { PencilIcon } from "../../components/icons/pencil.mjs";
|
|
78
|
+
import { PinIcon } from "../../components/icons/pin.mjs";
|
|
79
|
+
import { PlayIcon } from "../../components/icons/play.mjs";
|
|
80
|
+
import { PlusIcon } from "../../components/icons/plus.mjs";
|
|
81
|
+
import { PresentationIcon } from "../../components/icons/presentation.mjs";
|
|
82
|
+
import { RedoIcon } from "../../components/icons/redo.mjs";
|
|
83
|
+
import { RocketIcon } from "../../components/icons/rocket.mjs";
|
|
84
|
+
import { RssIcon } from "../../components/icons/rss.mjs";
|
|
85
|
+
import { SearchIcon } from "../../components/icons/search.mjs";
|
|
86
|
+
import { SettingsIcon } from "../../components/icons/settings.mjs";
|
|
87
|
+
import { ShareIcon } from "../../components/icons/share.mjs";
|
|
88
|
+
import { ShieldCheckIcon } from "../../components/icons/shield-check.mjs";
|
|
89
|
+
import { SmileIcon } from "../../components/icons/smile.mjs";
|
|
90
|
+
import { SquareIcon } from "../../components/icons/square.mjs";
|
|
91
|
+
import { SquircleIcon } from "../../components/icons/squircle.mjs";
|
|
92
|
+
import { StarIcon } from "../../components/icons/star.mjs";
|
|
93
|
+
import { SunIcon } from "../../components/icons/sun.mjs";
|
|
94
|
+
import { TableIcon } from "../../components/icons/table.mjs";
|
|
95
|
+
import { TagIcon } from "../../components/icons/tag.mjs";
|
|
96
|
+
import { TextHorizontalIcon } from "../../components/icons/text-horizontal.mjs";
|
|
97
|
+
import { TextVerticalIcon } from "../../components/icons/text-vertical.mjs";
|
|
98
|
+
import { TrashIcon } from "../../components/icons/trash.mjs";
|
|
99
|
+
import { UndoIcon } from "../../components/icons/undo.mjs";
|
|
100
|
+
import { UploadIcon } from "../../components/icons/upload.mjs";
|
|
101
|
+
import { UserIcon } from "../../components/icons/user.mjs";
|
|
102
|
+
import { UsersIcon } from "../../components/icons/users.mjs";
|
|
103
|
+
// src/integrations/_shared/icon-map.ts
|
|
104
|
+
const iconMap = {
|
|
105
|
+
"arrow-down": ArrowDownIcon,
|
|
106
|
+
"arrow-left": ArrowLeftIcon,
|
|
107
|
+
"arrow-right": ArrowRightIcon,
|
|
108
|
+
"arrow-up": ArrowUpIcon,
|
|
109
|
+
bell: BellIcon,
|
|
110
|
+
blend: BlendIcon,
|
|
111
|
+
"book-text": BookTextIcon,
|
|
112
|
+
bookmark: BookmarkIcon,
|
|
113
|
+
bot: BotIcon,
|
|
114
|
+
"bot-message": BotMessageIcon,
|
|
115
|
+
calendar: CalendarIcon,
|
|
116
|
+
check: CheckIcon,
|
|
117
|
+
"chevron-down": ChevronDownIcon,
|
|
118
|
+
"chevron-left": ChevronLeftIcon,
|
|
119
|
+
"chevron-right": ChevronRightIcon,
|
|
120
|
+
"chevron-up": ChevronUpIcon,
|
|
121
|
+
"chevrons-up-down": ChevronsUpDownIcon,
|
|
122
|
+
"circle-alert": CircleAlertIcon,
|
|
123
|
+
"circle-check": CircleCheckIcon,
|
|
124
|
+
"circle-help": CircleHelpIcon,
|
|
125
|
+
"circle-x": CircleXIcon,
|
|
126
|
+
clock: ClockIcon,
|
|
127
|
+
code: CodeIcon,
|
|
128
|
+
"color-scale": ColorScaleIcon,
|
|
129
|
+
contrast: ContrastIcon,
|
|
130
|
+
copy: CopyIcon,
|
|
131
|
+
download: DownloadIcon,
|
|
132
|
+
ellipsis: EllipsisIcon,
|
|
133
|
+
"ellipsis-vertical": EllipsisVerticalIcon,
|
|
134
|
+
"external-link": ExternalLinkIcon,
|
|
135
|
+
eye: EyeIcon,
|
|
136
|
+
"eye-closed": EyeClosedIcon,
|
|
137
|
+
file: FileIcon,
|
|
138
|
+
"file-text": FileTextIcon,
|
|
139
|
+
filter: FilterIcon,
|
|
140
|
+
flask: FlaskIcon,
|
|
141
|
+
folder: FolderIcon,
|
|
142
|
+
"folder-open": FolderOpenIcon,
|
|
143
|
+
"git-fork": GitForkIcon,
|
|
144
|
+
globe: GlobeIcon,
|
|
145
|
+
grid: GridIcon,
|
|
146
|
+
"grip-vertical": GripVerticalIcon,
|
|
147
|
+
heart: HeartIcon,
|
|
148
|
+
history: HistoryIcon,
|
|
149
|
+
home: HomeIcon,
|
|
150
|
+
image: ImageIcon,
|
|
151
|
+
info: InfoIcon,
|
|
152
|
+
lightbulb: LightbulbIcon,
|
|
153
|
+
link: LinkIcon,
|
|
154
|
+
list: ListIcon,
|
|
155
|
+
lock: LockIcon,
|
|
156
|
+
"lock-open": LockOpenIcon,
|
|
157
|
+
"log-in": LogInIcon,
|
|
158
|
+
"log-out": LogOutIcon,
|
|
159
|
+
mail: MailIcon,
|
|
160
|
+
"map-pin": MapPinIcon,
|
|
161
|
+
maximize: MaximizeIcon,
|
|
162
|
+
menu: MenuIcon,
|
|
163
|
+
"message-circle": MessageCircleIcon,
|
|
164
|
+
minimize: MinimizeIcon,
|
|
165
|
+
minus: MinusIcon,
|
|
166
|
+
monitor: MonitorIcon,
|
|
167
|
+
moon: MoonIcon,
|
|
168
|
+
package: PackageIcon,
|
|
169
|
+
"paint-bucket": PaintBucketIcon,
|
|
170
|
+
palette: PaletteIcon,
|
|
171
|
+
"panel-left": PanelLeftIcon,
|
|
172
|
+
paperclip: PaperclipIcon,
|
|
173
|
+
pause: PauseIcon,
|
|
174
|
+
pencil: PencilIcon,
|
|
175
|
+
pin: PinIcon,
|
|
176
|
+
play: PlayIcon,
|
|
177
|
+
plus: PlusIcon,
|
|
178
|
+
presentation: PresentationIcon,
|
|
179
|
+
redo: RedoIcon,
|
|
180
|
+
refresh: RefreshIcon,
|
|
181
|
+
rocket: RocketIcon,
|
|
182
|
+
rss: RssIcon,
|
|
183
|
+
search: SearchIcon,
|
|
184
|
+
send: SendIcon,
|
|
185
|
+
settings: SettingsIcon,
|
|
186
|
+
share: ShareIcon,
|
|
187
|
+
"shield-check": ShieldCheckIcon,
|
|
188
|
+
smile: SmileIcon,
|
|
189
|
+
sparkles: SparklesIcon,
|
|
190
|
+
square: SquareIcon,
|
|
191
|
+
squircle: SquircleIcon,
|
|
192
|
+
star: StarIcon,
|
|
193
|
+
sun: SunIcon,
|
|
194
|
+
table: TableIcon,
|
|
195
|
+
tag: TagIcon,
|
|
196
|
+
"text-horizontal": TextHorizontalIcon,
|
|
197
|
+
"text-vertical": TextVerticalIcon,
|
|
198
|
+
"thumbs-down": ThumbsDownIcon,
|
|
199
|
+
"thumbs-up": ThumbsUpIcon,
|
|
200
|
+
trash: TrashIcon,
|
|
201
|
+
"triangle-alert": TriangleAlertIcon,
|
|
202
|
+
undo: UndoIcon,
|
|
203
|
+
upload: UploadIcon,
|
|
204
|
+
user: UserIcon,
|
|
205
|
+
users: UsersIcon,
|
|
206
|
+
x: XIcon
|
|
207
|
+
};
|
|
208
|
+
export { iconMap };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ICON_NAMES: readonly ['arrow-down', 'arrow-left', 'arrow-right', 'arrow-up', 'bell', 'blend', 'book-text', 'bookmark', 'bot', 'bot-message', 'calendar', 'check', 'chevron-down', 'chevron-left', 'chevron-right', 'chevron-up', 'chevrons-up-down', 'circle-alert', 'circle-check', 'circle-help', 'circle-x', 'clock', 'code', 'color-scale', 'contrast', 'copy', 'download', 'ellipsis', 'ellipsis-vertical', 'external-link', 'eye', 'eye-closed', 'file', 'file-text', 'filter', 'flask', 'folder', 'folder-open', 'git-fork', 'globe', 'grid', 'grip-vertical', 'heart', 'history', 'home', 'image', 'info', 'lightbulb', 'link', 'list', 'lock', 'lock-open', 'log-in', 'log-out', 'mail', 'map-pin', 'maximize', 'menu', 'message-circle', 'minimize', 'minus', 'monitor', 'moon', 'package', 'paint-bucket', 'palette', 'panel-left', 'paperclip', 'pause', 'pencil', 'pin', 'play', 'plus', 'presentation', 'redo', 'refresh', 'rocket', 'rss', 'search', 'send', 'settings', 'share', 'shield-check', 'smile', 'sparkles', 'square', 'squircle', 'star', 'sun', 'table', 'tag', 'text-horizontal', 'text-vertical', 'thumbs-down', 'thumbs-up', 'trash', 'triangle-alert', 'undo', 'upload', 'user', 'users', 'x'];
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
// src/integrations/_shared/icon-names.ts
|
|
2
|
+
const ICON_NAMES = [
|
|
3
|
+
"arrow-down",
|
|
4
|
+
"arrow-left",
|
|
5
|
+
"arrow-right",
|
|
6
|
+
"arrow-up",
|
|
7
|
+
"bell",
|
|
8
|
+
"blend",
|
|
9
|
+
"book-text",
|
|
10
|
+
"bookmark",
|
|
11
|
+
"bot",
|
|
12
|
+
"bot-message",
|
|
13
|
+
"calendar",
|
|
14
|
+
"check",
|
|
15
|
+
"chevron-down",
|
|
16
|
+
"chevron-left",
|
|
17
|
+
"chevron-right",
|
|
18
|
+
"chevron-up",
|
|
19
|
+
"chevrons-up-down",
|
|
20
|
+
"circle-alert",
|
|
21
|
+
"circle-check",
|
|
22
|
+
"circle-help",
|
|
23
|
+
"circle-x",
|
|
24
|
+
"clock",
|
|
25
|
+
"code",
|
|
26
|
+
"color-scale",
|
|
27
|
+
"contrast",
|
|
28
|
+
"copy",
|
|
29
|
+
"download",
|
|
30
|
+
"ellipsis",
|
|
31
|
+
"ellipsis-vertical",
|
|
32
|
+
"external-link",
|
|
33
|
+
"eye",
|
|
34
|
+
"eye-closed",
|
|
35
|
+
"file",
|
|
36
|
+
"file-text",
|
|
37
|
+
"filter",
|
|
38
|
+
"flask",
|
|
39
|
+
"folder",
|
|
40
|
+
"folder-open",
|
|
41
|
+
"git-fork",
|
|
42
|
+
"globe",
|
|
43
|
+
"grid",
|
|
44
|
+
"grip-vertical",
|
|
45
|
+
"heart",
|
|
46
|
+
"history",
|
|
47
|
+
"home",
|
|
48
|
+
"image",
|
|
49
|
+
"info",
|
|
50
|
+
"lightbulb",
|
|
51
|
+
"link",
|
|
52
|
+
"list",
|
|
53
|
+
"lock",
|
|
54
|
+
"lock-open",
|
|
55
|
+
"log-in",
|
|
56
|
+
"log-out",
|
|
57
|
+
"mail",
|
|
58
|
+
"map-pin",
|
|
59
|
+
"maximize",
|
|
60
|
+
"menu",
|
|
61
|
+
"message-circle",
|
|
62
|
+
"minimize",
|
|
63
|
+
"minus",
|
|
64
|
+
"monitor",
|
|
65
|
+
"moon",
|
|
66
|
+
"package",
|
|
67
|
+
"paint-bucket",
|
|
68
|
+
"palette",
|
|
69
|
+
"panel-left",
|
|
70
|
+
"paperclip",
|
|
71
|
+
"pause",
|
|
72
|
+
"pencil",
|
|
73
|
+
"pin",
|
|
74
|
+
"play",
|
|
75
|
+
"plus",
|
|
76
|
+
"presentation",
|
|
77
|
+
"redo",
|
|
78
|
+
"refresh",
|
|
79
|
+
"rocket",
|
|
80
|
+
"rss",
|
|
81
|
+
"search",
|
|
82
|
+
"send",
|
|
83
|
+
"settings",
|
|
84
|
+
"share",
|
|
85
|
+
"shield-check",
|
|
86
|
+
"smile",
|
|
87
|
+
"sparkles",
|
|
88
|
+
"square",
|
|
89
|
+
"squircle",
|
|
90
|
+
"star",
|
|
91
|
+
"sun",
|
|
92
|
+
"table",
|
|
93
|
+
"tag",
|
|
94
|
+
"text-horizontal",
|
|
95
|
+
"text-vertical",
|
|
96
|
+
"thumbs-down",
|
|
97
|
+
"thumbs-up",
|
|
98
|
+
"trash",
|
|
99
|
+
"triangle-alert",
|
|
100
|
+
"undo",
|
|
101
|
+
"upload",
|
|
102
|
+
"user",
|
|
103
|
+
"users",
|
|
104
|
+
"x"
|
|
105
|
+
];
|
|
106
|
+
export { ICON_NAMES };
|
|
@@ -2,18 +2,14 @@
|
|
|
2
2
|
import { getMessages } from "../../i18n/current.mjs";
|
|
3
3
|
import { Spinner } from "../../components/feedback/spinner/spinner.mjs";
|
|
4
4
|
import { Button } from "../../components/buttons/button/button.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { LogoIcon } from "../../components/icons/logo.mjs";
|
|
7
|
-
import { AIIcon, AccessibilityIcon, AlertIcon, AtomIcon, BadIcon, BlogIcon, BoringIcon, CheckIcon, ChevronIcon, CloseIcon, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, DifficultIcon, EasyIcon, ExternalLinkIcon, FormIcon, GoodIcon, HistoryIcon, HorizontalWritingIcon, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListIcon, LocationIcon, MailIcon, MinusIcon, MixedColorIcon, NavigationMenuIcon, NewsIcon, PaletteIcon, PlusIcon, PrepareIcon, PublishDateIcon, RSSIcon, SendIcon, ShallowIcon, ShieldCheckIcon, SlideIcon, SparklesIcon, SubscribeIcon, TableIcon, TagIcon, UpdateDateIcon, ViewIcon, ViewOffIcon } from "../../components/icons/lucide.mjs";
|
|
8
|
-
import { QiitaIcon } from "../../components/icons/qiita.mjs";
|
|
9
|
-
import { TwitterIcon } from "../../components/icons/twitter.mjs";
|
|
10
|
-
import { VerticalWritingIcon } from "../../components/icons/vertical-writing.mjs";
|
|
5
|
+
import { AlertIcon } from "../../components/icons/alert.mjs";
|
|
11
6
|
import { Popover } from "../../components/overlays/popover/index.mjs";
|
|
12
7
|
import { Tooltip } from "../../components/overlays/tooltip/index.mjs";
|
|
13
8
|
import { IconButton } from "../../components/buttons/icon-button/icon-button.mjs";
|
|
14
9
|
import { CopyButton } from "../../components/buttons/copy-button/copy-button.mjs";
|
|
15
10
|
import { Separator } from "../../components/layout/separator/separator.mjs";
|
|
16
11
|
import { Toolbar } from "../../components/buttons/toolbar/index.mjs";
|
|
12
|
+
import { ChevronIcon } from "../../components/icons/chevron.mjs";
|
|
17
13
|
import { Accordion } from "../../components/data-display/accordion/index.mjs";
|
|
18
14
|
import { Avatar } from "../../components/data-display/avatar/avatar.mjs";
|
|
19
15
|
import { Badge } from "../../components/data-display/badge/badge.mjs";
|
|
@@ -67,63 +63,11 @@ import { Dialog } from "../../components/overlays/dialog/index.mjs";
|
|
|
67
63
|
import { Drawer } from "../../components/overlays/drawer/drawer.mjs";
|
|
68
64
|
import { DropdownMenu } from "../../components/overlays/dropdown-menu/index.mjs";
|
|
69
65
|
import { ListBox } from "../../components/overlays/list-box/index.mjs";
|
|
66
|
+
import { iconMap } from "./icon-map.mjs";
|
|
70
67
|
import renderers_module_default from "./renderers.module.mjs";
|
|
71
68
|
import { Fragment, useId, useState } from "react";
|
|
72
69
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
73
70
|
// src/integrations/_shared/renderers.tsx
|
|
74
|
-
const iconMap = {
|
|
75
|
-
plus: PlusIcon,
|
|
76
|
-
minus: MinusIcon,
|
|
77
|
-
check: CheckIcon,
|
|
78
|
-
close: CloseIcon,
|
|
79
|
-
copy: CopyIcon,
|
|
80
|
-
send: SendIcon,
|
|
81
|
-
mail: MailIcon,
|
|
82
|
-
subscribe: SubscribeIcon,
|
|
83
|
-
rss: RSSIcon,
|
|
84
|
-
history: HistoryIcon,
|
|
85
|
-
"update-date": UpdateDateIcon,
|
|
86
|
-
"publish-date": PublishDateIcon,
|
|
87
|
-
link: LinkIcon,
|
|
88
|
-
"external-link": ExternalLinkIcon,
|
|
89
|
-
location: LocationIcon,
|
|
90
|
-
"navigation-menu": NavigationMenuIcon,
|
|
91
|
-
list: ListIcon,
|
|
92
|
-
table: TableIcon,
|
|
93
|
-
form: FormIcon,
|
|
94
|
-
view: ViewIcon,
|
|
95
|
-
"view-off": ViewOffIcon,
|
|
96
|
-
"light-mode": LightModeIcon,
|
|
97
|
-
"dark-mode": DarkModeIcon,
|
|
98
|
-
palette: PaletteIcon,
|
|
99
|
-
"color-contrast": ColorContrastIcon,
|
|
100
|
-
"color-info": ColorInfoIcon,
|
|
101
|
-
"mixed-color": MixedColorIcon,
|
|
102
|
-
"horizontal-writing": HorizontalWritingIcon,
|
|
103
|
-
"vertical-writing": VerticalWritingIcon,
|
|
104
|
-
tag: TagIcon,
|
|
105
|
-
blog: BlogIcon,
|
|
106
|
-
news: NewsIcon,
|
|
107
|
-
slide: SlideIcon,
|
|
108
|
-
sparkles: SparklesIcon,
|
|
109
|
-
ai: AIIcon,
|
|
110
|
-
atom: AtomIcon,
|
|
111
|
-
accessibility: AccessibilityIcon,
|
|
112
|
-
"shield-check": ShieldCheckIcon,
|
|
113
|
-
prepare: PrepareIcon,
|
|
114
|
-
informative: InformativeIcon,
|
|
115
|
-
good: GoodIcon,
|
|
116
|
-
bad: BadIcon,
|
|
117
|
-
easy: EasyIcon,
|
|
118
|
-
difficult: DifficultIcon,
|
|
119
|
-
interesting: InterestingIcon,
|
|
120
|
-
boring: BoringIcon,
|
|
121
|
-
shallow: ShallowIcon,
|
|
122
|
-
logo: LogoIcon,
|
|
123
|
-
github: GitHubIcon,
|
|
124
|
-
twitter: TwitterIcon,
|
|
125
|
-
qiita: QiitaIcon
|
|
126
|
-
};
|
|
127
71
|
/**
|
|
128
72
|
* Generative UI 統合の描画関数('use client')。
|
|
129
73
|
*
|