Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtoriasVictrix committed Nov 12, 2023
1 parent 2b4e4d9 commit 0a7111c
Show file tree
Hide file tree
Showing 375 changed files with 67,605 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true

[{app/js/**/*.js, app/pug/**/*.pug, app/scss/**/*.scss}]
indent_style = tab
51 changes: 51 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
version.txt

# Numerous always-ignore extensions
*.diff
*.err
*.orig
*.log
*.rej
*.swo
*.swp
*.vi
*~
*.sass-cache
*.ts

# OS or Editor folders
.DS_Store
**/.DS_Store
._*
Thumbs.db
.cache
.project
.settings
.idea
.vscode

# Folders or files to ignore
.git
.hg
/temp
/dist
/tests/screenshots/after/
/tests/screenshots/difference/
/tests/pdf2img/temp/
/tests/pdf2img/after/
/tests/pdf2img/difference/
/gulp/config/html2pdfConfig.js
/gulp/config/test/pdf2img.js
/gulp/config/test/sc.js
/storybook-static
storybook-static

# Node.JS
node_modules
node_modules/
node_modules_
npm-debug.log*

# Binaries
*.exe
*.bak
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"useTabs": true,
"tabWidth": 4,
"printWidth": 120,
"bracketSpacing": true,
"singleQuote": true,
"semi": true,
"endOfLine": "lf",
"arrowParens": "always"
}
206 changes: 206 additions & 0 deletions .pug-lintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
{
"disallowAttributeInterpolation": true,
"disallowBlockExpansion": true,
"disallowClassLiteralsBeforeIdLiterals": true,
"disallowDuplicateAttributes": true,
"disallowHtmlText": true,
"disallowIdAttributeWithStaticValue": true,
"disallowLegacyMixinCall": true,
"disallowSpacesInsideAttributeBrackets": true,
"disallowSpecificAttributes": [
{ "link": [
"rev",
"charset",
"target"
] },
{ "a": [
"rev",
"charset",
"shape",
"coords"
] },
{ "img": [
"longdesc",
"name",
"align",
"hspace",
"vspace"
] },
{ "iframe": [
"longdesc",
"align",
"frameborder",
"marginheight",
"marginwidth",
"scrolling"
] },
{ "area": [ "nohref" ] },
{ "head": [ "profile" ] },
{ "html": [ "version" ] },
{ "meta": [ "scheme" ] },
{ "object": [
"archive",
"classid",
"codebase",
"codetype",
"declare",
"standby",
"align",
"border",
"hspace",
"vspace"
] },
{ "param": [
"valuetype",
"type"
] },
{ "table": [
"align",
"bgcolor",
"border",
"cellpadding",
"cellspacing",
"frame",
"rules",
"width"
] },
{ "tbody": [
"align",
"char",
"charoff",
"valign"
] },
{ "thead": [
"align",
"char",
"charoff",
"valign"
] },
{ "tfoot": [
"align",
"char",
"charoff",
"valign"
] },
{ "tr": [
"align",
"bgcolor",
"char",
"charoff",
"valign"
] },
{ "th": [
"align",
"bgcolor",
"char",
"charoff",
"nowrap",
"valign",
"width"
] },
{ "td": [
"axis",
"abbr",
"scope",
"align",
"bgcolor",
"char",
"charoff",
"nowrap",
"valign",
"width"
] },
{ "t": [
"axis",
"abbr"
] },
{ "caption": [ "align" ] },
{ "input": [ "align" ] },
{ "legend": [ "align" ] },
{ "hr": [
"align",
"noshade",
"size",
"width"
] },
{ "div": [ "align" ] },
{ "h1": [ "align" ] },
{ "h2": [ "align" ] },
{ "h3": [ "align" ] },
{ "h4": [ "align" ] },
{ "h5": [ "align" ] },
{ "h6": [ "align" ] },
{ "p": [ "align" ] },
{ "col": [
"align",
"char",
"charoff",
"valign",
"width"
] },
{ "colgroup": [
"align",
"char",
"charoff",
"valign",
"width"
] },
{ "body": [
"alink",
"link",
"vlink",
"text",
"background",
"bgcolor"
] },
{ "br": [ "clear" ] },
{ "dl": [ "compact" ] },
{ "menu": [ "compact" ] },
{ "ol": [
"compact",
"type"
] },
{ "ul": [
"compact",
"type"
] },
{ "li": [ "type" ] },
{ "pre": [ "width" ] }
],
"disallowSpecificTags": [
"acronym",
"applet",
"basefont",
"big",
"center",
"dir",
"font",
"frame",
"frameset",
"isindex",
"noframes",
"s",
"strike",
"tt",
"u"
],
"maximumLineLength": 140,
"requireClassLiteralsBeforeAttributes": true,
"requireIdLiteralsBeforeAttributes": true,
"requireLineFeedAtFileEnd": true,
"requireLowerCaseAttributes": true,
"requireLowerCaseTags": true,
"requireSpaceAfterCodeOperator": [ "-" ],
"requireSpecificAttributes": [ { "img": [ "alt" ] } ],
"requireStrictEqualityOperators": true,
"validateAttributeQuoteMarks": "'",
"validateAttributeSeparator": {
"separator": " ",
"multiLineSeparator": "\n\t"
},
"validateDivTags": true,
"validateIndentation": "\t",
"validateLineBreaks": "LF",
"validateSelfClosingTags": true,
"validateTemplateString": true
}
47 changes: 47 additions & 0 deletions .storybook/index.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en" data-theme="asap">
<head>
<meta charset="utf-8" />
<title><%= htmlWebpackPlugin.options.title %></title>

<% if (htmlWebpackPlugin.files.favicon) { %>
<link rel="shortcut icon" href="<%= htmlWebpackPlugin.files.favicon%>" />
<% } %>

<meta name="viewport" content="width=device-width, initial-scale=1" />

<% if (typeof headHtmlSnippet !== 'undefined') { %> <%= headHtmlSnippet %> <% } %> <%
htmlWebpackPlugin.files.css.forEach(file => { %>
<link href="<%= file %>" rel="stylesheet" />
<% }); %>

<style>
#root[hidden],
#docs-root[hidden] {
display: none !important;
}
</style>
</head>
<body>
<% if (typeof bodyHtmlSnippet !== 'undefined') { %>
<%= bodyHtmlSnippet %>
<% } %>

<div id="root"></div>
<div id="docs-root"></div>

<% if (typeof globals !== 'undefined' && Object.keys(globals).length) { %>
<script>
<% for (var varName in globals) { %>
<% if (globals[varName] != undefined) { %>
window['<%=varName%>'] = <%= JSON.stringify(globals[varName]) %>;
<% } %>
<% } %>
</script>
<% } %>

<% htmlWebpackPlugin.files.js.forEach(file => { %>
<script src="<%= file %>"></script>
<% }); %>
</body>
</html>
14 changes: 14 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
'stories': [
'../stories/**/*.stories.mdx',
'../stories/**/*.stories.@(js|jsx|ts|tsx)'
],
'addons': [
'@storybook/addon-links',
'@storybook/addon-essentials'
],
'previewMainTemplate': './.storybook/index.ejs',
'core': {
'disableTelemetry': true,
},
}
9 changes: 9 additions & 0 deletions .storybook/manager-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<link rel="apple-touch-icon" sizes="180x180" href="favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png">
<link rel="manifest" href="favicon/site.webmanifest">
<link rel="mask-icon" href="favicon/safari-pinned-tab.svg" color="#4f2ed2">
<link rel="shortcut icon" href="favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-config" content="favicon/browserconfig.xml">
<meta name="theme-color" content="#4f2ed2">
6 changes: 6 additions & 0 deletions .storybook/manager.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { addons } from '@storybook/addons';
import theme from './theme';

addons.setConfig({
theme
});
Loading

0 comments on commit 0a7111c

Please sign in to comment.