maverick-wave 5.29.0 → 5.31.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 (144) hide show
  1. package/README.md +2 -2
  2. package/maverick-wave.min.css +2 -2
  3. package/package.json +8 -2
  4. package/src/scss/components/_avatars.scss +35 -3
  5. package/src/scss/components/_dropdown.scss +24 -1
  6. package/src/scss/components/_lang-switch.scss +4 -8
  7. package/src/scss/components/_modals.scss +33 -5
  8. package/.claude/settings.local.json +0 -43
  9. package/.claude/skills/mw-maverick-wave/SKILL.md +0 -532
  10. package/.claude/skills/mw-maverick-wave/examples/angular-form.md +0 -279
  11. package/.claude/skills/mw-maverick-wave/examples/angular-list-page.md +0 -309
  12. package/.claude/skills/mw-maverick-wave/examples/angular-services.md +0 -538
  13. package/.claude/skills/mw-maverick-wave/examples/static-landing-page.md +0 -530
  14. package/.claude/skills/mw-maverick-wave/references/components.md +0 -2169
  15. package/.claude/skills/mw-maverick-wave/references/forms.md +0 -358
  16. package/.claude/skills/mw-maverick-wave/references/javascript.md +0 -164
  17. package/.claude/skills/mw-maverick-wave/references/layout.md +0 -764
  18. package/.claude/skills/mw-maverick-wave/references/theming.md +0 -528
  19. package/.github/workflows/ci.yml +0 -41
  20. package/.idea/codeStyles/Project.xml +0 -59
  21. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  22. package/.idea/maverick-wave.iml +0 -12
  23. package/.idea/modules.xml +0 -8
  24. package/.idea/prettier.xml +0 -6
  25. package/.idea/vcs.xml +0 -6
  26. package/.prettierignore +0 -8
  27. package/.prettierrc.json +0 -7
  28. package/CHANGELOG.md +0 -950
  29. package/CLAUDE.md +0 -60
  30. package/gulpfile.js +0 -167
  31. package/index.html +0 -1730
  32. package/release.sh +0 -31
  33. package/scripts/verify.js +0 -252
  34. package/src/assets/favicon/apple-touch-icon.png +0 -0
  35. package/src/assets/favicon/favicon-96x96.png +0 -0
  36. package/src/assets/favicon/favicon.svg +0 -1
  37. package/src/assets/favicon/site.webmanifest +0 -37
  38. package/src/assets/favicon/web-app-manifest-192x192.png +0 -0
  39. package/src/assets/favicon/web-app-manifest-512x512.png +0 -0
  40. package/src/assets/favicon.ico +0 -0
  41. package/src/assets/header-logo.svg +0 -24
  42. package/src/assets/images/gallery-city.svg +0 -49
  43. package/src/assets/images/gallery-desert.svg +0 -25
  44. package/src/assets/images/gallery-forest.svg +0 -46
  45. package/src/assets/images/gallery-lake.svg +0 -26
  46. package/src/assets/images/gallery-mountain.svg +0 -19
  47. package/src/assets/images/gallery-ocean.svg +0 -26
  48. package/src/assets/images/gallery-oldtown.svg +0 -41
  49. package/src/assets/images/gallery-snow.svg +0 -39
  50. package/src/assets/images/photo-balloon.svg +0 -35
  51. package/src/assets/images/photo-forest-path.svg +0 -31
  52. package/src/assets/images/photo-lighthouse.svg +0 -42
  53. package/src/assets/images/photo-palm.svg +0 -27
  54. package/src/assets/images/photo-peak.svg +0 -27
  55. package/src/assets/images/photo-tower.svg +0 -34
  56. package/src/assets/images/photo-waterfall.svg +0 -32
  57. package/src/assets/images/slider-field.svg +0 -124
  58. package/src/assets/images/slider-forest.svg +0 -33
  59. package/src/assets/images/slider-lake.svg +0 -35
  60. package/src/assets/images/slider-mountains.svg +0 -29
  61. package/src/assets/images/slider-trees.svg +0 -41
  62. package/src/assets/images/story-aurora.svg +0 -36
  63. package/src/assets/images/story-beach.svg +0 -34
  64. package/src/assets/images/story-stars.svg +0 -35
  65. package/src/assets/images/tile-analytics.svg +0 -22
  66. package/src/assets/images/tile-cloud.svg +0 -19
  67. package/src/assets/images/tile-ecommerce.svg +0 -14
  68. package/src/assets/images/tile-enterprise.svg +0 -22
  69. package/src/assets/images/tile-marketing.svg +0 -16
  70. package/src/assets/media/demo-chime.wav +0 -0
  71. package/src/assets/media/story-sunrise.jpg +0 -0
  72. package/src/assets/media/story-sunrise.mp4 +0 -0
  73. package/src/partials/accordions-container.html +0 -179
  74. package/src/partials/alerts-container.html +0 -151
  75. package/src/partials/announcement-container.html +0 -67
  76. package/src/partials/avatars-container.html +0 -229
  77. package/src/partials/badges-container.html +0 -114
  78. package/src/partials/blog-posts-container.html +0 -158
  79. package/src/partials/breadcrumbs-container.html +0 -126
  80. package/src/partials/button-bar-container.html +0 -175
  81. package/src/partials/buttons-container.html +0 -272
  82. package/src/partials/calendar-container.html +0 -203
  83. package/src/partials/cards-container.html +0 -727
  84. package/src/partials/code-container.html +0 -194
  85. package/src/partials/colors-container.html +0 -263
  86. package/src/partials/coming-soon-container.html +0 -10
  87. package/src/partials/contact-container.html +0 -85
  88. package/src/partials/content-slider-container.html +0 -36
  89. package/src/partials/divider-container.html +0 -70
  90. package/src/partials/documentation-container.html +0 -204
  91. package/src/partials/dropdown-container.html +0 -119
  92. package/src/partials/empty-state-container.html +0 -79
  93. package/src/partials/feed-container.html +0 -506
  94. package/src/partials/footer-container.html +0 -113
  95. package/src/partials/form-container.html +0 -262
  96. package/src/partials/form-elements-container.html +0 -616
  97. package/src/partials/form-field-container.html +0 -166
  98. package/src/partials/gallery-container.html +0 -62
  99. package/src/partials/get-started-container.html +0 -423
  100. package/src/partials/grid-container.html +0 -191
  101. package/src/partials/header-container.html +0 -69
  102. package/src/partials/header-utilities-container.html +0 -331
  103. package/src/partials/highlights-container.html +0 -71
  104. package/src/partials/history-container.html +0 -67
  105. package/src/partials/home-container.html +0 -31
  106. package/src/partials/html-lists-container.html +0 -63
  107. package/src/partials/info-container.html +0 -104
  108. package/src/partials/input-group-container.html +0 -299
  109. package/src/partials/item-lists-container.html +0 -368
  110. package/src/partials/kanban-container.html +0 -459
  111. package/src/partials/kbd-container.html +0 -63
  112. package/src/partials/leader-row-container.html +0 -139
  113. package/src/partials/login-container.html +0 -65
  114. package/src/partials/lunch-menu-container.html +0 -341
  115. package/src/partials/media-container.html +0 -27
  116. package/src/partials/meta-info-container.html +0 -21
  117. package/src/partials/modals-container.html +0 -199
  118. package/src/partials/mosaic-container.html +0 -173
  119. package/src/partials/page-header-container.html +0 -78
  120. package/src/partials/pagination-container.html +0 -64
  121. package/src/partials/palette-container.html +0 -480
  122. package/src/partials/panels-container.html +0 -126
  123. package/src/partials/parallax-container.html +0 -147
  124. package/src/partials/portrait-gallery-container.html +0 -175
  125. package/src/partials/preview-container.html +0 -136
  126. package/src/partials/pricing-container.html +0 -523
  127. package/src/partials/progress-container.html +0 -230
  128. package/src/partials/prose-container.html +0 -43
  129. package/src/partials/ratings-container.html +0 -104
  130. package/src/partials/section-head-container.html +0 -77
  131. package/src/partials/segmented-container.html +0 -66
  132. package/src/partials/skeleton-container.html +0 -87
  133. package/src/partials/spinners-container.html +0 -96
  134. package/src/partials/stepper-container.html +0 -111
  135. package/src/partials/stories-container.html +0 -182
  136. package/src/partials/tables-container.html +0 -309
  137. package/src/partials/tabs-container.html +0 -290
  138. package/src/partials/tags-container.html +0 -242
  139. package/src/partials/techstack-bucket-container.html +0 -187
  140. package/src/partials/testimonials-container.html +0 -88
  141. package/src/partials/tiles-container.html +0 -247
  142. package/src/partials/timelines-container.html +0 -196
  143. package/src/partials/typography-container.html +0 -74
  144. package/src/partials/utilities-container.html +0 -553
@@ -1,459 +0,0 @@
1
- <h3 class="mw-section-subtitle">Kanban</h3>
2
- <p class="mw-text-muted mw-text-measure">
3
- A board is a <code>mw-kanban</code> with one <code>mw-kanban-column</code> per
4
- status, a ticket a plain <code>mw-card</code> with
5
- <code>mw-kanban-card</code> on top. The priority is the regular
6
- <code>mw-card-ribbon</code> and brings its colour along on its own.
7
- <code>mw-kanban-compact</code> tightens the padding and clamps the description
8
- to two lines instead of four - for boards with many lanes or a sidebar next to
9
- them.
10
- </p>
11
-
12
- <div class="mw-segmented mw-mb-5" data-modifier-demo="kanban-demo">
13
- <button type="button" class="mw-segmented-item mw-active" data-modifier="">
14
- Default
15
- </button>
16
- <button
17
- type="button"
18
- class="mw-segmented-item"
19
- data-modifier="mw-kanban-compact"
20
- >
21
- Compact
22
- </button>
23
- </div>
24
-
25
- <div class="mw-kanban" id="kanban-demo" data-kanban-prefix="MW">
26
- <div class="mw-kanban-column">
27
- <div class="mw-kanban-column-header">
28
- <h5 class="mw-kanban-title">Backlog</h5>
29
- <span class="mw-kanban-count">0</span>
30
- <button
31
- type="button"
32
- class="mw-btn mw-btn-secondary mw-btn-sm mw-kanban-add"
33
- aria-label="Add ticket to Backlog"
34
- >
35
- <i class="fas fa-plus"></i>
36
- </button>
37
- </div>
38
-
39
- <div class="mw-kanban-column-body">
40
- <article class="mw-card mw-kanban-card">
41
- <div class="mw-card-ribbon mw-card-addon-info">Low</div>
42
- <p class="mw-kanban-card-title">Dark mode for the export dialog</p>
43
- <p class="mw-kanban-card-text">
44
- The dialog still renders on a hard white sheet while the rest of the
45
- app follows the theme. The print stylesheet forces a light background
46
- on purpose, and that rule leaks into the preview pane because both
47
- share the same wrapper class. Splitting the two is probably enough,
48
- but the header and the footer of the dialog need checking as well.
49
- </p>
50
- <div class="mw-kanban-card-footer">
51
- <span class="mw-kanban-card-id">MW-104</span>
52
- <div class="mw-kanban-card-actions">
53
- <div class="mw-avatar mw-avatar-xs mw-avatar-initials">tk</div>
54
- <button
55
- type="button"
56
- class="mw-kanban-action"
57
- data-kanban-move="-1"
58
- aria-label="Move MW-104 one lane left"
59
- >
60
- <i class="fas fa-chevron-left"></i>
61
- </button>
62
- <button
63
- type="button"
64
- class="mw-kanban-action"
65
- data-kanban-move="1"
66
- aria-label="Move MW-104 one lane right"
67
- >
68
- <i class="fas fa-chevron-right"></i>
69
- </button>
70
- <button
71
- type="button"
72
- class="mw-kanban-action mw-kanban-edit"
73
- aria-label="Edit MW-104"
74
- >
75
- <i class="fas fa-pen"></i>
76
- </button>
77
- <button
78
- type="button"
79
- class="mw-kanban-action mw-kanban-action-danger mw-kanban-delete"
80
- aria-label="Delete MW-104"
81
- >
82
- <i class="fas fa-trash"></i>
83
- </button>
84
- </div>
85
- </div>
86
- </article>
87
-
88
- <article class="mw-card mw-kanban-card">
89
- <p class="mw-kanban-card-title">Evaluate container queries</p>
90
- <p class="mw-kanban-card-text">
91
- Spike only - check whether the grid could drop a few breakpoints.
92
- </p>
93
- <div class="mw-kanban-card-footer">
94
- <span class="mw-kanban-card-id">MW-103</span>
95
- <div class="mw-kanban-card-actions">
96
- <div class="mw-avatar mw-avatar-xs mw-avatar-initials">mw</div>
97
- <button
98
- type="button"
99
- class="mw-kanban-action"
100
- data-kanban-move="-1"
101
- aria-label="Move MW-103 one lane left"
102
- >
103
- <i class="fas fa-chevron-left"></i>
104
- </button>
105
- <button
106
- type="button"
107
- class="mw-kanban-action"
108
- data-kanban-move="1"
109
- aria-label="Move MW-103 one lane right"
110
- >
111
- <i class="fas fa-chevron-right"></i>
112
- </button>
113
- <button
114
- type="button"
115
- class="mw-kanban-action mw-kanban-edit"
116
- aria-label="Edit MW-103"
117
- >
118
- <i class="fas fa-pen"></i>
119
- </button>
120
- <button
121
- type="button"
122
- class="mw-kanban-action mw-kanban-action-danger mw-kanban-delete"
123
- aria-label="Delete MW-103"
124
- >
125
- <i class="fas fa-trash"></i>
126
- </button>
127
- </div>
128
- </div>
129
- </article>
130
-
131
- <div class="mw-kanban-empty">No tickets</div>
132
- </div>
133
- </div>
134
-
135
- <div class="mw-kanban-column">
136
- <div class="mw-kanban-column-header">
137
- <h5 class="mw-kanban-title">In Progress</h5>
138
- <span class="mw-kanban-count">0</span>
139
- <button
140
- type="button"
141
- class="mw-btn mw-btn-secondary mw-btn-sm mw-kanban-add"
142
- aria-label="Add ticket to In Progress"
143
- >
144
- <i class="fas fa-plus"></i>
145
- </button>
146
- </div>
147
-
148
- <div class="mw-kanban-column-body">
149
- <article class="mw-card mw-kanban-card">
150
- <div class="mw-card-ribbon mw-card-addon-danger">High</div>
151
- <p class="mw-kanban-card-title">Sticky table header jitters</p>
152
- <p class="mw-kanban-card-text">
153
- On Safari the header shifts by a pixel while scrolling. Looks like a
154
- subpixel rounding issue on the border, since it only shows up at zoom
155
- levels that are not a multiple of 25 percent. Chrome and Firefox are
156
- both clean, so a transform-based fix would likely cost more than it
157
- buys us here.
158
- </p>
159
- <div class="mw-kanban-card-footer">
160
- <span class="mw-kanban-card-id">MW-102</span>
161
- <div class="mw-kanban-card-actions">
162
- <div class="mw-avatar mw-avatar-xs mw-avatar-initials">jd</div>
163
- <button
164
- type="button"
165
- class="mw-kanban-action"
166
- data-kanban-move="-1"
167
- aria-label="Move MW-102 one lane left"
168
- >
169
- <i class="fas fa-chevron-left"></i>
170
- </button>
171
- <button
172
- type="button"
173
- class="mw-kanban-action"
174
- data-kanban-move="1"
175
- aria-label="Move MW-102 one lane right"
176
- >
177
- <i class="fas fa-chevron-right"></i>
178
- </button>
179
- <button
180
- type="button"
181
- class="mw-kanban-action mw-kanban-edit"
182
- aria-label="Edit MW-102"
183
- >
184
- <i class="fas fa-pen"></i>
185
- </button>
186
- <button
187
- type="button"
188
- class="mw-kanban-action mw-kanban-action-danger mw-kanban-delete"
189
- aria-label="Delete MW-102"
190
- >
191
- <i class="fas fa-trash"></i>
192
- </button>
193
- </div>
194
- </div>
195
- </article>
196
-
197
- <article class="mw-card mw-kanban-card">
198
- <div class="mw-card-ribbon mw-card-addon-warning">Medium</div>
199
- <p class="mw-kanban-card-title">Range input on touch devices</p>
200
- <p class="mw-kanban-card-text">
201
- The thumb is too small to grab reliably; the track needs a bigger hit
202
- area.
203
- </p>
204
- <div class="mw-kanban-card-footer">
205
- <span class="mw-kanban-card-id">MW-101</span>
206
- <div class="mw-kanban-card-actions">
207
- <div class="mw-avatar mw-avatar-xs mw-avatar-initials">mw</div>
208
- <button
209
- type="button"
210
- class="mw-kanban-action"
211
- data-kanban-move="-1"
212
- aria-label="Move MW-101 one lane left"
213
- >
214
- <i class="fas fa-chevron-left"></i>
215
- </button>
216
- <button
217
- type="button"
218
- class="mw-kanban-action"
219
- data-kanban-move="1"
220
- aria-label="Move MW-101 one lane right"
221
- >
222
- <i class="fas fa-chevron-right"></i>
223
- </button>
224
- <button
225
- type="button"
226
- class="mw-kanban-action mw-kanban-edit"
227
- aria-label="Edit MW-101"
228
- >
229
- <i class="fas fa-pen"></i>
230
- </button>
231
- <button
232
- type="button"
233
- class="mw-kanban-action mw-kanban-action-danger mw-kanban-delete"
234
- aria-label="Delete MW-101"
235
- >
236
- <i class="fas fa-trash"></i>
237
- </button>
238
- </div>
239
- </div>
240
- </article>
241
-
242
- <div class="mw-kanban-empty">No tickets</div>
243
- </div>
244
- </div>
245
-
246
- <div class="mw-kanban-column">
247
- <div class="mw-kanban-column-header">
248
- <h5 class="mw-kanban-title">Review</h5>
249
- <span class="mw-kanban-count">0</span>
250
- <button
251
- type="button"
252
- class="mw-btn mw-btn-secondary mw-btn-sm mw-kanban-add"
253
- aria-label="Add ticket to Review"
254
- >
255
- <i class="fas fa-plus"></i>
256
- </button>
257
- </div>
258
-
259
- <div class="mw-kanban-column-body">
260
- <article class="mw-card mw-kanban-card">
261
- <div class="mw-card-ribbon mw-card-addon-warning">Medium</div>
262
- <p class="mw-kanban-card-title">Stepper: vertical variant</p>
263
- <p class="mw-kanban-card-text">
264
- Draws its own connector line, so the markup stays lighter than the
265
- horizontal one.
266
- </p>
267
- <div class="mw-kanban-card-footer">
268
- <span class="mw-kanban-card-id">MW-100</span>
269
- <div class="mw-kanban-card-actions">
270
- <div class="mw-avatar mw-avatar-xs mw-avatar-initials">jd</div>
271
- <button
272
- type="button"
273
- class="mw-kanban-action"
274
- data-kanban-move="-1"
275
- aria-label="Move MW-100 one lane left"
276
- >
277
- <i class="fas fa-chevron-left"></i>
278
- </button>
279
- <button
280
- type="button"
281
- class="mw-kanban-action"
282
- data-kanban-move="1"
283
- aria-label="Move MW-100 one lane right"
284
- >
285
- <i class="fas fa-chevron-right"></i>
286
- </button>
287
- <button
288
- type="button"
289
- class="mw-kanban-action mw-kanban-edit"
290
- aria-label="Edit MW-100"
291
- >
292
- <i class="fas fa-pen"></i>
293
- </button>
294
- <button
295
- type="button"
296
- class="mw-kanban-action mw-kanban-action-danger mw-kanban-delete"
297
- aria-label="Delete MW-100"
298
- >
299
- <i class="fas fa-trash"></i>
300
- </button>
301
- </div>
302
- </div>
303
- </article>
304
-
305
- <div class="mw-kanban-empty">No tickets</div>
306
- </div>
307
- </div>
308
-
309
- <div class="mw-kanban-column">
310
- <div class="mw-kanban-column-header">
311
- <h5 class="mw-kanban-title">Done</h5>
312
- <span class="mw-kanban-count">0</span>
313
- <button
314
- type="button"
315
- class="mw-btn mw-btn-secondary mw-btn-sm mw-kanban-add"
316
- aria-label="Add ticket to Done"
317
- >
318
- <i class="fas fa-plus"></i>
319
- </button>
320
- </div>
321
-
322
- <div class="mw-kanban-column-body">
323
- <article class="mw-card mw-kanban-card">
324
- <p class="mw-kanban-card-title">Tooltips no longer clipped</p>
325
- <p class="mw-kanban-card-text">
326
- Cards stopped creating a stacking context, so tooltips can escape
327
- their bounds again.
328
- </p>
329
- <div class="mw-kanban-card-footer">
330
- <span class="mw-kanban-card-id">MW-99</span>
331
- <div class="mw-kanban-card-actions">
332
- <div class="mw-avatar mw-avatar-xs mw-avatar-initials">mw</div>
333
- <button
334
- type="button"
335
- class="mw-kanban-action"
336
- data-kanban-move="-1"
337
- aria-label="Move MW-99 one lane left"
338
- >
339
- <i class="fas fa-chevron-left"></i>
340
- </button>
341
- <button
342
- type="button"
343
- class="mw-kanban-action"
344
- data-kanban-move="1"
345
- aria-label="Move MW-99 one lane right"
346
- >
347
- <i class="fas fa-chevron-right"></i>
348
- </button>
349
- <button
350
- type="button"
351
- class="mw-kanban-action mw-kanban-edit"
352
- aria-label="Edit MW-99"
353
- >
354
- <i class="fas fa-pen"></i>
355
- </button>
356
- <button
357
- type="button"
358
- class="mw-kanban-action mw-kanban-action-danger mw-kanban-delete"
359
- aria-label="Delete MW-99"
360
- >
361
- <i class="fas fa-trash"></i>
362
- </button>
363
- </div>
364
- </div>
365
- </article>
366
-
367
- <div class="mw-kanban-empty">No tickets</div>
368
- </div>
369
- </div>
370
-
371
- <form class="mw-kanban-composer">
372
- <input
373
- type="text"
374
- class="mw-input mw-input-sm mw-kanban-composer-title"
375
- placeholder="What needs to be done?"
376
- aria-label="Ticket title"
377
- />
378
- <textarea
379
- class="mw-textarea mw-kanban-composer-text"
380
- rows="2"
381
- placeholder="Details (optional)"
382
- aria-label="Ticket description"
383
- ></textarea>
384
- <div class="mw-kanban-composer-row">
385
- <select
386
- class="mw-select mw-select-sm mw-kanban-composer-priority"
387
- aria-label="Priority"
388
- >
389
- <option value="danger">High</option>
390
- <option value="warning">Medium</option>
391
- <option value="info">Low</option>
392
- <option value="" selected>No priority</option>
393
- </select>
394
- <select
395
- class="mw-select mw-select-sm mw-kanban-composer-assignee"
396
- aria-label="Assignee"
397
- >
398
- <option value="" selected>Unassigned</option>
399
- <option value="mw">MW</option>
400
- <option value="jd">JD</option>
401
- <option value="tk">TK</option>
402
- </select>
403
- </div>
404
- <div class="mw-kanban-composer-actions">
405
- <button
406
- type="button"
407
- class="mw-btn mw-btn-outline mw-btn-sm mw-kanban-composer-cancel"
408
- >
409
- Cancel
410
- </button>
411
- <button type="submit" class="mw-btn mw-btn-primary mw-btn-sm">
412
- Save
413
- </button>
414
- </div>
415
- </form>
416
-
417
- <template class="mw-kanban-card-template">
418
- <article class="mw-card mw-kanban-card">
419
- <p class="mw-kanban-card-title">Title</p>
420
- <p class="mw-kanban-card-text">Text</p>
421
- <div class="mw-kanban-card-footer">
422
- <span class="mw-kanban-card-id">MW-0</span>
423
- <div class="mw-kanban-card-actions">
424
- <div class="mw-avatar mw-avatar-xs mw-avatar-initials">me</div>
425
- <button
426
- type="button"
427
- class="mw-kanban-action"
428
- data-kanban-move="-1"
429
- aria-label="Move MW-0 one lane left"
430
- >
431
- <i class="fas fa-chevron-left"></i>
432
- </button>
433
- <button
434
- type="button"
435
- class="mw-kanban-action"
436
- data-kanban-move="1"
437
- aria-label="Move MW-0 one lane right"
438
- >
439
- <i class="fas fa-chevron-right"></i>
440
- </button>
441
- <button
442
- type="button"
443
- class="mw-kanban-action mw-kanban-edit"
444
- aria-label="Edit MW-0"
445
- >
446
- <i class="fas fa-pen"></i>
447
- </button>
448
- <button
449
- type="button"
450
- class="mw-kanban-action mw-kanban-action-danger mw-kanban-delete"
451
- aria-label="Delete MW-0"
452
- >
453
- <i class="fas fa-trash"></i>
454
- </button>
455
- </div>
456
- </div>
457
- </article>
458
- </template>
459
- </div>
@@ -1,63 +0,0 @@
1
- <h3 class="mw-section-subtitle">Keyboard Keys</h3>
2
-
3
- <p class="mw-text-muted mw-text-measure">
4
- Anything that tells someone which key to press should look like the key.
5
- <code>&lt;kbd&gt;</code> is styled directly, so a shortcut in prose needs no
6
- class at all; <code>mw-kbd</code> is there for a <code>span</code> when the
7
- markup is not yours to change.
8
- </p>
9
-
10
- <div class="mw-grid-2 mw-gap-6">
11
- <div>
12
- <h3 class="mw-card-title mw-mb-4">In prose</h3>
13
- <div class="mw-card mw-card-simple mw-grid-1 mw-gap-6">
14
- <p class="mw-mb-0">
15
- Press
16
- <span class="mw-kbd-group"
17
- ><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd></span
18
- >
19
- to open the command palette, <kbd>Esc</kbd> to close it and
20
- <kbd>Enter</kbd> to run the selection.
21
- </p>
22
- <p class="mw-mb-0">
23
- On a Mac that is
24
- <span class="mw-kbd-group"
25
- ><kbd>&#8984;</kbd>+<kbd>&#8679;</kbd>+<kbd>P</kbd></span
26
- >.
27
- </p>
28
- <div>
29
- <h4 class="mw-text-medium mw-mb-2">Held down</h4>
30
- <p class="mw-mb-0">
31
- <kbd class="mw-kbd-pressed">Space</kbd> shown mid-press - the raised
32
- edge drops and the key sits 1px lower, for a hint that demonstrates
33
- rather than lists.
34
- </p>
35
- </div>
36
- </div>
37
- </div>
38
-
39
- <div>
40
- <h3 class="mw-card-title mw-mb-4">As a shortcut list</h3>
41
- <div class="mw-card mw-card-simple">
42
- <div class="mw-row-split mw-row-split-center">
43
- <span>Save</span>
44
- <span class="mw-kbd-group"><kbd>Ctrl</kbd>+<kbd>S</kbd></span>
45
- </div>
46
- <hr class="mw-divider" />
47
- <div class="mw-row-split mw-row-split-center">
48
- <span>Find in page</span>
49
- <span class="mw-kbd-group"><kbd>Ctrl</kbd>+<kbd>F</kbd></span>
50
- </div>
51
- <hr class="mw-divider" />
52
- <div class="mw-row-split mw-row-split-center">
53
- <span>Close tab</span>
54
- <span class="mw-kbd-group"><kbd>Ctrl</kbd>+<kbd>W</kbd></span>
55
- </div>
56
- <hr class="mw-divider" />
57
- <div class="mw-row-split mw-row-split-center">
58
- <span>Help</span>
59
- <span class="mw-kbd-group"><kbd>?</kbd></span>
60
- </div>
61
- </div>
62
- </div>
63
- </div>
@@ -1,139 +0,0 @@
1
- <h3 class="mw-section-subtitle">Leader row</h3>
2
- <p class="mw-text-muted mw-text-measure">
3
- A label, its value, and a dotted line connecting the two - the row a menu, a
4
- table of contents and an invoice all draw. The line is generated by the row
5
- itself, so the markup is two spans.
6
- </p>
7
- <p class="mw-text-muted mw-text-measure">
8
- Label and value is what <code>&lt;dl&gt;</code> is for, and since HTML 5.2 a
9
- <code>&lt;div&gt;</code> may group a <code>&lt;dt&gt;</code> and its
10
- <code>&lt;dd&gt;</code> inside one - so the semantic version costs no extra
11
- element over the plain <code>&lt;p&gt;</code>. Put
12
- <code>mw-leader-row</code> on that <code>&lt;div&gt;</code> and the two
13
- classes on the <code>&lt;dt&gt;</code> and <code>&lt;dd&gt;</code>. Use it
14
- where the pair <em>is</em> the content; where every row also carries a
15
- description, a <code>&lt;p&gt;</code> stays simpler.
16
- </p>
17
-
18
- <div class="mw-grid-2 mw-gap-6">
19
- <div>
20
- <h3 class="mw-card-title mw-mb-4">On a menu</h3>
21
- <div class="mw-card mw-card-simple">
22
- <div class="mw-item-list">
23
- <div>
24
- <p class="mw-leader-row">
25
- <span class="mw-leader-row-label mw-text-bold">Flatbread soup</span>
26
- <span class="mw-leader-row-value mw-text-bold mw-text-primary"
27
- >5.80</span
28
- >
29
- </p>
30
- <p class="mw-text-sm mw-text-muted mw-mb-0">
31
- Beef broth with pancake strips and chives
32
- </p>
33
- </div>
34
- <div>
35
- <p class="mw-leader-row">
36
- <span class="mw-leader-row-label mw-text-bold"
37
- >Roast pork with dumpling and red cabbage</span
38
- >
39
- <span class="mw-leader-row-value mw-text-bold mw-text-primary"
40
- >17.50</span
41
- >
42
- </p>
43
- <p class="mw-text-sm mw-text-muted mw-mb-0">
44
- A long label wraps and the leader stays beside its last line
45
- </p>
46
- </div>
47
- </div>
48
- </div>
49
-
50
- <h3 class="mw-card-title mw-mb-4 mw-mt-6">Value on the first line</h3>
51
- <div class="mw-card mw-card-simple">
52
- <p class="mw-text-muted mw-text-sm mw-mb-5">
53
- <code>mw-leader-row-top</code> keeps the value beside the
54
- <em>first</em> line of a wrapping label instead of the last. On a menu
55
- that is where the price belongs - next to the dish, not somewhere down
56
- in its description.
57
- </p>
58
- <p class="mw-leader-row mw-leader-row-top">
59
- <span class="mw-leader-row-label mw-text-bold"
60
- >Roast pork with dumpling and red cabbage</span
61
- >
62
- <span class="mw-leader-row-value mw-text-bold mw-text-primary"
63
- >17.50</span
64
- >
65
- </p>
66
- </div>
67
-
68
- <h3 class="mw-card-title mw-mb-4 mw-mt-6">Semantic markup</h3>
69
- <div class="mw-card mw-card-simple">
70
- <p class="mw-text-muted mw-text-sm mw-mb-5">
71
- The same row as a <code>&lt;dl&gt;</code>: the group
72
- <code>&lt;div&gt;</code> carries <code>mw-leader-row</code>, the
73
- <code>&lt;dt&gt;</code> and <code>&lt;dd&gt;</code> carry the other two
74
- classes. No extra element over the <code>&lt;p&gt;</code> version.
75
- </p>
76
- <dl class="mw-item-list">
77
- <div class="mw-leader-row">
78
- <dt class="mw-leader-row-label">Potato soup with marjoram</dt>
79
- <dd class="mw-leader-row-value">4.90</dd>
80
- </div>
81
- <div class="mw-leader-row">
82
- <dt class="mw-leader-row-label">Mixed leaf salad</dt>
83
- <dd class="mw-leader-row-value">3.80</dd>
84
- </div>
85
- </dl>
86
- </div>
87
- </div>
88
-
89
- <div>
90
- <h3 class="mw-card-title mw-mb-4">Line styles</h3>
91
- <div class="mw-card mw-card-simple mw-grid-1 mw-gap-6">
92
- <div>
93
- <h4 class="mw-text-medium mw-mb-2">Dotted (default)</h4>
94
- <p class="mw-leader-row">
95
- <span class="mw-leader-row-label">Introduction</span>
96
- <span class="mw-leader-row-value">7</span>
97
- </p>
98
- </div>
99
- <div>
100
- <h4 class="mw-text-medium mw-mb-2">Dashed</h4>
101
- <p class="mw-leader-row mw-leader-row-dashed">
102
- <span class="mw-leader-row-label">Second movement</span>
103
- <span class="mw-leader-row-value">24</span>
104
- </p>
105
- </div>
106
- <div>
107
- <h4 class="mw-text-medium mw-mb-2">Solid</h4>
108
- <p class="mw-leader-row mw-leader-row-solid">
109
- <span class="mw-leader-row-label">Appendix</span>
110
- <span class="mw-leader-row-value">128</span>
111
- </p>
112
- </div>
113
- <div>
114
- <h4 class="mw-text-medium mw-mb-2">Retuned per row</h4>
115
- <p
116
- class="mw-leader-row"
117
- style="--mw-leader-row-color: var(--mw-primary-color)"
118
- >
119
- <span class="mw-leader-row-label">Total</span>
120
- <span class="mw-leader-row-value mw-text-bold">1 284.00</span>
121
- </p>
122
- </div>
123
- </div>
124
-
125
- <h3 class="mw-card-title mw-mb-4 mw-mt-6">Two values</h3>
126
- <div class="mw-card mw-card-simple">
127
- <p class="mw-text-muted mw-text-sm mw-mb-5">
128
- A second <code>mw-leader-row-value</code> needs no extra class - both
129
- sit after the leader, and a mark in the leader's colour goes between
130
- them so the pair does not read as one long range.
131
- </p>
132
- <p class="mw-leader-row">
133
- <span class="mw-leader-row-label">Wiener schnitzel with fries</span>
134
- <span class="mw-leader-row-value mw-text-muted">11.50</span>
135
- <span class="mw-leader-row-value mw-text-bold">15.90</span>
136
- </p>
137
- </div>
138
- </div>
139
- </div>