@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.
Files changed (58) hide show
  1. package/.babelrc.js +22 -0
  2. package/.eslintrc.cjs +18 -0
  3. package/README.md +0 -0
  4. package/dist/app-af9981fc.js +2 -0
  5. package/dist/app-af9981fc.js.LICENSE.txt +8 -0
  6. package/dist/manifest.json +3 -0
  7. package/package.json +88 -0
  8. package/postcss.config.js +5 -0
  9. package/src/assets/scss/_common.scss +143 -0
  10. package/src/assets/scss/day.scss +51 -0
  11. package/src/assets/scss/fonts.scss +3 -0
  12. package/src/assets/scss/index.scss +7 -0
  13. package/src/assets/scss/night.scss +61 -0
  14. package/src/assets/scss/palette.scss +393 -0
  15. package/src/assets/scss/theme.scss +119 -0
  16. package/src/assets/scss/vars.scss +8 -0
  17. package/src/components/EmptyPlaceholder/index.tsx +24 -0
  18. package/src/components/EmptyPlaceholder/styles.scss +25 -0
  19. package/src/components/Footer/index.tsx +21 -0
  20. package/src/components/Footer/styles.scss +23 -0
  21. package/src/components/Header/index.tsx +15 -0
  22. package/src/components/Header/styles.scss +8 -0
  23. package/src/components/LanguagePicker/index.tsx +40 -0
  24. package/src/components/MetadataRow/index.tsx +20 -0
  25. package/src/components/MetadataRow/styles.scss +9 -0
  26. package/src/components/ReportCard/index.tsx +70 -0
  27. package/src/components/ReportCard/styles.scss +49 -0
  28. package/src/components/ThemeButton/index.tsx +20 -0
  29. package/src/i18n/constants.ts +124 -0
  30. package/src/i18n/locales/az.json +14 -0
  31. package/src/i18n/locales/de.json +14 -0
  32. package/src/i18n/locales/en.json +14 -0
  33. package/src/i18n/locales/es.json +14 -0
  34. package/src/i18n/locales/fr.json +14 -0
  35. package/src/i18n/locales/he.json +14 -0
  36. package/src/i18n/locales/hy.json +13 -0
  37. package/src/i18n/locales/it.json +14 -0
  38. package/src/i18n/locales/ja.json +14 -0
  39. package/src/i18n/locales/ka.json +14 -0
  40. package/src/i18n/locales/kr.json +14 -0
  41. package/src/i18n/locales/nl.json +14 -0
  42. package/src/i18n/locales/pl.json +14 -0
  43. package/src/i18n/locales/pt.json +14 -0
  44. package/src/i18n/locales/ru.json +14 -0
  45. package/src/i18n/locales/sv.json +14 -0
  46. package/src/i18n/locales/tr.json +14 -0
  47. package/src/i18n/locales/zh.json +14 -0
  48. package/src/index.html +89 -0
  49. package/src/index.tsx +59 -0
  50. package/src/stores/index.ts +2 -0
  51. package/src/stores/locale.ts +54 -0
  52. package/src/stores/theme.ts +29 -0
  53. package/src/styles.scss +50 -0
  54. package/src/types/globals.d.ts +13 -0
  55. package/src/types/window.d.ts +10 -0
  56. package/tsconfig.json +27 -0
  57. package/types.d.ts +99 -0
  58. 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