@neetechs/ui 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/README.md +640 -0
  2. package/dist/ai/ai-action-button/ai-action-button.css +270 -0
  3. package/dist/ai/ai-approval-card/ai-approval-card.css +321 -0
  4. package/dist/ai/ai-conversation-panel/ai-conversation-panel.css +404 -0
  5. package/dist/ai/ai-prompt-input/ai-prompt-input.css +378 -0
  6. package/dist/ai/ai-proposal-card/ai-proposal-card.css +359 -0
  7. package/dist/ai/ai-suggestion-card/ai-suggestion-card.css +294 -0
  8. package/dist/ai/ai-tool-call/ai-tool-call.css +256 -0
  9. package/dist/ai/index.css +7 -0
  10. package/dist/behaviors/dialog.d.ts +27 -0
  11. package/dist/behaviors/dialog.d.ts.map +1 -0
  12. package/dist/behaviors/dialog.js +97 -0
  13. package/dist/behaviors/dialog.js.map +1 -0
  14. package/dist/behaviors/drawer.d.ts +29 -0
  15. package/dist/behaviors/drawer.d.ts.map +1 -0
  16. package/dist/behaviors/drawer.js +102 -0
  17. package/dist/behaviors/drawer.js.map +1 -0
  18. package/dist/behaviors/dropdown.d.ts +26 -0
  19. package/dist/behaviors/dropdown.d.ts.map +1 -0
  20. package/dist/behaviors/dropdown.js +178 -0
  21. package/dist/behaviors/dropdown.js.map +1 -0
  22. package/dist/behaviors/focus-trap.d.ts +26 -0
  23. package/dist/behaviors/focus-trap.d.ts.map +1 -0
  24. package/dist/behaviors/focus-trap.js +170 -0
  25. package/dist/behaviors/focus-trap.js.map +1 -0
  26. package/dist/behaviors/ids.d.ts +6 -0
  27. package/dist/behaviors/ids.d.ts.map +1 -0
  28. package/dist/behaviors/ids.js +30 -0
  29. package/dist/behaviors/ids.js.map +1 -0
  30. package/dist/behaviors/index.d.ts +8 -0
  31. package/dist/behaviors/index.d.ts.map +1 -0
  32. package/dist/behaviors/index.js +8 -0
  33. package/dist/behaviors/index.js.map +1 -0
  34. package/dist/behaviors/keyboard.d.ts +28 -0
  35. package/dist/behaviors/keyboard.d.ts.map +1 -0
  36. package/dist/behaviors/keyboard.js +199 -0
  37. package/dist/behaviors/keyboard.js.map +1 -0
  38. package/dist/behaviors/overlay.d.ts +21 -0
  39. package/dist/behaviors/overlay.d.ts.map +1 -0
  40. package/dist/behaviors/overlay.js +145 -0
  41. package/dist/behaviors/overlay.js.map +1 -0
  42. package/dist/components/alert/alert.css +217 -0
  43. package/dist/components/avatar/avatar.css +219 -0
  44. package/dist/components/badge/badge.css +175 -0
  45. package/dist/components/breadcrumb/breadcrumb.css +205 -0
  46. package/dist/components/button/button.css +167 -0
  47. package/dist/components/card/card.css +220 -0
  48. package/dist/components/checkbox/checkbox.css +187 -0
  49. package/dist/components/chip/chip.css +268 -0
  50. package/dist/components/data-grid/data-grid.css +369 -0
  51. package/dist/components/dialog/dialog.css +275 -0
  52. package/dist/components/drawer/drawer.css +403 -0
  53. package/dist/components/dropdown/dropdown.css +298 -0
  54. package/dist/components/icon-button/icon-button.css +158 -0
  55. package/dist/components/index.css +30 -0
  56. package/dist/components/input/input.css +163 -0
  57. package/dist/components/menu/menu.css +314 -0
  58. package/dist/components/modal/modal.css +318 -0
  59. package/dist/components/pagination/pagination.css +250 -0
  60. package/dist/components/panel/panel.css +283 -0
  61. package/dist/components/progress/progress.css +248 -0
  62. package/dist/components/radio/radio.css +164 -0
  63. package/dist/components/segmented-control/segmented-control.css +205 -0
  64. package/dist/components/select/select.css +103 -0
  65. package/dist/components/skeleton/skeleton.css +263 -0
  66. package/dist/components/split-button/split-button.css +285 -0
  67. package/dist/components/switch/switch.css +181 -0
  68. package/dist/components/table/table.css +0 -0
  69. package/dist/components/tabs/tabs.css +289 -0
  70. package/dist/components/textarea/textarea.css +86 -0
  71. package/dist/components/toast/toast.css +323 -0
  72. package/dist/components/tooltip/tooltip.css +255 -0
  73. package/dist/domain/billing/index.css +498 -0
  74. package/dist/domain/calendar/day-slice/day-slice.css +383 -0
  75. package/dist/domain/calendar/day-timeline/day-timeline.css +324 -0
  76. package/dist/domain/calendar/event-card/event-card.css +337 -0
  77. package/dist/domain/calendar/index.css +5 -0
  78. package/dist/domain/calendar/month-grid/month-grid.css +420 -0
  79. package/dist/domain/calendar/week-grid/week-grid.css +470 -0
  80. package/dist/domain/companies/index.css +526 -0
  81. package/dist/domain/index.css +3 -0
  82. package/dist/index.css +6 -0
  83. package/dist/index.d.ts +5 -0
  84. package/dist/index.d.ts.map +1 -0
  85. package/dist/index.js +5 -0
  86. package/dist/index.js.map +1 -0
  87. package/dist/patterns/command-palette/command-palette.css +439 -0
  88. package/dist/patterns/company-switcher/company-switcher.css +363 -0
  89. package/dist/patterns/empty-state/empty-state.css +259 -0
  90. package/dist/patterns/error-state/error-state.css +272 -0
  91. package/dist/patterns/index.css +9 -0
  92. package/dist/patterns/loading-state/loading-state.css +288 -0
  93. package/dist/patterns/notification-center/notification-center.css +438 -0
  94. package/dist/patterns/profile-menu/profile-menu.css +297 -0
  95. package/dist/patterns/search-bar/search-bar.css +444 -0
  96. package/dist/patterns/workspace-switcher/workspace-switcher.css +380 -0
  97. package/dist/shell/app-shell/app-shell.css +68 -0
  98. package/dist/shell/content-frame/content-frame.css +94 -0
  99. package/dist/shell/header/header.css +178 -0
  100. package/dist/shell/index.css +6 -0
  101. package/dist/shell/mobile-nav/mobile-nav.css +171 -0
  102. package/dist/shell/right-drawer/right-drawer.css +108 -0
  103. package/dist/shell/sidebar/sidebar.css +146 -0
  104. package/dist/styles/animations/motion.css +162 -0
  105. package/dist/styles/base.css +82 -0
  106. package/dist/styles/index.css +21 -0
  107. package/dist/styles/reset.css +51 -0
  108. package/dist/styles/themes/dark.css +120 -0
  109. package/dist/styles/themes/high-contrast.css +119 -0
  110. package/dist/styles/themes/light.css +119 -0
  111. package/dist/styles/tokens/breakpoints.css +15 -0
  112. package/dist/styles/tokens/color.css +97 -0
  113. package/dist/styles/tokens/elevation.css +32 -0
  114. package/dist/styles/tokens/index.css +8 -0
  115. package/dist/styles/tokens/motion.css +36 -0
  116. package/dist/styles/tokens/radius.css +21 -0
  117. package/dist/styles/tokens/spacing.css +50 -0
  118. package/dist/styles/tokens/typography.css +84 -0
  119. package/dist/styles/tokens/z-index.css +15 -0
  120. package/dist/styles/utilities/layout.css +135 -0
  121. package/dist/styles/utilities/text.css +152 -0
  122. package/dist/styles/utilities/visibility.css +48 -0
  123. package/dist/types/index.d.ts +65 -0
  124. package/dist/types/index.d.ts.map +1 -0
  125. package/dist/types/index.js +2 -0
  126. package/dist/types/index.js.map +1 -0
  127. package/docs/accessibility.md +0 -0
  128. package/docs/component-guidelines.md +0 -0
  129. package/docs/migration.md +0 -0
  130. package/docs/theming.md +0 -0
  131. package/package.json +85 -0
  132. package/src/ai/ai-action-button/ai-action-button.css +270 -0
  133. package/src/ai/ai-approval-card/ai-approval-card.css +321 -0
  134. package/src/ai/ai-conversation-panel/ai-conversation-panel.css +404 -0
  135. package/src/ai/ai-prompt-input/ai-prompt-input.css +378 -0
  136. package/src/ai/ai-proposal-card/ai-proposal-card.css +359 -0
  137. package/src/ai/ai-suggestion-card/ai-suggestion-card.css +294 -0
  138. package/src/ai/ai-tool-call/ai-tool-call.css +256 -0
  139. package/src/ai/index.css +7 -0
  140. package/src/behaviors/dialog.ts +168 -0
  141. package/src/behaviors/drawer.ts +177 -0
  142. package/src/behaviors/dropdown.ts +281 -0
  143. package/src/behaviors/focus-trap.ts +261 -0
  144. package/src/behaviors/ids.ts +48 -0
  145. package/src/behaviors/index.ts +7 -0
  146. package/src/behaviors/keyboard.ts +303 -0
  147. package/src/behaviors/overlay.ts +231 -0
  148. package/src/components/alert/alert.css +217 -0
  149. package/src/components/avatar/avatar.css +219 -0
  150. package/src/components/badge/badge.css +175 -0
  151. package/src/components/breadcrumb/breadcrumb.css +205 -0
  152. package/src/components/button/button.css +167 -0
  153. package/src/components/card/card.css +220 -0
  154. package/src/components/checkbox/checkbox.css +187 -0
  155. package/src/components/chip/chip.css +268 -0
  156. package/src/components/data-grid/data-grid.css +369 -0
  157. package/src/components/dialog/dialog.css +275 -0
  158. package/src/components/drawer/drawer.css +403 -0
  159. package/src/components/dropdown/dropdown.css +298 -0
  160. package/src/components/icon-button/icon-button.css +158 -0
  161. package/src/components/index.css +30 -0
  162. package/src/components/input/input.css +163 -0
  163. package/src/components/menu/menu.css +314 -0
  164. package/src/components/modal/modal.css +318 -0
  165. package/src/components/pagination/pagination.css +250 -0
  166. package/src/components/panel/panel.css +283 -0
  167. package/src/components/progress/progress.css +248 -0
  168. package/src/components/radio/radio.css +164 -0
  169. package/src/components/segmented-control/segmented-control.css +205 -0
  170. package/src/components/select/select.css +103 -0
  171. package/src/components/skeleton/skeleton.css +263 -0
  172. package/src/components/split-button/split-button.css +285 -0
  173. package/src/components/switch/switch.css +181 -0
  174. package/src/components/table/table.css +0 -0
  175. package/src/components/tabs/tabs.css +289 -0
  176. package/src/components/textarea/textarea.css +86 -0
  177. package/src/components/toast/toast.css +323 -0
  178. package/src/components/tooltip/tooltip.css +255 -0
  179. package/src/domain/billing/index.css +498 -0
  180. package/src/domain/calendar/day-slice/day-slice.css +383 -0
  181. package/src/domain/calendar/day-timeline/day-timeline.css +324 -0
  182. package/src/domain/calendar/event-card/event-card.css +337 -0
  183. package/src/domain/calendar/index.css +5 -0
  184. package/src/domain/calendar/month-grid/month-grid.css +420 -0
  185. package/src/domain/calendar/week-grid/week-grid.css +470 -0
  186. package/src/domain/companies/index.css +526 -0
  187. package/src/domain/index.css +3 -0
  188. package/src/index.css +6 -0
  189. package/src/index.ts +5 -0
  190. package/src/patterns/command-palette/command-palette.css +439 -0
  191. package/src/patterns/company-switcher/company-switcher.css +363 -0
  192. package/src/patterns/empty-state/empty-state.css +259 -0
  193. package/src/patterns/error-state/error-state.css +272 -0
  194. package/src/patterns/index.css +9 -0
  195. package/src/patterns/loading-state/loading-state.css +288 -0
  196. package/src/patterns/notification-center/notification-center.css +438 -0
  197. package/src/patterns/profile-menu/profile-menu.css +297 -0
  198. package/src/patterns/search-bar/search-bar.css +444 -0
  199. package/src/patterns/workspace-switcher/workspace-switcher.css +380 -0
  200. package/src/shell/app-shell/app-shell.css +68 -0
  201. package/src/shell/content-frame/content-frame.css +94 -0
  202. package/src/shell/header/header.css +178 -0
  203. package/src/shell/index.css +6 -0
  204. package/src/shell/mobile-nav/mobile-nav.css +171 -0
  205. package/src/shell/right-drawer/right-drawer.css +108 -0
  206. package/src/shell/sidebar/sidebar.css +146 -0
  207. package/src/styles/animations/motion.css +162 -0
  208. package/src/styles/base.css +82 -0
  209. package/src/styles/index.css +21 -0
  210. package/src/styles/reset.css +51 -0
  211. package/src/styles/themes/dark.css +120 -0
  212. package/src/styles/themes/high-contrast.css +119 -0
  213. package/src/styles/themes/light.css +119 -0
  214. package/src/styles/tokens/breakpoints.css +15 -0
  215. package/src/styles/tokens/color.css +97 -0
  216. package/src/styles/tokens/elevation.css +32 -0
  217. package/src/styles/tokens/index.css +8 -0
  218. package/src/styles/tokens/motion.css +36 -0
  219. package/src/styles/tokens/radius.css +21 -0
  220. package/src/styles/tokens/spacing.css +50 -0
  221. package/src/styles/tokens/typography.css +84 -0
  222. package/src/styles/tokens/z-index.css +15 -0
  223. package/src/styles/utilities/layout.css +135 -0
  224. package/src/styles/utilities/text.css +152 -0
  225. package/src/styles/utilities/visibility.css +48 -0
  226. package/src/types/index.ts +125 -0
package/README.md ADDED
@@ -0,0 +1,640 @@
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
+ Add theme attributes to `html`, `body`, or your app root.
85
+
86
+ ```html
87
+ <html data-nt-theme="dark" data-nt-accent="orange" data-nt-density="comfortable">
88
+ ...
89
+ </html>
90
+ ```
91
+
92
+ Supported themes:
93
+
94
+ ```txt
95
+ dark
96
+ light
97
+ high-contrast
98
+ ```
99
+
100
+ Supported accents:
101
+
102
+ ```txt
103
+ orange
104
+ blue
105
+ green
106
+ purple
107
+ neutral
108
+ ```
109
+
110
+ Supported density:
111
+
112
+ ```txt
113
+ compact
114
+ comfortable
115
+ spacious
116
+ ```
117
+
118
+ ## Recommended app setup
119
+
120
+ For a full Neetechs app, import the full stylesheet once at the app root:
121
+
122
+ ```ts
123
+ import '@neetechs/ui/styles.css';
124
+ ```
125
+
126
+ Then set the root attributes:
127
+
128
+ ```html
129
+ <body data-nt-theme="dark" data-nt-accent="orange" data-nt-density="comfortable">
130
+ <div class="nt-app-shell">
131
+ ...
132
+ </div>
133
+ </body>
134
+ ```
135
+
136
+ 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.
137
+
138
+ ## Basic button
139
+
140
+ ```html
141
+ <button class="nt-button nt-button--primary">
142
+ Save changes
143
+ </button>
144
+
145
+ <button class="nt-button nt-button--secondary">
146
+ Cancel
147
+ </button>
148
+
149
+ <button class="nt-button nt-button--ghost">
150
+ More
151
+ </button>
152
+ ```
153
+
154
+ ## Basic input
155
+
156
+ ```html
157
+ <label class="nt-field">
158
+ <span class="nt-field__label">Company name</span>
159
+ <input class="nt-input" placeholder="Neetechs" />
160
+ <span class="nt-field__hint">Used across your workspace.</span>
161
+ </label>
162
+ ```
163
+
164
+ Invalid input:
165
+
166
+ ```html
167
+ <label class="nt-field nt-field--error">
168
+ <span class="nt-field__label">Email</span>
169
+ <input class="nt-input" aria-invalid="true" placeholder="you@example.com" />
170
+ <span class="nt-field__error">Enter a valid email.</span>
171
+ </label>
172
+ ```
173
+
174
+ ## Card
175
+
176
+ ```html
177
+ <section class="nt-card">
178
+ <header class="nt-card__header">
179
+ <div class="nt-card__header-main">
180
+ <p class="nt-card__eyebrow">Workspace</p>
181
+ <h2 class="nt-card__title">Company Center</h2>
182
+ <p class="nt-card__subtitle">
183
+ Manage companies, branding, team, and billing.
184
+ </p>
185
+ </div>
186
+
187
+ <div class="nt-card__actions">
188
+ <button class="nt-button nt-button--secondary">Settings</button>
189
+ </div>
190
+ </header>
191
+
192
+ <div class="nt-card__body">
193
+ <p>Put your content here.</p>
194
+ </div>
195
+
196
+ <footer class="nt-card__footer">
197
+ <span class="nt-card__meta">Updated today</span>
198
+ <button class="nt-button nt-button--primary">Open</button>
199
+ </footer>
200
+ </section>
201
+ ```
202
+
203
+ ## App shell
204
+
205
+ ```html
206
+ <div class="nt-app-shell">
207
+ <aside class="nt-sidebar">
208
+ ...
209
+ </aside>
210
+
211
+ <div class="nt-shell-main">
212
+ <header class="nt-header">
213
+ ...
214
+ </header>
215
+
216
+ <main class="nt-content-frame">
217
+ ...
218
+ </main>
219
+ </div>
220
+ </div>
221
+ ```
222
+
223
+ ## Company switcher
224
+
225
+ ```html
226
+ <div class="nt-company-switcher">
227
+ <header class="nt-company-switcher__header">
228
+ <div class="nt-company-switcher__header-main">
229
+ <span class="nt-company-switcher__eyebrow">Active company</span>
230
+ <h2 class="nt-company-switcher__title">Switch company</h2>
231
+ <p class="nt-company-switcher__description">
232
+ Choose the company you want to manage.
233
+ </p>
234
+ </div>
235
+ </header>
236
+
237
+ <div class="nt-company-switcher__body">
238
+ <button class="nt-company-switcher__item nt-company-switcher__item--active">
239
+ <span class="nt-company-switcher__logo">SD</span>
240
+
241
+ <span class="nt-company-switcher__item-main">
242
+ <span class="nt-company-switcher__name">Sydfix</span>
243
+ <span class="nt-company-switcher__meta">
244
+ <span class="nt-company-switcher__country">SE</span>
245
+ <span class="nt-company-switcher__role">owner</span>
246
+ <span class="nt-company-switcher__currency">SEK</span>
247
+ </span>
248
+ </span>
249
+
250
+ <span class="nt-company-switcher__check">✓</span>
251
+ </button>
252
+ </div>
253
+
254
+ <footer class="nt-company-switcher__footer">
255
+ <a class="nt-company-switcher__footer-action" href="/companies/create">
256
+ Create company
257
+ </a>
258
+ </footer>
259
+ </div>
260
+ ```
261
+
262
+ ## Profile menu
263
+
264
+ ```html
265
+ <div class="nt-profile-menu">
266
+ <header class="nt-profile-menu__header">
267
+ <span class="nt-avatar">SJ</span>
268
+
269
+ <div class="nt-profile-menu__identity">
270
+ <span class="nt-profile-menu__name">Sayed Jihad ElSayed</span>
271
+ <span class="nt-profile-menu__email">jelsayed@uab.edu</span>
272
+ </div>
273
+ </header>
274
+
275
+ <div class="nt-profile-menu__body">
276
+ <a class="nt-profile-menu__item" href="/profile">
277
+ <span class="nt-profile-menu__item-icon">👤</span>
278
+ <span class="nt-profile-menu__item-main">
279
+ <span class="nt-profile-menu__item-title">Profile</span>
280
+ </span>
281
+ </a>
282
+
283
+ <a class="nt-profile-menu__item" href="/settings">
284
+ <span class="nt-profile-menu__item-icon">⚙</span>
285
+ <span class="nt-profile-menu__item-main">
286
+ <span class="nt-profile-menu__item-title">Settings</span>
287
+ </span>
288
+ </a>
289
+ </div>
290
+ </div>
291
+ ```
292
+
293
+ ## AI prompt input
294
+
295
+ ```html
296
+ <form class="nt-ai-prompt-input">
297
+ <div class="nt-ai-prompt-input__header">
298
+ <div class="nt-ai-prompt-input__title">
299
+ <span class="nt-ai-prompt-input__title-icon">✦</span>
300
+ Ask AI
301
+ </div>
302
+
303
+ <div class="nt-ai-prompt-input__meta">GPT</div>
304
+ </div>
305
+
306
+ <div class="nt-ai-prompt-input__body">
307
+ <textarea
308
+ class="nt-ai-prompt-input__textarea"
309
+ placeholder="Ask AI to plan your day..."
310
+ ></textarea>
311
+ </div>
312
+
313
+ <footer class="nt-ai-prompt-input__footer">
314
+ <div class="nt-ai-prompt-input__tools">
315
+ <button class="nt-ai-prompt-input__tool" type="button">Calendar</button>
316
+ <button class="nt-ai-prompt-input__tool" type="button">Company</button>
317
+ </div>
318
+
319
+ <div class="nt-ai-prompt-input__actions">
320
+ <button class="nt-ai-prompt-input__submit" type="submit">
321
+ Generate
322
+ </button>
323
+ </div>
324
+ </footer>
325
+ </form>
326
+ ```
327
+
328
+ ## AI proposal card
329
+
330
+ ```html
331
+ <section class="nt-ai-proposal-card">
332
+ <header class="nt-ai-proposal-card__header">
333
+ <span class="nt-ai-proposal-card__icon">✦</span>
334
+
335
+ <div class="nt-ai-proposal-card__header-main">
336
+ <span class="nt-ai-proposal-card__eyebrow">AI proposal</span>
337
+ <h2 class="nt-ai-proposal-card__title">Schedule focus block</h2>
338
+ <p class="nt-ai-proposal-card__description">
339
+ AI found a free slot based on your calendar.
340
+ </p>
341
+ </div>
342
+
343
+ <span class="nt-ai-proposal-card__confidence nt-ai-proposal-card__confidence--high">
344
+ High confidence
345
+ </span>
346
+ </header>
347
+
348
+ <div class="nt-ai-proposal-card__body">
349
+ <div class="nt-ai-proposal-card__summary">
350
+ <h3 class="nt-ai-proposal-card__summary-title">Summary</h3>
351
+ <p class="nt-ai-proposal-card__summary-text">
352
+ Create a 90-minute deep work session tomorrow morning.
353
+ </p>
354
+ </div>
355
+ </div>
356
+
357
+ <footer class="nt-ai-proposal-card__footer">
358
+ <span class="nt-ai-proposal-card__footer-text">
359
+ Review before applying.
360
+ </span>
361
+
362
+ <div class="nt-ai-proposal-card__actions">
363
+ <button class="nt-button nt-button--secondary">Reject</button>
364
+ <button class="nt-button nt-button--primary">Apply</button>
365
+ </div>
366
+ </footer>
367
+ </section>
368
+ ```
369
+
370
+ ## Calendar month grid
371
+
372
+ ```html
373
+ <section class="nt-calendar-month-grid">
374
+ <header class="nt-calendar-month-grid__header">
375
+ <div class="nt-calendar-month-grid__header-main">
376
+ <span class="nt-calendar-month-grid__eyebrow">Calendar</span>
377
+ <h2 class="nt-calendar-month-grid__title">June 2026</h2>
378
+ </div>
379
+
380
+ <div class="nt-calendar-month-grid__actions">
381
+ <button class="nt-button nt-button--secondary">Today</button>
382
+ <button class="nt-button nt-button--primary">New event</button>
383
+ </div>
384
+ </header>
385
+
386
+ <div class="nt-calendar-month-grid__body">
387
+ <div class="nt-calendar-month-grid__weekdays">
388
+ <div class="nt-calendar-month-grid__weekday">Mon</div>
389
+ <div class="nt-calendar-month-grid__weekday">Tue</div>
390
+ <div class="nt-calendar-month-grid__weekday">Wed</div>
391
+ <div class="nt-calendar-month-grid__weekday">Thu</div>
392
+ <div class="nt-calendar-month-grid__weekday">Fri</div>
393
+ <div class="nt-calendar-month-grid__weekday">Sat</div>
394
+ <div class="nt-calendar-month-grid__weekday">Sun</div>
395
+ </div>
396
+
397
+ <div class="nt-calendar-month-grid__days">
398
+ <button class="nt-calendar-month-grid__day nt-calendar-month-grid__day--interactive">
399
+ <span class="nt-calendar-month-grid__day-header">
400
+ <span class="nt-calendar-month-grid__day-number">1</span>
401
+ </span>
402
+
403
+ <span class="nt-calendar-month-grid__events">
404
+ <span class="nt-calendar-month-grid__event nt-calendar-month-grid__event--busy">
405
+ <span class="nt-calendar-month-grid__event-dot"></span>
406
+ <span class="nt-calendar-month-grid__event-title">Team sync</span>
407
+ </span>
408
+ </span>
409
+ </button>
410
+ </div>
411
+ </div>
412
+ </section>
413
+ ```
414
+
415
+ ## Billing document
416
+
417
+ ```html
418
+ <section class="nt-billing-document">
419
+ <header class="nt-billing-document__header">
420
+ <div class="nt-billing-document__header-main">
421
+ <span class="nt-billing-document__eyebrow">Invoice</span>
422
+ <h2 class="nt-billing-document__title">INV-1001</h2>
423
+ <p class="nt-billing-document__description">Issued to Sydfix customer.</p>
424
+ </div>
425
+
426
+ <span class="nt-billing-status nt-billing-status--paid">
427
+ <span class="nt-billing-status__dot"></span>
428
+ Paid
429
+ </span>
430
+ </header>
431
+
432
+ <div class="nt-billing-document__body">
433
+ <div class="nt-billing-amount-list">
434
+ <div class="nt-billing-amount-row">
435
+ <span class="nt-billing-amount-row__label">Subtotal</span>
436
+ <span class="nt-billing-amount-row__value">1,000 SEK</span>
437
+ </div>
438
+
439
+ <div class="nt-billing-amount-row nt-billing-amount-row--total">
440
+ <span class="nt-billing-amount-row__label">Total</span>
441
+ <span class="nt-billing-amount-row__value">1,250 SEK</span>
442
+ </div>
443
+ </div>
444
+ </div>
445
+ </section>
446
+ ```
447
+
448
+ ## TypeScript helpers
449
+
450
+ ```ts
451
+ import {
452
+ ntCreateDialog,
453
+ ntCreateDrawer,
454
+ ntCreateDropdown,
455
+ } from '@neetechs/ui/behaviors';
456
+ ```
457
+
458
+ Dropdown example:
459
+
460
+ ```ts
461
+ import { ntCreateDropdown } from '@neetechs/ui/behaviors';
462
+
463
+ const trigger = document.querySelector<HTMLElement>('#profile-trigger');
464
+ const content = document.querySelector<HTMLElement>('#profile-menu');
465
+
466
+ if (trigger && content) {
467
+ ntCreateDropdown({
468
+ trigger,
469
+ content,
470
+ });
471
+ }
472
+ ```
473
+
474
+ Dialog example:
475
+
476
+ ```ts
477
+ import { ntCreateDialog } from '@neetechs/ui/behaviors';
478
+
479
+ const trigger = document.querySelector<HTMLElement>('#open-dialog');
480
+ const dialog = document.querySelector<HTMLElement>('#dialog');
481
+ const backdrop = document.querySelector<HTMLElement>('#dialog-backdrop');
482
+ const title = document.querySelector<HTMLElement>('#dialog-title');
483
+
484
+ if (dialog) {
485
+ ntCreateDialog({
486
+ trigger,
487
+ dialog,
488
+ backdrop,
489
+ title,
490
+ });
491
+ }
492
+ ```
493
+
494
+ Drawer example:
495
+
496
+ ```ts
497
+ import { ntCreateDrawer } from '@neetechs/ui/behaviors';
498
+
499
+ const trigger = document.querySelector<HTMLElement>('#open-drawer');
500
+ const drawer = document.querySelector<HTMLElement>('#drawer');
501
+ const backdrop = document.querySelector<HTMLElement>('#drawer-backdrop');
502
+
503
+ if (drawer) {
504
+ ntCreateDrawer({
505
+ trigger,
506
+ drawer,
507
+ backdrop,
508
+ side: 'right',
509
+ });
510
+ }
511
+ ```
512
+
513
+ ## Package exports
514
+
515
+ Main TypeScript export:
516
+
517
+ ```ts
518
+ import { NEETECHS_UI_PACKAGE, NEETECHS_UI_VERSION } from '@neetechs/ui';
519
+ ```
520
+
521
+ Behavior helpers:
522
+
523
+ ```ts
524
+ import { ntCreateDropdown } from '@neetechs/ui/behaviors';
525
+ ```
526
+
527
+ CSS exports:
528
+
529
+ ```txt
530
+ @neetechs/ui/styles.css
531
+ @neetechs/ui/base.css
532
+ @neetechs/ui/tokens.css
533
+ @neetechs/ui/reset.css
534
+ @neetechs/ui/shell.css
535
+ @neetechs/ui/components.css
536
+ @neetechs/ui/patterns.css
537
+ @neetechs/ui/ai.css
538
+ @neetechs/ui/domain.css
539
+ @neetechs/ui/domain/calendar.css
540
+ @neetechs/ui/domain/billing.css
541
+ @neetechs/ui/domain/companies.css
542
+ ```
543
+
544
+ ## Framework usage
545
+
546
+ ### Angular
547
+
548
+ In `styles.scss`:
549
+
550
+ ```scss
551
+ @import '@neetechs/ui/styles.css';
552
+ ```
553
+
554
+ Or in `angular.json` styles:
555
+
556
+ ```json
557
+ [
558
+ "node_modules/@neetechs/ui/src/index.css",
559
+ "src/styles.scss"
560
+ ]
561
+ ```
562
+
563
+ ### React / Next.js
564
+
565
+ In your root layout or app entry:
566
+
567
+ ```ts
568
+ import '@neetechs/ui/styles.css';
569
+ ```
570
+
571
+ ### Plain HTML
572
+
573
+ ```html
574
+ <link rel="stylesheet" href="/node_modules/@neetechs/ui/src/index.css" />
575
+ ```
576
+
577
+ For production, serve the built CSS from your bundler output instead of directly referencing `node_modules`.
578
+
579
+ ## Current package structure
580
+
581
+ ```txt
582
+ packages/ui
583
+ src
584
+ styles
585
+ tokens
586
+ themes
587
+ utilities
588
+ animations
589
+ shell
590
+ components
591
+ patterns
592
+ ai
593
+ domain
594
+ calendar
595
+ billing
596
+ companies
597
+ behaviors
598
+ types
599
+ docs
600
+ ```
601
+
602
+ ## What belongs here
603
+
604
+ Good:
605
+
606
+ ```txt
607
+ CSS tokens
608
+ themes
609
+ base/reset styles
610
+ utility CSS
611
+ component CSS classes
612
+ shell CSS
613
+ AI UI CSS
614
+ domain UI CSS
615
+ pure TypeScript DOM helpers
616
+ ```
617
+
618
+ Bad:
619
+
620
+ ```txt
621
+ Angular components
622
+ React components
623
+ business API calls
624
+ Tailwind config
625
+ Bootstrap overrides
626
+ Angular Material wrappers
627
+ app-specific routing
628
+ backend logic
629
+ ```
630
+
631
+ ## Wrapper packages later
632
+
633
+ These should be separate packages:
634
+
635
+ ```txt
636
+ @neetechs/ui-angular
637
+ @neetechs/ui-react
638
+ ```
639
+
640
+ Do not put wrappers inside `@neetechs/ui`.