@lanaco/lnc-react-ui 4.0.28 → 4.0.30
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.js +3 -3
- package/dist/AccordionDetails.js +1 -1
- package/dist/AccordionSummary.js +3 -3
- package/dist/ActionsToolbar.js +2 -2
- package/dist/Alert.js +2 -2
- package/dist/Avatar.js +7 -7
- package/dist/Badge.js +3 -3
- package/dist/{index11.js → BannerSectionCarousel.js} +1 -1
- package/dist/{index2.js → BannerSectionGrid.js} +2 -2
- package/dist/{index3.js → BannerSectionSimple.js} +1 -1
- package/dist/{index4.js → BannerSectionWithList.js} +13 -13
- package/dist/{index5.js → BannerSectionWithListImage.js} +1 -1
- package/dist/{index7.js → BrandHitsSection.js} +2 -2
- package/dist/Breadcrumbs.js +3 -3
- package/dist/Button.js +3 -3
- package/dist/ButtonGroup.js +3 -3
- package/dist/CheckBoxInput.js +3 -3
- package/dist/Chip.js +3 -3
- package/dist/ColorInput.js +3 -3
- package/dist/ConfirmationForm.js +3 -3
- package/dist/{CustomStyles-DuADCM-0.js → CustomStyles-C7wXBd9m.js} +4 -4
- package/dist/DataView.js +1 -1
- package/dist/DateInput.js +5 -5
- package/dist/DecimalInput.js +3 -3
- package/dist/DecimalInputV2.js +3 -3
- package/dist/DetailedProductsSection.js +7 -7
- package/dist/DetailsView.js +3 -3
- package/dist/DoubleRangeSlider.js +3 -3
- package/dist/DragAndDropFile.js +4 -4
- package/dist/DragDropFiles.js +3 -3
- package/dist/Drawer.js +3 -3
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +41 -41
- package/dist/DropdownItem.js +3 -3
- package/dist/DropdownLookup.js +3 -3
- package/dist/DropdownMenu.js +3 -3
- package/dist/EditableTable.js +3 -3
- package/dist/{index8.js → FieldOfInterestsMasonrySection.js} +6 -6
- package/dist/{index9.js → FieldOfInterestsWithAvatarsCardsSection.js} +5 -5
- package/dist/{index10.js → FieldOfInterestsWithTagsCardsSection.js} +5 -5
- package/dist/FileInput.js +9 -9
- package/dist/FlexBox.js +1 -1
- package/dist/FlexGridItem.js +2 -2
- package/dist/FormField.js +3 -3
- package/dist/FormView.js +3 -3
- package/dist/GiftCardsSection.cjs +108 -0
- package/dist/GiftCardsSection.js +168 -0
- package/dist/Grid.js +1 -1
- package/dist/GridItem.js +1 -1
- package/dist/Icon.js +3 -3
- package/dist/IconButton.js +3 -3
- package/dist/Kanban.js +4 -4
- package/dist/KanbanActionsToolbar.js +2 -2
- package/dist/{KanbanCard-BDyFaKYd.js → KanbanCard-Du9Pc6tN.js} +2 -2
- package/dist/KanbanCard.js +3 -3
- package/dist/KanbanFooter.js +2 -2
- package/dist/KanbanHeader.js +2 -2
- package/dist/KanbanView.js +12 -12
- package/dist/Link.js +3 -3
- package/dist/{index6.js → MasonryGeneralCardsSection.js} +3 -3
- package/dist/MenuItem.js +3 -3
- package/dist/Modal.js +5 -5
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +4 -4
- package/dist/MultiSelectDropdownLookup.js +2 -2
- package/dist/NestedDropdownItem.js +5 -5
- package/dist/NestedMenuItem.js +5 -5
- package/dist/NotificationContainer.js +2 -2
- package/dist/NotificationMessage.js +3 -3
- package/dist/NumberInput.js +3 -3
- package/dist/PageLayout.js +2 -2
- package/dist/Pagination.js +2 -2
- package/dist/PasswordInput.js +3 -3
- package/dist/PopoverContent.js +4 -4
- package/dist/ProductsWithBannerSection.js +18 -18
- package/dist/ProgressBar.js +3 -3
- package/dist/RadioGroup.js +2 -2
- package/dist/RadioInput.js +3 -3
- package/dist/RangeSlider.js +3 -3
- package/dist/SearchBar.js +4 -4
- package/dist/Separator.js +3 -3
- package/dist/Sidebar.js +3 -3
- package/dist/SimpleProductsSection.js +3 -3
- package/dist/Spinner.js +4 -4
- package/dist/Surface.js +3 -3
- package/dist/SwipeableDrawer.js +3 -3
- package/dist/TabItem.js +3 -3
- package/dist/Table.js +3 -3
- package/dist/TableView.js +2 -2
- package/dist/Tabs.js +2 -2
- package/dist/TextAreaInput.js +24 -24
- package/dist/TextInput.js +3 -3
- package/dist/ThemeProvider.js +27 -27
- package/dist/TimeInput.js +10 -10
- package/dist/Toggle.js +7 -7
- package/dist/TreeMenu.js +1 -1
- package/dist/TreeMenuSeparator.js +3 -3
- package/dist/UploadedFile.js +3 -3
- package/dist/UrgentSaleProductsSection.js +2 -2
- package/dist/{defineProperty-B5pLF6px.js → defineProperty-BHpTtkhC.js} +8 -8
- package/dist/{emotion-element-5486c51c.browser.esm-Bb4VkP8U.js → emotion-element-5486c51c.browser.esm-CSejtOeT.js} +4 -4
- package/dist/{emotion-is-prop-valid.esm-DkbeH1Xy.js → emotion-is-prop-valid.esm-BzFBwmJz.js} +1 -1
- package/dist/{emotion-react.browser.esm-CN-s34fZ.js → emotion-react.browser.esm-DAprMzO3.js} +5 -5
- package/dist/{emotion-styled.browser.esm-BiK8DcgW.js → emotion-styled.browser.esm-BZSYYThs.js} +12 -12
- package/dist/{index-DGl-lSfF.js → index--F2p-wtI.js} +2 -2
- package/dist/{index-BUChtubz.js → index-BLQWNy78.js} +4 -4
- package/dist/{index-DcYg32le.js → index-BqgD1XIq.js} +1 -1
- package/dist/{index-jVpIwR2G.js → index-Dt-3eIHg.js} +4 -4
- package/dist/index.cjs +56 -1
- package/dist/index.js +321 -210
- package/dist/{motion-ecIGZGwI.js → motion-CtkUpWEn.js} +1 -1
- package/dist/{setPrototypeOf-CttqfWo1.js → setPrototypeOf-a891FLQJ.js} +2 -2
- package/dist/{style-Ch-xOasu.js → style-D8LBrh3f.js} +1 -1
- package/dist/{tslib.es6-DQ-SzcmG.js → tslib.es6-ZNVz5r_T.js} +5 -5
- package/dist/{utils-DtEdJZWa.js → utils-ROK9-zue.js} +17 -17
- package/package.json +3 -1
- package/vite.config.js +14 -10
- /package/dist/{index11.cjs → BannerSectionCarousel.cjs} +0 -0
- /package/dist/{index2.cjs → BannerSectionGrid.cjs} +0 -0
- /package/dist/{index3.cjs → BannerSectionSimple.cjs} +0 -0
- /package/dist/{index4.cjs → BannerSectionWithList.cjs} +0 -0
- /package/dist/{index5.cjs → BannerSectionWithListImage.cjs} +0 -0
- /package/dist/{index7.cjs → BrandHitsSection.cjs} +0 -0
- /package/dist/{index8.cjs → FieldOfInterestsMasonrySection.cjs} +0 -0
- /package/dist/{index9.cjs → FieldOfInterestsWithAvatarsCardsSection.cjs} +0 -0
- /package/dist/{index10.cjs → FieldOfInterestsWithTagsCardsSection.cjs} +0 -0
- /package/dist/{index6.cjs → MasonryGeneralCardsSection.cjs} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as b, useState as y } from "react";
|
|
3
|
-
import { n as S } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { n as S } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
4
4
|
import { M as k } from "./consts-DNVz1x1I.js";
|
|
5
5
|
import { u as v } from "./useDetectMobile-BookNOsk.js";
|
|
6
6
|
import M from "./Button.js";
|
|
7
|
-
import { D as u } from "./index-
|
|
7
|
+
import { D as u } from "./index-Dt-3eIHg.js";
|
|
8
8
|
const U = S.div`
|
|
9
9
|
padding: 1.75rem 3rem;
|
|
10
10
|
display: grid;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as s, _ as p } from "./setPrototypeOf-a891FLQJ.js";
|
|
2
2
|
function o(e) {
|
|
3
3
|
"@babel/helpers - typeof";
|
|
4
4
|
return o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -99,12 +99,12 @@ function O(e, t, r) {
|
|
|
99
99
|
}) : e[t] = r, e;
|
|
100
100
|
}
|
|
101
101
|
export {
|
|
102
|
-
|
|
102
|
+
o as _,
|
|
103
103
|
v as a,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
g
|
|
104
|
+
_ as b,
|
|
105
|
+
d as c,
|
|
106
|
+
h as d,
|
|
107
|
+
g as e,
|
|
108
|
+
O as f,
|
|
109
|
+
u as g
|
|
110
110
|
};
|
|
@@ -869,12 +869,12 @@ var gr = function(r) {
|
|
|
869
869
|
), Ar = Cr;
|
|
870
870
|
export {
|
|
871
871
|
Ar as E,
|
|
872
|
-
|
|
872
|
+
kr as T,
|
|
873
873
|
re as _,
|
|
874
|
-
|
|
875
|
-
|
|
874
|
+
q as a,
|
|
875
|
+
vr as b,
|
|
876
876
|
$r as c,
|
|
877
|
-
|
|
877
|
+
br as d,
|
|
878
878
|
ar as g,
|
|
879
879
|
Ee as h,
|
|
880
880
|
ir as i,
|
package/dist/{emotion-is-prop-valid.esm-DkbeH1Xy.js → emotion-is-prop-valid.esm-BzFBwmJz.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as t } from "./emotion-element-5486c51c.browser.esm-
|
|
1
|
+
import { m as t } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
2
2
|
var r = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, a = /* @__PURE__ */ t(
|
|
3
3
|
function(e) {
|
|
4
4
|
return r.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
package/dist/{emotion-react.browser.esm-CN-s34fZ.js → emotion-react.browser.esm-DAprMzO3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as y, s as g,
|
|
1
|
+
import { w as y, s as g, a as w, h as E, E as d, c as p, b, i as x, d as v, r as S, g as z } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
2
2
|
import * as u from "react";
|
|
3
3
|
import "./hoist-non-react-statics.cjs-CAHiRNzQ.js";
|
|
4
4
|
var F = function(r, e) {
|
|
@@ -6,7 +6,7 @@ var F = function(r, e) {
|
|
|
6
6
|
if (e == null || !E.call(e, "css"))
|
|
7
7
|
return u.createElement.apply(void 0, n);
|
|
8
8
|
var a = n.length, s = new Array(a);
|
|
9
|
-
s[0] =
|
|
9
|
+
s[0] = d, s[1] = p(r, e);
|
|
10
10
|
for (var t = 2; t < a; t++)
|
|
11
11
|
s[t] = n[t];
|
|
12
12
|
return u.createElement.apply(null, s);
|
|
@@ -58,11 +58,11 @@ function j(i, r, e) {
|
|
|
58
58
|
}
|
|
59
59
|
var I = function(r) {
|
|
60
60
|
var e = r.cache, n = r.serializedArr;
|
|
61
|
-
return
|
|
61
|
+
return b(function() {
|
|
62
62
|
for (var a = 0; a < n.length; a++)
|
|
63
63
|
x(e, n[a], !1);
|
|
64
64
|
}), null;
|
|
65
|
-
},
|
|
65
|
+
}, D = /* @__PURE__ */ y(function(i, r) {
|
|
66
66
|
var e = !1, n = [], a = function() {
|
|
67
67
|
if (e && v)
|
|
68
68
|
throw new Error("css can only be used during render");
|
|
@@ -87,7 +87,7 @@ var I = function(r) {
|
|
|
87
87
|
}), o);
|
|
88
88
|
});
|
|
89
89
|
export {
|
|
90
|
-
|
|
90
|
+
D as C,
|
|
91
91
|
A as c,
|
|
92
92
|
F as j,
|
|
93
93
|
M as k
|
package/dist/{emotion-styled.browser.esm-BiK8DcgW.js → emotion-styled.browser.esm-BZSYYThs.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as x, w as z,
|
|
1
|
+
import { _ as x, w as z, a as I, g as R, s as j, r as q, b as A, i as D } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
2
2
|
import * as c from "react";
|
|
3
|
-
import { i as G } from "./emotion-is-prop-valid.esm-
|
|
3
|
+
import { i as G } from "./emotion-is-prop-valid.esm-BzFBwmJz.js";
|
|
4
4
|
var L = G, M = function(e) {
|
|
5
5
|
return e !== "theme";
|
|
6
6
|
}, N = function(e) {
|
|
@@ -25,18 +25,18 @@ var L = G, M = function(e) {
|
|
|
25
25
|
}, W = function o(e, a) {
|
|
26
26
|
var s = e.__emotion_real === e, r = s && e.__emotion_base || e, i, l;
|
|
27
27
|
a !== void 0 && (i = a.label, l = a.target);
|
|
28
|
-
var _ = O(e, a, s), P = _ || N(r),
|
|
28
|
+
var _ = O(e, a, s), P = _ || N(r), b = !P("as");
|
|
29
29
|
return function() {
|
|
30
30
|
var u = arguments, d = s && e.__emotion_styles !== void 0 ? e.__emotion_styles.slice(0) : [];
|
|
31
31
|
if (i !== void 0 && d.push("label:" + i + ";"), u[0] == null || u[0].raw === void 0)
|
|
32
32
|
d.push.apply(d, u);
|
|
33
33
|
else {
|
|
34
34
|
d.push(u[0][0]);
|
|
35
|
-
for (var
|
|
35
|
+
for (var T = u.length, p = 1; p < T; p++)
|
|
36
36
|
d.push(u[p], u[0][p]);
|
|
37
37
|
}
|
|
38
38
|
var n = z(function(t, m, w) {
|
|
39
|
-
var
|
|
39
|
+
var y = b && t.as || r, f = "", S = [], v = t;
|
|
40
40
|
if (t.theme == null) {
|
|
41
41
|
v = {};
|
|
42
42
|
for (var C in t)
|
|
@@ -46,14 +46,14 @@ var L = G, M = function(e) {
|
|
|
46
46
|
typeof t.className == "string" ? f = R(m.registered, S, t.className) : t.className != null && (f = t.className + " ");
|
|
47
47
|
var F = j(d.concat(S), m.registered, v);
|
|
48
48
|
f += m.key + "-" + F.name, l !== void 0 && (f += " " + l);
|
|
49
|
-
var k =
|
|
49
|
+
var k = b && _ === void 0 ? N(y) : P, h = {};
|
|
50
50
|
for (var g in t)
|
|
51
|
-
|
|
51
|
+
b && g === "as" || k(g) && (h[g] = t[g]);
|
|
52
52
|
return h.className = f, w && (h.ref = w), /* @__PURE__ */ c.createElement(c.Fragment, null, /* @__PURE__ */ c.createElement(V, {
|
|
53
53
|
cache: m,
|
|
54
54
|
serialized: F,
|
|
55
|
-
isStringTag: typeof
|
|
56
|
-
}), /* @__PURE__ */ c.createElement(
|
|
55
|
+
isStringTag: typeof y == "string"
|
|
56
|
+
}), /* @__PURE__ */ c.createElement(y, h));
|
|
57
57
|
});
|
|
58
58
|
return n.displayName = i !== void 0 ? i : "Styled(" + (typeof r == "string" ? r : r.displayName || r.name || "Component") + ")", n.defaultProps = e.defaultProps, n.__emotion_real = n, n.__emotion_base = r, n.__emotion_styles = d, n.__emotion_forwardProp = _, Object.defineProperty(n, "toString", {
|
|
59
59
|
value: function() {
|
|
@@ -201,10 +201,10 @@ var L = G, M = function(e) {
|
|
|
201
201
|
"svg",
|
|
202
202
|
"text",
|
|
203
203
|
"tspan"
|
|
204
|
-
],
|
|
204
|
+
], E = W.bind();
|
|
205
205
|
B.forEach(function(o) {
|
|
206
|
-
|
|
206
|
+
E[o] = E(o);
|
|
207
207
|
});
|
|
208
208
|
export {
|
|
209
|
-
|
|
209
|
+
E as n
|
|
210
210
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as e, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as f } from "react";
|
|
3
|
-
import { n as a } from "./emotion-styled.browser.esm-
|
|
4
|
-
import {
|
|
3
|
+
import { n as a } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
4
|
+
import { o as u, q as h, v as b, G as x } from "./utils-ROK9-zue.js";
|
|
5
5
|
a.div`
|
|
6
6
|
background-color: var(--gray-200, #dddfe4);
|
|
7
7
|
border-radius: 0.75rem;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as I, c as V } from "./tslib.es6-ZNVz5r_T.js";
|
|
2
2
|
import * as a from "react";
|
|
3
3
|
import { useRef as h, useState as B, useCallback as D, useMemo as N, useContext as K, cloneElement as U, Children as q, isValidElement as T } from "react";
|
|
4
|
-
import { u as
|
|
4
|
+
import { u as Y, a as O, P as _, S as j, i as G } from "./motion-CtkUpWEn.js";
|
|
5
5
|
function H() {
|
|
6
6
|
var e = h(!1), o = I(B(0), 2), t = o[0], r = o[1];
|
|
7
|
-
return
|
|
7
|
+
return Y(function() {
|
|
8
8
|
return e.current = !0;
|
|
9
9
|
}), D(function() {
|
|
10
10
|
!e.current && r(t + 1);
|
|
@@ -50,7 +50,7 @@ var w = function(e) {
|
|
|
50
50
|
});
|
|
51
51
|
}, [r]), a.useEffect(function() {
|
|
52
52
|
!r && !u.size && (i == null || i());
|
|
53
|
-
}, [r]), a.createElement(
|
|
53
|
+
}, [r]), a.createElement(_.Provider, { value: y }, o);
|
|
54
54
|
};
|
|
55
55
|
function Q() {
|
|
56
56
|
return /* @__PURE__ */ new Map();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as d } from "react";
|
|
3
|
-
import { n as m } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { n as m } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
4
4
|
import { M as f } from "./consts-DNVz1x1I.js";
|
|
5
5
|
import p from "./Button.js";
|
|
6
6
|
const u = m.div`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as s } from "react";
|
|
3
|
-
import { n as l } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { n as l } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
4
4
|
import { M as v } from "./consts-DNVz1x1I.js";
|
|
5
|
-
import { t as
|
|
5
|
+
import { t as y, y as d, o as r, q as k, v as $, G as N } from "./utils-ROK9-zue.js";
|
|
6
6
|
const S = l.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
@@ -31,7 +31,7 @@ const S = l.div`
|
|
|
31
31
|
& .card-title {
|
|
32
32
|
font-size: 0.875rem;
|
|
33
33
|
font-weight: 600;
|
|
34
|
-
${
|
|
34
|
+
${y(2)}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
& .price-text {
|
|
@@ -140,7 +140,7 @@ const S = l.div`
|
|
|
140
140
|
return (
|
|
141
141
|
// <LandingPageProductCardSkeleton />
|
|
142
142
|
/* @__PURE__ */ i(S, { className: "product-card", onClick: u, children: [
|
|
143
|
-
|
|
143
|
+
k(c) ? c : /* @__PURE__ */ e("img", { src: h }),
|
|
144
144
|
/* @__PURE__ */ e("div", { className: "wrapper-card-1", children: /* @__PURE__ */ e("div", { className: "card-title", children: m }) }),
|
|
145
145
|
/* @__PURE__ */ i("div", { className: "wrapper-card-2", children: [
|
|
146
146
|
/* @__PURE__ */ i("div", { className: "price-text", children: [
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1,56 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./CheckBoxInput.cjs"),I=require("./ColorInput.cjs"),o=require("./DateInput.cjs"),f=require("./DecimalInput.cjs"),w=require("./DecimalInputV2.cjs"),D=require("./FileInput.cjs"),B=require("./NumberInput.cjs"),x=require("./PasswordInput.cjs"),C=require("./RadioInput.cjs"),T=require("./RangeSlider.cjs"),P=require("./TextAreaInput.cjs"),F=require("./TextInput.cjs"),v=require("./TimeInput.cjs"),M=require("./Badge.cjs"),y=require("./Chip.cjs"),A=require("./DataView.cjs"),G=require("./DetailsView.cjs"),L=require("./EditableTable.cjs"),k=require("./FormView.cjs"),H=require("./Kanban.cjs"),N=require("./KanbanCard-CofqdTrO.cjs"),K=require("./KanbanHeader.cjs"),W=require("./KanbanFooter.cjs"),R=require("./KanbanView.cjs"),V=require("./KanbanActionsToolbar.cjs"),j=require("./Table.cjs"),O=require("./TableView.cjs"),$=require("./ActionsToolbar.cjs"),z=require("./Alert.cjs"),E=require("./Notification.cjs"),_=require("./NotificationContainer.cjs"),U=require("./NotificationMessage.cjs"),X=require("./ProgressBar.cjs"),Z=require("./Spinner.cjs"),J=require("./Avatar.cjs"),n=require("./Button.cjs"),Q=require("./Icon.cjs"),Y=require("./IconButton.cjs"),ee=require("./Link.cjs"),re=require("./Surface.cjs"),te=require("./UploadedFile.cjs"),oe=require("./DoubleRangeSlider.cjs"),ne=require("./DragAndDropFile.cjs"),ie=require("./DragDropFiles.cjs"),ae=require("./Dropdown.cjs"),se=require("./DropdownLookup.cjs"),ce=require("./MultiSelectDropdown.cjs"),ue=require("./MultiSelectDropdownLookup.cjs"),de=require("./RadioGroup.cjs"),le=require("./SearchBar.cjs"),qe=require("./Toggle.cjs"),pe=require("./ButtonGroup.cjs"),me=require("./Content.cjs"),Se=require("./FlexBox.cjs"),ge=require("./FlexGrid.cjs"),be=require("./FlexGridItem.cjs"),he=require("./Footer.cjs"),Ie=require("./FormField.cjs"),fe=require("./Grid.cjs"),we=require("./GridItem.cjs"),De=require("./Header.cjs"),Be=require("./PageLayout.cjs"),xe=require("./Sidebar.cjs"),Ce=require("./Tabs.cjs"),Te=require("./TabItem.cjs"),Pe=require("./Accordion.cjs"),Fe=require("./AccordionSummary.cjs"),ve=require("./AccordionDetails.cjs"),Me=require("./Breadcrumbs.cjs"),ye=require("./ConfirmationForm.cjs"),Ae=require("./Drawer.cjs"),Ge=require("./DropdownMenu.cjs"),Le=require("./DropdownItem.cjs"),ke=require("./NestedDropdownItem.cjs"),He=require("./Separator.cjs"),Ne=require("./Modal.cjs"),Ke=require("./Pagination.cjs"),We=require("./Popover.cjs"),Re=require("./PopoverClose.cjs"),Ve=require("./PopoverHeading.cjs"),je=require("./PopoverContent.cjs"),Oe=require("./PopoverTrigger.cjs"),$e=require("./PopoverDescription.cjs"),ze=require("./SwipeableDrawer.cjs"),Ee=require("./TreeMenu.cjs"),_e=require("./MenuItem.cjs"),Ue=require("./NestedMenuItem.cjs"),Xe=require("./TreeMenuSeparator.cjs"),Ze=require("./MasonryGeneralCardsSection.cjs"),Je=require("./DetailedProductsSection.cjs"),Qe=require("./ProductsWithBannerSection.cjs"),Ye=require("./SimpleProductsSection.cjs"),er=require("./UrgentSaleProductsSection.cjs"),rr=require("./BannerSectionCarousel.cjs"),tr=require("./BannerSectionGrid.cjs"),or=require("./BannerSectionSimple.cjs"),nr=require("./BannerSectionWithList.cjs"),ir=require("./BannerSectionWithListImage.cjs"),ar=require("./GiftCardsSection.cjs"),sr=require("./BrandHitsSection.cjs"),cr=require("./FieldOfInterestsMasonrySection.cjs"),ur=require("./FieldOfInterestsWithAvatarsCardsSection.cjs"),dr=require("./FieldOfInterestsWithTagsCardsSection.cjs"),r=require("react/jsx-runtime"),lr=require("react"),t=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),i=require("./consts-dNz9tpt4.cjs"),a=require("./ThemeProvider.cjs"),qr=require("./CustomStyles-CBON9fD-.cjs"),pr=t.newStyled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
border-radius: 0.75rem;
|
|
4
|
+
background-color: ${e=>e.bgcolor||"transparent"};
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
max-height: ${e=>e.height||"22.5rem"};
|
|
7
|
+
min-height: ${e=>e.height||"22.5rem"};
|
|
8
|
+
|
|
9
|
+
& button {
|
|
10
|
+
width: fit-content;
|
|
11
|
+
background-color: var(--gray-100, #14161a);
|
|
12
|
+
color: black;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@media (max-width: ${i.MOBILE_SIZE_PX+"px"}) {
|
|
16
|
+
gap: 1.5rem;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
min-height: unset;
|
|
19
|
+
max-height: unset;
|
|
20
|
+
|
|
21
|
+
& button {
|
|
22
|
+
width: fit-content;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
`,mr=t.newStyled.div`
|
|
26
|
+
padding: ${e=>e.smallPadding===!0?"2rem":"4rem 5rem"};
|
|
27
|
+
display: flex;
|
|
28
|
+
gap: 2rem;
|
|
29
|
+
flex-direction: ${e=>e.isHorizontalContent===!0?"row":"column"};
|
|
30
|
+
flex: 1;
|
|
31
|
+
align-items: center;
|
|
32
|
+
|
|
33
|
+
${e=>e.isHorizontalContent===!0&&"justify-content: space-between;"}
|
|
34
|
+
|
|
35
|
+
@media (max-width: ${i.MOBILE_SIZE_PX+"px"}) {
|
|
36
|
+
padding: 0;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
}
|
|
39
|
+
`,Sr=t.newStyled.div`
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
gap: 0.25rem;
|
|
43
|
+
text-align: center;
|
|
44
|
+
|
|
45
|
+
& .header-title {
|
|
46
|
+
font-size: 1.75rem;
|
|
47
|
+
font-weight: 600;
|
|
48
|
+
color: black;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
& .header-subtitle {
|
|
52
|
+
color: var(--gray-950, #14161a);
|
|
53
|
+
font-size: 1rem;
|
|
54
|
+
font-weight: 500;
|
|
55
|
+
}
|
|
56
|
+
`,gr=lr.forwardRef((e,br)=>{const{title:s,subtitle:c,buttonText:u,onClick:d,height:l,imageWidth:q,imageHeightMob:p,smallPadding:m=!1,isHorizontalContent:S=!1,backgroundColor:g,hasBorder:b=!1}=e;return r.jsx(pr,{bgcolor:g,height:l,imgW:q,imgHMob:p,hasBorder:b,children:r.jsxs(mr,{isHorizontalContent:S,smallPadding:m,children:[r.jsxs(Sr,{children:[r.jsx("div",{className:"header-title",children:s}),r.jsx("div",{className:"header-subitle",children:c})]}),r.jsx(n,{size:"medium",color:"neutral",type:"button",borderRadius:"curved",onClick:d,children:u})]})})});exports.CheckBoxInput=h;exports.ColorInput=I;exports.DateInput=o.default;exports.registerLocale=o.registerLocale;exports.DecimalInput=f;exports.DecimalInputV2=w;exports.FileInput=D;exports.NumberInput=B;exports.PasswordInput=x;exports.RadioInput=C;exports.RangeSlider=T;exports.TextAreaInput=P;exports.TextInput=F;exports.TimeInput=v;exports.Badge=M;exports.Chip=y;exports.DataView=A;exports.DetailsView=G;exports.EditableTable=L;exports.FormView=k;exports.Kanban=H;exports.KanbanCard=N.KanbanCard;exports.KanbanHeader=K;exports.KanbanFooter=W;exports.KanbanView=R;exports.KanbanActionsToolbar=V;exports.Table=j.default;exports.TableView=O;exports.ActionsToolbar=$;exports.Alert=z;exports.Notification=E;exports.NotificationContainer=_;exports.NotificationMessage=U;exports.ProgressBar=X;exports.Spinner=Z;exports.Avatar=J;exports.Button=n;exports.Icon=Q;exports.IconButton=Y;exports.Link=ee;exports.Surface=re;exports.UploadedFile=te;exports.DoubleRangeSlider=oe;exports.DragAndDropFile=ne;exports.DragDropFiles=ie;exports.Dropdown=ae.default;exports.DropdownLookup=se;exports.MultiSelectDropdown=ce;exports.MultiSelectDropdownLookup=ue;exports.RadioGroup=de;exports.SearchBar=le;exports.Toggle=qe;exports.ButtonGroup=pe;exports.Content=me;exports.FlexBox=Se;exports.FlexGrid=ge;exports.FlexGridItem=be;exports.Footer=he;exports.FormField=Ie;exports.Grid=fe;exports.GridItem=we;exports.Header=De;exports.PageLayout=Be;exports.Sidebar=xe;exports.Tabs=Ce;exports.TabItem=Te;exports.Accordion=Pe;exports.AccordionSummary=Fe;exports.AccordionDetails=ve.default;exports.Breadcrumbs=Me;exports.ConfirmationForm=ye;exports.Drawer=Ae;exports.DropdownMenu=Ge;exports.DropdownItem=Le;exports.NestedDropdownItem=ke;exports.Separator=He;exports.Modal=Ne;exports.Pagination=Ke;exports.Popover=We;exports.PopoverClose=Re;exports.PopoverHeading=Ve;exports.PopoverContent=je;exports.PopoverTrigger=Oe;exports.PopoverDescription=$e;exports.SwipeableDrawer=ze;exports.TreeMenu=Ee;exports.MenuItem=_e;exports.NestedMenuItem=Ue;exports.TreeMenuSeparator=Xe;exports.MasonryGeneralCardsSection=Ze;exports.DetailedProductsSection=Je;exports.ProductsWithBannerSection=Qe;exports.SimpleProductsSection=Ye;exports.UrgentSaleProductsSection=er;exports.BannerSectionCarousel=rr;exports.BannerSectionGrid=tr;exports.BannerSectionSimple=or;exports.BannerSectionWithList=nr;exports.BannerSectionWithListImage=ir;exports.GiftCardsSection=ar;exports.BrandHitsSection=sr;exports.FieldOfInterestsMasonrySection=cr;exports.FieldOfInterestsWithAvatarsCardsSection=ur;exports.FieldOfInterestsWithTagsCardsSection=dr;exports.ThemeProvider=a.default;exports.useTheme=a.useTheme;exports.components=qr.components;exports.BannerSectionBasic=gr;
|