@nordmanai/nif 0.1.0 → 0.2.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.
- package/README.md +18 -0
- package/bin/nif.mjs +196 -0
- package/dist/index.d.ts +30 -1
- package/dist/index.js +9661 -2499
- package/dist/styles.css +1 -1
- package/dist/tokens.css +4 -1
- package/dist/ui/components/nm-ai/nm-ai.d.ts +7 -7
- package/dist/ui/components/nm-brand-logo/nm-brand-logo.d.ts +10 -0
- package/dist/ui/components/nm-breadcrumb/nm-breadcrumb.d.ts +11 -0
- package/dist/ui/components/nm-button/nm-button.d.ts +2 -0
- package/dist/ui/components/nm-button-group/nm-button-group.d.ts +17 -0
- package/dist/ui/components/nm-calendar/nm-calendar.d.ts +3 -0
- package/dist/ui/components/nm-card/nm-card.d.ts +34 -0
- package/dist/ui/components/nm-chip/nm-chip.d.ts +38 -0
- package/dist/ui/components/nm-code-block/nm-code-block.d.ts +55 -0
- package/dist/ui/components/nm-color-picker/nm-color-picker.d.ts +15 -0
- package/dist/ui/components/nm-combobox/nm-combobox.d.ts +26 -0
- package/dist/ui/components/nm-command/nm-command.d.ts +37 -0
- package/dist/ui/components/nm-composer/nm-composer.d.ts +4 -0
- package/dist/ui/components/nm-context-menu/nm-context-menu.d.ts +9 -0
- package/dist/ui/components/nm-date-picker/nm-date-picker.d.ts +35 -0
- package/dist/ui/components/nm-dialog/nm-dialog.d.ts +13 -0
- package/dist/ui/components/nm-field/nm-field.d.ts +2 -0
- package/dist/ui/components/nm-form-field/nm-form-field.d.ts +18 -0
- package/dist/ui/components/nm-gallery/nm-gallery.d.ts +8 -0
- package/dist/ui/components/nm-input/nm-input.d.ts +5 -0
- package/dist/ui/components/nm-input-group/nm-input-group.d.ts +9 -0
- package/dist/ui/components/nm-label/nm-label.d.ts +2 -0
- package/dist/ui/components/nm-menubar/nm-menubar.d.ts +9 -0
- package/dist/ui/components/nm-native-select/nm-native-select.d.ts +5 -0
- package/dist/ui/components/nm-panel/nm-panel.d.ts +14 -0
- package/dist/ui/components/nm-prose/nm-prose.d.ts +6 -0
- package/dist/ui/components/nm-resize-handle/nm-resize-handle.d.ts +18 -0
- package/dist/ui/components/nm-select/nm-select.d.ts +22 -0
- package/dist/ui/components/nm-side-panel/nm-side-panel.d.ts +33 -0
- package/dist/ui/components/nm-slider/nm-slider.d.ts +5 -1
- package/dist/ui/components/nm-status-bar/nm-status-bar.d.ts +8 -0
- package/dist/ui/components/nm-table/nm-table.d.ts +38 -0
- package/dist/ui/components/nm-textarea/nm-textarea.d.ts +2 -0
- package/dist/ui/components/nm-toolbar/nm-toolbar.d.ts +21 -0
- package/dist/ui/config/nm-ai.d.ts +0 -3
- package/dist/ui/config/nm-appearance.d.ts +36 -1
- package/dist/ui/config/nm-button.d.ts +2 -1
- package/dist/ui/config/nm-composer.d.ts +1 -2
- package/dist/ui/config/nm-field.d.ts +2 -0
- package/dist/ui/config/nm-icons.d.ts +13 -1
- package/dist/ui/config/nm-radius.d.ts +4 -4
- package/dist/ui/config/nm-side-panel.d.ts +33 -0
- package/dist/ui/lib/appearance/appearanceState.d.ts +1 -0
- package/dist/ui/lib/appearance/deriveTokens.d.ts +2 -0
- package/package.json +12 -4
- package/registry/index.json +1634 -0
- package/registry/tokens.css +72 -0
- package/registry/ui/components/nm-ai/nm-ai.css +358 -0
- package/registry/ui/components/nm-ai/nm-ai.tsx +632 -0
- package/registry/ui/components/nm-app-panel/nm-app-panel.css +169 -0
- package/registry/ui/components/nm-ask/nm-ask.css +277 -0
- package/registry/ui/components/nm-avatar/nm-avatar.css +85 -0
- package/registry/ui/components/nm-avatar/nm-avatar.tsx +30 -0
- package/registry/ui/components/nm-bar-overflow/nm-bar-overflow.css +43 -0
- package/registry/ui/components/nm-bar-overflow/nm-bar-overflow.tsx +61 -0
- package/registry/ui/components/nm-bar-overflow/use-bar-overflow.ts +92 -0
- package/registry/ui/components/nm-brand-logo/nm-brand-logo.css +20 -0
- package/registry/ui/components/nm-brand-logo/nm-brand-logo.tsx +21 -0
- package/registry/ui/components/nm-breadcrumb/nm-breadcrumb.css +57 -0
- package/registry/ui/components/nm-breadcrumb/nm-breadcrumb.tsx +42 -0
- package/registry/ui/components/nm-button/nm-button.css +106 -0
- package/registry/ui/components/nm-button/nm-button.tsx +58 -0
- package/registry/ui/components/nm-button-group/nm-button-group.css +98 -0
- package/registry/ui/components/nm-button-group/nm-button-group.tsx +32 -0
- package/registry/ui/components/nm-calendar/nm-calendar.css +178 -0
- package/registry/ui/components/nm-calendar/nm-calendar.tsx +43 -0
- package/registry/ui/components/nm-card/nm-card.css +130 -0
- package/registry/ui/components/nm-card/nm-card.tsx +83 -0
- package/registry/ui/components/nm-chatbox/nm-chatbox-icon.tsx +39 -0
- package/registry/ui/components/nm-chatbox/nm-chatbox.css +682 -0
- package/registry/ui/components/nm-chatbox/nm-chatbox.tsx +101 -0
- package/registry/ui/components/nm-checkbox/nm-checkbox.css +61 -0
- package/registry/ui/components/nm-checkbox/nm-checkbox.tsx +14 -0
- package/registry/ui/components/nm-chip/nm-chip.css +112 -0
- package/registry/ui/components/nm-chip/nm-chip.tsx +86 -0
- package/registry/ui/components/nm-code-block/nm-code-block.css +240 -0
- package/registry/ui/components/nm-code-block/nm-code-block.tsx +196 -0
- package/registry/ui/components/nm-collection/nm-collection-bar.tsx +65 -0
- package/registry/ui/components/nm-collection/nm-collection-grid.tsx +69 -0
- package/registry/ui/components/nm-collection/nm-collection-query.tsx +99 -0
- package/registry/ui/components/nm-collection/nm-collection-row-menu.tsx +55 -0
- package/registry/ui/components/nm-collection/nm-collection-table.tsx +99 -0
- package/registry/ui/components/nm-collection/nm-collection-tile-actions.tsx +50 -0
- package/registry/ui/components/nm-collection/nm-collection-title.tsx +25 -0
- package/registry/ui/components/nm-collection/nm-collection.css +353 -0
- package/registry/ui/components/nm-collection/use-collection-scroll-reveal.ts +38 -0
- package/registry/ui/components/nm-color-picker/nm-color-picker.css +67 -0
- package/registry/ui/components/nm-color-picker/nm-color-picker.tsx +79 -0
- package/registry/ui/components/nm-combobox/nm-combobox.css +72 -0
- package/registry/ui/components/nm-combobox/nm-combobox.tsx +80 -0
- package/registry/ui/components/nm-command/nm-command.css +190 -0
- package/registry/ui/components/nm-command/nm-command.tsx +125 -0
- package/registry/ui/components/nm-composer/nm-composer.css +178 -0
- package/registry/ui/components/nm-composer/nm-composer.tsx +151 -0
- package/registry/ui/components/nm-context-menu/nm-context-menu.tsx +25 -0
- package/registry/ui/components/nm-date-picker/nm-date-picker.css +140 -0
- package/registry/ui/components/nm-date-picker/nm-date-picker.tsx +153 -0
- package/registry/ui/components/nm-dialog/nm-dialog.css +84 -0
- package/registry/ui/components/nm-dialog/nm-dialog.tsx +40 -0
- package/registry/ui/components/nm-dropdown/nm-dropdown-item.ts +68 -0
- package/registry/ui/components/nm-dropdown/nm-dropdown-options.tsx +242 -0
- package/registry/ui/components/nm-dropdown/nm-dropdown-panel.tsx +171 -0
- package/registry/ui/components/nm-dropdown/nm-dropdown-placement.ts +157 -0
- package/registry/ui/components/nm-dropdown/nm-dropdown.css +312 -0
- package/registry/ui/components/nm-dropdown/nm-dropdown.tsx +412 -0
- package/registry/ui/components/nm-dropdown-menu/nm-dropdown-menu.css +145 -0
- package/registry/ui/components/nm-dropdown-menu/nm-dropdown-menu.tsx +118 -0
- package/registry/ui/components/nm-field/nm-field.css +356 -0
- package/registry/ui/components/nm-field/nm-field.tsx +355 -0
- package/registry/ui/components/nm-form-field/nm-form-field.css +103 -0
- package/registry/ui/components/nm-form-field/nm-form-field.tsx +71 -0
- package/registry/ui/components/nm-gallery/nm-gallery.css +66 -0
- package/registry/ui/components/nm-gallery/nm-gallery.tsx +31 -0
- package/registry/ui/components/nm-hover-card/nm-hover-card.css +26 -0
- package/registry/ui/components/nm-hover-card/nm-hover-card.tsx +28 -0
- package/registry/ui/components/nm-icon/nm-icon.css +6 -0
- package/registry/ui/components/nm-icon/nm-icon.tsx +69 -0
- package/registry/ui/components/nm-icon/nm-lucide.tsx +180 -0
- package/registry/ui/components/nm-icon-border/nm-icon-border.tsx +56 -0
- package/registry/ui/components/nm-input/nm-input.css +75 -0
- package/registry/ui/components/nm-input/nm-input.tsx +7 -0
- package/registry/ui/components/nm-input-group/nm-input-group.css +66 -0
- package/registry/ui/components/nm-input-group/nm-input-group.tsx +20 -0
- package/registry/ui/components/nm-label/nm-label.css +11 -0
- package/registry/ui/components/nm-label/nm-label.tsx +6 -0
- package/registry/ui/components/nm-list-item/nm-list-item.css +177 -0
- package/registry/ui/components/nm-list-item/nm-list-item.tsx +112 -0
- package/registry/ui/components/nm-menubar/nm-menubar.css +32 -0
- package/registry/ui/components/nm-menubar/nm-menubar.tsx +19 -0
- package/registry/ui/components/nm-message/nm-message-actions.tsx +24 -0
- package/registry/ui/components/nm-message/nm-message-meta.tsx +49 -0
- package/registry/ui/components/nm-message/nm-message.css +686 -0
- package/registry/ui/components/nm-message/nm-text-shimmer.tsx +6 -0
- package/registry/ui/components/nm-message/nm-trace.tsx +219 -0
- package/registry/ui/components/nm-modal/nm-modal.css +763 -0
- package/registry/ui/components/nm-modal/nm-modal.tsx +497 -0
- package/registry/ui/components/nm-native-select/nm-native-select.css +47 -0
- package/registry/ui/components/nm-native-select/nm-native-select.tsx +23 -0
- package/registry/ui/components/nm-panel/nm-panel.css +73 -0
- package/registry/ui/components/nm-panel/nm-panel.tsx +35 -0
- package/registry/ui/components/nm-panel-bar/nm-panel-bar.css +20 -0
- package/registry/ui/components/nm-panel-bar/nm-panel-bar.tsx +48 -0
- package/registry/ui/components/nm-popover/nm-popover.css +43 -0
- package/registry/ui/components/nm-popover/nm-popover.tsx +40 -0
- package/registry/ui/components/nm-progress/nm-progress.css +21 -0
- package/registry/ui/components/nm-progress/nm-progress.tsx +14 -0
- package/registry/ui/components/nm-prose/nm-prose.css +81 -0
- package/registry/ui/components/nm-prose/nm-prose.tsx +10 -0
- package/registry/ui/components/nm-questionnaire/nm-questionnaire.css +182 -0
- package/registry/ui/components/nm-questionnaire/nm-questionnaire.tsx +221 -0
- package/registry/ui/components/nm-radio-group/nm-radio-group.css +48 -0
- package/registry/ui/components/nm-radio-group/nm-radio-group.tsx +15 -0
- package/registry/ui/components/nm-rail-icon/nm-rail-icon.css +6 -0
- package/registry/ui/components/nm-rail-icon/nm-rail-icon.tsx +28 -0
- package/registry/ui/components/nm-resize-handle/nm-resize-handle.css +45 -0
- package/registry/ui/components/nm-resize-handle/nm-resize-handle.tsx +102 -0
- package/registry/ui/components/nm-segmented/nm-segmented.css +104 -0
- package/registry/ui/components/nm-segmented/nm-segmented.tsx +77 -0
- package/registry/ui/components/nm-select/nm-select.css +78 -0
- package/registry/ui/components/nm-select/nm-select.tsx +64 -0
- package/registry/ui/components/nm-separator/nm-separator.css +14 -0
- package/registry/ui/components/nm-separator/nm-separator.tsx +6 -0
- package/registry/ui/components/nm-side-panel/nm-side-panel.css +93 -0
- package/registry/ui/components/nm-side-panel/nm-side-panel.tsx +86 -0
- package/registry/ui/components/nm-slider/nm-slider.css +53 -0
- package/registry/ui/components/nm-slider/nm-slider.tsx +40 -0
- package/registry/ui/components/nm-small-icon-button/nm-small-icon-button.tsx +66 -0
- package/registry/ui/components/nm-status-bar/nm-status-bar.css +50 -0
- package/registry/ui/components/nm-status-bar/nm-status-bar.tsx +28 -0
- package/registry/ui/components/nm-switch/nm-switch.css +45 -0
- package/registry/ui/components/nm-switch/nm-switch.tsx +10 -0
- package/registry/ui/components/nm-table/nm-table.css +155 -0
- package/registry/ui/components/nm-table/nm-table.tsx +95 -0
- package/registry/ui/components/nm-tabs/nm-tabs.css +28 -0
- package/registry/ui/components/nm-tabs/nm-tabs.tsx +32 -0
- package/registry/ui/components/nm-textarea/nm-textarea.css +41 -0
- package/registry/ui/components/nm-textarea/nm-textarea.tsx +6 -0
- package/registry/ui/components/nm-toggle/nm-toggle.css +55 -0
- package/registry/ui/components/nm-toggle/nm-toggle.tsx +16 -0
- package/registry/ui/components/nm-toolbar/nm-toolbar.css +42 -0
- package/registry/ui/components/nm-toolbar/nm-toolbar.tsx +54 -0
- package/registry/ui/components/nm-tooltip/nm-tooltip.css +37 -0
- package/registry/ui/components/nm-tooltip/nm-tooltip.tsx +35 -0
- package/registry/ui/components/nm-top-bar/nm-top-bar.css +29 -0
- package/registry/ui/components/nm-top-bar/nm-top-bar.tsx +34 -0
- package/registry/ui/components/nordman-icon-button/nordman-icon-button.css +119 -0
- package/registry/ui/components/nordman-icon-button/nordman-icon-button.tsx +185 -0
- package/registry/ui/components/nordman-login/nordman-login.css +195 -0
- package/registry/ui/components/nordman-login/nordman-login.tsx +136 -0
- package/registry/ui/components/nordman-login-field/nordman-login-field.tsx +55 -0
- package/registry/ui/components/nordman-login-forgot/nordman-login-forgot.tsx +56 -0
- package/registry/ui/components/nordman-login-google/nordman-login-google.tsx +28 -0
- package/registry/ui/components/nordman-login-hero/nordman-login-hero.tsx +38 -0
- package/registry/ui/components/nordman-login-register/nordman-login-register.tsx +70 -0
- package/registry/ui/components/nordman-login-reset/nordman-login-reset.tsx +71 -0
- package/registry/ui/components/nordman-login-reveal/nordman-login-reveal.tsx +41 -0
- package/registry/ui/components/nordman-login-sign-in/nordman-login-sign-in.tsx +69 -0
- package/registry/ui/components/nordman-toggle/nordman-toggle.css +28 -0
- package/registry/ui/components/nordman-toggle/nordman-toggle.tsx +35 -0
- package/registry/ui/config/nm-ai.ts +59 -0
- package/registry/ui/config/nm-appearance.ts +275 -0
- package/registry/ui/config/nm-bar-overflow.ts +10 -0
- package/registry/ui/config/nm-button.ts +38 -0
- package/registry/ui/config/nm-chatbox-icons.ts +67 -0
- package/registry/ui/config/nm-chatbox.ts +42 -0
- package/registry/ui/config/nm-collection.ts +101 -0
- package/registry/ui/config/nm-composer.ts +39 -0
- package/registry/ui/config/nm-dropdown.ts +62 -0
- package/registry/ui/config/nm-field.ts +43 -0
- package/registry/ui/config/nm-icon-button.ts +35 -0
- package/registry/ui/config/nm-icons.ts +417 -0
- package/registry/ui/config/nm-list-item.ts +14 -0
- package/registry/ui/config/nm-message.ts +106 -0
- package/registry/ui/config/nm-modal.ts +76 -0
- package/registry/ui/config/nm-panel-bar.ts +11 -0
- package/registry/ui/config/nm-questionnaire.ts +53 -0
- package/registry/ui/config/nm-radius.ts +56 -0
- package/registry/ui/config/nm-rail-icons.ts +27 -0
- package/registry/ui/config/nm-segmented.ts +19 -0
- package/registry/ui/config/nm-side-panel.ts +16 -0
- package/registry/ui/config/nm-site-palette.ts +30 -0
- package/registry/ui/config/nm-small-icon-button.ts +17 -0
- package/registry/ui/config/nm-tabs.ts +9 -0
- package/registry/ui/config/nm-top-bar.ts +4 -0
- package/registry/ui/config/nordman-chrome.ts +14 -0
- package/registry/ui/config/nordman-login.ts +28 -0
- package/registry/ui/content/nm-modal.ts +5 -0
- package/registry/ui/content/nordman-login.ts +85 -0
- package/registry/ui/kit-logger.ts +1 -0
- package/registry/ui/lib/appearance/appearanceState.ts +240 -0
- package/registry/ui/lib/appearance/applyAppearance.ts +36 -0
- package/registry/ui/lib/appearance/cloudOrbAppearance.ts +36 -0
- package/registry/ui/lib/appearance/color.ts +96 -0
- package/registry/ui/lib/appearance/deriveTokens.ts +218 -0
- package/registry/ui/lib/appearance/index.ts +6 -0
- package/registry/ui/lib/appearance/markTokens.ts +49 -0
- package/registry/ui/lib/appearance/readLayoutMetrics.ts +28 -0
- package/registry/ui/lib/bar-overflow.ts +41 -0
- package/registry/ui/lib/logger.ts +53 -0
- package/registry/ui/lib/menu-motion.ts +187 -0
- package/registry/ui/lib/nm-class.ts +4 -0
- package/registry/ui/lib/nordman-ui-locale.ts +43 -0
- package/registry/ui/styles/interface-theme.css +196 -0
- package/registry/ui/styles/light-appearance.css +72 -0
- package/registry/ui/styles/tokens.css +424 -0
- package/registry/ui/styles/utilities.css +12 -0
- package/dist/ui/components/nm-accordion/nm-accordion.d.ts +0 -6
|
@@ -0,0 +1,682 @@
|
|
|
1
|
+
.nm-chatbox {
|
|
2
|
+
--nm-chatbox-icon: var(--nm-icon-button);
|
|
3
|
+
--nm-chatbox-control: var(--nm-icon-control);
|
|
4
|
+
/* Collapsed box is the control plus the 12px inset. The corner stays half of that. */
|
|
5
|
+
--nm-chatbox-height: calc(var(--nm-chatbox-control) + var(--nm-space-12) * 2);
|
|
6
|
+
--nm-chatbox-radius: var(--nm-radius-lg);
|
|
7
|
+
--nm-chatbox-line: var(--nm-space-24);
|
|
8
|
+
--nm-chatbox-visible-lines: 3;
|
|
9
|
+
--nm-chatbox-attachment: calc(var(--nm-space-40) * 2);
|
|
10
|
+
--nm-chatbox-integration-icon: url('/interface/chatbox/integration.svg');
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
align-items: center;
|
|
15
|
+
gap: var(--nm-space-16);
|
|
16
|
+
width: min(100%, var(--nm-chatbox-width));
|
|
17
|
+
border: 0;
|
|
18
|
+
border-radius: var(--nm-chatbox-radius);
|
|
19
|
+
background: var(--nm-raised);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* Padding is the box inset. Utilities on the same node must not replace it. */
|
|
23
|
+
.nm-chatbox.nm-chatbox {
|
|
24
|
+
padding: var(--nm-space-12) !important;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.nm-chatbox[data-expanded='true'] {
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
align-items: stretch;
|
|
30
|
+
gap: var(--nm-space-24);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.nm-chatbox__files,
|
|
34
|
+
.nm-chatbox__file-list {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-wrap: wrap;
|
|
37
|
+
align-items: flex-start;
|
|
38
|
+
gap: var(--nm-space-8);
|
|
39
|
+
width: 100%;
|
|
40
|
+
max-width: 100%;
|
|
41
|
+
margin: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.nm-chatbox__file-list[data-rtl='true'] {
|
|
45
|
+
flex-direction: row-reverse;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.nm-chatbox__file-item {
|
|
49
|
+
flex: 0 0 auto;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.nm-chatbox__image-attachment {
|
|
53
|
+
position: relative;
|
|
54
|
+
display: block;
|
|
55
|
+
flex-shrink: 0;
|
|
56
|
+
width: var(--nm-chatbox-attachment);
|
|
57
|
+
height: var(--nm-chatbox-attachment);
|
|
58
|
+
border-radius: var(--nm-radius-md);
|
|
59
|
+
background: var(--nm-line);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.nm-chatbox__image-preview {
|
|
63
|
+
width: var(--nm-chatbox-attachment);
|
|
64
|
+
height: var(--nm-chatbox-attachment);
|
|
65
|
+
border-radius: var(--nm-radius-md);
|
|
66
|
+
background-color: var(--nm-line);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.nm-chatbox__image-attachment > button {
|
|
70
|
+
top: var(--nm-space-4);
|
|
71
|
+
right: var(--nm-space-4);
|
|
72
|
+
transform: none;
|
|
73
|
+
opacity: 0;
|
|
74
|
+
transition: opacity var(--control-duration) var(--ease);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.nm-chatbox__image-attachment:hover > button,
|
|
78
|
+
.nm-chatbox__image-attachment:focus-within > button {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.nm-chatbox:not([data-expanded='true']):not([data-dictating='true']) {
|
|
83
|
+
display: grid;
|
|
84
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
85
|
+
align-items: center;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.nm-chatbox:not([data-expanded='true']):not([data-dictating='true']) .nm-chatbox__row {
|
|
89
|
+
display: contents;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.nm-chatbox:not([data-expanded='true']):not([data-dictating='true']) > .flex {
|
|
93
|
+
grid-column: 2;
|
|
94
|
+
grid-row: 1;
|
|
95
|
+
min-width: 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.nm-chatbox:not([data-expanded='true']):not([data-dictating='true']) .nm-chatbox__tools {
|
|
99
|
+
grid-column: 1;
|
|
100
|
+
grid-row: 1;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.nm-chatbox:not([data-expanded='true']):not([data-dictating='true']) .nm-chatbox__actions {
|
|
104
|
+
grid-column: 3;
|
|
105
|
+
grid-row: 1;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.nm-chatbox__queue {
|
|
109
|
+
width: 100%;
|
|
110
|
+
min-width: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.nm-chatbox:not([data-expanded='true']):not([data-dictating='true']) .nm-chatbox__queue {
|
|
114
|
+
grid-column: 1 / -1;
|
|
115
|
+
grid-row: 1;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.nm-chatbox:not([data-expanded='true']):not([data-dictating='true']):has(.nm-chatbox__queue) .nm-chatbox__tools,
|
|
119
|
+
.nm-chatbox:not([data-expanded='true']):not([data-dictating='true']):has(.nm-chatbox__queue) > .flex,
|
|
120
|
+
.nm-chatbox:not([data-expanded='true']):not([data-dictating='true']):has(.nm-chatbox__queue) .nm-chatbox__actions {
|
|
121
|
+
grid-row: 2;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.nm-chatbox__queue-list {
|
|
125
|
+
display: flex;
|
|
126
|
+
flex-direction: column;
|
|
127
|
+
gap: var(--nm-space-2);
|
|
128
|
+
max-height: calc(3 * 2.5rem + 2 * var(--nm-space-2));
|
|
129
|
+
overflow-x: hidden;
|
|
130
|
+
overflow-y: auto;
|
|
131
|
+
scrollbar-width: none;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.nm-chatbox__queue-list[data-scrolling='true'] {
|
|
135
|
+
scrollbar-width: thin;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.nm-chatbox__queue-list::-webkit-scrollbar {
|
|
139
|
+
width: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.nm-chatbox__queue-list[data-scrolling='true']::-webkit-scrollbar {
|
|
143
|
+
width: var(--nm-space-4);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.nm-chatbox__queue-row {
|
|
147
|
+
display: flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
justify-content: space-between;
|
|
150
|
+
gap: var(--nm-space-8);
|
|
151
|
+
min-width: 0;
|
|
152
|
+
padding: var(--nm-space-8) var(--nm-space-12);
|
|
153
|
+
border: 0;
|
|
154
|
+
border-radius: var(--nm-radius-lg);
|
|
155
|
+
background: var(--nm-panel);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.nm-chatbox__queue-text {
|
|
159
|
+
min-width: 0;
|
|
160
|
+
flex: 1 1 auto;
|
|
161
|
+
overflow: hidden;
|
|
162
|
+
text-overflow: ellipsis;
|
|
163
|
+
white-space: nowrap;
|
|
164
|
+
font-family: var(--nm-font);
|
|
165
|
+
font-size: var(--nm-type-ui-sm);
|
|
166
|
+
font-weight: var(--nm-weight-medium);
|
|
167
|
+
line-height: var(--nm-type-ui-sm);
|
|
168
|
+
color: var(--nm-fg-subtle);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.nm-chatbox__queue-actions {
|
|
172
|
+
display: flex;
|
|
173
|
+
flex-shrink: 0;
|
|
174
|
+
align-items: center;
|
|
175
|
+
gap: var(--nm-space-4);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.nm-chatbox__queue-action {
|
|
179
|
+
display: inline-flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
justify-content: center;
|
|
182
|
+
padding: var(--nm-space-4);
|
|
183
|
+
border: 0;
|
|
184
|
+
border-radius: var(--nm-radius-lg);
|
|
185
|
+
background: transparent;
|
|
186
|
+
color: var(--nm-fg-subtle);
|
|
187
|
+
cursor: pointer;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.nm-chatbox__queue-action:hover:not(:disabled) {
|
|
191
|
+
background: var(--nm-line);
|
|
192
|
+
color: var(--nm-fg);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.nm-chatbox__queue-action:disabled {
|
|
196
|
+
opacity: var(--nm-soon-opacity);
|
|
197
|
+
cursor: default;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.nm-chatbox__queue-action svg {
|
|
201
|
+
width: var(--nm-type-ui-sm);
|
|
202
|
+
height: var(--nm-type-ui-sm);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.nm-chatbox__prompt {
|
|
206
|
+
position: relative;
|
|
207
|
+
width: 100%;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.nm-chatbox__placeholder,
|
|
211
|
+
.nm-chatbox__field,
|
|
212
|
+
.nm-chatbox__inline,
|
|
213
|
+
.nm-chatbox__connect-title {
|
|
214
|
+
box-sizing: border-box;
|
|
215
|
+
margin: 0;
|
|
216
|
+
padding: 0;
|
|
217
|
+
border: 0;
|
|
218
|
+
font-family: var(--nm-font);
|
|
219
|
+
font-size: var(--nm-type-body);
|
|
220
|
+
font-weight: var(--nm-weight-medium);
|
|
221
|
+
font-style: normal;
|
|
222
|
+
line-height: var(--nm-space-24);
|
|
223
|
+
letter-spacing: normal;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.nm-chatbox__connect-title {
|
|
227
|
+
min-width: 0;
|
|
228
|
+
flex: 1;
|
|
229
|
+
overflow: hidden;
|
|
230
|
+
color: var(--nm-fg);
|
|
231
|
+
white-space: nowrap;
|
|
232
|
+
text-overflow: ellipsis;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.nm-chatbox__connect-icon {
|
|
236
|
+
width: var(--nm-chatbox-icon);
|
|
237
|
+
height: var(--nm-chatbox-icon);
|
|
238
|
+
flex-shrink: 0;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.nm-chatbox__placeholder {
|
|
242
|
+
position: absolute;
|
|
243
|
+
inset: 0;
|
|
244
|
+
color: var(--nm-fg-subtle);
|
|
245
|
+
pointer-events: none;
|
|
246
|
+
overflow: hidden;
|
|
247
|
+
white-space: nowrap;
|
|
248
|
+
text-overflow: ellipsis;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.nm-chatbox__placeholder[data-hidden='true'] {
|
|
252
|
+
visibility: hidden;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.nm-chatbox__placeholder-emphasis {
|
|
256
|
+
font-weight: var(--nm-weight-medium);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.nm-chatbox .nm-chatbox__field {
|
|
260
|
+
display: block;
|
|
261
|
+
position: relative;
|
|
262
|
+
width: 100%;
|
|
263
|
+
min-height: var(--nm-chatbox-line);
|
|
264
|
+
max-height: calc(var(--nm-chatbox-line) * var(--nm-chatbox-visible-lines)) !important;
|
|
265
|
+
appearance: none;
|
|
266
|
+
background: transparent;
|
|
267
|
+
color: var(--nm-fg);
|
|
268
|
+
caret-color: var(--nm-fg);
|
|
269
|
+
resize: none;
|
|
270
|
+
overflow-x: hidden;
|
|
271
|
+
overflow-y: auto !important;
|
|
272
|
+
overscroll-behavior: contain;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.nm-chatbox[data-collapsed='true'] .nm-chatbox__field {
|
|
276
|
+
max-height: var(--nm-chatbox-line) !important;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* The prompt sits inside the pill. A focused rectangle around the placeholder
|
|
280
|
+
is the global text-field outline (keyboard modality, and the dark
|
|
281
|
+
:focus-visible fallback). The caret is the focus indicator here. */
|
|
282
|
+
.nm-chatbox__field:is(:focus, :focus-visible),
|
|
283
|
+
html[data-input-modality='keyboard'] .nm-chatbox__field:is(:focus, :focus-visible) {
|
|
284
|
+
outline: none !important;
|
|
285
|
+
outline-offset: 0 !important;
|
|
286
|
+
box-shadow: none !important;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.nm-chatbox__field[data-inline-links='true'] {
|
|
290
|
+
z-index: 1;
|
|
291
|
+
color: transparent;
|
|
292
|
+
-webkit-text-fill-color: transparent;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.nm-chatbox__inline {
|
|
296
|
+
position: absolute;
|
|
297
|
+
inset: 0;
|
|
298
|
+
z-index: 0;
|
|
299
|
+
overflow: auto;
|
|
300
|
+
scrollbar-width: none;
|
|
301
|
+
pointer-events: none;
|
|
302
|
+
white-space: pre-wrap;
|
|
303
|
+
overflow-wrap: anywhere;
|
|
304
|
+
color: var(--nm-fg);
|
|
305
|
+
user-select: none;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.nm-chatbox__inline::-webkit-scrollbar {
|
|
309
|
+
display: none;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.nm-chatbox__inline-link {
|
|
313
|
+
display: inline;
|
|
314
|
+
pointer-events: auto;
|
|
315
|
+
padding: 0 var(--nm-space-4);
|
|
316
|
+
margin: 0 calc(var(--nm-space-4) * -1);
|
|
317
|
+
border-radius: var(--nm-radius-sm);
|
|
318
|
+
background: var(--nm-panel);
|
|
319
|
+
box-decoration-break: clone;
|
|
320
|
+
-webkit-box-decoration-break: clone;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.nm-chatbox__field::placeholder {
|
|
324
|
+
color: transparent;
|
|
325
|
+
font: inherit;
|
|
326
|
+
line-height: inherit;
|
|
327
|
+
letter-spacing: inherit;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.nm-chatbox__row {
|
|
331
|
+
display: flex;
|
|
332
|
+
align-items: center;
|
|
333
|
+
justify-content: space-between;
|
|
334
|
+
gap: var(--nm-space-8);
|
|
335
|
+
width: auto;
|
|
336
|
+
min-height: var(--nm-chatbox-control);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.nm-chatbox[data-expanded='true'] .nm-chatbox__row,
|
|
340
|
+
.nm-chatbox[data-dictating='true'] .nm-chatbox__row {
|
|
341
|
+
width: 100%;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.nm-chatbox[data-dictating='true'] {
|
|
345
|
+
flex-direction: row;
|
|
346
|
+
align-items: center;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.nm-chatbox__row[data-dictating='true'] {
|
|
350
|
+
gap: var(--nm-space-24);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.nm-chatbox__tools,
|
|
354
|
+
.nm-chatbox__actions {
|
|
355
|
+
display: flex;
|
|
356
|
+
flex-shrink: 0;
|
|
357
|
+
align-items: center;
|
|
358
|
+
gap: var(--nm-space-8);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.nm-chatbox__dictation {
|
|
362
|
+
display: flex;
|
|
363
|
+
flex: 1 1 auto;
|
|
364
|
+
align-self: stretch;
|
|
365
|
+
width: 100%;
|
|
366
|
+
min-width: 0;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.nm-chatbox__tools {
|
|
370
|
+
flex: 0 0 auto;
|
|
371
|
+
min-width: 0;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.nm-chatbox__tools > :empty {
|
|
375
|
+
display: none;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.nm-chatbox[data-expanded='true'] .nm-chatbox__tools,
|
|
379
|
+
.nm-chatbox[data-dictating='true'] .nm-chatbox__tools {
|
|
380
|
+
flex: 1 1 auto;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.nm-chatbox [data-testid='dictation-cancel'][data-busy='true'] {
|
|
384
|
+
|
|
385
|
+
opacity: 0.5;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.nm-chatbox__tool img,
|
|
389
|
+
.nm-chatbox #attach-file img,
|
|
390
|
+
.nm-chatbox #attach-file-menu-button img,
|
|
391
|
+
.nm-chatbox #tools-dropdown-button img,
|
|
392
|
+
.nm-chatbox #audio-recorder img,
|
|
393
|
+
.nm-chatbox [data-testid='agent-control-button'] img,
|
|
394
|
+
.nm-chatbox [data-testid='dictation-cancel'] img,
|
|
395
|
+
.nm-chatbox [data-testid='dictation-confirm'] img,
|
|
396
|
+
.nm-chatbox [data-testid='dictation-confirm'] svg,
|
|
397
|
+
.nm-chatbox [data-testid='send-button'] img,
|
|
398
|
+
.nm-chatbox [data-testid='send-button'] svg,
|
|
399
|
+
.nm-chatbox svg.nm-icon {
|
|
400
|
+
display: block;
|
|
401
|
+
width: var(--nm-icon-button);
|
|
402
|
+
height: var(--nm-icon-button);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.nm-chatbox__chip {
|
|
406
|
+
display: inline-flex;
|
|
407
|
+
align-items: center;
|
|
408
|
+
gap: var(--nm-space-4);
|
|
409
|
+
padding: var(--nm-icon-pad);
|
|
410
|
+
border: var(--nm-rule) solid var(--nm-line);
|
|
411
|
+
border-radius: calc((var(--nm-icon-control) + var(--nm-rule) * 2) / 2);
|
|
412
|
+
background: transparent;
|
|
413
|
+
color: var(--nm-fg-subtle);
|
|
414
|
+
appearance: none;
|
|
415
|
+
font-family: var(--nm-font);
|
|
416
|
+
font-size: var(--nm-type-ui-sm);
|
|
417
|
+
font-weight: var(--nm-weight-semibold);
|
|
418
|
+
white-space: nowrap;
|
|
419
|
+
cursor: pointer;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.nm-chatbox__chip-icon {
|
|
423
|
+
display: block;
|
|
424
|
+
flex-shrink: 0;
|
|
425
|
+
width: var(--nm-chatbox-icon);
|
|
426
|
+
height: var(--nm-chatbox-icon);
|
|
427
|
+
background-color: currentColor;
|
|
428
|
+
-webkit-mask: var(--nm-chatbox-integration-icon) center / contain no-repeat;
|
|
429
|
+
mask: var(--nm-chatbox-integration-icon) center / contain no-repeat;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.nm-chatbox__chip--connected .nm-chatbox__chip-icon {
|
|
433
|
+
background-color: var(--nm-ok);
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.nm-chatbox__chip img {
|
|
437
|
+
display: block;
|
|
438
|
+
width: var(--nm-icon-button);
|
|
439
|
+
height: var(--nm-icon-button);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.nm-chatbox [data-loading='true'] svg {
|
|
443
|
+
animation: nm-chatbox-spin 0.8s linear infinite;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
@keyframes nm-chatbox-spin {
|
|
447
|
+
to {
|
|
448
|
+
transform: rotate(360deg);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
@media (prefers-reduced-motion: reduce) {
|
|
453
|
+
.nm-chatbox [data-loading='true'] svg {
|
|
454
|
+
animation: none;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
html[data-interface='nordman'] .nm-chatbox-menu.popover-ui {
|
|
459
|
+
display: flex;
|
|
460
|
+
flex-direction: column;
|
|
461
|
+
gap: var(--nm-space-4);
|
|
462
|
+
width: var(--popover-anchor-width);
|
|
463
|
+
max-width: var(--popover-available-width, 100%);
|
|
464
|
+
max-height: min(var(--nm-dropdown-max), var(--popover-available-height, 100dvh));
|
|
465
|
+
margin: 0;
|
|
466
|
+
padding: var(--nm-list-pad);
|
|
467
|
+
overflow-x: hidden;
|
|
468
|
+
overflow-y: auto;
|
|
469
|
+
overscroll-behavior: contain;
|
|
470
|
+
border: 0;
|
|
471
|
+
border-radius: var(--nm-menu-radius);
|
|
472
|
+
background: var(--nm-raised);
|
|
473
|
+
box-shadow: none;
|
|
474
|
+
color: var(--nm-fg);
|
|
475
|
+
font-family: var(--nm-font);
|
|
476
|
+
scrollbar-width: none;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.nm-chatbox-menu.popover-ui[data-scrolling='true'] {
|
|
480
|
+
scrollbar-width: thin;
|
|
481
|
+
scrollbar-color: var(--nm-stroke) transparent;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.nm-chatbox-menu.popover-ui::-webkit-scrollbar {
|
|
485
|
+
width: 0;
|
|
486
|
+
height: 0;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.nm-chatbox-menu.popover-ui[data-scrolling='true']::-webkit-scrollbar {
|
|
490
|
+
width: var(--nm-rail-scrollbar);
|
|
491
|
+
height: var(--nm-rail-scrollbar);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.nm-chatbox-menu.popover-ui[data-scrolling='true']::-webkit-scrollbar-thumb {
|
|
495
|
+
background: var(--nm-stroke);
|
|
496
|
+
border-radius: var(--nm-radius-sm);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.nm-chatbox-menu .nm-chatbox-menu__item {
|
|
500
|
+
display: flex;
|
|
501
|
+
align-items: center;
|
|
502
|
+
justify-content: space-between;
|
|
503
|
+
gap: var(--nm-space-8);
|
|
504
|
+
width: 100%;
|
|
505
|
+
margin: 0;
|
|
506
|
+
padding: var(--nm-space-6);
|
|
507
|
+
border-radius: var(--nm-panel-item-radius);
|
|
508
|
+
background: transparent;
|
|
509
|
+
color: var(--nm-fg);
|
|
510
|
+
font-size: var(--nm-type-ui);
|
|
511
|
+
font-weight: var(--nm-weight-medium);
|
|
512
|
+
line-height: var(--nm-leading-ui);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.nm-chatbox-menu .nm-chatbox-menu__item:hover,
|
|
516
|
+
.nm-chatbox-menu .nm-chatbox-menu__item:focus-visible,
|
|
517
|
+
.nm-chatbox-menu .nm-chatbox-menu__item[data-active-item],
|
|
518
|
+
.nm-chatbox-menu .nm-chatbox-menu__item--active {
|
|
519
|
+
background: var(--nm-panel);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.nm-chatbox-menu:has(.nm-chatbox-menu__item--active)
|
|
523
|
+
.nm-chatbox-menu__item[data-active-item]:not(.nm-chatbox-menu__item--active):not(:hover) {
|
|
524
|
+
background: transparent;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.nm-chatbox-menu__copy {
|
|
528
|
+
display: flex;
|
|
529
|
+
min-width: 0;
|
|
530
|
+
flex: 1 1 auto;
|
|
531
|
+
align-items: center;
|
|
532
|
+
justify-content: space-between;
|
|
533
|
+
gap: var(--nm-space-16);
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.nm-chatbox-menu__hint {
|
|
537
|
+
flex-shrink: 0;
|
|
538
|
+
color: var(--nm-stroke);
|
|
539
|
+
font-size: var(--nm-type-ui);
|
|
540
|
+
font-weight: var(--nm-weight-medium);
|
|
541
|
+
text-align: right;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.nm-chatbox-menu .nm-chatbox-menu__section {
|
|
545
|
+
padding: var(--nm-space-6);
|
|
546
|
+
background: transparent;
|
|
547
|
+
color: var(--nm-fg-subtle);
|
|
548
|
+
font-size: var(--nm-type-ui);
|
|
549
|
+
font-weight: var(--nm-weight-medium);
|
|
550
|
+
cursor: default;
|
|
551
|
+
opacity: 1;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.nm-chatbox-menu .nm-chatbox-menu__section:hover,
|
|
555
|
+
.nm-chatbox-menu .nm-chatbox-menu__section:focus-visible,
|
|
556
|
+
.nm-chatbox-menu .nm-chatbox-menu__section[aria-disabled='true'] {
|
|
557
|
+
background: transparent;
|
|
558
|
+
opacity: 1;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.nm-chatbox-menu--text .nm-chatbox-menu__copy > span:first-child {
|
|
562
|
+
min-width: 0;
|
|
563
|
+
overflow: hidden;
|
|
564
|
+
text-overflow: ellipsis;
|
|
565
|
+
white-space: nowrap;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.nm-chatbox-menu--text .nm-chatbox-menu__hint {
|
|
569
|
+
flex-shrink: 1;
|
|
570
|
+
min-width: 0;
|
|
571
|
+
overflow: hidden;
|
|
572
|
+
text-overflow: ellipsis;
|
|
573
|
+
white-space: nowrap;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.nm-chatbox-menu .nm-chatbox-menu__icon {
|
|
577
|
+
display: inline-flex;
|
|
578
|
+
width: var(--nm-icon-button);
|
|
579
|
+
height: var(--nm-icon-button);
|
|
580
|
+
margin: 0;
|
|
581
|
+
color: var(--nm-fg);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.nm-chatbox-menu .nm-chatbox-menu__icon svg,
|
|
585
|
+
.nm-chatbox-menu .nm-chatbox-menu__icon .nm-icon,
|
|
586
|
+
.nm-chatbox-menu .nm-chatbox-menu__icon img,
|
|
587
|
+
.nm-chatbox-menu .nm-chatbox-menu__logo {
|
|
588
|
+
width: var(--nm-icon-button);
|
|
589
|
+
height: var(--nm-icon-button);
|
|
590
|
+
padding: 0;
|
|
591
|
+
object-fit: contain;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.nm-chatbox-menu__anchor {
|
|
595
|
+
position: absolute;
|
|
596
|
+
width: 0;
|
|
597
|
+
height: 0;
|
|
598
|
+
padding: 0;
|
|
599
|
+
border: 0;
|
|
600
|
+
overflow: hidden;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.nm-chatbox__app {
|
|
604
|
+
display: inline-flex;
|
|
605
|
+
flex-shrink: 0;
|
|
606
|
+
align-items: center;
|
|
607
|
+
gap: var(--nm-space-8);
|
|
608
|
+
padding: var(--nm-icon-pad) var(--nm-space-12);
|
|
609
|
+
border: 0;
|
|
610
|
+
border-radius: var(--nm-control-radius);
|
|
611
|
+
background: var(--nm-panel);
|
|
612
|
+
color: var(--nm-fg-subtle);
|
|
613
|
+
font-family: var(--nm-font);
|
|
614
|
+
font-size: var(--nm-type-ui);
|
|
615
|
+
font-weight: var(--nm-weight-medium);
|
|
616
|
+
line-height: var(--nm-type-ui);
|
|
617
|
+
cursor: pointer;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.nm-chatbox__app .nm-chatbox-menu__logo,
|
|
621
|
+
.nm-chatbox__app .nm-icon,
|
|
622
|
+
.nm-chatbox__app img {
|
|
623
|
+
width: var(--nm-icon-button);
|
|
624
|
+
height: var(--nm-icon-button);
|
|
625
|
+
padding: 0;
|
|
626
|
+
object-fit: contain;
|
|
627
|
+
background: transparent;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.nm-chatbox__chips {
|
|
631
|
+
display: flex;
|
|
632
|
+
flex-wrap: wrap;
|
|
633
|
+
align-items: center;
|
|
634
|
+
gap: var(--nm-space-8);
|
|
635
|
+
min-width: 0;
|
|
636
|
+
max-width: 100%;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.nm-chatbox .nm-chatbox__prompt[data-connections='true'] {
|
|
640
|
+
display: flex;
|
|
641
|
+
flex-direction: column !important;
|
|
642
|
+
align-items: stretch;
|
|
643
|
+
justify-content: flex-start;
|
|
644
|
+
gap: var(--nm-space-24);
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
.nm-chatbox .nm-chatbox__prompt[data-connections='true'] .nm-chatbox__chips,
|
|
648
|
+
.nm-chatbox .nm-chatbox__prompt[data-connections='true'] .nm-chatbox__prompt-field {
|
|
649
|
+
flex: 0 0 auto;
|
|
650
|
+
width: 100%;
|
|
651
|
+
min-width: 0;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
/* The field is the placeholder's containing block. Static positioning lets
|
|
655
|
+
the overlay use the prompt instead, and the prompt includes the chips. */
|
|
656
|
+
.nm-chatbox .nm-chatbox__prompt[data-connections='true'] .nm-chatbox__prompt-field {
|
|
657
|
+
position: relative;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
.nm-chatbox .nm-chatbox__prompt[data-connections='true'] .nm-chatbox__chips {
|
|
661
|
+
align-self: flex-start;
|
|
662
|
+
width: auto;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.nm-chatbox__prompt-field {
|
|
666
|
+
position: relative;
|
|
667
|
+
min-width: 0;
|
|
668
|
+
flex: 1 1 auto;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.nm-landing-composer--agent .nm-chatbox:not([data-dictating='true']) {
|
|
672
|
+
display: flex;
|
|
673
|
+
flex-direction: column;
|
|
674
|
+
align-items: stretch;
|
|
675
|
+
gap: var(--nm-space-24);
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.nm-landing-composer--agent .nm-chatbox:not([data-dictating='true']) .nm-chatbox__row {
|
|
679
|
+
display: flex;
|
|
680
|
+
width: 100%;
|
|
681
|
+
}
|
|
682
|
+
|