@grassus/ui-package 1.0.14 → 1.0.16
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/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Header/Header.d.ts +1 -6
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Header/Header.d.ts +1 -6
- package/dist/index.d.ts +1 -6
- package/package.json +1 -1
- package/Readme.txt +0 -2
package/dist/cjs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react")
|
|
1
|
+
"use strict";var e=require("react");require("antd");!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===n&&r.firstChild?r.insertBefore(a,r.firstChild):r.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}("button {\r\n font-size: 60px;\r\n}\r\n");const t=t=>{const{colorPrimary:n,colorSecondary:r,count:a,delay:o}=t,i=e=>({animationDelay:`${.1*e}s`}),l={width:"10px",height:"70px",display:"inline-block",transformOrigin:"bottom center",borderTopRightRadius:"20px",borderTopLeftRadius:"20px",animation:`animationStepPreloader ${o}s linear infinite`,margin:"2px"};return e.createElement("span",null,e.createElement("style",null,`\n @keyframes animationStepPreloader {\n 0% {\n transform: scaleY(0.1);\n background: ${r};\n }\n 50% {\n transform: scaleY(1);\n background: ${n};\n }\n 100% {\n transform: scaleY(0.1);\n background: ${r};\n }\n }\n `),Array.from(Array(a).keys()).map((t=>e.createElement("div",{key:t,style:Object.assign(Object.assign({},l),i(t))}))))};t.defaultProps={count:8,colorPrimary:"#1677ff",colorSecondary:"transparent",delay:1.2},exports.Header=t=>e.createElement("button",null,t.title),exports.StepPreloader=t,exports.TestInfo=t=>e.createElement("button",null,t.label);
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../node_modules/style-inject/dist/style-inject.es.js","../../src/components/TestInfo/TestInfo.tsx","../../src/components/preloaders/StepPreloader/StepPreloader.tsx","../../src/components/Header/Header.tsx"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null,null,null],"names":["css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","StepPreloader","props","colorPrimary","colorSecondary","count","delay","barItem","item","animationDelay","barStyle1","width","height","display","transformOrigin","borderTopRightRadius","borderTopLeftRadius","animation","margin","React","Array","from","keys","map","key","defaultProps","title","label"],"mappings":"qDAAA,SAAqBA,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAgC,oBAAbC,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBY,CAqB1D,6CCnBA,MCGMe,EAAiBC,IACrB,MAAMC,aAAEA,EAAYC,eAAEA,EAAcC,MAAEA,EAAKC,MAAEA,GAAUJ,EACjDK,EAAWC,IAER,CAAEC,eAAgB,GADR,GAAMD,OAInBE,EAAiC,CACrCC,MAAO,OACPC,OAAQ,OACRC,QAAS,eACTC,gBAAiB,gBACjBC,qBAAsB,OACtBC,oBAAqB,OACrBC,UAAW,0BAA0BX,qBACrCY,OAAQ,OAGV,OACEC,EAAA1B,cAAA,OAAA,KACE0B,EACG1B,cAAA,QAAA,KAAA,uIAImBW,wGAIAD,2GAIAC,4CAKrBgB,MAAMC,KAAKD,MAAMf,GAAOiB,QAAQC,KAAKf,GACpCW,EAAA1B,cAAA,MAAA,CAAK+B,IAAKhB,EAAMhB,qCAAYkB,GAAcH,EAAQC,QAGtD,EAGJP,EAAcwB,aAAe,CAC3BpB,MAAO,EACPF,aAAc,UACdC,eAAgB,cAChBE,MAAO,oBCpCOJ,GACPiB,EAAS1B,cAAA,SAAA,KAAAS,EAAMwB,gDFjBNxB,GACTiB,EAAS1B,cAAA,SAAA,KAAAS,EAAMyB","x_google_ignoreList":[0]}
|
|
@@ -14,10 +14,5 @@ interface IWrapperHeader {
|
|
|
14
14
|
title?: React.CSSProperties;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
declare const Header:
|
|
18
|
-
({ title, level, extra, actions, gap, styles }: IWrapperHeader): React.JSX.Element;
|
|
19
|
-
defaultProps: {
|
|
20
|
-
level: number;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
17
|
+
declare const Header: (props: IWrapperHeader) => React.JSX.Element;
|
|
23
18
|
export default Header;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import
|
|
1
|
+
import e from"react";import"antd";const n=n=>e.createElement("button",null,n.title);!function(e,n){void 0===n&&(n={});var t=n.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===t&&r.firstChild?r.insertBefore(a,r.firstChild):r.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}("button {\r\n font-size: 60px;\r\n}\r\n");const t=n=>e.createElement("button",null,n.label),r=n=>{const{colorPrimary:t,colorSecondary:r,count:a,delay:o}=n,i=e=>({animationDelay:`${.1*e}s`}),l={width:"10px",height:"70px",display:"inline-block",transformOrigin:"bottom center",borderTopRightRadius:"20px",borderTopLeftRadius:"20px",animation:`animationStepPreloader ${o}s linear infinite`,margin:"2px"};return e.createElement("span",null,e.createElement("style",null,`\n @keyframes animationStepPreloader {\n 0% {\n transform: scaleY(0.1);\n background: ${r};\n }\n 50% {\n transform: scaleY(1);\n background: ${t};\n }\n 100% {\n transform: scaleY(0.1);\n background: ${r};\n }\n }\n `),Array.from(Array(a).keys()).map((n=>e.createElement("div",{key:n,style:Object.assign(Object.assign({},l),i(n))}))))};r.defaultProps={count:8,colorPrimary:"#1677ff",colorSecondary:"transparent",delay:1.2};export{n as Header,r as StepPreloader,t as TestInfo};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/components/Header/Header.tsx","../../node_modules/style-inject/dist/style-inject.es.js","../../src/components/TestInfo/TestInfo.tsx","../../src/components/preloaders/StepPreloader/StepPreloader.tsx"],"sourcesContent":[null,"function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null,null],"names":["
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/components/Header/Header.tsx","../../node_modules/style-inject/dist/style-inject.es.js","../../src/components/TestInfo/TestInfo.tsx","../../src/components/preloaders/StepPreloader/StepPreloader.tsx"],"sourcesContent":[null,"function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null,null],"names":["Header","props","React","createElement","title","css","ref","insertAt","document","head","getElementsByTagName","style","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","TestInfo","label","StepPreloader","colorPrimary","colorSecondary","count","delay","barItem","item","animationDelay","barStyle1","width","height","display","transformOrigin","borderTopRightRadius","borderTopLeftRadius","animation","margin","Array","from","keys","map","key","defaultProps"],"mappings":"kCAsBA,MAAMA,EAAUC,GACPC,EAASC,cAAA,SAAA,KAAAF,EAAMG,QCvBxB,SAAqBC,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAgC,oBAAbC,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASL,cAAc,SACnCQ,EAAMC,KAAO,WAEI,QAAbL,GACEE,EAAKI,WACPJ,EAAKK,aAAaH,EAAOF,EAAKI,YAKhCJ,EAAKM,YAAYJ,GAGfA,EAAMK,WACRL,EAAMK,WAAWC,QAAUZ,EAE3BM,EAAMI,YAAYP,SAASU,eAAeb,GAnBY,CAqB1D,6CCnBA,MAAMc,EAAYlB,GACTC,EAASC,cAAA,SAAA,KAAAF,EAAMmB,OCElBC,EAAiBpB,IACrB,MAAMqB,aAAEA,EAAYC,eAAEA,EAAcC,MAAEA,EAAKC,MAAEA,GAAUxB,EACjDyB,EAAWC,IAER,CAAEC,eAAgB,GADR,GAAMD,OAInBE,EAAiC,CACrCC,MAAO,OACPC,OAAQ,OACRC,QAAS,eACTC,gBAAiB,gBACjBC,qBAAsB,OACtBC,oBAAqB,OACrBC,UAAW,0BAA0BX,qBACrCY,OAAQ,OAGV,OACEnC,EAAAC,cAAA,OAAA,KACED,EACGC,cAAA,QAAA,KAAA,uIAImBoB,wGAIAD,2GAIAC,4CAKrBe,MAAMC,KAAKD,MAAMd,GAAOgB,QAAQC,KAAKd,GACpCzB,EAAAC,cAAA,MAAA,CAAKuC,IAAKf,EAAMhB,qCAAYkB,GAAcH,EAAQC,QAGtD,EAGJN,EAAcsB,aAAe,CAC3BnB,MAAO,EACPF,aAAc,UACdC,eAAgB,cAChBE,MAAO","x_google_ignoreList":[1]}
|
|
@@ -14,10 +14,5 @@ interface IWrapperHeader {
|
|
|
14
14
|
title?: React.CSSProperties;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
declare const Header:
|
|
18
|
-
({ title, level, extra, actions, gap, styles }: IWrapperHeader): React.JSX.Element;
|
|
19
|
-
defaultProps: {
|
|
20
|
-
level: number;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
17
|
+
declare const Header: (props: IWrapperHeader) => React.JSX.Element;
|
|
23
18
|
export default Header;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,12 +15,7 @@ interface IWrapperHeader {
|
|
|
15
15
|
title?: React.CSSProperties;
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
declare const Header:
|
|
19
|
-
({ title, level, extra, actions, gap, styles }: IWrapperHeader): React.JSX.Element;
|
|
20
|
-
defaultProps: {
|
|
21
|
-
level: number;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
18
|
+
declare const Header: (props: IWrapperHeader) => React.JSX.Element;
|
|
24
19
|
|
|
25
20
|
interface ITestInfo {
|
|
26
21
|
label: string;
|
package/package.json
CHANGED
package/Readme.txt
DELETED