@xdev-asia/ui 0.0.0-stage → 4.15.1

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.
Files changed (448) hide show
  1. package/AGENTS.md +66 -0
  2. package/LICENSE +202 -0
  3. package/README.md +149 -2
  4. package/assets/brand/mobile/android-background-1024.png +0 -0
  5. package/assets/brand/mobile/android-background.svg +13 -0
  6. package/assets/brand/mobile/android-foreground-1024.png +0 -0
  7. package/assets/brand/mobile/android-foreground.svg +13 -0
  8. package/assets/brand/mobile/android-monochrome-1024.png +0 -0
  9. package/assets/brand/mobile/android-monochrome.svg +3 -0
  10. package/assets/brand/mobile/ios-icon-1024.png +0 -0
  11. package/assets/brand/mobile/ios-icon-dark-1024.png +0 -0
  12. package/assets/brand/mobile/ios-icon-dark.svg +22 -0
  13. package/assets/brand/mobile/ios-icon.svg +22 -0
  14. package/assets/brand/systems/xdev-ui-icon.svg +23 -0
  15. package/assets/brand/systems/xdev-ui-lockup-dark.svg +24 -0
  16. package/assets/brand/systems/xdev-ui-lockup-light.svg +24 -0
  17. package/assets/brand/systems/xdev-ui-mark-lit.svg +13 -0
  18. package/assets/brand/systems/xdev-ui-mark.svg +3 -0
  19. package/assets/brand/xdev-icon-512.png +0 -0
  20. package/assets/brand/xdev-icon-blue.svg +23 -0
  21. package/assets/brand/xdev-icon.svg +23 -0
  22. package/assets/brand/xdev-lockup-dark.svg +24 -0
  23. package/assets/brand/xdev-lockup-light.svg +24 -0
  24. package/assets/brand/xdev-mark-lit.svg +13 -0
  25. package/assets/brand/xdev-mark-tile.svg +3 -0
  26. package/assets/brand/xdev-mark.svg +3 -0
  27. package/bin/xdev-ui-skills.mjs +142 -0
  28. package/dist/Workspace.stories.d.ts +15 -0
  29. package/dist/ai-manifest.json +3727 -0
  30. package/dist/chunks/FileDrop-C-ygn8kF.js +891 -0
  31. package/dist/chunks/FileDrop-C-ygn8kF.js.map +1 -0
  32. package/dist/chunks/Popover-Ds4RBtZv.js +121 -0
  33. package/dist/chunks/Popover-Ds4RBtZv.js.map +1 -0
  34. package/dist/chunks/crop-CahE3q01.js +55 -0
  35. package/dist/chunks/crop-CahE3q01.js.map +1 -0
  36. package/dist/chunks/modal-BYFY08ti.js +54 -0
  37. package/dist/chunks/modal-BYFY08ti.js.map +1 -0
  38. package/dist/components/ActionTile/ActionTile.d.ts +14 -0
  39. package/dist/components/ActionTile/ActionTile.stories.d.ts +18 -0
  40. package/dist/components/ActivityBar/ActivityBar.d.ts +36 -0
  41. package/dist/components/ActivityBar/ActivityBar.stories.d.ts +27 -0
  42. package/dist/components/AgentChip/AgentChip.d.ts +10 -0
  43. package/dist/components/AgentChip/AgentChip.stories.d.ts +21 -0
  44. package/dist/components/AgentRow/AgentRow.d.ts +24 -0
  45. package/dist/components/AgentRow/AgentRow.stories.d.ts +19 -0
  46. package/dist/components/AppShell/AppShell.d.ts +58 -0
  47. package/dist/components/AppShell/AppShell.stories.d.ts +17 -0
  48. package/dist/components/ApprovalBar/ApprovalBar.d.ts +23 -0
  49. package/dist/components/ApprovalBar/ApprovalBar.stories.d.ts +18 -0
  50. package/dist/components/AttentionInbox/AttentionInbox.d.ts +43 -0
  51. package/dist/components/AttentionInbox/AttentionInbox.stories.d.ts +16 -0
  52. package/dist/components/AudioPreview/AudioPreview.d.ts +33 -0
  53. package/dist/components/AudioPreview/AudioPreview.stories.d.ts +23 -0
  54. package/dist/components/AudioPreview/audio-preview-store.d.ts +14 -0
  55. package/dist/components/AuthShell/AuthShell.d.ts +24 -0
  56. package/dist/components/AuthShell/AuthShell.stories.d.ts +20 -0
  57. package/dist/components/Avatar/Avatar.d.ts +13 -0
  58. package/dist/components/Avatar/Avatar.stories.d.ts +21 -0
  59. package/dist/components/Badge/Badge.d.ts +14 -0
  60. package/dist/components/Badge/Badge.stories.d.ts +26 -0
  61. package/dist/components/Banner/Banner.d.ts +11 -0
  62. package/dist/components/Banner/Banner.stories.d.ts +23 -0
  63. package/dist/components/BarChart/BarChart.d.ts +20 -0
  64. package/dist/components/BarChart/BarChart.stories.d.ts +24 -0
  65. package/dist/components/Board/Board.d.ts +9 -0
  66. package/dist/components/Board/Board.stories.d.ts +18 -0
  67. package/dist/components/BoardCard/BoardCard.d.ts +32 -0
  68. package/dist/components/BoardColumn/BoardColumn.d.ts +24 -0
  69. package/dist/components/BottomNav/BottomNav.d.ts +40 -0
  70. package/dist/components/BottomNav/BottomNav.stories.d.ts +40 -0
  71. package/dist/components/BrandMark/BrandMark.d.ts +20 -0
  72. package/dist/components/BrandMark/BrandMark.stories.d.ts +28 -0
  73. package/dist/components/Breadcrumb/Breadcrumb.d.ts +22 -0
  74. package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +27 -0
  75. package/dist/components/BulkBar/BulkBar.d.ts +21 -0
  76. package/dist/components/BulkBar/BulkBar.stories.d.ts +16 -0
  77. package/dist/components/Button/Button.d.ts +42 -0
  78. package/dist/components/Button/Button.stories.d.ts +41 -0
  79. package/dist/components/Card/Card.d.ts +22 -0
  80. package/dist/components/Card/Card.stories.d.ts +307 -0
  81. package/dist/components/Checkbox/Checkbox.d.ts +10 -0
  82. package/dist/components/Checkbox/Checkbox.stories.d.ts +18 -0
  83. package/dist/components/Coachmark/Coachmark.d.ts +31 -0
  84. package/dist/components/Coachmark/Coachmark.stories.d.ts +27 -0
  85. package/dist/components/Coachmark/placeCoachmark.d.ts +31 -0
  86. package/dist/components/CodeBlock/CodeBlock.d.ts +19 -0
  87. package/dist/components/CodeBlock/CodeBlock.stories.d.ts +22 -0
  88. package/dist/components/CodeInput/CodeInput.d.ts +25 -0
  89. package/dist/components/CodeInput/CodeInput.stories.d.ts +32 -0
  90. package/dist/components/CodeInput/normalizeCode.d.ts +10 -0
  91. package/dist/components/ColorField/ColorField.d.ts +29 -0
  92. package/dist/components/Combobox/Combobox.d.ts +105 -0
  93. package/dist/components/Combobox/Combobox.stories.d.ts +42 -0
  94. package/dist/components/CommandPalette/CommandPalette.d.ts +94 -0
  95. package/dist/components/CommandPalette/CommandPalette.stories.d.ts +39 -0
  96. package/dist/components/Comment/Comment.d.ts +25 -0
  97. package/dist/components/Comment/Comment.stories.d.ts +24 -0
  98. package/dist/components/CommitGraph/CommitGraph.d.ts +15 -0
  99. package/dist/components/CommitGraph/CommitGraph.stories.d.ts +15 -0
  100. package/dist/components/CommitGraph/graphLanes.d.ts +56 -0
  101. package/dist/components/Composer/Composer.d.ts +31 -0
  102. package/dist/components/Composer/Composer.stories.d.ts +17 -0
  103. package/dist/components/Container/Container.d.ts +11 -0
  104. package/dist/components/Container/Container.stories.d.ts +14 -0
  105. package/dist/components/DataTable/DataTable.d.ts +79 -0
  106. package/dist/components/DataTable/DataTable.stories.d.ts +26 -0
  107. package/dist/components/DataTable/table-helpers.d.ts +16 -0
  108. package/dist/components/DataTable/table-reorder.d.ts +40 -0
  109. package/dist/components/DatePicker/Calendar.d.ts +51 -0
  110. package/dist/components/DatePicker/DatePicker.d.ts +51 -0
  111. package/dist/components/DatePicker/DatePicker.stories.d.ts +42 -0
  112. package/dist/components/DateRangePicker/DateRangePicker.d.ts +59 -0
  113. package/dist/components/DateRangePicker/DateRangePicker.stories.d.ts +42 -0
  114. package/dist/components/DescriptionList/DescriptionList.d.ts +14 -0
  115. package/dist/components/DescriptionList/DescriptionList.stories.d.ts +21 -0
  116. package/dist/components/Dialog/Dialog.d.ts +43 -0
  117. package/dist/components/Dialog/Dialog.stories.d.ts +22 -0
  118. package/dist/components/DiffStat/DiffStat.d.ts +12 -0
  119. package/dist/components/DiffStat/DiffStat.stories.d.ts +15 -0
  120. package/dist/components/Disclosure/Disclosure.d.ts +18 -0
  121. package/dist/components/Disclosure/Disclosure.stories.d.ts +27 -0
  122. package/dist/components/DonutChart/DonutChart.d.ts +30 -0
  123. package/dist/components/DonutChart/DonutChart.stories.d.ts +26 -0
  124. package/dist/components/Drawer/Drawer.d.ts +27 -0
  125. package/dist/components/Drawer/Drawer.stories.d.ts +18 -0
  126. package/dist/components/Emblem/Emblem.d.ts +19 -0
  127. package/dist/components/Emblem/Emblem.stories.d.ts +19 -0
  128. package/dist/components/EmptyState/EmptyState.d.ts +43 -0
  129. package/dist/components/EmptyState/EmptyState.stories.d.ts +17 -0
  130. package/dist/components/EndpointPanel/EndpointPanel.d.ts +29 -0
  131. package/dist/components/FacetFilter/FacetFilter.d.ts +39 -0
  132. package/dist/components/FacetFilter/FacetFilter.stories.d.ts +23 -0
  133. package/dist/components/FacetFilter/facet-helpers.d.ts +5 -0
  134. package/dist/components/Field/Field.d.ts +27 -0
  135. package/dist/components/Field/Field.stories.d.ts +25 -0
  136. package/dist/components/FieldMessage/FieldMessage.d.ts +10 -0
  137. package/dist/components/FieldMessage/FieldMessage.stories.d.ts +14 -0
  138. package/dist/components/FileDrop/FileDrop.d.ts +72 -0
  139. package/dist/components/FileDrop/FileDrop.stories.d.ts +18 -0
  140. package/dist/components/FileIcon/FileIcon.d.ts +25 -0
  141. package/dist/components/FileIcon/FileIcon.stories.d.ts +14 -0
  142. package/dist/components/FilterChip/FilterChip.d.ts +9 -0
  143. package/dist/components/FilterChip/FilterChip.stories.d.ts +19 -0
  144. package/dist/components/FlowMap/FlowMap.d.ts +74 -0
  145. package/dist/components/FlowMap/FlowMap.stories.d.ts +24 -0
  146. package/dist/components/FontField/FontField.d.ts +15 -0
  147. package/dist/components/FontField/FontField.stories.d.ts +17 -0
  148. package/dist/components/FormDialog/FormDialog.d.ts +40 -0
  149. package/dist/components/FormDialog/FormDialog.stories.d.ts +22 -0
  150. package/dist/components/FormSection/FormSection.d.ts +19 -0
  151. package/dist/components/FormSection/FormSection.stories.d.ts +16 -0
  152. package/dist/components/Grid/Grid.d.ts +23 -0
  153. package/dist/components/Grid/Grid.stories.d.ts +19 -0
  154. package/dist/components/Grid/breakpoints.d.ts +25 -0
  155. package/dist/components/Heatmap/Heatmap.d.ts +22 -0
  156. package/dist/components/Heatmap/Heatmap.stories.d.ts +24 -0
  157. package/dist/components/Icon/Icon.d.ts +14 -0
  158. package/dist/components/Icon/Icon.stories.d.ts +20 -0
  159. package/dist/components/IconButton/IconButton.d.ts +16 -0
  160. package/dist/components/IconButton/IconButton.stories.d.ts +27 -0
  161. package/dist/components/Identity/Identity.d.ts +14 -0
  162. package/dist/components/Identity/Identity.stories.d.ts +14 -0
  163. package/dist/components/Kbd/Kbd.d.ts +5 -0
  164. package/dist/components/Kbd/Kbd.stories.d.ts +13 -0
  165. package/dist/components/Label/Label.d.ts +15 -0
  166. package/dist/components/Label/Label.stories.d.ts +16 -0
  167. package/dist/components/LaunchCard/LaunchCard.d.ts +36 -0
  168. package/dist/components/LaunchCard/LaunchCard.stories.d.ts +32 -0
  169. package/dist/components/List/List.d.ts +11 -0
  170. package/dist/components/List/List.stories.d.ts +13 -0
  171. package/dist/components/ListRow/ListRow.d.ts +20 -0
  172. package/dist/components/ListRow/ListRow.stories.d.ts +27 -0
  173. package/dist/components/Menu/Menu.d.ts +53 -0
  174. package/dist/components/Menu/Menu.stories.d.ts +85 -0
  175. package/dist/components/Menu/MenuButton.d.ts +23 -0
  176. package/dist/components/Menu/MenuButton.stories.d.ts +46 -0
  177. package/dist/components/Menu/menu-keys.d.ts +26 -0
  178. package/dist/components/Meter/Meter.d.ts +18 -0
  179. package/dist/components/Meter/Meter.stories.d.ts +34 -0
  180. package/dist/components/ModelChip/ModelChip.d.ts +26 -0
  181. package/dist/components/ModelChip/ModelChip.stories.d.ts +18 -0
  182. package/dist/components/NavList/NavList.d.ts +56 -0
  183. package/dist/components/NavList/NavList.stories.d.ts +25 -0
  184. package/dist/components/PageHeader/PageHeader.d.ts +14 -0
  185. package/dist/components/PageHeader/PageHeader.stories.d.ts +14 -0
  186. package/dist/components/Pagination/Pagination.d.ts +28 -0
  187. package/dist/components/Pagination/Pagination.stories.d.ts +16 -0
  188. package/dist/components/PairingCode/PairingCode.d.ts +17 -0
  189. package/dist/components/PairingCode/PairingCode.stories.d.ts +24 -0
  190. package/dist/components/PaletteTrigger/PaletteTrigger.d.ts +16 -0
  191. package/dist/components/PanZoom/PanZoom.d.ts +24 -0
  192. package/dist/components/PanZoom/PanZoom.stories.d.ts +11 -0
  193. package/dist/components/Popover/Popover.d.ts +24 -0
  194. package/dist/components/Popover/Popover.stories.d.ts +25 -0
  195. package/dist/components/Prose/Prose.d.ts +8 -0
  196. package/dist/components/Prose/Prose.stories.d.ts +12 -0
  197. package/dist/components/RadioGroup/RadioGroup.d.ts +27 -0
  198. package/dist/components/RadioGroup/RadioGroup.stories.d.ts +22 -0
  199. package/dist/components/ReactionBar/ReactionBar.d.ts +21 -0
  200. package/dist/components/ReactionBar/ReactionBar.stories.d.ts +26 -0
  201. package/dist/components/ResourceCard/ResourceCard.d.ts +30 -0
  202. package/dist/components/ResourceCard/ResourceCard.stories.d.ts +19 -0
  203. package/dist/components/ReviewComment/ReviewComment.d.ts +41 -0
  204. package/dist/components/ReviewComment/ReviewComment.stories.d.ts +19 -0
  205. package/dist/components/RouteDiagram/RouteDiagram.d.ts +27 -0
  206. package/dist/components/RunTimeline/RunTimeline.d.ts +28 -0
  207. package/dist/components/RunTimeline/RunTimeline.stories.d.ts +31 -0
  208. package/dist/components/SaveBar/SaveBar.d.ts +56 -0
  209. package/dist/components/SaveBar/SaveBar.stories.d.ts +16 -0
  210. package/dist/components/SearchInput/SearchInput.d.ts +22 -0
  211. package/dist/components/SearchInput/SearchInput.stories.d.ts +18 -0
  212. package/dist/components/SearchPicker/SearchPicker.d.ts +49 -0
  213. package/dist/components/SearchPicker/SearchPicker.stories.d.ts +33 -0
  214. package/dist/components/Segmented/Segmented.d.ts +18 -0
  215. package/dist/components/Segmented/Segmented.stories.d.ts +18 -0
  216. package/dist/components/Select/Select.d.ts +26 -0
  217. package/dist/components/Select/Select.stories.d.ts +22 -0
  218. package/dist/components/ServiceStatus/ServiceStatus.d.ts +13 -0
  219. package/dist/components/SessionBar/SessionBar.d.ts +33 -0
  220. package/dist/components/SessionBar/SessionBar.stories.d.ts +27 -0
  221. package/dist/components/SettingRow/SettingRow.d.ts +17 -0
  222. package/dist/components/SettingRow/SettingRow.stories.d.ts +26 -0
  223. package/dist/components/SettingsShell/SettingsShell.d.ts +52 -0
  224. package/dist/components/SettingsShell/SettingsShell.stories.d.ts +9 -0
  225. package/dist/components/ShellTitle/ShellTitle.d.ts +25 -0
  226. package/dist/components/SiteShell/SiteShell.d.ts +24 -0
  227. package/dist/components/SiteShell/SiteShell.stories.d.ts +18 -0
  228. package/dist/components/Skeleton/Skeleton.d.ts +20 -0
  229. package/dist/components/Skeleton/Skeleton.stories.d.ts +15 -0
  230. package/dist/components/SortableList/SortableList.d.ts +30 -0
  231. package/dist/components/SortableList/SortableList.stories.d.ts +16 -0
  232. package/dist/components/Spinner/Spinner.d.ts +15 -0
  233. package/dist/components/Spinner/Spinner.stories.d.ts +14 -0
  234. package/dist/components/SplitHandle/SplitHandle.d.ts +25 -0
  235. package/dist/components/SplitHandle/SplitHandle.stories.d.ts +18 -0
  236. package/dist/components/Stack/Stack.d.ts +18 -0
  237. package/dist/components/Stack/Stack.stories.d.ts +12 -0
  238. package/dist/components/StatTile/StatTile.d.ts +30 -0
  239. package/dist/components/StatTile/StatTile.stories.d.ts +32 -0
  240. package/dist/components/StatusBar/StatusBar.d.ts +8 -0
  241. package/dist/components/StatusBar/StatusBar.stories.d.ts +15 -0
  242. package/dist/components/StatusDot/StatusDot.d.ts +18 -0
  243. package/dist/components/StatusDot/StatusDot.stories.d.ts +24 -0
  244. package/dist/components/StepDots/StepDots.d.ts +15 -0
  245. package/dist/components/StepDots/StepDots.stories.d.ts +15 -0
  246. package/dist/components/SwatchGroup/SwatchGroup.d.ts +20 -0
  247. package/dist/components/SwatchGroup/SwatchGroup.stories.d.ts +33 -0
  248. package/dist/components/Switch/Switch.d.ts +10 -0
  249. package/dist/components/Switch/Switch.stories.d.ts +17 -0
  250. package/dist/components/TabStrip/TabStrip.d.ts +44 -0
  251. package/dist/components/TabStrip/TabStrip.stories.d.ts +66 -0
  252. package/dist/components/Tabs/Tabs.d.ts +28 -0
  253. package/dist/components/Tabs/Tabs.stories.d.ts +34 -0
  254. package/dist/components/Tag/Tag.d.ts +12 -0
  255. package/dist/components/Tag/Tag.stories.d.ts +21 -0
  256. package/dist/components/Textarea/Textarea.d.ts +15 -0
  257. package/dist/components/Textarea/Textarea.stories.d.ts +19 -0
  258. package/dist/components/ThemeEditor/ThemeEditor.d.ts +56 -0
  259. package/dist/components/ThemePreview/ThemePreview.d.ts +15 -0
  260. package/dist/components/ThemeSwitch/ThemeSwitch.d.ts +30 -0
  261. package/dist/components/ThemeSwitch/ThemeSwitch.stories.d.ts +15 -0
  262. package/dist/components/TimeField/TimeField.d.ts +32 -0
  263. package/dist/components/TimeField/TimeField.stories.d.ts +36 -0
  264. package/dist/components/TimeField/time-text.d.ts +26 -0
  265. package/dist/components/TimeSeriesChart/TimeSeriesChart.d.ts +30 -0
  266. package/dist/components/TimeSeriesChart/TimeSeriesChart.stories.d.ts +29 -0
  267. package/dist/components/Toast/Toast.d.ts +18 -0
  268. package/dist/components/Toast/Toast.stories.d.ts +15 -0
  269. package/dist/components/Toast/Toaster.d.ts +18 -0
  270. package/dist/components/Toast/Toaster.stories.d.ts +16 -0
  271. package/dist/components/Toast/toast-region.d.ts +17 -0
  272. package/dist/components/Toast/toast-store.d.ts +46 -0
  273. package/dist/components/ToggleButton/ToggleButton.d.ts +16 -0
  274. package/dist/components/ToggleButton/ToggleButton.stories.d.ts +20 -0
  275. package/dist/components/Toolbar/Toolbar.d.ts +21 -0
  276. package/dist/components/Toolbar/Toolbar.stories.d.ts +25 -0
  277. package/dist/components/Tooltip/Tooltip.d.ts +13 -0
  278. package/dist/components/Tooltip/Tooltip.stories.d.ts +23 -0
  279. package/dist/components/TreeView/TreeView.d.ts +42 -0
  280. package/dist/components/TreeView/TreeView.stories.d.ts +26 -0
  281. package/dist/components/TreeView/pathRows.d.ts +16 -0
  282. package/dist/components/TreeView/treeKeys.d.ts +16 -0
  283. package/dist/components/UsageMeterRow/UsageMeterRow.d.ts +28 -0
  284. package/dist/components/UsageMeterRow/UsageMeterRow.stories.d.ts +26 -0
  285. package/dist/components/WorktreeRow/WorktreeRow.d.ts +32 -0
  286. package/dist/components/WorktreeRow/WorktreeRow.stories.d.ts +32 -0
  287. package/dist/components/ZoomBar/ZoomBar.d.ts +22 -0
  288. package/dist/components/ZoomBar/ZoomBar.stories.d.ts +17 -0
  289. package/dist/editor/RichTextEditor/EditorToolbar.d.ts +35 -0
  290. package/dist/editor/RichTextEditor/ImageBar.d.ts +17 -0
  291. package/dist/editor/RichTextEditor/LinkForm.d.ts +16 -0
  292. package/dist/editor/RichTextEditor/RichTextEditor.d.ts +45 -0
  293. package/dist/editor/RichTextEditor/RichTextEditor.stories.d.ts +43 -0
  294. package/dist/editor/RichTextEditor/extensions.d.ts +23 -0
  295. package/dist/editor/RichTextEditor/icons.d.ts +23 -0
  296. package/dist/editor/RichTextEditor/insertImage.d.ts +28 -0
  297. package/dist/editor/RichTextEditor/labels.d.ts +32 -0
  298. package/dist/editor/index.d.ts +4 -0
  299. package/dist/editor.js +629 -0
  300. package/dist/editor.js.map +1 -0
  301. package/dist/fonts.css +2 -0
  302. package/dist/icons.d.ts +891 -0
  303. package/dist/image/ImageCropper/ImageCropper.d.ts +39 -0
  304. package/dist/image/ImageCropper/ImageCropper.stories.d.ts +18 -0
  305. package/dist/image/ImageField/ImageField.d.ts +86 -0
  306. package/dist/image/ImageField/ImageField.stories.d.ts +29 -0
  307. package/dist/image/crop.d.ts +39 -0
  308. package/dist/image/index.d.ts +3 -0
  309. package/dist/image.js +377 -0
  310. package/dist/image.js.map +1 -0
  311. package/dist/index.d.ts +138 -0
  312. package/dist/index.js +8253 -0
  313. package/dist/index.js.map +1 -0
  314. package/dist/internal/cx.d.ts +2 -0
  315. package/dist/internal/date.d.ts +96 -0
  316. package/dist/internal/duration.d.ts +4 -0
  317. package/dist/internal/focus.d.ts +34 -0
  318. package/dist/internal/keys.d.ts +21 -0
  319. package/dist/internal/modal.d.ts +8 -0
  320. package/dist/internal/portal.d.ts +9 -0
  321. package/dist/internal/position.d.ts +37 -0
  322. package/dist/internal/reveal.d.ts +6 -0
  323. package/dist/internal/roving.d.ts +25 -0
  324. package/dist/internal/scroll-fade.d.ts +16 -0
  325. package/dist/internal/session-labels.d.ts +3 -0
  326. package/dist/internal/text.d.ts +2 -0
  327. package/dist/llms-full.txt +9786 -0
  328. package/dist/llms.txt +162 -0
  329. package/dist/mcp.js +24706 -0
  330. package/dist/panZoom.d.ts +40 -0
  331. package/dist/styles.css +2 -0
  332. package/dist/styles.layered.css +4 -0
  333. package/dist/tailwind.css +38 -0
  334. package/dist/test-utils.d.ts +5 -0
  335. package/dist/theme/font.d.ts +20 -0
  336. package/dist/theme/index.d.ts +2 -0
  337. package/dist/theme/theme.d.ts +62 -0
  338. package/dist/tokens.css +304 -0
  339. package/dist/tokens.json +267 -0
  340. package/dist/types.d.ts +6 -0
  341. package/package.json +177 -4
  342. package/skills/xdev-ui-admin/SKILL.md +106 -0
  343. package/skills/xdev-ui-admin/references/audit-log.md +18 -0
  344. package/skills/xdev-ui-admin/references/console-chrome.md +119 -0
  345. package/skills/xdev-ui-admin/references/dashboard.md +24 -0
  346. package/skills/xdev-ui-admin/references/detail-and-forms.md +22 -0
  347. package/skills/xdev-ui-admin/references/dialogs.md +33 -0
  348. package/skills/xdev-ui-admin/references/forms.md +60 -0
  349. package/skills/xdev-ui-admin/references/from-other-kits.md +75 -0
  350. package/skills/xdev-ui-admin/references/layout.md +58 -0
  351. package/skills/xdev-ui-admin/references/navigation.md +10 -0
  352. package/skills/xdev-ui-admin/references/permissions.md +26 -0
  353. package/skills/xdev-ui-admin/references/resource-list.md +64 -0
  354. package/skills/xdev-ui-admin/references/responsive.md +68 -0
  355. package/skills/xdev-ui-admin/references/rich-content.md +37 -0
  356. package/skills/xdev-ui-admin/references/settings.md +20 -0
  357. package/skills/xdev-ui-admin/references/sign-in.md +47 -0
  358. package/skills/xdev-ui-admin/references/states-feedback.md +26 -0
  359. package/skills/xdev-ui-admin/references/tree-list.md +50 -0
  360. package/skills/xdev-ui-admin/references/users-roles.md +32 -0
  361. package/skills/xdev-ui-admin/references/ux-principles.md +43 -0
  362. package/skills/xdev-ui-admin/references/visual-identity.md +62 -0
  363. package/skills/xdev-ui-admin/templates/admin/_gitignore +3 -0
  364. package/skills/xdev-ui-admin/templates/admin/_mcp.json +5 -0
  365. package/skills/xdev-ui-admin/templates/admin/_npmrc +2 -0
  366. package/skills/xdev-ui-admin/templates/admin/index.html +14 -0
  367. package/skills/xdev-ui-admin/templates/admin/package.json +24 -0
  368. package/skills/xdev-ui-admin/templates/admin/src/App.tsx +66 -0
  369. package/skills/xdev-ui-admin/templates/admin/src/app.css +26 -0
  370. package/skills/xdev-ui-admin/templates/admin/src/auth/permissions.ts +7 -0
  371. package/skills/xdev-ui-admin/templates/admin/src/auth/session.ts +42 -0
  372. package/skills/xdev-ui-admin/templates/admin/src/data/context.ts +11 -0
  373. package/skills/xdev-ui-admin/templates/admin/src/data/store.ts +84 -0
  374. package/skills/xdev-ui-admin/templates/admin/src/data/useLoad.ts +25 -0
  375. package/skills/xdev-ui-admin/templates/admin/src/i18n/en.ts +98 -0
  376. package/skills/xdev-ui-admin/templates/admin/src/i18n/index.tsx +63 -0
  377. package/skills/xdev-ui-admin/templates/admin/src/i18n/vi.ts +98 -0
  378. package/skills/xdev-ui-admin/templates/admin/src/i18n/xdev-ui-labels.ts +47 -0
  379. package/skills/xdev-ui-admin/templates/admin/src/main.tsx +12 -0
  380. package/skills/xdev-ui-admin/templates/admin/src/notify.tsx +36 -0
  381. package/skills/xdev-ui-admin/templates/admin/src/pages/Dashboard.tsx +55 -0
  382. package/skills/xdev-ui-admin/templates/admin/src/pages/ItemDetail.tsx +83 -0
  383. package/skills/xdev-ui-admin/templates/admin/src/pages/ItemsList.tsx +140 -0
  384. package/skills/xdev-ui-admin/templates/admin/src/pages/NotFound.tsx +17 -0
  385. package/skills/xdev-ui-admin/templates/admin/src/pages/Settings.tsx +37 -0
  386. package/skills/xdev-ui-admin/templates/admin/src/pages/SignIn.tsx +105 -0
  387. package/skills/xdev-ui-admin/templates/admin/src/router.ts +49 -0
  388. package/skills/xdev-ui-admin/templates/admin/src/shell/AccountMenu.tsx +36 -0
  389. package/skills/xdev-ui-admin/templates/admin/src/shell/Shell.tsx +53 -0
  390. package/skills/xdev-ui-admin/templates/admin/src/theme.ts +34 -0
  391. package/skills/xdev-ui-admin/templates/admin/tsconfig.json +16 -0
  392. package/skills/xdev-ui-admin/templates/admin/vite.config.ts +4 -0
  393. package/skills/xdev-ui-build-app/SKILL.md +85 -0
  394. package/skills/xdev-ui-build-app/references/app-shell.md +20 -0
  395. package/skills/xdev-ui-build-app/references/i18n.md +9 -0
  396. package/skills/xdev-ui-build-app/references/responsive-a11y.md +10 -0
  397. package/skills/xdev-ui-build-app/references/routing.md +14 -0
  398. package/skills/xdev-ui-build-app/references/setup.md +25 -0
  399. package/skills/xdev-ui-build-app/references/states.md +25 -0
  400. package/skills/xdev-ui-build-app/references/theme.md +11 -0
  401. package/skills/xdev-ui-build-app/templates/app/_gitignore +3 -0
  402. package/skills/xdev-ui-build-app/templates/app/_mcp.json +5 -0
  403. package/skills/xdev-ui-build-app/templates/app/_npmrc +2 -0
  404. package/skills/xdev-ui-build-app/templates/app/index.html +14 -0
  405. package/skills/xdev-ui-build-app/templates/app/package.json +24 -0
  406. package/skills/xdev-ui-build-app/templates/app/src/App.tsx +77 -0
  407. package/skills/xdev-ui-build-app/templates/app/src/app.css +3 -0
  408. package/skills/xdev-ui-build-app/templates/app/src/i18n/en.ts +35 -0
  409. package/skills/xdev-ui-build-app/templates/app/src/i18n/index.tsx +63 -0
  410. package/skills/xdev-ui-build-app/templates/app/src/i18n/vi.ts +35 -0
  411. package/skills/xdev-ui-build-app/templates/app/src/i18n/xdev-ui-labels.ts +19 -0
  412. package/skills/xdev-ui-build-app/templates/app/src/main.tsx +12 -0
  413. package/skills/xdev-ui-build-app/templates/app/src/notify.tsx +36 -0
  414. package/skills/xdev-ui-build-app/templates/app/src/pages/Home.tsx +22 -0
  415. package/skills/xdev-ui-build-app/templates/app/src/pages/NotFound.tsx +17 -0
  416. package/skills/xdev-ui-build-app/templates/app/src/pages/Settings.tsx +35 -0
  417. package/skills/xdev-ui-build-app/templates/app/src/router.ts +26 -0
  418. package/skills/xdev-ui-build-app/templates/app/src/theme.ts +34 -0
  419. package/skills/xdev-ui-build-app/templates/app/tsconfig.json +16 -0
  420. package/skills/xdev-ui-build-app/templates/app/vite.config.ts +4 -0
  421. package/skills/xdev-ui-design/SKILL.md +111 -0
  422. package/skills/xdev-ui-design/references/brand.md +58 -0
  423. package/skills/xdev-ui-design/references/checklist.md +55 -0
  424. package/skills/xdev-ui-design/references/owner-notes.md +54 -0
  425. package/skills/xdev-ui-design/references/porting.md +56 -0
  426. package/skills/xdev-ui-design/references/rules.md +135 -0
  427. package/skills/xdev-ui-design/references/screens.md +61 -0
  428. package/skills/xdev-ui-design/references/tokens.md +97 -0
  429. package/skills/xdev-ui-improve/SKILL.md +96 -0
  430. package/skills/xdev-ui-improve/references/plan-template.md +59 -0
  431. package/skills/xdev-ui-motion/SKILL.md +87 -0
  432. package/skills/xdev-ui-motion/references/recipes.md +117 -0
  433. package/skills/xdev-ui-review/SKILL.md +141 -0
  434. package/skills/xdev-ui-review/references/checklist.md +92 -0
  435. package/skills/xdev-ui-review/references/grep-recipes.md +37 -0
  436. package/skills/xdev-ui-review/references/pages/dashboard.md +21 -0
  437. package/skills/xdev-ui-review/references/pages/dialogs-forms.md +23 -0
  438. package/skills/xdev-ui-review/references/pages/list.md +22 -0
  439. package/skills/xdev-ui-review/references/pages/provider-grid.md +19 -0
  440. package/skills/xdev-ui-review/references/pages/settings.md +18 -0
  441. package/skills/xdev-ui-review/references/pages/sign-in.md +21 -0
  442. package/skills/xdev-ui-review/references/web-interface.md +73 -0
  443. package/skills/xdev-ui-review/scripts/audit.mjs +775 -0
  444. package/skills/xdev-ui-ux-standards/SKILL.md +88 -0
  445. package/skills/xdev-ui-ux-standards/references/heuristics-checklist.md +129 -0
  446. package/skills/xdev-ui-ux-standards/references/patterns.md +120 -0
  447. package/skills/xdev-ui-ux-standards/references/platforms.md +104 -0
  448. package/skills/xdev-ui-ux-standards/references/standards-map.md +144 -0
package/dist/llms.txt ADDED
@@ -0,0 +1,162 @@
1
+ # @xdev-asia/ui
2
+
3
+ > xdev-ui: design tokens and React components for the xDev agent workspace.
4
+
5
+ Dark-first React 19 components and CSS tokens. Import `styles.css` once, set `data-theme` on <html>, then import components by name.
6
+
7
+ ## Setup
8
+
9
+ ```
10
+ pnpm add @xdev-asia/ui # registry: @xdev-asia:registry=https://npm.pkg.github.com
11
+ import "@xdev-asia/ui/styles.css";
12
+ import "@xdev-asia/ui/fonts.css"; // optional
13
+ <html data-theme="dark"> // or "light"
14
+ ```
15
+
16
+ ## Components
17
+
18
+ - ActionTile (Actions): Button tile with an icon, a short title and a one-line description; one click opens a dialog or starts an action.
19
+ - ActivityBar (Navigation): Vertical app switcher at the left edge of the desktop window.
20
+ - AgentChip (Display): One-letter square chip that names which agent profile runs in a terminal tab or row.
21
+ - AgentRow (Display): One agent profile as a card: a collapsed summary (name, command, model, account) that opens into the profile form.
22
+ - ApprovalBar (Layout): Bar that asks the user to allow or deny one action of an agent, with the command it is about. It takes focus when it appears and announces itself.
23
+ - AppShell (Layout): Page frame for a generic app or an admin console: a sidebar for navigation, a top bar and the main area, with a drawer on narrow screens.
24
+ - AttentionInbox (Overlays): Header button with a count and a popover list of everything that waits for the user: approvals, questions and failed runs, longest wait first.
25
+ - AudioPreview (Actions): Round play/stop toggle for listening to a short clip in a list (library rows, pickers); only one clip plays on the whole page, so starting another stops the current one.
26
+ - AuthShell (Layout): Frame for a sign-in, sign-up or password reset page: a showcase side with a headline, a tagline and art, next to a form pane with the brand, the language and theme controls and the form. From 1024px wide the showcase takes five eighths of the width with its art, headline and tagline centred, the footer sits at its foot, and the form pane takes the rest; below that only the form pane shows, with the footer under it.
27
+ - Avatar (Display): Round picture of a person, or their initials when there is no picture.
28
+ - Badge (Display): Small tinted label for a state word: a file or kit item's sync status (`status`), or a record's state such as active, draft, failed, pending or internal (`tone`).
29
+ - Banner (Status): Full-width warning inside a view, for a condition that persists until the user acts.
30
+ - BarChart (Display): Bars that compare one measure across categories, with the value written beside each bar, for a breakdown such as usage by provider.
31
+ - Board (Layout): Horizontal scroller of `BoardColumn`s, such as the task board with its Backlog to Done columns.
32
+ - BoardCard (Layout): One item in a `BoardColumn`: title, optional status dot, meta line and tags.
33
+ - BoardColumn (Layout): One vertical column of a `Board`: a head with title, count and actions, then a scrolling list of cards.
34
+ - BottomNav (Navigation): Tab bar fixed at the bottom of a phone screen: up to five destinations with icon, label and an optional count, and a "more" tab that opens the rest in a bottom sheet.
35
+ - BrandMark (Brand): The xDev logo v12: two folded blades that cross into an `x`. As a bare mark, an app tile, or the tile + wordmark lockup, for the parent brand or one of its sub-systems.
36
+ - Breadcrumb (Navigation): Path from a root to the current place, such as repo, folder and file, with the earlier parts clickable.
37
+ - BulkBar (Data): Bar that appears while rows are selected, with the selection count, the actions that apply to the selection and a button to clear it. It sticks to the bottom of its scrolling container so the actions stay in reach on long lists.
38
+ - Button (Actions): Text button for the one or two decisive actions in a dialog, banner or toolbar.
39
+ - Card (Display): Flat bordered surface that groups one topic, with an optional head of title, subtitle and actions.
40
+ - Checkbox (Inputs): Native checkbox with a label and optional hint, for choices that are saved with a form or a dialog's confirm.
41
+ - Coachmark (Overlays): A small card that points at one part of the screen with an arrow, used for the steps of a short product tour.
42
+ - CodeBlock (Display): Read-only snippet of a command or config with a language label and a copy button.
43
+ - CodeInput (Inputs): Entry for a short code that someone reads off another screen, such as a pairing code of 10 characters or a check code of 6 digits.
44
+ - ColorField (Inputs): One colour token as a native swatch picker, a hex text field and a reset button, for theme editors.
45
+ - Combobox (Inputs): Text box that filters a fixed list of options as you type and picks one value, or several shown as removable chips, with an optional row to create a missing option.
46
+ - CommandPalette (Overlays): Keyboard-first search across sessions, files and commands (Ctrl+K).
47
+ - Comment (Display): A review or conversation comment: avatar, author, optional bot and state badges, time, actions, an optional location line, the body and an optional footer.
48
+ - CommitGraph (Display): The graph cell of one commit row: the lanes that pass through and the commit's node. The history list stacks one per row.
49
+ - Composer (Layout): Message box under the terminal or chat: a text area, an optional attach button and model select, and the Send button.
50
+ - Container (Layout): Centres page content and caps its width at a `--x-container-*` size, with a 16px gutter so text never touches the screen edge.
51
+ - DataTable (Data): Controlled table for lists of records: sortable headers, optional row selection, optional row reorder, loading and empty states. It renders; the caller sorts, filters, paginates and reorders.
52
+ - DatePicker (Inputs): Text box for one calendar date, typed as `dd/mm/yyyy` or picked from a month calendar in a popover; the value is an ISO `YYYY-MM-DD` string.
53
+ - DateRangePicker (Inputs): Start and end date boxes with a two-month calendar in a popover, for filtering by a period; the value is `{ start, end }` as ISO `YYYY-MM-DD` strings.
54
+ - DescriptionList (Data): Read-only list of facts about one object: each term with its value, as a `dl`.
55
+ - Dialog (Overlays): Modal confirmation over a dimmed backdrop, for decisions that cannot be undone.
56
+ - DiffStat (Display): Mono `+added −removed` line count for a change, a file or a session row.
57
+ - Disclosure (Navigation): Collapsible group with a sticky head, a count and optional actions, as in the changes list.
58
+ - DonutChart (Display): A ring that splits one total into a few parts, with a legend that writes each value, for a share such as revenue by category.
59
+ - Drawer (Overlays): Panel that slides in from the side of the window over a dimmed page, for quick edits and details without leaving the list.
60
+ - Emblem (Display): Rounded square that stands for one thing (a provider, an integration, a tool): its logo, an icon, or its letters on a tint of its own colour.
61
+ - EmptyState (Display): Message for a list, pane or view with nothing in it yet, with a hint and an optional way to fill it.
62
+ - EndpointPanel (Display): The address a client points at: a `Card` with the base URL in a `CodeBlock` to copy, the paths under it as mono tags, and an aside for a picture of the route (`RouteDiagram`). First thing on a gateway's or an API's overview page.
63
+ - FacetFilter (Data): Chip-style trigger that opens a popover with a searchable checkbox list, for filtering a list by one facet with many values (status, role, tag). The trigger shows the facet name and how many values are picked.
64
+ - Field (Inputs): Labelled text input with an optional hint or error line.
65
+ - FieldMessage (Status): One line under a form field that reports an error, a warning or a note about its value.
66
+ - FileDrop (Inputs): Drop zone and file chooser that checks type, size and count before handing files over, and lists the files being uploaded with progress and errors.
67
+ - FileIcon (Brand): Picks the line icon and colour for a file or folder from its name: extension, well-known file names (`package.json`, `Dockerfile`, `.gitignore`, `README.md`) and well-known folders (`src`, `.git`, `node_modules`, `assets`, `tests`).
68
+ - FilterChip (Inputs): Toggle chip that turns one filter on or off, with an optional match count.
69
+ - FlowMap (Display): A hub and the things connected to it (providers, services, agents) as cards on a dot grid you can pan and zoom, with the edges that carried traffic drawn in colour and moving. Give it `sources` too and it reads left to right, callers to hub to providers, like a router.
70
+ - FontField (Inputs): Text input with a list of suggested font families, for the UI font setting. The name is shown in its own font. A close button clears it and returns to the default font.
71
+ - FormDialog (Overlays): Modal dialog that holds a short form (create or rename one thing), with Cancel, a submit button that shows saving, and a place for the server's error.
72
+ - FormSection (Layout): Titled group of fields on a page, with an optional description and end-aligned Save and Cancel actions.
73
+ - Grid (Layout): CSS grid with column counts per breakpoint (mobile first), or auto-fill cells of a minimum width; `GridItem` spans columns.
74
+ - Heatmap (Display): A grid of daily intensity cells, one column per week, for how much was used on each day.
75
+ - Icon (Brand): Line icon set on a 24 grid: 1.75 stroke, round caps and joins, `currentColor`.
76
+ - IconButton (Actions): Square 16px-glyph button for toolbar and header actions where a label would crowd the row.
77
+ - Identity (Display): A person at a glance: their avatar, name and one muted line such as the email, for profile and account pages.
78
+ - Kbd (Display): Inline key or chord, set in mono, for shortcuts in menus, the palette footer and docs.
79
+ - Label (Inputs): Standalone form label for a custom control that is not a `Field`, drawn exactly like the label inside `Field`.
80
+ - LaunchCard (Layout): Card that starts an agent: pick the agent, the worktree and the model, write the task, and press Start. Extra fields live in a closed "More options" disclosure.
81
+ - List (Display): Plain list that holds rows (`ListRow as="li"`) or other items: no bullets, no indent, one column with a gap.
82
+ - ListRow (Display): Two-line row for lists of worktrees, agent sessions, tasks or accounts, with optional leading and trailing slots.
83
+ - Menu (Overlays): Context and dropdown menu with chords, checks, colour swatches, groups and a danger item.
84
+ - Meter (Status): Thin horizontal bar with a percentage, for context-window and rate-limit usage.
85
+ - ModelChip (Display): Chip for one model in a provider's list: a `bot` mark, the id clients send in a mono pill with a Copy button beside it, and the display name with small actions (hide, test, remove) under it. `ModelChipAdd` is the dashed chip that ends the list and adds a model.
86
+ - NavList (Navigation): Vertical list of sections for a settings-style page, with the current one marked and optional counts.
87
+ - PageHeader (Layout): Title block at the top of a page: the h1, an optional description, facts beside the title and the page actions.
88
+ - Pagination (Data): Previous and next buttons with a range text ("1–20 of 57") and an optional page-size select, for a controlled list.
89
+ - PairingCode (Display): Read-only display of a short code in large mono type, such as the pairing code a host shows or the six digits both screens must match.
90
+ - PaletteTrigger (Overlays): A button that looks like a search field, for the top of the sidebar or the top bar: it opens your `CommandPalette` and shows its shortcut (Ctrl K, ⌘K on a Mac), which it also binds for the whole page.
91
+ - PanZoom (Display): A viewport that scales and moves its content: Ctrl or Cmd plus the wheel zooms at the cursor, a drag pans.
92
+ - Popover (Overlays): Small non-modal panel anchored to a button, such as the notification bell or a quick-change picker.
93
+ - Prose (Display): Wrapper for long reading text, such as privacy and terms pages, help articles and release notes: it styles the plain HTML inside it.
94
+ - RadioGroup (Inputs): Set of native radios for picking exactly one of a few options, such as the default shell or a run mode.
95
+ - ReactionBar (Display): A row of reaction toggle buttons for a comment: a symbol and a count each.
96
+ - ResourceCard (Display): Card for one thing in a grid (a provider, an integration, a tool): its mark, its name, one status line, and one control beside it.
97
+ - ReviewComment (Display): An inline comment on a line of a diff: author, time, the file and line it is about, the text, an optional suggested change and a resolve button. It is a `Comment` with review parts, so it looks like every other comment.
98
+ - RouteDiagram (Display): A small, still picture of a router: what sends traffic in on the left, the hub in the middle, where it goes out on the right. For a gateway's endpoint page or an empty state; use `FlowMap` for a live map of many nodes.
99
+ - RunTimeline (Status): Vertical list of the steps of one run (an automation run, a session job): a status dot on a thin line, the step label, its start time and how long it took.
100
+ - SaveBar (Layout): Bar pinned to the bottom of a long edit form that appears when there are unsaved changes, with Discard and Save; `useUnsavedGuard` asks before the user leaves with those changes.
101
+ - SearchInput (Inputs): Search box with a leading icon, a clear button, an optional shortcut hint and a match count.
102
+ - SearchPicker (Inputs): Search box with a list of matches under it, for picking one thing out of a result set that the caller searches (issues, pull requests, branches).
103
+ - Segmented (Inputs): Two to four mutually exclusive options shown together, such as a diff view mode or the theme.
104
+ - Select (Inputs): Native `<select>` styled as `.lang-select`, for choosing one of many options such as the UI language.
105
+ - ServiceStatus (Status): One line for the foot of a sidebar (`AppShell` `navFooter`): a `StatusDot` with the state of the service the console runs, in words, and its version or region in quiet mono at the end.
106
+ - SessionBar (Layout): Strip above the terminal that says what the session is doing: state, model, elapsed time, diff size and the actions of the session.
107
+ - SettingRow (Display): One setting on a settings page: name and description on the left, its control on the right.
108
+ - SettingsShell (Layout): Settings page frame: a search box over grouped navigation on the left, the settings rows in the middle, and a sticky slot for a `SaveBar` at the bottom.
109
+ - ShellTitle (Layout): Page title for the `AppShell` top bar (its `title` slot): the page's icon (24px, accent, no tile) beside the h1 (`--type-shell-title`), and a one-line description on the line under both, or a link back to the parent list on a detail page.
110
+ - SiteShell (Layout): Frame for a small public web page, such as the account portal, a sign-in page or legal pages: a top bar, a centred main region and footer links.
111
+ - Skeleton (Status): Grey placeholder in the shape of content that is still loading, so the layout does not jump when data arrives.
112
+ - SortableList (Data): Vertical list the user reorders by dragging a grip handle, or with the keyboard. Controlled: it renders `items` and reports each finished move with `onReorder(from, to)`; the caller applies it (with `moveItem`).
113
+ - Spinner (Status): Small ring that shows work in progress of unknown length, with a label only screen readers hear.
114
+ - SplitHandle (Navigation): Draggable, keyboard-operable divider that resizes the panel next to it.
115
+ - Stack (Layout): Lays children out in one column or one row with a gap from the space scale, the replacement for margin utilities between siblings.
116
+ - StatTile (Data): Flat tile with one headline number, its label and an optional change since a period.
117
+ - StatusBar (Navigation): 26px footer bar (`--h-footer`) for session counts, meters and the current branch.
118
+ - StatusDot (Status): 8px dot for the live state of a session, a pull request, a CI check or any generic status.
119
+ - StepDots (Status): A row of small dots that shows where a short sequence stands, such as the steps of a tour or a wizard.
120
+ - SwatchGroup (Inputs): Row of round colour swatches for picking one colour that people see, such as the pen colour in the screenshot annotator.
121
+ - Switch (Inputs): On/off toggle for a setting that applies at once, such as an agent option.
122
+ - Tabs (Navigation): Row of tabs that switches between views of one surface, such as the panels of a worktree.
123
+ - TabStrip (Navigation): Horizontal strip of terminal-session tabs with state, agent, colour and close control.
124
+ - Tag (Display): Compact mono label for facts about a session: its branch, worktree or a warning such as uncommitted work.
125
+ - Textarea (Inputs): Labelled multi-line text input with an optional hint or error, for prompts, notes and env blocks.
126
+ - ThemeEditor (Layout): The fields of a colour theme: name, mode, colour groups, a live preview and the list of contrast issues. Generic and text-free: the app supplies the groups, labels and issues.
127
+ - ThemePreview (Display): A small card of sample surface, text, hint, a neutral button look and three status dots, painted by the tokens of one mode.
128
+ - ThemeSwitch (Inputs): System, Dark and Light as one segmented control, or (`variant="icon"`) one round button that flips dark and light, as in a top bar; the app stores the choice and sets `data-theme` with the helpers from `theme`.
129
+ - TimeField (Inputs): Typed text box for a time of day (`HH:mm`, `HH:mm:ss`) or a short duration (`mm:ss`), with no popover; the value is a normalised string.
130
+ - TimeSeriesChart (Display): A single-series line and area over evenly spaced time buckets, with a crosshair and tooltip on hover, for how one measure moved over a period.
131
+ - Toast (Status): Short-lived confirmation stacked at the bottom-right in `.ws-toasts`.
132
+ - ToggleButton (Inputs): Button that turns one option on or off, such as granting one permission, with an optional warning tone.
133
+ - Toolbar (Navigation): Head of a pane with its title, a count and a group of actions, or the bar shown while rows are selected.
134
+ - Tooltip (Overlays): Short text label that appears on hover or focus of one control and describes it.
135
+ - TreeView (Navigation): File tree over a flat list of visible rows, with git status marks and full keyboard support.
136
+ - UsageMeterRow (Display): Row that shows how much of an account's quota is used in each time window, with the reset time and the account state. Built on `Meter` and `StatusDot`.
137
+ - WorktreeRow (Display): Row of the side list: one worktree with its branch, the agents running in it, the diff size and one status dot.
138
+ - ZoomBar (Actions): Zoom out, fit, zoom in and a percentage button, as one toolbar.
139
+
140
+ ## Rules
141
+
142
+ - One accent: `--accent` marks the current thing. Cyan `--x-color-signal` is the focus ring only.
143
+ - Hairlines (1px `--line`), not shadows. Shadows only on menus, dialogs, palette.
144
+ - State is tint, border or dot. Never a coloured left stripe on a rounded card or row.
145
+ - 4px grid: `--x-space-1…8`. Sentence-case verb labels. No emoji or exclamation marks in UI chrome.
146
+
147
+ ## Skills
148
+
149
+ - xdev-ui-admin: Designs and builds admin and back-office screens with @xdev-asia/ui, covering both UX decisions and code: page layout with Container, Stack, Grid and the Tailwind v4 theme, dashboards, resource lists with DataTable, FacetFilter, BulkBar, reorder and Pagination, detail pages, forms in FormDialog, Drawer or a page with SaveBar and unsaved-changes guard, Combobox, DatePicker, FileDrop, ImageField crop and upload, RichTextEditor, loading, error and empty states, navigation, users and roles, settings, audit log, console chrome (command palette search, notifications, page tabs, preferences drawer, nested menus), tree lists, 403, 404 and 500 pages, a part map for rebuilding Ant Design, Pro, MUI or shadcn admin templates, and a review checklist. Use when designing, building or reviewing a console, back office, dashboard, CMS or CRUD screen with @xdev-asia/ui, or rebuilding another kit's admin template on it.
150
+ - xdev-ui-build-app: Builds a React + Vite + TypeScript app on the @xdev-asia/ui design system: package setup, styles import, dark and light theme with ThemeSwitch, AppShell with NavList navigation, routing, en and vi strings, toasts, empty, loading and error states, a 360px layout and keyboard access. Use when starting a new app or screen with @xdev-asia/ui, or when adding app-wide setup such as theme, i18n or the shell.
151
+ - xdev-ui-design: Design system guide for xDev products on @xdev-asia/ui: a priority-ranked rule catalogue with rule IDs (accessibility, interaction and focus, tokens and colour, brand and logo v12, layout and responsive, states and feedback, typography, navigation, motion, data display), the token roles with dark and light values, logo rules, screen recipes, a porting guide for re-skinning another product's UI as xDev, anti-patterns and a pre-delivery checklist. Use when designing, restyling, porting or reviewing the look and feel of any xDev screen, choosing tokens, colours, type, spacing or the logo, or deciding whether a new or customised component belongs in xdev-ui.
152
+ - xdev-ui-improve: Audits one existing screen of an app built with @xdev-asia/ui against the design rules that actually govern it (the app's own guidance, the xdev-ui-design rule IDs, component Rules, tokens), keeps only findings with a cited contract, a proven runtime path and one correction, reports at most three, and writes self-contained plans under design-plans/ for another agent to carry out. Read-only on product source. Use when asked to improve, refine, polish or clean up an xDev screen without redesigning it, to investigate design drift from @xdev-asia/ui, or to prepare a design handoff.
153
+ - xdev-ui-motion: Adds, reviews and fixes motion on screens and components built with @xdev-asia/ui: which library parts already animate, the xDev motion budget (transform and opacity, 120 to 200ms, ease-out entrances, reduced motion), and rendering performance rules for layout thrashing, will-change, scroll-linked motion, paint, blur and view transitions, with the audit rules layout-motion, will-change and reduced-motion. Use when adding or changing a transition or animation, when a drawer, popover, pan or zoom view stutters or blurs, or when reviewing CSS or JS animation in an @xdev-asia/ui app or in the library.
154
+ - xdev-ui-review: Audits a React app that uses @xdev-asia/ui, page by page. Use when committing UI work or asked to review UI there: a page, a whole app, a list or table, a dashboard, a settings page, a dialog or form, a sign-in page or a provider grid. Covers tokens instead of raw colours, px and font sizes, coloured left stripes, one primary button, sentence-case labels in en and vi, focus, accessible names, target size, reduced motion, forced colours, contrast, 360px layout, empty, loading and error states, destructive confirms, autofill and translated library labels.
155
+ - xdev-ui-ux-standards: Applies WCAG 2.2 AA, the WAI-ARIA Authoring Practices patterns, the macOS, Windows and GNOME interface guidelines, the ten usability heuristics and the VS Code UX guidelines to desktop UI built with @xdev-asia/ui: a keyboard and ARIA contract per component, focus, contrast, target size, motion, forced colours, status messages and one cross-platform decision where the platforms disagree. Use when designing a screen or component, before building one, or for a standards review after the xdev-ui-review audit.
156
+
157
+ Install: `npx -y --package=@xdev-asia/ui xdev-ui-skills install` (add `--codex` or `--user`), or read one through the MCP tool `xdevui_get_skill`.
158
+
159
+ ## More
160
+
161
+ - [llms-full.txt](llms-full.txt): every component README, exported types and all tokens
162
+ - MCP server: `npx -y --package=@xdev-asia/ui xdev-ui-mcp` (tools: xdevui_list_components, xdevui_get_component, xdevui_search_tokens, xdevui_get_guidelines, xdevui_list_icons, xdevui_search_docs, xdevui_get_skill)