@pelcro/react-pelcro-js 4.0.0-alpha.37 → 4.0.0-alpha.39
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.cjs.js +35 -28
- package/dist/index.esm.js +35 -28
- package/dist/pelcro.css +181 -35
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3997,7 +3997,7 @@ var labels$T = {
|
|
|
3997
3997
|
};
|
|
3998
3998
|
var buttons$g = {
|
|
3999
3999
|
next: "Next",
|
|
4000
|
-
select: "
|
|
4000
|
+
select: "View Plans",
|
|
4001
4001
|
back: "Back",
|
|
4002
4002
|
gift: "Gift"
|
|
4003
4003
|
};
|
|
@@ -4944,7 +4944,7 @@ var labels$y = {
|
|
|
4944
4944
|
};
|
|
4945
4945
|
var buttons$b = {
|
|
4946
4946
|
next: "Prochain",
|
|
4947
|
-
select: "
|
|
4947
|
+
select: "Voir les forfaits",
|
|
4948
4948
|
back: "Retour",
|
|
4949
4949
|
gift: "cadeau"
|
|
4950
4950
|
};
|
|
@@ -5946,7 +5946,7 @@ var labels$j = {
|
|
|
5946
5946
|
};
|
|
5947
5947
|
var buttons$6 = {
|
|
5948
5948
|
next: "다음",
|
|
5949
|
-
select: "
|
|
5949
|
+
select: "플랜 보기",
|
|
5950
5950
|
back: "뒤로",
|
|
5951
5951
|
gift: "선물"
|
|
5952
5952
|
};
|
|
@@ -6770,7 +6770,7 @@ var labels$4 = {
|
|
|
6770
6770
|
var buttons$1 = {
|
|
6771
6771
|
next: "Siguiente",
|
|
6772
6772
|
select: "Seleccionar",
|
|
6773
|
-
back: "
|
|
6773
|
+
back: "Ver planes",
|
|
6774
6774
|
gift: "regalo"
|
|
6775
6775
|
};
|
|
6776
6776
|
var select_es = {
|
|
@@ -18916,9 +18916,10 @@ function SvgArrowThinLeft(props) {
|
|
|
18916
18916
|
const NextArrow = ({
|
|
18917
18917
|
onClick,
|
|
18918
18918
|
className,
|
|
18919
|
-
size = "normal"
|
|
18919
|
+
size = "normal",
|
|
18920
|
+
mobileArrowDown = false
|
|
18920
18921
|
}) => /*#__PURE__*/React__default['default'].createElement("button", {
|
|
18921
|
-
className: `
|
|
18922
|
+
className: `plc-flex plc-text-gray-500 plc-w-11 plc-h-11 plc-items-center plc-justify-center plc-rounded-full plc-text-sm plc-absolute plc-transform hover:plc-text-gray-900 ${mobileArrowDown ? "plc-right-0 plc-bottom-0 sm:plc--right-12 sm:plc-top-1/2 sm:plc--translate-y-1/2" : "plc--right-12 plc-top-1/2 plc--translate-y-1/2"} ${className}`,
|
|
18922
18923
|
onClick: onClick
|
|
18923
18924
|
}, /*#__PURE__*/React__default['default'].createElement(SvgArrowThinRight, {
|
|
18924
18925
|
stroke: "currentColor",
|
|
@@ -18930,9 +18931,10 @@ const NextArrow = ({
|
|
|
18930
18931
|
const PrevArrow = ({
|
|
18931
18932
|
onClick,
|
|
18932
18933
|
className,
|
|
18933
|
-
size = "normal"
|
|
18934
|
+
size = "normal",
|
|
18935
|
+
mobileArrowDown = false
|
|
18934
18936
|
}) => /*#__PURE__*/React__default['default'].createElement("button", {
|
|
18935
|
-
className: `
|
|
18937
|
+
className: `plc-flex plc-text-gray-500 plc-w-11 plc-h-11 plc-items-center plc-justify-center plc-rounded-full plc-text-sm plc-absolute plc-transform hover:plc-text-gray-900 ${mobileArrowDown ? "plx-left-0 plc-bottom-0 sm:plc--left-12 sm:plc-top-1/2 sm:plc--translate-y-1/2" : "plc--left-12 plc-top-1/2 plc--translate-y-1/2"} ${className}`,
|
|
18936
18938
|
onClick: onClick
|
|
18937
18939
|
}, /*#__PURE__*/React__default['default'].createElement(SvgArrowThinLeft, {
|
|
18938
18940
|
stroke: "currentColor",
|
|
@@ -18949,6 +18951,7 @@ function Carousel({
|
|
|
18949
18951
|
slidesCount,
|
|
18950
18952
|
arrowsSize = "normal",
|
|
18951
18953
|
paddingSize = "small",
|
|
18954
|
+
mobileArrowDown = false,
|
|
18952
18955
|
children,
|
|
18953
18956
|
...otherProps
|
|
18954
18957
|
}) {
|
|
@@ -18963,10 +18966,12 @@ function Carousel({
|
|
|
18963
18966
|
slidesToShow: slidesToShow,
|
|
18964
18967
|
slidesToScroll: slidesToScroll,
|
|
18965
18968
|
nextArrow: /*#__PURE__*/React__default['default'].createElement(NextArrow, {
|
|
18966
|
-
size: arrowsSize
|
|
18969
|
+
size: arrowsSize,
|
|
18970
|
+
mobileArrowDown: mobileArrowDown
|
|
18967
18971
|
}),
|
|
18968
18972
|
prevArrow: /*#__PURE__*/React__default['default'].createElement(PrevArrow, {
|
|
18969
|
-
size: arrowsSize
|
|
18973
|
+
size: arrowsSize,
|
|
18974
|
+
mobileArrowDown: mobileArrowDown
|
|
18970
18975
|
}),
|
|
18971
18976
|
initialSlide: initialSlide,
|
|
18972
18977
|
dots: dots,
|
|
@@ -18986,7 +18991,7 @@ function Carousel({
|
|
|
18986
18991
|
}]
|
|
18987
18992
|
};
|
|
18988
18993
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
18989
|
-
className: `carousel-wrapper plc-relative ${paddingSize === "small" ? "sm:plc-px-8
|
|
18994
|
+
className: `carousel-wrapper plc-relative ${paddingSize === "small" ? "sm:plc-px-8" : paddingSize === "medium" ? "sm:plc-px-10" : "sm:plc-px-14"} ${mobileArrowDown ? "plc-px-0" : "plc-px-8"}`
|
|
18990
18995
|
}, /*#__PURE__*/React__default['default'].createElement(Slider, Object.assign({
|
|
18991
18996
|
ref: ref
|
|
18992
18997
|
}, settings), children));
|
|
@@ -19204,7 +19209,7 @@ class SelectModal extends React.Component {
|
|
|
19204
19209
|
}
|
|
19205
19210
|
|
|
19206
19211
|
return /*#__PURE__*/React__default['default'].createElement("h5", {
|
|
19207
|
-
className: "plc-text-
|
|
19212
|
+
className: "plc-text-2xl pelcro-select-product-cost"
|
|
19208
19213
|
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
19209
19214
|
className: "plc-font-medium"
|
|
19210
19215
|
}, startingPlan.amount_formatted), /*#__PURE__*/React__default['default'].createElement("span", {
|
|
@@ -19238,15 +19243,13 @@ class SelectModal extends React.Component {
|
|
|
19238
19243
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19239
19244
|
className: "plc-mt-3 plc-mb-6"
|
|
19240
19245
|
}, product.plans && /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("p", {
|
|
19241
|
-
className: "plc-mb-2 plc-text-sm plc-text-gray-
|
|
19242
|
-
}, this.locale("labels.startingAt")), this.countStartPrice(product.plans))), isPlanMode || /*#__PURE__*/React__default['default'].createElement(Button,
|
|
19246
|
+
className: "plc-mb-2 plc-text-sm plc-text-gray-600 plc-font-bold"
|
|
19247
|
+
}, this.locale("labels.startingAt")), this.countStartPrice(product.plans))), isPlanMode || /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
19243
19248
|
onClick: productButtonCallback,
|
|
19244
19249
|
"data-key": product.id,
|
|
19245
19250
|
id: "pelcro-select-product-back-button",
|
|
19246
|
-
className: `plc-w-full plc-capitalize plc-border-2 plc-border-primary hover:plc-bg-
|
|
19247
|
-
},
|
|
19248
|
-
autoFocus: true
|
|
19249
|
-
}), productButtonLabel)));
|
|
19251
|
+
className: `plc-w-full plc-capitalize plc-border-2 plc-border-primary hover:plc-bg-primary-600 hover:plc-border-primary-600 plc-transition-all focus:plc-outline-none ${options !== null && options !== void 0 && options.emphasize ? "plc-bg-primary-700" : ""}`
|
|
19252
|
+
}, productButtonLabel)));
|
|
19250
19253
|
});
|
|
19251
19254
|
|
|
19252
19255
|
_defineProperty$3(this, "renderProducts", () => {
|
|
@@ -19260,7 +19263,8 @@ class SelectModal extends React.Component {
|
|
|
19260
19263
|
const productsToShow = userDidSelectProduct ? [this.state.product] : this.state.productList;
|
|
19261
19264
|
const items = productsToShow.map((product, index) => this.renderOneProduct(product, index));
|
|
19262
19265
|
return /*#__PURE__*/React__default['default'].createElement(Carousel, {
|
|
19263
|
-
slidesCount: items.length
|
|
19266
|
+
slidesCount: items.length,
|
|
19267
|
+
mobileArrowDown: true
|
|
19264
19268
|
}, items);
|
|
19265
19269
|
});
|
|
19266
19270
|
|
|
@@ -19306,18 +19310,19 @@ class SelectModal extends React.Component {
|
|
|
19306
19310
|
}
|
|
19307
19311
|
|
|
19308
19312
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19309
|
-
key: product.id
|
|
19313
|
+
key: product.id,
|
|
19314
|
+
className: "plc-flex plc-w-full plc-justify-center plc-text-center"
|
|
19310
19315
|
}, /*#__PURE__*/React__default['default'].createElement("button", {
|
|
19311
19316
|
onClick: e => productButtonCallback(e),
|
|
19312
19317
|
"data-key": product.id,
|
|
19313
19318
|
"data-index": index,
|
|
19314
|
-
className: `plc-px-4 plc-py-2 focus:plc-outline-none plc-border-b-4 hover:plc-text-primary hover:plc-border-primary plc-transition-all plc-h-full plc-
|
|
19319
|
+
className: `plc-px-4 plc-py-2 focus:plc-outline-none plc-border-b-4 hover:plc-text-primary hover:plc-border-primary plc-transition-all plc-h-full plc-block plc-w-full ${product.id === this.state.product.id ? "plc-border-primary plc-text-primary" : "plc-border-transparent plc-font-normal plc-text-gray-500"}`
|
|
19315
19320
|
}, product.name));
|
|
19316
19321
|
});
|
|
19317
19322
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19318
19323
|
className: "plc-flex plc-flex-col"
|
|
19319
19324
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19320
|
-
className: "productTabs plc-relative plc-max-w-xl plc-mx-auto"
|
|
19325
|
+
className: "productTabs plc-relative md:plc-max-w-xl md:plc-mx-auto plc-w-full"
|
|
19321
19326
|
}, /*#__PURE__*/React__default['default'].createElement(Carousel, {
|
|
19322
19327
|
slidesCount: tabs.length,
|
|
19323
19328
|
initialSlide: this.state.initialTabSlide,
|
|
@@ -19333,11 +19338,11 @@ class SelectModal extends React.Component {
|
|
|
19333
19338
|
})), description && /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19334
19339
|
className: "plc-max-w-xl plc-text-center"
|
|
19335
19340
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19336
|
-
className: `plc-overflow-x-hidden ${prodDescExpanded ? "plc-whitespace-normal" : "plc-whitespace-nowrap"}`
|
|
19341
|
+
className: `plc-overflow-x-hidden ${prodDescExpanded ? "md:plc-whitespace-normal plc-whitespace-normal" : "md:plc-whitespace-nowrap plc-whitespace-normal"}`
|
|
19337
19342
|
}, prodDescExpanded ? /*#__PURE__*/React__default['default'].createElement("span", null, description, " ", /*#__PURE__*/React__default['default'].createElement("button", {
|
|
19338
19343
|
onClick: this.toggleProdDescExpanded,
|
|
19339
19344
|
className: "plc-text-primary plc-underline plc-cursor-pointer plc-outline-none focus:plc-outline-none hover:plc-no-underline"
|
|
19340
|
-
}, "Read less")) : /*#__PURE__*/React__default['default'].createElement("span", null, description.slice(0, 50), " ", /*#__PURE__*/React__default['default'].createElement("button", {
|
|
19345
|
+
}, "Read less")) : /*#__PURE__*/React__default['default'].createElement("span", null, description.slice(0, 50), " ... ", /*#__PURE__*/React__default['default'].createElement("button", {
|
|
19341
19346
|
onClick: this.toggleProdDescExpanded,
|
|
19342
19347
|
className: "plc-text-primary plc-underline plc-cursor-pointer plc-outline-none focus:plc-outline-none hover:plc-no-underline"
|
|
19343
19348
|
}, "Read more"))))));
|
|
@@ -19402,17 +19407,18 @@ class SelectModal extends React.Component {
|
|
|
19402
19407
|
}, "/ ", plan.interval))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19403
19408
|
className: `plc-grid ${disableGifting ? "plc-grid-cols-1" : "plc-grid-cols-2 plc-gap-2"}`
|
|
19404
19409
|
}, /*#__PURE__*/React__default['default'].createElement("button", {
|
|
19405
|
-
className: `plc-flex plc-items-center plc-justify-center plc-text-center plc-py-2 plc-px-4 plc-w-full plc-border-2 plc-rounded-md plc-border-primary focus:plc-outline-none plc-text-white plc-bg-primary hover:plc-bg-
|
|
19410
|
+
className: `plc-flex plc-items-center plc-justify-center plc-text-center plc-py-2 plc-px-4 plc-w-full plc-border-2 plc-rounded-md plc-border-primary focus:plc-outline-none plc-text-white plc-bg-primary hover:plc-bg-primary-600 hover:plc-border-primary-600 plc-transition-all`,
|
|
19406
19411
|
"data-key": plan.id,
|
|
19407
19412
|
onClick: e => this.selectPlan(e, false)
|
|
19408
19413
|
}, this.locale("buttons.select")), !disableGifting && /*#__PURE__*/React__default['default'].createElement("button", {
|
|
19409
|
-
className: `plc-flex plc-items-center plc-justify-center plc-text-center plc-py-2 plc-px-4 plc-w-full plc-border-2 plc-rounded-md plc-border-primary focus:plc-outline-none plc-text-primary plc-bg-white hover:plc-
|
|
19414
|
+
className: `plc-flex plc-items-center plc-justify-center plc-text-center plc-py-2 plc-px-4 plc-w-full plc-border-2 plc-rounded-md plc-border-primary focus:plc-outline-none plc-text-primary plc-bg-white hover:plc-border-primary-600 hover:plc-text-primary-600 hover:plc-shadow-sm plc-transition-all`,
|
|
19410
19415
|
"data-key": plan.id,
|
|
19411
19416
|
onClick: e => this.selectPlan(e, true)
|
|
19412
19417
|
}, this.locale("buttons.gift"))))));
|
|
19413
19418
|
});
|
|
19414
19419
|
return /*#__PURE__*/React__default['default'].createElement(Carousel, {
|
|
19415
|
-
slidesCount: items.length
|
|
19420
|
+
slidesCount: items.length,
|
|
19421
|
+
mobileArrowDown: true
|
|
19416
19422
|
}, items);
|
|
19417
19423
|
});
|
|
19418
19424
|
|
|
@@ -19547,7 +19553,8 @@ class SelectModal extends React.Component {
|
|
|
19547
19553
|
}, /*#__PURE__*/React__default['default'].createElement(SvgArrowLeft, null)), /*#__PURE__*/React__default['default'].createElement("h4", {
|
|
19548
19554
|
className: "plc-text-2xl plc-font-semibold"
|
|
19549
19555
|
}, this.product && this.product.paywall.select_title || ((_window$Pelcro$produc2 = window.Pelcro.product.list()[0]) === null || _window$Pelcro$produc2 === void 0 ? void 0 : _window$Pelcro$produc2.paywall.select_title)), /*#__PURE__*/React__default['default'].createElement("p", null, this.product && this.product.paywall.select_subtitle || ((_window$Pelcro$produc3 = window.Pelcro.product.list()[0]) === null || _window$Pelcro$produc3 === void 0 ? void 0 : _window$Pelcro$produc3.paywall.select_subtitle)))), /*#__PURE__*/React__default['default'].createElement(ModalBody, null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19550
|
-
id: "pelcro-selection-view"
|
|
19556
|
+
id: "pelcro-selection-view",
|
|
19557
|
+
className: "plc-pt-4"
|
|
19551
19558
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19552
19559
|
className: "pelcro-select-products-wrapper"
|
|
19553
19560
|
}, (_window$Pelcro$site$r = window.Pelcro.site.read()) !== null && _window$Pelcro$site$r !== void 0 && _window$Pelcro$site$r.restrictive_paywall_metatags_enabled ? this.renderMatchingProductsFirst() : this.renderProducts()), this.state.mode === "plan" && /*#__PURE__*/React__default['default'].createElement("div", {
|
package/dist/index.esm.js
CHANGED
|
@@ -3967,7 +3967,7 @@ var labels$T = {
|
|
|
3967
3967
|
};
|
|
3968
3968
|
var buttons$g = {
|
|
3969
3969
|
next: "Next",
|
|
3970
|
-
select: "
|
|
3970
|
+
select: "View Plans",
|
|
3971
3971
|
back: "Back",
|
|
3972
3972
|
gift: "Gift"
|
|
3973
3973
|
};
|
|
@@ -4914,7 +4914,7 @@ var labels$y = {
|
|
|
4914
4914
|
};
|
|
4915
4915
|
var buttons$b = {
|
|
4916
4916
|
next: "Prochain",
|
|
4917
|
-
select: "
|
|
4917
|
+
select: "Voir les forfaits",
|
|
4918
4918
|
back: "Retour",
|
|
4919
4919
|
gift: "cadeau"
|
|
4920
4920
|
};
|
|
@@ -5916,7 +5916,7 @@ var labels$j = {
|
|
|
5916
5916
|
};
|
|
5917
5917
|
var buttons$6 = {
|
|
5918
5918
|
next: "다음",
|
|
5919
|
-
select: "
|
|
5919
|
+
select: "플랜 보기",
|
|
5920
5920
|
back: "뒤로",
|
|
5921
5921
|
gift: "선물"
|
|
5922
5922
|
};
|
|
@@ -6740,7 +6740,7 @@ var labels$4 = {
|
|
|
6740
6740
|
var buttons$1 = {
|
|
6741
6741
|
next: "Siguiente",
|
|
6742
6742
|
select: "Seleccionar",
|
|
6743
|
-
back: "
|
|
6743
|
+
back: "Ver planes",
|
|
6744
6744
|
gift: "regalo"
|
|
6745
6745
|
};
|
|
6746
6746
|
var select_es = {
|
|
@@ -18886,9 +18886,10 @@ function SvgArrowThinLeft(props) {
|
|
|
18886
18886
|
const NextArrow = ({
|
|
18887
18887
|
onClick,
|
|
18888
18888
|
className,
|
|
18889
|
-
size = "normal"
|
|
18889
|
+
size = "normal",
|
|
18890
|
+
mobileArrowDown = false
|
|
18890
18891
|
}) => /*#__PURE__*/React__default.createElement("button", {
|
|
18891
|
-
className: `
|
|
18892
|
+
className: `plc-flex plc-text-gray-500 plc-w-11 plc-h-11 plc-items-center plc-justify-center plc-rounded-full plc-text-sm plc-absolute plc-transform hover:plc-text-gray-900 ${mobileArrowDown ? "plc-right-0 plc-bottom-0 sm:plc--right-12 sm:plc-top-1/2 sm:plc--translate-y-1/2" : "plc--right-12 plc-top-1/2 plc--translate-y-1/2"} ${className}`,
|
|
18892
18893
|
onClick: onClick
|
|
18893
18894
|
}, /*#__PURE__*/React__default.createElement(SvgArrowThinRight, {
|
|
18894
18895
|
stroke: "currentColor",
|
|
@@ -18900,9 +18901,10 @@ const NextArrow = ({
|
|
|
18900
18901
|
const PrevArrow = ({
|
|
18901
18902
|
onClick,
|
|
18902
18903
|
className,
|
|
18903
|
-
size = "normal"
|
|
18904
|
+
size = "normal",
|
|
18905
|
+
mobileArrowDown = false
|
|
18904
18906
|
}) => /*#__PURE__*/React__default.createElement("button", {
|
|
18905
|
-
className: `
|
|
18907
|
+
className: `plc-flex plc-text-gray-500 plc-w-11 plc-h-11 plc-items-center plc-justify-center plc-rounded-full plc-text-sm plc-absolute plc-transform hover:plc-text-gray-900 ${mobileArrowDown ? "plx-left-0 plc-bottom-0 sm:plc--left-12 sm:plc-top-1/2 sm:plc--translate-y-1/2" : "plc--left-12 plc-top-1/2 plc--translate-y-1/2"} ${className}`,
|
|
18906
18908
|
onClick: onClick
|
|
18907
18909
|
}, /*#__PURE__*/React__default.createElement(SvgArrowThinLeft, {
|
|
18908
18910
|
stroke: "currentColor",
|
|
@@ -18919,6 +18921,7 @@ function Carousel({
|
|
|
18919
18921
|
slidesCount,
|
|
18920
18922
|
arrowsSize = "normal",
|
|
18921
18923
|
paddingSize = "small",
|
|
18924
|
+
mobileArrowDown = false,
|
|
18922
18925
|
children,
|
|
18923
18926
|
...otherProps
|
|
18924
18927
|
}) {
|
|
@@ -18933,10 +18936,12 @@ function Carousel({
|
|
|
18933
18936
|
slidesToShow: slidesToShow,
|
|
18934
18937
|
slidesToScroll: slidesToScroll,
|
|
18935
18938
|
nextArrow: /*#__PURE__*/React__default.createElement(NextArrow, {
|
|
18936
|
-
size: arrowsSize
|
|
18939
|
+
size: arrowsSize,
|
|
18940
|
+
mobileArrowDown: mobileArrowDown
|
|
18937
18941
|
}),
|
|
18938
18942
|
prevArrow: /*#__PURE__*/React__default.createElement(PrevArrow, {
|
|
18939
|
-
size: arrowsSize
|
|
18943
|
+
size: arrowsSize,
|
|
18944
|
+
mobileArrowDown: mobileArrowDown
|
|
18940
18945
|
}),
|
|
18941
18946
|
initialSlide: initialSlide,
|
|
18942
18947
|
dots: dots,
|
|
@@ -18956,7 +18961,7 @@ function Carousel({
|
|
|
18956
18961
|
}]
|
|
18957
18962
|
};
|
|
18958
18963
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
18959
|
-
className: `carousel-wrapper plc-relative ${paddingSize === "small" ? "sm:plc-px-8
|
|
18964
|
+
className: `carousel-wrapper plc-relative ${paddingSize === "small" ? "sm:plc-px-8" : paddingSize === "medium" ? "sm:plc-px-10" : "sm:plc-px-14"} ${mobileArrowDown ? "plc-px-0" : "plc-px-8"}`
|
|
18960
18965
|
}, /*#__PURE__*/React__default.createElement(Slider, Object.assign({
|
|
18961
18966
|
ref: ref
|
|
18962
18967
|
}, settings), children));
|
|
@@ -19174,7 +19179,7 @@ class SelectModal extends Component {
|
|
|
19174
19179
|
}
|
|
19175
19180
|
|
|
19176
19181
|
return /*#__PURE__*/React__default.createElement("h5", {
|
|
19177
|
-
className: "plc-text-
|
|
19182
|
+
className: "plc-text-2xl pelcro-select-product-cost"
|
|
19178
19183
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
19179
19184
|
className: "plc-font-medium"
|
|
19180
19185
|
}, startingPlan.amount_formatted), /*#__PURE__*/React__default.createElement("span", {
|
|
@@ -19208,15 +19213,13 @@ class SelectModal extends Component {
|
|
|
19208
19213
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
19209
19214
|
className: "plc-mt-3 plc-mb-6"
|
|
19210
19215
|
}, product.plans && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("p", {
|
|
19211
|
-
className: "plc-mb-2 plc-text-sm plc-text-gray-
|
|
19212
|
-
}, this.locale("labels.startingAt")), this.countStartPrice(product.plans))), isPlanMode || /*#__PURE__*/React__default.createElement(Button,
|
|
19216
|
+
className: "plc-mb-2 plc-text-sm plc-text-gray-600 plc-font-bold"
|
|
19217
|
+
}, this.locale("labels.startingAt")), this.countStartPrice(product.plans))), isPlanMode || /*#__PURE__*/React__default.createElement(Button, {
|
|
19213
19218
|
onClick: productButtonCallback,
|
|
19214
19219
|
"data-key": product.id,
|
|
19215
19220
|
id: "pelcro-select-product-back-button",
|
|
19216
|
-
className: `plc-w-full plc-capitalize plc-border-2 plc-border-primary hover:plc-bg-
|
|
19217
|
-
},
|
|
19218
|
-
autoFocus: true
|
|
19219
|
-
}), productButtonLabel)));
|
|
19221
|
+
className: `plc-w-full plc-capitalize plc-border-2 plc-border-primary hover:plc-bg-primary-600 hover:plc-border-primary-600 plc-transition-all focus:plc-outline-none ${options !== null && options !== void 0 && options.emphasize ? "plc-bg-primary-700" : ""}`
|
|
19222
|
+
}, productButtonLabel)));
|
|
19220
19223
|
});
|
|
19221
19224
|
|
|
19222
19225
|
_defineProperty$3(this, "renderProducts", () => {
|
|
@@ -19230,7 +19233,8 @@ class SelectModal extends Component {
|
|
|
19230
19233
|
const productsToShow = userDidSelectProduct ? [this.state.product] : this.state.productList;
|
|
19231
19234
|
const items = productsToShow.map((product, index) => this.renderOneProduct(product, index));
|
|
19232
19235
|
return /*#__PURE__*/React__default.createElement(Carousel, {
|
|
19233
|
-
slidesCount: items.length
|
|
19236
|
+
slidesCount: items.length,
|
|
19237
|
+
mobileArrowDown: true
|
|
19234
19238
|
}, items);
|
|
19235
19239
|
});
|
|
19236
19240
|
|
|
@@ -19276,18 +19280,19 @@ class SelectModal extends Component {
|
|
|
19276
19280
|
}
|
|
19277
19281
|
|
|
19278
19282
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
19279
|
-
key: product.id
|
|
19283
|
+
key: product.id,
|
|
19284
|
+
className: "plc-flex plc-w-full plc-justify-center plc-text-center"
|
|
19280
19285
|
}, /*#__PURE__*/React__default.createElement("button", {
|
|
19281
19286
|
onClick: e => productButtonCallback(e),
|
|
19282
19287
|
"data-key": product.id,
|
|
19283
19288
|
"data-index": index,
|
|
19284
|
-
className: `plc-px-4 plc-py-2 focus:plc-outline-none plc-border-b-4 hover:plc-text-primary hover:plc-border-primary plc-transition-all plc-h-full plc-
|
|
19289
|
+
className: `plc-px-4 plc-py-2 focus:plc-outline-none plc-border-b-4 hover:plc-text-primary hover:plc-border-primary plc-transition-all plc-h-full plc-block plc-w-full ${product.id === this.state.product.id ? "plc-border-primary plc-text-primary" : "plc-border-transparent plc-font-normal plc-text-gray-500"}`
|
|
19285
19290
|
}, product.name));
|
|
19286
19291
|
});
|
|
19287
19292
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
19288
19293
|
className: "plc-flex plc-flex-col"
|
|
19289
19294
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
19290
|
-
className: "productTabs plc-relative plc-max-w-xl plc-mx-auto"
|
|
19295
|
+
className: "productTabs plc-relative md:plc-max-w-xl md:plc-mx-auto plc-w-full"
|
|
19291
19296
|
}, /*#__PURE__*/React__default.createElement(Carousel, {
|
|
19292
19297
|
slidesCount: tabs.length,
|
|
19293
19298
|
initialSlide: this.state.initialTabSlide,
|
|
@@ -19303,11 +19308,11 @@ class SelectModal extends Component {
|
|
|
19303
19308
|
})), description && /*#__PURE__*/React__default.createElement("div", {
|
|
19304
19309
|
className: "plc-max-w-xl plc-text-center"
|
|
19305
19310
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
19306
|
-
className: `plc-overflow-x-hidden ${prodDescExpanded ? "plc-whitespace-normal" : "plc-whitespace-nowrap"}`
|
|
19311
|
+
className: `plc-overflow-x-hidden ${prodDescExpanded ? "md:plc-whitespace-normal plc-whitespace-normal" : "md:plc-whitespace-nowrap plc-whitespace-normal"}`
|
|
19307
19312
|
}, prodDescExpanded ? /*#__PURE__*/React__default.createElement("span", null, description, " ", /*#__PURE__*/React__default.createElement("button", {
|
|
19308
19313
|
onClick: this.toggleProdDescExpanded,
|
|
19309
19314
|
className: "plc-text-primary plc-underline plc-cursor-pointer plc-outline-none focus:plc-outline-none hover:plc-no-underline"
|
|
19310
|
-
}, "Read less")) : /*#__PURE__*/React__default.createElement("span", null, description.slice(0, 50), " ", /*#__PURE__*/React__default.createElement("button", {
|
|
19315
|
+
}, "Read less")) : /*#__PURE__*/React__default.createElement("span", null, description.slice(0, 50), " ... ", /*#__PURE__*/React__default.createElement("button", {
|
|
19311
19316
|
onClick: this.toggleProdDescExpanded,
|
|
19312
19317
|
className: "plc-text-primary plc-underline plc-cursor-pointer plc-outline-none focus:plc-outline-none hover:plc-no-underline"
|
|
19313
19318
|
}, "Read more"))))));
|
|
@@ -19372,17 +19377,18 @@ class SelectModal extends Component {
|
|
|
19372
19377
|
}, "/ ", plan.interval))), /*#__PURE__*/React__default.createElement("div", {
|
|
19373
19378
|
className: `plc-grid ${disableGifting ? "plc-grid-cols-1" : "plc-grid-cols-2 plc-gap-2"}`
|
|
19374
19379
|
}, /*#__PURE__*/React__default.createElement("button", {
|
|
19375
|
-
className: `plc-flex plc-items-center plc-justify-center plc-text-center plc-py-2 plc-px-4 plc-w-full plc-border-2 plc-rounded-md plc-border-primary focus:plc-outline-none plc-text-white plc-bg-primary hover:plc-bg-
|
|
19380
|
+
className: `plc-flex plc-items-center plc-justify-center plc-text-center plc-py-2 plc-px-4 plc-w-full plc-border-2 plc-rounded-md plc-border-primary focus:plc-outline-none plc-text-white plc-bg-primary hover:plc-bg-primary-600 hover:plc-border-primary-600 plc-transition-all`,
|
|
19376
19381
|
"data-key": plan.id,
|
|
19377
19382
|
onClick: e => this.selectPlan(e, false)
|
|
19378
19383
|
}, this.locale("buttons.select")), !disableGifting && /*#__PURE__*/React__default.createElement("button", {
|
|
19379
|
-
className: `plc-flex plc-items-center plc-justify-center plc-text-center plc-py-2 plc-px-4 plc-w-full plc-border-2 plc-rounded-md plc-border-primary focus:plc-outline-none plc-text-primary plc-bg-white hover:plc-
|
|
19384
|
+
className: `plc-flex plc-items-center plc-justify-center plc-text-center plc-py-2 plc-px-4 plc-w-full plc-border-2 plc-rounded-md plc-border-primary focus:plc-outline-none plc-text-primary plc-bg-white hover:plc-border-primary-600 hover:plc-text-primary-600 hover:plc-shadow-sm plc-transition-all`,
|
|
19380
19385
|
"data-key": plan.id,
|
|
19381
19386
|
onClick: e => this.selectPlan(e, true)
|
|
19382
19387
|
}, this.locale("buttons.gift"))))));
|
|
19383
19388
|
});
|
|
19384
19389
|
return /*#__PURE__*/React__default.createElement(Carousel, {
|
|
19385
|
-
slidesCount: items.length
|
|
19390
|
+
slidesCount: items.length,
|
|
19391
|
+
mobileArrowDown: true
|
|
19386
19392
|
}, items);
|
|
19387
19393
|
});
|
|
19388
19394
|
|
|
@@ -19517,7 +19523,8 @@ class SelectModal extends Component {
|
|
|
19517
19523
|
}, /*#__PURE__*/React__default.createElement(SvgArrowLeft, null)), /*#__PURE__*/React__default.createElement("h4", {
|
|
19518
19524
|
className: "plc-text-2xl plc-font-semibold"
|
|
19519
19525
|
}, this.product && this.product.paywall.select_title || ((_window$Pelcro$produc2 = window.Pelcro.product.list()[0]) === null || _window$Pelcro$produc2 === void 0 ? void 0 : _window$Pelcro$produc2.paywall.select_title)), /*#__PURE__*/React__default.createElement("p", null, this.product && this.product.paywall.select_subtitle || ((_window$Pelcro$produc3 = window.Pelcro.product.list()[0]) === null || _window$Pelcro$produc3 === void 0 ? void 0 : _window$Pelcro$produc3.paywall.select_subtitle)))), /*#__PURE__*/React__default.createElement(ModalBody, null, /*#__PURE__*/React__default.createElement("div", {
|
|
19520
|
-
id: "pelcro-selection-view"
|
|
19526
|
+
id: "pelcro-selection-view",
|
|
19527
|
+
className: "plc-pt-4"
|
|
19521
19528
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
19522
19529
|
className: "pelcro-select-products-wrapper"
|
|
19523
19530
|
}, (_window$Pelcro$site$r = window.Pelcro.site.read()) !== null && _window$Pelcro$site$r !== void 0 && _window$Pelcro$site$r.restrictive_paywall_metatags_enabled ? this.renderMatchingProductsFirst() : this.renderProducts()), this.state.mode === "plan" && /*#__PURE__*/React__default.createElement("div", {
|
package/dist/pelcro.css
CHANGED
|
@@ -865,8 +865,8 @@ Add the correct display in Chrome and Safari.
|
|
|
865
865
|
background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
|
|
866
866
|
padding-left: 1rem;
|
|
867
867
|
padding-right: 1rem;
|
|
868
|
-
padding-top:
|
|
869
|
-
padding-bottom:
|
|
868
|
+
padding-top: 2rem;
|
|
869
|
+
padding-bottom: 2rem;
|
|
870
870
|
font-size: 0.875rem;
|
|
871
871
|
line-height: 1.25rem;
|
|
872
872
|
}
|
|
@@ -1515,8 +1515,6 @@ Add the correct display in Chrome and Safari.
|
|
|
1515
1515
|
display: block;
|
|
1516
1516
|
}
|
|
1517
1517
|
|
|
1518
|
-
/* Slider */
|
|
1519
|
-
|
|
1520
1518
|
.pelcro-root .pelcro-shop-product-image {
|
|
1521
1519
|
max-width: 13rem;
|
|
1522
1520
|
}
|
|
@@ -1659,16 +1657,6 @@ Add the correct display in Chrome and Safari.
|
|
|
1659
1657
|
display: flex !important;
|
|
1660
1658
|
}
|
|
1661
1659
|
|
|
1662
|
-
.pelcro-root .pelcro-product:before {
|
|
1663
|
-
content: "";
|
|
1664
|
-
position: absolute;
|
|
1665
|
-
top: 0px;
|
|
1666
|
-
left: 0px;
|
|
1667
|
-
height: 0.25rem;
|
|
1668
|
-
width: 100%;
|
|
1669
|
-
background-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), var(--plc-primary-lightness));
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
1660
|
.pelcro-root .productTabs:before {
|
|
1673
1661
|
content: "";
|
|
1674
1662
|
width: calc(100% - 5.5rem);
|
|
@@ -1719,6 +1707,134 @@ Add the correct display in Chrome and Safari.
|
|
|
1719
1707
|
|
|
1720
1708
|
/* used by multiple input sub-components */
|
|
1721
1709
|
|
|
1710
|
+
/* Slider */
|
|
1711
|
+
|
|
1712
|
+
.pelcro-root .slick-slider {
|
|
1713
|
+
position: relative;
|
|
1714
|
+
display: block;
|
|
1715
|
+
box-sizing: border-box;
|
|
1716
|
+
-webkit-user-select: none;
|
|
1717
|
+
user-select: none;
|
|
1718
|
+
touch-action: pan-y;
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
.pelcro-root .slick-list {
|
|
1722
|
+
position: relative;
|
|
1723
|
+
display: block;
|
|
1724
|
+
overflow: hidden;
|
|
1725
|
+
padding: 0;
|
|
1726
|
+
/* margin: 0 -10px; */
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
.pelcro-root .slick-list:focus {
|
|
1730
|
+
outline: none;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
.pelcro-root .slick-list.dragging {
|
|
1734
|
+
cursor: pointer;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
.pelcro-root .slick-slider .slick-track,
|
|
1738
|
+
.pelcro-root .slick-slider .slick-list {
|
|
1739
|
+
transform: translate3d(0, 0, 0);
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
.pelcro-root .slick-track {
|
|
1743
|
+
position: relative;
|
|
1744
|
+
top: 0;
|
|
1745
|
+
left: 0;
|
|
1746
|
+
display: flex;
|
|
1747
|
+
align-items: stretch;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
.pelcro-root .slick-track:before,
|
|
1751
|
+
.pelcro-root .slick-track:after {
|
|
1752
|
+
display: table;
|
|
1753
|
+
content: "";
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
.pelcro-root .slick-track:after {
|
|
1757
|
+
clear: both;
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
.pelcro-root .slick-loading .slick-track {
|
|
1761
|
+
visibility: hidden;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
.pelcro-root .slick-slide {
|
|
1765
|
+
display: flex !important;
|
|
1766
|
+
align-self: stretch;
|
|
1767
|
+
height: unset;
|
|
1768
|
+
margin: 0 10px;
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
.pelcro-root .slick-slide > div {
|
|
1772
|
+
display: flex;
|
|
1773
|
+
align-self: stretch;
|
|
1774
|
+
width: 100%;
|
|
1775
|
+
height: 100%;
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
.pelcro-root .slick-slide img {
|
|
1779
|
+
display: block;
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
.pelcro-root .slick-slide.slick-loading img {
|
|
1783
|
+
display: none;
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
.pelcro-root .slick-slide.dragging img {
|
|
1787
|
+
pointer-events: none;
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
.pelcro-root .slick-initialized .slick-slide {
|
|
1791
|
+
display: block;
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
.pelcro-root .slick-loading .slick-slide {
|
|
1795
|
+
visibility: hidden;
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
.pelcro-root .slick-vertical .slick-slide {
|
|
1799
|
+
display: block;
|
|
1800
|
+
height: auto;
|
|
1801
|
+
border: 1px solid transparent;
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
.pelcro-root .slick-arrow.slick-hidden {
|
|
1805
|
+
display: none;
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
.pelcro-root .slick-disabled {
|
|
1809
|
+
opacity: 0;
|
|
1810
|
+
cursor: auto;
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
.pelcro-root .slick-dots {
|
|
1814
|
+
margin-top: 20px;
|
|
1815
|
+
display: flex !important;
|
|
1816
|
+
align-items: center;
|
|
1817
|
+
justify-content: center;
|
|
1818
|
+
flex-wrap: wrap;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
.pelcro-root .slick-dots li {
|
|
1822
|
+
margin: 0 2px;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
.pelcro-root .slick-dots li.slick-active span {
|
|
1826
|
+
border-color: grey;
|
|
1827
|
+
background-color: hsl(
|
|
1828
|
+
var(--plc-primary-hue),
|
|
1829
|
+
var(--plc-primary-saturation),
|
|
1830
|
+
var(--plc-primary-lightness)
|
|
1831
|
+
);
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
.pelcro-root .slick-arrow {
|
|
1835
|
+
outline: none !important;
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1722
1838
|
/*
|
|
1723
1839
|
styling is copied from react-easy-crop/react-easy-crop.css
|
|
1724
1840
|
in order to scope selectors under pelcro-root
|
|
@@ -1935,11 +2051,6 @@ in order to scope selectors under pelcro-root
|
|
|
1935
2051
|
margin: 0.125rem;
|
|
1936
2052
|
}
|
|
1937
2053
|
|
|
1938
|
-
.pelcro-root .plc-mx-1{
|
|
1939
|
-
margin-left: 0.25rem;
|
|
1940
|
-
margin-right: 0.25rem;
|
|
1941
|
-
}
|
|
1942
|
-
|
|
1943
2054
|
.pelcro-root .plc-mx-auto{
|
|
1944
2055
|
margin-left: auto;
|
|
1945
2056
|
margin-right: auto;
|
|
@@ -2297,10 +2408,6 @@ in order to scope selectors under pelcro-root
|
|
|
2297
2408
|
width: max-content;
|
|
2298
2409
|
}
|
|
2299
2410
|
|
|
2300
|
-
.pelcro-root .plc-max-w-lg{
|
|
2301
|
-
max-width: 32rem;
|
|
2302
|
-
}
|
|
2303
|
-
|
|
2304
2411
|
.pelcro-root .plc-max-w-xl{
|
|
2305
2412
|
max-width: 36rem;
|
|
2306
2413
|
}
|
|
@@ -2577,10 +2684,6 @@ in order to scope selectors under pelcro-root
|
|
|
2577
2684
|
overflow: hidden;
|
|
2578
2685
|
}
|
|
2579
2686
|
|
|
2580
|
-
.pelcro-root .plc-overflow-x-auto{
|
|
2581
|
-
overflow-x: auto;
|
|
2582
|
-
}
|
|
2583
|
-
|
|
2584
2687
|
.pelcro-root .plc-overflow-y-auto{
|
|
2585
2688
|
overflow-y: auto;
|
|
2586
2689
|
}
|
|
@@ -2603,10 +2706,6 @@ in order to scope selectors under pelcro-root
|
|
|
2603
2706
|
white-space: normal;
|
|
2604
2707
|
}
|
|
2605
2708
|
|
|
2606
|
-
.pelcro-root .plc-whitespace-nowrap{
|
|
2607
|
-
white-space: nowrap;
|
|
2608
|
-
}
|
|
2609
|
-
|
|
2610
2709
|
.pelcro-root .plc-whitespace-pre-line{
|
|
2611
2710
|
white-space: pre-line;
|
|
2612
2711
|
}
|
|
@@ -2748,6 +2847,10 @@ in order to scope selectors under pelcro-root
|
|
|
2748
2847
|
border-color: rgba(52, 211, 153, var(--tw-border-opacity));
|
|
2749
2848
|
}
|
|
2750
2849
|
|
|
2850
|
+
.pelcro-root .hover\:plc-border-primary-600:hover{
|
|
2851
|
+
border-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), calc(var(--plc-primary-lightness) - 10%));
|
|
2852
|
+
}
|
|
2853
|
+
|
|
2751
2854
|
.pelcro-root .hover\:plc-border-primary-800:hover{
|
|
2752
2855
|
border-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), calc(var(--plc-primary-lightness) - 30%));
|
|
2753
2856
|
}
|
|
@@ -2977,6 +3080,11 @@ in order to scope selectors under pelcro-root
|
|
|
2977
3080
|
padding-right: 1.5rem;
|
|
2978
3081
|
}
|
|
2979
3082
|
|
|
3083
|
+
.pelcro-root .plc-px-8{
|
|
3084
|
+
padding-left: 2rem;
|
|
3085
|
+
padding-right: 2rem;
|
|
3086
|
+
}
|
|
3087
|
+
|
|
2980
3088
|
.pelcro-root .plc-py-1{
|
|
2981
3089
|
padding-top: 0.25rem;
|
|
2982
3090
|
padding-bottom: 0.25rem;
|
|
@@ -3248,6 +3356,10 @@ in order to scope selectors under pelcro-root
|
|
|
3248
3356
|
color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), var(--plc-primary-lightness));
|
|
3249
3357
|
}
|
|
3250
3358
|
|
|
3359
|
+
.pelcro-root .hover\:plc-text-primary-600:hover{
|
|
3360
|
+
color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), calc(var(--plc-primary-lightness) - 10%));
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3251
3363
|
.pelcro-root .hover\:plc-text-primary:hover{
|
|
3252
3364
|
color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), var(--plc-primary-lightness));
|
|
3253
3365
|
}
|
|
@@ -3294,10 +3406,6 @@ in order to scope selectors under pelcro-root
|
|
|
3294
3406
|
text-decoration: none;
|
|
3295
3407
|
}
|
|
3296
3408
|
|
|
3297
|
-
.pelcro-root .hover\:plc-opacity-30:hover{
|
|
3298
|
-
opacity: 0.3;
|
|
3299
|
-
}
|
|
3300
|
-
|
|
3301
3409
|
*, ::before, ::after{
|
|
3302
3410
|
--tw-shadow: 0 0 #0000;
|
|
3303
3411
|
}
|
|
@@ -3327,6 +3435,11 @@ in order to scope selectors under pelcro-root
|
|
|
3327
3435
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
3328
3436
|
}
|
|
3329
3437
|
|
|
3438
|
+
.pelcro-root .hover\:plc-shadow-sm:hover{
|
|
3439
|
+
--tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
3440
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
3441
|
+
}
|
|
3442
|
+
|
|
3330
3443
|
.pelcro-root .hover\:plc-shadow-none:hover{
|
|
3331
3444
|
--tw-shadow: 0 0 #0000;
|
|
3332
3445
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
@@ -3453,10 +3566,22 @@ in order to scope selectors under pelcro-root
|
|
|
3453
3566
|
}
|
|
3454
3567
|
|
|
3455
3568
|
@media (min-width: 640px){
|
|
3569
|
+
.pelcro-root .sm\:plc-top-1\/2{
|
|
3570
|
+
top: 50%;
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3573
|
+
.pelcro-root .sm\:plc--right-12{
|
|
3574
|
+
right: -3rem;
|
|
3575
|
+
}
|
|
3576
|
+
|
|
3456
3577
|
.pelcro-root .sm\:plc-left-5{
|
|
3457
3578
|
left: 1.25rem;
|
|
3458
3579
|
}
|
|
3459
3580
|
|
|
3581
|
+
.pelcro-root .sm\:plc--left-12{
|
|
3582
|
+
left: -3rem;
|
|
3583
|
+
}
|
|
3584
|
+
|
|
3460
3585
|
.pelcro-root .sm\:plc-m-4{
|
|
3461
3586
|
margin: 1rem;
|
|
3462
3587
|
}
|
|
@@ -3497,6 +3622,10 @@ in order to scope selectors under pelcro-root
|
|
|
3497
3622
|
max-width: 90%;
|
|
3498
3623
|
}
|
|
3499
3624
|
|
|
3625
|
+
.pelcro-root .sm\:plc--translate-y-1\/2{
|
|
3626
|
+
--tw-translate-y: -50%;
|
|
3627
|
+
}
|
|
3628
|
+
|
|
3500
3629
|
.pelcro-root .sm\:plc-flex-row{
|
|
3501
3630
|
flex-direction: row;
|
|
3502
3631
|
}
|
|
@@ -3546,6 +3675,11 @@ in order to scope selectors under pelcro-root
|
|
|
3546
3675
|
right: 2.5rem;
|
|
3547
3676
|
}
|
|
3548
3677
|
|
|
3678
|
+
.pelcro-root .md\:plc-mx-auto{
|
|
3679
|
+
margin-left: auto;
|
|
3680
|
+
margin-right: auto;
|
|
3681
|
+
}
|
|
3682
|
+
|
|
3549
3683
|
.pelcro-root .md\:plc-my-20{
|
|
3550
3684
|
margin-top: 5rem;
|
|
3551
3685
|
margin-bottom: 5rem;
|
|
@@ -3575,6 +3709,10 @@ in order to scope selectors under pelcro-root
|
|
|
3575
3709
|
width: 25%;
|
|
3576
3710
|
}
|
|
3577
3711
|
|
|
3712
|
+
.pelcro-root .md\:plc-max-w-xl{
|
|
3713
|
+
max-width: 36rem;
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3578
3716
|
.pelcro-root .md\:plc-max-w-70\%{
|
|
3579
3717
|
max-width: 70%;
|
|
3580
3718
|
}
|
|
@@ -3582,6 +3720,14 @@ in order to scope selectors under pelcro-root
|
|
|
3582
3720
|
.pelcro-root .md\:plc-max-w-80\%{
|
|
3583
3721
|
max-width: 80%;
|
|
3584
3722
|
}
|
|
3723
|
+
|
|
3724
|
+
.pelcro-root .md\:plc-whitespace-normal{
|
|
3725
|
+
white-space: normal;
|
|
3726
|
+
}
|
|
3727
|
+
|
|
3728
|
+
.pelcro-root .md\:plc-whitespace-nowrap{
|
|
3729
|
+
white-space: nowrap;
|
|
3730
|
+
}
|
|
3585
3731
|
}
|
|
3586
3732
|
|
|
3587
3733
|
@media (min-width: 1024px){
|