@monkey-mini-app/ui 0.1.1 → 0.1.4
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 +12 -6
- package/dist/globals.css +1 -1
- package/dist/index.js +12 -2
- package/dist/manifest.json +6 -6
- package/dist/runtime.js +9 -0
- package/dist/sdk.js +158 -0
- package/dist/src/blocks/activity-feed.tsx +7 -0
- package/dist/src/blocks/app-shell.tsx +1 -0
- package/dist/src/blocks/attachment-gallery.tsx +7 -0
- package/dist/src/blocks/bar-chart.tsx +11 -0
- package/dist/src/blocks/comment-thread.tsx +7 -0
- package/dist/src/blocks/dashboard-shell.tsx +109 -0
- package/dist/src/blocks/description-list.tsx +7 -0
- package/dist/src/blocks/detail-panel.tsx +1 -0
- package/dist/src/blocks/donut-chart.tsx +7 -0
- package/dist/src/blocks/env-badge.tsx +7 -0
- package/dist/src/blocks/env-table.tsx +316 -0
- package/dist/src/blocks/file-tree.tsx +7 -0
- package/dist/src/blocks/filter-bar.tsx +1 -0
- package/dist/src/blocks/form-sheet.tsx +160 -0
- package/dist/src/blocks/gauge.tsx +7 -0
- package/dist/src/blocks/list-detail.tsx +121 -0
- package/dist/src/blocks/notification-center.tsx +7 -0
- package/dist/src/blocks/page-header.tsx +1 -0
- package/dist/src/blocks/progress-ring.tsx +7 -0
- package/dist/src/blocks/radar-chart.tsx +7 -0
- package/dist/src/blocks/request-inspector.tsx +7 -0
- package/dist/src/blocks/reveal.tsx +56 -0
- package/dist/src/blocks/run-timeline.tsx +7 -0
- package/dist/src/blocks/scrollspy.tsx +7 -0
- package/dist/src/blocks/settings-split.tsx +154 -0
- package/dist/src/blocks/severity-chip.tsx +7 -0
- package/dist/src/blocks/sparkline.tsx +7 -0
- package/dist/src/blocks/stat-card.tsx +1 -0
- package/dist/src/blocks/status-badge.tsx +1 -0
- package/dist/src/blocks/table-page.tsx +83 -0
- package/dist/src/blocks/terminal.tsx +21 -3
- package/dist/src/blocks/test-step-list.tsx +7 -0
- package/dist/src/blocks/trend-card.tsx +7 -0
- package/dist/src/blocks/wizard-shell.tsx +132 -0
- package/dist/src/cdn-modules.d.ts +5 -0
- package/dist/src/components/accordion.tsx +7 -0
- package/dist/src/components/alert-dialog.tsx +7 -0
- package/dist/src/components/alert.tsx +7 -0
- package/dist/src/components/aspect-ratio.tsx +4 -0
- package/dist/src/components/attachment.tsx +4 -0
- package/dist/src/components/avatar.tsx +4 -0
- package/dist/src/components/badge.tsx +7 -0
- package/dist/src/components/breadcrumb.tsx +4 -0
- package/dist/src/components/bubble.tsx +4 -0
- package/dist/src/components/button-group.tsx +6 -0
- package/dist/src/components/button.tsx +7 -0
- package/dist/src/components/calendar.tsx +4 -0
- package/dist/src/components/card.tsx +8 -1
- package/dist/src/components/chart.tsx +7 -0
- package/dist/src/components/checkbox.tsx +5 -0
- package/dist/src/components/collapsible.tsx +4 -0
- package/dist/src/components/combobox.tsx +4 -0
- package/dist/src/components/command.tsx +6 -0
- package/dist/src/components/context-menu.tsx +4 -0
- package/dist/src/components/dialog.tsx +21 -0
- package/dist/src/components/drawer.tsx +4 -0
- package/dist/src/components/dropdown-menu.tsx +7 -0
- package/dist/src/components/empty.tsx +7 -0
- package/dist/src/components/field.tsx +6 -0
- package/dist/src/components/hover-card.tsx +4 -0
- package/dist/src/components/input-group.tsx +4 -0
- package/dist/src/components/input.tsx +7 -0
- package/dist/src/components/item.tsx +4 -0
- package/dist/src/components/kbd.tsx +4 -0
- package/dist/src/components/label.tsx +7 -0
- package/dist/src/components/marker.tsx +4 -0
- package/dist/src/components/menubar.tsx +4 -0
- package/dist/src/components/message-scroller.tsx +4 -0
- package/dist/src/components/message.tsx +4 -0
- package/dist/src/components/native-select.tsx +4 -0
- package/dist/src/components/navigation-menu.tsx +4 -0
- package/dist/src/components/pagination.tsx +4 -0
- package/dist/src/components/popover.tsx +7 -0
- package/dist/src/components/progress.tsx +7 -0
- package/dist/src/components/questionnaire.tsx +4 -0
- package/dist/src/components/radio-group.tsx +4 -0
- package/dist/src/components/resizable.tsx +7 -0
- package/dist/src/components/scroll-area.tsx +4 -0
- package/dist/src/components/select.tsx +7 -0
- package/dist/src/components/separator.tsx +5 -0
- package/dist/src/components/sheet.tsx +22 -0
- package/dist/src/components/sidebar.tsx +4 -0
- package/dist/src/components/skeleton.tsx +7 -0
- package/dist/src/components/slider.tsx +4 -0
- package/dist/src/components/spinner.tsx +6 -0
- package/dist/src/components/switch.tsx +7 -0
- package/dist/src/components/table.tsx +7 -0
- package/dist/src/components/tabs.tsx +7 -0
- package/dist/src/components/textarea.tsx +7 -0
- package/dist/src/components/toast.tsx +7 -0
- package/dist/src/components/toggle-group.tsx +4 -0
- package/dist/src/components/toggle.tsx +4 -0
- package/dist/src/components/tooltip.tsx +7 -0
- package/dist/src/composites/autocomplete.tsx +7 -0
- package/dist/src/composites/cascader.tsx +7 -0
- package/dist/src/composites/color-picker.tsx +7 -0
- package/dist/src/composites/confirm-dialog.tsx +7 -0
- package/dist/src/composites/copyable.tsx +9 -1
- package/dist/src/composites/currency-input.tsx +7 -0
- package/dist/src/composites/date-picker.tsx +7 -0
- package/dist/src/composites/date-range-picker.tsx +4 -0
- package/dist/src/composites/date-time-picker.tsx +7 -0
- package/dist/src/composites/date-time-range-picker.tsx +7 -0
- package/dist/src/composites/duration-input.tsx +7 -0
- package/dist/src/composites/mini-calendar.tsx +7 -0
- package/dist/src/composites/number-field.tsx +7 -0
- package/dist/src/composites/password-field.tsx +7 -0
- package/dist/src/composites/phone-input.tsx +7 -0
- package/dist/src/composites/rating.tsx +7 -0
- package/dist/src/composites/relative-date-picker.tsx +7 -0
- package/dist/src/composites/search-input.tsx +7 -0
- package/dist/src/composites/slider-range.tsx +7 -0
- package/dist/src/composites/tag-input.tsx +7 -0
- package/dist/src/composites/time-picker.tsx +11 -1
- package/dist/src/composites/time-range-picker.tsx +7 -0
- package/dist/src/composites/timezone-select.tsx +7 -0
- package/dist/src/composites/transfer.tsx +7 -0
- package/dist/src/composites/user-picker.tsx +7 -0
- package/dist/src/hooks/use-html-dark.ts +37 -0
- package/dist/src/hooks/use-mobile.ts +3 -0
- package/dist/src/i18n/en.ts +109 -2
- package/dist/src/i18n/zh.ts +99 -2
- package/dist/src/index.ts +147 -134
- package/dist/src/lib/clipboard.ts +10 -0
- package/dist/src/lib/illustrations.tsx +2 -2
- package/dist/src/products/code-block.tsx +35 -18
- package/dist/src/products/code-editor.tsx +156 -24
- package/dist/src/products/commit-graph.tsx +644 -0
- package/dist/src/products/data-grid.tsx +2 -1
- package/dist/src/products/diff-viewer.tsx +104 -8
- package/dist/src/products/event-calendar.tsx +28 -823
- package/dist/src/products/file-dropzone.tsx +7 -0
- package/dist/src/products/full-calendar/animations.ts +38 -0
- package/dist/src/products/full-calendar/calendar-body.tsx +77 -0
- package/dist/src/products/full-calendar/constants.ts +10 -0
- package/dist/src/products/full-calendar/contexts/calendar-context.tsx +255 -0
- package/dist/src/products/full-calendar/contexts/dnd-context.tsx +157 -0
- package/dist/src/products/full-calendar/dialogs/add-edit-event-dialog.tsx +187 -0
- package/dist/src/products/full-calendar/dialogs/delete-event-dialog.tsx +39 -0
- package/dist/src/products/full-calendar/dialogs/event-details-dialog.tsx +100 -0
- package/dist/src/products/full-calendar/dialogs/events-list-dialog.tsx +87 -0
- package/dist/src/products/full-calendar/dnd/draggable-event.tsx +45 -0
- package/dist/src/products/full-calendar/dnd/droppable-area.tsx +45 -0
- package/dist/src/products/full-calendar/dnd/resizable-event.tsx +179 -0
- package/dist/src/products/full-calendar/header/calendar-header.tsx +65 -0
- package/dist/src/products/full-calendar/header/date-navigator.tsx +110 -0
- package/dist/src/products/full-calendar/header/filter.tsx +58 -0
- package/dist/src/products/full-calendar/header/today-button.tsx +45 -0
- package/dist/src/products/full-calendar/header/user-select.tsx +64 -0
- package/dist/src/products/full-calendar/header/view-tabs.tsx +36 -0
- package/dist/src/products/full-calendar/helpers.ts +453 -0
- package/dist/src/products/full-calendar/hooks/use-time-range-create.ts +152 -0
- package/dist/src/products/full-calendar/hooks.ts +70 -0
- package/dist/src/products/full-calendar/interfaces.ts +23 -0
- package/dist/src/products/full-calendar/settings/settings.tsx +80 -0
- package/dist/src/products/full-calendar/shims/avatar-group.tsx +16 -0
- package/dist/src/products/full-calendar/shims/day-picker.tsx +1 -0
- package/dist/src/products/full-calendar/shims/motion.tsx +97 -0
- package/dist/src/products/full-calendar/shims/next-themes.ts +6 -0
- package/dist/src/products/full-calendar/shims/re-resizable.tsx +25 -0
- package/dist/src/products/full-calendar/shims/sonner.ts +4 -0
- package/dist/src/products/full-calendar/types.ts +8 -0
- package/dist/src/products/full-calendar/views/agenda-view/agenda-events.tsx +140 -0
- package/dist/src/products/full-calendar/views/month-view/calendar-month-view.tsx +69 -0
- package/dist/src/products/full-calendar/views/month-view/day-cell.tsx +201 -0
- package/dist/src/products/full-calendar/views/month-view/event-bullet.tsx +40 -0
- package/dist/src/products/full-calendar/views/month-view/month-event-badge.tsx +143 -0
- package/dist/src/products/full-calendar/views/week-and-day-view/calendar-day-view.tsx +295 -0
- package/dist/src/products/full-calendar/views/week-and-day-view/calendar-time-line.tsx +35 -0
- package/dist/src/products/full-calendar/views/week-and-day-view/calendar-week-view.tsx +253 -0
- package/dist/src/products/full-calendar/views/week-and-day-view/day-view-multi-day-events-row.tsx +73 -0
- package/dist/src/products/full-calendar/views/week-and-day-view/event-block.tsx +114 -0
- package/dist/src/products/full-calendar/views/week-and-day-view/render-grouped-events.tsx +49 -0
- package/dist/src/products/full-calendar/views/week-and-day-view/week-view-multi-day-events-row.tsx +143 -0
- package/dist/src/products/full-calendar/views/year-view/calendar-year-view.tsx +161 -0
- package/dist/src/products/gantt.tsx +7 -0
- package/dist/src/products/jira-wiki.tsx +1 -0
- package/dist/src/products/jql-input.tsx +340 -37
- package/dist/src/products/json-viewer.tsx +7 -0
- package/dist/src/products/kanban-issue-panel.tsx +7 -0
- package/dist/src/products/kanban.tsx +1 -0
- package/dist/src/products/log-viewer.tsx +390 -18
- package/dist/src/products/markdown-editor.tsx +21 -6
- package/dist/src/products/markdown.tsx +7 -0
- package/dist/src/products/rich-text-editor.tsx +65 -59
- package/dist/src/products/sortable-list.tsx +7 -0
- package/dist/src/products/stepper.tsx +219 -70
- package/dist/src/products/timeline.tsx +7 -0
- package/dist/src/products/tree-view.tsx +7 -0
- package/dist/src/sdk/app-error-boundary.tsx +240 -0
- package/dist/src/sdk/app-id.ts +7 -0
- package/dist/src/sdk/use-app.ts +126 -0
- package/dist/src/styles/globals.css +1 -0
- package/dist/vendors/lodash.js +20 -0
- package/dist/vendors/motion.js +12 -0
- package/package.json +20 -19
- package/dist/src/products/jql-language.ts +0 -70
package/dist/index.js
CHANGED
|
@@ -84,6 +84,7 @@ export { Transfer } from "./src/composites/transfer.tsx"
|
|
|
84
84
|
export { UserPicker } from "./src/composites/user-picker.tsx"
|
|
85
85
|
export { CodeBlock } from "./src/products/code-block.tsx"
|
|
86
86
|
export { CodeEditor } from "./src/products/code-editor.tsx"
|
|
87
|
+
export { CommitGraph } from "./src/products/commit-graph.tsx"
|
|
87
88
|
export { DataGrid } from "./src/products/data-grid.tsx"
|
|
88
89
|
export { DiffViewer } from "./src/products/diff-viewer.tsx"
|
|
89
90
|
export { EventCalendar } from "./src/products/event-calendar.tsx"
|
|
@@ -93,7 +94,6 @@ export { Gantt } from "./src/products/gantt.tsx"
|
|
|
93
94
|
export { parseInline, parseJiraWiki } from "./src/products/jira-wiki-parse.ts"
|
|
94
95
|
export { JiraWiki } from "./src/products/jira-wiki.tsx"
|
|
95
96
|
export { JqlInput } from "./src/products/jql-input.tsx"
|
|
96
|
-
export { jqlLanguage, jqlCompletion, defaultJqlFields, defaultJqlFunctions } from "./src/products/jql-language.ts"
|
|
97
97
|
export { JsonViewer } from "./src/products/json-viewer.tsx"
|
|
98
98
|
export { KanbanIssuePanel } from "./src/products/kanban-issue-panel.tsx"
|
|
99
99
|
export { Kanban } from "./src/products/kanban.tsx"
|
|
@@ -102,7 +102,7 @@ export { MarkdownEditor } from "./src/products/markdown-editor.tsx"
|
|
|
102
102
|
export { Markdown } from "./src/products/markdown.tsx"
|
|
103
103
|
export { RichTextEditor } from "./src/products/rich-text-editor.tsx"
|
|
104
104
|
export { SortableList } from "./src/products/sortable-list.tsx"
|
|
105
|
-
export { Stepper } from "./src/products/stepper.tsx"
|
|
105
|
+
export { StepperItem, Stepper } from "./src/products/stepper.tsx"
|
|
106
106
|
export { Timeline } from "./src/products/timeline.tsx"
|
|
107
107
|
export { TreeView } from "./src/products/tree-view.tsx"
|
|
108
108
|
export { ActivityFeed } from "./src/blocks/activity-feed.tsx"
|
|
@@ -110,29 +110,39 @@ export { AppShell } from "./src/blocks/app-shell.tsx"
|
|
|
110
110
|
export { AttachmentGallery } from "./src/blocks/attachment-gallery.tsx"
|
|
111
111
|
export { StackedBarChart } from "./src/blocks/bar-chart.tsx"
|
|
112
112
|
export { CommentThread } from "./src/blocks/comment-thread.tsx"
|
|
113
|
+
export { DashboardShell } from "./src/blocks/dashboard-shell.tsx"
|
|
113
114
|
export { DescriptionList } from "./src/blocks/description-list.tsx"
|
|
114
115
|
export { DetailPanel } from "./src/blocks/detail-panel.tsx"
|
|
115
116
|
export { DonutChart } from "./src/blocks/donut-chart.tsx"
|
|
116
117
|
export { EnvBadge } from "./src/blocks/env-badge.tsx"
|
|
118
|
+
export { EnvTable } from "./src/blocks/env-table.tsx"
|
|
117
119
|
export { FileTree } from "./src/blocks/file-tree.tsx"
|
|
118
120
|
export { FilterBar } from "./src/blocks/filter-bar.tsx"
|
|
121
|
+
export { FormSheet } from "./src/blocks/form-sheet.tsx"
|
|
119
122
|
export { Gauge } from "./src/blocks/gauge.tsx"
|
|
123
|
+
export { ListDetail } from "./src/blocks/list-detail.tsx"
|
|
120
124
|
export { NotificationCenter } from "./src/blocks/notification-center.tsx"
|
|
121
125
|
export { PageHeader } from "./src/blocks/page-header.tsx"
|
|
122
126
|
export { ProgressRing } from "./src/blocks/progress-ring.tsx"
|
|
123
127
|
export { RadarChart } from "./src/blocks/radar-chart.tsx"
|
|
124
128
|
export { RequestInspector } from "./src/blocks/request-inspector.tsx"
|
|
129
|
+
export { Reveal } from "./src/blocks/reveal.tsx"
|
|
125
130
|
export { RunTimeline } from "./src/blocks/run-timeline.tsx"
|
|
126
131
|
export { Scrollspy } from "./src/blocks/scrollspy.tsx"
|
|
132
|
+
export { SettingsSplit } from "./src/blocks/settings-split.tsx"
|
|
127
133
|
export { SeverityChip } from "./src/blocks/severity-chip.tsx"
|
|
128
134
|
export { Sparkline } from "./src/blocks/sparkline.tsx"
|
|
129
135
|
export { StatCard } from "./src/blocks/stat-card.tsx"
|
|
130
136
|
export { statusTone, StatusBadge } from "./src/blocks/status-badge.tsx"
|
|
137
|
+
export { TablePage } from "./src/blocks/table-page.tsx"
|
|
131
138
|
export { Terminal } from "./src/blocks/terminal.tsx"
|
|
132
139
|
export { TestStepList } from "./src/blocks/test-step-list.tsx"
|
|
133
140
|
export { TrendCard } from "./src/blocks/trend-card.tsx"
|
|
141
|
+
export { WizardShell } from "./src/blocks/wizard-shell.tsx"
|
|
134
142
|
export { cn } from "./src/lib/utils.ts"
|
|
135
143
|
export { Icon } from "./src/lib/icons.tsx"
|
|
136
144
|
export { IlluServerStatus, IlluAccessDenied, IlluPageNotFound, IlluSearch, IlluDataProcessing, IlluBugFixing, IlluEmpty, IlluNoData, IlluLoading, IlluCodeReview } from "./src/lib/illustrations.tsx"
|
|
137
145
|
export { UiProvider, useUiI18n, useUiMessages, useUiLocale, useDateLocale, useLabels, en, zh, dictionaries } from "./src/i18n/context.tsx"
|
|
138
146
|
export { useIsMobile } from "./src/hooks/use-mobile.ts"
|
|
147
|
+
export { AppRuntime, useApp } from "./src/sdk/use-app.ts"
|
|
148
|
+
export { reportAppError, AppErrorBoundary } from "./src/sdk/app-error-boundary.tsx"
|
package/dist/manifest.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"builtAt": "2026-
|
|
2
|
+
"builtAt": "2026-09-13T02:28:44.367Z",
|
|
3
3
|
"entry": "index.js",
|
|
4
|
-
"flatExports":
|
|
5
|
-
"componentFiles":
|
|
6
|
-
"srcFiles":
|
|
4
|
+
"flatExports": 148,
|
|
5
|
+
"componentFiles": 151,
|
|
6
|
+
"srcFiles": 201,
|
|
7
7
|
"css": {
|
|
8
|
-
"bytes":
|
|
8
|
+
"bytes": 245831
|
|
9
9
|
},
|
|
10
|
-
"bytes":
|
|
10
|
+
"bytes": 1089900
|
|
11
11
|
}
|