@ubnt/store.core 10.3.0-beta.5 → 10.3.0-beta.6
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/CHANGELOG.md +4 -0
- package/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/express7.jpg +0 -0
- package/lib/assets/express72.jpg +0 -0
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/plus3.svg +9 -9
- package/lib/assets/plus4.svg +9 -9
- package/lib/assets/ucgMax.jpg +0 -0
- package/lib/assets/ucgMax2.jpg +0 -0
- package/lib/assets/ucgUltra.jpg +0 -0
- package/lib/assets/ucgUltra2.jpg +0 -0
- package/lib/assets/udmProSpecial.jpg +0 -0
- package/lib/assets/udmProSpecial2.jpg +0 -0
- package/lib/assets/udr2.jpg +0 -0
- package/lib/assets/udr3.jpg +0 -0
- package/lib/assets/udr7.jpg +0 -0
- package/lib/assets/udr72.jpg +0 -0
- package/lib/components/Header/ProHeader/ProHeader.styles.js +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
- package/lib/components/ModelCompareV3/assets/CameraSecurity/ai-360.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/CameraSecurity/ai-dome.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/CameraSecurity/ai-theta.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/CameraSecurity/ai-turret.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/CameraSecurity/g4-instant.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/CameraSecurity/g4-ptz.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/CameraSecurity/g5-dome-ultra.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/CameraSecurity/g5-dome.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/CameraSecurity/g5-flex.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/CameraSecurity/g5-ptz.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/CameraSecurity/g5-turret-ultra.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/CameraSecurity/g6-turret.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/data/CameraSecurity.js +25 -25
- package/lib/components/ModelCompareV3/data/CameraSecurity.mjs +13 -13
- package/lib/components/ModelCompareV3/data/CloudGateways.js +15 -15
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +10 -10
- package/lib/components/ModelCompareV3/data/products/express7.js +1 -1
- package/lib/components/ModelCompareV3/data/products/express7.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udr7.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udr7.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
## Releases
|
|
8
8
|
|
|
9
|
+
### 10.3.0-beta.6
|
|
10
|
+
|
|
11
|
+
- [Fix] [NEP-4294](https://unifiprojects.atlassian.net/browse/NEP-4294) Adjust cart preview popover alignment
|
|
12
|
+
|
|
9
13
|
### 10.3.0-beta.5
|
|
10
14
|
|
|
11
15
|
- [Fix] [NEP-4294](https://unifiprojects.atlassian.net/browse/NEP-4294) Handle cart preview popover alignment properly
|
package/lib/assets/attention.svg
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<circle cx="
|
|
3
|
-
<path d="
|
|
4
|
-
<path d="
|
|
5
|
-
<circle cx="
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="8" cy="8" r="8" fill="#A4A7B5"/>
|
|
3
|
+
<path d="M12.1136 10.125L8.64952 4.125C8.36084 3.625 7.63916 3.625 7.35048 4.125L3.88638 10.125C3.5977 10.625 3.95855 11.25 4.5359 11.25H11.4641C12.0415 11.25 12.4023 10.625 12.1136 10.125Z" stroke="white" stroke-width="0.5"/>
|
|
4
|
+
<path d="M8.19799 8.11407L8.42929 6.49497C8.46661 6.23373 8.2639 6 8 6C7.7361 6 7.53339 6.23373 7.57071 6.49497L7.80201 8.11407C7.83472 8.34302 8.16528 8.34303 8.19799 8.11407Z" fill="white"/>
|
|
5
|
+
<circle cx="8" cy="9.5" r="0.5" fill="white"/>
|
|
6
6
|
</svg>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<circle cx="
|
|
3
|
-
<path d="
|
|
4
|
-
<path d="
|
|
5
|
-
<circle cx="
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="9" cy="9" r="9" fill="#F7D55E"/>
|
|
3
|
+
<path d="M9.73071 4.64062C9.40595 4.07813 8.59405 4.07812 8.26929 4.64062L4.37218 11.3906C4.04742 11.9531 4.45336 12.6562 5.10288 12.6562H12.8971C13.5466 12.6562 13.9526 11.9531 13.6278 11.3906L9.73071 4.64062Z" stroke="white" stroke-width="0.5625"/>
|
|
4
|
+
<path d="M9.22274 9.12833L9.48295 7.30685C9.52494 7.01295 9.29688 6.75 9 6.75C8.70312 6.75 8.47506 7.01295 8.51705 7.30685L8.77726 9.12833C8.81406 9.3859 9.18594 9.3859 9.22274 9.12833Z" fill="white"/>
|
|
5
|
+
<circle cx="9" cy="10.6875" r="0.5625" fill="#F7D55E"/>
|
|
6
6
|
</svg>
|
package/lib/assets/express7.jpg
CHANGED
|
Binary file
|
package/lib/assets/express72.jpg
CHANGED
|
Binary file
|
package/lib/assets/minus4.svg
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
1
|
+
<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_426_15898" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
|
|
3
|
+
<g clip-path="url(#clip0_426_15898)">
|
|
4
|
+
<path d="M5.16287 2.9397H0.697754V3.38621H5.16287V2.9397Z" fill="#838691"/>
|
|
5
5
|
</g>
|
|
6
6
|
</mask>
|
|
7
|
-
<g mask="url(#
|
|
8
|
-
<rect x="0.
|
|
7
|
+
<g mask="url(#mask0_426_15898)">
|
|
8
|
+
<rect x="0.697754" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
|
|
9
9
|
</g>
|
|
10
10
|
<defs>
|
|
11
|
-
<clipPath id="
|
|
12
|
-
<rect width="
|
|
11
|
+
<clipPath id="clip0_426_15898">
|
|
12
|
+
<rect width="4.46512" height="4.46512" fill="white" transform="translate(0.697754 0.930176)"/>
|
|
13
13
|
</clipPath>
|
|
14
14
|
</defs>
|
|
15
15
|
</svg>
|
package/lib/assets/minus5.svg
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
1
|
+
<svg width="11" height="10" viewBox="0 0 11 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_658_406" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="11" height="10">
|
|
3
|
+
<g clip-path="url(#clip0_658_406)">
|
|
4
|
+
<path d="M10.2546 4.35H0.587891V5.31667H10.2546V4.35Z" fill="#838691"/>
|
|
5
5
|
</g>
|
|
6
6
|
</mask>
|
|
7
|
-
<g mask="url(#
|
|
8
|
-
<rect x="0.
|
|
7
|
+
<g mask="url(#mask0_658_406)">
|
|
8
|
+
<rect x="0.587891" width="9.66667" height="9.66667" fill="#838691"/>
|
|
9
9
|
</g>
|
|
10
10
|
<defs>
|
|
11
|
-
<clipPath id="
|
|
12
|
-
<rect width="
|
|
11
|
+
<clipPath id="clip0_658_406">
|
|
12
|
+
<rect width="9.66667" height="9.66667" fill="white" transform="translate(0.587891)"/>
|
|
13
13
|
</clipPath>
|
|
14
14
|
</defs>
|
|
15
15
|
</svg>
|
package/lib/assets/plus3.svg
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="
|
|
1
|
+
<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_426_15903" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
|
|
3
|
+
<g clip-path="url(#clip0_426_15903)">
|
|
4
|
+
<path d="M5.30227 2.9397H0.837158V3.38621H5.30227V2.9397Z" fill="#838691"/>
|
|
5
|
+
<path d="M2.84668 0.930147L2.84668 5.39526H3.29319L3.29319 0.930147H2.84668Z" fill="#838691"/>
|
|
6
6
|
</g>
|
|
7
7
|
</mask>
|
|
8
|
-
<g mask="url(#
|
|
9
|
-
<rect x="0.
|
|
8
|
+
<g mask="url(#mask0_426_15903)">
|
|
9
|
+
<rect x="0.837158" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
|
|
10
10
|
</g>
|
|
11
11
|
<defs>
|
|
12
|
-
<clipPath id="
|
|
13
|
-
<rect width="
|
|
12
|
+
<clipPath id="clip0_426_15903">
|
|
13
|
+
<rect width="4.46512" height="4.46512" fill="white" transform="translate(0.837158 0.930176)"/>
|
|
14
14
|
</clipPath>
|
|
15
15
|
</defs>
|
|
16
16
|
</svg>
|
package/lib/assets/plus4.svg
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="
|
|
1
|
+
<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_658_411" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="10" height="10">
|
|
3
|
+
<g clip-path="url(#clip0_658_411)">
|
|
4
|
+
<path d="M9.86637 4.35H0.199707V5.31667H9.86637V4.35Z" fill="#838691"/>
|
|
5
|
+
<path d="M4.5498 -2.86102e-06L4.5498 9.66666H5.51647L5.51647 -2.86102e-06H4.5498Z" fill="#838691"/>
|
|
6
6
|
</g>
|
|
7
7
|
</mask>
|
|
8
|
-
<g mask="url(#
|
|
9
|
-
<rect x="0.
|
|
8
|
+
<g mask="url(#mask0_658_411)">
|
|
9
|
+
<rect x="0.199707" width="9.66667" height="9.66667" fill="#838691"/>
|
|
10
10
|
</g>
|
|
11
11
|
<defs>
|
|
12
|
-
<clipPath id="
|
|
13
|
-
<rect width="
|
|
12
|
+
<clipPath id="clip0_658_411">
|
|
13
|
+
<rect width="9.66667" height="9.66667" fill="white" transform="translate(0.199707)"/>
|
|
14
14
|
</clipPath>
|
|
15
15
|
</defs>
|
|
16
16
|
</svg>
|
package/lib/assets/ucgMax.jpg
CHANGED
|
Binary file
|
package/lib/assets/ucgMax2.jpg
CHANGED
|
Binary file
|
package/lib/assets/ucgUltra.jpg
CHANGED
|
Binary file
|
package/lib/assets/ucgUltra2.jpg
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/assets/udr2.jpg
CHANGED
|
Binary file
|
package/lib/assets/udr3.jpg
CHANGED
|
Binary file
|
package/lib/assets/udr7.jpg
CHANGED
|
Binary file
|
package/lib/assets/udr72.jpg
CHANGED
|
Binary file
|
|
@@ -453,7 +453,7 @@ const DesktopCartPreviewContainer = styled__default["default"].div`
|
|
|
453
453
|
`;
|
|
454
454
|
const DesktopCartPreviewContainerInner = styled__default["default"].div`
|
|
455
455
|
position: absolute;
|
|
456
|
-
top:
|
|
456
|
+
top: -3px;
|
|
457
457
|
right: 0;
|
|
458
458
|
`;
|
|
459
459
|
exports.AvatarWrap = AvatarWrap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProHeader.styles.js","sources":["../../../../src/components/Header/ProHeader/ProHeader.styles.tsx"],"sourcesContent":["import { LineLoader as LineLoaderBase } from \"@ubnt/ui-components/LineLoader\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { SearchInput } from \"../../Search\";\nimport {\n Input,\n InputWrap,\n IconWrap as SearchIconWrap,\n} from \"../../Search/Input/Input.styles\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport {\n cssStickyEmbedHeader,\n Header,\n HEADER_GAP_SIZE_SMALL,\n HEADER_HEIGHT,\n IconWrap,\n SvgIcon,\n} from \"../Header.styles\";\n\nexport const WRAP_GAP = 14;\nexport const CATEGORY_ITEMS_GAP = 24;\n\n// #############################################################################\n// Types\n// #############################################################################\ninterface ProHideBreakpoints {\n hideBreakpoint?: string;\n}\n\n// #############################################################################\n// Mixins\n// #############################################################################\nconst cssHideBreakpoints = css<ProHideBreakpoints>`\n ${({ hideBreakpoint }) =>\n hideBreakpoint &&\n css`\n @media ${hideBreakpoint} {\n display: none;\n }\n `}\n`;\n\n// #############################################################################\n// Components\n// #############################################################################\nexport const Wrap = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ${WRAP_GAP}px;\n\n height: ${HEADER_HEIGHT}px;\n\n /* General font config */\n font-size: 14px;\n line-height: ${20 / 14};\n`;\n\ntype LeftWrapProps = ProHideBreakpoints & { $addSpaceOnDesktop?: boolean };\n\nexport const UispDivider = styled.div<ProHideBreakpoints>`\n height: 14px;\n width: 1px;\n border-radius: 4px;\n background-color: #808893;\n`;\n\nexport const UispLabel = styled.div<{ $active: boolean }>`\n color: #808893;\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n ${({ $active }) =>\n $active &&\n css`\n color: #006fff;\n `}\n\n &&:hover {\n color: #006fff;\n }\n`;\n\nexport const LeftWrap = styled.div<LeftWrapProps>`\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: 100%;\n gap: 12px;\n\n ${cssHideBreakpoints}\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n `\n : css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n }\n `}\n`;\n\nexport const RightWrap = styled(LeftWrap)`\n /* Relative necessary for CartPreview */\n position: relative;\n\n justify-content: flex-end;\n margin-left: 0;\n gap: 4px;\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n `\n : css`\n margin-right: -6px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n }\n `}\n`;\n\nexport const CenterWrap = styled.div<ProHideBreakpoints>`\n display: flex;\n gap: 16px;\n justify-content: center;\n align-items: center;\n flex: 2;\n\n ${cssHideBreakpoints}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n padding: 0 8px;\n }\n`;\n\nexport const ProHeader = styled(Header)<{ isStickyEmbed?: boolean }>`\n ${({ isStickyEmbed }) =>\n isStickyEmbed &&\n css`\n background-color: transparent;\n backdrop-filter: none;\n box-shadow: none;\n top: env(safe-area-inset-top);\n `}\n`;\n\ntype ProHeaderWrapProps = { $sticky?: boolean; $disableBlur?: boolean };\nexport const ProHeaderWrap = styled.div<ProHeaderWrapProps>`\n ${({ $sticky }) => $sticky && cssStickyEmbedHeader}\n\n /* Disabling blur because it doesn't allow to overflow inner content like language switcher on mobile */\n ${({ $disableBlur }) =>\n $disableBlur &&\n css`\n backdrop-filter: none;\n `}\n`;\n\nexport const SearchWrap = styled.div`\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 24px;\n position: relative;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n gap: 8px;\n }\n`;\n\ntype SearchProps = ProHideBreakpoints & {\n isSearchFocused: boolean;\n focusedWidth: number;\n};\nexport const Search = styled(SearchInput)<SearchProps>`\n ${InputWrap} {\n border: none;\n border-radius: 53px;\n justify-content: center;\n\n &::placeholder {\n font-size: 14px;\n line-height: 1.43;\n color: ${theme.colors.black45};\n }\n\n ${({ isSearchFocused }) =>\n isSearchFocused &&\n css`\n box-shadow: 0 0 0 1px ${theme.colors.primaryBlue};\n `}\n }\n\n ${Input} {\n transition: width 0.3s;\n width: ${({ isSearchFocused, focusedWidth }) =>\n isSearchFocused ? \"100%\" : `${focusedWidth}px`};\n }\n\n ${SearchIconWrap} {\n color: #393939;\n }\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-grow: 1;\n }\n\n ${cssHideBreakpoints}\n`;\n\nexport const SearchCancel = styled.div`\n cursor: pointer;\n color: ${theme.colors.primaryBlue};\n text-align: center;\n font-size: 14px;\n line-height: ${20 / 14};\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n font-size: 16px;\n line-height: ${24 / 16};\n }\n`;\n\nexport const CountryButton = styled.button`\n color: ${theme.colors.menu.text.light};\n background: transparent;\n border: none;\n display: flex;\n justify-content: center;\n align-items: center;\n letter-spacing: -0.002em;\n font-weight: 400;\n font-size: 13px;\n line-height: 14px;\n padding: 9px 12px;\n cursor: pointer;\n gap: 5px;\n margin-left: 9px;\n\n &:hover {\n background-color: #ededf0;\n border-radius: 4px;\n }\n\n &::after {\n content: \"\";\n width: 0;\n height: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n border-top: 5px solid ${theme.colors.menu.text.light};\n }\n`;\n\nexport const VerticalDivider = styled.div<ProHideBreakpoints>`\n height: 16px;\n width: 1px;\n background-color: ${theme.colors.mischka};\n margin: 0 4px;\n\n ${cssHideBreakpoints}\n`;\n\ntype ProIconWrapProps = ProHideBreakpoints & {\n $negativeMargin?: boolean;\n $isDefaultCursor?: boolean;\n};\nexport const ProIconWrap = styled(IconWrap)<ProIconWrapProps>`\n ${cssHideBreakpoints}\n\n ${({ $negativeMargin }) =>\n $negativeMargin &&\n css`\n margin-left: -6px;\n `}\n\n ${({ $isDefaultCursor }) =>\n $isDefaultCursor &&\n css`\n cursor: default;\n `}\n`;\n\ntype ProIconInnerFillWrapProps = { $active?: boolean; $transparent?: boolean };\nexport const ProIconInnerFillWrap = styled.div<ProIconInnerFillWrapProps>`\n background: ${({ $transparent }) =>\n $transparent ? \"transparent\" : theme.colors.athensGreyLight};\n width: 32px;\n height: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n\n ${({ $active }) =>\n $active &&\n css`\n background: ${theme.colors.primaryBlue};\n\n ${SvgIcon} {\n color: ${theme.colors.white};\n }\n `}\n`;\n\nexport const BreakpointsWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n`;\n\nexport const AvatarWrap = styled.div`\n align-items: center;\n border: 1px solid #006fff;\n box-shadow: none;\n cursor: pointer;\n display: flex;\n height: 24px;\n justify-content: center;\n margin-bottom: 0;\n outline: 1px solid #006fff;\n overflow: hidden;\n width: 24px;\n background: #ededf0;\n border-radius: 50%;\n\n img {\n height: 24px;\n min-height: 24px;\n min-width: 24px;\n width: 24px;\n object-fit: cover;\n }\n`;\n\nexport const InlineCategoryWrap = styled.div<{ $hide?: boolean }>`\n width: 100%;\n height: ${HEADER_HEIGHT}px;\n\n ${({ $hide }) =>\n $hide &&\n css`\n display: none;\n `}\n`;\n\ntype CurrentStoreWrapProps = ProHideBreakpoints & { $inheritFonts?: boolean };\nexport const CurrentStoreWrap = styled.div<CurrentStoreWrapProps>`\n ${cssHideBreakpoints};\n\n padding: 4px;\n padding-right: 0;\n display: flex;\n align-items: center;\n gap: 4px;\n\n white-space: nowrap;\n color: #50565e;\n font-size: 12px;\n line-height: ${16 / 12};\n\n ${({ $inheritFonts }) =>\n $inheritFonts &&\n css`\n color: inherit;\n font-size: inherit;\n line-height: inherit;\n `}\n\n ${({ onClick }) =>\n onClick &&\n css`\n cursor: pointer;\n `}\n`;\n\nexport const CurrentStoreFlag = styled.div`\n flex-shrink: 0;\n padding: 2.5px;\n width: 15px;\n height: 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n * {\n flex-shrink: 0;\n }\n`;\n\nexport const LineLoader = styled(LineLoaderBase)`\n z-index: ${theme.zIndex.header + 1};\n` as typeof LineLoaderBase;\n\nexport const ProductLineSelectorList = styled.div<{ $show: boolean }>`\n background-color: #fff;\n position: absolute;\n top: calc(100% - 5px);\n left: 50%;\n transform: translateX(-50%);\n display: ${({ $show }) => ($show ? \"flex\" : \"none\")};\n gap: 24px;\n padding: 12px 21px;\n z-index: 100000;\n border-radius: 8px;\n box-shadow:\n 0 8px 24px 0 #21232714,\n 0 8px 1px 0 #21232714;\n box-shadow:\n 0 8px 24px 0 rgb(33 35 39 / 0.08),\n 0 0 24px 0 rgb(33 35 39 / 0.08);\n`;\n\nexport const ProductLineSelectorWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n\n /**\n * On this breakpoint, the dropdown list doesn't fit as we are decreasing padding\n * so we use the parent wrap as relative and put the dropdown to the very left of header content\n */\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n position: static;\n\n ${ProductLineSelectorList} {\n left: 0;\n transform: none;\n }\n }\n`;\n\nexport const ProductLineSelectorButton = styled.button<{ $active: boolean }>`\n display: flex;\n align-items: center;\n justify-content: center;\n outline: none;\n border: 0;\n padding: 0;\n margin: 0;\n background: transparent;\n transform: ${({ $active }) => ($active ? \"rotate(180deg)\" : \"rotate(0deg)\")};\n border-radius: 40px;\n background-color: #f9f9fa;\n cursor: pointer;\n\n &:hover {\n background-color: #f4f5f6;\n }\n`;\n\nexport const ProductLineSelectorListItem = styled.div<{ $active: boolean }>`\n color: ${({ $active }) => ($active ? \"#006FFF\" : \"#808893\")};\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n font-size: 16px;\n line-height: 24px;\n font-weight: ${({ $active }) => ($active ? \"700\" : \"400\")};\n\n &:hover {\n ${({ $active }) => (!$active ? \"color: #50565E\" : \"\")};\n }\n`;\n\nexport const ProductLineSelectIcon = styled(StyleableSvgImage)`\n background-color: #50565e;\n`;\n\nexport const CartContainer = styled.div`\n /* Let CartPreview position relative to RightWrap */\n position: static;\n\n height: 100%;\n display: flex;\n align-items: center;\n`;\n\nexport const DesktopCartPreviewContainer = styled.div`\n position: absolute;\n top: 100%;\n right: 0;\n height: 100%;\n z-index: 10000;\n width: 100%;\n`;\n\nexport const DesktopCartPreviewContainerInner = styled.div`\n position: absolute;\n top: 0;\n right: 0;\n`;\n"],"names":["WRAP_GAP","CATEGORY_ITEMS_GAP","cssHideBreakpoints","css","hideBreakpoint","Wrap","styled","div","HEADER_HEIGHT","UispDivider","UispLabel","$active","LeftWrap","$addSpaceOnDesktop","HEADER_GAP_SIZE_SMALL","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","RightWrap","CenterWrap","TABLET_AND_DOWN","ProHeader","Header","isStickyEmbed","ProHeaderWrap","$sticky","cssStickyEmbedHeader","$disableBlur","SearchWrap","Search","SearchInput","InputWrap","theme","colors","black45","isSearchFocused","primaryBlue","Input","focusedWidth","SearchIconWrap","SearchCancel","CountryButton","button","menu","text","light","VerticalDivider","mischka","ProIconWrap","IconWrap","$negativeMargin","$isDefaultCursor","ProIconInnerFillWrap","$transparent","athensGreyLight","SvgIcon","white","BreakpointsWrap","AvatarWrap","InlineCategoryWrap","$hide","CurrentStoreWrap","$inheritFonts","onClick","CurrentStoreFlag","LineLoader","LineLoaderBase","zIndex","header","ProductLineSelectorList","$show","ProductLineSelectorWrap","ProductLineSelectorButton","ProductLineSelectorListItem","ProductLineSelectIcon","StyleableSvgImage","CartContainer","DesktopCartPreviewContainer","DesktopCartPreviewContainerInner"],"mappings":";;;;;;;;;;;;;;;;;;;AAqBO,MAAMA,QAAW,GAAA,EAAA;AACjB,MAAMC,kBAAqB,GAAA,EAAA;AAYlC,MAAMC,kBAAqB,GAAAC,MAAA,CAAAA,GAAA;AAAA,IACvB,CAAC;EAAEC;CAAe,KAClBA,cACA,IAAAD,MAAA,CAAAA,GAAA;AAAA,eACWC,cAAc;AAAA;AAAA;AAAA,KAGxB;AAAA,CAAA;AAME,MAAMC,OAAOC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,SAIlBP,QAAQ;;AAAA,YAELQ,2BAAa;;AAAA;AAAA;AAAA,iBAIR,KAAK,EAAE;AAAA,CAAA;AAKjB,MAAMC,cAAcH,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AA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AAMqE,8BAA8BtE,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAS3C,MAAMsE,mCAAmCvE,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"ProHeader.styles.js","sources":["../../../../src/components/Header/ProHeader/ProHeader.styles.tsx"],"sourcesContent":["import { LineLoader as LineLoaderBase } from \"@ubnt/ui-components/LineLoader\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { SearchInput } from \"../../Search\";\nimport {\n Input,\n InputWrap,\n IconWrap as SearchIconWrap,\n} from \"../../Search/Input/Input.styles\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport {\n cssStickyEmbedHeader,\n Header,\n HEADER_GAP_SIZE_SMALL,\n HEADER_HEIGHT,\n IconWrap,\n SvgIcon,\n} from \"../Header.styles\";\n\nexport const WRAP_GAP = 14;\nexport const CATEGORY_ITEMS_GAP = 24;\n\n// #############################################################################\n// Types\n// #############################################################################\ninterface ProHideBreakpoints {\n hideBreakpoint?: string;\n}\n\n// #############################################################################\n// Mixins\n// #############################################################################\nconst cssHideBreakpoints = css<ProHideBreakpoints>`\n ${({ hideBreakpoint }) =>\n hideBreakpoint &&\n css`\n @media ${hideBreakpoint} {\n display: none;\n }\n `}\n`;\n\n// #############################################################################\n// Components\n// #############################################################################\nexport const Wrap = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ${WRAP_GAP}px;\n\n height: ${HEADER_HEIGHT}px;\n\n /* General font config */\n font-size: 14px;\n line-height: ${20 / 14};\n`;\n\ntype LeftWrapProps = ProHideBreakpoints & { $addSpaceOnDesktop?: boolean };\n\nexport const UispDivider = styled.div<ProHideBreakpoints>`\n height: 14px;\n width: 1px;\n border-radius: 4px;\n background-color: #808893;\n`;\n\nexport const UispLabel = styled.div<{ $active: boolean }>`\n color: #808893;\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n ${({ $active }) =>\n $active &&\n css`\n color: #006fff;\n `}\n\n &&:hover {\n color: #006fff;\n }\n`;\n\nexport const LeftWrap = styled.div<LeftWrapProps>`\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: 100%;\n gap: 12px;\n\n ${cssHideBreakpoints}\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n `\n : css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n }\n `}\n`;\n\nexport const RightWrap = styled(LeftWrap)`\n /* Relative necessary for CartPreview */\n position: relative;\n\n justify-content: flex-end;\n margin-left: 0;\n gap: 4px;\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n `\n : css`\n margin-right: -6px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n }\n `}\n`;\n\nexport const CenterWrap = styled.div<ProHideBreakpoints>`\n display: flex;\n gap: 16px;\n justify-content: center;\n align-items: center;\n flex: 2;\n\n ${cssHideBreakpoints}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n padding: 0 8px;\n }\n`;\n\nexport const ProHeader = styled(Header)<{ isStickyEmbed?: boolean }>`\n ${({ isStickyEmbed }) =>\n isStickyEmbed &&\n css`\n background-color: transparent;\n backdrop-filter: none;\n box-shadow: none;\n top: env(safe-area-inset-top);\n `}\n`;\n\ntype ProHeaderWrapProps = { $sticky?: boolean; $disableBlur?: boolean };\nexport const ProHeaderWrap = styled.div<ProHeaderWrapProps>`\n ${({ $sticky }) => $sticky && cssStickyEmbedHeader}\n\n /* Disabling blur because it doesn't allow to overflow inner content like language switcher on mobile */\n ${({ $disableBlur }) =>\n $disableBlur &&\n css`\n backdrop-filter: none;\n `}\n`;\n\nexport const SearchWrap = styled.div`\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 24px;\n position: relative;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n gap: 8px;\n }\n`;\n\ntype SearchProps = ProHideBreakpoints & {\n isSearchFocused: boolean;\n focusedWidth: number;\n};\nexport const Search = styled(SearchInput)<SearchProps>`\n ${InputWrap} {\n border: none;\n border-radius: 53px;\n justify-content: center;\n\n &::placeholder {\n font-size: 14px;\n line-height: 1.43;\n color: ${theme.colors.black45};\n }\n\n ${({ isSearchFocused }) =>\n isSearchFocused &&\n css`\n box-shadow: 0 0 0 1px ${theme.colors.primaryBlue};\n `}\n }\n\n ${Input} {\n transition: width 0.3s;\n width: ${({ isSearchFocused, focusedWidth }) =>\n isSearchFocused ? \"100%\" : `${focusedWidth}px`};\n }\n\n ${SearchIconWrap} {\n color: #393939;\n }\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-grow: 1;\n }\n\n ${cssHideBreakpoints}\n`;\n\nexport const SearchCancel = styled.div`\n cursor: pointer;\n color: ${theme.colors.primaryBlue};\n text-align: center;\n font-size: 14px;\n line-height: ${20 / 14};\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n font-size: 16px;\n line-height: ${24 / 16};\n }\n`;\n\nexport const CountryButton = styled.button`\n color: ${theme.colors.menu.text.light};\n background: transparent;\n border: none;\n display: flex;\n justify-content: center;\n align-items: center;\n letter-spacing: -0.002em;\n font-weight: 400;\n font-size: 13px;\n line-height: 14px;\n padding: 9px 12px;\n cursor: pointer;\n gap: 5px;\n margin-left: 9px;\n\n &:hover {\n background-color: #ededf0;\n border-radius: 4px;\n }\n\n &::after {\n content: \"\";\n width: 0;\n height: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n border-top: 5px solid ${theme.colors.menu.text.light};\n }\n`;\n\nexport const VerticalDivider = styled.div<ProHideBreakpoints>`\n height: 16px;\n width: 1px;\n background-color: ${theme.colors.mischka};\n margin: 0 4px;\n\n ${cssHideBreakpoints}\n`;\n\ntype ProIconWrapProps = ProHideBreakpoints & {\n $negativeMargin?: boolean;\n $isDefaultCursor?: boolean;\n};\nexport const ProIconWrap = styled(IconWrap)<ProIconWrapProps>`\n ${cssHideBreakpoints}\n\n ${({ $negativeMargin }) =>\n $negativeMargin &&\n css`\n margin-left: -6px;\n `}\n\n ${({ $isDefaultCursor }) =>\n $isDefaultCursor &&\n css`\n cursor: default;\n `}\n`;\n\ntype ProIconInnerFillWrapProps = { $active?: boolean; $transparent?: boolean };\nexport const ProIconInnerFillWrap = styled.div<ProIconInnerFillWrapProps>`\n background: ${({ $transparent }) =>\n $transparent ? \"transparent\" : theme.colors.athensGreyLight};\n width: 32px;\n height: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n\n ${({ $active }) =>\n $active &&\n css`\n background: ${theme.colors.primaryBlue};\n\n ${SvgIcon} {\n color: ${theme.colors.white};\n }\n `}\n`;\n\nexport const BreakpointsWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n`;\n\nexport const AvatarWrap = styled.div`\n align-items: center;\n border: 1px solid #006fff;\n box-shadow: none;\n cursor: pointer;\n display: flex;\n height: 24px;\n justify-content: center;\n margin-bottom: 0;\n outline: 1px solid #006fff;\n overflow: hidden;\n width: 24px;\n background: #ededf0;\n border-radius: 50%;\n\n img {\n height: 24px;\n min-height: 24px;\n min-width: 24px;\n width: 24px;\n object-fit: cover;\n }\n`;\n\nexport const InlineCategoryWrap = styled.div<{ $hide?: boolean }>`\n width: 100%;\n height: ${HEADER_HEIGHT}px;\n\n ${({ $hide }) =>\n $hide &&\n css`\n display: none;\n `}\n`;\n\ntype CurrentStoreWrapProps = ProHideBreakpoints & { $inheritFonts?: boolean };\nexport const CurrentStoreWrap = styled.div<CurrentStoreWrapProps>`\n ${cssHideBreakpoints};\n\n padding: 4px;\n padding-right: 0;\n display: flex;\n align-items: center;\n gap: 4px;\n\n white-space: nowrap;\n color: #50565e;\n font-size: 12px;\n line-height: ${16 / 12};\n\n ${({ $inheritFonts }) =>\n $inheritFonts &&\n css`\n color: inherit;\n font-size: inherit;\n line-height: inherit;\n `}\n\n ${({ onClick }) =>\n onClick &&\n css`\n cursor: pointer;\n `}\n`;\n\nexport const CurrentStoreFlag = styled.div`\n flex-shrink: 0;\n padding: 2.5px;\n width: 15px;\n height: 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n * {\n flex-shrink: 0;\n }\n`;\n\nexport const LineLoader = styled(LineLoaderBase)`\n z-index: ${theme.zIndex.header + 1};\n` as typeof LineLoaderBase;\n\nexport const ProductLineSelectorList = styled.div<{ $show: boolean }>`\n background-color: #fff;\n position: absolute;\n top: calc(100% - 5px);\n left: 50%;\n transform: translateX(-50%);\n display: ${({ $show }) => ($show ? \"flex\" : \"none\")};\n gap: 24px;\n padding: 12px 21px;\n z-index: 100000;\n border-radius: 8px;\n box-shadow:\n 0 8px 24px 0 #21232714,\n 0 8px 1px 0 #21232714;\n box-shadow:\n 0 8px 24px 0 rgb(33 35 39 / 0.08),\n 0 0 24px 0 rgb(33 35 39 / 0.08);\n`;\n\nexport const ProductLineSelectorWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n\n /**\n * On this breakpoint, the dropdown list doesn't fit as we are decreasing padding\n * so we use the parent wrap as relative and put the dropdown to the very left of header content\n */\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n position: static;\n\n ${ProductLineSelectorList} {\n left: 0;\n transform: none;\n }\n }\n`;\n\nexport const ProductLineSelectorButton = styled.button<{ $active: boolean }>`\n display: flex;\n align-items: center;\n justify-content: center;\n outline: none;\n border: 0;\n padding: 0;\n margin: 0;\n background: transparent;\n transform: ${({ $active }) => ($active ? \"rotate(180deg)\" : \"rotate(0deg)\")};\n border-radius: 40px;\n background-color: #f9f9fa;\n cursor: pointer;\n\n &:hover {\n background-color: #f4f5f6;\n }\n`;\n\nexport const ProductLineSelectorListItem = styled.div<{ $active: boolean }>`\n color: ${({ $active }) => ($active ? \"#006FFF\" : \"#808893\")};\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n font-size: 16px;\n line-height: 24px;\n font-weight: ${({ $active }) => ($active ? \"700\" : \"400\")};\n\n &:hover {\n ${({ $active }) => (!$active ? \"color: #50565E\" : \"\")};\n }\n`;\n\nexport const ProductLineSelectIcon = styled(StyleableSvgImage)`\n background-color: #50565e;\n`;\n\nexport const CartContainer = styled.div`\n /* Let CartPreview position relative to RightWrap */\n position: static;\n\n height: 100%;\n display: flex;\n align-items: center;\n`;\n\nexport const DesktopCartPreviewContainer = styled.div`\n position: absolute;\n top: 100%;\n right: 0;\n height: 100%;\n z-index: 10000;\n width: 100%;\n`;\n\nexport const DesktopCartPreviewContainerInner = styled.div`\n position: absolute;\n top: -3px;\n right: 0;\n`;\n"],"names":["WRAP_GAP","CATEGORY_ITEMS_GAP","cssHideBreakpoints","css","hideBreakpoint","Wrap","styled","div","HEADER_HEIGHT","UispDivider","UispLabel","$active","LeftWrap","$addSpaceOnDesktop","HEADER_GAP_SIZE_SMALL","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","RightWrap","CenterWrap","TABLET_AND_DOWN","ProHeader","Header","isStickyEmbed","ProHeaderWrap","$sticky","cssStickyEmbedHeader","$disableBlur","SearchWrap","Search","SearchInput","InputWrap","theme","colors","black45","isSearchFocused","primaryBlue","Input","focusedWidth","SearchIconWrap","SearchCancel","CountryButton","button","menu","text","light","VerticalDivider","mischka","ProIconWrap","IconWrap","$negativeMargin","$isDefaultCursor","ProIconInnerFillWrap","$transparent","athensGreyLight","SvgIcon","white","BreakpointsWrap","AvatarWrap","InlineCategoryWrap","$hide","CurrentStoreWrap","$inheritFonts","onClick","CurrentStoreFlag","LineLoader","LineLoaderBase","zIndex","header","ProductLineSelectorList","$show","ProductLineSelectorWrap","ProductLineSelectorButton","ProductLineSelectorListItem","ProductLineSelectIcon","StyleableSvgImage","CartContainer","DesktopCartPreviewContainer","DesktopCartPreviewContainerInner"],"mappings":";;;;;;;;;;;;;;;;;;;AAqBO,MAAMA,QAAW,GAAA,EAAA;AACjB,MAAMC,kBAAqB,GAAA,EAAA;AAYlC,MAAMC,kBAAqB,GAAAC,MAAA,CAAAA,GAAA;AAAA,IACvB,CAAC;EAAEC;CAAe,KAClBA,cACA,IAAAD,MAAA,CAAAA,GAAA;AAAA,eACWC,cAAc;AAAA;AAAA;AAAA,KAGxB;AAAA,CAAA;AAME,MAAMC,OAAOC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,SAIlBP,QAAQ;;AAAA,YAELQ,2BAAa;;AAAA;AAAA;AAAA,iBAIR,KAAK,EAAE;AAAA,CAAA;AAKjB,MAAMC,cAAcH,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAO3B,MAAMG,YAAYJ,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAK5B,CAAC;EAAEI;CAAQ,KACXA,OACA,IAAAR,MAAA,CAAAA,GAAA;AAAA;AAAA,KAEC;;AAAA;AAAA;AAAA;AAAA,CAAA;AAOE,MAAMS,WAAWN,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA,IAQ3BL,kBAAkB;;AAAA,IAElB,CAAC;EAAEW;CAAmB,KACtBA,kBACI,GAAAV,MAAA,CAAAA,GAAA;AAAA,yBACiBW,mCAAqB;AAAA,SAEtC,GAAAX,MAAA,CAAAA,GAAA;AAA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MG,4BAA4BjE,eAAO,CAAA,SAAA,CAAA,CAAAmC,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eASjC,CAAC;EAAE9B;AAAA,CAAe,KAAAA,OAAA,GAAU,mBAAmB,cAAe;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA,CAAA;AAUtE,MAAM6D,8BAA8BlE,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA,WACvC,CAAC;EAAEI;AAAA,CAAe,KAAAA,OAAA,GAAU,YAAY,SAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAO5C,CAAC;EAAEA;AAAA,CAAe,KAAAA,OAAA,GAAU,QAAQ,KAAM;;AAAA;AAAA,MAGrD,CAAC;EAAEA;MAAe,CAACA,OAAA,GAAU,mBAAmB,EAAG;AAAA;AAAA,CAAA;AAI5C,MAAA8D,qBAAA,GAAwBnE,2BAAOoE,mCAAiB,CAAA;AAAA;AAAA,CAAA;AAItD,MAAMC,gBAAgBrE,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA,CAAA;AAS7B,MAAMqE,8BAA8BtE,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAS3C,MAAMsE,mCAAmCvE,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -445,7 +445,7 @@ const DesktopCartPreviewContainer = styled.div`
|
|
|
445
445
|
`;
|
|
446
446
|
const DesktopCartPreviewContainerInner = styled.div`
|
|
447
447
|
position: absolute;
|
|
448
|
-
top:
|
|
448
|
+
top: -3px;
|
|
449
449
|
right: 0;
|
|
450
450
|
`;
|
|
451
451
|
export { AvatarWrap, BreakpointsWrap, CATEGORY_ITEMS_GAP, CartContainer, CenterWrap, CountryButton, CurrentStoreFlag, CurrentStoreWrap, DesktopCartPreviewContainer, DesktopCartPreviewContainerInner, InlineCategoryWrap, LeftWrap, LineLoader, ProHeader, ProHeaderWrap, ProIconInnerFillWrap, ProIconWrap, ProductLineSelectIcon, ProductLineSelectorButton, ProductLineSelectorList, ProductLineSelectorListItem, ProductLineSelectorWrap, RightWrap, Search, SearchCancel, SearchWrap, UispDivider, UispLabel, VerticalDivider, WRAP_GAP, Wrap };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProHeader.styles.mjs","sources":["../../../../src/components/Header/ProHeader/ProHeader.styles.tsx"],"sourcesContent":["import { LineLoader as LineLoaderBase } from \"@ubnt/ui-components/LineLoader\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { SearchInput } from \"../../Search\";\nimport {\n Input,\n InputWrap,\n IconWrap as SearchIconWrap,\n} from \"../../Search/Input/Input.styles\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport {\n cssStickyEmbedHeader,\n Header,\n HEADER_GAP_SIZE_SMALL,\n HEADER_HEIGHT,\n IconWrap,\n SvgIcon,\n} from \"../Header.styles\";\n\nexport const WRAP_GAP = 14;\nexport const CATEGORY_ITEMS_GAP = 24;\n\n// #############################################################################\n// Types\n// #############################################################################\ninterface ProHideBreakpoints {\n hideBreakpoint?: string;\n}\n\n// #############################################################################\n// Mixins\n// #############################################################################\nconst cssHideBreakpoints = css<ProHideBreakpoints>`\n ${({ hideBreakpoint }) =>\n hideBreakpoint &&\n css`\n @media ${hideBreakpoint} {\n display: none;\n }\n `}\n`;\n\n// #############################################################################\n// Components\n// #############################################################################\nexport const Wrap = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ${WRAP_GAP}px;\n\n height: ${HEADER_HEIGHT}px;\n\n /* General font config */\n font-size: 14px;\n line-height: ${20 / 14};\n`;\n\ntype LeftWrapProps = ProHideBreakpoints & { $addSpaceOnDesktop?: boolean };\n\nexport const UispDivider = styled.div<ProHideBreakpoints>`\n height: 14px;\n width: 1px;\n border-radius: 4px;\n background-color: #808893;\n`;\n\nexport const UispLabel = styled.div<{ $active: boolean }>`\n color: #808893;\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n ${({ $active }) =>\n $active &&\n css`\n color: #006fff;\n `}\n\n &&:hover {\n color: #006fff;\n }\n`;\n\nexport const LeftWrap = styled.div<LeftWrapProps>`\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: 100%;\n gap: 12px;\n\n ${cssHideBreakpoints}\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n `\n : css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n }\n `}\n`;\n\nexport const RightWrap = styled(LeftWrap)`\n /* Relative necessary for CartPreview */\n position: relative;\n\n justify-content: flex-end;\n margin-left: 0;\n gap: 4px;\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n `\n : css`\n margin-right: -6px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n }\n `}\n`;\n\nexport const CenterWrap = styled.div<ProHideBreakpoints>`\n display: flex;\n gap: 16px;\n justify-content: center;\n align-items: center;\n flex: 2;\n\n ${cssHideBreakpoints}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n padding: 0 8px;\n }\n`;\n\nexport const ProHeader = styled(Header)<{ isStickyEmbed?: boolean }>`\n ${({ isStickyEmbed }) =>\n isStickyEmbed &&\n css`\n background-color: transparent;\n backdrop-filter: none;\n box-shadow: none;\n top: env(safe-area-inset-top);\n `}\n`;\n\ntype ProHeaderWrapProps = { $sticky?: boolean; $disableBlur?: boolean };\nexport const ProHeaderWrap = styled.div<ProHeaderWrapProps>`\n ${({ $sticky }) => $sticky && cssStickyEmbedHeader}\n\n /* Disabling blur because it doesn't allow to overflow inner content like language switcher on mobile */\n ${({ $disableBlur }) =>\n $disableBlur &&\n css`\n backdrop-filter: none;\n `}\n`;\n\nexport const SearchWrap = styled.div`\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 24px;\n position: relative;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n gap: 8px;\n }\n`;\n\ntype SearchProps = ProHideBreakpoints & {\n isSearchFocused: boolean;\n focusedWidth: number;\n};\nexport const Search = styled(SearchInput)<SearchProps>`\n ${InputWrap} {\n border: none;\n border-radius: 53px;\n justify-content: center;\n\n &::placeholder {\n font-size: 14px;\n line-height: 1.43;\n color: ${theme.colors.black45};\n }\n\n ${({ isSearchFocused }) =>\n isSearchFocused &&\n css`\n box-shadow: 0 0 0 1px ${theme.colors.primaryBlue};\n `}\n }\n\n ${Input} {\n transition: width 0.3s;\n width: ${({ isSearchFocused, focusedWidth }) =>\n isSearchFocused ? \"100%\" : `${focusedWidth}px`};\n }\n\n ${SearchIconWrap} {\n color: #393939;\n }\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-grow: 1;\n }\n\n ${cssHideBreakpoints}\n`;\n\nexport const SearchCancel = styled.div`\n cursor: pointer;\n color: ${theme.colors.primaryBlue};\n text-align: center;\n font-size: 14px;\n line-height: ${20 / 14};\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n font-size: 16px;\n line-height: ${24 / 16};\n }\n`;\n\nexport const CountryButton = styled.button`\n color: ${theme.colors.menu.text.light};\n background: transparent;\n border: none;\n display: flex;\n justify-content: center;\n align-items: center;\n letter-spacing: -0.002em;\n font-weight: 400;\n font-size: 13px;\n line-height: 14px;\n padding: 9px 12px;\n cursor: pointer;\n gap: 5px;\n margin-left: 9px;\n\n &:hover {\n background-color: #ededf0;\n border-radius: 4px;\n }\n\n &::after {\n content: \"\";\n width: 0;\n height: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n border-top: 5px solid ${theme.colors.menu.text.light};\n }\n`;\n\nexport const VerticalDivider = styled.div<ProHideBreakpoints>`\n height: 16px;\n width: 1px;\n background-color: ${theme.colors.mischka};\n margin: 0 4px;\n\n ${cssHideBreakpoints}\n`;\n\ntype ProIconWrapProps = ProHideBreakpoints & {\n $negativeMargin?: boolean;\n $isDefaultCursor?: boolean;\n};\nexport const ProIconWrap = styled(IconWrap)<ProIconWrapProps>`\n ${cssHideBreakpoints}\n\n ${({ $negativeMargin }) =>\n $negativeMargin &&\n css`\n margin-left: -6px;\n `}\n\n ${({ $isDefaultCursor }) =>\n $isDefaultCursor &&\n css`\n cursor: default;\n `}\n`;\n\ntype ProIconInnerFillWrapProps = { $active?: boolean; $transparent?: boolean };\nexport const ProIconInnerFillWrap = styled.div<ProIconInnerFillWrapProps>`\n background: ${({ $transparent }) =>\n $transparent ? \"transparent\" : theme.colors.athensGreyLight};\n width: 32px;\n height: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n\n ${({ $active }) =>\n $active &&\n css`\n background: ${theme.colors.primaryBlue};\n\n ${SvgIcon} {\n color: ${theme.colors.white};\n }\n `}\n`;\n\nexport const BreakpointsWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n`;\n\nexport const AvatarWrap = styled.div`\n align-items: center;\n border: 1px solid #006fff;\n box-shadow: none;\n cursor: pointer;\n display: flex;\n height: 24px;\n justify-content: center;\n margin-bottom: 0;\n outline: 1px solid #006fff;\n overflow: hidden;\n width: 24px;\n background: #ededf0;\n border-radius: 50%;\n\n img {\n height: 24px;\n min-height: 24px;\n min-width: 24px;\n width: 24px;\n object-fit: cover;\n }\n`;\n\nexport const InlineCategoryWrap = styled.div<{ $hide?: boolean }>`\n width: 100%;\n height: ${HEADER_HEIGHT}px;\n\n ${({ $hide }) =>\n $hide &&\n css`\n display: none;\n `}\n`;\n\ntype CurrentStoreWrapProps = ProHideBreakpoints & { $inheritFonts?: boolean };\nexport const CurrentStoreWrap = styled.div<CurrentStoreWrapProps>`\n ${cssHideBreakpoints};\n\n padding: 4px;\n padding-right: 0;\n display: flex;\n align-items: center;\n gap: 4px;\n\n white-space: nowrap;\n color: #50565e;\n font-size: 12px;\n line-height: ${16 / 12};\n\n ${({ $inheritFonts }) =>\n $inheritFonts &&\n css`\n color: inherit;\n font-size: inherit;\n line-height: inherit;\n `}\n\n ${({ onClick }) =>\n onClick &&\n css`\n cursor: pointer;\n `}\n`;\n\nexport const CurrentStoreFlag = styled.div`\n flex-shrink: 0;\n padding: 2.5px;\n width: 15px;\n height: 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n * {\n flex-shrink: 0;\n }\n`;\n\nexport const LineLoader = styled(LineLoaderBase)`\n z-index: ${theme.zIndex.header + 1};\n` as typeof LineLoaderBase;\n\nexport const ProductLineSelectorList = styled.div<{ $show: boolean }>`\n background-color: #fff;\n position: absolute;\n top: calc(100% - 5px);\n left: 50%;\n transform: translateX(-50%);\n display: ${({ $show }) => ($show ? \"flex\" : \"none\")};\n gap: 24px;\n padding: 12px 21px;\n z-index: 100000;\n border-radius: 8px;\n box-shadow:\n 0 8px 24px 0 #21232714,\n 0 8px 1px 0 #21232714;\n box-shadow:\n 0 8px 24px 0 rgb(33 35 39 / 0.08),\n 0 0 24px 0 rgb(33 35 39 / 0.08);\n`;\n\nexport const ProductLineSelectorWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n\n /**\n * On this breakpoint, the dropdown list doesn't fit as we are decreasing padding\n * so we use the parent wrap as relative and put the dropdown to the very left of header content\n */\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n position: static;\n\n ${ProductLineSelectorList} {\n left: 0;\n transform: none;\n }\n }\n`;\n\nexport const ProductLineSelectorButton = styled.button<{ $active: boolean }>`\n display: flex;\n align-items: center;\n justify-content: center;\n outline: none;\n border: 0;\n padding: 0;\n margin: 0;\n background: transparent;\n transform: ${({ $active }) => ($active ? \"rotate(180deg)\" : \"rotate(0deg)\")};\n border-radius: 40px;\n background-color: #f9f9fa;\n cursor: pointer;\n\n &:hover {\n background-color: #f4f5f6;\n }\n`;\n\nexport const ProductLineSelectorListItem = styled.div<{ $active: boolean }>`\n color: ${({ $active }) => ($active ? \"#006FFF\" : \"#808893\")};\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n font-size: 16px;\n line-height: 24px;\n font-weight: ${({ $active }) => ($active ? \"700\" : \"400\")};\n\n &:hover {\n ${({ $active }) => (!$active ? \"color: #50565E\" : \"\")};\n }\n`;\n\nexport const ProductLineSelectIcon = styled(StyleableSvgImage)`\n background-color: #50565e;\n`;\n\nexport const CartContainer = styled.div`\n /* Let CartPreview position relative to RightWrap */\n position: static;\n\n height: 100%;\n display: flex;\n align-items: center;\n`;\n\nexport const DesktopCartPreviewContainer = styled.div`\n position: absolute;\n top: 100%;\n right: 0;\n height: 100%;\n z-index: 10000;\n width: 100%;\n`;\n\nexport const DesktopCartPreviewContainerInner = styled.div`\n position: absolute;\n top: 0;\n right: 0;\n`;\n"],"names":["WRAP_GAP","CATEGORY_ITEMS_GAP","cssHideBreakpoints","css","hideBreakpoint","Wrap","styled","div","HEADER_HEIGHT","UispDivider","UispLabel","$active","LeftWrap","$addSpaceOnDesktop","HEADER_GAP_SIZE_SMALL","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","RightWrap","CenterWrap","TABLET_AND_DOWN","ProHeader","Header","isStickyEmbed","ProHeaderWrap","$sticky","cssStickyEmbedHeader","$disableBlur","SearchWrap","Search","SearchInput","InputWrap","theme","colors","black45","isSearchFocused","primaryBlue","Input","focusedWidth","SearchIconWrap","SearchCancel","CountryButton","button","menu","text","light","VerticalDivider","mischka","ProIconWrap","IconWrap","$negativeMargin","$isDefaultCursor","ProIconInnerFillWrap","$transparent","athensGreyLight","SvgIcon","white","BreakpointsWrap","AvatarWrap","InlineCategoryWrap","$hide","CurrentStoreWrap","$inheritFonts","onClick","CurrentStoreFlag","LineLoader","LineLoaderBase","zIndex","header","ProductLineSelectorList","$show","ProductLineSelectorWrap","ProductLineSelectorButton","ProductLineSelectorListItem","ProductLineSelectIcon","StyleableSvgImage","CartContainer","DesktopCartPreviewContainer","DesktopCartPreviewContainerInner"],"mappings":";;;;;;;;;;;AAqBO,MAAMA,QAAW,GAAA,EAAA;AACjB,MAAMC,kBAAqB,GAAA,EAAA;AAYlC,MAAMC,kBAAqB,GAAAC,GAAA;AAAA,IACvB,CAAC;EAAEC;CAAe,KAClBA,cACA,IAAAD,GAAA;AAAA,eACWC,cAAc;AAAA;AAAA;AAAA,KAGxB;AAAA,CAAA;AAME,MAAMC,OAAOC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,SAIlBP,QAAQ;;AAAA,YAELQ,aAAa;;AAAA;AAAA;AAAA,iBAIR,KAAK,EAAE;AAAA,CAAA;AAKjB,MAAMC,cAAcH,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAO3B,MAAMG,YAAYJ,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAK5B,CAAC;EAAEI;CAAQ,KACXA,OACA,IAAAR,GAAA;AAAA;AAAA,KAEC;;AAAA;AAAA;AAAA;AAAA,CAAA;AAOE,MAAMS,WAAWN,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA,IAQ3BL,kBAAkB;;AAAA,IAElB,CAAC;EAAEW;CAAmB,KACtBA,kBACI,GAAAV,GAAA;AAAA,yBACiBW,qBAAqB;AAAA,SAEtC,GAAAX,GAAA;AAAA,mBACWY,YAAYC,uBAAuB;AAAA,2BAC3BF,qBAAqB;AAAA;AAAA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AA;AAAA;AAAA;AAAA;AAAA,CAAA;AAS3C,MAAMsE,mCAAmCvE,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
|
|
1
|
+
{"version":3,"file":"ProHeader.styles.mjs","sources":["../../../../src/components/Header/ProHeader/ProHeader.styles.tsx"],"sourcesContent":["import { LineLoader as LineLoaderBase } from \"@ubnt/ui-components/LineLoader\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { SearchInput } from \"../../Search\";\nimport {\n Input,\n InputWrap,\n IconWrap as SearchIconWrap,\n} from \"../../Search/Input/Input.styles\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport {\n cssStickyEmbedHeader,\n Header,\n HEADER_GAP_SIZE_SMALL,\n HEADER_HEIGHT,\n IconWrap,\n SvgIcon,\n} from \"../Header.styles\";\n\nexport const WRAP_GAP = 14;\nexport const CATEGORY_ITEMS_GAP = 24;\n\n// #############################################################################\n// Types\n// #############################################################################\ninterface ProHideBreakpoints {\n hideBreakpoint?: string;\n}\n\n// #############################################################################\n// Mixins\n// #############################################################################\nconst cssHideBreakpoints = css<ProHideBreakpoints>`\n ${({ hideBreakpoint }) =>\n hideBreakpoint &&\n css`\n @media ${hideBreakpoint} {\n display: none;\n }\n `}\n`;\n\n// #############################################################################\n// Components\n// #############################################################################\nexport const Wrap = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ${WRAP_GAP}px;\n\n height: ${HEADER_HEIGHT}px;\n\n /* General font config */\n font-size: 14px;\n line-height: ${20 / 14};\n`;\n\ntype LeftWrapProps = ProHideBreakpoints & { $addSpaceOnDesktop?: boolean };\n\nexport const UispDivider = styled.div<ProHideBreakpoints>`\n height: 14px;\n width: 1px;\n border-radius: 4px;\n background-color: #808893;\n`;\n\nexport const UispLabel = styled.div<{ $active: boolean }>`\n color: #808893;\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n ${({ $active }) =>\n $active &&\n css`\n color: #006fff;\n `}\n\n &&:hover {\n color: #006fff;\n }\n`;\n\nexport const LeftWrap = styled.div<LeftWrapProps>`\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: 100%;\n gap: 12px;\n\n ${cssHideBreakpoints}\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n `\n : css`\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-left: ${HEADER_GAP_SIZE_SMALL}px;\n }\n `}\n`;\n\nexport const RightWrap = styled(LeftWrap)`\n /* Relative necessary for CartPreview */\n position: relative;\n\n justify-content: flex-end;\n margin-left: 0;\n gap: 4px;\n\n ${({ $addSpaceOnDesktop }) =>\n $addSpaceOnDesktop\n ? css`\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n `\n : css`\n margin-right: -6px;\n\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n margin-right: ${HEADER_GAP_SIZE_SMALL - 6}px;\n }\n `}\n`;\n\nexport const CenterWrap = styled.div<ProHideBreakpoints>`\n display: flex;\n gap: 16px;\n justify-content: center;\n align-items: center;\n flex: 2;\n\n ${cssHideBreakpoints}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n padding: 0 8px;\n }\n`;\n\nexport const ProHeader = styled(Header)<{ isStickyEmbed?: boolean }>`\n ${({ isStickyEmbed }) =>\n isStickyEmbed &&\n css`\n background-color: transparent;\n backdrop-filter: none;\n box-shadow: none;\n top: env(safe-area-inset-top);\n `}\n`;\n\ntype ProHeaderWrapProps = { $sticky?: boolean; $disableBlur?: boolean };\nexport const ProHeaderWrap = styled.div<ProHeaderWrapProps>`\n ${({ $sticky }) => $sticky && cssStickyEmbedHeader}\n\n /* Disabling blur because it doesn't allow to overflow inner content like language switcher on mobile */\n ${({ $disableBlur }) =>\n $disableBlur &&\n css`\n backdrop-filter: none;\n `}\n`;\n\nexport const SearchWrap = styled.div`\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 24px;\n position: relative;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n gap: 8px;\n }\n`;\n\ntype SearchProps = ProHideBreakpoints & {\n isSearchFocused: boolean;\n focusedWidth: number;\n};\nexport const Search = styled(SearchInput)<SearchProps>`\n ${InputWrap} {\n border: none;\n border-radius: 53px;\n justify-content: center;\n\n &::placeholder {\n font-size: 14px;\n line-height: 1.43;\n color: ${theme.colors.black45};\n }\n\n ${({ isSearchFocused }) =>\n isSearchFocused &&\n css`\n box-shadow: 0 0 0 1px ${theme.colors.primaryBlue};\n `}\n }\n\n ${Input} {\n transition: width 0.3s;\n width: ${({ isSearchFocused, focusedWidth }) =>\n isSearchFocused ? \"100%\" : `${focusedWidth}px`};\n }\n\n ${SearchIconWrap} {\n color: #393939;\n }\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-grow: 1;\n }\n\n ${cssHideBreakpoints}\n`;\n\nexport const SearchCancel = styled.div`\n cursor: pointer;\n color: ${theme.colors.primaryBlue};\n text-align: center;\n font-size: 14px;\n line-height: ${20 / 14};\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n font-size: 16px;\n line-height: ${24 / 16};\n }\n`;\n\nexport const CountryButton = styled.button`\n color: ${theme.colors.menu.text.light};\n background: transparent;\n border: none;\n display: flex;\n justify-content: center;\n align-items: center;\n letter-spacing: -0.002em;\n font-weight: 400;\n font-size: 13px;\n line-height: 14px;\n padding: 9px 12px;\n cursor: pointer;\n gap: 5px;\n margin-left: 9px;\n\n &:hover {\n background-color: #ededf0;\n border-radius: 4px;\n }\n\n &::after {\n content: \"\";\n width: 0;\n height: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n border-top: 5px solid ${theme.colors.menu.text.light};\n }\n`;\n\nexport const VerticalDivider = styled.div<ProHideBreakpoints>`\n height: 16px;\n width: 1px;\n background-color: ${theme.colors.mischka};\n margin: 0 4px;\n\n ${cssHideBreakpoints}\n`;\n\ntype ProIconWrapProps = ProHideBreakpoints & {\n $negativeMargin?: boolean;\n $isDefaultCursor?: boolean;\n};\nexport const ProIconWrap = styled(IconWrap)<ProIconWrapProps>`\n ${cssHideBreakpoints}\n\n ${({ $negativeMargin }) =>\n $negativeMargin &&\n css`\n margin-left: -6px;\n `}\n\n ${({ $isDefaultCursor }) =>\n $isDefaultCursor &&\n css`\n cursor: default;\n `}\n`;\n\ntype ProIconInnerFillWrapProps = { $active?: boolean; $transparent?: boolean };\nexport const ProIconInnerFillWrap = styled.div<ProIconInnerFillWrapProps>`\n background: ${({ $transparent }) =>\n $transparent ? \"transparent\" : theme.colors.athensGreyLight};\n width: 32px;\n height: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n\n ${({ $active }) =>\n $active &&\n css`\n background: ${theme.colors.primaryBlue};\n\n ${SvgIcon} {\n color: ${theme.colors.white};\n }\n `}\n`;\n\nexport const BreakpointsWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n`;\n\nexport const AvatarWrap = styled.div`\n align-items: center;\n border: 1px solid #006fff;\n box-shadow: none;\n cursor: pointer;\n display: flex;\n height: 24px;\n justify-content: center;\n margin-bottom: 0;\n outline: 1px solid #006fff;\n overflow: hidden;\n width: 24px;\n background: #ededf0;\n border-radius: 50%;\n\n img {\n height: 24px;\n min-height: 24px;\n min-width: 24px;\n width: 24px;\n object-fit: cover;\n }\n`;\n\nexport const InlineCategoryWrap = styled.div<{ $hide?: boolean }>`\n width: 100%;\n height: ${HEADER_HEIGHT}px;\n\n ${({ $hide }) =>\n $hide &&\n css`\n display: none;\n `}\n`;\n\ntype CurrentStoreWrapProps = ProHideBreakpoints & { $inheritFonts?: boolean };\nexport const CurrentStoreWrap = styled.div<CurrentStoreWrapProps>`\n ${cssHideBreakpoints};\n\n padding: 4px;\n padding-right: 0;\n display: flex;\n align-items: center;\n gap: 4px;\n\n white-space: nowrap;\n color: #50565e;\n font-size: 12px;\n line-height: ${16 / 12};\n\n ${({ $inheritFonts }) =>\n $inheritFonts &&\n css`\n color: inherit;\n font-size: inherit;\n line-height: inherit;\n `}\n\n ${({ onClick }) =>\n onClick &&\n css`\n cursor: pointer;\n `}\n`;\n\nexport const CurrentStoreFlag = styled.div`\n flex-shrink: 0;\n padding: 2.5px;\n width: 15px;\n height: 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n * {\n flex-shrink: 0;\n }\n`;\n\nexport const LineLoader = styled(LineLoaderBase)`\n z-index: ${theme.zIndex.header + 1};\n` as typeof LineLoaderBase;\n\nexport const ProductLineSelectorList = styled.div<{ $show: boolean }>`\n background-color: #fff;\n position: absolute;\n top: calc(100% - 5px);\n left: 50%;\n transform: translateX(-50%);\n display: ${({ $show }) => ($show ? \"flex\" : \"none\")};\n gap: 24px;\n padding: 12px 21px;\n z-index: 100000;\n border-radius: 8px;\n box-shadow:\n 0 8px 24px 0 #21232714,\n 0 8px 1px 0 #21232714;\n box-shadow:\n 0 8px 24px 0 rgb(33 35 39 / 0.08),\n 0 0 24px 0 rgb(33 35 39 / 0.08);\n`;\n\nexport const ProductLineSelectorWrap = styled.div<ProHideBreakpoints>`\n ${cssHideBreakpoints}\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n\n /**\n * On this breakpoint, the dropdown list doesn't fit as we are decreasing padding\n * so we use the parent wrap as relative and put the dropdown to the very left of header content\n */\n @media ${BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN} {\n position: static;\n\n ${ProductLineSelectorList} {\n left: 0;\n transform: none;\n }\n }\n`;\n\nexport const ProductLineSelectorButton = styled.button<{ $active: boolean }>`\n display: flex;\n align-items: center;\n justify-content: center;\n outline: none;\n border: 0;\n padding: 0;\n margin: 0;\n background: transparent;\n transform: ${({ $active }) => ($active ? \"rotate(180deg)\" : \"rotate(0deg)\")};\n border-radius: 40px;\n background-color: #f9f9fa;\n cursor: pointer;\n\n &:hover {\n background-color: #f4f5f6;\n }\n`;\n\nexport const ProductLineSelectorListItem = styled.div<{ $active: boolean }>`\n color: ${({ $active }) => ($active ? \"#006FFF\" : \"#808893\")};\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n font-size: 16px;\n line-height: 24px;\n font-weight: ${({ $active }) => ($active ? \"700\" : \"400\")};\n\n &:hover {\n ${({ $active }) => (!$active ? \"color: #50565E\" : \"\")};\n }\n`;\n\nexport const ProductLineSelectIcon = styled(StyleableSvgImage)`\n background-color: #50565e;\n`;\n\nexport const CartContainer = styled.div`\n /* Let CartPreview position relative to RightWrap */\n position: static;\n\n height: 100%;\n display: flex;\n align-items: center;\n`;\n\nexport const DesktopCartPreviewContainer = styled.div`\n position: absolute;\n top: 100%;\n right: 0;\n height: 100%;\n z-index: 10000;\n width: 100%;\n`;\n\nexport const DesktopCartPreviewContainerInner = styled.div`\n position: absolute;\n top: -3px;\n right: 0;\n`;\n"],"names":["WRAP_GAP","CATEGORY_ITEMS_GAP","cssHideBreakpoints","css","hideBreakpoint","Wrap","styled","div","HEADER_HEIGHT","UispDivider","UispLabel","$active","LeftWrap","$addSpaceOnDesktop","HEADER_GAP_SIZE_SMALL","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","RightWrap","CenterWrap","TABLET_AND_DOWN","ProHeader","Header","isStickyEmbed","ProHeaderWrap","$sticky","cssStickyEmbedHeader","$disableBlur","SearchWrap","Search","SearchInput","InputWrap","theme","colors","black45","isSearchFocused","primaryBlue","Input","focusedWidth","SearchIconWrap","SearchCancel","CountryButton","button","menu","text","light","VerticalDivider","mischka","ProIconWrap","IconWrap","$negativeMargin","$isDefaultCursor","ProIconInnerFillWrap","$transparent","athensGreyLight","SvgIcon","white","BreakpointsWrap","AvatarWrap","InlineCategoryWrap","$hide","CurrentStoreWrap","$inheritFonts","onClick","CurrentStoreFlag","LineLoader","LineLoaderBase","zIndex","header","ProductLineSelectorList","$show","ProductLineSelectorWrap","ProductLineSelectorButton","ProductLineSelectorListItem","ProductLineSelectIcon","StyleableSvgImage","CartContainer","DesktopCartPreviewContainer","DesktopCartPreviewContainerInner"],"mappings":";;;;;;;;;;;AAqBO,MAAMA,QAAW,GAAA,EAAA;AACjB,MAAMC,kBAAqB,GAAA,EAAA;AAYlC,MAAMC,kBAAqB,GAAAC,GAAA;AAAA,IACvB,CAAC;EAAEC;CAAe,KAClBA,cACA,IAAAD,GAAA;AAAA,eACWC,cAAc;AAAA;AAAA;AAAA,KAGxB;AAAA,CAAA;AAME,MAAMC,OAAOC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,SAIlBP,QAAQ;;AAAA,YAELQ,aAAa;;AAAA;AAAA;AAAA,iBAIR,KAAK,EAAE;AAAA,CAAA;AAKjB,MAAMC,cAAcH,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAO3B,MAAMG,YAAYJ,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAK5B,CAAC;EAAEI;CAAQ,KACXA,OACA,IAAAR,GAAA;AAAA;AAAA,KAEC;;AAAA;AAAA;AAAA;AAAA,CAAA;AAOE,MAAMS,WAAWN,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA,IAQ3BL,kBAAkB;;AAAA,IAElB,CAAC;EAAEW;CAAmB,KACtBA,kBACI,GAAAV,GAAA;AAAA,yBACiBW,qBAAqB;AAAA,SAEtC,GAAAX,GAAA;AAAA,mBACWY,YAAYC,uBAAuB;AAAA,2BAC3BF,qBAAqB;AAAA;AAAA,SAEvC;AAAA,CAAA;AAGI,MAAAG,SAAA,GAAYX,OAAOM,QAAQ,CAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA,IAQpC,CAAC;EAAEC;CAAmB,KACtBA,kBACI,GAAAV,GAAA;AAAA,0BACkBW,wBAAwB,CAAC;AAAA,SAE3C,GAAAX,G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
6
|
-
var
|
|
6
|
+
var _externalAssets_kqP1RSlw = require("../../../../assets/ai-360.jpg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
var
|
|
12
|
+
var _externalAssets_kqP1RSlw__default = /*#__PURE__*/_interopDefault(_externalAssets_kqP1RSlw);
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
15
|
get: function () {
|
|
16
|
-
return
|
|
16
|
+
return _externalAssets_kqP1RSlw__default["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(_externalAssets_kqP1RSlw).forEach(function (k) {
|
|
20
20
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function () {
|
|
23
|
-
return
|
|
23
|
+
return _externalAssets_kqP1RSlw[k];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var
|
|
6
|
+
var _externalAssets_BMBKObjU = require("../../../../assets/ai-dome.jpg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
var
|
|
12
|
+
var _externalAssets_BMBKObjU__default = /*#__PURE__*/_interopDefault(_externalAssets_BMBKObjU);
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
15
|
get: function () {
|
|
16
|
-
return
|
|
16
|
+
return _externalAssets_BMBKObjU__default["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(_externalAssets_BMBKObjU).forEach(function (k) {
|
|
20
20
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function () {
|
|
23
|
-
return
|
|
23
|
+
return _externalAssets_BMBKObjU[k];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var
|
|
6
|
+
var _externalAssets_V_6yrKvW = require("../../../../assets/ai-theta.jpg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
var
|
|
12
|
+
var _externalAssets_V_6yrKvW__default = /*#__PURE__*/_interopDefault(_externalAssets_V_6yrKvW);
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
15
|
get: function () {
|
|
16
|
-
return
|
|
16
|
+
return _externalAssets_V_6yrKvW__default["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(_externalAssets_V_6yrKvW).forEach(function (k) {
|
|
20
20
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function () {
|
|
23
|
-
return
|
|
23
|
+
return _externalAssets_V_6yrKvW[k];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var
|
|
6
|
+
var _externalAssets_CbLaoViR = require("../../../../assets/ai-turret.jpg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
var
|
|
12
|
+
var _externalAssets_CbLaoViR__default = /*#__PURE__*/_interopDefault(_externalAssets_CbLaoViR);
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
15
|
get: function () {
|
|
16
|
-
return
|
|
16
|
+
return _externalAssets_CbLaoViR__default["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(_externalAssets_CbLaoViR).forEach(function (k) {
|
|
20
20
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function () {
|
|
23
|
-
return
|
|
23
|
+
return _externalAssets_CbLaoViR[k];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var
|
|
6
|
+
var _externalAssets_CLe_B3fJ = require("../../../../assets/g4-instant.jpg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
var
|
|
12
|
+
var _externalAssets_CLe_B3fJ__default = /*#__PURE__*/_interopDefault(_externalAssets_CLe_B3fJ);
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
15
|
get: function () {
|
|
16
|
-
return
|
|
16
|
+
return _externalAssets_CLe_B3fJ__default["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(_externalAssets_CLe_B3fJ).forEach(function (k) {
|
|
20
20
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function () {
|
|
23
|
-
return
|
|
23
|
+
return _externalAssets_CLe_B3fJ[k];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var
|
|
6
|
+
var _externalAssets_DoAISUYk = require("../../../../assets/g4-ptz.jpg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
var
|
|
12
|
+
var _externalAssets_DoAISUYk__default = /*#__PURE__*/_interopDefault(_externalAssets_DoAISUYk);
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
15
|
get: function () {
|
|
16
|
-
return
|
|
16
|
+
return _externalAssets_DoAISUYk__default["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(_externalAssets_DoAISUYk).forEach(function (k) {
|
|
20
20
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function () {
|
|
23
|
-
return
|
|
23
|
+
return _externalAssets_DoAISUYk[k];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|