Skip to content

Commit

Permalink
deploy: bfe17d6
Browse files Browse the repository at this point in the history
  • Loading branch information
marherb committed May 6, 2024
1 parent 3cce63a commit 6f057fe
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ function CusIconButton({
type = "solid",
disabled,
style = {},
importantClassName
importantClassName,
originProps = {}
}) {
const ref = reactExports.useRef(null);
const isHovering = useHover(ref);
Expand All @@ -191,6 +192,7 @@ function CusIconButton({
className: importantClassName,
disabled,
onClick,
...originProps,
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
CusComIcon,
{
Expand Down Expand Up @@ -286,7 +288,7 @@ function CusModal(props) {
maskClosable: !props.loading,
open: props.open,
onCancel: props.onCancel,
...props.modalProps || {},
...props.originProps || {},
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Spin, { spinning: props.loading || false, tip: props.loadingText, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "com-cusmodal-content", children: props.children }) })
}
);
Expand All @@ -301,7 +303,8 @@ function CusButton({
onClick,
importantClassName,
leftIcon,
rightIcon
rightIcon,
originProps = {}
}) {
const ref = reactExports.useRef(null);
const isHovering = useHover(ref);
Expand Down Expand Up @@ -330,6 +333,7 @@ function CusButton({
disabled,
block,
onClick,
...originProps,
children: [
!!leftIcon && /* @__PURE__ */ jsxRuntimeExports.jsx(
CusComIcon,
Expand Down Expand Up @@ -530,7 +534,8 @@ function CusInput({
type = "text",
leftIcon,
rightIcon,
state = "default"
state = "default",
originProps = {}
}) {
const ref = reactExports.useRef(null);
const isHovering = useHover(ref);
Expand Down Expand Up @@ -637,7 +642,8 @@ function CusInput({
border: "none",
...inputStyle
},
placeholder
placeholder,
...originProps
}
),
!!rightIcon && /* @__PURE__ */ jsxRuntimeExports.jsx(
Expand All @@ -656,7 +662,8 @@ function CusInput({
function CusTextArea({
size = "m",
placeholder,
style = {}
style = {},
originProps = {}
}) {
return /* @__PURE__ */ jsxRuntimeExports.jsx(
Input.TextArea,
Expand All @@ -673,7 +680,8 @@ function CusTextArea({
...style
},
placeholder,
rows: 3
rows: 3,
...originProps
}
);
}
Expand Down
4 changes: 2 additions & 2 deletions assets/index-CRjhk3ww.js → assets/index-DEMxjcGj.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const __vite__fileDeps=["./_virtual_cosmos-imports-7r0fzwp3.js","./vendors-hlgHDHLT.js","./_virtual_cosmos-imports-DbKXlXPP.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
const __vite__fileDeps=["./_virtual_cosmos-imports-DWufKys4.js","./vendors-hlgHDHLT.js","./_virtual_cosmos-imports-DbKXlXPP.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
import { m as mountDomRenderer } from "./vendors-hlgHDHLT.js";
(function polyfill() {
const relList = document.createElement("link").relList;
Expand Down Expand Up @@ -100,6 +100,6 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
};
mount();
async function mount() {
const args = await __vitePreload(() => import("./_virtual_cosmos-imports-7r0fzwp3.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
const args = await __vitePreload(() => import("./_virtual_cosmos-imports-DWufKys4.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
mountDomRenderer(args);
}
2 changes: 1 addition & 1 deletion renderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<script type="module" crossorigin src="./assets/index-CRjhk3ww.js"></script>
<script type="module" crossorigin src="./assets/index-DEMxjcGj.js"></script>
<link rel="modulepreload" crossorigin href="./assets/vendors-hlgHDHLT.js">
</head>
<body style="background-color: #282828;">
Expand Down

0 comments on commit 6f057fe

Please sign in to comment.