quirk-ui 0.0.273 → 0.0.274
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/components/CallToAction/CallToAction.test.js +1 -1
- package/dist/components/CallToAction/index.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/NavBar/index.js +1 -1
- package/dist/{index-rGvptsTg.js → index-CHqqMxmE.js} +127 -97
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { d as i, i as o, r, s as l, g as t } from "../../vi.ClIskdbk-CZ8iFAMK.js";
|
|
3
|
-
import { C as a } from "../../index-
|
|
3
|
+
import { C as a } from "../../index-CHqqMxmE.js";
|
|
4
4
|
import "../../index-BBIdMcpm.js";
|
|
5
5
|
i("CallToAction", () => {
|
|
6
6
|
o("renders as a button when 'as' is set to 'button'", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { C as y, F as T, a as I, b as k, c as F, d as $ } from "../../index-
|
|
2
|
+
import { C as y, F as T, a as I, b as k, c as F, d as $ } from "../../index-CHqqMxmE.js";
|
|
3
3
|
import { ButtonGroup as x } from "../ButtonGroup/index.js";
|
|
4
4
|
import { E as A } from "../../external-link-BOPobeQJ.js";
|
|
5
5
|
import '../../assets/index33.css';const E = "_footer_aj3nw_1", L = "_container_aj3nw_10", S = "_primaryNav_aj3nw_24", z = "_secondaryNav_aj3nw_34", C = "_details_aj3nw_71", Y = "_nav_aj3nw_84", B = "_logo_aj3nw_92", G = "_socialItems_aj3nw_98", M = "_group_aj3nw_105", P = "_groups_aj3nw_115", W = "_groupTitle_aj3nw_126", q = "_sublinks_aj3nw_135", D = "_link_aj3nw_143", H = "_newTabIcon_aj3nw_161", J = "_bottom_aj3nw_175", a = {
|
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as t, Fragment as ge } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as h, useEffect as S, useRef as T, useCallback as _ } from "react";
|
|
3
3
|
import { s as e, N as Ne } from "../../NavLink-B8oPvlqf.js";
|
|
4
4
|
import { Modal as $e } from "../Modal/index.js";
|
|
5
|
-
import { e as we, C as Y } from "../../index-
|
|
5
|
+
import { e as we, C as Y } from "../../index-CHqqMxmE.js";
|
|
6
6
|
import { ButtonGroup as Z } from "../ButtonGroup/index.js";
|
|
7
7
|
import { E as z } from "../../external-link-BOPobeQJ.js";
|
|
8
8
|
import { X as ye } from "../../x-CnsEH4Ox.js";
|
|
@@ -2,20 +2,20 @@ import { jsx as c, jsxs as I, Fragment as L } from "react/jsx-runtime";
|
|
|
2
2
|
import d from "react";
|
|
3
3
|
import { c as u } from "./createLucideIcon-C8GTh_Qx.js";
|
|
4
4
|
import { E as M } from "./external-link-BOPobeQJ.js";
|
|
5
|
-
import { C as
|
|
6
|
-
import { a as N, A as
|
|
7
|
-
import './assets/index45.css';const
|
|
8
|
-
callToAction:
|
|
9
|
-
blurred:
|
|
10
|
-
primary:
|
|
5
|
+
import { C as P } from "./chevron-down-DSUzBz9F.js";
|
|
6
|
+
import { a as N, A as V } from "./arrow-right-CnuUc2oD.js";
|
|
7
|
+
import './assets/index45.css';const E = "_callToAction_1wtpc_1", $ = "_blurred_1wtpc_26", A = "_primary_1wtpc_27", F = "_secondary_1wtpc_28", S = "_primaryInverted_1wtpc_29", B = "_secondaryInverted_1wtpc_30", R = "_blurredInverted_1wtpc_32", T = "_link_1wtpc_46", D = "_linkInverted_1wtpc_47", q = "_underline_1wtpc_48", H = "_underlineInverted_1wtpc_49", W = "_content_1wtpc_59", G = "_icon_1wtpc_193", K = "_iconLeft_1wtpc_213", Y = "_iconRight_1wtpc_217", a = {
|
|
8
|
+
callToAction: E,
|
|
9
|
+
blurred: $,
|
|
10
|
+
primary: A,
|
|
11
11
|
secondary: F,
|
|
12
12
|
primaryInverted: S,
|
|
13
13
|
secondaryInverted: B,
|
|
14
|
-
blurredInverted:
|
|
15
|
-
link:
|
|
14
|
+
blurredInverted: R,
|
|
15
|
+
link: T,
|
|
16
16
|
linkInverted: D,
|
|
17
|
-
underline:
|
|
18
|
-
underlineInverted:
|
|
17
|
+
underline: q,
|
|
18
|
+
underlineInverted: H,
|
|
19
19
|
content: W,
|
|
20
20
|
icon: G,
|
|
21
21
|
iconLeft: K,
|
|
@@ -68,24 +68,52 @@ const e1 = [
|
|
|
68
68
|
* See the LICENSE file in the root directory of this source tree.
|
|
69
69
|
*/
|
|
70
70
|
const r1 = [["polygon", { points: "6 3 20 12 6 21 6 3", key: "1oa8hb" }]], c1 = u("play", r1);
|
|
71
|
+
/**
|
|
72
|
+
* @license lucide-react v0.488.0 - ISC
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the ISC license.
|
|
75
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/
|
|
77
|
+
const a1 = [
|
|
78
|
+
["path", { d: "M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "14sxne" }],
|
|
79
|
+
["path", { d: "M3 3v5h5", key: "1xhq8a" }],
|
|
80
|
+
["path", { d: "M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16", key: "1hlbsb" }],
|
|
81
|
+
["path", { d: "M16 16h5v5", key: "ccwih5" }]
|
|
82
|
+
], i1 = u("refresh-ccw", a1);
|
|
83
|
+
/**
|
|
84
|
+
* @license lucide-react v0.488.0 - ISC
|
|
85
|
+
*
|
|
86
|
+
* This source code is licensed under the ISC license.
|
|
87
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
88
|
+
*/
|
|
89
|
+
const o1 = [
|
|
90
|
+
[
|
|
91
|
+
"path",
|
|
92
|
+
{
|
|
93
|
+
d: "M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",
|
|
94
|
+
key: "1qme2f"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
98
|
+
], l1 = u("settings", o1);
|
|
71
99
|
var O = {
|
|
72
100
|
color: void 0,
|
|
73
101
|
size: void 0,
|
|
74
102
|
className: void 0,
|
|
75
103
|
style: void 0,
|
|
76
104
|
attr: void 0
|
|
77
|
-
}, g = d.createContext && /* @__PURE__ */ d.createContext(O),
|
|
78
|
-
function
|
|
105
|
+
}, g = d.createContext && /* @__PURE__ */ d.createContext(O), s1 = ["attr", "size", "title"];
|
|
106
|
+
function d1(t, e) {
|
|
79
107
|
if (t == null) return {};
|
|
80
|
-
var n =
|
|
108
|
+
var n = u1(t, e), r, i;
|
|
81
109
|
if (Object.getOwnPropertySymbols) {
|
|
82
|
-
var
|
|
83
|
-
for (
|
|
84
|
-
r =
|
|
110
|
+
var o = Object.getOwnPropertySymbols(t);
|
|
111
|
+
for (i = 0; i < o.length; i++)
|
|
112
|
+
r = o[i], !(e.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(t, r) && (n[r] = t[r]);
|
|
85
113
|
}
|
|
86
114
|
return n;
|
|
87
115
|
}
|
|
88
|
-
function
|
|
116
|
+
function u1(t, e) {
|
|
89
117
|
if (t == null) return {};
|
|
90
118
|
var n = {};
|
|
91
119
|
for (var r in t)
|
|
@@ -95,45 +123,45 @@ function a1(t, e) {
|
|
|
95
123
|
}
|
|
96
124
|
return n;
|
|
97
125
|
}
|
|
98
|
-
function
|
|
99
|
-
return
|
|
126
|
+
function h() {
|
|
127
|
+
return h = Object.assign ? Object.assign.bind() : function(t) {
|
|
100
128
|
for (var e = 1; e < arguments.length; e++) {
|
|
101
129
|
var n = arguments[e];
|
|
102
130
|
for (var r in n)
|
|
103
131
|
Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
|
|
104
132
|
}
|
|
105
133
|
return t;
|
|
106
|
-
},
|
|
134
|
+
}, h.apply(this, arguments);
|
|
107
135
|
}
|
|
108
136
|
function w(t, e) {
|
|
109
137
|
var n = Object.keys(t);
|
|
110
138
|
if (Object.getOwnPropertySymbols) {
|
|
111
139
|
var r = Object.getOwnPropertySymbols(t);
|
|
112
|
-
e && (r = r.filter(function(
|
|
113
|
-
return Object.getOwnPropertyDescriptor(t,
|
|
140
|
+
e && (r = r.filter(function(i) {
|
|
141
|
+
return Object.getOwnPropertyDescriptor(t, i).enumerable;
|
|
114
142
|
})), n.push.apply(n, r);
|
|
115
143
|
}
|
|
116
144
|
return n;
|
|
117
145
|
}
|
|
118
|
-
function
|
|
146
|
+
function p(t) {
|
|
119
147
|
for (var e = 1; e < arguments.length; e++) {
|
|
120
148
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
121
149
|
e % 2 ? w(Object(n), !0).forEach(function(r) {
|
|
122
|
-
|
|
150
|
+
h1(t, r, n[r]);
|
|
123
151
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : w(Object(n)).forEach(function(r) {
|
|
124
152
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
125
153
|
});
|
|
126
154
|
}
|
|
127
155
|
return t;
|
|
128
156
|
}
|
|
129
|
-
function
|
|
130
|
-
return e =
|
|
157
|
+
function h1(t, e, n) {
|
|
158
|
+
return e = p1(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
|
|
131
159
|
}
|
|
132
|
-
function
|
|
133
|
-
var e =
|
|
160
|
+
function p1(t) {
|
|
161
|
+
var e = v1(t, "string");
|
|
134
162
|
return typeof e == "symbol" ? e : e + "";
|
|
135
163
|
}
|
|
136
|
-
function
|
|
164
|
+
function v1(t, e) {
|
|
137
165
|
if (typeof t != "object" || !t) return t;
|
|
138
166
|
var n = t[Symbol.toPrimitive];
|
|
139
167
|
if (n !== void 0) {
|
|
@@ -143,151 +171,153 @@ function d1(t, e) {
|
|
|
143
171
|
}
|
|
144
172
|
return (e === "string" ? String : Number)(t);
|
|
145
173
|
}
|
|
146
|
-
function
|
|
147
|
-
return t && t.map((e, n) => /* @__PURE__ */ d.createElement(e.tag,
|
|
174
|
+
function x(t) {
|
|
175
|
+
return t && t.map((e, n) => /* @__PURE__ */ d.createElement(e.tag, p({
|
|
148
176
|
key: n
|
|
149
|
-
}, e.attr),
|
|
177
|
+
}, e.attr), x(e.child)));
|
|
150
178
|
}
|
|
151
179
|
function s(t) {
|
|
152
|
-
return (e) => /* @__PURE__ */ d.createElement(
|
|
153
|
-
attr:
|
|
154
|
-
}, e),
|
|
180
|
+
return (e) => /* @__PURE__ */ d.createElement(f1, h({
|
|
181
|
+
attr: p({}, t.attr)
|
|
182
|
+
}, e), x(t.child));
|
|
155
183
|
}
|
|
156
|
-
function
|
|
184
|
+
function f1(t) {
|
|
157
185
|
var e = (n) => {
|
|
158
186
|
var {
|
|
159
187
|
attr: r,
|
|
160
|
-
size:
|
|
161
|
-
title:
|
|
162
|
-
} = t,
|
|
163
|
-
return n.className && (l = n.className), t.className && (l = (l ? l + " " : "") + t.className), /* @__PURE__ */ d.createElement("svg",
|
|
188
|
+
size: i,
|
|
189
|
+
title: o
|
|
190
|
+
} = t, v = d1(t, s1), f = i || n.size || "1em", l;
|
|
191
|
+
return n.className && (l = n.className), t.className && (l = (l ? l + " " : "") + t.className), /* @__PURE__ */ d.createElement("svg", h({
|
|
164
192
|
stroke: "currentColor",
|
|
165
193
|
fill: "currentColor",
|
|
166
194
|
strokeWidth: "0"
|
|
167
|
-
}, n.attr, r,
|
|
195
|
+
}, n.attr, r, v, {
|
|
168
196
|
className: l,
|
|
169
|
-
style:
|
|
197
|
+
style: p(p({
|
|
170
198
|
color: t.color || n.color
|
|
171
199
|
}, n.style), t.style),
|
|
172
|
-
height:
|
|
173
|
-
width:
|
|
200
|
+
height: f,
|
|
201
|
+
width: f,
|
|
174
202
|
xmlns: "http://www.w3.org/2000/svg"
|
|
175
|
-
}),
|
|
203
|
+
}), o && /* @__PURE__ */ d.createElement("title", null, o), t.children);
|
|
176
204
|
};
|
|
177
205
|
return g !== void 0 ? /* @__PURE__ */ d.createElement(g.Consumer, null, (n) => e(n)) : e(O);
|
|
178
206
|
}
|
|
179
|
-
function
|
|
207
|
+
function m1(t) {
|
|
180
208
|
return s({ attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z" }, child: [] }] })(t);
|
|
181
209
|
}
|
|
182
|
-
function
|
|
210
|
+
function k1(t) {
|
|
183
211
|
return s({ 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: [] }] })(t);
|
|
184
212
|
}
|
|
185
|
-
function
|
|
213
|
+
function y1(t) {
|
|
186
214
|
return s({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M325.3 234.3L104.6 13l280.8 161.2-60.1 60.1zM47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256L47 0zm425.2 225.6l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-14.3 18-46.5-1.2-60.8zM104.6 499l280.8-161.2-60.1-60.1L104.6 499z" }, child: [] }] })(t);
|
|
187
215
|
}
|
|
188
|
-
function
|
|
216
|
+
function L1(t) {
|
|
189
217
|
return s({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z" }, child: [] }] })(t);
|
|
190
218
|
}
|
|
191
|
-
function
|
|
219
|
+
function M1(t) {
|
|
192
220
|
return s({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z" }, child: [] }] })(t);
|
|
193
221
|
}
|
|
194
|
-
function
|
|
222
|
+
function P1(t) {
|
|
195
223
|
return s({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z" }, child: [] }] })(t);
|
|
196
224
|
}
|
|
197
|
-
function
|
|
225
|
+
function N1(t) {
|
|
198
226
|
return s({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z" }, child: [] }] })(t);
|
|
199
227
|
}
|
|
200
|
-
function
|
|
228
|
+
function _1(t) {
|
|
201
229
|
return s({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z" }, child: [] }] })(t);
|
|
202
230
|
}
|
|
203
|
-
const
|
|
231
|
+
const g1 = {
|
|
204
232
|
apps: /* @__PURE__ */ I(L, { children: [
|
|
205
|
-
/* @__PURE__ */ c(
|
|
233
|
+
/* @__PURE__ */ c(m1, {}),
|
|
206
234
|
" ",
|
|
207
|
-
/* @__PURE__ */ c(
|
|
235
|
+
/* @__PURE__ */ c(y1, {})
|
|
208
236
|
] }),
|
|
209
|
-
"arrow-left": /* @__PURE__ */ c(
|
|
237
|
+
"arrow-left": /* @__PURE__ */ c(V, {}),
|
|
210
238
|
"arrow-right": /* @__PURE__ */ c(N, {}),
|
|
211
|
-
"chevron-down": /* @__PURE__ */ c(
|
|
239
|
+
"chevron-down": /* @__PURE__ */ c(P, {}),
|
|
212
240
|
"chevron-left": /* @__PURE__ */ c(Q, {}),
|
|
213
241
|
"chevron-right": /* @__PURE__ */ c(X, {}),
|
|
214
|
-
envelope: /* @__PURE__ */ c(
|
|
242
|
+
envelope: /* @__PURE__ */ c(_1, {}),
|
|
215
243
|
phone: /* @__PURE__ */ c(n1, {}),
|
|
216
244
|
play: /* @__PURE__ */ c(c1, {}),
|
|
217
245
|
"new-tab": /* @__PURE__ */ c(M, {}),
|
|
246
|
+
refresh: /* @__PURE__ */ c(i1, {}),
|
|
247
|
+
settings: /* @__PURE__ */ c(l1, {}),
|
|
218
248
|
"sign-in": /* @__PURE__ */ c(t1, {})
|
|
219
249
|
}, b = {
|
|
220
|
-
primary:
|
|
221
|
-
primaryInverted:
|
|
222
|
-
secondary:
|
|
223
|
-
secondaryInverted:
|
|
224
|
-
link:
|
|
225
|
-
linkInverted:
|
|
226
|
-
underline:
|
|
227
|
-
underlineInverted:
|
|
228
|
-
blurred:
|
|
229
|
-
blurredInverted:
|
|
230
|
-
},
|
|
231
|
-
left:
|
|
232
|
-
right:
|
|
250
|
+
primary: a.primary,
|
|
251
|
+
primaryInverted: a.primaryInverted,
|
|
252
|
+
secondary: a.secondary,
|
|
253
|
+
secondaryInverted: a.secondaryInverted,
|
|
254
|
+
link: a.link,
|
|
255
|
+
linkInverted: a.linkInverted,
|
|
256
|
+
underline: a.underline,
|
|
257
|
+
underlineInverted: a.underlineInverted,
|
|
258
|
+
blurred: a.blurred,
|
|
259
|
+
blurredInverted: a.blurredInverted
|
|
260
|
+
}, w1 = {
|
|
261
|
+
left: a.iconLeft,
|
|
262
|
+
right: a.iconRight
|
|
233
263
|
};
|
|
234
|
-
function
|
|
264
|
+
function V1({
|
|
235
265
|
variant: t = "primary",
|
|
236
266
|
displayType: e = "text",
|
|
237
267
|
imageSrc: n,
|
|
238
268
|
imageAlt: r = "",
|
|
239
|
-
ImageComponent:
|
|
240
|
-
icon:
|
|
241
|
-
iconAlignment:
|
|
242
|
-
useRouter:
|
|
269
|
+
ImageComponent: i,
|
|
270
|
+
icon: o,
|
|
271
|
+
iconAlignment: v = "right",
|
|
272
|
+
useRouter: f = !1,
|
|
243
273
|
className: l,
|
|
244
|
-
children:
|
|
274
|
+
children: z,
|
|
245
275
|
disabled: C = !1,
|
|
246
276
|
...m
|
|
247
277
|
}) {
|
|
248
|
-
const
|
|
278
|
+
const y = e === "image" ? i || (n ? /* @__PURE__ */ c(
|
|
249
279
|
"img",
|
|
250
280
|
{
|
|
251
281
|
width: "175",
|
|
252
282
|
height: "59",
|
|
253
283
|
src: n,
|
|
254
284
|
alt: r,
|
|
255
|
-
className:
|
|
285
|
+
className: a.image
|
|
256
286
|
}
|
|
257
|
-
) : null) : /* @__PURE__ */ I("span", { className: `${
|
|
258
|
-
/* @__PURE__ */ c("span", { children:
|
|
259
|
-
|
|
287
|
+
) : null) : /* @__PURE__ */ I("span", { className: `${a.content} ${w1[v]}`, children: [
|
|
288
|
+
/* @__PURE__ */ c("span", { children: z }),
|
|
289
|
+
o && /* @__PURE__ */ c("span", { className: a.icon, children: g1[o] })
|
|
260
290
|
] });
|
|
261
291
|
if (m.as == "a") {
|
|
262
|
-
const { href: j, target:
|
|
292
|
+
const { href: j, target: _, ...k } = m;
|
|
263
293
|
return /* @__PURE__ */ c(
|
|
264
294
|
"a",
|
|
265
295
|
{
|
|
266
296
|
href: j,
|
|
267
|
-
target:
|
|
268
|
-
rel:
|
|
269
|
-
className: `${l ?? ""} ${
|
|
270
|
-
...
|
|
271
|
-
children:
|
|
297
|
+
target: _,
|
|
298
|
+
rel: _ === "_blank" ? "noopener noreferrer" : void 0,
|
|
299
|
+
className: `${l ?? ""} ${a.callToAction} ${b[t]}`,
|
|
300
|
+
...k,
|
|
301
|
+
children: y
|
|
272
302
|
}
|
|
273
303
|
);
|
|
274
304
|
}
|
|
275
305
|
return /* @__PURE__ */ c(
|
|
276
306
|
"button",
|
|
277
307
|
{
|
|
278
|
-
className: `${l ?? ""} ${
|
|
308
|
+
className: `${l ?? ""} ${a.callToAction} ${b[t]}`,
|
|
279
309
|
disabled: C,
|
|
280
310
|
...m,
|
|
281
|
-
children:
|
|
311
|
+
children: y
|
|
282
312
|
}
|
|
283
313
|
);
|
|
284
314
|
}
|
|
285
315
|
export {
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
316
|
+
V1 as C,
|
|
317
|
+
N1 as F,
|
|
318
|
+
L1 as a,
|
|
319
|
+
M1 as b,
|
|
320
|
+
P1 as c,
|
|
321
|
+
k1 as d,
|
|
292
322
|
Q as e
|
|
293
323
|
};
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './assets/index.css';/* empty css */
|
|
2
2
|
import { ButtonGroup as t } from "./components/ButtonGroup/index.js";
|
|
3
3
|
import { FloatingActionButton as m } from "./components/FloatingActionButton/index.js";
|
|
4
|
-
import { C as f } from "./index-
|
|
4
|
+
import { C as f } from "./index-CHqqMxmE.js";
|
|
5
5
|
import { IconButton as i } from "./components/IconButton/index.js";
|
|
6
6
|
import { Heading as l } from "./components/Heading/index.js";
|
|
7
7
|
import { Text as d } from "./components/Text/index.js";
|