maverick-wave 5.24.0 → 5.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/skills/mw-maverick-wave/SKILL.md +32 -5
- package/.claude/skills/mw-maverick-wave/references/components.md +4 -0
- package/.claude/skills/mw-maverick-wave/references/javascript.md +44 -8
- package/.claude/skills/mw-maverick-wave/references/layout.md +39 -11
- package/.claude/skills/mw-maverick-wave/references/theming.md +34 -10
- package/CHANGELOG.md +20 -0
- package/CLAUDE.md +4 -0
- package/README.md +4 -2
- package/index.html +13 -0
- package/maverick-wave.min.css +7 -5
- package/maverick-wave.min.js +1 -1
- package/package.json +2 -2
- package/src/js/main.js +149 -57
- package/src/partials/accordions-container.html +1 -1
- package/src/partials/alerts-container.html +1 -1
- package/src/partials/announcement-container.html +1 -1
- package/src/partials/avatars-container.html +1 -1
- package/src/partials/badges-container.html +1 -1
- package/src/partials/blog-posts-container.html +2 -2
- package/src/partials/breadcrumbs-container.html +1 -1
- package/src/partials/button-bar-container.html +1 -1
- package/src/partials/buttons-container.html +1 -1
- package/src/partials/calendar-container.html +1 -1
- package/src/partials/cards-container.html +1 -1
- package/src/partials/code-container.html +1 -1
- package/src/partials/colors-container.html +3 -3
- package/src/partials/coming-soon-container.html +1 -1
- package/src/partials/contact-container.html +1 -1
- package/src/partials/divider-container.html +1 -1
- package/src/partials/dropdown-container.html +1 -1
- package/src/partials/empty-state-container.html +1 -1
- package/src/partials/form-container.html +1 -1
- package/src/partials/form-elements-container.html +1 -1
- package/src/partials/form-field-container.html +1 -1
- package/src/partials/gallery-container.html +1 -1
- package/src/partials/get-started-container.html +5 -10
- package/src/partials/grid-container.html +1 -1
- package/src/partials/header-utilities-container.html +2 -2
- package/src/partials/html-lists-container.html +1 -1
- package/src/partials/info-container.html +1 -1
- package/src/partials/input-group-container.html +2 -4
- package/src/partials/item-lists-container.html +1 -1
- package/src/partials/kanban-container.html +2 -2
- package/src/partials/kbd-container.html +1 -1
- package/src/partials/leader-row-container.html +2 -2
- package/src/partials/login-container.html +2 -2
- package/src/partials/lunch-menu-container.html +2 -2
- package/src/partials/media-container.html +1 -1
- package/src/partials/meta-info-container.html +1 -1
- package/src/partials/modals-container.html +1 -1
- package/src/partials/page-header-container.html +1 -1
- package/src/partials/pagination-container.html +2 -2
- package/src/partials/palette-container.html +2 -2
- package/src/partials/panels-container.html +2 -2
- package/src/partials/parallax-container.html +1 -1
- package/src/partials/pricing-container.html +2 -2
- package/src/partials/progress-container.html +1 -1
- package/src/partials/prose-container.html +1 -1
- package/src/partials/ratings-container.html +1 -1
- package/src/partials/section-head-container.html +6 -3
- package/src/partials/segmented-container.html +1 -1
- package/src/partials/skeleton-container.html +1 -1
- package/src/partials/spinners-container.html +1 -1
- package/src/partials/stepper-container.html +1 -1
- package/src/partials/tables-container.html +1 -1
- package/src/partials/tabs-container.html +1 -1
- package/src/partials/tags-container.html +1 -7
- package/src/partials/testimonials-container.html +1 -1
- package/src/partials/tiles-container.html +1 -1
- package/src/partials/typography-container.html +1 -1
- package/src/partials/utilities-container.html +1 -1
- package/src/scss/base/_base.scss +21 -5
- package/src/scss/components/_blog-post.scss +15 -10
- package/src/scss/components/_button-bar.scss +10 -6
- package/src/scss/components/_code.scss +23 -34
- package/src/scss/components/_info.scss +8 -1
- package/src/scss/components/_kanban.scss +6 -6
- package/src/scss/components/_meta-info.scss +7 -6
- package/src/scss/components/_tables.scss +6 -4
- package/src/scss/components/_tiles.scss +20 -30
- package/src/scss/layout/_grid.scss +28 -0
- package/src/scss/layout/_header.scss +16 -9
- package/src/scss/layout/_home.scss +21 -2
- package/src/scss/layout/_main.scss +7 -7
- package/src/scss/layout/_page-header.scss +4 -4
- package/src/scss/layout/_section.scss +33 -10
- package/src/scss/main-lean.scss +16 -0
- package/src/scss/utilities/_index.scss +1 -0
- package/src/scss/utilities/_print.scss +107 -0
- package/src/scss/utilities/_touch-targets.scss +4 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
@use '../abstracts' as *;
|
|
2
|
+
|
|
3
|
+
// Last layer on purpose: these rules have to win against the components they
|
|
4
|
+
// flatten, and a media query adds no specificity of its own.
|
|
5
|
+
@layer mw.utilities {
|
|
6
|
+
// Hidden on screen, shown on paper. Before the print block and not after it:
|
|
7
|
+
// both rules have the same specificity, so the later one would win in print
|
|
8
|
+
// too and the note would never appear.
|
|
9
|
+
.mw-print-only {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media print {
|
|
14
|
+
// Paper is white and ink is black, whatever the screen was told to be. The
|
|
15
|
+
// tokens are redeclared on .mw-theme-light too - that copy sits further
|
|
16
|
+
// down the tree and would otherwise shadow the one on :root.
|
|
17
|
+
:root,
|
|
18
|
+
.mw-theme-light {
|
|
19
|
+
--mw-page-background: #fff;
|
|
20
|
+
--mw-card-background: #fff;
|
|
21
|
+
--mw-footer-background: #fff;
|
|
22
|
+
--mw-text-color: #000;
|
|
23
|
+
--mw-text-muted-color: #333;
|
|
24
|
+
--mw-border: #999;
|
|
25
|
+
--mw-border-accent: #666;
|
|
26
|
+
|
|
27
|
+
// No toner for depth that paper cannot show anyway. Level 0 is not in the
|
|
28
|
+
// list: it is flat by definition and nothing reads it as a variable.
|
|
29
|
+
--mw-elevation-1: none;
|
|
30
|
+
--mw-elevation-2: none;
|
|
31
|
+
--mw-elevation-3: none;
|
|
32
|
+
--mw-elevation-4: none;
|
|
33
|
+
--mw-elevation-5: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
body {
|
|
37
|
+
background: #fff;
|
|
38
|
+
color: #000;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Chrome that is fixed on screen would print on the first page and cover
|
|
42
|
+
// what is underneath, and navigation is useless on paper either way.
|
|
43
|
+
.mw-header,
|
|
44
|
+
.mw-announcement:not(.mw-announcement-static),
|
|
45
|
+
.mw-section-nav,
|
|
46
|
+
.mw-scroll-hint,
|
|
47
|
+
.mw-menu-btn,
|
|
48
|
+
.mw-theme-toggle,
|
|
49
|
+
.mw-skip-link,
|
|
50
|
+
.mw-toast-stack,
|
|
51
|
+
.mw-hide-print {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// The counterpart: a note that only makes sense on the printed page
|
|
56
|
+
.mw-print-only {
|
|
57
|
+
display: revert;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// A surface without its tone still needs an edge to be a surface
|
|
61
|
+
.mw-card,
|
|
62
|
+
.mw-panel,
|
|
63
|
+
.mw-tile,
|
|
64
|
+
.mw-alert,
|
|
65
|
+
.mw-info {
|
|
66
|
+
border: 1px solid #999;
|
|
67
|
+
background: #fff;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Anything that is one thing should not be torn across two pages
|
|
71
|
+
.mw-card,
|
|
72
|
+
.mw-panel,
|
|
73
|
+
.mw-tile,
|
|
74
|
+
.mw-section-head,
|
|
75
|
+
.mw-leader-row,
|
|
76
|
+
.mw-item-list-item,
|
|
77
|
+
tr,
|
|
78
|
+
figure,
|
|
79
|
+
blockquote {
|
|
80
|
+
break-inside: avoid;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// A heading at the foot of a page belongs to the next one
|
|
84
|
+
h1,
|
|
85
|
+
h2,
|
|
86
|
+
h3,
|
|
87
|
+
.mw-section-head-title,
|
|
88
|
+
.mw-section-subtitle {
|
|
89
|
+
break-after: avoid;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// Screen rhythm is scroll distance; on paper it is wasted sheets
|
|
93
|
+
.mw-section {
|
|
94
|
+
padding-block: spacing('6');
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// A link is only worth printing when its target comes with it. Internal
|
|
98
|
+
// anchors and mail links stay quiet - the first says nothing on paper, the
|
|
99
|
+
// second already shows the address as its text.
|
|
100
|
+
.mw-prose a[href^='http']::after,
|
|
101
|
+
.mw-disclaimer a[href^='http']::after {
|
|
102
|
+
content: ' (' attr(href) ')';
|
|
103
|
+
font-size: font-size('xs');
|
|
104
|
+
word-break: break-all;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -139,12 +139,16 @@
|
|
|
139
139
|
@include media-down('md') {
|
|
140
140
|
:root {
|
|
141
141
|
--mw-section-padding-block: #{spacing('9')};
|
|
142
|
+
--mw-section-padding-compact: #{spacing('7')};
|
|
143
|
+
--mw-section-padding-airy: #{spacing('10')};
|
|
142
144
|
}
|
|
143
145
|
}
|
|
144
146
|
|
|
145
147
|
@include media-down('sm') {
|
|
146
148
|
:root {
|
|
147
149
|
--mw-section-padding-block: #{spacing('7')};
|
|
150
|
+
--mw-section-padding-compact: #{spacing('6')};
|
|
151
|
+
--mw-section-padding-airy: #{spacing('9')};
|
|
148
152
|
}
|
|
149
153
|
}
|
|
150
154
|
|