@stokr/components-library 4.2.6 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/README.md +147 -118
  2. package/dist/components/AdminDashboard/Table/Table.styles.d.ts +110 -0
  3. package/dist/components/AdminDashboard/Table/Table.styles.js +21 -20
  4. package/dist/components/AgreementItem/AgreementItem.styles.js +1 -1
  5. package/dist/components/BackButton/BackButton.styles.d.ts +24 -0
  6. package/dist/components/BackButton/BackButton.styles.js +15 -16
  7. package/dist/components/Background/Background.styles.d.ts +30 -0
  8. package/dist/components/Background/Background.styles.js +3 -3
  9. package/dist/components/BasicTable/BasicTable.d.ts +14 -0
  10. package/dist/components/BasicTable/BasicTable.js +0 -10
  11. package/dist/components/BasicTable/BasicTable.styles.d.ts +22 -0
  12. package/dist/components/BasicTable/BasicTable.styles.js +6 -7
  13. package/dist/components/BlogPost/BlogPost.js +3 -3
  14. package/dist/components/BlogPost/BlogPost.styles.d.ts +67 -0
  15. package/dist/components/BlogPost/BlogPost.styles.js +14 -20
  16. package/dist/components/Button/Button.styles.d.ts +12 -8
  17. package/dist/components/Button/Button.styles.js +131 -115
  18. package/dist/components/Button/GlareButton.d.ts +31 -0
  19. package/dist/components/Button/GlareButton.js +4 -22
  20. package/dist/components/Card/Card.styles.d.ts +30 -0
  21. package/dist/components/Card/Card.styles.js +3 -4
  22. package/dist/components/CardTabs/CardTabs.styles.js +26 -29
  23. package/dist/components/ChartLegend/ChartLegend.styles.d.ts +46 -0
  24. package/dist/components/ChartLegend/ChartLegend.styles.js +4 -5
  25. package/dist/components/Checkbox/Checkbox.styles.d.ts +0 -1
  26. package/dist/components/Checkbox/Checkbox.styles.js +10 -12
  27. package/dist/components/Checklist/ChecklistCard.d.ts +18 -0
  28. package/dist/components/Checklist/ChecklistCard.js +4 -17
  29. package/dist/components/Checklist/ChecklistCard.styles.d.ts +17 -0
  30. package/dist/components/Checklist/ChecklistCard.styles.js +7 -7
  31. package/dist/components/Chips/Chip.d.ts +18 -0
  32. package/dist/components/Chips/Chip.js +4 -20
  33. package/dist/components/Chips/Chip.styles.d.ts +23 -0
  34. package/dist/components/Chips/Chip.styles.js +3 -6
  35. package/dist/components/Chips/ChipWrapper.js +2 -2
  36. package/dist/components/Collapsible/Collapsible.d.ts +4 -10
  37. package/dist/components/Collapsible/Collapsible.js +14 -6
  38. package/dist/components/Collapsible/Collapsible.styles.d.ts +1 -3
  39. package/dist/components/Collapsible/Collapsible.styles.js +19 -36
  40. package/dist/components/ComponentScroll/ComponentScroll.js +2 -1
  41. package/dist/components/ComponentScroll/ComponentScroll.styles.d.ts +34 -0
  42. package/dist/components/ComponentScroll/ComponentScroll.styles.js +15 -12
  43. package/dist/components/ComponentWrapper/ComponentWrapper.styles.js +11 -13
  44. package/dist/components/ConfirmModal/ConfirmModal.styles.d.ts +18 -0
  45. package/dist/components/ConfirmModal/ConfirmModal.styles.js +6 -7
  46. package/dist/components/Country/CountrySelect.js +20 -15
  47. package/dist/components/CryptoAddress/ComponentWrap.d.ts +9 -0
  48. package/dist/components/CryptoAddress/ComponentWrap.js +7 -10
  49. package/dist/components/CryptoAddress/CryptoAddress.d.ts +45 -0
  50. package/dist/components/CryptoAddress/CryptoAddress.js +9 -41
  51. package/dist/components/CryptoAddress/CryptoAddress.styles.d.ts +85 -0
  52. package/dist/components/CryptoAddress/CryptoAddress.styles.js +21 -22
  53. package/dist/components/CryptoAddress/RadioWrap.d.ts +21 -0
  54. package/dist/components/CryptoAddress/RadioWrap.js +1 -16
  55. package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.styles.d.ts +30 -0
  56. package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.styles.js +19 -11
  57. package/dist/components/DisplayOnBreakpoint/DisplayOnBreakpoint.d.ts +12 -0
  58. package/dist/components/DisplayOnBreakpoint/DisplayOnBreakpoint.js +28 -0
  59. package/dist/components/FAQ/FAQ.js +18 -18
  60. package/dist/components/FAQ/FAQ.styles.d.ts +5 -12
  61. package/dist/components/FAQ/FAQ.styles.js +3 -61
  62. package/dist/components/Form/Form.styles.d.ts +22 -0
  63. package/dist/components/Form/Form.styles.js +7 -8
  64. package/dist/components/Grid/Grid.styles.d.ts +49 -0
  65. package/dist/components/Grid/Grid.styles.js +37 -40
  66. package/dist/components/IdentityInfo/IdentityInfo.js +1 -2
  67. package/dist/components/IdentityInfo/IdentityInfo.styles.d.ts +24 -0
  68. package/dist/components/IdentityInfo/IdentityInfo.styles.js +6 -9
  69. package/dist/components/InfoBox/InfoBox.d.ts +20 -0
  70. package/dist/components/InfoBox/InfoBox.js +24 -78
  71. package/dist/components/InfoIcon/InfoIcon.styles.js +2 -3
  72. package/dist/components/Input/DatePickerInput.d.ts +24 -0
  73. package/dist/components/Input/DatePickerInput.js +2 -13
  74. package/dist/components/Input/DatePickerInput.styles.d.ts +18 -0
  75. package/dist/components/Input/DatePickerInput.styles.js +27 -24
  76. package/dist/components/Input/Input.d.ts +0 -3
  77. package/dist/components/Input/Input.js +3 -5
  78. package/dist/components/Input/Input.styles.d.ts +1 -4
  79. package/dist/components/Input/Input.styles.js +24 -77
  80. package/dist/components/Input/InputPassword.styles.d.ts +32 -0
  81. package/dist/components/Input/InputPassword.styles.js +11 -12
  82. package/dist/components/Input/InputWithButton.styles.d.ts +14 -0
  83. package/dist/components/Input/InputWithButton.styles.js +5 -6
  84. package/dist/components/Input/MultiSelect.d.ts +60 -0
  85. package/dist/components/Input/MultiSelect.js +20 -52
  86. package/dist/components/Input/OtpInput.d.ts +17 -0
  87. package/dist/components/Input/OtpInput.js +8 -15
  88. package/dist/components/Input/RangeInput.d.ts +14 -0
  89. package/dist/components/Input/RangeInput.js +2 -17
  90. package/dist/components/Input/SearchInput.styles.d.ts +15 -0
  91. package/dist/components/Input/SearchInput.styles.js +10 -11
  92. package/dist/components/Input/Select.js +156 -80
  93. package/dist/components/Input/Select.styles.js +16 -118
  94. package/dist/components/Input/TableFilterDropdown.d.ts +33 -0
  95. package/dist/components/Input/TableFilterDropdown.js +6 -39
  96. package/dist/components/Input/Textarea.styles.d.ts +9 -0
  97. package/dist/components/Input/Textarea.styles.js +9 -10
  98. package/dist/components/MaterialIcon/MaterialIcon.d.ts +17 -7
  99. package/dist/components/MaterialIcon/MaterialIcon.js +14 -3
  100. package/dist/components/MaterialIcon/requiredIcons.d.ts +1 -1
  101. package/dist/components/MaterialIcon/requiredIcons.js +0 -2
  102. package/dist/components/MenuNav/MenuNav.styles.d.ts +6 -0
  103. package/dist/components/MenuNav/MenuNav.styles.js +3 -0
  104. package/dist/components/Modal/Modal.styles.js +35 -36
  105. package/dist/components/Modal/PaymentModal.d.ts +55 -0
  106. package/dist/components/Modal/PaymentModal.js +11 -13
  107. package/dist/components/Modal/SideModal.styles.js +13 -14
  108. package/dist/components/Modal/SideModalParts.js +18 -20
  109. package/dist/components/Modal/SuccessModal/SuccessModal.styles.d.ts +15 -0
  110. package/dist/components/Modal/SuccessModal/SuccessModal.styles.js +3 -4
  111. package/dist/components/NotificationCounter/NotificationCounter.styles.d.ts +8 -0
  112. package/dist/components/NotificationCounter/NotificationCounter.styles.js +2 -3
  113. package/dist/components/Number/Number.js +1 -1
  114. package/dist/components/Number/Number.styles.d.ts +4 -0
  115. package/dist/components/Number/Number.styles.js +2 -3
  116. package/dist/components/Pagination/Pagination.styles.d.ts +15 -0
  117. package/dist/components/Pagination/Pagination.styles.js +12 -11
  118. package/dist/components/Payment/DetailRows.d.ts +14 -0
  119. package/dist/components/Payment/DetailRows.js +1 -2
  120. package/dist/components/Payment/DetailsToggle.d.ts +23 -0
  121. package/dist/components/Payment/DetailsToggle.js +12 -4
  122. package/dist/components/Payment/PaymentDetailsCard.d.ts +95 -0
  123. package/dist/components/Payment/PaymentDetailsCard.js +32 -23
  124. package/dist/components/Payment/PaymentDisplay.d.ts +59 -0
  125. package/dist/components/Payment/PaymentDisplay.js +18 -11
  126. package/dist/components/Payment/PaymentPendingCard.d.ts +39 -0
  127. package/dist/components/Payment/PaymentPendingCard.js +13 -13
  128. package/dist/components/Payment/PaymentSuccessCard.d.ts +41 -0
  129. package/dist/components/Payment/PaymentSuccessCard.js +27 -11
  130. package/dist/components/Payment/TimerComponent.d.ts +26 -0
  131. package/dist/components/Payment/TimerComponent.js +6 -7
  132. package/dist/components/Process/Process.styles.d.ts +11 -0
  133. package/dist/components/Process/Process.styles.js +22 -19
  134. package/dist/components/ProfileBadge/ProfileBadge.d.ts +13 -0
  135. package/dist/components/ProfileBadge/ProfileBadge.js +14 -15
  136. package/dist/components/ProfileBadge/ProfileBadge.styles.d.ts +10 -0
  137. package/dist/components/ProfileBadge/ProfileBadge.styles.js +8 -9
  138. package/dist/components/ProfileBox/ProfileBox.js +3 -3
  139. package/dist/components/ProfileBox/ProfileBox.styles.d.ts +22 -0
  140. package/dist/components/ProfileBox/ProfileBox.styles.js +18 -7
  141. package/dist/components/Radio/Radio.styles.d.ts +23 -0
  142. package/dist/components/Radio/Radio.styles.js +19 -11
  143. package/dist/components/RefreshButton/RefreshButton.styles.d.ts +29 -0
  144. package/dist/components/RefreshButton/RefreshButton.styles.js +5 -6
  145. package/dist/components/RequestDataBox/RequestDataBox.styles.d.ts +9 -0
  146. package/dist/components/RequestDataBox/RequestDataBox.styles.js +4 -5
  147. package/dist/components/Section/Section.d.ts +1 -1
  148. package/dist/components/Section/Section.js +4 -3
  149. package/dist/components/Section/Section.styles.d.ts +5 -0
  150. package/dist/components/Section/Section.styles.js +31 -36
  151. package/dist/components/SectionTitle/SectionTitle.styles.js +1 -1
  152. package/dist/components/Skeleton/Skeleton.d.ts +4 -2
  153. package/dist/components/Skeleton/Skeleton.js +8 -8
  154. package/dist/components/SmartLink/SmartLink.js +2 -2
  155. package/dist/components/Snackbar/Snackbar.styles.d.ts +28 -0
  156. package/dist/components/Snackbar/Snackbar.styles.js +10 -29
  157. package/dist/components/SpanButton/SpanButton.styles.js +2 -2
  158. package/dist/components/StatusDot/StatusDot.d.ts +29 -0
  159. package/dist/components/StatusDot/StatusDot.js +17 -23
  160. package/dist/components/StatusDot/StatusDot.styles.d.ts +20 -0
  161. package/dist/components/StatusTag/StatusTag.d.ts +35 -0
  162. package/dist/components/StatusTag/StatusTag.js +9 -38
  163. package/dist/components/StatusTag/StatusTag.styles.d.ts +28 -0
  164. package/dist/components/StatusTag/StatusTag.styles.js +6 -6
  165. package/dist/components/StepController/StepController.styles.d.ts +23 -0
  166. package/dist/components/StepController/StepController.styles.js +12 -14
  167. package/dist/components/StokrLoader/StokrLoader.d.ts +9 -1
  168. package/dist/components/StokrLoader/StokrLoader.js +50 -19
  169. package/dist/components/SvgIcons/AdminBadgeSvg.js +1 -0
  170. package/dist/components/SvgIcons/CapsLockSvg.js +1 -0
  171. package/dist/components/SvgIcons/LogoSvg.js +1 -11
  172. package/dist/components/SvgIcons/RefreshSvg.js +1 -0
  173. package/dist/components/SvgIcons/VerifiedBadge.js +2 -4
  174. package/dist/components/Switch/Switch.styles.d.ts +20 -0
  175. package/dist/components/Switch/Switch.styles.js +10 -11
  176. package/dist/components/Tabs/Tabs.js +2 -2
  177. package/dist/components/TabsNav/TabsNav.styles.d.ts +25 -0
  178. package/dist/components/TabsNav/TabsNav.styles.js +8 -9
  179. package/dist/components/TaxResidenceCard/TaxResidenceCard.js +11 -27
  180. package/dist/components/TaxResidenceCard/TaxResidenceCard.styles.d.ts +57 -0
  181. package/dist/components/TaxResidenceCard/TaxResidenceCard.styles.js +25 -107
  182. package/dist/components/Text/Text.styles.d.ts +17 -1
  183. package/dist/components/Text/Text.styles.js +50 -25
  184. package/dist/components/TextLink/TextLink.styles.d.ts +16 -0
  185. package/dist/components/TextLink/TextLink.styles.js +4 -4
  186. package/dist/components/Timeline/Timeline.styles.d.ts +41 -0
  187. package/dist/components/Timeline/Timeline.styles.js +14 -15
  188. package/dist/components/Timeline/TimelineStep.js +1 -1
  189. package/dist/components/Tooltip/Tooltip.d.ts +1 -1
  190. package/dist/components/Tooltip/Tooltip.js +2 -2
  191. package/dist/components/Tooltip/Tooltip.styles.js +2 -3
  192. package/dist/components/breakdown/Breakdown.d.ts +18 -0
  193. package/dist/components/breakdown/Breakdown.js +7 -7
  194. package/dist/components/logo/Logo.js +1 -1
  195. package/dist/design-system/css/base.css +74 -0
  196. package/dist/design-system/css/index.css +5 -0
  197. package/dist/design-system/fonts/Inter-LICENSE.txt +93 -0
  198. package/dist/design-system/fonts/inter-bitcoin-sign.woff2 +0 -0
  199. package/dist/design-system/fonts/inter-latin-ext.woff2 +0 -0
  200. package/dist/design-system/fonts/inter-latin.woff2 +0 -0
  201. package/dist/design-system/fonts/open-sans-latin-ext-italic.woff2 +0 -0
  202. package/dist/design-system/fonts/open-sans-latin-ext.woff2 +0 -0
  203. package/dist/design-system/fonts/open-sans-latin-italic.woff2 +0 -0
  204. package/dist/design-system/fonts/open-sans-latin.woff2 +0 -0
  205. package/dist/design-system/generated/fonts.css +296 -0
  206. package/dist/design-system/generated/text-classes.css +198 -0
  207. package/dist/design-system/generated/text-styles.d.ts +26 -0
  208. package/dist/design-system/generated/text-styles.js +179 -0
  209. package/dist/design-system/generated/tokens.css +429 -0
  210. package/dist/design-system/index.d.ts +9 -0
  211. package/dist/design-system/stories/foundations.d.ts +31 -0
  212. package/dist/design-system/stories/foundationsData.d.ts +18 -0
  213. package/dist/design-system/styled/breakpoint.d.ts +43 -0
  214. package/dist/design-system/styled/breakpoint.js +27 -0
  215. package/dist/design-system/styled/build-theme.d.ts +21 -0
  216. package/dist/design-system/styled/build-theme.js +27 -0
  217. package/dist/design-system/styled/text.d.ts +3 -0
  218. package/dist/design-system/styled/text.js +5 -0
  219. package/dist/design-system/styled/theme.d.ts +6 -0
  220. package/dist/design-system/tokens/breakpoints.d.ts +17 -0
  221. package/dist/design-system/tokens/breakpoints.js +16 -0
  222. package/dist/design-system/tokens/colors.d.ts +92 -0
  223. package/dist/design-system/tokens/colors.js +98 -0
  224. package/dist/design-system/tokens/fonts.d.ts +32 -0
  225. package/dist/design-system/tokens/fonts.js +49 -0
  226. package/dist/design-system/tokens/index.d.ts +6 -0
  227. package/dist/design-system/tokens/layout.d.ts +71 -0
  228. package/dist/design-system/tokens/layout.js +40 -0
  229. package/dist/design-system/tokens/semantic.d.ts +272 -0
  230. package/dist/design-system/tokens/semantic.js +76 -0
  231. package/dist/design-system/tokens/typography.d.ts +38 -0
  232. package/dist/design-system/tokens/typography.js +120 -0
  233. package/dist/hooks/useMediaQuery.d.ts +1 -1
  234. package/dist/index.d.ts +117 -122
  235. package/dist/index.js +50 -62
  236. package/dist/static/images/globe.svg.js +5 -0
  237. package/dist/static/images/numbers/number_eight.svg +1 -1
  238. package/dist/static/images/numbers/number_eight.svg.js +1 -1
  239. package/dist/static/images/numbers/number_five.svg +2 -2
  240. package/dist/static/images/numbers/number_five.svg.js +1 -1
  241. package/dist/static/images/numbers/number_four.svg +1 -1
  242. package/dist/static/images/numbers/number_four.svg.js +1 -1
  243. package/dist/static/images/numbers/number_nine.svg +2 -2
  244. package/dist/static/images/numbers/number_nine.svg.js +1 -1
  245. package/dist/static/images/numbers/number_one.svg +2 -2
  246. package/dist/static/images/numbers/number_one.svg.js +1 -1
  247. package/dist/static/images/numbers/number_seven.svg +2 -2
  248. package/dist/static/images/numbers/number_seven.svg.js +1 -1
  249. package/dist/static/images/numbers/number_six.svg +2 -2
  250. package/dist/static/images/numbers/number_six.svg.js +1 -1
  251. package/dist/static/images/numbers/number_three.svg +1 -1
  252. package/dist/static/images/numbers/number_three.svg.js +1 -1
  253. package/dist/static/images/numbers/number_two.svg +2 -2
  254. package/dist/static/images/numbers/number_two.svg.js +1 -1
  255. package/dist/static/images/numbers/number_zero.svg +1 -1
  256. package/dist/static/images/numbers/number_zero.svg.js +1 -1
  257. package/dist/static/images/trash.svg +17 -0
  258. package/dist/static/images/trash.svg.js +5 -0
  259. package/dist/utils/customHooks.d.ts +4 -4
  260. package/dist/utils/customHooks.js +6 -6
  261. package/package.json +16 -11
  262. package/dist/components/AddressItem/AddressItem.d.ts +0 -38
  263. package/dist/components/AddressItem/AddressItem.js +0 -51
  264. package/dist/components/AddressItem/AddressItem.styles.d.ts +0 -31
  265. package/dist/components/AddressItem/AddressItem.styles.js +0 -73
  266. package/dist/components/Country/FlagFor.d.ts +0 -9
  267. package/dist/components/Country/FlagFor.js +0 -25
  268. package/dist/components/Country/flagLoaders.d.ts +0 -5
  269. package/dist/components/Country/flagLoaders.js +0 -270
  270. package/dist/components/Country/flagStore.d.ts +0 -6
  271. package/dist/components/Country/flagStore.js +0 -29
  272. package/dist/components/FAQ/FAQ.d.ts +0 -29
  273. package/dist/components/Input/Select.d.ts +0 -57
  274. package/dist/components/Input/Select.styles.d.ts +0 -89
  275. package/dist/components/PanelCard/PanelCard.d.ts +0 -51
  276. package/dist/components/PanelCard/PanelCard.js +0 -35
  277. package/dist/components/PanelCard/PanelCard.styles.d.ts +0 -29
  278. package/dist/components/PanelCard/PanelCard.styles.js +0 -87
  279. package/dist/components/StepSidebar/MobileStepProgress.d.ts +0 -12
  280. package/dist/components/StepSidebar/MobileStepProgress.js +0 -14
  281. package/dist/components/StepSidebar/MobileStepProgress.styles.d.ts +0 -15
  282. package/dist/components/StepSidebar/MobileStepProgress.styles.js +0 -42
  283. package/dist/components/StepSidebar/StepProgress.d.ts +0 -14
  284. package/dist/components/StepSidebar/StepProgress.js +0 -14
  285. package/dist/components/StepSidebar/StepProgress.styles.d.ts +0 -30
  286. package/dist/components/StepSidebar/StepProgress.styles.js +0 -103
  287. package/dist/components/StepSidebar/StepSidebar.d.ts +0 -36
  288. package/dist/components/StepSidebar/StepSidebar.js +0 -58
  289. package/dist/components/StepSidebar/StepSidebar.styles.d.ts +0 -54
  290. package/dist/components/StepSidebar/StepSidebar.styles.js +0 -175
  291. package/dist/constants/chainLogos.d.ts +0 -9
  292. package/dist/constants/chainLogos.js +0 -17
  293. package/dist/static/images/address-refreshing.gif.js +0 -4
  294. package/dist/static/images/chains/avalanche.svg +0 -7
  295. package/dist/static/images/chains/avalanche.svg.js +0 -4
  296. package/dist/static/images/chains/ethereum.svg +0 -14
  297. package/dist/static/images/chains/ethereum.svg.js +0 -4
  298. package/dist/static/images/chains/liquid.svg +0 -7
  299. package/dist/static/images/chains/liquid.svg.js +0 -4
  300. package/dist/static/images/chains/solana.svg +0 -29
  301. package/dist/static/images/chains/solana.svg.js +0 -4
  302. package/dist/static/images/chains/stellar.svg +0 -17
  303. package/dist/static/images/chains/stellar.svg.js +0 -4
  304. package/dist/static/images/chains/tempo.svg +0 -11
  305. package/dist/static/images/chains/tempo.svg.js +0 -4
  306. package/dist/static/images/process-waiting.gif.js +0 -4
  307. package/dist/styles/borderedField.d.ts +0 -11
  308. package/dist/styles/borderedField.js +0 -56
  309. package/dist/styles/colors.d.ts +0 -68
  310. package/dist/styles/colors.js +0 -69
  311. package/dist/styles/elevation.d.ts +0 -13
  312. package/dist/styles/elevation.js +0 -15
  313. package/dist/styles/global.js +0 -63
  314. package/dist/styles/rwd.d.ts +0 -55
  315. package/dist/styles/rwd.js +0 -79
  316. package/dist/styles/spacing.d.ts +0 -36
  317. package/dist/styles/spacing.js +0 -38
  318. package/dist/styles/theme.d.ts +0 -92
  319. package/dist/styles/theme.js +0 -36
  320. package/dist/styles/typography.d.ts +0 -42
  321. package/dist/styles/typography.js +0 -56
@@ -1,6 +1,4 @@
1
1
  import styled, { css } from "styled-components";
2
- import theme from "../../styles/theme.js";
3
- import { colors } from "../../styles/colors.js";
4
2
  const InputWrapper = styled.div`
5
3
  position: relative;
6
4
  display: flex;
@@ -18,14 +16,14 @@ const ClearButton = styled.button.withConfig({
18
16
  cursor: pointer;
19
17
  padding: 4px 8px;
20
18
  font-size: 16px;
21
- color: ${colors.lightGrey};
19
+ color: var(--stokr-text-tertiary);
22
20
  line-height: 1;
23
21
  display: flex;
24
22
  align-items: center;
25
23
  justify-content: center;
26
24
 
27
25
  &:hover {
28
- color: ${colors.black};
26
+ color: var(--stokr-text-primary);
29
27
  }
30
28
 
31
29
  ${(props) => props.dashboard && css`
@@ -35,9 +33,9 @@ const ClearButton = styled.button.withConfig({
35
33
  `}
36
34
  `;
37
35
  const DateInput = styled.input.withConfig({
38
- shouldForwardProp: (props) => !["dashboard"].includes(props)
36
+ shouldForwardProp: (props) => !["dashboard", "hasLabel"].includes(props)
39
37
  })`
40
- font-family: 'Open sans';
38
+ font-family: var(--stokr-font-family-base);
41
39
  display: block;
42
40
  width: 100%;
43
41
  height: 40px;
@@ -51,8 +49,8 @@ const DateInput = styled.input.withConfig({
51
49
  outline: 0;
52
50
  border: 0;
53
51
  border-top: 1px solid transparent;
54
- border-bottom: 1px solid ${theme.cGrey};
55
- color: ${theme.cBlack};
52
+ border-bottom: 1px solid var(--stokr-border-subtle);
53
+ color: var(--stokr-text-primary);
56
54
  background-color: transparent;
57
55
  transition: border-color 0.2s;
58
56
 
@@ -60,7 +58,7 @@ const DateInput = styled.input.withConfig({
60
58
  &:hover {
61
59
  box-shadow: none;
62
60
  border-top-color: transparent;
63
- border-bottom-color: ${theme.cPrimary};
61
+ border-bottom-color: var(--stokr-border-focus);
64
62
  }
65
63
 
66
64
  &::placeholder {
@@ -72,18 +70,23 @@ const DateInput = styled.input.withConfig({
72
70
  border: 0;
73
71
  padding: 0;
74
72
  height: 22px;
75
- font-family: 'Open Sans';
73
+ font-family: var(--stokr-font-family-base);
76
74
  font-weight: 300;
77
75
  font-size: 14px;
78
76
  line-height: 22px;
79
77
  letter-spacing: 0.53px;
80
78
  text-transform: normal;
81
- color: ${theme.cBlack};
79
+ color: var(--stokr-text-primary);
82
80
 
83
81
  &::placeholder {
84
- color: ${theme.cGrey2};
82
+ color: var(--stokr-text-tertiary);
85
83
  opacity: 1;
86
84
  }
85
+
86
+ /* The floating label sits above the value once it is up: leave it its own row. */
87
+ ${props.hasLabel && css`
88
+ padding-top: 14px;
89
+ `}
87
90
  `}
88
91
  `;
89
92
  const DatePickerOverlay = styled.div`
@@ -92,7 +95,7 @@ const DatePickerOverlay = styled.div`
92
95
  .rdp {
93
96
  position: absolute;
94
97
  z-index: 20;
95
- background-color: white;
98
+ background-color: var(--stokr-background-surface-raised);
96
99
  margin: 0;
97
100
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
98
101
  padding: 12px;
@@ -100,13 +103,13 @@ const DatePickerOverlay = styled.div`
100
103
  min-width: fit-content;
101
104
 
102
105
  /* v9 CSS Variables */
103
- --rdp-accent-color: ${colors.blue};
104
- --rdp-accent-background-color: ${colors.blue};
106
+ --rdp-accent-color: var(--stokr-action-accent-bg);
107
+ --rdp-accent-background-color: var(--stokr-action-accent-bg);
105
108
  --rdp-day-height: 32px;
106
109
  --rdp-day-width: 32px;
107
- --rdp-selected-font: 600 13px 'Open Sans', sans-serif;
108
- --rdp-weekday-font: 600 11px 'Open Sans', sans-serif;
109
- --rdp-font-family: 'Open Sans', sans-serif;
110
+ --rdp-selected-font: 600 13px var(--stokr-font-family-base);
111
+ --rdp-weekday-font: 600 11px var(--stokr-font-family-base);
112
+ --rdp-font-family: var(--stokr-font-family-base);
110
113
 
111
114
  /* Remove outline on selected */
112
115
  --rdp-selected-border: none;
@@ -122,8 +125,8 @@ const DatePickerOverlay = styled.div`
122
125
  /* Selected day - filled blue circle */
123
126
  .rdp-selected .rdp-day_button,
124
127
  .rdp-day_button[aria-selected='true'] {
125
- background-color: ${colors.blue} !important;
126
- color: white !important;
128
+ background-color: var(--stokr-action-accent-bg) !important;
129
+ color: var(--stokr-action-accent-text) !important;
127
130
  border: none !important;
128
131
  outline: none !important;
129
132
  }
@@ -131,7 +134,7 @@ const DatePickerOverlay = styled.div`
131
134
  /* Today's date */
132
135
  .rdp-today:not(.rdp-selected) .rdp-day_button {
133
136
  font-weight: 700;
134
- color: ${colors.blue};
137
+ color: var(--stokr-action-accent-bg);
135
138
  }
136
139
 
137
140
  /* Weekday headers - uppercase */
@@ -139,7 +142,7 @@ const DatePickerOverlay = styled.div`
139
142
  font-size: 11px;
140
143
  font-weight: 700;
141
144
  text-transform: uppercase;
142
- color: ${colors.black};
145
+ color: var(--stokr-text-primary);
143
146
  }
144
147
 
145
148
  /* Month caption */
@@ -149,10 +152,10 @@ const DatePickerOverlay = styled.div`
149
152
 
150
153
  /* Navigation buttons */
151
154
  .rdp-chevron {
152
- fill: ${colors.grey2};
155
+ fill: var(--stokr-text-tertiary);
153
156
 
154
157
  &:hover {
155
- fill: ${colors.black};
158
+ fill: var(--stokr-text-primary);
156
159
  background: transparent;
157
160
  }
158
161
  }
@@ -1,6 +1,5 @@
1
1
  import { CSSProperties, InputHTMLAttributes } from 'react';
2
2
  import { Wrapper, Label, InputWrap } from './Input.styles';
3
- import { FieldVariant } from '../../styles/borderedField';
4
3
  export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'value'> {
5
4
  id: string;
6
5
  name?: string;
@@ -18,8 +17,6 @@ export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>,
18
17
  autoHeightLabel?: boolean;
19
18
  inputWrapStyle?: CSSProperties;
20
19
  wrapperStyle?: CSSProperties;
21
- /** `bordered`: boxed field with a static label above (sign-up redesign). Default keeps the floating-label look. */
22
- variant?: FieldVariant;
23
20
  }
24
21
  /** Text input with a floating label, built for Formik (`onChange`/`onBlur` receive the event). */
25
22
  declare const Input: (props: InputProps) => import("react/jsx-runtime").JSX.Element;
@@ -18,7 +18,6 @@ const Input = (props) => {
18
18
  inputWrapStyle,
19
19
  wrapperStyle,
20
20
  autoHeightLabel,
21
- variant = "default",
22
21
  // Destructure these so they don't get spread to the input
23
22
  onChange: onChangeProp,
24
23
  onBlur: onBlurProp,
@@ -50,7 +49,7 @@ const Input = (props) => {
50
49
  onFocusProp?.(e);
51
50
  checkLabel(true);
52
51
  };
53
- return /* @__PURE__ */ jsxs(Wrapper, { inverted, style: wrapperStyle, $variant: variant, children: [
52
+ return /* @__PURE__ */ jsxs(Wrapper, { inverted, style: wrapperStyle, children: [
54
53
  label && /* @__PURE__ */ jsx(
55
54
  Label,
56
55
  {
@@ -59,7 +58,6 @@ const Input = (props) => {
59
58
  error: Boolean(error && touched),
60
59
  htmlFor: id,
61
60
  autoHeightLabel,
62
- $variant: variant,
63
61
  children: label
64
62
  }
65
63
  ),
@@ -68,10 +66,10 @@ const Input = (props) => {
68
66
  {
69
67
  error: Boolean(error && touched),
70
68
  dashboard,
69
+ hasLabel: Boolean(label),
71
70
  disabled,
72
71
  style: inputWrapStyle,
73
72
  autoHeightLabel,
74
- $variant: variant,
75
73
  children: /* @__PURE__ */ jsx(
76
74
  "input",
77
75
  {
@@ -85,7 +83,7 @@ const Input = (props) => {
85
83
  readOnly,
86
84
  placeholder,
87
85
  disabled,
88
- style: variant === "bordered" ? { WebkitAppearance: "none" } : { WebkitAppearance: "none", WebkitBorderRadius: 0 },
86
+ style: { WebkitAppearance: "none", WebkitBorderRadius: 0 },
89
87
  ...restProps
90
88
  }
91
89
  )
@@ -1,4 +1,3 @@
1
- import { FieldVariant } from '../../styles/borderedField';
2
1
  export declare const Label: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "style"> & {
3
2
  style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
4
3
  }, {
@@ -6,7 +5,6 @@ export declare const Label: import('styled-components/dist/types').IStyledCompon
6
5
  isUp?: boolean;
7
6
  active?: boolean;
8
7
  error?: boolean;
9
- $variant?: FieldVariant;
10
8
  }>> & string;
11
9
  export declare const InputWrap: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
12
10
  style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
@@ -15,11 +13,10 @@ export declare const InputWrap: import('styled-components/dist/types').IStyledCo
15
13
  disabled?: boolean;
16
14
  dashboard?: boolean;
17
15
  error?: boolean;
18
- $variant?: FieldVariant;
16
+ hasLabel?: boolean;
19
17
  }>> & string;
20
18
  export declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
21
19
  style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
22
20
  }, {
23
21
  inverted?: boolean;
24
- $variant?: FieldVariant;
25
22
  }>> & string;
@@ -1,7 +1,4 @@
1
1
  import styled, { css } from "styled-components";
2
- import theme from "../../styles/theme.js";
3
- import { borderedFieldLabel, borderedFieldBox, borderedFieldText, borderedFieldPlaceholder, borderedFieldFocus, borderedFieldError, borderedFieldDisabled, BORDERED_BORDER } from "../../styles/borderedField.js";
4
- import { radius } from "../../styles/spacing.js";
5
2
  const Label = styled.label.withConfig({
6
3
  shouldForwardProp: (props) => !["autoHeightLabel", "isUp", "active", "error"].includes(props)
7
4
  })`
@@ -16,7 +13,7 @@ const Label = styled.label.withConfig({
16
13
  line-height: 20px;
17
14
  letter-spacing: 2px;
18
15
  text-transform: uppercase;
19
- color: ${() => theme.cBlack};
16
+ color: var(--stokr-text-primary);
20
17
  pointer-events: none;
21
18
  transform: translateY(15px);
22
19
  transition:
@@ -34,33 +31,21 @@ const Label = styled.label.withConfig({
34
31
  `}
35
32
 
36
33
  ${(props) => props.active && `
37
- color: ${theme.cPrimary};
34
+ color: var(--stokr-border-focus);
38
35
  `}
39
36
 
40
37
  ${(props) => props.error && `
41
- color: ${theme.cWarning};
38
+ color: var(--stokr-status-error-text);
42
39
  `}
43
-
44
- ${(props) => props.$variant === "bordered" && css`
45
- position: static;
46
- z-index: auto;
47
- top: auto;
48
- left: auto;
49
- height: auto;
50
- transform: none;
51
- pointer-events: auto;
52
- ${borderedFieldLabel}
53
- color: ${props.error ? theme.cWarning : theme.cBlack};
54
- `}
55
40
  `;
56
41
  const InputWrap = styled.div.withConfig({
57
- shouldForwardProp: (props) => !["autoHeightLabel", "disabled", "dashboard", "error"].includes(props)
42
+ shouldForwardProp: (props) => !["autoHeightLabel", "disabled", "dashboard", "error", "hasLabel"].includes(props)
58
43
  })`
59
44
  position: relative;
60
45
 
61
46
  & > input {
62
47
  z-index: 0;
63
- font-family: 'Open sans';
48
+ font-family: var(--stokr-font-family-base);
64
49
  display: block;
65
50
  width: 100%;
66
51
  height: 40px;
@@ -73,8 +58,8 @@ const InputWrap = styled.div.withConfig({
73
58
  border: 0;
74
59
  outline: 0;
75
60
  border-top: 1px solid transparent;
76
- border-bottom: 1px solid ${() => theme.cGrey};
77
- color: ${() => theme.cBlack};
61
+ border-bottom: 1px solid var(--stokr-border-subtle);
62
+ color: var(--stokr-text-primary);
78
63
  background-color: transparent;
79
64
  transition: border-color 0.2s;
80
65
 
@@ -86,7 +71,7 @@ const InputWrap = styled.div.withConfig({
86
71
  &:focus,
87
72
  &:hover {
88
73
  border-top-color: transparent;
89
- border-bottom-color: ${() => theme.cPrimary};
74
+ border-bottom-color: var(--stokr-border-focus);
90
75
  }
91
76
 
92
77
  &::placeholder {
@@ -97,11 +82,11 @@ const InputWrap = styled.div.withConfig({
97
82
 
98
83
  ${(props) => props.disabled && css`
99
84
  & > input {
100
- color: ${() => theme.cGrey2};
85
+ color: var(--stokr-text-tertiary);
101
86
  &:focus,
102
87
  &:hover {
103
88
  border-top-color: transparent;
104
- border-bottom-color: ${() => theme.cGrey};
89
+ border-bottom-color: var(--stokr-border-subtle);
105
90
  }
106
91
  }
107
92
  `}
@@ -111,60 +96,29 @@ const InputWrap = styled.div.withConfig({
111
96
  border: 0;
112
97
  padding: 0;
113
98
  height: 22px;
114
- font-family: 'Open Sans';
99
+ font-family: var(--stokr-font-family-base);
115
100
  font-weight: 300;
116
101
  font-size: 14px;
117
102
  line-height: 22px;
118
103
  letter-spacing: 0.53px;
119
104
  text-transform: normal;
120
- color: ${theme.cBlack};
105
+ color: var(--stokr-text-primary);
121
106
 
122
107
  &::placeholder {
123
- color: ${theme.cGrey2};
108
+ color: var(--stokr-text-tertiary);
124
109
  opacity: 1;
125
110
  }
111
+
112
+ /* The floating label sits above the value once it is up: leave it its own row. */
113
+ ${props.hasLabel && css`
114
+ padding-top: 14px;
115
+ `}
126
116
  }
127
117
  `}
128
118
 
129
119
  ${(props) => props.error && `
130
- color: ${theme.cWarning};
120
+ color: var(--stokr-status-error-text);
131
121
  `}
132
-
133
- ${(props) => props.$variant === "bordered" && css`
134
- & > input {
135
- ${borderedFieldBox}
136
- ${borderedFieldText}
137
- height: 44px;
138
-
139
- &::placeholder {
140
- ${borderedFieldPlaceholder}
141
- }
142
-
143
- &:hover {
144
- border-color: ${theme.cLightGrey};
145
- }
146
-
147
- &:focus {
148
- ${borderedFieldFocus}
149
- }
150
-
151
- ${props.error && css`
152
- &,
153
- &:hover,
154
- &:focus {
155
- ${borderedFieldError}
156
- }
157
- `}
158
-
159
- ${props.disabled && css`
160
- &,
161
- &:hover,
162
- &:focus {
163
- ${borderedFieldDisabled}
164
- }
165
- `}
166
- }
167
- `}
168
122
  `;
169
123
  const Wrapper = styled.div.withConfig({
170
124
  shouldForwardProp: (props) => !["inverted"].includes(props)
@@ -174,20 +128,20 @@ const Wrapper = styled.div.withConfig({
174
128
 
175
129
  input:-webkit-autofill {
176
130
  border: none;
177
- border-bottom: 1px solid #e1e1e1;
178
- box-shadow: 0 0 0px 1000px #fff inset;
131
+ border-bottom: 1px solid var(--stokr-border-subtle);
132
+ box-shadow: 0 0 0px 1000px var(--stokr-background-default) inset;
179
133
  transition: background-color 5000s ease-in-out 0s;
180
134
  }
181
135
 
182
136
  ${(props) => props.inverted && css`
183
137
  ${Label} {
184
- color: ${theme.cWhite};
138
+ color: var(--stokr-brand-pure-white);
185
139
  opacity: 0.4;
186
140
  }
187
141
  ${InputWrap} {
188
142
  & > input {
189
- color: ${theme.cWhite};
190
- border-bottom-color: ${theme.cWhite};
143
+ color: var(--stokr-brand-pure-white);
144
+ border-bottom-color: var(--stokr-brand-pure-white);
191
145
 
192
146
  &:focus,
193
147
  &:hover {
@@ -196,13 +150,6 @@ const Wrapper = styled.div.withConfig({
196
150
  }
197
151
  }
198
152
  `}
199
-
200
- ${(props) => props.$variant === "bordered" && css`
201
- input:-webkit-autofill {
202
- border: ${BORDERED_BORDER};
203
- border-radius: ${radius.lg};
204
- }
205
- `}
206
153
  `;
207
154
  export {
208
155
  InputWrap,
@@ -0,0 +1,32 @@
1
+ export declare const BottomWrap: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
2
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
3
+ }> & string;
4
+ export declare const ShowPassword: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
5
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
6
+ }> & string;
7
+ export declare const CapslockIndicator: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
9
+ }> & string;
10
+ export declare const PasswordStrengthWrap: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
11
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
12
+ }> & string;
13
+ export declare const PasswordStrengthIndicator: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
14
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
15
+ }> & string;
16
+ export declare const PasswordStrengthText: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
17
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
18
+ }> & string;
19
+ export declare const DatePickerOverlay: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
20
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
21
+ }> & string;
22
+ export declare const InfoIconWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
23
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
24
+ }, {
25
+ isPassword?: boolean;
26
+ labelUp?: boolean;
27
+ }>> & string;
28
+ export declare const PasswordStrengthIndicators: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
29
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
30
+ }, {
31
+ passwordStrength?: string;
32
+ }>> & string;
@@ -1,6 +1,5 @@
1
1
  import styled, { css } from "styled-components";
2
2
  import { PasswordStrength } from "./InputPassword.js";
3
- import theme from "../../styles/theme.js";
4
3
  const BottomWrap = styled.div`
5
4
  position: relative;
6
5
  margin-top: 6px;
@@ -23,7 +22,7 @@ const ShowPassword = styled.button`
23
22
  text-align: right;
24
23
 
25
24
  &:hover {
26
- color: ${() => theme.cPrimary};
25
+ color: var(--stokr-action-accent-bg);
27
26
  }
28
27
  `;
29
28
  const CapslockIndicator = styled.div`
@@ -32,7 +31,7 @@ const CapslockIndicator = styled.div`
32
31
  right: 2px;
33
32
 
34
33
  & > svg {
35
- fill: ${() => theme.cBlack};
34
+ fill: var(--stokr-text-primary);
36
35
  }
37
36
  `;
38
37
  const PasswordStrengthWrap = styled.div`
@@ -49,7 +48,7 @@ const PasswordStrengthIndicator = styled.div`
49
48
  height: 6px;
50
49
  border-radius: 3px;
51
50
  margin: 3px 4px;
52
- background-color: ${() => theme.cGrey};
51
+ background-color: var(--stokr-border-subtle);
53
52
  `;
54
53
  const PasswordStrengthText = styled.div`
55
54
  display: inline-block;
@@ -59,7 +58,7 @@ const PasswordStrengthText = styled.div`
59
58
  line-height: 12px;
60
59
  letter-spacing: 0.4px;
61
60
  font-style: italic;
62
- color: ${() => theme.cText};
61
+ color: var(--stokr-text-primary);
63
62
  `;
64
63
  styled.div`
65
64
  &&& > .DayPickerInput {
@@ -70,7 +69,7 @@ styled.div`
70
69
  }
71
70
 
72
71
  &&& > .DayPickerInput > input {
73
- font-family: 'Open sans';
72
+ font-family: var(--stokr-font-family-base);
74
73
  display: block;
75
74
  width: 100%;
76
75
  height: 40px;
@@ -84,8 +83,8 @@ styled.div`
84
83
  outline: 0;
85
84
  border: 0;
86
85
  border-top: 1px solid transparent;
87
- border-bottom: 1px solid ${() => theme.cGrey};
88
- color: ${() => theme.cBlack};
86
+ border-bottom: 1px solid var(--stokr-border-subtle);
87
+ color: var(--stokr-text-primary);
89
88
  background-color: transparent;
90
89
  transition: border-color 0.2s;
91
90
 
@@ -93,7 +92,7 @@ styled.div`
93
92
  &:hover {
94
93
  box-shadow: none;
95
94
  border-top-color: transparent;
96
- border-bottom-color: ${() => theme.cPrimary};
95
+ border-bottom-color: var(--stokr-border-focus);
97
96
  }
98
97
 
99
98
  &::placeholder {
@@ -133,7 +132,7 @@ const PasswordStrengthIndicators = styled.div.withConfig({
133
132
  ${(props) => props.passwordStrength === PasswordStrength.WEAK && css`
134
133
  ${PasswordStrengthIndicator} {
135
134
  &:nth-child(1) {
136
- background-color: ${theme.cWarning};
135
+ background-color: var(--stokr-status-error-icon);
137
136
  }
138
137
  }
139
138
  `}
@@ -142,7 +141,7 @@ const PasswordStrengthIndicators = styled.div.withConfig({
142
141
  ${PasswordStrengthIndicator} {
143
142
  &:nth-child(1),
144
143
  &:nth-child(2) {
145
- background-color: ${theme.cYellow};
144
+ background-color: var(--stokr-status-warning-icon);
146
145
  }
147
146
  }
148
147
  `}
@@ -152,7 +151,7 @@ const PasswordStrengthIndicators = styled.div.withConfig({
152
151
  &:nth-child(1),
153
152
  &:nth-child(2),
154
153
  &:nth-child(3) {
155
- background-color: ${theme.cLighterGreen};
154
+ background-color: var(--stokr-status-success-icon);
156
155
  }
157
156
  }
158
157
  `}
@@ -0,0 +1,14 @@
1
+ export declare const Container: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
2
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
3
+ }, {
4
+ separatorTop?: boolean;
5
+ }>> & string;
6
+ export declare const InputWrap: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
7
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
8
+ }> & string;
9
+ export declare const ButtonWrap: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
10
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
11
+ }> & string;
12
+ export declare const Input: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
13
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
14
+ }> & string;
@@ -1,5 +1,4 @@
1
1
  import styled from "styled-components";
2
- import theme from "../../styles/theme.js";
3
2
  const Container = styled.div.withConfig({
4
3
  shouldForwardProp: (props) => !["separatorTop"].includes(props)
5
4
  })`
@@ -11,7 +10,7 @@ const Container = styled.div.withConfig({
11
10
  ${(props) => props.separatorTop && `
12
11
  padding-top: 20px;
13
12
  margin-top: 20px;
14
- border-top: 1px solid ${theme.cLightGrey};
13
+ border-top: 1px solid var(--stokr-border-subtle);
15
14
  `}
16
15
  `;
17
16
  const InputWrap = styled.div`
@@ -31,21 +30,21 @@ const Input = styled.input`
31
30
  width: 100%;
32
31
  padding: 9px 23px;
33
32
  padding-right: 63px;
34
- font-family: 'Open Sans';
33
+ font-family: var(--stokr-font-family-base);
35
34
  font-size: 14px;
36
35
  line-height: 20px;
37
- border: 1px solid ${() => theme.cLightGrey};
36
+ border: 1px solid var(--stokr-border-subtle);
38
37
  border-radius: 20px;
39
38
  outline: 0;
40
39
  transition: border-color 0.2s;
41
40
 
42
41
  &:focus,
43
42
  &:hover {
44
- border: 1px solid ${() => theme.cPrimary};
43
+ border: 1px solid var(--stokr-border-focus);
45
44
  }
46
45
 
47
46
  &::placeholder {
48
- color: ${() => theme.cGrey2};
47
+ color: var(--stokr-text-tertiary);
49
48
  opacity: 1;
50
49
  }
51
50
  `;