@woosmap/ui 4.221.0 → 4.222.0
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/package.json +108 -120
- package/src/components/Button/Button.js +2 -2
- package/src/components/Button/Button.stories.js +5 -5
- package/src/components/Button/Button.test.js +1 -1
- package/src/components/Button/ButtonSwitch.js +1 -1
- package/src/components/Button/ButtonWithDropdown.js +3 -3
- package/src/components/Button/ButtonWithDropdown.test.js +1 -1
- package/src/components/Card/Card.js +29 -29
- package/src/components/Card/Card.stories.js +6 -6
- package/src/components/Card/Card.test.js +1 -1
- package/src/components/Card/SimpleCard.js +2 -2
- package/src/components/Card/SimpleCard.test.js +1 -1
- package/src/components/CodeSnippet/CodeSnippet.stories.js +1 -1
- package/src/components/CodeSnippet/CodeSnippet.test.js +1 -1
- package/src/components/CopyClipboardButton/CopyClipboardButton.js +3 -3
- package/src/components/CopyClipboardButton/CopyToClipboard.stories.js +1 -1
- package/src/components/CopyClipboardButton/CopyToClipboard.test.js +1 -1
- package/src/components/DateTime/DateTime.stories.js +1 -1
- package/src/components/DateTime/DateTime.test.js +1 -1
- package/src/components/Demo/AddressDemo.js +10 -10
- package/src/components/Demo/AddressDemo.stories.js +1 -1
- package/src/components/Demo/AutocompleteAddressDemo.js +10 -10
- package/src/components/Demo/AutocompleteAddressDemo.stories.js +2 -2
- package/src/components/Demo/DistanceDemo.js +12 -12
- package/src/components/Demo/DistanceDemo.stories.js +1 -1
- package/src/components/Demo/DistanceDemo.test.js +1 -1
- package/src/components/Demo/GeolocationDemo.js +7 -7
- package/src/components/Demo/GeolocationDemo.stories.js +1 -1
- package/src/components/Demo/GeolocationDemo.test.js +1 -1
- package/src/components/Demo/LocalitiesAddressDemo.js +8 -8
- package/src/components/Demo/LocalitiesAddressDemo.stories.js +1 -1
- package/src/components/Demo/LocalitiesAllDemo.js +5 -5
- package/src/components/Demo/LocalitiesAllDemo.stories.js +1 -1
- package/src/components/Demo/LocalitiesDemo.js +10 -10
- package/src/components/Demo/LocalitiesDemo.stories.js +1 -1
- package/src/components/Demo/LocalitiesFRAddressDemo.js +239 -261
- package/src/components/Demo/LocalitiesFRAddressDemo.stories.js +2 -2
- package/src/components/Demo/LocalitiesUKAddressDemo.js +271 -294
- package/src/components/Demo/LocalitiesUKAddressDemo.stories.js +1 -1
- package/src/components/Demo/MapDemo.js +231 -233
- package/src/components/Demo/MapDemo.stories.js +1 -1
- package/src/components/Demo/SearchDemo.js +9 -9
- package/src/components/Demo/SearchDemo.stories.js +1 -1
- package/src/components/Demo/SearchDemo.test.js +1 -1
- package/src/components/Demo/Showcase.stories.js +7 -7
- package/src/components/Demo/SkeletonDemo.js +8 -8
- package/src/components/Demo/SkeletonDemo.stories.js +2 -2
- package/src/components/Demo/SkeletonDemo.test.js +2 -2
- package/src/components/Demo/W3WDemo.js +9 -9
- package/src/components/Demo/W3WDemo.stories.js +2 -2
- package/src/components/Dropdown/Dropdown.js +4 -4
- package/src/components/Dropdown/Dropdown.stories.js +1 -1
- package/src/components/Dropdown/Dropdown.test.js +1 -1
- package/src/components/DynamicTag/DynamicTag.js +5 -5
- package/src/components/DynamicTag/DynamicTag.stories.js +1 -1
- package/src/components/DynamicTag/DynamicTag.test.js +1 -1
- package/src/components/Flash/Flash.js +1 -1
- package/src/components/Flash/Flash.stories.js +1 -1
- package/src/components/Flash/Flash.test.js +1 -1
- package/src/components/Icon/Icon.js +409 -409
- package/src/components/Icon/Icon.stories.js +1 -1
- package/src/components/Icon/Icon.test.js +1 -1
- package/src/components/Icon/WebSiteIcon.js +231 -231
- package/src/components/InfoMessage/Flash.js +1 -1
- package/src/components/InfoMessage/InfoMessage.js +2 -2
- package/src/components/InfoMessage/InfoMessage.stories.js +1 -1
- package/src/components/InfoMessage/InfoMessage.test.js +1 -1
- package/src/components/Input/Input.js +2 -2
- package/src/components/Input/Input.password.test.js +1 -1
- package/src/components/Input/Input.stories.js +1 -1
- package/src/components/Input/Input.test.js +1 -1
- package/src/components/Label/Label.js +1 -1
- package/src/components/Label/Label.stories.js +1 -1
- package/src/components/Label/Label.test.js +1 -1
- package/src/components/Map/InfoWindow.test.js +1 -1
- package/src/components/Map/Map.stories.js +3 -3
- package/src/components/Map/Marker.test.js +1 -1
- package/src/components/Map/drawOnMap.test.js +2 -10
- package/src/components/Modal/ConfirmationModal.js +2 -2
- package/src/components/Modal/ConfirmationModal.test.js +1 -1
- package/src/components/Modal/Modal.js +6 -6
- package/src/components/Modal/Modal.stories.js +3 -3
- package/src/components/Modal/Modal.test.js +1 -1
- package/src/components/OfflineChatBot/OfflineChatBot.js +4 -4
- package/src/components/OfflineChatBot/OfflineChatBot.stories.js +2 -2
- package/src/components/Panel/Panel.js +2 -2
- package/src/components/Panel/Panel.stories.js +2 -2
- package/src/components/Panel/Panel.test.js +1 -1
- package/src/components/PasswordStrengthBar/PasswordStrengthBar.stories.js +1 -1
- package/src/components/PasswordStrengthBar/PasswordStrengthBar.test.js +1 -1
- package/src/components/Popover/ConfirmationPopover.js +3 -3
- package/src/components/Popover/ConfirmationPopover.test.js +1 -1
- package/src/components/Popover/Popover.js +1 -1
- package/src/components/Popover/Popover.stories.js +3 -3
- package/src/components/Popover/Popover.test.js +2 -2
- package/src/components/PricingSlider/PricingData.js +97 -107
- package/src/components/PricingSlider/PricingSimulator.js +3 -3
- package/src/components/PricingSlider/PricingSimulator.stories.js +1 -1
- package/src/components/PricingSlider/PricingSlider.js +4 -5
- package/src/components/ProgressBar/ProgressBar.js +1 -1
- package/src/components/ProgressBar/ProgressBar.stories.js +1 -1
- package/src/components/ProgressBar/ProgressBar.test.js +1 -1
- package/src/components/ScrollBar/ScrollBar.stories.js +1 -1
- package/src/components/ScrollBar/ScrollBar.test.js +1 -1
- package/src/components/Select/Select.stories.js +4 -4
- package/src/components/Select/TagSelect.test.js +1 -1
- package/src/components/ServiceMessage/ServiceMessage.js +1 -1
- package/src/components/ServiceMessage/ServiceMessage.stories.js +2 -2
- package/src/components/SnackBar/SnackBar.js +2 -2
- package/src/components/SnackBar/SnackBar.stories.js +3 -3
- package/src/components/SnackBar/SnackBar.test.js +3 -3
- package/src/components/SnackBar/withSnackBar.js +1 -1
- package/src/components/Stepper/Stepper.js +2 -2
- package/src/components/Stepper/Stepper.stories.js +1 -1
- package/src/components/Switch/Switch.stories.js +1 -1
- package/src/components/Switch/Switch.test.js +1 -1
- package/src/components/Tab/Tab.js +1 -1
- package/src/components/Tab/Tab.stories.js +1 -1
- package/src/components/Tooltip/Tooltip.stories.js +1 -1
- package/src/components/Tooltip/Tooltip.test.js +1 -1
- package/src/components/UseCase/UseCase.js +9 -9
- package/src/components/UseCase/UseCase.stories.js +4 -4
- package/src/components/Woosmap/AddressAutocomplete.js +3 -3
- package/src/components/Woosmap/LocalitiesAutocomplete.js +1 -1
- package/src/components/Woosmap/Woosmap.stories.js +3 -3
- package/src/components/utils/Script.test.js +1 -1
- package/src/components/utils/locale.js +2 -2
- package/src/components/withClickOutside/withClickOutside.test.js +1 -1
- package/src/components/withFormValidation/withFormValidation.js +2 -2
- package/src/components/withFormValidation/withFormValidation.stories.js +2 -2
- package/src/components/withFormValidation/withFormValidation.test.js +2 -2
- package/src/index.js +61 -61
- package/src/locales/en/translation.json +143 -128
- package/src/locales/fr/translation.json +143 -128
- package/src/styles/console/pricing-slider-back.styl +593 -0
- package/src/website.js +25 -25
- package/craco.config.js +0 -9
|
@@ -0,0 +1,593 @@
|
|
|
1
|
+
$pR = .6rem
|
|
2
|
+
$discount = #00bd9a
|
|
3
|
+
$cardColor = rgba(40, 50, 98, .6)
|
|
4
|
+
$cardColorHover = #1f2339
|
|
5
|
+
$light14 = rgba($light, 14%)
|
|
6
|
+
$dark14 = rgba($dark, 14%)
|
|
7
|
+
.pricing
|
|
8
|
+
&-container
|
|
9
|
+
width 100%
|
|
10
|
+
border .1rem solid $light20
|
|
11
|
+
border-top 0
|
|
12
|
+
.section--light &
|
|
13
|
+
.section--white &
|
|
14
|
+
.section--grey &
|
|
15
|
+
border .1rem solid $dark10
|
|
16
|
+
border-top 0
|
|
17
|
+
&-nav
|
|
18
|
+
position sticky
|
|
19
|
+
// top 10.7rem
|
|
20
|
+
top 0
|
|
21
|
+
z-index 10000
|
|
22
|
+
width 100%
|
|
23
|
+
&-description
|
|
24
|
+
margin-bottom 1rem
|
|
25
|
+
&-documentation
|
|
26
|
+
display flex
|
|
27
|
+
align-items center
|
|
28
|
+
gap .6rem
|
|
29
|
+
.icon
|
|
30
|
+
trans()
|
|
31
|
+
stroke $logo3
|
|
32
|
+
fill none
|
|
33
|
+
&:hover
|
|
34
|
+
.icon
|
|
35
|
+
stroke $logo6
|
|
36
|
+
&-menu
|
|
37
|
+
flex-grow 1
|
|
38
|
+
display flex
|
|
39
|
+
align-items center
|
|
40
|
+
justify-content center
|
|
41
|
+
flex-wrap wrap
|
|
42
|
+
gap 1rem 3rem
|
|
43
|
+
padding 2rem 2rem
|
|
44
|
+
font-weight 460
|
|
45
|
+
font-size 1.9rem
|
|
46
|
+
border-top .1rem solid $light20
|
|
47
|
+
border-bottom .1rem solid $light20
|
|
48
|
+
background-color lighten($cardColor, 10%)
|
|
49
|
+
.section--light &
|
|
50
|
+
.section--white &
|
|
51
|
+
.section--grey &
|
|
52
|
+
background-color $light
|
|
53
|
+
border-top .1rem solid $dark10
|
|
54
|
+
border-bottom .1rem solid $dark10
|
|
55
|
+
&__item
|
|
56
|
+
a
|
|
57
|
+
color $light
|
|
58
|
+
.section--light &
|
|
59
|
+
.section--white &
|
|
60
|
+
.section--grey &
|
|
61
|
+
color $dark
|
|
62
|
+
&-total
|
|
63
|
+
&.mobile
|
|
64
|
+
display none
|
|
65
|
+
@media screen and (max-width 960px)
|
|
66
|
+
display: flex
|
|
67
|
+
justify-content space-between
|
|
68
|
+
align-items center
|
|
69
|
+
flex-direction: row
|
|
70
|
+
gap 1.6rem
|
|
71
|
+
flex-wrap wrap
|
|
72
|
+
padding 1rem 2rem
|
|
73
|
+
background-color lighten($cardColor, 5%)
|
|
74
|
+
border-bottom .1rem solid $light20
|
|
75
|
+
color $light60
|
|
76
|
+
.section--light &
|
|
77
|
+
.section--white &
|
|
78
|
+
.section--grey &
|
|
79
|
+
background-color #fbfbfb
|
|
80
|
+
border-bottom .1rem solid $dark10
|
|
81
|
+
color $dark
|
|
82
|
+
@media screen and (max-width 360px)
|
|
83
|
+
justify-content center
|
|
84
|
+
&.desktop
|
|
85
|
+
position sticky
|
|
86
|
+
top 6rem
|
|
87
|
+
left 0
|
|
88
|
+
padding 3rem
|
|
89
|
+
text-align center
|
|
90
|
+
|
|
91
|
+
&__discount
|
|
92
|
+
.mobile &
|
|
93
|
+
br()
|
|
94
|
+
background-color $discount
|
|
95
|
+
color $light
|
|
96
|
+
padding .4rem 1rem
|
|
97
|
+
.desktop &
|
|
98
|
+
color $light40
|
|
99
|
+
margin-top 2rem
|
|
100
|
+
.section--light &
|
|
101
|
+
.section--white &
|
|
102
|
+
.section--grey &
|
|
103
|
+
color $dark60
|
|
104
|
+
&__plan
|
|
105
|
+
font-size 1.4rem
|
|
106
|
+
strong
|
|
107
|
+
color $discount
|
|
108
|
+
font-size 1.6rem
|
|
109
|
+
&__info
|
|
110
|
+
display flex
|
|
111
|
+
align-items center
|
|
112
|
+
gap 2rem
|
|
113
|
+
.desktop &
|
|
114
|
+
justify-content center
|
|
115
|
+
line-height 3rem
|
|
116
|
+
&__label
|
|
117
|
+
.mobile &
|
|
118
|
+
display flex
|
|
119
|
+
flex-direction: column
|
|
120
|
+
@media screen and (max-width 360px)
|
|
121
|
+
align-items center
|
|
122
|
+
|
|
123
|
+
.desktop &
|
|
124
|
+
text-align center
|
|
125
|
+
font-size 1.8rem
|
|
126
|
+
letter-spacing .1rem
|
|
127
|
+
font-weight 300
|
|
128
|
+
line-height 3
|
|
129
|
+
text-transform uppercase
|
|
130
|
+
letter-spacing .2rem
|
|
131
|
+
.section--light &
|
|
132
|
+
.section--white &
|
|
133
|
+
.section--grey &
|
|
134
|
+
color $dark40
|
|
135
|
+
&__title
|
|
136
|
+
font-weight 460
|
|
137
|
+
text-transform uppercase
|
|
138
|
+
letter-spacing .2rem
|
|
139
|
+
font-size 1.1rem
|
|
140
|
+
line-height: 1.7
|
|
141
|
+
color $light60
|
|
142
|
+
.section--light &
|
|
143
|
+
.section--white &
|
|
144
|
+
.section--grey &
|
|
145
|
+
color $dark40
|
|
146
|
+
&__info
|
|
147
|
+
font-size 1.2rem
|
|
148
|
+
|
|
149
|
+
&__amount
|
|
150
|
+
color $light60
|
|
151
|
+
.mobile &
|
|
152
|
+
font-weight 700
|
|
153
|
+
line-height: 1.7
|
|
154
|
+
.section--light &
|
|
155
|
+
.section--white &
|
|
156
|
+
.section--grey &
|
|
157
|
+
color $dark60
|
|
158
|
+
@media screen and (max-width 360px)
|
|
159
|
+
margin-right auto
|
|
160
|
+
margin-left auto
|
|
161
|
+
.desktop &
|
|
162
|
+
br()
|
|
163
|
+
display inline-block
|
|
164
|
+
margin auto
|
|
165
|
+
font-size 3rem
|
|
166
|
+
padding 1.6rem 2rem
|
|
167
|
+
min-width 16rem
|
|
168
|
+
font-weight 600
|
|
169
|
+
background-color $dark6
|
|
170
|
+
color $dark
|
|
171
|
+
margin-bottom 1rem
|
|
172
|
+
a
|
|
173
|
+
font-size 2rem
|
|
174
|
+
cursor pointer
|
|
175
|
+
&__info
|
|
176
|
+
font-size 1.2rem
|
|
177
|
+
color $dark60
|
|
178
|
+
margin-top 0.5rem
|
|
179
|
+
font-style italic
|
|
180
|
+
&__asterisk
|
|
181
|
+
font-size 2rem
|
|
182
|
+
position relative
|
|
183
|
+
top -0.8rem
|
|
184
|
+
margin-left: 0.5rem
|
|
185
|
+
.mobile &
|
|
186
|
+
font-size 1.3rem
|
|
187
|
+
top auto
|
|
188
|
+
line-height 1.3
|
|
189
|
+
|
|
190
|
+
&-simulator
|
|
191
|
+
&__wrapper
|
|
192
|
+
width 100%
|
|
193
|
+
background-color lighten($cardColor, 2%)
|
|
194
|
+
display flex
|
|
195
|
+
.section--light &
|
|
196
|
+
.section--white &
|
|
197
|
+
.section--grey &
|
|
198
|
+
background-color $light
|
|
199
|
+
.pricing-simulator__item
|
|
200
|
+
&:first-child
|
|
201
|
+
.pricing-simulator__header
|
|
202
|
+
padding-top 2.7rem
|
|
203
|
+
border-top 0
|
|
204
|
+
.eligible-discount
|
|
205
|
+
display flex
|
|
206
|
+
align-items center
|
|
207
|
+
gap 1rem
|
|
208
|
+
color $discount
|
|
209
|
+
margin-bottom 1rem
|
|
210
|
+
&-img
|
|
211
|
+
max-width 2rem
|
|
212
|
+
flex-shrink 0
|
|
213
|
+
&__pricebox
|
|
214
|
+
position relative
|
|
215
|
+
flex: 1 1 0
|
|
216
|
+
@media screen and (max-width 960px)
|
|
217
|
+
display none
|
|
218
|
+
&__data
|
|
219
|
+
flex: 2 1 0
|
|
220
|
+
border-right .1rem solid $light14
|
|
221
|
+
.section--light &
|
|
222
|
+
.section--white &
|
|
223
|
+
.section--grey &
|
|
224
|
+
border-right .1rem solid $dark14
|
|
225
|
+
@media screen and (max-width 960px)
|
|
226
|
+
flex: 1
|
|
227
|
+
|
|
228
|
+
&__header
|
|
229
|
+
display flex
|
|
230
|
+
align-items center
|
|
231
|
+
gap 2rem
|
|
232
|
+
scroll-margin-top 19.7rem
|
|
233
|
+
z-index 10
|
|
234
|
+
padding-top 5rem
|
|
235
|
+
padding-left 4rem
|
|
236
|
+
padding-bottom 3rem
|
|
237
|
+
background-color lighten($cardColor, 10%)
|
|
238
|
+
border-top .1rem solid $light8
|
|
239
|
+
border-bottom .1rem dashed $light14
|
|
240
|
+
.section--light &
|
|
241
|
+
.section--white &
|
|
242
|
+
.section--grey &
|
|
243
|
+
background-color $dark2
|
|
244
|
+
border-top .1rem solid $dark8
|
|
245
|
+
border-bottom .1rem dashed $dark14
|
|
246
|
+
&__prod-img
|
|
247
|
+
max-width 4.8rem
|
|
248
|
+
border-radius .5rem !important
|
|
249
|
+
&__prod-name
|
|
250
|
+
font-size 2.4rem
|
|
251
|
+
margin-bottom 0
|
|
252
|
+
&__prod-desc
|
|
253
|
+
font-size 1.6rem
|
|
254
|
+
&__prod-price-label
|
|
255
|
+
font-size 1rem
|
|
256
|
+
font-weight 460
|
|
257
|
+
margin-left auto
|
|
258
|
+
margin-right 1.7rem
|
|
259
|
+
text-transform uppercase
|
|
260
|
+
letter-spacing .2rem
|
|
261
|
+
margin-right 4rem
|
|
262
|
+
margin-top 3rem
|
|
263
|
+
width 11rem
|
|
264
|
+
&-slider
|
|
265
|
+
&__wrapper
|
|
266
|
+
trans()
|
|
267
|
+
z-index 1
|
|
268
|
+
position relative
|
|
269
|
+
scroll-margin-top 18.8rem
|
|
270
|
+
&:not(:last-child)
|
|
271
|
+
border-bottom .1rem dashed $light20
|
|
272
|
+
.section--light &
|
|
273
|
+
.section--white &
|
|
274
|
+
.section--grey &
|
|
275
|
+
border-bottom .1rem dashed $dark20
|
|
276
|
+
&__cont
|
|
277
|
+
width 100%
|
|
278
|
+
font-size 1.5rem
|
|
279
|
+
line-height 1.3
|
|
280
|
+
&__item
|
|
281
|
+
trans()
|
|
282
|
+
display flex
|
|
283
|
+
gap 2vw
|
|
284
|
+
padding 0 4rem 0 5rem
|
|
285
|
+
&__info
|
|
286
|
+
h3
|
|
287
|
+
font-size 2rem
|
|
288
|
+
margin-bottom 1rem
|
|
289
|
+
&__header
|
|
290
|
+
padding 5rem 4rem 3rem 4rem
|
|
291
|
+
&__documentation
|
|
292
|
+
margin-top 2rem
|
|
293
|
+
display flex
|
|
294
|
+
align-items center
|
|
295
|
+
gap .6rem
|
|
296
|
+
padding 2rem 4rem 2rem 4rem
|
|
297
|
+
background-color $dark1
|
|
298
|
+
border-top .1rem solid $dark2
|
|
299
|
+
a
|
|
300
|
+
display inline-flex
|
|
301
|
+
align-items center
|
|
302
|
+
gap .6rem
|
|
303
|
+
.icon
|
|
304
|
+
trans()
|
|
305
|
+
stroke $logo3
|
|
306
|
+
fill none
|
|
307
|
+
&:hover
|
|
308
|
+
.icon
|
|
309
|
+
stroke $logo6
|
|
310
|
+
&__detailed-price
|
|
311
|
+
&-wrapper
|
|
312
|
+
padding: 2rem 2rem 0 2rem
|
|
313
|
+
table
|
|
314
|
+
width: 100%
|
|
315
|
+
margin 2rem 0 0 0
|
|
316
|
+
font-size 1.5rem
|
|
317
|
+
border 0
|
|
318
|
+
border-radius 1rem
|
|
319
|
+
box-shadow none
|
|
320
|
+
thead
|
|
321
|
+
tr
|
|
322
|
+
border-radius 0
|
|
323
|
+
border 0
|
|
324
|
+
&:nth-child(even)
|
|
325
|
+
background-color $dark4
|
|
326
|
+
tbody
|
|
327
|
+
tr
|
|
328
|
+
border-radius 0
|
|
329
|
+
border 0
|
|
330
|
+
&:nth-child(odd)
|
|
331
|
+
background-color $dark1
|
|
332
|
+
td
|
|
333
|
+
border 0
|
|
334
|
+
padding 1rem 2rem
|
|
335
|
+
color $dark80
|
|
336
|
+
width: 50%
|
|
337
|
+
&:first-child
|
|
338
|
+
font-weight 500
|
|
339
|
+
width 26rem
|
|
340
|
+
&__queries
|
|
341
|
+
max-width 14rem
|
|
342
|
+
&__label
|
|
343
|
+
text-transform uppercase
|
|
344
|
+
text-align center
|
|
345
|
+
font-size 1rem
|
|
346
|
+
letter-spacing .15rem
|
|
347
|
+
font-weight 460
|
|
348
|
+
margin-bottom 1.6rem
|
|
349
|
+
.input__item:not([type=button]):not([type=checkbox]):not([type=radio])
|
|
350
|
+
trans()
|
|
351
|
+
min-width 10rem !important
|
|
352
|
+
text-align center !important
|
|
353
|
+
height 4rem !important
|
|
354
|
+
font-weight 460 !important
|
|
355
|
+
color $dark !important
|
|
356
|
+
&__price
|
|
357
|
+
display flex
|
|
358
|
+
flex-direction column
|
|
359
|
+
align-items center
|
|
360
|
+
width 15rem
|
|
361
|
+
.button-contact
|
|
362
|
+
margin-top 2.9rem
|
|
363
|
+
.btn
|
|
364
|
+
color $light !important
|
|
365
|
+
.free-label
|
|
366
|
+
.amount
|
|
367
|
+
br()
|
|
368
|
+
display flex
|
|
369
|
+
align-items center
|
|
370
|
+
justify-content center
|
|
371
|
+
height 4rem
|
|
372
|
+
font-size 2.2rem
|
|
373
|
+
line-height 2.2rem
|
|
374
|
+
text-align center
|
|
375
|
+
font-weight 600
|
|
376
|
+
margin-top 2.8rem
|
|
377
|
+
white-space nowrap
|
|
378
|
+
color $light
|
|
379
|
+
.section--light &
|
|
380
|
+
.section--white &
|
|
381
|
+
.section--grey &
|
|
382
|
+
color $dark
|
|
383
|
+
.free-label
|
|
384
|
+
color $discount
|
|
385
|
+
|
|
386
|
+
&-vertical-slider
|
|
387
|
+
height 6rem
|
|
388
|
+
flex-grow 1
|
|
389
|
+
min-width 30rem
|
|
390
|
+
display flex
|
|
391
|
+
margin-top 4.5rem
|
|
392
|
+
&-mark
|
|
393
|
+
position relative
|
|
394
|
+
z-index 10
|
|
395
|
+
top $pR
|
|
396
|
+
background-color $light40
|
|
397
|
+
width .1rem
|
|
398
|
+
height .6rem
|
|
399
|
+
.section--light &
|
|
400
|
+
.section--white &
|
|
401
|
+
.section--grey &
|
|
402
|
+
background-color $dark40
|
|
403
|
+
span
|
|
404
|
+
position absolute
|
|
405
|
+
top 2rem
|
|
406
|
+
left -50%
|
|
407
|
+
transform translateX(-50%)
|
|
408
|
+
&-track
|
|
409
|
+
height $pR
|
|
410
|
+
&-0
|
|
411
|
+
border-radius $borderRadius 0 0 $borderRadius
|
|
412
|
+
background-color $logo2
|
|
413
|
+
&-1
|
|
414
|
+
border-radius 0 $borderRadius $borderRadius 0
|
|
415
|
+
background-color #F1F1F1
|
|
416
|
+
&-thumb
|
|
417
|
+
position relative
|
|
418
|
+
width .1rem
|
|
419
|
+
z-index 15 !important
|
|
420
|
+
> span
|
|
421
|
+
br()
|
|
422
|
+
padding .3rem .8rem
|
|
423
|
+
min-width 3rem
|
|
424
|
+
position absolute
|
|
425
|
+
left 50%
|
|
426
|
+
transform translateX(-50%)
|
|
427
|
+
bottom 2rem
|
|
428
|
+
display flex
|
|
429
|
+
justify-content center
|
|
430
|
+
align-content center
|
|
431
|
+
background-color $logo3
|
|
432
|
+
color $light
|
|
433
|
+
font-weight 500
|
|
434
|
+
font-size 1.4rem
|
|
435
|
+
letter-spacing .1rem
|
|
436
|
+
text-shadow .1rem .1rem 0 $dark20
|
|
437
|
+
box-shadow inset 0 0 .6rem .1rem $light30
|
|
438
|
+
line-height 1.4
|
|
439
|
+
&:before
|
|
440
|
+
br(50)
|
|
441
|
+
position absolute
|
|
442
|
+
top 3.8rem
|
|
443
|
+
content ''
|
|
444
|
+
width 1.7rem
|
|
445
|
+
height 1.7rem
|
|
446
|
+
box-shadow 0 0 1rem $dark10
|
|
447
|
+
background-color $light
|
|
448
|
+
border .1rem solid $dark20
|
|
449
|
+
&-summary
|
|
450
|
+
display flex
|
|
451
|
+
align-items center
|
|
452
|
+
justify-content: space-between
|
|
453
|
+
padding 1rem 1.8rem
|
|
454
|
+
gap 1.2rem
|
|
455
|
+
flex-basis 100%
|
|
456
|
+
&:nth-child(even)
|
|
457
|
+
background-color $dark4
|
|
458
|
+
&-wrapper
|
|
459
|
+
br()
|
|
460
|
+
display flex
|
|
461
|
+
flex-direction column
|
|
462
|
+
border .1rem solid $borderColor
|
|
463
|
+
max-height: calc(100vh - 27rem)
|
|
464
|
+
margin-top 2rem
|
|
465
|
+
&-content
|
|
466
|
+
overflow-y: auto
|
|
467
|
+
&-header
|
|
468
|
+
.mobile &
|
|
469
|
+
font-weight 460
|
|
470
|
+
text-transform uppercase
|
|
471
|
+
letter-spacing .2rem
|
|
472
|
+
font-size .9rem
|
|
473
|
+
line-height: 1.7
|
|
474
|
+
color $light60
|
|
475
|
+
margin-right 6rem
|
|
476
|
+
.section--light &
|
|
477
|
+
.section--white &
|
|
478
|
+
.section--grey &
|
|
479
|
+
color $dark40
|
|
480
|
+
|
|
481
|
+
.desktop &
|
|
482
|
+
text-align center
|
|
483
|
+
font-size 1.5rem
|
|
484
|
+
font-weight 300
|
|
485
|
+
line-height 3
|
|
486
|
+
text-transform uppercase
|
|
487
|
+
letter-spacing .1rem
|
|
488
|
+
border-bottom .1rem solid $light14
|
|
489
|
+
.section--light &
|
|
490
|
+
.section--white &
|
|
491
|
+
.section--grey &
|
|
492
|
+
border-bottom .1rem solid $borderColor
|
|
493
|
+
|
|
494
|
+
&-info
|
|
495
|
+
flex 3
|
|
496
|
+
text-align: left
|
|
497
|
+
&-product
|
|
498
|
+
flex 1
|
|
499
|
+
margin-bottom 0.5rem
|
|
500
|
+
&-amount
|
|
501
|
+
font-weight: 700
|
|
502
|
+
flex 1
|
|
503
|
+
&-queries
|
|
504
|
+
font-weight 460
|
|
505
|
+
font-size 1.2rem
|
|
506
|
+
|
|
507
|
+
@media screen and (max-width 960px)
|
|
508
|
+
.pricing
|
|
509
|
+
&-simulator
|
|
510
|
+
&__header
|
|
511
|
+
padding 2rem 0 2rem 2rem !important
|
|
512
|
+
&__prod
|
|
513
|
+
&-price-label
|
|
514
|
+
display none
|
|
515
|
+
&-name
|
|
516
|
+
font-size 2rem
|
|
517
|
+
&-menu
|
|
518
|
+
padding-left 1rem
|
|
519
|
+
padding-right 1rem
|
|
520
|
+
font-size 1.5rem
|
|
521
|
+
font-weight 460
|
|
522
|
+
&-slider
|
|
523
|
+
&__detailed-price
|
|
524
|
+
table
|
|
525
|
+
margin-top 0
|
|
526
|
+
&__info
|
|
527
|
+
&__header
|
|
528
|
+
padding 2rem 2rem 3rem 2rem
|
|
529
|
+
&__cont
|
|
530
|
+
&:not(:last-child)
|
|
531
|
+
border-bottom .1rem solid $light10
|
|
532
|
+
.section--light &
|
|
533
|
+
.section--white &
|
|
534
|
+
.section--grey &
|
|
535
|
+
border-bottom .1rem solid $dark10
|
|
536
|
+
&:hover
|
|
537
|
+
.input__item:not([type=button]):not([type=checkbox]):not([type=radio])
|
|
538
|
+
background-color transparent !important
|
|
539
|
+
.pricing-vertical-slider
|
|
540
|
+
order 4
|
|
541
|
+
margin-top 4rem
|
|
542
|
+
margin 2rem auto 0 auto
|
|
543
|
+
width 80vw
|
|
544
|
+
min-width auto
|
|
545
|
+
.pricing-slider__queries
|
|
546
|
+
order 3
|
|
547
|
+
&__item
|
|
548
|
+
flex-direction column
|
|
549
|
+
align-items center
|
|
550
|
+
padding 0 2rem
|
|
551
|
+
width 100vw
|
|
552
|
+
&__documentation
|
|
553
|
+
display inline-block
|
|
554
|
+
width 100%
|
|
555
|
+
padding 1rem 2rem
|
|
556
|
+
line-height 2
|
|
557
|
+
&__detailed-price-btn
|
|
558
|
+
order 5
|
|
559
|
+
&__price
|
|
560
|
+
line-height 2rem
|
|
561
|
+
width 100%
|
|
562
|
+
.free-label
|
|
563
|
+
margin-top 0
|
|
564
|
+
.amount
|
|
565
|
+
margin 0
|
|
566
|
+
font-size 3rem
|
|
567
|
+
.button-contact
|
|
568
|
+
margin auto
|
|
569
|
+
&__queries
|
|
570
|
+
padding-top 1rem
|
|
571
|
+
padding-bottom 1rem
|
|
572
|
+
margin-bottom 0
|
|
573
|
+
&__label
|
|
574
|
+
margin-bottom 0
|
|
575
|
+
.input__item:not([type=button]):not([type=checkbox]):not([type=radio])
|
|
576
|
+
background-color transparent !important
|
|
577
|
+
border 0 !important
|
|
578
|
+
color $light !important
|
|
579
|
+
.section--light &
|
|
580
|
+
.section--white &
|
|
581
|
+
.section--grey &
|
|
582
|
+
color $dark !important
|
|
583
|
+
&:hover
|
|
584
|
+
background-color transparent !important
|
|
585
|
+
|
|
586
|
+
@media screen and (max-width 360px)
|
|
587
|
+
.pricing
|
|
588
|
+
&-nav
|
|
589
|
+
top 6.6rem
|
|
590
|
+
&-slider
|
|
591
|
+
&__info
|
|
592
|
+
h3
|
|
593
|
+
font-size 2rem
|
package/src/website.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export { default as Button } from '
|
|
2
|
-
export { default as Switch } from '
|
|
3
|
-
export { default as Dropdown } from '
|
|
4
|
-
export { default as Flash } from '
|
|
5
|
-
export { default as Icon } from '
|
|
1
|
+
export { default as Button } from './components/Button/Button';
|
|
2
|
+
export { default as Switch } from './components/Switch/Switch';
|
|
3
|
+
export { default as Dropdown } from './components/Dropdown/Dropdown';
|
|
4
|
+
export { default as Flash } from './components/Flash/Flash';
|
|
5
|
+
export { default as Icon } from './components/Icon/WebSiteIcon';
|
|
6
6
|
|
|
7
|
-
export { default as Input } from '
|
|
8
|
-
export { default as PasswordStrengthBar } from '
|
|
9
|
-
export { default as Popover } from '
|
|
10
|
-
export { default as Select } from '
|
|
7
|
+
export { default as Input } from './components/Input/Input';
|
|
8
|
+
export { default as PasswordStrengthBar } from './components/PasswordStrengthBar/PasswordStrengthBar';
|
|
9
|
+
export { default as Popover } from './components/Popover/Popover';
|
|
10
|
+
export { default as Select } from './components/Select/Select';
|
|
11
11
|
|
|
12
|
-
export { default as LocalitiesDemo } from '
|
|
13
|
-
export { default as W3WDemo } from '
|
|
14
|
-
export { default as LocalitiesCheckoutUKDemo } from '
|
|
15
|
-
export { default as LocalitiesCheckoutFRDemo } from '
|
|
16
|
-
export { default as AutocompleteAddressDemo } from '
|
|
17
|
-
export { default as LocalitiesAddressDemo } from '
|
|
18
|
-
export { default as LocalitiesAllDemo } from '
|
|
19
|
-
export { default as GeolocationDemo } from '
|
|
20
|
-
export { default as DistanceDemo } from '
|
|
21
|
-
export { default as SearchDemo } from '
|
|
22
|
-
export { default as AddressDemo } from '
|
|
23
|
-
export { default as MapDemo } from '
|
|
24
|
-
export { default as AddressAutocomplete } from '
|
|
25
|
-
export { default as CountrySelect } from '
|
|
26
|
-
export { default as PricingSimulator } from '
|
|
27
|
-
export { default as CodeSnippet } from '
|
|
12
|
+
export { default as LocalitiesDemo } from './components/Demo/LocalitiesDemo';
|
|
13
|
+
export { default as W3WDemo } from './components/Demo/W3WDemo';
|
|
14
|
+
export { default as LocalitiesCheckoutUKDemo } from './components/Demo/LocalitiesUKAddressDemo';
|
|
15
|
+
export { default as LocalitiesCheckoutFRDemo } from './components/Demo/LocalitiesFRAddressDemo';
|
|
16
|
+
export { default as AutocompleteAddressDemo } from './components/Demo/AutocompleteAddressDemo';
|
|
17
|
+
export { default as LocalitiesAddressDemo } from './components/Demo/LocalitiesAddressDemo';
|
|
18
|
+
export { default as LocalitiesAllDemo } from './components/Demo/LocalitiesAllDemo';
|
|
19
|
+
export { default as GeolocationDemo } from './components/Demo/GeolocationDemo';
|
|
20
|
+
export { default as DistanceDemo } from './components/Demo/DistanceDemo';
|
|
21
|
+
export { default as SearchDemo } from './components/Demo/SearchDemo';
|
|
22
|
+
export { default as AddressDemo } from './components/Demo/AddressDemo';
|
|
23
|
+
export { default as MapDemo } from './components/Demo/MapDemo';
|
|
24
|
+
export { default as AddressAutocomplete } from './components/Woosmap/AddressAutocomplete';
|
|
25
|
+
export { default as CountrySelect } from './components/Select/CountrySelect';
|
|
26
|
+
export { default as PricingSimulator } from './components/PricingSlider/PricingSimulator';
|
|
27
|
+
export { default as CodeSnippet } from './components/CodeSnippet/CodeSnippet';
|