@ubnt/store.core 9.36.0-alpha.28 → 9.36.0-alpha.29
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/icons/wizard/plus.svg.js +1 -1
- package/lib/assets/icons/wizard/plus.svg.mjs +2 -2
- package/lib/assets/plus.svg +4 -22
- package/lib/assets/plus2.svg +22 -4
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- package/lib/assets/udmPro.jpg +0 -0
- package/lib/assets/udmPro2.jpg +0 -0
- package/lib/assets/udmProMax.jpg +0 -0
- package/lib/assets/udmProMax2.jpg +0 -0
- package/lib/assets/udmProSpecial.jpg +0 -0
- package/lib/assets/udmProSpecial2.jpg +0 -0
- package/lib/components/Button/CartButton.d.ts +3 -1
- package/lib/components/Button/CartButton.js +4 -2
- package/lib/components/Button/CartButton.js.map +1 -1
- package/lib/components/Button/CartButton.mjs +4 -2
- package/lib/components/Button/CartButton.mjs.map +1 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +1 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +2 -2
- package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.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/udmPro.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.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/data/CloudGateways.js +9 -9
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
- package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.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/ProductWizard/ProductWizard.js +1 -1
- package/lib/components/ProductWizard/ProductWizard.mjs +1 -1
- package/lib/components/QuantityInput/QuantityInput.js +1 -1
- package/lib/components/QuantityInput/QuantityInput.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +1 -1
- 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/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +1 -1
- 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
|
+
### 9.36.0-alpha.29
|
|
10
|
+
|
|
11
|
+
- [Feat] [NEP-3682](https://ubiquiti.atlassian.net/browse/NEP-3682) Add option to cart button for custom icon dimensions
|
|
12
|
+
|
|
9
13
|
### 9.36.0-alpha.28
|
|
10
14
|
|
|
11
15
|
- [Feat] [NEP-3682](https://ubiquiti.atlassian.net/browse/NEP-3682) Add secondary variant styles for cart button
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../
|
|
2
|
-
export { default } from "../../
|
|
1
|
+
export * from "../../plus2.svg";
|
|
2
|
+
export { default } from "../../plus2.svg";
|
|
3
3
|
//# sourceMappingURL=plus.svg.mjs.map
|
package/lib/assets/plus.svg
CHANGED
|
@@ -1,22 +1,4 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
fill="none"
|
|
6
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
-
>
|
|
8
|
-
<rect
|
|
9
|
-
y="4.5"
|
|
10
|
-
width="10"
|
|
11
|
-
height="1"
|
|
12
|
-
fill="#838691"
|
|
13
|
-
/>
|
|
14
|
-
<rect
|
|
15
|
-
x="4.5"
|
|
16
|
-
y="10"
|
|
17
|
-
width="10"
|
|
18
|
-
height="1"
|
|
19
|
-
transform="rotate(-90 4.5 10)"
|
|
20
|
-
fill="#838691"
|
|
21
|
-
/>
|
|
22
|
-
</svg>
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none"
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 1C8 0.453333 7.54667 0 7 0C6.45333 0 6 0.453333 6 1V6H1C0.453333 6 0 6.45333 0 7C0 7.54667 0.453333 8 1 8H6V13C6 13.5467 6.45333 14 7 14C7.54667 14 8 13.5467 8 13V8H13C13.5467 8 14 7.54667 14 7C14 6.45333 13.5467 6 13 6H8V1Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
package/lib/assets/plus2.svg
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<svg
|
|
2
|
+
width="10"
|
|
3
|
+
height="10"
|
|
4
|
+
viewBox="0 0 10 10"
|
|
5
|
+
fill="none"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
>
|
|
8
|
+
<rect
|
|
9
|
+
y="4.5"
|
|
10
|
+
width="10"
|
|
11
|
+
height="1"
|
|
12
|
+
fill="#838691"
|
|
13
|
+
/>
|
|
14
|
+
<rect
|
|
15
|
+
x="4.5"
|
|
16
|
+
y="10"
|
|
17
|
+
width="10"
|
|
18
|
+
height="1"
|
|
19
|
+
transform="rotate(-90 4.5 10)"
|
|
20
|
+
fill="#838691"
|
|
21
|
+
/>
|
|
22
|
+
</svg>
|
package/lib/assets/plus5.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/plus6.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/udmPro.jpg
CHANGED
|
Binary file
|
package/lib/assets/udmPro2.jpg
CHANGED
|
Binary file
|
package/lib/assets/udmProMax.jpg
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -13,5 +13,7 @@ export interface CartButtonProps extends ButtonProps {
|
|
|
13
13
|
* (optional) Label to display on the button. If not provided, only the icon will be displayed
|
|
14
14
|
*/
|
|
15
15
|
label?: string;
|
|
16
|
+
iconWidth?: number;
|
|
17
|
+
iconHeight?: number;
|
|
16
18
|
}
|
|
17
|
-
export declare const CartButton: ({ icon, hideIcon, preLabel, label, ...props }: CartButtonProps) => JSX.Element;
|
|
19
|
+
export declare const CartButton: ({ icon, hideIcon, preLabel, label, iconHeight, iconWidth, ...props }: CartButtonProps) => JSX.Element;
|
|
@@ -76,6 +76,8 @@ const CartButton = function CartButton2({
|
|
|
76
76
|
hideIcon,
|
|
77
77
|
preLabel,
|
|
78
78
|
label,
|
|
79
|
+
iconHeight = 16,
|
|
80
|
+
iconWidth = 20,
|
|
79
81
|
...props
|
|
80
82
|
}) {
|
|
81
83
|
const Icon = React.useMemo(() => {
|
|
@@ -93,8 +95,8 @@ const CartButton = function CartButton2({
|
|
|
93
95
|
children: /* @__PURE__ */jsxRuntime.jsxs(ButtonInnerWrap, {
|
|
94
96
|
children: [!hideIcon && /* @__PURE__ */jsxRuntime.jsx(StyleableSvgImage.StyleableSvgImage, {
|
|
95
97
|
src: Icon,
|
|
96
|
-
width:
|
|
97
|
-
height:
|
|
98
|
+
width: iconWidth,
|
|
99
|
+
height: iconHeight
|
|
98
100
|
}), (!!preLabel || !!label) && /* @__PURE__ */jsxRuntime.jsxs(Labels, {
|
|
99
101
|
children: [!!preLabel && /* @__PURE__ */jsxRuntime.jsx(PreLabel, {
|
|
100
102
|
children: preLabel
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CartButton.js","sources":["../../../src/components/Button/CartButton.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport CartIconSecondary from \"../../assets/icons/cart-secondary.svg\";\nimport CartIcon from \"../../assets/icons/cart.svg\";\nimport CartPlusIcon from \"../../assets/icons/cartPlus.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { Button } from \"./Button\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport interface CartButtonProps extends ButtonProps {\n icon?: \"cart\" | \"plus\";\n hideIcon?: boolean;\n /**\n * (optional) Mini-Text to display before the label, used for additional context. See example for more details\n * @example\n * preLabel=\"Available again week of\"\n * label=\"Oct. 10\"\n */\n preLabel?: string;\n /**\n * (optional) Label to display on the button. If not provided, only the icon will be displayed\n */\n label?: string;\n}\n\nconst ButtonStyled = styled(Button)<CartButtonProps>`\n ${({ label, preLabel }) => {\n // If both label and preLabel don't force any sizing;\n if (!!label && !!preLabel) {\n return;\n }\n\n /**\n * For historical reasons, we have to set a fixed height and padding for button. I get the height to match the\n * design but the padding is way bigger than it can be, would make sense to just vertically align content.\n * FIXME: investigate if we can remove padding and just vertically align content\n */\n if (label) {\n return css`\n padding: 10px 15px;\n height: 40px;\n `;\n }\n\n // And otherwise rendering just icon force both width and height to be 40px\n return css`\n padding: 10px 15px;\n width: 40px;\n height: 40px;\n `;\n }}\n\n ${({ label }) =>\n !!label &&\n css`\n width: auto;\n `}\n`;\n\nconst ButtonInnerWrap = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nconst Labels = styled.div`\n display: inline-flex;\n flex-direction: column;\n`;\n\nconst PreLabel = styled.span`\n /* Size relative to regular label size, e.g if 14px label than 10px preLabel */\n font-size: 0.714em;\n line-height: 1.2;\n font-weight: 400;\n`;\n\nconst Label = styled.span<{ $forceBold?: boolean }>`\n ${({ $forceBold }) =>\n $forceBold\n ? css`\n font-weight: bold;\n `\n : undefined};\n`;\n\nexport const CartButton = function CartButton({\n icon = \"cart\",\n hideIcon,\n preLabel,\n label,\n ...props\n}: CartButtonProps) {\n const Icon = useMemo(() => {\n switch (icon) {\n case \"cart\":\n return props.variant === \"secondary\" ? CartIconSecondary : CartIcon;\n\n case \"plus\":\n return CartPlusIcon;\n }\n }, [icon, props.variant]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <ButtonStyled {...props} label={label} preLabel={preLabel}>\n <ButtonInnerWrap>\n {!hideIcon && <StyleableSvgImage src={Icon} width={
|
|
1
|
+
{"version":3,"file":"CartButton.js","sources":["../../../src/components/Button/CartButton.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport CartIconSecondary from \"../../assets/icons/cart-secondary.svg\";\nimport CartIcon from \"../../assets/icons/cart.svg\";\nimport CartPlusIcon from \"../../assets/icons/cartPlus.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { Button } from \"./Button\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport interface CartButtonProps extends ButtonProps {\n icon?: \"cart\" | \"plus\";\n hideIcon?: boolean;\n /**\n * (optional) Mini-Text to display before the label, used for additional context. See example for more details\n * @example\n * preLabel=\"Available again week of\"\n * label=\"Oct. 10\"\n */\n preLabel?: string;\n /**\n * (optional) Label to display on the button. If not provided, only the icon will be displayed\n */\n label?: string;\n\n iconWidth?: number;\n iconHeight?: number;\n}\n\nconst ButtonStyled = styled(Button)<CartButtonProps>`\n ${({ label, preLabel }) => {\n // If both label and preLabel don't force any sizing;\n if (!!label && !!preLabel) {\n return;\n }\n\n /**\n * For historical reasons, we have to set a fixed height and padding for button. I get the height to match the\n * design but the padding is way bigger than it can be, would make sense to just vertically align content.\n * FIXME: investigate if we can remove padding and just vertically align content\n */\n if (label) {\n return css`\n padding: 10px 15px;\n height: 40px;\n `;\n }\n\n // And otherwise rendering just icon force both width and height to be 40px\n return css`\n padding: 10px 15px;\n width: 40px;\n height: 40px;\n `;\n }}\n\n ${({ label }) =>\n !!label &&\n css`\n width: auto;\n `}\n`;\n\nconst ButtonInnerWrap = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nconst Labels = styled.div`\n display: inline-flex;\n flex-direction: column;\n`;\n\nconst PreLabel = styled.span`\n /* Size relative to regular label size, e.g if 14px label than 10px preLabel */\n font-size: 0.714em;\n line-height: 1.2;\n font-weight: 400;\n`;\n\nconst Label = styled.span<{ $forceBold?: boolean }>`\n ${({ $forceBold }) =>\n $forceBold\n ? css`\n font-weight: bold;\n `\n : undefined};\n`;\n\nexport const CartButton = function CartButton({\n icon = \"cart\",\n hideIcon,\n preLabel,\n label,\n iconHeight = 16,\n iconWidth = 20,\n ...props\n}: CartButtonProps) {\n const Icon = useMemo(() => {\n switch (icon) {\n case \"cart\":\n return props.variant === \"secondary\" ? CartIconSecondary : CartIcon;\n\n case \"plus\":\n return CartPlusIcon;\n }\n }, [icon, props.variant]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <ButtonStyled {...props} label={label} preLabel={preLabel}>\n <ButtonInnerWrap>\n {!hideIcon && (\n <StyleableSvgImage src={Icon} width={iconWidth} height={iconHeight} />\n )}\n {(!!preLabel || !!label) && (\n <Labels>\n {!!preLabel && <PreLabel>{preLabel}</PreLabel>}\n {!!label && (\n <Label\n // Enforce bold label if preLabel is present as per design, preLabel is always regular weight\n $forceBold={!!preLabel}\n >\n {label}\n </Label>\n )}\n </Labels>\n )}\n </ButtonInnerWrap>\n </ButtonStyled>\n );\n};\n"],"names":["ButtonStyled","styled","Button","label","preLabel","css","ButtonInnerWrap","div","Labels","PreLabel","span","Label","$forceBold","CartButton","CartButton2","icon","hideIcon","iconHeight","iconWidth","props","Icon","useMemo","variant","CartIconSecondary","CartIcon","CartPlusIcon","children","StyleableSvgImage","src","width","height","jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA6BA,MAAMA,YAAA,GAAeC,eAAAA,CAAAA,SAAAA,EAAOC,MAAAA,CAAAA,MAAM,CAAA;AAAA,IAC9B,CAAC;EAAEC,KAAO;EAAAC;CAAe,KAAA;EAEzB,IAAI,CAAC,CAACD,KAAS,IAAA,CAAC,CAACC,QAAU,EAAA;IACzB;EACF;EAOA,IAAID,KAAO,EAAA;IACF,OAAAE,UAAA;AAAA;AAAA;AAAA,OAAA;EAIT;EAGO,OAAAA,UAAA;AAAA;AAAA;AAAA;AAAA,KAAA;AAKT,CAAC;AAAA;AAAA,IAEC,CAAC;EAAEF;AAAA,CACH,KAAA,CAAC,CAACA,KACF,IAAAE,MAAAA,CAAAA,GAAA;AAAA;AAAA,KAEC;AAAA,CAAA;AAGL,MAAMC,kBAAkBL,eAAO,CAAA,SAAA,CAAA,CAAAM,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAM/B,MAAMC,SAASP,eAAO,CAAA,SAAA,CAAA,CAAAM,GAAA;AAAA;AAAA;AAAA,CAAA;AAKtB,MAAME,WAAWR,eAAO,CAAA,SAAA,CAAA,CAAAS,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOxB,MAAMC,QAAQV,eAAO,CAAA,SAAA,CAAA,CAAAS,IAAA;AAAA,IACjB,CAAC;EAAEE;CAAW,KACdA,UACI,GAAAP,MAAAA,CAAAA,GAAA;AAAA;AAAA,SAAA,GAGA,KAAS,CAAA;AAAA,CAAA;AAGJ,MAAAQ,UAAA,GAAa,SAASA,WAAWC,CAAA;EAC5CC,IAAO,GAAA,MAAA;EACPC,QAAA;EACAZ,QAAA;EACAD,KAAA;EACAc,UAAa,GAAA,EAAA;EACbC,SAAY,GAAA,EAAA;EACZ,GAAGC;AACL,CAAoB,EAAA;EACZ,MAAAC,IAAA,GAAOC,KAAAA,CAAAA,QAAQ,MAAM;IACzB,QAAQN,IAAM;MACZ,KAAK,MAAA;QACI,OAAAI,KAAA,CAAMG,OAAY,KAAA,WAAA,GAAcC,0BAAAA,CAAAA,SAAAA,CAAoB,GAAAC,iBAAAA,CAAAA,SAAAA,CAAA;MAE7D,KAAK,MAAA;QACI,OAAAC,gCAAA;IACX;EACC,CAAA,EAAA,CAACV,IAAM,EAAAI,KAAA,CAAMG,OAAO,CAAC,CAAA;EAKxB,OAAA,8BACGtB,YAAc,EAAA;IAAA,GAAGmB;IAAOhB,KAAc;IAAAC,QAAA;IACrCsB,yCAACpB,eACE,EAAA;MAAAoB,QAAA,EAAA,CAAC,CAAAV,QAAA,kCACCW,iBAAkB,CAAAA,iBAAA,EAAA;QAAAC,GAAA,EAAKR;QAAMS,KAAO,EAAAX,SAAA;QAAWY,QAAQb;OAAY,CAAA,EAAA,CAEpE,CAAC,CAACb,QAAA,IAAY,CAAC,CAACD,KAAA,KAAA,+BACfK,MACE,EAAA;QAAAkB,QAAA,EAAA,CAAA,CAAC,CAACtB,QAAA,IAAA,eAAa2B,UAAA,CAAAA,GAAA,CAAAtB,QAAA,EAAA;UAAUiB,QAAS,EAAAtB;SAAA,CAAA,EAClC,CAAC,CAACD,KACD,IAAA,eAAA4B,UAAA,CAAAA,GAAA,CAACpB,KAAA,EAAA;UAECC,UAAA,EAAY,CAAC,CAACR,QAAA;UAEbsB,QAAA,EAAAvB;QAAA,CACH,CAAA;OAEJ,CAAA;IAEJ,CAAA;EACF,CAAA,CAAA;AAEJ,CAAA;"}
|
|
@@ -65,6 +65,8 @@ const CartButton = function CartButton2({
|
|
|
65
65
|
hideIcon,
|
|
66
66
|
preLabel,
|
|
67
67
|
label,
|
|
68
|
+
iconHeight = 16,
|
|
69
|
+
iconWidth = 20,
|
|
68
70
|
...props
|
|
69
71
|
}) {
|
|
70
72
|
const Icon = useMemo(() => {
|
|
@@ -82,8 +84,8 @@ const CartButton = function CartButton2({
|
|
|
82
84
|
children: /* @__PURE__ */jsxs(ButtonInnerWrap, {
|
|
83
85
|
children: [!hideIcon && /* @__PURE__ */jsx(StyleableSvgImage, {
|
|
84
86
|
src: Icon,
|
|
85
|
-
width:
|
|
86
|
-
height:
|
|
87
|
+
width: iconWidth,
|
|
88
|
+
height: iconHeight
|
|
87
89
|
}), (!!preLabel || !!label) && /* @__PURE__ */jsxs(Labels, {
|
|
88
90
|
children: [!!preLabel && /* @__PURE__ */jsx(PreLabel, {
|
|
89
91
|
children: preLabel
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CartButton.mjs","sources":["../../../src/components/Button/CartButton.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport CartIconSecondary from \"../../assets/icons/cart-secondary.svg\";\nimport CartIcon from \"../../assets/icons/cart.svg\";\nimport CartPlusIcon from \"../../assets/icons/cartPlus.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { Button } from \"./Button\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport interface CartButtonProps extends ButtonProps {\n icon?: \"cart\" | \"plus\";\n hideIcon?: boolean;\n /**\n * (optional) Mini-Text to display before the label, used for additional context. See example for more details\n * @example\n * preLabel=\"Available again week of\"\n * label=\"Oct. 10\"\n */\n preLabel?: string;\n /**\n * (optional) Label to display on the button. If not provided, only the icon will be displayed\n */\n label?: string;\n}\n\nconst ButtonStyled = styled(Button)<CartButtonProps>`\n ${({ label, preLabel }) => {\n // If both label and preLabel don't force any sizing;\n if (!!label && !!preLabel) {\n return;\n }\n\n /**\n * For historical reasons, we have to set a fixed height and padding for button. I get the height to match the\n * design but the padding is way bigger than it can be, would make sense to just vertically align content.\n * FIXME: investigate if we can remove padding and just vertically align content\n */\n if (label) {\n return css`\n padding: 10px 15px;\n height: 40px;\n `;\n }\n\n // And otherwise rendering just icon force both width and height to be 40px\n return css`\n padding: 10px 15px;\n width: 40px;\n height: 40px;\n `;\n }}\n\n ${({ label }) =>\n !!label &&\n css`\n width: auto;\n `}\n`;\n\nconst ButtonInnerWrap = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nconst Labels = styled.div`\n display: inline-flex;\n flex-direction: column;\n`;\n\nconst PreLabel = styled.span`\n /* Size relative to regular label size, e.g if 14px label than 10px preLabel */\n font-size: 0.714em;\n line-height: 1.2;\n font-weight: 400;\n`;\n\nconst Label = styled.span<{ $forceBold?: boolean }>`\n ${({ $forceBold }) =>\n $forceBold\n ? css`\n font-weight: bold;\n `\n : undefined};\n`;\n\nexport const CartButton = function CartButton({\n icon = \"cart\",\n hideIcon,\n preLabel,\n label,\n ...props\n}: CartButtonProps) {\n const Icon = useMemo(() => {\n switch (icon) {\n case \"cart\":\n return props.variant === \"secondary\" ? CartIconSecondary : CartIcon;\n\n case \"plus\":\n return CartPlusIcon;\n }\n }, [icon, props.variant]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <ButtonStyled {...props} label={label} preLabel={preLabel}>\n <ButtonInnerWrap>\n {!hideIcon && <StyleableSvgImage src={Icon} width={
|
|
1
|
+
{"version":3,"file":"CartButton.mjs","sources":["../../../src/components/Button/CartButton.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport CartIconSecondary from \"../../assets/icons/cart-secondary.svg\";\nimport CartIcon from \"../../assets/icons/cart.svg\";\nimport CartPlusIcon from \"../../assets/icons/cartPlus.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { Button } from \"./Button\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport interface CartButtonProps extends ButtonProps {\n icon?: \"cart\" | \"plus\";\n hideIcon?: boolean;\n /**\n * (optional) Mini-Text to display before the label, used for additional context. See example for more details\n * @example\n * preLabel=\"Available again week of\"\n * label=\"Oct. 10\"\n */\n preLabel?: string;\n /**\n * (optional) Label to display on the button. If not provided, only the icon will be displayed\n */\n label?: string;\n\n iconWidth?: number;\n iconHeight?: number;\n}\n\nconst ButtonStyled = styled(Button)<CartButtonProps>`\n ${({ label, preLabel }) => {\n // If both label and preLabel don't force any sizing;\n if (!!label && !!preLabel) {\n return;\n }\n\n /**\n * For historical reasons, we have to set a fixed height and padding for button. I get the height to match the\n * design but the padding is way bigger than it can be, would make sense to just vertically align content.\n * FIXME: investigate if we can remove padding and just vertically align content\n */\n if (label) {\n return css`\n padding: 10px 15px;\n height: 40px;\n `;\n }\n\n // And otherwise rendering just icon force both width and height to be 40px\n return css`\n padding: 10px 15px;\n width: 40px;\n height: 40px;\n `;\n }}\n\n ${({ label }) =>\n !!label &&\n css`\n width: auto;\n `}\n`;\n\nconst ButtonInnerWrap = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nconst Labels = styled.div`\n display: inline-flex;\n flex-direction: column;\n`;\n\nconst PreLabel = styled.span`\n /* Size relative to regular label size, e.g if 14px label than 10px preLabel */\n font-size: 0.714em;\n line-height: 1.2;\n font-weight: 400;\n`;\n\nconst Label = styled.span<{ $forceBold?: boolean }>`\n ${({ $forceBold }) =>\n $forceBold\n ? css`\n font-weight: bold;\n `\n : undefined};\n`;\n\nexport const CartButton = function CartButton({\n icon = \"cart\",\n hideIcon,\n preLabel,\n label,\n iconHeight = 16,\n iconWidth = 20,\n ...props\n}: CartButtonProps) {\n const Icon = useMemo(() => {\n switch (icon) {\n case \"cart\":\n return props.variant === \"secondary\" ? CartIconSecondary : CartIcon;\n\n case \"plus\":\n return CartPlusIcon;\n }\n }, [icon, props.variant]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <ButtonStyled {...props} label={label} preLabel={preLabel}>\n <ButtonInnerWrap>\n {!hideIcon && (\n <StyleableSvgImage src={Icon} width={iconWidth} height={iconHeight} />\n )}\n {(!!preLabel || !!label) && (\n <Labels>\n {!!preLabel && <PreLabel>{preLabel}</PreLabel>}\n {!!label && (\n <Label\n // Enforce bold label if preLabel is present as per design, preLabel is always regular weight\n $forceBold={!!preLabel}\n >\n {label}\n </Label>\n )}\n </Labels>\n )}\n </ButtonInnerWrap>\n </ButtonStyled>\n );\n};\n"],"names":["ButtonStyled","styled","Button","label","preLabel","css","ButtonInnerWrap","div","Labels","PreLabel","span","Label","$forceBold","CartButton","CartButton2","icon","hideIcon","iconHeight","iconWidth","props","Icon","useMemo","variant","CartIconSecondary","CartIcon","CartPlusIcon","children","StyleableSvgImage","src","width","height","jsx"],"mappings":";;;;;;;;;;;;;AA6BA,MAAMA,YAAA,GAAeC,OAAOC,MAAM,CAAA;AAAA,IAC9B,CAAC;EAAEC,KAAO;EAAAC;CAAe,KAAA;EAEzB,IAAI,CAAC,CAACD,KAAS,IAAA,CAAC,CAACC,QAAU,EAAA;IACzB;EACF;EAOA,IAAID,KAAO,EAAA;IACF,OAAAE,GAAA;AAAA;AAAA;AAAA,OAAA;EAIT;EAGO,OAAAA,GAAA;AAAA;AAAA;AAAA;AAAA,KAAA;AAKT,CAAC;AAAA;AAAA,IAEC,CAAC;EAAEF;AAAA,CACH,KAAA,CAAC,CAACA,KACF,IAAAE,GAAA;AAAA;AAAA,KAEC;AAAA,CAAA;AAGL,MAAMC,kBAAkBL,MAAO,CAAAM,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAM/B,MAAMC,SAASP,MAAO,CAAAM,GAAA;AAAA;AAAA;AAAA,CAAA;AAKtB,MAAME,WAAWR,MAAO,CAAAS,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOxB,MAAMC,QAAQV,MAAO,CAAAS,IAAA;AAAA,IACjB,CAAC;EAAEE;CAAW,KACdA,UACI,GAAAP,GAAA;AAAA;AAAA,SAAA,GAGA,KAAS,CAAA;AAAA,CAAA;AAGJ,MAAAQ,UAAA,GAAa,SAASA,WAAWC,CAAA;EAC5CC,IAAO,GAAA,MAAA;EACPC,QAAA;EACAZ,QAAA;EACAD,KAAA;EACAc,UAAa,GAAA,EAAA;EACbC,SAAY,GAAA,EAAA;EACZ,GAAGC;AACL,CAAoB,EAAA;EACZ,MAAAC,IAAA,GAAOC,QAAQ,MAAM;IACzB,QAAQN,IAAM;MACZ,KAAK,MAAA;QACI,OAAAI,KAAA,CAAMG,OAAY,KAAA,WAAA,GAAcC,0BAAoB,GAAAC,iBAAA;MAE7D,KAAK,MAAA;QACI,OAAAC,qBAAA;IACX;EACC,CAAA,EAAA,CAACV,IAAM,EAAAI,KAAA,CAAMG,OAAO,CAAC,CAAA;EAKxB,OAAA,mBACGtB,YAAc,EAAA;IAAA,GAAGmB;IAAOhB,KAAc;IAAAC,QAAA;IACrCsB,8BAACpB,eACE,EAAA;MAAAoB,QAAA,EAAA,CAAC,CAAAV,QAAA,uBACCW,iBAAkB,EAAA;QAAAC,GAAA,EAAKR;QAAMS,KAAO,EAAAX,SAAA;QAAWY,QAAQb;OAAY,CAAA,EAAA,CAEpE,CAAC,CAACb,QAAA,IAAY,CAAC,CAACD,KAAA,KAAA,oBACfK,MACE,EAAA;QAAAkB,QAAA,EAAA,CAAA,CAAC,CAACtB,QAAA,IAAA,eAAa2B,GAAA,CAAAtB,QAAA,EAAA;UAAUiB,QAAS,EAAAtB;SAAA,CAAA,EAClC,CAAC,CAACD,KACD,IAAA,eAAA4B,GAAA,CAACpB,KAAA,EAAA;UAECC,UAAA,EAAY,CAAC,CAACR,QAAA;UAEbsB,QAAA,EAAAvB;QAAA,CACH,CAAA;OAEJ,CAAA;IAEJ,CAAA;EACF,CAAA,CAAA;AAEJ,CAAA;"}
|
|
@@ -5,7 +5,7 @@ require('../../StyleableSvgImage/index.js');
|
|
|
5
5
|
require('../assets/plus.svg.js');
|
|
6
6
|
var AllFeaturesButton_styles = require('./AllFeaturesButton.styles.js');
|
|
7
7
|
var StyleableSvgImage = require('../../StyleableSvgImage/StyleableSvgImage.js');
|
|
8
|
-
var PlusIcon = require("../../../assets/
|
|
8
|
+
var PlusIcon = require("../../../assets/plus.svg");
|
|
9
9
|
function _interopDefault(e) {
|
|
10
10
|
return e && e.__esModule ? e : {
|
|
11
11
|
default: e
|
|
@@ -3,7 +3,7 @@ import '../../StyleableSvgImage/index.mjs';
|
|
|
3
3
|
import '../assets/plus.svg.mjs';
|
|
4
4
|
import { StyledButton, InnerWrap } from './AllFeaturesButton.styles.mjs';
|
|
5
5
|
import { StyleableSvgImage } from '../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
6
|
-
import PlusIcon__default from "../../../assets/
|
|
6
|
+
import PlusIcon__default from "../../../assets/plus.svg";
|
|
7
7
|
"use strict";
|
|
8
8
|
const AllFeaturesButton = ({
|
|
9
9
|
className,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../assets/
|
|
2
|
-
export { default } from "../../../assets/
|
|
1
|
+
export * from "../../../assets/plus.svg";
|
|
2
|
+
export { default } from "../../../assets/plus.svg";
|
|
3
3
|
//# sourceMappingURL=plus.svg.mjs.map
|
|
@@ -5,7 +5,7 @@ export declare const ProductMeta: import("styled-components").StyledComponent<"d
|
|
|
5
5
|
export declare const ProductTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
6
|
export declare const ProductPrice: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
7
|
export declare const ProductPriceSmall: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
-
export declare const CartButton: import("styled-components").StyledComponent<({ icon, hideIcon, preLabel, label, ...props }: import("../../../Button").CartButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
export declare const CartButton: import("styled-components").StyledComponent<({ icon, hideIcon, preLabel, label, iconHeight, iconWidth, ...props }: import("../../../Button").CartButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
9
9
|
export declare const ControlsWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
10
10
|
export declare const ControlsButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
11
11
|
$loading?: boolean;
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var
|
|
6
|
+
var _externalAssets_pESvYnSE = require("../../../../../assets/udmPro.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_pESvYnSE__default = /*#__PURE__*/_interopDefault(_externalAssets_pESvYnSE);
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
15
|
get: function () {
|
|
16
|
-
return
|
|
16
|
+
return _externalAssets_pESvYnSE__default["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(_externalAssets_pESvYnSE).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_pESvYnSE[k];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../../assets/
|
|
2
|
-
export { default } from "../../../../../assets/
|
|
1
|
+
export * from "../../../../../assets/udmPro.jpg";
|
|
2
|
+
export { default } from "../../../../../assets/udmPro.jpg";
|
|
3
3
|
//# sourceMappingURL=udmPro.jpg.mjs.map
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var
|
|
6
|
+
var _externalAssets_CmLfPohF = require("../../../../../assets/udmProMax.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_CmLfPohF__default = /*#__PURE__*/_interopDefault(_externalAssets_CmLfPohF);
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
15
|
get: function () {
|
|
16
|
-
return
|
|
16
|
+
return _externalAssets_CmLfPohF__default["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(_externalAssets_CmLfPohF).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_CmLfPohF[k];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../../assets/
|
|
2
|
-
export { default } from "../../../../../assets/
|
|
1
|
+
export * from "../../../../../assets/udmProMax.jpg";
|
|
2
|
+
export { default } from "../../../../../assets/udmProMax.jpg";
|
|
3
3
|
//# sourceMappingURL=udmProMax.jpg.mjs.map
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var
|
|
6
|
+
var _externalAssets_BUotdZNw = require("../../../../../assets/udmProSpecial.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_BUotdZNw__default = /*#__PURE__*/_interopDefault(_externalAssets_BUotdZNw);
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
15
|
get: function () {
|
|
16
|
-
return
|
|
16
|
+
return _externalAssets_BUotdZNw__default["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(_externalAssets_BUotdZNw).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_BUotdZNw[k];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../../assets/
|
|
2
|
-
export { default } from "../../../../../assets/
|
|
1
|
+
export * from "../../../../../assets/udmProSpecial.jpg";
|
|
2
|
+
export { default } from "../../../../../assets/udmProSpecial.jpg";
|
|
3
3
|
//# sourceMappingURL=udmProSpecial.jpg.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../assets/
|
|
2
|
-
export { default } from "../../../../assets/
|
|
1
|
+
export * from "../../../../assets/udmPro2.jpg";
|
|
2
|
+
export { default } from "../../../../assets/udmPro2.jpg";
|
|
3
3
|
//# sourceMappingURL=udmPro.jpg.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../assets/
|
|
2
|
-
export { default } from "../../../../assets/
|
|
1
|
+
export * from "../../../../assets/udmProMax2.jpg";
|
|
2
|
+
export { default } from "../../../../assets/udmProMax2.jpg";
|
|
3
3
|
//# sourceMappingURL=udmProMax.jpg.mjs.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var image = require("../../../../assets/
|
|
6
|
+
var image = require("../../../../assets/udmProSpecial2.jpg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../assets/
|
|
2
|
-
export { default } from "../../../../assets/
|
|
1
|
+
export * from "../../../../assets/udmProSpecial2.jpg";
|
|
2
|
+
export { default } from "../../../../assets/udmProSpecial2.jpg";
|
|
3
3
|
//# sourceMappingURL=udmProSpecial.jpg.mjs.map
|
|
@@ -22,9 +22,9 @@ var throughput = require('./properties/throughput.js');
|
|
|
22
22
|
var unifiAppSuite = require('./properties/unifiAppSuite.js');
|
|
23
23
|
var unifiDevices = require('./properties/unifiDevices.js');
|
|
24
24
|
var wanPorts = require('./properties/wanPorts.js');
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
25
|
+
var _externalAssets_CmLfPohF = require("../../../assets/udmProMax.jpg");
|
|
26
|
+
var _externalAssets_pESvYnSE = require("../../../assets/udmPro.jpg");
|
|
27
|
+
var _externalAssets_BUotdZNw = require("../../../assets/udmProSpecial.jpg");
|
|
28
28
|
var image = require("../../../assets/udw2.jpg");
|
|
29
29
|
var _externalAssets_ReJhRoVe = require("../../../assets/ucgMax2.jpg");
|
|
30
30
|
var _externalAssets_sWF40Ihh = require("../../../assets/ucgUltra2.jpg");
|
|
@@ -36,9 +36,9 @@ function _interopDefault(e) {
|
|
|
36
36
|
default: e
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
39
|
+
var _externalAssets_CmLfPohF__default = /*#__PURE__*/_interopDefault(_externalAssets_CmLfPohF);
|
|
40
|
+
var _externalAssets_pESvYnSE__default = /*#__PURE__*/_interopDefault(_externalAssets_pESvYnSE);
|
|
41
|
+
var _externalAssets_BUotdZNw__default = /*#__PURE__*/_interopDefault(_externalAssets_BUotdZNw);
|
|
42
42
|
var image__default = /*#__PURE__*/_interopDefault(image);
|
|
43
43
|
var _externalAssets_ReJhRoVe__default = /*#__PURE__*/_interopDefault(_externalAssets_ReJhRoVe);
|
|
44
44
|
var _externalAssets_sWF40Ihh__default = /*#__PURE__*/_interopDefault(_externalAssets_sWF40Ihh);
|
|
@@ -56,18 +56,18 @@ const efg = {
|
|
|
56
56
|
const udmProMax = {
|
|
57
57
|
...udmProMax$1.udmProMax,
|
|
58
58
|
description: "udmProMax.customDescription",
|
|
59
|
-
image: getImage(
|
|
59
|
+
image: getImage(_externalAssets_CmLfPohF__default["default"])
|
|
60
60
|
};
|
|
61
61
|
const udmPro = {
|
|
62
62
|
...udmPro$1.udmPro,
|
|
63
63
|
description: "udmPro.customDescription",
|
|
64
|
-
image: getImage(
|
|
64
|
+
image: getImage(_externalAssets_pESvYnSE__default["default"])
|
|
65
65
|
};
|
|
66
66
|
const udmProSpecial = {
|
|
67
67
|
...udmProSpecial$1.udmProSpecial,
|
|
68
68
|
title: "udmProSpecial.customTitle",
|
|
69
69
|
description: "udmProSpecial.customDescription",
|
|
70
|
-
image: getImage(
|
|
70
|
+
image: getImage(_externalAssets_BUotdZNw__default["default"])
|
|
71
71
|
};
|
|
72
72
|
const udw = {
|
|
73
73
|
...udw$1.udw,
|
|
@@ -20,9 +20,9 @@ import { throughput } from './properties/throughput.mjs';
|
|
|
20
20
|
import { unifiAppSuite } from './properties/unifiAppSuite.mjs';
|
|
21
21
|
import { unifiDevices } from './properties/unifiDevices.mjs';
|
|
22
22
|
import { wanPorts } from './properties/wanPorts.mjs';
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
23
|
+
import _externalAssets_CmLfPohF__default from "../../../assets/udmProMax.jpg";
|
|
24
|
+
import _externalAssets_pESvYnSE__default from "../../../assets/udmPro.jpg";
|
|
25
|
+
import _externalAssets_BUotdZNw__default from "../../../assets/udmProSpecial.jpg";
|
|
26
26
|
import image__default from "../../../assets/udw2.jpg";
|
|
27
27
|
import _externalAssets_ReJhRoVe__default from "../../../assets/ucgMax2.jpg";
|
|
28
28
|
import _externalAssets_sWF40Ihh__default from "../../../assets/ucgUltra2.jpg";
|
|
@@ -41,18 +41,18 @@ const efg = {
|
|
|
41
41
|
const udmProMax = {
|
|
42
42
|
...udmProMax$1,
|
|
43
43
|
description: "udmProMax.customDescription",
|
|
44
|
-
image: getImage(
|
|
44
|
+
image: getImage(_externalAssets_CmLfPohF__default)
|
|
45
45
|
};
|
|
46
46
|
const udmPro = {
|
|
47
47
|
...udmPro$1,
|
|
48
48
|
description: "udmPro.customDescription",
|
|
49
|
-
image: getImage(
|
|
49
|
+
image: getImage(_externalAssets_pESvYnSE__default)
|
|
50
50
|
};
|
|
51
51
|
const udmProSpecial = {
|
|
52
52
|
...udmProSpecial$1,
|
|
53
53
|
title: "udmProSpecial.customTitle",
|
|
54
54
|
description: "udmProSpecial.customDescription",
|
|
55
|
-
image: getImage(
|
|
55
|
+
image: getImage(_externalAssets_BUotdZNw__default)
|
|
56
56
|
};
|
|
57
57
|
const udw = {
|
|
58
58
|
...udw$1,
|
|
@@ -20,7 +20,7 @@ var unifiAppSuite = require('../properties/unifiAppSuite.js');
|
|
|
20
20
|
var unifiDevices = require('../properties/unifiDevices.js');
|
|
21
21
|
var unifiPowerBackup = require('../properties/unifiPowerBackup.js');
|
|
22
22
|
var wanPorts = require('../properties/wanPorts.js');
|
|
23
|
-
var image = require("../../../../assets/
|
|
23
|
+
var image = require("../../../../assets/udmPro2.jpg");
|
|
24
24
|
var StyleableSvgImage = require('../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
25
25
|
var applications = require("../../../../assets/applications.svg");
|
|
26
26
|
var nextAiInspection = require('../properties/nextAiInspection.js');
|
|
@@ -18,7 +18,7 @@ import { unifiAppSuite } from '../properties/unifiAppSuite.mjs';
|
|
|
18
18
|
import { unifiDevices } from '../properties/unifiDevices.mjs';
|
|
19
19
|
import { unifiPowerBackup } from '../properties/unifiPowerBackup.mjs';
|
|
20
20
|
import { wanPorts } from '../properties/wanPorts.mjs';
|
|
21
|
-
import image__default from "../../../../assets/
|
|
21
|
+
import image__default from "../../../../assets/udmPro2.jpg";
|
|
22
22
|
import { StyleableSvgImage } from '../../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
23
23
|
import applications__default from "../../../../assets/applications.svg";
|
|
24
24
|
import { nextAiInspection } from '../properties/nextAiInspection.mjs';
|
|
@@ -8,7 +8,7 @@ require('../../../StyleableSvgImage/index.js');
|
|
|
8
8
|
require('../../assets/applications.svg.js');
|
|
9
9
|
require('../../assets/Consoles/udmProMax.jpg.js');
|
|
10
10
|
require('../properties/index.js');
|
|
11
|
-
var image = require("../../../../assets/
|
|
11
|
+
var image = require("../../../../assets/udmProMax2.jpg");
|
|
12
12
|
var unifiAppSuite = require('../properties/unifiAppSuite.js');
|
|
13
13
|
var StyleableSvgImage = require('../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
14
14
|
var applications = require("../../../../assets/applications.svg");
|
|
@@ -6,7 +6,7 @@ import '../../../StyleableSvgImage/index.mjs';
|
|
|
6
6
|
import '../../assets/applications.svg.mjs';
|
|
7
7
|
import '../../assets/Consoles/udmProMax.jpg.mjs';
|
|
8
8
|
import '../properties/index.mjs';
|
|
9
|
-
import image__default from "../../../../assets/
|
|
9
|
+
import image__default from "../../../../assets/udmProMax2.jpg";
|
|
10
10
|
import { unifiAppSuite } from '../properties/unifiAppSuite.mjs';
|
|
11
11
|
import { StyleableSvgImage } from '../../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
12
12
|
import applications__default from "../../../../assets/applications.svg";
|
|
@@ -20,7 +20,7 @@ var unifiAppSuite = require('../properties/unifiAppSuite.js');
|
|
|
20
20
|
var unifiDevices = require('../properties/unifiDevices.js');
|
|
21
21
|
var unifiPowerBackup = require('../properties/unifiPowerBackup.js');
|
|
22
22
|
var wanPorts = require('../properties/wanPorts.js');
|
|
23
|
-
var image = require("../../../../assets/
|
|
23
|
+
var image = require("../../../../assets/udmProSpecial2.jpg");
|
|
24
24
|
var StyleableSvgImage = require('../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
25
25
|
var applications = require("../../../../assets/applications.svg");
|
|
26
26
|
var nextAiInspection = require('../properties/nextAiInspection.js');
|
|
@@ -18,7 +18,7 @@ import { unifiAppSuite } from '../properties/unifiAppSuite.mjs';
|
|
|
18
18
|
import { unifiDevices } from '../properties/unifiDevices.mjs';
|
|
19
19
|
import { unifiPowerBackup } from '../properties/unifiPowerBackup.mjs';
|
|
20
20
|
import { wanPorts } from '../properties/wanPorts.mjs';
|
|
21
|
-
import image__default from "../../../../assets/
|
|
21
|
+
import image__default from "../../../../assets/udmProSpecial2.jpg";
|
|
22
22
|
import { StyleableSvgImage } from '../../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
23
23
|
import applications__default from "../../../../assets/applications.svg";
|
|
24
24
|
import { nextAiInspection } from '../properties/nextAiInspection.mjs';
|
|
@@ -10,7 +10,7 @@ var ProductWizard_styles = require('./ProductWizard.styles.js');
|
|
|
10
10
|
var Options = require('./Options/Options.js');
|
|
11
11
|
var NormalisedImage = require('../NormalisedImage/NormalisedImage.js');
|
|
12
12
|
var minus = require("../../assets/minus.svg");
|
|
13
|
-
var plus = require("../../assets/
|
|
13
|
+
var plus = require("../../assets/plus2.svg");
|
|
14
14
|
var ProductWizardFootnotes = require('../ProductWizardFootnotes/ProductWizardFootnotes.js');
|
|
15
15
|
function _interopDefault(e) {
|
|
16
16
|
return e && e.__esModule ? e : {
|
|
@@ -8,7 +8,7 @@ import { WizardContainer, AddToCartContainer, QuantityAdjustWrap, MinusAdjustBut
|
|
|
8
8
|
import { ProductWizardOptions } from './Options/Options.mjs';
|
|
9
9
|
import { NormalisedImage } from '../NormalisedImage/NormalisedImage.mjs';
|
|
10
10
|
import minus__default from "../../assets/minus.svg";
|
|
11
|
-
import plus__default from "../../assets/
|
|
11
|
+
import plus__default from "../../assets/plus2.svg";
|
|
12
12
|
import { ProductWizardFootnotes } from '../ProductWizardFootnotes/ProductWizardFootnotes.mjs';
|
|
13
13
|
"use strict";
|
|
14
14
|
const ProductWizard = function ProductWizard2({
|
|
@@ -6,7 +6,7 @@ require('../StyleableSvgImage/index.js');
|
|
|
6
6
|
var QuantityInput_styles = require('./QuantityInput.styles.js');
|
|
7
7
|
var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
|
|
8
8
|
var minus = require("../../assets/minus.svg");
|
|
9
|
-
var plus = require("../../assets/
|
|
9
|
+
var plus = require("../../assets/plus2.svg");
|
|
10
10
|
function _interopDefault(e) {
|
|
11
11
|
return e && e.__esModule ? e : {
|
|
12
12
|
default: e
|
|
@@ -4,7 +4,7 @@ import '../StyleableSvgImage/index.mjs';
|
|
|
4
4
|
import { Container, Label, QuantityAdjustWrap, MinusAdjustButton, QuantityInput as QuantityInput$1, PlusAdjustButton } from './QuantityInput.styles.mjs';
|
|
5
5
|
import { StyleableSvgImage } from '../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
6
6
|
import minus__default from "../../assets/minus.svg";
|
|
7
|
-
import plus__default from "../../assets/
|
|
7
|
+
import plus__default from "../../assets/plus2.svg";
|
|
8
8
|
"use strict";
|
|
9
9
|
const QuantityInput = ({
|
|
10
10
|
quantity,
|
|
@@ -12,7 +12,7 @@ var Layout_styles = require('./Layout.styles.js');
|
|
|
12
12
|
var CustomImage = require('../../../../../CustomImage/CustomImage.js');
|
|
13
13
|
var StyleableSvgImage = require('../../../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
14
14
|
var MinusIcon = require("../../../../../../assets/minus5.svg");
|
|
15
|
-
var PlusIcon = require("../../../../../../assets/
|
|
15
|
+
var PlusIcon = require("../../../../../../assets/plus6.svg");
|
|
16
16
|
function _interopDefault(e) {
|
|
17
17
|
return e && e.__esModule ? e : {
|
|
18
18
|
default: e
|
|
@@ -10,7 +10,7 @@ import { InputWrapper, Label, InputFlexWrapper } from './Layout.styles.mjs';
|
|
|
10
10
|
import { CustomImage } from '../../../../../CustomImage/CustomImage.mjs';
|
|
11
11
|
import { StyleableSvgImage } from '../../../../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
12
12
|
import MinusIcon__default from "../../../../../../assets/minus5.svg";
|
|
13
|
-
import PlusIcon__default from "../../../../../../assets/
|
|
13
|
+
import PlusIcon__default from "../../../../../../assets/plus6.svg";
|
|
14
14
|
"use strict";
|
|
15
15
|
const CounterSection = ({
|
|
16
16
|
value,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var PlusIcon = require("../../../../../../assets/
|
|
6
|
+
var PlusIcon = require("../../../../../../assets/plus6.svg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../../../assets/
|
|
2
|
-
export { default } from "../../../../../../assets/
|
|
1
|
+
export * from "../../../../../../assets/plus6.svg";
|
|
2
|
+
export { default } from "../../../../../../assets/plus6.svg";
|
|
3
3
|
//# sourceMappingURL=plus.svg.mjs.map
|
|
@@ -20,7 +20,7 @@ var CustomImage = require('../../../../../CustomImage/CustomImage.js');
|
|
|
20
20
|
var SearchIcon = require("../../../../../../assets/search2.svg");
|
|
21
21
|
var StyleableSvgImage = require('../../../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
22
22
|
var MinusIcon = require("../../../../../../assets/minus4.svg");
|
|
23
|
-
var PlusIcon = require("../../../../../../assets/
|
|
23
|
+
var PlusIcon = require("../../../../../../assets/plus5.svg");
|
|
24
24
|
function _interopDefault(e) {
|
|
25
25
|
return e && e.__esModule ? e : {
|
|
26
26
|
default: e
|
|
@@ -18,7 +18,7 @@ import { CustomImage } from '../../../../../CustomImage/CustomImage.mjs';
|
|
|
18
18
|
import SearchIcon__default from "../../../../../../assets/search2.svg";
|
|
19
19
|
import { StyleableSvgImage } from '../../../../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
20
20
|
import MinusIcon__default from "../../../../../../assets/minus4.svg";
|
|
21
|
-
import PlusIcon__default from "../../../../../../assets/
|
|
21
|
+
import PlusIcon__default from "../../../../../../assets/plus5.svg";
|
|
22
22
|
"use strict";
|
|
23
23
|
const NoopPlaceholder = () => /* @__PURE__ */jsx(Fragment, {});
|
|
24
24
|
const PoeConsumerSelectModal = ({
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var PlusIcon = require("../../../../../../assets/
|
|
6
|
+
var PlusIcon = require("../../../../../../assets/plus5.svg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../../../assets/
|
|
2
|
-
export { default } from "../../../../../../assets/
|
|
1
|
+
export * from "../../../../../../assets/plus5.svg";
|
|
2
|
+
export { default } from "../../../../../../assets/plus5.svg";
|
|
3
3
|
//# sourceMappingURL=plus.svg.mjs.map
|