@pushwoosh/kit-typography 0.0.3 → 1.0.0

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/lib/index.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(n,e){for(var t in e)n[t]=e[t]}(exports,function(n){var e={};function t(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return n[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=n,t.c=e,t.d=function(n,e,i){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:i})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(i,o,function(e){return n[e]}.bind(null,o));return i},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="/",t(t.s=4)}([function(n,e){n.exports=require("@pushwoosh/kit-constants")},function(n,e){n.exports=require("tslib")},function(n,e){n.exports=require("react")},function(n,e){n.exports=require("styled-components")},function(n,e,t){"use strict";t.r(e),t.d(e,"Code",(function(){return m})),t.d(e,"CodeBox",(function(){return u})),t.d(e,"Footnote",(function(){return h})),t.d(e,"FootnoteBox",(function(){return g})),t.d(e,"GlobalStyles",(function(){return b})),t.d(e,"H1",(function(){return O})),t.d(e,"H1Box",(function(){return p})),t.d(e,"H2",(function(){return _})),t.d(e,"H2Box",(function(){return F})),t.d(e,"H3",(function(){return x})),t.d(e,"H3Box",(function(){return N})),t.d(e,"H4",(function(){return w})),t.d(e,"H4Box",(function(){return A})),t.d(e,"H5",(function(){return R})),t.d(e,"H5Box",(function(){return v})),t.d(e,"Paragraph",(function(){return I})),t.d(e,"ParagraphBox",(function(){return G}));var i,o=t(1),r=t(2),a=t.n(r),f=t(3),l=t.n(f),c=t(0),u=l.a.div(i||(i=Object(o.__makeTemplateObject)(["\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MONO,c.FontSize.REGULAR,c.FontWeight.REGULAR,c.LineHeight.REGULAR);u.displayName="CodeBox";var m=Object(r.forwardRef)((function(n,e){return a.a.createElement(u,Object(o.__assign)({},n,{ref:e}))}));m.displayName="Code";var s,g=l.a.div(s||(s=Object(o.__makeTemplateObject)(["\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MAIN,c.FontSize.SMALL,c.FontWeight.REGULAR,c.LineHeight.SMALL);g.displayName="FootnoteBox";var h=Object(r.forwardRef)((function(n,e){return a.a.createElement(g,Object(o.__assign)({},n,{ref:e}))}));h.displayName="Footnote";var d,b=Object(f.createGlobalStyle)(d||(d=Object(o.__makeTemplateObject)(["\n *, *:before, *:after {\n box-sizing: border-box;\n }\n\n body {\n color: ",";\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n button {\n &:not(:disabled) {\n cursor: pointer;\n }\n\n &:focus {\n outline: none;\n }\n }\n"],["\n *, *:before, *:after {\n box-sizing: border-box;\n }\n\n body {\n color: ",";\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n button {\n &:not(:disabled) {\n cursor: pointer;\n }\n\n &:focus {\n outline: none;\n }\n }\n"])),c.Color.MAIN,c.FontFamily.MAIN,c.FontSize.REGULAR,c.FontWeight.REGULAR,c.LineHeight.REGULAR);b.displayName="GlobalStyles";var y,p=l.a.h1(y||(y=Object(o.__makeTemplateObject)(["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MAIN,c.FontSize.HEADING1,c.FontWeight.BOLD,c.LineHeight.HEADING1);p.displayName="H1Box";var O=Object(r.forwardRef)((function(n,e){return a.a.createElement(p,Object(o.__assign)({},n,{ref:e}))}));O.displayName="H1";var j,F=l.a.h2(j||(j=Object(o.__makeTemplateObject)(["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MAIN,c.FontSize.HEADING2,c.FontWeight.BOLD,c.LineHeight.HEADING2);F.displayName="H2Box";var _=Object(r.forwardRef)((function(n,e){return a.a.createElement(F,Object(o.__assign)({},n,{ref:e}))}));_.displayName="H2";var H,N=l.a.h3(H||(H=Object(o.__makeTemplateObject)(["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MAIN,c.FontSize.HEADING3,c.FontWeight.BOLD,c.LineHeight.HEADING3);N.displayName="H3Box";var x=Object(r.forwardRef)((function(n,e){return a.a.createElement(N,Object(o.__assign)({},n,{ref:e}))}));x.displayName="H3";var z,A=l.a.h4(z||(z=Object(o.__makeTemplateObject)(["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MAIN,c.FontSize.HEADING4,c.FontWeight.MEDIUM,c.LineHeight.HEADING4);A.displayName="H4Box";var w=Object(r.forwardRef)((function(n,e){return a.a.createElement(A,Object(o.__assign)({},n,{ref:e}))}));w.displayName="H4";var E,v=l.a.h5(E||(E=Object(o.__makeTemplateObject)(["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MAIN,c.FontSize.HEADING5,c.FontWeight.MEDIUM,c.LineHeight.HEADING5);v.displayName="H5Box";var R=Object(r.forwardRef)((function(n,e){return a.a.createElement(v,Object(o.__assign)({},n,{ref:e}))}));R.displayName="H5";var L,G=l.a.p(L||(L=Object(o.__makeTemplateObject)(["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n\n & + & {\n margin: .5em 0 0;\n }\n"],["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n\n & + & {\n margin: .5em 0 0;\n }\n"])),c.FontFamily.MAIN,c.FontSize.REGULAR,c.FontWeight.REGULAR,c.LineHeight.REGULAR);G.displayName="ParagraphBox";var I=Object(r.forwardRef)((function(n,e){return a.a.createElement(G,Object(o.__assign)({},n,{ref:e}))}));I.displayName="Paragraph"}]));
1
+ !function(n,e){for(var t in e)n[t]=e[t]}(exports,function(n){var e={};function t(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return n[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=n,t.c=e,t.d=function(n,e,o){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:o})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var i in n)t.d(o,i,function(e){return n[e]}.bind(null,i));return o},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="/",t(t.s=4)}([function(n,e){n.exports=require("@pushwoosh/kit-constants")},function(n,e){n.exports=require("tslib")},function(n,e){n.exports=require("react")},function(n,e){n.exports=require("styled-components")},function(n,e,t){"use strict";t.r(e),t.d(e,"Code",(function(){return s})),t.d(e,"CodeBox",(function(){return m})),t.d(e,"Footnote",(function(){return h})),t.d(e,"FootnoteBox",(function(){return g})),t.d(e,"GlobalStyles",(function(){return p})),t.d(e,"H1",(function(){return O})),t.d(e,"H1Box",(function(){return b})),t.d(e,"H2",(function(){return j})),t.d(e,"H2Box",(function(){return H})),t.d(e,"H3",(function(){return _})),t.d(e,"H3Box",(function(){return F})),t.d(e,"H4",(function(){return z})),t.d(e,"H4Box",(function(){return v})),t.d(e,"H5",(function(){return I})),t.d(e,"H5Box",(function(){return E})),t.d(e,"Paragraph",(function(){return L})),t.d(e,"ParagraphBox",(function(){return B}));var o,i=t(1),a=t(2),r=t.n(a),f=t(3),l=t.n(f),c=t(0),m=l.a.div.withConfig({displayName:"CodeBox",componentId:"sc-14m2602-0"})(o||(o=Object(i.__makeTemplateObject)(["\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MONO,c.FontSize.REGULAR,c.FontWeight.REGULAR,c.LineHeight.REGULAR);m.displayName="CodeBox";var s=Object(a.forwardRef)((function(n,e){return r.a.createElement(m,Object(i.__assign)({},n,{ref:e}))}));s.displayName="Code";var u,g=l.a.div.withConfig({displayName:"FootnoteBox",componentId:"sc-1821e7p-0"})(u||(u=Object(i.__makeTemplateObject)(["\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MAIN,c.FontSize.SMALL,c.FontWeight.REGULAR,c.LineHeight.SMALL);g.displayName="FootnoteBox";var h=Object(a.forwardRef)((function(n,e){return r.a.createElement(g,Object(i.__assign)({},n,{ref:e}))}));h.displayName="Footnote";var d,p=Object(f.createGlobalStyle)(d||(d=Object(i.__makeTemplateObject)(["\n *, *:before, *:after {\n box-sizing: border-box;\n }\n\n body {\n color: ",";\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n button {\n &:not(:disabled) {\n cursor: pointer;\n }\n\n &:focus {\n outline: none;\n }\n }\n"],["\n *, *:before, *:after {\n box-sizing: border-box;\n }\n\n body {\n color: ",";\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n button {\n &:not(:disabled) {\n cursor: pointer;\n }\n\n &:focus {\n outline: none;\n }\n }\n"])),c.Color.MAIN,c.FontFamily.MAIN,c.FontSize.REGULAR,c.FontWeight.REGULAR,c.LineHeight.REGULAR);p.displayName="GlobalStyles";var y,b=l.a.h1.withConfig({displayName:"H1Box",componentId:"sc-l11kcw-0"})(y||(y=Object(i.__makeTemplateObject)(["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MAIN,c.FontSize.HEADING1,c.FontWeight.BOLD,c.LineHeight.HEADING1);b.displayName="H1Box";var O=Object(a.forwardRef)((function(n,e){return r.a.createElement(b,Object(i.__assign)({},n,{ref:e}))}));O.displayName="H1";var N,H=l.a.h2.withConfig({displayName:"H2Box",componentId:"sc-etqriv-0"})(N||(N=Object(i.__makeTemplateObject)(["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MAIN,c.FontSize.HEADING2,c.FontWeight.BOLD,c.LineHeight.HEADING2);H.displayName="H2Box";var j=Object(a.forwardRef)((function(n,e){return r.a.createElement(H,Object(i.__assign)({},n,{ref:e}))}));j.displayName="H2";var x,F=l.a.h3.withConfig({displayName:"H3Box",componentId:"sc-sl0v9x-0"})(x||(x=Object(i.__makeTemplateObject)(["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MAIN,c.FontSize.HEADING3,c.FontWeight.BOLD,c.LineHeight.HEADING3);F.displayName="H3Box";var _=Object(a.forwardRef)((function(n,e){return r.a.createElement(F,Object(i.__assign)({},n,{ref:e}))}));_.displayName="H3";var w,v=l.a.h4.withConfig({displayName:"H4Box",componentId:"sc-30i0ka-0"})(w||(w=Object(i.__makeTemplateObject)(["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MAIN,c.FontSize.HEADING4,c.FontWeight.MEDIUM,c.LineHeight.HEADING4);v.displayName="H4Box";var z=Object(a.forwardRef)((function(n,e){return r.a.createElement(v,Object(i.__assign)({},n,{ref:e}))}));z.displayName="H4";var A,E=l.a.h5.withConfig({displayName:"H5Box",componentId:"sc-7v2on0-0"})(A||(A=Object(i.__makeTemplateObject)(["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"],["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),c.FontFamily.MAIN,c.FontSize.HEADING5,c.FontWeight.MEDIUM,c.LineHeight.HEADING5);E.displayName="H5Box";var I=Object(a.forwardRef)((function(n,e){return r.a.createElement(E,Object(i.__assign)({},n,{ref:e}))}));I.displayName="H5";var R,B=l.a.p.withConfig({displayName:"ParagraphBox",componentId:"sc-1b7qsb1-0"})(R||(R=Object(i.__makeTemplateObject)(["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n\n & + & {\n margin: .5em 0 0;\n }\n"],["\n margin: 0;\n\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n\n & + & {\n margin: .5em 0 0;\n }\n"])),c.FontFamily.MAIN,c.FontSize.REGULAR,c.FontWeight.REGULAR,c.LineHeight.REGULAR);B.displayName="ParagraphBox";var L=Object(a.forwardRef)((function(n,e){return r.a.createElement(B,Object(i.__assign)({},n,{ref:e}))}));L.displayName="Paragraph"}]));
2
2
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@pushwoosh/kit-constants\"","webpack:///external \"tslib\"","webpack:///external \"react\"","webpack:///external \"styled-components\"","webpack:///./src/code/code.styled.tsx","webpack:///./src/code/code.component.tsx","webpack:///./src/footnote/footnote.styled.tsx","webpack:///./src/footnote/footnote.component.tsx","webpack:///./src/global-styles/global-styles.component.tsx","webpack:///./src/h1/h1.styled.tsx","webpack:///./src/h1/h1.component.tsx","webpack:///./src/h2/h2.styled.tsx","webpack:///./src/h2/h2.component.tsx","webpack:///./src/h3/h3.styled.tsx","webpack:///./src/h3/h3.component.tsx","webpack:///./src/h4/h4.styled.tsx","webpack:///./src/h4/h4.component.tsx","webpack:///./src/h5/h5.styled.tsx","webpack:///./src/h5/h5.component.tsx","webpack:///./src/paragraph/paragraph.styled.tsx","webpack:///./src/paragraph/paragraph.component.tsx"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","require","CodeBox","div","MONO","REGULAR","displayName","Code","props","$ref","ref","FootnoteBox","MAIN","SMALL","Footnote","GlobalStyles","H1Box","h1","HEADING1","BOLD","H1","H2Box","h2","HEADING2","H2","H3Box","h3","HEADING3","H3","H4Box","h4","HEADING4","MEDIUM","H4","H5Box","h5","HEADING5","H5","ParagraphBox","Paragraph"],"mappings":"6DACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QA0Df,OArDAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OA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AAM+B,EACX,sBACE,SAAC7B,EAAOC,GAAsB,OAC5B,kBAACyB,EAAK,sBAAK1B,EAAK,CAAEE,IADU,QAMlC2B,EAAG/B,YAAc,KCJV,I,EAAMgC,EAAe,IAAOvC,EAAC,4NAGJ,mBACD,qBACI,qBACA,kDAHlB,aAAWa,KACb,WAASP,QACP,aAAWA,QACX,aAAWA,SAO5BiC,EAAahC,YAAc,eCjBpB,IAAMiC,EACX,sBACE,SAAC/B,EAAOC,GAAsB,OAC5B,kBAAC6B,EAAY,sBAAK9B,EAAK,CAAEE,IADG,QAMlC6B,EAAUjC,YAAc","file":"index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 4);\n","module.exports = require(\"@pushwoosh/kit-constants\");","module.exports = require(\"tslib\");","module.exports = require(\"react\");","module.exports = require(\"styled-components\");","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const CodeBox = styled.div`\n font-family: ${FontFamily.MONO};\n font-size: ${FontSize.REGULAR};\n font-weight: ${FontWeight.REGULAR};\n line-height: ${LineHeight.REGULAR};\n`;\n\nCodeBox.displayName = 'CodeBox';\n","import React, { forwardRef } from 'react';\n\nimport { CodeBox } from './code.styled';\nimport { CodeProps } from './code.types';\n\nexport const Code = (\n forwardRef<HTMLDivElement, CodeProps>(\n (props, $ref): JSX.Element => (\n <CodeBox {...props} ref={$ref} />\n ),\n )\n);\n\nCode.displayName = 'Code';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const FootnoteBox = styled.div`\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.SMALL};\n font-weight: ${FontWeight.REGULAR};\n line-height: ${LineHeight.SMALL};\n`;\n\nFootnoteBox.displayName = 'FootnoteBox';\n","import React, { forwardRef } from 'react';\n\nimport { FootnoteBox } from './footnote.styled';\nimport { FootnoteProps } from './footnote.types';\n\nexport const Footnote = (\n forwardRef<HTMLDivElement, FootnoteProps>(\n (props, $ref): JSX.Element => (\n <FootnoteBox {...props} ref={$ref} />\n ),\n )\n);\n\nFootnote.displayName = 'Footnote';\n","import { createGlobalStyle } from 'styled-components';\n\nimport {\n Color,\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const GlobalStyles = createGlobalStyle`\n *, *:before, *:after {\n box-sizing: border-box;\n }\n\n body {\n color: ${Color.MAIN};\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.REGULAR};\n font-weight: ${FontWeight.REGULAR};\n line-height: ${LineHeight.REGULAR};\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n button {\n &:not(:disabled) {\n cursor: pointer;\n }\n\n &:focus {\n outline: none;\n }\n }\n`;\n\nGlobalStyles.displayName = 'GlobalStyles';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const H1Box = styled.h1`\n margin: 0;\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.HEADING1};\n font-weight: ${FontWeight.BOLD};\n line-height: ${LineHeight.HEADING1};\n`;\n\nH1Box.displayName = 'H1Box';\n","import React, { forwardRef } from 'react';\n\nimport { H1Box } from './h1.styled';\nimport { H1Props } from './h1.types';\n\nexport const H1 = (\n forwardRef<HTMLHeadingElement, H1Props>(\n (props, $ref): JSX.Element => (\n <H1Box {...props} ref={$ref} />\n ),\n )\n);\n\nH1.displayName = 'H1';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const H2Box = styled.h2`\n margin: 0;\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.HEADING2};\n font-weight: ${FontWeight.BOLD};\n line-height: ${LineHeight.HEADING2};\n`;\n\nH2Box.displayName = 'H2Box';\n","import React, { forwardRef } from 'react';\n\nimport { H2Box } from './h2.styled';\nimport { H2Props } from './h2.types';\n\nexport const H2 = (\n forwardRef<HTMLHeadingElement, H2Props>(\n (props, $ref): JSX.Element => (\n <H2Box {...props} ref={$ref} />\n ),\n )\n);\n\nH2.displayName = 'H2';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const H3Box = styled.h3`\n margin: 0;\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.HEADING3};\n font-weight: ${FontWeight.BOLD};\n line-height: ${LineHeight.HEADING3};\n`;\n\nH3Box.displayName = 'H3Box';\n","import React, { forwardRef } from 'react';\n\nimport { H3Box } from './h3.styled';\nimport { H3Props } from './h3.types';\n\nexport const H3 = (\n forwardRef<HTMLHeadingElement, H3Props>(\n (props, $ref): JSX.Element => (\n <H3Box {...props} ref={$ref} />\n ),\n )\n);\n\nH3.displayName = 'H3';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const H4Box = styled.h4`\n margin: 0;\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.HEADING4};\n font-weight: ${FontWeight.MEDIUM};\n line-height: ${LineHeight.HEADING4};\n`;\n\nH4Box.displayName = 'H4Box';\n","import React, { forwardRef } from 'react';\n\nimport { H4Box } from './h4.styled';\nimport { H4Props } from './h4.types';\n\nexport const H4 = (\n forwardRef<HTMLHeadingElement, H4Props>(\n (props, $ref): JSX.Element => (\n <H4Box {...props} ref={$ref} />\n ),\n )\n);\n\nH4.displayName = 'H4';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const H5Box = styled.h5`\n margin: 0;\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.HEADING5};\n font-weight: ${FontWeight.MEDIUM};\n line-height: ${LineHeight.HEADING5};\n`;\n\nH5Box.displayName = 'H5Box';\n","import React, { forwardRef } from 'react';\n\nimport { H5Box } from './h5.styled';\nimport { H5Props } from './h5.types';\n\nexport const H5 = (\n forwardRef<HTMLHeadingElement, H5Props>(\n (props, $ref): JSX.Element => (\n <H5Box {...props} ref={$ref} />\n ),\n )\n);\n\nH5.displayName = 'H5';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const ParagraphBox = styled.p`\n margin: 0;\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.REGULAR};\n font-weight: ${FontWeight.REGULAR};\n line-height: ${LineHeight.REGULAR};\n\n & + & {\n margin: .5em 0 0;\n }\n`;\n\nParagraphBox.displayName = 'ParagraphBox';\n","import React, { forwardRef } from 'react';\n\nimport { ParagraphBox } from './paragraph.styled';\nimport { ParagraphProps } from './paragraph.types';\n\nexport const Paragraph = (\n forwardRef<HTMLParagraphElement, ParagraphProps>(\n (props, $ref): JSX.Element => (\n <ParagraphBox {...props} ref={$ref} />\n ),\n )\n);\n\nParagraph.displayName = 'Paragraph';\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@pushwoosh/kit-constants\"","webpack:///external \"tslib\"","webpack:///external \"react\"","webpack:///external \"styled-components\"","webpack:///./src/code/code.styled.tsx","webpack:///./src/code/code.component.tsx","webpack:///./src/footnote/footnote.styled.tsx","webpack:///./src/footnote/footnote.component.tsx","webpack:///./src/global-styles/global-styles.component.tsx","webpack:///./src/h1/h1.styled.tsx","webpack:///./src/h1/h1.component.tsx","webpack:///./src/h2/h2.styled.tsx","webpack:///./src/h2/h2.component.tsx","webpack:///./src/h3/h3.styled.tsx","webpack:///./src/h3/h3.component.tsx","webpack:///./src/h4/h4.styled.tsx","webpack:///./src/h4/h4.component.tsx","webpack:///./src/h5/h5.styled.tsx","webpack:///./src/h5/h5.component.tsx","webpack:///./src/paragraph/paragraph.styled.tsx","webpack:///./src/paragraph/paragraph.component.tsx"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","require","CodeBox","div","MONO","REGULAR","displayName","Code","props","$ref","ref","FootnoteBox","MAIN","SMALL","Footnote","GlobalStyles","H1Box","h1","HEADING1","BOLD","H1","H2Box","h2","HEADING2","H2","H3Box","h3","HEADING3","H3","H4Box","h4","HEADING4","MEDIUM","H4","H5Box","h5","HEADING5","H5","ParagraphBox","Paragraph"],"mappings":"6DACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QA0Df,OArDAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,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AACpB,EAAOC,GAAsB,OAC5B,kBAACgB,EAAK,sBAAKjB,EAAK,CAAEE,IADU,QAMlCkB,EAAGtB,YAAc,KCJV,I,EAAMuB,EAAQ,IAAOC,GAAV,2DAAG,CAAS,mLAGE,mBACA,qBACE,qBACE,SAHnB,aAAWlB,KACb,WAASmB,SACP,aAAWC,OACX,aAAWD,UAG5BF,EAAMvB,YAAc,QCbb,IAAM2B,EACX,sBACE,SAACzB,EAAOC,GAAsB,OAC5B,kBAACoB,EAAK,sBAAKrB,EAAK,CAAEE,IADU,QAMlCuB,EAAG3B,YAAc,KCJV,I,EAAM4B,EAAQ,IAAOC,GAAV,2DAAG,CAAS,mLAGE,mBACA,qBACE,qBACE,SAHnB,aAAWvB,KACb,WAASwB,SACP,aAAWJ,OACX,aAAWI,UAG5BF,EAAM5B,YAAc,QCbb,IAAM+B,EACX,sBACE,SAAC7B,EAAOC,GAAsB,OAC5B,kBAACyB,EAAK,sBAAK1B,EAAK,CAAEE,IADU,QAMlC2B,EAAG/B,YAAc,KCJV,I,EAAMgC,EAAe,IAAOvC,EAAV,mEAAG,CAAQ,4NAGJ,mBACD,qBACI,qBACA,kDAHlB,aAAWa,KACb,WAASP,QACP,aAAWA,QACX,aAAWA,SAO5BiC,EAAahC,YAAc,eCjBpB,IAAMiC,EACX,sBACE,SAAC/B,EAAOC,GAAsB,OAC5B,kBAAC6B,EAAY,sBAAK9B,EAAK,CAAEE,IADG,QAMlC6B,EAAUjC,YAAc","file":"index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 4);\n","module.exports = require(\"@pushwoosh/kit-constants\");","module.exports = require(\"tslib\");","module.exports = require(\"react\");","module.exports = require(\"styled-components\");","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const CodeBox = styled.div`\n font-family: ${FontFamily.MONO};\n font-size: ${FontSize.REGULAR};\n font-weight: ${FontWeight.REGULAR};\n line-height: ${LineHeight.REGULAR};\n`;\n\nCodeBox.displayName = 'CodeBox';\n","import React, { forwardRef } from 'react';\n\nimport { CodeBox } from './code.styled';\nimport { CodeProps } from './code.types';\n\nexport const Code = (\n forwardRef<HTMLDivElement, CodeProps>(\n (props, $ref): JSX.Element => (\n <CodeBox {...props} ref={$ref} />\n ),\n )\n);\n\nCode.displayName = 'Code';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const FootnoteBox = styled.div`\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.SMALL};\n font-weight: ${FontWeight.REGULAR};\n line-height: ${LineHeight.SMALL};\n`;\n\nFootnoteBox.displayName = 'FootnoteBox';\n","import React, { forwardRef } from 'react';\n\nimport { FootnoteBox } from './footnote.styled';\nimport { FootnoteProps } from './footnote.types';\n\nexport const Footnote = (\n forwardRef<HTMLDivElement, FootnoteProps>(\n (props, $ref): JSX.Element => (\n <FootnoteBox {...props} ref={$ref} />\n ),\n )\n);\n\nFootnote.displayName = 'Footnote';\n","import { createGlobalStyle } from 'styled-components';\n\nimport {\n Color,\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const GlobalStyles = createGlobalStyle`\n *, *:before, *:after {\n box-sizing: border-box;\n }\n\n body {\n color: ${Color.MAIN};\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.REGULAR};\n font-weight: ${FontWeight.REGULAR};\n line-height: ${LineHeight.REGULAR};\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n button {\n &:not(:disabled) {\n cursor: pointer;\n }\n\n &:focus {\n outline: none;\n }\n }\n`;\n\nGlobalStyles.displayName = 'GlobalStyles';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const H1Box = styled.h1`\n margin: 0;\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.HEADING1};\n font-weight: ${FontWeight.BOLD};\n line-height: ${LineHeight.HEADING1};\n`;\n\nH1Box.displayName = 'H1Box';\n","import React, { forwardRef } from 'react';\n\nimport { H1Box } from './h1.styled';\nimport { H1Props } from './h1.types';\n\nexport const H1 = (\n forwardRef<HTMLHeadingElement, H1Props>(\n (props, $ref): JSX.Element => (\n <H1Box {...props} ref={$ref} />\n ),\n )\n);\n\nH1.displayName = 'H1';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const H2Box = styled.h2`\n margin: 0;\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.HEADING2};\n font-weight: ${FontWeight.BOLD};\n line-height: ${LineHeight.HEADING2};\n`;\n\nH2Box.displayName = 'H2Box';\n","import React, { forwardRef } from 'react';\n\nimport { H2Box } from './h2.styled';\nimport { H2Props } from './h2.types';\n\nexport const H2 = (\n forwardRef<HTMLHeadingElement, H2Props>(\n (props, $ref): JSX.Element => (\n <H2Box {...props} ref={$ref} />\n ),\n )\n);\n\nH2.displayName = 'H2';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const H3Box = styled.h3`\n margin: 0;\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.HEADING3};\n font-weight: ${FontWeight.BOLD};\n line-height: ${LineHeight.HEADING3};\n`;\n\nH3Box.displayName = 'H3Box';\n","import React, { forwardRef } from 'react';\n\nimport { H3Box } from './h3.styled';\nimport { H3Props } from './h3.types';\n\nexport const H3 = (\n forwardRef<HTMLHeadingElement, H3Props>(\n (props, $ref): JSX.Element => (\n <H3Box {...props} ref={$ref} />\n ),\n )\n);\n\nH3.displayName = 'H3';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const H4Box = styled.h4`\n margin: 0;\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.HEADING4};\n font-weight: ${FontWeight.MEDIUM};\n line-height: ${LineHeight.HEADING4};\n`;\n\nH4Box.displayName = 'H4Box';\n","import React, { forwardRef } from 'react';\n\nimport { H4Box } from './h4.styled';\nimport { H4Props } from './h4.types';\n\nexport const H4 = (\n forwardRef<HTMLHeadingElement, H4Props>(\n (props, $ref): JSX.Element => (\n <H4Box {...props} ref={$ref} />\n ),\n )\n);\n\nH4.displayName = 'H4';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const H5Box = styled.h5`\n margin: 0;\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.HEADING5};\n font-weight: ${FontWeight.MEDIUM};\n line-height: ${LineHeight.HEADING5};\n`;\n\nH5Box.displayName = 'H5Box';\n","import React, { forwardRef } from 'react';\n\nimport { H5Box } from './h5.styled';\nimport { H5Props } from './h5.types';\n\nexport const H5 = (\n forwardRef<HTMLHeadingElement, H5Props>(\n (props, $ref): JSX.Element => (\n <H5Box {...props} ref={$ref} />\n ),\n )\n);\n\nH5.displayName = 'H5';\n","import styled from 'styled-components';\n\nimport {\n FontFamily,\n FontSize,\n FontWeight,\n LineHeight,\n} from '@pushwoosh/kit-constants';\n\nexport const ParagraphBox = styled.p`\n margin: 0;\n\n font-family: ${FontFamily.MAIN};\n font-size: ${FontSize.REGULAR};\n font-weight: ${FontWeight.REGULAR};\n line-height: ${LineHeight.REGULAR};\n\n & + & {\n margin: .5em 0 0;\n }\n`;\n\nParagraphBox.displayName = 'ParagraphBox';\n","import React, { forwardRef } from 'react';\n\nimport { ParagraphBox } from './paragraph.styled';\nimport { ParagraphProps } from './paragraph.types';\n\nexport const Paragraph = (\n forwardRef<HTMLParagraphElement, ParagraphProps>(\n (props, $ref): JSX.Element => (\n <ParagraphBox {...props} ref={$ref} />\n ),\n )\n);\n\nParagraph.displayName = 'Paragraph';\n"],"sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/kit-typography",
3
- "version": "0.0.3",
3
+ "version": "1.0.0",
4
4
  "description": "React component for build Pushwoosh products",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -19,56 +19,57 @@
19
19
  "pre-commit": "check",
20
20
  "dependencies": {},
21
21
  "devDependencies": {
22
- "@babel/core": "^7.13.14",
23
- "@babel/plugin-transform-runtime": "^7.13.10",
24
- "@babel/preset-env": "^7.13.12",
25
- "@babel/runtime-corejs3": "^7.13.10",
26
- "@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
27
- "@pushwoosh/kit-constants": "< 1.0.0",
28
- "@types/jest": "^26.0.22",
29
- "@types/react": "^16.14.5",
30
- "@types/react-dom": "^16.9.12",
31
- "@types/styled-components": "^5.1.9",
32
- "@types/webpack-env": "^1.16.0",
33
- "@typescript-eslint/eslint-plugin": "^4.20.0",
34
- "@typescript-eslint/parser": "^4.20.0",
35
- "babel-loader": "^8.2.2",
22
+ "@babel/core": "^7.15.8",
23
+ "@babel/plugin-transform-runtime": "^7.15.8",
24
+ "@babel/preset-env": "^7.15.8",
25
+ "@babel/runtime-corejs3": "^7.15.4",
26
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
27
+ "@pushwoosh/kit-constants": "^1.0.0",
28
+ "@types/jest": "^26.0.24",
29
+ "@types/react": "^16.14.20",
30
+ "@types/react-dom": "^16.9.14",
31
+ "@types/styled-components": "^5.1.15",
32
+ "@types/webpack-env": "^1.16.3",
33
+ "@typescript-eslint/eslint-plugin": "^4.33.0",
34
+ "@typescript-eslint/parser": "^4.33.0",
35
+ "babel-loader": "^8.2.3",
36
+ "babel-plugin-styled-components": "^1.13.3",
36
37
  "clean-webpack-plugin": "^3.0.0",
37
- "core-js": "^3.10.0",
38
+ "core-js": "^3.19.0",
38
39
  "cross-env": "^7.0.3",
39
- "dotenv": "^8.2.0",
40
- "eslint": "^7.23.0",
40
+ "dotenv": "^10.0.0",
41
+ "eslint": "^7.32.0",
41
42
  "eslint-config-airbnb": "^18.2.1",
42
- "eslint-config-airbnb-typescript": "^12.3.1",
43
+ "eslint-config-airbnb-typescript": "^14.0.1",
43
44
  "eslint-import-resolver-alias": "^1.1.2",
44
- "eslint-plugin-import": "^2.22.1",
45
+ "eslint-plugin-import": "^2.25.2",
45
46
  "eslint-plugin-jsx-a11y": "^6.4.1",
46
- "eslint-plugin-react": "^7.23.1",
47
+ "eslint-plugin-react": "^7.26.1",
47
48
  "eslint-plugin-react-hooks": "^4.2.0",
48
49
  "html-webpack-plugin": "^4.5.2",
49
50
  "jest": "^26.6.3",
50
51
  "pre-commit": "^1.2.2",
51
52
  "react": "^16.14.0",
52
53
  "react-dom": "^16.14.0",
53
- "react-refresh": "^0.9.0",
54
- "styled-components": "^5.2.3",
54
+ "react-refresh": "^0.10.0",
55
+ "styled-components": "^5.3.3",
55
56
  "terser-webpack-plugin": "^4.2.3",
56
- "ts-jest": "^26.5.4",
57
- "ts-loader": "^8.0.17",
58
- "tslib": "^2.1.0",
59
- "typescript": "^4.2.3",
57
+ "ts-jest": "^26.5.6",
58
+ "ts-loader": "^8.3.0",
59
+ "tslib": "^2.3.1",
60
+ "typescript": "^4.4.4",
60
61
  "webpack": "^4.46.0",
61
62
  "webpack-cli": "^3.3.12",
62
63
  "webpack-dev-server": "^3.11.2",
63
- "webpack-merge": "^5.7.3"
64
+ "webpack-merge": "^5.8.0"
64
65
  },
65
66
  "peerDependencies": {
66
- "@babel/runtime-corejs3": "^7.13.10",
67
- "@pushwoosh/kit-constants": "< 1.0.0",
68
- "core-js": "^3.10.0",
67
+ "@babel/runtime-corejs3": "^7.15.4",
68
+ "@pushwoosh/kit-constants": "^1.0.0",
69
+ "core-js": "^3.19.0",
69
70
  "react": "^16.14.0",
70
- "styled-components": "^5.2.3",
71
- "tslib": "^2.1.0"
71
+ "styled-components": "^5.3.3",
72
+ "tslib": "^2.3.1"
72
73
  },
73
74
  "engines": {
74
75
  "node": ">= 12"