frst-components 0.20.0 → 0.20.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 (63) hide show
  1. package/package.json +9 -1
  2. package/storybook-static/142.1620db0e.iframe.bundle.js +76 -0
  3. package/storybook-static/142.1620db0e.iframe.bundle.js.LICENSE.txt +114 -0
  4. package/storybook-static/142.1620db0e.iframe.bundle.js.map +1 -0
  5. package/storybook-static/142.f4b5719978bc029def49.manager.bundle.js +2 -0
  6. package/storybook-static/142.f4b5719978bc029def49.manager.bundle.js.LICENSE.txt +12 -0
  7. package/storybook-static/173.50bd68b8.iframe.bundle.js +2 -0
  8. package/storybook-static/173.50bd68b8.iframe.bundle.js.LICENSE.txt +8 -0
  9. package/storybook-static/273.50cd4e43.iframe.bundle.js +2 -0
  10. package/storybook-static/273.50cd4e43.iframe.bundle.js.LICENSE.txt +14 -0
  11. package/storybook-static/295.74984d4265017a824622.manager.bundle.js +1 -0
  12. package/storybook-static/32.88a3ce9bab069a6db245.manager.bundle.js +1 -0
  13. package/storybook-static/32.a25e8351.iframe.bundle.js +1 -0
  14. package/storybook-static/551.45e246a02b3a76ac609c.manager.bundle.js +1 -0
  15. package/storybook-static/551.d1245db5.iframe.bundle.js +1 -0
  16. package/storybook-static/566.37aa6701b2519194db63.manager.bundle.js +2 -0
  17. package/storybook-static/566.37aa6701b2519194db63.manager.bundle.js.LICENSE.txt +31 -0
  18. package/storybook-static/566.dfa86444.iframe.bundle.js +2 -0
  19. package/storybook-static/566.dfa86444.iframe.bundle.js.LICENSE.txt +31 -0
  20. package/storybook-static/647.c51c26783dc4fb68973d.manager.bundle.js +2 -0
  21. package/storybook-static/647.c51c26783dc4fb68973d.manager.bundle.js.LICENSE.txt +94 -0
  22. package/storybook-static/691.6957468453be390249fa.manager.bundle.js +2 -0
  23. package/storybook-static/691.6957468453be390249fa.manager.bundle.js.LICENSE.txt +8 -0
  24. package/storybook-static/701.b21e23ee.iframe.bundle.js +1 -0
  25. package/storybook-static/725.2a7b46857211ebaa0eb5.manager.bundle.js +1 -0
  26. package/storybook-static/725.354e06ba.iframe.bundle.js +1 -0
  27. package/storybook-static/855.ea614875.iframe.bundle.js +2 -0
  28. package/storybook-static/855.ea614875.iframe.bundle.js.LICENSE.txt +12 -0
  29. package/storybook-static/bg1.png +0 -0
  30. package/storybook-static/bg2.png +0 -0
  31. package/storybook-static/favicon.ico +0 -0
  32. package/storybook-static/iframe.html +364 -0
  33. package/storybook-static/index.html +59 -0
  34. package/storybook-static/locales/en-US.json +30 -0
  35. package/storybook-static/locales/es.json +31 -0
  36. package/storybook-static/locales/pt-BR.json +38 -0
  37. package/storybook-static/main.1327abd8.iframe.bundle.js +1 -0
  38. package/storybook-static/main.dbf1bc8b8d32336860c1.manager.bundle.js +1 -0
  39. package/storybook-static/manifest.json +15 -0
  40. package/storybook-static/project.json +1 -0
  41. package/storybook-static/robots.txt +3 -0
  42. package/storybook-static/runtime~main.046dc868.iframe.bundle.js +1 -0
  43. package/storybook-static/runtime~main.d23e7d11d5fe197adf05.manager.bundle.js +1 -0
  44. package/storybook-static/static/media/Aprendizado.cdcb9636.png +0 -0
  45. package/storybook-static/static/media/AprendizadoPressed.a511c1be.png +0 -0
  46. package/storybook-static/static/media/Conquista.aea42b3a.png +0 -0
  47. package/storybook-static/static/media/ConquistaPressed.8ece7181.png +0 -0
  48. package/storybook-static/static/media/problemaFRST.a7bdf295.png +0 -0
  49. package/.dockerignore +0 -7
  50. package/.env +0 -1
  51. package/.github/pull_request_template.md +0 -26
  52. package/.hintrc +0 -41
  53. package/.prettierrc +0 -7
  54. package/.storybook/i18n.js +0 -26
  55. package/.storybook/main.js +0 -41
  56. package/.storybook/preview.js +0 -23
  57. package/.vscode/settings.json +0 -2
  58. package/Dockerfile +0 -22
  59. package/declarations.d.ts +0 -4
  60. package/images.d.ts +0 -4
  61. package/index.tsx +0 -178
  62. package/publish.sh +0 -19
  63. package/rollup.config.js +0 -15
@@ -0,0 +1 @@
1
+ (self.webpackChunkfrst_components=self.webpackChunkfrst_components||[]).push([[179],{24654:()=>{}},__webpack_require__=>{var __webpack_exec__=moduleId=>__webpack_require__(__webpack_require__.s=moduleId);__webpack_require__.O(0,[647],(()=>(__webpack_exec__(37707),__webpack_exec__(7967),__webpack_exec__(78295),__webpack_exec__(15887),__webpack_exec__(59288),__webpack_exec__(80048),__webpack_exec__(50213),__webpack_exec__(75259),__webpack_exec__(57464),__webpack_exec__(10165),__webpack_exec__(13457),__webpack_exec__(70843))));__webpack_require__.O()}]);
@@ -0,0 +1,15 @@
1
+ {
2
+ "short_name": "React App",
3
+ "name": "Create React App Sample",
4
+ "icons": [
5
+ {
6
+ "src": "favicon.ico",
7
+ "sizes": "512x512 192x192 64x64 32x32 24x24 16x16",
8
+ "type": "image/x-icon"
9
+ }
10
+ ],
11
+ "start_url": ".",
12
+ "display": "standalone",
13
+ "theme_color": "#000000",
14
+ "background_color": "#ffffff"
15
+ }
@@ -0,0 +1 @@
1
+ {"generatedAt":1663777026628,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"metaFramework":{"name":"CRA","packageName":"react-scripts","version":"5.0.1"},"packageManager":{"type":"npm","version":"8.11.0"},"typescriptOptions":{"extends":"../tsconfig.json","reactDocgen":"react-docgen-typescript","reactDocgenTypescriptOptions":{"compilerOptions":{"allowSyntheticDefaultImports":false,"esModuleInterop":false}}},"storybookVersion":"6.5.9","language":"typescript","storybookPackages":{"@storybook/addon-actions":{"version":"6.5.9"},"@storybook/builder-webpack5":{"version":"6.5.9"},"@storybook/manager-webpack5":{"version":"6.5.9"},"@storybook/node-logger":{"version":"6.5.9"},"@storybook/react":{"version":"6.5.9"}},"framework":{"name":"react"},"addons":{"@storybook/addon-links":{"version":"6.5.9"},"@storybook/addon-essentials":{"version":"6.5.9"},"storybook-react-i18next":{"version":"1.1.2"}}}
@@ -0,0 +1,3 @@
1
+ # https://www.robotstxt.org/robotstxt.html
2
+ User-agent: *
3
+ Disallow:
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var deferred,leafPrototypes,getProto,inProgress,__webpack_modules__={},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}__webpack_require__.m=__webpack_modules__,deferred=[],__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(!chunkIds){var notFulfilled=1/0;for(i=0;i<deferred.length;i++){for(var[chunkIds,fn,priority]=deferred[i],fulfilled=!0,j=0;j<chunkIds.length;j++)(!1&priority||notFulfilled>=priority)&&Object.keys(__webpack_require__.O).every((key=>__webpack_require__.O[key](chunkIds[j])))?chunkIds.splice(j--,1):(fulfilled=!1,priority<notFulfilled&&(notFulfilled=priority));if(fulfilled){deferred.splice(i--,1);var r=fn();void 0!==r&&(result=r)}}return result}priority=priority||0;for(var i=deferred.length;i>0&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority]},__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__,__webpack_require__.t=function(value,mode){if(1&mode&&(value=this(value)),8&mode)return value;if("object"==typeof value&&value){if(4&mode&&value.__esModule)return value;if(16&mode&&"function"==typeof value.then)return value}var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;"object"==typeof current&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach((key=>def[key]=()=>value[key]));return def.default=()=>value,__webpack_require__.d(ns,def),ns},__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.f={},__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce(((promises,key)=>(__webpack_require__.f[key](chunkId,promises),promises)),[])),__webpack_require__.u=chunkId=>chunkId+"."+{32:"a25e8351",173:"50bd68b8",273:"50cd4e43",551:"d1245db5",566:"dfa86444",701:"b21e23ee",725:"354e06ba",855:"ea614875"}[chunkId]+".iframe.bundle.js",__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.hmd=module=>((module=Object.create(module)).children||(module.children=[]),Object.defineProperty(module,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+module.id)}}),module),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),inProgress={},__webpack_require__.l=(url,done,key,chunkId)=>{if(inProgress[url])inProgress[url].push(done);else{var script,needAttach;if(void 0!==key)for(var scripts=document.getElementsByTagName("script"),i=0;i<scripts.length;i++){var s=scripts[i];if(s.getAttribute("src")==url||s.getAttribute("data-webpack")=="frst-components:"+key){script=s;break}}script||(needAttach=!0,(script=document.createElement("script")).charset="utf-8",script.timeout=120,__webpack_require__.nc&&script.setAttribute("nonce",__webpack_require__.nc),script.setAttribute("data-webpack","frst-components:"+key),script.src=url),inProgress[url]=[done];var onScriptComplete=(prev,event)=>{script.onerror=script.onload=null,clearTimeout(timeout);var doneFns=inProgress[url];if(delete inProgress[url],script.parentNode&&script.parentNode.removeChild(script),doneFns&&doneFns.forEach((fn=>fn(event))),prev)return prev(event)},timeout=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:script}),12e4);script.onerror=onScriptComplete.bind(null,script.onerror),script.onload=onScriptComplete.bind(null,script.onload),needAttach&&document.head.appendChild(script)}},__webpack_require__.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.nmd=module=>(module.paths=[],module.children||(module.children=[]),module),__webpack_require__.p="",(()=>{var installedChunks={303:0};__webpack_require__.f.j=(chunkId,promises)=>{var installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(303!=chunkId){var promise=new Promise(((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]));promises.push(installedChunkData[2]=promise);var url=__webpack_require__.p+__webpack_require__.u(chunkId),error=new Error;__webpack_require__.l(url,(event=>{if(__webpack_require__.o(installedChunks,chunkId)&&(0!==(installedChunkData=installedChunks[chunkId])&&(installedChunks[chunkId]=void 0),installedChunkData)){var errorType=event&&("load"===event.type?"missing":event.type),realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")",error.name="ChunkLoadError",error.type=errorType,error.request=realSrc,installedChunkData[1](error)}}),"chunk-"+chunkId,chunkId)}else installedChunks[chunkId]=0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId];var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var moduleId,chunkId,[chunkIds,moreModules,runtime]=data,i=0;if(chunkIds.some((id=>0!==installedChunks[id]))){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);if(runtime)var result=runtime(__webpack_require__)}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i<chunkIds.length;i++)chunkId=chunkIds[i],__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId]&&installedChunks[chunkId][0](),installedChunks[chunkId]=0;return __webpack_require__.O(result)},chunkLoadingGlobal=self.webpackChunkfrst_components=self.webpackChunkfrst_components||[];chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null,0)),chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal))})(),__webpack_require__.nc=void 0})();
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var deferred,leafPrototypes,getProto,inProgress,__webpack_modules__={},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}__webpack_require__.m=__webpack_modules__,deferred=[],__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(!chunkIds){var notFulfilled=1/0;for(i=0;i<deferred.length;i++){for(var[chunkIds,fn,priority]=deferred[i],fulfilled=!0,j=0;j<chunkIds.length;j++)(!1&priority||notFulfilled>=priority)&&Object.keys(__webpack_require__.O).every((key=>__webpack_require__.O[key](chunkIds[j])))?chunkIds.splice(j--,1):(fulfilled=!1,priority<notFulfilled&&(notFulfilled=priority));if(fulfilled){deferred.splice(i--,1);var r=fn();void 0!==r&&(result=r)}}return result}priority=priority||0;for(var i=deferred.length;i>0&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority]},__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__,__webpack_require__.t=function(value,mode){if(1&mode&&(value=this(value)),8&mode)return value;if("object"==typeof value&&value){if(4&mode&&value.__esModule)return value;if(16&mode&&"function"==typeof value.then)return value}var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;"object"==typeof current&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach((key=>def[key]=()=>value[key]));return def.default=()=>value,__webpack_require__.d(ns,def),ns},__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.f={},__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce(((promises,key)=>(__webpack_require__.f[key](chunkId,promises),promises)),[])),__webpack_require__.u=chunkId=>chunkId+"."+{32:"88a3ce9bab069a6db245",142:"f4b5719978bc029def49",295:"74984d4265017a824622",551:"45e246a02b3a76ac609c",566:"37aa6701b2519194db63",691:"6957468453be390249fa",725:"2a7b46857211ebaa0eb5"}[chunkId]+".manager.bundle.js",__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.hmd=module=>((module=Object.create(module)).children||(module.children=[]),Object.defineProperty(module,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+module.id)}}),module),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),inProgress={},__webpack_require__.l=(url,done,key,chunkId)=>{if(inProgress[url])inProgress[url].push(done);else{var script,needAttach;if(void 0!==key)for(var scripts=document.getElementsByTagName("script"),i=0;i<scripts.length;i++){var s=scripts[i];if(s.getAttribute("src")==url||s.getAttribute("data-webpack")=="frst-components:"+key){script=s;break}}script||(needAttach=!0,(script=document.createElement("script")).charset="utf-8",script.timeout=120,__webpack_require__.nc&&script.setAttribute("nonce",__webpack_require__.nc),script.setAttribute("data-webpack","frst-components:"+key),script.src=url),inProgress[url]=[done];var onScriptComplete=(prev,event)=>{script.onerror=script.onload=null,clearTimeout(timeout);var doneFns=inProgress[url];if(delete inProgress[url],script.parentNode&&script.parentNode.removeChild(script),doneFns&&doneFns.forEach((fn=>fn(event))),prev)return prev(event)},timeout=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:script}),12e4);script.onerror=onScriptComplete.bind(null,script.onerror),script.onload=onScriptComplete.bind(null,script.onload),needAttach&&document.head.appendChild(script)}},__webpack_require__.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.nmd=module=>(module.paths=[],module.children||(module.children=[]),module),__webpack_require__.p="",(()=>{var installedChunks={303:0};__webpack_require__.f.j=(chunkId,promises)=>{var installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(303!=chunkId){var promise=new Promise(((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]));promises.push(installedChunkData[2]=promise);var url=__webpack_require__.p+__webpack_require__.u(chunkId),error=new Error;__webpack_require__.l(url,(event=>{if(__webpack_require__.o(installedChunks,chunkId)&&(0!==(installedChunkData=installedChunks[chunkId])&&(installedChunks[chunkId]=void 0),installedChunkData)){var errorType=event&&("load"===event.type?"missing":event.type),realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")",error.name="ChunkLoadError",error.type=errorType,error.request=realSrc,installedChunkData[1](error)}}),"chunk-"+chunkId,chunkId)}else installedChunks[chunkId]=0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId];var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var moduleId,chunkId,[chunkIds,moreModules,runtime]=data,i=0;if(chunkIds.some((id=>0!==installedChunks[id]))){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);if(runtime)var result=runtime(__webpack_require__)}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i<chunkIds.length;i++)chunkId=chunkIds[i],__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId]&&installedChunks[chunkId][0](),installedChunks[chunkId]=0;return __webpack_require__.O(result)},chunkLoadingGlobal=self.webpackChunkfrst_components=self.webpackChunkfrst_components||[];chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null,0)),chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal))})(),__webpack_require__.nc=void 0})();
package/.dockerignore DELETED
@@ -1,7 +0,0 @@
1
- # comment
2
- .github/
3
- .storybook/
4
- .vscode/
5
- dist/
6
- node_modules/
7
- storybook-static/
package/.env DELETED
@@ -1 +0,0 @@
1
- SKIP_PREFLIGHT_CHECK=true
@@ -1,26 +0,0 @@
1
- ## Description
2
-
3
- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
4
-
5
- ## Related Issue
6
- <!--- This project only accepts pull requests related to open issues -->
7
- <!--- If suggesting a new feature or change, please discuss it in an issue first -->
8
- <!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
9
- <!--- Please link to the issue here: -->
10
-
11
-
12
- ## How Has This Been Tested?
13
-
14
- Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.
15
-
16
- - [ ] Test A
17
- - [ ] Test B
18
-
19
- ## Checklist:
20
-
21
- - [ ] My code follows the style guidelines of this project
22
- - [ ] I have performed a self-review of my own code
23
- - [ ] I have commented my code, particularly in hard-to-understand areas
24
- - [ ] I have made corresponding changes to the documentation
25
- - [ ] My changes generate no new warnings
26
- - [ ] Any dependent changes have been merged and published in downstream modules
package/.hintrc DELETED
@@ -1,41 +0,0 @@
1
- {
2
- "extends": [
3
- "development"
4
- ],
5
- "hints": {
6
- "axe/text-alternatives": [
7
- "default",
8
- {
9
- "image-alt": "off"
10
- }
11
- ],
12
- "axe/forms": [
13
- "default",
14
- {
15
- "label": "off",
16
- "select-name": "off"
17
- }
18
- ],
19
- "no-inline-styles": "off",
20
- "axe/name-role-value": [
21
- "default",
22
- {
23
- "button-name": "off"
24
- }
25
- ],
26
- "compat-api/css": [
27
- "default",
28
- {
29
- "ignore": [
30
- "width: fit-content"
31
- ]
32
- }
33
- ],
34
- "axe/parsing": [
35
- "default",
36
- {
37
- "duplicate-id-active": "off"
38
- }
39
- ]
40
- }
41
- }
package/.prettierrc DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "semi": false,
3
- "trailingComma": "none",
4
- "singleQuote": true,
5
- "printWidth": 120,
6
- "tabWidth": 2
7
- }
@@ -1,26 +0,0 @@
1
- import i18n from 'i18next'
2
- import { initReactI18next } from 'react-i18next'
3
- import LanguageDetector from 'i18next-browser-languagedetector'
4
-
5
- const supportedLngs = ['pt-BR', 'en-US', 'es']
6
- const ns = ['common']
7
-
8
- i18n
9
- .use(LanguageDetector)
10
- .use(initReactI18next)
11
- .init({
12
- lng: 'pt-BR',
13
- fallbackLng: 'pt-BR',
14
- interpolation: {
15
- escapeValue: false
16
- },
17
- defaultNS: 'common',
18
- ns,
19
- supportedLngs
20
- })
21
-
22
- i18n.addResourceBundle('pt-BR', 'common', require('../public/locales/pt-BR.json'))
23
- i18n.addResourceBundle('en-US', 'common', require('../public/locales/en-US.json'))
24
- i18n.addResourceBundle('es', 'common', require('../public/locales/es.json'))
25
-
26
- export { i18n }
@@ -1,41 +0,0 @@
1
- const path = require('path')
2
-
3
- module.exports = {
4
- module: {
5
- rules: [
6
- {
7
- test: /\.(png|jpe?g|gif)$/i,
8
- use: [
9
- {
10
- loader: 'file-loader',
11
- },
12
- ],
13
- },
14
- ],
15
- },
16
- typescript: {
17
- extends: '../tsconfig.json',
18
- reactDocgen: 'react-docgen-typescript',
19
- reactDocgenTypescriptOptions: {
20
- compilerOptions: {
21
- allowSyntheticDefaultImports: false,
22
- esModuleInterop: false
23
- }
24
- }
25
- },
26
- stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
27
- addons: ['@storybook/addon-links', '@storybook/addon-essentials', 'storybook-react-i18next'],
28
- framework: '@storybook/react',
29
- core: {
30
- builder: 'webpack5'
31
- },
32
- webpackFinal: async (config, { configType }) => {
33
- config.resolve.alias = {
34
- ...config.resolve.alias,
35
- '@shared': path.resolve(__dirname, '../src/shared'),
36
- '@public': path.resolve(__dirname, '../public'),
37
- '@components': path.resolve(__dirname, '../src/components')
38
- }
39
- return config
40
- }
41
- }
@@ -1,23 +0,0 @@
1
- import { i18n } from './i18n.js'
2
-
3
- export const parameters = {
4
- i18n,
5
- locale: 'pt-BR',
6
- locales: {
7
- 'pt-BR': 'Portuguese (BR)',
8
- 'en-US': 'English',
9
- es: 'Spanish'
10
- },
11
-
12
- backgrounds: {
13
- default: 'dark'
14
- },
15
-
16
- actions: { argTypesRegex: '^on[A-Z].*' },
17
- controls: {
18
- matchers: {
19
- color: /(background|color)$/i,
20
- date: /Date$/
21
- }
22
- }
23
- }
@@ -1,2 +0,0 @@
1
- {
2
- }
package/Dockerfile DELETED
@@ -1,22 +0,0 @@
1
- FROM docker.io/node:16.13.2-alpine3.14 as DEPS
2
-
3
- ENV NPM_AUTH_TOKEN=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
4
- ENV APP_VERSION=0.17.2
5
- ENV BUILD_ENV=development
6
-
7
- WORKDIR /opt/frst/app
8
-
9
- COPY package*.json ./
10
-
11
- RUN npm i
12
-
13
- FROM DEPS as BUILD
14
-
15
- COPY --from=DEPS /opt/frst/app/node_modules ./node_modules
16
- COPY . .
17
-
18
- RUN touch /opt/frst/app/.npmrc
19
- RUN echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > /opt/frst/app/.npmrc
20
- RUN npm version $APP_VERSION
21
- RUN npm run build
22
- RUN npm publish --access public
package/declarations.d.ts DELETED
@@ -1,4 +0,0 @@
1
- declare module "*.css" {
2
- const content: { [className: string]: string };
3
- export = content;
4
- }
package/images.d.ts DELETED
@@ -1,4 +0,0 @@
1
- declare module "*.png";
2
- declare module "*.svg";
3
- declare module "*.jpeg";
4
- declare module "*.jpg";
package/index.tsx DELETED
@@ -1,178 +0,0 @@
1
- // EXPORT COMPONENTS HERE
2
- // EXPORT COMPONENTS HERE
3
-
4
- // Icons
5
- export {
6
- AlertCicle,
7
- DoubleCheck,
8
- MoreDotsHorizontal,
9
- CheckInCicle,
10
- TrashIcon,
11
- TrashIconNew,
12
- HomeLineIcon,
13
- HomeFilledIcon,
14
- CalendarLineIcon,
15
- CalendarFilledIcon,
16
- PencilLineIcon,
17
- PencilFilledIcon,
18
- LampLineIcon,
19
- LampFilledIcon,
20
- MedalLineIcon,
21
- MedalFilledIcon,
22
- PlayLineIcon,
23
- PlayFilledIcon,
24
- IconNotification,
25
- InstagramIcon,
26
- LinkedinIcon,
27
- PodCastIcon,
28
- SiteIcon,
29
- SpotifyIcon,
30
- YoutubeIcon,
31
- Content,
32
- AddIcon,
33
- Channel,
34
- ExitArrow,
35
- StepCicleOne,
36
- StepCheckInCicle,
37
- StepCicleTwo,
38
- StepCicleThree,
39
- StepCicleFour,
40
- Books,
41
- Diamond,
42
- Challenge,
43
- ChangeAccount,
44
- EyeOff,
45
- OpenedEye,
46
- StarFavorite,
47
- CheckIconSimple,
48
- IconContent
49
- } from './src/shared/icons'
50
-
51
- // Base
52
- export { default as Tag } from './src/components/tag'
53
- export { default as BaseCard } from './src/components/cards/base'
54
- export { default as AudioPlayer } from './src/components/audio-player'
55
- export { default as QuantidadeDesafios } from './src/components/quantidadeDesafios'
56
-
57
- // CARDS
58
- export { default as UserCard } from './src/components/cards/user'
59
- export { default as CalendarCard } from './src/components/calendar'
60
- export { default as BannerProblem } from './src/components/cardLT/BannerProblem'
61
- export { default as MessageBox } from './src/components/cardLT/MessageBox'
62
-
63
- // Buttons
64
- export { default as Button } from './src/components/buttons'
65
- export { default as ButtonGroup } from './src/components/EBR/buttons-group'
66
- export { default as TextField } from './src/components/form-elements/textfield'
67
- export { default as TextArea } from './src/components/form-elements/textarea'
68
- export { default as Avatar } from './src/components/avatar'
69
- export { default as InputComment } from './src/components/input-comment'
70
- export { default as CommentaryBox } from './src/components/commentary-box'
71
- export { default as Checkmark } from './src/components/checkmark'
72
- export { default as ScrollContainer } from './src/components/scroll-container'
73
- export { default as LearningSteps } from './src/components/learning-steps'
74
- export { default as TotalizerCard } from './src/components/totalizer-card'
75
-
76
- // Quasar design system
77
- export { default as Tooltip } from './src/components/DS/tooltip'
78
- export { default as Select } from './src/components/DS/select'
79
- export { default as Modal } from './src/components/DS/modal'
80
- export { default as Loading } from './src/components/DS/loading'
81
-
82
- export { default as SearchField } from './src/components/search-field'
83
- export { default as FilterAccordionCheckbox } from './src/components/filter-accordion-checkbox'
84
-
85
- export { default as ModalStatusProblema } from './src/components/modal/statusProblema'
86
- export { default as ModalLearningTech } from './src/components/modal/modalLearningTech'
87
- export { default as ModalVideo } from './src/components/modal/modalVideo'
88
-
89
- export { default as CardProblemGestor } from './src/components/cards/cardProblemGestor'
90
- export { default as CardProblem } from './src/components/cards/cardProblem'
91
- export { default as CardDefinicaoProblema } from './src/components/cards/cardDefinicaoProblema'
92
- export { default as CardResultConquista } from './src/components/cards/cardResultConquista'
93
-
94
- export { default as ExclusiveClassCard } from './src/components/exclusive-class'
95
- export { default as ConquistaCarrossel } from './src/components/conquistaCarrossel'
96
- export { default as Steps } from './src/components/cardLT/StepsMission/Steps'
97
- export { default as StepsMission } from './src/components/cardLT/StepsMission/StepMission'
98
-
99
- export { default as Rating } from './src/components/EBR/rating'
100
-
101
- export { default as Stepper } from './src/components/EBR/stepper/stepper'
102
- export { default as StepperItem } from './src/components/EBR/stepper/stepperItem'
103
-
104
- export { default as ObjectiveStep } from './src/components/EBR/objective-step'
105
- export { default as SpecialistContact } from './src/components/EBR/specialist-contact'
106
- export { default as GroupStatistics } from './src/components/EBR/group-statistics'
107
- export { default as TrailList } from './src/components/EBR/trail-list'
108
-
109
- export { default as Favorite } from './src/components/IJ/favorite'
110
- export { default as ContentCycle } from './src/components/IJ/ContentCycle'
111
- export { default as ListContentCycle } from './src/components/IJ/ListContentCycle'
112
- export { default as StepLearningCycle } from './src/components/IJ/StepLearningCycle'
113
- export { default as DateRangePicker } from './src/components/IJ/StepLearningCycle'
114
-
115
- // LXP
116
- export { default as AvatarChannel } from './src/components/LXP/avatarChannel'
117
- export { default as AvatarAssociatedChannel } from './src/components/LXP/avatarAssociatedChannel'
118
- export { default as BannerLxp } from './src/components/LXP/bannerLxp'
119
- export { default as ButtonContent } from './src/components/LXP/buttonContent'
120
- export { default as ColorPicker } from './src/components/LXP/colorpicker'
121
- export { default as ContentSwitcher } from './src/components/LXP/contentSwitcher'
122
- export { default as ContentThumbnails } from './src/components/LXP/contentThumbnails'
123
- export { default as FileUpload } from './src/components/LXP/fileUpload'
124
- export { default as HeaderContent } from './src/components/LXP/headerContent'
125
- export { default as PopOver } from './src/components/LXP/popOver'
126
- export { default as PopOverLXP } from './src/components/LXP/popOverLXP-antigo'
127
- export { default as ProgressBar } from './src/components/LXP/progressBar'
128
- export { default as SearchResults } from './src/components/LXP/searchResults'
129
- export { default as StarMetric } from './src/components/LXP/star-metric'
130
- export { default as CalendarLxp } from './src/components/LXP/calendarLxp'
131
- export { default as Video } from './src/components/LXP/video'
132
- export { default as GlobalMenu } from './src/components/global-menu'
133
- export { default as ExtraContent } from './src/components/LXP/extraContent'
134
- export { default as LoginLxp } from './src/components/LXP/login'
135
- export { default as AccordionTrackList } from './src/components/LXP/accordionTrack/accordionTrackList'
136
- export { default as ManageLearningCicles } from './src/components/LXP/manageLerningCicles'
137
- export { default as ThumbnailsDraggable } from './src/components/LXP/thumbnails/thumbnailsDraggable'
138
-
139
- export { default as Thumbnails } from './src/components/LXP/thumbnails/thumbnails'
140
- export { default as SelectLXP } from './src/components/LXP/selectLXP'
141
- export { default as ParticipantThumbnails } from './src/components/LXP/participantThumbnails'
142
- export { default as ParticipantThumbnailsList } from './src/components/LXP/participantThumbnailsList'
143
- //export { default as DropdownSelectMultiple } from './src/components/LXP/DropdownSelectMultiple'
144
-
145
- // FI
146
- export { default as CardTrail } from './src/components/card-trail'
147
- export { default as CardsTrailsCarousel } from './src/components/card-trail-carousel'
148
- export { default as ChallengeCard } from './src/components/challenge-cards'
149
- export { default as SearchBox } from './src/components/FI/searchBox'
150
- export { default as BannerSRG } from './src/components/FI/bannerSRG'
151
- export { default as LateralMenu } from './src/components/lateral-menu'
152
- export { default as BannerProblemFeed } from './src/components/FI/bannerProblemFeed'
153
- export { default as FeedInteraction } from './src/components/FI/feedInteraction'
154
- export { default as SessionFilters } from './src/components/FI/sessionFilters'
155
- export { default as SmallSRGBanner } from './src/components/FI/smallSRGBanner'
156
- export { default as PostFeed } from './src/components/FI/postFeed'
157
- export { default as NotificationCard } from './src/components/FI/notificationCard'
158
- export { default as NotificationPopOver } from './src/components/FI/notificationPopOver'
159
- export { default as InteractionsModal } from './src/components/FI/interactionsModal'
160
-
161
- export { default as Pagination } from './src/components/IJ/pagination'
162
- export { default as ThumbListContent } from './src/components/IJ/thumbListContent'
163
- export { default as ListSelector } from './src/components/IJ/listSelector'
164
- export { default as ParticipantCard } from './src/components/IJ/participantCardOld'
165
- export { default as ParticipantCardNew } from './src/components/IJ/participantCard'
166
- export { default as LearningCycleCard } from './src/components/IJ/learningCycleCard'
167
-
168
- // TP
169
- export { default as HeaderChallenge } from './src/components/headerChallenge'
170
-
171
- // Hall
172
- export { default as LogoFRST } from './src/components/LogoFRST'
173
-
174
- //Demo
175
- export { default as StepController } from './src/components/demo/stepController'
176
-
177
- //Brainstorm
178
- export { default as MenuMore } from './src/components/menu-more'
package/publish.sh DELETED
@@ -1,19 +0,0 @@
1
- #! /bin/sh
2
-
3
- # setup for npm credentials
4
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
5
-
6
-
7
- if [ "$TAG_NEXT" == "true" ]; then
8
- # if we want to publish a testing version
9
- cd /opt/frst/app \
10
- && npm install --unsafe-perm --no-optional \
11
- && npm run build \
12
- && npm publish --tag next
13
- else
14
- # production publish, uses version in package.json
15
- cd /opt/frst/app \
16
- && npm install --unsafe-perm --no-optional \
17
- && npm run build \
18
- && npm publish
19
- fi
package/rollup.config.js DELETED
@@ -1,15 +0,0 @@
1
- import typescript from 'rollup-plugin-typescript2'
2
- import postcss from 'rollup-plugin-postcss'
3
- import image from 'rollup-plugin-img'
4
- import pkg from './package.json'
5
-
6
- // eslint-disable-next-line import/no-anonymous-default-export
7
- export default {
8
- input: './index.tsx',
9
- output: {
10
- file: pkg.main,
11
- format: 'cjs'
12
- },
13
- external: [...Object.keys(pkg.dependencies || {}), ...Object.keys(pkg.peerDependencies || {})],
14
- plugins: [typescript(), postcss({ plugins: [] }), image({ limit: 1000000 })]
15
- }