@neetechs/ui 0.0.3 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +103 -0
- package/CONTRIBUTING.md +60 -0
- package/LICENSE +21 -21
- package/README.md +861 -650
- package/dist/ai/ai-action-button/ai-action-button.css +271 -270
- package/dist/ai/ai-approval-card/ai-approval-card.css +323 -320
- package/dist/ai/ai-conversation-panel/ai-conversation-panel.css +447 -403
- package/dist/ai/ai-prompt-input/ai-prompt-input.css +380 -377
- package/dist/ai/ai-proposal-card/ai-proposal-card.css +358 -358
- package/dist/ai/ai-suggestion-card/ai-suggestion-card.css +295 -293
- package/dist/ai/ai-tool-call/ai-tool-call.css +256 -255
- package/dist/ai/index.css +7 -7
- package/dist/appearance/cache.d.ts +6 -1
- package/dist/appearance/cache.d.ts.map +1 -1
- package/dist/appearance/cache.js +57 -1
- package/dist/appearance/cache.js.map +1 -1
- package/dist/appearance/cookie.d.ts +16 -1
- package/dist/appearance/cookie.d.ts.map +1 -1
- package/dist/appearance/cookie.js +73 -4
- package/dist/appearance/cookie.js.map +1 -1
- package/dist/appearance/index.d.ts +9 -6
- package/dist/appearance/index.d.ts.map +1 -1
- package/dist/appearance/index.js +5 -4
- package/dist/appearance/index.js.map +1 -1
- package/dist/appearance/inline-bootstrap.d.ts +29 -0
- package/dist/appearance/inline-bootstrap.d.ts.map +1 -0
- package/dist/appearance/inline-bootstrap.js +154 -0
- package/dist/appearance/inline-bootstrap.js.map +1 -0
- package/dist/appearance/preference.d.ts +9 -1
- package/dist/appearance/preference.d.ts.map +1 -1
- package/dist/appearance/preference.js +54 -0
- package/dist/appearance/preference.js.map +1 -1
- package/dist/appearance/theme-controller.d.ts +37 -49
- package/dist/appearance/theme-controller.d.ts.map +1 -1
- package/dist/appearance/theme-controller.js +153 -143
- package/dist/appearance/theme-controller.js.map +1 -1
- package/dist/appearance/types.d.ts +29 -2
- package/dist/appearance/types.d.ts.map +1 -1
- package/dist/behaviors/announcer.d.ts +34 -0
- package/dist/behaviors/announcer.d.ts.map +1 -0
- package/dist/behaviors/announcer.js +150 -0
- package/dist/behaviors/announcer.js.map +1 -0
- package/dist/behaviors/calendar.d.ts +15 -0
- package/dist/behaviors/calendar.d.ts.map +1 -0
- package/dist/behaviors/calendar.js +77 -0
- package/dist/behaviors/calendar.js.map +1 -0
- package/dist/behaviors/data-grid.d.ts +18 -0
- package/dist/behaviors/data-grid.d.ts.map +1 -0
- package/dist/behaviors/data-grid.js +114 -0
- package/dist/behaviors/data-grid.js.map +1 -0
- package/dist/behaviors/dialog.d.ts +14 -0
- package/dist/behaviors/dialog.d.ts.map +1 -1
- package/dist/behaviors/dialog.js +24 -6
- package/dist/behaviors/dialog.js.map +1 -1
- package/dist/behaviors/direction.d.ts +10 -0
- package/dist/behaviors/direction.d.ts.map +1 -0
- package/dist/behaviors/direction.js +24 -0
- package/dist/behaviors/direction.js.map +1 -0
- package/dist/behaviors/drawer.d.ts +15 -3
- package/dist/behaviors/drawer.d.ts.map +1 -1
- package/dist/behaviors/drawer.js +25 -10
- package/dist/behaviors/drawer.js.map +1 -1
- package/dist/behaviors/dropdown.d.ts +11 -0
- package/dist/behaviors/dropdown.d.ts.map +1 -1
- package/dist/behaviors/dropdown.js +53 -11
- package/dist/behaviors/dropdown.js.map +1 -1
- package/dist/behaviors/focus-trap.d.ts.map +1 -1
- package/dist/behaviors/focus-trap.js +45 -5
- package/dist/behaviors/focus-trap.js.map +1 -1
- package/dist/behaviors/forms.d.ts +32 -0
- package/dist/behaviors/forms.d.ts.map +1 -0
- package/dist/behaviors/forms.js +147 -0
- package/dist/behaviors/forms.js.map +1 -0
- package/dist/behaviors/index.d.ts +11 -0
- package/dist/behaviors/index.d.ts.map +1 -1
- package/dist/behaviors/index.js +11 -0
- package/dist/behaviors/index.js.map +1 -1
- package/dist/behaviors/keyboard.d.ts.map +1 -1
- package/dist/behaviors/keyboard.js +4 -2
- package/dist/behaviors/keyboard.js.map +1 -1
- package/dist/behaviors/navigation.d.ts +98 -0
- package/dist/behaviors/navigation.d.ts.map +1 -0
- package/dist/behaviors/navigation.js +295 -0
- package/dist/behaviors/navigation.js.map +1 -0
- package/dist/behaviors/overlay.d.ts +6 -0
- package/dist/behaviors/overlay.d.ts.map +1 -1
- package/dist/behaviors/overlay.js +93 -3
- package/dist/behaviors/overlay.js.map +1 -1
- package/dist/behaviors/popover.d.ts +22 -0
- package/dist/behaviors/popover.d.ts.map +1 -0
- package/dist/behaviors/popover.js +126 -0
- package/dist/behaviors/popover.js.map +1 -0
- package/dist/behaviors/sidebar.d.ts +78 -0
- package/dist/behaviors/sidebar.d.ts.map +1 -0
- package/dist/behaviors/sidebar.js +263 -0
- package/dist/behaviors/sidebar.js.map +1 -0
- package/dist/behaviors/state.d.ts +49 -0
- package/dist/behaviors/state.d.ts.map +1 -0
- package/dist/behaviors/state.js +220 -0
- package/dist/behaviors/state.js.map +1 -0
- package/dist/behaviors/tabs.d.ts +18 -0
- package/dist/behaviors/tabs.d.ts.map +1 -0
- package/dist/behaviors/tabs.js +103 -0
- package/dist/behaviors/tabs.js.map +1 -0
- package/dist/behaviors/viewport.d.ts +40 -0
- package/dist/behaviors/viewport.d.ts.map +1 -0
- package/dist/behaviors/viewport.js +47 -0
- package/dist/behaviors/viewport.js.map +1 -0
- package/dist/components/alert/alert.css +220 -217
- package/dist/components/avatar/avatar.css +220 -219
- package/dist/components/badge/badge.css +174 -174
- package/dist/components/breadcrumb/breadcrumb.css +207 -205
- package/dist/components/button/button.css +238 -167
- package/dist/components/button-group/button-group.css +111 -0
- package/dist/components/card/card.css +265 -220
- package/dist/components/checkbox/checkbox.css +189 -187
- package/dist/components/chip/chip.css +269 -267
- package/dist/components/data-grid/data-grid.css +520 -369
- package/dist/components/description-list/description-list.css +187 -0
- package/dist/components/dialog/dialog.css +339 -275
- package/dist/components/drawer/drawer.css +484 -403
- package/dist/components/dropdown/dropdown.css +316 -298
- package/dist/components/icon-button/icon-button.css +162 -158
- package/dist/components/index.css +5 -2
- package/dist/components/input/input.css +163 -163
- package/dist/components/menu/menu.css +315 -314
- package/dist/components/pagination/pagination.css +250 -249
- package/dist/components/panel/panel.css +284 -283
- package/dist/components/popover/popover.css +153 -0
- package/dist/components/progress/progress.css +256 -248
- package/dist/components/radio/radio.css +166 -164
- package/dist/components/segmented-control/segmented-control.css +205 -205
- package/dist/components/select/select.css +117 -103
- package/dist/components/skeleton/skeleton.css +267 -262
- package/dist/components/split-button/split-button.css +292 -285
- package/dist/components/stat/stat.css +403 -0
- package/dist/components/switch/switch.css +195 -181
- package/dist/components/table/table.css +220 -0
- package/dist/components/tabs/tabs.css +293 -289
- package/dist/components/textarea/textarea.css +86 -86
- package/dist/components/toast/toast.css +345 -323
- package/dist/components/tooltip/tooltip.css +258 -255
- package/dist/domain/billing/index.css +629 -498
- package/dist/domain/calendar/agenda-list/agenda-list.css +224 -0
- package/dist/domain/calendar/day-slice/day-slice.css +384 -383
- package/dist/domain/calendar/day-timeline/day-timeline.css +332 -324
- package/dist/domain/calendar/event-card/event-card.css +338 -336
- package/dist/domain/calendar/index.css +5 -4
- package/dist/domain/calendar/month-grid/month-grid.css +426 -420
- package/dist/domain/calendar/week-grid/week-grid.css +480 -470
- package/dist/domain/companies/index.css +526 -525
- package/dist/domain/index.css +3 -3
- package/dist/index.css +5 -5
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/localization/index.d.ts +8 -0
- package/dist/localization/index.d.ts.map +1 -0
- package/dist/localization/index.js +22 -0
- package/dist/localization/index.js.map +1 -0
- package/dist/patterns/command-palette/command-palette.css +447 -439
- package/dist/patterns/company-switcher/company-switcher.css +390 -363
- package/dist/patterns/content-state/content-state.css +236 -0
- package/dist/patterns/empty-state/empty-state.css +260 -259
- package/dist/patterns/error-state/error-state.css +272 -271
- package/dist/patterns/form-layout/form-layout.css +106 -0
- package/dist/patterns/index.css +9 -3
- package/dist/patterns/loading-state/loading-state.css +287 -287
- package/dist/patterns/master-detail/master-detail.css +103 -0
- package/dist/patterns/notification-center/notification-center.css +443 -438
- package/dist/patterns/page/page.css +303 -0
- package/dist/patterns/profile-menu/profile-menu.css +298 -297
- package/dist/patterns/record-list/record-list.css +302 -0
- package/dist/patterns/search-bar/search-bar.css +457 -444
- package/dist/patterns/settings-layout/settings-layout.css +150 -0
- package/dist/patterns/workflow/workflow.css +168 -0
- package/dist/shell/app-shell/app-shell.css +211 -68
- package/dist/shell/content-frame/content-frame.css +93 -93
- package/dist/shell/footer/footer.css +256 -0
- package/dist/shell/header/header.css +328 -178
- package/dist/shell/index.css +8 -6
- package/dist/shell/mobile-nav/mobile-nav.css +254 -171
- package/dist/shell/navbar/navbar.css +255 -0
- package/dist/shell/sidebar/sidebar.css +314 -146
- package/dist/styles/accessibility.css +150 -0
- package/dist/styles/animations/motion.css +162 -162
- package/dist/styles/appearance/accent.css +215 -0
- package/dist/styles/appearance/density.css +61 -0
- package/dist/styles/appearance/motion.css +40 -0
- package/dist/styles/base.css +83 -82
- package/dist/styles/index.css +28 -21
- package/dist/styles/localization.css +56 -0
- package/dist/styles/reset.css +51 -50
- package/dist/styles/responsive.css +101 -0
- package/dist/styles/themes/dark.css +202 -120
- package/dist/styles/themes/high-contrast.css +290 -119
- package/dist/styles/themes/light.css +201 -119
- package/dist/styles/tokens/breakpoints.css +37 -15
- package/dist/styles/tokens/color.css +102 -96
- package/dist/styles/tokens/compatibility.css +33 -0
- package/dist/styles/tokens/elevation.css +26 -32
- package/dist/styles/tokens/index.css +9 -8
- package/dist/styles/tokens/motion.css +35 -35
- package/dist/styles/tokens/radius.css +26 -21
- package/dist/styles/tokens/spacing.css +56 -50
- package/dist/styles/tokens/typography.css +85 -84
- package/dist/styles/tokens/z-index.css +14 -14
- package/dist/styles/utilities/layout.css +153 -135
- package/dist/styles/utilities/text.css +152 -152
- package/dist/styles/utilities/visibility.css +47 -47
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +3 -0
- package/dist/version.js.map +1 -0
- package/docs/NEETECHS_UI_UPGRADE_PLAN.md +192 -0
- package/docs/accessibility.md +218 -0
- package/docs/appearance-and-theming.md +150 -0
- package/docs/brand-palette.md +36 -0
- package/docs/component-architecture.md +137 -0
- package/docs/component-guidelines.md +64 -0
- package/docs/components.md +173 -0
- package/docs/content-and-terminology.md +207 -0
- package/docs/design-system-audit.md +120 -0
- package/docs/design-system-baseline-audit.md +226 -0
- package/docs/design-token-contract.md +279 -0
- package/docs/layering.md +53 -0
- package/docs/localization-and-rtl.md +147 -0
- package/docs/migration.md +193 -0
- package/docs/page-patterns-and-workflows.md +275 -0
- package/docs/responsive-and-adaptive-design.md +351 -0
- package/docs/semantic-role-migration-audit.md +77 -0
- package/docs/site-chrome.md +313 -0
- package/docs/states-feedback-and-recovery.md +206 -0
- package/docs/theming.md +5 -227
- package/package.json +48 -6
- package/src/ai/ai-action-button/ai-action-button.css +271 -270
- package/src/ai/ai-approval-card/ai-approval-card.css +323 -320
- package/src/ai/ai-conversation-panel/ai-conversation-panel.css +447 -403
- package/src/ai/ai-prompt-input/ai-prompt-input.css +380 -377
- package/src/ai/ai-proposal-card/ai-proposal-card.css +358 -358
- package/src/ai/ai-suggestion-card/ai-suggestion-card.css +295 -293
- package/src/ai/ai-tool-call/ai-tool-call.css +256 -255
- package/src/ai/index.css +7 -7
- package/src/appearance/cache.ts +236 -160
- package/src/appearance/cookie.ts +184 -68
- package/src/appearance/index.ts +86 -38
- package/src/appearance/inline-bootstrap.ts +163 -0
- package/src/appearance/preference.ts +121 -35
- package/src/appearance/theme-controller.ts +384 -383
- package/src/appearance/types.ts +61 -23
- package/src/behaviors/announcer.ts +222 -0
- package/src/behaviors/calendar.ts +92 -0
- package/src/behaviors/data-grid.ts +133 -0
- package/src/behaviors/dialog.ts +203 -168
- package/src/behaviors/direction.ts +34 -0
- package/src/behaviors/drawer.ts +210 -177
- package/src/behaviors/dropdown.ts +344 -281
- package/src/behaviors/focus-trap.ts +304 -261
- package/src/behaviors/forms.ts +205 -0
- package/src/behaviors/ids.ts +47 -47
- package/src/behaviors/index.ts +12 -1
- package/src/behaviors/keyboard.ts +305 -303
- package/src/behaviors/navigation.ts +417 -0
- package/src/behaviors/overlay.ts +344 -231
- package/src/behaviors/popover.ts +157 -0
- package/src/behaviors/sidebar.ts +342 -0
- package/src/behaviors/state.ts +282 -0
- package/src/behaviors/tabs.ts +137 -0
- package/src/behaviors/viewport.ts +61 -0
- package/src/components/alert/alert.css +220 -217
- package/src/components/avatar/avatar.css +220 -219
- package/src/components/badge/badge.css +174 -174
- package/src/components/breadcrumb/breadcrumb.css +207 -205
- package/src/components/button/button.css +238 -167
- package/src/components/button-group/button-group.css +111 -0
- package/src/components/card/card.css +265 -220
- package/src/components/checkbox/checkbox.css +189 -187
- package/src/components/chip/chip.css +269 -267
- package/src/components/data-grid/data-grid.css +520 -369
- package/src/components/description-list/description-list.css +187 -0
- package/src/components/dialog/dialog.css +339 -275
- package/src/components/drawer/drawer.css +484 -403
- package/src/components/dropdown/dropdown.css +316 -298
- package/src/components/icon-button/icon-button.css +162 -158
- package/src/components/index.css +5 -2
- package/src/components/input/input.css +163 -163
- package/src/components/menu/menu.css +315 -314
- package/src/components/pagination/pagination.css +250 -249
- package/src/components/panel/panel.css +284 -283
- package/src/components/popover/popover.css +153 -0
- package/src/components/progress/progress.css +256 -248
- package/src/components/radio/radio.css +166 -164
- package/src/components/segmented-control/segmented-control.css +205 -205
- package/src/components/select/select.css +117 -103
- package/src/components/skeleton/skeleton.css +267 -262
- package/src/components/split-button/split-button.css +292 -285
- package/src/components/stat/stat.css +403 -0
- package/src/components/switch/switch.css +195 -181
- package/src/components/table/table.css +220 -0
- package/src/components/tabs/tabs.css +293 -289
- package/src/components/textarea/textarea.css +86 -86
- package/src/components/toast/toast.css +345 -323
- package/src/components/tooltip/tooltip.css +258 -255
- package/src/domain/billing/index.css +629 -498
- package/src/domain/calendar/agenda-list/agenda-list.css +224 -0
- package/src/domain/calendar/day-slice/day-slice.css +384 -383
- package/src/domain/calendar/day-timeline/day-timeline.css +332 -324
- package/src/domain/calendar/event-card/event-card.css +338 -336
- package/src/domain/calendar/index.css +5 -4
- package/src/domain/calendar/month-grid/month-grid.css +426 -420
- package/src/domain/calendar/week-grid/week-grid.css +480 -470
- package/src/domain/companies/index.css +526 -525
- package/src/domain/index.css +3 -3
- package/src/index.css +5 -5
- package/src/index.ts +7 -6
- package/src/localization/index.ts +56 -0
- package/src/patterns/command-palette/command-palette.css +447 -439
- package/src/patterns/company-switcher/company-switcher.css +390 -363
- package/src/patterns/content-state/content-state.css +236 -0
- package/src/patterns/empty-state/empty-state.css +260 -259
- package/src/patterns/error-state/error-state.css +272 -271
- package/src/patterns/form-layout/form-layout.css +106 -0
- package/src/patterns/index.css +9 -3
- package/src/patterns/loading-state/loading-state.css +287 -287
- package/src/patterns/master-detail/master-detail.css +103 -0
- package/src/patterns/notification-center/notification-center.css +443 -438
- package/src/patterns/page/page.css +303 -0
- package/src/patterns/profile-menu/profile-menu.css +298 -297
- package/src/patterns/record-list/record-list.css +302 -0
- package/src/patterns/search-bar/search-bar.css +457 -444
- package/src/patterns/settings-layout/settings-layout.css +150 -0
- package/src/patterns/workflow/workflow.css +168 -0
- package/src/shell/app-shell/app-shell.css +211 -68
- package/src/shell/content-frame/content-frame.css +93 -93
- package/src/shell/footer/footer.css +256 -0
- package/src/shell/header/header.css +328 -178
- package/src/shell/index.css +8 -6
- package/src/shell/mobile-nav/mobile-nav.css +254 -171
- package/src/shell/navbar/navbar.css +255 -0
- package/src/shell/sidebar/sidebar.css +314 -146
- package/src/styles/accessibility.css +150 -0
- package/src/styles/animations/motion.css +162 -162
- package/src/styles/appearance/accent.css +215 -0
- package/src/styles/appearance/density.css +61 -0
- package/src/styles/appearance/motion.css +40 -0
- package/src/styles/base.css +83 -82
- package/src/styles/index.css +28 -21
- package/src/styles/localization.css +56 -0
- package/src/styles/reset.css +51 -50
- package/src/styles/responsive.css +101 -0
- package/src/styles/themes/dark.css +202 -120
- package/src/styles/themes/high-contrast.css +290 -119
- package/src/styles/themes/light.css +201 -119
- package/src/styles/tokens/breakpoints.css +37 -15
- package/src/styles/tokens/color.css +102 -96
- package/src/styles/tokens/compatibility.css +33 -0
- package/src/styles/tokens/elevation.css +26 -32
- package/src/styles/tokens/index.css +9 -8
- package/src/styles/tokens/motion.css +35 -35
- package/src/styles/tokens/radius.css +26 -21
- package/src/styles/tokens/spacing.css +56 -50
- package/src/styles/tokens/typography.css +85 -84
- package/src/styles/tokens/z-index.css +14 -14
- package/src/styles/utilities/layout.css +153 -135
- package/src/styles/utilities/text.css +152 -152
- package/src/styles/utilities/visibility.css +47 -47
- package/src/types/index.ts +126 -125
- package/src/version.ts +2 -0
- package/dist/components/modal/modal.css +0 -318
- package/dist/patterns/workspace-switcher/workspace-switcher.css +0 -380
- package/dist/shell/right-drawer/right-drawer.css +0 -108
- package/src/components/modal/modal.css +0 -318
- package/src/patterns/workspace-switcher/workspace-switcher.css +0 -380
- package/src/shell/right-drawer/right-drawer.css +0 -108
|
@@ -1,404 +1,448 @@
|
|
|
1
|
-
.nt-ai-conversation-panel {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
min-width: 0;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
border: 1px solid var(--nt-border-subtle);
|
|
7
|
-
border-radius: var(--nt-radius-
|
|
8
|
-
background: var(--nt-bg-surface);
|
|
9
|
-
color: var(--nt-text-primary);
|
|
10
|
-
box-shadow: var(--nt-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
flex
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
border
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
border
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
grid-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
grid-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
color: var(--nt-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
border
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
flex
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
text-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
border
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
border
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
.nt-ai-conversation-panel--compact .nt-ai-conversation-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
.nt-ai-conversation-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
.nt-ai-conversation-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
1
|
+
.nt-ai-conversation-panel {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
min-width: 0;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
border: 1px solid var(--nt-border-subtle);
|
|
7
|
+
border-radius: var(--nt-radius-card);
|
|
8
|
+
background: var(--nt-bg-surface);
|
|
9
|
+
color: var(--nt-text-primary);
|
|
10
|
+
box-shadow: var(--nt-elevation-card);
|
|
11
|
+
container-type: inline-size;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.nt-ai-conversation-panel__header {
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: flex-start;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
gap: var(--nt-space-4);
|
|
19
|
+
padding: var(--nt-space-4);
|
|
20
|
+
border-bottom: 1px solid var(--nt-border-subtle);
|
|
21
|
+
background: var(--nt-bg-surface);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.nt-ai-conversation-panel__header-main {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
gap: var(--nt-space-1);
|
|
28
|
+
min-width: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.nt-ai-conversation-panel__eyebrow {
|
|
32
|
+
color: var(--nt-ai-fg);
|
|
33
|
+
font: var(--nt-text-label-xs);
|
|
34
|
+
letter-spacing: var(--nt-letter-spacing-label);
|
|
35
|
+
text-transform: uppercase;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.nt-ai-conversation-panel__title {
|
|
39
|
+
margin: 0;
|
|
40
|
+
color: var(--nt-text-primary);
|
|
41
|
+
font: var(--nt-text-title-sm);
|
|
42
|
+
letter-spacing: var(--nt-letter-spacing-title);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.nt-ai-conversation-panel__description {
|
|
46
|
+
margin: 0;
|
|
47
|
+
color: var(--nt-text-muted);
|
|
48
|
+
font: var(--nt-text-body-sm);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.nt-ai-conversation-panel__actions {
|
|
52
|
+
display: inline-flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: flex-end;
|
|
55
|
+
gap: var(--nt-space-2);
|
|
56
|
+
flex: 0 0 auto;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.nt-ai-conversation-panel__status {
|
|
60
|
+
display: inline-flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
gap: var(--nt-space-1);
|
|
63
|
+
width: fit-content;
|
|
64
|
+
max-width: 100%;
|
|
65
|
+
color: var(--nt-text-muted);
|
|
66
|
+
font: var(--nt-text-caption);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.nt-ai-conversation-panel__status-dot {
|
|
70
|
+
display: inline-block;
|
|
71
|
+
flex: 0 0 auto;
|
|
72
|
+
width: 0.5rem;
|
|
73
|
+
height: 0.5rem;
|
|
74
|
+
border-radius: var(--nt-radius-pill);
|
|
75
|
+
background: var(--nt-text-muted);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.nt-ai-conversation-panel__status-dot--active {
|
|
79
|
+
background: var(--nt-success);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.nt-ai-conversation-panel__status-dot--thinking {
|
|
83
|
+
background: var(--nt-warning);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.nt-ai-conversation-panel__status-dot--error {
|
|
87
|
+
background: var(--nt-danger);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.nt-ai-conversation-panel__body {
|
|
91
|
+
display: flex;
|
|
92
|
+
flex: 1 1 auto;
|
|
93
|
+
flex-direction: column;
|
|
94
|
+
gap: var(--nt-space-4);
|
|
95
|
+
min-width: 0;
|
|
96
|
+
overflow: auto;
|
|
97
|
+
padding: var(--nt-space-4);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.nt-ai-conversation-panel__message {
|
|
101
|
+
display: grid;
|
|
102
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
103
|
+
align-items: start;
|
|
104
|
+
gap: var(--nt-space-3);
|
|
105
|
+
min-width: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.nt-ai-conversation-panel__avatar {
|
|
109
|
+
display: inline-flex;
|
|
110
|
+
align-items: center;
|
|
111
|
+
justify-content: center;
|
|
112
|
+
width: 2rem;
|
|
113
|
+
height: 2rem;
|
|
114
|
+
overflow: hidden;
|
|
115
|
+
border: 1px solid var(--nt-border-subtle);
|
|
116
|
+
border-radius: var(--nt-radius-item);
|
|
117
|
+
background: var(--nt-bg-surface-muted);
|
|
118
|
+
color: var(--nt-text-muted);
|
|
119
|
+
font: var(--nt-text-label-xs);
|
|
120
|
+
letter-spacing: var(--nt-letter-spacing-label);
|
|
121
|
+
text-transform: uppercase;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.nt-ai-conversation-panel__message-main {
|
|
125
|
+
display: flex;
|
|
126
|
+
flex-direction: column;
|
|
127
|
+
gap: var(--nt-space-2);
|
|
128
|
+
min-width: 0;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.nt-ai-conversation-panel__bubble {
|
|
132
|
+
width: fit-content;
|
|
133
|
+
max-width: min(100%, 46rem);
|
|
134
|
+
padding: var(--nt-space-3);
|
|
135
|
+
border: 1px solid var(--nt-border-subtle);
|
|
136
|
+
border-radius: var(--nt-radius-card);
|
|
137
|
+
background: var(--nt-bg-surface-muted);
|
|
138
|
+
color: var(--nt-text-primary);
|
|
139
|
+
font: var(--nt-text-body-sm);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.nt-ai-conversation-panel__bubble p {
|
|
143
|
+
margin: 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.nt-ai-conversation-panel__bubble p + p {
|
|
147
|
+
margin-block-start: var(--nt-space-2);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.nt-ai-conversation-panel__message--user {
|
|
151
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.nt-ai-conversation-panel__message--user .nt-ai-conversation-panel__avatar {
|
|
155
|
+
grid-column: 2;
|
|
156
|
+
grid-row: 1;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.nt-ai-conversation-panel__message--user .nt-ai-conversation-panel__message-main {
|
|
160
|
+
grid-column: 1;
|
|
161
|
+
grid-row: 1;
|
|
162
|
+
align-items: flex-end;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.nt-ai-conversation-panel__message--user .nt-ai-conversation-panel__bubble {
|
|
166
|
+
background: var(--nt-ai-action);
|
|
167
|
+
border-color: var(--nt-ai-action);
|
|
168
|
+
color: var(--nt-ai-action-fg);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.nt-ai-conversation-panel__message--assistant .nt-ai-conversation-panel__avatar {
|
|
172
|
+
border-color: var(--nt-ai-border);
|
|
173
|
+
background: var(--nt-ai-bg-subtle);
|
|
174
|
+
color: var(--nt-ai-fg);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.nt-ai-conversation-panel__message--assistant .nt-ai-conversation-panel__bubble {
|
|
178
|
+
background: var(--nt-bg-surface);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.nt-ai-conversation-panel__message--system .nt-ai-conversation-panel__bubble {
|
|
182
|
+
background: var(--nt-bg-surface-muted);
|
|
183
|
+
color: var(--nt-text-muted);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.nt-ai-conversation-panel__message--error .nt-ai-conversation-panel__bubble {
|
|
187
|
+
border-color: var(--nt-danger-border);
|
|
188
|
+
background: var(--nt-danger-bg);
|
|
189
|
+
color: var(--nt-danger-text);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.nt-ai-conversation-panel__meta {
|
|
193
|
+
display: flex;
|
|
194
|
+
flex-wrap: wrap;
|
|
195
|
+
align-items: center;
|
|
196
|
+
gap: var(--nt-space-2);
|
|
197
|
+
color: var(--nt-text-subtle);
|
|
198
|
+
font: var(--nt-text-caption);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.nt-ai-conversation-panel__message--user .nt-ai-conversation-panel__meta {
|
|
202
|
+
justify-content: flex-end;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.nt-ai-conversation-panel__tools {
|
|
206
|
+
display: flex;
|
|
207
|
+
flex-direction: column;
|
|
208
|
+
gap: var(--nt-space-2);
|
|
209
|
+
min-width: 0;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.nt-ai-conversation-panel__typing {
|
|
213
|
+
display: inline-flex;
|
|
214
|
+
align-items: center;
|
|
215
|
+
gap: var(--nt-space-1);
|
|
216
|
+
width: fit-content;
|
|
217
|
+
padding: var(--nt-space-3);
|
|
218
|
+
border: 1px solid var(--nt-border-subtle);
|
|
219
|
+
border-radius: var(--nt-radius-card);
|
|
220
|
+
background: var(--nt-bg-surface);
|
|
221
|
+
color: var(--nt-text-muted);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.nt-ai-conversation-panel__typing-dot {
|
|
225
|
+
width: 0.375rem;
|
|
226
|
+
height: 0.375rem;
|
|
227
|
+
border-radius: var(--nt-radius-pill);
|
|
228
|
+
background: currentColor;
|
|
229
|
+
opacity: 0.45;
|
|
230
|
+
animation: nt-ai-conversation-panel-typing 1s var(--nt-ease-standard) infinite;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.nt-ai-conversation-panel__typing-dot:nth-child(2) {
|
|
234
|
+
animation-delay: 0.12s;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.nt-ai-conversation-panel__typing-dot:nth-child(3) {
|
|
238
|
+
animation-delay: 0.24s;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.nt-ai-conversation-panel__empty {
|
|
242
|
+
display: flex;
|
|
243
|
+
flex: 1 1 auto;
|
|
244
|
+
flex-direction: column;
|
|
245
|
+
align-items: center;
|
|
246
|
+
justify-content: center;
|
|
247
|
+
gap: var(--nt-space-3);
|
|
248
|
+
min-height: 18rem;
|
|
249
|
+
padding: var(--nt-space-6);
|
|
250
|
+
color: var(--nt-text-muted);
|
|
251
|
+
text-align: center;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.nt-ai-conversation-panel__empty-icon {
|
|
255
|
+
display: inline-flex;
|
|
256
|
+
align-items: center;
|
|
257
|
+
justify-content: center;
|
|
258
|
+
width: 4rem;
|
|
259
|
+
height: 4rem;
|
|
260
|
+
border: 1px solid var(--nt-ai-border);
|
|
261
|
+
border-radius: var(--nt-radius-dialog);
|
|
262
|
+
background: var(--nt-ai-bg-subtle);
|
|
263
|
+
color: var(--nt-ai-fg);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.nt-ai-conversation-panel__empty-title {
|
|
267
|
+
margin: 0;
|
|
268
|
+
color: var(--nt-text-primary);
|
|
269
|
+
font: var(--nt-text-title-sm);
|
|
270
|
+
letter-spacing: var(--nt-letter-spacing-title);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.nt-ai-conversation-panel__empty-description {
|
|
274
|
+
max-width: 30rem;
|
|
275
|
+
margin: 0;
|
|
276
|
+
color: var(--nt-text-muted);
|
|
277
|
+
font: var(--nt-text-body-sm);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.nt-ai-conversation-panel__footer {
|
|
281
|
+
display: flex;
|
|
282
|
+
flex-direction: column;
|
|
283
|
+
gap: var(--nt-space-3);
|
|
284
|
+
padding: var(--nt-space-4);
|
|
285
|
+
border-top: 1px solid var(--nt-border-subtle);
|
|
286
|
+
background: var(--nt-bg-surface);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.nt-ai-conversation-panel__footer-meta {
|
|
290
|
+
display: flex;
|
|
291
|
+
align-items: center;
|
|
292
|
+
justify-content: space-between;
|
|
293
|
+
gap: var(--nt-space-3);
|
|
294
|
+
color: var(--nt-text-muted);
|
|
295
|
+
font: var(--nt-text-caption);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.nt-ai-conversation-panel__suggestions {
|
|
299
|
+
display: flex;
|
|
300
|
+
flex-wrap: wrap;
|
|
301
|
+
align-items: center;
|
|
302
|
+
gap: var(--nt-space-2);
|
|
303
|
+
min-width: 0;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.nt-ai-conversation-panel__suggestion {
|
|
307
|
+
display: inline-flex;
|
|
308
|
+
align-items: center;
|
|
309
|
+
justify-content: center;
|
|
310
|
+
min-height: var(--nt-control-height-sm);
|
|
311
|
+
padding: 0 var(--nt-space-3);
|
|
312
|
+
border: 1px solid var(--nt-border-subtle);
|
|
313
|
+
border-radius: var(--nt-radius-pill);
|
|
314
|
+
background: var(--nt-bg-surface-muted);
|
|
315
|
+
color: var(--nt-text-primary);
|
|
316
|
+
font: var(--nt-text-label-sm);
|
|
317
|
+
letter-spacing: var(--nt-letter-spacing-label);
|
|
318
|
+
text-decoration: none;
|
|
319
|
+
cursor: pointer;
|
|
320
|
+
transition: var(--nt-transition-colors);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.nt-ai-conversation-panel__suggestion:hover {
|
|
324
|
+
border-color: var(--nt-control-border-hover);
|
|
325
|
+
background: var(--nt-bg-surface-hover);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.nt-ai-conversation-panel__suggestion:focus-visible {
|
|
329
|
+
outline: var(--nt-focus-ring-width) solid var(--nt-focus-ring-color);
|
|
330
|
+
outline-offset: var(--nt-focus-ring-offset);
|
|
331
|
+
border-color: var(--nt-control-border-focus);
|
|
332
|
+
box-shadow: 0 0 0 3px var(--nt-focus-ring-muted);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.nt-ai-conversation-panel--compact .nt-ai-conversation-panel__header,
|
|
336
|
+
.nt-ai-conversation-panel--compact .nt-ai-conversation-panel__body,
|
|
337
|
+
.nt-ai-conversation-panel--compact .nt-ai-conversation-panel__footer {
|
|
338
|
+
padding: var(--nt-space-3);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.nt-ai-conversation-panel--compact .nt-ai-conversation-panel__bubble {
|
|
342
|
+
padding: var(--nt-space-2-5);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.nt-ai-conversation-panel--borderless {
|
|
346
|
+
border-color: transparent;
|
|
347
|
+
box-shadow: none;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/* Fullscreen conversation: the panel fills its wrapper; the wrapper owns the
|
|
351
|
+
* viewport height via .nt-fill-viewport--fixed (dvh with vh fallback) so the
|
|
352
|
+
* composer stays visible when the mobile keyboard opens. */
|
|
353
|
+
.nt-ai-conversation-panel--fullscreen {
|
|
354
|
+
height: 100%;
|
|
355
|
+
min-height: 0;
|
|
356
|
+
border-radius: 0;
|
|
357
|
+
border-inline: 0;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.nt-ai-conversation-panel--fullscreen .nt-ai-conversation-panel__footer {
|
|
361
|
+
padding-bottom: max(var(--nt-space-4), env(safe-area-inset-bottom, 0rem));
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
@keyframes nt-ai-conversation-panel-typing {
|
|
365
|
+
0%,
|
|
366
|
+
80%,
|
|
367
|
+
100% {
|
|
368
|
+
opacity: 0.35;
|
|
369
|
+
transform: translateY(0);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
40% {
|
|
373
|
+
opacity: 1;
|
|
374
|
+
transform: translateY(-0.25rem);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
@media (max-width: 40rem) {
|
|
379
|
+
.nt-ai-conversation-panel__header,
|
|
380
|
+
.nt-ai-conversation-panel__footer-meta {
|
|
381
|
+
flex-direction: column;
|
|
382
|
+
align-items: stretch;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.nt-ai-conversation-panel__actions {
|
|
386
|
+
justify-content: flex-start;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.nt-ai-conversation-panel__message,
|
|
390
|
+
.nt-ai-conversation-panel__message--user {
|
|
391
|
+
grid-template-columns: minmax(0, 1fr);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.nt-ai-conversation-panel__avatar {
|
|
395
|
+
display: none;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.nt-ai-conversation-panel__message-main,
|
|
399
|
+
.nt-ai-conversation-panel__message--user .nt-ai-conversation-panel__message-main {
|
|
400
|
+
grid-column: 1;
|
|
401
|
+
align-items: stretch;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.nt-ai-conversation-panel__bubble {
|
|
405
|
+
max-width: 100%;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/* The same compaction applies when the panel itself is narrow (split panes,
|
|
410
|
+
* side panels, drawers) regardless of viewport size. */
|
|
411
|
+
@container (max-width: 40rem) {
|
|
412
|
+
.nt-ai-conversation-panel__header,
|
|
413
|
+
.nt-ai-conversation-panel__footer-meta {
|
|
414
|
+
flex-direction: column;
|
|
415
|
+
align-items: stretch;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.nt-ai-conversation-panel__actions {
|
|
419
|
+
justify-content: flex-start;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.nt-ai-conversation-panel__message,
|
|
423
|
+
.nt-ai-conversation-panel__message--user {
|
|
424
|
+
grid-template-columns: minmax(0, 1fr);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.nt-ai-conversation-panel__avatar {
|
|
428
|
+
display: none;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.nt-ai-conversation-panel__message-main,
|
|
432
|
+
.nt-ai-conversation-panel__message--user .nt-ai-conversation-panel__message-main {
|
|
433
|
+
grid-column: 1;
|
|
434
|
+
align-items: stretch;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.nt-ai-conversation-panel__bubble {
|
|
438
|
+
max-width: 100%;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
@media (prefers-reduced-motion: reduce) {
|
|
443
|
+
.nt-ai-conversation-panel__suggestion,
|
|
444
|
+
.nt-ai-conversation-panel__typing-dot {
|
|
445
|
+
transition: none !important;
|
|
446
|
+
animation: none !important;
|
|
447
|
+
}
|
|
404
448
|
}
|