@rebuy/rebuy-hydrogen 3.0.0-beta.16 → 3.0.0-beta.17
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/README.md +21 -17
- package/dist/components/ProductCard/ProductCard.d.ts +1 -1
- package/dist/components/ProductCard/ProductCard.d.ts.map +1 -1
- package/dist/components/ProductCard/types.d.ts +1 -0
- package/dist/components/ProductCard/types.d.ts.map +1 -1
- package/dist/components/ProductCarousel/ProductCarousel.d.ts +2 -16
- package/dist/components/ProductCarousel/ProductCarousel.d.ts.map +1 -1
- package/dist/components/ProductCarousel/types.d.ts +18 -0
- package/dist/components/ProductCarousel/types.d.ts.map +1 -0
- package/dist/components/RebuyLink/RebuyLink.d.ts +3 -0
- package/dist/components/RebuyLink/RebuyLink.d.ts.map +1 -0
- package/dist/components/RebuyLink/index.d.ts +2 -0
- package/dist/components/RebuyLink/index.d.ts.map +1 -0
- package/dist/components/RebuyLink/types.d.ts +10 -0
- package/dist/components/RebuyLink/types.d.ts.map +1 -0
- package/dist/index.css +53 -39
- package/dist/index.css.map +3 -3
- package/dist/index.js +629 -488
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +531 -390
- package/dist/index.mjs.map +4 -4
- package/dist/smart-cart/components/CartItem/CartItem.d.ts.map +1 -1
- package/dist/smart-cart/components/LoginButton/LoginButton.d.ts.map +1 -1
- package/dist/smart-cart/components/SmartCartContainer/SmartCartContainer.d.ts.map +1 -1
- package/dist/types/shopify.d.ts +1 -2
- package/dist/types/shopify.d.ts.map +1 -1
- package/dist/utils/convertToRebuyProduct.d.ts.map +1 -1
- package/dist/widgetContainer/RebuyWidgetContainer.d.ts.map +1 -1
- package/dist/widgets/RebuyDynamicBundleProducts/BundleImages.d.ts.map +1 -1
- package/dist/widgets/RebuyDynamicBundleProducts/RebuyDynamicBundleProducts.d.ts.map +1 -1
- package/dist/widgets/RebuyProductAddOns/RebuyProductAddOnCard.d.ts.map +1 -1
- package/dist/widgets/RebuyProductAddOns/RebuyProductAddOns.d.ts.map +1 -1
- package/dist/widgets/RebuyWidget/RebuyWidget.d.ts.map +1 -1
- package/dist/widgets/RebuyWidget/WidgetContent.d.ts +1 -1
- package/dist/widgets/RebuyWidget/WidgetContent.d.ts.map +1 -1
- package/dist/widgets/RebuyWidget/types.d.ts +2 -0
- package/dist/widgets/RebuyWidget/types.d.ts.map +1 -1
- package/package.json +9 -4
package/README.md
CHANGED
@@ -26,14 +26,18 @@ First, determine whether your application uses:
|
|
26
26
|
|
27
27
|
This distinction is important as different hooks/functions are used in each case. Note that if you're using Hydrogen React, Hydrogen is also being used by default. Our components will call the appropriate hooks/functions/components for Hydrogen React applications.
|
28
28
|
|
29
|
+
### Prerequisites
|
30
|
+
|
31
|
+
"@shopify/hydrogen": ">=2025.5.0",
|
32
|
+
|
33
|
+
- If you are also using hydrogen-react along with just hydrogen
|
34
|
+
"@shopify/hydrogen-react": ">=2025.4.0"
|
35
|
+
|
36
|
+
|
29
37
|
### Installation Steps
|
30
38
|
|
31
39
|
1. Install the beta version of our package from npm:
|
32
40
|
|
33
|
-
```bash
|
34
|
-
npm i @rebuy/rebuy-hydrogen@3.0.0-beta.15
|
35
|
-
```
|
36
|
-
|
37
41
|
Package URL: [https://www.npmjs.com/package/@rebuy/rebuy-hydrogen](https://www.npmjs.com/package/@rebuy/rebuy-hydrogen)
|
38
42
|
|
39
43
|
2. In your server entry file (typically `app/entry.server.tsx`), update the `createContentSecurityPolicy` to have `rebuyengine.com` in the `connectSrc`.
|
@@ -332,9 +336,9 @@ In your root layout file (`app/root.tsx`), add the `enableSmartCart` prop to you
|
|
332
336
|
|
333
337
|
**For Hydrogen-only Applications:**
|
334
338
|
```typescript
|
335
|
-
<RebuyHydrogenContextProvider
|
336
|
-
cart={data.cart}
|
337
|
-
shop="example.com"
|
339
|
+
<RebuyHydrogenContextProvider
|
340
|
+
cart={data.cart}
|
341
|
+
shop="example.com"
|
338
342
|
publicStoreDomain="example.myshopify.com"
|
339
343
|
enableSmartCart={true}
|
340
344
|
>
|
@@ -345,10 +349,10 @@ In your root layout file (`app/root.tsx`), add the `enableSmartCart` prop to you
|
|
345
349
|
|
346
350
|
**For Hydrogen React Applications:**
|
347
351
|
```typescript
|
348
|
-
<RebuyHydrogenReactContextProvider
|
349
|
-
publicPrimaryDomain="example.com"
|
350
|
-
publicStoreDomain="example.myshopify.com"
|
351
|
-
publicStorefrontToken="1233456"
|
352
|
+
<RebuyHydrogenReactContextProvider
|
353
|
+
publicPrimaryDomain="example.com"
|
354
|
+
publicStoreDomain="example.myshopify.com"
|
355
|
+
publicStorefrontToken="1233456"
|
352
356
|
publicStorefrontId="12345678"
|
353
357
|
enableSmartCart={true}
|
354
358
|
>
|
@@ -379,10 +383,10 @@ import { useSmartCart } from '@rebuy/rebuy-hydrogen';
|
|
379
383
|
|
380
384
|
export function Header() {
|
381
385
|
const { toggleCart } = useSmartCart();
|
382
|
-
|
386
|
+
|
383
387
|
// In your cart button/icon
|
384
388
|
return (
|
385
|
-
<button
|
389
|
+
<button
|
386
390
|
onClick={(e) => {
|
387
391
|
e.preventDefault();
|
388
392
|
toggleCart();
|
@@ -403,7 +407,7 @@ import { useSmartCart } from '@rebuy/rebuy-hydrogen';
|
|
403
407
|
|
404
408
|
export function ProductForm() {
|
405
409
|
const { toggleCart } = useSmartCart();
|
406
|
-
|
410
|
+
|
407
411
|
// After successful add to cart
|
408
412
|
const handleAddToCart = async () => {
|
409
413
|
// ... add to cart logic
|
@@ -416,11 +420,11 @@ export function ProductForm() {
|
|
416
420
|
|
417
421
|
Here's a complete example of converting a cart badge component:
|
418
422
|
|
419
|
-
**Before (
|
423
|
+
**Before (Hydrogen):**
|
420
424
|
```typescript
|
421
425
|
function CartBadge() {
|
422
426
|
const { open } = useAside();
|
423
|
-
|
427
|
+
|
424
428
|
return (
|
425
429
|
<a href="/cart" onClick={(e) => {
|
426
430
|
e.preventDefault();
|
@@ -438,7 +442,7 @@ import { useSmartCart } from '@rebuy/rebuy-hydrogen';
|
|
438
442
|
|
439
443
|
function CartBadge() {
|
440
444
|
const { toggleCart } = useSmartCart();
|
441
|
-
|
445
|
+
|
442
446
|
return (
|
443
447
|
<a href="/cart" onClick={(e) => {
|
444
448
|
e.preventDefault();
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import type { ProductCardProps } from '~/components/ProductCard/types';
|
2
|
-
export declare const ProductCard: ({ addToCartBtnText, addToCartCallback, isHydrogenReact, isInPopup, onPopupDismiss, product, productCardTitleLevel, settings, variantOptionsText, }: ProductCardProps) => import("react/jsx-runtime").JSX.Element;
|
2
|
+
export declare const ProductCard: ({ addToCartBtnText, addToCartCallback, isCrossSell, isHydrogenReact, isInPopup, onPopupDismiss, product, productCardTitleLevel, settings, variantOptionsText, }: ProductCardProps) => import("react/jsx-runtime").JSX.Element;
|
3
3
|
//# sourceMappingURL=ProductCard.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ProductCard.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCard/ProductCard.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ProductCard.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCard/ProductCard.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAYvE,eAAO,MAAM,WAAW,GAAI,iKAWzB,gBAAgB,4CA0SlB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCard/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,eAAe,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AE,MAAM,CAAC;QACzB,OAAO,EAAE,OAAO,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,gBAAgB,CAAC,EAAE;QACf,MAAM,EAAE,MAAM,CAAC;QACf,iBAAiB,EAAE;YACf,gBAAgB,EAAE,MAAM,CAAC;YACzB,yBAAyB,EAAE,OAAO,CAAC;YACnC,OAAO,EAAE,OAAO,CAAC;SACpB,CAAC;QACF,mBAAmB,EAAE;YACjB,OAAO,EAAE,OAAO,CAAC;YACjB,6BAA6B,EAAE,MAAM,CAAC;SACzC,CAAC;QACF,aAAa,EAAE,MAAM,CAAC;QACtB,eAAe,EAAE,MAAM,CAAC;QACxB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,kBAAkB,EAAE,OAAO,CAAC;QAC5B,IAAI,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC"}
|
@@ -1,17 +1,3 @@
|
|
1
|
-
import type {
|
2
|
-
|
3
|
-
import type { RebuyProduct } from '~/types/rebuyCustom';
|
4
|
-
type ProductCarouselProps = {
|
5
|
-
addToCartBtnText?: string;
|
6
|
-
addToCartCallback?: () => void;
|
7
|
-
columns: number;
|
8
|
-
isHydrogenReact?: boolean;
|
9
|
-
productCardTitleLevel: ProductCardTitleLevel;
|
10
|
-
products: RebuyProduct[];
|
11
|
-
settings: ProductCardSettings;
|
12
|
-
showPagination?: boolean;
|
13
|
-
variantOptionsText?: string;
|
14
|
-
};
|
15
|
-
export declare const ProductCarousel: ({ addToCartBtnText, addToCartCallback, columns, isHydrogenReact, productCardTitleLevel, products, settings, showPagination, variantOptionsText, }: ProductCarouselProps) => import("react/jsx-runtime").JSX.Element;
|
16
|
-
export {};
|
1
|
+
import type { ProductCarouselProps } from './types';
|
2
|
+
export declare const ProductCarousel: ({ addToCartBtnText, addToCartCallback, columns, isCrossSell, isHydrogenReact, isInPopup, onPopupDismiss, productCardTitleLevel, products, settings, showPagination, variantOptionsText, }: ProductCarouselProps) => import("react/jsx-runtime").JSX.Element;
|
17
3
|
//# sourceMappingURL=ProductCarousel.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ProductCarousel.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCarousel/ProductCarousel.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ProductCarousel.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCarousel/ProductCarousel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAGpD,eAAO,MAAM,eAAe,GAAI,2LAa7B,oBAAoB,4CAwGtB,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import type { ProductCardTitleLevel } from '~/types/common';
|
2
|
+
import type { RebuyProduct } from '~/types/rebuyCustom';
|
3
|
+
import type { ProductCardSettings } from '../ProductCard/types';
|
4
|
+
export type ProductCarouselProps = {
|
5
|
+
addToCartBtnText?: string;
|
6
|
+
addToCartCallback?: () => void;
|
7
|
+
columns: number;
|
8
|
+
isCrossSell?: boolean;
|
9
|
+
isHydrogenReact?: boolean;
|
10
|
+
isInPopup?: boolean;
|
11
|
+
onPopupDismiss?: () => void;
|
12
|
+
productCardTitleLevel: ProductCardTitleLevel;
|
13
|
+
products: RebuyProduct[];
|
14
|
+
settings: ProductCardSettings;
|
15
|
+
showPagination?: boolean;
|
16
|
+
variantOptionsText?: string;
|
17
|
+
};
|
18
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCarousel/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,MAAM,MAAM,oBAAoB,GAAG;IAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RebuyLink.d.ts","sourceRoot":"","sources":["../../../src/components/RebuyLink/RebuyLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,eAAO,MAAM,SAAS,GAAI,2DAAoE,cAAc,4CAM3G,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/RebuyLink/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/RebuyLink/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
package/dist/index.css
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
clip: rect(0, 0, 0, 0);
|
12
12
|
}
|
13
13
|
|
14
|
-
/* ../../../../../tmp/tmp-165-
|
14
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/smart-cart/components/AnnouncementBar/AnnouncementBar.css */
|
15
15
|
.AnnouncementBar_rebuy-announcement-bar__container {
|
16
16
|
position: relative;
|
17
17
|
background-color: var(--rb-color-banner-background);
|
@@ -47,7 +47,7 @@
|
|
47
47
|
overflow-wrap: break-word;
|
48
48
|
}
|
49
49
|
|
50
|
-
/* ../../../../../tmp/tmp-165-
|
50
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/smart-cart/components/CartItem/CartItem.css */
|
51
51
|
.CartItem_rebuy-cart-item {
|
52
52
|
display: flex;
|
53
53
|
position: relative;
|
@@ -562,7 +562,7 @@
|
|
562
562
|
opacity: 0.5;
|
563
563
|
}
|
564
564
|
|
565
|
-
/* ../../../../../tmp/tmp-165-
|
565
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/smart-cart/components/EmptyCart/EmptyCart.css */
|
566
566
|
.EmptyCart_rebuy-empty-cart-message {
|
567
567
|
flex: 0 0 auto;
|
568
568
|
margin: 0;
|
@@ -583,7 +583,7 @@
|
|
583
583
|
text-decoration: var(--rb-empty-cart-message-link-text-decoration-hover);
|
584
584
|
}
|
585
585
|
|
586
|
-
/* ../../../../../tmp/tmp-165-
|
586
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/smart-cart/components/CartItemList/CartItemList.css */
|
587
587
|
.CartItemList_rebuy-cart-item-list__container {
|
588
588
|
display: flex;
|
589
589
|
flex-flow: column nowrap;
|
@@ -605,7 +605,7 @@
|
|
605
605
|
min-height: var(--rb-cart-item-list-min-height);
|
606
606
|
}
|
607
607
|
|
608
|
-
/* ../../../../../tmp/tmp-165-
|
608
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/smart-cart/components/CartNoteInput/CartNoteInput.css */
|
609
609
|
.CartNoteInput_rebuy-cart-note-input {
|
610
610
|
display: flex;
|
611
611
|
flex-direction: column;
|
@@ -815,7 +815,7 @@
|
|
815
815
|
gap: var(--rb-cart-note-input-gap);
|
816
816
|
}
|
817
817
|
|
818
|
-
/* ../../../../../tmp/tmp-165-
|
818
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/smart-cart/components/CartSubtotal/CartSubtotal.css */
|
819
819
|
.CartSubtotal_rebuy-cart-subtotal {
|
820
820
|
display: flex;
|
821
821
|
margin: 0;
|
@@ -931,7 +931,7 @@
|
|
931
931
|
font-weight: var(--rb-cart-subtotal-discount-summary-item-amount-font-weight);
|
932
932
|
}
|
933
933
|
|
934
|
-
/* ../../../../../tmp/tmp-165-
|
934
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/smart-cart/components/CartTitleBar/CartTitleBar.css */
|
935
935
|
.CartTitleBar_rebuy-cart-title-bar {
|
936
936
|
flex-grow: var(--rb-cart-title-bar-flex-grow);
|
937
937
|
margin: 0;
|
@@ -947,7 +947,7 @@
|
|
947
947
|
font-weight: var(--rb-cart-title-bar-font-weight);
|
948
948
|
}
|
949
949
|
|
950
|
-
/* ../../../../../tmp/tmp-165-
|
950
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/smart-cart/components/CheckoutArea/CheckoutArea.css */
|
951
951
|
.CheckoutArea_rebuy-checkout-area {
|
952
952
|
display: flex;
|
953
953
|
flex-flow: column nowrap;
|
@@ -1138,7 +1138,7 @@
|
|
1138
1138
|
text-decoration: none;
|
1139
1139
|
}
|
1140
1140
|
|
1141
|
-
/* ../../../../../tmp/tmp-165-
|
1141
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/components/AddToCartBtn/AddToCartBtn.css */
|
1142
1142
|
.AddToCartBtn_rebuy-cart-button {
|
1143
1143
|
padding: var(--rb-spacing-unit-2x, 8px) var(--rb-spacing-unit-4x, 16px);
|
1144
1144
|
border-radius: var(--rb-border-radius-button, 4px);
|
@@ -1190,7 +1190,7 @@
|
|
1190
1190
|
max-width: 100%;
|
1191
1191
|
}
|
1192
1192
|
|
1193
|
-
/* ../../../../../tmp/tmp-165-
|
1193
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/components/ProductPrice/ProductPrice.css */
|
1194
1194
|
.ProductPrice_rebuy-product-price {
|
1195
1195
|
display: flex;
|
1196
1196
|
align-items: baseline;
|
@@ -1212,7 +1212,7 @@
|
|
1212
1212
|
font-size: var(--rb-font-size-small, 0.875em);
|
1213
1213
|
}
|
1214
1214
|
|
1215
|
-
/* ../../../../../tmp/tmp-165-
|
1215
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/components/QuantityInput/QuantityInput.css */
|
1216
1216
|
.QuantityInput_rebuy-quantity__container {
|
1217
1217
|
display: flex;
|
1218
1218
|
align-items: center;
|
@@ -1230,17 +1230,7 @@
|
|
1230
1230
|
appearance: auto;
|
1231
1231
|
}
|
1232
1232
|
|
1233
|
-
/* ../../../../../tmp/tmp-165-
|
1234
|
-
.Title_rebuy-title {
|
1235
|
-
font-family: var(--rb-font-family-base);
|
1236
|
-
font-weight: var(--rb-font-weight-bold);
|
1237
|
-
line-height: var(--rb-line-height-tight);
|
1238
|
-
color: var(--rb-color-text-default);
|
1239
|
-
margin: 0;
|
1240
|
-
padding: 0;
|
1241
|
-
}
|
1242
|
-
|
1243
|
-
/* ../../../../../tmp/tmp-165-ANnZixNQysaG/opt/atlassian/pipelines/agent/build/src/components/VariantSelect/VariantSelect.css */
|
1233
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/components/VariantSelect/VariantSelect.css */
|
1244
1234
|
.VariantSelect_rebuy-variant__container {
|
1245
1235
|
position: relative;
|
1246
1236
|
}
|
@@ -1306,7 +1296,17 @@
|
|
1306
1296
|
border-color: #999;
|
1307
1297
|
}
|
1308
1298
|
|
1309
|
-
/* ../../../../../tmp/tmp-165-
|
1299
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/components/Title/Title.css */
|
1300
|
+
.Title_rebuy-title {
|
1301
|
+
font-family: var(--rb-font-family-base);
|
1302
|
+
font-weight: var(--rb-font-weight-bold);
|
1303
|
+
line-height: var(--rb-line-height-tight);
|
1304
|
+
color: var(--rb-color-text-default);
|
1305
|
+
margin: 0;
|
1306
|
+
padding: 0;
|
1307
|
+
}
|
1308
|
+
|
1309
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/components/ProductCard/ProductCard.css */
|
1310
1310
|
:root {
|
1311
1311
|
--rb-product-card-gap: var(--rb-spacing-unit-2x, 8px);
|
1312
1312
|
--rb-product-card-padding: var(--rb-spacing-unit-3x, 12px);
|
@@ -1546,7 +1546,7 @@
|
|
1546
1546
|
margin-top: var(--rb-spacing-unit-1x, 0.5em);
|
1547
1547
|
}
|
1548
1548
|
|
1549
|
-
/* ../../../../../tmp/tmp-165-
|
1549
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/components/ProductCarousel/ProductCarousel.css */
|
1550
1550
|
.ProductCarousel_rebuy-carousel {
|
1551
1551
|
position: relative;
|
1552
1552
|
overflow: hidden;
|
@@ -1629,7 +1629,7 @@
|
|
1629
1629
|
flex: 0 0 calc(16.66% - 1.25em);
|
1630
1630
|
}
|
1631
1631
|
|
1632
|
-
/* ../../../../../tmp/tmp-165-
|
1632
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/components/Timer/Timer.css */
|
1633
1633
|
.Timer_rebuy-timer__container {
|
1634
1634
|
margin: 0 auto;
|
1635
1635
|
padding: 10px;
|
@@ -1690,10 +1690,11 @@
|
|
1690
1690
|
}
|
1691
1691
|
}
|
1692
1692
|
|
1693
|
-
/* ../../../../../tmp/tmp-165-
|
1693
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/widgets/RebuyWidget/RebuyWidget.css */
|
1694
1694
|
.RebuyWidget_rebuy-widget__container {
|
1695
1695
|
width: 100%;
|
1696
1696
|
padding: 0;
|
1697
|
+
position: relative;
|
1697
1698
|
}
|
1698
1699
|
.RebuyWidget_rebuy-widget__popup-overlay {
|
1699
1700
|
position: fixed;
|
@@ -1792,7 +1793,7 @@
|
|
1792
1793
|
align-items: flex-start;
|
1793
1794
|
}
|
1794
1795
|
|
1795
|
-
/* ../../../../../tmp/tmp-165-
|
1796
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/smart-cart/components/DiscountCodeInput/DiscountCodeInput.css */
|
1796
1797
|
.DiscountCodeInput_rebuy-discount-code-input {
|
1797
1798
|
display: flex;
|
1798
1799
|
flex-flow: row wrap;
|
@@ -2006,7 +2007,7 @@
|
|
2006
2007
|
font-weight: var(--rb-discount-code-input-total-discount-amount-font-weight);
|
2007
2008
|
}
|
2008
2009
|
|
2009
|
-
/* ../../../../../tmp/tmp-165-
|
2010
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/smart-cart/components/LoginButton/LoginButton.css */
|
2010
2011
|
.LoginButton_rebuy-login-button {
|
2011
2012
|
appearance: none;
|
2012
2013
|
box-sizing: border-box;
|
@@ -2048,7 +2049,7 @@
|
|
2048
2049
|
color: var(--rb-login-button-text-color-active);
|
2049
2050
|
}
|
2050
2051
|
|
2051
|
-
/* ../../../../../tmp/tmp-165-
|
2052
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/smart-cart/components/TieredProgressBar/TieredProgressBar.css */
|
2052
2053
|
.TieredProgressBar_rebuy-tiered-progress-bar {
|
2053
2054
|
display: flex;
|
2054
2055
|
flex-direction: column;
|
@@ -2323,7 +2324,7 @@
|
|
2323
2324
|
border-color: var(--rb-tiered-progress-bar-gift-item-select-border-color-hover);
|
2324
2325
|
}
|
2325
2326
|
|
2326
|
-
/* ../../../../../tmp/tmp-165-
|
2327
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/smart-cart/components/_Layouts/LayoutStyles.css */
|
2327
2328
|
.LayoutStyles_rebuy-smart-cart-layout__anchor-goal-box {
|
2328
2329
|
display: flex;
|
2329
2330
|
flex-flow: column nowrap;
|
@@ -2421,13 +2422,16 @@
|
|
2421
2422
|
@media screen and (width <= 900px) {
|
2422
2423
|
.LayoutStyles_rebuy-smart-cart-layout__flyout-inner {
|
2423
2424
|
flex-direction: column;
|
2425
|
+
height: 100%;
|
2426
|
+
overflow: hidden;
|
2424
2427
|
}
|
2425
2428
|
.LayoutStyles_rebuy-smart-cart-layout__column--primary {
|
2426
|
-
flex
|
2429
|
+
flex: 1 1 auto;
|
2427
2430
|
width: 100%;
|
2428
2431
|
max-width: 100%;
|
2429
|
-
height:
|
2430
|
-
|
2432
|
+
height: 100%;
|
2433
|
+
min-height: 0;
|
2434
|
+
overflow: hidden;
|
2431
2435
|
}
|
2432
2436
|
.LayoutStyles_rebuy-smart-cart-layout__column--secondary {
|
2433
2437
|
display: none;
|
@@ -2435,6 +2439,11 @@
|
|
2435
2439
|
}
|
2436
2440
|
|
2437
2441
|
/* src/smart-cart/components/SmartCartContainer/Global.css */
|
2442
|
+
body.rebuy-smart-cart-open {
|
2443
|
+
overflow: hidden;
|
2444
|
+
position: fixed;
|
2445
|
+
width: 100%;
|
2446
|
+
}
|
2438
2447
|
.rebuy-preview-highlight .rebuy-smart-cart {
|
2439
2448
|
border: var(--rb-preview-highlight-outline-width, 2px) solid var(--rb-preview-highlight-outline-color, #2491c4) !important;
|
2440
2449
|
}
|
@@ -2450,7 +2459,7 @@
|
|
2450
2459
|
box-sizing: border-box !important;
|
2451
2460
|
}
|
2452
2461
|
|
2453
|
-
/* ../../../../../tmp/tmp-165-
|
2462
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/smart-cart/components/SmartCartContainer/SmartCartContainer.css */
|
2454
2463
|
.SmartCartContainer_rebuy-smart-cart,
|
2455
2464
|
.SmartCartContainer_rebuy-smart-cart *,
|
2456
2465
|
.SmartCartContainer_rebuy-smart-cart *::before,
|
@@ -2604,12 +2613,13 @@
|
|
2604
2613
|
}
|
2605
2614
|
}
|
2606
2615
|
|
2607
|
-
/* ../../../../../tmp/tmp-165-
|
2616
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/widgets/RebuyCompleteTheLook/RebuyCompleteTheLook.css */
|
2608
2617
|
.RebuyCompleteTheLook_container {
|
2609
2618
|
padding: 32px 1em;
|
2610
2619
|
margin: 1em 0;
|
2611
2620
|
background-color: #f0f4f8;
|
2612
2621
|
border-radius: 1em;
|
2622
|
+
position: relative;
|
2613
2623
|
@media (width >= 768px) {
|
2614
2624
|
padding: 4em;
|
2615
2625
|
}
|
@@ -2630,13 +2640,14 @@
|
|
2630
2640
|
width: 100%;
|
2631
2641
|
}
|
2632
2642
|
|
2633
|
-
/* ../../../../../tmp/tmp-165-
|
2643
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/widgets/RebuyDynamicBundleProducts/RebuyDynamicBundleProducts.css */
|
2634
2644
|
.RebuyDynamicBundleProducts_container {
|
2635
2645
|
padding: 32px 16px;
|
2636
2646
|
background-color: #f0f4f8;
|
2637
2647
|
border-radius: 16px;
|
2638
2648
|
max-width: 768px;
|
2639
2649
|
margin: 16px 0;
|
2650
|
+
position: relative;
|
2640
2651
|
@media (width >= 768px) {
|
2641
2652
|
padding: 64px;
|
2642
2653
|
}
|
@@ -2718,7 +2729,7 @@
|
|
2718
2729
|
opacity: 0.5;
|
2719
2730
|
}
|
2720
2731
|
|
2721
|
-
/* ../../../../../tmp/tmp-165-
|
2732
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/widgets/RebuyProductAddOns/RebuyProductAddOns.css */
|
2722
2733
|
.RebuyProductAddOns_container {
|
2723
2734
|
display: flex;
|
2724
2735
|
flex-direction: column;
|
@@ -2727,6 +2738,7 @@
|
|
2727
2738
|
background-color: #f0f4f8;
|
2728
2739
|
border-radius: 16px;
|
2729
2740
|
padding: 32px 16px;
|
2741
|
+
position: relative;
|
2730
2742
|
@media (width >= 768px) {
|
2731
2743
|
padding: 64px;
|
2732
2744
|
}
|
@@ -2827,12 +2839,13 @@
|
|
2827
2839
|
justify-content: center;
|
2828
2840
|
}
|
2829
2841
|
|
2830
|
-
/* ../../../../../tmp/tmp-165-
|
2842
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/widgets/RebuyProductRecommendations/RebuyProductRecommendations.css */
|
2831
2843
|
.RebuyProductRecommendations_container {
|
2832
2844
|
padding: 32px 16px;
|
2833
2845
|
background-color: #f0f4f8;
|
2834
2846
|
border-radius: 16px;
|
2835
2847
|
margin: 16px 0;
|
2848
|
+
position: relative;
|
2836
2849
|
@media (width >= 768px) {
|
2837
2850
|
padding: 64px;
|
2838
2851
|
}
|
@@ -2844,12 +2857,13 @@
|
|
2844
2857
|
list-style: none;
|
2845
2858
|
}
|
2846
2859
|
|
2847
|
-
/* ../../../../../tmp/tmp-165-
|
2860
|
+
/* ../../../../../tmp/tmp-165-KjLeIGy7bNip/opt/atlassian/pipelines/agent/build/src/widgets/RebuyRecentlyViewedProducts/RebuyRecentlyViewedProducts.css */
|
2848
2861
|
.RebuyRecentlyViewedProducts_rebuy-recently-viewed-products-container {
|
2849
2862
|
padding: 32px 16px;
|
2850
2863
|
background-color: #f0f4f8;
|
2851
2864
|
border-radius: 16px;
|
2852
2865
|
margin: 16px 0;
|
2866
|
+
position: relative;
|
2853
2867
|
@media (width >= 768px) {
|
2854
2868
|
padding: 64px;
|
2855
2869
|
}
|