maverick-wave 4.28.0 → 5.0.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/settings.local.json +29 -1
- package/.claude/skills/mw-maverick-wave/SKILL.md +39 -24
- package/.claude/skills/mw-maverick-wave/examples/angular-services.md +16 -4
- package/.claude/skills/mw-maverick-wave/examples/static-landing-page.md +13 -4
- package/.claude/skills/mw-maverick-wave/references/components.md +42 -5
- package/.claude/skills/mw-maverick-wave/references/forms.md +14 -2
- package/.claude/skills/mw-maverick-wave/references/javascript.md +17 -4
- package/.claude/skills/mw-maverick-wave/references/layout.md +53 -19
- package/.claude/skills/mw-maverick-wave/references/theming.md +38 -1
- package/.impeccable/config.local.json +5 -0
- package/.impeccable/hook.cache.json +1 -0
- package/CHANGELOG.md +11 -0
- package/CLAUDE.md +5 -5
- package/README.md +48 -4
- package/index.html +19 -38
- package/maverick-wave.min.css +14 -12
- package/maverick-wave.min.js +1 -1
- package/package.json +2 -2
- package/scripts/verify.js +27 -2
- package/src/js/main.js +223 -83
- package/src/partials/accordions-container.html +6 -10
- package/src/partials/alerts-container.html +6 -6
- package/src/partials/announcement-container.html +5 -5
- package/src/partials/avatars-container.html +85 -17
- package/src/partials/badges-container.html +6 -6
- package/src/partials/blog-posts-container.html +11 -12
- package/src/partials/buttons-container.html +3 -3
- package/src/partials/cards-container.html +26 -9
- package/src/partials/code-container.html +5 -5
- package/src/partials/content-slider-container.html +5 -4
- package/src/partials/divider-container.html +7 -7
- package/src/partials/dropdown-container.html +2 -2
- package/src/partials/empty-state-container.html +5 -5
- package/src/partials/footer-container.html +21 -18
- package/src/partials/form-elements-container.html +14 -14
- package/src/partials/gallery-container.html +16 -8
- package/src/partials/get-started-container.html +4 -8
- package/src/partials/header-container.html +18 -7
- package/src/partials/home-container.html +10 -20
- package/src/partials/input-group-container.html +11 -2
- package/src/partials/kbd-container.html +1 -1
- package/src/partials/login-container.html +5 -1
- package/src/partials/media-container.html +2 -2
- package/src/partials/modals-container.html +22 -32
- package/src/partials/pricing-container.html +9 -9
- package/src/partials/skeleton-container.html +6 -6
- package/src/partials/stepper-container.html +2 -2
- package/src/partials/tables-container.html +12 -12
- package/src/partials/tabs-container.html +17 -27
- package/src/partials/tags-container.html +23 -17
- package/src/partials/techstack-bucket-container.html +13 -0
- package/src/partials/tiles-container.html +26 -9
- package/src/partials/typography-container.html +7 -6
- package/src/partials/utilities-container.html +35 -15
- package/src/scss/_layers.scss +10 -0
- package/src/scss/abstracts/_index.scss +6 -0
- package/src/scss/abstracts/_mixins.scss +61 -153
- package/src/scss/abstracts/_variables.scss +123 -319
- package/src/scss/base/_base.scss +170 -190
- package/src/scss/base/_reset.scss +106 -104
- package/src/scss/base/_typography.scss +153 -151
- package/src/scss/components/_accordions.scss +97 -97
- package/src/scss/components/_alerts.scss +71 -70
- package/src/scss/components/_announcement.scss +71 -70
- package/src/scss/components/_avatars.scss +130 -142
- package/src/scss/components/_badge.scss +131 -132
- package/src/scss/components/_blog-post.scss +223 -220
- package/src/scss/components/_breadcrumbs.scss +93 -92
- package/src/scss/components/_button-bar.scss +102 -110
- package/src/scss/components/_buttons.scss +319 -324
- package/src/scss/components/_calendar.scss +251 -252
- package/src/scss/components/_cards.scss +359 -386
- package/src/scss/components/_code.scss +190 -194
- package/src/scss/components/_coming-soon.scss +77 -75
- package/src/scss/components/_content-slider.scss +90 -89
- package/src/scss/components/_divider.scss +55 -53
- package/src/scss/components/_dropdown.scss +179 -185
- package/src/scss/components/_empty-state.scss +57 -57
- package/src/scss/components/_flag.scss +294 -278
- package/src/scss/components/_gallery.scss +131 -133
- package/src/scss/components/_info.scss +151 -167
- package/src/scss/components/_kanban.scss +332 -341
- package/src/scss/components/_kbd.scss +40 -38
- package/src/scss/components/_lang-switch.scss +89 -97
- package/src/scss/components/_links.scss +21 -28
- package/src/scss/components/_lists.scss +510 -514
- package/src/scss/components/_localhost-indicator.scss +26 -24
- package/src/scss/components/_media.scss +22 -20
- package/src/scss/components/_meta-info.scss +35 -33
- package/src/scss/components/_modals.scss +277 -186
- package/src/scss/components/_pagination.scss +81 -87
- package/src/scss/components/_panels.scss +99 -97
- package/src/scss/components/_pricing.scss +183 -241
- package/src/scss/components/_progress.scss +112 -89
- package/src/scss/components/_prose.scss +35 -33
- package/src/scss/components/_ratings.scss +40 -38
- package/src/scss/components/_segmented.scss +82 -84
- package/src/scss/components/_skeleton.scss +66 -72
- package/src/scss/components/_spinners.scss +155 -159
- package/src/scss/components/_stepper.scss +116 -116
- package/src/scss/components/_tables.scss +155 -148
- package/src/scss/components/_tabs.scss +232 -141
- package/src/scss/components/_tags.scss +109 -107
- package/src/scss/components/_techstack-bucket.scss +123 -122
- package/src/scss/components/_testimonial.scss +72 -70
- package/src/scss/components/_theme-toggle.scss +53 -51
- package/src/scss/components/_tiles.scss +174 -174
- package/src/scss/components/_timelines.scss +282 -280
- package/src/scss/components/_toasts.scss +66 -72
- package/src/scss/form-elements/_checkbox.scss +117 -132
- package/src/scss/form-elements/_form.scss +149 -115
- package/src/scss/form-elements/_input-group.scss +99 -103
- package/src/scss/form-elements/_input.scss +74 -74
- package/src/scss/form-elements/_login.scss +48 -48
- package/src/scss/form-elements/_prefilled.scss +53 -51
- package/src/scss/form-elements/_radio.scss +95 -107
- package/src/scss/form-elements/_select.scss +42 -42
- package/src/scss/form-elements/_slider.scss +117 -132
- package/src/scss/form-elements/_textarea.scss +68 -54
- package/src/scss/form-elements/_toggle.scss +127 -140
- package/src/scss/layout/_footer.scss +172 -171
- package/src/scss/layout/_grid.scss +268 -302
- package/src/scss/layout/_header.scss +426 -427
- package/src/scss/layout/_home.scss +28 -27
- package/src/scss/layout/_main.scss +275 -238
- package/src/scss/layout/_page-header.scss +38 -36
- package/src/scss/layout/_section.scss +150 -124
- package/src/scss/main.scss +1 -1
- package/src/scss/utilities/_accessibility.scss +46 -45
- package/src/scss/utilities/_aspect.scss +22 -20
- package/src/scss/utilities/_corner.scss +23 -5
- package/src/scss/utilities/_display.scss +76 -70
- package/src/scss/utilities/_elevation.scss +13 -11
- package/src/scss/utilities/_flex.scss +83 -85
- package/src/scss/utilities/_reveal.scss +40 -63
- package/src/scss/utilities/_spacing.scss +63 -64
- package/src/scss/utilities/_text.scss +139 -141
- package/src/scss/utilities/_touch-targets.scss +130 -147
|
@@ -1,157 +1,156 @@
|
|
|
1
1
|
@use '../abstracts' as *;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
@each $name in $_mw-badge-colors {
|
|
31
|
-
.mw-badge-#{$name} {
|
|
32
|
-
background: var(--mw-#{$name}-color);
|
|
33
|
-
color: var(--mw-#{$name}-accent-text-color);
|
|
3
|
+
@layer mw.components {
|
|
4
|
+
// Badge
|
|
5
|
+
//
|
|
6
|
+
// Not a tag. A tag is a label with a soft surface that names something - a
|
|
7
|
+
// topic, a state, a category - and sits in a row of its own kind. A badge is a
|
|
8
|
+
// solid mark that carries a *count* or a *status*, and it usually sits on
|
|
9
|
+
// something else: the number on a bell, the dot on an avatar, the "3" on a tab.
|
|
10
|
+
|
|
11
|
+
$_mw-badge-colors: (primary, secondary, success, warning, danger, info);
|
|
12
|
+
|
|
13
|
+
.mw-badge {
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
min-width: 1.25rem;
|
|
18
|
+
height: 1.25rem;
|
|
19
|
+
padding: 0 spacing('2');
|
|
20
|
+
border-radius: radius('xl');
|
|
21
|
+
background: var(--mw-primary-color);
|
|
22
|
+
color: var(--mw-primary-accent-text-color);
|
|
23
|
+
font-size: font-size('2xs');
|
|
24
|
+
font-weight: font-weight('bold');
|
|
25
|
+
line-height: 1;
|
|
26
|
+
font-variant-numeric: tabular-nums lining-nums;
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
vertical-align: middle;
|
|
34
29
|
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.mw-badge-muted {
|
|
38
|
-
background: var(--mw-gray-color);
|
|
39
|
-
color: var(--mw-accent-text-color);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.mw-badge-outline {
|
|
43
|
-
background: transparent;
|
|
44
|
-
border: 1px solid currentcolor;
|
|
45
|
-
color: var(--mw-primary-text-color);
|
|
46
|
-
}
|
|
47
30
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
31
|
+
@each $name in $_mw-badge-colors {
|
|
32
|
+
.mw-badge-#{$name} {
|
|
33
|
+
background: var(--mw-#{$name}-color);
|
|
34
|
+
color: var(--mw-#{$name}-accent-text-color);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
54
37
|
|
|
55
|
-
.mw-badge-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
font-size: font-size('xs');
|
|
60
|
-
}
|
|
38
|
+
.mw-badge-muted {
|
|
39
|
+
background: var(--mw-gray-color);
|
|
40
|
+
color: var(--mw-accent-text-color);
|
|
41
|
+
}
|
|
61
42
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
min-width: 0;
|
|
68
|
-
padding: 0;
|
|
69
|
-
border-radius: radius('full');
|
|
70
|
-
background: var(--mw-primary-color);
|
|
71
|
-
flex-shrink: 0;
|
|
72
|
-
vertical-align: middle;
|
|
73
|
-
}
|
|
43
|
+
.mw-badge-outline {
|
|
44
|
+
background: transparent;
|
|
45
|
+
border: 1px solid currentcolor;
|
|
46
|
+
color: var(--mw-primary-text-color);
|
|
47
|
+
}
|
|
74
48
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
49
|
+
.mw-badge-sm {
|
|
50
|
+
min-width: 1rem;
|
|
51
|
+
height: 1rem;
|
|
52
|
+
padding: 0 spacing('1');
|
|
53
|
+
font-size: font-size('3xs');
|
|
54
|
+
}
|
|
80
55
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
background: inherit;
|
|
87
|
-
animation: mw-badge-pulse 1.8s var(--mw-ease-out) infinite;
|
|
56
|
+
.mw-badge-lg {
|
|
57
|
+
min-width: 1.6rem;
|
|
58
|
+
height: 1.6rem;
|
|
59
|
+
padding: 0 spacing('3');
|
|
60
|
+
font-size: font-size('xs');
|
|
88
61
|
}
|
|
89
|
-
}
|
|
90
62
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
63
|
+
.mw-badge-dot {
|
|
64
|
+
display: inline-block;
|
|
65
|
+
width: 0.55rem;
|
|
66
|
+
height: 0.55rem;
|
|
67
|
+
min-width: 0;
|
|
68
|
+
padding: 0;
|
|
69
|
+
border-radius: radius('full');
|
|
70
|
+
background: var(--mw-primary-color);
|
|
71
|
+
flex-shrink: 0;
|
|
72
|
+
vertical-align: middle;
|
|
95
73
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
74
|
+
|
|
75
|
+
// A dot that is actually live - a running job, an open connection. The ring
|
|
76
|
+
// pulses outward and fades; the dot underneath never moves, so a row of them
|
|
77
|
+
// stays legible.
|
|
78
|
+
.mw-badge-pulse {
|
|
79
|
+
position: relative;
|
|
80
|
+
|
|
81
|
+
&::after {
|
|
82
|
+
content: '';
|
|
83
|
+
position: absolute;
|
|
84
|
+
inset: 0;
|
|
85
|
+
border-radius: inherit;
|
|
86
|
+
background: inherit;
|
|
87
|
+
animation: mw-badge-pulse 1.8s var(--mw-ease-out) infinite;
|
|
88
|
+
}
|
|
99
89
|
}
|
|
100
|
-
}
|
|
101
90
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
91
|
+
@keyframes mw-badge-pulse {
|
|
92
|
+
0% {
|
|
93
|
+
transform: scale(1);
|
|
94
|
+
opacity: 0.7;
|
|
95
|
+
}
|
|
96
|
+
100% {
|
|
97
|
+
transform: scale(2.6);
|
|
98
|
+
opacity: 0;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
107
101
|
|
|
108
|
-
.mw-badge-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
transform: translate(40%, -40%);
|
|
113
|
-
box-shadow: 0 0 0 2px var(--mw-page-background);
|
|
114
|
-
pointer-events: none;
|
|
115
|
-
z-index: z-index('lift');
|
|
116
|
-
}
|
|
102
|
+
.mw-badge-anchor {
|
|
103
|
+
position: relative;
|
|
104
|
+
display: inline-flex;
|
|
105
|
+
}
|
|
117
106
|
|
|
118
|
-
// Inside anything that paints its own surface the ring has to match that
|
|
119
|
-
// surface, not the page
|
|
120
|
-
.mw-card,
|
|
121
|
-
.mw-panel,
|
|
122
|
-
.mw-modal,
|
|
123
|
-
.mw-tile,
|
|
124
|
-
.mw-header {
|
|
125
107
|
.mw-badge-float {
|
|
126
|
-
|
|
108
|
+
position: absolute;
|
|
109
|
+
top: 0;
|
|
110
|
+
right: 0;
|
|
111
|
+
transform: translate(40%, -40%);
|
|
112
|
+
box-shadow: 0 0 0 2px var(--mw-page-background);
|
|
113
|
+
pointer-events: none;
|
|
114
|
+
z-index: z-index('lift');
|
|
127
115
|
}
|
|
128
|
-
}
|
|
129
116
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
117
|
+
// Inside anything that paints its own surface the ring has to match that
|
|
118
|
+
// surface, not the page
|
|
119
|
+
.mw-card,
|
|
120
|
+
.mw-panel,
|
|
121
|
+
.mw-modal,
|
|
122
|
+
.mw-tile,
|
|
123
|
+
.mw-header {
|
|
124
|
+
.mw-badge-float {
|
|
125
|
+
box-shadow: 0 0 0 2px var(--mw-card-background);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
133
128
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
align-items: center;
|
|
138
|
-
gap: spacing('2');
|
|
139
|
-
font-size: font-size('sm');
|
|
140
|
-
color: var(--mw-text-color);
|
|
141
|
-
white-space: nowrap;
|
|
142
|
-
}
|
|
129
|
+
.mw-header .mw-badge-float {
|
|
130
|
+
box-shadow: 0 0 0 2px var(--mw-header-background);
|
|
131
|
+
}
|
|
143
132
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
133
|
+
.mw-badge-status {
|
|
134
|
+
display: inline-flex;
|
|
135
|
+
align-items: center;
|
|
136
|
+
gap: spacing('2');
|
|
137
|
+
font-size: font-size('sm');
|
|
138
|
+
color: var(--mw-text-color);
|
|
139
|
+
white-space: nowrap;
|
|
147
140
|
}
|
|
148
141
|
|
|
149
|
-
|
|
150
|
-
|
|
142
|
+
@each $name in $_mw-badge-colors {
|
|
143
|
+
.mw-badge-dot-#{$name} {
|
|
144
|
+
background: var(--mw-#{$name}-color);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.mw-badge-status-#{$name} .mw-badge-dot {
|
|
148
|
+
background: var(--mw-#{$name}-color);
|
|
149
|
+
}
|
|
151
150
|
}
|
|
152
|
-
}
|
|
153
151
|
|
|
154
|
-
.mw-badge-dot-muted,
|
|
155
|
-
.mw-badge-status-muted .mw-badge-dot {
|
|
156
|
-
|
|
152
|
+
.mw-badge-dot-muted,
|
|
153
|
+
.mw-badge-status-muted .mw-badge-dot {
|
|
154
|
+
background: var(--mw-gray-color);
|
|
155
|
+
}
|
|
157
156
|
}
|