@neetechs/ui 0.0.1 → 0.0.3

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 (203) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +10 -0
  3. package/dist/ai/ai-action-button/ai-action-button.css +269 -269
  4. package/dist/ai/ai-approval-card/ai-approval-card.css +320 -320
  5. package/dist/ai/ai-conversation-panel/ai-conversation-panel.css +403 -403
  6. package/dist/ai/ai-prompt-input/ai-prompt-input.css +377 -377
  7. package/dist/ai/ai-proposal-card/ai-proposal-card.css +358 -358
  8. package/dist/ai/ai-suggestion-card/ai-suggestion-card.css +293 -293
  9. package/dist/ai/ai-tool-call/ai-tool-call.css +255 -255
  10. package/dist/ai/index.css +1 -1
  11. package/dist/appearance/cache.d.ts +50 -0
  12. package/dist/appearance/cache.d.ts.map +1 -0
  13. package/dist/appearance/cache.js +126 -0
  14. package/dist/appearance/cache.js.map +1 -0
  15. package/dist/appearance/cookie.d.ts +18 -0
  16. package/dist/appearance/cookie.d.ts.map +1 -0
  17. package/dist/appearance/cookie.js +56 -0
  18. package/dist/appearance/cookie.js.map +1 -0
  19. package/dist/appearance/index.d.ts +8 -0
  20. package/dist/appearance/index.d.ts.map +1 -0
  21. package/dist/appearance/index.js +5 -0
  22. package/dist/appearance/index.js.map +1 -0
  23. package/dist/appearance/preference.d.ts +13 -0
  24. package/dist/appearance/preference.d.ts.map +1 -0
  25. package/dist/appearance/preference.js +26 -0
  26. package/dist/appearance/preference.js.map +1 -0
  27. package/dist/appearance/theme-controller.d.ts +80 -0
  28. package/dist/appearance/theme-controller.d.ts.map +1 -0
  29. package/dist/appearance/theme-controller.js +235 -0
  30. package/dist/appearance/theme-controller.js.map +1 -0
  31. package/dist/appearance/types.d.ts +21 -0
  32. package/dist/appearance/types.d.ts.map +1 -0
  33. package/dist/appearance/types.js +2 -0
  34. package/dist/appearance/types.js.map +1 -0
  35. package/dist/components/alert/alert.css +216 -216
  36. package/dist/components/avatar/avatar.css +218 -218
  37. package/dist/components/badge/badge.css +174 -174
  38. package/dist/components/breadcrumb/breadcrumb.css +204 -204
  39. package/dist/components/button/button.css +166 -166
  40. package/dist/components/card/card.css +219 -219
  41. package/dist/components/checkbox/checkbox.css +186 -186
  42. package/dist/components/chip/chip.css +267 -267
  43. package/dist/components/data-grid/data-grid.css +368 -368
  44. package/dist/components/dialog/dialog.css +274 -274
  45. package/dist/components/drawer/drawer.css +402 -402
  46. package/dist/components/dropdown/dropdown.css +297 -297
  47. package/dist/components/icon-button/icon-button.css +157 -157
  48. package/dist/components/input/input.css +162 -162
  49. package/dist/components/menu/menu.css +313 -313
  50. package/dist/components/modal/modal.css +317 -317
  51. package/dist/components/pagination/pagination.css +249 -249
  52. package/dist/components/panel/panel.css +282 -282
  53. package/dist/components/progress/progress.css +247 -247
  54. package/dist/components/radio/radio.css +163 -163
  55. package/dist/components/segmented-control/segmented-control.css +204 -204
  56. package/dist/components/select/select.css +102 -102
  57. package/dist/components/skeleton/skeleton.css +262 -262
  58. package/dist/components/split-button/split-button.css +284 -284
  59. package/dist/components/switch/switch.css +180 -180
  60. package/dist/components/tabs/tabs.css +288 -288
  61. package/dist/components/textarea/textarea.css +85 -85
  62. package/dist/components/toast/toast.css +322 -322
  63. package/dist/components/tooltip/tooltip.css +254 -254
  64. package/dist/domain/billing/index.css +497 -497
  65. package/dist/domain/calendar/day-slice/day-slice.css +382 -382
  66. package/dist/domain/calendar/day-timeline/day-timeline.css +323 -323
  67. package/dist/domain/calendar/event-card/event-card.css +336 -336
  68. package/dist/domain/calendar/month-grid/month-grid.css +419 -419
  69. package/dist/domain/calendar/week-grid/week-grid.css +469 -469
  70. package/dist/domain/companies/index.css +525 -525
  71. package/dist/index.css +5 -5
  72. package/dist/index.d.ts +1 -0
  73. package/dist/index.d.ts.map +1 -1
  74. package/dist/index.js +1 -0
  75. package/dist/index.js.map +1 -1
  76. package/dist/patterns/command-palette/command-palette.css +438 -438
  77. package/dist/patterns/company-switcher/company-switcher.css +362 -362
  78. package/dist/patterns/empty-state/empty-state.css +258 -258
  79. package/dist/patterns/error-state/error-state.css +271 -271
  80. package/dist/patterns/loading-state/loading-state.css +287 -287
  81. package/dist/patterns/notification-center/notification-center.css +437 -437
  82. package/dist/patterns/profile-menu/profile-menu.css +296 -296
  83. package/dist/patterns/search-bar/search-bar.css +443 -443
  84. package/dist/patterns/workspace-switcher/workspace-switcher.css +379 -379
  85. package/dist/shell/app-shell/app-shell.css +67 -67
  86. package/dist/shell/content-frame/content-frame.css +93 -93
  87. package/dist/shell/header/header.css +177 -177
  88. package/dist/shell/index.css +5 -5
  89. package/dist/shell/mobile-nav/mobile-nav.css +170 -170
  90. package/dist/shell/right-drawer/right-drawer.css +107 -107
  91. package/dist/shell/sidebar/sidebar.css +145 -145
  92. package/dist/styles/animations/motion.css +161 -161
  93. package/dist/styles/base.css +81 -81
  94. package/dist/styles/reset.css +50 -50
  95. package/dist/styles/themes/dark.css +119 -119
  96. package/dist/styles/themes/high-contrast.css +118 -118
  97. package/dist/styles/themes/light.css +118 -118
  98. package/dist/styles/tokens/breakpoints.css +14 -14
  99. package/dist/styles/tokens/color.css +96 -96
  100. package/dist/styles/tokens/elevation.css +31 -31
  101. package/dist/styles/tokens/motion.css +35 -35
  102. package/dist/styles/tokens/radius.css +20 -20
  103. package/dist/styles/tokens/spacing.css +49 -49
  104. package/dist/styles/tokens/typography.css +83 -83
  105. package/dist/styles/tokens/z-index.css +14 -14
  106. package/dist/styles/utilities/layout.css +134 -134
  107. package/dist/styles/utilities/text.css +151 -151
  108. package/dist/styles/utilities/visibility.css +47 -47
  109. package/docs/theming.md +227 -0
  110. package/package.json +24 -17
  111. package/src/ai/ai-action-button/ai-action-button.css +269 -269
  112. package/src/ai/ai-approval-card/ai-approval-card.css +320 -320
  113. package/src/ai/ai-conversation-panel/ai-conversation-panel.css +403 -403
  114. package/src/ai/ai-prompt-input/ai-prompt-input.css +377 -377
  115. package/src/ai/ai-proposal-card/ai-proposal-card.css +358 -358
  116. package/src/ai/ai-suggestion-card/ai-suggestion-card.css +293 -293
  117. package/src/ai/ai-tool-call/ai-tool-call.css +255 -255
  118. package/src/ai/index.css +1 -1
  119. package/src/appearance/cache.ts +160 -0
  120. package/src/appearance/cookie.ts +68 -0
  121. package/src/appearance/index.ts +38 -0
  122. package/src/appearance/preference.ts +35 -0
  123. package/src/appearance/theme-controller.ts +383 -0
  124. package/src/appearance/types.ts +23 -0
  125. package/src/behaviors/dialog.ts +167 -167
  126. package/src/behaviors/drawer.ts +176 -176
  127. package/src/behaviors/dropdown.ts +280 -280
  128. package/src/behaviors/focus-trap.ts +260 -260
  129. package/src/behaviors/ids.ts +47 -47
  130. package/src/behaviors/index.ts +6 -6
  131. package/src/behaviors/keyboard.ts +302 -302
  132. package/src/behaviors/overlay.ts +230 -230
  133. package/src/components/alert/alert.css +216 -216
  134. package/src/components/avatar/avatar.css +218 -218
  135. package/src/components/badge/badge.css +174 -174
  136. package/src/components/breadcrumb/breadcrumb.css +204 -204
  137. package/src/components/button/button.css +166 -166
  138. package/src/components/card/card.css +219 -219
  139. package/src/components/checkbox/checkbox.css +186 -186
  140. package/src/components/chip/chip.css +267 -267
  141. package/src/components/data-grid/data-grid.css +368 -368
  142. package/src/components/dialog/dialog.css +274 -274
  143. package/src/components/drawer/drawer.css +402 -402
  144. package/src/components/dropdown/dropdown.css +297 -297
  145. package/src/components/icon-button/icon-button.css +157 -157
  146. package/src/components/input/input.css +162 -162
  147. package/src/components/menu/menu.css +313 -313
  148. package/src/components/modal/modal.css +317 -317
  149. package/src/components/pagination/pagination.css +249 -249
  150. package/src/components/panel/panel.css +282 -282
  151. package/src/components/progress/progress.css +247 -247
  152. package/src/components/radio/radio.css +163 -163
  153. package/src/components/segmented-control/segmented-control.css +204 -204
  154. package/src/components/select/select.css +102 -102
  155. package/src/components/skeleton/skeleton.css +262 -262
  156. package/src/components/split-button/split-button.css +284 -284
  157. package/src/components/switch/switch.css +180 -180
  158. package/src/components/tabs/tabs.css +288 -288
  159. package/src/components/textarea/textarea.css +85 -85
  160. package/src/components/toast/toast.css +322 -322
  161. package/src/components/tooltip/tooltip.css +254 -254
  162. package/src/domain/billing/index.css +497 -497
  163. package/src/domain/calendar/day-slice/day-slice.css +382 -382
  164. package/src/domain/calendar/day-timeline/day-timeline.css +323 -323
  165. package/src/domain/calendar/event-card/event-card.css +336 -336
  166. package/src/domain/calendar/month-grid/month-grid.css +419 -419
  167. package/src/domain/calendar/week-grid/week-grid.css +469 -469
  168. package/src/domain/companies/index.css +525 -525
  169. package/src/index.css +5 -5
  170. package/src/index.ts +6 -5
  171. package/src/patterns/command-palette/command-palette.css +438 -438
  172. package/src/patterns/company-switcher/company-switcher.css +362 -362
  173. package/src/patterns/empty-state/empty-state.css +258 -258
  174. package/src/patterns/error-state/error-state.css +271 -271
  175. package/src/patterns/loading-state/loading-state.css +287 -287
  176. package/src/patterns/notification-center/notification-center.css +437 -437
  177. package/src/patterns/profile-menu/profile-menu.css +296 -296
  178. package/src/patterns/search-bar/search-bar.css +443 -443
  179. package/src/patterns/workspace-switcher/workspace-switcher.css +379 -379
  180. package/src/shell/app-shell/app-shell.css +67 -67
  181. package/src/shell/content-frame/content-frame.css +93 -93
  182. package/src/shell/header/header.css +177 -177
  183. package/src/shell/index.css +5 -5
  184. package/src/shell/mobile-nav/mobile-nav.css +170 -170
  185. package/src/shell/right-drawer/right-drawer.css +107 -107
  186. package/src/shell/sidebar/sidebar.css +145 -145
  187. package/src/styles/animations/motion.css +161 -161
  188. package/src/styles/base.css +81 -81
  189. package/src/styles/reset.css +50 -50
  190. package/src/styles/themes/dark.css +119 -119
  191. package/src/styles/themes/high-contrast.css +118 -118
  192. package/src/styles/themes/light.css +118 -118
  193. package/src/styles/tokens/breakpoints.css +14 -14
  194. package/src/styles/tokens/color.css +96 -96
  195. package/src/styles/tokens/elevation.css +31 -31
  196. package/src/styles/tokens/motion.css +35 -35
  197. package/src/styles/tokens/radius.css +20 -20
  198. package/src/styles/tokens/spacing.css +49 -49
  199. package/src/styles/tokens/typography.css +83 -83
  200. package/src/styles/tokens/z-index.css +14 -14
  201. package/src/styles/utilities/layout.css +134 -134
  202. package/src/styles/utilities/text.css +151 -151
  203. package/src/styles/utilities/visibility.css +47 -47
@@ -1,146 +1,146 @@
1
- .nt-sidebar {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
- height: 100%;
6
- min-width: 0;
7
- background: var(--nt-bg-sidebar);
8
- border-inline-end: 1px solid var(--nt-border-subtle);
9
- color: var(--nt-text-secondary);
10
- }
11
-
12
- .nt-sidebar__brand {
13
- display: flex;
14
- align-items: center;
15
- gap: var(--nt-space-3);
16
- min-height: var(--nt-header-height);
17
- padding-inline: var(--nt-space-4);
18
- border-block-end: 1px solid var(--nt-border-subtle);
19
- }
20
-
21
- .nt-sidebar__logo {
22
- display: inline-flex;
23
- align-items: center;
24
- justify-content: center;
25
- width: var(--nt-control-height-md);
26
- height: var(--nt-control-height-md);
27
- flex: 0 0 auto;
28
- border-radius: var(--nt-radius-lg);
29
- background: var(--nt-accent-subtle);
30
- color: var(--nt-accent);
31
- }
32
-
33
- .nt-sidebar__brand-text {
34
- min-width: 0;
35
- font: var(--nt-text-title-sm);
36
- color: var(--nt-text-primary);
37
- letter-spacing: var(--nt-letter-spacing-title);
38
- }
39
-
40
- .nt-sidebar__nav {
41
- display: flex;
42
- flex: 1 1 auto;
43
- flex-direction: column;
44
- gap: var(--nt-space-1);
45
- min-height: 0;
46
- padding: var(--nt-space-3);
47
- overflow-y: auto;
48
- }
49
-
50
- .nt-sidebar__section {
51
- display: flex;
52
- flex-direction: column;
53
- gap: var(--nt-space-1);
54
- }
55
-
56
- .nt-sidebar__section-label {
57
- padding: var(--nt-space-3) var(--nt-space-3) var(--nt-space-1);
58
- font: var(--nt-text-label-sm);
59
- color: var(--nt-text-subtle);
60
- letter-spacing: var(--nt-letter-spacing-wide);
61
- text-transform: uppercase;
62
- }
63
-
64
- .nt-sidebar__item {
65
- display: flex;
66
- align-items: center;
67
- gap: var(--nt-space-3);
68
- min-height: var(--nt-control-height-md);
69
- padding-inline: var(--nt-space-3);
70
- border: 1px solid transparent;
71
- border-radius: var(--nt-radius-md);
72
- color: var(--nt-text-secondary);
73
- font: var(--nt-text-label-md);
74
- text-decoration: none;
75
- cursor: pointer;
76
- transition: var(--nt-transition-colors);
77
- }
78
-
79
- .nt-sidebar__item:hover {
80
- background: var(--nt-bg-surface-hover);
81
- color: var(--nt-text-primary);
82
- }
83
-
84
- .nt-sidebar__item:focus-visible {
85
- outline: 2px solid var(--nt-focus-ring);
86
- outline-offset: 2px;
87
- }
88
-
89
- .nt-sidebar__item[aria-current='page'],
90
- .nt-sidebar__item--active {
91
- background: var(--nt-accent-subtle);
92
- border-color: var(--nt-border-interactive);
93
- color: var(--nt-accent-hover);
94
- }
95
-
96
- .nt-sidebar__item--disabled {
97
- color: var(--nt-text-disabled);
98
- cursor: not-allowed;
99
- pointer-events: none;
100
- }
101
-
102
- .nt-sidebar__item-icon {
103
- display: inline-flex;
104
- align-items: center;
105
- justify-content: center;
106
- width: var(--nt-space-5);
107
- height: var(--nt-space-5);
108
- flex: 0 0 auto;
109
- color: currentColor;
110
- }
111
-
112
- .nt-sidebar__item-label {
113
- min-width: 0;
114
- overflow: hidden;
115
- text-overflow: ellipsis;
116
- white-space: nowrap;
117
- }
118
-
119
- .nt-sidebar__item-badge {
120
- margin-inline-start: auto;
121
- }
122
-
123
- .nt-sidebar__footer {
124
- display: flex;
125
- flex-direction: column;
126
- gap: var(--nt-space-2);
127
- padding: var(--nt-space-3);
128
- border-block-start: 1px solid var(--nt-border-subtle);
129
- }
130
-
131
- .nt-app-shell--collapsed .nt-sidebar__brand {
132
- justify-content: center;
133
- padding-inline: var(--nt-space-2);
134
- }
135
-
136
- .nt-app-shell--collapsed .nt-sidebar__brand-text,
137
- .nt-app-shell--collapsed .nt-sidebar__section-label,
138
- .nt-app-shell--collapsed .nt-sidebar__item-label,
139
- .nt-app-shell--collapsed .nt-sidebar__item-badge {
140
- display: none;
141
- }
142
-
143
- .nt-app-shell--collapsed .nt-sidebar__item {
144
- justify-content: center;
145
- padding-inline: var(--nt-space-2);
1
+ .nt-sidebar {
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 100%;
5
+ height: 100%;
6
+ min-width: 0;
7
+ background: var(--nt-bg-sidebar);
8
+ border-inline-end: 1px solid var(--nt-border-subtle);
9
+ color: var(--nt-text-secondary);
10
+ }
11
+
12
+ .nt-sidebar__brand {
13
+ display: flex;
14
+ align-items: center;
15
+ gap: var(--nt-space-3);
16
+ min-height: var(--nt-header-height);
17
+ padding-inline: var(--nt-space-4);
18
+ border-block-end: 1px solid var(--nt-border-subtle);
19
+ }
20
+
21
+ .nt-sidebar__logo {
22
+ display: inline-flex;
23
+ align-items: center;
24
+ justify-content: center;
25
+ width: var(--nt-control-height-md);
26
+ height: var(--nt-control-height-md);
27
+ flex: 0 0 auto;
28
+ border-radius: var(--nt-radius-lg);
29
+ background: var(--nt-accent-subtle);
30
+ color: var(--nt-accent);
31
+ }
32
+
33
+ .nt-sidebar__brand-text {
34
+ min-width: 0;
35
+ font: var(--nt-text-title-sm);
36
+ color: var(--nt-text-primary);
37
+ letter-spacing: var(--nt-letter-spacing-title);
38
+ }
39
+
40
+ .nt-sidebar__nav {
41
+ display: flex;
42
+ flex: 1 1 auto;
43
+ flex-direction: column;
44
+ gap: var(--nt-space-1);
45
+ min-height: 0;
46
+ padding: var(--nt-space-3);
47
+ overflow-y: auto;
48
+ }
49
+
50
+ .nt-sidebar__section {
51
+ display: flex;
52
+ flex-direction: column;
53
+ gap: var(--nt-space-1);
54
+ }
55
+
56
+ .nt-sidebar__section-label {
57
+ padding: var(--nt-space-3) var(--nt-space-3) var(--nt-space-1);
58
+ font: var(--nt-text-label-sm);
59
+ color: var(--nt-text-subtle);
60
+ letter-spacing: var(--nt-letter-spacing-wide);
61
+ text-transform: uppercase;
62
+ }
63
+
64
+ .nt-sidebar__item {
65
+ display: flex;
66
+ align-items: center;
67
+ gap: var(--nt-space-3);
68
+ min-height: var(--nt-control-height-md);
69
+ padding-inline: var(--nt-space-3);
70
+ border: 1px solid transparent;
71
+ border-radius: var(--nt-radius-md);
72
+ color: var(--nt-text-secondary);
73
+ font: var(--nt-text-label-md);
74
+ text-decoration: none;
75
+ cursor: pointer;
76
+ transition: var(--nt-transition-colors);
77
+ }
78
+
79
+ .nt-sidebar__item:hover {
80
+ background: var(--nt-bg-surface-hover);
81
+ color: var(--nt-text-primary);
82
+ }
83
+
84
+ .nt-sidebar__item:focus-visible {
85
+ outline: 2px solid var(--nt-focus-ring);
86
+ outline-offset: 2px;
87
+ }
88
+
89
+ .nt-sidebar__item[aria-current='page'],
90
+ .nt-sidebar__item--active {
91
+ background: var(--nt-accent-subtle);
92
+ border-color: var(--nt-border-interactive);
93
+ color: var(--nt-accent-hover);
94
+ }
95
+
96
+ .nt-sidebar__item--disabled {
97
+ color: var(--nt-text-disabled);
98
+ cursor: not-allowed;
99
+ pointer-events: none;
100
+ }
101
+
102
+ .nt-sidebar__item-icon {
103
+ display: inline-flex;
104
+ align-items: center;
105
+ justify-content: center;
106
+ width: var(--nt-space-5);
107
+ height: var(--nt-space-5);
108
+ flex: 0 0 auto;
109
+ color: currentColor;
110
+ }
111
+
112
+ .nt-sidebar__item-label {
113
+ min-width: 0;
114
+ overflow: hidden;
115
+ text-overflow: ellipsis;
116
+ white-space: nowrap;
117
+ }
118
+
119
+ .nt-sidebar__item-badge {
120
+ margin-inline-start: auto;
121
+ }
122
+
123
+ .nt-sidebar__footer {
124
+ display: flex;
125
+ flex-direction: column;
126
+ gap: var(--nt-space-2);
127
+ padding: var(--nt-space-3);
128
+ border-block-start: 1px solid var(--nt-border-subtle);
129
+ }
130
+
131
+ .nt-app-shell--collapsed .nt-sidebar__brand {
132
+ justify-content: center;
133
+ padding-inline: var(--nt-space-2);
134
+ }
135
+
136
+ .nt-app-shell--collapsed .nt-sidebar__brand-text,
137
+ .nt-app-shell--collapsed .nt-sidebar__section-label,
138
+ .nt-app-shell--collapsed .nt-sidebar__item-label,
139
+ .nt-app-shell--collapsed .nt-sidebar__item-badge {
140
+ display: none;
141
+ }
142
+
143
+ .nt-app-shell--collapsed .nt-sidebar__item {
144
+ justify-content: center;
145
+ padding-inline: var(--nt-space-2);
146
146
  }
@@ -1,162 +1,162 @@
1
- @keyframes nt-fade-in {
2
- from {
3
- opacity: 0;
4
- }
5
-
6
- to {
7
- opacity: 1;
8
- }
9
- }
10
-
11
- @keyframes nt-fade-out {
12
- from {
13
- opacity: 1;
14
- }
15
-
16
- to {
17
- opacity: 0;
18
- }
19
- }
20
-
21
- @keyframes nt-slide-up {
22
- from {
23
- opacity: 0;
24
- transform: translateY(var(--nt-space-2));
25
- }
26
-
27
- to {
28
- opacity: 1;
29
- transform: translateY(0);
30
- }
31
- }
32
-
33
- @keyframes nt-slide-down {
34
- from {
35
- opacity: 0;
36
- transform: translateY(calc(var(--nt-space-2) * -1));
37
- }
38
-
39
- to {
40
- opacity: 1;
41
- transform: translateY(0);
42
- }
43
- }
44
-
45
- @keyframes nt-scale-in {
46
- from {
47
- opacity: 0;
48
- transform: scale(0.98);
49
- }
50
-
51
- to {
52
- opacity: 1;
53
- transform: scale(1);
54
- }
55
- }
56
-
57
- @keyframes nt-drawer-in-right {
58
- from {
59
- opacity: 0;
60
- transform: translateX(var(--nt-space-6));
61
- }
62
-
63
- to {
64
- opacity: 1;
65
- transform: translateX(0);
66
- }
67
- }
68
-
69
- @keyframes nt-drawer-in-left {
70
- from {
71
- opacity: 0;
72
- transform: translateX(calc(var(--nt-space-6) * -1));
73
- }
74
-
75
- to {
76
- opacity: 1;
77
- transform: translateX(0);
78
- }
79
- }
80
-
81
- @keyframes nt-skeleton-pulse {
82
- 0%,
83
- 100% {
84
- opacity: 0.48;
85
- }
86
-
87
- 50% {
88
- opacity: 1;
89
- }
90
- }
91
-
92
- @keyframes nt-spinner {
93
- to {
94
- transform: rotate(360deg);
95
- }
96
- }
97
-
98
- @keyframes nt-ai-pulse {
99
- 0%,
100
- 100% {
101
- box-shadow: 0 0 0 0 var(--nt-ai-glow);
102
- }
103
-
104
- 50% {
105
- box-shadow: 0 0 0 4px transparent;
106
- }
107
- }
108
-
109
- .nt-animate-fade-in {
110
- animation: nt-fade-in var(--nt-duration-normal) var(--nt-ease-standard);
111
- }
112
-
113
- .nt-animate-fade-out {
114
- animation: nt-fade-out var(--nt-duration-normal) var(--nt-ease-standard);
115
- }
116
-
117
- .nt-animate-slide-up {
118
- animation: nt-slide-up var(--nt-duration-normal) var(--nt-ease-standard);
119
- }
120
-
121
- .nt-animate-slide-down {
122
- animation: nt-slide-down var(--nt-duration-normal) var(--nt-ease-standard);
123
- }
124
-
125
- .nt-animate-scale-in {
126
- animation: nt-scale-in var(--nt-duration-normal) var(--nt-ease-standard);
127
- }
128
-
129
- .nt-animate-drawer-in-right {
130
- animation: nt-drawer-in-right var(--nt-duration-normal) var(--nt-ease-standard);
131
- }
132
-
133
- .nt-animate-drawer-in-left {
134
- animation: nt-drawer-in-left var(--nt-duration-normal) var(--nt-ease-standard);
135
- }
136
-
137
- .nt-animate-skeleton {
138
- animation: nt-skeleton-pulse var(--nt-duration-slower) var(--nt-ease-standard) infinite;
139
- }
140
-
141
- .nt-animate-spinner {
142
- animation: nt-spinner 720ms linear infinite;
143
- }
144
-
145
- .nt-animate-ai-pulse {
146
- animation: nt-ai-pulse 1.6s var(--nt-ease-standard) infinite;
147
- }
148
-
149
- @media (prefers-reduced-motion: reduce) {
150
- .nt-animate-fade-in,
151
- .nt-animate-fade-out,
152
- .nt-animate-slide-up,
153
- .nt-animate-slide-down,
154
- .nt-animate-scale-in,
155
- .nt-animate-drawer-in-right,
156
- .nt-animate-drawer-in-left,
157
- .nt-animate-skeleton,
158
- .nt-animate-spinner,
159
- .nt-animate-ai-pulse {
160
- animation: none !important;
161
- }
1
+ @keyframes nt-fade-in {
2
+ from {
3
+ opacity: 0;
4
+ }
5
+
6
+ to {
7
+ opacity: 1;
8
+ }
9
+ }
10
+
11
+ @keyframes nt-fade-out {
12
+ from {
13
+ opacity: 1;
14
+ }
15
+
16
+ to {
17
+ opacity: 0;
18
+ }
19
+ }
20
+
21
+ @keyframes nt-slide-up {
22
+ from {
23
+ opacity: 0;
24
+ transform: translateY(var(--nt-space-2));
25
+ }
26
+
27
+ to {
28
+ opacity: 1;
29
+ transform: translateY(0);
30
+ }
31
+ }
32
+
33
+ @keyframes nt-slide-down {
34
+ from {
35
+ opacity: 0;
36
+ transform: translateY(calc(var(--nt-space-2) * -1));
37
+ }
38
+
39
+ to {
40
+ opacity: 1;
41
+ transform: translateY(0);
42
+ }
43
+ }
44
+
45
+ @keyframes nt-scale-in {
46
+ from {
47
+ opacity: 0;
48
+ transform: scale(0.98);
49
+ }
50
+
51
+ to {
52
+ opacity: 1;
53
+ transform: scale(1);
54
+ }
55
+ }
56
+
57
+ @keyframes nt-drawer-in-right {
58
+ from {
59
+ opacity: 0;
60
+ transform: translateX(var(--nt-space-6));
61
+ }
62
+
63
+ to {
64
+ opacity: 1;
65
+ transform: translateX(0);
66
+ }
67
+ }
68
+
69
+ @keyframes nt-drawer-in-left {
70
+ from {
71
+ opacity: 0;
72
+ transform: translateX(calc(var(--nt-space-6) * -1));
73
+ }
74
+
75
+ to {
76
+ opacity: 1;
77
+ transform: translateX(0);
78
+ }
79
+ }
80
+
81
+ @keyframes nt-skeleton-pulse {
82
+ 0%,
83
+ 100% {
84
+ opacity: 0.48;
85
+ }
86
+
87
+ 50% {
88
+ opacity: 1;
89
+ }
90
+ }
91
+
92
+ @keyframes nt-spinner {
93
+ to {
94
+ transform: rotate(360deg);
95
+ }
96
+ }
97
+
98
+ @keyframes nt-ai-pulse {
99
+ 0%,
100
+ 100% {
101
+ box-shadow: 0 0 0 0 var(--nt-ai-glow);
102
+ }
103
+
104
+ 50% {
105
+ box-shadow: 0 0 0 4px transparent;
106
+ }
107
+ }
108
+
109
+ .nt-animate-fade-in {
110
+ animation: nt-fade-in var(--nt-duration-normal) var(--nt-ease-standard);
111
+ }
112
+
113
+ .nt-animate-fade-out {
114
+ animation: nt-fade-out var(--nt-duration-normal) var(--nt-ease-standard);
115
+ }
116
+
117
+ .nt-animate-slide-up {
118
+ animation: nt-slide-up var(--nt-duration-normal) var(--nt-ease-standard);
119
+ }
120
+
121
+ .nt-animate-slide-down {
122
+ animation: nt-slide-down var(--nt-duration-normal) var(--nt-ease-standard);
123
+ }
124
+
125
+ .nt-animate-scale-in {
126
+ animation: nt-scale-in var(--nt-duration-normal) var(--nt-ease-standard);
127
+ }
128
+
129
+ .nt-animate-drawer-in-right {
130
+ animation: nt-drawer-in-right var(--nt-duration-normal) var(--nt-ease-standard);
131
+ }
132
+
133
+ .nt-animate-drawer-in-left {
134
+ animation: nt-drawer-in-left var(--nt-duration-normal) var(--nt-ease-standard);
135
+ }
136
+
137
+ .nt-animate-skeleton {
138
+ animation: nt-skeleton-pulse var(--nt-duration-slower) var(--nt-ease-standard) infinite;
139
+ }
140
+
141
+ .nt-animate-spinner {
142
+ animation: nt-spinner 720ms linear infinite;
143
+ }
144
+
145
+ .nt-animate-ai-pulse {
146
+ animation: nt-ai-pulse 1.6s var(--nt-ease-standard) infinite;
147
+ }
148
+
149
+ @media (prefers-reduced-motion: reduce) {
150
+ .nt-animate-fade-in,
151
+ .nt-animate-fade-out,
152
+ .nt-animate-slide-up,
153
+ .nt-animate-slide-down,
154
+ .nt-animate-scale-in,
155
+ .nt-animate-drawer-in-right,
156
+ .nt-animate-drawer-in-left,
157
+ .nt-animate-skeleton,
158
+ .nt-animate-spinner,
159
+ .nt-animate-ai-pulse {
160
+ animation: none !important;
161
+ }
162
162
  }