@allurereport/web-summary 3.0.0-beta.11
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/.babelrc.js +22 -0
- package/.eslintrc.cjs +18 -0
- package/README.md +0 -0
- package/dist/app-af9981fc.js +2 -0
- package/dist/app-af9981fc.js.LICENSE.txt +8 -0
- package/dist/manifest.json +3 -0
- package/package.json +88 -0
- package/postcss.config.js +5 -0
- package/src/assets/scss/_common.scss +143 -0
- package/src/assets/scss/day.scss +51 -0
- package/src/assets/scss/fonts.scss +3 -0
- package/src/assets/scss/index.scss +7 -0
- package/src/assets/scss/night.scss +61 -0
- package/src/assets/scss/palette.scss +393 -0
- package/src/assets/scss/theme.scss +119 -0
- package/src/assets/scss/vars.scss +8 -0
- package/src/components/EmptyPlaceholder/index.tsx +24 -0
- package/src/components/EmptyPlaceholder/styles.scss +25 -0
- package/src/components/Footer/index.tsx +21 -0
- package/src/components/Footer/styles.scss +23 -0
- package/src/components/Header/index.tsx +15 -0
- package/src/components/Header/styles.scss +8 -0
- package/src/components/LanguagePicker/index.tsx +40 -0
- package/src/components/MetadataRow/index.tsx +20 -0
- package/src/components/MetadataRow/styles.scss +9 -0
- package/src/components/ReportCard/index.tsx +70 -0
- package/src/components/ReportCard/styles.scss +49 -0
- package/src/components/ThemeButton/index.tsx +20 -0
- package/src/i18n/constants.ts +124 -0
- package/src/i18n/locales/az.json +14 -0
- package/src/i18n/locales/de.json +14 -0
- package/src/i18n/locales/en.json +14 -0
- package/src/i18n/locales/es.json +14 -0
- package/src/i18n/locales/fr.json +14 -0
- package/src/i18n/locales/he.json +14 -0
- package/src/i18n/locales/hy.json +13 -0
- package/src/i18n/locales/it.json +14 -0
- package/src/i18n/locales/ja.json +14 -0
- package/src/i18n/locales/ka.json +14 -0
- package/src/i18n/locales/kr.json +14 -0
- package/src/i18n/locales/nl.json +14 -0
- package/src/i18n/locales/pl.json +14 -0
- package/src/i18n/locales/pt.json +14 -0
- package/src/i18n/locales/ru.json +14 -0
- package/src/i18n/locales/sv.json +14 -0
- package/src/i18n/locales/tr.json +14 -0
- package/src/i18n/locales/zh.json +14 -0
- package/src/index.html +89 -0
- package/src/index.tsx +59 -0
- package/src/stores/index.ts +2 -0
- package/src/stores/locale.ts +54 -0
- package/src/stores/theme.ts +29 -0
- package/src/styles.scss +50 -0
- package/src/types/globals.d.ts +13 -0
- package/src/types/window.d.ts +10 -0
- package/tsconfig.json +27 -0
- package/types.d.ts +99 -0
- package/webpack.config.js +109 -0
package/.babelrc.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
presets: [
|
|
3
|
+
[
|
|
4
|
+
"@babel/preset-env",
|
|
5
|
+
{
|
|
6
|
+
targets: {
|
|
7
|
+
node: "current",
|
|
8
|
+
},
|
|
9
|
+
},
|
|
10
|
+
],
|
|
11
|
+
["@babel/preset-typescript", { isTSX: true, allExtensions: true, jsxPragma: "h" }],
|
|
12
|
+
],
|
|
13
|
+
plugins: [
|
|
14
|
+
[
|
|
15
|
+
"@babel/plugin-transform-react-jsx",
|
|
16
|
+
{
|
|
17
|
+
runtime: "automatic",
|
|
18
|
+
importSource: "preact",
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
],
|
|
22
|
+
};
|
package/.eslintrc.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
env: { browser: true, es2020: true },
|
|
3
|
+
extends: [
|
|
4
|
+
"eslint-config-preact",
|
|
5
|
+
"../../.eslintrc.cjs",
|
|
6
|
+
],
|
|
7
|
+
ignorePatterns: ["dist/", ".eslintrc.cjs", "postcss.config.js", "webpack.config.js", "types.d.ts"],
|
|
8
|
+
parser: "@typescript-eslint/parser",
|
|
9
|
+
overrides: [
|
|
10
|
+
{
|
|
11
|
+
extends: ["plugin:@typescript-eslint/disable-type-checked"],
|
|
12
|
+
files: [".eslintrc.cjs", ".babelrc.js"],
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
rules: {
|
|
16
|
+
"n/file-extension-in-import": "off"
|
|
17
|
+
}
|
|
18
|
+
};
|
package/README.md
ADDED
|
File without changes
|