@nr1e/qwik-ui 0.0.32 → 0.0.34

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.
@@ -0,0 +1,15 @@
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 AutoDismiss = qwik.component$((props) => {
6
+ if (props?.hidden) return null;
7
+ return /* @__PURE__ */ jsxRuntime.jsx("div", {
8
+ class: [
9
+ "animate-fade animate-reverse animate-ease-in animate-duration-1000 animate-delay-5000",
10
+ props?.class ?? ""
11
+ ].join(" "),
12
+ children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
13
+ });
14
+ });
15
+ exports.AutoDismiss = AutoDismiss;
@@ -0,0 +1,15 @@
1
+ import { jsx } from "@builder.io/qwik/jsx-runtime";
2
+ import { component$, Slot } from "@builder.io/qwik";
3
+ const AutoDismiss = component$((props) => {
4
+ if (props?.hidden) return null;
5
+ return /* @__PURE__ */ jsx("div", {
6
+ class: [
7
+ "animate-fade animate-reverse animate-ease-in animate-duration-1000 animate-delay-5000",
8
+ props?.class ?? ""
9
+ ].join(" "),
10
+ children: /* @__PURE__ */ jsx(Slot, {})
11
+ });
12
+ });
13
+ export {
14
+ AutoDismiss
15
+ };
@@ -94,7 +94,7 @@ const Dialog = qwik.component$((props) => {
94
94
  ]
95
95
  }),
96
96
  /* @__PURE__ */ jsxRuntime.jsx("div", {
97
- class: "modal-action mt-2",
97
+ class: "modal-action mt-2 items-center",
98
98
  children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {
99
99
  name: "action"
100
100
  })
@@ -92,7 +92,7 @@ const Dialog = component$((props) => {
92
92
  ]
93
93
  }),
94
94
  /* @__PURE__ */ jsx("div", {
95
- class: "modal-action mt-2",
95
+ class: "modal-action mt-2 items-center",
96
96
  children: /* @__PURE__ */ jsx(Slot, {
97
97
  name: "action"
98
98
  })
@@ -5,6 +5,7 @@ const alertError = require("./components/alert-error.qwik.cjs");
5
5
  const alertInfo = require("./components/alert-info.qwik.cjs");
6
6
  const alertSuccess = require("./components/alert-success.qwik.cjs");
7
7
  const alertWarning = require("./components/alert-warning.qwik.cjs");
8
+ const autoDismiss = require("./components/auto-dismiss.qwik.cjs");
8
9
  const checkboxField = require("./components/checkbox-field.qwik.cjs");
9
10
  const dialog = require("./components/dialog.qwik.cjs");
10
11
  const dropUp = require("./components/drop-up.qwik.cjs");
@@ -19,6 +20,7 @@ exports.AlertError = alertError.AlertError;
19
20
  exports.AlertInfo = alertInfo.AlertInfo;
20
21
  exports.AlertSuccess = alertSuccess.AlertSuccess;
21
22
  exports.AlertWarning = alertWarning.AlertWarning;
23
+ exports.AutoDismiss = autoDismiss.AutoDismiss;
22
24
  exports.CheckboxField = checkboxField.CheckboxField;
23
25
  exports.Dialog = dialog.Dialog;
24
26
  exports.DropUp = dropUp.DropUp;
@@ -3,6 +3,7 @@ import { AlertError } from "./components/alert-error.qwik.mjs";
3
3
  import { AlertInfo } from "./components/alert-info.qwik.mjs";
4
4
  import { AlertSuccess } from "./components/alert-success.qwik.mjs";
5
5
  import { AlertWarning } from "./components/alert-warning.qwik.mjs";
6
+ import { AutoDismiss } from "./components/auto-dismiss.qwik.mjs";
6
7
  import { CheckboxField } from "./components/checkbox-field.qwik.mjs";
7
8
  import { Dialog } from "./components/dialog.qwik.mjs";
8
9
  import { DropUp, DropUpButtonSelector, DropUpItem, DropUpSubmenu } from "./components/drop-up.qwik.mjs";
@@ -18,6 +19,7 @@ export {
18
19
  AlertInfo,
19
20
  AlertSuccess,
20
21
  AlertWarning,
22
+ AutoDismiss,
21
23
  CheckboxField,
22
24
  Dialog,
23
25
  DropUp,
@@ -0,0 +1,5 @@
1
+ export interface AutoDismissProps {
2
+ class?: string;
3
+ hidden?: boolean;
4
+ }
5
+ export declare const AutoDismiss: import("@builder.io/qwik").Component<AutoDismissProps | undefined>;
@@ -3,6 +3,7 @@ export * from './components/alert-error';
3
3
  export * from './components/alert-info';
4
4
  export * from './components/alert-success';
5
5
  export * from './components/alert-warning';
6
+ export * from './components/auto-dismiss';
6
7
  export * from './components/checkbox-field';
7
8
  export * from './components/dialog';
8
9
  export * from './components/drop-up';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nr1e/qwik-ui",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "NR1E Qwik UI Library",
5
5
  "author": "NR1E, Inc.",
6
6
  "publishConfig": {
@@ -35,6 +35,7 @@
35
35
  "type": "module",
36
36
  "peerDependencies": {
37
37
  "@builder.io/qwik-city": "1.19.0",
38
+ "tailwindcss-animated": "2.0.0",
38
39
  "@nr1e/qwik-icons": "0.0.19"
39
40
  },
40
41
  "devDependencies": {