-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: upgrade deps and drop Gulp
- Loading branch information
Showing
139 changed files
with
22,467 additions
and
11,421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
|
||
env: | ||
FORCE_COLOR: 2 | ||
NODE: 14 | ||
NODE: 18 | ||
|
||
jobs: | ||
docs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": [ | ||
"html-validate:recommended" | ||
], | ||
"rules": { | ||
"aria-label-misuse": "off", | ||
"no-redundant-role": "off", | ||
"no-inline-style": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"standard": "WCAG2AA", | ||
"level": "warning", | ||
"concurrency": 1, | ||
"defaults": { | ||
"reporters": [ | ||
[ | ||
"pa11y-ci-reporter-html", | ||
{ | ||
"destination": "./reports" | ||
} | ||
] | ||
], | ||
"wait": 3000, | ||
"runners": [ | ||
"axe" | ||
], | ||
"timeout": 100000, | ||
"hideElements": "", | ||
"ignore": [ | ||
], | ||
"defaults": { | ||
"chromeLaunchConfig": { | ||
"executablePath": "/snap/bin/chromium" | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
(function () { | ||
"use strict"; | ||
|
||
// Toggle switch component | ||
var switches = document.querySelectorAll('[role="switch"]'); | ||
|
||
switches.forEach(function (el) { | ||
el.addEventListener('click', function () { | ||
var checked = this.getAttribute('aria-checked') === 'true' || false; | ||
this.setAttribute('aria-checked', !checked); | ||
|
||
if (this.classList.contains('disable-css')) { | ||
var chart = this.parentNode.nextElementSibling; | ||
chart.classList.toggle('chaarts'); | ||
} | ||
}); | ||
}); | ||
|
||
// Scrollable tables | ||
var regions = document.querySelectorAll('.table-container'); | ||
|
||
if (window.matchMedia('(min-width: 30em)').matches) { | ||
regions.forEach(function (el) { | ||
var width = el.offsetWidth; | ||
var table = el.querySelector('table'); | ||
|
||
if (table.offsetWidth > width) { | ||
el.setAttribute('tabindex', '0'); | ||
} | ||
}); | ||
} | ||
})(document); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
@media print { | ||
body > :not(main), | ||
main > :not(.deck), | ||
*:not(.card)::after, | ||
*:not(.card)::before, { | ||
display: none !important; | ||
} | ||
|
||
html, | ||
body, | ||
body > * { | ||
background: none !important; | ||
} | ||
|
||
/** | ||
* 1. No orphans | ||
* 2. No widows | ||
*/ | ||
p, | ||
blockquote, | ||
.deck .card { | ||
orphans: 3; /* 1 */ | ||
widows: 3; /* 2 */ | ||
} | ||
|
||
/* @note Avoid random page break */ | ||
ul, | ||
ol, | ||
blockquote, | ||
.deck .card { | ||
page-break-inside: avoid; | ||
break-inside: avoid; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6, | ||
caption { | ||
page-break-after: avoid; | ||
} | ||
|
||
/** | ||
* @note Display links' target, except for images | ||
*/ | ||
a::after { | ||
content: " (" attr(href) ") "; | ||
display: inline-block !important; | ||
} | ||
|
||
/* Hide anchors' target */ | ||
a::after img, | ||
a[href^="#"]::after, | ||
a[href^="javascript"]::after { | ||
content: ""; | ||
} | ||
|
||
abbr::after { | ||
content: " (" attr(title) ") "; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@charset "UTF-8"; | ||
|
||
/* ==================== */ | ||
/* == Vendors | ||
/* ==================== */ | ||
@use "sseeeedd/src/scss/styles"; | ||
@use "vendors/prism"; | ||
|
||
.mb-0 { | ||
margin-bottom: 0 !important; | ||
} | ||
|
||
.pb-0 { | ||
padding-bottom: 0 !important; | ||
} | ||
|
||
.fly-out [rel]::before { | ||
content: "\1F30D\A0"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.