@houheaven/kit-react 0.0.1 → 0.0.3
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/LICENSE +21 -0
- package/package.json +24 -14
- package/dist/chunks/hh-footer-C0Z5LWq4.cjs +0 -2
- package/dist/chunks/hh-footer-C0Z5LWq4.cjs.map +0 -1
- package/dist/chunks/hh-footer-DpTB7XQN.js +0 -96
- package/dist/chunks/hh-footer-DpTB7XQN.js.map +0 -1
- package/dist/chunks/hh-image-dialog-CMDgnirq.cjs +0 -2
- package/dist/chunks/hh-image-dialog-CMDgnirq.cjs.map +0 -1
- package/dist/chunks/hh-image-dialog-DVgO5_gN.js +0 -52
- package/dist/chunks/hh-image-dialog-DVgO5_gN.js.map +0 -1
- package/dist/hh-footer/index.cjs +0 -2
- package/dist/hh-footer/index.cjs.map +0 -1
- package/dist/hh-footer/index.js +0 -6
- package/dist/hh-footer/index.js.map +0 -1
- package/dist/hh-footer/style.css +0 -1
- package/dist/hh-image-dialog/index.cjs +0 -2
- package/dist/hh-image-dialog/index.cjs.map +0 -1
- package/dist/hh-image-dialog/index.js +0 -6
- package/dist/hh-image-dialog/index.js.map +0 -1
- package/dist/hh-image-dialog/style.css +0 -1
- package/dist/index.cjs +0 -2
- package/dist/index.cjs.map +0 -1
- package/dist/index.js +0 -20
- package/dist/index.js.map +0 -1
- package/dist/stats.html +0 -5305
package/dist/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { H as s } from "./chunks/hh-footer-DpTB7XQN.js";
|
|
2
|
-
import { H as v } from "./chunks/hh-image-dialog-DVgO5_gN.js";
|
|
3
|
-
var n = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M15 18l-6-6 6-6"/></svg>', l = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M20 6L9 17l-5-5"/></svg>', a = {
|
|
4
|
-
arrowLeft: n,
|
|
5
|
-
check: l
|
|
6
|
-
}, c = ({ name: r, size: e = 24, style: o }) => {
|
|
7
|
-
const t = {
|
|
8
|
-
width: typeof e == "number" ? `${e}px` : e,
|
|
9
|
-
height: typeof e == "number" ? `${e}px` : e,
|
|
10
|
-
display: "inline-flex",
|
|
11
|
-
...o
|
|
12
|
-
};
|
|
13
|
-
return /* @__PURE__ */ React.createElement("span", { dangerouslySetInnerHTML: { __html: a[r] }, style: t });
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
s as HhFooter,
|
|
17
|
-
v as HhImageDialog,
|
|
18
|
-
c as Icon
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../kit-icons/dist/chunk-CVZJH7CQ.js","../../kit-icons/dist/react/index.js"],"sourcesContent":["// src/index.ts\nvar iconArrowLeft = '<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M15 18l-6-6 6-6\"/></svg>';\nvar iconCheck = '<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M20 6L9 17l-5-5\"/></svg>';\nvar icons = {\n \"arrowLeft\": iconArrowLeft,\n \"check\": iconCheck\n};\n\nexport {\n iconArrowLeft,\n iconCheck,\n icons\n};\n//# sourceMappingURL=chunk-CVZJH7CQ.js.map","import {\n icons\n} from \"../chunk-CVZJH7CQ.js\";\n\n// src/react/index.tsx\nvar Icon = ({ name, size = 24, style }) => {\n const mergedStyle = {\n width: typeof size === \"number\" ? `${size}px` : size,\n height: typeof size === \"number\" ? `${size}px` : size,\n display: \"inline-flex\",\n ...style\n };\n return /* @__PURE__ */ React.createElement(\"span\", { dangerouslySetInnerHTML: { __html: icons[name] }, style: mergedStyle });\n};\nexport {\n Icon\n};\n//# sourceMappingURL=index.js.map"],"names":["iconArrowLeft","iconCheck","icons","Icon","name","size","style","mergedStyle"],"mappings":";;AACA,IAAIA,IAAgB,iHAChBC,IAAY,iHACZC,IAAQ;AAAA,EACV,WAAaF;AAAA,EACb,OAASC;AACX,GCDIE,IAAO,CAAC,EAAE,MAAAC,GAAM,MAAAC,IAAO,IAAI,OAAAC,EAAK,MAAO;AACzC,QAAMC,IAAc;AAAA,IAClB,OAAO,OAAOF,KAAS,WAAW,GAAGA,CAAI,OAAOA;AAAA,IAChD,QAAQ,OAAOA,KAAS,WAAW,GAAGA,CAAI,OAAOA;AAAA,IACjD,SAAS;AAAA,IACT,GAAGC;AAAA,EACP;AACE,SAAuB,sBAAM,cAAc,QAAQ,EAAE,yBAAyB,EAAE,QAAQJ,EAAME,CAAI,EAAC,GAAI,OAAOG,EAAW,CAAE;AAC7H;"}
|