quirk-ui 0.0.260 → 0.0.261
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.
|
@@ -3,13 +3,13 @@ import { CallToAction as T } from "../CallToAction/index.js";
|
|
|
3
3
|
import { ButtonGroup as C } from "../ButtonGroup/index.js";
|
|
4
4
|
import p from "react";
|
|
5
5
|
import { E } from "../../external-link-BOPobeQJ.js";
|
|
6
|
-
import '../../assets/index45.css';var
|
|
6
|
+
import '../../assets/index45.css';var x = {
|
|
7
7
|
color: void 0,
|
|
8
8
|
size: void 0,
|
|
9
9
|
className: void 0,
|
|
10
10
|
style: void 0,
|
|
11
11
|
attr: void 0
|
|
12
|
-
}, j = p.createContext && /* @__PURE__ */ p.createContext(
|
|
12
|
+
}, j = p.createContext && /* @__PURE__ */ p.createContext(x), V = ["attr", "size", "title"];
|
|
13
13
|
function $(e, t) {
|
|
14
14
|
if (e == null) return {};
|
|
15
15
|
var r = F(e, t), a, l;
|
|
@@ -78,15 +78,15 @@ function B(e, t) {
|
|
|
78
78
|
}
|
|
79
79
|
return (t === "string" ? String : Number)(e);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function k(e) {
|
|
82
82
|
return e && e.map((t, r) => /* @__PURE__ */ p.createElement(t.tag, v({
|
|
83
83
|
key: r
|
|
84
|
-
}, t.attr),
|
|
84
|
+
}, t.attr), k(t.child)));
|
|
85
85
|
}
|
|
86
86
|
function d(e) {
|
|
87
87
|
return (t) => /* @__PURE__ */ p.createElement(D, h({
|
|
88
88
|
attr: v({}, e.attr)
|
|
89
|
-
}, t),
|
|
89
|
+
}, t), k(e.child));
|
|
90
90
|
}
|
|
91
91
|
function D(e) {
|
|
92
92
|
var t = (r) => {
|
|
@@ -109,7 +109,7 @@ function D(e) {
|
|
|
109
109
|
xmlns: "http://www.w3.org/2000/svg"
|
|
110
110
|
}), u && /* @__PURE__ */ p.createElement("title", null, u), e.children);
|
|
111
111
|
};
|
|
112
|
-
return j !== void 0 ? /* @__PURE__ */ p.createElement(j.Consumer, null, (r) => t(r)) : t(
|
|
112
|
+
return j !== void 0 ? /* @__PURE__ */ p.createElement(j.Consumer, null, (r) => t(r)) : t(x);
|
|
113
113
|
}
|
|
114
114
|
function H(e) {
|
|
115
115
|
return d({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z" }, child: [] }] })(e);
|
|
@@ -168,7 +168,7 @@ function fe({
|
|
|
168
168
|
href: c.href,
|
|
169
169
|
target: c.isExternal ? "_blank" : "_self",
|
|
170
170
|
rel: c.isExternal ? "noopener noreferrer" : void 0,
|
|
171
|
-
role: "
|
|
171
|
+
role: "menuitem",
|
|
172
172
|
"aria-label": c.label
|
|
173
173
|
} : {
|
|
174
174
|
role: "menuitem",
|