@nr1e/qwik-ui 2.0.14 → 2.0.16
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/fieldset.qwik.cjs +2 -2
- package/lib/components/fieldset.qwik.mjs +2 -2
- package/lib/components/submit-button.qwik.cjs +3 -2
- package/lib/components/submit-button.qwik.mjs +3 -2
- package/lib/index.qwik.cjs +1 -1
- package/lib/index.qwik.mjs +2 -2
- package/lib-types/components/fieldset.d.ts +1 -1
- package/lib-types/components/submit-button.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
4
|
const qwik = require("@builder.io/qwik");
|
|
5
|
-
const
|
|
5
|
+
const Fieldset = qwik.component$((props) => {
|
|
6
6
|
return /* @__PURE__ */ jsxRuntime.jsxs("fieldset", {
|
|
7
7
|
class: "fieldset border-base-content/40 rounded-md border pr-4 pb-4 pl-4",
|
|
8
8
|
children: [
|
|
@@ -14,4 +14,4 @@ const FieldSet = qwik.component$((props) => {
|
|
|
14
14
|
]
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
|
-
exports.
|
|
17
|
+
exports.Fieldset = Fieldset;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
2
|
import { component$, Slot } from "@builder.io/qwik";
|
|
3
|
-
const
|
|
3
|
+
const Fieldset = component$((props) => {
|
|
4
4
|
return /* @__PURE__ */ jsxs("fieldset", {
|
|
5
5
|
class: "fieldset border-base-content/40 rounded-md border pr-4 pb-4 pl-4",
|
|
6
6
|
children: [
|
|
@@ -13,5 +13,5 @@ const FieldSet = component$((props) => {
|
|
|
13
13
|
});
|
|
14
14
|
});
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
Fieldset
|
|
17
17
|
};
|
|
@@ -5,15 +5,16 @@ const qwik = require("@builder.io/qwik");
|
|
|
5
5
|
const qwikIcons = require("@nr1e/qwik-icons");
|
|
6
6
|
const SubmitButton = qwik.component$((props) => {
|
|
7
7
|
return /* @__PURE__ */ jsxRuntime.jsxs("button", {
|
|
8
|
-
class: `btn btn-primary ${props.
|
|
8
|
+
class: `btn btn-primary ${props.submitting || props.disabled ? "disabled" : ""} `,
|
|
9
9
|
onClick$: props.onClick$,
|
|
10
10
|
id: props.id,
|
|
11
11
|
type: "submit",
|
|
12
|
+
disabled: props.submitting || props.disabled,
|
|
12
13
|
children: [
|
|
13
14
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
14
15
|
"q:slot": "icon"
|
|
15
16
|
}),
|
|
16
|
-
props.
|
|
17
|
+
props.submitting && /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
17
18
|
class: "animate-spin",
|
|
18
19
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwikIcons.SpinnersBarsRotateFade, {
|
|
19
20
|
size: 18
|
|
@@ -3,15 +3,16 @@ import { component$, Slot } from "@builder.io/qwik";
|
|
|
3
3
|
import { SpinnersBarsRotateFade } from "@nr1e/qwik-icons";
|
|
4
4
|
const SubmitButton = component$((props) => {
|
|
5
5
|
return /* @__PURE__ */ jsxs("button", {
|
|
6
|
-
class: `btn btn-primary ${props.
|
|
6
|
+
class: `btn btn-primary ${props.submitting || props.disabled ? "disabled" : ""} `,
|
|
7
7
|
onClick$: props.onClick$,
|
|
8
8
|
id: props.id,
|
|
9
9
|
type: "submit",
|
|
10
|
+
disabled: props.submitting || props.disabled,
|
|
10
11
|
children: [
|
|
11
12
|
/* @__PURE__ */ jsx("span", {
|
|
12
13
|
"q:slot": "icon"
|
|
13
14
|
}),
|
|
14
|
-
props.
|
|
15
|
+
props.submitting && /* @__PURE__ */ jsx("span", {
|
|
15
16
|
class: "animate-spin",
|
|
16
17
|
children: /* @__PURE__ */ jsx(SpinnersBarsRotateFade, {
|
|
17
18
|
size: 18
|
package/lib/index.qwik.cjs
CHANGED
|
@@ -45,7 +45,7 @@ exports.DropUpButton = dropUp.DropUpButton;
|
|
|
45
45
|
exports.DropUpButtonSelector = dropUp.DropUpButtonSelector;
|
|
46
46
|
exports.DropUpLink = dropUp.DropUpLink;
|
|
47
47
|
exports.DropUpSubmenu = dropUp.DropUpSubmenu;
|
|
48
|
-
exports.
|
|
48
|
+
exports.Fieldset = fieldset.Fieldset;
|
|
49
49
|
exports.GoogleSignInButton = googleSignInButton.GoogleSignInButton;
|
|
50
50
|
exports.GtmBody = gtm.GtmBody;
|
|
51
51
|
exports.GtmHead = gtm.GtmHead;
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import { FixedCenterBottom } from "./components/fixed-center-bottom.qwik.mjs";
|
|
|
11
11
|
import { FormatDate } from "./components/format-date.qwik.mjs";
|
|
12
12
|
import { FormatDateTime } from "./components/format-date-time.qwik.mjs";
|
|
13
13
|
import { DropUp, DropUpButton, DropUpButtonSelector, DropUpLink, DropUpSubmenu } from "./components/drop-up.qwik.mjs";
|
|
14
|
-
import {
|
|
14
|
+
import { Fieldset } from "./components/fieldset.qwik.mjs";
|
|
15
15
|
import { GoogleSignInButton } from "./components/google-sign-in-button.qwik.mjs";
|
|
16
16
|
import { GtmBody, GtmHead } from "./components/gtm.qwik.mjs";
|
|
17
17
|
import { Menu, MenuButton, MenuDivider, MenuGroup, MenuGroupSummary, MenuLink, Submenu } from "./components/menu.qwik.mjs";
|
|
@@ -41,7 +41,7 @@ export {
|
|
|
41
41
|
DropUpButtonSelector,
|
|
42
42
|
DropUpLink,
|
|
43
43
|
DropUpSubmenu,
|
|
44
|
-
|
|
44
|
+
Fieldset,
|
|
45
45
|
FixedCenterBottom,
|
|
46
46
|
FormatDate,
|
|
47
47
|
FormatDateTime,
|