@nr1e/qwik-ui 0.0.4 → 0.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.
- package/lib/components/alert-error.qwik.cjs +20 -0
- package/lib/components/alert-error.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/components/universal-layout.qwik.cjs +101 -0
- package/lib/components/universal-layout.qwik.mjs +101 -0
- package/lib/index.qwik.cjs +8 -0
- package/lib/index.qwik.mjs +9 -1
- 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-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/components/universal-layout.d.ts +14 -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 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
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
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 UniversalLayout = qwik.component$((props) => {
|
|
6
|
+
const aprops = {
|
|
7
|
+
...props,
|
|
8
|
+
class: `${props.class ? ` ${props.class}` : ""}`,
|
|
9
|
+
outerLeftClass: `${props.outerLeftClass ? `${props.outerLeftClass}` : ""}`,
|
|
10
|
+
topClass: `${props.topClass ?? ""}`,
|
|
11
|
+
leftClass: `${props.leftClass ?? ""}`,
|
|
12
|
+
childrenClass: `${props.childrenClass ? ` ${props.childrenClass}` : ""}`,
|
|
13
|
+
innerTopClass: `${props.innerTopClass ?? ""}`,
|
|
14
|
+
innerBottomClass: `${props.innerBottomClass ?? ""}`,
|
|
15
|
+
rightClass: `${props.rightClass ?? ""}`,
|
|
16
|
+
bottomClass: `${props.bottomClass ?? ""}`,
|
|
17
|
+
outerRightClass: `${props.outerRightClass ?? ""}`
|
|
18
|
+
};
|
|
19
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
20
|
+
id: "universal",
|
|
21
|
+
class: `flex min-h-screen ${aprops.class}`,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
24
|
+
id: "universal-outer-left",
|
|
25
|
+
class: aprops.outerLeftClass,
|
|
26
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {
|
|
27
|
+
name: "outerLeft"
|
|
28
|
+
})
|
|
29
|
+
}),
|
|
30
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
31
|
+
class: "flex flex-grow flex-col",
|
|
32
|
+
children: [
|
|
33
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
34
|
+
id: "universal-top",
|
|
35
|
+
class: aprops.topClass,
|
|
36
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {
|
|
37
|
+
name: "top"
|
|
38
|
+
})
|
|
39
|
+
}),
|
|
40
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
41
|
+
class: "flex flex-grow",
|
|
42
|
+
children: [
|
|
43
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
44
|
+
id: "universal-left",
|
|
45
|
+
class: aprops.leftClass,
|
|
46
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {
|
|
47
|
+
name: "left"
|
|
48
|
+
})
|
|
49
|
+
}),
|
|
50
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
51
|
+
class: "flex w-full flex-grow flex-col",
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
54
|
+
id: "universal-right",
|
|
55
|
+
class: aprops.innerTopClass,
|
|
56
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {
|
|
57
|
+
name: "innerTop"
|
|
58
|
+
})
|
|
59
|
+
}),
|
|
60
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
61
|
+
class: `flex-grow ${aprops.childrenClass}`,
|
|
62
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
63
|
+
}),
|
|
64
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
65
|
+
id: "universal-right",
|
|
66
|
+
class: aprops.innerBottomClass,
|
|
67
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {
|
|
68
|
+
name: "innerBottom"
|
|
69
|
+
})
|
|
70
|
+
})
|
|
71
|
+
]
|
|
72
|
+
}),
|
|
73
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
74
|
+
id: "universal-right",
|
|
75
|
+
class: aprops.rightClass,
|
|
76
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {
|
|
77
|
+
name: "right"
|
|
78
|
+
})
|
|
79
|
+
})
|
|
80
|
+
]
|
|
81
|
+
}),
|
|
82
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
83
|
+
id: "universal-bottom",
|
|
84
|
+
class: aprops.bottomClass,
|
|
85
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {
|
|
86
|
+
name: "bottom"
|
|
87
|
+
})
|
|
88
|
+
})
|
|
89
|
+
]
|
|
90
|
+
}),
|
|
91
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
92
|
+
id: "universal-outer-right",
|
|
93
|
+
class: aprops.outerRightClass,
|
|
94
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {
|
|
95
|
+
name: "outerRight"
|
|
96
|
+
})
|
|
97
|
+
})
|
|
98
|
+
]
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
exports.UniversalLayout = UniversalLayout;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { jsxs, jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
+
import { component$, Slot } from "@builder.io/qwik";
|
|
3
|
+
const UniversalLayout = component$((props) => {
|
|
4
|
+
const aprops = {
|
|
5
|
+
...props,
|
|
6
|
+
class: `${props.class ? ` ${props.class}` : ""}`,
|
|
7
|
+
outerLeftClass: `${props.outerLeftClass ? `${props.outerLeftClass}` : ""}`,
|
|
8
|
+
topClass: `${props.topClass ?? ""}`,
|
|
9
|
+
leftClass: `${props.leftClass ?? ""}`,
|
|
10
|
+
childrenClass: `${props.childrenClass ? ` ${props.childrenClass}` : ""}`,
|
|
11
|
+
innerTopClass: `${props.innerTopClass ?? ""}`,
|
|
12
|
+
innerBottomClass: `${props.innerBottomClass ?? ""}`,
|
|
13
|
+
rightClass: `${props.rightClass ?? ""}`,
|
|
14
|
+
bottomClass: `${props.bottomClass ?? ""}`,
|
|
15
|
+
outerRightClass: `${props.outerRightClass ?? ""}`
|
|
16
|
+
};
|
|
17
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
18
|
+
id: "universal",
|
|
19
|
+
class: `flex min-h-screen ${aprops.class}`,
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ jsx("div", {
|
|
22
|
+
id: "universal-outer-left",
|
|
23
|
+
class: aprops.outerLeftClass,
|
|
24
|
+
children: /* @__PURE__ */ jsx(Slot, {
|
|
25
|
+
name: "outerLeft"
|
|
26
|
+
})
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ jsxs("div", {
|
|
29
|
+
class: "flex flex-grow flex-col",
|
|
30
|
+
children: [
|
|
31
|
+
/* @__PURE__ */ jsx("div", {
|
|
32
|
+
id: "universal-top",
|
|
33
|
+
class: aprops.topClass,
|
|
34
|
+
children: /* @__PURE__ */ jsx(Slot, {
|
|
35
|
+
name: "top"
|
|
36
|
+
})
|
|
37
|
+
}),
|
|
38
|
+
/* @__PURE__ */ jsxs("div", {
|
|
39
|
+
class: "flex flex-grow",
|
|
40
|
+
children: [
|
|
41
|
+
/* @__PURE__ */ jsx("div", {
|
|
42
|
+
id: "universal-left",
|
|
43
|
+
class: aprops.leftClass,
|
|
44
|
+
children: /* @__PURE__ */ jsx(Slot, {
|
|
45
|
+
name: "left"
|
|
46
|
+
})
|
|
47
|
+
}),
|
|
48
|
+
/* @__PURE__ */ jsxs("div", {
|
|
49
|
+
class: "flex w-full flex-grow flex-col",
|
|
50
|
+
children: [
|
|
51
|
+
/* @__PURE__ */ jsx("div", {
|
|
52
|
+
id: "universal-right",
|
|
53
|
+
class: aprops.innerTopClass,
|
|
54
|
+
children: /* @__PURE__ */ jsx(Slot, {
|
|
55
|
+
name: "innerTop"
|
|
56
|
+
})
|
|
57
|
+
}),
|
|
58
|
+
/* @__PURE__ */ jsx("div", {
|
|
59
|
+
class: `flex-grow ${aprops.childrenClass}`,
|
|
60
|
+
children: /* @__PURE__ */ jsx(Slot, {})
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ jsx("div", {
|
|
63
|
+
id: "universal-right",
|
|
64
|
+
class: aprops.innerBottomClass,
|
|
65
|
+
children: /* @__PURE__ */ jsx(Slot, {
|
|
66
|
+
name: "innerBottom"
|
|
67
|
+
})
|
|
68
|
+
})
|
|
69
|
+
]
|
|
70
|
+
}),
|
|
71
|
+
/* @__PURE__ */ jsx("div", {
|
|
72
|
+
id: "universal-right",
|
|
73
|
+
class: aprops.rightClass,
|
|
74
|
+
children: /* @__PURE__ */ jsx(Slot, {
|
|
75
|
+
name: "right"
|
|
76
|
+
})
|
|
77
|
+
})
|
|
78
|
+
]
|
|
79
|
+
}),
|
|
80
|
+
/* @__PURE__ */ jsx("div", {
|
|
81
|
+
id: "universal-bottom",
|
|
82
|
+
class: aprops.bottomClass,
|
|
83
|
+
children: /* @__PURE__ */ jsx(Slot, {
|
|
84
|
+
name: "bottom"
|
|
85
|
+
})
|
|
86
|
+
})
|
|
87
|
+
]
|
|
88
|
+
}),
|
|
89
|
+
/* @__PURE__ */ jsx("div", {
|
|
90
|
+
id: "universal-outer-right",
|
|
91
|
+
class: aprops.outerRightClass,
|
|
92
|
+
children: /* @__PURE__ */ jsx(Slot, {
|
|
93
|
+
name: "outerRight"
|
|
94
|
+
})
|
|
95
|
+
})
|
|
96
|
+
]
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
export {
|
|
100
|
+
UniversalLayout
|
|
101
|
+
};
|
package/lib/index.qwik.cjs
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const alertError = require("./components/alert-error.qwik.cjs");
|
|
4
|
+
const alertSuccess = require("./components/alert-success.qwik.cjs");
|
|
5
|
+
const alertWarning = require("./components/alert-warning.qwik.cjs");
|
|
3
6
|
const paceBar = require("./components/pace-bar.qwik.cjs");
|
|
7
|
+
const universalLayout = require("./components/universal-layout.qwik.cjs");
|
|
8
|
+
exports.AlertError = alertError.AlertError;
|
|
9
|
+
exports.AlertSuccess = alertSuccess.AlertSuccess;
|
|
10
|
+
exports.AlertWarning = alertWarning.AlertWarning;
|
|
4
11
|
exports.PaceBar = paceBar.PaceBar;
|
|
12
|
+
exports.UniversalLayout = universalLayout.UniversalLayout;
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
+
import { AlertError } from "./components/alert-error.qwik.mjs";
|
|
2
|
+
import { AlertSuccess } from "./components/alert-success.qwik.mjs";
|
|
3
|
+
import { AlertWarning } from "./components/alert-warning.qwik.mjs";
|
|
1
4
|
import { PaceBar } from "./components/pace-bar.qwik.mjs";
|
|
5
|
+
import { UniversalLayout } from "./components/universal-layout.qwik.mjs";
|
|
2
6
|
export {
|
|
3
|
-
|
|
7
|
+
AlertError,
|
|
8
|
+
AlertSuccess,
|
|
9
|
+
AlertWarning,
|
|
10
|
+
PaceBar,
|
|
11
|
+
UniversalLayout
|
|
4
12
|
};
|
|
@@ -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 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
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface UniversalLayoutProps {
|
|
2
|
+
class?: string;
|
|
3
|
+
outerLeftClass?: string;
|
|
4
|
+
outerRightClass?: string;
|
|
5
|
+
topClass?: string;
|
|
6
|
+
leftClass?: string;
|
|
7
|
+
rightClass?: string;
|
|
8
|
+
bottomClass?: string;
|
|
9
|
+
innerTopClass?: string;
|
|
10
|
+
innerBottomClass?: string;
|
|
11
|
+
childrenClass?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const UniversalLayout: import("@builder.io/qwik").Component<UniversalLayoutProps>;
|
|
14
|
+
export {};
|
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.6",
|
|
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",
|