@pmax-lt/ui-react 0.1.0 → 0.1.1
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/index.js +183 -156
- package/dist/index.js.map +1 -1
- package/dist/pmax-ui-react.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -196,16 +196,16 @@ var w = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, T = v, E = (e
|
|
|
196
196
|
] : e;
|
|
197
197
|
}, []), n?.class, n?.className);
|
|
198
198
|
}, D = {
|
|
199
|
-
base: "
|
|
200
|
-
sm: "
|
|
201
|
-
md: "
|
|
202
|
-
fullWidth: "
|
|
203
|
-
primary: "
|
|
204
|
-
secondary: "
|
|
205
|
-
tertiary: "
|
|
206
|
-
outline: "
|
|
207
|
-
spinner: "
|
|
208
|
-
spin: "
|
|
199
|
+
base: "_base_1dffa_1 _focusRing_svxew_10",
|
|
200
|
+
sm: "_sm_1dffa_32",
|
|
201
|
+
md: "_md_1dffa_38",
|
|
202
|
+
fullWidth: "_fullWidth_1dffa_44",
|
|
203
|
+
primary: "_primary_1dffa_48",
|
|
204
|
+
secondary: "_secondary_1dffa_59",
|
|
205
|
+
tertiary: "_tertiary_1dffa_68",
|
|
206
|
+
outline: "_outline_1dffa_78",
|
|
207
|
+
spinner: "_spinner_1dffa_88",
|
|
208
|
+
spin: "_spin_1dffa_88"
|
|
209
209
|
}, O = E(D.base, {
|
|
210
210
|
variants: {
|
|
211
211
|
variant: {
|
|
@@ -247,15 +247,15 @@ var w = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, T = v, E = (e
|
|
|
247
247
|
]
|
|
248
248
|
});
|
|
249
249
|
}), A = {
|
|
250
|
-
base: "
|
|
251
|
-
sm: "
|
|
252
|
-
md: "
|
|
253
|
-
lg: "
|
|
254
|
-
yellow: "
|
|
255
|
-
ink: "
|
|
256
|
-
ghost: "
|
|
257
|
-
outline: "
|
|
258
|
-
badge: "
|
|
250
|
+
base: "_base_h9jq9_1 _focusRing_svxew_10",
|
|
251
|
+
sm: "_sm_h9jq9_26",
|
|
252
|
+
md: "_md_h9jq9_31",
|
|
253
|
+
lg: "_lg_h9jq9_36",
|
|
254
|
+
yellow: "_yellow_h9jq9_41",
|
|
255
|
+
ink: "_ink_h9jq9_50",
|
|
256
|
+
ghost: "_ghost_h9jq9_59",
|
|
257
|
+
outline: "_outline_h9jq9_68",
|
|
258
|
+
badge: "_badge_h9jq9_78"
|
|
259
259
|
}, j = E(A.base, {
|
|
260
260
|
variants: {
|
|
261
261
|
variant: {
|
|
@@ -313,11 +313,11 @@ function ee({ value: e, tone: n = "ink", className: r }) {
|
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
315
|
var F = {
|
|
316
|
-
label: "
|
|
317
|
-
rest: "
|
|
318
|
-
selected: "
|
|
319
|
-
disabled: "
|
|
320
|
-
input: "
|
|
316
|
+
label: "_label_c8aqy_1 _focusRing_svxew_10",
|
|
317
|
+
rest: "_rest_c8aqy_24 _stateRest_svxew_27 _stateHover_svxew_33",
|
|
318
|
+
selected: "_selected_c8aqy_29 _stateSelected_svxew_38",
|
|
319
|
+
disabled: "_disabled_c8aqy_33",
|
|
320
|
+
input: "_input_c8aqy_38"
|
|
321
321
|
};
|
|
322
322
|
//#endregion
|
|
323
323
|
//#region src/primitives/Chip.tsx
|
|
@@ -363,12 +363,12 @@ function re({ icon: e, tone: r = "yellow", children: i, className: a }) {
|
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
365
|
var ie = {
|
|
366
|
-
wrap: "
|
|
367
|
-
sm: "
|
|
368
|
-
invalid: "
|
|
369
|
-
disabled: "
|
|
370
|
-
field: "
|
|
371
|
-
affix: "
|
|
366
|
+
wrap: "_wrap_b731x_1 _focusRing_svxew_10",
|
|
367
|
+
sm: "_sm_b731x_29",
|
|
368
|
+
invalid: "_invalid_b731x_33",
|
|
369
|
+
disabled: "_disabled_b731x_37",
|
|
370
|
+
field: "_field_b731x_41",
|
|
371
|
+
affix: "_affix_b731x_56"
|
|
372
372
|
}, ae = o(function({ prefix: e, suffix: r, invalid: i, size: a = "md", disabled: o, className: s, wrapperClassName: c, ...l }, u) {
|
|
373
373
|
return /* @__PURE__ */ n("span", {
|
|
374
374
|
"data-pmax": "input",
|
|
@@ -392,12 +392,12 @@ var ie = {
|
|
|
392
392
|
]
|
|
393
393
|
});
|
|
394
394
|
}), oe = {
|
|
395
|
-
root: "
|
|
396
|
-
wrap: "
|
|
397
|
-
field: "
|
|
398
|
-
submit: "
|
|
399
|
-
results: "
|
|
400
|
-
resultItem: "
|
|
395
|
+
root: "_root_riqyo_1",
|
|
396
|
+
wrap: "_wrap_riqyo_6 _focusRing_svxew_10",
|
|
397
|
+
field: "_field_riqyo_33",
|
|
398
|
+
submit: "_submit_riqyo_48",
|
|
399
|
+
results: "_results_riqyo_62",
|
|
400
|
+
resultItem: "_resultItem_riqyo_75"
|
|
401
401
|
};
|
|
402
402
|
//#endregion
|
|
403
403
|
//#region src/primitives/SearchField.tsx
|
|
@@ -1096,8 +1096,10 @@ function Dt(e) {
|
|
|
1096
1096
|
}
|
|
1097
1097
|
dt(Dt, "getState");
|
|
1098
1098
|
var Ot = {
|
|
1099
|
-
root: "
|
|
1100
|
-
|
|
1099
|
+
root: "_root_68evb_1 _focusRing_svxew_10",
|
|
1100
|
+
indicator: "_indicator_68evb_25",
|
|
1101
|
+
"check-pop": "_check-pop_68evb_1",
|
|
1102
|
+
label: "_label_68evb_41"
|
|
1101
1103
|
};
|
|
1102
1104
|
//#endregion
|
|
1103
1105
|
//#region src/primitives/Checkbox.tsx
|
|
@@ -1112,10 +1114,13 @@ function kt({ checked: e, onCheckedChange: r, label: i, disabled: a }) {
|
|
|
1112
1114
|
checked: e,
|
|
1113
1115
|
disabled: a,
|
|
1114
1116
|
onCheckedChange: r,
|
|
1115
|
-
children: /* @__PURE__ */ t(St, {
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1117
|
+
children: /* @__PURE__ */ t(St, {
|
|
1118
|
+
className: Ot.indicator,
|
|
1119
|
+
children: /* @__PURE__ */ t(g, {
|
|
1120
|
+
name: e === "indeterminate" ? "minus" : "check-circle",
|
|
1121
|
+
size: 14
|
|
1122
|
+
})
|
|
1123
|
+
})
|
|
1119
1124
|
}), /* @__PURE__ */ t("label", {
|
|
1120
1125
|
htmlFor: o,
|
|
1121
1126
|
children: i
|
|
@@ -1978,10 +1983,10 @@ function Vn(e) {
|
|
|
1978
1983
|
}
|
|
1979
1984
|
W(Vn, "isFunction");
|
|
1980
1985
|
var Hn = {
|
|
1981
|
-
root: "
|
|
1982
|
-
track: "
|
|
1983
|
-
range: "
|
|
1984
|
-
thumb: "
|
|
1986
|
+
root: "_root_108xf_1",
|
|
1987
|
+
track: "_track_108xf_10",
|
|
1988
|
+
range: "_range_108xf_18",
|
|
1989
|
+
thumb: "_thumb_108xf_25 _focusRing_svxew_10"
|
|
1985
1990
|
};
|
|
1986
1991
|
//#endregion
|
|
1987
1992
|
//#region src/primitives/RangeSlider.tsx
|
|
@@ -4731,11 +4736,11 @@ var nl = Sc, rl = Cc, il = Dc, al = jc, ol = Bc, sl = Object.defineProperty, cl
|
|
|
4731
4736
|
ref: n
|
|
4732
4737
|
});
|
|
4733
4738
|
}, "DropdownMenuCheckboxItem")), Sl = hl, Cl = _l, wl = vl, Tl = bl, El = xl, Dl = {
|
|
4734
|
-
trigger: "
|
|
4735
|
-
sm: "
|
|
4736
|
-
chevron: "
|
|
4737
|
-
content: "
|
|
4738
|
-
item: "
|
|
4739
|
+
trigger: "_trigger_1lpyz_1 _focusRing_svxew_10",
|
|
4740
|
+
sm: "_sm_1lpyz_29",
|
|
4741
|
+
chevron: "_chevron_1lpyz_33",
|
|
4742
|
+
content: "_content_1lpyz_41",
|
|
4743
|
+
item: "_item_1lpyz_51"
|
|
4739
4744
|
};
|
|
4740
4745
|
//#endregion
|
|
4741
4746
|
//#region src/primitives/Select.tsx
|
|
@@ -4762,7 +4767,7 @@ function Ol({ options: e, value: r, onChange: i, size: a = "md", triggerLabel: o
|
|
|
4762
4767
|
}) })] });
|
|
4763
4768
|
}
|
|
4764
4769
|
var kl = {
|
|
4765
|
-
base: "_base_1bycs_1
|
|
4770
|
+
base: "_base_1bycs_1 _focusRing_svxew_10",
|
|
4766
4771
|
expanded: "_expanded_1bycs_27",
|
|
4767
4772
|
sm: "_sm_1bycs_34",
|
|
4768
4773
|
md: "_md_1bycs_39"
|
|
@@ -5040,7 +5045,7 @@ Z(Cu, "getState");
|
|
|
5040
5045
|
var wu = ru, Tu = gu, Eu = vu, Du = bu, Ou = Su, ku = {
|
|
5041
5046
|
item: "_item_1n84i_1",
|
|
5042
5047
|
header: "_header_1n84i_5",
|
|
5043
|
-
trigger: "_trigger_1n84i_9
|
|
5048
|
+
trigger: "_trigger_1n84i_9 _focusRing_svxew_10",
|
|
5044
5049
|
chevron: "_chevron_1n84i_27",
|
|
5045
5050
|
content: "_content_1n84i_35",
|
|
5046
5051
|
open: "_open_1n84i_1",
|
|
@@ -5167,8 +5172,8 @@ function Lu({ open: e, onClose: n, blur: r }) {
|
|
|
5167
5172
|
}) : null;
|
|
5168
5173
|
}
|
|
5169
5174
|
var Ru = {
|
|
5170
|
-
bar: "
|
|
5171
|
-
dismiss: "
|
|
5175
|
+
bar: "_bar_117dx_1",
|
|
5176
|
+
dismiss: "_dismiss_117dx_18 _focusRing_svxew_10"
|
|
5172
5177
|
};
|
|
5173
5178
|
//#endregion
|
|
5174
5179
|
//#region src/components/AnnouncementBar.tsx
|
|
@@ -5305,7 +5310,7 @@ function Gu({ count: e, href: r = "/cart" }) {
|
|
|
5305
5310
|
});
|
|
5306
5311
|
}
|
|
5307
5312
|
var Ku = {
|
|
5308
|
-
link: "_link_icul5_1
|
|
5313
|
+
link: "_link_icul5_1 _focusRing_svxew_10",
|
|
5309
5314
|
active: "_active_icul5_24",
|
|
5310
5315
|
chevron: "_chevron_icul5_29",
|
|
5311
5316
|
open: "_open_icul5_33"
|
|
@@ -5379,7 +5384,7 @@ function Yu({ items: e, activeKey: r, secondaryItems: i }) {
|
|
|
5379
5384
|
});
|
|
5380
5385
|
}
|
|
5381
5386
|
var Xu = {
|
|
5382
|
-
tile: "_tile_iwfq7_1
|
|
5387
|
+
tile: "_tile_iwfq7_1 _focusRing_svxew_10",
|
|
5383
5388
|
selected: "_selected_iwfq7_25",
|
|
5384
5389
|
label: "_label_iwfq7_29"
|
|
5385
5390
|
};
|
|
@@ -5572,7 +5577,7 @@ function cd({ onAdd: e, loading: n, added: r, disabled: i, variant: a = "labelle
|
|
|
5572
5577
|
}
|
|
5573
5578
|
var Q = {
|
|
5574
5579
|
card: "_card_qj9lp_1",
|
|
5575
|
-
linkOverlay: "_linkOverlay_qj9lp_24
|
|
5580
|
+
linkOverlay: "_linkOverlay_qj9lp_24 _focusRing_svxew_10",
|
|
5576
5581
|
tile: "_tile_qj9lp_32",
|
|
5577
5582
|
image: "_image_qj9lp_41",
|
|
5578
5583
|
imageSecondary: "_imageSecondary_qj9lp_50",
|
|
@@ -5707,15 +5712,15 @@ function ud({ columns: e = 4, gap: n = 20, children: r, empty: i, emptyMessage:
|
|
|
5707
5712
|
});
|
|
5708
5713
|
}
|
|
5709
5714
|
var dd = {
|
|
5710
|
-
root: "
|
|
5711
|
-
track: "
|
|
5712
|
-
slide: "
|
|
5713
|
-
arrow: "
|
|
5714
|
-
arrowPrev: "
|
|
5715
|
-
arrowNext: "
|
|
5716
|
-
dots: "
|
|
5717
|
-
dot: "
|
|
5718
|
-
dotActive: "
|
|
5715
|
+
root: "_root_1b4a7_1",
|
|
5716
|
+
track: "_track_1b4a7_5",
|
|
5717
|
+
slide: "_slide_1b4a7_18",
|
|
5718
|
+
arrow: "_arrow_1b4a7_23 _focusRing_svxew_10",
|
|
5719
|
+
arrowPrev: "_arrowPrev_1b4a7_48",
|
|
5720
|
+
arrowNext: "_arrowNext_1b4a7_52",
|
|
5721
|
+
dots: "_dots_1b4a7_56",
|
|
5722
|
+
dot: "_dot_1b4a7_56",
|
|
5723
|
+
dotActive: "_dotActive_1b4a7_80"
|
|
5719
5724
|
};
|
|
5720
5725
|
//#endregion
|
|
5721
5726
|
//#region src/components/ProductCarousel.tsx
|
|
@@ -6000,11 +6005,11 @@ function yd({ values: e, onRemove: r, onClearAll: i }) {
|
|
|
6000
6005
|
});
|
|
6001
6006
|
}
|
|
6002
6007
|
var bd = {
|
|
6003
|
-
nav: "
|
|
6004
|
-
pageBtn: "
|
|
6005
|
-
current: "
|
|
6006
|
-
ellipsis: "
|
|
6007
|
-
edge: "
|
|
6008
|
+
nav: "_nav_1ssjp_1",
|
|
6009
|
+
pageBtn: "_pageBtn_1ssjp_7 _focusRing_svxew_10",
|
|
6010
|
+
current: "_current_1ssjp_31",
|
|
6011
|
+
ellipsis: "_ellipsis_1ssjp_36",
|
|
6012
|
+
edge: "_edge_1ssjp_44 _focusRing_svxew_10"
|
|
6008
6013
|
};
|
|
6009
6014
|
//#endregion
|
|
6010
6015
|
//#region src/components/Pagination.tsx
|
|
@@ -6054,14 +6059,14 @@ function Sd({ page: e, pageCount: r, onChange: i, siblingCount: a = 1 }) {
|
|
|
6054
6059
|
});
|
|
6055
6060
|
}
|
|
6056
6061
|
var Cd = {
|
|
6057
|
-
root: "
|
|
6058
|
-
main: "
|
|
6059
|
-
mainImage: "
|
|
6060
|
-
actions: "
|
|
6061
|
-
thumbs: "
|
|
6062
|
-
thumb: "
|
|
6063
|
-
thumbActive: "
|
|
6064
|
-
thumbImage: "
|
|
6062
|
+
root: "_root_z6mp5_1",
|
|
6063
|
+
main: "_main_z6mp5_7",
|
|
6064
|
+
mainImage: "_mainImage_z6mp5_15",
|
|
6065
|
+
actions: "_actions_z6mp5_21",
|
|
6066
|
+
thumbs: "_thumbs_z6mp5_30",
|
|
6067
|
+
thumb: "_thumb_z6mp5_30 _focusRing_svxew_10",
|
|
6068
|
+
thumbActive: "_thumbActive_z6mp5_54",
|
|
6069
|
+
thumbImage: "_thumbImage_z6mp5_58"
|
|
6065
6070
|
};
|
|
6066
6071
|
//#endregion
|
|
6067
6072
|
//#region src/components/ProductGallery.tsx
|
|
@@ -6336,14 +6341,14 @@ function Fd({ eyebrow: e, title: r, specs: i, price: a, cta: o, image: s, tone:
|
|
|
6336
6341
|
});
|
|
6337
6342
|
}
|
|
6338
6343
|
var Id = {
|
|
6339
|
-
root: "
|
|
6340
|
-
track: "
|
|
6341
|
-
slide: "
|
|
6342
|
-
controls: "
|
|
6343
|
-
dots: "
|
|
6344
|
-
dot: "
|
|
6345
|
-
dotActive: "
|
|
6346
|
-
pause: "
|
|
6344
|
+
root: "_root_1jj5f_1",
|
|
6345
|
+
track: "_track_1jj5f_5",
|
|
6346
|
+
slide: "_slide_1jj5f_18",
|
|
6347
|
+
controls: "_controls_1jj5f_24",
|
|
6348
|
+
dots: "_dots_1jj5f_32",
|
|
6349
|
+
dot: "_dot_1jj5f_32",
|
|
6350
|
+
dotActive: "_dotActive_1jj5f_54",
|
|
6351
|
+
pause: "_pause_1jj5f_58 _focusRing_svxew_10"
|
|
6347
6352
|
};
|
|
6348
6353
|
//#endregion
|
|
6349
6354
|
//#region src/components/HeroCarousel.tsx
|
|
@@ -6402,13 +6407,13 @@ function Ld({ slides: e, autoplay: r = !0, interval: i = 6e3 }) {
|
|
|
6402
6407
|
});
|
|
6403
6408
|
}
|
|
6404
6409
|
var Rd = {
|
|
6405
|
-
root: "
|
|
6406
|
-
media: "
|
|
6407
|
-
card: "
|
|
6408
|
-
left: "
|
|
6409
|
-
right: "
|
|
6410
|
-
title: "
|
|
6411
|
-
subtitle: "
|
|
6410
|
+
root: "_root_5w8x9_1",
|
|
6411
|
+
media: "_media_5w8x9_8",
|
|
6412
|
+
card: "_card_5w8x9_21",
|
|
6413
|
+
left: "_left_5w8x9_35",
|
|
6414
|
+
right: "_right_5w8x9_39",
|
|
6415
|
+
title: "_title_5w8x9_43",
|
|
6416
|
+
subtitle: "_subtitle_5w8x9_51"
|
|
6412
6417
|
};
|
|
6413
6418
|
//#endregion
|
|
6414
6419
|
//#region src/components/MediaBanner.tsx
|
|
@@ -6557,14 +6562,14 @@ function Vd({ image: e, title: r, excerpt: i, date: a, href: o }) {
|
|
|
6557
6562
|
});
|
|
6558
6563
|
}
|
|
6559
6564
|
var Hd = {
|
|
6560
|
-
root: "
|
|
6561
|
-
inner: "
|
|
6562
|
-
top: "
|
|
6563
|
-
columns: "
|
|
6564
|
-
columnTitle: "
|
|
6565
|
-
link: "
|
|
6566
|
-
hoursPill: "
|
|
6567
|
-
legal: "
|
|
6565
|
+
root: "_root_1lqp3_1",
|
|
6566
|
+
inner: "_inner_1lqp3_6",
|
|
6567
|
+
top: "_top_1lqp3_12",
|
|
6568
|
+
columns: "_columns_1lqp3_21",
|
|
6569
|
+
columnTitle: "_columnTitle_1lqp3_39",
|
|
6570
|
+
link: "_link_1lqp3_47",
|
|
6571
|
+
hoursPill: "_hoursPill_1lqp3_61",
|
|
6572
|
+
legal: "_legal_1lqp3_73"
|
|
6568
6573
|
};
|
|
6569
6574
|
//#endregion
|
|
6570
6575
|
//#region src/components/Footer.tsx
|
|
@@ -6780,14 +6785,18 @@ function hf(e) {
|
|
|
6780
6785
|
}
|
|
6781
6786
|
$(hf, "getState");
|
|
6782
6787
|
var gf = {
|
|
6783
|
-
overlay: "
|
|
6784
|
-
|
|
6785
|
-
|
|
6786
|
-
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
|
|
6790
|
-
|
|
6788
|
+
overlay: "_overlay_f41r0_1",
|
|
6789
|
+
"overlay-in": "_overlay-in_f41r0_1",
|
|
6790
|
+
"overlay-out": "_overlay-out_f41r0_1",
|
|
6791
|
+
content: "_content_f41r0_16 _focusRing_svxew_10",
|
|
6792
|
+
"content-in": "_content-in_f41r0_1",
|
|
6793
|
+
"content-out": "_content-out_f41r0_1",
|
|
6794
|
+
sm: "_sm_f41r0_65",
|
|
6795
|
+
md: "_md_f41r0_69",
|
|
6796
|
+
lg: "_lg_f41r0_73",
|
|
6797
|
+
header: "_header_f41r0_77",
|
|
6798
|
+
close: "_close_f41r0_84 _focusRing_svxew_10",
|
|
6799
|
+
footer: "_footer_f41r0_99"
|
|
6791
6800
|
};
|
|
6792
6801
|
//#endregion
|
|
6793
6802
|
//#region src/components/Modal.tsx
|
|
@@ -6833,60 +6842,87 @@ var vf = {
|
|
|
6833
6842
|
success: "_success_1oa8j_36",
|
|
6834
6843
|
error: "_error_1oa8j_40",
|
|
6835
6844
|
info: "_info_1oa8j_44"
|
|
6836
|
-
}, yf = a(null);
|
|
6837
|
-
function
|
|
6845
|
+
}, yf = a(null), bf = 200;
|
|
6846
|
+
function xf({ children: e }) {
|
|
6838
6847
|
let [r, i] = p([]), a = f(0), o = s((e) => {
|
|
6848
|
+
i((t) => t.map((t) => t.id === e ? {
|
|
6849
|
+
...t,
|
|
6850
|
+
leaving: !0
|
|
6851
|
+
} : t));
|
|
6852
|
+
}, []), c = s((e) => {
|
|
6839
6853
|
i((t) => t.filter((t) => t.id !== e));
|
|
6840
|
-
}, []),
|
|
6854
|
+
}, []), l = s((e, t) => {
|
|
6841
6855
|
let n = a.current++, r = t?.duration ?? (t?.tone === "error" ? 5e3 : 2500);
|
|
6842
6856
|
i((i) => [...i, {
|
|
6843
6857
|
id: n,
|
|
6844
6858
|
message: e,
|
|
6845
6859
|
tone: t?.tone ?? "info",
|
|
6846
6860
|
action: t?.action,
|
|
6847
|
-
duration: r
|
|
6861
|
+
duration: r,
|
|
6862
|
+
leaving: !1
|
|
6848
6863
|
}]), setTimeout(() => o(n), r);
|
|
6849
6864
|
}, [o]);
|
|
6850
6865
|
return /* @__PURE__ */ n(yf.Provider, {
|
|
6851
|
-
value: { showToast:
|
|
6866
|
+
value: { showToast: l },
|
|
6852
6867
|
children: [e, /* @__PURE__ */ t("div", {
|
|
6853
6868
|
className: vf.viewport,
|
|
6854
6869
|
"aria-live": "polite",
|
|
6855
6870
|
"aria-atomic": "true",
|
|
6856
6871
|
"data-pmax": "toast-viewport",
|
|
6857
|
-
children: r.map((e) => /* @__PURE__ */ t(
|
|
6872
|
+
children: r.map((e) => /* @__PURE__ */ t(Sf, {
|
|
6873
|
+
...e,
|
|
6874
|
+
onExited: c
|
|
6875
|
+
}, e.id))
|
|
6858
6876
|
})]
|
|
6859
6877
|
});
|
|
6860
6878
|
}
|
|
6861
|
-
function
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
|
|
6879
|
+
function Sf({ id: e, message: t, tone: r, action: i, leaving: a, onExited: o }) {
|
|
6880
|
+
let [s, c] = p(!1);
|
|
6881
|
+
return l(() => {
|
|
6882
|
+
let e = requestAnimationFrame(() => {
|
|
6883
|
+
requestAnimationFrame(() => c(!0));
|
|
6884
|
+
});
|
|
6885
|
+
return () => cancelAnimationFrame(e);
|
|
6886
|
+
}, []), l(() => {
|
|
6887
|
+
if (!a) return;
|
|
6888
|
+
let t = setTimeout(() => o(e), bf);
|
|
6889
|
+
return () => clearTimeout(t);
|
|
6890
|
+
}, [
|
|
6891
|
+
a,
|
|
6892
|
+
e,
|
|
6893
|
+
o
|
|
6894
|
+
]), /* @__PURE__ */ n("div", {
|
|
6895
|
+
className: v(vf.toast, s && !a && vf.visible, vf[r]),
|
|
6896
|
+
role: r === "error" ? "alert" : "status",
|
|
6897
|
+
children: [t, i]
|
|
6866
6898
|
});
|
|
6867
6899
|
}
|
|
6868
|
-
function
|
|
6900
|
+
function Cf() {
|
|
6869
6901
|
let e = c(yf);
|
|
6870
6902
|
if (!e) throw Error("useToast must be used within a ToastProvider");
|
|
6871
6903
|
return e;
|
|
6872
6904
|
}
|
|
6873
|
-
var
|
|
6874
|
-
overlay: "
|
|
6875
|
-
|
|
6876
|
-
"
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6905
|
+
var wf = {
|
|
6906
|
+
overlay: "_overlay_1a342_1",
|
|
6907
|
+
"overlay-in": "_overlay-in_1a342_1",
|
|
6908
|
+
"overlay-out": "_overlay-out_1a342_1",
|
|
6909
|
+
content: "_content_1a342_16 _focusRing_svxew_10",
|
|
6910
|
+
right: "_right_1a342_25",
|
|
6911
|
+
"slide-in-x": "_slide-in-x_1a342_1",
|
|
6912
|
+
left: "_left_1a342_40",
|
|
6913
|
+
"slide-in-neg-x": "_slide-in-neg-x_1a342_1",
|
|
6914
|
+
bottom: "_bottom_1a342_55",
|
|
6915
|
+
"slide-in-y": "_slide-in-y_1a342_1",
|
|
6916
|
+
close: "_close_1a342_104 _focusRing_svxew_10"
|
|
6881
6917
|
};
|
|
6882
6918
|
//#endregion
|
|
6883
6919
|
//#region src/components/Drawer.tsx
|
|
6884
|
-
function
|
|
6920
|
+
function Tf({ side: e, open: r, onClose: i, title: a, children: o }) {
|
|
6885
6921
|
return /* @__PURE__ */ t(Xd, {
|
|
6886
6922
|
open: r,
|
|
6887
6923
|
onOpenChange: (e) => !e && i(),
|
|
6888
|
-
children: /* @__PURE__ */ n(ef, { children: [/* @__PURE__ */ t(nf, { className:
|
|
6889
|
-
className: `${
|
|
6924
|
+
children: /* @__PURE__ */ n(ef, { children: [/* @__PURE__ */ t(nf, { className: wf.overlay }), /* @__PURE__ */ n(sf, {
|
|
6925
|
+
className: `${wf.content} ${wf[e]}`,
|
|
6890
6926
|
"data-pmax": "drawer",
|
|
6891
6927
|
children: [
|
|
6892
6928
|
/* @__PURE__ */ t(ff, {
|
|
@@ -6899,7 +6935,7 @@ function wf({ side: e, open: r, onClose: i, title: a, children: o }) {
|
|
|
6899
6935
|
children: a
|
|
6900
6936
|
}),
|
|
6901
6937
|
/* @__PURE__ */ t(mf, {
|
|
6902
|
-
className:
|
|
6938
|
+
className: wf.close,
|
|
6903
6939
|
"aria-label": "Close",
|
|
6904
6940
|
children: /* @__PURE__ */ t(g, {
|
|
6905
6941
|
name: "close",
|
|
@@ -6911,36 +6947,27 @@ function wf({ side: e, open: r, onClose: i, title: a, children: o }) {
|
|
|
6911
6947
|
})] })
|
|
6912
6948
|
});
|
|
6913
6949
|
}
|
|
6950
|
+
var Ef = {
|
|
6951
|
+
nav: "_nav_ox24b_1",
|
|
6952
|
+
crumb: "_crumb_ox24b_11",
|
|
6953
|
+
link: "_link_ox24b_17 _focusRing_svxew_10",
|
|
6954
|
+
current: "_current_ox24b_28"
|
|
6955
|
+
};
|
|
6914
6956
|
//#endregion
|
|
6915
6957
|
//#region src/components/Breadcrumbs.tsx
|
|
6916
|
-
function
|
|
6958
|
+
function Df({ items: e }) {
|
|
6917
6959
|
return /* @__PURE__ */ t("nav", {
|
|
6918
6960
|
"data-pmax": "breadcrumbs",
|
|
6919
6961
|
"aria-label": "Breadcrumb",
|
|
6920
|
-
|
|
6921
|
-
display: "flex",
|
|
6922
|
-
flexWrap: "wrap",
|
|
6923
|
-
alignItems: "center",
|
|
6924
|
-
gap: 8,
|
|
6925
|
-
fontFamily: "var(--font-body)",
|
|
6926
|
-
fontSize: 13,
|
|
6927
|
-
color: "var(--text-muted)"
|
|
6928
|
-
},
|
|
6962
|
+
className: Ef.nav,
|
|
6929
6963
|
children: e.map((r, i) => /* @__PURE__ */ n("span", {
|
|
6930
|
-
|
|
6931
|
-
display: "inline-flex",
|
|
6932
|
-
alignItems: "center",
|
|
6933
|
-
gap: 8
|
|
6934
|
-
},
|
|
6964
|
+
className: Ef.crumb,
|
|
6935
6965
|
children: [r.href ? /* @__PURE__ */ t("a", {
|
|
6936
6966
|
href: r.href,
|
|
6937
|
-
|
|
6938
|
-
color: "inherit",
|
|
6939
|
-
textDecoration: "none"
|
|
6940
|
-
},
|
|
6967
|
+
className: Ef.link,
|
|
6941
6968
|
children: r.label
|
|
6942
6969
|
}) : /* @__PURE__ */ t("span", {
|
|
6943
|
-
|
|
6970
|
+
className: Ef.current,
|
|
6944
6971
|
"aria-current": "page",
|
|
6945
6972
|
children: r.label
|
|
6946
6973
|
}), i < e.length - 1 ? /* @__PURE__ */ t("span", {
|
|
@@ -6951,6 +6978,6 @@ function Tf({ items: e }) {
|
|
|
6951
6978
|
});
|
|
6952
6979
|
}
|
|
6953
6980
|
//#endregion
|
|
6954
|
-
export { Au as Accordion, yd as ActiveFilters, cd as AddToCartButton, zu as AnnouncementBar, Vd as ArticleCard, Ad as AttributeChip, jd as AttributeList,
|
|
6981
|
+
export { Au as Accordion, yd as ActiveFilters, cd as AddToCartButton, zu as AnnouncementBar, Vd as ArticleCard, Ad as AttributeChip, jd as AttributeList, Df as Breadcrumbs, k as Button, Gu as CartButton, $u as CategoryRail, Zu as CategoryTile, kt as Checkbox, te as Chip, kd as CollapsiblePanel, sd as CompareButton, Uu as ContactItem, ee as CountPill, Al as DisclosureToggle, Pu as Divider, Tf as Drawer, gd as FilterChipGroup, vd as FilterPanel, hd as FilterSection, Ud as Footer, ad as FulfillmentBadges, Ed as FulfillmentPanel, td as HeaderShell, Ld as HeroCarousel, Fd as HeroSlide, g as Icon, N as IconButton, ae as Input, Wu as LangSwitcher, Vu as Logo, zd as MediaBanner, _f as Modal, Yu as NavBar, qu as NavItem, Lu as Overlay, Sd as Pagination, id as Price, _d as PriceRangeFilter, ld as ProductCard, fd as ProductCarousel, wd as ProductGallery, ud as ProductGrid, Bd as PromoCard, Nd as Prose, Un as RangeSlider, se as SearchField, pd as SectionHeader, Ol as Select, Iu as Skeleton, Td as SkuChip, md as SortMenu, Od as SpecGrid, Dd as SpecItem, Nu as Surface, re as Tag, C as Text, xf as ToastProvider, od as WishlistButton, Cf as useToast };
|
|
6955
6982
|
|
|
6956
6983
|
//# sourceMappingURL=index.js.map
|