@woosmap/ui 4.220.10 → 4.220.13

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.
Files changed (145) hide show
  1. package/.eslintrc +0 -10
  2. package/.storybook/main.js +0 -7
  3. package/package.json +3 -11
  4. package/src/components/Button/Button.js +2 -2
  5. package/src/components/Button/Button.stories.js +5 -5
  6. package/src/components/Button/Button.test.js +1 -1
  7. package/src/components/Button/ButtonSwitch.js +1 -1
  8. package/src/components/Button/ButtonWithDropdown.js +3 -3
  9. package/src/components/Button/ButtonWithDropdown.test.js +1 -1
  10. package/src/components/Card/Card.js +29 -29
  11. package/src/components/Card/Card.stories.js +6 -6
  12. package/src/components/Card/Card.test.js +1 -1
  13. package/src/components/Card/SimpleCard.js +2 -2
  14. package/src/components/Card/SimpleCard.styl +2 -2
  15. package/src/components/Card/SimpleCard.test.js +1 -1
  16. package/src/components/CodeSnippet/CodeSnippet.stories.js +1 -1
  17. package/src/components/CodeSnippet/CodeSnippet.test.js +1 -1
  18. package/src/components/CopyClipboardButton/CopyClipboardButton.js +3 -3
  19. package/src/components/CopyClipboardButton/CopyToClipboard.stories.js +1 -1
  20. package/src/components/CopyClipboardButton/CopyToClipboard.test.js +1 -1
  21. package/src/components/DateTime/DateTime.stories.js +1 -1
  22. package/src/components/DateTime/DateTime.test.js +1 -1
  23. package/src/components/Demo/AddressDemo.js +10 -10
  24. package/src/components/Demo/AddressDemo.stories.js +1 -1
  25. package/src/components/Demo/AutocompleteAddressDemo.js +10 -10
  26. package/src/components/Demo/AutocompleteAddressDemo.stories.js +2 -2
  27. package/src/components/Demo/DistanceDemo.js +12 -12
  28. package/src/components/Demo/DistanceDemo.stories.js +1 -1
  29. package/src/components/Demo/DistanceDemo.test.js +1 -1
  30. package/src/components/Demo/GeolocationDemo.js +7 -7
  31. package/src/components/Demo/GeolocationDemo.stories.js +1 -1
  32. package/src/components/Demo/GeolocationDemo.test.js +1 -1
  33. package/src/components/Demo/LocalitiesAddressDemo.js +8 -8
  34. package/src/components/Demo/LocalitiesAddressDemo.stories.js +1 -1
  35. package/src/components/Demo/LocalitiesAllDemo.js +5 -5
  36. package/src/components/Demo/LocalitiesAllDemo.stories.js +1 -1
  37. package/src/components/Demo/LocalitiesDemo.js +10 -10
  38. package/src/components/Demo/LocalitiesDemo.stories.js +1 -1
  39. package/src/components/Demo/LocalitiesFRAddressDemo.js +239 -261
  40. package/src/components/Demo/LocalitiesFRAddressDemo.stories.js +2 -2
  41. package/src/components/Demo/LocalitiesUKAddressDemo.js +271 -294
  42. package/src/components/Demo/LocalitiesUKAddressDemo.stories.js +1 -1
  43. package/src/components/Demo/MapDemo.js +231 -233
  44. package/src/components/Demo/MapDemo.stories.js +1 -1
  45. package/src/components/Demo/SearchDemo.js +9 -9
  46. package/src/components/Demo/SearchDemo.stories.js +1 -1
  47. package/src/components/Demo/SearchDemo.test.js +1 -1
  48. package/src/components/Demo/Showcase.stories.js +7 -7
  49. package/src/components/Demo/SkeletonDemo.js +8 -8
  50. package/src/components/Demo/SkeletonDemo.stories.js +2 -2
  51. package/src/components/Demo/SkeletonDemo.test.js +2 -2
  52. package/src/components/Demo/W3WDemo.js +9 -9
  53. package/src/components/Demo/W3WDemo.stories.js +2 -2
  54. package/src/components/Dropdown/Dropdown.js +4 -4
  55. package/src/components/Dropdown/Dropdown.stories.js +1 -1
  56. package/src/components/Dropdown/Dropdown.test.js +1 -1
  57. package/src/components/DynamicTag/DynamicTag.js +5 -5
  58. package/src/components/DynamicTag/DynamicTag.stories.js +1 -1
  59. package/src/components/DynamicTag/DynamicTag.test.js +1 -1
  60. package/src/components/Flash/Flash.js +1 -1
  61. package/src/components/Flash/Flash.stories.js +1 -1
  62. package/src/components/Flash/Flash.test.js +1 -1
  63. package/src/components/Icon/Icon.js +409 -409
  64. package/src/components/Icon/Icon.stories.js +1 -1
  65. package/src/components/Icon/Icon.test.js +1 -1
  66. package/src/components/Icon/WebSiteIcon.js +231 -231
  67. package/src/components/InfoMessage/Flash.js +1 -1
  68. package/src/components/InfoMessage/InfoMessage.js +2 -2
  69. package/src/components/InfoMessage/InfoMessage.stories.js +1 -1
  70. package/src/components/InfoMessage/InfoMessage.test.js +1 -1
  71. package/src/components/Input/Input.js +2 -2
  72. package/src/components/Input/Input.password.test.js +1 -1
  73. package/src/components/Input/Input.stories.js +1 -1
  74. package/src/components/Input/Input.test.js +1 -1
  75. package/src/components/Label/Label.js +1 -1
  76. package/src/components/Label/Label.stories.js +1 -1
  77. package/src/components/Label/Label.test.js +1 -1
  78. package/src/components/Map/InfoWindow.test.js +1 -1
  79. package/src/components/Map/Map.stories.js +3 -3
  80. package/src/components/Map/Marker.test.js +1 -1
  81. package/src/components/Map/drawOnMap.test.js +2 -10
  82. package/src/components/Map/marker.styl +2 -2
  83. package/src/components/Modal/ConfirmationModal.js +2 -2
  84. package/src/components/Modal/ConfirmationModal.test.js +1 -1
  85. package/src/components/Modal/Modal.js +6 -6
  86. package/src/components/Modal/Modal.stories.js +3 -3
  87. package/src/components/Modal/Modal.test.js +1 -1
  88. package/src/components/OfflineChatBot/OfflineChatBot.js +4 -4
  89. package/src/components/OfflineChatBot/OfflineChatBot.stories.js +2 -2
  90. package/src/components/Panel/Panel.js +2 -2
  91. package/src/components/Panel/Panel.stories.js +2 -2
  92. package/src/components/Panel/Panel.test.js +1 -1
  93. package/src/components/PasswordStrengthBar/PasswordStrengthBar.stories.js +1 -1
  94. package/src/components/PasswordStrengthBar/PasswordStrengthBar.test.js +1 -1
  95. package/src/components/Popover/ConfirmationPopover.js +3 -3
  96. package/src/components/Popover/ConfirmationPopover.test.js +1 -1
  97. package/src/components/Popover/Popover.js +1 -1
  98. package/src/components/Popover/Popover.stories.js +3 -3
  99. package/src/components/Popover/Popover.test.js +2 -2
  100. package/src/components/PricingSlider/PricingData.js +94 -113
  101. package/src/components/PricingSlider/PricingSimulator.js +132 -90
  102. package/src/components/PricingSlider/PricingSimulator.stories.js +1 -1
  103. package/src/components/PricingSlider/PricingSlider.js +9 -10
  104. package/src/components/ProgressBar/ProgressBar.js +1 -1
  105. package/src/components/ProgressBar/ProgressBar.stories.js +1 -1
  106. package/src/components/ProgressBar/ProgressBar.test.js +1 -1
  107. package/src/components/ScrollBar/ScrollBar.stories.js +1 -1
  108. package/src/components/ScrollBar/ScrollBar.test.js +1 -1
  109. package/src/components/Select/Select.stories.js +4 -4
  110. package/src/components/Select/TagSelect.test.js +1 -1
  111. package/src/components/ServiceMessage/ServiceMessage.js +1 -1
  112. package/src/components/ServiceMessage/ServiceMessage.stories.js +2 -2
  113. package/src/components/SnackBar/SnackBar.js +2 -2
  114. package/src/components/SnackBar/SnackBar.stories.js +3 -3
  115. package/src/components/SnackBar/SnackBar.test.js +3 -3
  116. package/src/components/SnackBar/withSnackBar.js +1 -1
  117. package/src/components/Stepper/Stepper.js +2 -2
  118. package/src/components/Stepper/Stepper.stories.js +1 -1
  119. package/src/components/Switch/Switch.stories.js +1 -1
  120. package/src/components/Switch/Switch.test.js +1 -1
  121. package/src/components/Tab/Tab.js +1 -1
  122. package/src/components/Tab/Tab.stories.js +1 -1
  123. package/src/components/Tooltip/Tooltip.stories.js +1 -1
  124. package/src/components/Tooltip/Tooltip.test.js +1 -1
  125. package/src/components/UseCase/UseCase.js +9 -9
  126. package/src/components/UseCase/UseCase.stories.js +4 -4
  127. package/src/components/UseCase/UseCase.styl +8 -8
  128. package/src/components/Woosmap/AddressAutocomplete.js +3 -3
  129. package/src/components/Woosmap/LocalitiesAutocomplete.js +1 -1
  130. package/src/components/Woosmap/Woosmap.stories.js +3 -3
  131. package/src/components/utils/Script.test.js +1 -1
  132. package/src/components/utils/locale.js +2 -2
  133. package/src/components/withClickOutside/withClickOutside.test.js +1 -1
  134. package/src/components/withFormValidation/withFormValidation.js +2 -2
  135. package/src/components/withFormValidation/withFormValidation.stories.js +2 -2
  136. package/src/components/withFormValidation/withFormValidation.test.js +2 -2
  137. package/src/index.js +61 -61
  138. package/src/locales/en/translation.json +143 -128
  139. package/src/locales/fr/translation.json +143 -128
  140. package/src/styles/commons/flags.styl +1 -1
  141. package/src/styles/console/button.styl +3 -3
  142. package/src/styles/console/{pricing-slider.styl → pricing-slider-back.styl} +48 -21
  143. package/src/styles/style-console.styl +1 -2
  144. package/src/website.js +25 -25
  145. package/craco.config.js +0 -9
@@ -1,130 +1,145 @@
1
1
  {
2
- "": "",
3
- " Response": " Réponse",
4
- "Accuracy": "Précision",
5
- "Activated if available on Organization level": "",
6
- "Add": "Ajouter",
7
- "Addon": "Addon",
8
- "Address": "Adresse",
9
- "Administrative areas (States, regions, ...)": "Zones administratives (Régions, ...)",
10
- "Airports": "Aéroports",
11
- "Alternative routes": "Routes alternatives",
12
- "Amusement parks": "Parcs d'attraction",
13
- "Arrival Time": "Heure d'arrivée",
14
- "Art galleries": "Galeries d'art",
15
- "Autocomplete": "Autocomplete",
16
- "Automatically retrieve and analyse your user's location thanks to the advanced Maxmind IP database and list your nearby points of sale.": "Récupérez et analysez automatiquement la géolocalisation de vos utilisateurs grâce à nos données issues de la base de données IP avancée de Maxmind.",
17
- "Back": "Retour",
18
- "Beware...": "Attention...",
19
- "Blue": "Bleu",
20
- "Bose Factory Store": "Magasin d'usine Bose",
21
- "Bose Reseller Store": "Revendeur Bose",
22
- "Bose Store": "Magasin Bose",
23
- "Cancel": "Annuler",
24
- "Chat with us": "Discuter avec nous",
25
- "Checkout": "Checkout",
26
- "Checkout integration: on full addresses, renders the right part of the address in the right form fields": "Cas d’usage type Checkout : autocompletion sur une adresse complète pour pré-remplir les champs d’un formulaire",
27
- "Choose your style": "Choisir le style",
28
- "Code": "Code",
29
- "Coming step": "Prochaine étape",
30
- "Confirm": "Confirmer",
31
- "Continent": "Continent",
32
- "Copied!": "Copié !",
33
- "Copy": "Copier",
34
- "Cost per 1000": "Coût pour 1000",
35
- "Country": "Pays",
36
- "Customized Solutions": "Solutions personnalisées",
37
- "Default": "Défaut",
38
- "Departure Time": "Heure de départ",
39
- "Destination": "Destination",
40
- "Detailed Pricing": "Prix en détail",
41
- "Display Geolocation POIs": "Afficher les points de vente",
42
- "Display Map POIs": "Afficher les POIs de la carte",
43
- "Display Woosmap Stores overlay": "Afficher la couche de magasins Woosmap",
44
- "Display your regional promotions and catchment area.": "Affichez les offres promotionnelles de la région et la zone de chalandise.",
45
- "Distance API": "Distance API",
46
- "Favorite Project": "Projet favori",
47
- "Features": "Caractéristiques",
48
- "Filter by": "Filtrer par",
49
- "Financing": "Offres de financement",
50
- "Finished step": "Dernière étape",
51
- "Geocode": "Géocode",
52
- "Geolocation API": "Geolocation API",
53
- "Geometry only": "Geomoetry Uniquement",
54
- "Go": "Go",
55
- "Grey": "Gris",
56
- "Identify the country to redirect users to the suitable website, or adapt your services according to the timezone.": "Identifiez le pays pour rediriger vers le bon site et adaptez vos offres de services en fonction du fuseau horaire de vos visiteurs.",
57
- "In Store Wifi": "Wifi",
58
- "Initialise your map display around the end user and retrieve your own Points of Interest.": "Centrez la carte autour de la position de votre visiteur et affichez vos propres points de vente.",
59
- "Language": "Language",
60
- "Light Grey": "Gris clair",
61
- "Loading...": "Chargement...",
62
- "Localities": "Localités",
63
- "Localities API": "Localities API",
64
- "Location": "Localisation",
65
- "Looking for a ...": "Je cherche un ...",
66
- "Map": "Map",
67
- "Map API": "Map API",
68
- "Maximum number of stores": "Nombre de magasins présentés",
69
- "Maximum stores...": "Nombre max. de magasins ...",
70
- "Metro stations": "Stations de métro",
71
- "Museums": "Musées",
72
- "New": "Nouveau",
73
- "No address found for this location": "Aucune adresse pour cette localisation",
74
- "No locality found": "Aucune localité correspondante",
75
- "No options found": "Aucune option",
76
- "No route found": "Aucune route correspondante",
77
- "Origin": "Départ",
78
- "Parking": "Parking",
79
- "Paying from the first request": "",
80
- "Plugged to": "",
81
- "Postal code": "Code postal",
82
- "Postal codes": "Codes postaux",
83
- "Region / State": "Région / Etat",
84
- "Request": "Requête",
85
- "Request / Response": "Requête / Réponse",
86
- "Required field": "Champ obligatoire",
87
- "Reserve & Collect": "Click & Collect",
88
- "Response": "Réponse",
89
- "Response language": "Langue de réponse",
90
- "Result": "Résultat",
91
- "Results": "Résultats",
92
- "Schedule a Demo": "Démo vendeur",
93
- "Search among your own Points of Interest. Find stores by geography, by attributes or by autocomplete on store names.": "Un moteur de recherche dédié pour vos propres données. Trouvez des points de vente dans un rayon donné autour de coordonnées géographiques, par leurs attributs ou par autocomplétion sur les noms de magasins.",
94
- "Shopping centers": "Centres commerciaux",
95
- "Should be at least {{count}} char long": "",
96
- "Should be at least {{count}} char long__plural": "",
97
- "Should be at most {{count}} char long": "",
98
- "Should be at most {{count}} char long__plural": "",
99
- "Store Locator": "Store Locator",
100
- "Store Locator integration: autocomplete on city names, suburb names, postcodes...": "Cas d’usage type Store Locator : autocomplétion sur les noms de ville, les codes postaux, les aéroports, les stations de métro, les centres commerciaux...",
101
- "Store Search API": "Store Search API",
102
- "The Woosmap Distance API delivers road distance and travel time between origins and destinations, to plan a simple journey (up to 25 waypoints) or for matrix computations (up to 200 elements).": "L'API Woosmap Distance fournit la distance et le temps de parcours entre 2 coordonnées géographiques pour un trajet simple (avec jusqu’à 25 points de passage) ou pour des calculs matriciels (jusqu’à 200 éléments).",
103
- "The value you’ve entered is already in the list": "La valeur saisie est déjà dans la liste",
104
- "There are some errors": "Des erreurs se sont produites",
105
- "Timezone": "Fuseau horaire",
106
- "Tourist attractions": "Lieux touristiques",
107
- "Train stations": "Gares",
108
- "Type a locality name...": "Ville ou code postal",
109
- "Type in ": "Localité",
110
- "Type in a UK address ": "Adresse UK",
111
- "Type in a full address and hit Go": "Saisir une adresse complète et cliquer sur Go",
112
- "Type in a locality name...": "",
113
- "Type in an address": "Adresse",
114
- "Type in an address ": "Saisir une adresse",
115
- "Type of location": "",
116
- "Types": "Types",
117
- "Use case": "Cas d'usage",
118
- "Validate": "Valider",
119
- "Wheelchair Access": "Accès handicapés",
120
- "Will be automatically activated": "",
121
- "Woosmap Localities sorts and displays the 5 most relevant results, with priority to the most likely results, recognises common abbreviations and apostrophes, with high tolerance for typos.": "Woosmap Localities trie et affiche les 5 résultats les plus pertinents, avec en priorité les résultats les plus probables, sait reconnaître les abréviations courantes et les apostrophes en intégrant une grande tolérance aux fautes de frappe.",
122
- "Woosmap Map is a vector tiles map based, which guarantees smooth zooming and panning transitions, a mobile-optimised loading and clear rendering at every scale. It provides a worldwide cover, cutting edge details and ability to display 3D buildings at closest/street zoom levels.": "Woosmap Map est une carte vectorielle qui garantit une navigation fluide, sans impact sur les performances du navigateur et un téléchargement plus rapide et optimisé pour mobile.",
123
- "Work with": "",
124
- "YOUR_KEY_HERE": "VOTRE_CLE_ICI",
125
- "You can select bewteen 2 use cases:": "Vous pouvez selectionner l'un des deux cas d'usage suivants :",
126
- "Zoos": "Zoos",
127
- "near ... ": proximité de ... ",
128
- "with ...": "avec ...",
129
- "{{name}} add-on not included in the 10k Free queries/month. Usage is chargeable from the first request.": ""
2
+ "": "",
3
+ " Response": "",
4
+ "(Estimated)": "",
5
+ "* Some products require contact sales for pricing": "",
6
+ "/ mo": "",
7
+ "/ month": "",
8
+ "Accuracy": "",
9
+ "Activated if available on Organization level": "",
10
+ "Add": "",
11
+ "Addon": "Addon",
12
+ "Address": "",
13
+ "Administrative areas (States, regions, ...)": "",
14
+ "Airports": "",
15
+ "Alternative routes": "",
16
+ "Amusement parks": "",
17
+ "Arrival Time": "",
18
+ "Art galleries": "",
19
+ "Autocomplete": "",
20
+ "Automatically retrieve and analyse your user's location thanks to the advanced Maxmind IP database and list your nearby points of sale.": "",
21
+ "Back": "",
22
+ "Beware...": "",
23
+ "Blue": "",
24
+ "Bose Factory Store": "",
25
+ "Bose Reseller Store": "",
26
+ "Bose Store": "",
27
+ "Cancel": "",
28
+ "Chat with us": "",
29
+ "Checkout": "",
30
+ "Checkout integration: on full addresses, renders the right part of the address in the right form fields": "",
31
+ "Choose your style": "",
32
+ "Code": "",
33
+ "Coming step": "",
34
+ "Confirm": "",
35
+ "Contact Sales": "",
36
+ "Contact sales": "",
37
+ "Contact us for discount": "",
38
+ "Continent": "",
39
+ "Copied!": "Copié !",
40
+ "Copy": "Copier",
41
+ "Cost estimation per product": "",
42
+ "Cost per 1000": "",
43
+ "Country": "",
44
+ "Customized Solutions": "",
45
+ "Default": "",
46
+ "Departure Time": "",
47
+ "Destination": "",
48
+ "Detailed Pricing": "",
49
+ "Display Geolocation POIs": "",
50
+ "Display Map POIs": "",
51
+ "Display Woosmap Stores overlay": "",
52
+ "Display your regional promotions and catchment area.": "",
53
+ "Distance API": "",
54
+ "Documentation": "",
55
+ "Enter an address": "",
56
+ "Estimated usage:": "",
57
+ "FREE": "",
58
+ "Favorite Project": "Projet favori",
59
+ "Features": "",
60
+ "Filter by": "",
61
+ "Financing": "",
62
+ "Finished step": "",
63
+ "Geocode": "",
64
+ "Geolocation API": "",
65
+ "Geometry only": "",
66
+ "Go": "",
67
+ "Grey": "",
68
+ "Identify the country to redirect users to the suitable website, or adapt your services according to the timezone.": "",
69
+ "In Store Wifi": "",
70
+ "Initialise your map display around the end user and retrieve your own Points of Interest.": "",
71
+ "Language": "",
72
+ "Light Grey": "",
73
+ "Loading...": "Chargement...",
74
+ "Localities": "",
75
+ "Localities API": "",
76
+ "Location": "",
77
+ "Looking for a ...": "",
78
+ "Map": "",
79
+ "Map API": "",
80
+ "Maximum number of stores": "",
81
+ "Maximum stores...": "",
82
+ "Metro stations": "",
83
+ "Monthly price": "",
84
+ "Monthly price (Estimated)": "",
85
+ "Museums": "",
86
+ "New": "Nouveau",
87
+ "No address found for this location": "",
88
+ "No locality found": "",
89
+ "No options found": "",
90
+ "No route found": "",
91
+ "Origin": "",
92
+ "Parking": "",
93
+ "Paying from the first request": "",
94
+ "Please enter a country and an address in the fields above.": "",
95
+ "Plugged to": "",
96
+ "Postal code": "",
97
+ "Postal codes": "",
98
+ "Read more about": "",
99
+ "Region / State": "",
100
+ "Request": "",
101
+ "Request / Response": "",
102
+ "Required field": "",
103
+ "Reserve & Collect": "",
104
+ "Response": "",
105
+ "Response language": "",
106
+ "Result": "",
107
+ "Results": "",
108
+ "Schedule a Demo": "",
109
+ "Search among your own Points of Interest. Find stores by geography, by attributes or by autocomplete on store names.": "",
110
+ "Shopping centers": "",
111
+ "Should be at least {{count}} char long": "",
112
+ "Should be at most {{count}} char long": "",
113
+ "Store Locator": "",
114
+ "Store Locator integration: autocomplete on city names, suburb names, postcodes...": "",
115
+ "Store Search API": "",
116
+ "The Woosmap Distance API delivers road distance and travel time between origins and destinations, to plan a simple journey (up to 25 waypoints) or for matrix computations (up to 200 elements).": "",
117
+ "The value you’ve entered is already in the list": "",
118
+ "There are some errors": "",
119
+ "Timezone": "",
120
+ "Total": "",
121
+ "Tourist attractions": "",
122
+ "Train stations": "",
123
+ "Type a locality name...": "",
124
+ "Type in ": "",
125
+ "Type in a UK address ": "",
126
+ "Type in a full address and hit Go": "",
127
+ "Type in a locality name...": "",
128
+ "Type in an address": "",
129
+ "Type in an address ": "",
130
+ "Type of location": "",
131
+ "Types": "",
132
+ "Use case": "",
133
+ "Validate": "",
134
+ "Wheelchair Access": "",
135
+ "Will be automatically activated": "",
136
+ "Woosmap Localities sorts and displays the 5 most relevant results, with priority to the most likely results, recognises common abbreviations and apostrophes, with high tolerance for typos.": "",
137
+ "Woosmap Map is a vector tiles map based, which guarantees smooth zooming and panning transitions, a mobile-optimised loading and clear rendering at every scale. It provides a worldwide cover, cutting edge details and ability to display 3D buildings at closest/street zoom levels.": "",
138
+ "Work with": "",
139
+ "YOUR_KEY_HERE": "",
140
+ "You can select bewteen 2 use cases:": "",
141
+ "Zoos": "",
142
+ "near ... ": "",
143
+ "with ...": "",
144
+ "{{name}} add-on not included in the 10k Free queries/month. Usage is chargeable from the first request.": ""
130
145
  }
@@ -1,5 +1,5 @@
1
1
  .flag
2
- background url('~@/images/flags_responsive.png') no-repeat
2
+ background url('../../images/flags_responsive.png') no-repeat
3
3
  background-size 100%
4
4
  width 2.7rem
5
5
  height 1.9rem
@@ -511,7 +511,7 @@
511
511
  content unset
512
512
  &.active
513
513
  color $secondary
514
- background-image url('~@/images/texture.png')
514
+ background-image url('../../images/texture.png')
515
515
  &:after
516
516
  content ''
517
517
  display block
@@ -554,7 +554,7 @@
554
554
  &:after
555
555
  background $error
556
556
  focus()
557
-
557
+
558
558
  &--pills
559
559
  br()
560
560
  flexBtn()
@@ -582,7 +582,7 @@
582
582
  color $secondary-medium40
583
583
  &.active
584
584
  color $secondary
585
- background-image url('~@/images/texture.png')
585
+ background-image url('../../images/texture.png')
586
586
  &--action
587
587
  br(2)
588
588
  inputFont()
@@ -64,7 +64,10 @@ $dark14 = rgba($dark, 14%)
64
64
  display none
65
65
  @media screen and (max-width 960px)
66
66
  display: flex
67
- justify-content flex-start
67
+ justify-content space-between
68
+ align-items center
69
+ flex-direction: row
70
+ gap 1.6rem
68
71
  flex-wrap wrap
69
72
  padding 1rem 2rem
70
73
  background-color lighten($cardColor, 5%)
@@ -76,6 +79,8 @@ $dark14 = rgba($dark, 14%)
76
79
  background-color #fbfbfb
77
80
  border-bottom .1rem solid $dark10
78
81
  color $dark
82
+ @media screen and (max-width 360px)
83
+ justify-content center
79
84
  &.desktop
80
85
  position sticky
81
86
  top 6rem
@@ -110,17 +115,11 @@ $dark14 = rgba($dark, 14%)
110
115
  line-height 3rem
111
116
  &__label
112
117
  .mobile &
113
- font-weight 460
114
- text-transform uppercase
115
- letter-spacing .2rem
116
- font-size 1.1rem
117
- line-height: 1.7
118
- color $light60
119
- margin-right 6rem
120
- .section--light &
121
- .section--white &
122
- .section--grey &
123
- color $dark40
118
+ display flex
119
+ flex-direction: column
120
+ @media screen and (max-width 360px)
121
+ align-items center
122
+
124
123
  .desktop &
125
124
  text-align center
126
125
  font-size 1.8rem
@@ -133,16 +132,32 @@ $dark14 = rgba($dark, 14%)
133
132
  .section--white &
134
133
  .section--grey &
135
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
+
136
149
  &__amount
137
150
  color $light60
138
151
  .mobile &
139
- margin-left auto
140
- margin-right 2rem
152
+ font-weight 700
141
153
  line-height: 1.7
142
154
  .section--light &
143
155
  .section--white &
144
156
  .section--grey &
145
157
  color $dark60
158
+ @media screen and (max-width 360px)
159
+ margin-right auto
160
+ margin-left auto
146
161
  .desktop &
147
162
  br()
148
163
  display inline-block
@@ -151,12 +166,26 @@ $dark14 = rgba($dark, 14%)
151
166
  padding 1.6rem 2rem
152
167
  min-width 16rem
153
168
  font-weight 600
154
- background-color $discount
155
- color $light
156
- margin-bottom 3rem
169
+ background-color $dark6
170
+ color $dark
171
+ margin-bottom 1rem
157
172
  a
158
173
  font-size 2rem
159
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
160
189
 
161
190
  &-simulator
162
191
  &__wrapper
@@ -432,6 +461,7 @@ $dark14 = rgba($dark, 14%)
432
461
  flex-direction column
433
462
  border .1rem solid $borderColor
434
463
  max-height: calc(100vh - 27rem)
464
+ margin-top 2rem
435
465
  &-content
436
466
  overflow-y: auto
437
467
  &-header
@@ -553,11 +583,8 @@ $dark14 = rgba($dark, 14%)
553
583
  &:hover
554
584
  background-color transparent !important
555
585
 
556
- @media screen and (max-width 560px)
586
+ @media screen and (max-width 360px)
557
587
  .pricing
558
- &-total
559
- &__amount
560
- margin-right 0
561
588
  &-nav
562
589
  top 6.6rem
563
590
  &-slider
@@ -20,5 +20,4 @@
20
20
  @import "./console/button.styl"
21
21
  @import "./console/input.styl"
22
22
  @import "./console/select.styl"
23
- @import "./console/tab.styl"
24
- @import "./console/pricing-slider.styl"
23
+ @import "./console/tab.styl"
package/src/website.js CHANGED
@@ -1,27 +1,27 @@
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';
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 '@/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';
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 '@/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';
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';
package/craco.config.js DELETED
@@ -1,9 +0,0 @@
1
- const path = require('path');
2
-
3
- module.exports = {
4
- webpack: {
5
- alias: {
6
- '@': path.resolve(__dirname, 'src'),
7
- },
8
- },
9
- };