@lanaco/lnc-react-ui 4.0.23 → 4.0.25
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/Accordion.cjs +1 -1
- package/dist/Accordion.js +2 -2
- package/dist/AccordionDetails.cjs +1 -1
- package/dist/AccordionDetails.js +1 -1
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +2 -2
- package/dist/ActionsToolbar.cjs +1 -1
- package/dist/ActionsToolbar.js +2 -2
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +2 -2
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +2 -2
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +2 -2
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +2 -2
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +2 -2
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +2 -2
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +2 -2
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +2 -2
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +2 -2
- package/dist/Content.cjs +1 -1
- package/dist/Content.js +1 -1
- package/dist/{CustomStyles-Dlqxic2X.cjs → CustomStyles-CBON9fD-.cjs} +1 -1
- package/dist/{CustomStyles-BUSJ8bZt.js → CustomStyles-DuADCM-0.js} +1 -1
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +1 -1
- package/dist/DateInput.cjs +1 -1
- package/dist/DateInput.js +3 -3
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +2 -2
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +2 -2
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +2 -2
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +2 -2
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +2 -2
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +2 -2
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +2 -2
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +3 -3
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +2 -2
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +2 -2
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +2 -2
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +2 -2
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +2 -2
- package/dist/FlexBox.cjs +1 -1
- package/dist/FlexBox.js +1 -1
- package/dist/FlexGrid.cjs +1 -1
- package/dist/FlexGrid.js +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +2 -2
- package/dist/Footer.cjs +1 -1
- package/dist/Footer.js +1 -1
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +2 -2
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +2 -2
- package/dist/Grid.cjs +1 -1
- package/dist/Grid.js +1 -1
- package/dist/GridItem.cjs +1 -1
- package/dist/GridItem.js +1 -1
- package/dist/Header.cjs +1 -1
- package/dist/Header.js +1 -1
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +2 -2
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +2 -2
- package/dist/Kanban.cjs +1 -1
- package/dist/Kanban.js +4 -4
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +2 -2
- package/dist/{KanbanCard-CHZ_C9kk.js → KanbanCard-BDyFaKYd.js} +2 -2
- package/dist/{KanbanCard-DV3VnSUi.cjs → KanbanCard-CofqdTrO.cjs} +1 -1
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +2 -2
- package/dist/KanbanFooter.cjs +1 -1
- package/dist/KanbanFooter.js +1 -1
- package/dist/KanbanHeader.cjs +1 -1
- package/dist/KanbanHeader.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +3 -3
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +2 -2
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +2 -2
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +2 -2
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +2 -2
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +2 -2
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +2 -2
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +2 -2
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +2 -2
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +2 -2
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +2 -2
- package/dist/PageLayout.cjs +1 -1
- package/dist/PageLayout.js +1 -1
- package/dist/Pagination.cjs +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +2 -2
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.js +1 -1
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +2 -2
- package/dist/PopoverTrigger.cjs +1 -1
- package/dist/PopoverTrigger.js +1 -1
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +2 -2
- package/dist/RadioGroup.cjs +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +2 -2
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +2 -2
- package/dist/SearchBar.cjs +1 -1
- package/dist/SearchBar.js +1 -1
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +2 -2
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +2 -2
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +2 -2
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +2 -2
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +2 -2
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +2 -2
- package/dist/Table.cjs +1 -1
- package/dist/Table.js +2 -2
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +2 -2
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +2 -2
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +2 -2
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +26 -26
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +2 -2
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +2 -2
- package/dist/TreeMenu.cjs +1 -1
- package/dist/TreeMenu.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +2 -2
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +2 -2
- package/dist/consts-DNVz1x1I.js +4 -0
- package/dist/consts-dNz9tpt4.cjs +1 -0
- package/dist/{index-BIlhCoy2.cjs → index-BPVoEhTF.cjs} +5 -5
- package/dist/{index-Cu0xwYjD.js → index-Bq3leL2e.js} +5 -4
- package/dist/index-C2M7QHPq.cjs +40 -0
- package/dist/index-DcYg32le.js +69 -0
- package/dist/index-LdP7U1Yl.cjs +114 -0
- package/dist/{index-BYnWp42a.js → index-S5Cd7WrG.js} +74 -73
- package/dist/index-gY9e_8LL.cjs +5 -0
- package/dist/index-jVpIwR2G.js +159 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +125 -105
- package/dist/index10.cjs +117 -0
- package/dist/index10.js +209 -0
- package/dist/index11.cjs +135 -0
- package/dist/index11.js +1534 -0
- package/dist/index2.cjs +25 -0
- package/dist/index2.js +99 -0
- package/dist/index3.cjs +68 -0
- package/dist/index3.js +135 -0
- package/dist/index4.cjs +48 -0
- package/dist/index4.js +100 -0
- package/dist/index5.cjs +81 -0
- package/dist/index5.js +144 -0
- package/dist/index6.cjs +65 -0
- package/dist/index6.js +104 -0
- package/dist/index7.cjs +82 -0
- package/dist/index7.js +138 -0
- package/dist/index8.cjs +150 -0
- package/dist/index8.js +222 -0
- package/dist/index9.cjs +90 -0
- package/dist/index9.js +152 -0
- package/dist/style-C3OB0uad.cjs +76 -0
- package/dist/style-Ch-xOasu.js +84 -0
- package/dist/style.css +1 -1
- package/dist/useDetectMobile-BookNOsk.js +13 -0
- package/dist/useDetectMobile-rBe0FiP2.cjs +1 -0
- package/dist/{utils-DTAPpJXU.cjs → utils-CE6bljYe.cjs} +43 -5
- package/dist/{utils-C52T57HO.js → utils-DtEdJZWa.js} +121 -32
- package/package.json +12 -2
- package/vite.config.js +44 -1
- package/dist/index-CSXL784P.cjs +0 -5
package/dist/ThemeProvider.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as Ue, jsxs as St } from "react/jsx-runtime";
|
|
2
2
|
import ue, { useRef as ot, useContext as we, useLayoutEffect as wt, createElement as Et, createContext as bt, useState as Ct, useEffect as _t } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { P as Ie } from "./index-
|
|
3
|
+
import { p as At, d as xe, a as oe, q as Oe } from "./utils-DtEdJZWa.js";
|
|
4
|
+
import { P as Ie } from "./index-S5Cd7WrG.js";
|
|
5
5
|
import { i as We } from "./emotion-is-prop-valid.esm-DkbeH1Xy.js";
|
|
6
6
|
import { m as Tt } from "./hoist-non-react-statics.cjs-CAHiRNzQ.js";
|
|
7
7
|
import { d as Rt } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
@@ -310,11 +310,11 @@ function Ot(e) {
|
|
|
310
310
|
R + l + T === 0 && (M = ge = 1, Q = "\f" + Q);
|
|
311
311
|
break;
|
|
312
312
|
case 108:
|
|
313
|
-
if (R + l + T +
|
|
313
|
+
if (R + l + T + K === 0 && 0 < j) switch (P - j) {
|
|
314
314
|
case 2:
|
|
315
|
-
L === 112 && f.charCodeAt(P - 3) === 58 && (
|
|
315
|
+
L === 112 && f.charCodeAt(P - 3) === 58 && (K = L);
|
|
316
316
|
case 8:
|
|
317
|
-
B === 111 && (
|
|
317
|
+
B === 111 && (K = B);
|
|
318
318
|
}
|
|
319
319
|
break;
|
|
320
320
|
case 58:
|
|
@@ -372,15 +372,15 @@ function Ot(e) {
|
|
|
372
372
|
}
|
|
373
373
|
if (V = F.length, 0 < V) {
|
|
374
374
|
if (M = d, 0 < W && (ne = u(2, F, M, h, X, H, V, E, a, E), ne !== void 0 && (F = ne).length === 0)) return Ne + F + Pe;
|
|
375
|
-
if (F = M.join(",") + "{" + F + "}", G *
|
|
376
|
-
switch (G !== 2 || i(F, 2) || (
|
|
375
|
+
if (F = M.join(",") + "{" + F + "}", G * K !== 0) {
|
|
376
|
+
switch (G !== 2 || i(F, 2) || (K = 0), K) {
|
|
377
377
|
case 111:
|
|
378
378
|
F = F.replace(x, ":-moz-$1") + F;
|
|
379
379
|
break;
|
|
380
380
|
case 112:
|
|
381
381
|
F = F.replace(z, "::-webkit-input-$1") + F.replace(z, "::-moz-$1") + F.replace(z, ":-ms-input-$1") + F;
|
|
382
382
|
}
|
|
383
|
-
|
|
383
|
+
K = 0;
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
386
|
return Ne + F + Pe;
|
|
@@ -515,7 +515,7 @@ function Ot(e) {
|
|
|
515
515
|
}
|
|
516
516
|
function i(h, d) {
|
|
517
517
|
var f = h.indexOf(d === 1 ? ":" : "{"), E = h.substring(0, d !== 3 ? f : 10);
|
|
518
|
-
return f = h.substring(f + 1, h.length - 1), pe(d !== 2 ? E : E.replace(
|
|
518
|
+
return f = h.substring(f + 1, h.length - 1), pe(d !== 2 ? E : E.replace(q, "$1"), f, d);
|
|
519
519
|
}
|
|
520
520
|
function c(h, d) {
|
|
521
521
|
var f = s(d, d.charCodeAt(0), d.charCodeAt(1), d.charCodeAt(2));
|
|
@@ -558,9 +558,9 @@ function Ot(e) {
|
|
|
558
558
|
E !== void 0 && typeof E == "string" && (d = E);
|
|
559
559
|
}
|
|
560
560
|
var a = n(he, f, d, 0, 0);
|
|
561
|
-
return 0 < W && (E = u(-2, a, f, f, X, H, a.length, 0, 0, 0), E !== void 0 && (a = E)), me = "",
|
|
561
|
+
return 0 < W && (E = u(-2, a, f, f, X, H, a.length, 0, 0, 0), E !== void 0 && (a = E)), me = "", K = 0, H = X = 1, a;
|
|
562
562
|
}
|
|
563
|
-
var v = /^\0+/g, _ = /[\0\r\f]/g, N = /: */g, m = /zoo|gra/, o = /([,: ])(transform)/g, S = /,\r+?/g, $ = /([\t\r\n ])*\f?&/g, C = /@(k\w+)\s*(\S*)\s*/, z = /::(place)/g, x = /:(read-only)/g, D = /[svh]\w+-[tblr]{2}/, J = /\(\s*(.*)\s*\)/g, te = /([\s\S]*?);/g, U = /-self|flex-/g,
|
|
563
|
+
var v = /^\0+/g, _ = /[\0\r\f]/g, N = /: */g, m = /zoo|gra/, o = /([,: ])(transform)/g, S = /,\r+?/g, $ = /([\t\r\n ])*\f?&/g, C = /@(k\w+)\s*(\S*)\s*/, z = /::(place)/g, x = /:(read-only)/g, D = /[svh]\w+-[tblr]{2}/, J = /\(\s*(.*)\s*\)/g, te = /([\s\S]*?);/g, U = /-self|flex-/g, q = /[^]*?(:[rp][el]a[\w-]+)[^]*/, re = /stretch|:\s*\w+\-(?:conte|avail)/, ce = /([^-])(image-set\()/, H = 1, X = 1, K = 0, G = 1, he = [], Z = [], W = 0, pe = null, le = 0, me = "";
|
|
564
564
|
return y.use = g, y.set = p, e !== void 0 && p(e), y;
|
|
565
565
|
}
|
|
566
566
|
var It = {
|
|
@@ -858,13 +858,13 @@ var Ft = function() {
|
|
|
858
858
|
return i;
|
|
859
859
|
}(this);
|
|
860
860
|
}, e;
|
|
861
|
-
}(), Qt = /(a)(d)/gi,
|
|
861
|
+
}(), Qt = /(a)(d)/gi, qe = function(e) {
|
|
862
862
|
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
863
863
|
};
|
|
864
864
|
function Le(e) {
|
|
865
865
|
var n, t = "";
|
|
866
|
-
for (n = Math.abs(e); n > 52; n = n / 52 | 0) t =
|
|
867
|
-
return (
|
|
866
|
+
for (n = Math.abs(e); n > 52; n = n / 52 | 0) t = qe(n % 52) + t;
|
|
867
|
+
return (qe(n % 52) + t).replace(Qt, "$1-$2");
|
|
868
868
|
}
|
|
869
869
|
var se = function(e, n) {
|
|
870
870
|
for (var t = n.length; t; ) e = 33 * e ^ n.charCodeAt(--t);
|
|
@@ -879,7 +879,7 @@ function it(e) {
|
|
|
879
879
|
}
|
|
880
880
|
return !0;
|
|
881
881
|
}
|
|
882
|
-
var Jt = st("5.3.11"),
|
|
882
|
+
var Jt = st("5.3.11"), qt = function() {
|
|
883
883
|
function e(n, t, r) {
|
|
884
884
|
this.rules = n, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (r === void 0 || r.isStatic) && it(n), this.componentId = t, this.baseHash = se(Jt, t), this.baseStyle = r, ke.registerId(t);
|
|
885
885
|
}
|
|
@@ -914,7 +914,7 @@ var Jt = st("5.3.11"), Kt = function() {
|
|
|
914
914
|
}
|
|
915
915
|
return i.join(" ");
|
|
916
916
|
}, e;
|
|
917
|
-
}(),
|
|
917
|
+
}(), Kt = /^\s*\/\/.*$/gm, er = [":", "[", ".", "#"];
|
|
918
918
|
function tr(e) {
|
|
919
919
|
var n, t, r, s, i = ae, c = i.options, u = c === void 0 ? ae : c, g = i.plugins, p = g === void 0 ? Te : g, y = new Ot(u), v = [], _ = /* @__PURE__ */ function(o) {
|
|
920
920
|
function S($) {
|
|
@@ -923,10 +923,10 @@ function tr(e) {
|
|
|
923
923
|
} catch {
|
|
924
924
|
}
|
|
925
925
|
}
|
|
926
|
-
return function($, C, z, x, D, J, te, U,
|
|
926
|
+
return function($, C, z, x, D, J, te, U, q, re) {
|
|
927
927
|
switch ($) {
|
|
928
928
|
case 1:
|
|
929
|
-
if (
|
|
929
|
+
if (q === 0 && C.charCodeAt(0) === 64) return o(C + ";"), "";
|
|
930
930
|
break;
|
|
931
931
|
case 2:
|
|
932
932
|
if (U === 0) return C + "/*|*/";
|
|
@@ -950,7 +950,7 @@ function tr(e) {
|
|
|
950
950
|
};
|
|
951
951
|
function m(o, S, $, C) {
|
|
952
952
|
C === void 0 && (C = "&");
|
|
953
|
-
var z = o.replace(
|
|
953
|
+
var z = o.replace(Kt, ""), x = S && $ ? $ + " " + S + " { " + z + " }" : z;
|
|
954
954
|
return n = C, t = S, r = new RegExp("\\" + t + "\\b", "g"), s = new RegExp("(\\" + t + "\\b){2,}"), y($ || !S ? "" : S, x);
|
|
955
955
|
}
|
|
956
956
|
return y.use([].concat(p, [function(o, S, $) {
|
|
@@ -990,7 +990,7 @@ var nr = function() {
|
|
|
990
990
|
}(), or = /([A-Z])/, ar = /([A-Z])/g, sr = /^ms-/, ir = function(e) {
|
|
991
991
|
return "-" + e.toLowerCase();
|
|
992
992
|
};
|
|
993
|
-
function
|
|
993
|
+
function Ke(e) {
|
|
994
994
|
return or.test(e) ? e.replace(ar, ir).replace(sr, "-ms-") : e;
|
|
995
995
|
}
|
|
996
996
|
var et = function(e) {
|
|
@@ -1011,7 +1011,7 @@ function ie(e, n, t, r) {
|
|
|
1011
1011
|
var p;
|
|
1012
1012
|
return e instanceof nr ? t ? (e.inject(t, r), e.getName(r)) : e : Ye(e) ? function y(v, _) {
|
|
1013
1013
|
var N, m, o = [];
|
|
1014
|
-
for (var S in v) v.hasOwnProperty(S) && !et(v[S]) && (Array.isArray(v[S]) && v[S].isCss || Se(v[S]) ? o.push(
|
|
1014
|
+
for (var S in v) v.hasOwnProperty(S) && !et(v[S]) && (Array.isArray(v[S]) && v[S].isCss || Se(v[S]) ? o.push(Ke(S) + ":", v[S], ";") : Ye(v[S]) ? o.push.apply(o, y(v[S], S)) : o.push(Ke(S) + ": " + (N = S, (m = v[S]) == null || typeof m == "boolean" || m === "" ? "" : typeof m != "number" || m === 0 || N in It || N.startsWith("--") ? String(m).trim() : m + "px") + ";"));
|
|
1015
1015
|
return _ ? [_ + " {"].concat(o, ["}"]) : o;
|
|
1016
1016
|
}(e) : e.toString();
|
|
1017
1017
|
}
|
|
@@ -1086,9 +1086,9 @@ function yt(e, n, t) {
|
|
|
1086
1086
|
r && e.shouldForwardProp && (N = n.shouldForwardProp ? function(C, z, x) {
|
|
1087
1087
|
return e.shouldForwardProp(C, z, x) && n.shouldForwardProp(C, z, x);
|
|
1088
1088
|
} : e.shouldForwardProp);
|
|
1089
|
-
var m, o = new
|
|
1089
|
+
var m, o = new qt(t, v, r ? e.componentStyle : void 0), S = o.isStatic && c.length === 0, $ = function(C, z) {
|
|
1090
1090
|
return function(x, D, J, te) {
|
|
1091
|
-
var U = x.attrs,
|
|
1091
|
+
var U = x.attrs, q = x.componentStyle, re = x.defaultProps, ce = x.foldedComponentIds, H = x.shouldForwardProp, X = x.styledComponentId, K = x.target, G = function(E, a, T) {
|
|
1092
1092
|
E === void 0 && (E = ae);
|
|
1093
1093
|
var l = ee({}, a, { theme: E }), Y = {};
|
|
1094
1094
|
return T.forEach(function(R) {
|
|
@@ -1098,7 +1098,7 @@ function yt(e, n, t) {
|
|
|
1098
1098
|
}(pt(D, we(He), re) || ae, D, U), he = G[0], Z = G[1], W = function(E, a, T, l) {
|
|
1099
1099
|
var Y = ut(), R = dt(), k = a ? E.generateAndInjectStyles(ae, Y, R) : E.generateAndInjectStyles(T, Y, R);
|
|
1100
1100
|
return process.env.NODE_ENV !== "production" && !a && l && l(k), k;
|
|
1101
|
-
}(
|
|
1101
|
+
}(q, te, he, process.env.NODE_ENV !== "production" ? x.warnTooManyClasses : void 0), pe = J, le = Z.$as || D.$as || Z.as || D.as || K, me = _e(le), h = Z !== D ? ee({}, D, {}, Z) : D, d = {};
|
|
1102
1102
|
for (var f in h) f[0] !== "$" && f !== "as" && (f === "forwardedAs" ? d.as = h[f] : (H ? H(f, We, le) : !me || We(f)) && (d[f] = h[f]));
|
|
1103
1103
|
return D.style && Z.style !== D.style && (d.style = ee({}, D.style, {}, Z.style)), d.className = Array.prototype.concat(ce, X, W !== X ? W : null, D.className, Z.className).filter(Boolean).join(" "), d.ref = pe, Et(le, d);
|
|
1104
1104
|
}(m, C, z, S);
|
|
@@ -1106,8 +1106,8 @@ function yt(e, n, t) {
|
|
|
1106
1106
|
return $.displayName = y, (m = ue.forwardRef($)).attrs = _, m.componentStyle = o, m.displayName = y, m.shouldForwardProp = N, m.foldedComponentIds = r ? Array.prototype.concat(e.foldedComponentIds, e.styledComponentId) : Te, m.styledComponentId = v, m.target = r ? e.target : e, m.withComponent = function(C) {
|
|
1107
1107
|
var z = n.componentId, x = function(J, te) {
|
|
1108
1108
|
if (J == null) return {};
|
|
1109
|
-
var U,
|
|
1110
|
-
for (
|
|
1109
|
+
var U, q, re = {}, ce = Object.keys(J);
|
|
1110
|
+
for (q = 0; q < ce.length; q++) U = ce[q], te.indexOf(U) >= 0 || (re[U] = J[U]);
|
|
1111
1111
|
return re;
|
|
1112
1112
|
}(n, ["componentId"]), D = z && z + "-" + (_e(C) ? C : $e(Fe(C)));
|
|
1113
1113
|
return yt(C, ee({}, x, { attrs: _, componentId: D }), t);
|
package/dist/TimeInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const d=require("react/jsx-runtime"),l=require("react"),R=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),r=require("./index-
|
|
1
|
+
"use strict";const d=require("react/jsx-runtime"),l=require("react"),R=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),r=require("./index-BPVoEhTF.cjs"),q=require("./index-DaiUAQVF.cjs"),t=require("./utils-CE6bljYe.cjs"),v=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),O=({theme:e,size:i})=>{var s=t.getSizeValueWithUnits(e,i);return`
|
|
2
2
|
min-height: ${s};
|
|
3
3
|
max-height: ${s};
|
|
4
4
|
`},w=R.newStyled.input`
|
package/dist/TimeInput.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as u, Fragment as V } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as v, useState as O, useEffect as T, useCallback as z } from "react";
|
|
3
3
|
import { n as S } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
4
|
-
import { P as a } from "./index-
|
|
4
|
+
import { P as a } from "./index-S5Cd7WrG.js";
|
|
5
5
|
import { d as k } from "./index-CNBqQrtK.js";
|
|
6
|
-
import { g as w, a as o, b as R, h as j, e as F, d as N } from "./utils-
|
|
6
|
+
import { g as w, a as o, b as R, h as j, e as F, d as N } from "./utils-DtEdJZWa.js";
|
|
7
7
|
import { u as P } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
8
8
|
const U = ({ theme: e, size: d }) => {
|
|
9
9
|
var l = N(e, d);
|
package/dist/Toggle.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),I=require("react"),o=require("./index-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),I=require("react"),o=require("./index-BPVoEhTF.cjs"),f=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./utils-CE6bljYe.cjs"),v=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),r={containerWidth:{small:"2.5rem",medium:"3rem",large:"3.5rem"},containerHeight:{small:"1.5rem",medium:"1.75rem",large:"2rem"},sliderSize:{small:"1rem",medium:"1.25rem",large:"1.5rem"},paddingLeft:{small:"0.5rem",medium:"0.5rem",large:"0.5rem"},slider:{small:"1rem",medium:"1.25rem",large:"1.5rem"},icon:{small:"0.75rem",medium:"0.875rem",large:"1rem"},iconOff:{small:"0.625rem",medium:"0.6875rem",large:"0.75rem"}},V={checked:{left:{small:"1.25rem",medium:"1.5rem",large:"1.75rem"}}},l={on:{top:{small:"0.25rem",medium:"0.25rem",large:"0.25rem"},left:{small:"1.375rem",medium:"1.6875rem",large:"2rem"},right:{small:"0.5rem",medium:"0.5rem",large:"0.5rem"}},off:{top:{small:"0.375rem",medium:"0.4375rem",large:"0.5rem"},left:{small:"1.375rem",medium:"1.75rem",large:"2.125rem"},right:{small:"0.5rem",medium:"0.5rem",large:"0.5rem"}}},S=e=>e=="left"?"row-reverse":"row",j=f.newStyled.label`
|
|
2
2
|
box-sizing: content-box !important;
|
|
3
3
|
width: 100%;
|
|
4
4
|
text-align: left;
|
package/dist/Toggle.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as S, jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { useState as P } from "react";
|
|
3
|
-
import { P as t } from "./index-
|
|
3
|
+
import { P as t } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { n as k } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
|
-
import { e as j, a as i, g as f } from "./utils-
|
|
5
|
+
import { e as j, a as i, g as f } from "./utils-DtEdJZWa.js";
|
|
6
6
|
import { u as B } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
7
7
|
const o = {
|
|
8
8
|
containerWidth: {
|
package/dist/TreeMenu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const T=require("react/jsx-runtime"),s=require("react"),n=require("./index-
|
|
1
|
+
"use strict";const T=require("react/jsx-runtime"),s=require("react"),n=require("./index-BPVoEhTF.cjs"),c=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),w=c.newStyled.div`
|
|
2
2
|
padding: 0.25rem;
|
|
3
3
|
gap: ${t=>t.itemsGap};
|
|
4
4
|
display: flex;
|
package/dist/TreeMenu.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as C, jsx as N } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as D, useRef as Y, Children as l, isValidElement as M, cloneElement as u } from "react";
|
|
3
|
-
import { P as s } from "./index-
|
|
3
|
+
import { P as s } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { n as G } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
5
|
const U = G.div`
|
|
6
6
|
padding: 0.25rem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),r=require("./index-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),r=require("./index-BPVoEhTF.cjs"),l=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),m=require("./utils-CE6bljYe.cjs"),u=require("react"),p=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),d=l.newStyled.div`
|
|
2
2
|
height: 1px;
|
|
3
3
|
background-color: ${e=>m.getColorRgbaValue(e.theme,"MenuItem","default","enabled","separator")};
|
|
4
4
|
margin-left: -0.25rem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { P as r } from "./index-
|
|
2
|
+
import { P as r } from "./index-S5Cd7WrG.js";
|
|
3
3
|
import { n as l } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
4
|
-
import { a as n } from "./utils-
|
|
4
|
+
import { a as n } from "./utils-DtEdJZWa.js";
|
|
5
5
|
import { forwardRef as i } from "react";
|
|
6
6
|
import { u as c } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
7
7
|
const f = l.div`
|
package/dist/UploadedFile.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),N=require("react"),s=require("./index-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),N=require("react"),s=require("./index-BPVoEhTF.cjs"),t=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),h=require("./Icon.cjs"),U=require("./ProgressBar.cjs"),m=require("./utils-CE6bljYe.cjs"),M=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),w={small:"1.5rem",medium:"1.75rem",large:"2rem"},P={small:"2.25rem",medium:"2.5rem",large:"2.75rem"},O=t.newStyled.div`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
gap: 0.5rem;
|
|
4
4
|
align-items: center;
|
package/dist/UploadedFile.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as j } from "react";
|
|
3
|
-
import { P as i } from "./index-
|
|
3
|
+
import { P as i } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { n as t } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
5
|
import y from "./Icon.js";
|
|
6
6
|
import M from "./ProgressBar.js";
|
|
7
|
-
import { a as O, g as C } from "./utils-
|
|
7
|
+
import { a as O, g as C } from "./utils-DtEdJZWa.js";
|
|
8
8
|
import { u as R } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
9
9
|
const z = {
|
|
10
10
|
small: "1.5rem",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.MOBILE_SIZE_PX=800;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const ge=require("./_commonjsHelpers-DKOUU3wS.cjs");var ae={exports:{}},V={exports:{}},T={};/** @license React v16.13.1
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var ue;function
|
|
8
|
+
*/var ue;function Se(){if(ue)return T;ue=1;var o=typeof Symbol=="function"&&Symbol.for,j=o?Symbol.for("react.element"):60103,_=o?Symbol.for("react.portal"):60106,p=o?Symbol.for("react.fragment"):60107,S=o?Symbol.for("react.strict_mode"):60108,a=o?Symbol.for("react.profiler"):60114,P=o?Symbol.for("react.provider"):60109,l=o?Symbol.for("react.context"):60110,O=o?Symbol.for("react.async_mode"):60111,g=o?Symbol.for("react.concurrent_mode"):60111,b=o?Symbol.for("react.forward_ref"):60112,E=o?Symbol.for("react.suspense"):60113,C=o?Symbol.for("react.suspense_list"):60120,x=o?Symbol.for("react.memo"):60115,M=o?Symbol.for("react.lazy"):60116,R=o?Symbol.for("react.block"):60121,I=o?Symbol.for("react.fundamental"):60117,q=o?Symbol.for("react.responder"):60118,F=o?Symbol.for("react.scope"):60119;function A(t){if(typeof t=="object"&&t!==null){var k=t.$$typeof;switch(k){case j:switch(t=t.type,t){case O:case g:case p:case a:case S:case E:return t;default:switch(t=t&&t.$$typeof,t){case l:case b:case M:case x:case P:return t;default:return k}}case _:return k}}}function w(t){return A(t)===g}return T.AsyncMode=O,T.ConcurrentMode=g,T.ContextConsumer=l,T.ContextProvider=P,T.Element=j,T.ForwardRef=b,T.Fragment=p,T.Lazy=M,T.Memo=x,T.Portal=_,T.Profiler=a,T.StrictMode=S,T.Suspense=E,T.isAsyncMode=function(t){return w(t)||A(t)===O},T.isConcurrentMode=w,T.isContextConsumer=function(t){return A(t)===l},T.isContextProvider=function(t){return A(t)===P},T.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===j},T.isForwardRef=function(t){return A(t)===b},T.isFragment=function(t){return A(t)===p},T.isLazy=function(t){return A(t)===M},T.isMemo=function(t){return A(t)===x},T.isPortal=function(t){return A(t)===_},T.isProfiler=function(t){return A(t)===a},T.isStrictMode=function(t){return A(t)===S},T.isSuspense=function(t){return A(t)===E},T.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===p||t===g||t===a||t===S||t===E||t===C||typeof t=="object"&&t!==null&&(t.$$typeof===M||t.$$typeof===x||t.$$typeof===P||t.$$typeof===l||t.$$typeof===b||t.$$typeof===I||t.$$typeof===q||t.$$typeof===F||t.$$typeof===R)},T.typeOf=A,T}var m={};/** @license React v16.13.1
|
|
9
9
|
* react-is.development.js
|
|
10
10
|
*
|
|
11
11
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
12
|
*
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/var fe;function
|
|
15
|
+
*/var fe;function Pe(){return fe||(fe=1,process.env.NODE_ENV!=="production"&&function(){var o=typeof Symbol=="function"&&Symbol.for,j=o?Symbol.for("react.element"):60103,_=o?Symbol.for("react.portal"):60106,p=o?Symbol.for("react.fragment"):60107,S=o?Symbol.for("react.strict_mode"):60108,a=o?Symbol.for("react.profiler"):60114,P=o?Symbol.for("react.provider"):60109,l=o?Symbol.for("react.context"):60110,O=o?Symbol.for("react.async_mode"):60111,g=o?Symbol.for("react.concurrent_mode"):60111,b=o?Symbol.for("react.forward_ref"):60112,E=o?Symbol.for("react.suspense"):60113,C=o?Symbol.for("react.suspense_list"):60120,x=o?Symbol.for("react.memo"):60115,M=o?Symbol.for("react.lazy"):60116,R=o?Symbol.for("react.block"):60121,I=o?Symbol.for("react.fundamental"):60117,q=o?Symbol.for("react.responder"):60118,F=o?Symbol.for("react.scope"):60119;function A(r){return typeof r=="string"||typeof r=="function"||r===p||r===g||r===a||r===S||r===E||r===C||typeof r=="object"&&r!==null&&(r.$$typeof===M||r.$$typeof===x||r.$$typeof===P||r.$$typeof===l||r.$$typeof===b||r.$$typeof===I||r.$$typeof===q||r.$$typeof===F||r.$$typeof===R)}function w(r){if(typeof r=="object"&&r!==null){var D=r.$$typeof;switch(D){case j:var B=r.type;switch(B){case O:case g:case p:case a:case S:case E:return B;default:var se=B&&B.$$typeof;switch(se){case l:case b:case M:case x:case P:return se;default:return D}}case _:return D}}}var t=O,k=g,H=l,N=P,J=j,X=b,U=p,G=M,K=x,L=_,Z=a,Y=S,W=E,z=!1;function Q(r){return z||(z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),e(r)||w(r)===O}function e(r){return w(r)===g}function n(r){return w(r)===l}function f(r){return w(r)===P}function s(r){return typeof r=="object"&&r!==null&&r.$$typeof===j}function i(r){return w(r)===b}function y(r){return w(r)===p}function c(r){return w(r)===M}function u(r){return w(r)===x}function d(r){return w(r)===_}function h(r){return w(r)===a}function v(r){return w(r)===S}function $(r){return w(r)===E}m.AsyncMode=t,m.ConcurrentMode=k,m.ContextConsumer=H,m.ContextProvider=N,m.Element=J,m.ForwardRef=X,m.Fragment=U,m.Lazy=G,m.Memo=K,m.Portal=L,m.Profiler=Z,m.StrictMode=Y,m.Suspense=W,m.isAsyncMode=Q,m.isConcurrentMode=e,m.isContextConsumer=n,m.isContextProvider=f,m.isElement=s,m.isForwardRef=i,m.isFragment=y,m.isLazy=c,m.isMemo=u,m.isPortal=d,m.isProfiler=h,m.isStrictMode=v,m.isSuspense=$,m.isValidElementType=A,m.typeOf=w}()),m}var le;function me(){return le||(le=1,process.env.NODE_ENV==="production"?V.exports=Se():V.exports=Pe()),V.exports}/*
|
|
16
16
|
object-assign
|
|
17
17
|
(c) Sindre Sorhus
|
|
18
18
|
@license MIT
|
|
19
|
-
*/var ee,
|
|
20
|
-
Valid keys: `+JSON.stringify(Object.keys(e),null," "));var r=$(u,v,i,
|
|
19
|
+
*/var ee,pe;function _e(){if(pe)return ee;pe=1;var o=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;function p(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function S(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var P={},l=0;l<10;l++)P["_"+String.fromCharCode(l)]=l;var O=Object.getOwnPropertyNames(P).map(function(b){return P[b]});if(O.join("")!=="0123456789")return!1;var g={};return"abcdefghijklmnopqrst".split("").forEach(function(b){g[b]=b}),Object.keys(Object.assign({},g)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ee=S()?Object.assign:function(a,P){for(var l,O=p(a),g,b=1;b<arguments.length;b++){l=Object(arguments[b]);for(var E in l)j.call(l,E)&&(O[E]=l[E]);if(o){g=o(l);for(var C=0;C<g.length;C++)_.call(l,g[C])&&(O[g[C]]=l[g[C]])}}return O},ee}var re,ye;function ce(){if(ye)return re;ye=1;var o="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return re=o,re}var te,de;function he(){return de||(de=1,te=Function.call.bind(Object.prototype.hasOwnProperty)),te}var ne,ve;function Oe(){if(ve)return ne;ve=1;var o=function(){};if(process.env.NODE_ENV!=="production"){var j=ce(),_={},p=he();o=function(a){var P="Warning: "+a;typeof console<"u"&&console.error(P);try{throw new Error(P)}catch{}}}function S(a,P,l,O,g){if(process.env.NODE_ENV!=="production"){for(var b in a)if(p(a,b)){var E;try{if(typeof a[b]!="function"){var C=Error((O||"React class")+": "+l+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}E=a[b](P,b,O,l,null,j)}catch(M){E=M}if(E&&!(E instanceof Error)&&o((O||"React class")+": type specification of "+l+" `"+b+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof E+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),E instanceof Error&&!(E.message in _)){_[E.message]=!0;var x=g?g():"";o("Failed "+l+" type: "+E.message+(x??""))}}}}return S.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(_={})},ne=S,ne}var oe,be;function Re(){if(be)return oe;be=1;var o=me(),j=_e(),_=ce(),p=he(),S=Oe(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(l){var O="Warning: "+l;typeof console<"u"&&console.error(O);try{throw new Error(O)}catch{}});function P(){return null}return oe=function(l,O){var g=typeof Symbol=="function"&&Symbol.iterator,b="@@iterator";function E(e){var n=e&&(g&&e[g]||e[b]);if(typeof n=="function")return n}var C="<<anonymous>>",x={array:q("array"),bigint:q("bigint"),bool:q("boolean"),func:q("function"),number:q("number"),object:q("object"),string:q("string"),symbol:q("symbol"),any:F(),arrayOf:A,element:w(),elementType:t(),instanceOf:k,node:X(),objectOf:N,oneOf:H,oneOfType:J,shape:G,exact:K};function M(e,n){return e===n?e!==0||1/e===1/n:e!==e&&n!==n}function R(e,n){this.message=e,this.data=n&&typeof n=="object"?n:{},this.stack=""}R.prototype=Error.prototype;function I(e){if(process.env.NODE_ENV!=="production")var n={},f=0;function s(y,c,u,d,h,v,$){if(d=d||C,v=v||u,$!==_){if(O){var r=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw r.name="Invariant Violation",r}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var D=d+":"+u;!n[D]&&f<3&&(a("You are manually calling a React.PropTypes validation function for the `"+v+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[D]=!0,f++)}}return c[u]==null?y?c[u]===null?new R("The "+h+" `"+v+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new R("The "+h+" `"+v+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:e(c,u,d,h,v)}var i=s.bind(null,!1);return i.isRequired=s.bind(null,!0),i}function q(e){function n(f,s,i,y,c,u){var d=f[s],h=Y(d);if(h!==e){var v=W(d);return new R("Invalid "+y+" `"+c+"` of type "+("`"+v+"` supplied to `"+i+"`, expected ")+("`"+e+"`."),{expectedType:e})}return null}return I(n)}function F(){return I(P)}function A(e){function n(f,s,i,y,c){if(typeof e!="function")return new R("Property `"+c+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var u=f[s];if(!Array.isArray(u)){var d=Y(u);return new R("Invalid "+y+" `"+c+"` of type "+("`"+d+"` supplied to `"+i+"`, expected an array."))}for(var h=0;h<u.length;h++){var v=e(u,h,i,y,c+"["+h+"]",_);if(v instanceof Error)return v}return null}return I(n)}function w(){function e(n,f,s,i,y){var c=n[f];if(!l(c)){var u=Y(c);return new R("Invalid "+i+" `"+y+"` of type "+("`"+u+"` supplied to `"+s+"`, expected a single ReactElement."))}return null}return I(e)}function t(){function e(n,f,s,i,y){var c=n[f];if(!o.isValidElementType(c)){var u=Y(c);return new R("Invalid "+i+" `"+y+"` of type "+("`"+u+"` supplied to `"+s+"`, expected a single ReactElement type."))}return null}return I(e)}function k(e){function n(f,s,i,y,c){if(!(f[s]instanceof e)){var u=e.name||C,d=Q(f[s]);return new R("Invalid "+y+" `"+c+"` of type "+("`"+d+"` supplied to `"+i+"`, expected ")+("instance of `"+u+"`."))}return null}return I(n)}function H(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),P;function n(f,s,i,y,c){for(var u=f[s],d=0;d<e.length;d++)if(M(u,e[d]))return null;var h=JSON.stringify(e,function($,r){var D=W(r);return D==="symbol"?String(r):r});return new R("Invalid "+y+" `"+c+"` of value `"+String(u)+"` "+("supplied to `"+i+"`, expected one of "+h+"."))}return I(n)}function N(e){function n(f,s,i,y,c){if(typeof e!="function")return new R("Property `"+c+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var u=f[s],d=Y(u);if(d!=="object")return new R("Invalid "+y+" `"+c+"` of type "+("`"+d+"` supplied to `"+i+"`, expected an object."));for(var h in u)if(p(u,h)){var v=e(u,h,i,y,c+"."+h,_);if(v instanceof Error)return v}return null}return I(n)}function J(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),P;for(var n=0;n<e.length;n++){var f=e[n];if(typeof f!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+z(f)+" at index "+n+"."),P}function s(i,y,c,u,d){for(var h=[],v=0;v<e.length;v++){var $=e[v],r=$(i,y,c,u,d,_);if(r==null)return null;r.data&&p(r.data,"expectedType")&&h.push(r.data.expectedType)}var D=h.length>0?", expected one of type ["+h.join(", ")+"]":"";return new R("Invalid "+u+" `"+d+"` supplied to "+("`"+c+"`"+D+"."))}return I(s)}function X(){function e(n,f,s,i,y){return L(n[f])?null:new R("Invalid "+i+" `"+y+"` supplied to "+("`"+s+"`, expected a ReactNode."))}return I(e)}function U(e,n,f,s,i){return new R((e||"React class")+": "+n+" type `"+f+"."+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function G(e){function n(f,s,i,y,c){var u=f[s],d=Y(u);if(d!=="object")return new R("Invalid "+y+" `"+c+"` of type `"+d+"` "+("supplied to `"+i+"`, expected `object`."));for(var h in e){var v=e[h];if(typeof v!="function")return U(i,y,c,h,W(v));var $=v(u,h,i,y,c+"."+h,_);if($)return $}return null}return I(n)}function K(e){function n(f,s,i,y,c){var u=f[s],d=Y(u);if(d!=="object")return new R("Invalid "+y+" `"+c+"` of type `"+d+"` "+("supplied to `"+i+"`, expected `object`."));var h=j({},f[s],e);for(var v in h){var $=e[v];if(p(e,v)&&typeof $!="function")return U(i,y,c,v,W($));if(!$)return new R("Invalid "+y+" `"+c+"` key `"+v+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(f[s],null," ")+`
|
|
20
|
+
Valid keys: `+JSON.stringify(Object.keys(e),null," "));var r=$(u,v,i,y,c+"."+v,_);if(r)return r}return null}return I(n)}function L(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(L);if(e===null||l(e))return!0;var n=E(e);if(n){var f=n.call(e),s;if(n!==e.entries){for(;!(s=f.next()).done;)if(!L(s.value))return!1}else for(;!(s=f.next()).done;){var i=s.value;if(i&&!L(i[1]))return!1}}else return!1;return!0;default:return!1}}function Z(e,n){return e==="symbol"?!0:n?n["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&n instanceof Symbol:!1}function Y(e){var n=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":Z(n,e)?"symbol":n}function W(e){if(typeof e>"u"||e===null)return""+e;var n=Y(e);if(n==="object"){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}function z(e){var n=W(e);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}function Q(e){return!e.constructor||!e.constructor.name?C:e.constructor.name}return x.checkPropTypes=S,x.resetWarningCache=S.resetWarningCache,x.PropTypes=x,x},oe}var ie,Te;function Ce(){if(Te)return ie;Te=1;var o=ce();function j(){}function _(){}return _.resetWarningCache=j,ie=function(){function p(P,l,O,g,b,E){if(E!==o){var C=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw C.name="Invariant Violation",C}}p.isRequired=p;function S(){return p}var a={array:p,bigint:p,bool:p,func:p,number:p,object:p,string:p,symbol:p,any:p,arrayOf:S,element:p,elementType:p,instanceOf:S,node:p,objectOf:S,oneOf:S,oneOfType:S,shape:S,exact:S,checkPropTypes:_,resetWarningCache:j};return a.PropTypes=a,a},ie}if(process.env.NODE_ENV!=="production"){var xe=me(),we=!0;ae.exports=Re()(xe.isElement,we)}else ae.exports=Ce()();var Ee=ae.exports;const Ae=ge.getDefaultExportFromCjs(Ee);exports.PropTypes=Ae;exports.propTypesExports=Ee;
|
|
@@ -7,15 +7,15 @@ var i = { exports: {} };
|
|
|
7
7
|
*/
|
|
8
8
|
(function(e) {
|
|
9
9
|
(function() {
|
|
10
|
-
var
|
|
10
|
+
var a = {}.hasOwnProperty;
|
|
11
11
|
function s() {
|
|
12
12
|
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
13
13
|
var n = arguments[r];
|
|
14
|
-
n && (t = o(t,
|
|
14
|
+
n && (t = o(t, f(n)));
|
|
15
15
|
}
|
|
16
16
|
return t;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function f(t) {
|
|
19
19
|
if (typeof t == "string" || typeof t == "number")
|
|
20
20
|
return t;
|
|
21
21
|
if (typeof t != "object")
|
|
@@ -26,7 +26,7 @@ var i = { exports: {} };
|
|
|
26
26
|
return t.toString();
|
|
27
27
|
var r = "";
|
|
28
28
|
for (var n in t)
|
|
29
|
-
|
|
29
|
+
a.call(t, n) && t[n] && (r = o(r, n));
|
|
30
30
|
return r;
|
|
31
31
|
}
|
|
32
32
|
function o(t, r) {
|
|
@@ -38,5 +38,6 @@ var i = { exports: {} };
|
|
|
38
38
|
var p = i.exports;
|
|
39
39
|
const l = /* @__PURE__ */ c(p);
|
|
40
40
|
export {
|
|
41
|
+
p as a,
|
|
41
42
|
l as c
|
|
42
43
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),a=require("react"),d=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),u=require("./consts-dNz9tpt4.cjs"),x=require("./Button.cjs"),b=d.newStyled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 1.25rem;
|
|
5
|
+
color: var(--gray-950, #14161A);
|
|
6
|
+
justify-content: center;
|
|
7
|
+
|
|
8
|
+
& button {
|
|
9
|
+
width: fit-content
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
& .block-group {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
& .txt-block-subtitle {
|
|
18
|
+
font-size: 0.75rem;
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
color: var(--gray-500);
|
|
21
|
+
}
|
|
22
|
+
& .txt-block-title {
|
|
23
|
+
font-size: 1.5rem;
|
|
24
|
+
font-weight: 600;
|
|
25
|
+
color: var(--gray-950, #14161A);
|
|
26
|
+
}
|
|
27
|
+
& .txt-block-description {
|
|
28
|
+
font-size: 0.875rem;
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
color: var(--gray-700, #4E555F);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@media (max-width: ${u.MOBILE_SIZE_PX+"px"}) {
|
|
34
|
+
align-items: start;
|
|
35
|
+
justify-content: start;
|
|
36
|
+
& .txt-block-title {
|
|
37
|
+
font-size: 1.375rem;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
`,f=a.forwardRef((e,m)=>{const{title:o,subtitle:r,description:i,buttonText:n,buttonLink:c,onButtonAction:s=()=>{},...l}=e;return t.jsxs(b,{...l,children:[t.jsxs("div",{className:"block-group",children:[t.jsx("div",{className:"txt-block-subtitle",children:r}),t.jsx("div",{className:"txt-block-title",children:o}),t.jsx("div",{className:"txt-block-description",children:i})]}),t.jsx(x,{type:"button",btnType:"outline",borderRadius:"curved",onClick:()=>s(c),color:"gray",children:n})]})});exports.TextBlockV1=f;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as d } from "react";
|
|
3
|
+
import { n as m } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
4
|
+
import { M as f } from "./consts-DNVz1x1I.js";
|
|
5
|
+
import p from "./Button.js";
|
|
6
|
+
const u = m.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
gap: 1.25rem;
|
|
10
|
+
color: var(--gray-950, #14161A);
|
|
11
|
+
justify-content: center;
|
|
12
|
+
|
|
13
|
+
& button {
|
|
14
|
+
width: fit-content
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
& .block-group {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
& .txt-block-subtitle {
|
|
23
|
+
font-size: 0.75rem;
|
|
24
|
+
font-weight: 400;
|
|
25
|
+
color: var(--gray-500);
|
|
26
|
+
}
|
|
27
|
+
& .txt-block-title {
|
|
28
|
+
font-size: 1.5rem;
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
color: var(--gray-950, #14161A);
|
|
31
|
+
}
|
|
32
|
+
& .txt-block-description {
|
|
33
|
+
font-size: 0.875rem;
|
|
34
|
+
font-weight: 400;
|
|
35
|
+
color: var(--gray-700, #4E555F);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@media (max-width: ${f + "px"}) {
|
|
39
|
+
align-items: start;
|
|
40
|
+
justify-content: start;
|
|
41
|
+
& .txt-block-title {
|
|
42
|
+
font-size: 1.375rem;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
`, v = d((e, b) => {
|
|
46
|
+
const { title: r, subtitle: i, description: n, buttonText: l, buttonLink: c, onButtonAction: s = () => {
|
|
47
|
+
}, ...a } = e;
|
|
48
|
+
return /* @__PURE__ */ o(u, { ...a, children: [
|
|
49
|
+
/* @__PURE__ */ o("div", { className: "block-group", children: [
|
|
50
|
+
/* @__PURE__ */ t("div", { className: "txt-block-subtitle", children: i }),
|
|
51
|
+
/* @__PURE__ */ t("div", { className: "txt-block-title", children: r }),
|
|
52
|
+
/* @__PURE__ */ t("div", { className: "txt-block-description", children: n })
|
|
53
|
+
] }),
|
|
54
|
+
/* @__PURE__ */ t(
|
|
55
|
+
p,
|
|
56
|
+
{
|
|
57
|
+
type: "button",
|
|
58
|
+
btnType: "outline",
|
|
59
|
+
borderRadius: "curved",
|
|
60
|
+
onClick: () => s(c),
|
|
61
|
+
color: "gray",
|
|
62
|
+
children: l
|
|
63
|
+
}
|
|
64
|
+
)
|
|
65
|
+
] });
|
|
66
|
+
});
|
|
67
|
+
export {
|
|
68
|
+
v as T
|
|
69
|
+
};
|