@ubnt/store.core 9.40.0-alpha.19 → 9.40.0-alpha.20
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/building-bridge.jpg +0 -0
- package/lib/assets/building-bridge2.jpg +0 -0
- package/lib/assets/flex.jpg +0 -0
- package/lib/assets/flex2.jpg +0 -0
- package/lib/assets/g4-instant.jpg +0 -0
- package/lib/assets/g4-instant2.jpg +0 -0
- package/lib/assets/g5-bullet.jpg +0 -0
- package/lib/assets/g5-bullet2.jpg +0 -0
- package/lib/assets/g5-dome-ultra.jpg +0 -0
- package/lib/assets/g5-dome-ultra2.jpg +0 -0
- package/lib/assets/g5-turret-ultra.jpg +0 -0
- package/lib/assets/g5-turret-ultra2.jpg +0 -0
- package/lib/assets/interior-design.svg +2 -2
- package/lib/assets/interior-design2.svg +2 -2
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/assets/plus6.svg +9 -9
- package/lib/assets/plus7.svg +9 -9
- package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.js +16 -9
- package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.mjs +16 -9
- package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +10 -6
- package/lib/components/ButtonGroup/ButtonGroup.styles.js +60 -20
- package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +60 -20
- package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +5 -0
- package/lib/components/LearnMoreLink/LearnMoreLink.js +1 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.js.map +1 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.mjs +1 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.mjs.map +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
- 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/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
- package/lib/constants/icons/options/colors/black.svg.js +5 -5
- package/lib/constants/icons/options/colors/index.js +3 -3
- package/lib/constants/icons/options/styles/black.svg.js +5 -5
- package/lib/constants/icons/options/styles/index.js +3 -3
- package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Compact/g4-instant.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Compact/g4-instant.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome-ultra.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome-ultra.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DomeTurret/g5-turret-ultra.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DomeTurret/g5-turret-ultra.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Switching/flex.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Switching/flex.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/interior-design.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/interior-design.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome-ultra.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome-ultra.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-turret-ultra.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-turret-ultra.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/interior-design.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/interior-design.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/switches/utility/flex.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/switches/utility/flex.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/InteriorDesign.js +1 -1
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/InteriorDesign.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/interiorDesign.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/interiorDesign.mjs +1 -1
- package/lib/constants/modelCompareData/data/products/buildingBridge.js +2 -2
- package/lib/constants/modelCompareData/data/products/buildingBridge.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/flex.js +2 -2
- package/lib/constants/modelCompareData/data/products/flex.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g4Instant.js +2 -2
- package/lib/constants/modelCompareData/data/products/g4Instant.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g5Bullet.js +2 -2
- package/lib/constants/modelCompareData/data/products/g5Bullet.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g5DomeUltra.js +2 -2
- package/lib/constants/modelCompareData/data/products/g5DomeUltra.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g5TurretUltra.js +2 -2
- package/lib/constants/modelCompareData/data/products/g5TurretUltra.mjs +2 -2
- package/lib/constants/optionIcons.js +6 -6
- package/lib/constants/optionIcons.mjs +4 -4
- package/lib/constants/shopify/keyFeatureIcons.js +8 -8
- package/lib/constants/shopify/keyFeatureIcons.js.map +1 -1
- package/lib/constants/shopify/keyFeatureIcons.mjs +8 -8
- package/lib/constants/shopify/keyFeatureIcons.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -17,6 +17,15 @@ const ButtonContainer = styled__default["default"].div`
|
|
|
17
17
|
flex-wrap: wrap;
|
|
18
18
|
width: 100%;
|
|
19
19
|
justify-content: center;
|
|
20
|
+
|
|
21
|
+
${({
|
|
22
|
+
$isBoxed
|
|
23
|
+
}) => $isBoxed && styled.css`
|
|
24
|
+
border: 1px solid #eeeff1;
|
|
25
|
+
border-radius: 8px;
|
|
26
|
+
padding: 1px;
|
|
27
|
+
gap: 1px;
|
|
28
|
+
`}
|
|
20
29
|
`;
|
|
21
30
|
const ButtonScrollContainer = styled__default["default"].div`
|
|
22
31
|
margin: 0 -${layout.CONTAINER_PADDING.DESKTOP}px;
|
|
@@ -48,11 +57,32 @@ const ButtonScrollInner = styled__default["default"].div`
|
|
|
48
57
|
${ScrollWrapper_styles.Item} {
|
|
49
58
|
flex-grow: 1;
|
|
50
59
|
${({
|
|
51
|
-
buttonMaxWidth
|
|
52
|
-
}) => buttonMaxWidth && styled.css`
|
|
53
|
-
max-width: ${buttonMaxWidth}px;
|
|
60
|
+
$buttonMaxWidth
|
|
61
|
+
}) => $buttonMaxWidth && styled.css`
|
|
62
|
+
max-width: ${$buttonMaxWidth}px;
|
|
54
63
|
`}
|
|
55
64
|
}
|
|
65
|
+
|
|
66
|
+
${({
|
|
67
|
+
$isBoxed
|
|
68
|
+
}) => $isBoxed && styled.css`
|
|
69
|
+
position: relative;
|
|
70
|
+
&::before {
|
|
71
|
+
content: "";
|
|
72
|
+
position: absolute;
|
|
73
|
+
inset: -2px ${layout.CONTAINER_PADDING.DESKTOP}px;
|
|
74
|
+
border: 1px solid #eeeff1;
|
|
75
|
+
border-radius: 8px;
|
|
76
|
+
|
|
77
|
+
@media ${layout.BREAKPOINTS.TABLET_AND_DOWN} {
|
|
78
|
+
inset: -2px ${layout.CONTAINER_PADDING.TABLET}px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@media ${layout.BREAKPOINTS.MOBILE_AND_DOWN} {
|
|
82
|
+
inset: -2px ${layout.CONTAINER_PADDING.MOBILE}px;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
`}
|
|
56
86
|
`;
|
|
57
87
|
const ButtonInner = styled__default["default"].span`
|
|
58
88
|
display: flex;
|
|
@@ -76,8 +106,8 @@ const Button = styled__default["default"].button`
|
|
|
76
106
|
flex: 1;
|
|
77
107
|
min-width: max-content;
|
|
78
108
|
height: ${({
|
|
79
|
-
height
|
|
80
|
-
}) => height ? `${height}px` : "45px"};
|
|
109
|
+
$height
|
|
110
|
+
}) => $height ? `${$height}px` : "45px"};
|
|
81
111
|
cursor: pointer;
|
|
82
112
|
border-radius: 6px;
|
|
83
113
|
background: transparent;
|
|
@@ -86,33 +116,42 @@ const Button = styled__default["default"].button`
|
|
|
86
116
|
justify-content: center;
|
|
87
117
|
align-items: center;
|
|
88
118
|
gap: 8px;
|
|
119
|
+
border: none;
|
|
120
|
+
transition:
|
|
121
|
+
background 0.3s,
|
|
122
|
+
color 0.3s,
|
|
123
|
+
border 0.3s;
|
|
89
124
|
|
|
90
125
|
${({
|
|
91
|
-
buttonMaxWidth
|
|
92
|
-
}) => buttonMaxWidth && styled.css`
|
|
93
|
-
max-width: ${buttonMaxWidth}px;
|
|
126
|
+
$buttonMaxWidth
|
|
127
|
+
}) => $buttonMaxWidth && styled.css`
|
|
128
|
+
max-width: ${$buttonMaxWidth}px;
|
|
94
129
|
`}
|
|
95
130
|
|
|
96
131
|
${({
|
|
97
|
-
active,
|
|
98
|
-
isDisabled
|
|
132
|
+
$active,
|
|
133
|
+
$isDisabled,
|
|
134
|
+
$hasBackground
|
|
99
135
|
}) => {
|
|
100
|
-
if (
|
|
136
|
+
if (!$active && !$isDisabled) {
|
|
101
137
|
return styled.css`
|
|
102
|
-
color: ${theme.theme.colors.primaryBlue};
|
|
103
|
-
|
|
138
|
+
color: ${$hasBackground ? "#50565E" : theme.theme.colors.primaryBlue};
|
|
139
|
+
|
|
140
|
+
${!$hasBackground && `border: 1px solid ${theme.theme.colors.athensGreyDark}`}
|
|
104
141
|
`;
|
|
105
142
|
}
|
|
106
|
-
if (
|
|
143
|
+
if (!$active && $isDisabled) {
|
|
107
144
|
return styled.css`
|
|
108
145
|
color: ${theme.theme.colors.black20};
|
|
109
|
-
|
|
146
|
+
|
|
147
|
+
${!$hasBackground && `border: 1px solid ${theme.theme.colors.athensGreyDark}`}
|
|
110
148
|
`;
|
|
111
149
|
}
|
|
112
|
-
if (active &&
|
|
150
|
+
if ($active && !$isDisabled) {
|
|
113
151
|
return styled.css`
|
|
114
152
|
color: ${theme.theme.colors.primaryBlue};
|
|
115
|
-
|
|
153
|
+
|
|
154
|
+
${$hasBackground ? `background: rgba(229 241 255 / 0.50);` : `border: 1px solid ${theme.theme.colors.primaryBlue};`}
|
|
116
155
|
|
|
117
156
|
${ButtonInner} {
|
|
118
157
|
font-weight: 700;
|
|
@@ -122,7 +161,8 @@ const Button = styled__default["default"].button`
|
|
|
122
161
|
return styled.css`
|
|
123
162
|
color: ${theme.theme.colors.black45};
|
|
124
163
|
background: ${theme.theme.colors.blackHaze};
|
|
125
|
-
|
|
164
|
+
|
|
165
|
+
${!$hasBackground && `border: 1px solid ${theme.theme.colors.ghost};`}
|
|
126
166
|
|
|
127
167
|
${ButtonInner} {
|
|
128
168
|
font-weight: 700;
|
|
@@ -131,8 +171,8 @@ const Button = styled__default["default"].button`
|
|
|
131
171
|
}}
|
|
132
172
|
|
|
133
173
|
${({
|
|
134
|
-
height
|
|
135
|
-
}) =>
|
|
174
|
+
$height
|
|
175
|
+
}) => !$height && styled.css`
|
|
136
176
|
@media ${layout.BREAKPOINTS.TABLET_AND_DOWN} {
|
|
137
177
|
height: 50px;
|
|
138
178
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGroup.styles.js","sources":["../../../src/components/ButtonGroup/ButtonGroup.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS, CONTAINER_PADDING } from \"../../constants/layout\";\nimport { theme } from \"../../constants/theme\";\nimport {\n ScrollContainer,\n Item as ScrollItem,\n} from \"../ScrollWrapper/ScrollWrapper.styles\";\n\nexport const ButtonContainer = styled.div
|
|
1
|
+
{"version":3,"file":"ButtonGroup.styles.js","sources":["../../../src/components/ButtonGroup/ButtonGroup.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS, CONTAINER_PADDING } from \"../../constants/layout\";\nimport { theme } from \"../../constants/theme\";\nimport {\n ScrollContainer,\n Item as ScrollItem,\n} from \"../ScrollWrapper/ScrollWrapper.styles\";\n\nexport const ButtonContainer = styled.div<{\n $isBoxed?: boolean;\n}>`\n display: flex;\n gap: 10px;\n flex-wrap: wrap;\n width: 100%;\n justify-content: center;\n\n ${({ $isBoxed }) =>\n $isBoxed &&\n css`\n border: 1px solid #eeeff1;\n border-radius: 8px;\n padding: 1px;\n gap: 1px;\n `}\n`;\n\nexport const ButtonScrollContainer = styled.div`\n margin: 0 -${CONTAINER_PADDING.DESKTOP}px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n margin: 0 -${CONTAINER_PADDING.TABLET}px;\n }\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n margin: 0 -${CONTAINER_PADDING.MOBILE}px;\n }\n`;\n\nexport const ButtonScrollInner = styled.div<{\n $buttonMaxWidth?: number;\n $isBoxed?: boolean;\n}>`\n ${ScrollContainer} {\n display: flex;\n gap: 10px;\n flex-wrap: nowrap;\n padding: 0 ${CONTAINER_PADDING.DESKTOP}px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n padding: 0 ${CONTAINER_PADDING.TABLET}px;\n }\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n padding: 0 ${CONTAINER_PADDING.MOBILE}px;\n }\n }\n\n ${ScrollItem} {\n flex-grow: 1;\n ${({ $buttonMaxWidth }) =>\n $buttonMaxWidth &&\n css`\n max-width: ${$buttonMaxWidth}px;\n `}\n }\n\n ${({ $isBoxed }) =>\n $isBoxed &&\n css`\n position: relative;\n &::before {\n content: \"\";\n position: absolute;\n inset: -2px ${CONTAINER_PADDING.DESKTOP}px;\n border: 1px solid #eeeff1;\n border-radius: 8px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n inset: -2px ${CONTAINER_PADDING.TABLET}px;\n }\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n inset: -2px ${CONTAINER_PADDING.MOBILE}px;\n }\n }\n `}\n`;\n\nexport const ButtonInner = styled.span`\n display: flex;\n flex-direction: column;\n font-weight: 400;\n font-size: ${theme.font.size14};\n line-height: 14px;\n white-space: nowrap;\n\n &::after {\n display: block;\n content: attr(title);\n font-weight: bold;\n height: 1px;\n color: transparent;\n overflow: hidden;\n visibility: hidden;\n }\n`;\n\nexport const Button = styled.button<{\n $height?: number;\n $active?: boolean;\n $isDisabled?: boolean;\n $buttonMaxWidth?: number;\n $hasBackground?: boolean;\n}>`\n flex: 1;\n min-width: max-content;\n height: ${({ $height }) => ($height ? `${$height}px` : \"45px\")};\n cursor: pointer;\n border-radius: 6px;\n background: transparent;\n padding: 0 16px;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 8px;\n border: none;\n transition:\n background 0.3s,\n color 0.3s,\n border 0.3s;\n\n ${({ $buttonMaxWidth }) =>\n $buttonMaxWidth &&\n css`\n max-width: ${$buttonMaxWidth}px;\n `}\n\n ${({ $active, $isDisabled, $hasBackground }) => {\n if (!$active && !$isDisabled) {\n return css`\n color: ${$hasBackground ? \"#50565E\" : theme.colors.primaryBlue};\n\n ${!$hasBackground && `border: 1px solid ${theme.colors.athensGreyDark}`}\n `;\n }\n\n if (!$active && $isDisabled) {\n return css`\n color: ${theme.colors.black20};\n\n ${!$hasBackground && `border: 1px solid ${theme.colors.athensGreyDark}`}\n `;\n }\n\n if ($active && !$isDisabled) {\n return css`\n color: ${theme.colors.primaryBlue};\n\n ${$hasBackground\n ? `background: rgba(229 241 255 / 0.50);`\n : `border: 1px solid ${theme.colors.primaryBlue};`}\n\n ${ButtonInner} {\n font-weight: 700;\n }\n `;\n }\n\n // active && isDisabled\n return css`\n color: ${theme.colors.black45};\n background: ${theme.colors.blackHaze};\n\n ${!$hasBackground && `border: 1px solid ${theme.colors.ghost};`}\n\n ${ButtonInner} {\n font-weight: 700;\n }\n `;\n }}\n\n ${({ $height }) =>\n !$height &&\n css`\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n height: 50px;\n }\n `}\n\n img {\n width: 22px;\n }\n`;\n\nexport const ButtonDescription = styled.span`\n font-weight: 400;\n font-size: ${theme.font.size12};\n line-height: 1.17;\n`;\n"],"names":["ButtonContainer","styled","div","$isBoxed","css","ButtonScrollContainer","CONTAINER_PADDING","DESKTOP","BREAKPOINTS","TABLET_AND_DOWN","TABLET","MOBILE_AND_DOWN","MOBILE","ButtonScrollInner","ScrollContainer","ScrollItem","$buttonMaxWidth","ButtonInner","span","theme","font","size14","Button","button","$height","$active","$isDisabled","$hasBackground","colors","primaryBlue","athensGreyDark","black20","black45","blackHaze","ghost","ButtonDescription","size12"],"mappings":";;;;;;;;;;;;;AASO,MAAMA,kBAAkBC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASlC,CAAC;EAAEC;CAAS,KACZA,QACA,IAAAC,MAAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KAKC;AAAA,CAAA;AAGE,MAAMC,wBAAwBJ,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA,eAC7BI,MAAAA,CAAAA,kBAAkBC,OAAO;AAAA;AAAA,WAE7BC,MAAAA,CAAAA,YAAYC,eAAe;AAAA,iBACrBH,MAAAA,CAAAA,kBAAkBI,MAAM;AAAA;AAAA;AAAA,WAG9BF,MAAAA,CAAAA,YAAYG,eAAe;AAAA,iBACrBL,MAAAA,CAAAA,kBAAkBM,MAAM;AAAA;AAAA,CAAA;AAIlC,MAAMC,oBAAoBZ,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA,IAIpCY,oCAAe;AAAA;AAAA;AAAA;AAAA,iBAIFR,MAAAA,CAAAA,kBAAkBC,OAAO;AAAA;AAAA,aAE7BC,MAAAA,CAAAA,YAAYC,eAAe;AAAA,mBACrBH,MAAAA,CAAAA,kBAAkBI,MAAM;AAAA;AAAA;AAAA,aAG9BF,MAAAA,CAAAA,YAAYG,eAAe;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AM0B,oBAAoBlC,eAAO,CAAA,SAAA,CAAA,CAAAiB,IAAA;AAAA;AAAA,eAEzBC,KAAA,CAAAA,KAAA,CAAMC,KAAKgB,MAAM;AAAA;AAAA,CAAA;;;;;;"}
|
|
@@ -9,6 +9,15 @@ const ButtonContainer = styled.div`
|
|
|
9
9
|
flex-wrap: wrap;
|
|
10
10
|
width: 100%;
|
|
11
11
|
justify-content: center;
|
|
12
|
+
|
|
13
|
+
${({
|
|
14
|
+
$isBoxed
|
|
15
|
+
}) => $isBoxed && css`
|
|
16
|
+
border: 1px solid #eeeff1;
|
|
17
|
+
border-radius: 8px;
|
|
18
|
+
padding: 1px;
|
|
19
|
+
gap: 1px;
|
|
20
|
+
`}
|
|
12
21
|
`;
|
|
13
22
|
const ButtonScrollContainer = styled.div`
|
|
14
23
|
margin: 0 -${CONTAINER_PADDING.DESKTOP}px;
|
|
@@ -40,11 +49,32 @@ const ButtonScrollInner = styled.div`
|
|
|
40
49
|
${Item} {
|
|
41
50
|
flex-grow: 1;
|
|
42
51
|
${({
|
|
43
|
-
buttonMaxWidth
|
|
44
|
-
}) => buttonMaxWidth && css`
|
|
45
|
-
max-width: ${buttonMaxWidth}px;
|
|
52
|
+
$buttonMaxWidth
|
|
53
|
+
}) => $buttonMaxWidth && css`
|
|
54
|
+
max-width: ${$buttonMaxWidth}px;
|
|
46
55
|
`}
|
|
47
56
|
}
|
|
57
|
+
|
|
58
|
+
${({
|
|
59
|
+
$isBoxed
|
|
60
|
+
}) => $isBoxed && css`
|
|
61
|
+
position: relative;
|
|
62
|
+
&::before {
|
|
63
|
+
content: "";
|
|
64
|
+
position: absolute;
|
|
65
|
+
inset: -2px ${CONTAINER_PADDING.DESKTOP}px;
|
|
66
|
+
border: 1px solid #eeeff1;
|
|
67
|
+
border-radius: 8px;
|
|
68
|
+
|
|
69
|
+
@media ${BREAKPOINTS.TABLET_AND_DOWN} {
|
|
70
|
+
inset: -2px ${CONTAINER_PADDING.TABLET}px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@media ${BREAKPOINTS.MOBILE_AND_DOWN} {
|
|
74
|
+
inset: -2px ${CONTAINER_PADDING.MOBILE}px;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
`}
|
|
48
78
|
`;
|
|
49
79
|
const ButtonInner = styled.span`
|
|
50
80
|
display: flex;
|
|
@@ -68,8 +98,8 @@ const Button = styled.button`
|
|
|
68
98
|
flex: 1;
|
|
69
99
|
min-width: max-content;
|
|
70
100
|
height: ${({
|
|
71
|
-
height
|
|
72
|
-
}) => height ? `${height}px` : "45px"};
|
|
101
|
+
$height
|
|
102
|
+
}) => $height ? `${$height}px` : "45px"};
|
|
73
103
|
cursor: pointer;
|
|
74
104
|
border-radius: 6px;
|
|
75
105
|
background: transparent;
|
|
@@ -78,33 +108,42 @@ const Button = styled.button`
|
|
|
78
108
|
justify-content: center;
|
|
79
109
|
align-items: center;
|
|
80
110
|
gap: 8px;
|
|
111
|
+
border: none;
|
|
112
|
+
transition:
|
|
113
|
+
background 0.3s,
|
|
114
|
+
color 0.3s,
|
|
115
|
+
border 0.3s;
|
|
81
116
|
|
|
82
117
|
${({
|
|
83
|
-
buttonMaxWidth
|
|
84
|
-
}) => buttonMaxWidth && css`
|
|
85
|
-
max-width: ${buttonMaxWidth}px;
|
|
118
|
+
$buttonMaxWidth
|
|
119
|
+
}) => $buttonMaxWidth && css`
|
|
120
|
+
max-width: ${$buttonMaxWidth}px;
|
|
86
121
|
`}
|
|
87
122
|
|
|
88
123
|
${({
|
|
89
|
-
active,
|
|
90
|
-
isDisabled
|
|
124
|
+
$active,
|
|
125
|
+
$isDisabled,
|
|
126
|
+
$hasBackground
|
|
91
127
|
}) => {
|
|
92
|
-
if (
|
|
128
|
+
if (!$active && !$isDisabled) {
|
|
93
129
|
return css`
|
|
94
|
-
color: ${theme.colors.primaryBlue};
|
|
95
|
-
|
|
130
|
+
color: ${$hasBackground ? "#50565E" : theme.colors.primaryBlue};
|
|
131
|
+
|
|
132
|
+
${!$hasBackground && `border: 1px solid ${theme.colors.athensGreyDark}`}
|
|
96
133
|
`;
|
|
97
134
|
}
|
|
98
|
-
if (
|
|
135
|
+
if (!$active && $isDisabled) {
|
|
99
136
|
return css`
|
|
100
137
|
color: ${theme.colors.black20};
|
|
101
|
-
|
|
138
|
+
|
|
139
|
+
${!$hasBackground && `border: 1px solid ${theme.colors.athensGreyDark}`}
|
|
102
140
|
`;
|
|
103
141
|
}
|
|
104
|
-
if (active &&
|
|
142
|
+
if ($active && !$isDisabled) {
|
|
105
143
|
return css`
|
|
106
144
|
color: ${theme.colors.primaryBlue};
|
|
107
|
-
|
|
145
|
+
|
|
146
|
+
${$hasBackground ? `background: rgba(229 241 255 / 0.50);` : `border: 1px solid ${theme.colors.primaryBlue};`}
|
|
108
147
|
|
|
109
148
|
${ButtonInner} {
|
|
110
149
|
font-weight: 700;
|
|
@@ -114,7 +153,8 @@ const Button = styled.button`
|
|
|
114
153
|
return css`
|
|
115
154
|
color: ${theme.colors.black45};
|
|
116
155
|
background: ${theme.colors.blackHaze};
|
|
117
|
-
|
|
156
|
+
|
|
157
|
+
${!$hasBackground && `border: 1px solid ${theme.colors.ghost};`}
|
|
118
158
|
|
|
119
159
|
${ButtonInner} {
|
|
120
160
|
font-weight: 700;
|
|
@@ -123,8 +163,8 @@ const Button = styled.button`
|
|
|
123
163
|
}}
|
|
124
164
|
|
|
125
165
|
${({
|
|
126
|
-
height
|
|
127
|
-
}) =>
|
|
166
|
+
$height
|
|
167
|
+
}) => !$height && css`
|
|
128
168
|
@media ${BREAKPOINTS.TABLET_AND_DOWN} {
|
|
129
169
|
height: 50px;
|
|
130
170
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGroup.styles.mjs","sources":["../../../src/components/ButtonGroup/ButtonGroup.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS, CONTAINER_PADDING } from \"../../constants/layout\";\nimport { theme } from \"../../constants/theme\";\nimport {\n ScrollContainer,\n Item as ScrollItem,\n} from \"../ScrollWrapper/ScrollWrapper.styles\";\n\nexport const ButtonContainer = styled.div
|
|
1
|
+
{"version":3,"file":"ButtonGroup.styles.mjs","sources":["../../../src/components/ButtonGroup/ButtonGroup.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS, CONTAINER_PADDING } from \"../../constants/layout\";\nimport { theme } from \"../../constants/theme\";\nimport {\n ScrollContainer,\n Item as ScrollItem,\n} from \"../ScrollWrapper/ScrollWrapper.styles\";\n\nexport const ButtonContainer = styled.div<{\n $isBoxed?: boolean;\n}>`\n display: flex;\n gap: 10px;\n flex-wrap: wrap;\n width: 100%;\n justify-content: center;\n\n ${({ $isBoxed }) =>\n $isBoxed &&\n css`\n border: 1px solid #eeeff1;\n border-radius: 8px;\n padding: 1px;\n gap: 1px;\n `}\n`;\n\nexport const ButtonScrollContainer = styled.div`\n margin: 0 -${CONTAINER_PADDING.DESKTOP}px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n margin: 0 -${CONTAINER_PADDING.TABLET}px;\n }\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n margin: 0 -${CONTAINER_PADDING.MOBILE}px;\n }\n`;\n\nexport const ButtonScrollInner = styled.div<{\n $buttonMaxWidth?: number;\n $isBoxed?: boolean;\n}>`\n ${ScrollContainer} {\n display: flex;\n gap: 10px;\n flex-wrap: nowrap;\n padding: 0 ${CONTAINER_PADDING.DESKTOP}px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n padding: 0 ${CONTAINER_PADDING.TABLET}px;\n }\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n padding: 0 ${CONTAINER_PADDING.MOBILE}px;\n }\n }\n\n ${ScrollItem} {\n flex-grow: 1;\n ${({ $buttonMaxWidth }) =>\n $buttonMaxWidth &&\n css`\n max-width: ${$buttonMaxWidth}px;\n `}\n }\n\n ${({ $isBoxed }) =>\n $isBoxed &&\n css`\n position: relative;\n &::before {\n content: \"\";\n position: absolute;\n inset: -2px ${CONTAINER_PADDING.DESKTOP}px;\n border: 1px solid #eeeff1;\n border-radius: 8px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n inset: -2px ${CONTAINER_PADDING.TABLET}px;\n }\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n inset: -2px ${CONTAINER_PADDING.MOBILE}px;\n }\n }\n `}\n`;\n\nexport const ButtonInner = styled.span`\n display: flex;\n flex-direction: column;\n font-weight: 400;\n font-size: ${theme.font.size14};\n line-height: 14px;\n white-space: nowrap;\n\n &::after {\n display: block;\n content: attr(title);\n font-weight: bold;\n height: 1px;\n color: transparent;\n overflow: hidden;\n visibility: hidden;\n }\n`;\n\nexport const Button = styled.button<{\n $height?: number;\n $active?: boolean;\n $isDisabled?: boolean;\n $buttonMaxWidth?: number;\n $hasBackground?: boolean;\n}>`\n flex: 1;\n min-width: max-content;\n height: ${({ $height }) => ($height ? `${$height}px` : \"45px\")};\n cursor: pointer;\n border-radius: 6px;\n background: transparent;\n padding: 0 16px;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 8px;\n border: none;\n transition:\n background 0.3s,\n color 0.3s,\n border 0.3s;\n\n ${({ $buttonMaxWidth }) =>\n $buttonMaxWidth &&\n css`\n max-width: ${$buttonMaxWidth}px;\n `}\n\n ${({ $active, $isDisabled, $hasBackground }) => {\n if (!$active && !$isDisabled) {\n return css`\n color: ${$hasBackground ? \"#50565E\" : theme.colors.primaryBlue};\n\n ${!$hasBackground && `border: 1px solid ${theme.colors.athensGreyDark}`}\n `;\n }\n\n if (!$active && $isDisabled) {\n return css`\n color: ${theme.colors.black20};\n\n ${!$hasBackground && `border: 1px solid ${theme.colors.athensGreyDark}`}\n `;\n }\n\n if ($active && !$isDisabled) {\n return css`\n color: ${theme.colors.primaryBlue};\n\n ${$hasBackground\n ? `background: rgba(229 241 255 / 0.50);`\n : `border: 1px solid ${theme.colors.primaryBlue};`}\n\n ${ButtonInner} {\n font-weight: 700;\n }\n `;\n }\n\n // active && isDisabled\n return css`\n color: ${theme.colors.black45};\n background: ${theme.colors.blackHaze};\n\n ${!$hasBackground && `border: 1px solid ${theme.colors.ghost};`}\n\n ${ButtonInner} {\n font-weight: 700;\n }\n `;\n }}\n\n ${({ $height }) =>\n !$height &&\n css`\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n height: 50px;\n }\n `}\n\n img {\n width: 22px;\n }\n`;\n\nexport const ButtonDescription = styled.span`\n font-weight: 400;\n font-size: ${theme.font.size12};\n line-height: 1.17;\n`;\n"],"names":["ButtonContainer","styled","div","$isBoxed","css","ButtonScrollContainer","CONTAINER_PADDING","DESKTOP","BREAKPOINTS","TABLET_AND_DOWN","TABLET","MOBILE_AND_DOWN","MOBILE","ButtonScrollInner","ScrollContainer","ScrollItem","$buttonMaxWidth","ButtonInner","span","theme","font","size14","Button","button","$height","$active","$isDisabled","$hasBackground","colors","primaryBlue","athensGreyDark","black20","black45","blackHaze","ghost","ButtonDescription","size12"],"mappings":";;;;;AASO,MAAMA,kBAAkBC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASlC,CAAC;EAAEC;CAAS,KACZA,QACA,IAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KAKC;AAAA,CAAA;AAGE,MAAMC,wBAAwBJ,MAAO,CAAAC,GAAA;AAAA,eAC7BI,kBAAkBC,OAAO;AAAA;AAAA,WAE7BC,YAAYC,eAAe;AAAA,iBACrBH,kBAAkBI,MAAM;AAAA;AAAA;AAAA,WAG9BF,YAAYG,eAAe;AAAA,iBACrBL,kBAAkBM,MAAM;AAAA;AAAA,CAAA;AAIlC,MAAMC,oBAAoBZ,MAAO,CAAAC,GAAA;AAAA,IAIpCY,eAAe;AAAA;AAAA;AAAA;AAAA,iBAIFR,kBAAkBC,OAAO;AAAA;AAAA,aAE7BC,YAAYC,eA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asBackground?: boolean;
|
|
19
20
|
}
|
|
20
21
|
export type ButtonGroupProps = {
|
|
21
22
|
className?: string;
|
|
@@ -29,5 +30,9 @@ export type ButtonGroupProps = {
|
|
|
29
30
|
*/
|
|
30
31
|
noWrap?: boolean;
|
|
31
32
|
disableGradient?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* New style for the button group
|
|
35
|
+
*/
|
|
36
|
+
isBoxed?: boolean;
|
|
32
37
|
};
|
|
33
38
|
export {};
|
|
@@ -6,8 +6,8 @@ var layout = require('../../constants/layout.js');
|
|
|
6
6
|
require('../../contexts/MenuContext/mapping.js');
|
|
7
7
|
require('../../hooks/index.js');
|
|
8
8
|
require('../StyleableSvgImage/index.js');
|
|
9
|
-
require('./assets/arrow.svg.js');
|
|
10
9
|
require('./assets/arrow_mob.svg.js');
|
|
10
|
+
require('./assets/arrow.svg.js');
|
|
11
11
|
var LearnMoreLink_styles = require('./LearnMoreLink.styles.js');
|
|
12
12
|
require('./translations/index.js');
|
|
13
13
|
var useTranslation = require('../../hooks/useTranslation.js');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LearnMoreLink.js","sources":["../../../src/components/LearnMoreLink/LearnMoreLink.tsx"],"sourcesContent":["import { useMedia } from \"react-use\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { Language } from \"../../contexts/MenuContext/mapping\";\nimport { useTranslation } from \"../../hooks\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport
|
|
1
|
+
{"version":3,"file":"LearnMoreLink.js","sources":["../../../src/components/LearnMoreLink/LearnMoreLink.tsx"],"sourcesContent":["import { useMedia } from \"react-use\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { Language } from \"../../contexts/MenuContext/mapping\";\nimport { useTranslation } from \"../../hooks\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport ArrowMobile from \"./assets/arrow_mob.svg\";\nimport ArrowDesktop from \"./assets/arrow.svg\";\nimport { LearnMoreWrap } from \"./LearnMoreLink.styles\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\ntype TranslationKey = keyof typeof EN_TRANSLATION;\n\nexport type LearnMoreLinkProps = {\n large?: boolean;\n title?: TranslationKey | string;\n href?: string | (() => void);\n color?: string;\n\n onLinkClick?: (e: React.MouseEvent<HTMLElement>, href: string) => void;\n};\n\nexport const LearnMoreLink = ({\n large,\n href,\n title,\n onLinkClick,\n color,\n}: LearnMoreLinkProps) => {\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"./translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n const isMobileView = useMedia(BREAKPOINTS.MOBILE_AND_DOWN, false);\n\n if (href) {\n return (\n <LearnMoreWrap\n as={typeof href === \"string\" ? \"a\" : undefined}\n large={large}\n href={typeof href === \"string\" ? href : undefined}\n onClick={\n typeof href === \"function\" ? href : (e) => onLinkClick?.(e, href)\n }\n color={color}\n >\n <span>{title || formatMessage(\"Learn More\")}</span>\n <StyleableSvgImage\n src={isMobileView ? ArrowMobile : ArrowDesktop}\n height={isMobileView ? 10 : 12}\n width={7}\n />\n </LearnMoreWrap>\n );\n }\n\n return (\n <LearnMoreWrap large={large} color={color}>\n <span>{title || formatMessage(\"Learn More\")}</span>\n <StyleableSvgImage\n src={isMobileView ? ArrowMobile : ArrowDesktop}\n height={isMobileView ? 10 : 12}\n width={7}\n />\n </LearnMoreWrap>\n );\n};\n"],"names":["LearnMoreLink","large","href","title","onLinkClick","color","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","Promise","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","isMobileView","useMedia","BREAKPOINTS","MOBILE_AND_DOWN","jsxs","LearnMoreWrap","as","onClick","e","children","jsx","StyleableSvgImage","src","ArrowMobile","ArrowDesktop","height","width"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAsBO,MAAMA,gBAAgBA,CAAC;EAC5BC,KAAA;EACAC,IAAA;EACAC,KAAA;EACAC,WAAA;EACAC;AACF,CAA0B,KAAA;EAClB,MAAA;IAAEC;EAAc,CAAA,GAAIC,6BAAe,CAAA;IACvCC,kBAAoB,EAAAC,EAAA,CAAA,SAAA,CAAA;IACpBC,sBAAwB,EAAA;MACtB,CAACC,SAAA,CAAAA,QAAA,CAASC,EAAE,GAAG,MACbC;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAC5D,CAACL,SAAA,CAAAA,QAAA,CAASM,EAAE,GAAG,MACbJ;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAC5D,CAACL,SAAA,CAAAA,QAAA,CAASO,EAAE,GAAG,MACbL;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAC5D,CAACL,SAAA,CAAAA,QAAA,CAASQ,EAAE,GAAG,MACbN;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,G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s';
|
|
5
5
|
import '../../hooks/index.mjs';
|
|
6
6
|
import '../StyleableSvgImage/index.mjs';
|
|
7
|
-
import './assets/arrow.svg.mjs';
|
|
8
7
|
import './assets/arrow_mob.svg.mjs';
|
|
8
|
+
import './assets/arrow.svg.mjs';
|
|
9
9
|
import { LearnMoreWrap } from './LearnMoreLink.styles.mjs';
|
|
10
10
|
import './translations/index.mjs';
|
|
11
11
|
import { useTranslation } from '../../hooks/useTranslation.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LearnMoreLink.mjs","sources":["../../../src/components/LearnMoreLink/LearnMoreLink.tsx"],"sourcesContent":["import { useMedia } from \"react-use\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { Language } from \"../../contexts/MenuContext/mapping\";\nimport { useTranslation } from \"../../hooks\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport
|
|
1
|
+
{"version":3,"file":"LearnMoreLink.mjs","sources":["../../../src/components/LearnMoreLink/LearnMoreLink.tsx"],"sourcesContent":["import { useMedia } from \"react-use\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { Language } from \"../../contexts/MenuContext/mapping\";\nimport { useTranslation } from \"../../hooks\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport ArrowMobile from \"./assets/arrow_mob.svg\";\nimport ArrowDesktop from \"./assets/arrow.svg\";\nimport { LearnMoreWrap } from \"./LearnMoreLink.styles\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\ntype TranslationKey = keyof typeof EN_TRANSLATION;\n\nexport type LearnMoreLinkProps = {\n large?: boolean;\n title?: TranslationKey | string;\n href?: string | (() => void);\n color?: string;\n\n onLinkClick?: (e: React.MouseEvent<HTMLElement>, href: string) => void;\n};\n\nexport const LearnMoreLink = ({\n large,\n href,\n title,\n onLinkClick,\n color,\n}: LearnMoreLinkProps) => {\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"./translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n const isMobileView = useMedia(BREAKPOINTS.MOBILE_AND_DOWN, false);\n\n if (href) {\n return (\n <LearnMoreWrap\n as={typeof href === \"string\" ? \"a\" : undefined}\n large={large}\n href={typeof href === \"string\" ? href : undefined}\n onClick={\n typeof href === \"function\" ? href : (e) => onLinkClick?.(e, href)\n }\n color={color}\n >\n <span>{title || formatMessage(\"Learn More\")}</span>\n <StyleableSvgImage\n src={isMobileView ? ArrowMobile : ArrowDesktop}\n height={isMobileView ? 10 : 12}\n width={7}\n />\n </LearnMoreWrap>\n );\n }\n\n return (\n <LearnMoreWrap large={large} color={color}>\n <span>{title || formatMessage(\"Learn More\")}</span>\n <StyleableSvgImage\n src={isMobileView ? ArrowMobile : ArrowDesktop}\n height={isMobileView ? 10 : 12}\n width={7}\n />\n </LearnMoreWrap>\n );\n};\n"],"names":["LearnMoreLink","large","href","title","onLinkClick","color","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","isMobileView","useMedia","BREAKPOINTS","MOBILE_AND_DOWN","jsxs","LearnMoreWrap","as","onClick","e","children","jsx","StyleableSvgImage","src","ArrowMobile","ArrowDesktop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EAAA;MACCC,GAAA,EAAKZ,eAAea,oBAAc,GAAAC,qBAAA;MAClCC,MAAA,EAAQf,eAAe,EAAK,GAAA,EAAA;MAC5BgB,KAAO,EAAA;IAAA,CACT,CAAA;EACF,CAAA,CAAA;AAEJ,CAAA;"}
|
|
@@ -11,7 +11,7 @@ require('./assets/play.svg.js');
|
|
|
11
11
|
var MicrositeVideoSlideshow_styles = require('./MicrositeVideoSlideshow.styles.js');
|
|
12
12
|
var MicrositeSectionWrap = require('../MicrositeSectionWrap/MicrositeSectionWrap.js');
|
|
13
13
|
var PlayIcon = require("../../assets/play.svg");
|
|
14
|
-
var PauseIcon = require("../../assets/
|
|
14
|
+
var PauseIcon = require("../../assets/pause2.svg");
|
|
15
15
|
var ActiveIconBox = require("../../assets/active-icon-box.svg");
|
|
16
16
|
function _interopDefault(e) {
|
|
17
17
|
return e && e.__esModule ? e : {
|
|
@@ -9,7 +9,7 @@ import './assets/play.svg.mjs';
|
|
|
9
9
|
import { VideoBlock, Video, VideoControls, VideoInnerWrap, ProgressCircle, PlayIcon, PauseIcon, SlideRow, Slide, FeatureIconWrap, FeatureIconActiveBackground, FeatureIcon, FeatureTitle, MicrositeBuyButton } from './MicrositeVideoSlideshow.styles.mjs';
|
|
10
10
|
import { MicrositeSectionWrap } from '../MicrositeSectionWrap/MicrositeSectionWrap.mjs';
|
|
11
11
|
import PlayIcon__default from "../../assets/play.svg";
|
|
12
|
-
import PauseIcon__default from "../../assets/
|
|
12
|
+
import PauseIcon__default from "../../assets/pause2.svg";
|
|
13
13
|
import ActiveIconBox__default from "../../assets/active-icon-box.svg";
|
|
14
14
|
"use strict";
|
|
15
15
|
const MicrositeVideoSlideshow = ({
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../assets/
|
|
2
|
-
export { default } from "../../../assets/
|
|
1
|
+
export * from "../../../assets/pause2.svg";
|
|
2
|
+
export { default } from "../../../assets/pause2.svg";
|
|
3
3
|
//# sourceMappingURL=pause.svg.mjs.map
|
|
@@ -12,7 +12,7 @@ require('./assets/attention.svg.js');
|
|
|
12
12
|
var InputCard_styles = require('./InputCard.styles.js');
|
|
13
13
|
require('./InputSections/index.js');
|
|
14
14
|
var CustomImage = require('../../../../CustomImage/CustomImage.js');
|
|
15
|
-
var attentionIcon = require("../../../../../assets/
|
|
15
|
+
var attentionIcon = require("../../../../../assets/attention2.svg");
|
|
16
16
|
var OptionSelectSection = require('./InputSections/OptionSelectSection.js');
|
|
17
17
|
var SliderSection = require('./InputSections/SliderSection.js');
|
|
18
18
|
var CounterSection = require('./InputSections/CounterSection.js');
|
|
@@ -10,7 +10,7 @@ import './assets/attention.svg.mjs';
|
|
|
10
10
|
import { Card, Header, HeaderHeadingSection, HeadingIcon, HeadingTitle, HeaderActionSection, SubduedInfo, OverlayFilter, NotAvailableNoteWrap, NotAvailableNoteIcon, InputBody, InputSectionSpacing, Footer, FooterContent, FooterNote } from './InputCard.styles.mjs';
|
|
11
11
|
import './InputSections/index.mjs';
|
|
12
12
|
import { CustomImage } from '../../../../CustomImage/CustomImage.mjs';
|
|
13
|
-
import attentionIcon__default from "../../../../../assets/
|
|
13
|
+
import attentionIcon__default from "../../../../../assets/attention2.svg";
|
|
14
14
|
import { OptionSelectSection } from './InputSections/OptionSelectSection.mjs';
|
|
15
15
|
import { SliderSection } from './InputSections/SliderSection.mjs';
|
|
16
16
|
import { CounterSection } from './InputSections/CounterSection.mjs';
|
|
@@ -11,8 +11,8 @@ require('../assets/plus.svg.js');
|
|
|
11
11
|
var Layout_styles = require('./Layout.styles.js');
|
|
12
12
|
var CustomImage = require('../../../../../CustomImage/CustomImage.js');
|
|
13
13
|
var StyleableSvgImage = require('../../../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
14
|
-
var MinusIcon = require("../../../../../../assets/
|
|
15
|
-
var PlusIcon = require("../../../../../../assets/
|
|
14
|
+
var MinusIcon = require("../../../../../../assets/minus5.svg");
|
|
15
|
+
var PlusIcon = require("../../../../../../assets/plus7.svg");
|
|
16
16
|
function _interopDefault(e) {
|
|
17
17
|
return e && e.__esModule ? e : {
|
|
18
18
|
default: e
|
|
@@ -9,8 +9,8 @@ import '../assets/plus.svg.mjs';
|
|
|
9
9
|
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
|
-
import MinusIcon__default from "../../../../../../assets/
|
|
13
|
-
import PlusIcon__default from "../../../../../../assets/
|
|
12
|
+
import MinusIcon__default from "../../../../../../assets/minus5.svg";
|
|
13
|
+
import PlusIcon__default from "../../../../../../assets/plus7.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 attentionIcon = require("../../../../../../assets/
|
|
6
|
+
var attentionIcon = require("../../../../../../assets/attention2.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/attention2.svg";
|
|
2
|
+
export { default } from "../../../../../../assets/attention2.svg";
|
|
3
3
|
//# sourceMappingURL=attention.svg.mjs.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var MinusIcon = require("../../../../../../assets/
|
|
6
|
+
var MinusIcon = require("../../../../../../assets/minus5.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/minus5.svg";
|
|
2
|
+
export { default } from "../../../../../../assets/minus5.svg";
|
|
3
3
|
//# sourceMappingURL=minus.svg.mjs.map
|
|
@@ -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/plus7.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/plus7.svg";
|
|
2
|
+
export { default } from "../../../../../../assets/plus7.svg";
|
|
3
3
|
//# sourceMappingURL=plus.svg.mjs.map
|
|
@@ -6,7 +6,7 @@ var asset = require('../../../../../utils/asset.js');
|
|
|
6
6
|
require('./assets/attention.svg.js');
|
|
7
7
|
var Part = require('./Part.js');
|
|
8
8
|
var ProgressBarChart_styles = require('./ProgressBarChart.styles.js');
|
|
9
|
-
var attentionIcon = require("../../../../../assets/
|
|
9
|
+
var attentionIcon = require("../../../../../assets/attention.svg");
|
|
10
10
|
function _interopDefault(e) {
|
|
11
11
|
return e && e.__esModule ? e : {
|
|
12
12
|
default: e
|