qaema-ui 0.0.49 → 0.0.51
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.
|
@@ -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
|
};
|
|
@@ -10,12 +10,12 @@ const a = s.div`
|
|
|
10
10
|
label {
|
|
11
11
|
font-size: ${({ theme: e }) => e.typography.sizes.s4};
|
|
12
12
|
font-weight: ${({ theme: e }) => e.typography.weights.regular};
|
|
13
|
-
line-height: ${({ theme: e }) => e.typography.lineHeights.s};
|
|
13
|
+
/* line-height: ${({ theme: e }) => e.typography.lineHeights.s}; */
|
|
14
14
|
}
|
|
15
15
|
span {
|
|
16
16
|
font-size: ${({ theme: e }) => e.typography.sizes.s2};
|
|
17
17
|
font-weight: ${({ theme: e }) => e.typography.weights.regular};
|
|
18
|
-
line-height: ${({ theme: e }) => e.typography.lineHeights.xs};
|
|
18
|
+
/* line-height: ${({ theme: e }) => e.typography.lineHeights.xs}; */
|
|
19
19
|
color: ${({ theme: e }) => e.colors.grey.n350};
|
|
20
20
|
}
|
|
21
21
|
`, y = ({ label: e, optional: i }) => {
|
|
@@ -16,7 +16,10 @@ const r = o.div`
|
|
|
16
16
|
`}
|
|
17
17
|
`, s = o.div`
|
|
18
18
|
flex: 1;
|
|
19
|
-
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: ${({ theme: e }) => e.spacing.xs};
|
|
22
|
+
`, a = o.div`
|
|
20
23
|
${({ $status: e }) => t`
|
|
21
24
|
display: flex;
|
|
22
25
|
align-items: center;
|
|
@@ -40,7 +43,7 @@ const r = o.div`
|
|
|
40
43
|
}
|
|
41
44
|
`};
|
|
42
45
|
`}
|
|
43
|
-
`,
|
|
46
|
+
`, d = o.div`
|
|
44
47
|
width: 100%;
|
|
45
48
|
left: 0;
|
|
46
49
|
right: 0;
|
|
@@ -55,7 +58,7 @@ export {
|
|
|
55
58
|
r as EmptyContent,
|
|
56
59
|
c as FeedbackHeader,
|
|
57
60
|
l as FullPageContainer,
|
|
58
|
-
|
|
59
|
-
|
|
61
|
+
a as ImageContainer,
|
|
62
|
+
d as StickyContent,
|
|
60
63
|
s as TextContainer
|
|
61
64
|
};
|