@neetechs/ui 0.0.4 → 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 (299) hide show
  1. package/CHANGELOG.md +103 -0
  2. package/CONTRIBUTING.md +60 -0
  3. package/LICENSE +21 -21
  4. package/README.md +861 -752
  5. package/dist/ai/ai-action-button/ai-action-button.css +271 -271
  6. package/dist/ai/ai-approval-card/ai-approval-card.css +323 -323
  7. package/dist/ai/ai-conversation-panel/ai-conversation-panel.css +447 -447
  8. package/dist/ai/ai-prompt-input/ai-prompt-input.css +380 -380
  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 -295
  11. package/dist/ai/ai-tool-call/ai-tool-call.css +256 -256
  12. package/dist/ai/index.css +7 -7
  13. package/dist/appearance/index.d.ts +2 -0
  14. package/dist/appearance/index.d.ts.map +1 -1
  15. package/dist/appearance/index.js +1 -0
  16. package/dist/appearance/index.js.map +1 -1
  17. package/dist/appearance/inline-bootstrap.d.ts +29 -0
  18. package/dist/appearance/inline-bootstrap.d.ts.map +1 -0
  19. package/dist/appearance/inline-bootstrap.js +154 -0
  20. package/dist/appearance/inline-bootstrap.js.map +1 -0
  21. package/dist/appearance/preference.js +1 -1
  22. package/dist/appearance/preference.js.map +1 -1
  23. package/dist/appearance/theme-controller.d.ts +6 -0
  24. package/dist/appearance/theme-controller.d.ts.map +1 -1
  25. package/dist/appearance/theme-controller.js +5 -0
  26. package/dist/appearance/theme-controller.js.map +1 -1
  27. package/dist/behaviors/index.d.ts +3 -0
  28. package/dist/behaviors/index.d.ts.map +1 -1
  29. package/dist/behaviors/index.js +3 -0
  30. package/dist/behaviors/index.js.map +1 -1
  31. package/dist/behaviors/navigation.d.ts +98 -0
  32. package/dist/behaviors/navigation.d.ts.map +1 -0
  33. package/dist/behaviors/navigation.js +295 -0
  34. package/dist/behaviors/navigation.js.map +1 -0
  35. package/dist/behaviors/popover.d.ts +22 -0
  36. package/dist/behaviors/popover.d.ts.map +1 -0
  37. package/dist/behaviors/popover.js +126 -0
  38. package/dist/behaviors/popover.js.map +1 -0
  39. package/dist/behaviors/sidebar.d.ts +78 -0
  40. package/dist/behaviors/sidebar.d.ts.map +1 -0
  41. package/dist/behaviors/sidebar.js +263 -0
  42. package/dist/behaviors/sidebar.js.map +1 -0
  43. package/dist/components/alert/alert.css +220 -220
  44. package/dist/components/avatar/avatar.css +220 -220
  45. package/dist/components/badge/badge.css +174 -174
  46. package/dist/components/breadcrumb/breadcrumb.css +207 -207
  47. package/dist/components/button/button.css +238 -195
  48. package/dist/components/button-group/button-group.css +111 -0
  49. package/dist/components/card/card.css +265 -221
  50. package/dist/components/checkbox/checkbox.css +189 -189
  51. package/dist/components/chip/chip.css +269 -269
  52. package/dist/components/data-grid/data-grid.css +520 -520
  53. package/dist/components/description-list/description-list.css +187 -0
  54. package/dist/components/dialog/dialog.css +339 -339
  55. package/dist/components/drawer/drawer.css +484 -484
  56. package/dist/components/dropdown/dropdown.css +316 -316
  57. package/dist/components/icon-button/icon-button.css +162 -162
  58. package/dist/components/index.css +4 -0
  59. package/dist/components/input/input.css +163 -163
  60. package/dist/components/menu/menu.css +315 -315
  61. package/dist/components/pagination/pagination.css +250 -250
  62. package/dist/components/panel/panel.css +284 -284
  63. package/dist/components/popover/popover.css +153 -0
  64. package/dist/components/progress/progress.css +256 -256
  65. package/dist/components/radio/radio.css +166 -166
  66. package/dist/components/segmented-control/segmented-control.css +205 -205
  67. package/dist/components/select/select.css +117 -117
  68. package/dist/components/skeleton/skeleton.css +267 -262
  69. package/dist/components/split-button/split-button.css +292 -292
  70. package/dist/components/stat/stat.css +403 -0
  71. package/dist/components/switch/switch.css +195 -195
  72. package/dist/components/table/table.css +220 -220
  73. package/dist/components/tabs/tabs.css +293 -293
  74. package/dist/components/textarea/textarea.css +86 -86
  75. package/dist/components/toast/toast.css +345 -345
  76. package/dist/components/tooltip/tooltip.css +258 -258
  77. package/dist/domain/billing/index.css +629 -498
  78. package/dist/domain/calendar/agenda-list/agenda-list.css +224 -224
  79. package/dist/domain/calendar/day-slice/day-slice.css +384 -384
  80. package/dist/domain/calendar/day-timeline/day-timeline.css +332 -332
  81. package/dist/domain/calendar/event-card/event-card.css +338 -338
  82. package/dist/domain/calendar/index.css +5 -5
  83. package/dist/domain/calendar/month-grid/month-grid.css +426 -426
  84. package/dist/domain/calendar/week-grid/week-grid.css +480 -480
  85. package/dist/domain/companies/index.css +526 -526
  86. package/dist/domain/index.css +3 -3
  87. package/dist/index.css +5 -5
  88. package/dist/index.d.ts +1 -1
  89. package/dist/index.d.ts.map +1 -1
  90. package/dist/index.js +1 -1
  91. package/dist/index.js.map +1 -1
  92. package/dist/patterns/command-palette/command-palette.css +447 -447
  93. package/dist/patterns/company-switcher/company-switcher.css +390 -390
  94. package/dist/patterns/content-state/content-state.css +236 -236
  95. package/dist/patterns/empty-state/empty-state.css +260 -260
  96. package/dist/patterns/error-state/error-state.css +272 -272
  97. package/dist/patterns/form-layout/form-layout.css +106 -106
  98. package/dist/patterns/index.css +1 -0
  99. package/dist/patterns/loading-state/loading-state.css +287 -287
  100. package/dist/patterns/master-detail/master-detail.css +103 -103
  101. package/dist/patterns/notification-center/notification-center.css +443 -443
  102. package/dist/patterns/page/page.css +303 -219
  103. package/dist/patterns/profile-menu/profile-menu.css +298 -298
  104. package/dist/patterns/record-list/record-list.css +302 -0
  105. package/dist/patterns/search-bar/search-bar.css +457 -457
  106. package/dist/patterns/settings-layout/settings-layout.css +150 -150
  107. package/dist/patterns/workflow/workflow.css +168 -168
  108. package/dist/shell/app-shell/app-shell.css +211 -75
  109. package/dist/shell/content-frame/content-frame.css +93 -93
  110. package/dist/shell/footer/footer.css +256 -0
  111. package/dist/shell/header/header.css +328 -180
  112. package/dist/shell/index.css +8 -6
  113. package/dist/shell/mobile-nav/mobile-nav.css +254 -173
  114. package/dist/shell/navbar/navbar.css +255 -0
  115. package/dist/shell/sidebar/sidebar.css +314 -146
  116. package/dist/styles/accessibility.css +150 -116
  117. package/dist/styles/animations/motion.css +162 -162
  118. package/dist/styles/appearance/accent.css +215 -173
  119. package/dist/styles/appearance/density.css +61 -61
  120. package/dist/styles/appearance/motion.css +40 -40
  121. package/dist/styles/base.css +83 -83
  122. package/dist/styles/index.css +28 -28
  123. package/dist/styles/localization.css +56 -56
  124. package/dist/styles/reset.css +51 -51
  125. package/dist/styles/responsive.css +101 -101
  126. package/dist/styles/themes/dark.css +202 -202
  127. package/dist/styles/themes/high-contrast.css +290 -290
  128. package/dist/styles/themes/light.css +201 -201
  129. package/dist/styles/tokens/breakpoints.css +37 -37
  130. package/dist/styles/tokens/color.css +102 -96
  131. package/dist/styles/tokens/compatibility.css +33 -33
  132. package/dist/styles/tokens/elevation.css +26 -26
  133. package/dist/styles/tokens/index.css +9 -9
  134. package/dist/styles/tokens/motion.css +35 -35
  135. package/dist/styles/tokens/radius.css +26 -26
  136. package/dist/styles/tokens/spacing.css +56 -56
  137. package/dist/styles/tokens/typography.css +85 -85
  138. package/dist/styles/tokens/z-index.css +14 -14
  139. package/dist/styles/utilities/layout.css +153 -153
  140. package/dist/styles/utilities/text.css +152 -152
  141. package/dist/styles/utilities/visibility.css +47 -47
  142. package/dist/version.d.ts +2 -0
  143. package/dist/version.d.ts.map +1 -0
  144. package/dist/version.js +3 -0
  145. package/dist/version.js.map +1 -0
  146. package/docs/NEETECHS_UI_UPGRADE_PLAN.md +192 -0
  147. package/docs/accessibility.md +218 -218
  148. package/docs/appearance-and-theming.md +150 -118
  149. package/docs/brand-palette.md +36 -0
  150. package/docs/component-architecture.md +137 -137
  151. package/docs/component-guidelines.md +64 -64
  152. package/docs/components.md +173 -0
  153. package/docs/content-and-terminology.md +207 -207
  154. package/docs/design-system-audit.md +120 -0
  155. package/docs/design-system-baseline-audit.md +226 -226
  156. package/docs/design-token-contract.md +279 -279
  157. package/docs/layering.md +53 -0
  158. package/docs/localization-and-rtl.md +147 -147
  159. package/docs/migration.md +193 -142
  160. package/docs/page-patterns-and-workflows.md +275 -260
  161. package/docs/responsive-and-adaptive-design.md +351 -351
  162. package/docs/semantic-role-migration-audit.md +77 -77
  163. package/docs/site-chrome.md +313 -0
  164. package/docs/states-feedback-and-recovery.md +206 -206
  165. package/docs/theming.md +5 -5
  166. package/package.json +19 -6
  167. package/src/ai/ai-action-button/ai-action-button.css +271 -271
  168. package/src/ai/ai-approval-card/ai-approval-card.css +323 -323
  169. package/src/ai/ai-conversation-panel/ai-conversation-panel.css +447 -447
  170. package/src/ai/ai-prompt-input/ai-prompt-input.css +380 -380
  171. package/src/ai/ai-proposal-card/ai-proposal-card.css +358 -358
  172. package/src/ai/ai-suggestion-card/ai-suggestion-card.css +295 -295
  173. package/src/ai/ai-tool-call/ai-tool-call.css +256 -256
  174. package/src/ai/index.css +7 -7
  175. package/src/appearance/cache.ts +236 -236
  176. package/src/appearance/cookie.ts +184 -184
  177. package/src/appearance/index.ts +86 -80
  178. package/src/appearance/inline-bootstrap.ts +163 -0
  179. package/src/appearance/preference.ts +121 -121
  180. package/src/appearance/theme-controller.ts +384 -371
  181. package/src/appearance/types.ts +61 -61
  182. package/src/behaviors/announcer.ts +222 -222
  183. package/src/behaviors/calendar.ts +92 -92
  184. package/src/behaviors/data-grid.ts +133 -133
  185. package/src/behaviors/dialog.ts +203 -203
  186. package/src/behaviors/direction.ts +34 -34
  187. package/src/behaviors/drawer.ts +210 -210
  188. package/src/behaviors/dropdown.ts +344 -344
  189. package/src/behaviors/focus-trap.ts +304 -304
  190. package/src/behaviors/forms.ts +205 -205
  191. package/src/behaviors/ids.ts +47 -47
  192. package/src/behaviors/index.ts +3 -0
  193. package/src/behaviors/keyboard.ts +305 -305
  194. package/src/behaviors/navigation.ts +417 -0
  195. package/src/behaviors/overlay.ts +344 -344
  196. package/src/behaviors/popover.ts +157 -0
  197. package/src/behaviors/sidebar.ts +342 -0
  198. package/src/behaviors/state.ts +282 -282
  199. package/src/behaviors/tabs.ts +137 -137
  200. package/src/behaviors/viewport.ts +61 -61
  201. package/src/components/alert/alert.css +220 -220
  202. package/src/components/avatar/avatar.css +220 -220
  203. package/src/components/badge/badge.css +174 -174
  204. package/src/components/breadcrumb/breadcrumb.css +207 -207
  205. package/src/components/button/button.css +238 -195
  206. package/src/components/button-group/button-group.css +111 -0
  207. package/src/components/card/card.css +265 -221
  208. package/src/components/checkbox/checkbox.css +189 -189
  209. package/src/components/chip/chip.css +269 -269
  210. package/src/components/data-grid/data-grid.css +520 -520
  211. package/src/components/description-list/description-list.css +187 -0
  212. package/src/components/dialog/dialog.css +339 -339
  213. package/src/components/drawer/drawer.css +484 -484
  214. package/src/components/dropdown/dropdown.css +316 -316
  215. package/src/components/icon-button/icon-button.css +162 -162
  216. package/src/components/index.css +4 -0
  217. package/src/components/input/input.css +163 -163
  218. package/src/components/menu/menu.css +315 -315
  219. package/src/components/pagination/pagination.css +250 -250
  220. package/src/components/panel/panel.css +284 -284
  221. package/src/components/popover/popover.css +153 -0
  222. package/src/components/progress/progress.css +256 -256
  223. package/src/components/radio/radio.css +166 -166
  224. package/src/components/segmented-control/segmented-control.css +205 -205
  225. package/src/components/select/select.css +117 -117
  226. package/src/components/skeleton/skeleton.css +267 -262
  227. package/src/components/split-button/split-button.css +292 -292
  228. package/src/components/stat/stat.css +403 -0
  229. package/src/components/switch/switch.css +195 -195
  230. package/src/components/table/table.css +220 -220
  231. package/src/components/tabs/tabs.css +293 -293
  232. package/src/components/textarea/textarea.css +86 -86
  233. package/src/components/toast/toast.css +345 -345
  234. package/src/components/tooltip/tooltip.css +258 -258
  235. package/src/domain/billing/index.css +629 -498
  236. package/src/domain/calendar/agenda-list/agenda-list.css +224 -224
  237. package/src/domain/calendar/day-slice/day-slice.css +384 -384
  238. package/src/domain/calendar/day-timeline/day-timeline.css +332 -332
  239. package/src/domain/calendar/event-card/event-card.css +338 -338
  240. package/src/domain/calendar/index.css +5 -5
  241. package/src/domain/calendar/month-grid/month-grid.css +426 -426
  242. package/src/domain/calendar/week-grid/week-grid.css +480 -480
  243. package/src/domain/companies/index.css +526 -526
  244. package/src/domain/index.css +3 -3
  245. package/src/index.css +5 -5
  246. package/src/index.ts +7 -7
  247. package/src/localization/index.ts +56 -56
  248. package/src/patterns/command-palette/command-palette.css +447 -447
  249. package/src/patterns/company-switcher/company-switcher.css +390 -390
  250. package/src/patterns/content-state/content-state.css +236 -236
  251. package/src/patterns/empty-state/empty-state.css +260 -260
  252. package/src/patterns/error-state/error-state.css +272 -272
  253. package/src/patterns/form-layout/form-layout.css +106 -106
  254. package/src/patterns/index.css +1 -0
  255. package/src/patterns/loading-state/loading-state.css +287 -287
  256. package/src/patterns/master-detail/master-detail.css +103 -103
  257. package/src/patterns/notification-center/notification-center.css +443 -443
  258. package/src/patterns/page/page.css +303 -219
  259. package/src/patterns/profile-menu/profile-menu.css +298 -298
  260. package/src/patterns/record-list/record-list.css +302 -0
  261. package/src/patterns/search-bar/search-bar.css +457 -457
  262. package/src/patterns/settings-layout/settings-layout.css +150 -150
  263. package/src/patterns/workflow/workflow.css +168 -168
  264. package/src/shell/app-shell/app-shell.css +211 -75
  265. package/src/shell/content-frame/content-frame.css +93 -93
  266. package/src/shell/footer/footer.css +256 -0
  267. package/src/shell/header/header.css +328 -180
  268. package/src/shell/index.css +8 -6
  269. package/src/shell/mobile-nav/mobile-nav.css +254 -173
  270. package/src/shell/navbar/navbar.css +255 -0
  271. package/src/shell/sidebar/sidebar.css +314 -146
  272. package/src/styles/accessibility.css +150 -116
  273. package/src/styles/animations/motion.css +162 -162
  274. package/src/styles/appearance/accent.css +215 -173
  275. package/src/styles/appearance/density.css +61 -61
  276. package/src/styles/appearance/motion.css +40 -40
  277. package/src/styles/base.css +83 -83
  278. package/src/styles/index.css +28 -28
  279. package/src/styles/localization.css +56 -56
  280. package/src/styles/reset.css +51 -51
  281. package/src/styles/responsive.css +101 -101
  282. package/src/styles/themes/dark.css +202 -202
  283. package/src/styles/themes/high-contrast.css +290 -290
  284. package/src/styles/themes/light.css +201 -201
  285. package/src/styles/tokens/breakpoints.css +37 -37
  286. package/src/styles/tokens/color.css +102 -96
  287. package/src/styles/tokens/compatibility.css +33 -33
  288. package/src/styles/tokens/elevation.css +26 -26
  289. package/src/styles/tokens/index.css +9 -9
  290. package/src/styles/tokens/motion.css +35 -35
  291. package/src/styles/tokens/radius.css +26 -26
  292. package/src/styles/tokens/spacing.css +56 -56
  293. package/src/styles/tokens/typography.css +85 -85
  294. package/src/styles/tokens/z-index.css +14 -14
  295. package/src/styles/utilities/layout.css +153 -153
  296. package/src/styles/utilities/text.css +152 -152
  297. package/src/styles/utilities/visibility.css +47 -47
  298. package/src/types/index.ts +126 -126
  299. package/src/version.ts +2 -0
@@ -1,152 +1,152 @@
1
- .nt-text-display-lg {
2
- font: var(--nt-text-display-lg);
3
- letter-spacing: var(--nt-letter-spacing-tight);
4
- }
5
-
6
- .nt-text-display-md {
7
- font: var(--nt-text-display-md);
8
- letter-spacing: var(--nt-letter-spacing-tight);
9
- }
10
-
11
- .nt-text-display-sm {
12
- font: var(--nt-text-display-sm);
13
- letter-spacing: var(--nt-letter-spacing-tight);
14
- }
15
-
16
- .nt-text-heading-lg {
17
- font: var(--nt-text-heading-lg);
18
- letter-spacing: var(--nt-letter-spacing-heading);
19
- }
20
-
21
- .nt-text-heading-md {
22
- font: var(--nt-text-heading-md);
23
- letter-spacing: var(--nt-letter-spacing-heading);
24
- }
25
-
26
- .nt-text-heading-sm {
27
- font: var(--nt-text-heading-sm);
28
- letter-spacing: var(--nt-letter-spacing-heading);
29
- }
30
-
31
- .nt-text-title-lg {
32
- font: var(--nt-text-title-lg);
33
- letter-spacing: var(--nt-letter-spacing-title);
34
- }
35
-
36
- .nt-text-title-md {
37
- font: var(--nt-text-title-md);
38
- letter-spacing: var(--nt-letter-spacing-title);
39
- }
40
-
41
- .nt-text-title-sm {
42
- font: var(--nt-text-title-sm);
43
- letter-spacing: var(--nt-letter-spacing-title);
44
- }
45
-
46
- .nt-text-body-lg {
47
- font: var(--nt-text-body-lg);
48
- }
49
-
50
- .nt-text-body-md {
51
- font: var(--nt-text-body-md);
52
- }
53
-
54
- .nt-text-body-sm {
55
- font: var(--nt-text-body-sm);
56
- }
57
-
58
- .nt-text-body-xs {
59
- font: var(--nt-text-body-xs);
60
- }
61
-
62
- .nt-text-label-lg {
63
- font: var(--nt-text-label-lg);
64
- letter-spacing: var(--nt-letter-spacing-label);
65
- }
66
-
67
- .nt-text-label-md {
68
- font: var(--nt-text-label-md);
69
- letter-spacing: var(--nt-letter-spacing-label);
70
- }
71
-
72
- .nt-text-label-sm {
73
- font: var(--nt-text-label-sm);
74
- letter-spacing: var(--nt-letter-spacing-label);
75
- }
76
-
77
- .nt-text-caption {
78
- font: var(--nt-text-caption);
79
- }
80
-
81
- .nt-text-mono-sm {
82
- font: var(--nt-text-mono-sm);
83
- }
84
-
85
- .nt-text-primary {
86
- color: var(--nt-text-primary);
87
- }
88
-
89
- .nt-text-secondary {
90
- color: var(--nt-text-secondary);
91
- }
92
-
93
- .nt-text-muted {
94
- color: var(--nt-text-muted);
95
- }
96
-
97
- .nt-text-subtle {
98
- color: var(--nt-text-subtle);
99
- }
100
-
101
- .nt-text-disabled {
102
- color: var(--nt-text-disabled);
103
- }
104
-
105
- .nt-text-success {
106
- color: var(--nt-success);
107
- }
108
-
109
- .nt-text-warning {
110
- color: var(--nt-warning);
111
- }
112
-
113
- .nt-text-danger {
114
- color: var(--nt-danger);
115
- }
116
-
117
- .nt-text-info {
118
- color: var(--nt-info);
119
- }
120
-
121
- .nt-text-left {
122
- text-align: start;
123
- }
124
-
125
- .nt-text-center {
126
- text-align: center;
127
- }
128
-
129
- .nt-text-right {
130
- text-align: end;
131
- }
132
-
133
- .nt-truncate {
134
- overflow: hidden;
135
- text-overflow: ellipsis;
136
- white-space: nowrap;
137
- }
138
-
139
- .nt-line-clamp-2,
140
- .nt-line-clamp-3 {
141
- display: -webkit-box;
142
- overflow: hidden;
143
- -webkit-box-orient: vertical;
144
- }
145
-
146
- .nt-line-clamp-2 {
147
- -webkit-line-clamp: 2;
148
- }
149
-
150
- .nt-line-clamp-3 {
151
- -webkit-line-clamp: 3;
152
- }
1
+ .nt-text-display-lg {
2
+ font: var(--nt-text-display-lg);
3
+ letter-spacing: var(--nt-letter-spacing-tight);
4
+ }
5
+
6
+ .nt-text-display-md {
7
+ font: var(--nt-text-display-md);
8
+ letter-spacing: var(--nt-letter-spacing-tight);
9
+ }
10
+
11
+ .nt-text-display-sm {
12
+ font: var(--nt-text-display-sm);
13
+ letter-spacing: var(--nt-letter-spacing-tight);
14
+ }
15
+
16
+ .nt-text-heading-lg {
17
+ font: var(--nt-text-heading-lg);
18
+ letter-spacing: var(--nt-letter-spacing-heading);
19
+ }
20
+
21
+ .nt-text-heading-md {
22
+ font: var(--nt-text-heading-md);
23
+ letter-spacing: var(--nt-letter-spacing-heading);
24
+ }
25
+
26
+ .nt-text-heading-sm {
27
+ font: var(--nt-text-heading-sm);
28
+ letter-spacing: var(--nt-letter-spacing-heading);
29
+ }
30
+
31
+ .nt-text-title-lg {
32
+ font: var(--nt-text-title-lg);
33
+ letter-spacing: var(--nt-letter-spacing-title);
34
+ }
35
+
36
+ .nt-text-title-md {
37
+ font: var(--nt-text-title-md);
38
+ letter-spacing: var(--nt-letter-spacing-title);
39
+ }
40
+
41
+ .nt-text-title-sm {
42
+ font: var(--nt-text-title-sm);
43
+ letter-spacing: var(--nt-letter-spacing-title);
44
+ }
45
+
46
+ .nt-text-body-lg {
47
+ font: var(--nt-text-body-lg);
48
+ }
49
+
50
+ .nt-text-body-md {
51
+ font: var(--nt-text-body-md);
52
+ }
53
+
54
+ .nt-text-body-sm {
55
+ font: var(--nt-text-body-sm);
56
+ }
57
+
58
+ .nt-text-body-xs {
59
+ font: var(--nt-text-body-xs);
60
+ }
61
+
62
+ .nt-text-label-lg {
63
+ font: var(--nt-text-label-lg);
64
+ letter-spacing: var(--nt-letter-spacing-label);
65
+ }
66
+
67
+ .nt-text-label-md {
68
+ font: var(--nt-text-label-md);
69
+ letter-spacing: var(--nt-letter-spacing-label);
70
+ }
71
+
72
+ .nt-text-label-sm {
73
+ font: var(--nt-text-label-sm);
74
+ letter-spacing: var(--nt-letter-spacing-label);
75
+ }
76
+
77
+ .nt-text-caption {
78
+ font: var(--nt-text-caption);
79
+ }
80
+
81
+ .nt-text-mono-sm {
82
+ font: var(--nt-text-mono-sm);
83
+ }
84
+
85
+ .nt-text-primary {
86
+ color: var(--nt-text-primary);
87
+ }
88
+
89
+ .nt-text-secondary {
90
+ color: var(--nt-text-secondary);
91
+ }
92
+
93
+ .nt-text-muted {
94
+ color: var(--nt-text-muted);
95
+ }
96
+
97
+ .nt-text-subtle {
98
+ color: var(--nt-text-subtle);
99
+ }
100
+
101
+ .nt-text-disabled {
102
+ color: var(--nt-text-disabled);
103
+ }
104
+
105
+ .nt-text-success {
106
+ color: var(--nt-success);
107
+ }
108
+
109
+ .nt-text-warning {
110
+ color: var(--nt-warning);
111
+ }
112
+
113
+ .nt-text-danger {
114
+ color: var(--nt-danger);
115
+ }
116
+
117
+ .nt-text-info {
118
+ color: var(--nt-info);
119
+ }
120
+
121
+ .nt-text-left {
122
+ text-align: start;
123
+ }
124
+
125
+ .nt-text-center {
126
+ text-align: center;
127
+ }
128
+
129
+ .nt-text-right {
130
+ text-align: end;
131
+ }
132
+
133
+ .nt-truncate {
134
+ overflow: hidden;
135
+ text-overflow: ellipsis;
136
+ white-space: nowrap;
137
+ }
138
+
139
+ .nt-line-clamp-2,
140
+ .nt-line-clamp-3 {
141
+ display: -webkit-box;
142
+ overflow: hidden;
143
+ -webkit-box-orient: vertical;
144
+ }
145
+
146
+ .nt-line-clamp-2 {
147
+ -webkit-line-clamp: 2;
148
+ }
149
+
150
+ .nt-line-clamp-3 {
151
+ -webkit-line-clamp: 3;
152
+ }
@@ -1,48 +1,48 @@
1
- .nt-sr-only {
2
- position: absolute;
3
- width: 1px;
4
- height: 1px;
5
- padding: 0;
6
- overflow: hidden;
7
- clip-path: inset(50%);
8
- white-space: nowrap;
9
- border: 0;
10
- }
11
-
12
- .nt-hidden {
13
- display: none !important;
14
- }
15
-
16
- .nt-invisible {
17
- visibility: hidden;
18
- }
19
-
20
- .nt-visible {
21
- visibility: visible;
22
- }
23
-
24
- .nt-desktop-only {
25
- display: initial;
26
- }
27
-
28
- .nt-mobile-only {
29
- display: none;
30
- }
31
-
32
- .nt-hide-scrollbar {
33
- scrollbar-width: none;
34
- }
35
-
36
- .nt-hide-scrollbar::-webkit-scrollbar {
37
- display: none;
38
- }
39
-
40
- @media (max-width: 48rem) {
41
- .nt-desktop-only {
42
- display: none !important;
43
- }
44
-
45
- .nt-mobile-only {
46
- display: initial;
47
- }
1
+ .nt-sr-only {
2
+ position: absolute;
3
+ width: 1px;
4
+ height: 1px;
5
+ padding: 0;
6
+ overflow: hidden;
7
+ clip-path: inset(50%);
8
+ white-space: nowrap;
9
+ border: 0;
10
+ }
11
+
12
+ .nt-hidden {
13
+ display: none !important;
14
+ }
15
+
16
+ .nt-invisible {
17
+ visibility: hidden;
18
+ }
19
+
20
+ .nt-visible {
21
+ visibility: visible;
22
+ }
23
+
24
+ .nt-desktop-only {
25
+ display: initial;
26
+ }
27
+
28
+ .nt-mobile-only {
29
+ display: none;
30
+ }
31
+
32
+ .nt-hide-scrollbar {
33
+ scrollbar-width: none;
34
+ }
35
+
36
+ .nt-hide-scrollbar::-webkit-scrollbar {
37
+ display: none;
38
+ }
39
+
40
+ @media (max-width: 48rem) {
41
+ .nt-desktop-only {
42
+ display: none !important;
43
+ }
44
+
45
+ .nt-mobile-only {
46
+ display: initial;
47
+ }
48
48
  }
@@ -0,0 +1,2 @@
1
+ export declare const NEETECHS_UI_VERSION = "0.1.0";
2
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ // Generated by scripts/sync-version.mjs from package.json. Do not edit.
2
+ export const NEETECHS_UI_VERSION = '0.1.0';
3
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,MAAM,CAAC,MAAM,mBAAmB,GAAG,OAAO,CAAC"}
@@ -0,0 +1,192 @@
1
+ # Neetechs UI upgrade plan
2
+
3
+ Single progress tracker for the 8-stage `@neetechs/ui` upgrade. Site chrome
4
+ (Header, Navbar, Account dropdown, Mobile navigation, Footer) is part of
5
+ Stages 4–6 below; there is no separate plan.
6
+
7
+ **Current stage:** 8: 0.1.0 published to npm on 2026-11-15 (local `npm publish` by the owner account, tagged `v0.1.0`); consumer migrations can start.
8
+
9
+ ## Billing-referenced design upgrade (2026-11-15)
10
+
11
+ Neetechs_Billing (Angular, consuming 0.0.4) was audited as the visual quality
12
+ reference: global styles, `billing-shell`, `_billing-page-theme`,
13
+ `_billing-detail-theme`, dashboard, invoice detail, stat/action/page-header
14
+ cards, overlays, right drawer, desktop/mobile header, and status badges.
15
+ Billing was not modified. Its reusable patterns were rebuilt on semantic
16
+ tokens; nothing was copied verbatim.
17
+
18
+ ### Comparison
19
+
20
+ | Area | Billing | Design System before | Result |
21
+ |---|---|---|---|
22
+ | KPI / stat cards | Compact cards, sentence-case labels, large tabular values, short tone bar, tinted exceptional states, skeleton loading, featured full-width card | Only `.nt-billing-metric` (finance-only, small value, no tone bar, no loading contract) | **Added** `.nt-stat` + intrinsic `.nt-stat-grid`; enhanced `.nt-billing-metric` |
23
+ | Detail fields, totals | `dl` grids with muted labels, inline totals with dividers, boxed grand total, breakdown tiles | `.nt-billing-amount-list` only | **Added** `.nt-description-list`; enhanced amount list (`--divided`, `--grand`) |
24
+ | Recent items / health list | Bordered rows with title + meta + end-aligned amount, status dot, calm hover | Tables, data grid, notification center only | **Added** `.nt-record-list` |
25
+ | Action bar (document header) | Eyebrow, title, inline status, contextual actions on a surface | `.nt-page-header` (no surface or status slot) | **Enhanced** `--surface`, `--compact`, `__title-row`, `__status` |
26
+ | Filter toolbar | Bordered surface, auto-fit field grid, actions aligned to fields | `.nt-page-toolbar` (inline only) | **Enhanced** `--surface`, `__fields`, `__actions` |
27
+ | Sidebar | Collapsible groups with chevrons, icon rail with section dividers, floating panel, off-canvas on mobile, selection-styled active item | Flat sections; rail used `display: none` on labels (accessible names lost); no groups; hidden on mobile | **Enhanced** groups, indicator, rail a11y fix, floating, off-canvas + `ntCreateSidebar` |
28
+ | Skip link | Pill sliding from the top | None | **Added** `.nt-skip-link` |
29
+ | Dialog, drawer, dropdown, tooltip, toast motion | Billing re-implements entry animations locally | Already richer in the DS (open/closed keyframes, swipe toasts, mobile sheets, focus management) | **Kept DS**; Billing should drop its local copies |
30
+ | Inputs, focus halo, tabular numerals, status badges | Local tag-level styles | Already in the DS | **Kept DS**; added generic billing status tones |
31
+
32
+ ### Strongest Billing patterns adopted
33
+ 1. Compact, calm workspace density: radius-xl panels, subtle borders, no heavy shadows.
34
+ 2. One headline figure per card with a tone bar instead of tinting the whole card.
35
+ 3. Sentence-case labels (Billing's own final override dropped uppercase labels).
36
+ 4. Selection-fill active navigation.
37
+ 5. Collapsible navigation groups and an icon rail with dividers.
38
+ 6. Inline status beside the document reference.
39
+ 7. A boxed grand total in totals cards.
40
+ 8. Tabular numerals everywhere amounts appear.
41
+
42
+ ### Motion and microinteractions
43
+ - Sidebar: active indicator grows in (`--nt-duration-normal`, `--nt-ease-emphasized`);
44
+ group height animates through `grid-template-rows` and closed items leave the tab
45
+ order through delayed `visibility`; chevron rotation is direction-aware; rail width
46
+ animates on the shell grid; off-canvas slides in with `--nt-ease-enter` and out
47
+ with `--nt-ease-exit`; the backdrop fades.
48
+ - Buttons: pending state keeps the button width (no layout shift); success and error play one halo pulse.
49
+ - Cards and stats: hover lift, pressed reset, selection ring.
50
+ - Stats: the loading pulse keeps the value footprint.
51
+ - Records: a border-strengthening hover and a chevron nudge toward the reading direction.
52
+ - Skeleton shimmer follows RTL. The skip link slides in.
53
+ - Every new transition and animation is disabled under `prefers-reduced-motion`, and the
54
+ shell honors `data-nt-motion`.
55
+
56
+ ### Intentionally not copied
57
+ | Billing pattern | Reason |
58
+ |---|---|
59
+ | Orange radial-gradient invoice header with a 5rem invoice number | Hardcoded `#f7931a`/rgba; conflicts with the blue default accent and token rules |
60
+ | Tag-level form styling inside `.billing-workspace` (`label`, `input`, `dt`) | The DS styles opt-in classes; global tag rules would leak into consumers |
61
+ | Modal backdrops with literal rgba and blur, z-index literals (40, 1000, 2200) | The DS has semantic backdrop and z-index scales (`docs/layering.md`) |
62
+ | Emoji language menu in `<details>` | Covered by `.nt-dropdown`/`ntCreateMenu` with keyboard support |
63
+ | Go-to-top button, radial-gradient page spinner, light-only `selection-loader` | Low reuse value or hardcoded colors; skeleton and loading-state already cover loading |
64
+ | RUT/ROT tax-reduction card markup | Swedish-tax-specific; generalized as `.nt-stat--wide` + `.nt-description-list--boxed` |
65
+ | Uppercase micro labels | Billing itself moved to sentence case; the DS keeps uppercase only for eyebrows |
66
+ | `::ng-deep`, `!important` overrides, Angular services and routing | Framework code and business logic stay out of the package |
67
+
68
+ ### Tests (2026-11-15, Windows, Node 24, Chromium; local, after `npm ci`)
69
+ | Command | Result |
70
+ |---|---|
71
+ | `npm test` (static contracts, build, `check:docs`, `check:api`, unit) | pass: 124/124 unit (+7 new) |
72
+ | `npx playwright test` | pass: 93/93 (+25 new in `workspace.spec.mjs`, including axe in 3 themes and a stat-grid snapshot); all 4 pre-existing snapshots unchanged |
73
+ | `npm run check:package` | pass: 282.7 kB packed, 381 files, clean consumer install + import |
74
+ | `check:api` baseline update | +127 additions, 0 removals |
75
+ | GitHub Actions on `235e000` (ubuntu) | **failed**: only the new stat-grid snapshot (Linux fallback font wrapped labels at a 1280px viewport; reproduced locally with Verdana) |
76
+ | GitHub Actions on `57ebc72` (ubuntu, full gate incl. Playwright and package check; publish skipped) | pass |
77
+
78
+ ### Unresolved issues
79
+ - Billing still ships local duplicates (`.billing-sidenav`, `.finance-stat-card`,
80
+ `.finance-filter-toolbar`, `.dashboard-record`, `.action-bar`, `.totals-card`, a
81
+ right-drawer animation). Remove them during the Billing migration (Prompt 14);
82
+ Billing was intentionally not modified here.
83
+ - `.nt-mobile-only` sets `display: none` at the utility layer and loses to components
84
+ loaded later (for example `.nt-button`). This predates this work and was left
85
+ unchanged because raising utility specificity affects every consumer; the shell uses
86
+ scoped toggle classes instead.
87
+ - `grid-template-rows`/`grid-template-columns` transitions and `:has()` need current
88
+ evergreen browsers. Older engines fall back to instant state changes and to the
89
+ previous pending-button behavior; nothing breaks.
90
+ - The rail uses `title` for icon-only labels; a positioned flyout tooltip would be
91
+ clipped by the scrolling nav and was not added.
92
+ - The stat-grid snapshot is captured at 1600px so text never wraps under either
93
+ platform's font metrics; it passes on Windows and Linux CI.
94
+ - `src.zip` is still tracked (owner decision, unchanged).
95
+
96
+ ## Release safety
97
+
98
+ - Pushes to `main` run verification only. npm publishing requires the owner to
99
+ run the release workflow manually with `publish: true` (see CONTRIBUTING.md).
100
+ - No consumer has been switched to the unpublished version. Consumer trials run
101
+ in throwaway clones in a temp directory; consumer repos are untouched.
102
+
103
+ ## Stage status
104
+
105
+ | Stage | Status | Evidence |
106
+ |---|---|---|
107
+ | 1. Package audit | done | `docs/design-system-audit.md` |
108
+ | 2. Design tokens | done (verified; no change needed) | 0 undefined tokens, z-index/breakpoint/motion scales, aliases in `tokens/compatibility.css`, `docs/design-token-contract.md`, `docs/layering.md` |
109
+ | 3. Theme system | done | Pre-paint bootstrap (`ntAppearanceBootstrapScript`), `updatePreference(partial)`; dark/light/high-contrast × 5 accents already supported; 140 contrast pairs checked |
110
+ | 4. Components | done | Audit vs. requested catalog: all present except button group and popover → added. **Site chrome:** header brand/nav/account slots, navbar, account dropdown, mobile drawer, footer |
111
+ | 5. Responsive & a11y | done | Header stacking fix, disclosure keyboard contracts, Escape/outside-click/focus-out, focus restore, modal mobile drawer, RTL (logical props + direction-aware arrows), 44px coarse targets, reduced motion, forced colors; `docs/layering.md` |
112
+ | 6. QA, tests, docs | done | +5 unit tests (bootstrap parity across 140 cases), +27 browser tests, `check:docs`, `check:api`, `check:package`; docs: components, site-chrome, layering, migration, CONTRIBUTING, README |
113
+ | 7. Release preparation | done (release candidate 0.1.0) | CHANGELOG, version 0.1.0, `npm pack` contents verified, clean consumer install, API superset of 0.0.4 |
114
+ | 8. Consumer integration | readiness verified; migrations blocked on publish | See "Consumer readiness" |
115
+
116
+ ## Site chrome deliverables (Stages 4–6)
117
+
118
+ | Requirement | Implementation | Verified by |
119
+ |---|---|---|
120
+ | Responsive header & footer on tokens | `shell/header.css` additions, `shell/footer.css` (container queries) | `site-chrome.spec.mjs` 320/375/1280px, LTR+RTL |
121
+ | Desktop / tablet / mobile | Navbar ≥ 64rem, mobile drawer below; account collapses to avatar < 40rem | desktop/mobile tests, viewport-grow test |
122
+ | Dark/light/high contrast, RTL, a11y | Semantic tokens only; logical properties; disclosure pattern | axe in dark, light, high contrast, Arabic RTL with menus open |
123
+ | Configurable logos, nav, account, footer, social | Plain markup slots; no routes/URLs/auth in package | `tests/pages/site-chrome.html` working example |
124
+ | Dropdown positioning, z-index, keyboard, outside click | Header layer, `--nt-z-dropdown` panels, `ntCreateNavbar`/`ntCreateAccountMenu` | elementFromPoint hit tests over cards; keyboard and dismissal tests |
125
+ | Framework independence | Plain DOM controllers with `destroy()`/`refresh()` | `check:architecture`, no framework imports |
126
+ | Preserve existing styling | Additive classes; `.nt-header` layer at zero specificity; existing snapshots unchanged | 41 pre-existing browser tests incl. visual snapshots pass |
127
+
128
+ ## Discovered bugs
129
+
130
+ | Bug | Status |
131
+ |---|---|
132
+ | CI blocked since 0.0.4 by double-escaped regexes in `tests/brand-palette.test.mjs` | fixed (`38b6f31`) |
133
+ | CI would auto-publish to npm on any green push to `main` | fixed (`38b6f31`) |
134
+ | Published 0.0.4 exports `NEETECHS_UI_VERSION = '0.0.2'` | fixed (`38b6f31`) |
135
+ | Arabic heading test false positive when Noto Sans Arabic is installed | fixed (`38b6f31`) |
136
+ | `test-results/` tracked in git | fixed (`38b6f31`) |
137
+ | Standalone header dropdowns could render behind positioned/hovered cards | fixed (`d69d0c9`) |
138
+ | Theme flash before app bundle runs (no pre-paint bootstrap) | fixed (`03abaf4`) |
139
+ | `NtDisclosureController` types had no implementation | fixed (`57ef4a6`) |
140
+ | README samples used non-existent classes | fixed (`d69d0c9`) |
141
+ | Stale `src.zip` (1.5 MB) tracked in git | open (owner decision; not published) |
142
+
143
+ ## Tests executed (2026-11-15, Windows, Node 24.22, Chromium 149)
144
+
145
+ | Command | Result |
146
+ |---|---|
147
+ | `npm test` (7 static contracts, build, `check:docs`, `check:api`, unit) | pass: 117/117 unit |
148
+ | `npx playwright test` | pass: 68/68 |
149
+ | `npm run check:package` | pass: 0.1.0 tarball 258.9 kB, 370 files, clean consumer install + import |
150
+ | `node scripts/check-api.mjs --compare <0.0.4 tarball>` | pass: nothing removed; 83 additions |
151
+ | GitHub Actions on `38b6f31`, `d69d0c9`, `57ef4a6`, `3fca265` (ubuntu, full gate incl. Playwright, publish skipped) | pass; npm still at 0.0.4 |
152
+ | MyAccount trial: `ng build` ×3, `ng test` ×2 | build pass; tests identical 140/161 on 0.0.4 and 0.1.0 |
153
+
154
+ ## Consumer readiness (Stage 8)
155
+
156
+ | App | Current | Bridge tokens identical to 0.1.0 | Trial build with 0.1.0 |
157
+ |---|---|---|---|
158
+ | Neetechs_Myaccount | 0.0.4 | 47 / 47 | `ng build` passes on 0.0.4, on 0.1.0, and on 0.1.0 with the bridge deleted; `ng test` 140/161 on both 0.0.4 and 0.1.0 (identical 21 pre-existing failures) |
159
+ | Neetechs_Apply | 0.0.4 | 50 / 51 (keep `--nt-text-label-xs`) | not run |
160
+ | Neetechs_Billing | 0.0.4 | 50 / 52 (keep label-xs, review selection border) | not run |
161
+ | Neetechs_AI | 0.0.4 | 45 / 49 (4 near-identical deltas) | not run |
162
+ | Neetechs_devices | 0.0.4 | no bridge | not run |
163
+ | Neetechs_Frontend, Neetechs_Accounts | not consumers | — | — |
164
+
165
+ ### MyAccount trial details (throwaway clone of `d7658b0`, packed 0.1.0 tarball)
166
+
167
+ - Initial bundle: 1.04 MB (0.0.4) → 1.06 MB (0.1.0, +18.8 kB raw CSS for new modules
168
+ because the app imports the full stylesheet) → 1.06 MB minus 1.8 kB with the bridge
169
+ deleted. The app's 1.00 MB budget warning pre-exists on 0.0.4.
170
+ - Tests: the same 21 specs fail on 0.0.4 and 0.1.0 (`NullInjectorError: No provider for
171
+ ActivatedRoute` and similar missing test providers in component specs). Not caused by
172
+ `@neetechs/ui`; recorded as a MyAccount migration issue to fix in that repo.
173
+ - Header z-index: MyAccount's last commit hand-fixed an account dropdown z-index; the
174
+ package header layer covers this case once adopted.
175
+
176
+ ### Recorded migration issues
177
+
178
+ | App | Issue | Owner |
179
+ |---|---|---|
180
+ | Neetechs_Myaccount | 21 component specs fail from missing test providers (pre-existing) | MyAccount |
181
+ | Neetechs_Myaccount | Initial bundle budget (1 MB) already exceeded on 0.0.4 | MyAccount |
182
+ | Neetechs_Billing | Local `.site-header` z-index rule duplicates the new package header layer | Billing (remove after upgrade) |
183
+ | Neetechs_AI | Own `useTheme` hook writes `data-nt-theme`; consider the shared controller and `updatePreference` | AI |
184
+
185
+ ## Blockers
186
+
187
+ - None. 0.1.0 was published on 2026-11-15 at the owner's request.
188
+
189
+ ## Next actions
190
+
191
+ 1. Migrate MyAccount (delete the 47-token bridge), then Billing, Apply, AI, devices.
192
+ 2. Owner: decide whether to delete `src.zip`.