nexus-shared 2.0.0 → 3.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 +446 -0
- package/LICENSE +21 -21
- package/README.md +1084 -903
- package/dist/Client.Index.d.ts +14 -0
- package/dist/Client.Index.js +14 -0
- package/dist/Components/Chats/Chat.d.ts +28 -0
- package/dist/Components/Chats/Chat.js +19 -0
- package/dist/Components/Chats/ChatButton.d.ts +26 -0
- package/dist/Components/Chats/ChatButton.js +41 -0
- package/dist/Components/Chats/ChatComposer.d.ts +41 -0
- package/dist/Components/Chats/ChatComposer.js +177 -0
- package/dist/Components/Chats/ChatConversations.d.ts +35 -0
- package/dist/Components/Chats/ChatConversations.js +38 -0
- package/dist/Components/Chats/ChatPanel.d.ts +66 -0
- package/dist/Components/Chats/ChatPanel.js +94 -0
- package/dist/Components/Chats/ChatParts.d.ts +87 -0
- package/dist/Components/Chats/ChatParts.js +96 -0
- package/dist/Components/Chats/ChatThread.d.ts +22 -0
- package/dist/Components/Chats/ChatThread.js +96 -0
- package/dist/Components/Documents/Button.d.ts +6 -1
- package/dist/Components/Documents/Button.js +2 -2
- package/dist/Components/Documents/Menu.js +44 -28
- package/dist/Components/Documents/SplitButton.d.ts +3 -1
- package/dist/Components/Documents/SplitButton.js +12 -8
- package/dist/Components/Documents/TabButtons.d.ts +29 -8
- package/dist/Components/Documents/TabButtons.js +24 -5
- package/dist/Components/Forms/ApiForm.d.ts +6 -4
- package/dist/Components/Forms/ApiForm.js +15 -14
- package/dist/Components/Forms/Crud.js +342 -71
- package/dist/Components/Forms/CrudParts.d.ts +5 -1
- package/dist/Components/Forms/CrudParts.js +37 -5
- package/dist/Components/Forms/ExcelImport.d.ts +58 -0
- package/dist/Components/Forms/ExcelImport.js +319 -0
- package/dist/Components/Forms/Form.js +9 -13
- package/dist/Components/Forms/SubmitForm.d.ts +11 -2
- package/dist/Components/Forms/SubmitForm.js +23 -12
- package/dist/Components/Inputs/DateTimePicker.js +2 -1
- package/dist/Components/Inputs/DropdownParts.d.ts +1 -1
- package/dist/Components/Inputs/DropdownParts.js +4 -6
- package/dist/Components/Inputs/GroupForm.js +4 -2
- package/dist/Components/Inputs/InputRenderer.d.ts +2 -0
- package/dist/Components/Inputs/InputRenderer.js +1 -1
- package/dist/Components/Inputs/NumberBox.js +24 -2
- package/dist/Components/Inputs/ReadOnlyNotice.js +2 -1
- package/dist/Components/Inputs/RowsInput.d.ts +12 -1
- package/dist/Components/Inputs/RowsInput.js +55 -6
- package/dist/Components/Inputs/Slider.js +4 -1
- package/dist/Components/Inputs/TabularForm.d.ts +7 -3
- package/dist/Components/Inputs/TabularForm.js +117 -20
- package/dist/Components/Inputs/TimePanel.js +4 -3
- package/dist/Components/Inputs/TimePicker.js +2 -1
- package/dist/Components/Layouts/Popup.js +1 -4
- package/dist/Components/Layouts/ThemePicker.d.ts +20 -3
- package/dist/Components/Layouts/ThemePicker.js +77 -6
- package/dist/Components/Layouts/ThemeScript.d.ts +4 -2
- package/dist/Components/Layouts/ThemeScript.js +4 -2
- package/dist/Components/Layouts/ThemeSwitcher.d.ts +6 -3
- package/dist/Components/Layouts/ThemeSwitcher.js +39 -18
- package/dist/Components/Viewers/Avatar.d.ts +21 -0
- package/dist/Components/Viewers/Avatar.js +21 -0
- package/dist/Components/Viewers/DataTable.js +262 -60
- package/dist/Components/Viewers/DataTableColumns.d.ts +32 -0
- package/dist/Components/Viewers/DataTableColumns.js +200 -0
- package/dist/Components/Viewers/DataTableFilters.d.ts +21 -0
- package/dist/Components/Viewers/DataTableFilters.js +68 -0
- package/dist/Components/Viewers/DataTableParts.d.ts +8 -4
- package/dist/Components/Viewers/DataTableParts.js +24 -12
- package/dist/Helpers/AnimationHelpers.d.ts +11 -0
- package/dist/Helpers/AnimationHelpers.js +20 -2
- package/dist/Helpers/ApiClient.d.ts +22 -0
- package/dist/Helpers/ApiClient.js +4 -1
- package/dist/Helpers/ApiFormHelpers.d.ts +27 -4
- package/dist/Helpers/ApiFormHelpers.js +73 -9
- package/dist/Helpers/ApiModules.d.ts +0 -4
- package/dist/Helpers/ApiModules.js +1 -0
- package/dist/Helpers/ApiResponses.d.ts +14 -4
- package/dist/Helpers/ApiResponses.js +116 -25
- package/dist/Helpers/ApiRoutes.d.ts +0 -10
- package/dist/Helpers/ApiRoutes.js +2 -10
- package/dist/Helpers/ChatBackend.d.ts +134 -0
- package/dist/Helpers/ChatBackend.js +332 -0
- package/dist/Helpers/ChatHelpers.d.ts +189 -0
- package/dist/Helpers/ChatHelpers.js +486 -0
- package/dist/Helpers/ChatHooks.d.ts +81 -0
- package/dist/Helpers/ChatHooks.js +175 -0
- package/dist/Helpers/ChatStore.d.ts +132 -0
- package/dist/Helpers/ChatStore.js +394 -0
- package/dist/Helpers/ChatSummaries.d.ts +39 -0
- package/dist/Helpers/ChatSummaries.js +118 -0
- package/dist/Helpers/CrudBackend.d.ts +54 -9
- package/dist/Helpers/CrudBackend.js +103 -6
- package/dist/Helpers/CrudHelpers.d.ts +39 -4
- package/dist/Helpers/CrudHelpers.js +76 -11
- package/dist/Helpers/ExcelBackend.d.ts +106 -0
- package/dist/Helpers/ExcelBackend.js +296 -0
- package/dist/Helpers/ExcelHelpers.d.ts +126 -0
- package/dist/Helpers/ExcelHelpers.js +344 -0
- package/dist/Helpers/FormStore.d.ts +11 -5
- package/dist/Helpers/FormStore.js +44 -6
- package/dist/Helpers/MessageBuilder.js +1 -2
- package/dist/Helpers/NumberHelpers.d.ts +7 -1
- package/dist/Helpers/NumberHelpers.js +41 -3
- package/dist/Helpers/PopoverHelpers.d.ts +46 -9
- package/dist/Helpers/PopoverHelpers.js +163 -24
- package/dist/Helpers/PopoverHooks.d.ts +24 -0
- package/dist/Helpers/PopoverHooks.js +62 -0
- package/dist/Helpers/RowsStore.d.ts +14 -3
- package/dist/Helpers/RowsStore.js +37 -3
- package/dist/Helpers/TableColumns.d.ts +7 -0
- package/dist/Helpers/TableColumns.js +41 -13
- package/dist/Helpers/TableExport.js +12 -12
- package/dist/Helpers/TableFilters.d.ts +25 -0
- package/dist/Helpers/TableFilters.js +162 -0
- package/dist/Helpers/TableHelpers.d.ts +15 -4
- package/dist/Helpers/TableHelpers.js +28 -4
- package/dist/Helpers/TableStore.d.ts +11 -3
- package/dist/Helpers/TableStore.js +16 -5
- package/dist/Helpers/ThemeHelpers.d.ts +21 -4
- package/dist/Helpers/ThemeHelpers.js +46 -9
- package/dist/Helpers/UserPreferences.d.ts +14 -0
- package/dist/Helpers/UserPreferences.js +99 -0
- package/dist/Interfaces/ApiInterfaces.d.ts +29 -4
- package/dist/Interfaces/ApiInterfaces.js +16 -10
- package/dist/Interfaces/ChatInterfaces.d.ts +240 -0
- package/dist/Interfaces/ChatInterfaces.js +1 -0
- package/dist/Interfaces/CrudInterfaces.d.ts +92 -12
- package/dist/Interfaces/ExcelInterfaces.d.ts +227 -0
- package/dist/Interfaces/ExcelInterfaces.js +45 -0
- package/dist/Interfaces/FormInterfaces.d.ts +85 -7
- package/dist/Interfaces/MessageInterfaces.d.ts +1 -1
- package/dist/Interfaces/PreferenceInterfaces.d.ts +43 -0
- package/dist/Interfaces/PreferenceInterfaces.js +28 -0
- package/dist/Interfaces/TableInterfaces.d.ts +116 -9
- package/dist/Interfaces/ThemeInterfaces.d.ts +25 -0
- package/dist/Interfaces/ThemeInterfaces.js +15 -0
- package/dist/Services/BrowserApi.d.ts +18 -1
- package/dist/Services/BrowserApi.js +18 -0
- package/dist/Services/ChatApi.d.ts +37 -0
- package/dist/Services/ChatApi.js +98 -0
- package/dist/Services/ExcelApi.d.ts +48 -0
- package/dist/Services/ExcelApi.js +196 -0
- package/dist/Services/ServerApi.d.ts +6 -1
- package/dist/Services/ServerApi.js +3 -0
- package/dist/Services/ThemeService.d.ts +18 -2
- package/dist/Services/ThemeService.js +80 -16
- package/dist/Shared.Index.d.ts +10 -0
- package/dist/Shared.Index.js +10 -0
- package/package.json +85 -82
- package/src/Styles/Nexus.Avatar.css +79 -0
- package/src/Styles/Nexus.Base.css +117 -70
- package/src/Styles/Nexus.Button.css +180 -151
- package/src/Styles/Nexus.Calendar.css +273 -275
- package/src/Styles/Nexus.Chat.css +1443 -0
- package/src/Styles/Nexus.Choice.css +343 -345
- package/src/Styles/Nexus.Crud.css +168 -84
- package/src/Styles/Nexus.DateTime.css +81 -81
- package/src/Styles/Nexus.Dropdown.css +725 -774
- package/src/Styles/Nexus.Editor.css +295 -297
- package/src/Styles/Nexus.Excel.css +389 -0
- package/src/Styles/Nexus.Form.css +279 -298
- package/src/Styles/Nexus.Index.css +37 -34
- package/src/Styles/Nexus.Input.css +602 -637
- package/src/Styles/Nexus.Markdown.css +237 -265
- package/src/Styles/Nexus.Menu.css +237 -249
- package/src/Styles/Nexus.Popup.css +724 -731
- package/src/Styles/Nexus.RichText.css +2 -32
- package/src/Styles/Nexus.Rows.css +637 -566
- package/src/Styles/Nexus.Slider.css +276 -278
- package/src/Styles/Nexus.Tab.Buttons.css +432 -364
- package/src/Styles/Nexus.Table.css +1386 -1014
- package/src/Styles/Nexus.Theme.Picker.css +286 -159
- package/src/Styles/Nexus.Themes.css +194 -194
- package/src/Styles/Nexus.Time.css +144 -147
- package/src/Styles/Nexus.Toast.css +263 -265
- package/src/Styles/Nexus.Tokens.css +89 -72
- package/src/Styles/Nexus.Tree.css +431 -435
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
@layer nexus.components {
|
|
2
|
+
/*
|
|
3
|
+
* The spreadsheet import panel: the three steps, the file row, and the review as two collapsible editors.
|
|
4
|
+
*
|
|
5
|
+
* It adds no box of its own. It is shown inside a popup or a page panel, which already has one, and the editors
|
|
6
|
+
* inside bring the only frame on the panel - so nothing here draws a border around something that has one. The
|
|
7
|
+
* sections are told apart by a tint and a hairline above them, as the group form's sections are.
|
|
8
|
+
*/
|
|
9
|
+
.nx-excel {
|
|
10
|
+
--nx-excel-tint: color-mix(in oklab, var(--nx-text) 5%, var(--nx-surface));
|
|
11
|
+
--nx-excel-hover: color-mix(in oklab, var(--nx-text) 8%, var(--nx-surface));
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
gap: var(--nx-space-4);
|
|
15
|
+
min-width: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* The three steps, numbered, as one short paragraph each. */
|
|
19
|
+
.nx-excel__steps {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-wrap: wrap;
|
|
22
|
+
gap: var(--nx-space-2) var(--nx-space-5);
|
|
23
|
+
margin: 0;
|
|
24
|
+
padding: 0;
|
|
25
|
+
list-style: none;
|
|
26
|
+
counter-reset: nx-excel-step;
|
|
27
|
+
color: var(--nx-text-muted);
|
|
28
|
+
font-size: var(--nx-text-xs);
|
|
29
|
+
line-height: 1.45;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.nx-excel__steps > li {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex: 1 1 14rem;
|
|
35
|
+
align-items: baseline;
|
|
36
|
+
gap: var(--nx-space-2);
|
|
37
|
+
counter-increment: nx-excel-step;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.nx-excel__steps > li::before {
|
|
41
|
+
content: counter(nx-excel-step);
|
|
42
|
+
flex: none;
|
|
43
|
+
min-width: 17px;
|
|
44
|
+
padding: 1px 0;
|
|
45
|
+
border-radius: var(--nx-radius-full);
|
|
46
|
+
background: var(--nx-excel-tint);
|
|
47
|
+
color: var(--nx-text);
|
|
48
|
+
font-size: var(--nx-text-xs);
|
|
49
|
+
font-weight: 600;
|
|
50
|
+
text-align: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Template, Choose file, the file's name, and the limit: one line that wraps as whole groups. */
|
|
54
|
+
.nx-excel__pick {
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-wrap: wrap;
|
|
57
|
+
align-items: center;
|
|
58
|
+
gap: var(--nx-space-2) var(--nx-space-3);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.nx-excel__file {
|
|
62
|
+
flex: 1 1 12rem;
|
|
63
|
+
min-width: 0;
|
|
64
|
+
margin: 0;
|
|
65
|
+
overflow-wrap: anywhere;
|
|
66
|
+
color: var(--nx-text);
|
|
67
|
+
font-size: var(--nx-text-sm);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* The picked file's icon, on the line of its name; the line stays text, so "Checking" keeps its space. */
|
|
71
|
+
.nx-excel__file > .nx-icon {
|
|
72
|
+
width: 16px;
|
|
73
|
+
height: 16px;
|
|
74
|
+
margin-right: 6px;
|
|
75
|
+
color: var(--nx-text-muted);
|
|
76
|
+
vertical-align: -3px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.nx-excel__muted {
|
|
80
|
+
color: var(--nx-text-muted);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.nx-excel__limits {
|
|
84
|
+
margin: 0;
|
|
85
|
+
color: var(--nx-text-muted);
|
|
86
|
+
font-size: var(--nx-text-xs);
|
|
87
|
+
white-space: nowrap;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.nx-excel__note {
|
|
91
|
+
margin: 0;
|
|
92
|
+
color: var(--nx-text);
|
|
93
|
+
font-size: var(--nx-text-sm);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* What the new records start as: one short choice, as wide as its words need and no wider. */
|
|
97
|
+
.nx-excel__status {
|
|
98
|
+
max-width: 18rem;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* A refusal, and what the import could not write: a tint, with the words in the text color so they read on it. */
|
|
102
|
+
.nx-excel__failure,
|
|
103
|
+
.nx-excel__result {
|
|
104
|
+
display: flex;
|
|
105
|
+
gap: var(--nx-space-2);
|
|
106
|
+
margin: 0;
|
|
107
|
+
padding: var(--nx-space-3);
|
|
108
|
+
border-radius: var(--nx-radius);
|
|
109
|
+
background: var(--nx-danger-soft);
|
|
110
|
+
color: var(--nx-text);
|
|
111
|
+
font-size: var(--nx-text-sm);
|
|
112
|
+
line-height: 1.45;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.nx-excel__failure .nx-icon,
|
|
116
|
+
.nx-excel__result .nx-icon {
|
|
117
|
+
flex: none;
|
|
118
|
+
width: 18px;
|
|
119
|
+
height: 18px;
|
|
120
|
+
color: var(--nx-danger);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.nx-excel__result {
|
|
124
|
+
flex-direction: column;
|
|
125
|
+
gap: var(--nx-space-1);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.nx-excel__result--ok {
|
|
129
|
+
background: var(--nx-success-soft);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.nx-excel__result--ok .nx-icon {
|
|
133
|
+
color: var(--nx-success);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.nx-excel__result-head {
|
|
137
|
+
display: flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
gap: var(--nx-space-2);
|
|
140
|
+
margin: 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.nx-excel__result-note {
|
|
144
|
+
margin: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.nx-excel__review {
|
|
148
|
+
display: flex;
|
|
149
|
+
flex-direction: column;
|
|
150
|
+
gap: var(--nx-space-3);
|
|
151
|
+
min-width: 0;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* One half of the review. The hairline above it is what separates the two, instead of a box around each. */
|
|
155
|
+
.nx-excel__section {
|
|
156
|
+
min-width: 0;
|
|
157
|
+
padding-top: var(--nx-space-2);
|
|
158
|
+
border-top: 1px solid var(--nx-border);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.nx-excel__section-head {
|
|
162
|
+
margin: 0;
|
|
163
|
+
font-size: var(--nx-text-md);
|
|
164
|
+
font-weight: 400;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.nx-excel__toggle {
|
|
168
|
+
display: flex;
|
|
169
|
+
align-items: center;
|
|
170
|
+
gap: var(--nx-space-2);
|
|
171
|
+
width: 100%;
|
|
172
|
+
min-height: 32px;
|
|
173
|
+
padding: 4px 8px 4px 6px;
|
|
174
|
+
border: 0;
|
|
175
|
+
border-radius: var(--nx-radius);
|
|
176
|
+
background: none;
|
|
177
|
+
color: var(--nx-text);
|
|
178
|
+
font: inherit;
|
|
179
|
+
text-align: start;
|
|
180
|
+
cursor: pointer;
|
|
181
|
+
transition: background-color var(--nx-duration);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.nx-excel__toggle:hover {
|
|
185
|
+
background: var(--nx-excel-hover);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.nx-excel__toggle:focus-visible {
|
|
189
|
+
outline: 2px solid var(--nx-primary);
|
|
190
|
+
outline-offset: 0;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.nx-excel__chevron {
|
|
194
|
+
flex: none;
|
|
195
|
+
width: 16px;
|
|
196
|
+
height: 16px;
|
|
197
|
+
color: var(--nx-text-muted);
|
|
198
|
+
transition: transform var(--nx-duration);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.nx-excel__toggle[aria-expanded="false"] .nx-excel__chevron {
|
|
202
|
+
transform: rotate(-90deg);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/* The new rows' line, which does not fold: the same line as a toggle, with nothing to press. */
|
|
206
|
+
.nx-excel__toggle[data-fixed] {
|
|
207
|
+
cursor: default;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.nx-excel__toggle[data-fixed]:hover {
|
|
211
|
+
background: none;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.nx-excel__title {
|
|
215
|
+
flex: none;
|
|
216
|
+
font-weight: 600;
|
|
217
|
+
white-space: nowrap;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/* The count. On a tint, so it takes the text color rather than a muted one. */
|
|
221
|
+
.nx-excel__tag {
|
|
222
|
+
flex: none;
|
|
223
|
+
padding: 0 7px;
|
|
224
|
+
border-radius: var(--nx-radius-full);
|
|
225
|
+
background: var(--nx-excel-tint);
|
|
226
|
+
color: var(--nx-text);
|
|
227
|
+
font-size: var(--nx-text-xs);
|
|
228
|
+
font-variant-numeric: tabular-nums;
|
|
229
|
+
font-weight: 600;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/*
|
|
233
|
+
* The hint sits on a row that tints on hover, and muted text on a tint falls under 4.5:1 in several themes (measured:
|
|
234
|
+
* 4.23 in Catppuccin light, 4.33 in Rose Pine dark). So it moves toward the text color, as rows that tint do.
|
|
235
|
+
*/
|
|
236
|
+
.nx-excel__hint {
|
|
237
|
+
min-width: 0;
|
|
238
|
+
overflow: hidden;
|
|
239
|
+
color: color-mix(in oklab, var(--nx-text) 35%, var(--nx-text-muted));
|
|
240
|
+
font-size: var(--nx-text-xs);
|
|
241
|
+
text-overflow: ellipsis;
|
|
242
|
+
white-space: nowrap;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.nx-excel__section[data-tone="warning"] .nx-excel__tag {
|
|
246
|
+
background: var(--nx-warning-soft);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.nx-excel__section-body {
|
|
250
|
+
display: flex;
|
|
251
|
+
flex-direction: column;
|
|
252
|
+
gap: var(--nx-space-3);
|
|
253
|
+
min-width: 0;
|
|
254
|
+
padding-top: var(--nx-space-2);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/* What the server found wrong. The place and the sentence sit on one grid, so the sentences line up. */
|
|
258
|
+
.nx-excel__problems {
|
|
259
|
+
padding: var(--nx-space-3);
|
|
260
|
+
border-radius: var(--nx-radius);
|
|
261
|
+
background: var(--nx-warning-soft);
|
|
262
|
+
color: var(--nx-text);
|
|
263
|
+
font-size: var(--nx-text-xs);
|
|
264
|
+
line-height: 1.5;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.nx-excel__problems--same {
|
|
268
|
+
background: var(--nx-excel-tint);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.nx-excel__problems--same .nx-excel__problems-head .nx-icon {
|
|
272
|
+
color: var(--nx-text-muted);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.nx-excel__problems-head {
|
|
276
|
+
display: flex;
|
|
277
|
+
align-items: center;
|
|
278
|
+
gap: var(--nx-space-2);
|
|
279
|
+
margin: 0 0 var(--nx-space-2);
|
|
280
|
+
font-size: var(--nx-text-sm);
|
|
281
|
+
font-weight: 600;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.nx-excel__problems-head .nx-icon {
|
|
285
|
+
width: 16px;
|
|
286
|
+
height: 16px;
|
|
287
|
+
color: var(--nx-warning);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.nx-excel__problems ul {
|
|
291
|
+
display: grid;
|
|
292
|
+
gap: var(--nx-space-1);
|
|
293
|
+
margin: 0;
|
|
294
|
+
padding: 0;
|
|
295
|
+
list-style: none;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.nx-excel__problems li {
|
|
299
|
+
display: grid;
|
|
300
|
+
grid-template-columns: minmax(6rem, max-content) 1fr;
|
|
301
|
+
gap: var(--nx-space-1) var(--nx-space-3);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.nx-excel__place {
|
|
305
|
+
font-weight: 600;
|
|
306
|
+
font-variant-numeric: tabular-nums;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/* The place is the way to the cell it names, so it is a button - with no box, since it sits in a line of text. */
|
|
310
|
+
.nx-excel__go {
|
|
311
|
+
padding: 0;
|
|
312
|
+
border: 0;
|
|
313
|
+
border-radius: 2px;
|
|
314
|
+
background: none;
|
|
315
|
+
color: inherit;
|
|
316
|
+
font: inherit;
|
|
317
|
+
font-weight: 600;
|
|
318
|
+
text-align: start;
|
|
319
|
+
text-decoration: underline;
|
|
320
|
+
text-decoration-color: color-mix(in oklab, currentcolor 40%, transparent);
|
|
321
|
+
text-underline-offset: 2px;
|
|
322
|
+
cursor: pointer;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.nx-excel__go:hover {
|
|
326
|
+
text-decoration-color: currentcolor;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.nx-excel__go:focus-visible {
|
|
330
|
+
outline: 2px solid var(--nx-primary);
|
|
331
|
+
outline-offset: 1px;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
@media (width < 36rem) {
|
|
335
|
+
.nx-excel__problems li {
|
|
336
|
+
grid-template-columns: 1fr;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/*
|
|
340
|
+
* The hint is the reason the section exists ("Edit a row to add it as a new record instead"), and a reason cut at
|
|
341
|
+
* the word that explains it is no reason at all. Where the line is too short for it, it drops under the title.
|
|
342
|
+
*/
|
|
343
|
+
.nx-excel__toggle {
|
|
344
|
+
flex-wrap: wrap;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.nx-excel__hint {
|
|
348
|
+
flex: 1 0 100%;
|
|
349
|
+
overflow: visible;
|
|
350
|
+
padding-left: 24px;
|
|
351
|
+
white-space: normal;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/* Under the title, where the title starts: a line that does not fold has no chevron to clear. */
|
|
355
|
+
.nx-excel__toggle[data-fixed] .nx-excel__hint {
|
|
356
|
+
padding-left: 0;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/* The sentence about what will be sent, then the buttons. */
|
|
361
|
+
.nx-excel__actions {
|
|
362
|
+
display: flex;
|
|
363
|
+
flex-wrap: wrap;
|
|
364
|
+
align-items: center;
|
|
365
|
+
gap: var(--nx-space-2) var(--nx-space-3);
|
|
366
|
+
padding-top: var(--nx-space-2);
|
|
367
|
+
border-top: 1px solid var(--nx-border);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.nx-excel__sending {
|
|
371
|
+
flex: 1 1 14rem;
|
|
372
|
+
min-width: 0;
|
|
373
|
+
margin: 0;
|
|
374
|
+
color: var(--nx-text-muted);
|
|
375
|
+
font-size: var(--nx-text-xs);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.nx-excel__buttons {
|
|
379
|
+
display: flex;
|
|
380
|
+
flex-wrap: wrap;
|
|
381
|
+
gap: var(--nx-space-2);
|
|
382
|
+
margin-left: auto;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
[data-nx-motion="reduce"] .nx-excel__toggle,
|
|
386
|
+
[data-nx-motion="reduce"] .nx-excel__chevron {
|
|
387
|
+
transition: none;
|
|
388
|
+
}
|
|
389
|
+
}
|