@a12e/accessmonitor-ds 1.0.1

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 (40) hide show
  1. package/.babelrc +13 -0
  2. package/CHANGELOG.md +15 -0
  3. package/LICENSE +21 -0
  4. package/README.md +37 -0
  5. package/copyfiles.js +79 -0
  6. package/dist/docs/WelcomePageCover.d134c983.png +0 -0
  7. package/dist/docs/components.png +0 -0
  8. package/dist/docs/foundation-background.png +0 -0
  9. package/dist/docs/foundations.png +0 -0
  10. package/dist/docs/getting-started.png +0 -0
  11. package/dist/favicon.ico +0 -0
  12. package/dist/fonts/AMA.eot +0 -0
  13. package/dist/fonts/AMA.svg +314 -0
  14. package/dist/fonts/AMA.ttf +0 -0
  15. package/dist/fonts/AMA.woff +0 -0
  16. package/dist/img/Logotipo_ARTE__Horizontal_branco_pt.png +0 -0
  17. package/dist/img/Logotipo_ARTE__Horizontal_cor_pt.png +0 -0
  18. package/dist/img/SVG_Declaracao_Conforme.svg +1 -0
  19. package/dist/img/SVG_Declaracao_Nao_Conforme.svg +1 -0
  20. package/dist/img/SVG_Declaracao_Parcial_Conforme.svg +1 -0
  21. package/dist/img/SVG_Selo_Bronze.svg +1 -0
  22. package/dist/img/SVG_Selo_Ouro.svg +1 -0
  23. package/dist/img/SVG_Selo_Prata.svg +1 -0
  24. package/dist/img/UE-uniao_europeia.png +0 -0
  25. package/dist/img/ama-modernizacao_administrativa.png +0 -0
  26. package/dist/img/chevron-right-dark.svg +1 -0
  27. package/dist/img/chevron-right-light.svg +5 -0
  28. package/dist/img/compete_2020.png +0 -0
  29. package/dist/img/portugal_2020.png +0 -0
  30. package/dist/img/republica_portuguesa.png +0 -0
  31. package/dist/img/selo.png +0 -0
  32. package/dist/img/selo_ouro_small.png +0 -0
  33. package/dist/img/verify.svg +42 -0
  34. package/dist/index.css +2 -0
  35. package/dist/index.es.js +5483 -0
  36. package/dist/index.html +43 -0
  37. package/dist/logo-dark.svg +1 -0
  38. package/dist/logo.svg +1 -0
  39. package/package.json +94 -0
  40. package/vite.config.js +33 -0
@@ -0,0 +1,43 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <meta name="theme-color" content="#000000" />
8
+ <meta
9
+ name="description"
10
+ content="Web site created using create-react-app"
11
+ />
12
+ <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13
+ <!--
14
+ manifest.json provides metadata used when your web app is installed on a
15
+ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16
+ -->
17
+ <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18
+ <!--
19
+ Notice the use of %PUBLIC_URL% in the tags above.
20
+ It will be replaced with the URL of the `public` folder during the build.
21
+ Only files inside the `public` folder can be referenced from the HTML.
22
+
23
+ Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24
+ work correctly both with client-side routing and a non-root public URL.
25
+ Learn how to configure a non-root public URL by running `npm run build`.
26
+ -->
27
+ <title>React App</title>
28
+ </head>
29
+ <body>
30
+ <noscript>You need to enable JavaScript to run this app.</noscript>
31
+ <div id="root"></div>
32
+ <!--
33
+ This HTML file is a template.
34
+ If you open it directly in the browser, you will see an empty page.
35
+
36
+ You can add webfonts, meta tags, or analytics to this file.
37
+ The build step will place the bundled scripts into the <body> tag.
38
+
39
+ To begin the development, run `npm start` or `yarn start`.
40
+ To create a production bundle, use `npm run build` or `yarn build`.
41
+ -->
42
+ </body>
43
+ </html>
@@ -0,0 +1 @@
1
+ <svg _ngcontent-ng-c2964268871="" fxHide.lt-md="" fill="#b6dcf6" xmlns="http://www.w3.org/2000/svg" height="92px" viewBox="0 0 660.81 98.88"><title _ngcontent-ng-c2964268871="">AccessMonitor - o validador de práticas de acessibilidade Web</title><path _ngcontent-ng-c2964268871="" d="M97.91,0a49.44,49.44,0,0,0,0,98.88h49.44V49.44A49.44,49.44,0,0,0,97.91,0Zm0,79.57A30.13,30.13,0,1,1,128,49.44c0,7.62-.78,30.41-.78,30.41S106.92,79.57,97.91,79.57Z"></path><circle _ngcontent-ng-c2964268871="" cx="97.91" cy="49.44" r="12.86"></circle><circle _ngcontent-ng-c2964268871="" cx="12.86" cy="49.44" r="12.86"></circle><path _ngcontent-ng-c2964268871="" d="M187.2,61.79a9.79,9.79,0,0,1-6.45-2.06,6.62,6.62,0,0,1-2.49-5.35A6.43,6.43,0,0,1,180.89,49a11.73,11.73,0,0,1,7.22-2,16.38,16.38,0,0,1,3.44.36,19.23,19.23,0,0,1,3.2,1V45.73a4.78,4.78,0,0,0-1.53-3.87,6.64,6.64,0,0,0-4.4-1.29,13.07,13.07,0,0,0-3.49.5,26.23,26.23,0,0,0-4.06,1.55L179.51,39a27.37,27.37,0,0,1,5.16-1.89,20.22,20.22,0,0,1,4.83-.6q4.73,0,7.34,2.27a8.08,8.08,0,0,1,2.61,6.43V61.36h-4.69v-2.1a11.35,11.35,0,0,1-3.49,1.91A12.78,12.78,0,0,1,187.2,61.79Zm-4.35-7.51a3.4,3.4,0,0,0,1.51,2.87,6.53,6.53,0,0,0,3.94,1.1,10.58,10.58,0,0,0,3.54-.57A8.73,8.73,0,0,0,194.76,56V51.75a11.49,11.49,0,0,0-2.92-1.12,14.71,14.71,0,0,0-3.35-.36,6.91,6.91,0,0,0-4.11,1.1A3.42,3.42,0,0,0,182.85,54.28Z"></path><path _ngcontent-ng-c2964268871="" d="M216.18,57.58a8.2,8.2,0,0,0,3.44-.74,10.72,10.72,0,0,0,3.11-2.22l2.87,3.11a14.07,14.07,0,0,1-4.4,3A13,13,0,0,1,216,61.79a12.32,12.32,0,0,1-11.55-7.62,12.89,12.89,0,0,1,2.65-14A12.43,12.43,0,0,1,216,36.55a13.66,13.66,0,0,1,5.31,1.08,13.8,13.8,0,0,1,4.49,3l-3,3.25a9.88,9.88,0,0,0-3.11-2.27,8.52,8.52,0,0,0-3.58-.79,7.39,7.39,0,0,0-5.59,2.44,8.86,8.86,0,0,0,0,11.93A7.56,7.56,0,0,0,216.18,57.58Z"></path><path _ngcontent-ng-c2964268871="" d="M239.93,57.58a8.2,8.2,0,0,0,3.44-.74,10.72,10.72,0,0,0,3.11-2.22l2.87,3.11a14.06,14.06,0,0,1-4.4,3,13,13,0,0,1-5.21,1.08,12.32,12.32,0,0,1-11.54-7.62,12.89,12.89,0,0,1,2.65-14,12.28,12.28,0,0,1,4-2.68,12.4,12.4,0,0,1,4.92-1A13.66,13.66,0,0,1,245,37.62a13.81,13.81,0,0,1,4.49,3l-3,3.25a9.88,9.88,0,0,0-3.11-2.27,8.52,8.52,0,0,0-3.59-.79,7.39,7.39,0,0,0-5.59,2.44,8.87,8.87,0,0,0,0,11.93A7.55,7.55,0,0,0,239.93,57.58Z"></path><path _ngcontent-ng-c2964268871="" d="M273.14,58.59a14.67,14.67,0,0,1-9.42,3.2,13,13,0,0,1-9.08-3.63,12,12,0,0,1-2.7-4,13.2,13.2,0,0,1,0-9.92,12.54,12.54,0,0,1,2.58-4,12,12,0,0,1,3.87-2.65,11.82,11.82,0,0,1,4.78-1,11.34,11.34,0,0,1,8.39,3.66,12.77,12.77,0,0,1,2.46,4,13.79,13.79,0,0,1,.91,5v1.39H255.69a8.22,8.22,0,0,0,8.22,7,10.14,10.14,0,0,0,3.39-.57,8.4,8.4,0,0,0,2.77-1.58ZM263.05,40.66a6.91,6.91,0,0,0-4.76,1.82,8,8,0,0,0-2.56,4.69h14.44a8.32,8.32,0,0,0-2.51-4.64A6.53,6.53,0,0,0,263.05,40.66Z"></path><path _ngcontent-ng-c2964268871="" d="M276.75,58.2,279.34,55a16,16,0,0,0,3.9,2.27,10.84,10.84,0,0,0,4,.79,7.9,7.9,0,0,0,4.21-1,3,3,0,0,0,1.63-2.63,2.5,2.5,0,0,0-1-2.06,6.18,6.18,0,0,0-3-1.05l-4.4-.62a10,10,0,0,1-5.43-2.22A5.85,5.85,0,0,1,277.52,44a6.42,6.42,0,0,1,2.63-5.33,11,11,0,0,1,6.88-2,16.79,16.79,0,0,1,5.09.76,17.79,17.79,0,0,1,4.71,2.34l-2.44,3.15A15.58,15.58,0,0,0,290.5,41a12.54,12.54,0,0,0-3.8-.6,6.19,6.19,0,0,0-3.54.91,2.77,2.77,0,0,0-1.34,2.39,2.37,2.37,0,0,0,.93,2,7.17,7.17,0,0,0,3.08,1l4.4.62a10.15,10.15,0,0,1,5.47,2.25,5.85,5.85,0,0,1,1.89,4.54,6.13,6.13,0,0,1-.79,3,7.59,7.59,0,0,1-2.15,2.41,11.12,11.12,0,0,1-3.23,1.6,13.08,13.08,0,0,1-4,.6,18.74,18.74,0,0,1-5.9-.91A13.51,13.51,0,0,1,276.75,58.2Z"></path><path _ngcontent-ng-c2964268871="" d="M299.11,58.2,301.69,55a16,16,0,0,0,3.9,2.27,10.84,10.84,0,0,0,4,.79,7.9,7.9,0,0,0,4.21-1,3,3,0,0,0,1.63-2.63,2.5,2.5,0,0,0-1-2.06,6.18,6.18,0,0,0-3-1.05l-4.4-.62a10,10,0,0,1-5.43-2.22A5.85,5.85,0,0,1,299.87,44a6.42,6.42,0,0,1,2.63-5.33,11,11,0,0,1,6.88-2,16.79,16.79,0,0,1,5.09.76,17.79,17.79,0,0,1,4.71,2.34l-2.44,3.15a15.58,15.58,0,0,0-3.9-1.94,12.54,12.54,0,0,0-3.8-.6,6.19,6.19,0,0,0-3.54.91,2.77,2.77,0,0,0-1.34,2.39,2.37,2.37,0,0,0,.93,2,7.17,7.17,0,0,0,3.08,1l4.4.62a10.15,10.15,0,0,1,5.47,2.25A5.85,5.85,0,0,1,320,54.14a6.13,6.13,0,0,1-.79,3A7.59,7.59,0,0,1,317,59.59a11.12,11.12,0,0,1-3.23,1.6,13.08,13.08,0,0,1-4,.6,18.74,18.74,0,0,1-5.9-.91A13.51,13.51,0,0,1,299.11,58.2Z"></path><path _ngcontent-ng-c2964268871="" d="M342.27,59,330.7,36.74V61.36H324.3V27.89h8.89l9.18,18,9.18-18h8.89V61.36h-6.55V36.79Z"></path><path _ngcontent-ng-c2964268871="" d="M364.84,48.93a12.63,12.63,0,0,1,1-5.09,12.81,12.81,0,0,1,2.82-4.11A13.22,13.22,0,0,1,372.92,37a14,14,0,0,1,10.42,0,13.21,13.21,0,0,1,4.23,2.75,12.81,12.81,0,0,1,2.82,4.11,13.13,13.13,0,0,1,0,10.18,12.52,12.52,0,0,1-2.82,4.09,13.4,13.4,0,0,1-4.23,2.72,13.77,13.77,0,0,1-14.65-2.72,12.64,12.64,0,0,1-3.85-9.18Zm13.29,7.22A6.48,6.48,0,0,0,383,54a7.58,7.58,0,0,0,0-10.28,6.7,6.7,0,0,0-9.75,0,7.58,7.58,0,0,0,0,10.28A6.48,6.48,0,0,0,378.13,56.15Z"></path><path _ngcontent-ng-c2964268871="" d="M395.11,61.36V36.45h6.55v2a10.39,10.39,0,0,1,3.18-1.82,11.26,11.26,0,0,1,3.8-.62,9.49,9.49,0,0,1,9.85,9.9V61.36h-6.55V46.83A5.15,5.15,0,0,0,410.53,43a5,5,0,0,0-3.75-1.44,6.57,6.57,0,0,0-2.94.65,5.79,5.79,0,0,0-2.18,1.84V61.36Z"></path><path _ngcontent-ng-c2964268871="" d="M426.55,33.49a3.75,3.75,0,1,1,2.63-1.1A3.58,3.58,0,0,1,426.55,33.49Zm3.3,3V61.36H423.3V36.45Z"></path><path _ngcontent-ng-c2964268871="" d="M437.69,54.33V42h-5.12v-5.5h5.12V30.09l6.55-1.48v7.84h7.08V42h-7.08V53a3.32,3.32,0,0,0,.76,2.49,3.91,3.91,0,0,0,2.68.72,11.79,11.79,0,0,0,1.72-.12,9.67,9.67,0,0,0,1.77-.46V61a16.1,16.1,0,0,1-2.53.55,18,18,0,0,1-2.53.21q-4.16,0-6.29-1.89A7,7,0,0,1,437.69,54.33Z"></path><path _ngcontent-ng-c2964268871="" d="M453,48.93a12.63,12.63,0,0,1,1-5.09,12.81,12.81,0,0,1,2.82-4.11A13.22,13.22,0,0,1,461,37a14,14,0,0,1,10.42,0,13.21,13.21,0,0,1,4.23,2.75,12.81,12.81,0,0,1,2.82,4.11,13.13,13.13,0,0,1,0,10.18,12.52,12.52,0,0,1-2.82,4.09,13.4,13.4,0,0,1-4.23,2.72,13.77,13.77,0,0,1-14.65-2.72A12.64,12.64,0,0,1,453,48.93Zm13.29,7.22a6.48,6.48,0,0,0,4.88-2.1,7.58,7.58,0,0,0,0-10.28,6.7,6.7,0,0,0-9.75,0,7.58,7.58,0,0,0,0,10.28A6.48,6.48,0,0,0,466.26,56.15Z"></path><path _ngcontent-ng-c2964268871="" d="M483.24,61.36V36.45h6.55v2.72a7.91,7.91,0,0,1,2.89-2.46,8.37,8.37,0,0,1,3.75-.84A12.42,12.42,0,0,1,498,36a3.35,3.35,0,0,1,1.12.41v5.74a6.83,6.83,0,0,0-1.58-.5,9.27,9.27,0,0,0-1.77-.17,6.74,6.74,0,0,0-3.51,1,6.55,6.55,0,0,0-2.51,2.77V61.36Z"></path><path _ngcontent-ng-c2964268871="" d="M557.26,46.43a2.85,2.85,0,0,0-1.91-.71,2.93,2.93,0,0,0-1.94.68,3.53,3.53,0,0,0-1.13,1.84h6.12A3.62,3.62,0,0,0,557.26,46.43Z"></path><path _ngcontent-ng-c2964268871="" d="M604.84,45.84a3.26,3.26,0,0,0-2.45,1.05,3.8,3.8,0,0,0,0,5.16,3.36,3.36,0,0,0,4.9,0,3.81,3.81,0,0,0,0-5.16A3.26,3.26,0,0,0,604.84,45.84Z"></path><path _ngcontent-ng-c2964268871="" d="M590.37,50.47a3.18,3.18,0,0,0-1.76.42,1.35,1.35,0,0,0,0,2.28,2.92,2.92,0,0,0,1.66.42,5.21,5.21,0,0,0,1.5-.21A4.62,4.62,0,0,0,593,52.8V50.93a6,6,0,0,0-1.26-.35A8.74,8.74,0,0,0,590.37,50.47Z"></path><path _ngcontent-ng-c2964268871="" d="M519.37,27.49V66.8H660.81V27.49ZM587,38.78a2.29,2.29,0,0,1,1.74-.72,2.7,2.7,0,0,1,1,.19c.33.13.64.26.94.41l.85.41a1.76,1.76,0,0,0,.74.19.77.77,0,0,0,.62-.29,2.53,2.53,0,0,0,.41-1l2,.43a4.57,4.57,0,0,1-1,2.2,2.28,2.28,0,0,1-1.74.73,2.55,2.55,0,0,1-1-.19q-.48-.19-.92-.41l-.86-.41a1.9,1.9,0,0,0-.78-.19.73.73,0,0,0-.61.3,2.76,2.76,0,0,0-.4,1L586,41A4.49,4.49,0,0,1,587,38.78ZM543.57,55.73H540.4L535,43.22h3.58L542,51.55l3.41-8.33h3.5Zm18-5.13h-9.31a3.5,3.5,0,0,0,1.3,1.89,3.65,3.65,0,0,0,2.26.72,4.43,4.43,0,0,0,1.54-.26,3.49,3.49,0,0,0,1.22-.74l2.16,2a7.51,7.51,0,0,1-5.06,1.8,7,7,0,0,1-2.65-.5,6.69,6.69,0,0,1-2.14-1.37A6.26,6.26,0,0,1,549.51,52a6.33,6.33,0,0,1-.52-2.56,6.55,6.55,0,0,1,.49-2.53,6.38,6.38,0,0,1,1.36-2.06,6.29,6.29,0,0,1,2.05-1.38,6.42,6.42,0,0,1,2.53-.5,5.9,5.9,0,0,1,2.46.52,6.1,6.1,0,0,1,2,1.4,6.38,6.38,0,0,1,1.3,2.12,7.49,7.49,0,0,1,.47,2.68Zm10-4.49a3.47,3.47,0,0,0-.79-.25,4.59,4.59,0,0,0-.89-.08,3.39,3.39,0,0,0-1.76.48,3.29,3.29,0,0,0-1.26,1.39v8.09h-3.29V43.22h3.29v1.37a4,4,0,0,1,1.45-1.24,4.21,4.21,0,0,1,1.88-.42,6,6,0,0,1,.8.08,1.67,1.67,0,0,1,.56.2Zm11.61,7.38a4.22,4.22,0,0,1-1.14,1.31,5.42,5.42,0,0,1-1.73.86,7.32,7.32,0,0,1-2.18.31,11.14,11.14,0,0,1-3.19-.44,7.47,7.47,0,0,1-2.54-1.29l1.63-2.18a9.92,9.92,0,0,0,2.09,1.07,5.86,5.86,0,0,0,2,.35,3.69,3.69,0,0,0,1.76-.36,1.08,1.08,0,0,0,.66-1,.92.92,0,0,0-.37-.77A2.6,2.6,0,0,0,579,51l-2.4-.36a5.19,5.19,0,0,1-2.82-1.2,3.17,3.17,0,0,1-1-2.43,3.44,3.44,0,0,1,1.42-2.88A6.09,6.09,0,0,1,578,43a9,9,0,0,1,2.66.4,9.68,9.68,0,0,1,2.47,1.16l-1.58,2.11a10.13,10.13,0,0,0-2-.9,6.2,6.2,0,0,0-1.9-.3,2.67,2.67,0,0,0-1.43.34,1,1,0,0,0-.54.89.9.9,0,0,0,.4.78,3.09,3.09,0,0,0,1.31.39l2.4.36a5.08,5.08,0,0,1,2.82,1.2,3.12,3.12,0,0,1,1,2.38A3.33,3.33,0,0,1,583.24,53.48Zm13,2.24H593v-.86a5.89,5.89,0,0,1-1.67.82,6.78,6.78,0,0,1-2,.26,4.94,4.94,0,0,1-3.29-1.07,3.45,3.45,0,0,1-1.27-2.77,3.27,3.27,0,0,1,1.37-2.79,6.23,6.23,0,0,1,3.77-1,10,10,0,0,1,3,.48V47.9a2,2,0,0,0-.67-1.63,3,3,0,0,0-2-.55,6.54,6.54,0,0,0-1.72.25,14.46,14.46,0,0,0-2.1.78l-1.2-2.43a15.89,15.89,0,0,1,2.84-1,11.55,11.55,0,0,1,2.72-.34,5.81,5.81,0,0,1,3.92,1.21,4.27,4.27,0,0,1,1.4,3.42ZM611,52a6.26,6.26,0,0,1-1.42,2.05,6.72,6.72,0,0,1-2.12,1.37,7,7,0,0,1-5.23,0,6.72,6.72,0,0,1-2.12-1.37A6.26,6.26,0,0,1,598.68,52a6.47,6.47,0,0,1,1.42-7.18,6.62,6.62,0,0,1,2.12-1.38,7,7,0,0,1,5.23,0,6.62,6.62,0,0,1,2.12,1.38A6.52,6.52,0,0,1,611,52Zm19.09,3.68H618v-2.3l6.62-5.93a9.11,9.11,0,0,0,1.61-1.81,3,3,0,0,0,.48-1.62,2.28,2.28,0,0,0-.86-1.82,3.27,3.27,0,0,0-2.16-.72,5.3,5.3,0,0,0-2.24.48,9.29,9.29,0,0,0-2.27,1.58l-1.85-2.21a10.77,10.77,0,0,1,3.1-2,8.76,8.76,0,0,1,3.36-.67,8,8,0,0,1,2.48.37,5.82,5.82,0,0,1,1.94,1,4.62,4.62,0,0,1,1.25,1.63,4.91,4.91,0,0,1,.44,2.09,5.16,5.16,0,0,1-.72,2.66,12.66,12.66,0,0,1-2.5,2.81L622.55,53h7.54Zm5.88-.34a1.9,1.9,0,0,1-1.39.58A2,2,0,0,1,632.63,54a1.9,1.9,0,0,1,.58-1.39,1.87,1.87,0,0,1,1.37-.58,2,2,0,0,1,2,2A1.87,1.87,0,0,1,636,55.39Zm7.89.34h-3.29V42.26l-3.29,1.34V40.75l4.49-1.82h2.09Z"></path></svg>
package/dist/logo.svg ADDED
@@ -0,0 +1 @@
1
+ <svg _ngcontent-npm-c49="" fxHide.lt-md="" xmlns="http://www.w3.org/2000/svg" fill="#339" height="92px" viewBox="0 0 660.81 98.88" style=""><title _ngcontent-npm-c49="">AccessMonitor - a web accessibility evaluator</title><path _ngcontent-npm-c49="" d="M97.91,0a49.44,49.44,0,0,0,0,98.88h49.44V49.44A49.44,49.44,0,0,0,97.91,0Zm0,79.57A30.13,30.13,0,1,1,128,49.44c0,7.62-.78,30.41-.78,30.41S106.92,79.57,97.91,79.57Z"></path><circle _ngcontent-npm-c49="" cx="97.91" cy="49.44" r="12.86"></circle><circle _ngcontent-npm-c49="" cx="12.86" cy="49.44" r="12.86"></circle><path _ngcontent-npm-c49="" d="M187.2,61.79a9.79,9.79,0,0,1-6.45-2.06,6.62,6.62,0,0,1-2.49-5.35A6.43,6.43,0,0,1,180.89,49a11.73,11.73,0,0,1,7.22-2,16.38,16.38,0,0,1,3.44.36,19.23,19.23,0,0,1,3.2,1V45.73a4.78,4.78,0,0,0-1.53-3.87,6.64,6.64,0,0,0-4.4-1.29,13.07,13.07,0,0,0-3.49.5,26.23,26.23,0,0,0-4.06,1.55L179.51,39a27.37,27.37,0,0,1,5.16-1.89,20.22,20.22,0,0,1,4.83-.6q4.73,0,7.34,2.27a8.08,8.08,0,0,1,2.61,6.43V61.36h-4.69v-2.1a11.35,11.35,0,0,1-3.49,1.91A12.78,12.78,0,0,1,187.2,61.79Zm-4.35-7.51a3.4,3.4,0,0,0,1.51,2.87,6.53,6.53,0,0,0,3.94,1.1,10.58,10.58,0,0,0,3.54-.57A8.73,8.73,0,0,0,194.76,56V51.75a11.49,11.49,0,0,0-2.92-1.12,14.71,14.71,0,0,0-3.35-.36,6.91,6.91,0,0,0-4.11,1.1A3.42,3.42,0,0,0,182.85,54.28Z"></path><path _ngcontent-npm-c49="" d="M216.18,57.58a8.2,8.2,0,0,0,3.44-.74,10.72,10.72,0,0,0,3.11-2.22l2.87,3.11a14.07,14.07,0,0,1-4.4,3A13,13,0,0,1,216,61.79a12.32,12.32,0,0,1-11.55-7.62,12.89,12.89,0,0,1,2.65-14A12.43,12.43,0,0,1,216,36.55a13.66,13.66,0,0,1,5.31,1.08,13.8,13.8,0,0,1,4.49,3l-3,3.25a9.88,9.88,0,0,0-3.11-2.27,8.52,8.52,0,0,0-3.58-.79,7.39,7.39,0,0,0-5.59,2.44,8.86,8.86,0,0,0,0,11.93A7.56,7.56,0,0,0,216.18,57.58Z"></path><path _ngcontent-npm-c49="" d="M239.93,57.58a8.2,8.2,0,0,0,3.44-.74,10.72,10.72,0,0,0,3.11-2.22l2.87,3.11a14.06,14.06,0,0,1-4.4,3,13,13,0,0,1-5.21,1.08,12.32,12.32,0,0,1-11.54-7.62,12.89,12.89,0,0,1,2.65-14,12.28,12.28,0,0,1,4-2.68,12.4,12.4,0,0,1,4.92-1A13.66,13.66,0,0,1,245,37.62a13.81,13.81,0,0,1,4.49,3l-3,3.25a9.88,9.88,0,0,0-3.11-2.27,8.52,8.52,0,0,0-3.59-.79,7.39,7.39,0,0,0-5.59,2.44,8.87,8.87,0,0,0,0,11.93A7.55,7.55,0,0,0,239.93,57.58Z"></path><path _ngcontent-npm-c49="" d="M273.14,58.59a14.67,14.67,0,0,1-9.42,3.2,13,13,0,0,1-9.08-3.63,12,12,0,0,1-2.7-4,13.2,13.2,0,0,1,0-9.92,12.54,12.54,0,0,1,2.58-4,12,12,0,0,1,3.87-2.65,11.82,11.82,0,0,1,4.78-1,11.34,11.34,0,0,1,8.39,3.66,12.77,12.77,0,0,1,2.46,4,13.79,13.79,0,0,1,.91,5v1.39H255.69a8.22,8.22,0,0,0,8.22,7,10.14,10.14,0,0,0,3.39-.57,8.4,8.4,0,0,0,2.77-1.58ZM263.05,40.66a6.91,6.91,0,0,0-4.76,1.82,8,8,0,0,0-2.56,4.69h14.44a8.32,8.32,0,0,0-2.51-4.64A6.53,6.53,0,0,0,263.05,40.66Z"></path><path _ngcontent-npm-c49="" d="M276.75,58.2,279.34,55a16,16,0,0,0,3.9,2.27,10.84,10.84,0,0,0,4,.79,7.9,7.9,0,0,0,4.21-1,3,3,0,0,0,1.63-2.63,2.5,2.5,0,0,0-1-2.06,6.18,6.18,0,0,0-3-1.05l-4.4-.62a10,10,0,0,1-5.43-2.22A5.85,5.85,0,0,1,277.52,44a6.42,6.42,0,0,1,2.63-5.33,11,11,0,0,1,6.88-2,16.79,16.79,0,0,1,5.09.76,17.79,17.79,0,0,1,4.71,2.34l-2.44,3.15A15.58,15.58,0,0,0,290.5,41a12.54,12.54,0,0,0-3.8-.6,6.19,6.19,0,0,0-3.54.91,2.77,2.77,0,0,0-1.34,2.39,2.37,2.37,0,0,0,.93,2,7.17,7.17,0,0,0,3.08,1l4.4.62a10.15,10.15,0,0,1,5.47,2.25,5.85,5.85,0,0,1,1.89,4.54,6.13,6.13,0,0,1-.79,3,7.59,7.59,0,0,1-2.15,2.41,11.12,11.12,0,0,1-3.23,1.6,13.08,13.08,0,0,1-4,.6,18.74,18.74,0,0,1-5.9-.91A13.51,13.51,0,0,1,276.75,58.2Z"></path><path _ngcontent-npm-c49="" d="M299.11,58.2,301.69,55a16,16,0,0,0,3.9,2.27,10.84,10.84,0,0,0,4,.79,7.9,7.9,0,0,0,4.21-1,3,3,0,0,0,1.63-2.63,2.5,2.5,0,0,0-1-2.06,6.18,6.18,0,0,0-3-1.05l-4.4-.62a10,10,0,0,1-5.43-2.22A5.85,5.85,0,0,1,299.87,44a6.42,6.42,0,0,1,2.63-5.33,11,11,0,0,1,6.88-2,16.79,16.79,0,0,1,5.09.76,17.79,17.79,0,0,1,4.71,2.34l-2.44,3.15a15.58,15.58,0,0,0-3.9-1.94,12.54,12.54,0,0,0-3.8-.6,6.19,6.19,0,0,0-3.54.91,2.77,2.77,0,0,0-1.34,2.39,2.37,2.37,0,0,0,.93,2,7.17,7.17,0,0,0,3.08,1l4.4.62a10.15,10.15,0,0,1,5.47,2.25A5.85,5.85,0,0,1,320,54.14a6.13,6.13,0,0,1-.79,3A7.59,7.59,0,0,1,317,59.59a11.12,11.12,0,0,1-3.23,1.6,13.08,13.08,0,0,1-4,.6,18.74,18.74,0,0,1-5.9-.91A13.51,13.51,0,0,1,299.11,58.2Z"></path><path _ngcontent-npm-c49="" d="M342.27,59,330.7,36.74V61.36H324.3V27.89h8.89l9.18,18,9.18-18h8.89V61.36h-6.55V36.79Z"></path><path _ngcontent-npm-c49="" d="M364.84,48.93a12.63,12.63,0,0,1,1-5.09,12.81,12.81,0,0,1,2.82-4.11A13.22,13.22,0,0,1,372.92,37a14,14,0,0,1,10.42,0,13.21,13.21,0,0,1,4.23,2.75,12.81,12.81,0,0,1,2.82,4.11,13.13,13.13,0,0,1,0,10.18,12.52,12.52,0,0,1-2.82,4.09,13.4,13.4,0,0,1-4.23,2.72,13.77,13.77,0,0,1-14.65-2.72,12.64,12.64,0,0,1-3.85-9.18Zm13.29,7.22A6.48,6.48,0,0,0,383,54a7.58,7.58,0,0,0,0-10.28,6.7,6.7,0,0,0-9.75,0,7.58,7.58,0,0,0,0,10.28A6.48,6.48,0,0,0,378.13,56.15Z"></path><path _ngcontent-npm-c49="" d="M395.11,61.36V36.45h6.55v2a10.39,10.39,0,0,1,3.18-1.82,11.26,11.26,0,0,1,3.8-.62,9.49,9.49,0,0,1,9.85,9.9V61.36h-6.55V46.83A5.15,5.15,0,0,0,410.53,43a5,5,0,0,0-3.75-1.44,6.57,6.57,0,0,0-2.94.65,5.79,5.79,0,0,0-2.18,1.84V61.36Z"></path><path _ngcontent-npm-c49="" d="M426.55,33.49a3.75,3.75,0,1,1,2.63-1.1A3.58,3.58,0,0,1,426.55,33.49Zm3.3,3V61.36H423.3V36.45Z"></path><path _ngcontent-npm-c49="" d="M437.69,54.33V42h-5.12v-5.5h5.12V30.09l6.55-1.48v7.84h7.08V42h-7.08V53a3.32,3.32,0,0,0,.76,2.49,3.91,3.91,0,0,0,2.68.72,11.79,11.79,0,0,0,1.72-.12,9.67,9.67,0,0,0,1.77-.46V61a16.1,16.1,0,0,1-2.53.55,18,18,0,0,1-2.53.21q-4.16,0-6.29-1.89A7,7,0,0,1,437.69,54.33Z"></path><path _ngcontent-npm-c49="" d="M453,48.93a12.63,12.63,0,0,1,1-5.09,12.81,12.81,0,0,1,2.82-4.11A13.22,13.22,0,0,1,461,37a14,14,0,0,1,10.42,0,13.21,13.21,0,0,1,4.23,2.75,12.81,12.81,0,0,1,2.82,4.11,13.13,13.13,0,0,1,0,10.18,12.52,12.52,0,0,1-2.82,4.09,13.4,13.4,0,0,1-4.23,2.72,13.77,13.77,0,0,1-14.65-2.72A12.64,12.64,0,0,1,453,48.93Zm13.29,7.22a6.48,6.48,0,0,0,4.88-2.1,7.58,7.58,0,0,0,0-10.28,6.7,6.7,0,0,0-9.75,0,7.58,7.58,0,0,0,0,10.28A6.48,6.48,0,0,0,466.26,56.15Z"></path><path _ngcontent-npm-c49="" d="M483.24,61.36V36.45h6.55v2.72a7.91,7.91,0,0,1,2.89-2.46,8.37,8.37,0,0,1,3.75-.84A12.42,12.42,0,0,1,498,36a3.35,3.35,0,0,1,1.12.41v5.74a6.83,6.83,0,0,0-1.58-.5,9.27,9.27,0,0,0-1.77-.17,6.74,6.74,0,0,0-3.51,1,6.55,6.55,0,0,0-2.51,2.77V61.36Z"></path><path _ngcontent-npm-c49="" d="M557.26,46.43a2.85,2.85,0,0,0-1.91-.71,2.93,2.93,0,0,0-1.94.68,3.53,3.53,0,0,0-1.13,1.84h6.12A3.62,3.62,0,0,0,557.26,46.43Z"></path><path _ngcontent-npm-c49="" d="M604.84,45.84a3.26,3.26,0,0,0-2.45,1.05,3.8,3.8,0,0,0,0,5.16,3.36,3.36,0,0,0,4.9,0,3.81,3.81,0,0,0,0-5.16A3.26,3.26,0,0,0,604.84,45.84Z"></path><path _ngcontent-npm-c49="" d="M590.37,50.47a3.18,3.18,0,0,0-1.76.42,1.35,1.35,0,0,0,0,2.28,2.92,2.92,0,0,0,1.66.42,5.21,5.21,0,0,0,1.5-.21A4.62,4.62,0,0,0,593,52.8V50.93a6,6,0,0,0-1.26-.35A8.74,8.74,0,0,0,590.37,50.47Z"></path><path _ngcontent-npm-c49="" d="M519.37,27.49V66.8H660.81V27.49ZM587,38.78a2.29,2.29,0,0,1,1.74-.72,2.7,2.7,0,0,1,1,.19c.33.13.64.26.94.41l.85.41a1.76,1.76,0,0,0,.74.19.77.77,0,0,0,.62-.29,2.53,2.53,0,0,0,.41-1l2,.43a4.57,4.57,0,0,1-1,2.2,2.28,2.28,0,0,1-1.74.73,2.55,2.55,0,0,1-1-.19q-.48-.19-.92-.41l-.86-.41a1.9,1.9,0,0,0-.78-.19.73.73,0,0,0-.61.3,2.76,2.76,0,0,0-.4,1L586,41A4.49,4.49,0,0,1,587,38.78ZM543.57,55.73H540.4L535,43.22h3.58L542,51.55l3.41-8.33h3.5Zm18-5.13h-9.31a3.5,3.5,0,0,0,1.3,1.89,3.65,3.65,0,0,0,2.26.72,4.43,4.43,0,0,0,1.54-.26,3.49,3.49,0,0,0,1.22-.74l2.16,2a7.51,7.51,0,0,1-5.06,1.8,7,7,0,0,1-2.65-.5,6.69,6.69,0,0,1-2.14-1.37A6.26,6.26,0,0,1,549.51,52a6.33,6.33,0,0,1-.52-2.56,6.55,6.55,0,0,1,.49-2.53,6.38,6.38,0,0,1,1.36-2.06,6.29,6.29,0,0,1,2.05-1.38,6.42,6.42,0,0,1,2.53-.5,5.9,5.9,0,0,1,2.46.52,6.1,6.1,0,0,1,2,1.4,6.38,6.38,0,0,1,1.3,2.12,7.49,7.49,0,0,1,.47,2.68Zm10-4.49a3.47,3.47,0,0,0-.79-.25,4.59,4.59,0,0,0-.89-.08,3.39,3.39,0,0,0-1.76.48,3.29,3.29,0,0,0-1.26,1.39v8.09h-3.29V43.22h3.29v1.37a4,4,0,0,1,1.45-1.24,4.21,4.21,0,0,1,1.88-.42,6,6,0,0,1,.8.08,1.67,1.67,0,0,1,.56.2Zm11.61,7.38a4.22,4.22,0,0,1-1.14,1.31,5.42,5.42,0,0,1-1.73.86,7.32,7.32,0,0,1-2.18.31,11.14,11.14,0,0,1-3.19-.44,7.47,7.47,0,0,1-2.54-1.29l1.63-2.18a9.92,9.92,0,0,0,2.09,1.07,5.86,5.86,0,0,0,2,.35,3.69,3.69,0,0,0,1.76-.36,1.08,1.08,0,0,0,.66-1,.92.92,0,0,0-.37-.77A2.6,2.6,0,0,0,579,51l-2.4-.36a5.19,5.19,0,0,1-2.82-1.2,3.17,3.17,0,0,1-1-2.43,3.44,3.44,0,0,1,1.42-2.88A6.09,6.09,0,0,1,578,43a9,9,0,0,1,2.66.4,9.68,9.68,0,0,1,2.47,1.16l-1.58,2.11a10.13,10.13,0,0,0-2-.9,6.2,6.2,0,0,0-1.9-.3,2.67,2.67,0,0,0-1.43.34,1,1,0,0,0-.54.89.9.9,0,0,0,.4.78,3.09,3.09,0,0,0,1.31.39l2.4.36a5.08,5.08,0,0,1,2.82,1.2,3.12,3.12,0,0,1,1,2.38A3.33,3.33,0,0,1,583.24,53.48Zm13,2.24H593v-.86a5.89,5.89,0,0,1-1.67.82,6.78,6.78,0,0,1-2,.26,4.94,4.94,0,0,1-3.29-1.07,3.45,3.45,0,0,1-1.27-2.77,3.27,3.27,0,0,1,1.37-2.79,6.23,6.23,0,0,1,3.77-1,10,10,0,0,1,3,.48V47.9a2,2,0,0,0-.67-1.63,3,3,0,0,0-2-.55,6.54,6.54,0,0,0-1.72.25,14.46,14.46,0,0,0-2.1.78l-1.2-2.43a15.89,15.89,0,0,1,2.84-1,11.55,11.55,0,0,1,2.72-.34,5.81,5.81,0,0,1,3.92,1.21,4.27,4.27,0,0,1,1.4,3.42ZM611,52a6.26,6.26,0,0,1-1.42,2.05,6.72,6.72,0,0,1-2.12,1.37,7,7,0,0,1-5.23,0,6.72,6.72,0,0,1-2.12-1.37A6.26,6.26,0,0,1,598.68,52a6.47,6.47,0,0,1,1.42-7.18,6.62,6.62,0,0,1,2.12-1.38,7,7,0,0,1,5.23,0,6.62,6.62,0,0,1,2.12,1.38A6.52,6.52,0,0,1,611,52Zm19.09,3.68H618v-2.3l6.62-5.93a9.11,9.11,0,0,0,1.61-1.81,3,3,0,0,0,.48-1.62,2.28,2.28,0,0,0-.86-1.82,3.27,3.27,0,0,0-2.16-.72,5.3,5.3,0,0,0-2.24.48,9.29,9.29,0,0,0-2.27,1.58l-1.85-2.21a10.77,10.77,0,0,1,3.1-2,8.76,8.76,0,0,1,3.36-.67,8,8,0,0,1,2.48.37,5.82,5.82,0,0,1,1.94,1,4.62,4.62,0,0,1,1.25,1.63,4.91,4.91,0,0,1,.44,2.09,5.16,5.16,0,0,1-.72,2.66,12.66,12.66,0,0,1-2.5,2.81L622.55,53h7.54Zm5.88-.34a1.9,1.9,0,0,1-1.39.58A2,2,0,0,1,632.63,54a1.9,1.9,0,0,1,.58-1.39,1.87,1.87,0,0,1,1.37-.58,2,2,0,0,1,2,2A1.87,1.87,0,0,1,636,55.39Zm7.89.34h-3.29V42.26l-3.29,1.34V40.75l4.49-1.82h2.09Z"></path></svg>
package/package.json ADDED
@@ -0,0 +1,94 @@
1
+ {
2
+ "name": "@a12e/accessmonitor-ds",
3
+ "version": "1.0.1",
4
+ "main": "dist/index.es.js",
5
+ "module": "dist/index.es.js",
6
+ "author": "ARTE",
7
+ "license": "MIT",
8
+ "description": "Biblioteca de componentes da ARTE",
9
+ "scripts": {
10
+ "build": "vite build",
11
+ "storybook": "storybook dev -p 6006",
12
+ "build-storybook": "storybook build",
13
+ "build-lib": "rollup -c",
14
+ "postinstall": "node copyfiles.js",
15
+ "release": "npm run build && changeset publish"
16
+ },
17
+ "eslintConfig": {
18
+ "extends": [
19
+ "react-app",
20
+ "react-app/jest",
21
+ "plugin:storybook/recommended"
22
+ ]
23
+ },
24
+ "browserslist": {
25
+ "production": [
26
+ ">0.2%",
27
+ "not dead",
28
+ "not op_mini all"
29
+ ],
30
+ "development": [
31
+ "last 1 chrome version",
32
+ "last 1 firefox version",
33
+ "last 1 safari version"
34
+ ]
35
+ },
36
+ "devDependencies": {
37
+ "@babel/core": "^7.24.7",
38
+ "@babel/preset-env": "^7.24.8",
39
+ "@babel/preset-react": "^7.24.7",
40
+ "@changesets/cli": "^2.30.0",
41
+ "@chromatic-com/storybook": "^1.2.26",
42
+ "@rollup/plugin-babel": "^6.0.4",
43
+ "@rollup/plugin-commonjs": "^26.0.1",
44
+ "@rollup/plugin-node-resolve": "^15.2.3",
45
+ "@rollup/plugin-replace": "^5.0.7",
46
+ "@storybook/addon-a11y": "^8.0.5",
47
+ "@storybook/addon-docs": "^8.0.10",
48
+ "@storybook/addon-essentials": "^8.0.5",
49
+ "@storybook/addon-interactions": "^8.0.5",
50
+ "@storybook/addon-links": "^8.0.5",
51
+ "@storybook/addon-onboarding": "^8.0.5",
52
+ "@storybook/blocks": "^8.0.5",
53
+ "@storybook/manager-api": "^8.1.10",
54
+ "@storybook/preset-create-react-app": "^8.0.5",
55
+ "@storybook/react": "^8.0.5",
56
+ "@storybook/react-webpack5": "^8.0.5",
57
+ "@storybook/test": "^8.0.5",
58
+ "@storybook/theming": "^8.1.10",
59
+ "@vitejs/plugin-react": "^6.0.1",
60
+ "babel-loader": "^9.1.3",
61
+ "bootstrap": "^5.3.3",
62
+ "eslint-plugin-storybook": "^0.8.0",
63
+ "prop-types": "^15.8.1",
64
+ "react": "^18.3.1",
65
+ "react-bootstrap": "^2.10.2",
66
+ "react-dom": "^18.3.1",
67
+ "react-scripts": "5.0.1",
68
+ "rollup": "^2.79.1",
69
+ "rollup-plugin-babel": "^4.4.0",
70
+ "rollup-plugin-copy": "^3.5.0",
71
+ "rollup-plugin-peer-deps-external": "^2.2.4",
72
+ "rollup-plugin-postcss": "^4.0.2",
73
+ "rollup-plugin-replace": "^2.2.0",
74
+ "rollup-plugin-terser": "^7.0.2",
75
+ "storybook": "^8.0.5",
76
+ "storybook-dark-mode": "^4.0.2",
77
+ "vite": "^8.0.3",
78
+ "vite-plugin-dts": "^4.5.4",
79
+ "web-vitals": "^2.1.4",
80
+ "webpack": "^5.92.0"
81
+ },
82
+ "peerDependencies": {
83
+ "bootstrap": "^5.3.3",
84
+ "react": "^18.2.0 || ^19.0.0",
85
+ "react-bootstrap": "^2.10.2",
86
+ "react-dom": "^18.2.0 || ^19.0.0"
87
+ },
88
+ "dependencies": {
89
+ "react-router-dom": "^6.24.0"
90
+ },
91
+ "engines": {
92
+ "node": ">=16.14"
93
+ }
94
+ }
package/vite.config.js ADDED
@@ -0,0 +1,33 @@
1
+ import { defineConfig, transformWithOxc } from "vite";
2
+ import react from "@vitejs/plugin-react";
3
+ import dts from "vite-plugin-dts";
4
+ import { resolve } from "path";
5
+
6
+ const jsJsxPlugin = () => ({
7
+ name: "vite:js-jsx",
8
+ enforce: "pre",
9
+ async transform(code, id) {
10
+ const [filepath] = id.split("?");
11
+ if (!filepath.endsWith(".js")) return null;
12
+ if (filepath.includes("node_modules")) return null;
13
+ return transformWithOxc(code, filepath.replace(/\.js$/, ".jsx"), {
14
+ jsx: { runtime: "automatic", importSource: "react" },
15
+ });
16
+ },
17
+ });
18
+
19
+ export default defineConfig({
20
+ plugins: [jsJsxPlugin(), react(), dts()],
21
+ build: {
22
+ lib: {
23
+ entry: resolve(__dirname, "src/index.js"),
24
+ name: "@a12e/accessmonitor-ds",
25
+ formats: ["es"],
26
+ fileName: (format) => `index.${format}.js`,
27
+ cssFileName: "index",
28
+ },
29
+ rollupOptions: {
30
+ external: ["react", "react-dom", "react/jsx-runtime", "react/jsx-dev-runtime"],
31
+ },
32
+ },
33
+ });