@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.
@@ -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 FieldSet = qwik.component$((props) => {
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.FieldSet = FieldSet;
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 FieldSet = component$((props) => {
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
- FieldSet
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.class ?? ""} ${props.processing || props.disabled ? "disabled" : ""}`,
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.processing && /* @__PURE__ */ jsxRuntime.jsx("span", {
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.class ?? ""} ${props.processing || props.disabled ? "disabled" : ""}`,
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.processing && /* @__PURE__ */ jsx("span", {
15
+ props.submitting && /* @__PURE__ */ jsx("span", {
15
16
  class: "animate-spin",
16
17
  children: /* @__PURE__ */ jsx(SpinnersBarsRotateFade, {
17
18
  size: 18
@@ -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.FieldSet = fieldset.FieldSet;
48
+ exports.Fieldset = fieldset.Fieldset;
49
49
  exports.GoogleSignInButton = googleSignInButton.GoogleSignInButton;
50
50
  exports.GtmBody = gtm.GtmBody;
51
51
  exports.GtmHead = gtm.GtmHead;
@@ -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 { FieldSet } from "./components/fieldset.qwik.mjs";
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
- FieldSet,
44
+ Fieldset,
45
45
  FixedCenterBottom,
46
46
  FormatDate,
47
47
  FormatDateTime,
@@ -1,4 +1,4 @@
1
1
  export interface FieldsetProps {
2
2
  legend?: string;
3
3
  }
4
- export declare const FieldSet: import("@builder.io/qwik").Component<FieldsetProps>;
4
+ export declare const Fieldset: import("@builder.io/qwik").Component<FieldsetProps>;
@@ -4,6 +4,6 @@ export interface SubmitButtonProps {
4
4
  onClick$?: QRL<(event: Event) => void>;
5
5
  id?: string;
6
6
  disabled?: boolean;
7
- processing?: boolean;
7
+ submitting?: boolean;
8
8
  }
9
9
  export declare const SubmitButton: import("@builder.io/qwik").Component<SubmitButtonProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nr1e/qwik-ui",
3
- "version": "2.0.14",
3
+ "version": "2.0.16",
4
4
  "description": "NR1E Qwik UI Library",
5
5
  "author": "NR1E, Inc.",
6
6
  "publishConfig": {