kahuna-base-react-components 1.0.5 → 1.0.6
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{jsx as t}from"react/jsx-runtime";var n=function(n){return t("button",{disabled:n.disabled,"data-testid":"".concat(n.testIdPrefix),className:"",onClick:function(){},children:t("span",{children:n.label})})},e=function(n){return t("span",{children:n.text})};export{n as KButton,e as KSpan};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
2
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../src/components/KButton/KButton.tsx","../src/components/KSpan/KSpan.tsx"],"sourcesContent":["import React from \"react\";\n\nexport interface KButtonProps {\n testIdPrefix: string;\n label?: string;\n theme: \"primary\" | \"secondary\";\n disabled?: boolean;\n}\n\nconst KButton: React.FC<KButtonProps> = (props) => {\n return (\n <button\n disabled={props.disabled}\n data-testid={`${props.testIdPrefix}`}\n className={``}\n onClick={() => {\n }}\n >\n <span>{props.label}</span>\n </button>\n );\n};\n\nexport default KButton;","import React from \"react\";\n\nexport interface KSpanProps {\n testIdPrefix: string;\n text?: string;\n theme: \"primary\" | \"secondary\";\n}\n\nconst KSpan: React.FC<KSpanProps> = (props) => {\n return (\n <span>{props.text}</span>\n );\n};\n\nexport default KSpan;"],"names":["KButton","props","_jsx","disabled","concat","testIdPrefix","className","onClick","children","label","KSpan","text"],"mappings":"wCASM,IAAAA,EAAkC,SAACC,GACvC,OACEC,EACE,SAAA,CAAAC,SAAUF,EAAME,SACH,cAAA,GAAAC,OAAGH,EAAMI,cACtBC,UAAW,GACXC,QAAS,aACRC,SAEDN,mBAAOD,EAAMQ,SAGnB,ECbMC,EAA8B,SAACT,GACnC,OACEC,EAAO,OAAA,CAAAM,SAAAP,EAAMU,MAEjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/components/KButton/KButton.tsx","../src/components/KSpan/KSpan.tsx"],"sourcesContent":["import React from \"react\";\n\nexport interface KButtonProps {\n testIdPrefix: string;\n label?: string;\n theme: \"primary\" | \"secondary\";\n disabled?: boolean;\n}\n\nconst KButton: React.FC<KButtonProps> = (props) => {\n return (\n <button\n disabled={props.disabled}\n data-testid={`${props.testIdPrefix}`}\n className={``}\n onClick={() => {\n }}\n >\n <span>{props.label}</span>\n </button>\n );\n};\n\nexport default KButton;","import React from \"react\";\n\nexport interface KSpanProps {\n testIdPrefix: string;\n text?: string;\n theme: \"primary\" | \"secondary\";\n}\n\nconst KSpan: React.FC<KSpanProps> = (props) => {\n return (\n <span>{props.text}</span>\n );\n};\n\nexport default KSpan;"],"names":["props","_jsx","disabled","concat","testIdPrefix","className","onClick","children","label","text"],"mappings":"gEASwC,SAACA,GACvC,OACEC,EAAAA,IACE,SAAA,CAAAC,SAAUF,EAAME,SACH,cAAA,GAAAC,OAAGH,EAAMI,cACtBC,UAAW,GACXC,QAAS,aACRC,SAEDN,uBAAOD,EAAMQ,SAGnB,gBCboC,SAACR,GACnC,OACEC,EAAAA,IAAO,OAAA,CAAAM,SAAAP,EAAMS,MAEjB"}
|
package/package.json
CHANGED
package/dist/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/components/KButton/KButton.tsx","../../src/components/KSpan/KSpan.tsx"],"sourcesContent":["import React from \"react\";\n\nexport interface KButtonProps {\n testIdPrefix: string;\n label?: string;\n theme: \"primary\" | \"secondary\";\n disabled?: boolean;\n}\n\nconst KButton: React.FC<KButtonProps> = (props) => {\n return (\n <button\n disabled={props.disabled}\n data-testid={`${props.testIdPrefix}`}\n className={``}\n onClick={() => {\n }}\n >\n <span>{props.label}</span>\n </button>\n );\n};\n\nexport default KButton;","import React from \"react\";\n\nexport interface KSpanProps {\n testIdPrefix: string;\n text?: string;\n theme: \"primary\" | \"secondary\";\n}\n\nconst KSpan: React.FC<KSpanProps> = (props) => {\n return (\n <span>{props.text}</span>\n );\n};\n\nexport default KSpan;"],"names":["props","_jsx","disabled","concat","testIdPrefix","className","onClick","children","label","text"],"mappings":"gEASwC,SAACA,GACvC,OACEC,EAAAA,IACE,SAAA,CAAAC,SAAUF,EAAME,SACH,cAAA,GAAAC,OAAGH,EAAMI,cACtBC,UAAW,GACXC,QAAS,aACRC,SAEDN,uBAAOD,EAAMQ,SAGnB,gBCboC,SAACR,GACnC,OACEC,EAAAA,IAAO,OAAA,CAAAM,SAAAP,EAAMS,MAEjB"}
|
package/dist/esm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/components/KButton/KButton.tsx","../../src/components/KSpan/KSpan.tsx"],"sourcesContent":["import React from \"react\";\n\nexport interface KButtonProps {\n testIdPrefix: string;\n label?: string;\n theme: \"primary\" | \"secondary\";\n disabled?: boolean;\n}\n\nconst KButton: React.FC<KButtonProps> = (props) => {\n return (\n <button\n disabled={props.disabled}\n data-testid={`${props.testIdPrefix}`}\n className={``}\n onClick={() => {\n }}\n >\n <span>{props.label}</span>\n </button>\n );\n};\n\nexport default KButton;","import React from \"react\";\n\nexport interface KSpanProps {\n testIdPrefix: string;\n text?: string;\n theme: \"primary\" | \"secondary\";\n}\n\nconst KSpan: React.FC<KSpanProps> = (props) => {\n return (\n <span>{props.text}</span>\n );\n};\n\nexport default KSpan;"],"names":["KButton","props","_jsx","disabled","concat","testIdPrefix","className","onClick","children","label","KSpan","text"],"mappings":"wCASM,IAAAA,EAAkC,SAACC,GACvC,OACEC,EACE,SAAA,CAAAC,SAAUF,EAAME,SACH,cAAA,GAAAC,OAAGH,EAAMI,cACtBC,UAAW,GACXC,QAAS,aACRC,SAEDN,mBAAOD,EAAMQ,SAGnB,ECbMC,EAA8B,SAACT,GACnC,OACEC,EAAO,OAAA,CAAAM,SAAAP,EAAMU,MAEjB"}
|
|
File without changes
|