maverick-wave 5.23.0 → 5.25.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 +37 -9
- package/.claude/skills/mw-maverick-wave/examples/static-landing-page.md +22 -14
- 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 +48 -6
- package/.claude/skills/mw-maverick-wave/references/theming.md +21 -1
- package/CHANGELOG.md +20 -0
- package/CLAUDE.md +4 -0
- package/README.md +4 -2
- package/index.html +75 -38
- package/maverick-wave.min.css +5 -5
- package/maverick-wave.min.js +1 -1
- package/package.json +2 -2
- package/src/js/main.js +149 -57
- package/src/partials/get-started-container.html +5 -10
- package/src/partials/highlights-container.html +7 -5
- package/src/partials/input-group-container.html +1 -3
- package/src/partials/page-header-container.html +2 -2
- package/src/partials/section-head-container.html +74 -0
- package/src/partials/tags-container.html +0 -6
- package/src/scss/base/_base.scss +6 -1
- 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 +10 -7
- package/src/scss/layout/_page-header.scss +4 -4
- package/src/scss/layout/_section.scss +117 -47
- 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/index.html
CHANGED
|
@@ -25,6 +25,19 @@
|
|
|
25
25
|
cached: the filename never changes, and without it a stale stylesheet
|
|
26
26
|
survives a normal reload -->
|
|
27
27
|
<link rel="stylesheet" href="maverick-wave.min.css?v={{VERSION}}" />
|
|
28
|
+
|
|
29
|
+
<!-- Applies a stored theme choice before the first paint. Without it a
|
|
30
|
+
reader whose choice differs from the OS sees the other theme for a
|
|
31
|
+
frame, because main.js only runs at the end of the body. Inline and
|
|
32
|
+
synchronous on purpose - an external file would paint first. -->
|
|
33
|
+
<script>
|
|
34
|
+
(function () {
|
|
35
|
+
var stored = localStorage.getItem('mw-theme');
|
|
36
|
+
if (stored === 'light' || stored === 'dark') {
|
|
37
|
+
document.documentElement.classList.add('mw-theme-' + stored);
|
|
38
|
+
}
|
|
39
|
+
})();
|
|
40
|
+
</script>
|
|
28
41
|
<!-- Favicons -->
|
|
29
42
|
<link rel="icon" type="image/svg+xml" href="favicon/favicon.svg" />
|
|
30
43
|
<link
|
|
@@ -576,7 +589,9 @@
|
|
|
576
589
|
<!-- Get started section -->
|
|
577
590
|
<section id="get-started" class="mw-section">
|
|
578
591
|
<div class="mw-container">
|
|
579
|
-
<
|
|
592
|
+
<div class="mw-section-head">
|
|
593
|
+
<h2 class="mw-section-head-title">Get started</h2>
|
|
594
|
+
</div>
|
|
580
595
|
@@include('./src/partials/get-started-container.html')
|
|
581
596
|
</div>
|
|
582
597
|
</section>
|
|
@@ -584,7 +599,9 @@
|
|
|
584
599
|
<!-- Documentation section -->
|
|
585
600
|
<section id="documentation" class="mw-section mw-section-alternate">
|
|
586
601
|
<div class="mw-container">
|
|
587
|
-
<
|
|
602
|
+
<div class="mw-section-head">
|
|
603
|
+
<h2 class="mw-section-head-title">Documentation</h2>
|
|
604
|
+
</div>
|
|
588
605
|
@@include('./src/partials/documentation-container.html')
|
|
589
606
|
</div>
|
|
590
607
|
</section>
|
|
@@ -592,11 +609,13 @@
|
|
|
592
609
|
<!-- Foundations section -->
|
|
593
610
|
<section id="foundations" class="mw-section">
|
|
594
611
|
<div class="mw-container">
|
|
595
|
-
<
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
612
|
+
<div class="mw-section-head">
|
|
613
|
+
<h2 class="mw-section-head-title">Foundations</h2>
|
|
614
|
+
<p class="mw-section-head-intro">
|
|
615
|
+
The raw material - type, color, spacing and the small utilities
|
|
616
|
+
everything else is built from.
|
|
617
|
+
</p>
|
|
618
|
+
</div>
|
|
600
619
|
<nav class="mw-section-nav">
|
|
601
620
|
<a href="#typography" class="mw-section-btn">Typography</a>
|
|
602
621
|
<a href="#colors" class="mw-section-btn">Main Colors</a>
|
|
@@ -643,12 +662,15 @@
|
|
|
643
662
|
<!-- Layout section -->
|
|
644
663
|
<section id="layout" class="mw-section mw-section-alternate">
|
|
645
664
|
<div class="mw-container">
|
|
646
|
-
<
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
665
|
+
<div class="mw-section-head">
|
|
666
|
+
<h2 class="mw-section-head-title">Layout</h2>
|
|
667
|
+
<p class="mw-section-head-intro">
|
|
668
|
+
The bones of a page - grids, cards, panels and the containers that
|
|
669
|
+
hold content together.
|
|
670
|
+
</p>
|
|
671
|
+
</div>
|
|
651
672
|
<nav class="mw-section-nav">
|
|
673
|
+
<a href="#section-head" class="mw-section-btn">Section Head</a>
|
|
652
674
|
<a href="#grid" class="mw-section-btn">Grid System</a>
|
|
653
675
|
<a href="#cards" class="mw-section-btn">Cards</a>
|
|
654
676
|
<a href="#panels" class="mw-section-btn">Panels</a>
|
|
@@ -664,6 +686,11 @@
|
|
|
664
686
|
<a href="#parallax" class="mw-section-btn">Parallax</a>
|
|
665
687
|
</nav>
|
|
666
688
|
|
|
689
|
+
<!-- Section head container -->
|
|
690
|
+
<div id="section-head">
|
|
691
|
+
@@include('./src/partials/section-head-container.html')
|
|
692
|
+
</div>
|
|
693
|
+
|
|
667
694
|
<!-- Grid container -->
|
|
668
695
|
<div id="grid">@@include('./src/partials/grid-container.html')</div>
|
|
669
696
|
|
|
@@ -742,11 +769,13 @@
|
|
|
742
769
|
<!-- Components section -->
|
|
743
770
|
<section id="components" class="mw-section">
|
|
744
771
|
<div class="mw-container">
|
|
745
|
-
<
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
772
|
+
<div class="mw-section-head">
|
|
773
|
+
<h2 class="mw-section-head-title">Components</h2>
|
|
774
|
+
<p class="mw-section-head-intro">
|
|
775
|
+
The everyday parts - buttons, tags, alerts and their many friends,
|
|
776
|
+
ready to drop in.
|
|
777
|
+
</p>
|
|
778
|
+
</div>
|
|
750
779
|
<nav class="mw-section-nav">
|
|
751
780
|
<a href="#buttons" class="mw-section-btn">Buttons</a>
|
|
752
781
|
<a href="#button-bar" class="mw-section-btn">Button Bar</a>
|
|
@@ -849,11 +878,13 @@
|
|
|
849
878
|
<!-- Forms section -->
|
|
850
879
|
<section id="forms" class="mw-section mw-section-alternate">
|
|
851
880
|
<div class="mw-container">
|
|
852
|
-
<
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
881
|
+
<div class="mw-section-head">
|
|
882
|
+
<h2 class="mw-section-head-title">Forms</h2>
|
|
883
|
+
<p class="mw-section-head-intro">
|
|
884
|
+
Inputs, selects, toggles and validation - fields and buttons share
|
|
885
|
+
one height scale by construction.
|
|
886
|
+
</p>
|
|
887
|
+
</div>
|
|
857
888
|
<nav class="mw-section-nav">
|
|
858
889
|
<a href="#form-elements" class="mw-section-btn">Form Elements</a>
|
|
859
890
|
<a href="#input-group" class="mw-section-btn">Input Group</a>
|
|
@@ -894,11 +925,13 @@
|
|
|
894
925
|
<!-- Data & display section -->
|
|
895
926
|
<section id="data-display" class="mw-section">
|
|
896
927
|
<div class="mw-container">
|
|
897
|
-
<
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
928
|
+
<div class="mw-section-head">
|
|
929
|
+
<h2 class="mw-section-head-title">Data & Display</h2>
|
|
930
|
+
<p class="mw-section-head-intro">
|
|
931
|
+
Tables, boards, timelines and long-form content - everything that
|
|
932
|
+
shows real data.
|
|
933
|
+
</p>
|
|
934
|
+
</div>
|
|
902
935
|
<nav class="mw-section-nav">
|
|
903
936
|
<a href="#page-header" class="mw-section-btn">Page Header</a>
|
|
904
937
|
<a href="#meta-info" class="mw-section-btn">Meta Info</a>
|
|
@@ -1000,23 +1033,27 @@
|
|
|
1000
1033
|
<!-- History section -->
|
|
1001
1034
|
<section id="history" class="mw-section mw-section-alternate">
|
|
1002
1035
|
<div class="mw-container">
|
|
1003
|
-
<
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1036
|
+
<div class="mw-section-head">
|
|
1037
|
+
<h2 class="mw-section-head-title">History</h2>
|
|
1038
|
+
<p class="mw-section-head-intro">
|
|
1039
|
+
The major releases so far. Everything in between - the minors and
|
|
1040
|
+
the patch releases - sits in the changelog.
|
|
1041
|
+
</p>
|
|
1042
|
+
</div>
|
|
1008
1043
|
@@include('./src/partials/history-container.html')
|
|
1009
1044
|
</div>
|
|
1010
1045
|
</section>
|
|
1011
1046
|
<!-- Preview section, showcase only - see the partial -->
|
|
1012
1047
|
<section id="preview" class="mw-section">
|
|
1013
1048
|
<div class="mw-container">
|
|
1014
|
-
<
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1049
|
+
<div class="mw-section-head">
|
|
1050
|
+
<h2 class="mw-section-head-title">Preview</h2>
|
|
1051
|
+
<p class="mw-section-head-intro">
|
|
1052
|
+
One page-shaped example, so the variant switches in the palette
|
|
1053
|
+
panel have something to act on that is not a component gallery.
|
|
1054
|
+
Open the panel and the page lands here.
|
|
1055
|
+
</p>
|
|
1056
|
+
</div>
|
|
1020
1057
|
@@include('./src/partials/preview-container.html')
|
|
1021
1058
|
</div>
|
|
1022
1059
|
</section>
|