@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
package/dist/Dropdown.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { P as e } from "./index-S5Cd7WrG.js";
|
|
3
|
-
import * as
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
import { u as
|
|
6
|
-
import { c as
|
|
7
|
-
import { _ as C, u as I } from "./emotion-element-5486c51c.browser.esm-
|
|
3
|
+
import * as O from "react";
|
|
4
|
+
import { forwardRef as a, useCallback as S } from "react";
|
|
5
|
+
import { u as y, S as M, a as h } from "./CustomStyles-C7wXBd9m.js";
|
|
6
|
+
import { c as H } from "./CustomStyles-C7wXBd9m.js";
|
|
7
|
+
import { _ as C, u as I } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
8
8
|
import "./index--Kmch3aI.js";
|
|
9
|
-
import { d as
|
|
10
|
-
var
|
|
11
|
-
var o =
|
|
12
|
-
return /* @__PURE__ */
|
|
9
|
+
import { d as x } from "./index-CNBqQrtK.js";
|
|
10
|
+
var T = /* @__PURE__ */ a(function(n, t) {
|
|
11
|
+
var o = y(n);
|
|
12
|
+
return /* @__PURE__ */ O.createElement(M, C({
|
|
13
13
|
ref: t
|
|
14
14
|
}, o));
|
|
15
|
-
}),
|
|
16
|
-
const
|
|
15
|
+
}), P = T;
|
|
16
|
+
const V = a((n, t) => {
|
|
17
17
|
const {
|
|
18
18
|
// options,
|
|
19
19
|
styles: o,
|
|
20
|
-
debounceTime:
|
|
21
|
-
name:
|
|
20
|
+
debounceTime: l = 0,
|
|
21
|
+
name: j,
|
|
22
22
|
// hideSelectedOptions,
|
|
23
23
|
// id,
|
|
24
24
|
// inputId,
|
|
25
25
|
// value,
|
|
26
26
|
// readOnly,
|
|
27
27
|
// tabIndex,
|
|
28
|
-
isSearchable:
|
|
29
|
-
isClearable:
|
|
28
|
+
isSearchable: s = !0,
|
|
29
|
+
isClearable: r = !0,
|
|
30
30
|
// isLoading,
|
|
31
31
|
// isRtl,
|
|
32
32
|
// isDisabled,
|
|
@@ -59,39 +59,39 @@ const j = l((n, t) => {
|
|
|
59
59
|
// defaultMenuIsOpen,
|
|
60
60
|
// delimiter,
|
|
61
61
|
// onChange,
|
|
62
|
-
onInputChange
|
|
62
|
+
// onInputChange,
|
|
63
63
|
// onMenuOpen,
|
|
64
64
|
// onMenuClose,
|
|
65
65
|
// onBlur,
|
|
66
66
|
// onFocus,
|
|
67
|
-
size:
|
|
68
|
-
color:
|
|
69
|
-
className:
|
|
70
|
-
style:
|
|
67
|
+
size: u = "small",
|
|
68
|
+
color: i = "primary",
|
|
69
|
+
className: c = "",
|
|
70
|
+
style: m = {},
|
|
71
71
|
// children,
|
|
72
|
-
...
|
|
73
|
-
} = n,
|
|
74
|
-
return
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
), /* @__PURE__ */
|
|
79
|
-
|
|
72
|
+
...p
|
|
73
|
+
} = n, b = I();
|
|
74
|
+
return S(
|
|
75
|
+
x((f, d) => {
|
|
76
|
+
onInputChange == null || onInputChange(f, d);
|
|
77
|
+
}, l)
|
|
78
|
+
), /* @__PURE__ */ g(
|
|
79
|
+
P,
|
|
80
80
|
{
|
|
81
81
|
ref: t,
|
|
82
|
-
styles: o ||
|
|
83
|
-
size:
|
|
84
|
-
color:
|
|
85
|
-
theme:
|
|
86
|
-
isSearchable:
|
|
87
|
-
isClearable:
|
|
88
|
-
className:
|
|
89
|
-
style:
|
|
90
|
-
...
|
|
82
|
+
styles: o || h,
|
|
83
|
+
size: u,
|
|
84
|
+
color: i,
|
|
85
|
+
theme: b,
|
|
86
|
+
isSearchable: s,
|
|
87
|
+
isClearable: r,
|
|
88
|
+
className: c,
|
|
89
|
+
style: m,
|
|
90
|
+
...p
|
|
91
91
|
}
|
|
92
92
|
);
|
|
93
93
|
});
|
|
94
|
-
|
|
94
|
+
V.propTypes = {
|
|
95
95
|
options: e.array,
|
|
96
96
|
styles: e.object,
|
|
97
97
|
debounceTime: e.number,
|
|
@@ -261,6 +261,6 @@ j.propTypes = {
|
|
|
261
261
|
size: e.oneOf(["small", "medium", "large"])
|
|
262
262
|
};
|
|
263
263
|
export {
|
|
264
|
-
|
|
265
|
-
|
|
264
|
+
H as components,
|
|
265
|
+
V as default
|
|
266
266
|
};
|
package/dist/DropdownItem.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as d, Fragment as G, jsxs as H } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as J, useRef as Q, useState as W, useEffect as X } from "react";
|
|
3
3
|
import { P as l } from "./index-S5Cd7WrG.js";
|
|
4
|
-
import { n as Z } from "./emotion-styled.browser.esm-
|
|
4
|
+
import { n as Z } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
5
5
|
import M from "./Icon.js";
|
|
6
|
-
import { a as s, g as I, h as N } from "./utils-
|
|
7
|
-
import { u as ee } from "./emotion-element-5486c51c.browser.esm-
|
|
6
|
+
import { a as s, g as I, h as N } from "./utils-ROK9-zue.js";
|
|
7
|
+
import { u as ee } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
8
8
|
const ne = Z.div`
|
|
9
9
|
box-sizing: border-box;
|
|
10
10
|
cursor: ${(n) => n.disabled == !1 ? "pointer" : "context-menu"};
|
package/dist/DropdownLookup.js
CHANGED
|
@@ -2,9 +2,9 @@ import { jsx as de } from "react/jsx-runtime";
|
|
|
2
2
|
import { P as e } from "./index-S5Cd7WrG.js";
|
|
3
3
|
import * as Oe from "react";
|
|
4
4
|
import { useRef as G, useState as a, useEffect as W, useCallback as j, forwardRef as J } from "react";
|
|
5
|
-
import { _ as me, u as be } from "./emotion-element-5486c51c.browser.esm-
|
|
6
|
-
import { _ as ge, b as s, h as Se, d as C, u as he, S as ve, a as ye } from "./CustomStyles-
|
|
7
|
-
import {
|
|
5
|
+
import { _ as me, u as be } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
6
|
+
import { _ as ge, b as s, h as Se, d as C, u as he, S as ve, a as ye } from "./CustomStyles-C7wXBd9m.js";
|
|
7
|
+
import { f as _e } from "./defineProperty-BHpTtkhC.js";
|
|
8
8
|
import "./index--Kmch3aI.js";
|
|
9
9
|
import { d as Ie } from "./index-CNBqQrtK.js";
|
|
10
10
|
var Ce = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
|
package/dist/DropdownMenu.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as r, jsxs as B } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as K, useRef as l, useState as L, Children as U, isValidElement as Y, cloneElement as f } from "react";
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
|
-
import { n as b } from "./emotion-styled.browser.esm-
|
|
4
|
+
import { n as b } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
5
5
|
import $ from "./Button.js";
|
|
6
|
-
import { a as q } from "./utils-
|
|
6
|
+
import { a as q } from "./utils-ROK9-zue.js";
|
|
7
7
|
import { useTheme as A } from "./ThemeProvider.js";
|
|
8
8
|
import G from "./Popover.js";
|
|
9
9
|
import H from "./PopoverTrigger.js";
|
|
10
10
|
import J from "./PopoverContent.js";
|
|
11
|
-
import { m as Q } from "./motion-
|
|
11
|
+
import { m as Q } from "./motion-CtkUpWEn.js";
|
|
12
12
|
const W = b.div``, X = b(Q.div)`
|
|
13
13
|
gap: 0.25rem;
|
|
14
14
|
display: flex;
|
package/dist/EditableTable.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as l, Fragment as $, jsxs as U } from "react/jsx-runtime";
|
|
2
2
|
import { useState as X, useRef as A, useEffect as F, createElement as Z, forwardRef as ee, useImperativeHandle as re } from "react";
|
|
3
3
|
import { P as r } from "./index-S5Cd7WrG.js";
|
|
4
|
-
import { g as z, r as G,
|
|
4
|
+
import { g as z, r as G, d as V } from "./utils-ROK9-zue.js";
|
|
5
5
|
import te from "./Table.js";
|
|
6
|
-
import { n as Y } from "./emotion-styled.browser.esm-
|
|
6
|
+
import { n as Y } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
7
7
|
import N from "./TextInput.js";
|
|
8
8
|
import oe from "./NumberInput.js";
|
|
9
9
|
import ne from "./DecimalInput.js";
|
|
10
10
|
import ae from "./CheckBoxInput.js";
|
|
11
11
|
import se from "./Dropdown.js";
|
|
12
12
|
import ce from "./DecimalInputV2.js";
|
|
13
|
-
import { u as le } from "./emotion-element-5486c51c.browser.esm-
|
|
13
|
+
import { u as le } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
14
14
|
const h = {
|
|
15
15
|
BOOLEAN: "BOOLEAN",
|
|
16
16
|
STRING: "STRING",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as i, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as l } from "react";
|
|
3
|
-
import { n as p } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { n as p } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
4
4
|
import { M as g } from "./consts-DNVz1x1I.js";
|
|
5
|
-
import { t as b,
|
|
5
|
+
import { t as b, o as $, q as z } from "./utils-ROK9-zue.js";
|
|
6
6
|
import I from "./Icon.js";
|
|
7
|
-
import { u as M } from "./emotion-element-5486c51c.browser.esm-
|
|
7
|
+
import { u as M } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
8
8
|
import { u as E } from "./useEffectOnce-guOKBPuL.js";
|
|
9
9
|
const O = p.div`
|
|
10
10
|
display: flex;
|
|
@@ -166,7 +166,7 @@ const O = p.div`
|
|
|
166
166
|
/* @__PURE__ */ i("div", { className: "wrapper__title" }),
|
|
167
167
|
/* @__PURE__ */ i("div", { className: "wrapper__description" })
|
|
168
168
|
] })
|
|
169
|
-
] })),
|
|
169
|
+
] })), q = p.div`
|
|
170
170
|
display: flex;
|
|
171
171
|
flex-direction: column;
|
|
172
172
|
align-items: center;
|
|
@@ -244,7 +244,7 @@ const O = p.div`
|
|
|
244
244
|
},
|
|
245
245
|
onSelectCard: _ = () => {
|
|
246
246
|
}
|
|
247
|
-
},
|
|
247
|
+
}, T) => {
|
|
248
248
|
var x, y;
|
|
249
249
|
const h = (e) => {
|
|
250
250
|
f == null || f(e == null ? void 0 : e.uuid);
|
|
@@ -262,7 +262,7 @@ const O = p.div`
|
|
|
262
262
|
window.removeEventListener("resize", e);
|
|
263
263
|
};
|
|
264
264
|
}), /* @__PURE__ */ s(
|
|
265
|
-
|
|
265
|
+
q,
|
|
266
266
|
{
|
|
267
267
|
limitTags: m,
|
|
268
268
|
limitTagsForMobile: d,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t, jsxs as y } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as f } from "react";
|
|
3
|
-
import { n as u } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { n as u } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
4
4
|
import { M as x } from "./consts-DNVz1x1I.js";
|
|
5
|
-
import {
|
|
6
|
-
import { S as k } from "./index-
|
|
5
|
+
import { o as F, q as N } from "./utils-ROK9-zue.js";
|
|
6
|
+
import { S as k } from "./index--F2p-wtI.js";
|
|
7
7
|
const A = u.div`
|
|
8
8
|
width: 100%;
|
|
9
9
|
height: 11.625rem;
|
|
@@ -143,7 +143,7 @@ const A = u.div`
|
|
|
143
143
|
gap: 1rem;
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
-
`,
|
|
146
|
+
`, B = f(
|
|
147
147
|
({
|
|
148
148
|
title: i,
|
|
149
149
|
subtitle: s,
|
|
@@ -217,5 +217,5 @@ const A = u.div`
|
|
|
217
217
|
}
|
|
218
218
|
);
|
|
219
219
|
export {
|
|
220
|
-
|
|
220
|
+
B as default
|
|
221
221
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as i, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as m } from "react";
|
|
3
|
-
import { n as p } from "./emotion-styled.browser.esm-
|
|
4
|
-
import { t as v,
|
|
3
|
+
import { n as p } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
4
|
+
import { t as v, o as y, q as b } from "./utils-ROK9-zue.js";
|
|
5
5
|
import $ from "./Icon.js";
|
|
6
|
-
import { u as k } from "./emotion-element-5486c51c.browser.esm-
|
|
6
|
+
import { u as k } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
7
7
|
import { M as N } from "./consts-DNVz1x1I.js";
|
|
8
8
|
const W = p.div`
|
|
9
9
|
display: flex;
|
|
@@ -183,7 +183,7 @@ const W = p.div`
|
|
|
183
183
|
gap: 1rem;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
`,
|
|
186
|
+
`, P = m(
|
|
187
187
|
({
|
|
188
188
|
title: r,
|
|
189
189
|
subtitle: n,
|
|
@@ -250,5 +250,5 @@ const W = p.div`
|
|
|
250
250
|
}
|
|
251
251
|
);
|
|
252
252
|
export {
|
|
253
|
-
|
|
253
|
+
P as default
|
|
254
254
|
};
|
package/dist/FileInput.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as S, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as R, useState as g } from "react";
|
|
3
|
-
import { n as c } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { n as c } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
4
4
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
5
|
-
import {
|
|
6
|
-
import { u as B } from "./emotion-element-5486c51c.browser.esm-
|
|
5
|
+
import { e as y, a as r, f as V, g as x, h as p } from "./utils-ROK9-zue.js";
|
|
6
|
+
import { u as B } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
7
7
|
const D = c.label`
|
|
8
8
|
display: inline-flex;
|
|
9
9
|
box-sizing: border-box;
|
|
@@ -106,15 +106,15 @@ const D = c.label`
|
|
|
106
106
|
onFocus: d,
|
|
107
107
|
onBlur: s,
|
|
108
108
|
disabled: l,
|
|
109
|
-
readOnly:
|
|
109
|
+
readOnly: f,
|
|
110
110
|
multiple: w = !1,
|
|
111
111
|
accept: z = "",
|
|
112
112
|
label: O = "Choose File",
|
|
113
113
|
color: F = "primary",
|
|
114
114
|
size: k = "small",
|
|
115
115
|
...v
|
|
116
|
-
} = e, T = B(), [o, N] = g([]), [
|
|
117
|
-
var u = { theme: T, size: k, color: F, disabled: l, focused:
|
|
116
|
+
} = e, T = B(), [o, N] = g([]), [b, h] = g(!1);
|
|
117
|
+
var u = { theme: T, size: k, color: F, disabled: l, focused: b };
|
|
118
118
|
const j = () => {
|
|
119
119
|
if (o.length > 0) {
|
|
120
120
|
var n = "";
|
|
@@ -130,8 +130,8 @@ const D = c.label`
|
|
|
130
130
|
...u,
|
|
131
131
|
className: I,
|
|
132
132
|
style: C,
|
|
133
|
-
focused:
|
|
134
|
-
readOnly:
|
|
133
|
+
focused: b,
|
|
134
|
+
readOnly: f,
|
|
135
135
|
children: [
|
|
136
136
|
/* @__PURE__ */ m(
|
|
137
137
|
L,
|
|
@@ -140,7 +140,7 @@ const D = c.label`
|
|
|
140
140
|
accept: z,
|
|
141
141
|
multiple: w,
|
|
142
142
|
ref: $,
|
|
143
|
-
onChange: l ||
|
|
143
|
+
onChange: l || f ? () => {
|
|
144
144
|
} : (n) => {
|
|
145
145
|
var a = [];
|
|
146
146
|
if (n.target.files && n.target.files.length > 0)
|
package/dist/FlexBox.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as m } from "react";
|
|
3
|
-
import { n as w } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { n as w } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
4
4
|
import { P as r } from "./index-S5Cd7WrG.js";
|
|
5
5
|
const d = {
|
|
6
6
|
Row: "row",
|
package/dist/FlexGridItem.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as y } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as N, useState as S, useEffect as b } from "react";
|
|
3
3
|
import { P as i } from "./index-S5Cd7WrG.js";
|
|
4
|
-
import { n as I } from "./emotion-styled.browser.esm-
|
|
5
|
-
import { u as M } from "./utils-
|
|
4
|
+
import { n as I } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
5
|
+
import { u as M } from "./utils-ROK9-zue.js";
|
|
6
6
|
const W = I.div`
|
|
7
7
|
${(t) => t.width > 0 ? "" : "flex: 1;"}
|
|
8
8
|
min-width: ${(t) => 100 / t.columns}%;
|
package/dist/FormField.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as b, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { P as l } from "./index-S5Cd7WrG.js";
|
|
3
|
-
import { n as m } from "./emotion-styled.browser.esm-
|
|
4
|
-
import { g as i, a as n } from "./utils-
|
|
5
|
-
import { u as g } from "./emotion-element-5486c51c.browser.esm-
|
|
3
|
+
import { n as m } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
4
|
+
import { g as i, a as n } from "./utils-ROK9-zue.js";
|
|
5
|
+
import { u as g } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
6
6
|
const f = m.label`
|
|
7
7
|
display: block;
|
|
8
8
|
margin-bottom: 4px;
|
package/dist/FormView.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as c, jsx as r, Fragment as g } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as W } from "react";
|
|
3
3
|
import { P as e } from "./index-S5Cd7WrG.js";
|
|
4
|
-
import { n as y } from "./emotion-styled.browser.esm-
|
|
4
|
+
import { n as y } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
5
5
|
import M from "./FlexGrid.js";
|
|
6
6
|
import Y from "./FlexGridItem.js";
|
|
7
7
|
import f from "./Button.js";
|
|
@@ -17,9 +17,9 @@ import X from "./TimeInput.js";
|
|
|
17
17
|
import Z from "./ColorInput.js";
|
|
18
18
|
import z from "./FileInput.js";
|
|
19
19
|
import ee from "./RangeSlider.js";
|
|
20
|
-
import { c as re, b as te, a as oe } from "./utils-
|
|
20
|
+
import { c as re, b as te, a as oe } from "./utils-ROK9-zue.js";
|
|
21
21
|
import ae from "./FormField.js";
|
|
22
|
-
import { u as ne } from "./emotion-element-5486c51c.browser.esm-
|
|
22
|
+
import { u as ne } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
23
23
|
const ie = y.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
justify-content: space-between;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),f=require("react"),s=require("./utils-CE6bljYe.cjs"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),w=require("./consts-dNz9tpt4.cjs"),_=g.newStyled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
gap: 0.75rem;
|
|
6
|
+
|
|
7
|
+
& .wrapper__card {
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: auto;
|
|
10
|
+
border-radius: 0.75rem;
|
|
11
|
+
position: relative;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
|
|
14
|
+
& .wrapper__image {
|
|
15
|
+
width: 100%;
|
|
16
|
+
object-fit: cover;
|
|
17
|
+
height: auto;
|
|
18
|
+
border-radius: 0.75rem;
|
|
19
|
+
border: 1px solid var(--yellow-600, #d97706);
|
|
20
|
+
|
|
21
|
+
/* drop-shadow-sm */
|
|
22
|
+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
& .wrapper__tag {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
position: absolute;
|
|
30
|
+
left: -40%;
|
|
31
|
+
top: 10%;
|
|
32
|
+
filter: drop-shadow(1px 1px 0px #d97706);
|
|
33
|
+
background: var(--yellow-500, #f59e0b);
|
|
34
|
+
color: var(--white, #fff);
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 2rem;
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
font-size: 0.875rem;
|
|
39
|
+
|
|
40
|
+
-moz-transform: rotate(-45deg);
|
|
41
|
+
-o-transform: rotate(-45deg);
|
|
42
|
+
-webkit-transform: rotate(-45deg);
|
|
43
|
+
transform: rotate(-45deg);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
& .wrapper__text {
|
|
48
|
+
color: var(--gray-950, #14161a);
|
|
49
|
+
text-align: center;
|
|
50
|
+
font-size: 1rem;
|
|
51
|
+
font-style: normal;
|
|
52
|
+
font-weight: 500;
|
|
53
|
+
line-height: 1.5rem;
|
|
54
|
+
width: 100%;
|
|
55
|
+
${s.truncateTextInRows(2)}
|
|
56
|
+
}
|
|
57
|
+
`,h=g.newStyled.div`
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 11.5rem;
|
|
60
|
+
border-radius: 0.75rem;
|
|
61
|
+
background: ${s.linearGradientAnimation("-90deg")};
|
|
62
|
+
`,d=f.forwardRef(({image:t,imageComponent:n,text:i,price:l,currency:m,onSelectCard:o=()=>{}},a)=>r.jsxs(_,{onClick:o,children:[r.jsxs("div",{className:"wrapper__card",children:[s.isDefined(n)?n:r.jsx("img",{src:t,className:"wrapper__image"}),r.jsx("div",{className:"wrapper__tag",children:`${s.formatPrice(l)} ${s.GetCurrencySymbol(m)}`})]}),r.jsx("div",{className:"wrapper__text",children:i})]})),u=f.forwardRef(({},t)=>r.jsx(h,{})),c=g.newStyled.div`
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
65
|
+
align-items: center;
|
|
66
|
+
gap: 1.5rem;
|
|
67
|
+
|
|
68
|
+
& .wrapper__heading {
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
gap: 1rem;
|
|
72
|
+
|
|
73
|
+
& .wrapper__title {
|
|
74
|
+
color: var(--gray-950, #14161a);
|
|
75
|
+
text-align: center;
|
|
76
|
+
font-size: 1.5rem;
|
|
77
|
+
font-style: normal;
|
|
78
|
+
font-weight: 600;
|
|
79
|
+
line-height: 2rem;
|
|
80
|
+
letter-spacing: -0.47px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
& .wrapper__subtitle {
|
|
84
|
+
color: var(---gray-600, #676e79);
|
|
85
|
+
font-size: 0.875rem;
|
|
86
|
+
font-style: normal;
|
|
87
|
+
font-weight: 400;
|
|
88
|
+
line-height: 1.25rem;
|
|
89
|
+
letter-spacing: 0.25px;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
& .wrapper__cards {
|
|
94
|
+
display: grid;
|
|
95
|
+
grid-template-columns: ${t=>`repeat(${t==null?void 0:t.limitCards}, minmax(0, 1fr))`};
|
|
96
|
+
gap: 1.25rem;
|
|
97
|
+
justify-items: center;
|
|
98
|
+
align-items: center;
|
|
99
|
+
width: 100%;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@media (max-width: ${w.MOBILE_SIZE_PX+"px"}) {
|
|
103
|
+
& .wrapper__cards {
|
|
104
|
+
grid-template-columns: ${t=>`repeat(${t==null?void 0:t.limitCardsForMobile}, minmax(0, 1fr))`};
|
|
105
|
+
gap: 1rem;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
`,y=f.forwardRef(({title:t,subtitle:n,cards:i,limitCards:l=4,limitCardsForMobile:m=1,onSelectCard:o=()=>{}})=>{var x;const a=e=>{o==null||o(e==null?void 0:e.uuid)};return r.jsxs(c,{limitCards:l,limitCardsForMobile:m,children:[r.jsxs("div",{className:"wrapper__heading",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),n&&r.jsx("div",{className:"wrapper__subtitle",children:n})]}),r.jsx("div",{className:"wrapper__cards",children:i&&(i==null?void 0:i.length)>0?i==null?void 0:i.map((e,p)=>r.jsx(d,{uuid:e==null?void 0:e.uuid,text:e==null?void 0:e.text,price:e==null?void 0:e.price,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>a==null?void 0:a(e)},`gift-card__${p+1}`)):(x=Array.from("1234"))==null?void 0:x.map((e,p)=>r.jsx(u,{},`gift-card-skeleton__${p+1}`))})]})});module.exports=y;
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { jsxs as l, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as f } from "react";
|
|
3
|
+
import { t as _, o as w, q as d, v as x, G as u } from "./utils-ROK9-zue.js";
|
|
4
|
+
import { n as g } from "./emotion-styled.browser.esm-BZSYYThs.js";
|
|
5
|
+
import { M as c } from "./consts-DNVz1x1I.js";
|
|
6
|
+
const y = g.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
align-items: flex-start;
|
|
10
|
+
gap: 0.75rem;
|
|
11
|
+
|
|
12
|
+
& .wrapper__card {
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: auto;
|
|
15
|
+
border-radius: 0.75rem;
|
|
16
|
+
position: relative;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
|
|
19
|
+
& .wrapper__image {
|
|
20
|
+
width: 100%;
|
|
21
|
+
object-fit: cover;
|
|
22
|
+
height: auto;
|
|
23
|
+
border-radius: 0.75rem;
|
|
24
|
+
border: 1px solid var(--yellow-600, #d97706);
|
|
25
|
+
|
|
26
|
+
/* drop-shadow-sm */
|
|
27
|
+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& .wrapper__tag {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
position: absolute;
|
|
35
|
+
left: -40%;
|
|
36
|
+
top: 10%;
|
|
37
|
+
filter: drop-shadow(1px 1px 0px #d97706);
|
|
38
|
+
background: var(--yellow-500, #f59e0b);
|
|
39
|
+
color: var(--white, #fff);
|
|
40
|
+
width: 100%;
|
|
41
|
+
height: 2rem;
|
|
42
|
+
font-weight: 600;
|
|
43
|
+
font-size: 0.875rem;
|
|
44
|
+
|
|
45
|
+
-moz-transform: rotate(-45deg);
|
|
46
|
+
-o-transform: rotate(-45deg);
|
|
47
|
+
-webkit-transform: rotate(-45deg);
|
|
48
|
+
transform: rotate(-45deg);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
& .wrapper__text {
|
|
53
|
+
color: var(--gray-950, #14161a);
|
|
54
|
+
text-align: center;
|
|
55
|
+
font-size: 1rem;
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-weight: 500;
|
|
58
|
+
line-height: 1.5rem;
|
|
59
|
+
width: 100%;
|
|
60
|
+
${_(2)}
|
|
61
|
+
}
|
|
62
|
+
`, v = g.div`
|
|
63
|
+
width: 100%;
|
|
64
|
+
height: 11.5rem;
|
|
65
|
+
border-radius: 0.75rem;
|
|
66
|
+
background: ${w("-90deg")};
|
|
67
|
+
`, b = f(
|
|
68
|
+
({ image: t, imageComponent: o, text: r, price: m, currency: p, onSelectCard: n = () => {
|
|
69
|
+
} }, a) => /* @__PURE__ */ l(y, { onClick: n, children: [
|
|
70
|
+
/* @__PURE__ */ l("div", { className: "wrapper__card", children: [
|
|
71
|
+
d(o) ? o : /* @__PURE__ */ i("img", { src: t, className: "wrapper__image" }),
|
|
72
|
+
/* @__PURE__ */ i("div", { className: "wrapper__tag", children: `${x(
|
|
73
|
+
m
|
|
74
|
+
)} ${u(p)}` })
|
|
75
|
+
] }),
|
|
76
|
+
/* @__PURE__ */ i("div", { className: "wrapper__text", children: r })
|
|
77
|
+
] })
|
|
78
|
+
), $ = f(({}, t) => /* @__PURE__ */ i(v, {})), N = g.div`
|
|
79
|
+
display: flex;
|
|
80
|
+
flex-direction: column;
|
|
81
|
+
align-items: center;
|
|
82
|
+
gap: 1.5rem;
|
|
83
|
+
|
|
84
|
+
& .wrapper__heading {
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
gap: 1rem;
|
|
88
|
+
|
|
89
|
+
& .wrapper__title {
|
|
90
|
+
color: var(--gray-950, #14161a);
|
|
91
|
+
text-align: center;
|
|
92
|
+
font-size: 1.5rem;
|
|
93
|
+
font-style: normal;
|
|
94
|
+
font-weight: 600;
|
|
95
|
+
line-height: 2rem;
|
|
96
|
+
letter-spacing: -0.47px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
& .wrapper__subtitle {
|
|
100
|
+
color: var(---gray-600, #676e79);
|
|
101
|
+
font-size: 0.875rem;
|
|
102
|
+
font-style: normal;
|
|
103
|
+
font-weight: 400;
|
|
104
|
+
line-height: 1.25rem;
|
|
105
|
+
letter-spacing: 0.25px;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
& .wrapper__cards {
|
|
110
|
+
display: grid;
|
|
111
|
+
grid-template-columns: ${(t) => `repeat(${t == null ? void 0 : t.limitCards}, minmax(0, 1fr))`};
|
|
112
|
+
gap: 1.25rem;
|
|
113
|
+
justify-items: center;
|
|
114
|
+
align-items: center;
|
|
115
|
+
width: 100%;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media (max-width: ${c + "px"}) {
|
|
119
|
+
& .wrapper__cards {
|
|
120
|
+
grid-template-columns: ${(t) => `repeat(${t == null ? void 0 : t.limitCardsForMobile}, minmax(0, 1fr))`};
|
|
121
|
+
gap: 1rem;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
`, I = f(
|
|
125
|
+
({
|
|
126
|
+
title: t,
|
|
127
|
+
subtitle: o,
|
|
128
|
+
cards: r,
|
|
129
|
+
limitCards: m = 4,
|
|
130
|
+
limitCardsForMobile: p = 1,
|
|
131
|
+
onSelectCard: n = () => {
|
|
132
|
+
}
|
|
133
|
+
}) => {
|
|
134
|
+
var h;
|
|
135
|
+
const a = (e) => {
|
|
136
|
+
n == null || n(e == null ? void 0 : e.uuid);
|
|
137
|
+
};
|
|
138
|
+
return /* @__PURE__ */ l(
|
|
139
|
+
N,
|
|
140
|
+
{
|
|
141
|
+
limitCards: m,
|
|
142
|
+
limitCardsForMobile: p,
|
|
143
|
+
children: [
|
|
144
|
+
/* @__PURE__ */ l("div", { className: "wrapper__heading", children: [
|
|
145
|
+
t && /* @__PURE__ */ i("div", { className: "wrapper__title", children: t }),
|
|
146
|
+
o && /* @__PURE__ */ i("div", { className: "wrapper__subtitle", children: o })
|
|
147
|
+
] }),
|
|
148
|
+
/* @__PURE__ */ i("div", { className: "wrapper__cards", children: r && (r == null ? void 0 : r.length) > 0 ? r == null ? void 0 : r.map((e, s) => /* @__PURE__ */ i(
|
|
149
|
+
b,
|
|
150
|
+
{
|
|
151
|
+
uuid: e == null ? void 0 : e.uuid,
|
|
152
|
+
text: e == null ? void 0 : e.text,
|
|
153
|
+
price: e == null ? void 0 : e.price,
|
|
154
|
+
currency: e == null ? void 0 : e.currency,
|
|
155
|
+
image: e == null ? void 0 : e.image,
|
|
156
|
+
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
157
|
+
onSelectCard: () => a == null ? void 0 : a(e)
|
|
158
|
+
},
|
|
159
|
+
`gift-card__${s + 1}`
|
|
160
|
+
)) : (h = Array.from("1234")) == null ? void 0 : h.map((e, s) => /* @__PURE__ */ i($, {}, `gift-card-skeleton__${s + 1}`)) })
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
);
|
|
164
|
+
}
|
|
165
|
+
);
|
|
166
|
+
export {
|
|
167
|
+
I as default
|
|
168
|
+
};
|