qaema-ui 0.0.50 → 0.0.52
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/dist/_virtual/index2.js +4 -4
- package/dist/_virtual/index3.js +4 -4
- package/dist/_virtual/index4.js +4 -4
- package/dist/components/Button.d.ts +1 -0
- package/dist/components/Button.js +20 -19
- package/dist/components/CallOutBox.d.ts +1 -0
- package/dist/components/CallOutBox.js +16 -8
- package/dist/node_modules/react-bootstrap/esm/CloseButton.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Feedback.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Form.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Image.js +1 -1
- package/dist/node_modules/react-helmet-async/lib/index.esm.js +2 -2
- package/dist/node_modules/react-smooth/es6/Animate.js +1 -1
- package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/package.json +1 -1
package/dist/_virtual/index2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as
|
|
3
|
-
var
|
|
4
|
-
const
|
|
2
|
+
import { __require as o } from "../node_modules/prop-types/index.js";
|
|
3
|
+
var p = /* @__PURE__ */ o();
|
|
4
|
+
const s = /* @__PURE__ */ r(p);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
package/dist/_virtual/index3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as
|
|
3
|
-
var a =
|
|
4
|
-
const
|
|
2
|
+
import { __require as t } from "../node_modules/react-helmet-async/node_modules/react-fast-compare/index.js";
|
|
3
|
+
var a = t();
|
|
4
|
+
const m = /* @__PURE__ */ r(a);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
package/dist/_virtual/index4.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as o } from "../node_modules/
|
|
3
|
-
var
|
|
4
|
-
const
|
|
2
|
+
import { __require as o } from "../node_modules/shallowequal/index.js";
|
|
3
|
+
var a = o();
|
|
4
|
+
const t = /* @__PURE__ */ r(a);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { j as u } from "../_virtual/jsx-runtime.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import { useTranslation as
|
|
4
|
-
import { FiMoreHorizontal as
|
|
3
|
+
import { useTranslation as y } from "react-i18next";
|
|
4
|
+
import { FiMoreHorizontal as j } from "../node_modules/react-icons/fi/index.js";
|
|
5
5
|
import f, { css as e } from "styled-components";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
const
|
|
6
|
+
import w from "../hooks/useButtonVariant.js";
|
|
7
|
+
import z from "../node_modules/react-bootstrap/esm/Button.js";
|
|
8
|
+
const C = {
|
|
9
9
|
xxs: e`
|
|
10
10
|
min-height: 1.5rem;
|
|
11
11
|
font-size: 0.55rem;
|
|
@@ -32,7 +32,7 @@ const z = {
|
|
|
32
32
|
font-size: 1rem;
|
|
33
33
|
min-width: 21.563rem;
|
|
34
34
|
`
|
|
35
|
-
},
|
|
35
|
+
}, a = (o, r) => {
|
|
36
36
|
var l, d, n, c, s, i;
|
|
37
37
|
return e`
|
|
38
38
|
color: ${o.default.color};
|
|
@@ -63,9 +63,9 @@ const z = {
|
|
|
63
63
|
background-color: #e2e4e8;
|
|
64
64
|
}
|
|
65
65
|
`;
|
|
66
|
-
},
|
|
67
|
-
${({ $variantData: o, $disableHoverEffect: r }) =>
|
|
68
|
-
${({ size: o = "md" }) =>
|
|
66
|
+
}, B = f(z)`
|
|
67
|
+
${({ $variantData: o, $disableHoverEffect: r }) => a(o, r)};
|
|
68
|
+
${({ size: o = "md" }) => C[o]};
|
|
69
69
|
font-weight: 600;
|
|
70
70
|
font-family: ${({ theme: o }) => o.dir === "rtl" ? o.fonts.arabic : o.fonts.english};
|
|
71
71
|
display: inline-flex;
|
|
@@ -76,11 +76,11 @@ const z = {
|
|
|
76
76
|
padding: 0.75rem 1.25rem;
|
|
77
77
|
cursor: pointer;
|
|
78
78
|
width: ${({ width: o }) => o};
|
|
79
|
-
`,
|
|
79
|
+
`, S = f.div`
|
|
80
80
|
display: flex;
|
|
81
81
|
align-items: flex-end;
|
|
82
82
|
justify-content: center;
|
|
83
|
-
`,
|
|
83
|
+
`, N = ({
|
|
84
84
|
children: o,
|
|
85
85
|
variant: r = "primary",
|
|
86
86
|
size: l = "md",
|
|
@@ -94,14 +94,15 @@ const z = {
|
|
|
94
94
|
isLoading: t = !1,
|
|
95
95
|
style: g = {},
|
|
96
96
|
disableHoverEffect: h = !1,
|
|
97
|
-
width: p
|
|
97
|
+
width: p,
|
|
98
|
+
loadingLbl: $
|
|
98
99
|
}) => {
|
|
99
|
-
const
|
|
100
|
+
const k = w(r), { t: x } = y();
|
|
100
101
|
return /* @__PURE__ */ u.jsxs(
|
|
101
|
-
|
|
102
|
+
B,
|
|
102
103
|
{
|
|
103
104
|
variant: r,
|
|
104
|
-
$variantData:
|
|
105
|
+
$variantData: k,
|
|
105
106
|
size: l,
|
|
106
107
|
type: d,
|
|
107
108
|
disabled: n ?? t,
|
|
@@ -110,10 +111,10 @@ const z = {
|
|
|
110
111
|
$disableHoverEffect: h,
|
|
111
112
|
width: p,
|
|
112
113
|
children: [
|
|
113
|
-
t && /* @__PURE__ */ u.jsxs(
|
|
114
|
-
|
|
114
|
+
t && /* @__PURE__ */ u.jsxs(S, { children: [
|
|
115
|
+
$ ?? x("LOADING"),
|
|
115
116
|
" ",
|
|
116
|
-
/* @__PURE__ */ u.jsx(
|
|
117
|
+
/* @__PURE__ */ u.jsx(j, {})
|
|
117
118
|
] }),
|
|
118
119
|
!m && !t && s,
|
|
119
120
|
!m && !t && o,
|
|
@@ -124,5 +125,5 @@ const z = {
|
|
|
124
125
|
);
|
|
125
126
|
};
|
|
126
127
|
export {
|
|
127
|
-
|
|
128
|
+
N as default
|
|
128
129
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as n } from "../_virtual/jsx-runtime.js";
|
|
2
2
|
import i from "styled-components";
|
|
3
3
|
import s from "./Typography.js";
|
|
4
|
-
const
|
|
4
|
+
const e = i(s)`
|
|
5
5
|
font-family: ${({ theme: r }) => r.fonts.arabic};
|
|
6
6
|
font-weight: ${({ theme: r }) => r.typography.weights.semiBold};
|
|
7
7
|
font-size: 15px;
|
|
@@ -10,7 +10,7 @@ const t = i(s)`
|
|
|
10
10
|
vertical-align: middle;
|
|
11
11
|
color: ${({ theme: r }) => r.colors.grey.n650};
|
|
12
12
|
display: inline-block;
|
|
13
|
-
`,
|
|
13
|
+
`, t = i.div`
|
|
14
14
|
margin-top: ${({ theme: r }) => r.spacing.m};
|
|
15
15
|
padding: ${({ theme: r }) => r.spacing.sm};
|
|
16
16
|
border-radius: ${({ theme: r }) => r.borderRadius.md};
|
|
@@ -72,16 +72,24 @@ const t = i(s)`
|
|
|
72
72
|
&:hover {
|
|
73
73
|
opacity: 0.9;
|
|
74
74
|
}
|
|
75
|
+
`, p = i.div`
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: row;
|
|
78
|
+
align-items: center;
|
|
79
|
+
gap: ${({ theme: r }) => r.spacing.s};
|
|
75
80
|
`;
|
|
76
|
-
function
|
|
77
|
-
return /* @__PURE__ */ n.jsxs(
|
|
78
|
-
/* @__PURE__ */ n.jsxs(
|
|
79
|
-
/* @__PURE__ */ n.jsx(
|
|
80
|
-
|
|
81
|
+
function $({ callout: r }) {
|
|
82
|
+
return /* @__PURE__ */ n.jsxs(t, { $variant: r.variant ?? "warning", children: [
|
|
83
|
+
/* @__PURE__ */ n.jsxs(p, { children: [
|
|
84
|
+
(r == null ? void 0 : r.Icon) && /* @__PURE__ */ n.jsx("div", { children: r == null ? void 0 : r.Icon }),
|
|
85
|
+
/* @__PURE__ */ n.jsxs("div", { children: [
|
|
86
|
+
/* @__PURE__ */ n.jsx(e, { variant: "span", weight: "semiBold", children: r.title }),
|
|
87
|
+
r.description && /* @__PURE__ */ n.jsx(a, { variant: "caption", children: r.description })
|
|
88
|
+
] })
|
|
81
89
|
] }),
|
|
82
90
|
r.action && /* @__PURE__ */ n.jsx(c, { $variant: r.variant ?? "warning", onClick: r.action.onClick, children: r.action.label })
|
|
83
91
|
] });
|
|
84
92
|
}
|
|
85
93
|
export {
|
|
86
|
-
|
|
94
|
+
$ as default
|
|
87
95
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import f from "../../../_virtual/index.js";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import o from "../../../_virtual/
|
|
3
|
+
import o from "../../../_virtual/index2.js";
|
|
4
4
|
import { useBootstrapPrefix as u } from "./ThemeProvider.js";
|
|
5
5
|
import { j as p } from "../../../_virtual/jsx-runtime.js";
|
|
6
6
|
o.string, o.bool, o.bool, o.bool, o.bool;
|
|
@@ -2,9 +2,9 @@ var Q = Object.defineProperty;
|
|
|
2
2
|
var X = (e, t, r) => t in e ? Q(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var h = (e, t, r) => X(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import y, { Component as R } from "react";
|
|
5
|
-
import ee from "../../../_virtual/
|
|
5
|
+
import ee from "../../../_virtual/index3.js";
|
|
6
6
|
import F from "../../../_virtual/browser.js";
|
|
7
|
-
import te from "../../../_virtual/
|
|
7
|
+
import te from "../../../_virtual/index4.js";
|
|
8
8
|
var Y = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "head", e.HTML = "html", e.LINK = "link", e.META = "meta", e.NOSCRIPT = "noscript", e.SCRIPT = "script", e.STYLE = "style", e.TITLE = "title", e.FRAGMENT = "Symbol(react.fragment)", e))(Y || {}), $ = {
|
|
9
9
|
link: { rel: ["amphtml", "canonical", "alternate"] },
|
|
10
10
|
script: { type: ["application/ld+json"] },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import x, { Children as w, cloneElement as z, PureComponent as F } from "react";
|
|
2
|
-
import a from "../../../_virtual/
|
|
2
|
+
import a from "../../../_virtual/index2.js";
|
|
3
3
|
import { deepEqual as H } from "../../fast-equals/dist/esm/index.js";
|
|
4
4
|
import L from "./AnimateManager.js";
|
|
5
5
|
import { configEasing as V } from "./easing.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import C from "../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js";
|
|
2
2
|
import D from "../../@babel/runtime/helpers/esm/inheritsLoose.js";
|
|
3
|
-
import o from "../../../_virtual/
|
|
3
|
+
import o from "../../../_virtual/index2.js";
|
|
4
4
|
import v from "react";
|
|
5
5
|
import b from "react-dom";
|
|
6
6
|
import T from "./config.js";
|