@nr1e/qwik-ui 0.0.21 → 0.0.23
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/add-button.qwik.cjs +17 -0
- package/lib/components/add-button.qwik.mjs +17 -0
- package/lib/components/checkbox-field.qwik.cjs +2 -2
- package/lib/components/checkbox-field.qwik.mjs +2 -2
- package/lib/components/select-field.qwik.cjs +2 -2
- package/lib/components/select-field.qwik.mjs +2 -2
- package/lib/components/text-field.qwik.cjs +2 -2
- package/lib/components/text-field.qwik.mjs +2 -2
- package/lib/index.qwik.cjs +2 -0
- package/lib/index.qwik.mjs +2 -0
- package/lib/qwik-icons/lib/components/icons/mdi-add-circle-outline.qwik.qwik.cjs +16 -0
- package/lib/qwik-icons/lib/components/icons/mdi-add-circle-outline.qwik.qwik.mjs +16 -0
- package/lib-types/components/add-button.d.ts +4 -0
- package/lib-types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
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 mdiAddCircleOutline_qwik = require("../qwik-icons/lib/components/icons/mdi-add-circle-outline.qwik.qwik.cjs");
|
|
6
|
+
const AddButton = qwik.component$((props) => {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("button", {
|
|
8
|
+
class: `btn ${props.class ?? ""}`,
|
|
9
|
+
children: [
|
|
10
|
+
/* @__PURE__ */ jsxRuntime.jsx(mdiAddCircleOutline_qwik.MdiAddCircleOutline, {
|
|
11
|
+
size: 24
|
|
12
|
+
}),
|
|
13
|
+
/* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
14
|
+
]
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
exports.AddButton = AddButton;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsxs, jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
+
import { component$, Slot } from "@builder.io/qwik";
|
|
3
|
+
import { MdiAddCircleOutline } from "../qwik-icons/lib/components/icons/mdi-add-circle-outline.qwik.qwik.mjs";
|
|
4
|
+
const AddButton = component$((props) => {
|
|
5
|
+
return /* @__PURE__ */ jsxs("button", {
|
|
6
|
+
class: `btn ${props.class ?? ""}`,
|
|
7
|
+
children: [
|
|
8
|
+
/* @__PURE__ */ jsx(MdiAddCircleOutline, {
|
|
9
|
+
size: 24
|
|
10
|
+
}),
|
|
11
|
+
/* @__PURE__ */ jsx(Slot, {})
|
|
12
|
+
]
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
AddButton
|
|
17
|
+
};
|
|
@@ -8,7 +8,7 @@ const CheckboxField = qwik.component$((props) => {
|
|
|
8
8
|
if (props.error && typeof props.error !== "string") {
|
|
9
9
|
track(() => error.value);
|
|
10
10
|
if (error.value !== props.error?.value) {
|
|
11
|
-
error.value =
|
|
11
|
+
props.error.value = error.value;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ const CheckboxField = qwik.component$((props) => {
|
|
|
16
16
|
if (props.error && typeof props.error !== "string") {
|
|
17
17
|
track(() => props.error.value);
|
|
18
18
|
if (props.error && error.value !== props.error.value) {
|
|
19
|
-
|
|
19
|
+
error.value = props.error.value;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
});
|
|
@@ -6,7 +6,7 @@ const CheckboxField = component$((props) => {
|
|
|
6
6
|
if (props.error && typeof props.error !== "string") {
|
|
7
7
|
track(() => error.value);
|
|
8
8
|
if (error.value !== props.error?.value) {
|
|
9
|
-
error.value =
|
|
9
|
+
props.error.value = error.value;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
});
|
|
@@ -14,7 +14,7 @@ const CheckboxField = component$((props) => {
|
|
|
14
14
|
if (props.error && typeof props.error !== "string") {
|
|
15
15
|
track(() => props.error.value);
|
|
16
16
|
if (props.error && error.value !== props.error.value) {
|
|
17
|
-
|
|
17
|
+
error.value = props.error.value;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
});
|
|
@@ -8,7 +8,7 @@ const SelectField = qwik.component$((props) => {
|
|
|
8
8
|
if (props.error && typeof props.error !== "string") {
|
|
9
9
|
track(() => error.value);
|
|
10
10
|
if (error.value !== props.error?.value) {
|
|
11
|
-
error.value =
|
|
11
|
+
props.error.value = error.value;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ const SelectField = qwik.component$((props) => {
|
|
|
16
16
|
if (props.error && typeof props.error !== "string") {
|
|
17
17
|
track(() => props.error.value);
|
|
18
18
|
if (props.error && error.value !== props.error.value) {
|
|
19
|
-
|
|
19
|
+
error.value = props.error.value;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
});
|
|
@@ -6,7 +6,7 @@ const SelectField = component$((props) => {
|
|
|
6
6
|
if (props.error && typeof props.error !== "string") {
|
|
7
7
|
track(() => error.value);
|
|
8
8
|
if (error.value !== props.error?.value) {
|
|
9
|
-
error.value =
|
|
9
|
+
props.error.value = error.value;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
});
|
|
@@ -14,7 +14,7 @@ const SelectField = component$((props) => {
|
|
|
14
14
|
if (props.error && typeof props.error !== "string") {
|
|
15
15
|
track(() => props.error.value);
|
|
16
16
|
if (props.error && error.value !== props.error.value) {
|
|
17
|
-
|
|
17
|
+
error.value = props.error.value;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
});
|
|
@@ -8,7 +8,7 @@ const TextField = qwik.component$((props) => {
|
|
|
8
8
|
if (props.error && typeof props.error !== "string") {
|
|
9
9
|
track(() => error.value);
|
|
10
10
|
if (error.value !== props.error?.value) {
|
|
11
|
-
error.value =
|
|
11
|
+
props.error.value = error.value;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ const TextField = qwik.component$((props) => {
|
|
|
16
16
|
if (props.error && typeof props.error !== "string") {
|
|
17
17
|
track(() => props.error.value);
|
|
18
18
|
if (props.error && error.value !== props.error.value) {
|
|
19
|
-
|
|
19
|
+
error.value = props.error.value;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
});
|
|
@@ -6,7 +6,7 @@ const TextField = component$((props) => {
|
|
|
6
6
|
if (props.error && typeof props.error !== "string") {
|
|
7
7
|
track(() => error.value);
|
|
8
8
|
if (error.value !== props.error?.value) {
|
|
9
|
-
error.value =
|
|
9
|
+
props.error.value = error.value;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
});
|
|
@@ -14,7 +14,7 @@ const TextField = component$((props) => {
|
|
|
14
14
|
if (props.error && typeof props.error !== "string") {
|
|
15
15
|
track(() => props.error.value);
|
|
16
16
|
if (props.error && error.value !== props.error.value) {
|
|
17
|
-
|
|
17
|
+
error.value = props.error.value;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
});
|
package/lib/index.qwik.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const addButton = require("./components/add-button.qwik.cjs");
|
|
3
4
|
const alertError = require("./components/alert-error.qwik.cjs");
|
|
4
5
|
const alertInfo = require("./components/alert-info.qwik.cjs");
|
|
5
6
|
const alertSuccess = require("./components/alert-success.qwik.cjs");
|
|
@@ -10,6 +11,7 @@ const paceBar = require("./components/pace-bar.qwik.cjs");
|
|
|
10
11
|
const selectField = require("./components/select-field.qwik.cjs");
|
|
11
12
|
const textField = require("./components/text-field.qwik.cjs");
|
|
12
13
|
const universalLayout = require("./components/universal-layout.qwik.cjs");
|
|
14
|
+
exports.AddButton = addButton.AddButton;
|
|
13
15
|
exports.AlertError = alertError.AlertError;
|
|
14
16
|
exports.AlertInfo = alertInfo.AlertInfo;
|
|
15
17
|
exports.AlertSuccess = alertSuccess.AlertSuccess;
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AddButton } from "./components/add-button.qwik.mjs";
|
|
1
2
|
import { AlertError } from "./components/alert-error.qwik.mjs";
|
|
2
3
|
import { AlertInfo } from "./components/alert-info.qwik.mjs";
|
|
3
4
|
import { AlertSuccess } from "./components/alert-success.qwik.mjs";
|
|
@@ -9,6 +10,7 @@ import { SelectField } from "./components/select-field.qwik.mjs";
|
|
|
9
10
|
import { TextField } from "./components/text-field.qwik.mjs";
|
|
10
11
|
import { UniversalLayout } from "./components/universal-layout.qwik.mjs";
|
|
11
12
|
export {
|
|
13
|
+
AddButton,
|
|
12
14
|
AlertError,
|
|
13
15
|
AlertInfo,
|
|
14
16
|
AlertSuccess,
|
|
@@ -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 MdiAddCircleOutline = 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 20c-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 2m1 5h-2v4H7v2h4v4h2v-4h4v-2h-4z"
|
|
13
|
+
})
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
exports.MdiAddCircleOutline = MdiAddCircleOutline;
|
|
@@ -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 MdiAddCircleOutline = 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 20c-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 2m1 5h-2v4H7v2h4v4h2v-4h4v-2h-4z"
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
MdiAddCircleOutline
|
|
16
|
+
};
|
package/lib-types/index.d.ts
CHANGED