@conduction/nextcloud-vue 2.154.0 → 2.155.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.
Files changed (64) hide show
  1. package/dist/esm/components/CnAppRoot/CnAppRoot.vue2.js.map +1 -1
  2. package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js +2 -2
  3. package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js.map +1 -1
  4. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue.js +1 -1
  5. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js +10 -5
  6. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js.map +1 -1
  7. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue3.js.map +1 -1
  8. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue.js +1 -1
  9. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue2.js.map +1 -1
  10. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue3.js +2 -0
  11. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue3.js.map +1 -1
  12. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue.js +1 -1
  13. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue2.js.map +1 -1
  14. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue3.js.map +1 -1
  15. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue.js +1 -1
  16. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue2.js.map +1 -1
  17. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue3.js.map +1 -1
  18. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
  19. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
  20. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
  21. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue.js +1 -1
  22. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js +9 -8
  23. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js.map +1 -1
  24. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue3.js.map +1 -1
  25. package/dist/esm/components/CnMapWidget/CnMapWidget.vue.js +1 -1
  26. package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js +37 -0
  27. package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js.map +1 -1
  28. package/dist/esm/components/CnMapWidget/CnMapWidget.vue3.js +16 -7
  29. package/dist/esm/components/CnMapWidget/CnMapWidget.vue3.js.map +1 -1
  30. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue.js +1 -1
  31. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js +2 -1
  32. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js.map +1 -1
  33. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js +1 -1
  34. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js.map +1 -1
  35. package/dist/esm/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue.js +1 -1
  36. package/dist/esm/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue2.js.map +1 -1
  37. package/dist/esm/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue3.js.map +1 -1
  38. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue.js +1 -1
  39. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue2.js.map +1 -1
  40. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue3.js.map +1 -1
  41. package/dist/esm/library-style.js +1 -1
  42. package/dist/esm/nextcloud-vue.css +562 -349
  43. package/dist/esm/utils/groupSublines.js +30 -12
  44. package/dist/esm/utils/groupSublines.js.map +1 -1
  45. package/dist/nextcloud-vue.cjs.js +141 -68
  46. package/dist/nextcloud-vue.cjs.js.map +2 -2
  47. package/dist/nextcloud-vue.css +562 -349
  48. package/package.json +1 -1
  49. package/src/components/CnAppRoot/CnAppRoot.vue +2 -2
  50. package/src/components/CnAssignDialog/CnAssignDialog.vue +10 -5
  51. package/src/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue +2 -6
  52. package/src/components/CnChoiceCards/CnChoiceCards.vue +9 -0
  53. package/src/components/CnCountdownWidget/CnCountdownWidget.vue +3 -0
  54. package/src/components/CnDashboardPage/CnDashboardPage.vue +4 -1
  55. package/src/components/CnFactsWidget/CnFactsWidget.vue +9 -8
  56. package/src/components/CnMapWidget/CnMapWidget.vue +55 -1
  57. package/src/components/CnRecordListWidget/CnRecordListWidget.vue +3 -2
  58. package/src/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue +3 -1
  59. package/src/components/CnUserSettingsDialog/CnUserSettingsDialog.vue +4 -1
  60. package/src/css/dialog.css +43 -0
  61. package/src/css/look-board-detail.css +42 -0
  62. package/src/css/look-board-index.css +8 -0
  63. package/src/css/look-board.css +96 -3
  64. package/src/utils/groupSublines.js +29 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/nextcloud-vue",
3
- "version": "2.154.0",
3
+ "version": "2.155.0",
4
4
  "description": "Shared Vue component library for Conduction Nextcloud apps — complements @nextcloud/vue with higher-level components, OpenRegister integration, and NL Design System support",
5
5
  "homepage": "https://github.com/ConductionNL/nextcloud-vue#readme",
6
6
  "bugs": {
@@ -666,11 +666,11 @@
666
666
  -->
667
667
  <NcButton variant="tertiary"
668
668
  :href="entry.href"
669
- :aria-label="entry.label">
669
+ :aria-label="manifestTranslate(entry.label)">
670
670
  <template #icon>
671
671
  <OpenInNew :size="20" />
672
672
  </template>
673
- {{ entry.label }}
673
+ {{ manifestTranslate(entry.label) }}
674
674
  </NcButton>
675
675
  </li>
676
676
  </ul>
@@ -89,7 +89,7 @@ import { generateUrl } from '@nextcloud/router'
89
89
  import { NcButton, NcCheckboxRadioSwitch, NcTextArea } from '@nextcloud/vue'
90
90
  import { fetchEndpointSource, interpolateUrlTokens } from '../../composables/useEndpointSource.js'
91
91
  import { fillTemplate } from '../../utils/fillTemplate.js'
92
- import { groupSublines } from '../../utils/groupSublines.js'
92
+ import { describedGroupIds, groupSublines } from '../../utils/groupSublines.js'
93
93
  import { readPath } from '../../utils/readPath.js'
94
94
  import { searchNextcloudGroups, searchNextcloudUsers } from '../../utils/userAutocomplete.js'
95
95
  import { CnDialog } from '../CnDialog/index.js'
@@ -136,9 +136,11 @@ export function withTypedAssignee(found, typed, label) {
136
136
  * - `source`: an endpointSource to read the record from, else `object`.
137
137
  * - `assignee`: `{ kinds?, label?, placeholder?, hint?, currentPath?,
138
138
  * currentHint?, currentAs?, allowTyped?, field?, kindField?, describe? }`.
139
- * `describe` (`{ register, schema, groupField?, textField? }`) names the
139
+ * `describe` (`{ register, schema, groupField?, textField?, only? }`) names the
140
140
  * records that hold a team's description; each team option then reads
141
- * "{count} members · {description}", the count where the viewer may read it. `kinds` is `["group"]`
141
+ * "{count} members · {description}", the count where the viewer may read it.
142
+ * With `only` the search lists just the groups such a record names (the
143
+ * app's teams, not every Nextcloud group); with no record at all it lists every group. `kinds` is `["group"]`
142
144
  * (default), `["user"]` or both; `currentPath` reads who has it now from the
143
145
  * record and `currentHint` ("Now with {current}.", the placeholder named
144
146
  * by `currentAs`) says so, in place of `hint`; `allowTyped`
@@ -402,12 +404,15 @@ export default {
402
404
  if (seq !== this.searchSeq) {
403
405
  return
404
406
  }
405
- const lines = await groupSublines(groups.map((g) => g.id), typed, this.assigneeConfig.describe || null)
407
+ const describe = this.assigneeConfig.describe || null
408
+ const teams = describe && describe.only ? await describedGroupIds(describe) : null
409
+ const listed = teams && teams.size > 0 ? groups.filter((g) => teams.has(String(g.id))) : groups
410
+ const lines = await groupSublines(listed.map((g) => g.id), typed, describe)
406
411
  if (seq !== this.searchSeq) {
407
412
  return
408
413
  }
409
414
  const found = [
410
- ...groups.map((g) => ({ id: g.id, label: g.label, secondary: lines[g.id] || g.subline || '', icon: 'AccountGroupOutline', kind: 'group' })),
415
+ ...listed.map((g) => ({ id: g.id, label: g.label, secondary: lines[g.id] || g.subline || '', icon: 'AccountGroupOutline', kind: 'group' })),
411
416
  ...users.map((u) => ({ id: u.id, label: u.label, secondary: u.subline || '', avatar: true, kind: 'user' })),
412
417
  ]
413
418
  this.options = this.assigneeConfig.allowTyped ? withTypedAssignee(found, typed, t('nextcloud-vue', 'Use "{name}"', { name: typed })) : found
@@ -50,6 +50,8 @@
50
50
  <NcButton
51
51
  class="cn-attention-flag__compose"
52
52
  variant="secondary"
53
+ wide
54
+ alignment="start"
53
55
  data-testid="cn-attention-flag-compose"
54
56
  @click="composing = true">
55
57
  <template #icon>
@@ -458,12 +460,6 @@ function hasPassed(date) {
458
460
  padding: 4px 0;
459
461
  }
460
462
 
461
- /* The button is as wide as its label, as the boards draw it (DqZaakAssistent
462
- "Markeer voor aandacht"), not stretched across the card. */
463
- .cn-attention-flag__compose {
464
- align-self: flex-start;
465
- }
466
-
467
463
  .cn-attention-flag__line,
468
464
  .cn-attention-flag__act {
469
465
  display: flex;
@@ -540,6 +540,15 @@ export default {
540
540
  border-color: var(--color-border-dark);
541
541
  }
542
542
 
543
+ /* Rows side by side (`columns` above 1) are as high as the tallest: a grid
544
+ cell stretches, and its row fills it, as the boards draw "Delen" beside
545
+ "Overdragen" (DqZaakSamenwerken). A cell with details keeps its row at its
546
+ own height, the fields under it. In a single column the cell is as high as
547
+ its row, so nothing changes there. */
548
+ .cn-choice-cards__cell:not(.cn-choice-cards__cell--with-details) > .cn-choice-cards__row {
549
+ flex-grow: 1;
550
+ }
551
+
543
552
  .cn-choice-cards__row--selected,
544
553
  .cn-choice-cards__row--selected:hover {
545
554
  border-color: var(--color-primary-element);
@@ -468,7 +468,10 @@ export default {
468
468
  white-space: nowrap;
469
469
  }
470
470
 
471
+ /* The bar spans the card: the KPI body aligns its items to the start, which
472
+ left the empty track 0px wide. */
471
473
  .cn-countdown-widget__progress {
474
+ align-self: stretch;
472
475
  background: var(--color-border);
473
476
  border-radius: 3px;
474
477
  display: block;
@@ -5477,7 +5477,10 @@ export default {
5477
5477
  /* The same under the KPI row: the cards stand the row's 20px under the tiles,
5478
5478
  not that plus the grid margin (DqDashboard: 32, the board 20).
5479
5479
  @spec openspec/changes/board-kpi-row-to-grid-gap/specs/board-kpi-row-to-grid-gap/spec.md#requirement-the-board-grid-stands-the-section-gap-under-the-kpi-row */
5480
- .cn-dashboard-page--board .cn-dashboard-page__kpi-row + :deep(.cn-dashboard-grid) {
5480
+ /* And under the view switch: the cards stand the switch row's 20px under it
5481
+ (DqMijnWerk, DqMijnTeam: 32, the board 20). */
5482
+ .cn-dashboard-page--board .cn-dashboard-page__kpi-row + :deep(.cn-dashboard-grid),
5483
+ .cn-dashboard-page--board .cn-dashboard-page__switch-row + :deep(.cn-dashboard-grid) {
5481
5484
  margin-top: calc(-1 * var(--cn-dashboard-grid-margin, 12px));
5482
5485
  }
5483
5486
 
@@ -1695,27 +1695,28 @@ export default {
1695
1695
 
1696
1696
  /**
1697
1697
  * Every entry or part that carries `resolve`, with the record's value at its path.
1698
+ * A `from: "object"` entry reads the page's own object.
1698
1699
  *
1699
- * @param {object} record The object.
1700
+ * @param {object|null} record The object.
1700
1701
  * @return {Array<{spec: object, raw: unknown}>}
1701
1702
  */
1702
1703
  refSpecs(record) {
1703
1704
  const fields = this.entries
1704
1705
  const specs = []
1705
- const visit = (spec) => {
1706
+ const visit = (spec, from) => {
1706
1707
  if (!spec || typeof spec !== 'object') {
1707
1708
  return
1708
1709
  }
1709
- if (spec.resolve && typeof spec.resolve === 'object' && spec.path) {
1710
- specs.push({ spec, raw: readPath(record, spec.path) })
1710
+ if (from && spec.resolve && typeof spec.resolve === 'object' && spec.path) {
1711
+ specs.push({ spec, raw: readPath(from, spec.path) })
1711
1712
  if (toneSpec(spec)) {
1712
- specs.push({ spec: toneSpec(spec), raw: readPath(record, spec.path) })
1713
+ specs.push({ spec: toneSpec(spec), raw: readPath(from, spec.path) })
1713
1714
  }
1714
1715
  }
1715
1716
  const nested = [...(Array.isArray(spec.parts) ? spec.parts : []), ...(Array.isArray(spec.firstOf) ? spec.firstOf : []), ...(Array.isArray(spec.title) ? spec.title : [spec.title]), ...(Array.isArray(spec.subtitle) ? spec.subtitle : [spec.subtitle])]
1716
- nested.forEach(visit)
1717
+ nested.forEach((part) => visit(part, from))
1717
1718
  }
1718
- fields.forEach(visit)
1719
+ fields.forEach((field) => visit(field, field && field.from === 'object' && this.objectData ? this.objectData : record))
1719
1720
  return specs
1720
1721
  },
1721
1722
 
@@ -1727,7 +1728,7 @@ export default {
1727
1728
  * @return {Promise<void>}
1728
1729
  */
1729
1730
  async loadLabels(record = this.record) {
1730
- if (!record) {
1731
+ if (!record && !this.objectData) {
1731
1732
  return
1732
1733
  }
1733
1734
  const groups = new Map()
@@ -36,11 +36,13 @@
36
36
  <div
37
37
  class="cn-map-widget"
38
38
  :class="{ 'cn-map-widget--fullscreen': isFullscreen }"
39
- :style="{ height: isFullscreen ? null : resolvedHeight }">
39
+ :style="{ height: isFullscreen || markerCaption ? null : resolvedHeight }">
40
40
  <div
41
41
  v-if="leafletAvailable"
42
42
  ref="mapEl"
43
43
  class="cn-map-widget__leaflet"
44
+ :class="{ 'cn-map-widget__leaflet--captioned': markerCaption && !isFullscreen }"
45
+ :style="markerCaption && !isFullscreen ? { height: resolvedHeight } : null"
44
46
  role="application"
45
47
  :aria-label="resolvedAriaLabel"
46
48
  tabindex="0" />
@@ -64,6 +66,9 @@
64
66
  :data-testid="markersFailed ? 'cn-map-markers-failed' : 'cn-map-markers-empty'">
65
67
  {{ markerStatusText }}
66
68
  </p>
69
+ <p v-if="markerCaption && !isFullscreen" class="cn-map-widget__caption" data-testid="cn-map-caption">
70
+ {{ markerCaption }}
71
+ </p>
67
72
  <p v-if="unplottedCount > 0" class="cn-map-widget__note" data-testid="cn-map-unplotted">
68
73
  {{ unplottedLabel }}
69
74
  </p>
@@ -427,6 +432,8 @@ export default {
427
432
  * `clustering`, `height`, `autoFit`, `layers`, `basemaps`) overrides the
428
433
  * matching flat prop. Direct (non-dashboard) consumers omit this and pass
429
434
  * the flat props instead. See the `cfg` computed for the merge rules.
435
+ * `labelsBelow: true` writes the markers' `popupField` values on a line
436
+ * under the map ("Fietspad Lindelaan, tussen nummer 2 en 40").
430
437
  *
431
438
  * @type {object|null}
432
439
  */
@@ -500,6 +507,8 @@ export default {
500
507
  // Whether the marker source has answered, and with how many markers.
501
508
  markersLoaded: false,
502
509
  markerCount: 0,
510
+ // The markers' `popupField` values, for `content.labelsBelow`.
511
+ markerLabels: [],
503
512
  // Whether the marker source could not be read (not: read and empty).
504
513
  markersFailed: false,
505
514
  // Set once the user has framed the view themselves; stops autoFit.
@@ -612,6 +621,21 @@ export default {
612
621
  return countLine(this.content?.headerNote, this)
613
622
  },
614
623
 
624
+ /**
625
+ * The line under the map naming its places (`content.labelsBelow: true`):
626
+ * each marker's `markers.popupField` value, joined by ", ", as the case
627
+ * boards draw "Fietspad Lindelaan, tussen nummer 2 en 40" under the
628
+ * Locaties map. Empty until the source answered with labelled markers.
629
+ *
630
+ * @return {string}
631
+ */
632
+ markerCaption() {
633
+ if (this.content?.labelsBelow !== true || !this.markersLoaded || this.markersFailed) {
634
+ return ''
635
+ }
636
+ return (this.markerLabels || []).join(', ')
637
+ },
638
+
615
639
  markerStatusText() {
616
640
  const markers = this.cfg.markers
617
641
  if (!markers || !markers.dataSource || !this.markersLoaded) {
@@ -1037,6 +1061,23 @@ export default {
1037
1061
  })
1038
1062
  },
1039
1063
 
1064
+ /**
1065
+ * The non-empty `markers.popupField` values of the features, in order.
1066
+ *
1067
+ * @param {Array|null} features The features.
1068
+ * @return {string[]}
1069
+ */
1070
+ labelsOf(features) {
1071
+ const field = this.cfg.markers && this.cfg.markers.popupField
1072
+ if (!field || !Array.isArray(features)) {
1073
+ return []
1074
+ }
1075
+ return features
1076
+ .map((feature) => (feature && feature.properties ? feature.properties[field] : null))
1077
+ .filter((label) => typeof label === 'string' && label.trim() !== '')
1078
+ .map((label) => label.trim())
1079
+ },
1080
+
1040
1081
  /**
1041
1082
  * Mount the configured `markers` onto the Leaflet map. Reads from
1042
1083
  * `features[]` (inline) OR `dataSource.url` (HTTP fetch). When
@@ -1065,6 +1106,7 @@ export default {
1065
1106
  this.markersFailed = false
1066
1107
  const features = await this.collectFeatures()
1067
1108
  this.markerCount = Array.isArray(features) ? features.length : 0
1109
+ this.markerLabels = this.labelsOf(features)
1068
1110
  this.markersLoaded = true
1069
1111
  if (!features || features.length === 0) {
1070
1112
  return
@@ -1720,6 +1762,18 @@ export default {
1720
1762
  background: var(--color-background-dark);
1721
1763
  }
1722
1764
 
1765
+ /* With a caption the map keeps its own height and the caption sits under it. */
1766
+ .cn-map-widget__leaflet--captioned {
1767
+ min-height: 200px;
1768
+ }
1769
+
1770
+ .cn-map-widget__caption {
1771
+ margin: 12px 0 0;
1772
+ font-size: 15px;
1773
+ line-height: 1.2;
1774
+ color: var(--color-main-text);
1775
+ }
1776
+
1723
1777
  .cn-map-widget__note {
1724
1778
  margin: 4px 0 0;
1725
1779
  font-size: 13px;
@@ -6,7 +6,7 @@
6
6
  <template>
7
7
  <div
8
8
  class="cn-record-list"
9
- :class="[`cn-record-list--${presentation}`, { 'cn-record-list--compact': content.density === 'compact', 'cn-record-list--pill-aside': presentation === 'cards' && content.cardPillAside === true, 'cn-record-list--stacked': content.density === 'stacked', 'cn-record-list--tiles': presentation === 'rows' && content.tiles === true, 'cn-record-list--rule-above': content.ruleAbove === true, 'cn-record-list--data-table': presentation === 'table' && content.tableLook === 'data' }]"
9
+ :class="[`cn-record-list--${presentation}`, { 'cn-record-list--compact': content.density === 'compact', 'cn-record-list--pill-aside': presentation === 'cards' && content.cardPillAside === true, 'cn-record-list--stacked': content.density === 'stacked', 'cn-record-list--tiles': presentation === 'rows' && content.tiles === true, 'cn-record-list--rule-above': content.ruleAbove === true, 'cn-record-list--strong-title': content.strongTitle === true, 'cn-record-list--data-table': presentation === 'table' && content.tableLook === 'data' }]"
10
10
  data-testid="cn-record-list">
11
11
  <p v-if="intro && !absent" class="cn-record-list__intro" data-testid="cn-record-list-intro">
12
12
  {{ intro }}
@@ -770,7 +770,8 @@ export default {
770
770
  * lopende zaken").
771
771
  * In `rows`, `ruleAbove: true` rules above the first row too, and
772
772
  * `pillAt: "start"` draws the pill before the title (DqZaakDocumenten
773
- * "Weigeringsgronden tot nu toe").
773
+ * "Weigeringsgronden tot nu toe"). `strongTitle: true` sets a row's
774
+ * title at 600 in the board look (DqZaakTaken "Incidenten").
774
775
  *
775
776
  * @type {object}
776
777
  */
@@ -442,8 +442,10 @@ export default {
442
442
  </script>
443
443
 
444
444
  <style scoped>
445
+ /* The description sits 16px above the list, as a board section's does
446
+ (DqPersoonlijkeInstellingen "Weergaven in mijn menu"). */
445
447
  .cn-saved-view-menu-settings__intro {
446
- margin: 0 0 12px;
448
+ margin: 0 0 16px;
447
449
  color: var(--color-text-maxcontrast);
448
450
  }
449
451
  </style>
@@ -344,6 +344,7 @@ export default {
344
344
 
345
345
  .cn-user-settings-dialog__nav-label {
346
346
  overflow: hidden;
347
+ white-space: nowrap;
347
348
  text-overflow: ellipsis;
348
349
  }
349
350
 
@@ -382,7 +383,9 @@ export default {
382
383
  color: var(--color-main-text);
383
384
  }
384
385
 
385
- .cn-user-settings-dialog__group-sections {
386
+ /* The app's sections sit 10px in under its name; the `ul` reset above
387
+ carries the nav class too, so this repeats it to outrank that. */
388
+ .cn-user-settings-dialog__nav ul.cn-user-settings-dialog__group-sections {
386
389
  padding-inline-start: 10px;
387
390
  }
388
391
 
@@ -267,6 +267,17 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .modal-mask {
267
267
  line-height: 1.2;
268
268
  }
269
269
 
270
+ /* A help line sits 6px under its field on the normal line height (DqOverdragen
271
+ "Nu bij Woo en informatie...", 15px): it took the body's 1.5, and under the
272
+ team search NcSelect's 4px margin past its 2px ring put it 12px down. */
273
+ .cn-dialog-board .cn-assign-dialog__hint:not(.cn-assign-dialog__toggle-note) {
274
+ line-height: normal;
275
+ }
276
+
277
+ .cn-dialog-board .dialog__content .cn-assign-dialog__field > .cn-search-select .v-select.select {
278
+ margin-block-end: -2px;
279
+ }
280
+
270
281
  /* Body: padding 20px 24px, 18px between blocks. */
271
282
  .cn-dialog-board .dialog__content {
272
283
  display: flex;
@@ -664,3 +675,35 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .modal-mask {
664
675
  .cn-dialog-board .cn-wizard-dialog__step-body .cn-setup-step .notecard.notecard {
665
676
  margin: 0;
666
677
  }
678
+
679
+ /* A board dialog's checkbox is the boards' native one: an 18px square with a
680
+ 2px corner and a grey 1px edge while open, filled in the primary colour with
681
+ a white tick once checked (DqZaakSamenwerken "Alleen een deel van de
682
+ zaakvelden delen" drew NcCheckboxRadioSwitch's primary outline glyph, r32).
683
+ The glyph keeps its place but is hidden.
684
+ @spec openspec/changes/board-dialog-checkbox-native-box/specs/dialog/spec.md */
685
+ .cn-dialog-board .dialog__content .checkbox-radio-switch-checkbox:not(.checkbox-radio-switch--button-variant) .checkbox-content__icon {
686
+ position: relative;
687
+ flex: none;
688
+ width: 18px;
689
+ height: 18px;
690
+ }
691
+
692
+ .cn-dialog-board .dialog__content .checkbox-radio-switch-checkbox:not(.checkbox-radio-switch--button-variant) .checkbox-content__icon svg {
693
+ visibility: hidden;
694
+ }
695
+
696
+ .cn-dialog-board .dialog__content .checkbox-radio-switch-checkbox:not(.checkbox-radio-switch--button-variant) .checkbox-content__icon::before {
697
+ position: absolute;
698
+ inset: 0;
699
+ box-sizing: border-box;
700
+ border: 1px solid var(--color-border-maxcontrast);
701
+ border-radius: 2px;
702
+ background: var(--color-main-background);
703
+ content: '';
704
+ }
705
+
706
+ .cn-dialog-board .dialog__content .checkbox-radio-switch-checkbox.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant) .checkbox-content__icon::before {
707
+ border-color: var(--color-primary-element);
708
+ background: var(--color-primary-element) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z'/%3E%3C/svg%3E") center / 14px no-repeat;
709
+ }
@@ -821,6 +821,13 @@
821
821
  padding-top: 14px;
822
822
  }
823
823
 
824
+ /* Facts that open on plain rows (DqZaak "Prioriteit": Afgeleid, Overschreven)
825
+ sit 12px below the title's box: the rows are set at the normal line height,
826
+ so no leading comes off (r32 9.8 against 12). */
827
+ .cn-look-board .cn-detail-page .cn-widget-wrapper__content:has(> .cn-facts-widget > .cn-facts-widget__rows:not(.cn-facts-widget__rows--columns):first-child):not(.cn-detail-page__side *) {
828
+ padding-top: 12px;
829
+ }
830
+
824
831
  /* A table (an object list) starts 12px below the title's box: its head has
825
832
  a fill and no leading, so the glyph-to-glyph gap above left it 2px short
826
833
  (DqZaaktypeStatussen "Statussen", "Resultaten"). */
@@ -1608,6 +1615,12 @@
1608
1615
  vertical-align: middle;
1609
1616
  }
1610
1617
 
1618
+ /* The task menu sits 4px after the row's button, as drawn ("Afronden" then
1619
+ the menu); the compiled template keeps no space between them. */
1620
+ .cn-look-board .cn-detail-page .cn-widget-wrapper__content > .cn-tasks-widget .cn-tasks-widget__table .cn-tasks-widget__cell-actions > * + * {
1621
+ margin-inline-start: 4px;
1622
+ }
1623
+
1611
1624
  /* ---- An object list table edge to edge (`content.tableBleed`) ------------ */
1612
1625
  /* The case-tab boards draw a list's table edge to edge in its card
1613
1626
  (DqZaakContact "Contactmomenten op deze zaak", DqZaakGerelateerd): it runs
@@ -2189,10 +2202,25 @@
2189
2202
  padding: 0;
2190
2203
  }
2191
2204
 
2205
+ /* Its rows are titled as links: bold, in the link colour, underlined
2206
+ (DqOrganisatie "Subsidie buurtfeest Oosthaven"). */
2207
+ .cn-look-board .cn-detail-page__side .cn-record-list--stacked.cn-record-list--rows:not(.cn-look-nextcloud *) .cn-record-list__title {
2208
+ color: var(--color-primary-element);
2209
+ font-weight: 700;
2210
+ text-decoration: underline;
2211
+ }
2212
+
2192
2213
  .cn-look-board .cn-detail-page__side .cn-object-parties__main-text {
2193
2214
  line-height: normal;
2194
2215
  }
2195
2216
 
2217
+ /* Main contact (DqOrganisatie Hoofdcontact): the e-mail and the link to all
2218
+ contact persons are 14px lines under the 15px name. */
2219
+ .cn-look-board .cn-detail-page__side .cn-object-parties__main-email,
2220
+ .cn-look-board .cn-detail-page__side .cn-object-parties__main-link {
2221
+ font-size: 14px;
2222
+ }
2223
+
2196
2224
  /* Appointment and note rows (DqTaak Afspraken, Notities): a hairline above
2197
2225
  every row including the first, 12px 0 padding, a 32px round tile (the day
2198
2226
  an appointment starts, the author's initials) 12px before the text, the
@@ -2841,3 +2869,17 @@
2841
2869
  color: var(--cn-board-text-soft);
2842
2870
  font-size: 16px;
2843
2871
  }
2872
+
2873
+ /* A card table on a detail page keeps the sorted column's label in the head's
2874
+ muted ink, as the case boards draw it (DqZaakGerelateerd Deelzaken
2875
+ "Termijn", Objecten "Identificatie"); the chevron marks the sort. */
2876
+ .cn-look-board .cn-detail-page .cn-object-list-widget .cn-data-table th[aria-sort] .cn-table-header__sort:not(.cn-look-nextcloud *) {
2877
+ color: inherit;
2878
+ }
2879
+
2880
+ /* A done task reads muted on the board, its status tag too (DqZaakTaken
2881
+ "Klaar" in the muted ink where an open task's tag keeps the soft ink). */
2882
+ .cn-look-board .cn-tasks-widget__table-row--done .cn-status-badge--default:not(.cn-look-nextcloud *) {
2883
+ --cn-status-badge-ink: var(--color-text-maxcontrast);
2884
+ color: var(--cn-status-badge-ink);
2885
+ }
@@ -1094,6 +1094,14 @@
1094
1094
  line-height: normal;
1095
1095
  }
1096
1096
 
1097
+ /* Another wrapping column's secondary line (DqTaken Onderwerp "2026-4853")
1098
+ is a 14px muted line 2px under its value. */
1099
+ .cn-look-board .cn-table-container--board .cn-data-table td.cn-cell--wrap:not(.cn-table-col--title) .cn-table-cell__secondary {
1100
+ margin-top: 2px;
1101
+ font-size: 14px;
1102
+ line-height: normal;
1103
+ }
1104
+
1097
1105
  /* `rowTitle: "plain"` (PqTickets, OcPublicaties): the title is bold text in
1098
1106
  the main text colour without an underline, the secondary line 13px muted,
1099
1107
  2px under it. The row stays clickable through its stretched row link. */
@@ -473,6 +473,16 @@
473
473
  .cn-look-board .cn-dashboard-page__description:not(.cn-look-nextcloud *) .v-select.select.cn-dashboard-page__description-select {
474
474
  min-width: 0;
475
475
  width: auto;
476
+ margin: 0;
477
+ }
478
+
479
+ /* A description that holds the page's filters is one 40px row, without
480
+ NcSelect's own 6px above and 4px under it, and ends the header 8px under it
481
+ as the boards pad it (DqDoorlooptijd, DqProcesanalyse: 50 and 100; DqTermijnen
482
+ 90; the boards 98).
483
+ @spec openspec/changes/board-description-filter-row-40/specs/board-description-filter-row-40/spec.md#requirement-a-filter-description-is-a-40px-row-8px-above-the-headers-end */
484
+ .cn-look-board .cn-dashboard-page:not(.cn-look-nextcloud *) .cn-dashboard-page__description--with-period {
485
+ padding-bottom: 8px;
476
486
  }
477
487
 
478
488
  /* Its search box sizes to the placeholder or choice instead of the input's 20
@@ -670,13 +680,30 @@
670
680
  box-sizing: border-box;
671
681
  height: 34px;
672
682
  min-height: 34px;
673
- padding: 0 14px;
683
+ padding: 0 12px;
674
684
  border: 1px solid var(--cn-board-control-border);
675
685
  background: var(--color-main-background);
676
686
  color: var(--color-main-text);
677
687
  font-size: 14px;
678
688
  }
679
689
 
690
+ /* A row is 10px 12px in with 12px between its parts, the drag handle a
691
+ plain 20px column at the row's edge (DqPersoonlijkeInstellingen: content
692
+ 13px in and 11.6px down; live sat 17px in and 5px down).
693
+ @spec openspec/changes/board-ordered-list-field/specs/board-ordered-list-field/spec.md */
694
+ .cn-look-board .cn-ordered-list-field__row:not(.cn-look-nextcloud *) {
695
+ gap: 12px;
696
+ padding: 10px 12px;
697
+ }
698
+
699
+ .cn-look-board .cn-ordered-list-field__handle:not(.cn-look-nextcloud *) {
700
+ width: 20px;
701
+ min-width: 20px;
702
+ height: 20px;
703
+ min-height: 20px;
704
+ margin: 0;
705
+ }
706
+
680
707
  .cn-look-board .cn-ordered-list-field__button--text:not(.cn-look-nextcloud *):hover:not(:disabled) {
681
708
  background: var(--color-background-hover);
682
709
  }
@@ -1904,6 +1931,17 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
1904
1931
  margin-block-start: 22px;
1905
1932
  }
1906
1933
 
1934
+ /* A settings card's text area sets its lines at 1.5, 8px 12px in, as the
1935
+ boards draw them (56 board textareas; NcTextArea took the browser's
1936
+ leading, ~1.13).
1937
+ @spec openspec/changes/board-settings-textarea-leading/specs/board-settings-textarea-leading/spec.md#requirement-a-board-settings-text-area-sets-its-lines-at-15 */
1938
+ .cn-look-board .settings-section:not(.cn-look-nextcloud *) .textarea__input {
1939
+ box-sizing: border-box;
1940
+ padding: 8px 12px;
1941
+ font-size: 15px;
1942
+ line-height: 1.5;
1943
+ }
1944
+
1907
1945
  /* A save button beside a one-field form (`saveInline`) lines up with the
1908
1946
  control under that label, not with the label. */
1909
1947
  .cn-look-board .settings-section:not(.cn-look-nextcloud *) .cn-settings-fields__inline-save {
@@ -2047,10 +2085,12 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
2047
2085
  font-weight: 600;
2048
2086
  }
2049
2087
 
2050
- /* `compact` (dossiq's boards): 15px facts, values at weight 500, wider gaps. */
2088
+ /* `compact` (dossiq's boards): 15px facts at the font's own leading, rows
2089
+ 24px apart, values at weight 500, wider gaps. */
2051
2090
  .cn-look-board .cn-version-info--compact .cn-version-info__details {
2052
2091
  gap: 6px 24px;
2053
2092
  font-size: 15px;
2093
+ line-height: normal;
2054
2094
  }
2055
2095
 
2056
2096
  .cn-look-board .cn-version-info--compact .cn-version-info__label {
@@ -2134,6 +2174,9 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
2134
2174
  font-size: 13px;
2135
2175
  font-weight: 600;
2136
2176
  line-height: normal;
2177
+ /* One line, as every board tag (DqBeheerGeavanceerd AWB "Verschuift van een
2178
+ gesloten dag" wrapped to 51px and made its row 71.4, board 55). */
2179
+ white-space: nowrap;
2137
2180
  }
2138
2181
 
2139
2182
  /* A neutral board tag ("Normaal", "Uit") is the soft text on the chip ground,
@@ -2509,6 +2552,12 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
2509
2552
  line-height: normal;
2510
2553
  }
2511
2554
 
2555
+ /* A list whose rows lead with a description the board sets in bold
2556
+ (DqZaakTaken "Incidenten", `strongTitle: true`). */
2557
+ .cn-look-board .cn-record-list--rows.cn-record-list--strong-title:not(.cn-dashboard-page *):not(.cn-look-nextcloud *) .cn-record-list__title {
2558
+ font-weight: 600;
2559
+ }
2560
+
2512
2561
  .cn-look-board .cn-macros-widget__row:not(.cn-look-nextcloud *) .cn-macros-widget__hint {
2513
2562
  line-height: normal;
2514
2563
  }
@@ -2872,6 +2921,21 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
2872
2921
  margin-inline-start: auto;
2873
2922
  }
2874
2923
 
2924
+ /* A row's lone trailing line (DqDashboard "12 dagen stil") wraps under the text
2925
+ at its start, at the font's normal line height, as the boards draw it: an
2926
+ 83px row, not the text's 77 with the line squeezed in as a second meta.
2927
+ @spec openspec/changes/board-lone-trailing-wraps-at-start/specs/board-lone-trailing-wraps-at-start/spec.md#requirement-a-lone-trailing-line-wraps-under-the-text-at-its-start */
2928
+ .cn-look-board .cn-dashboard-page:not(.cn-look-nextcloud *) .cn-record-list__aside:has(> .cn-record-list__trailing:only-child) {
2929
+ margin-inline-start: 0;
2930
+ line-height: normal;
2931
+ }
2932
+
2933
+ /* Beside such a line the text keeps 260px, as the Dq boards size it, so a short
2934
+ line ("vandaag") wraps under it in a 360px card too. */
2935
+ .cn-look-board .cn-dashboard-page:not(.cn-look-nextcloud *) .cn-record-list__row:has(> .cn-record-list__aside > .cn-record-list__trailing:only-child) > .cn-record-list__main {
2936
+ flex-basis: 260px;
2937
+ }
2938
+
2875
2939
  /* The title and meta take the room the pill and the date leave, and a long
2876
2940
  title wraps inside it: the pill and the date stay on the title line, as the
2877
2941
  board draws them. They drop under the text only when the card is too narrow
@@ -3412,6 +3476,18 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
3412
3476
  padding-inline: 0;
3413
3477
  }
3414
3478
 
3479
+ /* A button in a table row on a settings card is 34px, 12px in at both sides
3480
+ (DqBeheerGeavanceerd ZGW "Bewerken" / "Opnieuw instellen", AWB "Nieuwe
3481
+ versie"; every in-table button on the Dq settings boards). The repeated
3482
+ class outranks the 40px body-button and 16px padding rules above.
3483
+ @spec openspec/changes/board-settings-row-buttons/specs/board-settings-row-buttons/spec.md#requirement-a-button-in-a-settings-table-row-is-34px */
3484
+ .cn-look-board .settings-section:not(.cn-look-nextcloud *) td .button-vue.button-vue.button-vue:has(> .button-vue__wrapper > .button-vue__text:not(:empty)):not(.cn-settings-section__actions *):not(.cn-settings-field__image-row *) {
3485
+ --button-size: 34px;
3486
+ --button-padding: 12px;
3487
+ min-height: 34px;
3488
+ height: 34px;
3489
+ }
3490
+
3415
3491
  .cn-look-board .cn-settings-section__save:not(.cn-look-nextcloud *) .button-vue,
3416
3492
  .cn-look-board .cn-version-info--board:not(.cn-look-nextcloud *) .cn-version-info__footer-row .button-vue {
3417
3493
  height: var(--cn-field-height, 40px);
@@ -3439,6 +3515,22 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
3439
3515
  color: var(--color-text-maxcontrast) !important;
3440
3516
  }
3441
3517
 
3518
+ /* ---- A settings card's image field -------------------------------------- */
3519
+ /* The logo is a 56px tile with a 10px radius and no edge, 16px before its
3520
+ upload button (DqInstellingenAlgemeen "Huisstijl"; live drew 64px).
3521
+ @spec openspec/changes/board-settings-logo-tile/specs/board-settings-logo-tile/spec.md#requirement-a-board-settings-logo-is-a-56px-tile */
3522
+ .cn-look-board .cn-settings-field__image-row:not(.cn-look-nextcloud *) {
3523
+ gap: 16px;
3524
+ }
3525
+
3526
+ .cn-look-board .cn-settings-field__image-tile:not(.cn-look-nextcloud *) {
3527
+ box-sizing: border-box;
3528
+ width: 56px;
3529
+ height: 56px;
3530
+ border: 0;
3531
+ border-radius: 10px;
3532
+ }
3533
+
3442
3534
  /* ---- A setup step's choice radio ---------------------------------------- */
3443
3535
  /* The setup wizard's choice cards draw their radio 20px square in the primary
3444
3536
  colour (DqInstellen "Voorbeeldgegevens laden"); the browser draws 13px, and
@@ -3879,7 +3971,8 @@ html :where(.cn-look-board) :is(h2, h3, h5, h6):where(.cn-inner-heading) {
3879
3971
  }
3880
3972
 
3881
3973
  .cn-look-board .checkbox-radio-switch-switch:not(.cn-look-nextcloud *) .checkbox-content__icon > * {
3882
- display: none;
3974
+ /* NcIconSvgWrapper's inline icon sets display inline-flex !important. */
3975
+ display: none !important;
3883
3976
  }
3884
3977
 
3885
3978
  .cn-look-board .checkbox-radio-switch-switch:not(.cn-look-nextcloud *) .checkbox-content__icon::after {