@xivart/tangram 0.0.1-security → 2.712.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of @xivart/tangram might be problematic. Click here for more details.

Files changed (801) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +37 -3
  3. package/components/A/A.js +8 -0
  4. package/components/A/RouterLink.js +10 -0
  5. package/components/A/index.js +9 -0
  6. package/components/A/styled/A.js +20 -0
  7. package/components/A/styled/index.js +9 -0
  8. package/components/Adaptive/Adaptive.js +32 -0
  9. package/components/Adaptive/index.js +11 -0
  10. package/components/AirlineLogo/AirlineLogo.js +22 -0
  11. package/components/AirlineLogo/constants.js +5 -0
  12. package/components/AirlineLogo/index.js +9 -0
  13. package/components/AirlineLogo/styled/AirlineLogo.js +14 -0
  14. package/components/AirlineLogo/styled/index.js +9 -0
  15. package/components/AirlineLogo/types.js +8 -0
  16. package/components/Alert/Alert.js +17 -0
  17. package/components/Alert/constants.js +16 -0
  18. package/components/Alert/index.js +9 -0
  19. package/components/Alert/styled/Alert.js +12 -0
  20. package/components/Alert/styled/index.js +6 -0
  21. package/components/ApplePayButton/ApplePayButton.js +12 -0
  22. package/components/ApplePayButton/index.js +9 -0
  23. package/components/ApplePayButton/styled/StyledApplePayButton.js +12 -0
  24. package/components/ApplePayButton/styled/StyledApplePayLogo.js +8 -0
  25. package/components/ApplePayButton/types.js +11 -0
  26. package/components/Asset/Asset.js +92 -0
  27. package/components/Asset/Provider.js +40 -0
  28. package/components/Asset/helpers/createAssetContext/createAssetContext.js +19 -0
  29. package/components/Asset/helpers/createAssetContext/index.js +9 -0
  30. package/components/Asset/helpers/fetch/fetch.js +6 -0
  31. package/components/Asset/helpers/fetch/index.js +9 -0
  32. package/components/Asset/helpers/request/index.js +9 -0
  33. package/components/Asset/helpers/request/request.js +28 -0
  34. package/components/Asset/helpers/svg/BaseSprite.js +55 -0
  35. package/components/Asset/helpers/svg/BaseSymbol.js +26 -0
  36. package/components/Asset/helpers/svg/BrowserSprite.js +84 -0
  37. package/components/Asset/helpers/svg/BrowserSymbol.js +49 -0
  38. package/components/Asset/helpers/svg/constants.js +8 -0
  39. package/components/Asset/helpers/svg/objectToAttrsString.js +12 -0
  40. package/components/Asset/helpers/svg/parse.js +12 -0
  41. package/components/Asset/helpers/svg/sprite.js +18 -0
  42. package/components/Asset/helpers/svg/symbol.js +20 -0
  43. package/components/Asset/helpers/svg/wrapInSVGString.js +13 -0
  44. package/components/Asset/index.js +13 -0
  45. package/components/Badge/Badge.js +13 -0
  46. package/components/Badge/index.js +6 -0
  47. package/components/Badge/styled/Badge.js +17 -0
  48. package/components/Badge/styled/BadgeWrapper.js +11 -0
  49. package/components/Badge/styled/Text.js +11 -0
  50. package/components/Badge/styled/index.js +10 -0
  51. package/components/BottomSheet/BottomSheet.js +30 -0
  52. package/components/BottomSheet/index.js +9 -0
  53. package/components/BottomSheet/styled/BottomSheetFooter.js +17 -0
  54. package/components/BottomSheet/styled/index.js +9 -0
  55. package/components/Breadcrumbs/BreadcrumbItem.js +14 -0
  56. package/components/Breadcrumbs/Breadcrumbs.js +16 -0
  57. package/components/Breadcrumbs/components/BreadcrumbDivider/BreadcrumbDivider.js +9 -0
  58. package/components/Breadcrumbs/components/BreadcrumbDivider/index.js +9 -0
  59. package/components/Breadcrumbs/index.js +11 -0
  60. package/components/Button/ChatbotButton.js +15 -0
  61. package/components/Button/PrimaryButton.js +21 -0
  62. package/components/Button/QuaternaryButton.js +19 -0
  63. package/components/Button/QuinaryButton.js +13 -0
  64. package/components/Button/SeatInteractionButton.js +12 -0
  65. package/components/Button/SecondaryButton.js +20 -0
  66. package/components/Button/TertiaryButton.js +21 -0
  67. package/components/Button/index.js +13 -0
  68. package/components/Button/styled/Button.js +25 -0
  69. package/components/Button/styled/ChatbotButton.js +16 -0
  70. package/components/Button/styled/IconContainer.js +14 -0
  71. package/components/Button/styled/Label.js +14 -0
  72. package/components/Button/styled/Primary.js +17 -0
  73. package/components/Button/styled/Quaternary.js +13 -0
  74. package/components/Button/styled/Quinary.js +13 -0
  75. package/components/Button/styled/SeatInteraction.js +16 -0
  76. package/components/Button/styled/Secondary.js +15 -0
  77. package/components/Button/styled/Tertiary.js +57 -0
  78. package/components/Button/styled/index.js +19 -0
  79. package/components/Calendar/Calendar.js +23 -0
  80. package/components/Calendar/components/Button/Button.js +17 -0
  81. package/components/Calendar/components/Button/constants.js +6 -0
  82. package/components/Calendar/components/Button/index.js +9 -0
  83. package/components/Calendar/components/Button/styled/ButtonContainer.js +11 -0
  84. package/components/Calendar/components/Button/styled/index.js +9 -0
  85. package/components/Calendar/components/DateCell/DateCell.js +26 -0
  86. package/components/Calendar/components/DateCell/constants.js +13 -0
  87. package/components/Calendar/components/DateCell/helper/updateElementsSize/index.js +6 -0
  88. package/components/Calendar/components/DateCell/helper/updateElementsSize/updateElementsSize.js +33 -0
  89. package/components/Calendar/components/DateCell/index.js +9 -0
  90. package/components/Calendar/components/DateCell/styled/Cell.js +8 -0
  91. package/components/Calendar/components/DateCell/styled/Container.js +8 -0
  92. package/components/Calendar/components/DateCell/styled/DateCellContainer.js +15 -0
  93. package/components/Calendar/components/DateCell/styled/HoverContainer.js +12 -0
  94. package/components/Calendar/components/DateCell/styled/SelectedContainer.js +12 -0
  95. package/components/Calendar/components/DateCell/styled/SelectedRangeContainer.js +12 -0
  96. package/components/Calendar/components/DateCell/styled/SelectedStartEndContainer.js +24 -0
  97. package/components/Calendar/components/DateCell/styled/TextContainer.js +8 -0
  98. package/components/Calendar/components/DateCell/styled/index.js +13 -0
  99. package/components/Calendar/components/Month/Month.js +39 -0
  100. package/components/Calendar/components/Month/index.js +9 -0
  101. package/components/Calendar/components/Month/styled/MonthNameContainer.js +12 -0
  102. package/components/Calendar/components/Month/styled/index.js +9 -0
  103. package/components/Calendar/components/Months/Months.js +54 -0
  104. package/components/Calendar/components/Months/constants.js +5 -0
  105. package/components/Calendar/components/Months/index.js +9 -0
  106. package/components/Calendar/components/Week/Week.js +90 -0
  107. package/components/Calendar/components/Week/index.js +9 -0
  108. package/components/Calendar/components/WeekDays/WeekDays.js +14 -0
  109. package/components/Calendar/components/WeekDays/index.js +9 -0
  110. package/components/Calendar/components/WeekDays/styled/WeekDaysContainer.js +12 -0
  111. package/components/Calendar/components/WeekDays/styled/index.js +9 -0
  112. package/components/Calendar/constants.js +36 -0
  113. package/components/Calendar/helpers/differenceBetweenMonths/differenceBetweenMonths.js +8 -0
  114. package/components/Calendar/helpers/differenceBetweenMonths/index.js +9 -0
  115. package/components/Calendar/helpers/getNumberOfDaysInMonth/getNumberOfDaysInMonth.js +7 -0
  116. package/components/Calendar/helpers/getNumberOfDaysInMonth/index.js +9 -0
  117. package/components/Calendar/helpers/getNumberOfDaysLeftInMonth/getNumberOfDaysLeftInMonth.js +10 -0
  118. package/components/Calendar/helpers/getNumberOfDaysLeftInMonth/index.js +9 -0
  119. package/components/Calendar/helpers/getNumberOfWeeksInMonth/getNumberOfWeeksInMonth.js +11 -0
  120. package/components/Calendar/helpers/getNumberOfWeeksInMonth/index.js +9 -0
  121. package/components/Calendar/helpers/index.js +25 -0
  122. package/components/Calendar/helpers/isDateInRange/index.js +9 -0
  123. package/components/Calendar/helpers/isDateInRange/isDateInRange.js +8 -0
  124. package/components/Calendar/helpers/isDateSelected/index.js +9 -0
  125. package/components/Calendar/helpers/isDateSelected/isDateSelected.js +9 -0
  126. package/components/Calendar/helpers/isDatesEqual/index.js +9 -0
  127. package/components/Calendar/helpers/isDatesEqual/isDatesEqual.js +6 -0
  128. package/components/Calendar/helpers/isRangeSelected/index.js +9 -0
  129. package/components/Calendar/helpers/isRangeSelected/isRangeSelected.js +6 -0
  130. package/components/Calendar/helpers/normalizeDate/index.js +9 -0
  131. package/components/Calendar/helpers/normalizeDate/normalizeDate.js +11 -0
  132. package/components/Calendar/index.js +11 -0
  133. package/components/Calendar/styled/CalendarContainer.js +12 -0
  134. package/components/Calendar/styled/index.js +9 -0
  135. package/components/Card/Card.js +26 -0
  136. package/components/Card/CardContent.js +11 -0
  137. package/components/Card/CardImage.js +11 -0
  138. package/components/Card/index.js +11 -0
  139. package/components/Card/styled/Card.js +64 -0
  140. package/components/Card/styled/CardContentWrapper.js +11 -0
  141. package/components/Card/styled/CardImage.js +12 -0
  142. package/components/Card/styled/CardScrim.js +8 -0
  143. package/components/Card/styled/index.js +15 -0
  144. package/components/Checkbox/Checkbox.js +51 -0
  145. package/components/Checkbox/index.js +9 -0
  146. package/components/Checkbox/styled/CheckIcon.js +17 -0
  147. package/components/Checkbox/styled/Checkbox.js +21 -0
  148. package/components/Checkbox/styled/CheckboxIcon.js +35 -0
  149. package/components/Checkbox/styled/CheckboxLabel.js +35 -0
  150. package/components/Checkbox/styled/Wrapper.js +8 -0
  151. package/components/Checkbox/styled/index.js +15 -0
  152. package/components/ChevronIcon/ChevronIcon.js +11 -0
  153. package/components/ChevronIcon/index.js +9 -0
  154. package/components/Chip/Chip.js +15 -0
  155. package/components/Chip/index.js +6 -0
  156. package/components/Chip/styled/Chip.js +14 -0
  157. package/components/Chip/styled/index.js +6 -0
  158. package/components/Circle/Circle.js +8 -0
  159. package/components/Circle/index.js +9 -0
  160. package/components/Circle/styled/Circle.js +15 -0
  161. package/components/Circle/styled/index.js +9 -0
  162. package/components/Collapse/Collapse.js +88 -0
  163. package/components/Collapse/CollapseItem.js +48 -0
  164. package/components/Collapse/constants.js +74 -0
  165. package/components/Collapse/index.js +9 -0
  166. package/components/Collapse/styled/CollapseItemContent.js +27 -0
  167. package/components/Collapse/styled/CollapseItemHeader.js +32 -0
  168. package/components/Collapse/styled/CollapseItemHeaderWrapper.js +8 -0
  169. package/components/Collapse/styled/index.js +13 -0
  170. package/components/Collapse/types.js +10 -0
  171. package/components/ComparisonTable/ComparisonTable.js +22 -0
  172. package/components/ComparisonTable/components/HeaderCell/HeaderCell.js +13 -0
  173. package/components/ComparisonTable/components/HeaderCell/index.js +9 -0
  174. package/components/ComparisonTable/components/HeaderCell/styled/HeaderCell.js +48 -0
  175. package/components/ComparisonTable/components/HeaderCell/styled/HeaderCellContainer.js +23 -0
  176. package/components/ComparisonTable/components/HeaderCell/styled/index.js +11 -0
  177. package/components/ComparisonTable/components/Row/Row.js +16 -0
  178. package/components/ComparisonTable/components/Row/index.js +9 -0
  179. package/components/ComparisonTable/components/Row/styled/Cell.js +35 -0
  180. package/components/ComparisonTable/components/Row/styled/Row.js +17 -0
  181. package/components/ComparisonTable/components/Row/styled/RowCellContainer.js +14 -0
  182. package/components/ComparisonTable/components/Row/styled/Title.js +22 -0
  183. package/components/ComparisonTable/components/Row/styled/index.js +15 -0
  184. package/components/ComparisonTable/index.js +9 -0
  185. package/components/ComparisonTable/styled/FooterCell.js +47 -0
  186. package/components/ComparisonTable/styled/FooterCellContainer.js +23 -0
  187. package/components/ComparisonTable/styled/Title.js +26 -0
  188. package/components/ComparisonTable/styled/index.js +13 -0
  189. package/components/Container/Container.js +11 -0
  190. package/components/Container/index.js +9 -0
  191. package/components/Container/styled/Container.js +24 -0
  192. package/components/Container/styled/index.js +5 -0
  193. package/components/CopyToClipboard/CopyToClipboard.js +57 -0
  194. package/components/CopyToClipboard/Notification.js +15 -0
  195. package/components/CopyToClipboard/index.js +9 -0
  196. package/components/CopyToClipboard/styled/CopyToClipboard.js +12 -0
  197. package/components/CopyToClipboard/styled/Notification.js +12 -0
  198. package/components/CopyToClipboard/styled/index.js +11 -0
  199. package/components/Corner/Corner.js +11 -0
  200. package/components/Corner/index.js +9 -0
  201. package/components/Corner/styled/Corner.js +31 -0
  202. package/components/Corner/styled/CornerIcon.js +15 -0
  203. package/components/Corner/styled/index.js +11 -0
  204. package/components/Counter/Counter.js +35 -0
  205. package/components/Counter/components/CounterButton/CounterButton.js +12 -0
  206. package/components/Counter/components/CounterButton/index.js +9 -0
  207. package/components/Counter/components/CounterButton/styled/CounterButton.js +18 -0
  208. package/components/Counter/components/CounterButton/styled/CounterIconContainer.js +8 -0
  209. package/components/Counter/components/CounterButton/styled/index.js +11 -0
  210. package/components/Counter/index.js +9 -0
  211. package/components/Counter/styled/Counter.js +18 -0
  212. package/components/Counter/styled/index.js +9 -0
  213. package/components/Divider/Divider.js +14 -0
  214. package/components/Divider/index.js +9 -0
  215. package/components/Divider/styled/Divider.js +40 -0
  216. package/components/Divider/styled/index.js +9 -0
  217. package/components/Dropdown/Dropdown.js +146 -0
  218. package/components/Dropdown/index.js +9 -0
  219. package/components/Dropdown/styled/Container.js +15 -0
  220. package/components/Dropdown/styled/IconContainer.js +12 -0
  221. package/components/Dropdown/styled/PrefixContent.js +14 -0
  222. package/components/Dropdown/styled/Select.js +25 -0
  223. package/components/Dropdown/styled/SubInfo.js +12 -0
  224. package/components/Dropdown/styled/index.js +13 -0
  225. package/components/DropdownButton/DropdownButton.js +31 -0
  226. package/components/DropdownButton/index.js +9 -0
  227. package/components/DropdownButton/styled/DropdownButton.js +11 -0
  228. package/components/DropdownButton/styled/DropdownPopup.js +16 -0
  229. package/components/DropdownButton/styled/index.js +11 -0
  230. package/components/Fade/Fade.js +11 -0
  231. package/components/Fade/index.js +9 -0
  232. package/components/Fade/styled/Fade.js +14 -0
  233. package/components/Fade/styled/index.js +6 -0
  234. package/components/Fieldset/Fieldset.js +11 -0
  235. package/components/Fieldset/index.js +9 -0
  236. package/components/Fieldset/styled/Fieldset.js +8 -0
  237. package/components/Fieldset/styled/index.js +9 -0
  238. package/components/Flex/Flex.js +12 -0
  239. package/components/Flex/index.js +9 -0
  240. package/components/Flex/styled/Flex.js +20 -0
  241. package/components/Flex/styled/index.js +9 -0
  242. package/components/FlightDateSelector/FlightDateSelector.js +16 -0
  243. package/components/FlightDateSelector/index.js +9 -0
  244. package/components/FlightDateSelector/styled/FlightDateSelector.js +19 -0
  245. package/components/FlightDateSelector/styled/index.js +9 -0
  246. package/components/FlightInfoBox/FlightInfoBox.js +20 -0
  247. package/components/FlightInfoBox/index.js +9 -0
  248. package/components/FlightInfoBox/styled/Content.js +11 -0
  249. package/components/FlightInfoBox/styled/FlightInfoBox.js +26 -0
  250. package/components/FlightInfoBox/styled/index.js +11 -0
  251. package/components/FlightInfoCard/FlightInfoCard.js +19 -0
  252. package/components/FlightInfoCard/index.js +9 -0
  253. package/components/FlightInfoCard/styled/FlightInfoCard.js +8 -0
  254. package/components/FlightInfoCard/styled/index.js +9 -0
  255. package/components/GlobalStyle/GlobalStyle.js +35 -0
  256. package/components/GlobalStyle/index.js +9 -0
  257. package/components/GooglePayButton/GooglePayButton.js +8 -0
  258. package/components/GooglePayButton/index.js +9 -0
  259. package/components/GooglePayButton/styled/GooglePayButton.js +8 -0
  260. package/components/GooglePayButton/styled/index.js +9 -0
  261. package/components/Grid/Grid.js +12 -0
  262. package/components/Grid/index.js +9 -0
  263. package/components/Grid/styled/StyledGrid.js +30 -0
  264. package/components/Grid/styled/helpers/getBoundaries/getBoundaries.js +22 -0
  265. package/components/Grid/styled/helpers/getBoundaries/index.js +6 -0
  266. package/components/Grid/styled/helpers/getTemplateAreas/getTemplateAreas.js +27 -0
  267. package/components/Grid/styled/helpers/getTemplateAreas/index.js +6 -0
  268. package/components/Grid/styled/helpers/getTemplateColumns/getTemplateColumns.js +10 -0
  269. package/components/Grid/styled/helpers/getTemplateColumns/index.js +6 -0
  270. package/components/Grid/styled/helpers/getTemplateGap/getTemplateGap.js +12 -0
  271. package/components/Grid/styled/helpers/getTemplateGap/index.js +6 -0
  272. package/components/Grid/styled/helpers/getTemplateRows/getTemplateRows.js +10 -0
  273. package/components/Grid/styled/helpers/getTemplateRows/index.js +6 -0
  274. package/components/Grid/styled/helpers/getTemplateTrack/getTemplateTrack.js +17 -0
  275. package/components/Grid/styled/helpers/getTemplateTrack/index.js +6 -0
  276. package/components/Grid/styled/index.js +9 -0
  277. package/components/H1/H1.js +8 -0
  278. package/components/H1/index.js +11 -0
  279. package/components/H1/styled/H1.js +23 -0
  280. package/components/H1/styled/index.js +10 -0
  281. package/components/H2/H2.js +8 -0
  282. package/components/H2/index.js +11 -0
  283. package/components/H2/styled/H2.js +14 -0
  284. package/components/H2/styled/index.js +10 -0
  285. package/components/H3/H3.js +8 -0
  286. package/components/H3/index.js +11 -0
  287. package/components/H3/styled/H3.js +22 -0
  288. package/components/H3/styled/index.js +10 -0
  289. package/components/H4/H4.js +8 -0
  290. package/components/H4/index.js +9 -0
  291. package/components/H4/styled/H4.js +20 -0
  292. package/components/H4/styled/index.js +9 -0
  293. package/components/H5/H5.js +8 -0
  294. package/components/H5/index.js +9 -0
  295. package/components/H5/styled/H5.js +20 -0
  296. package/components/H5/styled/index.js +9 -0
  297. package/components/HTMLContainer/HTMLContainer.js +15 -0
  298. package/components/HTMLContainer/index.js +9 -0
  299. package/components/HTMLContainer/styled/Content.js +19 -0
  300. package/components/HTMLContainer/styled/index.js +9 -0
  301. package/components/HTMLLabelWrapper/HTMLLabelWrapper.js +18 -0
  302. package/components/HTMLLabelWrapper/index.js +9 -0
  303. package/components/HTMLLabelWrapper/styled/Content.js +34 -0
  304. package/components/HTMLLabelWrapper/styled/index.js +9 -0
  305. package/components/Header/Header.js +12 -0
  306. package/components/Header/HeaderButton.js +11 -0
  307. package/components/Header/HeaderLogo.js +11 -0
  308. package/components/Header/index.js +13 -0
  309. package/components/Header/styled/Header.js +11 -0
  310. package/components/Header/styled/HeaderButton.js +38 -0
  311. package/components/Header/styled/HeaderLogo.js +15 -0
  312. package/components/Header/styled/HeaderWrapper.js +11 -0
  313. package/components/Header/styled/index.js +15 -0
  314. package/components/Icon/Icon.js +18 -0
  315. package/components/Icon/index.js +9 -0
  316. package/components/Icon/styled/Icon.js +35 -0
  317. package/components/Icon/styled/index.js +9 -0
  318. package/components/Iframe/Iframe.js +11 -0
  319. package/components/Iframe/index.js +9 -0
  320. package/components/Iframe/styled/Iframe.js +8 -0
  321. package/components/Iframe/styled/index.js +9 -0
  322. package/components/Image/Image.js +14 -0
  323. package/components/Image/index.js +9 -0
  324. package/components/Image/styled/Image.js +16 -0
  325. package/components/Image/styled/index.js +9 -0
  326. package/components/InfoBox/InfoBox.js +12 -0
  327. package/components/InfoBox/index.js +9 -0
  328. package/components/InfoBox/styled/InfoBox.js +21 -0
  329. package/components/InfoBox/styled/index.js +9 -0
  330. package/components/InfoBox/types.js +9 -0
  331. package/components/InfoButton/InfoButton.js +21 -0
  332. package/components/InfoButton/index.js +9 -0
  333. package/components/InfoButton/styled/InfoButton.js +21 -0
  334. package/components/InfoButton/styled/index.js +9 -0
  335. package/components/InfoTag/InfoTag.js +12 -0
  336. package/components/InfoTag/index.js +9 -0
  337. package/components/InfoTag/styled/InfoTag.js +22 -0
  338. package/components/InfoTag/styled/index.js +9 -0
  339. package/components/Input/Input.js +198 -0
  340. package/components/Input/constants.js +8 -0
  341. package/components/Input/index.js +12 -0
  342. package/components/Input/styled/ClearButton.js +15 -0
  343. package/components/Input/styled/Container.js +21 -0
  344. package/components/Input/styled/IconWrapper.js +8 -0
  345. package/components/Input/styled/InputBase.js +44 -0
  346. package/components/Input/styled/PasswordSwitcher.js +17 -0
  347. package/components/Input/styled/index.js +17 -0
  348. package/components/Input/types.js +17 -0
  349. package/components/Label/Label.js +7 -0
  350. package/components/Label/index.js +9 -0
  351. package/components/Label/styled/Label.js +13 -0
  352. package/components/Label/styled/index.js +9 -0
  353. package/components/Layout/Layout.js +12 -0
  354. package/components/Layout/constants.js +13 -0
  355. package/components/Layout/helpers/convertAspectRatio/convertAspectRatio.js +25 -0
  356. package/components/Layout/helpers/convertAspectRatio/index.js +9 -0
  357. package/components/Layout/index.js +9 -0
  358. package/components/Layout/styled/Layout.js +75 -0
  359. package/components/Layout/styled/index.js +9 -0
  360. package/components/Link/Primary.js +14 -0
  361. package/components/Link/PrimaryButton.js +14 -0
  362. package/components/Link/Secondary.js +14 -0
  363. package/components/Link/SecondaryButton.js +14 -0
  364. package/components/Link/constants.js +8 -0
  365. package/components/Link/defaultProps.js +15 -0
  366. package/components/Link/index.js +15 -0
  367. package/components/Link/styled/A.js +13 -0
  368. package/components/Link/styled/Link.js +37 -0
  369. package/components/Link/styled/LinkContainer.js +8 -0
  370. package/components/Link/styled/Primary.js +14 -0
  371. package/components/Link/styled/Secondary.js +14 -0
  372. package/components/Link/styled/getIconMargin.js +9 -0
  373. package/components/Link/styled/index.js +13 -0
  374. package/components/List/IconContainer.js +12 -0
  375. package/components/List/List.js +19 -0
  376. package/components/List/ListItem.js +17 -0
  377. package/components/List/constants.js +10 -0
  378. package/components/List/index.js +15 -0
  379. package/components/List/styled/IconContainer.js +8 -0
  380. package/components/List/styled/Item.js +22 -0
  381. package/components/List/styled/List.js +21 -0
  382. package/components/List/styled/ListItem.js +35 -0
  383. package/components/List/styled/PlaceHolder.js +8 -0
  384. package/components/List/styled/index.js +15 -0
  385. package/components/MaskedInput/MaskedInput.js +115 -0
  386. package/components/MaskedInput/constants.js +9 -0
  387. package/components/MaskedInput/index.js +9 -0
  388. package/components/MaskedInput/styled/BackgroundInput.js +19 -0
  389. package/components/MaskedInput/styled/Container.js +8 -0
  390. package/components/MaskedInput/styled/MaskedInput.js +12 -0
  391. package/components/MaskedInput/styled/index.js +13 -0
  392. package/components/Menu/Menu.js +15 -0
  393. package/components/Menu/index.js +9 -0
  394. package/components/Menu/styled/Content.js +11 -0
  395. package/components/Menu/styled/Menu.js +11 -0
  396. package/components/Menu/styled/index.js +11 -0
  397. package/components/MessageBox/MessageBox.js +11 -0
  398. package/components/MessageBox/index.js +9 -0
  399. package/components/MessageBox/styled/MessageBox.js +22 -0
  400. package/components/MessageBox/styled/index.js +9 -0
  401. package/components/MessageHelper/MessageHelper.js +18 -0
  402. package/components/MessageHelper/index.js +11 -0
  403. package/components/MessageHelper/styled/Arrow.js +12 -0
  404. package/components/MessageHelper/styled/MessageHelper.js +34 -0
  405. package/components/MessageHelper/styled/getArrowStyles.js +19 -0
  406. package/components/MessageHelper/styled/getBgColor.js +17 -0
  407. package/components/MessageHelper/styled/index.js +9 -0
  408. package/components/MessageHelper/types.js +11 -0
  409. package/components/Metroline/Metroline.js +14 -0
  410. package/components/Metroline/index.js +9 -0
  411. package/components/Metroline/styled/Metroline.js +23 -0
  412. package/components/Metroline/styled/index.js +9 -0
  413. package/components/MetrolineContainer/MetrolineContainer.js +8 -0
  414. package/components/MetrolineContainer/index.js +9 -0
  415. package/components/MetrolineContainer/styled/MetrolineContainer.js +14 -0
  416. package/components/MetrolineContainer/styled/index.js +9 -0
  417. package/components/MetrolineDivider/MetrolineDivider.js +12 -0
  418. package/components/MetrolineDivider/index.js +9 -0
  419. package/components/MetrolineDivider/styled/Metroline.js +12 -0
  420. package/components/MetrolineDivider/styled/MetrolineCircle.js +12 -0
  421. package/components/MetrolineDivider/styled/MetrolineDivider.js +8 -0
  422. package/components/MetrolineDivider/styled/index.js +13 -0
  423. package/components/Modal/Modal.js +25 -0
  424. package/components/Modal/ModalAction.js +23 -0
  425. package/components/Modal/ModalPopup.js +23 -0
  426. package/components/Modal/components/ModalActionContent/ModalActionContent.js +12 -0
  427. package/components/Modal/components/ModalActionContent/index.js +5 -0
  428. package/components/Modal/components/ModalActionContent/styled/ModalActionContentWrapper.js +16 -0
  429. package/components/Modal/components/ModalActionContent/styled/ModalActionScrollContainer.js +16 -0
  430. package/components/Modal/components/ModalActionContent/styled/index.js +6 -0
  431. package/components/Modal/components/ModalActionFooter/ModalActionFooter.js +14 -0
  432. package/components/Modal/components/ModalActionFooter/index.js +5 -0
  433. package/components/Modal/components/ModalActionFooter/styled/ModalActionFooter.js +20 -0
  434. package/components/Modal/components/ModalActionFooter/styled/index.js +5 -0
  435. package/components/Modal/components/ModalActionHeader/ModalActionHeader.js +14 -0
  436. package/components/Modal/components/ModalActionHeader/index.js +5 -0
  437. package/components/Modal/components/ModalActionHeader/styled/ModalActionHeader.js +17 -0
  438. package/components/Modal/components/ModalActionHeader/styled/ModalActionHeaderWrapper.js +24 -0
  439. package/components/Modal/components/ModalActionHeader/styled/index.js +6 -0
  440. package/components/Modal/components/ModalContent/ModalContent.js +13 -0
  441. package/components/Modal/components/ModalContent/index.js +5 -0
  442. package/components/Modal/components/ModalContent/styled/ModalContent.js +16 -0
  443. package/components/Modal/components/ModalContent/styled/index.js +5 -0
  444. package/components/Modal/components/ModalContentSection/ModalContentSection.js +12 -0
  445. package/components/Modal/components/ModalContentSection/index.js +5 -0
  446. package/components/Modal/components/ModalContentSection/styled/ModalContentSection.js +16 -0
  447. package/components/Modal/components/ModalContentSection/styled/index.js +5 -0
  448. package/components/Modal/components/ModalFooter/ModalFooter.js +14 -0
  449. package/components/Modal/components/ModalFooter/index.js +5 -0
  450. package/components/Modal/components/ModalFooter/styled/ModalFooter.js +16 -0
  451. package/components/Modal/components/ModalFooter/styled/index.js +5 -0
  452. package/components/Modal/components/ModalHeader/ModalHeader.js +12 -0
  453. package/components/Modal/components/ModalHeader/index.js +5 -0
  454. package/components/Modal/components/ModalPopupContent/ModalPopupContent.js +12 -0
  455. package/components/Modal/components/ModalPopupContent/index.js +5 -0
  456. package/components/Modal/components/ModalPopupContent/styled/ModalPopupContent.js +19 -0
  457. package/components/Modal/components/ModalPopupContent/styled/index.js +5 -0
  458. package/components/Modal/components/ModalPopupFooter/ModalPopupFooter.js +12 -0
  459. package/components/Modal/components/ModalPopupFooter/index.js +5 -0
  460. package/components/Modal/components/ModalPopupHeader/ModalPopupHeader.js +12 -0
  461. package/components/Modal/components/ModalPopupHeader/index.js +5 -0
  462. package/components/Modal/components/ModalSkeleton/ModalSkeleton.js +14 -0
  463. package/components/Modal/components/ModalSkeleton/index.js +5 -0
  464. package/components/Modal/constants.js +29 -0
  465. package/components/Modal/helpers/getModalGridForLargeMobile/getModalGridForLargeMobile.js +16 -0
  466. package/components/Modal/helpers/getModalGridForLargeMobile/index.js +6 -0
  467. package/components/Modal/helpers/getModalGridForSmallMobile/getModalGridForSmallMobile.js +16 -0
  468. package/components/Modal/helpers/getModalGridForSmallMobile/index.js +6 -0
  469. package/components/Modal/index.js +28 -0
  470. package/components/Modal/styled/ModalActionWrapper.js +14 -0
  471. package/components/Modal/styled/ModalPopupWrapper.js +18 -0
  472. package/components/Modal/styled/ModalWrapper.js +20 -0
  473. package/components/Modal/styled/index.js +7 -0
  474. package/components/NavigationHeader/NavigationHeader.js +17 -0
  475. package/components/NavigationHeader/constants.js +5 -0
  476. package/components/NavigationHeader/index.js +9 -0
  477. package/components/NavigationItem/CollapsibleNavigationItem.js +20 -0
  478. package/components/NavigationItem/NavigationItem.js +19 -0
  479. package/components/NavigationItem/components/NavigationArrowIcon/NavigationArrowIcon.js +11 -0
  480. package/components/NavigationItem/components/NavigationArrowIcon/index.js +9 -0
  481. package/components/NavigationItem/index.js +11 -0
  482. package/components/NavigationItem/types.js +10 -0
  483. package/components/Notification/Notification.js +31 -0
  484. package/components/Notification/constants.js +38 -0
  485. package/components/Notification/index.js +9 -0
  486. package/components/Notification/styled/Border.js +12 -0
  487. package/components/Notification/styled/Notification.js +14 -0
  488. package/components/Notification/styled/index.js +11 -0
  489. package/components/Notification/types.js +10 -0
  490. package/components/Overlay/Overlay.js +63 -0
  491. package/components/Overlay/helpers/scrollLocker/index.js +7 -0
  492. package/components/Overlay/helpers/scrollLocker/scrollLocker.js +49 -0
  493. package/components/Overlay/index.js +9 -0
  494. package/components/Overlay/styled/Overlay.js +11 -0
  495. package/components/Overlay/styled/Wrapper.js +13 -0
  496. package/components/Overlay/styled/index.js +11 -0
  497. package/components/PageGrid/PageGrid.js +20 -0
  498. package/components/PageGrid/constants.js +16 -0
  499. package/components/PageGrid/index.js +9 -0
  500. package/components/PayPalButton/PayPalButton.js +11 -0
  501. package/components/PayPalButton/index.js +9 -0
  502. package/components/PayPalButton/styled/PayPalButton.js +17 -0
  503. package/components/PayPalButton/styled/index.js +9 -0
  504. package/components/Price/Price.js +38 -0
  505. package/components/Price/PriceFormat.js +48 -0
  506. package/components/Price/SimplePrice.js +21 -0
  507. package/components/Price/constants.js +31 -0
  508. package/components/Price/helper.js +35 -0
  509. package/components/Price/index.js +15 -0
  510. package/components/Price/styled/Container.js +26 -0
  511. package/components/Price/styled/CurrentPrice.js +18 -0
  512. package/components/Price/styled/Item.js +43 -0
  513. package/components/Price/styled/Price.js +15 -0
  514. package/components/Price/styled/SimpleItem.js +24 -0
  515. package/components/Price/styled/index.js +17 -0
  516. package/components/RadioButton/RadioButton.js +22 -0
  517. package/components/RadioButton/index.js +10 -0
  518. package/components/RadioButton/skeletons/RadioButtonSkeleton.js +13 -0
  519. package/components/RadioButton/skeletons/styled/RadioButtonSkeleton.js +15 -0
  520. package/components/RadioButton/skeletons/styled/index.js +6 -0
  521. package/components/RadioButton/styled/Input.js +14 -0
  522. package/components/RadioButton/styled/InputIcon.js +36 -0
  523. package/components/RadioButton/styled/RadioLabel.js +16 -0
  524. package/components/RadioButton/styled/Wrapper.js +32 -0
  525. package/components/RadioButton/styled/index.js +15 -0
  526. package/components/RadioGroup/RadioContext.js +12 -0
  527. package/components/RadioGroup/RadioGroup.js +17 -0
  528. package/components/RadioGroup/index.js +9 -0
  529. package/components/RadioSelectButtons/RadioSelectButtons.js +44 -0
  530. package/components/RadioSelectButtons/RadioSelectItem.js +8 -0
  531. package/components/RadioSelectButtons/components/RadioSelectButton/RadioSelectButton.js +39 -0
  532. package/components/RadioSelectButtons/components/RadioSelectButton/index.js +9 -0
  533. package/components/RadioSelectButtons/components/RadioSelectButton/styled/RadioSelectButton.js +32 -0
  534. package/components/RadioSelectButtons/components/RadioSelectButton/styled/index.js +9 -0
  535. package/components/RadioSelectButtons/index.js +9 -0
  536. package/components/RadioSelectButtons/styled/RadioSelectButtons.js +12 -0
  537. package/components/RadioSelectButtons/styled/index.js +9 -0
  538. package/components/Rating/Rating.js +15 -0
  539. package/components/Rating/RatingItem.js +12 -0
  540. package/components/Rating/TrustpilotRating.js +11 -0
  541. package/components/Rating/index.js +11 -0
  542. package/components/Rating/styled/RatingIcon.js +9 -0
  543. package/components/Rating/styled/RatingItem.js +24 -0
  544. package/components/Rating/styled/RatingValueWrapper.js +15 -0
  545. package/components/Rating/styled/RatingWrapper.js +11 -0
  546. package/components/Rating/styled/Wrapper.js +8 -0
  547. package/components/Rating/styled/index.js +17 -0
  548. package/components/Ribbon/Ribbon.js +11 -0
  549. package/components/Ribbon/index.js +9 -0
  550. package/components/Ribbon/styled/Ribbon.js +78 -0
  551. package/components/Ribbon/styled/Text.js +20 -0
  552. package/components/Ribbon/styled/index.js +11 -0
  553. package/components/RoundLogo/BrandRoundLogo.js +9 -0
  554. package/components/RoundLogo/RoundLogo.js +11 -0
  555. package/components/RoundLogo/index.js +11 -0
  556. package/components/RoundLogo/styled/BrandRoundLogo.js +15 -0
  557. package/components/RoundLogo/styled/RoundLogo.js +12 -0
  558. package/components/RoundLogo/styled/index.js +11 -0
  559. package/components/Seatmap/Exit/Exit.js +12 -0
  560. package/components/Seatmap/Exit/index.js +9 -0
  561. package/components/Seatmap/Exit/styled/Exit.js +33 -0
  562. package/components/Seatmap/Exit/styled/index.js +9 -0
  563. package/components/Seatmap/Fuselage/Fuselage.js +11 -0
  564. package/components/Seatmap/Fuselage/index.js +9 -0
  565. package/components/Seatmap/Fuselage/styled/Fuselage.js +19 -0
  566. package/components/Seatmap/Fuselage/styled/index.js +9 -0
  567. package/components/Seatmap/Wing/Wing.js +11 -0
  568. package/components/Seatmap/Wing/index.js +9 -0
  569. package/components/Seatmap/Wing/styled/Wing.js +34 -0
  570. package/components/Seatmap/Wing/styled/index.js +9 -0
  571. package/components/Seatmap/index.js +13 -0
  572. package/components/SectionTitle/SectionTitle.js +15 -0
  573. package/components/SectionTitle/index.js +8 -0
  574. package/components/SectionTitle/skeletons/SectionTitleSkeleton.js +9 -0
  575. package/components/SelectInput/SelectInput.js +21 -0
  576. package/components/SelectInput/index.js +9 -0
  577. package/components/SelectInput/styled/SelectInput.js +38 -0
  578. package/components/SelectInput/styled/SelectInputContent.js +9 -0
  579. package/components/SelectInput/styled/index.js +11 -0
  580. package/components/Shape/Shape.js +17 -0
  581. package/components/Shape/helpers/withShape/index.js +6 -0
  582. package/components/Shape/helpers/withShape/withShape.js +28 -0
  583. package/components/Shape/index.js +6 -0
  584. package/components/SidePanel/Content.js +18 -0
  585. package/components/SidePanel/SidePanel.js +19 -0
  586. package/components/SidePanel/index.js +9 -0
  587. package/components/SidePanel/styled/Content.js +20 -0
  588. package/components/SidePanel/styled/Footer.js +22 -0
  589. package/components/SidePanel/styled/SidePanel.js +13 -0
  590. package/components/SidePanel/styled/index.js +13 -0
  591. package/components/Skeleton/Skeleton.js +11 -0
  592. package/components/Skeleton/index.js +9 -0
  593. package/components/Skeleton/styled/Skeleton.js +39 -0
  594. package/components/Skeleton/styled/index.js +9 -0
  595. package/components/Slogan/Slogan.js +11 -0
  596. package/components/Slogan/index.js +9 -0
  597. package/components/Slogan/styled/Slogan.js +22 -0
  598. package/components/Slogan/styled/index.js +9 -0
  599. package/components/SmallText/SmallText.js +11 -0
  600. package/components/SmallText/index.js +9 -0
  601. package/components/SnakeNavigation/NavigationStep.js +45 -0
  602. package/components/SnakeNavigation/SnakeNavigation.js +18 -0
  603. package/components/SnakeNavigation/index.js +11 -0
  604. package/components/SnakeNavigation/skeletons/SnakeNavigationSkeleton.js +27 -0
  605. package/components/SnakeNavigation/styled/NavigationContainer.js +11 -0
  606. package/components/SnakeNavigation/styled/NavigationSeparator.js +14 -0
  607. package/components/SnakeNavigation/styled/NavigationStepContainer.js +20 -0
  608. package/components/SnakeNavigation/styled/NavigationStepList.js +24 -0
  609. package/components/SnakeNavigation/styled/StepContainer.js +43 -0
  610. package/components/SnakeNavigation/styled/StepIcon.js +11 -0
  611. package/components/SnakeNavigation/styled/StepLabel.js +29 -0
  612. package/components/SnakeNavigation/styled/index.js +21 -0
  613. package/components/Spinner/Spinner.js +15 -0
  614. package/components/Spinner/index.js +9 -0
  615. package/components/Spinner/styled/Spinner.js +19 -0
  616. package/components/Spinner/styled/SpinnerAsset.js +13 -0
  617. package/components/Spinner/styled/index.js +11 -0
  618. package/components/Spotlight/Backdrop.js +26 -0
  619. package/components/Spotlight/Forefront.js +11 -0
  620. package/components/Spotlight/Spotlight.js +12 -0
  621. package/components/Spotlight/constants.js +5 -0
  622. package/components/Spotlight/index.js +11 -0
  623. package/components/Spotlight/styled/Backdrop.js +22 -0
  624. package/components/Spotlight/styled/Forefront.js +13 -0
  625. package/components/Spotlight/styled/index.js +11 -0
  626. package/components/Stack/Stack.js +14 -0
  627. package/components/Stack/index.js +9 -0
  628. package/components/Stack/styled/StyledStack.js +42 -0
  629. package/components/Stack/styled/index.js +9 -0
  630. package/components/StaticAsset/StaticAsset.js +19 -0
  631. package/components/StaticAsset/index.js +9 -0
  632. package/components/StaticAsset/styled/StaticAsset.js +8 -0
  633. package/components/StaticAsset/styled/index.js +6 -0
  634. package/components/StaticAssetGroup/StaticAssetGroup.js +21 -0
  635. package/components/StaticAssetGroup/StaticAssetItem.js +20 -0
  636. package/components/StaticAssetGroup/helpers/scrollParentToChild.js +18 -0
  637. package/components/StaticAssetGroup/index.js +9 -0
  638. package/components/StaticAssetGroup/styled/StaticAssetItem.js +11 -0
  639. package/components/StaticAssetGroup/styled/index.js +9 -0
  640. package/components/StatusBox/StatusBox.js +11 -0
  641. package/components/StatusBox/index.js +9 -0
  642. package/components/StatusBox/styled/StatusBox.js +17 -0
  643. package/components/StatusBox/styled/index.js +9 -0
  644. package/components/StepContainer/StepContainer.js +11 -0
  645. package/components/StepContainer/index.js +9 -0
  646. package/components/StepContainer/styled/StepContainer.js +36 -0
  647. package/components/StepContainer/styled/index.js +9 -0
  648. package/components/Steps/Step.js +20 -0
  649. package/components/Steps/Steps.js +15 -0
  650. package/components/Steps/index.js +11 -0
  651. package/components/Steps/styled/StepBorder.js +21 -0
  652. package/components/Steps/styled/StepChild.js +15 -0
  653. package/components/Steps/styled/StepCircleContainer.js +12 -0
  654. package/components/Steps/styled/StepTitle.js +26 -0
  655. package/components/Steps/styled/index.js +15 -0
  656. package/components/StepsTitle/StepsTitle.js +12 -0
  657. package/components/StepsTitle/index.js +9 -0
  658. package/components/StepsTitle/styled/StepsTitle.js +18 -0
  659. package/components/StepsTitle/styled/index.js +9 -0
  660. package/components/StickyComponent/StickyComponent.js +21 -0
  661. package/components/StickyComponent/index.js +9 -0
  662. package/components/StickyComponent/styled/StickyComponent.js +20 -0
  663. package/components/StickyComponent/styled/index.js +9 -0
  664. package/components/StopsLine/StopsLine.js +21 -0
  665. package/components/StopsLine/index.js +9 -0
  666. package/components/StopsLine/styled/StopsLineCircle.js +17 -0
  667. package/components/StopsLine/styled/StopsLineDivider.js +11 -0
  668. package/components/StopsLine/styled/index.js +9 -0
  669. package/components/Switch/Switch.js +13 -0
  670. package/components/Switch/index.js +6 -0
  671. package/components/Switch/styled/Checkbox.js +10 -0
  672. package/components/Switch/styled/Knob.js +19 -0
  673. package/components/Switch/styled/Wrapper.js +20 -0
  674. package/components/Switch/styled/index.js +10 -0
  675. package/components/Table/Table.js +8 -0
  676. package/components/Table/components/Cell/Cell.js +12 -0
  677. package/components/Table/components/Cell/index.js +9 -0
  678. package/components/Table/components/Cell/styled/Cell.js +21 -0
  679. package/components/Table/components/Cell/styled/index.js +9 -0
  680. package/components/Table/components/Row/Row.js +8 -0
  681. package/components/Table/components/Row/index.js +9 -0
  682. package/components/Table/components/Row/styled/Row.js +25 -0
  683. package/components/Table/components/Row/styled/index.js +9 -0
  684. package/components/Table/index.js +13 -0
  685. package/components/Tabs/Arrow.js +13 -0
  686. package/components/Tabs/Tab.js +8 -0
  687. package/components/Tabs/TabTitle.js +30 -0
  688. package/components/Tabs/Tabs.js +141 -0
  689. package/components/Tabs/constants.js +6 -0
  690. package/components/Tabs/index.js +9 -0
  691. package/components/Tabs/styled/ArrowWrapper.js +26 -0
  692. package/components/Tabs/styled/ScrollTape.js +11 -0
  693. package/components/Tabs/styled/TabTitleContainer.js +8 -0
  694. package/components/Tabs/styled/TabTitleWrapper.js +64 -0
  695. package/components/Tabs/styled/TabsNavigationBackground.js +24 -0
  696. package/components/Tabs/styled/TabsNavigationWrapper.js +27 -0
  697. package/components/Tabs/styled/index.js +15 -0
  698. package/components/Tabs/types.js +8 -0
  699. package/components/Tag/Tag.js +12 -0
  700. package/components/Tag/index.js +9 -0
  701. package/components/Tag/styled/Tag.js +20 -0
  702. package/components/Tag/styled/index.js +9 -0
  703. package/components/Text/Text.js +22 -0
  704. package/components/Text/index.js +9 -0
  705. package/components/Text/styled/Text.js +94 -0
  706. package/components/Text/styled/index.js +9 -0
  707. package/components/TextArea/TextArea.js +11 -0
  708. package/components/TextArea/index.js +9 -0
  709. package/components/TextArea/styled/TextArea.js +15 -0
  710. package/components/TextArea/styled/index.js +9 -0
  711. package/components/TextBlock/TextBlock.js +17 -0
  712. package/components/TextBlock/TextBlockContent.js +14 -0
  713. package/components/TextBlock/index.js +11 -0
  714. package/components/TextBlock/styled/TextBlock.js +12 -0
  715. package/components/TextBlock/styled/TextBlockContent.js +47 -0
  716. package/components/TextBlock/styled/index.js +11 -0
  717. package/components/TitleBar/BackButton.js +12 -0
  718. package/components/TitleBar/CloseButton.js +12 -0
  719. package/components/TitleBar/OpenButton.js +12 -0
  720. package/components/TitleBar/TitleBar.js +16 -0
  721. package/components/TitleBar/index.js +9 -0
  722. package/components/TitleBar/styled/BackButtonContainer.js +11 -0
  723. package/components/TitleBar/styled/CloseButtonContainer.js +8 -0
  724. package/components/TitleBar/styled/OpenButtonContainer.js +8 -0
  725. package/components/TitleBar/styled/Separator.js +8 -0
  726. package/components/TitleBar/styled/Title.js +14 -0
  727. package/components/TitleBar/styled/TitleBar.js +49 -0
  728. package/components/TitleBar/styled/index.js +17 -0
  729. package/components/Tooltip/Tooltip.js +98 -0
  730. package/components/Tooltip/TooltipContext.js +9 -0
  731. package/components/Tooltip/helpers/getTooltipPosition/constants.js +8 -0
  732. package/components/Tooltip/helpers/getTooltipPosition/getTooltipPosition.js +43 -0
  733. package/components/Tooltip/helpers/getTooltipPosition/index.js +9 -0
  734. package/components/Tooltip/helpers/isPositionChanged/index.js +9 -0
  735. package/components/Tooltip/helpers/isPositionChanged/isPositionChanged.js +15 -0
  736. package/components/Tooltip/index.js +9 -0
  737. package/components/Tooltip/styled/IconWrapper.js +17 -0
  738. package/components/Tooltip/styled/Tooltip.js +37 -0
  739. package/components/Tooltip/styled/Wrapper.js +8 -0
  740. package/components/Tooltip/styled/index.js +13 -0
  741. package/components/Touchable/Touchable.js +12 -0
  742. package/components/Touchable/index.js +9 -0
  743. package/components/Touchable/styled/Touchable.js +33 -0
  744. package/components/Touchable/styled/index.js +9 -0
  745. package/components/ValidationIcon/ValidationIcon.js +11 -0
  746. package/components/ValidationIcon/index.js +9 -0
  747. package/components/__deprecated__/Box/Box.js +27 -0
  748. package/components/__deprecated__/Box/index.js +9 -0
  749. package/components/__deprecated__/Box/styled/StyledBox.js +176 -0
  750. package/components/__deprecated__/Box/styled/index.js +9 -0
  751. package/components/__deprecated__/FlightCollapsedBox/FlightCollapsedBox.js +40 -0
  752. package/components/__deprecated__/FlightCollapsedBox/index.js +9 -0
  753. package/components/__deprecated__/FlightCollapsedBox/styled/FlightCollapseContent.js +11 -0
  754. package/components/__deprecated__/FlightCollapsedBox/styled/FlightCollapsedBox.js +11 -0
  755. package/components/__deprecated__/FlightCollapsedBox/styled/Wrapper.js +8 -0
  756. package/components/__deprecated__/FlightCollapsedBox/styled/index.js +13 -0
  757. package/components/__deprecated__/Header/Header.js +12 -0
  758. package/components/__deprecated__/Header/HeaderButton.js +11 -0
  759. package/components/__deprecated__/Header/HeaderLogo.js +11 -0
  760. package/components/__deprecated__/Header/index.js +13 -0
  761. package/components/__deprecated__/Header/styled/Header.js +11 -0
  762. package/components/__deprecated__/Header/styled/HeaderButton.js +40 -0
  763. package/components/__deprecated__/Header/styled/HeaderLogo.js +14 -0
  764. package/components/__deprecated__/Header/styled/HeaderWrapper.js +11 -0
  765. package/components/__deprecated__/Header/styled/index.js +15 -0
  766. package/components/__deprecated__/NegativeMarginWrapper/NegativeMarginWrapper.js +11 -0
  767. package/components/__deprecated__/NegativeMarginWrapper/index.js +9 -0
  768. package/components/__deprecated__/NegativeMarginWrapper/styled/NegativeMarginWrapper.js +11 -0
  769. package/components/__deprecated__/NegativeMarginWrapper/styled/index.js +9 -0
  770. package/hooks/useBreakpoints/index.js +9 -0
  771. package/hooks/useBreakpoints/useBreakpoints.js +16 -0
  772. package/hooks/useDesktop/index.js +9 -0
  773. package/hooks/useDesktop/useDesktop.js +7 -0
  774. package/hooks/useLazyLoadingImage/index.js +9 -0
  775. package/hooks/useLazyLoadingImage/useLazyLoadingImage.js +31 -0
  776. package/hooks/useMediaQuery/helpers/isSupported/index.js +9 -0
  777. package/hooks/useMediaQuery/helpers/isSupported/isSupported.js +7 -0
  778. package/hooks/useMediaQuery/index.js +9 -0
  779. package/hooks/useMediaQuery/useMediaQuery.js +22 -0
  780. package/hooks/useMounted/index.js +9 -0
  781. package/hooks/useMounted/useMounted.js +13 -0
  782. package/hooks/useViewportSize/index.js +6 -0
  783. package/hooks/useViewportSize/useViewportSize.js +33 -0
  784. package/package.json +28 -3
  785. package/scripts/build.js +132 -0
  786. package/themes/common/zIndexes.js +18 -0
  787. package/utils/hexToRgba/hexToRgba.js +10 -0
  788. package/utils/hexToRgba/index.js +9 -0
  789. package/utils/isSSR/index.js +9 -0
  790. package/utils/isSSR/isSSR.js +4 -0
  791. package/utils/media/index.js +9 -0
  792. package/utils/media/media.js +45 -0
  793. package/utils/omitAttrs/index.js +9 -0
  794. package/utils/omitAttrs/omitAttrs.js +15 -0
  795. package/utils/sanitizeTags/index.js +6 -0
  796. package/utils/sanitizeTags/sanitizeTags.js +54 -0
  797. package/utils/scroller/documentScrollPosition.js +17 -0
  798. package/utils/scroller/index.js +7 -0
  799. package/utils/scroller/scrollTickToPosition.js +31 -0
  800. package/utils/scroller/scrollTo.js +34 -0
  801. package/utils/themedStyledComponents/index.js +15 -0
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Skeleton = void 0;
7
+ var Skeleton_1 = require("./Skeleton");
8
+ Object.defineProperty(exports, "Skeleton", { enumerable: true, get: function () { return __importDefault(Skeleton_1).default; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var S = (0, tslib_1.__importStar)(require("./styled"));
6
+ var Slogan = function (_a) {
7
+ var text = _a.text;
8
+ return text ? (0, jsx_runtime_1.jsx)(S.Slogan, { children: text }, void 0) : null;
9
+ };
10
+ exports.default = Slogan;
11
+ //# sourceMappingURL=Slogan.js.map
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var Slogan_1 = require("./Slogan");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Slogan_1).default; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.styles = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var themedStyledComponents_1 = (0, tslib_1.__importStar)(require("../../../utils/themedStyledComponents"));
6
+ exports.styles = (0, themedStyledComponents_1.css)(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n color: ", ";\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: 36px;\n"], ["\n color: ", ";\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: 36px;\n"])), function (_a) {
7
+ var theme = _a.theme;
8
+ return theme.colors.PRIMARY;
9
+ }, function (_a) {
10
+ var theme = _a.theme;
11
+ return theme.fonts.primary.fontFamily;
12
+ }, function (_a) {
13
+ var theme = _a.theme;
14
+ return theme.fonts.sizes.fs800;
15
+ }, function (_a) {
16
+ var theme = _a.theme;
17
+ return theme.fonts.primary.weight.fw500;
18
+ });
19
+ var H3 = themedStyledComponents_1.default.h3(templateObject_2 || (templateObject_2 = (0, tslib_1.__makeTemplateObject)(["\n ", "\n"], ["\n ", "\n"])), exports.styles);
20
+ exports.default = H3;
21
+ var templateObject_1, templateObject_2;
22
+ //# sourceMappingURL=Slogan.js.map
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Slogan = void 0;
7
+ var Slogan_1 = require("./Slogan");
8
+ Object.defineProperty(exports, "Slogan", { enumerable: true, get: function () { return __importDefault(Slogan_1).default; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var Text_1 = tslib_1.__importDefault(require("../Text"));
6
+ var SmallText = function (_a) {
7
+ var children = _a.children, props = tslib_1.__rest(_a, ["children"]);
8
+ return (jsx_runtime_1.jsx(Text_1.default, tslib_1.__assign({ fontSize: "fs200", lineHeight: 1.67 }, props, { children: children }), void 0));
9
+ };
10
+ exports.default = SmallText;
11
+ //# sourceMappingURL=SmallText.js.map
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var SmallText_1 = require("./SmallText");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(SmallText_1).default; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var react_1 = require("react");
6
+ var S = tslib_1.__importStar(require("./styled"));
7
+ var DefaultProps = {
8
+ amount: 2,
9
+ currentStep: 1,
10
+ index: 0,
11
+ onClick: function () { },
12
+ step: '',
13
+ };
14
+ var NavigationStep = (function (_super) {
15
+ tslib_1.__extends(NavigationStep, _super);
16
+ function NavigationStep() {
17
+ var _this = _super !== null && _super.apply(this, arguments) || this;
18
+ _this.handleClick = function () {
19
+ var _a = _this
20
+ .props, index = _a.index, step = _a.step, onClick = _a.onClick;
21
+ onClick({ index: index, value: step });
22
+ };
23
+ return _this;
24
+ }
25
+ NavigationStep.prototype.renderContent = function (isDone) {
26
+ var index = this.props.index;
27
+ return isDone ? (jsx_runtime_1.jsx(S.StepIcon, { color: "CONTENT_BACKGROUND", name: "check" }, void 0)) : (jsx_runtime_1.jsx("span", { children: index + 1 }, void 0));
28
+ };
29
+ NavigationStep.prototype.render = function () {
30
+ var _a = this
31
+ .props, amount = _a.amount, currentStep = _a.currentStep, index = _a.index, step = _a.step;
32
+ var isActive = index === currentStep;
33
+ var isDone = index < currentStep;
34
+ var isNext = index > currentStep;
35
+ var isFirst = index === 0;
36
+ var isLast = index === amount - 1;
37
+ return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsxs(S.NavigationStepContainer, tslib_1.__assign({ isFirst: isFirst, isLast: isLast }, { children: [jsx_runtime_1.jsx(S.StepContainer, tslib_1.__assign({ isActive: isActive, isNext: isNext, onClick: isActive || isNext ? undefined : this.handleClick }, { children: this.renderContent(isDone) }), void 0),
38
+ jsx_runtime_1.jsx(S.StepLabel, tslib_1.__assign({ isActive: isActive, isNext: isNext }, { children: step }), void 0)] }), index),
39
+ !isLast && (jsx_runtime_1.jsx(S.NavigationSeparator, { isDone: isDone }, "separator-" + index))] }, void 0));
40
+ };
41
+ NavigationStep.defaultProps = DefaultProps;
42
+ return NavigationStep;
43
+ }(react_1.PureComponent));
44
+ exports.default = NavigationStep;
45
+ //# sourceMappingURL=NavigationStep.js.map
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var Container_1 = tslib_1.__importDefault(require("../Container"));
6
+ var S = tslib_1.__importStar(require("./styled"));
7
+ var NavigationStep_1 = tslib_1.__importDefault(require("./NavigationStep"));
8
+ var SnakeNavigation = function (props) {
9
+ var currentStep = props.currentStep, onClick = props.onClick, steps = props.steps;
10
+ var amount = steps.length;
11
+ return (jsx_runtime_1.jsx(S.NavigationContainer, { children: jsx_runtime_1.jsx(Container_1.default, { children: jsx_runtime_1.jsx(S.NavigationStepList, { children: steps.map(function (step, index) { return (jsx_runtime_1.jsx(NavigationStep_1.default, { amount: amount, currentStep: currentStep, index: index, onClick: onClick, step: step }, step)); }) }, void 0) }, void 0) }, void 0));
12
+ };
13
+ var DefaultProps = {
14
+ onClick: function () { },
15
+ };
16
+ SnakeNavigation.defaultProps = DefaultProps;
17
+ exports.default = SnakeNavigation;
18
+ //# sourceMappingURL=SnakeNavigation.js.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SnakeNavigationSkeleton = exports.default = void 0;
7
+ var SnakeNavigation_1 = require("./SnakeNavigation");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(SnakeNavigation_1).default; } });
9
+ var SnakeNavigationSkeleton_1 = require("./skeletons/SnakeNavigationSkeleton");
10
+ Object.defineProperty(exports, "SnakeNavigationSkeleton", { enumerable: true, get: function () { return SnakeNavigationSkeleton_1.SnakeNavigationSkeleton; } });
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SnakeNavigationSkeleton = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var jsx_runtime_1 = require("react/jsx-runtime");
6
+ var react_1 = require("react");
7
+ var Container_1 = tslib_1.__importDefault(require("../../../components/Container"));
8
+ var Flex_1 = tslib_1.__importDefault(require("../../../components/Flex"));
9
+ var Layout_1 = tslib_1.__importDefault(require("../../../components/Layout"));
10
+ var Skeleton_1 = tslib_1.__importDefault(require("../../../components/Skeleton"));
11
+ var SnakeNavigationSkeleton = function () { return (jsx_runtime_1.jsx(Layout_1.default, tslib_1.__assign({ background: "PRIMARY_LIGHT" }, { children: jsx_runtime_1.jsx(Container_1.default, { children: jsx_runtime_1.jsx(Flex_1.default, tslib_1.__assign({ justifyContent: "space-between", m: {
12
+ maxInlineSize: '476px',
13
+ paddingBlock: 's400',
14
+ paddingInline: 0,
15
+ }, margin: "auto", paddingBlockEnd: "s300", paddingBlockStart: "s400", paddingInline: "s200", position: "relative", s: {
16
+ paddingInline: 's400',
17
+ } }, { children: [1, 2, 3, 4, 5].map(function (key) {
18
+ var alignItems = key === 1 ? 'flex-start' : 'center';
19
+ if (key === 5) {
20
+ alignItems = 'flex-end';
21
+ }
22
+ return (jsx_runtime_1.jsxs(react_1.Fragment, { children: [jsx_runtime_1.jsxs(Flex_1.default, tslib_1.__assign({ alignItems: alignItems, flexDirection: "column", inlineSize: "24px", justifyContent: "flex-start", m: { inlineSize: '19px' } }, { children: [jsx_runtime_1.jsx(Layout_1.default, tslib_1.__assign({ m: { size: '19px' }, size: "24px" }, { children: jsx_runtime_1.jsx(Skeleton_1.default, { backgroundColor: "PRIMARY_LIGHTER", elliptical: true }, void 0) }), void 0),
23
+ jsx_runtime_1.jsx(Layout_1.default, tslib_1.__assign({ blockSize: "12px", inlineSize: "31px", marginBlockStart: "s200" }, { children: jsx_runtime_1.jsx(Skeleton_1.default, { backgroundColor: "PRIMARY_LIGHTER" }, void 0) }), void 0)] }), void 0),
24
+ key !== 5 && (jsx_runtime_1.jsx(Flex_1.default, tslib_1.__assign({ flexGrow: 1, position: "relative" }, { children: jsx_runtime_1.jsx(Layout_1.default, tslib_1.__assign({ blockSize: "2px", inlineSize: "100%", insetBlockStart: "12px", m: { insetBlockStart: '9px', blockSize: '1px' }, position: "absolute" }, { children: jsx_runtime_1.jsx(Skeleton_1.default, { backgroundColor: "PRIMARY_LIGHTER" }, void 0) }), void 0) }), void 0))] }, key));
25
+ }) }), void 0) }, void 0) }), void 0)); };
26
+ exports.SnakeNavigationSkeleton = SnakeNavigationSkeleton;
27
+ //# sourceMappingURL=SnakeNavigationSkeleton.js.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
5
+ var NavigationContainer = themedStyledComponents_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
6
+ var theme = _a.theme;
7
+ return theme.colors.PRIMARY_LIGHT;
8
+ });
9
+ exports.default = NavigationContainer;
10
+ var templateObject_1;
11
+ //# sourceMappingURL=NavigationContainer.js.map
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var media_1 = tslib_1.__importDefault(require("../../../utils/media"));
5
+ var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
6
+ var NavigationSeparator = themedStyledComponents_1.default.li(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n position: relative;\n\n flex-grow: 1;\n\n &::before {\n background-color: ", ";\n content: '\\0020';\n\n position: absolute;\n top: 12px;\n width: 100%;\n height: 2px;\n\n ", "\n }\n"], ["\n position: relative;\n\n flex-grow: 1;\n\n &::before {\n background-color: ",
7
+ ";\n content: '\\\\0020';\n\n position: absolute;\n top: 12px;\n width: 100%;\n height: 2px;\n\n ",
8
+ "\n }\n"])), function (_a) {
9
+ var isDone = _a.isDone, theme = _a.theme;
10
+ return isDone ? theme.colors.CONTENT_BACKGROUND : theme.colors.PRIMARY_LIGHTER;
11
+ }, media_1.default.m(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n top: 9px;\n height: 1px;\n "], ["\n top: 9px;\n height: 1px;\n "]))));
12
+ exports.default = NavigationSeparator;
13
+ var templateObject_1, templateObject_2;
14
+ //# sourceMappingURL=NavigationSeparator.js.map
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var media_1 = tslib_1.__importDefault(require("../../../utils/media"));
5
+ var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
6
+ var NavigationStepContainer = themedStyledComponents_1.default.li(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n display: flex;\n flex-flow: column;\n align-items: ", ";\n justify-content: flex-start;\n\n width: 24px;\n margin: 0;\n padding: 0;\n\n ", "\n"], ["\n display: flex;\n flex-flow: column;\n align-items: ",
7
+ ";\n justify-content: flex-start;\n\n width: 24px;\n margin: 0;\n padding: 0;\n\n ",
8
+ "\n"])), function (_a) {
9
+ var isFirst = _a.isFirst, isLast = _a.isLast;
10
+ if (isFirst) {
11
+ return 'flex-start';
12
+ }
13
+ if (isLast) {
14
+ return 'flex-end';
15
+ }
16
+ return 'center';
17
+ }, media_1.default.m(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n align-items: center;\n width: 19px;\n "], ["\n align-items: center;\n width: 19px;\n "]))));
18
+ exports.default = NavigationStepContainer;
19
+ var templateObject_1, templateObject_2;
20
+ //# sourceMappingURL=NavigationStepContainer.js.map
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var media_1 = tslib_1.__importDefault(require("../../../utils/media"));
5
+ var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
6
+ var NavigationStepList = themedStyledComponents_1.default.ul(templateObject_3 || (templateObject_3 = tslib_1.__makeTemplateObject(["\n position: relative;\n\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n margin: auto;\n padding: ", ";\n\n list-style: none;\n\n ", "\n\n ", "\n"], ["\n position: relative;\n\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n margin: auto;\n padding: ",
7
+ ";\n\n list-style: none;\n\n ",
8
+ "\n\n ",
9
+ "\n"])), function (_a) {
10
+ var spacings = _a.theme.spacings;
11
+ return spacings.s400 + " " + spacings.s200 + " " + spacings.s300;
12
+ }, media_1.default.s(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n padding-left: ", ";\n padding-right: ", ";\n "], ["\n padding-left: ", ";\n padding-right: ", ";\n "])), function (_a) {
13
+ var theme = _a.theme;
14
+ return theme.spacings.s400;
15
+ }, function (_a) {
16
+ var theme = _a.theme;
17
+ return theme.spacings.s400;
18
+ }), media_1.default.m(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n max-width: 476px;\n padding: ", ";\n "], ["\n max-width: 476px;\n padding: ", ";\n "])), function (_a) {
19
+ var theme = _a.theme;
20
+ return theme.spacings.s400 + " 0";
21
+ }));
22
+ exports.default = NavigationStepList;
23
+ var templateObject_1, templateObject_2, templateObject_3;
24
+ //# sourceMappingURL=NavigationStepList.js.map
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var media_1 = tslib_1.__importDefault(require("../../../utils/media"));
5
+ var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
6
+ var StepContainer = themedStyledComponents_1.default.div(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n flex-shrink: 0;\n\n width: 24px;\n height: 24px;\n\n cursor: ", ";\n border-radius: 50%;\n\n color: ", ";\n\n border: ", ";\n border-color: ", ";\n\n background-color: ", ";\n\n ", "\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n flex-shrink: 0;\n\n width: 24px;\n height: 24px;\n\n cursor: ", ";\n border-radius: 50%;\n\n color: ", ";\n\n border: ",
7
+ ";\n border-color: ",
8
+ ";\n\n background-color: ",
9
+ ";\n\n ",
10
+ "\n"])), function (_a) {
11
+ var theme = _a.theme;
12
+ return theme.fonts.primary.fontFamily;
13
+ }, function (_a) {
14
+ var theme = _a.theme;
15
+ return theme.fonts.sizes.fs200;
16
+ }, function (_a) {
17
+ var theme = _a.theme;
18
+ return theme.fonts.primary.weight.fw700;
19
+ }, function (_a) {
20
+ var onClick = _a.onClick;
21
+ return (onClick ? 'pointer' : 'default');
22
+ }, function (_a) {
23
+ var theme = _a.theme;
24
+ return "" + theme.colors.CONTENT_BACKGROUND;
25
+ }, function (_a) {
26
+ var theme = _a.theme;
27
+ return theme.borders.width.bw200 + " " + theme.borders.style.SOLID;
28
+ }, function (_a) {
29
+ var theme = _a.theme, isNext = _a.isNext;
30
+ return isNext ? theme.colors.PRIMARY_LIGHTER : theme.colors.CONTENT_BACKGROUND;
31
+ }, function (_a) {
32
+ var theme = _a.theme, isActive = _a.isActive;
33
+ return isActive ? theme.colors.ACTIVE : theme.colors.PRIMARY_LIGHT;
34
+ }, media_1.default.m(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n font-size: ", ";\n width: 19px;\n height: 19px;\n border-width: ", ";\n "], ["\n font-size: ", ";\n width: 19px;\n height: 19px;\n border-width: ", ";\n "])), function (_a) {
35
+ var theme = _a.theme;
36
+ return theme.fonts.sizes.fs100;
37
+ }, function (_a) {
38
+ var theme = _a.theme;
39
+ return theme.borders.width.bw100;
40
+ }));
41
+ exports.default = StepContainer;
42
+ var templateObject_1, templateObject_2;
43
+ //# sourceMappingURL=StepContainer.js.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var media_1 = tslib_1.__importDefault(require("../../../utils/media"));
5
+ var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
6
+ var Icon_1 = tslib_1.__importDefault(require("../../Icon"));
7
+ var StepIcon = themedStyledComponents_1.default(Icon_1.default)(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n width: 11px;\n height: 9px;\n\n ", "\n"], ["\n width: 11px;\n height: 9px;\n\n ",
8
+ "\n"])), media_1.default.m(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n width: 9px;\n height: 7px;\n "], ["\n width: 9px;\n height: 7px;\n "]))));
9
+ exports.default = StepIcon;
10
+ var templateObject_1, templateObject_2;
11
+ //# sourceMappingURL=StepIcon.js.map
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var media_1 = tslib_1.__importDefault(require("../../../utils/media"));
5
+ var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
6
+ var StepLabel = themedStyledComponents_1.default.span(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: 14px;\n\n ", "\n\n margin: ", " 0 0;\n padding: 0;\n white-space: nowrap;\n\n color: ", ";\n\n ", "\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: 14px;\n\n ", "\n\n margin: ", " 0 0;\n padding: 0;\n white-space: nowrap;\n\n color: ",
7
+ ";\n\n ",
8
+ "\n"])), function (_a) {
9
+ var theme = _a.theme;
10
+ return theme.fonts.primary.fontFamily;
11
+ }, function (_a) {
12
+ var theme = _a.theme;
13
+ return theme.fonts.sizes.fs200;
14
+ }, function (_a) {
15
+ var theme = _a.theme;
16
+ return theme.fonts.primary.weight.fw700;
17
+ }, function (_a) {
18
+ var isActive = _a.isActive;
19
+ return (!isActive ? "display: none;" : '');
20
+ }, function (_a) {
21
+ var theme = _a.theme;
22
+ return theme.spacings.s200;
23
+ }, function (_a) {
24
+ var theme = _a.theme, isNext = _a.isNext;
25
+ return isNext ? theme.colors.SECONDARY_DARK : theme.colors.CONTENT_BACKGROUND;
26
+ }, media_1.default.m(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: inline-block;\n "], ["\n display: inline-block;\n "]))));
27
+ exports.default = StepLabel;
28
+ var templateObject_1, templateObject_2;
29
+ //# sourceMappingURL=StepLabel.js.map
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.StepContainer = exports.StepIcon = exports.StepLabel = exports.NavigationStepContainer = exports.NavigationStepList = exports.NavigationSeparator = exports.NavigationContainer = void 0;
7
+ var NavigationContainer_1 = require("./NavigationContainer");
8
+ Object.defineProperty(exports, "NavigationContainer", { enumerable: true, get: function () { return __importDefault(NavigationContainer_1).default; } });
9
+ var NavigationSeparator_1 = require("./NavigationSeparator");
10
+ Object.defineProperty(exports, "NavigationSeparator", { enumerable: true, get: function () { return __importDefault(NavigationSeparator_1).default; } });
11
+ var NavigationStepList_1 = require("./NavigationStepList");
12
+ Object.defineProperty(exports, "NavigationStepList", { enumerable: true, get: function () { return __importDefault(NavigationStepList_1).default; } });
13
+ var NavigationStepContainer_1 = require("./NavigationStepContainer");
14
+ Object.defineProperty(exports, "NavigationStepContainer", { enumerable: true, get: function () { return __importDefault(NavigationStepContainer_1).default; } });
15
+ var StepLabel_1 = require("./StepLabel");
16
+ Object.defineProperty(exports, "StepLabel", { enumerable: true, get: function () { return __importDefault(StepLabel_1).default; } });
17
+ var StepIcon_1 = require("./StepIcon");
18
+ Object.defineProperty(exports, "StepIcon", { enumerable: true, get: function () { return __importDefault(StepIcon_1).default; } });
19
+ var StepContainer_1 = require("./StepContainer");
20
+ Object.defineProperty(exports, "StepContainer", { enumerable: true, get: function () { return __importDefault(StepContainer_1).default; } });
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var S = tslib_1.__importStar(require("./styled"));
6
+ var defaultProps = {
7
+ size: 'xs',
8
+ };
9
+ var Spinner = function (props) {
10
+ var size = props.size;
11
+ return (jsx_runtime_1.jsx(S.Spinner, tslib_1.__assign({ size: size }, { children: jsx_runtime_1.jsx(S.SpinnerAsset, { name: "spinner" }, void 0) }), void 0));
12
+ };
13
+ Spinner.defaultProps = defaultProps;
14
+ exports.default = Spinner;
15
+ //# sourceMappingURL=Spinner.js.map
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var Spinner_1 = require("./Spinner");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Spinner_1).default; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
5
+ var omitAttrs_1 = tslib_1.__importDefault(require("../../../utils/omitAttrs"));
6
+ var dimensions = {
7
+ xs: 25,
8
+ s: 36,
9
+ m: 50,
10
+ l: 75,
11
+ xl: 100,
12
+ };
13
+ var Spinner = themedStyledComponents_1.default.div.withConfig(omitAttrs_1.default('size'))(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: inline-block;\n font-size: 0;\n width: ", "px;\n"], ["\n display: inline-block;\n font-size: 0;\n width: ", "px;\n"])), function (_a) {
14
+ var size = _a.size;
15
+ return dimensions[size];
16
+ });
17
+ exports.default = Spinner;
18
+ var templateObject_1;
19
+ //# sourceMappingURL=Spinner.js.map
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
5
+ var StaticAsset_1 = tslib_1.__importDefault(require("../../StaticAsset"));
6
+ var rotationFrames = Array.from(Array(11)).reduce(function (acc, _cur, i) { return "\n " + acc + "\n " + i * 10 + "% {\n animation-timing-function: steps(1, end);\n transform: rotate(" + i * 36 + "deg);\n }\n"; }, '');
7
+ var SpinnerAsset = themedStyledComponents_1.default(StaticAsset_1.default)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n animation: rotation infinite 0.7s;\n fill: ", ";\n\n @keyframes rotation {\n ", "\n }\n"], ["\n animation: rotation infinite 0.7s;\n fill: ", ";\n\n @keyframes rotation {\n ", "\n }\n"])), function (_a) {
8
+ var theme = _a.theme;
9
+ return theme.colors.CONTENT_BACKGROUND;
10
+ }, rotationFrames);
11
+ exports.default = SpinnerAsset;
12
+ var templateObject_1;
13
+ //# sourceMappingURL=SpinnerAsset.js.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Spinner = exports.SpinnerAsset = void 0;
7
+ var SpinnerAsset_1 = require("./SpinnerAsset");
8
+ Object.defineProperty(exports, "SpinnerAsset", { enumerable: true, get: function () { return __importDefault(SpinnerAsset_1).default; } });
9
+ var Spinner_1 = require("./Spinner");
10
+ Object.defineProperty(exports, "Spinner", { enumerable: true, get: function () { return __importDefault(Spinner_1).default; } });
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var react_1 = require("react");
6
+ var S = (0, tslib_1.__importStar)(require("./styled"));
7
+ var Backdrop = function (_a) {
8
+ var isActive = _a.isActive, onClick = _a.onClick;
9
+ var _b = (0, tslib_1.__read)((0, react_1.useState)(false), 2), visible = _b[0], setVisible = _b[1];
10
+ (0, react_1.useEffect)(function () {
11
+ if (isActive) {
12
+ setVisible(true);
13
+ }
14
+ }, [isActive]);
15
+ if (!visible)
16
+ return null;
17
+ var handleAnimationEnd = function (event) {
18
+ if (!isActive) {
19
+ setVisible(false);
20
+ }
21
+ event.stopPropagation();
22
+ };
23
+ return ((0, jsx_runtime_1.jsx)(S.Backdrop, { isActive: isActive, onAnimationEnd: handleAnimationEnd, onClick: onClick }, void 0));
24
+ };
25
+ exports.default = Backdrop;
26
+ //# sourceMappingURL=Backdrop.js.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var S = (0, tslib_1.__importStar)(require("./styled"));
6
+ var Forefront = function (_a) {
7
+ var dataAttrs = _a.dataAttrs, restProps = (0, tslib_1.__rest)(_a, ["dataAttrs"]);
8
+ return ((0, jsx_runtime_1.jsx)(S.Forefront, (0, tslib_1.__assign)({ position: "relative" }, dataAttrs, restProps), void 0));
9
+ };
10
+ exports.default = Forefront;
11
+ //# sourceMappingURL=Forefront.js.map
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var Backdrop_1 = (0, tslib_1.__importDefault)(require("./Backdrop"));
6
+ var Forefront_1 = (0, tslib_1.__importDefault)(require("./Forefront"));
7
+ var Spotlight = function (_a) {
8
+ var children = _a.children, isActive = _a.isActive, onBackdropClick = _a.onBackdropClick;
9
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Backdrop_1.default, { isActive: isActive, onClick: onBackdropClick }, void 0), !!children && (0, jsx_runtime_1.jsx)(Forefront_1.default, (0, tslib_1.__assign)({ isActive: isActive }, { children: children }), void 0)] }, void 0));
10
+ };
11
+ exports.default = Spotlight;
12
+ //# sourceMappingURL=Spotlight.js.map
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BACKDROP_FADE_DURATION = void 0;
4
+ exports.BACKDROP_FADE_DURATION = 200;
5
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Forefront = exports.default = void 0;
7
+ var Spotlight_1 = require("./Spotlight");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Spotlight_1).default; } });
9
+ var Forefront_1 = require("./Forefront");
10
+ Object.defineProperty(exports, "Forefront", { enumerable: true, get: function () { return __importDefault(Forefront_1).default; } });
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var constants_1 = require("../constants");
5
+ var zIndexes_1 = require("../../../themes/common/zIndexes");
6
+ var themedStyledComponents_1 = (0, tslib_1.__importStar)(require("../../../utils/themedStyledComponents"));
7
+ var hexToRgba_1 = (0, tslib_1.__importDefault)(require("../../../utils/hexToRgba"));
8
+ var OPACITY = 0.65;
9
+ var fadeInAnimation = function (color) { return (0, themedStyledComponents_1.keyframes)(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\nfrom {\n background-color: ", ";\n}\n\nto {\n background-color: ", ";\n}\n"], ["\nfrom {\n background-color: ", ";\n}\n\nto {\n background-color: ", ";\n}\n"])), (0, hexToRgba_1.default)(color, 0), (0, hexToRgba_1.default)(color, OPACITY)); };
10
+ var fadeOutAnimation = function (color) { return (0, themedStyledComponents_1.keyframes)(templateObject_2 || (templateObject_2 = (0, tslib_1.__makeTemplateObject)(["\nfrom {\n background-color: ", ";\n}\n\nto {\n background-color: ", ";\n}\n"], ["\nfrom {\n background-color: ", ";\n}\n\nto {\n background-color: ", ";\n}\n"])), (0, hexToRgba_1.default)(color, OPACITY), (0, hexToRgba_1.default)(color, 0)); };
11
+ var Backdrop = themedStyledComponents_1.default.div(templateObject_3 || (templateObject_3 = (0, tslib_1.__makeTemplateObject)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: ", ";\n\n background-color: ", ";\n\n animation-name: ", ";\n animation-duration: ", "ms;\n animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);\n"], ["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: ", ";\n\n background-color: ", ";\n\n animation-name: ", ";\n animation-duration: ", "ms;\n animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);\n"])), zIndexes_1.ZIndexValues.backdrop, function (_a) {
12
+ var theme = _a.theme;
13
+ return (0, hexToRgba_1.default)(theme.colors.PRIMARY_DARKER, OPACITY);
14
+ }, function (_a) {
15
+ var isActive = _a.isActive, theme = _a.theme;
16
+ return isActive
17
+ ? fadeInAnimation(theme.colors.PRIMARY_DARKER)
18
+ : fadeOutAnimation(theme.colors.PRIMARY_DARKER);
19
+ }, constants_1.BACKDROP_FADE_DURATION);
20
+ exports.default = Backdrop;
21
+ var templateObject_1, templateObject_2, templateObject_3;
22
+ //# sourceMappingURL=Backdrop.js.map
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var zIndexes_1 = require("../../../themes/common/zIndexes");
5
+ var S = (0, tslib_1.__importStar)(require("../../Flex/styled"));
6
+ var themedStyledComponents_1 = (0, tslib_1.__importDefault)(require("../../../utils/themedStyledComponents"));
7
+ var Forefront = (0, themedStyledComponents_1.default)(S.Flex)(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n z-index: ", ";\n flex-grow: 1;\n"], ["\n z-index: ", ";\n flex-grow: 1;\n"])), function (_a) {
8
+ var isActive = _a.isActive;
9
+ return isActive ? zIndexes_1.ZIndexValues.forefront : zIndexes_1.ZIndexValues.backdrop;
10
+ });
11
+ exports.default = Forefront;
12
+ var templateObject_1;
13
+ //# sourceMappingURL=Forefront.js.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Forefront = exports.Backdrop = void 0;
7
+ var Backdrop_1 = require("./Backdrop");
8
+ Object.defineProperty(exports, "Backdrop", { enumerable: true, get: function () { return __importDefault(Backdrop_1).default; } });
9
+ var Forefront_1 = require("./Forefront");
10
+ Object.defineProperty(exports, "Forefront", { enumerable: true, get: function () { return __importDefault(Forefront_1).default; } });
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var react_1 = require("react");
6
+ var S = tslib_1.__importStar(require("./styled"));
7
+ var Stack = react_1.forwardRef(function (_a, ref) {
8
+ var dataAttrs = _a.dataAttrs, children = _a.children, renderDivider = _a.renderDivider, props = tslib_1.__rest(_a, ["dataAttrs", "children", "renderDivider"]);
9
+ var childrenArray = react_1.Children.toArray(children).filter(function (child) { return child != null && child !== true && child !== false; });
10
+ var count = childrenArray.length;
11
+ return (jsx_runtime_1.jsx(S.Stack, tslib_1.__assign({ ref: ref }, dataAttrs, props, { children: react_1.Children.map(childrenArray, function (child, i) { return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [child, i < count - 1 && renderDivider && renderDivider(i)] }, void 0)); }) }), void 0));
12
+ });
13
+ exports.default = Stack;
14
+ //# sourceMappingURL=Stack.js.map
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var Stack_1 = require("./Stack");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Stack_1).default; } });
9
+ //# sourceMappingURL=index.js.map