@neetechs/ui 0.0.3 → 0.1.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.
Files changed (377) hide show
  1. package/CHANGELOG.md +103 -0
  2. package/CONTRIBUTING.md +60 -0
  3. package/LICENSE +21 -21
  4. package/README.md +861 -650
  5. package/dist/ai/ai-action-button/ai-action-button.css +271 -270
  6. package/dist/ai/ai-approval-card/ai-approval-card.css +323 -320
  7. package/dist/ai/ai-conversation-panel/ai-conversation-panel.css +447 -403
  8. package/dist/ai/ai-prompt-input/ai-prompt-input.css +380 -377
  9. package/dist/ai/ai-proposal-card/ai-proposal-card.css +358 -358
  10. package/dist/ai/ai-suggestion-card/ai-suggestion-card.css +295 -293
  11. package/dist/ai/ai-tool-call/ai-tool-call.css +256 -255
  12. package/dist/ai/index.css +7 -7
  13. package/dist/appearance/cache.d.ts +6 -1
  14. package/dist/appearance/cache.d.ts.map +1 -1
  15. package/dist/appearance/cache.js +57 -1
  16. package/dist/appearance/cache.js.map +1 -1
  17. package/dist/appearance/cookie.d.ts +16 -1
  18. package/dist/appearance/cookie.d.ts.map +1 -1
  19. package/dist/appearance/cookie.js +73 -4
  20. package/dist/appearance/cookie.js.map +1 -1
  21. package/dist/appearance/index.d.ts +9 -6
  22. package/dist/appearance/index.d.ts.map +1 -1
  23. package/dist/appearance/index.js +5 -4
  24. package/dist/appearance/index.js.map +1 -1
  25. package/dist/appearance/inline-bootstrap.d.ts +29 -0
  26. package/dist/appearance/inline-bootstrap.d.ts.map +1 -0
  27. package/dist/appearance/inline-bootstrap.js +154 -0
  28. package/dist/appearance/inline-bootstrap.js.map +1 -0
  29. package/dist/appearance/preference.d.ts +9 -1
  30. package/dist/appearance/preference.d.ts.map +1 -1
  31. package/dist/appearance/preference.js +54 -0
  32. package/dist/appearance/preference.js.map +1 -1
  33. package/dist/appearance/theme-controller.d.ts +37 -49
  34. package/dist/appearance/theme-controller.d.ts.map +1 -1
  35. package/dist/appearance/theme-controller.js +153 -143
  36. package/dist/appearance/theme-controller.js.map +1 -1
  37. package/dist/appearance/types.d.ts +29 -2
  38. package/dist/appearance/types.d.ts.map +1 -1
  39. package/dist/behaviors/announcer.d.ts +34 -0
  40. package/dist/behaviors/announcer.d.ts.map +1 -0
  41. package/dist/behaviors/announcer.js +150 -0
  42. package/dist/behaviors/announcer.js.map +1 -0
  43. package/dist/behaviors/calendar.d.ts +15 -0
  44. package/dist/behaviors/calendar.d.ts.map +1 -0
  45. package/dist/behaviors/calendar.js +77 -0
  46. package/dist/behaviors/calendar.js.map +1 -0
  47. package/dist/behaviors/data-grid.d.ts +18 -0
  48. package/dist/behaviors/data-grid.d.ts.map +1 -0
  49. package/dist/behaviors/data-grid.js +114 -0
  50. package/dist/behaviors/data-grid.js.map +1 -0
  51. package/dist/behaviors/dialog.d.ts +14 -0
  52. package/dist/behaviors/dialog.d.ts.map +1 -1
  53. package/dist/behaviors/dialog.js +24 -6
  54. package/dist/behaviors/dialog.js.map +1 -1
  55. package/dist/behaviors/direction.d.ts +10 -0
  56. package/dist/behaviors/direction.d.ts.map +1 -0
  57. package/dist/behaviors/direction.js +24 -0
  58. package/dist/behaviors/direction.js.map +1 -0
  59. package/dist/behaviors/drawer.d.ts +15 -3
  60. package/dist/behaviors/drawer.d.ts.map +1 -1
  61. package/dist/behaviors/drawer.js +25 -10
  62. package/dist/behaviors/drawer.js.map +1 -1
  63. package/dist/behaviors/dropdown.d.ts +11 -0
  64. package/dist/behaviors/dropdown.d.ts.map +1 -1
  65. package/dist/behaviors/dropdown.js +53 -11
  66. package/dist/behaviors/dropdown.js.map +1 -1
  67. package/dist/behaviors/focus-trap.d.ts.map +1 -1
  68. package/dist/behaviors/focus-trap.js +45 -5
  69. package/dist/behaviors/focus-trap.js.map +1 -1
  70. package/dist/behaviors/forms.d.ts +32 -0
  71. package/dist/behaviors/forms.d.ts.map +1 -0
  72. package/dist/behaviors/forms.js +147 -0
  73. package/dist/behaviors/forms.js.map +1 -0
  74. package/dist/behaviors/index.d.ts +11 -0
  75. package/dist/behaviors/index.d.ts.map +1 -1
  76. package/dist/behaviors/index.js +11 -0
  77. package/dist/behaviors/index.js.map +1 -1
  78. package/dist/behaviors/keyboard.d.ts.map +1 -1
  79. package/dist/behaviors/keyboard.js +4 -2
  80. package/dist/behaviors/keyboard.js.map +1 -1
  81. package/dist/behaviors/navigation.d.ts +98 -0
  82. package/dist/behaviors/navigation.d.ts.map +1 -0
  83. package/dist/behaviors/navigation.js +295 -0
  84. package/dist/behaviors/navigation.js.map +1 -0
  85. package/dist/behaviors/overlay.d.ts +6 -0
  86. package/dist/behaviors/overlay.d.ts.map +1 -1
  87. package/dist/behaviors/overlay.js +93 -3
  88. package/dist/behaviors/overlay.js.map +1 -1
  89. package/dist/behaviors/popover.d.ts +22 -0
  90. package/dist/behaviors/popover.d.ts.map +1 -0
  91. package/dist/behaviors/popover.js +126 -0
  92. package/dist/behaviors/popover.js.map +1 -0
  93. package/dist/behaviors/sidebar.d.ts +78 -0
  94. package/dist/behaviors/sidebar.d.ts.map +1 -0
  95. package/dist/behaviors/sidebar.js +263 -0
  96. package/dist/behaviors/sidebar.js.map +1 -0
  97. package/dist/behaviors/state.d.ts +49 -0
  98. package/dist/behaviors/state.d.ts.map +1 -0
  99. package/dist/behaviors/state.js +220 -0
  100. package/dist/behaviors/state.js.map +1 -0
  101. package/dist/behaviors/tabs.d.ts +18 -0
  102. package/dist/behaviors/tabs.d.ts.map +1 -0
  103. package/dist/behaviors/tabs.js +103 -0
  104. package/dist/behaviors/tabs.js.map +1 -0
  105. package/dist/behaviors/viewport.d.ts +40 -0
  106. package/dist/behaviors/viewport.d.ts.map +1 -0
  107. package/dist/behaviors/viewport.js +47 -0
  108. package/dist/behaviors/viewport.js.map +1 -0
  109. package/dist/components/alert/alert.css +220 -217
  110. package/dist/components/avatar/avatar.css +220 -219
  111. package/dist/components/badge/badge.css +174 -174
  112. package/dist/components/breadcrumb/breadcrumb.css +207 -205
  113. package/dist/components/button/button.css +238 -167
  114. package/dist/components/button-group/button-group.css +111 -0
  115. package/dist/components/card/card.css +265 -220
  116. package/dist/components/checkbox/checkbox.css +189 -187
  117. package/dist/components/chip/chip.css +269 -267
  118. package/dist/components/data-grid/data-grid.css +520 -369
  119. package/dist/components/description-list/description-list.css +187 -0
  120. package/dist/components/dialog/dialog.css +339 -275
  121. package/dist/components/drawer/drawer.css +484 -403
  122. package/dist/components/dropdown/dropdown.css +316 -298
  123. package/dist/components/icon-button/icon-button.css +162 -158
  124. package/dist/components/index.css +5 -2
  125. package/dist/components/input/input.css +163 -163
  126. package/dist/components/menu/menu.css +315 -314
  127. package/dist/components/pagination/pagination.css +250 -249
  128. package/dist/components/panel/panel.css +284 -283
  129. package/dist/components/popover/popover.css +153 -0
  130. package/dist/components/progress/progress.css +256 -248
  131. package/dist/components/radio/radio.css +166 -164
  132. package/dist/components/segmented-control/segmented-control.css +205 -205
  133. package/dist/components/select/select.css +117 -103
  134. package/dist/components/skeleton/skeleton.css +267 -262
  135. package/dist/components/split-button/split-button.css +292 -285
  136. package/dist/components/stat/stat.css +403 -0
  137. package/dist/components/switch/switch.css +195 -181
  138. package/dist/components/table/table.css +220 -0
  139. package/dist/components/tabs/tabs.css +293 -289
  140. package/dist/components/textarea/textarea.css +86 -86
  141. package/dist/components/toast/toast.css +345 -323
  142. package/dist/components/tooltip/tooltip.css +258 -255
  143. package/dist/domain/billing/index.css +629 -498
  144. package/dist/domain/calendar/agenda-list/agenda-list.css +224 -0
  145. package/dist/domain/calendar/day-slice/day-slice.css +384 -383
  146. package/dist/domain/calendar/day-timeline/day-timeline.css +332 -324
  147. package/dist/domain/calendar/event-card/event-card.css +338 -336
  148. package/dist/domain/calendar/index.css +5 -4
  149. package/dist/domain/calendar/month-grid/month-grid.css +426 -420
  150. package/dist/domain/calendar/week-grid/week-grid.css +480 -470
  151. package/dist/domain/companies/index.css +526 -525
  152. package/dist/domain/index.css +3 -3
  153. package/dist/index.css +5 -5
  154. package/dist/index.d.ts +2 -1
  155. package/dist/index.d.ts.map +1 -1
  156. package/dist/index.js +2 -1
  157. package/dist/index.js.map +1 -1
  158. package/dist/localization/index.d.ts +8 -0
  159. package/dist/localization/index.d.ts.map +1 -0
  160. package/dist/localization/index.js +22 -0
  161. package/dist/localization/index.js.map +1 -0
  162. package/dist/patterns/command-palette/command-palette.css +447 -439
  163. package/dist/patterns/company-switcher/company-switcher.css +390 -363
  164. package/dist/patterns/content-state/content-state.css +236 -0
  165. package/dist/patterns/empty-state/empty-state.css +260 -259
  166. package/dist/patterns/error-state/error-state.css +272 -271
  167. package/dist/patterns/form-layout/form-layout.css +106 -0
  168. package/dist/patterns/index.css +9 -3
  169. package/dist/patterns/loading-state/loading-state.css +287 -287
  170. package/dist/patterns/master-detail/master-detail.css +103 -0
  171. package/dist/patterns/notification-center/notification-center.css +443 -438
  172. package/dist/patterns/page/page.css +303 -0
  173. package/dist/patterns/profile-menu/profile-menu.css +298 -297
  174. package/dist/patterns/record-list/record-list.css +302 -0
  175. package/dist/patterns/search-bar/search-bar.css +457 -444
  176. package/dist/patterns/settings-layout/settings-layout.css +150 -0
  177. package/dist/patterns/workflow/workflow.css +168 -0
  178. package/dist/shell/app-shell/app-shell.css +211 -68
  179. package/dist/shell/content-frame/content-frame.css +93 -93
  180. package/dist/shell/footer/footer.css +256 -0
  181. package/dist/shell/header/header.css +328 -178
  182. package/dist/shell/index.css +8 -6
  183. package/dist/shell/mobile-nav/mobile-nav.css +254 -171
  184. package/dist/shell/navbar/navbar.css +255 -0
  185. package/dist/shell/sidebar/sidebar.css +314 -146
  186. package/dist/styles/accessibility.css +150 -0
  187. package/dist/styles/animations/motion.css +162 -162
  188. package/dist/styles/appearance/accent.css +215 -0
  189. package/dist/styles/appearance/density.css +61 -0
  190. package/dist/styles/appearance/motion.css +40 -0
  191. package/dist/styles/base.css +83 -82
  192. package/dist/styles/index.css +28 -21
  193. package/dist/styles/localization.css +56 -0
  194. package/dist/styles/reset.css +51 -50
  195. package/dist/styles/responsive.css +101 -0
  196. package/dist/styles/themes/dark.css +202 -120
  197. package/dist/styles/themes/high-contrast.css +290 -119
  198. package/dist/styles/themes/light.css +201 -119
  199. package/dist/styles/tokens/breakpoints.css +37 -15
  200. package/dist/styles/tokens/color.css +102 -96
  201. package/dist/styles/tokens/compatibility.css +33 -0
  202. package/dist/styles/tokens/elevation.css +26 -32
  203. package/dist/styles/tokens/index.css +9 -8
  204. package/dist/styles/tokens/motion.css +35 -35
  205. package/dist/styles/tokens/radius.css +26 -21
  206. package/dist/styles/tokens/spacing.css +56 -50
  207. package/dist/styles/tokens/typography.css +85 -84
  208. package/dist/styles/tokens/z-index.css +14 -14
  209. package/dist/styles/utilities/layout.css +153 -135
  210. package/dist/styles/utilities/text.css +152 -152
  211. package/dist/styles/utilities/visibility.css +47 -47
  212. package/dist/types/index.d.ts +1 -0
  213. package/dist/types/index.d.ts.map +1 -1
  214. package/dist/version.d.ts +2 -0
  215. package/dist/version.d.ts.map +1 -0
  216. package/dist/version.js +3 -0
  217. package/dist/version.js.map +1 -0
  218. package/docs/NEETECHS_UI_UPGRADE_PLAN.md +192 -0
  219. package/docs/accessibility.md +218 -0
  220. package/docs/appearance-and-theming.md +150 -0
  221. package/docs/brand-palette.md +36 -0
  222. package/docs/component-architecture.md +137 -0
  223. package/docs/component-guidelines.md +64 -0
  224. package/docs/components.md +173 -0
  225. package/docs/content-and-terminology.md +207 -0
  226. package/docs/design-system-audit.md +120 -0
  227. package/docs/design-system-baseline-audit.md +226 -0
  228. package/docs/design-token-contract.md +279 -0
  229. package/docs/layering.md +53 -0
  230. package/docs/localization-and-rtl.md +147 -0
  231. package/docs/migration.md +193 -0
  232. package/docs/page-patterns-and-workflows.md +275 -0
  233. package/docs/responsive-and-adaptive-design.md +351 -0
  234. package/docs/semantic-role-migration-audit.md +77 -0
  235. package/docs/site-chrome.md +313 -0
  236. package/docs/states-feedback-and-recovery.md +206 -0
  237. package/docs/theming.md +5 -227
  238. package/package.json +48 -6
  239. package/src/ai/ai-action-button/ai-action-button.css +271 -270
  240. package/src/ai/ai-approval-card/ai-approval-card.css +323 -320
  241. package/src/ai/ai-conversation-panel/ai-conversation-panel.css +447 -403
  242. package/src/ai/ai-prompt-input/ai-prompt-input.css +380 -377
  243. package/src/ai/ai-proposal-card/ai-proposal-card.css +358 -358
  244. package/src/ai/ai-suggestion-card/ai-suggestion-card.css +295 -293
  245. package/src/ai/ai-tool-call/ai-tool-call.css +256 -255
  246. package/src/ai/index.css +7 -7
  247. package/src/appearance/cache.ts +236 -160
  248. package/src/appearance/cookie.ts +184 -68
  249. package/src/appearance/index.ts +86 -38
  250. package/src/appearance/inline-bootstrap.ts +163 -0
  251. package/src/appearance/preference.ts +121 -35
  252. package/src/appearance/theme-controller.ts +384 -383
  253. package/src/appearance/types.ts +61 -23
  254. package/src/behaviors/announcer.ts +222 -0
  255. package/src/behaviors/calendar.ts +92 -0
  256. package/src/behaviors/data-grid.ts +133 -0
  257. package/src/behaviors/dialog.ts +203 -168
  258. package/src/behaviors/direction.ts +34 -0
  259. package/src/behaviors/drawer.ts +210 -177
  260. package/src/behaviors/dropdown.ts +344 -281
  261. package/src/behaviors/focus-trap.ts +304 -261
  262. package/src/behaviors/forms.ts +205 -0
  263. package/src/behaviors/ids.ts +47 -47
  264. package/src/behaviors/index.ts +12 -1
  265. package/src/behaviors/keyboard.ts +305 -303
  266. package/src/behaviors/navigation.ts +417 -0
  267. package/src/behaviors/overlay.ts +344 -231
  268. package/src/behaviors/popover.ts +157 -0
  269. package/src/behaviors/sidebar.ts +342 -0
  270. package/src/behaviors/state.ts +282 -0
  271. package/src/behaviors/tabs.ts +137 -0
  272. package/src/behaviors/viewport.ts +61 -0
  273. package/src/components/alert/alert.css +220 -217
  274. package/src/components/avatar/avatar.css +220 -219
  275. package/src/components/badge/badge.css +174 -174
  276. package/src/components/breadcrumb/breadcrumb.css +207 -205
  277. package/src/components/button/button.css +238 -167
  278. package/src/components/button-group/button-group.css +111 -0
  279. package/src/components/card/card.css +265 -220
  280. package/src/components/checkbox/checkbox.css +189 -187
  281. package/src/components/chip/chip.css +269 -267
  282. package/src/components/data-grid/data-grid.css +520 -369
  283. package/src/components/description-list/description-list.css +187 -0
  284. package/src/components/dialog/dialog.css +339 -275
  285. package/src/components/drawer/drawer.css +484 -403
  286. package/src/components/dropdown/dropdown.css +316 -298
  287. package/src/components/icon-button/icon-button.css +162 -158
  288. package/src/components/index.css +5 -2
  289. package/src/components/input/input.css +163 -163
  290. package/src/components/menu/menu.css +315 -314
  291. package/src/components/pagination/pagination.css +250 -249
  292. package/src/components/panel/panel.css +284 -283
  293. package/src/components/popover/popover.css +153 -0
  294. package/src/components/progress/progress.css +256 -248
  295. package/src/components/radio/radio.css +166 -164
  296. package/src/components/segmented-control/segmented-control.css +205 -205
  297. package/src/components/select/select.css +117 -103
  298. package/src/components/skeleton/skeleton.css +267 -262
  299. package/src/components/split-button/split-button.css +292 -285
  300. package/src/components/stat/stat.css +403 -0
  301. package/src/components/switch/switch.css +195 -181
  302. package/src/components/table/table.css +220 -0
  303. package/src/components/tabs/tabs.css +293 -289
  304. package/src/components/textarea/textarea.css +86 -86
  305. package/src/components/toast/toast.css +345 -323
  306. package/src/components/tooltip/tooltip.css +258 -255
  307. package/src/domain/billing/index.css +629 -498
  308. package/src/domain/calendar/agenda-list/agenda-list.css +224 -0
  309. package/src/domain/calendar/day-slice/day-slice.css +384 -383
  310. package/src/domain/calendar/day-timeline/day-timeline.css +332 -324
  311. package/src/domain/calendar/event-card/event-card.css +338 -336
  312. package/src/domain/calendar/index.css +5 -4
  313. package/src/domain/calendar/month-grid/month-grid.css +426 -420
  314. package/src/domain/calendar/week-grid/week-grid.css +480 -470
  315. package/src/domain/companies/index.css +526 -525
  316. package/src/domain/index.css +3 -3
  317. package/src/index.css +5 -5
  318. package/src/index.ts +7 -6
  319. package/src/localization/index.ts +56 -0
  320. package/src/patterns/command-palette/command-palette.css +447 -439
  321. package/src/patterns/company-switcher/company-switcher.css +390 -363
  322. package/src/patterns/content-state/content-state.css +236 -0
  323. package/src/patterns/empty-state/empty-state.css +260 -259
  324. package/src/patterns/error-state/error-state.css +272 -271
  325. package/src/patterns/form-layout/form-layout.css +106 -0
  326. package/src/patterns/index.css +9 -3
  327. package/src/patterns/loading-state/loading-state.css +287 -287
  328. package/src/patterns/master-detail/master-detail.css +103 -0
  329. package/src/patterns/notification-center/notification-center.css +443 -438
  330. package/src/patterns/page/page.css +303 -0
  331. package/src/patterns/profile-menu/profile-menu.css +298 -297
  332. package/src/patterns/record-list/record-list.css +302 -0
  333. package/src/patterns/search-bar/search-bar.css +457 -444
  334. package/src/patterns/settings-layout/settings-layout.css +150 -0
  335. package/src/patterns/workflow/workflow.css +168 -0
  336. package/src/shell/app-shell/app-shell.css +211 -68
  337. package/src/shell/content-frame/content-frame.css +93 -93
  338. package/src/shell/footer/footer.css +256 -0
  339. package/src/shell/header/header.css +328 -178
  340. package/src/shell/index.css +8 -6
  341. package/src/shell/mobile-nav/mobile-nav.css +254 -171
  342. package/src/shell/navbar/navbar.css +255 -0
  343. package/src/shell/sidebar/sidebar.css +314 -146
  344. package/src/styles/accessibility.css +150 -0
  345. package/src/styles/animations/motion.css +162 -162
  346. package/src/styles/appearance/accent.css +215 -0
  347. package/src/styles/appearance/density.css +61 -0
  348. package/src/styles/appearance/motion.css +40 -0
  349. package/src/styles/base.css +83 -82
  350. package/src/styles/index.css +28 -21
  351. package/src/styles/localization.css +56 -0
  352. package/src/styles/reset.css +51 -50
  353. package/src/styles/responsive.css +101 -0
  354. package/src/styles/themes/dark.css +202 -120
  355. package/src/styles/themes/high-contrast.css +290 -119
  356. package/src/styles/themes/light.css +201 -119
  357. package/src/styles/tokens/breakpoints.css +37 -15
  358. package/src/styles/tokens/color.css +102 -96
  359. package/src/styles/tokens/compatibility.css +33 -0
  360. package/src/styles/tokens/elevation.css +26 -32
  361. package/src/styles/tokens/index.css +9 -8
  362. package/src/styles/tokens/motion.css +35 -35
  363. package/src/styles/tokens/radius.css +26 -21
  364. package/src/styles/tokens/spacing.css +56 -50
  365. package/src/styles/tokens/typography.css +85 -84
  366. package/src/styles/tokens/z-index.css +14 -14
  367. package/src/styles/utilities/layout.css +153 -135
  368. package/src/styles/utilities/text.css +152 -152
  369. package/src/styles/utilities/visibility.css +47 -47
  370. package/src/types/index.ts +126 -125
  371. package/src/version.ts +2 -0
  372. package/dist/components/modal/modal.css +0 -318
  373. package/dist/patterns/workspace-switcher/workspace-switcher.css +0 -380
  374. package/dist/shell/right-drawer/right-drawer.css +0 -108
  375. package/src/components/modal/modal.css +0 -318
  376. package/src/patterns/workspace-switcher/workspace-switcher.css +0 -380
  377. package/src/shell/right-drawer/right-drawer.css +0 -108
package/README.md CHANGED
@@ -1,650 +1,861 @@
1
- # @neetechs/ui
2
-
3
- Official framework-agnostic Neetechs UI design system.
4
-
5
- `@neetechs/ui` is pure CSS + pure TypeScript helpers. It does not depend on Angular, React, Next.js, Bootstrap, Tailwind, or Angular Material.
6
-
7
- Use it in:
8
-
9
- - Angular
10
- - React
11
- - Next.js
12
- - plain JavaScript
13
- - plain HTML
14
- - future Neetechs apps
15
-
16
- ## Core rules
17
-
18
- - Use `nt-` class prefix.
19
- - Use `--nt-` token prefix.
20
- - Do not hardcode component colors.
21
- - Components must consume design tokens.
22
- - Keep this base package framework-agnostic.
23
- - Build Angular or React wrappers later, outside this package.
24
-
25
- ## Install
26
-
27
- ```bash
28
- npm install @neetechs/ui
29
- ```
30
-
31
- ## Import all styles
32
-
33
- In TypeScript or JavaScript:
34
-
35
- ```ts
36
- import '@neetechs/ui/styles.css';
37
- ```
38
-
39
- In CSS:
40
-
41
- ```css
42
- @import '@neetechs/ui/styles.css';
43
- ```
44
-
45
- This imports:
46
-
47
- ```txt
48
- styles
49
- shell
50
- components
51
- patterns
52
- ai
53
- domain
54
- ```
55
-
56
- ## Import only what you need
57
-
58
- ```css
59
- @import '@neetechs/ui/base.css';
60
- @import '@neetechs/ui/shell.css';
61
- @import '@neetechs/ui/components.css';
62
- @import '@neetechs/ui/patterns.css';
63
- @import '@neetechs/ui/ai.css';
64
- @import '@neetechs/ui/domain.css';
65
- ```
66
-
67
- Specific CSS entry points:
68
-
69
- ```css
70
- @import '@neetechs/ui/components/button.css';
71
- @import '@neetechs/ui/components/input.css';
72
- @import '@neetechs/ui/components/card.css';
73
- @import '@neetechs/ui/components/dropdown.css';
74
- @import '@neetechs/ui/patterns/company-switcher.css';
75
- @import '@neetechs/ui/patterns/profile-menu.css';
76
- @import '@neetechs/ui/ai/ai-prompt-input.css';
77
- @import '@neetechs/ui/domain/calendar.css';
78
- @import '@neetechs/ui/domain/billing.css';
79
- @import '@neetechs/ui/domain/companies.css';
80
- ```
81
-
82
- ## Theme setup
83
-
84
- For the shared appearance system (backend preference, `nt_theme` bootstrap
85
- cookie, `system` mode, anti-flash bootstrap), use `@neetechs/ui/appearance`
86
- — see [docs/theming.md](./docs/theming.md).
87
-
88
- ```ts
89
- import { bootstrapNeetechsTheme } from '@neetechs/ui/appearance';
90
-
91
- bootstrapNeetechsTheme(); // before framework rendering
92
- ```
93
-
94
- Add theme attributes to `html`, `body`, or your app root.
95
-
96
- ```html
97
- <html data-nt-theme="dark" data-nt-accent="orange" data-nt-density="comfortable">
98
- ...
99
- </html>
100
- ```
101
-
102
- Supported themes:
103
-
104
- ```txt
105
- dark
106
- light
107
- high-contrast
108
- ```
109
-
110
- Supported accents:
111
-
112
- ```txt
113
- orange
114
- blue
115
- green
116
- purple
117
- neutral
118
- ```
119
-
120
- Supported density:
121
-
122
- ```txt
123
- compact
124
- comfortable
125
- spacious
126
- ```
127
-
128
- ## Recommended app setup
129
-
130
- For a full Neetechs app, import the full stylesheet once at the app root:
131
-
132
- ```ts
133
- import '@neetechs/ui/styles.css';
134
- ```
135
-
136
- Then set the root attributes:
137
-
138
- ```html
139
- <body data-nt-theme="dark" data-nt-accent="orange" data-nt-density="comfortable">
140
- <div class="nt-app-shell">
141
- ...
142
- </div>
143
- </body>
144
- ```
145
-
146
- Do not import random component CSS files all over the app unless you are intentionally optimizing bundle size. For most Neetechs apps, one root import is cleaner.
147
-
148
- ## Basic button
149
-
150
- ```html
151
- <button class="nt-button nt-button--primary">
152
- Save changes
153
- </button>
154
-
155
- <button class="nt-button nt-button--secondary">
156
- Cancel
157
- </button>
158
-
159
- <button class="nt-button nt-button--ghost">
160
- More
161
- </button>
162
- ```
163
-
164
- ## Basic input
165
-
166
- ```html
167
- <label class="nt-field">
168
- <span class="nt-field__label">Company name</span>
169
- <input class="nt-input" placeholder="Neetechs" />
170
- <span class="nt-field__hint">Used across your workspace.</span>
171
- </label>
172
- ```
173
-
174
- Invalid input:
175
-
176
- ```html
177
- <label class="nt-field nt-field--error">
178
- <span class="nt-field__label">Email</span>
179
- <input class="nt-input" aria-invalid="true" placeholder="you@example.com" />
180
- <span class="nt-field__error">Enter a valid email.</span>
181
- </label>
182
- ```
183
-
184
- ## Card
185
-
186
- ```html
187
- <section class="nt-card">
188
- <header class="nt-card__header">
189
- <div class="nt-card__header-main">
190
- <p class="nt-card__eyebrow">Workspace</p>
191
- <h2 class="nt-card__title">Company Center</h2>
192
- <p class="nt-card__subtitle">
193
- Manage companies, branding, team, and billing.
194
- </p>
195
- </div>
196
-
197
- <div class="nt-card__actions">
198
- <button class="nt-button nt-button--secondary">Settings</button>
199
- </div>
200
- </header>
201
-
202
- <div class="nt-card__body">
203
- <p>Put your content here.</p>
204
- </div>
205
-
206
- <footer class="nt-card__footer">
207
- <span class="nt-card__meta">Updated today</span>
208
- <button class="nt-button nt-button--primary">Open</button>
209
- </footer>
210
- </section>
211
- ```
212
-
213
- ## App shell
214
-
215
- ```html
216
- <div class="nt-app-shell">
217
- <aside class="nt-sidebar">
218
- ...
219
- </aside>
220
-
221
- <div class="nt-shell-main">
222
- <header class="nt-header">
223
- ...
224
- </header>
225
-
226
- <main class="nt-content-frame">
227
- ...
228
- </main>
229
- </div>
230
- </div>
231
- ```
232
-
233
- ## Company switcher
234
-
235
- ```html
236
- <div class="nt-company-switcher">
237
- <header class="nt-company-switcher__header">
238
- <div class="nt-company-switcher__header-main">
239
- <span class="nt-company-switcher__eyebrow">Active company</span>
240
- <h2 class="nt-company-switcher__title">Switch company</h2>
241
- <p class="nt-company-switcher__description">
242
- Choose the company you want to manage.
243
- </p>
244
- </div>
245
- </header>
246
-
247
- <div class="nt-company-switcher__body">
248
- <button class="nt-company-switcher__item nt-company-switcher__item--active">
249
- <span class="nt-company-switcher__logo">SD</span>
250
-
251
- <span class="nt-company-switcher__item-main">
252
- <span class="nt-company-switcher__name">Sydfix</span>
253
- <span class="nt-company-switcher__meta">
254
- <span class="nt-company-switcher__country">SE</span>
255
- <span class="nt-company-switcher__role">owner</span>
256
- <span class="nt-company-switcher__currency">SEK</span>
257
- </span>
258
- </span>
259
-
260
- <span class="nt-company-switcher__check">✓</span>
261
- </button>
262
- </div>
263
-
264
- <footer class="nt-company-switcher__footer">
265
- <a class="nt-company-switcher__footer-action" href="/companies/create">
266
- Create company
267
- </a>
268
- </footer>
269
- </div>
270
- ```
271
-
272
- ## Profile menu
273
-
274
- ```html
275
- <div class="nt-profile-menu">
276
- <header class="nt-profile-menu__header">
277
- <span class="nt-avatar">SJ</span>
278
-
279
- <div class="nt-profile-menu__identity">
280
- <span class="nt-profile-menu__name">Sayed Jihad ElSayed</span>
281
- <span class="nt-profile-menu__email">jelsayed@uab.edu</span>
282
- </div>
283
- </header>
284
-
285
- <div class="nt-profile-menu__body">
286
- <a class="nt-profile-menu__item" href="/profile">
287
- <span class="nt-profile-menu__item-icon">👤</span>
288
- <span class="nt-profile-menu__item-main">
289
- <span class="nt-profile-menu__item-title">Profile</span>
290
- </span>
291
- </a>
292
-
293
- <a class="nt-profile-menu__item" href="/settings">
294
- <span class="nt-profile-menu__item-icon">⚙</span>
295
- <span class="nt-profile-menu__item-main">
296
- <span class="nt-profile-menu__item-title">Settings</span>
297
- </span>
298
- </a>
299
- </div>
300
- </div>
301
- ```
302
-
303
- ## AI prompt input
304
-
305
- ```html
306
- <form class="nt-ai-prompt-input">
307
- <div class="nt-ai-prompt-input__header">
308
- <div class="nt-ai-prompt-input__title">
309
- <span class="nt-ai-prompt-input__title-icon">✦</span>
310
- Ask AI
311
- </div>
312
-
313
- <div class="nt-ai-prompt-input__meta">GPT</div>
314
- </div>
315
-
316
- <div class="nt-ai-prompt-input__body">
317
- <textarea
318
- class="nt-ai-prompt-input__textarea"
319
- placeholder="Ask AI to plan your day..."
320
- ></textarea>
321
- </div>
322
-
323
- <footer class="nt-ai-prompt-input__footer">
324
- <div class="nt-ai-prompt-input__tools">
325
- <button class="nt-ai-prompt-input__tool" type="button">Calendar</button>
326
- <button class="nt-ai-prompt-input__tool" type="button">Company</button>
327
- </div>
328
-
329
- <div class="nt-ai-prompt-input__actions">
330
- <button class="nt-ai-prompt-input__submit" type="submit">
331
- Generate
332
- </button>
333
- </div>
334
- </footer>
335
- </form>
336
- ```
337
-
338
- ## AI proposal card
339
-
340
- ```html
341
- <section class="nt-ai-proposal-card">
342
- <header class="nt-ai-proposal-card__header">
343
- <span class="nt-ai-proposal-card__icon">✦</span>
344
-
345
- <div class="nt-ai-proposal-card__header-main">
346
- <span class="nt-ai-proposal-card__eyebrow">AI proposal</span>
347
- <h2 class="nt-ai-proposal-card__title">Schedule focus block</h2>
348
- <p class="nt-ai-proposal-card__description">
349
- AI found a free slot based on your calendar.
350
- </p>
351
- </div>
352
-
353
- <span class="nt-ai-proposal-card__confidence nt-ai-proposal-card__confidence--high">
354
- High confidence
355
- </span>
356
- </header>
357
-
358
- <div class="nt-ai-proposal-card__body">
359
- <div class="nt-ai-proposal-card__summary">
360
- <h3 class="nt-ai-proposal-card__summary-title">Summary</h3>
361
- <p class="nt-ai-proposal-card__summary-text">
362
- Create a 90-minute deep work session tomorrow morning.
363
- </p>
364
- </div>
365
- </div>
366
-
367
- <footer class="nt-ai-proposal-card__footer">
368
- <span class="nt-ai-proposal-card__footer-text">
369
- Review before applying.
370
- </span>
371
-
372
- <div class="nt-ai-proposal-card__actions">
373
- <button class="nt-button nt-button--secondary">Reject</button>
374
- <button class="nt-button nt-button--primary">Apply</button>
375
- </div>
376
- </footer>
377
- </section>
378
- ```
379
-
380
- ## Calendar month grid
381
-
382
- ```html
383
- <section class="nt-calendar-month-grid">
384
- <header class="nt-calendar-month-grid__header">
385
- <div class="nt-calendar-month-grid__header-main">
386
- <span class="nt-calendar-month-grid__eyebrow">Calendar</span>
387
- <h2 class="nt-calendar-month-grid__title">June 2026</h2>
388
- </div>
389
-
390
- <div class="nt-calendar-month-grid__actions">
391
- <button class="nt-button nt-button--secondary">Today</button>
392
- <button class="nt-button nt-button--primary">New event</button>
393
- </div>
394
- </header>
395
-
396
- <div class="nt-calendar-month-grid__body">
397
- <div class="nt-calendar-month-grid__weekdays">
398
- <div class="nt-calendar-month-grid__weekday">Mon</div>
399
- <div class="nt-calendar-month-grid__weekday">Tue</div>
400
- <div class="nt-calendar-month-grid__weekday">Wed</div>
401
- <div class="nt-calendar-month-grid__weekday">Thu</div>
402
- <div class="nt-calendar-month-grid__weekday">Fri</div>
403
- <div class="nt-calendar-month-grid__weekday">Sat</div>
404
- <div class="nt-calendar-month-grid__weekday">Sun</div>
405
- </div>
406
-
407
- <div class="nt-calendar-month-grid__days">
408
- <button class="nt-calendar-month-grid__day nt-calendar-month-grid__day--interactive">
409
- <span class="nt-calendar-month-grid__day-header">
410
- <span class="nt-calendar-month-grid__day-number">1</span>
411
- </span>
412
-
413
- <span class="nt-calendar-month-grid__events">
414
- <span class="nt-calendar-month-grid__event nt-calendar-month-grid__event--busy">
415
- <span class="nt-calendar-month-grid__event-dot"></span>
416
- <span class="nt-calendar-month-grid__event-title">Team sync</span>
417
- </span>
418
- </span>
419
- </button>
420
- </div>
421
- </div>
422
- </section>
423
- ```
424
-
425
- ## Billing document
426
-
427
- ```html
428
- <section class="nt-billing-document">
429
- <header class="nt-billing-document__header">
430
- <div class="nt-billing-document__header-main">
431
- <span class="nt-billing-document__eyebrow">Invoice</span>
432
- <h2 class="nt-billing-document__title">INV-1001</h2>
433
- <p class="nt-billing-document__description">Issued to Sydfix customer.</p>
434
- </div>
435
-
436
- <span class="nt-billing-status nt-billing-status--paid">
437
- <span class="nt-billing-status__dot"></span>
438
- Paid
439
- </span>
440
- </header>
441
-
442
- <div class="nt-billing-document__body">
443
- <div class="nt-billing-amount-list">
444
- <div class="nt-billing-amount-row">
445
- <span class="nt-billing-amount-row__label">Subtotal</span>
446
- <span class="nt-billing-amount-row__value">1,000 SEK</span>
447
- </div>
448
-
449
- <div class="nt-billing-amount-row nt-billing-amount-row--total">
450
- <span class="nt-billing-amount-row__label">Total</span>
451
- <span class="nt-billing-amount-row__value">1,250 SEK</span>
452
- </div>
453
- </div>
454
- </div>
455
- </section>
456
- ```
457
-
458
- ## TypeScript helpers
459
-
460
- ```ts
461
- import {
462
- ntCreateDialog,
463
- ntCreateDrawer,
464
- ntCreateDropdown,
465
- } from '@neetechs/ui/behaviors';
466
- ```
467
-
468
- Dropdown example:
469
-
470
- ```ts
471
- import { ntCreateDropdown } from '@neetechs/ui/behaviors';
472
-
473
- const trigger = document.querySelector<HTMLElement>('#profile-trigger');
474
- const content = document.querySelector<HTMLElement>('#profile-menu');
475
-
476
- if (trigger && content) {
477
- ntCreateDropdown({
478
- trigger,
479
- content,
480
- });
481
- }
482
- ```
483
-
484
- Dialog example:
485
-
486
- ```ts
487
- import { ntCreateDialog } from '@neetechs/ui/behaviors';
488
-
489
- const trigger = document.querySelector<HTMLElement>('#open-dialog');
490
- const dialog = document.querySelector<HTMLElement>('#dialog');
491
- const backdrop = document.querySelector<HTMLElement>('#dialog-backdrop');
492
- const title = document.querySelector<HTMLElement>('#dialog-title');
493
-
494
- if (dialog) {
495
- ntCreateDialog({
496
- trigger,
497
- dialog,
498
- backdrop,
499
- title,
500
- });
501
- }
502
- ```
503
-
504
- Drawer example:
505
-
506
- ```ts
507
- import { ntCreateDrawer } from '@neetechs/ui/behaviors';
508
-
509
- const trigger = document.querySelector<HTMLElement>('#open-drawer');
510
- const drawer = document.querySelector<HTMLElement>('#drawer');
511
- const backdrop = document.querySelector<HTMLElement>('#drawer-backdrop');
512
-
513
- if (drawer) {
514
- ntCreateDrawer({
515
- trigger,
516
- drawer,
517
- backdrop,
518
- side: 'right',
519
- });
520
- }
521
- ```
522
-
523
- ## Package exports
524
-
525
- Main TypeScript export:
526
-
527
- ```ts
528
- import { NEETECHS_UI_PACKAGE, NEETECHS_UI_VERSION } from '@neetechs/ui';
529
- ```
530
-
531
- Behavior helpers:
532
-
533
- ```ts
534
- import { ntCreateDropdown } from '@neetechs/ui/behaviors';
535
- ```
536
-
537
- CSS exports:
538
-
539
- ```txt
540
- @neetechs/ui/styles.css
541
- @neetechs/ui/base.css
542
- @neetechs/ui/tokens.css
543
- @neetechs/ui/reset.css
544
- @neetechs/ui/shell.css
545
- @neetechs/ui/components.css
546
- @neetechs/ui/patterns.css
547
- @neetechs/ui/ai.css
548
- @neetechs/ui/domain.css
549
- @neetechs/ui/domain/calendar.css
550
- @neetechs/ui/domain/billing.css
551
- @neetechs/ui/domain/companies.css
552
- ```
553
-
554
- ## Framework usage
555
-
556
- ### Angular
557
-
558
- In `styles.scss`:
559
-
560
- ```scss
561
- @import '@neetechs/ui/styles.css';
562
- ```
563
-
564
- Or in `angular.json` styles:
565
-
566
- ```json
567
- [
568
- "node_modules/@neetechs/ui/src/index.css",
569
- "src/styles.scss"
570
- ]
571
- ```
572
-
573
- ### React / Next.js
574
-
575
- In your root layout or app entry:
576
-
577
- ```ts
578
- import '@neetechs/ui/styles.css';
579
- ```
580
-
581
- ### Plain HTML
582
-
583
- ```html
584
- <link rel="stylesheet" href="/node_modules/@neetechs/ui/src/index.css" />
585
- ```
586
-
587
- For production, serve the built CSS from your bundler output instead of directly referencing `node_modules`.
588
-
589
- ## Current package structure
590
-
591
- ```txt
592
- packages/ui
593
- src
594
- styles
595
- tokens
596
- themes
597
- utilities
598
- animations
599
- shell
600
- components
601
- patterns
602
- ai
603
- domain
604
- calendar
605
- billing
606
- companies
607
- behaviors
608
- types
609
- docs
610
- ```
611
-
612
- ## What belongs here
613
-
614
- Good:
615
-
616
- ```txt
617
- CSS tokens
618
- themes
619
- base/reset styles
620
- utility CSS
621
- component CSS classes
622
- shell CSS
623
- AI UI CSS
624
- domain UI CSS
625
- pure TypeScript DOM helpers
626
- ```
627
-
628
- Bad:
629
-
630
- ```txt
631
- Angular components
632
- React components
633
- business API calls
634
- Tailwind config
635
- Bootstrap overrides
636
- Angular Material wrappers
637
- app-specific routing
638
- backend logic
639
- ```
640
-
641
- ## Wrapper packages later
642
-
643
- These should be separate packages:
644
-
645
- ```txt
646
- @neetechs/ui-angular
647
- @neetechs/ui-react
648
- ```
649
-
650
- Do not put wrappers inside `@neetechs/ui`.
1
+ # @neetechs/ui
2
+
3
+ Official framework-agnostic Neetechs UI design system.
4
+
5
+ ## Responsive and adaptive behavior
6
+
7
+ Reusable components respond to their *container*, not the viewport: the shell content area, dialog and drawer bodies, tables, data grids, and forms are query containers, and `.nt-region` makes any dashboard column or split pane one. Viewport media queries are reserved for shell-level layout and use a documented rem scale (30/40/48/64/80rem — mirrored by `NT_VIEWPORTS` in `@neetechs/ui/behaviors`). Mobile contracts include the `.nt-mobile-nav` drawer shell mode, table priority columns and row details, data-grid constrained/record modes, the `.nt-calendar-agenda` phone calendar, dvh-safe full-height utilities (`.nt-fill-viewport`), safe-area padding, and coarse-pointer touch targets. See [docs/responsive-and-adaptive-design.md](./docs/responsive-and-adaptive-design.md).
8
+
9
+ ```bash
10
+ npm run check:responsive
11
+ ```
12
+
13
+ ## Page patterns and content standards
14
+
15
+ Shared page anatomy (`.nt-page-header`, `.nt-page-toolbar`, `.nt-page-section`, `.nt-page-footer-actions`), responsive forms (`.nt-form`), settings layouts, master-detail, and multi-step workflow patterns are documented in [docs/page-patterns-and-workflows.md](./docs/page-patterns-and-workflows.md). Terminology, action-label, validation, empty-state, confirmation, and AI-copy rules live in [docs/content-and-terminology.md](./docs/content-and-terminology.md) and are enforced for repository-owned fixtures by:
16
+
17
+ ```bash
18
+ npm run check:content
19
+ ```
20
+
21
+ ## Localization and RTL
22
+
23
+ Use native document metadata; components inherit nested direction changes:
24
+
25
+ ```html
26
+ <html lang="ar" dir="rtl">
27
+ <code dir="ltr" class="nt-technical-value">POST /api/v1/invoices</code>
28
+ </html>
29
+ ```
30
+
31
+ Use `.nt-icon--directional` only for arrows whose inline meaning should mirror. Explicit-locale number/date helpers are exported from `@neetechs/ui/localization`. Applications provide translations, locale/time-zone selection, and approved font loading. See [the RTL and localization contract](./docs/localization-and-rtl.md).
32
+
33
+ `@neetechs/ui` is pure CSS + pure TypeScript helpers. It does not depend on Angular, React, Next.js, Bootstrap, Tailwind, or Angular Material.
34
+
35
+ Use it in:
36
+
37
+ - Angular
38
+ - React
39
+ - Next.js
40
+ - plain JavaScript
41
+ - plain HTML
42
+ - future Neetechs apps
43
+
44
+ ## Core rules
45
+
46
+ - Use `nt-` class prefix.
47
+ - Use `--nt-` token prefix.
48
+ - Do not hardcode component colors.
49
+ - Components must consume design tokens.
50
+ - Keep this base package framework-agnostic.
51
+ - Build Angular or React wrappers later, outside this package.
52
+
53
+ ## Install
54
+
55
+ ```bash
56
+ npm install @neetechs/ui
57
+ ```
58
+
59
+ ## Import all styles
60
+
61
+ In TypeScript or JavaScript:
62
+
63
+ ```ts
64
+ import '@neetechs/ui/styles.css';
65
+ ```
66
+
67
+ In CSS:
68
+
69
+ ```css
70
+ @import '@neetechs/ui/styles.css';
71
+ ```
72
+
73
+ This imports:
74
+
75
+ ```txt
76
+ styles
77
+ shell
78
+ components
79
+ patterns
80
+ ai
81
+ domain
82
+ ```
83
+
84
+ ## Import only what you need
85
+
86
+ ```css
87
+ @import '@neetechs/ui/base.css';
88
+ @import '@neetechs/ui/shell.css';
89
+ @import '@neetechs/ui/components.css';
90
+ @import '@neetechs/ui/patterns.css';
91
+ @import '@neetechs/ui/ai.css';
92
+ @import '@neetechs/ui/domain.css';
93
+ ```
94
+
95
+ Specific CSS entry points:
96
+
97
+ ```css
98
+ @import '@neetechs/ui/components/button.css';
99
+ @import '@neetechs/ui/components/input.css';
100
+ @import '@neetechs/ui/components/card.css';
101
+ @import '@neetechs/ui/components/dropdown.css';
102
+ @import '@neetechs/ui/patterns/company-switcher.css';
103
+ @import '@neetechs/ui/patterns/profile-menu.css';
104
+ @import '@neetechs/ui/ai/ai-prompt-input.css';
105
+ @import '@neetechs/ui/domain/calendar.css';
106
+ @import '@neetechs/ui/domain/billing.css';
107
+ @import '@neetechs/ui/domain/companies.css';
108
+ ```
109
+
110
+ ## Default brand colors
111
+
112
+ Neetechs now defaults to a softer navy dark theme with a blue product accent.
113
+ The canonical palette, accessible foreground rules, and rollout notes are in
114
+ [docs/brand-palette.md](./docs/brand-palette.md). Existing saved accent preferences
115
+ continue to work (including orange); applications must resolve appearance from
116
+ the backend rather than overriding user choices.
117
+
118
+ ## Theme setup
119
+
120
+ For the shared SSR-safe appearance system, use `@neetechs/ui/appearance` and
121
+ see [docs/appearance-and-theming.md](./docs/appearance-and-theming.md).
122
+
123
+ ```ts
124
+ import { bootstrapNeetechsAppearance, createAppearanceController } from '@neetechs/ui/appearance';
125
+
126
+ bootstrapNeetechsAppearance(); // before framework rendering
127
+ const appearance = createAppearanceController();
128
+ appearance.initialize();
129
+ ```
130
+
131
+ To avoid a theme flash on client-rendered pages, emit the pre-paint bootstrap
132
+ as an inline script in `<head>` (server/build time). It reads the same cookie
133
+ and cache as the controller and only sets root attributes:
134
+
135
+ ```ts
136
+ import { ntAppearanceBootstrapScript } from '@neetechs/ui/appearance';
137
+
138
+ const headScript = `<script>${ntAppearanceBootstrapScript()}</script>`;
139
+ ```
140
+
141
+ Switch one dimension without resetting the others (saved accent and density
142
+ are kept):
143
+
144
+ ```ts
145
+ appearance.updatePreference({ theme: 'light' });
146
+ ```
147
+
148
+ The controller applies the public contract to the root `html` element.
149
+
150
+ ```html
151
+ <html data-nt-theme="dark" data-nt-theme-preference="system"
152
+ data-nt-accent="blue" data-nt-density="comfortable"
153
+ data-nt-contrast="normal" data-nt-motion="full">
154
+ ...
155
+ </html>
156
+ ```
157
+
158
+ Supported preferences are `system`, `light`, and `dark`; resolved themes are:
159
+
160
+ ```txt
161
+ dark
162
+ light
163
+ ```
164
+
165
+ Supported accents:
166
+
167
+ ```txt
168
+ orange
169
+ blue
170
+ green
171
+ purple
172
+ neutral
173
+ ```
174
+
175
+ Supported density:
176
+
177
+ ```txt
178
+ compact
179
+ comfortable
180
+ spacious
181
+ ```
182
+
183
+ ## Recommended app setup
184
+
185
+ For a full Neetechs app, import the full stylesheet once at the app root:
186
+
187
+ ```ts
188
+ import '@neetechs/ui/styles.css';
189
+ ```
190
+
191
+ Then initialize appearance before rendering. Do not create a competing body-level theme:
192
+
193
+ ```html
194
+ <body>
195
+ <div class="nt-app-shell">
196
+ ...
197
+ </div>
198
+ </body>
199
+ ```
200
+
201
+ Do not import random component CSS files all over the app unless you are intentionally optimizing bundle size. For most Neetechs apps, one root import is cleaner.
202
+
203
+ ## Basic button
204
+
205
+ ```html
206
+ <button class="nt-button nt-button--primary">
207
+ Save changes
208
+ </button>
209
+
210
+ <button class="nt-button nt-button--secondary">
211
+ Cancel
212
+ </button>
213
+
214
+ <button class="nt-button nt-button--ghost">
215
+ More
216
+ </button>
217
+ ```
218
+
219
+ Async actions keep their visible name, expose busy state, and prevent accidental duplicate activation without treating pending as native disabled:
220
+
221
+ ```ts
222
+ import { ntCreateAsyncAction } from '@neetechs/ui';
223
+
224
+ const save = ntCreateAsyncAction({
225
+ control: document.querySelector<HTMLButtonElement>('#save')!,
226
+ async run(_event, signal) {
227
+ await saveChanges({ signal });
228
+ },
229
+ });
230
+ ```
231
+
232
+ ```html
233
+ <button id="save" class="nt-button nt-button--primary">
234
+ Save changes
235
+ </button>
236
+ ```
237
+
238
+ ## Button group
239
+
240
+ ```html
241
+ <div class="nt-button-group nt-button-group--attached" role="group" aria-label="Text alignment">
242
+ <button class="nt-button nt-button--secondary" type="button" aria-pressed="true">Start</button>
243
+ <button class="nt-button nt-button--secondary" type="button" aria-pressed="false">Center</button>
244
+ </div>
245
+ ```
246
+
247
+ Spaced by default; `--attached` joins buttons, `--vertical` stacks them, `--full`
248
+ stretches them. Pressed state uses `aria-pressed` (color plus an inset ring).
249
+
250
+ ## Popover
251
+
252
+ Non-modal panel for rich content such as filters or quick settings:
253
+
254
+ ```html
255
+ <div class="nt-popover">
256
+ <button class="nt-button nt-button--secondary" type="button" id="filters-trigger">Filters</button>
257
+ <div class="nt-popover__content" id="filters" aria-labelledby="filters-title" hidden>
258
+ <div class="nt-popover__header"><h3 class="nt-popover__title" id="filters-title">Filter invoices</h3></div>
259
+ <div class="nt-popover__body">...</div>
260
+ </div>
261
+ </div>
262
+ ```
263
+
264
+ ```ts
265
+ import { ntCreatePopover } from '@neetechs/ui/behaviors';
266
+
267
+ ntCreatePopover({
268
+ trigger: document.querySelector<HTMLElement>('#filters-trigger')!,
269
+ content: document.querySelector<HTMLElement>('#filters')!,
270
+ });
271
+ ```
272
+
273
+ Full catalog of components and behaviors: [docs/components.md](./docs/components.md).
274
+
275
+ ## Basic input
276
+
277
+ ```html
278
+ <label class="nt-field">
279
+ <span class="nt-field__label">Company name</span>
280
+ <input class="nt-input" placeholder="Neetechs" />
281
+ <span class="nt-field__help">Used across your workspace.</span>
282
+ </label>
283
+ ```
284
+
285
+ Invalid input:
286
+
287
+ ```html
288
+ <label class="nt-field">
289
+ <span class="nt-field__label" id="email-label">Email</span>
290
+ <input id="email" class="nt-input" aria-labelledby="email-label"
291
+ aria-describedby="email-error" aria-invalid="true" />
292
+ <span id="email-error" class="nt-field__error">Enter a valid email.</span>
293
+ </label>
294
+ ```
295
+
296
+ For full form submission state, use `ntConnectField`, `ntFocusErrorSummary`, and `ntCreateFormController` from `@neetechs/ui`.
297
+
298
+ ## Feedback and recovery
299
+
300
+ New content-state work uses the shared pattern:
301
+
302
+ ```html
303
+ <section class="nt-content-state nt-content-state--section"
304
+ data-nt-content-state="offline"
305
+ aria-labelledby="offline-title">
306
+ <h2 id="offline-title" class="nt-content-state__title">Connection lost</h2>
307
+ <p class="nt-content-state__description">
308
+ Cached records are still visible. Retry when the connection returns.
309
+ </p>
310
+ <div class="nt-content-state__actions">
311
+ <button class="nt-button nt-button--secondary">Retry</button>
312
+ </div>
313
+ </section>
314
+ ```
315
+
316
+ `ntCreateToastController` manages toast semantics, dedupe, stack limits, pause-on-hover/focus, and cleanup. Use toasts for brief noncritical feedback, not field validation, permission-denied pages, or irreversible-action confirmation.
317
+
318
+ See [docs/states-feedback-and-recovery.md](./docs/states-feedback-and-recovery.md) for the canonical state vocabulary, forms, loading, empty/error/offline patterns, confirmations, unsaved changes, AI write-action approval, and recovery rules.
319
+
320
+ ## Card
321
+
322
+ ```html
323
+ <section class="nt-card">
324
+ <header class="nt-card__header">
325
+ <div class="nt-card__header-main">
326
+ <p class="nt-card__eyebrow">Workspace</p>
327
+ <h2 class="nt-card__title">Company Center</h2>
328
+ <p class="nt-card__subtitle">
329
+ Manage companies, branding, team, and billing.
330
+ </p>
331
+ </div>
332
+
333
+ <div class="nt-card__actions">
334
+ <button class="nt-button nt-button--secondary">Settings</button>
335
+ </div>
336
+ </header>
337
+
338
+ <div class="nt-card__body">
339
+ <p>Put your content here.</p>
340
+ </div>
341
+
342
+ <footer class="nt-card__footer">
343
+ <span class="nt-card__meta">Updated today</span>
344
+ <button class="nt-button nt-button--primary">Open</button>
345
+ </footer>
346
+ </section>
347
+ ```
348
+
349
+ ## App shell
350
+
351
+ ```html
352
+ <div class="nt-app-shell">
353
+ <aside class="nt-app-shell__sidebar nt-sidebar">
354
+ ...
355
+ </aside>
356
+
357
+ <div class="nt-app-shell__main">
358
+ <header class="nt-app-shell__header nt-header">
359
+ ...
360
+ </header>
361
+
362
+ <main class="nt-app-shell__content nt-content-frame">
363
+ ...
364
+ </main>
365
+ </div>
366
+ </div>
367
+ ```
368
+
369
+ ## Site chrome: header, navbar, account, mobile nav, footer
370
+
371
+ Reusable website chrome with configurable logo, navigation, account actions,
372
+ footer columns, and social links. Routing, auth, and URLs stay in the app.
373
+
374
+ ```ts
375
+ import { ntCreateAccountMenu, ntCreateMobileNav, ntCreateNavbar } from '@neetechs/ui/behaviors';
376
+ ```
377
+
378
+ ```html
379
+ <header class="nt-header nt-header--sticky">
380
+ <div class="nt-header__left">
381
+ <a class="nt-header__brand" href="/"><span class="nt-header__brand-name">Neetechs</span></a>
382
+ </div>
383
+ <div class="nt-header__nav"><nav class="nt-navbar" aria-label="Primary">...</nav></div>
384
+ <div class="nt-header__right">...</div>
385
+ </header>
386
+ <footer class="nt-footer">...</footer>
387
+ ```
388
+
389
+ Full markup, keyboard contract, and examples: [docs/site-chrome.md](./docs/site-chrome.md).
390
+ Stacking rules: [docs/layering.md](./docs/layering.md).
391
+
392
+ ## Company switcher
393
+
394
+ ```html
395
+ <div class="nt-company-switcher">
396
+ <header class="nt-company-switcher__header">
397
+ <div class="nt-company-switcher__header-main">
398
+ <span class="nt-company-switcher__eyebrow">Active company</span>
399
+ <h2 class="nt-company-switcher__title">Switch company</h2>
400
+ <p class="nt-company-switcher__description">
401
+ Choose the company you want to manage.
402
+ </p>
403
+ </div>
404
+ </header>
405
+
406
+ <div class="nt-company-switcher__body">
407
+ <button class="nt-company-switcher__item nt-company-switcher__item--active">
408
+ <span class="nt-company-switcher__logo">SD</span>
409
+
410
+ <span class="nt-company-switcher__item-main">
411
+ <span class="nt-company-switcher__name">Sydfix</span>
412
+ <span class="nt-company-switcher__meta">
413
+ <span class="nt-company-switcher__country">SE</span>
414
+ <span class="nt-company-switcher__role">owner</span>
415
+ <span class="nt-company-switcher__currency">SEK</span>
416
+ </span>
417
+ </span>
418
+
419
+ <span class="nt-company-switcher__check">✓</span>
420
+ </button>
421
+ </div>
422
+
423
+ <footer class="nt-company-switcher__footer">
424
+ <a class="nt-company-switcher__footer-action" href="/companies/create">
425
+ Create company
426
+ </a>
427
+ </footer>
428
+ </div>
429
+ ```
430
+
431
+ ## Profile menu
432
+
433
+ ```html
434
+ <div class="nt-profile-menu">
435
+ <header class="nt-profile-menu__header">
436
+ <span class="nt-avatar">SJ</span>
437
+
438
+ <div class="nt-profile-menu__identity">
439
+ <span class="nt-profile-menu__name">Sayed Jihad ElSayed</span>
440
+ <span class="nt-profile-menu__email">jelsayed@uab.edu</span>
441
+ </div>
442
+ </header>
443
+
444
+ <div class="nt-profile-menu__body">
445
+ <a class="nt-profile-menu__item" href="/profile">
446
+ <span class="nt-profile-menu__item-icon">👤</span>
447
+ <span class="nt-profile-menu__item-main">
448
+ <span class="nt-profile-menu__item-title">Profile</span>
449
+ </span>
450
+ </a>
451
+
452
+ <a class="nt-profile-menu__item" href="/settings">
453
+ <span class="nt-profile-menu__item-icon">⚙</span>
454
+ <span class="nt-profile-menu__item-main">
455
+ <span class="nt-profile-menu__item-title">Settings</span>
456
+ </span>
457
+ </a>
458
+ </div>
459
+ </div>
460
+ ```
461
+
462
+ ## AI prompt input
463
+
464
+ ```html
465
+ <form class="nt-ai-prompt-input">
466
+ <div class="nt-ai-prompt-input__header">
467
+ <div class="nt-ai-prompt-input__title" id="ai-prompt-label">
468
+ <span class="nt-ai-prompt-input__title-icon">✦</span>
469
+ Ask AI
470
+ </div>
471
+
472
+ <div class="nt-ai-prompt-input__meta">GPT</div>
473
+ </div>
474
+
475
+ <div class="nt-ai-prompt-input__body">
476
+ <textarea
477
+ class="nt-ai-prompt-input__textarea"
478
+ aria-labelledby="ai-prompt-label"
479
+ placeholder="Ask AI to plan your day..."
480
+ ></textarea>
481
+ </div>
482
+
483
+ <footer class="nt-ai-prompt-input__footer">
484
+ <div class="nt-ai-prompt-input__tools">
485
+ <button class="nt-ai-prompt-input__tool" type="button">Calendar</button>
486
+ <button class="nt-ai-prompt-input__tool" type="button">Company</button>
487
+ </div>
488
+
489
+ <div class="nt-ai-prompt-input__actions">
490
+ <button class="nt-ai-prompt-input__submit" type="submit">
491
+ Generate
492
+ </button>
493
+ </div>
494
+ </footer>
495
+ </form>
496
+ ```
497
+
498
+ ## AI proposal card
499
+
500
+ ```html
501
+ <section class="nt-ai-proposal-card">
502
+ <header class="nt-ai-proposal-card__header">
503
+ <span class="nt-ai-proposal-card__icon">✦</span>
504
+
505
+ <div class="nt-ai-proposal-card__header-main">
506
+ <span class="nt-ai-proposal-card__eyebrow">AI proposal</span>
507
+ <h2 class="nt-ai-proposal-card__title">Schedule focus block</h2>
508
+ <p class="nt-ai-proposal-card__description">
509
+ AI found a free slot based on your calendar.
510
+ </p>
511
+ </div>
512
+
513
+ <span class="nt-ai-proposal-card__confidence nt-ai-proposal-card__confidence--high">
514
+ High confidence
515
+ </span>
516
+ </header>
517
+
518
+ <div class="nt-ai-proposal-card__body">
519
+ <div class="nt-ai-proposal-card__summary">
520
+ <h3 class="nt-ai-proposal-card__summary-title">Summary</h3>
521
+ <p class="nt-ai-proposal-card__summary-text">
522
+ Create a 90-minute deep work session tomorrow morning.
523
+ </p>
524
+ </div>
525
+ </div>
526
+
527
+ <footer class="nt-ai-proposal-card__footer">
528
+ <span class="nt-ai-proposal-card__footer-text">
529
+ Review before applying.
530
+ </span>
531
+
532
+ <div class="nt-ai-proposal-card__actions">
533
+ <button class="nt-button nt-button--secondary">Reject</button>
534
+ <button class="nt-button nt-button--primary">Apply</button>
535
+ </div>
536
+ </footer>
537
+ </section>
538
+ ```
539
+
540
+ ## Calendar month grid
541
+
542
+ ```html
543
+ <section class="nt-calendar-month-grid">
544
+ <header class="nt-calendar-month-grid__header">
545
+ <div class="nt-calendar-month-grid__header-main">
546
+ <span class="nt-calendar-month-grid__eyebrow">Calendar</span>
547
+ <h2 class="nt-calendar-month-grid__title">June 2026</h2>
548
+ </div>
549
+
550
+ <div class="nt-calendar-month-grid__actions">
551
+ <button class="nt-button nt-button--secondary">Today</button>
552
+ <button class="nt-button nt-button--primary">New event</button>
553
+ </div>
554
+ </header>
555
+
556
+ <div class="nt-calendar-month-grid__body">
557
+ <div class="nt-calendar-month-grid__weekdays">
558
+ <div class="nt-calendar-month-grid__weekday">Mon</div>
559
+ <div class="nt-calendar-month-grid__weekday">Tue</div>
560
+ <div class="nt-calendar-month-grid__weekday">Wed</div>
561
+ <div class="nt-calendar-month-grid__weekday">Thu</div>
562
+ <div class="nt-calendar-month-grid__weekday">Fri</div>
563
+ <div class="nt-calendar-month-grid__weekday">Sat</div>
564
+ <div class="nt-calendar-month-grid__weekday">Sun</div>
565
+ </div>
566
+
567
+ <div class="nt-calendar-month-grid__days">
568
+ <button class="nt-calendar-month-grid__day nt-calendar-month-grid__day--interactive">
569
+ <span class="nt-calendar-month-grid__day-header">
570
+ <span class="nt-calendar-month-grid__day-number">1</span>
571
+ </span>
572
+
573
+ <span class="nt-calendar-month-grid__events">
574
+ <span class="nt-calendar-month-grid__event nt-calendar-month-grid__event--busy">
575
+ <span class="nt-calendar-month-grid__event-dot"></span>
576
+ <span class="nt-calendar-month-grid__event-title">Team sync</span>
577
+ </span>
578
+ </span>
579
+ </button>
580
+ </div>
581
+ </div>
582
+ </section>
583
+ ```
584
+
585
+ ## Billing document
586
+
587
+ ```html
588
+ <section class="nt-billing-document">
589
+ <header class="nt-billing-document__header">
590
+ <div class="nt-billing-document__header-main">
591
+ <span class="nt-billing-document__eyebrow">Invoice</span>
592
+ <h2 class="nt-billing-document__title">INV-1001</h2>
593
+ <p class="nt-billing-document__description">Issued to Sydfix customer.</p>
594
+ </div>
595
+
596
+ <span class="nt-billing-status nt-billing-status--paid">
597
+ <span class="nt-billing-status__dot"></span>
598
+ Paid
599
+ </span>
600
+ </header>
601
+
602
+ <div class="nt-billing-document__body">
603
+ <div class="nt-billing-amount-list">
604
+ <div class="nt-billing-amount-row">
605
+ <span class="nt-billing-amount-row__label">Subtotal</span>
606
+ <span class="nt-billing-amount-row__value">1,000 SEK</span>
607
+ </div>
608
+
609
+ <div class="nt-billing-amount-row nt-billing-amount-row--total">
610
+ <span class="nt-billing-amount-row__label">Total</span>
611
+ <span class="nt-billing-amount-row__value">1,250 SEK</span>
612
+ </div>
613
+ </div>
614
+ </div>
615
+ </section>
616
+ ```
617
+
618
+ Totals cards separate every row with `.nt-billing-amount-list--divided` and
619
+ box the amount due with `.nt-billing-amount-row--grand`. Headers can keep the
620
+ status inline with the reference via `.nt-billing-document__title-row` and
621
+ `.nt-billing-document__status`. Workflow states outside the named set use the
622
+ generic tones `.nt-billing-status--neutral`, `--info`, `--success`,
623
+ `--warning`, `--danger` (the text always names the state). Dashboard metrics
624
+ can show a tone bar (`.nt-billing-metric__accent`), an info tone
625
+ (`.nt-billing-metric--info`), and a headline size
626
+ (`.nt-billing-metric--prominent`); new dashboards should prefer the
627
+ domain-neutral `.nt-stat` card.
628
+
629
+ ```html
630
+ <div class="nt-billing-amount-list nt-billing-amount-list--divided">
631
+ <div class="nt-billing-amount-row">
632
+ <span class="nt-billing-amount-row__label">VAT 25%</span>
633
+ <span class="nt-billing-amount-row__value">250 SEK</span>
634
+ </div>
635
+ <div class="nt-billing-amount-row nt-billing-amount-row--grand">
636
+ <span class="nt-billing-amount-row__label">Amount due</span>
637
+ <span class="nt-billing-amount-row__value">1,250 SEK</span>
638
+ </div>
639
+ </div>
640
+ ```
641
+
642
+ ## TypeScript helpers
643
+
644
+ ```ts
645
+ import {
646
+ ntCreateCalendarGrid,
647
+ ntCreateDataGrid,
648
+ ntCreateDialog,
649
+ ntCreateDrawer,
650
+ ntCreateDropdown,
651
+ ntCreateMenu,
652
+ ntCreateTabs,
653
+ } from '@neetechs/ui/behaviors';
654
+ ```
655
+
656
+ ## Accessibility
657
+
658
+ The package targets WCAG 2.2 AA as an engineering baseline, not a certification. Native HTML remains required: CSS classes do not add roles, names, labels, or keyboard behavior. Shared helpers cover tabs, menus, modal focus management, data-grid navigation, calendar-grid navigation, form relationships, and announcements.
659
+
660
+ See [docs/accessibility.md](./docs/accessibility.md) for component contracts and manual checks. Repository verification includes:
661
+
662
+ ```bash
663
+ npm run check:a11y
664
+ npm run test:browser
665
+ ```
666
+
667
+ Dropdown example:
668
+
669
+ ```ts
670
+ import { ntCreateDropdown } from '@neetechs/ui/behaviors';
671
+
672
+ const trigger = document.querySelector<HTMLElement>('#profile-trigger');
673
+ const content = document.querySelector<HTMLElement>('#profile-menu');
674
+
675
+ if (trigger && content) {
676
+ ntCreateDropdown({
677
+ trigger,
678
+ content,
679
+ });
680
+ }
681
+ ```
682
+
683
+ Dialog example:
684
+
685
+ ```ts
686
+ import { ntCreateDialog } from '@neetechs/ui/behaviors';
687
+
688
+ const trigger = document.querySelector<HTMLElement>('#open-dialog');
689
+ const dialog = document.querySelector<HTMLElement>('#dialog');
690
+ const backdrop = document.querySelector<HTMLElement>('#dialog-backdrop');
691
+ const title = document.querySelector<HTMLElement>('#dialog-title');
692
+
693
+ if (dialog) {
694
+ ntCreateDialog({
695
+ trigger,
696
+ dialog,
697
+ backdrop,
698
+ title,
699
+ });
700
+ }
701
+ ```
702
+
703
+ Drawer example:
704
+
705
+ ```ts
706
+ import { ntCreateDrawer } from '@neetechs/ui/behaviors';
707
+
708
+ const trigger = document.querySelector<HTMLElement>('#open-drawer');
709
+ const drawer = document.querySelector<HTMLElement>('#drawer');
710
+ const backdrop = document.querySelector<HTMLElement>('#drawer-backdrop');
711
+
712
+ if (drawer) {
713
+ ntCreateDrawer({
714
+ trigger,
715
+ drawer,
716
+ backdrop,
717
+ placement: 'inline-end',
718
+ });
719
+ }
720
+ ```
721
+
722
+ ## Canonical components and compatibility
723
+
724
+ Modal is a mode of the canonical dialog controller. `ntCreateModal`, `.nt-modal*`, and `@neetechs/ui/components/modal.css` remain deprecated compatibility contracts; new code uses `ntCreateDialog({ modal: true })` and dialog classes. Drawers use logical `placement`; the old right-drawer CSS path/classes remain mapped to the canonical drawer source. Company and workspace switchers retain distinct product class names while sharing one visual/menu foundation.
725
+
726
+ Native read-only tables use `@neetechs/ui/components/table.css`. Use data grid only for genuinely interactive two-dimensional data. See [docs/component-architecture.md](./docs/component-architecture.md) for the complete decision and deprecation matrix.
727
+
728
+ Architecture verification:
729
+
730
+ ```bash
731
+ npm run check:architecture
732
+ ```
733
+
734
+ ## Package exports
735
+
736
+ Main TypeScript export:
737
+
738
+ ```ts
739
+ import { NEETECHS_UI_PACKAGE, NEETECHS_UI_VERSION } from '@neetechs/ui';
740
+ ```
741
+
742
+ Behavior helpers:
743
+
744
+ ```ts
745
+ import { ntCreateDropdown } from '@neetechs/ui/behaviors';
746
+ ```
747
+
748
+ CSS exports:
749
+
750
+ ```txt
751
+ @neetechs/ui/styles.css
752
+ @neetechs/ui/base.css
753
+ @neetechs/ui/tokens.css
754
+ @neetechs/ui/reset.css
755
+ @neetechs/ui/shell.css
756
+ @neetechs/ui/components.css
757
+ @neetechs/ui/patterns.css
758
+ @neetechs/ui/ai.css
759
+ @neetechs/ui/domain.css
760
+ @neetechs/ui/domain/calendar.css
761
+ @neetechs/ui/domain/billing.css
762
+ @neetechs/ui/domain/companies.css
763
+ ```
764
+
765
+ ## Framework usage
766
+
767
+ ### Angular
768
+
769
+ In `styles.scss`:
770
+
771
+ ```scss
772
+ @import '@neetechs/ui/styles.css';
773
+ ```
774
+
775
+ Or in `angular.json` styles:
776
+
777
+ ```json
778
+ [
779
+ "node_modules/@neetechs/ui/src/index.css",
780
+ "src/styles.scss"
781
+ ]
782
+ ```
783
+
784
+ ### React / Next.js
785
+
786
+ In your root layout or app entry:
787
+
788
+ ```ts
789
+ import '@neetechs/ui/styles.css';
790
+ ```
791
+
792
+ ### Plain HTML
793
+
794
+ ```html
795
+ <link rel="stylesheet" href="/node_modules/@neetechs/ui/src/index.css" />
796
+ ```
797
+
798
+ For production, serve the built CSS from your bundler output instead of directly referencing `node_modules`.
799
+
800
+ ## Current package structure
801
+
802
+ ```txt
803
+ packages/ui
804
+ src
805
+ styles
806
+ tokens
807
+ themes
808
+ utilities
809
+ animations
810
+ shell
811
+ components
812
+ patterns
813
+ ai
814
+ domain
815
+ calendar
816
+ billing
817
+ companies
818
+ behaviors
819
+ types
820
+ docs
821
+ ```
822
+
823
+ ## What belongs here
824
+
825
+ Good:
826
+
827
+ ```txt
828
+ CSS tokens
829
+ themes
830
+ base/reset styles
831
+ utility CSS
832
+ component CSS classes
833
+ shell CSS
834
+ AI UI CSS
835
+ domain UI CSS
836
+ pure TypeScript DOM helpers
837
+ ```
838
+
839
+ Bad:
840
+
841
+ ```txt
842
+ Angular components
843
+ React components
844
+ business API calls
845
+ Tailwind config
846
+ Bootstrap overrides
847
+ Angular Material wrappers
848
+ app-specific routing
849
+ backend logic
850
+ ```
851
+
852
+ ## Wrapper packages later
853
+
854
+ These should be separate packages:
855
+
856
+ ```txt
857
+ @neetechs/ui-angular
858
+ @neetechs/ui-react
859
+ ```
860
+
861
+ Do not put wrappers inside `@neetechs/ui`.