@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
@@ -0,0 +1,318 @@
1
+ .nt-modal-backdrop {
2
+ position: fixed;
3
+ inset: 0;
4
+ z-index: var(--nt-z-modal);
5
+ display: grid;
6
+ place-items: center;
7
+ padding: var(--nt-space-4);
8
+ background: var(--nt-bg-overlay);
9
+ backdrop-filter: blur(12px);
10
+ }
11
+
12
+ .nt-modal {
13
+ position: relative;
14
+ display: flex;
15
+ flex-direction: column;
16
+ width: min(100%, 40rem);
17
+ max-height: min(44rem, calc(100dvh - var(--nt-space-8)));
18
+ overflow: hidden;
19
+ border: 1px solid var(--nt-border-subtle);
20
+ border-radius: var(--nt-radius-dialog);
21
+ background: var(--nt-bg-surface);
22
+ color: var(--nt-text-primary);
23
+ box-shadow: var(--nt-shadow-dialog);
24
+ }
25
+
26
+ .nt-modal:focus {
27
+ outline: none;
28
+ }
29
+
30
+ .nt-modal:focus-visible {
31
+ outline: none;
32
+ box-shadow: 0 0 0 3px var(--nt-focus-ring-muted), var(--nt-shadow-dialog);
33
+ }
34
+
35
+ .nt-modal__header {
36
+ display: flex;
37
+ align-items: flex-start;
38
+ justify-content: space-between;
39
+ gap: var(--nt-space-4);
40
+ padding: var(--nt-space-5);
41
+ border-bottom: 1px solid var(--nt-border-subtle);
42
+ background: var(--nt-bg-surface);
43
+ }
44
+
45
+ .nt-modal__header-main {
46
+ display: flex;
47
+ flex-direction: column;
48
+ gap: var(--nt-space-1);
49
+ min-width: 0;
50
+ }
51
+
52
+ .nt-modal__eyebrow {
53
+ color: var(--nt-text-muted);
54
+ font: var(--nt-text-label-sm);
55
+ letter-spacing: var(--nt-letter-spacing-label);
56
+ text-transform: uppercase;
57
+ }
58
+
59
+ .nt-modal__title {
60
+ margin: 0;
61
+ color: var(--nt-text-primary);
62
+ font: var(--nt-text-title-md);
63
+ letter-spacing: var(--nt-letter-spacing-title);
64
+ }
65
+
66
+ .nt-modal__description {
67
+ margin: 0;
68
+ color: var(--nt-text-muted);
69
+ font: var(--nt-text-body-sm);
70
+ }
71
+
72
+ .nt-modal__close {
73
+ display: inline-flex;
74
+ align-items: center;
75
+ justify-content: center;
76
+ flex: 0 0 auto;
77
+ width: var(--nt-control-height-sm);
78
+ height: var(--nt-control-height-sm);
79
+ border: 1px solid transparent;
80
+ border-radius: var(--nt-radius-md);
81
+ background: transparent;
82
+ color: var(--nt-text-muted);
83
+ cursor: pointer;
84
+ transition: var(--nt-transition-colors);
85
+ }
86
+
87
+ .nt-modal__close:hover {
88
+ border-color: var(--nt-border-subtle);
89
+ background: var(--nt-bg-surface-hover);
90
+ color: var(--nt-text-primary);
91
+ }
92
+
93
+ .nt-modal__close:focus-visible {
94
+ outline: none;
95
+ border-color: var(--nt-control-border-focus);
96
+ box-shadow: 0 0 0 3px var(--nt-focus-ring-muted);
97
+ }
98
+
99
+ .nt-modal__body {
100
+ display: flex;
101
+ flex: 1 1 auto;
102
+ flex-direction: column;
103
+ gap: var(--nt-space-4);
104
+ min-width: 0;
105
+ overflow: auto;
106
+ padding: var(--nt-space-5);
107
+ }
108
+
109
+ .nt-modal__footer {
110
+ display: flex;
111
+ align-items: center;
112
+ justify-content: flex-end;
113
+ gap: var(--nt-space-2);
114
+ padding: var(--nt-space-5);
115
+ border-top: 1px solid var(--nt-border-subtle);
116
+ background: var(--nt-bg-surface);
117
+ }
118
+
119
+ .nt-modal__footer--split {
120
+ justify-content: space-between;
121
+ }
122
+
123
+ .nt-modal__footer-main,
124
+ .nt-modal__footer-actions {
125
+ display: inline-flex;
126
+ align-items: center;
127
+ gap: var(--nt-space-2);
128
+ min-width: 0;
129
+ }
130
+
131
+ .nt-modal__section {
132
+ display: flex;
133
+ flex-direction: column;
134
+ gap: var(--nt-space-3);
135
+ min-width: 0;
136
+ }
137
+
138
+ .nt-modal__section-title {
139
+ margin: 0;
140
+ color: var(--nt-text-primary);
141
+ font: var(--nt-text-label-md);
142
+ letter-spacing: var(--nt-letter-spacing-label);
143
+ }
144
+
145
+ .nt-modal__section-description {
146
+ margin: 0;
147
+ color: var(--nt-text-muted);
148
+ font: var(--nt-text-body-sm);
149
+ }
150
+
151
+ .nt-modal__divider {
152
+ width: 100%;
153
+ height: 1px;
154
+ margin: 0;
155
+ border: 0;
156
+ background: var(--nt-border-subtle);
157
+ }
158
+
159
+ .nt-modal--sm {
160
+ width: min(100%, 28rem);
161
+ }
162
+
163
+ .nt-modal--md {
164
+ width: min(100%, 40rem);
165
+ }
166
+
167
+ .nt-modal--lg {
168
+ width: min(100%, 56rem);
169
+ }
170
+
171
+ .nt-modal--xl {
172
+ width: min(100%, 72rem);
173
+ }
174
+
175
+ .nt-modal--fullscreen {
176
+ width: calc(100dvw - var(--nt-space-6));
177
+ height: calc(100dvh - var(--nt-space-6));
178
+ max-height: none;
179
+ }
180
+
181
+ .nt-modal--compact .nt-modal__header,
182
+ .nt-modal--compact .nt-modal__body,
183
+ .nt-modal--compact .nt-modal__footer {
184
+ padding: var(--nt-space-4);
185
+ }
186
+
187
+ .nt-modal--spacious .nt-modal__header,
188
+ .nt-modal--spacious .nt-modal__body,
189
+ .nt-modal--spacious .nt-modal__footer {
190
+ padding: var(--nt-space-6);
191
+ }
192
+
193
+ .nt-modal--danger {
194
+ border-color: var(--nt-danger-border);
195
+ }
196
+
197
+ .nt-modal--danger .nt-modal__eyebrow {
198
+ color: var(--nt-danger-text);
199
+ }
200
+
201
+ .nt-modal--success {
202
+ border-color: var(--nt-success-border);
203
+ }
204
+
205
+ .nt-modal--success .nt-modal__eyebrow {
206
+ color: var(--nt-success-text);
207
+ }
208
+
209
+ .nt-modal--warning {
210
+ border-color: var(--nt-warning-border);
211
+ }
212
+
213
+ .nt-modal--warning .nt-modal__eyebrow {
214
+ color: var(--nt-warning-text);
215
+ }
216
+
217
+ .nt-modal-backdrop[data-state='open'] {
218
+ animation: nt-modal-backdrop-in var(--nt-duration-normal) var(--nt-ease-standard);
219
+ }
220
+
221
+ .nt-modal-backdrop[data-state='closed'] {
222
+ animation: nt-modal-backdrop-out var(--nt-duration-fast) var(--nt-ease-standard);
223
+ }
224
+
225
+ .nt-modal[data-state='open'] {
226
+ animation: nt-modal-in var(--nt-duration-normal) var(--nt-ease-standard);
227
+ }
228
+
229
+ .nt-modal[data-state='closed'] {
230
+ animation: nt-modal-out var(--nt-duration-fast) var(--nt-ease-standard);
231
+ }
232
+
233
+ @keyframes nt-modal-backdrop-in {
234
+ from {
235
+ opacity: 0;
236
+ }
237
+
238
+ to {
239
+ opacity: 1;
240
+ }
241
+ }
242
+
243
+ @keyframes nt-modal-backdrop-out {
244
+ from {
245
+ opacity: 1;
246
+ }
247
+
248
+ to {
249
+ opacity: 0;
250
+ }
251
+ }
252
+
253
+ @keyframes nt-modal-in {
254
+ from {
255
+ opacity: 0;
256
+ transform: translateY(var(--nt-space-3)) scale(0.98);
257
+ }
258
+
259
+ to {
260
+ opacity: 1;
261
+ transform: translateY(0) scale(1);
262
+ }
263
+ }
264
+
265
+ @keyframes nt-modal-out {
266
+ from {
267
+ opacity: 1;
268
+ transform: translateY(0) scale(1);
269
+ }
270
+
271
+ to {
272
+ opacity: 0;
273
+ transform: translateY(var(--nt-space-2)) scale(0.98);
274
+ }
275
+ }
276
+
277
+ @media (max-width: 640px) {
278
+ .nt-modal-backdrop {
279
+ align-items: end;
280
+ padding: var(--nt-space-2);
281
+ }
282
+
283
+ .nt-modal {
284
+ width: 100%;
285
+ max-height: calc(100dvh - var(--nt-space-4));
286
+ border-radius: var(--nt-radius-dialog) var(--nt-radius-dialog) var(--nt-radius-lg) var(--nt-radius-lg);
287
+ }
288
+
289
+ .nt-modal__header,
290
+ .nt-modal__body,
291
+ .nt-modal__footer {
292
+ padding: var(--nt-space-4);
293
+ }
294
+
295
+ .nt-modal__footer {
296
+ flex-direction: column-reverse;
297
+ align-items: stretch;
298
+ }
299
+
300
+ .nt-modal__footer-main,
301
+ .nt-modal__footer-actions {
302
+ width: 100%;
303
+ justify-content: stretch;
304
+ }
305
+
306
+ .nt-modal__footer-actions > * {
307
+ flex: 1 1 auto;
308
+ }
309
+ }
310
+
311
+ @media (prefers-reduced-motion: reduce) {
312
+ .nt-modal-backdrop,
313
+ .nt-modal,
314
+ .nt-modal__close {
315
+ transition: none !important;
316
+ animation: none !important;
317
+ }
318
+ }
@@ -0,0 +1,250 @@
1
+ .nt-pagination {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: space-between;
5
+ gap: var(--nt-space-3);
6
+ width: 100%;
7
+ min-width: 0;
8
+ color: var(--nt-text-primary);
9
+ }
10
+
11
+ .nt-pagination__summary {
12
+ min-width: 0;
13
+ color: var(--nt-text-muted);
14
+ font: var(--nt-text-body-sm);
15
+ }
16
+
17
+ .nt-pagination__summary strong {
18
+ color: var(--nt-text-primary);
19
+ font-weight: var(--nt-font-weight-semibold);
20
+ }
21
+
22
+ .nt-pagination__list {
23
+ display: inline-flex;
24
+ align-items: center;
25
+ gap: var(--nt-space-1);
26
+ min-width: 0;
27
+ margin: 0;
28
+ padding: 0;
29
+ list-style: none;
30
+ }
31
+
32
+ .nt-pagination__item {
33
+ display: inline-flex;
34
+ flex: 0 0 auto;
35
+ }
36
+
37
+ .nt-pagination__button {
38
+ display: inline-flex;
39
+ align-items: center;
40
+ justify-content: center;
41
+ gap: var(--nt-space-1);
42
+ min-width: var(--nt-control-height-sm);
43
+ height: var(--nt-control-height-sm);
44
+ padding: 0 var(--nt-space-2);
45
+ border: 1px solid var(--nt-control-border);
46
+ border-radius: var(--nt-radius-md);
47
+ background: var(--nt-control-bg);
48
+ color: var(--nt-text-primary);
49
+ font: var(--nt-text-label-sm);
50
+ letter-spacing: var(--nt-letter-spacing-label);
51
+ text-decoration: none;
52
+ white-space: nowrap;
53
+ cursor: pointer;
54
+ transition: var(--nt-transition-colors);
55
+ }
56
+
57
+ .nt-pagination__button:hover {
58
+ border-color: var(--nt-control-border-hover);
59
+ background: var(--nt-control-bg-hover);
60
+ color: var(--nt-text-primary);
61
+ }
62
+
63
+ .nt-pagination__button:focus-visible {
64
+ outline: none;
65
+ border-color: var(--nt-control-border-focus);
66
+ box-shadow: 0 0 0 3px var(--nt-focus-ring-muted);
67
+ }
68
+
69
+ .nt-pagination__button[aria-current='page'],
70
+ .nt-pagination__button[data-state='active'],
71
+ .nt-pagination__button--active {
72
+ border-color: var(--nt-accent);
73
+ background: var(--nt-accent);
74
+ color: var(--nt-accent-contrast);
75
+ }
76
+
77
+ .nt-pagination__button:disabled,
78
+ .nt-pagination__button[aria-disabled='true'],
79
+ .nt-pagination__button--disabled {
80
+ background: var(--nt-disabled-bg);
81
+ border-color: var(--nt-disabled-border);
82
+ color: var(--nt-disabled-text);
83
+ cursor: not-allowed;
84
+ pointer-events: none;
85
+ }
86
+
87
+ .nt-pagination__icon {
88
+ display: inline-flex;
89
+ align-items: center;
90
+ justify-content: center;
91
+ width: 1rem;
92
+ height: 1rem;
93
+ color: currentColor;
94
+ }
95
+
96
+ .nt-pagination__ellipsis {
97
+ display: inline-flex;
98
+ align-items: center;
99
+ justify-content: center;
100
+ min-width: var(--nt-control-height-sm);
101
+ height: var(--nt-control-height-sm);
102
+ color: var(--nt-text-muted);
103
+ font: var(--nt-text-label-sm);
104
+ user-select: none;
105
+ }
106
+
107
+ .nt-pagination__controls {
108
+ display: inline-flex;
109
+ align-items: center;
110
+ gap: var(--nt-space-2);
111
+ min-width: 0;
112
+ }
113
+
114
+ .nt-pagination__control-label {
115
+ color: var(--nt-text-muted);
116
+ font: var(--nt-text-label-sm);
117
+ letter-spacing: var(--nt-letter-spacing-label);
118
+ white-space: nowrap;
119
+ }
120
+
121
+ .nt-pagination__select {
122
+ min-width: 5rem;
123
+ }
124
+
125
+ .nt-pagination__jump {
126
+ display: inline-flex;
127
+ align-items: center;
128
+ gap: var(--nt-space-2);
129
+ min-width: 0;
130
+ }
131
+
132
+ .nt-pagination__jump-input {
133
+ width: 4.5rem;
134
+ text-align: center;
135
+ font-variant-numeric: tabular-nums;
136
+ }
137
+
138
+ .nt-pagination--compact {
139
+ gap: var(--nt-space-2);
140
+ }
141
+
142
+ .nt-pagination--compact .nt-pagination__summary,
143
+ .nt-pagination--compact .nt-pagination__controls {
144
+ display: none;
145
+ }
146
+
147
+ .nt-pagination--compact .nt-pagination__button,
148
+ .nt-pagination--compact .nt-pagination__ellipsis {
149
+ min-width: 2rem;
150
+ height: 2rem;
151
+ padding-inline: var(--nt-space-1-5);
152
+ font: var(--nt-text-label-xs);
153
+ }
154
+
155
+ .nt-pagination--center {
156
+ justify-content: center;
157
+ }
158
+
159
+ .nt-pagination--right {
160
+ justify-content: flex-end;
161
+ }
162
+
163
+ .nt-pagination--simple {
164
+ justify-content: flex-end;
165
+ }
166
+
167
+ .nt-pagination--simple .nt-pagination__list {
168
+ gap: var(--nt-space-2);
169
+ }
170
+
171
+ .nt-pagination--simple .nt-pagination__button {
172
+ padding-inline: var(--nt-space-3);
173
+ }
174
+
175
+ .nt-pagination--outline .nt-pagination__button[aria-current='page'],
176
+ .nt-pagination--outline .nt-pagination__button[data-state='active'],
177
+ .nt-pagination--outline .nt-pagination__button--active {
178
+ background: transparent;
179
+ color: var(--nt-accent-text);
180
+ }
181
+
182
+ .nt-pagination--ghost .nt-pagination__button {
183
+ border-color: transparent;
184
+ background: transparent;
185
+ }
186
+
187
+ .nt-pagination--ghost .nt-pagination__button:hover {
188
+ border-color: var(--nt-border-subtle);
189
+ background: var(--nt-bg-surface-hover);
190
+ }
191
+
192
+ .nt-pagination--ghost .nt-pagination__button[aria-current='page'],
193
+ .nt-pagination--ghost .nt-pagination__button[data-state='active'],
194
+ .nt-pagination--ghost .nt-pagination__button--active {
195
+ border-color: var(--nt-border-subtle);
196
+ background: var(--nt-bg-muted);
197
+ color: var(--nt-text-primary);
198
+ }
199
+
200
+ .nt-pagination--sm .nt-pagination__button,
201
+ .nt-pagination--sm .nt-pagination__ellipsis {
202
+ min-width: 2rem;
203
+ height: 2rem;
204
+ font: var(--nt-text-label-xs);
205
+ }
206
+
207
+ .nt-pagination--lg .nt-pagination__button,
208
+ .nt-pagination--lg .nt-pagination__ellipsis {
209
+ min-width: var(--nt-control-height-md);
210
+ height: var(--nt-control-height-md);
211
+ padding-inline: var(--nt-space-3);
212
+ font: var(--nt-text-label-md);
213
+ }
214
+
215
+ @media (max-width: 640px) {
216
+ .nt-pagination {
217
+ flex-direction: column;
218
+ align-items: stretch;
219
+ }
220
+
221
+ .nt-pagination__summary {
222
+ text-align: center;
223
+ }
224
+
225
+ .nt-pagination__list {
226
+ justify-content: center;
227
+ overflow-x: auto;
228
+ overscroll-behavior-inline: contain;
229
+ scrollbar-width: none;
230
+ }
231
+
232
+ .nt-pagination__list::-webkit-scrollbar {
233
+ display: none;
234
+ }
235
+
236
+ .nt-pagination__controls {
237
+ justify-content: center;
238
+ flex-wrap: wrap;
239
+ }
240
+
241
+ .nt-pagination--mobile-simple .nt-pagination__item:not(:first-child):not(:last-child) {
242
+ display: none;
243
+ }
244
+ }
245
+
246
+ @media (prefers-reduced-motion: reduce) {
247
+ .nt-pagination__button {
248
+ transition: none !important;
249
+ }
250
+ }