@conduction/docusaurus-preset 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/MISSING_COMPONENTS.md +109 -0
  2. package/README.md +171 -0
  3. package/package.json +59 -0
  4. package/src/components/AgentTrace/AgentTrace.jsx +128 -0
  5. package/src/components/AgentTrace/AgentTrace.module.css +115 -0
  6. package/src/components/AppMock/AppMock.jsx +86 -0
  7. package/src/components/AppMock/AppMock.module.css +629 -0
  8. package/src/components/AppMock/variants/DeciDeskMock.jsx +71 -0
  9. package/src/components/AppMock/variants/DocuDeskMock.jsx +69 -0
  10. package/src/components/AppMock/variants/LarpingAppMock.jsx +59 -0
  11. package/src/components/AppMock/variants/MyDashBiMock.jsx +135 -0
  12. package/src/components/AppMock/variants/MyDashMock.jsx +96 -0
  13. package/src/components/AppMock/variants/MyDashTilesMock.jsx +103 -0
  14. package/src/components/AppMock/variants/MyDashWidgetsMock.jsx +123 -0
  15. package/src/components/AppMock/variants/NLDesignMock.jsx +70 -0
  16. package/src/components/AppMock/variants/OpenCatalogiMock.jsx +61 -0
  17. package/src/components/AppMock/variants/OpenConnectorMock.jsx +83 -0
  18. package/src/components/AppMock/variants/OpenRegisterMock.jsx +100 -0
  19. package/src/components/AppMock/variants/OpenWooMock.jsx +61 -0
  20. package/src/components/AppMock/variants/PipelinQMock.jsx +88 -0
  21. package/src/components/AppMock/variants/ProcestMock.jsx +87 -0
  22. package/src/components/AppMock/variants/SoftwareCatalogMock.jsx +71 -0
  23. package/src/components/AppMock/variants/ZaakAfhandelAppMock.jsx +71 -0
  24. package/src/components/AppsGrid/AppsGrid.jsx +84 -0
  25. package/src/components/AppsGrid/AppsGrid.module.css +46 -0
  26. package/src/components/AppsPreview/AppsPreview.jsx +85 -0
  27. package/src/components/AppsPreview/AppsPreview.module.css +128 -0
  28. package/src/components/Clients/Clients.jsx +205 -0
  29. package/src/components/Clients/Clients.module.css +166 -0
  30. package/src/components/ComposeBlock/ComposeBlock.jsx +70 -0
  31. package/src/components/ComposeBlock/ComposeBlock.module.css +74 -0
  32. package/src/components/ConductionBg/ConductionBg.jsx +150 -0
  33. package/src/components/ConductionBg/ConductionBg.module.css +41 -0
  34. package/src/components/ContentCard/ContentCard.jsx +126 -0
  35. package/src/components/ContentCard/ContentCard.module.css +84 -0
  36. package/src/components/ContentDetailHero/ContentDetailHero.jsx +136 -0
  37. package/src/components/ContentDetailHero/ContentDetailHero.module.css +96 -0
  38. package/src/components/ContentTypeFilter/ContentTypeFilter.jsx +103 -0
  39. package/src/components/ContentTypeFilter/ContentTypeFilter.module.css +60 -0
  40. package/src/components/ContentTypeFilter/contentTypes.js +58 -0
  41. package/src/components/CookieCli/CookieCli.jsx +223 -0
  42. package/src/components/CookieCli/CookieCli.module.css +166 -0
  43. package/src/components/CtaBanner/CtaBanner.jsx +61 -0
  44. package/src/components/CtaBanner/CtaBanner.module.css +65 -0
  45. package/src/components/DetailHero/DetailHero.jsx +143 -0
  46. package/src/components/DetailHero/DetailHero.module.css +154 -0
  47. package/src/components/Diagrams/Diagrams.jsx +148 -0
  48. package/src/components/EmployeeCard/EmployeeCard.jsx +127 -0
  49. package/src/components/EmployeeCard/EmployeeCard.module.css +144 -0
  50. package/src/components/ExternalAppShelf/ExternalAppShelf.jsx +61 -0
  51. package/src/components/ExternalAppShelf/ExternalAppShelf.module.css +90 -0
  52. package/src/components/FAQ/FAQ.jsx +42 -0
  53. package/src/components/FAQ/FAQ.module.css +74 -0
  54. package/src/components/FacetedFilters/FacetedFilters.jsx +125 -0
  55. package/src/components/FacetedFilters/FacetedFilters.module.css +133 -0
  56. package/src/components/FeatureGrid/FeatureGrid.jsx +94 -0
  57. package/src/components/FeatureGrid/FeatureGrid.module.css +114 -0
  58. package/src/components/FeatureList/FeatureList.jsx +54 -0
  59. package/src/components/FeatureList/FeatureList.module.css +52 -0
  60. package/src/components/FeaturedCard/FeaturedCard.jsx +101 -0
  61. package/src/components/FeaturedCard/FeaturedCard.module.css +98 -0
  62. package/src/components/GameModal/GameModal.jsx +197 -0
  63. package/src/components/GameModal/GameModal.module.css +184 -0
  64. package/src/components/Hero/Hero.jsx +101 -0
  65. package/src/components/Hero/Hero.module.css +95 -0
  66. package/src/components/HexBackground/HexBackground.jsx +56 -0
  67. package/src/components/HexBackground/HexBackground.module.css +73 -0
  68. package/src/components/HexNetwork/HexNetwork.jsx +141 -0
  69. package/src/components/HexNetwork/HexNetwork.module.css +187 -0
  70. package/src/components/HexRain/HexRain.jsx +81 -0
  71. package/src/components/HowSteps/HowSteps.jsx +57 -0
  72. package/src/components/HowSteps/HowSteps.module.css +52 -0
  73. package/src/components/ManagedCommonGround/ManagedCommonGround.jsx +78 -0
  74. package/src/components/ManagedCommonGround/ManagedCommonGround.module.css +16 -0
  75. package/src/components/NewsletterCta/NewsletterCta.jsx +83 -0
  76. package/src/components/NewsletterCta/NewsletterCta.module.css +103 -0
  77. package/src/components/PairCard/PairCard.jsx +58 -0
  78. package/src/components/PairCard/PairCard.module.css +54 -0
  79. package/src/components/PartnerCard/PartnerCard.jsx +130 -0
  80. package/src/components/PartnerCard/PartnerCard.module.css +198 -0
  81. package/src/components/PartnerDirectory/PartnerDirectory.jsx +122 -0
  82. package/src/components/PartnerDirectory/PartnerDirectory.module.css +25 -0
  83. package/src/components/PartnerSidecard/PartnerSidecard.jsx +116 -0
  84. package/src/components/PartnerSidecard/PartnerSidecard.module.css +185 -0
  85. package/src/components/Pipeline/Pipeline.jsx +198 -0
  86. package/src/components/Pipeline/Pipeline.module.css +206 -0
  87. package/src/components/PlatformDiagram/PlatformDiagram.jsx +110 -0
  88. package/src/components/PlatformOverview/PlatformOverview.jsx +68 -0
  89. package/src/components/PlatformOverview/PlatformOverview.module.css +71 -0
  90. package/src/components/ReferenceCard/ReferenceCard.jsx +44 -0
  91. package/src/components/ReferenceCard/ReferenceCard.module.css +57 -0
  92. package/src/components/RelatedPosts/RelatedPosts.jsx +58 -0
  93. package/src/components/RelatedPosts/RelatedPosts.module.css +51 -0
  94. package/src/components/RotatingCards/RotatingCards.jsx +98 -0
  95. package/src/components/RotatingCards/RotatingCards.module.css +153 -0
  96. package/src/components/Showcase/Showcase.jsx +129 -0
  97. package/src/components/Showcase/Showcase.module.css +168 -0
  98. package/src/components/SolutionCard/SolutionCard.jsx +83 -0
  99. package/src/components/SolutionCard/SolutionCard.module.css +99 -0
  100. package/src/components/StatsStrip/StatsStrip.jsx +38 -0
  101. package/src/components/StatsStrip/StatsStrip.module.css +53 -0
  102. package/src/components/WidgetShelf/WidgetShelf.jsx +67 -0
  103. package/src/components/WidgetShelf/WidgetShelf.module.css +73 -0
  104. package/src/components/index.js +96 -0
  105. package/src/components/primitives/AuthorByline.jsx +85 -0
  106. package/src/components/primitives/AuthorByline.module.css +57 -0
  107. package/src/components/primitives/BrandCitation.jsx +71 -0
  108. package/src/components/primitives/Button.jsx +46 -0
  109. package/src/components/primitives/Button.module.css +88 -0
  110. package/src/components/primitives/Card.jsx +42 -0
  111. package/src/components/primitives/Card.module.css +42 -0
  112. package/src/components/primitives/Eyebrow.jsx +37 -0
  113. package/src/components/primitives/Eyebrow.module.css +19 -0
  114. package/src/components/primitives/HexBullet.jsx +37 -0
  115. package/src/components/primitives/HexBullet.module.css +16 -0
  116. package/src/components/primitives/HexThumbnail.jsx +70 -0
  117. package/src/components/primitives/HexThumbnail.module.css +45 -0
  118. package/src/components/primitives/Pill.jsx +42 -0
  119. package/src/components/primitives/Pill.module.css +30 -0
  120. package/src/components/primitives/Section.jsx +51 -0
  121. package/src/components/primitives/Section.module.css +31 -0
  122. package/src/components/primitives/SectionHead.jsx +36 -0
  123. package/src/components/primitives/SectionHead.module.css +43 -0
  124. package/src/components/primitives/index.js +22 -0
  125. package/src/css/brand.css +158 -0
  126. package/src/css/tokens.css +12 -0
  127. package/src/data/app-downloads.js +42 -0
  128. package/src/diagrams/README.md +74 -0
  129. package/src/diagrams/cn-domain-tree.js +105 -0
  130. package/src/diagrams/cn-hex-prism.js +163 -0
  131. package/src/diagrams/cn-hex.js +181 -0
  132. package/src/diagrams/cn-honeycomb-bg.js +135 -0
  133. package/src/diagrams/cn-pipeline.js +150 -0
  134. package/src/diagrams/cn-platform.js +156 -0
  135. package/src/diagrams/cn-side-box.js +104 -0
  136. package/src/diagrams/index.js +28 -0
  137. package/src/index.js +183 -0
  138. package/src/theme/Footer/index.jsx +516 -0
  139. package/src/theme/MDXPage/index.jsx +134 -0
  140. package/src/theme/Navbar/index.jsx +120 -0
  141. package/src/theme/Navbar/styles.module.css +114 -0
  142. package/src/theme/brand.jsx +63 -0
  143. package/src/theme.js +45 -0
  144. package/src/utils/lazyScript.js +37 -0
  145. package/static/img/favicon.svg +14 -0
  146. package/static/img/honeycomb-scatter.svg +23 -0
  147. package/static/img/honeycomb-watermark.svg +108 -0
  148. package/static/img/logo-dark.svg +11 -0
  149. package/static/img/logo.svg +14 -0
  150. package/static/img/nextcloud-logo.svg +5 -0
  151. package/static/lib/canal-footer.css +418 -0
  152. package/static/lib/canal-footer.js +499 -0
  153. package/static/lib/clients-flow.js +317 -0
  154. package/static/lib/conduction-bg.css +50 -0
  155. package/static/lib/conduction-bg.js +122 -0
  156. package/static/lib/hex-rain.css +128 -0
  157. package/static/lib/hex-rain.js +284 -0
  158. package/static/lib/kade-cyclist.css +264 -0
  159. package/static/lib/kade-cyclist.js +420 -0
  160. package/static/lib/logo-memory.css +219 -0
  161. package/static/lib/logo-memory.js +540 -0
  162. package/static/lib/platform-diagram.css +458 -0
  163. package/static/lib/platform-diagram.js +414 -0
@@ -0,0 +1,629 @@
1
+ /**
2
+ * <AppMock /> styles.
3
+ *
4
+ * One outer .frame, one optional .topbar, then a per-app .body.
5
+ * All variants share the same atom toolkit — .nav, .col, .panel, .pill,
6
+ * .row, .kpi, .icon, .stack — so a future variant assembles in JSX
7
+ * without inventing new CSS.
8
+ *
9
+ * Tokens only; no images. One orange accent per variant max.
10
+ */
11
+
12
+ .figure { margin: 0; display: inline-flex; flex-direction: column; gap: var(--space-2); width: 100%; max-width: 100%; }
13
+
14
+ .frame {
15
+ width: 100%;
16
+ max-width: 720px;
17
+ aspect-ratio: 16 / 10;
18
+ background: white;
19
+ border: 1px solid var(--c-cobalt-100);
20
+ border-radius: var(--radius-lg);
21
+ box-shadow: var(--shadow-3);
22
+ overflow: hidden;
23
+ display: flex;
24
+ flex-direction: column;
25
+ font-family: var(--conduction-typography-font-family-body);
26
+ position: relative;
27
+ }
28
+ .size-sm { max-width: 480px; }
29
+ .size-md { max-width: 720px; }
30
+ .size-lg { max-width: 960px; }
31
+
32
+ .caption {
33
+ font-family: var(--conduction-typography-font-family-code);
34
+ font-size: 11px;
35
+ letter-spacing: 0.06em;
36
+ color: var(--c-cobalt-400);
37
+ text-transform: uppercase;
38
+ text-align: center;
39
+ }
40
+
41
+ .empty {
42
+ display: flex;
43
+ align-items: center;
44
+ justify-content: center;
45
+ flex: 1;
46
+ color: var(--c-cobalt-400);
47
+ font-size: 13px;
48
+ }
49
+
50
+ /* ======================================================================
51
+ Shared chrome
52
+ ====================================================================== */
53
+
54
+ /* Top bar — Nextcloud-style row of small icons + spotlight + bell + avatar.
55
+ Used by mydash + the three admin variants below. */
56
+ .topbar {
57
+ display: flex;
58
+ align-items: center;
59
+ gap: 6px;
60
+ height: 24px;
61
+ background: var(--c-blue-cobalt);
62
+ padding: 0 10px;
63
+ flex-shrink: 0;
64
+ }
65
+ .topbar .logo { width: 16px; height: 12px; border-radius: 6px; background: white; }
66
+ .topbar .icon { width: 8px; height: 8px; border-radius: 1px; background: rgba(255,255,255,0.7); }
67
+ .topbar .spacer { flex: 1; }
68
+ .topbar .pill { width: 12px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.4); }
69
+ .topbar .bell { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.7); }
70
+ .topbar .avatar { width: 10px; height: 10px; border-radius: 50%; background: white; }
71
+
72
+ /* Body wrapper — per-variant content fills this. */
73
+ .body { flex: 1; display: flex; min-height: 0; min-width: 0; overflow: hidden; }
74
+
75
+ /* ======================================================================
76
+ Atom toolkit — variants compose from these
77
+ ====================================================================== */
78
+
79
+ /* Vertical sidebar nav — used by openregister, decidesk, procest. */
80
+ .nav {
81
+ width: 22%;
82
+ min-width: 100px;
83
+ background: var(--c-cobalt-50);
84
+ border-right: 1px solid var(--c-cobalt-100);
85
+ padding: 10px 8px;
86
+ display: flex;
87
+ flex-direction: column;
88
+ gap: 5px;
89
+ flex-shrink: 0;
90
+ }
91
+ .nav .navHead {
92
+ display: flex; align-items: center; gap: 5px;
93
+ background: var(--c-blue-cobalt);
94
+ border-radius: 3px;
95
+ padding: 5px 6px;
96
+ margin-bottom: 4px;
97
+ }
98
+ .nav .navHead .h { width: 8px; height: 9px; clip-path: var(--hex-pointy-top); background: var(--c-orange-knvb); }
99
+ .nav .navHead .l { flex: 1; height: 4px; background: rgba(255,255,255,0.7); border-radius: 1px; }
100
+ .nav .item {
101
+ display: flex; align-items: center; gap: 5px;
102
+ padding: 4px 5px;
103
+ border-radius: 2px;
104
+ }
105
+ .nav .item.active { background: var(--c-cobalt-100); }
106
+ .nav .item .ico { width: 8px; height: 8px; border-radius: 1px; background: var(--c-cobalt-400); flex-shrink: 0; }
107
+ .nav .item.active .ico { background: var(--c-blue-cobalt); }
108
+ .nav .item .l { flex: 1; height: 4px; background: var(--c-cobalt-200); border-radius: 1px; }
109
+ .nav .item.active .l { background: var(--c-cobalt-700); height: 5px; }
110
+
111
+ /* Centre column — main work surface. */
112
+ .col { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; overflow: hidden; }
113
+
114
+ /* Right-rail detail panel. */
115
+ .detail {
116
+ width: 26%;
117
+ min-width: 130px;
118
+ background: white;
119
+ border-left: 1px solid var(--c-cobalt-100);
120
+ padding: 12px 10px;
121
+ display: flex;
122
+ flex-direction: column;
123
+ gap: 8px;
124
+ flex-shrink: 0;
125
+ }
126
+
127
+ /* Generic content panel — white card with rounded corners. */
128
+ .panel {
129
+ background: white;
130
+ border: 1px solid var(--c-cobalt-100);
131
+ border-radius: var(--radius-sm);
132
+ padding: 10px 12px;
133
+ display: flex;
134
+ flex-direction: column;
135
+ gap: 6px;
136
+ min-width: 0;
137
+ }
138
+ .panel .head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
139
+ .panel .head .title { height: 6px; background: var(--c-cobalt-700); border-radius: 1px; width: 30%; }
140
+
141
+ /* Text-line bars used everywhere a row of placeholder text would go. */
142
+ .row { height: 4px; background: var(--c-cobalt-100); border-radius: 1px; width: 100%; }
143
+ .row.short { width: 60%; }
144
+ .row.dark { background: var(--c-cobalt-300); }
145
+ .row.head { height: 6px; background: var(--c-cobalt-700); width: 40%; }
146
+ .row.accent { background: var(--c-orange-knvb); width: 30%; }
147
+
148
+ /* Small status pill (mint / orange / cobalt). */
149
+ .statusPill {
150
+ display: inline-flex; align-items: center; gap: 3px;
151
+ padding: 2px 6px;
152
+ border-radius: 999px;
153
+ background: var(--c-mint-100);
154
+ }
155
+ .statusPill .h { width: 6px; height: 7px; clip-path: var(--hex-pointy-top); background: var(--c-mint-500); }
156
+ .statusPill .t { height: 3px; width: 22px; background: var(--c-mint-700); border-radius: 1px; }
157
+ .statusPill.beta { background: var(--c-coral-50); }
158
+ .statusPill.beta .h { background: var(--c-orange-knvb); }
159
+ .statusPill.beta .t { background: var(--c-coral-700); }
160
+
161
+ /* KPI strip cell — big number left, label right. */
162
+ .kpi {
163
+ flex: 1;
164
+ display: flex; align-items: center; gap: 8px;
165
+ padding: 8px 10px;
166
+ background: var(--c-cobalt-50);
167
+ border-radius: var(--radius-sm);
168
+ }
169
+ .kpi .ico { width: 16px; height: 18px; clip-path: var(--hex-pointy-top); background: var(--c-mint-300); flex-shrink: 0; }
170
+ .kpi.amber .ico { background: var(--c-orange-knvb); }
171
+ .kpi.lavender .ico { background: var(--c-lavender-300); }
172
+ .kpi.forest .ico { background: var(--c-forest-300); }
173
+ .kpi .meta { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
174
+ .kpi .num { height: 8px; background: var(--c-cobalt-900); border-radius: 1px; width: 30%; }
175
+ .kpi .label { height: 3px; background: var(--c-cobalt-400); border-radius: 1px; width: 70%; }
176
+
177
+ /* Stack of rows — table-like or list-like content. */
178
+ .stack { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
179
+ .stack .item {
180
+ display: flex; align-items: center; gap: 6px;
181
+ padding: 4px 0;
182
+ border-bottom: 1px solid var(--c-cobalt-50);
183
+ }
184
+ .stack .item:last-child { border-bottom: none; }
185
+ .stack .item .av { width: 14px; height: 14px; border-radius: 50%; background: var(--c-mint-300); flex-shrink: 0; }
186
+ .stack .item .av.b { background: var(--c-lavender-300); }
187
+ .stack .item .av.c { background: var(--c-orange-knvb); }
188
+ .stack .item .av.d { background: var(--c-forest-300); }
189
+ .stack .item .av.e { background: var(--c-terracotta-300); }
190
+ .stack .item .lines { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
191
+ .stack .item .lines .l1 { height: 4px; background: var(--c-cobalt-700); border-radius: 1px; width: 60%; }
192
+ .stack .item .lines .l2 { height: 3px; background: var(--c-cobalt-200); border-radius: 1px; width: 80%; }
193
+
194
+ /* Action-button row at the top of an admin page. */
195
+ .actions { display: flex; gap: 6px; }
196
+ .actions .btn {
197
+ background: var(--c-blue-cobalt);
198
+ height: 16px;
199
+ width: 56px;
200
+ border-radius: 3px;
201
+ }
202
+ .actions .btn.ghost { background: white; border: 1px solid var(--c-cobalt-200); }
203
+
204
+ /* ======================================================================
205
+ MyDash — full-bleed cobalt background with widget grid
206
+ ====================================================================== */
207
+
208
+ .mydash {
209
+ background: linear-gradient(135deg, var(--c-blue-cobalt) 0%, var(--c-cobalt-700) 100%);
210
+ position: relative;
211
+ display: flex;
212
+ flex-direction: column;
213
+ }
214
+ .mydash .grid {
215
+ flex: 1;
216
+ display: grid;
217
+ grid-template-columns: 1fr 1.2fr 1fr 1fr;
218
+ gap: 8px;
219
+ padding: 12px;
220
+ min-height: 0;
221
+ }
222
+ .mydash .col { padding: 0; gap: 8px; }
223
+ .mydash .tile {
224
+ background: rgba(255,255,255,0.94);
225
+ border-radius: var(--radius-sm);
226
+ padding: 8px 10px;
227
+ display: flex;
228
+ flex-direction: column;
229
+ gap: 4px;
230
+ min-height: 0;
231
+ }
232
+ .mydash .tile.primary {
233
+ background: var(--c-blue-cobalt);
234
+ align-items: center;
235
+ justify-content: center;
236
+ gap: 6px;
237
+ flex: 1;
238
+ min-height: 50px;
239
+ }
240
+ .mydash .tile.primary .icon { width: 22px; height: 25px; clip-path: var(--hex-pointy-top); background: white; }
241
+ .mydash .tile.primary .label { height: 5px; width: 50%; background: white; border-radius: 1px; }
242
+ .mydash .tile.empty { background: rgba(255,255,255,0.55); flex: 0 0 26%; }
243
+ .mydash .tileHead {
244
+ display: flex; align-items: center; gap: 5px;
245
+ margin-bottom: 2px;
246
+ }
247
+ .mydash .tileHead .h { width: 9px; height: 9px; border-radius: 1px; background: var(--c-cobalt-400); }
248
+ .mydash .tileHead .t { flex: 1; height: 4px; background: var(--c-cobalt-700); border-radius: 1px; }
249
+
250
+ /* ==========================================================
251
+ Widget atoms — composable inside any AppMock dashboard
252
+ variant. Each .w-* renders a different small visualisation.
253
+ ========================================================== */
254
+
255
+ /* Generic widget shell — same as .mydash .tile but reusable
256
+ under any dashboard variant. */
257
+ .w {
258
+ background: rgba(255, 255, 255, 0.94);
259
+ border-radius: var(--radius-sm);
260
+ padding: 8px 10px;
261
+ display: flex; flex-direction: column;
262
+ gap: 4px; min-height: 0;
263
+ }
264
+ .w .wHead {
265
+ display: flex; align-items: center; gap: 5px;
266
+ margin-bottom: 2px;
267
+ }
268
+ .w .wHead .h { width: 9px; height: 9px; border-radius: 1px; background: var(--c-cobalt-400); }
269
+ .w .wHead .t { flex: 1; height: 4px; background: var(--c-cobalt-700); border-radius: 1px; }
270
+
271
+ /* Bar-chart widget — vertical bars with one KNVB-orange accent. */
272
+ .w-graph-bar .bars {
273
+ display: flex; align-items: flex-end; gap: 4px;
274
+ flex: 1; min-height: 50px; padding-top: 4px;
275
+ }
276
+ .w-graph-bar .bar {
277
+ flex: 1; background: var(--c-cobalt-300); border-radius: 1px 1px 0 0;
278
+ }
279
+ .w-graph-bar .bar.accent { background: var(--c-orange-knvb); }
280
+ .w-graph-bar .axis { height: 1px; background: var(--c-cobalt-200); }
281
+
282
+ /* Line-chart widget — sparkline-style polyline. */
283
+ .w-graph-line .chart {
284
+ flex: 1; min-height: 50px;
285
+ display: flex; align-items: flex-end;
286
+ position: relative; padding-top: 4px;
287
+ }
288
+ .w-graph-line .chart svg { width: 100%; height: 100%; min-height: 50px; }
289
+ .w-graph-line .chart .stroke { fill: none; stroke: var(--c-blue-cobalt); stroke-width: 2; }
290
+ .w-graph-line .chart .fill { fill: var(--c-cobalt-100); }
291
+ .w-graph-line .chart .dot { fill: var(--c-orange-knvb); }
292
+ .w-graph-line .axis { height: 1px; background: var(--c-cobalt-200); }
293
+
294
+ /* Donut-chart widget — KPI-style ring with one accent slice. */
295
+ .w-graph-donut .chart {
296
+ flex: 1; min-height: 50px;
297
+ display: flex; align-items: center; justify-content: center;
298
+ gap: 8px;
299
+ }
300
+ .w-graph-donut .donut {
301
+ width: 44px; height: 44px;
302
+ border-radius: 50%;
303
+ background: conic-gradient(var(--c-blue-cobalt) 0 60%, var(--c-orange-knvb) 60% 78%, var(--c-cobalt-200) 78% 100%);
304
+ position: relative;
305
+ flex-shrink: 0;
306
+ }
307
+ .w-graph-donut .donut::after {
308
+ content: ""; position: absolute; inset: 8px;
309
+ background: white; border-radius: 50%;
310
+ }
311
+ .w-graph-donut .legend { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
312
+ .w-graph-donut .legend .row { display: flex; align-items: center; gap: 4px; }
313
+ .w-graph-donut .legend .swatch { width: 8px; height: 8px; border-radius: 1px; flex-shrink: 0; }
314
+ .w-graph-donut .legend .swatch.a { background: var(--c-blue-cobalt); }
315
+ .w-graph-donut .legend .swatch.b { background: var(--c-orange-knvb); }
316
+ .w-graph-donut .legend .swatch.c { background: var(--c-cobalt-200); }
317
+ .w-graph-donut .legend .label { flex: 1; height: 3px; background: var(--c-cobalt-200); border-radius: 1px; }
318
+
319
+ /* Mail widget — avatar list with subject + sender lines. */
320
+ .w-mail .list { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
321
+ .w-mail .item { display: flex; align-items: center; gap: 5px; }
322
+ .w-mail .item .av { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; background: var(--c-mint-300); }
323
+ .w-mail .item.b .av { background: var(--c-lavender-300); }
324
+ .w-mail .item.c .av { background: var(--c-orange-knvb); }
325
+ .w-mail .item.d .av { background: var(--c-forest-300); }
326
+ .w-mail .item.e .av { background: var(--c-terracotta-300); }
327
+ .w-mail .item .lines { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
328
+ .w-mail .item .l1 { height: 3px; width: 60%; background: var(--c-cobalt-700); border-radius: 1px; }
329
+ .w-mail .item .l2 { height: 2px; width: 80%; background: var(--c-cobalt-200); border-radius: 1px; }
330
+
331
+ /* Calendar widget — 7×4 mini grid with one orange "today" cell. */
332
+ .w-calendar .grid {
333
+ flex: 1;
334
+ display: grid;
335
+ grid-template-columns: repeat(7, 1fr);
336
+ grid-auto-rows: 1fr;
337
+ gap: 2px;
338
+ min-height: 40px;
339
+ }
340
+ .w-calendar .grid .day {
341
+ background: var(--c-cobalt-50);
342
+ border-radius: 1px;
343
+ }
344
+ .w-calendar .grid .day.muted { background: transparent; }
345
+ .w-calendar .grid .day.event { background: var(--c-cobalt-300); }
346
+ .w-calendar .grid .day.today { background: var(--c-orange-knvb); }
347
+
348
+ /* Files widget — file rows with hex-folder icon + name line. */
349
+ .w-files .list { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
350
+ .w-files .item { display: flex; align-items: center; gap: 5px; }
351
+ .w-files .item .ico {
352
+ width: 11px; height: 13px;
353
+ background: var(--c-blue-cobalt);
354
+ clip-path: var(--hex-pointy-top);
355
+ flex-shrink: 0;
356
+ }
357
+ .w-files .item.folder .ico { background: var(--c-orange-knvb); }
358
+ .w-files .item.doc .ico { background: var(--c-terracotta-300); }
359
+ .w-files .item.sheet .ico { background: var(--c-forest-300); }
360
+ .w-files .item .l { flex: 1; height: 3px; background: var(--c-cobalt-200); border-radius: 1px; }
361
+
362
+ /* Decks widget — kanban with three columns of card-bars. */
363
+ .w-decks .columns {
364
+ flex: 1;
365
+ display: grid;
366
+ grid-template-columns: repeat(3, 1fr);
367
+ gap: 4px;
368
+ min-height: 50px;
369
+ }
370
+ .w-decks .columns .col {
371
+ background: var(--c-cobalt-50);
372
+ border-radius: 2px;
373
+ padding: 3px;
374
+ display: flex; flex-direction: column;
375
+ gap: 2px;
376
+ }
377
+ .w-decks .columns .card {
378
+ height: 8px;
379
+ background: white;
380
+ border-radius: 1px;
381
+ border-left: 2px solid var(--c-blue-cobalt);
382
+ }
383
+ .w-decks .columns .card.b { border-left-color: var(--c-orange-knvb); }
384
+ .w-decks .columns .card.c { border-left-color: var(--c-mint-500); }
385
+
386
+ /* RSS widget — long item rows with timestamp accent. */
387
+ .w-rss .list { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
388
+ .w-rss .item { display: flex; align-items: center; gap: 5px; }
389
+ .w-rss .item .src { width: 14px; height: 3px; background: var(--c-cobalt-400); border-radius: 1px; flex-shrink: 0; }
390
+ .w-rss .item .title { flex: 1; height: 3px; background: var(--c-cobalt-700); border-radius: 1px; }
391
+ .w-rss .item .when { width: 18px; height: 3px; background: var(--c-cobalt-200); border-radius: 1px; flex-shrink: 0; }
392
+
393
+ /* Jira / status board widget — rows with status pill + title. */
394
+ .w-jira .list { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
395
+ .w-jira .item { display: flex; align-items: center; gap: 5px; }
396
+ .w-jira .item .id { width: 22px; height: 4px; background: var(--c-lavender-300); border-radius: 1px; flex-shrink: 0; }
397
+ .w-jira .item .l { flex: 1; height: 3px; background: var(--c-cobalt-700); border-radius: 1px; }
398
+ .w-jira .item .pip {
399
+ width: 10px; height: 11px;
400
+ clip-path: var(--hex-pointy-top);
401
+ background: var(--c-mint-500);
402
+ flex-shrink: 0;
403
+ }
404
+ .w-jira .item.review .pip { background: var(--c-orange-knvb); }
405
+ .w-jira .item.todo .pip { background: var(--c-cobalt-200); }
406
+ .w-jira .item.blocked .pip { background: var(--c-red-vermillion); }
407
+
408
+ /* Video widget — thumbnail with play triangle + duration pill. */
409
+ .w-video .frame {
410
+ flex: 1;
411
+ background: var(--c-cobalt-700);
412
+ border-radius: 2px;
413
+ position: relative;
414
+ min-height: 50px;
415
+ overflow: hidden;
416
+ }
417
+ .w-video .frame::before {
418
+ content: ""; position: absolute; inset: 0;
419
+ background: linear-gradient(135deg, var(--c-cobalt-700) 0%, var(--c-cobalt-900) 100%);
420
+ }
421
+ .w-video .frame .play {
422
+ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
423
+ width: 0; height: 0;
424
+ border-left: 10px solid white;
425
+ border-top: 6px solid transparent;
426
+ border-bottom: 6px solid transparent;
427
+ z-index: 1;
428
+ }
429
+ .w-video .frame .duration {
430
+ position: absolute; bottom: 4px; right: 4px;
431
+ width: 18px; height: 4px; background: var(--c-orange-knvb); border-radius: 1px;
432
+ z-index: 1;
433
+ }
434
+
435
+ /* DocuDesk-style upload widget — dropzone with hex-stack accent. */
436
+ .w-upload .zone {
437
+ flex: 1;
438
+ border: 1px dashed var(--c-cobalt-300);
439
+ border-radius: 2px;
440
+ background: var(--c-cobalt-50);
441
+ display: flex; align-items: center; justify-content: center;
442
+ gap: 4px;
443
+ min-height: 50px;
444
+ }
445
+ .w-upload .zone .ico {
446
+ width: 16px; height: 18px;
447
+ clip-path: var(--hex-pointy-top);
448
+ background: var(--c-terracotta-500);
449
+ }
450
+ .w-upload .zone .label {
451
+ height: 3px; width: 32px;
452
+ background: var(--c-cobalt-400);
453
+ border-radius: 1px;
454
+ }
455
+
456
+ /* Procest werkvoorraad widget — case rows with stage pip + assignee. */
457
+ .w-werkvoorraad .list { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
458
+ .w-werkvoorraad .item { display: flex; align-items: center; gap: 5px; }
459
+ .w-werkvoorraad .item .stage {
460
+ width: 10px; height: 11px;
461
+ clip-path: var(--hex-pointy-top);
462
+ background: var(--c-lavender-300);
463
+ flex-shrink: 0;
464
+ }
465
+ .w-werkvoorraad .item.now .stage { background: var(--c-orange-knvb); }
466
+ .w-werkvoorraad .item.late .stage { background: var(--c-red-vermillion); }
467
+ .w-werkvoorraad .item .l1 { flex: 1; height: 4px; background: var(--c-cobalt-700); border-radius: 1px; }
468
+ .w-werkvoorraad .item .av {
469
+ width: 12px; height: 12px; border-radius: 50%;
470
+ background: var(--c-mint-300); flex-shrink: 0;
471
+ }
472
+ .w-werkvoorraad .item.b .av { background: var(--c-lavender-300); }
473
+ .w-werkvoorraad .item.c .av { background: var(--c-forest-300); }
474
+
475
+ /* Custom-tile widget — large hex-icon launcher (Intranet, Calendar, Files). */
476
+ .w-launcher {
477
+ background: var(--c-blue-cobalt);
478
+ display: flex; flex-direction: column;
479
+ align-items: center; justify-content: center;
480
+ gap: 6px;
481
+ padding: 12px;
482
+ border-radius: var(--radius-sm);
483
+ min-height: 60px;
484
+ }
485
+ .w-launcher .ico {
486
+ width: 22px; height: 25px;
487
+ clip-path: var(--hex-pointy-top);
488
+ background: white;
489
+ }
490
+ .w-launcher .label {
491
+ height: 5px; width: 50%;
492
+ background: white; border-radius: 1px;
493
+ }
494
+ .w-launcher.amber { background: var(--c-orange-knvb); }
495
+ .w-launcher.mint { background: var(--c-mint-500); }
496
+ .w-launcher.lavender { background: var(--c-lavender-500); }
497
+ .w-launcher.forest { background: var(--c-forest-500); }
498
+
499
+ /* Sub-grid container — for showing tile groups inside a tile. */
500
+ .w-subgrid .grid {
501
+ flex: 1;
502
+ display: grid;
503
+ grid-template-columns: repeat(2, 1fr);
504
+ gap: 4px;
505
+ min-height: 50px;
506
+ }
507
+ .w-subgrid .grid .cell {
508
+ background: var(--c-cobalt-50);
509
+ border-radius: 2px;
510
+ display: flex; align-items: center; justify-content: center;
511
+ }
512
+ .w-subgrid .grid .cell .ico {
513
+ width: 14px; height: 16px;
514
+ clip-path: var(--hex-pointy-top);
515
+ background: var(--c-blue-cobalt);
516
+ }
517
+ .w-subgrid .grid .cell.b .ico { background: var(--c-orange-knvb); }
518
+ .w-subgrid .grid .cell.c .ico { background: var(--c-mint-500); }
519
+ .w-subgrid .grid .cell.d .ico { background: var(--c-lavender-500); }
520
+
521
+ /* ======================================================================
522
+ OpenRegister — left nav + centre dashboard + right detail panel
523
+ ====================================================================== */
524
+
525
+ .openregister .col .kpiRow { display: flex; gap: 6px; }
526
+ .openregister .col .panelRow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; min-height: 0; }
527
+
528
+ /* ======================================================================
529
+ DeciDesk — left nav + centre with action row + KPIs + 2 tables
530
+ ====================================================================== */
531
+
532
+ .decidesk .col .kpiRow { display: flex; gap: 6px; }
533
+ .decidesk .col .panelRow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; min-height: 0; }
534
+ .decidesk .col .head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
535
+
536
+ /* ======================================================================
537
+ OpenCatalogi — list of catalogue cards
538
+ ====================================================================== */
539
+
540
+ .opencatalogi .col .grid {
541
+ display: grid;
542
+ grid-template-columns: repeat(3, 1fr);
543
+ gap: 8px;
544
+ flex: 1;
545
+ min-height: 0;
546
+ }
547
+ .opencatalogi .card {
548
+ background: white;
549
+ border: 1px solid var(--c-cobalt-100);
550
+ border-radius: var(--radius-sm);
551
+ padding: 8px;
552
+ display: flex;
553
+ flex-direction: column;
554
+ gap: 5px;
555
+ }
556
+ .opencatalogi .card .ico { width: 18px; height: 21px; clip-path: var(--hex-pointy-top); background: var(--c-blue-cobalt); }
557
+ .opencatalogi .card.b .ico { background: var(--c-forest-500); }
558
+ .opencatalogi .card.c .ico { background: var(--c-lavender-500); }
559
+ .opencatalogi .card.d .ico { background: var(--c-terracotta-500); }
560
+ .opencatalogi .card.e .ico { background: var(--c-mint-500); }
561
+
562
+ /* ======================================================================
563
+ OpenConnector — pipeline / source-connector-target visual
564
+ ====================================================================== */
565
+
566
+ .openconnector .stage {
567
+ display: flex; align-items: center; gap: 10px;
568
+ padding: 12px 0;
569
+ }
570
+ .openconnector .stage .source,
571
+ .openconnector .stage .target {
572
+ width: 28%; height: 56px;
573
+ background: var(--c-cobalt-50);
574
+ border: 1px solid var(--c-cobalt-200);
575
+ border-radius: var(--radius-sm);
576
+ display: flex; flex-direction: column;
577
+ align-items: center; justify-content: center;
578
+ gap: 4px;
579
+ }
580
+ .openconnector .stage .source .ico { width: 18px; height: 21px; clip-path: var(--hex-pointy-top); background: var(--c-lavender-500); }
581
+ .openconnector .stage .target .ico { width: 18px; height: 21px; clip-path: var(--hex-pointy-top); background: var(--c-forest-500); }
582
+ .openconnector .stage .arrow { flex: 1; height: 2px; background: var(--c-cobalt-300); position: relative; }
583
+ .openconnector .stage .arrow::after {
584
+ content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
585
+ border-left: 6px solid var(--c-cobalt-300);
586
+ border-top: 4px solid transparent;
587
+ border-bottom: 4px solid transparent;
588
+ }
589
+ .openconnector .stage .conn {
590
+ width: 18%;
591
+ background: var(--c-blue-cobalt);
592
+ border-radius: var(--radius-sm);
593
+ height: 56px;
594
+ display: flex; flex-direction: column;
595
+ align-items: center; justify-content: center;
596
+ gap: 4px;
597
+ }
598
+ .openconnector .stage .conn .ico { width: 18px; height: 21px; clip-path: var(--hex-pointy-top); background: white; }
599
+ .openconnector .stage .conn .label { height: 4px; width: 60%; background: rgba(255,255,255,0.8); border-radius: 1px; }
600
+
601
+ /* ======================================================================
602
+ Procest — process timeline / case detail
603
+ ====================================================================== */
604
+
605
+ .procest .timeline {
606
+ display: flex; align-items: center; gap: 0;
607
+ padding: 8px 0;
608
+ position: relative;
609
+ }
610
+ .procest .timeline::before {
611
+ content: ""; position: absolute; left: 12px; right: 12px; top: 50%;
612
+ height: 2px; background: var(--c-cobalt-200);
613
+ z-index: 0;
614
+ }
615
+ .procest .timeline .step {
616
+ flex: 1;
617
+ display: flex; flex-direction: column;
618
+ align-items: center;
619
+ gap: 4px;
620
+ position: relative; z-index: 1;
621
+ }
622
+ .procest .timeline .step .h {
623
+ width: 18px; height: 21px;
624
+ clip-path: var(--hex-pointy-top);
625
+ background: var(--c-mint-500);
626
+ }
627
+ .procest .timeline .step.todo .h { background: var(--c-cobalt-100); }
628
+ .procest .timeline .step.now .h { background: var(--c-orange-knvb); }
629
+ .procest .timeline .step .label { height: 3px; width: 60%; background: var(--c-cobalt-400); border-radius: 1px; }
@@ -0,0 +1,71 @@
1
+ /**
2
+ * DeciDesk abstract — left nav + centre with action row, KPI strip,
3
+ * and two tables. Reference: localhost:8080/apps/decidesk.
4
+ *
5
+ * Hero of the centre is the trio of primary buttons (New Decision /
6
+ * Action Item / Minutes); we render them as accent-pill rows top right.
7
+ */
8
+
9
+ import React from 'react';
10
+ import styles from '../AppMock.module.css';
11
+
12
+ export default function DeciDeskMock() {
13
+ return (
14
+ <>
15
+ <div className={styles.topbar}>
16
+ <div className={styles.logo}></div>
17
+ {Array.from({length: 14}).map((_, i) => <div key={i} className={styles.icon}></div>)}
18
+ <div className={styles.spacer}></div>
19
+ <div className={styles.bell}></div>
20
+ <div className={styles.avatar}></div>
21
+ </div>
22
+ <div className={[styles.body, styles.decidesk].filter(Boolean).join(' ')}>
23
+ <div className={styles.nav}>
24
+ <div className={styles.navHead}>
25
+ <div className={styles.h}></div><div className={styles.l}></div>
26
+ </div>
27
+ {[true, false, false, false, false, false].map((active, i) => (
28
+ <div key={i} className={[styles.item, active && styles.active].filter(Boolean).join(' ')}>
29
+ <div className={styles.ico}></div>
30
+ <div className={styles.l}></div>
31
+ </div>
32
+ ))}
33
+ </div>
34
+ <div className={styles.col}>
35
+ <div className={styles.head}>
36
+ <div className={styles.row + ' ' + styles.head} style={{width: 25}}></div>
37
+ <div className={styles.actions}>
38
+ <div className={styles.btn}></div>
39
+ <div className={styles.btn}></div>
40
+ <div className={styles.btn}></div>
41
+ </div>
42
+ </div>
43
+ <div className={styles.kpiRow}>
44
+ <div className={[styles.kpi, styles.amber].join(' ')}>
45
+ <div className={styles.ico}></div>
46
+ <div className={styles.meta}><div className={styles.num}></div><div className={styles.label}></div></div>
47
+ </div>
48
+ <div className={styles.kpi}>
49
+ <div className={styles.ico}></div>
50
+ <div className={styles.meta}><div className={styles.num}></div><div className={styles.label}></div></div>
51
+ </div>
52
+ <div className={[styles.kpi, styles.lavender].join(' ')}>
53
+ <div className={styles.ico}></div>
54
+ <div className={styles.meta}><div className={styles.num}></div><div className={styles.label}></div></div>
55
+ </div>
56
+ </div>
57
+ <div className={styles.panelRow}>
58
+ <div className={styles.panel}>
59
+ <div className={styles.head}><div className={styles.title}></div></div>
60
+ <div className={styles.row + ' ' + styles.accent}></div>
61
+ </div>
62
+ <div className={styles.panel}>
63
+ <div className={styles.head}><div className={styles.title}></div></div>
64
+ <div className={styles.row + ' ' + styles.short}></div>
65
+ </div>
66
+ </div>
67
+ </div>
68
+ </div>
69
+ </>
70
+ );
71
+ }