@xdev-asia/ui 0.0.0-stage → 4.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/AGENTS.md +66 -0
- package/LICENSE +202 -0
- package/README.md +149 -2
- package/assets/brand/mobile/android-background-1024.png +0 -0
- package/assets/brand/mobile/android-background.svg +13 -0
- package/assets/brand/mobile/android-foreground-1024.png +0 -0
- package/assets/brand/mobile/android-foreground.svg +13 -0
- package/assets/brand/mobile/android-monochrome-1024.png +0 -0
- package/assets/brand/mobile/android-monochrome.svg +3 -0
- package/assets/brand/mobile/ios-icon-1024.png +0 -0
- package/assets/brand/mobile/ios-icon-dark-1024.png +0 -0
- package/assets/brand/mobile/ios-icon-dark.svg +22 -0
- package/assets/brand/mobile/ios-icon.svg +22 -0
- package/assets/brand/systems/xdev-ui-icon.svg +23 -0
- package/assets/brand/systems/xdev-ui-lockup-dark.svg +24 -0
- package/assets/brand/systems/xdev-ui-lockup-light.svg +24 -0
- package/assets/brand/systems/xdev-ui-mark-lit.svg +13 -0
- package/assets/brand/systems/xdev-ui-mark.svg +3 -0
- package/assets/brand/xdev-icon-512.png +0 -0
- package/assets/brand/xdev-icon-blue.svg +23 -0
- package/assets/brand/xdev-icon.svg +23 -0
- package/assets/brand/xdev-lockup-dark.svg +24 -0
- package/assets/brand/xdev-lockup-light.svg +24 -0
- package/assets/brand/xdev-mark-lit.svg +13 -0
- package/assets/brand/xdev-mark-tile.svg +3 -0
- package/assets/brand/xdev-mark.svg +3 -0
- package/bin/xdev-ui-skills.mjs +142 -0
- package/dist/Workspace.stories.d.ts +15 -0
- package/dist/ai-manifest.json +3727 -0
- package/dist/chunks/FileDrop-C-ygn8kF.js +891 -0
- package/dist/chunks/FileDrop-C-ygn8kF.js.map +1 -0
- package/dist/chunks/Popover-Ds4RBtZv.js +121 -0
- package/dist/chunks/Popover-Ds4RBtZv.js.map +1 -0
- package/dist/chunks/crop-CahE3q01.js +55 -0
- package/dist/chunks/crop-CahE3q01.js.map +1 -0
- package/dist/chunks/modal-BYFY08ti.js +54 -0
- package/dist/chunks/modal-BYFY08ti.js.map +1 -0
- package/dist/components/ActionTile/ActionTile.d.ts +14 -0
- package/dist/components/ActionTile/ActionTile.stories.d.ts +18 -0
- package/dist/components/ActivityBar/ActivityBar.d.ts +36 -0
- package/dist/components/ActivityBar/ActivityBar.stories.d.ts +27 -0
- package/dist/components/AgentChip/AgentChip.d.ts +10 -0
- package/dist/components/AgentChip/AgentChip.stories.d.ts +21 -0
- package/dist/components/AgentRow/AgentRow.d.ts +24 -0
- package/dist/components/AgentRow/AgentRow.stories.d.ts +19 -0
- package/dist/components/AppShell/AppShell.d.ts +58 -0
- package/dist/components/AppShell/AppShell.stories.d.ts +17 -0
- package/dist/components/ApprovalBar/ApprovalBar.d.ts +23 -0
- package/dist/components/ApprovalBar/ApprovalBar.stories.d.ts +18 -0
- package/dist/components/AttentionInbox/AttentionInbox.d.ts +43 -0
- package/dist/components/AttentionInbox/AttentionInbox.stories.d.ts +16 -0
- package/dist/components/AudioPreview/AudioPreview.d.ts +33 -0
- package/dist/components/AudioPreview/AudioPreview.stories.d.ts +23 -0
- package/dist/components/AudioPreview/audio-preview-store.d.ts +14 -0
- package/dist/components/AuthShell/AuthShell.d.ts +24 -0
- package/dist/components/AuthShell/AuthShell.stories.d.ts +20 -0
- package/dist/components/Avatar/Avatar.d.ts +13 -0
- package/dist/components/Avatar/Avatar.stories.d.ts +21 -0
- package/dist/components/Badge/Badge.d.ts +14 -0
- package/dist/components/Badge/Badge.stories.d.ts +26 -0
- package/dist/components/Banner/Banner.d.ts +11 -0
- package/dist/components/Banner/Banner.stories.d.ts +23 -0
- package/dist/components/BarChart/BarChart.d.ts +20 -0
- package/dist/components/BarChart/BarChart.stories.d.ts +24 -0
- package/dist/components/Board/Board.d.ts +9 -0
- package/dist/components/Board/Board.stories.d.ts +18 -0
- package/dist/components/BoardCard/BoardCard.d.ts +32 -0
- package/dist/components/BoardColumn/BoardColumn.d.ts +24 -0
- package/dist/components/BottomNav/BottomNav.d.ts +40 -0
- package/dist/components/BottomNav/BottomNav.stories.d.ts +40 -0
- package/dist/components/BrandMark/BrandMark.d.ts +20 -0
- package/dist/components/BrandMark/BrandMark.stories.d.ts +28 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +22 -0
- package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +27 -0
- package/dist/components/BulkBar/BulkBar.d.ts +21 -0
- package/dist/components/BulkBar/BulkBar.stories.d.ts +16 -0
- package/dist/components/Button/Button.d.ts +42 -0
- package/dist/components/Button/Button.stories.d.ts +41 -0
- package/dist/components/Card/Card.d.ts +22 -0
- package/dist/components/Card/Card.stories.d.ts +307 -0
- package/dist/components/Checkbox/Checkbox.d.ts +10 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +18 -0
- package/dist/components/Coachmark/Coachmark.d.ts +31 -0
- package/dist/components/Coachmark/Coachmark.stories.d.ts +27 -0
- package/dist/components/Coachmark/placeCoachmark.d.ts +31 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts +19 -0
- package/dist/components/CodeBlock/CodeBlock.stories.d.ts +22 -0
- package/dist/components/CodeInput/CodeInput.d.ts +25 -0
- package/dist/components/CodeInput/CodeInput.stories.d.ts +32 -0
- package/dist/components/CodeInput/normalizeCode.d.ts +10 -0
- package/dist/components/ColorField/ColorField.d.ts +29 -0
- package/dist/components/Combobox/Combobox.d.ts +105 -0
- package/dist/components/Combobox/Combobox.stories.d.ts +42 -0
- package/dist/components/CommandPalette/CommandPalette.d.ts +94 -0
- package/dist/components/CommandPalette/CommandPalette.stories.d.ts +39 -0
- package/dist/components/Comment/Comment.d.ts +25 -0
- package/dist/components/Comment/Comment.stories.d.ts +24 -0
- package/dist/components/CommitGraph/CommitGraph.d.ts +15 -0
- package/dist/components/CommitGraph/CommitGraph.stories.d.ts +15 -0
- package/dist/components/CommitGraph/graphLanes.d.ts +56 -0
- package/dist/components/Composer/Composer.d.ts +31 -0
- package/dist/components/Composer/Composer.stories.d.ts +17 -0
- package/dist/components/Container/Container.d.ts +11 -0
- package/dist/components/Container/Container.stories.d.ts +14 -0
- package/dist/components/DataTable/DataTable.d.ts +79 -0
- package/dist/components/DataTable/DataTable.stories.d.ts +26 -0
- package/dist/components/DataTable/table-helpers.d.ts +16 -0
- package/dist/components/DataTable/table-reorder.d.ts +40 -0
- package/dist/components/DatePicker/Calendar.d.ts +51 -0
- package/dist/components/DatePicker/DatePicker.d.ts +51 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +42 -0
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +59 -0
- package/dist/components/DateRangePicker/DateRangePicker.stories.d.ts +42 -0
- package/dist/components/DescriptionList/DescriptionList.d.ts +14 -0
- package/dist/components/DescriptionList/DescriptionList.stories.d.ts +21 -0
- package/dist/components/Dialog/Dialog.d.ts +43 -0
- package/dist/components/Dialog/Dialog.stories.d.ts +22 -0
- package/dist/components/DiffStat/DiffStat.d.ts +12 -0
- package/dist/components/DiffStat/DiffStat.stories.d.ts +15 -0
- package/dist/components/Disclosure/Disclosure.d.ts +18 -0
- package/dist/components/Disclosure/Disclosure.stories.d.ts +27 -0
- package/dist/components/DonutChart/DonutChart.d.ts +30 -0
- package/dist/components/DonutChart/DonutChart.stories.d.ts +26 -0
- package/dist/components/Drawer/Drawer.d.ts +27 -0
- package/dist/components/Drawer/Drawer.stories.d.ts +18 -0
- package/dist/components/Emblem/Emblem.d.ts +19 -0
- package/dist/components/Emblem/Emblem.stories.d.ts +19 -0
- package/dist/components/EmptyState/EmptyState.d.ts +43 -0
- package/dist/components/EmptyState/EmptyState.stories.d.ts +17 -0
- package/dist/components/EndpointPanel/EndpointPanel.d.ts +29 -0
- package/dist/components/FacetFilter/FacetFilter.d.ts +39 -0
- package/dist/components/FacetFilter/FacetFilter.stories.d.ts +23 -0
- package/dist/components/FacetFilter/facet-helpers.d.ts +5 -0
- package/dist/components/Field/Field.d.ts +27 -0
- package/dist/components/Field/Field.stories.d.ts +25 -0
- package/dist/components/FieldMessage/FieldMessage.d.ts +10 -0
- package/dist/components/FieldMessage/FieldMessage.stories.d.ts +14 -0
- package/dist/components/FileDrop/FileDrop.d.ts +72 -0
- package/dist/components/FileDrop/FileDrop.stories.d.ts +18 -0
- package/dist/components/FileIcon/FileIcon.d.ts +25 -0
- package/dist/components/FileIcon/FileIcon.stories.d.ts +14 -0
- package/dist/components/FilterChip/FilterChip.d.ts +9 -0
- package/dist/components/FilterChip/FilterChip.stories.d.ts +19 -0
- package/dist/components/FlowMap/FlowMap.d.ts +74 -0
- package/dist/components/FlowMap/FlowMap.stories.d.ts +24 -0
- package/dist/components/FontField/FontField.d.ts +15 -0
- package/dist/components/FontField/FontField.stories.d.ts +17 -0
- package/dist/components/FormDialog/FormDialog.d.ts +40 -0
- package/dist/components/FormDialog/FormDialog.stories.d.ts +22 -0
- package/dist/components/FormSection/FormSection.d.ts +19 -0
- package/dist/components/FormSection/FormSection.stories.d.ts +16 -0
- package/dist/components/Grid/Grid.d.ts +23 -0
- package/dist/components/Grid/Grid.stories.d.ts +19 -0
- package/dist/components/Grid/breakpoints.d.ts +25 -0
- package/dist/components/Heatmap/Heatmap.d.ts +22 -0
- package/dist/components/Heatmap/Heatmap.stories.d.ts +24 -0
- package/dist/components/Icon/Icon.d.ts +14 -0
- package/dist/components/Icon/Icon.stories.d.ts +20 -0
- package/dist/components/IconButton/IconButton.d.ts +16 -0
- package/dist/components/IconButton/IconButton.stories.d.ts +27 -0
- package/dist/components/Identity/Identity.d.ts +14 -0
- package/dist/components/Identity/Identity.stories.d.ts +14 -0
- package/dist/components/Kbd/Kbd.d.ts +5 -0
- package/dist/components/Kbd/Kbd.stories.d.ts +13 -0
- package/dist/components/Label/Label.d.ts +15 -0
- package/dist/components/Label/Label.stories.d.ts +16 -0
- package/dist/components/LaunchCard/LaunchCard.d.ts +36 -0
- package/dist/components/LaunchCard/LaunchCard.stories.d.ts +32 -0
- package/dist/components/List/List.d.ts +11 -0
- package/dist/components/List/List.stories.d.ts +13 -0
- package/dist/components/ListRow/ListRow.d.ts +20 -0
- package/dist/components/ListRow/ListRow.stories.d.ts +27 -0
- package/dist/components/Menu/Menu.d.ts +53 -0
- package/dist/components/Menu/Menu.stories.d.ts +85 -0
- package/dist/components/Menu/MenuButton.d.ts +23 -0
- package/dist/components/Menu/MenuButton.stories.d.ts +46 -0
- package/dist/components/Menu/menu-keys.d.ts +26 -0
- package/dist/components/Meter/Meter.d.ts +18 -0
- package/dist/components/Meter/Meter.stories.d.ts +34 -0
- package/dist/components/ModelChip/ModelChip.d.ts +26 -0
- package/dist/components/ModelChip/ModelChip.stories.d.ts +18 -0
- package/dist/components/NavList/NavList.d.ts +56 -0
- package/dist/components/NavList/NavList.stories.d.ts +25 -0
- package/dist/components/PageHeader/PageHeader.d.ts +14 -0
- package/dist/components/PageHeader/PageHeader.stories.d.ts +14 -0
- package/dist/components/Pagination/Pagination.d.ts +28 -0
- package/dist/components/Pagination/Pagination.stories.d.ts +16 -0
- package/dist/components/PairingCode/PairingCode.d.ts +17 -0
- package/dist/components/PairingCode/PairingCode.stories.d.ts +24 -0
- package/dist/components/PaletteTrigger/PaletteTrigger.d.ts +16 -0
- package/dist/components/PanZoom/PanZoom.d.ts +24 -0
- package/dist/components/PanZoom/PanZoom.stories.d.ts +11 -0
- package/dist/components/Popover/Popover.d.ts +24 -0
- package/dist/components/Popover/Popover.stories.d.ts +25 -0
- package/dist/components/Prose/Prose.d.ts +8 -0
- package/dist/components/Prose/Prose.stories.d.ts +12 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +27 -0
- package/dist/components/RadioGroup/RadioGroup.stories.d.ts +22 -0
- package/dist/components/ReactionBar/ReactionBar.d.ts +21 -0
- package/dist/components/ReactionBar/ReactionBar.stories.d.ts +26 -0
- package/dist/components/ResourceCard/ResourceCard.d.ts +30 -0
- package/dist/components/ResourceCard/ResourceCard.stories.d.ts +19 -0
- package/dist/components/ReviewComment/ReviewComment.d.ts +41 -0
- package/dist/components/ReviewComment/ReviewComment.stories.d.ts +19 -0
- package/dist/components/RouteDiagram/RouteDiagram.d.ts +27 -0
- package/dist/components/RunTimeline/RunTimeline.d.ts +28 -0
- package/dist/components/RunTimeline/RunTimeline.stories.d.ts +31 -0
- package/dist/components/SaveBar/SaveBar.d.ts +56 -0
- package/dist/components/SaveBar/SaveBar.stories.d.ts +16 -0
- package/dist/components/SearchInput/SearchInput.d.ts +22 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts +18 -0
- package/dist/components/SearchPicker/SearchPicker.d.ts +49 -0
- package/dist/components/SearchPicker/SearchPicker.stories.d.ts +33 -0
- package/dist/components/Segmented/Segmented.d.ts +18 -0
- package/dist/components/Segmented/Segmented.stories.d.ts +18 -0
- package/dist/components/Select/Select.d.ts +26 -0
- package/dist/components/Select/Select.stories.d.ts +22 -0
- package/dist/components/ServiceStatus/ServiceStatus.d.ts +13 -0
- package/dist/components/SessionBar/SessionBar.d.ts +33 -0
- package/dist/components/SessionBar/SessionBar.stories.d.ts +27 -0
- package/dist/components/SettingRow/SettingRow.d.ts +17 -0
- package/dist/components/SettingRow/SettingRow.stories.d.ts +26 -0
- package/dist/components/SettingsShell/SettingsShell.d.ts +52 -0
- package/dist/components/SettingsShell/SettingsShell.stories.d.ts +9 -0
- package/dist/components/ShellTitle/ShellTitle.d.ts +25 -0
- package/dist/components/SiteShell/SiteShell.d.ts +24 -0
- package/dist/components/SiteShell/SiteShell.stories.d.ts +18 -0
- package/dist/components/Skeleton/Skeleton.d.ts +20 -0
- package/dist/components/Skeleton/Skeleton.stories.d.ts +15 -0
- package/dist/components/SortableList/SortableList.d.ts +30 -0
- package/dist/components/SortableList/SortableList.stories.d.ts +16 -0
- package/dist/components/Spinner/Spinner.d.ts +15 -0
- package/dist/components/Spinner/Spinner.stories.d.ts +14 -0
- package/dist/components/SplitHandle/SplitHandle.d.ts +25 -0
- package/dist/components/SplitHandle/SplitHandle.stories.d.ts +18 -0
- package/dist/components/Stack/Stack.d.ts +18 -0
- package/dist/components/Stack/Stack.stories.d.ts +12 -0
- package/dist/components/StatTile/StatTile.d.ts +30 -0
- package/dist/components/StatTile/StatTile.stories.d.ts +32 -0
- package/dist/components/StatusBar/StatusBar.d.ts +8 -0
- package/dist/components/StatusBar/StatusBar.stories.d.ts +15 -0
- package/dist/components/StatusDot/StatusDot.d.ts +18 -0
- package/dist/components/StatusDot/StatusDot.stories.d.ts +24 -0
- package/dist/components/StepDots/StepDots.d.ts +15 -0
- package/dist/components/StepDots/StepDots.stories.d.ts +15 -0
- package/dist/components/SwatchGroup/SwatchGroup.d.ts +20 -0
- package/dist/components/SwatchGroup/SwatchGroup.stories.d.ts +33 -0
- package/dist/components/Switch/Switch.d.ts +10 -0
- package/dist/components/Switch/Switch.stories.d.ts +17 -0
- package/dist/components/TabStrip/TabStrip.d.ts +44 -0
- package/dist/components/TabStrip/TabStrip.stories.d.ts +66 -0
- package/dist/components/Tabs/Tabs.d.ts +28 -0
- package/dist/components/Tabs/Tabs.stories.d.ts +34 -0
- package/dist/components/Tag/Tag.d.ts +12 -0
- package/dist/components/Tag/Tag.stories.d.ts +21 -0
- package/dist/components/Textarea/Textarea.d.ts +15 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +19 -0
- package/dist/components/ThemeEditor/ThemeEditor.d.ts +56 -0
- package/dist/components/ThemePreview/ThemePreview.d.ts +15 -0
- package/dist/components/ThemeSwitch/ThemeSwitch.d.ts +30 -0
- package/dist/components/ThemeSwitch/ThemeSwitch.stories.d.ts +15 -0
- package/dist/components/TimeField/TimeField.d.ts +32 -0
- package/dist/components/TimeField/TimeField.stories.d.ts +36 -0
- package/dist/components/TimeField/time-text.d.ts +26 -0
- package/dist/components/TimeSeriesChart/TimeSeriesChart.d.ts +30 -0
- package/dist/components/TimeSeriesChart/TimeSeriesChart.stories.d.ts +29 -0
- package/dist/components/Toast/Toast.d.ts +18 -0
- package/dist/components/Toast/Toast.stories.d.ts +15 -0
- package/dist/components/Toast/Toaster.d.ts +18 -0
- package/dist/components/Toast/Toaster.stories.d.ts +16 -0
- package/dist/components/Toast/toast-region.d.ts +17 -0
- package/dist/components/Toast/toast-store.d.ts +46 -0
- package/dist/components/ToggleButton/ToggleButton.d.ts +16 -0
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +20 -0
- package/dist/components/Toolbar/Toolbar.d.ts +21 -0
- package/dist/components/Toolbar/Toolbar.stories.d.ts +25 -0
- package/dist/components/Tooltip/Tooltip.d.ts +13 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +23 -0
- package/dist/components/TreeView/TreeView.d.ts +42 -0
- package/dist/components/TreeView/TreeView.stories.d.ts +26 -0
- package/dist/components/TreeView/pathRows.d.ts +16 -0
- package/dist/components/TreeView/treeKeys.d.ts +16 -0
- package/dist/components/UsageMeterRow/UsageMeterRow.d.ts +28 -0
- package/dist/components/UsageMeterRow/UsageMeterRow.stories.d.ts +26 -0
- package/dist/components/WorktreeRow/WorktreeRow.d.ts +32 -0
- package/dist/components/WorktreeRow/WorktreeRow.stories.d.ts +32 -0
- package/dist/components/ZoomBar/ZoomBar.d.ts +22 -0
- package/dist/components/ZoomBar/ZoomBar.stories.d.ts +17 -0
- package/dist/editor/RichTextEditor/EditorToolbar.d.ts +35 -0
- package/dist/editor/RichTextEditor/ImageBar.d.ts +17 -0
- package/dist/editor/RichTextEditor/LinkForm.d.ts +16 -0
- package/dist/editor/RichTextEditor/RichTextEditor.d.ts +45 -0
- package/dist/editor/RichTextEditor/RichTextEditor.stories.d.ts +43 -0
- package/dist/editor/RichTextEditor/extensions.d.ts +23 -0
- package/dist/editor/RichTextEditor/icons.d.ts +23 -0
- package/dist/editor/RichTextEditor/insertImage.d.ts +28 -0
- package/dist/editor/RichTextEditor/labels.d.ts +32 -0
- package/dist/editor/index.d.ts +4 -0
- package/dist/editor.js +629 -0
- package/dist/editor.js.map +1 -0
- package/dist/fonts.css +2 -0
- package/dist/icons.d.ts +891 -0
- package/dist/image/ImageCropper/ImageCropper.d.ts +39 -0
- package/dist/image/ImageCropper/ImageCropper.stories.d.ts +18 -0
- package/dist/image/ImageField/ImageField.d.ts +86 -0
- package/dist/image/ImageField/ImageField.stories.d.ts +29 -0
- package/dist/image/crop.d.ts +39 -0
- package/dist/image/index.d.ts +3 -0
- package/dist/image.js +377 -0
- package/dist/image.js.map +1 -0
- package/dist/index.d.ts +138 -0
- package/dist/index.js +8253 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/cx.d.ts +2 -0
- package/dist/internal/date.d.ts +96 -0
- package/dist/internal/duration.d.ts +4 -0
- package/dist/internal/focus.d.ts +34 -0
- package/dist/internal/keys.d.ts +21 -0
- package/dist/internal/modal.d.ts +8 -0
- package/dist/internal/portal.d.ts +9 -0
- package/dist/internal/position.d.ts +37 -0
- package/dist/internal/reveal.d.ts +6 -0
- package/dist/internal/roving.d.ts +25 -0
- package/dist/internal/scroll-fade.d.ts +16 -0
- package/dist/internal/session-labels.d.ts +3 -0
- package/dist/internal/text.d.ts +2 -0
- package/dist/llms-full.txt +9786 -0
- package/dist/llms.txt +162 -0
- package/dist/mcp.js +24706 -0
- package/dist/panZoom.d.ts +40 -0
- package/dist/styles.css +2 -0
- package/dist/styles.layered.css +4 -0
- package/dist/tailwind.css +38 -0
- package/dist/test-utils.d.ts +5 -0
- package/dist/theme/font.d.ts +20 -0
- package/dist/theme/index.d.ts +2 -0
- package/dist/theme/theme.d.ts +62 -0
- package/dist/tokens.css +308 -0
- package/dist/tokens.json +269 -0
- package/dist/types.d.ts +6 -0
- package/package.json +177 -4
- package/skills/xdev-ui-admin/SKILL.md +106 -0
- package/skills/xdev-ui-admin/references/audit-log.md +18 -0
- package/skills/xdev-ui-admin/references/console-chrome.md +119 -0
- package/skills/xdev-ui-admin/references/dashboard.md +24 -0
- package/skills/xdev-ui-admin/references/detail-and-forms.md +22 -0
- package/skills/xdev-ui-admin/references/dialogs.md +33 -0
- package/skills/xdev-ui-admin/references/forms.md +60 -0
- package/skills/xdev-ui-admin/references/from-other-kits.md +75 -0
- package/skills/xdev-ui-admin/references/layout.md +58 -0
- package/skills/xdev-ui-admin/references/navigation.md +10 -0
- package/skills/xdev-ui-admin/references/permissions.md +26 -0
- package/skills/xdev-ui-admin/references/resource-list.md +64 -0
- package/skills/xdev-ui-admin/references/responsive.md +68 -0
- package/skills/xdev-ui-admin/references/rich-content.md +37 -0
- package/skills/xdev-ui-admin/references/settings.md +20 -0
- package/skills/xdev-ui-admin/references/sign-in.md +47 -0
- package/skills/xdev-ui-admin/references/states-feedback.md +26 -0
- package/skills/xdev-ui-admin/references/tree-list.md +50 -0
- package/skills/xdev-ui-admin/references/users-roles.md +32 -0
- package/skills/xdev-ui-admin/references/ux-principles.md +43 -0
- package/skills/xdev-ui-admin/references/visual-identity.md +62 -0
- package/skills/xdev-ui-admin/templates/admin/_gitignore +3 -0
- package/skills/xdev-ui-admin/templates/admin/_mcp.json +5 -0
- package/skills/xdev-ui-admin/templates/admin/_npmrc +2 -0
- package/skills/xdev-ui-admin/templates/admin/index.html +14 -0
- package/skills/xdev-ui-admin/templates/admin/package.json +24 -0
- package/skills/xdev-ui-admin/templates/admin/src/App.tsx +66 -0
- package/skills/xdev-ui-admin/templates/admin/src/app.css +26 -0
- package/skills/xdev-ui-admin/templates/admin/src/auth/permissions.ts +7 -0
- package/skills/xdev-ui-admin/templates/admin/src/auth/session.ts +42 -0
- package/skills/xdev-ui-admin/templates/admin/src/data/context.ts +11 -0
- package/skills/xdev-ui-admin/templates/admin/src/data/store.ts +84 -0
- package/skills/xdev-ui-admin/templates/admin/src/data/useLoad.ts +25 -0
- package/skills/xdev-ui-admin/templates/admin/src/i18n/en.ts +98 -0
- package/skills/xdev-ui-admin/templates/admin/src/i18n/index.tsx +63 -0
- package/skills/xdev-ui-admin/templates/admin/src/i18n/vi.ts +98 -0
- package/skills/xdev-ui-admin/templates/admin/src/i18n/xdev-ui-labels.ts +47 -0
- package/skills/xdev-ui-admin/templates/admin/src/main.tsx +12 -0
- package/skills/xdev-ui-admin/templates/admin/src/notify.tsx +36 -0
- package/skills/xdev-ui-admin/templates/admin/src/pages/Dashboard.tsx +55 -0
- package/skills/xdev-ui-admin/templates/admin/src/pages/ItemDetail.tsx +83 -0
- package/skills/xdev-ui-admin/templates/admin/src/pages/ItemsList.tsx +140 -0
- package/skills/xdev-ui-admin/templates/admin/src/pages/NotFound.tsx +17 -0
- package/skills/xdev-ui-admin/templates/admin/src/pages/Settings.tsx +37 -0
- package/skills/xdev-ui-admin/templates/admin/src/pages/SignIn.tsx +105 -0
- package/skills/xdev-ui-admin/templates/admin/src/router.ts +49 -0
- package/skills/xdev-ui-admin/templates/admin/src/shell/AccountMenu.tsx +36 -0
- package/skills/xdev-ui-admin/templates/admin/src/shell/Shell.tsx +53 -0
- package/skills/xdev-ui-admin/templates/admin/src/theme.ts +34 -0
- package/skills/xdev-ui-admin/templates/admin/tsconfig.json +16 -0
- package/skills/xdev-ui-admin/templates/admin/vite.config.ts +4 -0
- package/skills/xdev-ui-build-app/SKILL.md +85 -0
- package/skills/xdev-ui-build-app/references/app-shell.md +20 -0
- package/skills/xdev-ui-build-app/references/i18n.md +9 -0
- package/skills/xdev-ui-build-app/references/responsive-a11y.md +10 -0
- package/skills/xdev-ui-build-app/references/routing.md +14 -0
- package/skills/xdev-ui-build-app/references/setup.md +25 -0
- package/skills/xdev-ui-build-app/references/states.md +25 -0
- package/skills/xdev-ui-build-app/references/theme.md +11 -0
- package/skills/xdev-ui-build-app/templates/app/_gitignore +3 -0
- package/skills/xdev-ui-build-app/templates/app/_mcp.json +5 -0
- package/skills/xdev-ui-build-app/templates/app/_npmrc +2 -0
- package/skills/xdev-ui-build-app/templates/app/index.html +14 -0
- package/skills/xdev-ui-build-app/templates/app/package.json +24 -0
- package/skills/xdev-ui-build-app/templates/app/src/App.tsx +77 -0
- package/skills/xdev-ui-build-app/templates/app/src/app.css +3 -0
- package/skills/xdev-ui-build-app/templates/app/src/i18n/en.ts +35 -0
- package/skills/xdev-ui-build-app/templates/app/src/i18n/index.tsx +63 -0
- package/skills/xdev-ui-build-app/templates/app/src/i18n/vi.ts +35 -0
- package/skills/xdev-ui-build-app/templates/app/src/i18n/xdev-ui-labels.ts +19 -0
- package/skills/xdev-ui-build-app/templates/app/src/main.tsx +12 -0
- package/skills/xdev-ui-build-app/templates/app/src/notify.tsx +36 -0
- package/skills/xdev-ui-build-app/templates/app/src/pages/Home.tsx +22 -0
- package/skills/xdev-ui-build-app/templates/app/src/pages/NotFound.tsx +17 -0
- package/skills/xdev-ui-build-app/templates/app/src/pages/Settings.tsx +35 -0
- package/skills/xdev-ui-build-app/templates/app/src/router.ts +26 -0
- package/skills/xdev-ui-build-app/templates/app/src/theme.ts +34 -0
- package/skills/xdev-ui-build-app/templates/app/tsconfig.json +16 -0
- package/skills/xdev-ui-build-app/templates/app/vite.config.ts +4 -0
- package/skills/xdev-ui-design/SKILL.md +111 -0
- package/skills/xdev-ui-design/references/brand.md +58 -0
- package/skills/xdev-ui-design/references/checklist.md +55 -0
- package/skills/xdev-ui-design/references/owner-notes.md +54 -0
- package/skills/xdev-ui-design/references/porting.md +56 -0
- package/skills/xdev-ui-design/references/rules.md +135 -0
- package/skills/xdev-ui-design/references/screens.md +61 -0
- package/skills/xdev-ui-design/references/tokens.md +97 -0
- package/skills/xdev-ui-improve/SKILL.md +96 -0
- package/skills/xdev-ui-improve/references/plan-template.md +59 -0
- package/skills/xdev-ui-motion/SKILL.md +87 -0
- package/skills/xdev-ui-motion/references/recipes.md +117 -0
- package/skills/xdev-ui-review/SKILL.md +141 -0
- package/skills/xdev-ui-review/references/checklist.md +92 -0
- package/skills/xdev-ui-review/references/grep-recipes.md +37 -0
- package/skills/xdev-ui-review/references/pages/dashboard.md +21 -0
- package/skills/xdev-ui-review/references/pages/dialogs-forms.md +23 -0
- package/skills/xdev-ui-review/references/pages/list.md +22 -0
- package/skills/xdev-ui-review/references/pages/provider-grid.md +19 -0
- package/skills/xdev-ui-review/references/pages/settings.md +18 -0
- package/skills/xdev-ui-review/references/pages/sign-in.md +21 -0
- package/skills/xdev-ui-review/references/web-interface.md +73 -0
- package/skills/xdev-ui-review/scripts/audit.mjs +775 -0
- package/skills/xdev-ui-ux-standards/SKILL.md +88 -0
- package/skills/xdev-ui-ux-standards/references/heuristics-checklist.md +129 -0
- package/skills/xdev-ui-ux-standards/references/patterns.md +120 -0
- package/skills/xdev-ui-ux-standards/references/platforms.md +104 -0
- package/skills/xdev-ui-ux-standards/references/standards-map.md +144 -0
package/AGENTS.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# AGENTS.md
|
|
2
|
+
|
|
3
|
+
Instructions for coding agents that **use** `@xdev-asia/ui` or **change** this repo.
|
|
4
|
+
|
|
5
|
+
## Using the library
|
|
6
|
+
|
|
7
|
+
Read the design system through the bundled MCP server instead of guessing props or colours.
|
|
8
|
+
|
|
9
|
+
```jsonc
|
|
10
|
+
// .mcp.json (Claude Code, Cursor, VS Code): package installed in the project
|
|
11
|
+
{
|
|
12
|
+
"mcpServers": {
|
|
13
|
+
"xdev-ui": { "command": "node", "args": ["node_modules/@xdev-asia/ui/dist/mcp.js"] }
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
| tool | use it to |
|
|
19
|
+
|---|---|
|
|
20
|
+
| `xdevui_get_guidelines` `topic="setup"` | install, CSS imports, `data-theme`, shared types |
|
|
21
|
+
| `xdevui_list_components` | pick parts for a screen (121, grouped) |
|
|
22
|
+
| `xdevui_get_component` | README rules + exported props + CSS classes of one part |
|
|
23
|
+
| `xdevui_search_tokens` | find the token for a colour, space, radius or type size |
|
|
24
|
+
| `xdevui_list_icons` | valid `IconName` values |
|
|
25
|
+
| `xdevui_search_docs` | find which component, rule or skill pattern covers a topic (`scope`: `components`, `guidelines`, `skills`) |
|
|
26
|
+
| `xdevui_get_skill` | read a skill (`xdev-ui-build-app`, `xdev-ui-admin`, `xdev-ui-design`, `xdev-ui-review`, `xdev-ui-ux-standards`, `xdev-ui-motion`, `xdev-ui-improve`) and its references |
|
|
27
|
+
|
|
28
|
+
Prompt `xdevui_build_ui` runs those steps in order; `xdevui_build_app` and `xdevui_build_admin` do the same through a skill and its template. Without MCP: `node_modules/@xdev-asia/ui/dist/llms-full.txt` (or <https://ui.xdev.asia/llms-full.txt>) holds the same content in one file.
|
|
29
|
+
|
|
30
|
+
### Skills
|
|
31
|
+
|
|
32
|
+
`npx xdev-ui-skills install` copies `xdev-ui-build-app`, `xdev-ui-admin`, `xdev-ui-design`, `xdev-ui-review`, `xdev-ui-ux-standards`, `xdev-ui-motion` and `xdev-ui-improve` into `.claude/skills` (`--codex` or `--cursor`: `.agents/skills`; `--user`: your home). `npx xdev-ui-skills create app|admin <dir>` scaffolds a project. Run the review skill's `scripts/audit.mjs src --i18n src/i18n` before you finish UI work.
|
|
33
|
+
|
|
34
|
+
### Rules agents break most
|
|
35
|
+
|
|
36
|
+
- Import `@xdev-asia/ui/styles.css` once; set `data-theme="dark"` (default) or `"light"` on `<html>`.
|
|
37
|
+
- Use only props that `xdevui_get_component` returns. No raw hex, px or font sizes: use `var(--token)`.
|
|
38
|
+
- One primary `Button` per surface, last in `.dialog-actions`. Cyan `--x-color-signal` is the focus ring only.
|
|
39
|
+
- State is a tint, a 1px border or a `StatusDot`. **Never** a coloured left stripe on a rounded card or row.
|
|
40
|
+
- Labels: sentence case verbs ("Create session"), no emoji, no exclamation marks; ship `en` and `vi`.
|
|
41
|
+
- Brand mark: use `BrandMark` or `@xdev-asia/ui/brand/*`; never recolour the orange agent side `#ff7a3d`. A sub-system passes `system` (`ui`).
|
|
42
|
+
|
|
43
|
+
## Changing this repo
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
corepack pnpm install
|
|
47
|
+
corepack pnpm dev # demo, http://localhost:5173
|
|
48
|
+
corepack pnpm build # tokens -> ai manifest -> lib -> mcp.js -> d.ts
|
|
49
|
+
corepack pnpm test # SSR smoke (121 components) + MCP smoke (all tools)
|
|
50
|
+
corepack pnpm check:layout # admin example: every route on phone-small, phone, tablet, desktop, light/dark, en/vi (screenshots + report.json in layout-report/)
|
|
51
|
+
corepack pnpm check:devices # the same on all 7 device presets, as CI does (one job per device); `--devices`, `--only`, `--widths` in scripts/layout-check.mjs
|
|
52
|
+
# both fail on sideways scroll, a hidden current tab, content past the right edge, tap targets under 24px on touch devices; text under 12px is a warning
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
| change | also update |
|
|
56
|
+
|---|---|
|
|
57
|
+
| new component `X` | `src/components/X/X.tsx` + `README.md` (first paragraph = summary, `## Rules`), export in `src/index.ts`, row in the Components table of `docs/design-system.md` (build fails without it), CSS in `src/styles/<group>.css`, preview in `demo/previews.ts` |
|
|
58
|
+
| token | `tokens/tokens.json` only; `tokens.css` and the AI manifest are generated |
|
|
59
|
+
| skill or template | `skills/<name>/SKILL.md` (frontmatter `name`, `description`, `license`; body at most 150 lines), `references/`, `templates/`; every name it uses must exist (`test/skills-names.test.ts`); dotfiles in templates are `_npmrc`, `_gitignore`, `_mcp.json` |
|
|
60
|
+
| admin example | `examples/admin`; `test/app-rules.test.ts` runs the audit on it, and `pnpm build:example:admin` runs in CI. A new route also goes in `examples/admin/layout-routes.json`; run `pnpm check:layout` (headless Chrome: `$CHROME_BIN`, or Playwright's shell) after layout changes and look at the screenshots |
|
|
61
|
+
| icon | `src/icons.ts` (24 grid, stroke 1.75, no fills) |
|
|
62
|
+
| rule or voice | `docs/design-system.md`; the MCP `xdevui_get_guidelines` reads its `##` sections |
|
|
63
|
+
|
|
64
|
+
- Generated, not committed: `src/styles/tokens.css`, `generated/` (`ai-manifest.json`, `llms.txt`, `llms-full.txt`), `dist/`.
|
|
65
|
+
- `src/mcp/server.ts` must not write to stdout (stdio protocol). Log with `console.error`.
|
|
66
|
+
- Commits follow Conventional Commits; `main` releases automatically (`fix` patch, `feat` minor, `!` major).
|
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
202
|
+
|
package/README.md
CHANGED
|
@@ -1,3 +1,150 @@
|
|
|
1
|
-
#
|
|
1
|
+
# xdev-ui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Design tokens and React components for the xDev agent workspace. Published as **`@xdev-asia/ui`** on GitHub Packages.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
`.npmrc` in the consuming repo:
|
|
8
|
+
|
|
9
|
+
```ini
|
|
10
|
+
@xdev-asia:registry=https://npm.pkg.github.com
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
The token needs `read:packages`, even though the package is public. pnpm ignores `${VAR}` in repo-level credentials, so put the token line in the user `~/.npmrc` (or a file named by `NPM_CONFIG_USERCONFIG` in CI):
|
|
14
|
+
|
|
15
|
+
```ini
|
|
16
|
+
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
In GitHub Actions of another `xdev-asia` repo, give the job `permissions: packages: read`, pass `GITHUB_TOKEN: ${{ github.token }}`, and if install returns 403, grant that repo read access under *Package settings → Manage Actions access*.
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pnpm add @xdev-asia/ui
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Use
|
|
26
|
+
|
|
27
|
+
```tsx
|
|
28
|
+
import "@xdev-asia/ui/styles.css"; // tokens + all component CSS
|
|
29
|
+
import "@xdev-asia/ui/fonts.css"; // optional: Roboto + JetBrains Mono (Google Fonts)
|
|
30
|
+
import { Button, TabStrip, BrandMark } from "@xdev-asia/ui";
|
|
31
|
+
|
|
32
|
+
<html data-theme="dark"> // or "light"
|
|
33
|
+
<Button variant="primary" icon="plus">Create session</Button>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
| export | content |
|
|
37
|
+
|---|---|
|
|
38
|
+
| `@xdev-asia/ui` | 121 components, `ICONS`, `ICON_NAMES`, prop types |
|
|
39
|
+
| `@xdev-asia/ui/image` | `ImageCropper`, `ImageField` and crop helpers; needs the optional peer `react-easy-crop` |
|
|
40
|
+
| `@xdev-asia/ui/styles.css` | tokens + component CSS |
|
|
41
|
+
| `@xdev-asia/ui/styles.layered.css` | the same stylesheet inside `@layer xdev`. With Tailwind v4 import it instead of `styles.css` and declare the order first, `@layer theme, base, xdev, components, utilities;`, so Tailwind utilities win over component classes |
|
|
42
|
+
| `@xdev-asia/ui/tailwind.css` | Tailwind v4 theme: colours, radii, fonts and breakpoints from the tokens |
|
|
43
|
+
| `@xdev-asia/ui/tokens.css` | tokens only (CSS custom properties, dark + light) |
|
|
44
|
+
| `@xdev-asia/ui/tokens.json` | token source |
|
|
45
|
+
| `@xdev-asia/ui/brand/*` | logo v12 SVG/PNG for xDev and its sub-systems, mobile icons |
|
|
46
|
+
| `@xdev-asia/ui/ai-manifest.json` | components, props, classes, tokens, icons, guidelines as JSON |
|
|
47
|
+
| `@xdev-asia/ui/llms.txt`, `llms-full.txt` | the same for LLMs ([llmstxt.org](https://llmstxt.org)) |
|
|
48
|
+
|
|
49
|
+
Components: ActionTile, ActivityBar, AgentChip, AppShell, Avatar, Badge, Banner, BrandMark, Breadcrumb, Button, Card, Checkbox, Coachmark, CodeBlock, ColorField, CommandPalette, Comment, CommitGraph, DataTable, DescriptionList, Dialog, DiffStat, Disclosure, EmptyState, Field, FieldMessage, FileIcon, FilterChip, FontField, FormSection, Heatmap, Icon, IconButton, Kbd, ListRow, Menu, Meter, NavList, PageHeader, Pagination, PanZoom, Popover, RadioGroup, ReactionBar, SearchInput, SearchPicker, Segmented, Select, SettingRow, Spinner, SplitHandle, StatTile, StatusBar, StatusDot, StepDots, Switch, Tabs, TabStrip, Tag, Textarea, ThemeEditor, ThemePreview, ThemeSwitch, Toast, Toolbar, Tooltip, TreeView, ZoomBar. Rules per component: `src/components/<Name>/README.md`. Image components (`@xdev-asia/ui/image`, `pnpm add react-easy-crop`): `src/image/<Name>/README.md`; their CSS is in `styles.css`. Brand book: [docs/brand.md](docs/brand.md). Foundations: [docs/design-system.md](docs/design-system.md).
|
|
50
|
+
|
|
51
|
+
## Subpath entries
|
|
52
|
+
|
|
53
|
+
Optional parts live in their own entry points, so the core entry never loads their peers. Install the peers only where you import the subpath.
|
|
54
|
+
|
|
55
|
+
### `@xdev-asia/ui/editor`
|
|
56
|
+
|
|
57
|
+
`RichTextEditor`: article editor on Tiptap 3 (headings 2-3, bold, italic, links, lists, quotes, images), controlled, Markdown by default or HTML. Rules: `src/editor/RichTextEditor/README.md`.
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
pnpm add @tiptap/core @tiptap/react @tiptap/pm @tiptap/starter-kit @tiptap/extension-image @tiptap/extension-link @tiptap/extensions @tiptap/markdown
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
```tsx
|
|
64
|
+
import { RichTextEditor } from "@xdev-asia/ui/editor";
|
|
65
|
+
|
|
66
|
+
<RichTextEditor label="Body" value={body} onChange={setBody} onUploadImage={uploadImage} />
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## AI agents (MCP)
|
|
70
|
+
|
|
71
|
+
The package ships a stdio MCP server, `xdev-ui-mcp` (`dist/mcp.js`, no extra dependencies). It gives agents the real props, tokens and rules, so they do not invent them.
|
|
72
|
+
|
|
73
|
+
`.mcp.json` in the consuming repo (Claude Code, Cursor, VS Code):
|
|
74
|
+
|
|
75
|
+
```json
|
|
76
|
+
{
|
|
77
|
+
"mcpServers": {
|
|
78
|
+
"xdev-ui": { "command": "node", "args": ["node_modules/@xdev-asia/ui/dist/mcp.js"] }
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Without installing (needs the `.npmrc` above; on Windows use `"command": "cmd", "args": ["/c", "npx", ...]`):
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
claude mcp add xdev-ui -- npx -y --package=@xdev-asia/ui xdev-ui-mcp
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
| tool | returns |
|
|
90
|
+
|---|---|
|
|
91
|
+
| `xdevui_list_components` | 121 components by group, with summary |
|
|
92
|
+
| `xdevui_get_component` | README rules, exported prop types, CSS classes, import line |
|
|
93
|
+
| `xdevui_search_tokens` | tokens by name, usage or category, with dark/light values |
|
|
94
|
+
| `xdevui_get_guidelines` | setup, voice, visual foundations, iconography, layout, data and forms, agent skills, brand |
|
|
95
|
+
| `xdevui_list_icons` | valid `IconName` values |
|
|
96
|
+
| `xdevui_search_docs` | matching sections across all docs |
|
|
97
|
+
| `xdevui_get_skill` | an agent skill: list, `SKILL.md` with its files, or one file |
|
|
98
|
+
|
|
99
|
+
Resources: `xdev-ui://components/{name}`, `xdev-ui://guidelines/{topic}`, `xdev-ui://skills/{name}`, `xdev-ui://tokens`. Prompts: `xdevui_build_ui`, `xdevui_build_app`, `xdevui_build_admin`. Agent rules: [AGENTS.md](AGENTS.md). No MCP client: <https://ui.xdev.asia/llms-full.txt>.
|
|
100
|
+
|
|
101
|
+
## Agent skills
|
|
102
|
+
|
|
103
|
+
Seven skills teach a coding agent to build with the library: `xdev-ui-build-app` (app shell, theme, i18n, routing, states), `xdev-ui-admin` (dashboards, lists, forms, roles, settings, audit log), `xdev-ui-design` (design rules by priority, tokens by role, logo, screen recipes, porting, pre-delivery checklist), `xdev-ui-review` (rules audit), `xdev-ui-ux-standards` (WCAG 2.2 AA, APG patterns, platform guidelines, usability heuristics), `xdev-ui-motion` (motion budget and rendering performance) and `xdev-ui-improve` (evidence-based improvement plans for an existing screen). They live in `skills/` and ship in the package.
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
npx xdev-ui-skills install # .claude/skills in this project
|
|
107
|
+
npx xdev-ui-skills install --codex --user # ~/.agents/skills
|
|
108
|
+
npx xdev-ui-skills create admin my-console # a Vite app from the admin template
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Or in Claude Code: `/plugin marketplace add xdev-asia/xdev-ui`, then `/plugin install xdev-ui@xdev-asia`. `examples/admin` is a full console (sign-in, dashboard, users, roles, settings, audit log) in en and vi; run it with `pnpm example:admin`.
|
|
112
|
+
|
|
113
|
+
## Develop
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
corepack pnpm install
|
|
117
|
+
corepack pnpm dev # demo at http://localhost:5173
|
|
118
|
+
corepack pnpm build # dist/ (lib, mcp.js, AI manifest, llms.txt)
|
|
119
|
+
corepack pnpm test # SSR smoke test + MCP smoke test over dist
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
`tokens/tokens.json` is the source of truth; `scripts/build-tokens.mjs` writes `src/styles/tokens.css`, `scripts/build-ai.mjs` writes `generated/` from the component READMEs, sources and docs. The repo's `.mcp.json` points at `dist/mcp.js` for local work.
|
|
123
|
+
|
|
124
|
+
### Showcase
|
|
125
|
+
|
|
126
|
+
`examples/admin` is a whole admin console built from the library with sample data, rebuilt after react-antd-admin: dashboard, users, roles, a permissions preview, menus and departments as tree lists, audit log, settings, profile, status pages, four ways to sign in, and the console chrome (Ctrl+K search, notifications, page tabs, icon sidebar, focus view, preferences). The demo site publishes it at `/showcase/admin/` (Showcase menu).
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
corepack pnpm example:admin # http://localhost:5174
|
|
130
|
+
corepack pnpm build:demo # dist-demo, with the console in dist-demo/showcase/admin
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Sign in with `admin@example.com` / `admin-demo` (owner) or `viewer@example.com` / `viewer-demo`. `test/app-rules.test.ts` runs the rules audit on it.
|
|
134
|
+
|
|
135
|
+
## Release (automatic)
|
|
136
|
+
|
|
137
|
+
Commits on `main` follow [Conventional Commits](https://www.conventionalcommits.org/). `release.yml` runs semantic-release:
|
|
138
|
+
|
|
139
|
+
| commit | release |
|
|
140
|
+
|---|---|
|
|
141
|
+
| `fix: …` | patch |
|
|
142
|
+
| `feat: …` | minor |
|
|
143
|
+
| `feat!: …` / `BREAKING CHANGE:` | major |
|
|
144
|
+
| `chore:`, `docs:`, `ci:` | none |
|
|
145
|
+
|
|
146
|
+
It tags `vX.Y.Z`, publishes to GitHub Packages and writes the GitHub release. `pages.yml` deploys the demo to GitHub Pages at <https://ui.xdev.asia>.
|
|
147
|
+
|
|
148
|
+
## License
|
|
149
|
+
|
|
150
|
+
[Apache-2.0](LICENSE). Section 6 of the license grants no rights to the xDev name or logo.
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="base" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#171d33"/><stop offset="1" stop-color="#06080e"/></linearGradient>
|
|
4
|
+
<radialGradient id="glowYou" cx="330" cy="512" r="430" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2f62e6" stop-opacity=".6"/><stop offset="1" stop-color="#2f62e6" stop-opacity="0"/></radialGradient>
|
|
5
|
+
<radialGradient id="glowAgent" cx="700" cy="512" r="400" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ff7a3d" stop-opacity=".42"/><stop offset="1" stop-color="#ff7a3d" stop-opacity="0"/></radialGradient>
|
|
6
|
+
<linearGradient id="rim" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#fff" stop-opacity=".34"/><stop offset=".35" stop-color="#fff" stop-opacity=".04"/><stop offset="1" stop-color="#fff" stop-opacity=".08"/></linearGradient>
|
|
7
|
+
<linearGradient id="blue" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#5b8dff"/><stop offset="1" stop-color="#1535a8"/></linearGradient>
|
|
8
|
+
<linearGradient id="whiteUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#dfe8ff"/></linearGradient>
|
|
9
|
+
<linearGradient id="whiteLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#c3d3ff"/><stop offset="1" stop-color="#9fb7fb"/></linearGradient>
|
|
10
|
+
<clipPath id="clip"><rect width="1024" height="1024" rx="230"/></clipPath>
|
|
11
|
+
</defs>
|
|
12
|
+
<rect width="1024" height="1024" fill="url(#base)"/><rect width="1024" height="1024" fill="url(#glowYou)"/><rect width="1024" height="1024" fill="url(#glowAgent)"/>
|
|
13
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="youUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#b9cfff"/><stop offset="1" stop-color="#4f84ff"/></linearGradient>
|
|
4
|
+
<linearGradient id="youLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2f62e6"/><stop offset="1" stop-color="#1a3db3"/></linearGradient>
|
|
5
|
+
<linearGradient id="agentUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffc9a3"/><stop offset="1" stop-color="#ff8a4f"/></linearGradient>
|
|
6
|
+
<linearGradient id="agentLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ff7a3d"/><stop offset="1" stop-color="#d94e14"/></linearGradient>
|
|
7
|
+
<linearGradient id="shape" x1="0" y1="322" x2="0" y2="702" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffc9a3"/><stop offset=".5" stop-color="#ff7a3d"/><stop offset="1" stop-color="#d94e14"/></linearGradient>
|
|
8
|
+
<linearGradient id="core" x1="0" y1="438" x2="0" y2="586" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#ffe2cc"/></linearGradient>
|
|
9
|
+
<filter id="soft" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="34"/></filter>
|
|
10
|
+
<filter id="shadow" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="18"/></filter>
|
|
11
|
+
</defs>
|
|
12
|
+
<g transform="translate(512 512) scale(0.72) translate(-512 -512)"><g opacity="0.55" filter="url(#shadow)" transform="translate(0 22)" fill="#000"><path d="M185 232H335L575 512L335 792H185L425 512Z M839 232H689L449 512L689 792H839L599 512Z"/></g><path d="M185 232H335L575 512H425Z" fill="url(#youUpper)"/><path d="M425 512H575L335 792H185Z" fill="url(#youLower)"/><path d="M839 232H689L449 512H599Z" fill="url(#agentUpper)"/><path d="M599 512H449L689 792H839Z" fill="url(#agentLower)"/><path d="M512 438.5L575 512L512 585.5L449 512Z" fill="#fff" filter="url(#soft)" opacity=".95"/><path d="M512 438.5L575 512L512 585.5L449 512Z" fill="url(#core)"/></g>
|
|
13
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024">
|
|
2
|
+
<g transform="translate(512 512) scale(0.72) translate(-512 -512)"><path d="M185 232H335L575 512L335 792H185L425 512Z M839 232H689L449 512L689 792H839L599 512Z" fill="#000"/></g>
|
|
3
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="base" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#171d33"/><stop offset="1" stop-color="#06080e"/></linearGradient>
|
|
4
|
+
<radialGradient id="glowYou" cx="330" cy="512" r="430" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2f62e6" stop-opacity=".6"/><stop offset="1" stop-color="#2f62e6" stop-opacity="0"/></radialGradient>
|
|
5
|
+
<radialGradient id="glowAgent" cx="700" cy="512" r="400" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ff7a3d" stop-opacity=".42"/><stop offset="1" stop-color="#ff7a3d" stop-opacity="0"/></radialGradient>
|
|
6
|
+
<linearGradient id="rim" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#fff" stop-opacity=".34"/><stop offset=".35" stop-color="#fff" stop-opacity=".04"/><stop offset="1" stop-color="#fff" stop-opacity=".08"/></linearGradient>
|
|
7
|
+
<linearGradient id="blue" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#5b8dff"/><stop offset="1" stop-color="#1535a8"/></linearGradient>
|
|
8
|
+
<linearGradient id="whiteUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#dfe8ff"/></linearGradient>
|
|
9
|
+
<linearGradient id="whiteLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#c3d3ff"/><stop offset="1" stop-color="#9fb7fb"/></linearGradient>
|
|
10
|
+
<clipPath id="clip"><rect width="1024" height="1024" rx="230"/></clipPath>
|
|
11
|
+
<linearGradient id="youUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#b9cfff"/><stop offset="1" stop-color="#4f84ff"/></linearGradient>
|
|
12
|
+
<linearGradient id="youLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2f62e6"/><stop offset="1" stop-color="#1a3db3"/></linearGradient>
|
|
13
|
+
<linearGradient id="agentUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffc9a3"/><stop offset="1" stop-color="#ff8a4f"/></linearGradient>
|
|
14
|
+
<linearGradient id="agentLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ff7a3d"/><stop offset="1" stop-color="#d94e14"/></linearGradient>
|
|
15
|
+
<linearGradient id="shape" x1="0" y1="322" x2="0" y2="702" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffc9a3"/><stop offset=".5" stop-color="#ff7a3d"/><stop offset="1" stop-color="#d94e14"/></linearGradient>
|
|
16
|
+
<linearGradient id="core" x1="0" y1="438" x2="0" y2="586" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#ffe2cc"/></linearGradient>
|
|
17
|
+
<filter id="soft" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="34"/></filter>
|
|
18
|
+
<filter id="shadow" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="18"/></filter>
|
|
19
|
+
</defs>
|
|
20
|
+
<rect width="1024" height="1024" fill="url(#base)"/><rect width="1024" height="1024" fill="url(#glowYou)"/><rect width="1024" height="1024" fill="url(#glowAgent)"/>
|
|
21
|
+
<g opacity="0.55" filter="url(#shadow)" transform="translate(0 22)" fill="#000"><path d="M185 232H335L575 512L335 792H185L425 512Z M839 232H689L449 512L689 792H839L599 512Z"/></g><path d="M185 232H335L575 512H425Z" fill="url(#youUpper)"/><path d="M425 512H575L335 792H185Z" fill="url(#youLower)"/><path d="M839 232H689L449 512H599Z" fill="url(#agentUpper)"/><path d="M599 512H449L689 792H839Z" fill="url(#agentLower)"/><path d="M512 438.5L575 512L512 585.5L449 512Z" fill="#fff" filter="url(#soft)" opacity=".95"/><path d="M512 438.5L575 512L512 585.5L449 512Z" fill="url(#core)"/>
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="base" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#171d33"/><stop offset="1" stop-color="#06080e"/></linearGradient>
|
|
4
|
+
<radialGradient id="glowYou" cx="330" cy="512" r="430" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2f62e6" stop-opacity=".6"/><stop offset="1" stop-color="#2f62e6" stop-opacity="0"/></radialGradient>
|
|
5
|
+
<radialGradient id="glowAgent" cx="700" cy="512" r="400" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ff7a3d" stop-opacity=".42"/><stop offset="1" stop-color="#ff7a3d" stop-opacity="0"/></radialGradient>
|
|
6
|
+
<linearGradient id="rim" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#fff" stop-opacity=".34"/><stop offset=".35" stop-color="#fff" stop-opacity=".04"/><stop offset="1" stop-color="#fff" stop-opacity=".08"/></linearGradient>
|
|
7
|
+
<linearGradient id="blue" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#5b8dff"/><stop offset="1" stop-color="#1535a8"/></linearGradient>
|
|
8
|
+
<linearGradient id="whiteUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#dfe8ff"/></linearGradient>
|
|
9
|
+
<linearGradient id="whiteLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#c3d3ff"/><stop offset="1" stop-color="#9fb7fb"/></linearGradient>
|
|
10
|
+
<clipPath id="clip"><rect width="1024" height="1024" rx="230"/></clipPath>
|
|
11
|
+
<linearGradient id="youUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#b9cfff"/><stop offset="1" stop-color="#4f84ff"/></linearGradient>
|
|
12
|
+
<linearGradient id="youLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2f62e6"/><stop offset="1" stop-color="#1a3db3"/></linearGradient>
|
|
13
|
+
<linearGradient id="agentUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffc9a3"/><stop offset="1" stop-color="#ff8a4f"/></linearGradient>
|
|
14
|
+
<linearGradient id="agentLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ff7a3d"/><stop offset="1" stop-color="#d94e14"/></linearGradient>
|
|
15
|
+
<linearGradient id="shape" x1="0" y1="322" x2="0" y2="702" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffc9a3"/><stop offset=".5" stop-color="#ff7a3d"/><stop offset="1" stop-color="#d94e14"/></linearGradient>
|
|
16
|
+
<linearGradient id="core" x1="0" y1="438" x2="0" y2="586" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#ffe2cc"/></linearGradient>
|
|
17
|
+
<filter id="soft" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="34"/></filter>
|
|
18
|
+
<filter id="shadow" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="18"/></filter>
|
|
19
|
+
</defs>
|
|
20
|
+
<rect width="1024" height="1024" fill="url(#blue)"/><rect width="1024" height="1024" fill="url(#glowAgent)"/>
|
|
21
|
+
<g opacity="0.4" filter="url(#shadow)" transform="translate(0 22)" fill="#061040"><path d="M185 232H335L575 512L335 792H185L425 512Z M839 232H689L449 512L689 792H839L599 512Z"/></g><path d="M185 232H335L575 512H425Z" fill="url(#whiteUpper)"/><path d="M425 512H575L335 792H185Z" fill="url(#whiteLower)"/><path d="M839 232H689L449 512H599Z" fill="url(#agentUpper)"/><path d="M599 512H449L689 792H839Z" fill="url(#agentLower)"/><path d="M512 438.5L575 512L512 585.5L449 512Z" fill="#fff" filter="url(#soft)" opacity=".95"/><path d="M512 438.5L575 512L512 585.5L449 512Z" fill="url(#core)"/>
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="base" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#171d33"/><stop offset="1" stop-color="#06080e"/></linearGradient>
|
|
4
|
+
<radialGradient id="glowYou" cx="330" cy="512" r="430" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2f62e6" stop-opacity=".6"/><stop offset="1" stop-color="#2f62e6" stop-opacity="0"/></radialGradient>
|
|
5
|
+
<radialGradient id="glowAgent" cx="700" cy="512" r="400" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ff7a3d" stop-opacity=".42"/><stop offset="1" stop-color="#ff7a3d" stop-opacity="0"/></radialGradient>
|
|
6
|
+
<linearGradient id="rim" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#fff" stop-opacity=".34"/><stop offset=".35" stop-color="#fff" stop-opacity=".04"/><stop offset="1" stop-color="#fff" stop-opacity=".08"/></linearGradient>
|
|
7
|
+
<linearGradient id="blue" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#5b8dff"/><stop offset="1" stop-color="#1535a8"/></linearGradient>
|
|
8
|
+
<linearGradient id="whiteUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#dfe8ff"/></linearGradient>
|
|
9
|
+
<linearGradient id="whiteLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#c3d3ff"/><stop offset="1" stop-color="#9fb7fb"/></linearGradient>
|
|
10
|
+
<clipPath id="clip"><rect width="1024" height="1024" rx="230"/></clipPath>
|
|
11
|
+
<linearGradient id="youUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#b9cfff"/><stop offset="1" stop-color="#4f84ff"/></linearGradient>
|
|
12
|
+
<linearGradient id="youLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2f62e6"/><stop offset="1" stop-color="#1a3db3"/></linearGradient>
|
|
13
|
+
<linearGradient id="agentUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffc9a3"/><stop offset="1" stop-color="#ff8a4f"/></linearGradient>
|
|
14
|
+
<linearGradient id="agentLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ff7a3d"/><stop offset="1" stop-color="#d94e14"/></linearGradient>
|
|
15
|
+
<linearGradient id="shape" x1="0" y1="322" x2="0" y2="702" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffc9a3"/><stop offset=".5" stop-color="#ff7a3d"/><stop offset="1" stop-color="#d94e14"/></linearGradient>
|
|
16
|
+
<linearGradient id="core" x1="0" y1="438" x2="0" y2="586" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#ffe2cc"/></linearGradient>
|
|
17
|
+
<filter id="soft" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="34"/></filter>
|
|
18
|
+
<filter id="shadow" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="18"/></filter>
|
|
19
|
+
</defs>
|
|
20
|
+
<g clip-path="url(#clip)"><rect width="1024" height="1024" fill="url(#base)"/><rect width="1024" height="1024" fill="url(#glowYou)"/><rect width="1024" height="1024" fill="url(#glowAgent)"/></g>
|
|
21
|
+
<rect x="4" y="4" width="1016" height="1016" rx="226" fill="none" stroke="url(#rim)" stroke-width="8"/>
|
|
22
|
+
<g transform="translate(-20 0)"><g opacity="0.55" filter="url(#shadow)" transform="translate(0 22)" fill="#000"><path d="M185 232H335L575 512L335 792H185L425 512Z"/><g transform="translate(735 512) scale(1.15) translate(-725 -512)"><rect x="608" y="391" width="110" height="110" rx="28"/><rect x="740" y="391" width="110" height="110" rx="28" opacity=".72"/><rect x="608" y="523" width="110" height="110" rx="28" opacity=".72"/><rect x="740" y="523" width="110" height="110" rx="28" opacity=".46"/></g></g><path d="M185 232H335L575 512H425Z" fill="url(#youUpper)"/><path d="M425 512H575L335 792H185Z" fill="url(#youLower)"/><g transform="translate(735 512) scale(1.15) translate(-725 -512)" fill="url(#shape)"><rect x="608" y="391" width="110" height="110" rx="28"/><rect x="740" y="391" width="110" height="110" rx="28" opacity=".72"/><rect x="608" y="523" width="110" height="110" rx="28" opacity=".72"/><rect x="740" y="523" width="110" height="110" rx="28" opacity=".46"/></g></g>
|
|
23
|
+
</svg>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="157" height="32" viewBox="0 0 157 32" role="img" aria-label="xDev UI">
|
|
2
|
+
<svg width="32" height="32" viewBox="0 0 1024 1024"><defs>
|
|
3
|
+
<linearGradient id="base" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#171d33"/><stop offset="1" stop-color="#06080e"/></linearGradient>
|
|
4
|
+
<radialGradient id="glowYou" cx="330" cy="512" r="430" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2f62e6" stop-opacity=".6"/><stop offset="1" stop-color="#2f62e6" stop-opacity="0"/></radialGradient>
|
|
5
|
+
<radialGradient id="glowAgent" cx="700" cy="512" r="400" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ff7a3d" stop-opacity=".42"/><stop offset="1" stop-color="#ff7a3d" stop-opacity="0"/></radialGradient>
|
|
6
|
+
<linearGradient id="rim" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#fff" stop-opacity=".34"/><stop offset=".35" stop-color="#fff" stop-opacity=".04"/><stop offset="1" stop-color="#fff" stop-opacity=".08"/></linearGradient>
|
|
7
|
+
<linearGradient id="blue" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#5b8dff"/><stop offset="1" stop-color="#1535a8"/></linearGradient>
|
|
8
|
+
<linearGradient id="whiteUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#dfe8ff"/></linearGradient>
|
|
9
|
+
<linearGradient id="whiteLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#c3d3ff"/><stop offset="1" stop-color="#9fb7fb"/></linearGradient>
|
|
10
|
+
<clipPath id="clip"><rect width="1024" height="1024" rx="230"/></clipPath>
|
|
11
|
+
<linearGradient id="youUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#b9cfff"/><stop offset="1" stop-color="#4f84ff"/></linearGradient>
|
|
12
|
+
<linearGradient id="youLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2f62e6"/><stop offset="1" stop-color="#1a3db3"/></linearGradient>
|
|
13
|
+
<linearGradient id="agentUpper" x1="0" y1="232" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffc9a3"/><stop offset="1" stop-color="#ff8a4f"/></linearGradient>
|
|
14
|
+
<linearGradient id="agentLower" x1="0" y1="512" x2="0" y2="792" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ff7a3d"/><stop offset="1" stop-color="#d94e14"/></linearGradient>
|
|
15
|
+
<linearGradient id="shape" x1="0" y1="322" x2="0" y2="702" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffc9a3"/><stop offset=".5" stop-color="#ff7a3d"/><stop offset="1" stop-color="#d94e14"/></linearGradient>
|
|
16
|
+
<linearGradient id="core" x1="0" y1="438" x2="0" y2="586" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#ffe2cc"/></linearGradient>
|
|
17
|
+
<filter id="soft" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="34"/></filter>
|
|
18
|
+
<filter id="shadow" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="18"/></filter>
|
|
19
|
+
</defs>
|
|
20
|
+
<g clip-path="url(#clip)"><rect width="1024" height="1024" fill="url(#base)"/><rect width="1024" height="1024" fill="url(#glowYou)"/><rect width="1024" height="1024" fill="url(#glowAgent)"/></g>
|
|
21
|
+
<rect x="4" y="4" width="1016" height="1016" rx="226" fill="none" stroke="url(#rim)" stroke-width="8"/>
|
|
22
|
+
<g transform="translate(-20 0)"><g opacity="0.55" filter="url(#shadow)" transform="translate(0 22)" fill="#000"><path d="M185 232H335L575 512L335 792H185L425 512Z"/><g transform="translate(735 512) scale(1.15) translate(-725 -512)"><rect x="608" y="391" width="110" height="110" rx="28"/><rect x="740" y="391" width="110" height="110" rx="28" opacity=".72"/><rect x="608" y="523" width="110" height="110" rx="28" opacity=".72"/><rect x="740" y="523" width="110" height="110" rx="28" opacity=".46"/></g></g><path d="M185 232H335L575 512H425Z" fill="url(#youUpper)"/><path d="M425 512H575L335 792H185Z" fill="url(#youLower)"/><g transform="translate(735 512) scale(1.15) translate(-725 -512)" fill="url(#shape)"><rect x="608" y="391" width="110" height="110" rx="28"/><rect x="740" y="391" width="110" height="110" rx="28" opacity=".72"/><rect x="608" y="523" width="110" height="110" rx="28" opacity=".72"/><rect x="740" y="523" width="110" height="110" rx="28" opacity=".46"/></g></g></svg>
|
|
23
|
+
<text x="40" y="24" font-family="'Be Vietnam Pro', 'Segoe UI', sans-serif" font-size="25" letter-spacing="-0.8"><tspan fill="#f4f5f8" font-weight="800">xDev</tspan><tspan fill="#9aa8c7" font-weight="500" dx="6">UI</tspan></text>
|
|
24
|
+
</svg>
|