@nr1e/qwik-ui 0.0.5 → 0.0.7
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/components/alert-error.qwik.cjs +20 -0
- package/lib/components/alert-error.qwik.mjs +20 -0
- package/lib/components/alert-info.qwik.cjs +20 -0
- package/lib/components/alert-info.qwik.mjs +20 -0
- package/lib/components/alert-success.qwik.cjs +20 -0
- package/lib/components/alert-success.qwik.mjs +20 -0
- package/lib/components/alert-warning.qwik.cjs +20 -0
- package/lib/components/alert-warning.qwik.mjs +20 -0
- package/lib/index.qwik.cjs +8 -0
- package/lib/index.qwik.mjs +8 -0
- package/lib/qwik-icons/lib/components/icons/mdi-check-circle-outline.qwik.qwik.cjs +16 -0
- package/lib/qwik-icons/lib/components/icons/mdi-check-circle-outline.qwik.qwik.mjs +16 -0
- package/lib/qwik-icons/lib/components/icons/mdi-error-outline.qwik.qwik.cjs +16 -0
- package/lib/qwik-icons/lib/components/icons/mdi-error-outline.qwik.qwik.mjs +16 -0
- package/lib/qwik-icons/lib/components/icons/mdi-information-outline.qwik.qwik.cjs +16 -0
- package/lib/qwik-icons/lib/components/icons/mdi-information-outline.qwik.qwik.mjs +16 -0
- package/lib/qwik-icons/lib/components/icons/mdi-warning-outline.qwik.qwik.cjs +16 -0
- package/lib/qwik-icons/lib/components/icons/mdi-warning-outline.qwik.qwik.mjs +16 -0
- package/lib/qwik-icons/lib/components/svg.qwik.qwik.cjs +25 -0
- package/lib/qwik-icons/lib/components/svg.qwik.qwik.mjs +25 -0
- package/lib-types/components/alert-error.d.ts +4 -0
- package/lib-types/components/alert-info.d.ts +4 -0
- package/lib-types/components/alert-success.d.ts +4 -0
- package/lib-types/components/alert-warning.d.ts +4 -0
- package/lib-types/index.d.ts +4 -0
- package/lib-types/root.d.ts +1 -1
- package/lib-types/universal-layout-demo.d.ts +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
|
+
const qwik = require("@builder.io/qwik");
|
|
5
|
+
const mdiErrorOutline_qwik = require("../qwik-icons/lib/components/icons/mdi-error-outline.qwik.qwik.cjs");
|
|
6
|
+
const AlertError = qwik.component$((props) => {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
8
|
+
role: "alert",
|
|
9
|
+
class: "alert alert-error",
|
|
10
|
+
children: [
|
|
11
|
+
/* @__PURE__ */ jsxRuntime.jsx(mdiErrorOutline_qwik.MdiErrorOutline, {
|
|
12
|
+
size: 24
|
|
13
|
+
}),
|
|
14
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
15
|
+
children: props.message
|
|
16
|
+
})
|
|
17
|
+
]
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
exports.AlertError = AlertError;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsxs, jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
+
import { component$ } from "@builder.io/qwik";
|
|
3
|
+
import { MdiErrorOutline } from "../qwik-icons/lib/components/icons/mdi-error-outline.qwik.qwik.mjs";
|
|
4
|
+
const AlertError = component$((props) => {
|
|
5
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
6
|
+
role: "alert",
|
|
7
|
+
class: "alert alert-error",
|
|
8
|
+
children: [
|
|
9
|
+
/* @__PURE__ */ jsx(MdiErrorOutline, {
|
|
10
|
+
size: 24
|
|
11
|
+
}),
|
|
12
|
+
/* @__PURE__ */ jsx("span", {
|
|
13
|
+
children: props.message
|
|
14
|
+
})
|
|
15
|
+
]
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
AlertError
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
|
+
const qwik = require("@builder.io/qwik");
|
|
5
|
+
const mdiInformationOutline_qwik = require("../qwik-icons/lib/components/icons/mdi-information-outline.qwik.qwik.cjs");
|
|
6
|
+
const AlertInfo = qwik.component$((props) => {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
8
|
+
role: "alert",
|
|
9
|
+
class: "alert alert-info",
|
|
10
|
+
children: [
|
|
11
|
+
/* @__PURE__ */ jsxRuntime.jsx(mdiInformationOutline_qwik.MdiInformationOutline, {
|
|
12
|
+
size: 24
|
|
13
|
+
}),
|
|
14
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
15
|
+
children: props.message
|
|
16
|
+
})
|
|
17
|
+
]
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
exports.AlertInfo = AlertInfo;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsxs, jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
+
import { component$ } from "@builder.io/qwik";
|
|
3
|
+
import { MdiInformationOutline } from "../qwik-icons/lib/components/icons/mdi-information-outline.qwik.qwik.mjs";
|
|
4
|
+
const AlertInfo = component$((props) => {
|
|
5
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
6
|
+
role: "alert",
|
|
7
|
+
class: "alert alert-info",
|
|
8
|
+
children: [
|
|
9
|
+
/* @__PURE__ */ jsx(MdiInformationOutline, {
|
|
10
|
+
size: 24
|
|
11
|
+
}),
|
|
12
|
+
/* @__PURE__ */ jsx("span", {
|
|
13
|
+
children: props.message
|
|
14
|
+
})
|
|
15
|
+
]
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
AlertInfo
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
|
+
const qwik = require("@builder.io/qwik");
|
|
5
|
+
const mdiCheckCircleOutline_qwik = require("../qwik-icons/lib/components/icons/mdi-check-circle-outline.qwik.qwik.cjs");
|
|
6
|
+
const AlertSuccess = qwik.component$((props) => {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
8
|
+
role: "alert",
|
|
9
|
+
class: "alert alert-success",
|
|
10
|
+
children: [
|
|
11
|
+
/* @__PURE__ */ jsxRuntime.jsx(mdiCheckCircleOutline_qwik.MdiCheckCircleOutline, {
|
|
12
|
+
size: 24
|
|
13
|
+
}),
|
|
14
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
15
|
+
children: props.message
|
|
16
|
+
})
|
|
17
|
+
]
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
exports.AlertSuccess = AlertSuccess;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsxs, jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
+
import { component$ } from "@builder.io/qwik";
|
|
3
|
+
import { MdiCheckCircleOutline } from "../qwik-icons/lib/components/icons/mdi-check-circle-outline.qwik.qwik.mjs";
|
|
4
|
+
const AlertSuccess = component$((props) => {
|
|
5
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
6
|
+
role: "alert",
|
|
7
|
+
class: "alert alert-success",
|
|
8
|
+
children: [
|
|
9
|
+
/* @__PURE__ */ jsx(MdiCheckCircleOutline, {
|
|
10
|
+
size: 24
|
|
11
|
+
}),
|
|
12
|
+
/* @__PURE__ */ jsx("span", {
|
|
13
|
+
children: props.message
|
|
14
|
+
})
|
|
15
|
+
]
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
AlertSuccess
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
|
+
const qwik = require("@builder.io/qwik");
|
|
5
|
+
const mdiWarningOutline_qwik = require("../qwik-icons/lib/components/icons/mdi-warning-outline.qwik.qwik.cjs");
|
|
6
|
+
const AlertWarning = qwik.component$((props) => {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
8
|
+
role: "alert",
|
|
9
|
+
class: "alert alert-warning",
|
|
10
|
+
children: [
|
|
11
|
+
/* @__PURE__ */ jsxRuntime.jsx(mdiWarningOutline_qwik.MdiWarningOutline, {
|
|
12
|
+
size: 24
|
|
13
|
+
}),
|
|
14
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
15
|
+
children: props.message
|
|
16
|
+
})
|
|
17
|
+
]
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
exports.AlertWarning = AlertWarning;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsxs, jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
+
import { component$ } from "@builder.io/qwik";
|
|
3
|
+
import { MdiWarningOutline } from "../qwik-icons/lib/components/icons/mdi-warning-outline.qwik.qwik.mjs";
|
|
4
|
+
const AlertWarning = component$((props) => {
|
|
5
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
6
|
+
role: "alert",
|
|
7
|
+
class: "alert alert-warning",
|
|
8
|
+
children: [
|
|
9
|
+
/* @__PURE__ */ jsx(MdiWarningOutline, {
|
|
10
|
+
size: 24
|
|
11
|
+
}),
|
|
12
|
+
/* @__PURE__ */ jsx("span", {
|
|
13
|
+
children: props.message
|
|
14
|
+
})
|
|
15
|
+
]
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
AlertWarning
|
|
20
|
+
};
|
package/lib/index.qwik.cjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const alertError = require("./components/alert-error.qwik.cjs");
|
|
4
|
+
const alertInfo = require("./components/alert-info.qwik.cjs");
|
|
5
|
+
const alertSuccess = require("./components/alert-success.qwik.cjs");
|
|
6
|
+
const alertWarning = require("./components/alert-warning.qwik.cjs");
|
|
3
7
|
const paceBar = require("./components/pace-bar.qwik.cjs");
|
|
4
8
|
const universalLayout = require("./components/universal-layout.qwik.cjs");
|
|
9
|
+
exports.AlertError = alertError.AlertError;
|
|
10
|
+
exports.AlertInfo = alertInfo.AlertInfo;
|
|
11
|
+
exports.AlertSuccess = alertSuccess.AlertSuccess;
|
|
12
|
+
exports.AlertWarning = alertWarning.AlertWarning;
|
|
5
13
|
exports.PaceBar = paceBar.PaceBar;
|
|
6
14
|
exports.UniversalLayout = universalLayout.UniversalLayout;
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
+
import { AlertError } from "./components/alert-error.qwik.mjs";
|
|
2
|
+
import { AlertInfo } from "./components/alert-info.qwik.mjs";
|
|
3
|
+
import { AlertSuccess } from "./components/alert-success.qwik.mjs";
|
|
4
|
+
import { AlertWarning } from "./components/alert-warning.qwik.mjs";
|
|
1
5
|
import { PaceBar } from "./components/pace-bar.qwik.mjs";
|
|
2
6
|
import { UniversalLayout } from "./components/universal-layout.qwik.mjs";
|
|
3
7
|
export {
|
|
8
|
+
AlertError,
|
|
9
|
+
AlertInfo,
|
|
10
|
+
AlertSuccess,
|
|
11
|
+
AlertWarning,
|
|
4
12
|
PaceBar,
|
|
5
13
|
UniversalLayout
|
|
6
14
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
|
+
const qwik = require("@builder.io/qwik");
|
|
5
|
+
const svg_qwik = require("../svg.qwik.qwik.cjs");
|
|
6
|
+
const MdiCheckCircleOutline = qwik.component$((props) => {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx(svg_qwik.Svg, {
|
|
8
|
+
...props,
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
11
|
+
fill: "currentColor",
|
|
12
|
+
d: "M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10s10-4.5 10-10S17.5 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4l8-8z"
|
|
13
|
+
})
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
exports.MdiCheckCircleOutline = MdiCheckCircleOutline;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
+
import { component$ } from "@builder.io/qwik";
|
|
3
|
+
import { Svg } from "../svg.qwik.qwik.mjs";
|
|
4
|
+
const MdiCheckCircleOutline = component$((props) => {
|
|
5
|
+
return /* @__PURE__ */ jsx(Svg, {
|
|
6
|
+
...props,
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
d: "M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10s10-4.5 10-10S17.5 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4l8-8z"
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
MdiCheckCircleOutline
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
|
+
const qwik = require("@builder.io/qwik");
|
|
5
|
+
const svg_qwik = require("../svg.qwik.qwik.cjs");
|
|
6
|
+
const MdiErrorOutline = qwik.component$((props) => {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx(svg_qwik.Svg, {
|
|
8
|
+
...props,
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
11
|
+
fill: "currentColor",
|
|
12
|
+
d: "M11 15h2v2h-2zm0-8h2v6h-2zm1-5C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 18a8 8 0 0 1-8-8a8 8 0 0 1 8-8a8 8 0 0 1 8 8a8 8 0 0 1-8 8"
|
|
13
|
+
})
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
exports.MdiErrorOutline = MdiErrorOutline;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
+
import { component$ } from "@builder.io/qwik";
|
|
3
|
+
import { Svg } from "../svg.qwik.qwik.mjs";
|
|
4
|
+
const MdiErrorOutline = component$((props) => {
|
|
5
|
+
return /* @__PURE__ */ jsx(Svg, {
|
|
6
|
+
...props,
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
d: "M11 15h2v2h-2zm0-8h2v6h-2zm1-5C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 18a8 8 0 0 1-8-8a8 8 0 0 1 8-8a8 8 0 0 1 8 8a8 8 0 0 1-8 8"
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
MdiErrorOutline
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
|
+
const qwik = require("@builder.io/qwik");
|
|
5
|
+
const svg_qwik = require("../svg.qwik.qwik.cjs");
|
|
6
|
+
const MdiInformationOutline = qwik.component$((props) => {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx(svg_qwik.Svg, {
|
|
8
|
+
...props,
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
11
|
+
fill: "currentColor",
|
|
12
|
+
d: "M11 9h2V7h-2m1 13c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2m-1 15h2v-6h-2z"
|
|
13
|
+
})
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
exports.MdiInformationOutline = MdiInformationOutline;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
+
import { component$ } from "@builder.io/qwik";
|
|
3
|
+
import { Svg } from "../svg.qwik.qwik.mjs";
|
|
4
|
+
const MdiInformationOutline = component$((props) => {
|
|
5
|
+
return /* @__PURE__ */ jsx(Svg, {
|
|
6
|
+
...props,
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
d: "M11 9h2V7h-2m1 13c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2m-1 15h2v-6h-2z"
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
MdiInformationOutline
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
|
+
const qwik = require("@builder.io/qwik");
|
|
5
|
+
const svg_qwik = require("../svg.qwik.qwik.cjs");
|
|
6
|
+
const MdiWarningOutline = qwik.component$((props) => {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx(svg_qwik.Svg, {
|
|
8
|
+
...props,
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
11
|
+
fill: "currentColor",
|
|
12
|
+
d: "M12 2L1 21h22M12 6l7.53 13H4.47M11 10v4h2v-4m-2 6v2h2v-2"
|
|
13
|
+
})
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
exports.MdiWarningOutline = MdiWarningOutline;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
+
import { component$ } from "@builder.io/qwik";
|
|
3
|
+
import { Svg } from "../svg.qwik.qwik.mjs";
|
|
4
|
+
const MdiWarningOutline = component$((props) => {
|
|
5
|
+
return /* @__PURE__ */ jsx(Svg, {
|
|
6
|
+
...props,
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
d: "M12 2L1 21h22M12 6l7.53 13H4.47M11 10v4h2v-4m-2 6v2h2v-2"
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
MdiWarningOutline
|
|
16
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
|
+
const qwik = require("@builder.io/qwik");
|
|
5
|
+
const Svg = qwik.component$((props) => {
|
|
6
|
+
const { size, width, height, ...rest } = props;
|
|
7
|
+
const svgProps = {};
|
|
8
|
+
if (size) {
|
|
9
|
+
svgProps["width"] = size;
|
|
10
|
+
svgProps["height"] = size;
|
|
11
|
+
}
|
|
12
|
+
if (width) {
|
|
13
|
+
svgProps["width"] = width;
|
|
14
|
+
}
|
|
15
|
+
if (height) {
|
|
16
|
+
svgProps["height"] = height;
|
|
17
|
+
}
|
|
18
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", {
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
+
...rest,
|
|
21
|
+
...svgProps,
|
|
22
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
exports.Svg = Svg;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
+
import { component$, Slot } from "@builder.io/qwik";
|
|
3
|
+
const Svg = component$((props) => {
|
|
4
|
+
const { size, width, height, ...rest } = props;
|
|
5
|
+
const svgProps = {};
|
|
6
|
+
if (size) {
|
|
7
|
+
svgProps["width"] = size;
|
|
8
|
+
svgProps["height"] = size;
|
|
9
|
+
}
|
|
10
|
+
if (width) {
|
|
11
|
+
svgProps["width"] = width;
|
|
12
|
+
}
|
|
13
|
+
if (height) {
|
|
14
|
+
svgProps["height"] = height;
|
|
15
|
+
}
|
|
16
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
17
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18
|
+
...rest,
|
|
19
|
+
...svgProps,
|
|
20
|
+
children: /* @__PURE__ */ jsx(Slot, {})
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
Svg
|
|
25
|
+
};
|
package/lib-types/index.d.ts
CHANGED
package/lib-types/root.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const UniversalLayoutDemo: import("@builder.io/qwik").Component<unknown>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nr1e/qwik-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "NR1E Qwik UI Library",
|
|
5
5
|
"author": "NR1E, Inc.",
|
|
6
6
|
"publishConfig": {
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@builder.io/qwik": "1.18.0",
|
|
36
36
|
"@eslint/js": "latest",
|
|
37
|
+
"@nr1e/qwik-icons": "",
|
|
37
38
|
"@tailwindcss/vite": "^4.1.17",
|
|
38
39
|
"@types/node": "^20.19.0",
|
|
39
40
|
"daisyui": "^5.5.14",
|