@mrfylke/contact-form 0.1.4 → 0.1.7

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 (344) hide show
  1. package/README.md +17 -0
  2. package/lib/ContactFormRoot.d.ts.map +1 -1
  3. package/lib/ContactFormRoot.js +3 -1
  4. package/lib/commoneEvents.d.ts.map +1 -1
  5. package/lib/components/button/button.d.ts.map +1 -1
  6. package/lib/components/button/button.module.css +151 -139
  7. package/lib/components/button/index.d.ts.map +1 -1
  8. package/lib/components/button/link.d.ts.map +1 -1
  9. package/lib/components/button/utils.d.ts.map +1 -1
  10. package/lib/components/checkbox/checkbox.d.ts.map +1 -1
  11. package/lib/components/checkbox/checkbox.module.css +40 -37
  12. package/lib/components/checkbox/index.d.ts.map +1 -1
  13. package/lib/components/error-message/error-message.d.ts.map +1 -1
  14. package/lib/components/error-message/error-message.module.css +2 -2
  15. package/lib/components/error-message/index.d.ts.map +1 -1
  16. package/lib/components/external-link-page.d.ts +1 -1
  17. package/lib/components/external-link-page.d.ts.map +1 -1
  18. package/lib/components/external-link-page.js +7 -6
  19. package/lib/components/external-link-page.module.css +15 -15
  20. package/lib/components/form/date-selector.d.ts +1 -1
  21. package/lib/components/form/date-selector.d.ts.map +1 -1
  22. package/lib/components/form/description-modal.d.ts.map +1 -1
  23. package/lib/components/form/field-wrapper-with-error/index.d.ts +1 -1
  24. package/lib/components/form/field-wrapper-with-error/index.d.ts.map +1 -1
  25. package/lib/components/form/fieldset/fieldset.module.css +15 -15
  26. package/lib/components/form/fieldset/index.d.ts.map +1 -1
  27. package/lib/components/form/file-input.d.ts.map +1 -1
  28. package/lib/components/form/file-input.js +1 -1
  29. package/lib/components/form/form-component-label/form-component-label.module.css +4 -4
  30. package/lib/components/form/form-component-label/index.d.ts.map +1 -1
  31. package/lib/components/form/form.module.css +324 -308
  32. package/lib/components/form/index.d.ts.map +1 -1
  33. package/lib/components/form/input.d.ts +1 -1
  34. package/lib/components/form/input.d.ts.map +1 -1
  35. package/lib/components/form/input.js +1 -1
  36. package/lib/components/form/radio.d.ts.map +1 -1
  37. package/lib/components/form/searchable-select/index.d.ts.map +1 -1
  38. package/lib/components/form/searchable-select/searchable-select.d.ts.map +1 -1
  39. package/lib/components/form/searchable-select/searchable-select.js +1 -1
  40. package/lib/components/form/searchable-select/utils.d.ts +1 -1
  41. package/lib/components/form/searchable-select/utils.d.ts.map +1 -1
  42. package/lib/components/form/select.d.ts.map +1 -1
  43. package/lib/components/form/textarea.d.ts.map +1 -1
  44. package/lib/components/form/time-selector.d.ts +1 -1
  45. package/lib/components/form/time-selector.d.ts.map +1 -1
  46. package/lib/components/icon/checkbox-icon.d.ts +1 -1
  47. package/lib/components/icon/checkbox-icon.d.ts.map +1 -1
  48. package/lib/components/icon/checkbox-icon.js +1 -1
  49. package/lib/components/icon/color-icon.d.ts.map +1 -1
  50. package/lib/components/icon/color-icon.js +0 -2
  51. package/lib/components/icon/generated-icons.d.ts +233 -233
  52. package/lib/components/icon/generated-icons.d.ts.map +1 -1
  53. package/lib/components/icon/generated-icons.js +1771 -1771
  54. package/lib/components/icon/icon-wrapper.d.ts +1 -1
  55. package/lib/components/icon/icon-wrapper.d.ts.map +1 -1
  56. package/lib/components/icon/illustration.d.ts.map +1 -1
  57. package/lib/components/icon/illustration.js +0 -2
  58. package/lib/components/icon/image.d.ts.map +1 -1
  59. package/lib/components/icon/image.js +0 -2
  60. package/lib/components/icon/mono-icon-new.d.ts +2 -2
  61. package/lib/components/icon/mono-icon-new.d.ts.map +1 -1
  62. package/lib/components/icon/mono-icon.d.ts +1 -1
  63. package/lib/components/icon/mono-icon.d.ts.map +1 -1
  64. package/lib/components/icon/mono-icon.js +1 -3
  65. package/lib/components/index.d.ts.map +1 -1
  66. package/lib/components/loading/index.d.ts +1 -1
  67. package/lib/components/loading/index.d.ts.map +1 -1
  68. package/lib/components/loading/loading.module.css +9 -9
  69. package/lib/components/section-card/index.d.ts.map +1 -1
  70. package/lib/components/section-card/section-card.d.ts.map +1 -1
  71. package/lib/components/section-card/section-card.module.css +10 -10
  72. package/lib/components/typography/index.d.ts +6 -5
  73. package/lib/components/typography/index.d.ts.map +1 -1
  74. package/lib/components/typography/index.js +0 -1
  75. package/lib/contact.module.css +37 -36
  76. package/lib/error-content/error-content.module.css +7 -7
  77. package/lib/index.d.ts +2 -2
  78. package/lib/index.d.ts.map +1 -1
  79. package/lib/journey-info/events.d.ts +6 -6
  80. package/lib/journey-info/events.d.ts.map +1 -1
  81. package/lib/journey-info/events.js +0 -1
  82. package/lib/journey-info/index.d.ts.map +1 -1
  83. package/lib/journey-info/index.js +4 -2
  84. package/lib/journey-info/journeyInfoStateMachine.d.ts.map +1 -1
  85. package/lib/layouts/contact-form-container.d.ts.map +1 -1
  86. package/lib/layouts/contact-page-layout.d.ts +2 -2
  87. package/lib/layouts/contact-page-layout.d.ts.map +1 -1
  88. package/lib/layouts/contact-page-layout.js +1 -5
  89. package/lib/layouts/container.module.css +10 -10
  90. package/lib/layouts/index.d.ts.map +1 -1
  91. package/lib/layouts/layout.module.css +46 -45
  92. package/lib/lines/use-lines.d.ts.map +1 -1
  93. package/lib/means-of-transport/events.d.ts +7 -7
  94. package/lib/means-of-transport/events.d.ts.map +1 -1
  95. package/lib/means-of-transport/events.js +0 -1
  96. package/lib/means-of-transport/forms/delayForm.d.ts.map +1 -1
  97. package/lib/means-of-transport/forms/driverForm.d.ts.map +1 -1
  98. package/lib/means-of-transport/forms/index.d.ts.map +1 -1
  99. package/lib/means-of-transport/forms/injuryForm.d.ts.map +1 -1
  100. package/lib/means-of-transport/forms/serviceOfferingForm.d.ts.map +1 -1
  101. package/lib/means-of-transport/forms/stopForm.d.ts.map +1 -1
  102. package/lib/means-of-transport/forms/transportationForm.d.ts.map +1 -1
  103. package/lib/means-of-transport/index.d.ts.map +1 -1
  104. package/lib/means-of-transport/index.js +4 -2
  105. package/lib/means-of-transport/means-of-transport-form-machine.d.ts.map +1 -1
  106. package/lib/means-of-transport/means-of-transport-form-machine.js +5 -1
  107. package/lib/modules/api-browser/index.d.ts.map +1 -1
  108. package/lib/modules/config/context.d.ts.map +1 -1
  109. package/lib/modules/config/theme-adapter.d.ts.map +1 -1
  110. package/lib/modules/config/types.d.ts +4 -34
  111. package/lib/modules/config/types.d.ts.map +1 -1
  112. package/lib/modules/graphql-types/index.d.ts.map +1 -1
  113. package/lib/modules/graphql-types/journeyplanner-types_v3.generated.d.ts.map +1 -1
  114. package/lib/modules/theme/index.d.ts.map +1 -1
  115. package/lib/modules/theme/theme-context.d.ts +1 -1
  116. package/lib/modules/theme/theme-context.d.ts.map +1 -1
  117. package/lib/modules/theme/theme-context.js +9 -6
  118. package/lib/modules/transport-mode/filter/filter.d.ts.map +1 -1
  119. package/lib/modules/transport-mode/filter/filter.module.css +51 -49
  120. package/lib/modules/transport-mode/filter/index.d.ts.map +1 -1
  121. package/lib/modules/transport-mode/filter/types.d.ts.map +1 -1
  122. package/lib/modules/transport-mode/filter/utils.d.ts.map +1 -1
  123. package/lib/modules/transport-mode/icon/icon.module.css +14 -14
  124. package/lib/modules/transport-mode/icon/index.d.ts.map +1 -1
  125. package/lib/modules/transport-mode/icon/index.js +1 -1
  126. package/lib/modules/transport-mode/index.d.ts.map +1 -1
  127. package/lib/modules/transport-mode/types.d.ts.map +1 -1
  128. package/lib/modules/transport-mode/utils.d.ts.map +1 -1
  129. package/lib/refund/events.d.ts +12 -12
  130. package/lib/refund/events.d.ts.map +1 -1
  131. package/lib/refund/events.js +0 -1
  132. package/lib/refund/forms/refund-and-travel-guarantee/index.d.ts.map +1 -1
  133. package/lib/refund/forms/refund-and-travel-guarantee/refundCarForm.d.ts.map +1 -1
  134. package/lib/refund/forms/refund-and-travel-guarantee/refundTaxiForm.d.ts.map +1 -1
  135. package/lib/refund/forms/refund-ticket/appTicketRefund.d.ts.map +1 -1
  136. package/lib/refund/forms/refund-ticket/index.d.ts.map +1 -1
  137. package/lib/refund/forms/refund-ticket/otherTicketRefund.d.ts.map +1 -1
  138. package/lib/refund/index.d.ts.map +1 -1
  139. package/lib/refund/index.js +4 -2
  140. package/lib/refund/refundFormMachine.d.ts.map +1 -1
  141. package/lib/refund/refundFormMachine.js +9 -3
  142. package/lib/server/index.d.ts +1 -1
  143. package/lib/server/index.d.ts.map +1 -1
  144. package/lib/server/journey-planner/authority.d.ts.map +1 -1
  145. package/lib/server/journey-planner/entur-client.d.ts.map +1 -1
  146. package/lib/server/journey-planner/index.d.ts.map +1 -1
  147. package/lib/server/journey-planner/journey-gql/lines.generated.d.ts +1 -1
  148. package/lib/server/journey-planner/journey-gql/lines.generated.d.ts.map +1 -1
  149. package/lib/server/journey-planner/journey-gql/lines.generated.js +11 -11
  150. package/lib/server/journey-planner/validators.d.ts.map +1 -1
  151. package/lib/server/types.d.ts.map +1 -1
  152. package/lib/success-content/success-content.module.css +7 -7
  153. package/lib/ticket-control/events.d.ts +6 -6
  154. package/lib/ticket-control/events.d.ts.map +1 -1
  155. package/lib/ticket-control/events.js +0 -1
  156. package/lib/ticket-control/forms/feeComplaintForm.d.ts.map +1 -1
  157. package/lib/ticket-control/forms/feedbackForm.d.ts.map +1 -1
  158. package/lib/ticket-control/forms/postponePayment.d.ts.map +1 -1
  159. package/lib/ticket-control/index.d.ts.map +1 -1
  160. package/lib/ticket-control/index.js +4 -2
  161. package/lib/ticket-control/ticket-control-form-machine.d.ts.map +1 -1
  162. package/lib/ticket-control/ticket-control-form-machine.js +7 -2
  163. package/lib/ticketing/events.d.ts +10 -10
  164. package/lib/ticketing/events.d.ts.map +1 -1
  165. package/lib/ticketing/events.js +0 -1
  166. package/lib/ticketing/forms/app/appAccountForm.d.ts.map +1 -1
  167. package/lib/ticketing/forms/app/appTicketingForm.d.ts.map +1 -1
  168. package/lib/ticketing/forms/app/appTravelSuggestionForm.d.ts.map +1 -1
  169. package/lib/ticketing/forms/app/index.d.ts.map +1 -1
  170. package/lib/ticketing/forms/app/index.js +1 -1
  171. package/lib/ticketing/forms/priceAndTicketTypesForm.d.ts.map +1 -1
  172. package/lib/ticketing/forms/travel-card/index.d.ts.map +1 -1
  173. package/lib/ticketing/forms/travel-card/index.js +1 -1
  174. package/lib/ticketing/forms/travel-card/orderTravelCard.d.ts.map +1 -1
  175. package/lib/ticketing/forms/travel-card/travelCardQuestionForm.d.ts.map +1 -1
  176. package/lib/ticketing/forms/webshop/index.d.ts.map +1 -1
  177. package/lib/ticketing/forms/webshop/index.js +1 -1
  178. package/lib/ticketing/forms/webshop/webshopAccountForm.d.ts.map +1 -1
  179. package/lib/ticketing/forms/webshop/webshopTicketingForm.d.ts.map +1 -1
  180. package/lib/ticketing/index.d.ts.map +1 -1
  181. package/lib/ticketing/index.js +4 -2
  182. package/lib/ticketing/ticketingStateMachine.d.ts.map +1 -1
  183. package/lib/ticketing/ticketingStateMachine.js +2 -1
  184. package/lib/translations/common/index.d.ts.map +1 -1
  185. package/lib/translations/common/layout.d.ts.map +1 -1
  186. package/lib/translations/commons.d.ts.map +1 -1
  187. package/lib/translations/components/index.d.ts.map +1 -1
  188. package/lib/translations/components/map.d.ts.map +1 -1
  189. package/lib/translations/components/search.d.ts.map +1 -1
  190. package/lib/translations/components/transport-mode.d.ts.map +1 -1
  191. package/lib/translations/dictionary.d.ts.map +1 -1
  192. package/lib/translations/index.d.ts +2 -2
  193. package/lib/translations/index.d.ts.map +1 -1
  194. package/lib/translations/json-to-override.d.ts.map +1 -1
  195. package/lib/translations/json-to-override.js +15 -5
  196. package/lib/translations/language-context.d.ts.map +1 -1
  197. package/lib/translations/language-context.js +5 -9
  198. package/lib/translations/load-org-translations.d.ts.map +1 -1
  199. package/lib/translations/merge-overrides.d.ts.map +1 -1
  200. package/lib/translations/merge-overrides.js +3 -1
  201. package/lib/translations/modules/index.d.ts +0 -1
  202. package/lib/translations/modules/index.d.ts.map +1 -1
  203. package/lib/translations/modules/index.js +1 -3
  204. package/lib/translations/modules/situation.d.ts.map +1 -1
  205. package/lib/translations/pages/contact.d.ts +1 -1
  206. package/lib/translations/pages/contact.d.ts.map +1 -1
  207. package/lib/translations/pages/departures.d.ts.map +1 -1
  208. package/lib/translations/pages/index.d.ts.map +1 -1
  209. package/lib/translations/server/endpoints.d.ts.map +1 -1
  210. package/lib/translations/server/index.d.ts.map +1 -1
  211. package/lib/translations/translations-context.d.ts.map +1 -1
  212. package/lib/translations/types.d.ts.map +1 -1
  213. package/lib/translations/utils.d.ts.map +1 -1
  214. package/lib/translations/utils.js +3 -1
  215. package/lib/types/submit-payloads.d.ts.map +1 -1
  216. package/lib/types.d.ts +1 -1
  217. package/lib/types.d.ts.map +1 -1
  218. package/lib/utils/color.js +1 -1
  219. package/lib/utils/date.d.ts.map +1 -1
  220. package/lib/utils/date.js +1 -1
  221. package/lib/utils/env.d.ts.map +1 -1
  222. package/lib/utils/presence.d.ts.map +1 -1
  223. package/lib/utils.d.ts +1 -1
  224. package/lib/utils.d.ts.map +1 -1
  225. package/lib/validation/commonInputValidator.d.ts.map +1 -1
  226. package/lib/validation/index.d.ts.map +1 -1
  227. package/lib/validation/validationRules.d.ts.map +1 -1
  228. package/package.json +2 -3
  229. package/lib/layouts/contact-form-footer.d.ts +0 -5
  230. package/lib/layouts/contact-form-footer.d.ts.map +0 -1
  231. package/lib/layouts/contact-form-footer.js +0 -59
  232. package/lib/layouts/contact-form-header.d.ts +0 -9
  233. package/lib/layouts/contact-form-header.d.ts.map +0 -1
  234. package/lib/layouts/contact-form-header.js +0 -45
  235. package/lib/layouts/footer.module.css +0 -109
  236. package/lib/layouts/header.module.css +0 -39
  237. package/lib/modules/api-server/external-client.d.ts +0 -22
  238. package/lib/modules/api-server/external-client.d.ts.map +0 -1
  239. package/lib/modules/api-server/external-client.js +0 -86
  240. package/lib/modules/api-server/index.d.ts +0 -9
  241. package/lib/modules/api-server/index.d.ts.map +0 -1
  242. package/lib/modules/api-server/index.js +0 -24
  243. package/lib/modules/api-server/requesters/graphql-requester.d.ts +0 -6
  244. package/lib/modules/api-server/requesters/graphql-requester.d.ts.map +0 -1
  245. package/lib/modules/api-server/requesters/graphql-requester.js +0 -63
  246. package/lib/modules/api-server/requesters/http-requester.d.ts +0 -3
  247. package/lib/modules/api-server/requesters/http-requester.d.ts.map +0 -1
  248. package/lib/modules/api-server/requesters/http-requester.js +0 -110
  249. package/lib/modules/api-server/requesters/types.d.ts +0 -37
  250. package/lib/modules/api-server/requesters/types.d.ts.map +0 -1
  251. package/lib/modules/api-server/requesters/types.js +0 -34
  252. package/lib/modules/api-server/requesters/utils.d.ts +0 -17
  253. package/lib/modules/api-server/requesters/utils.d.ts.map +0 -1
  254. package/lib/modules/api-server/requesters/utils.js +0 -75
  255. package/lib/modules/cookies/constants.d.ts +0 -4
  256. package/lib/modules/cookies/constants.d.ts.map +0 -1
  257. package/lib/modules/cookies/constants.js +0 -6
  258. package/lib/modules/cookies/cookies-context.d.ts +0 -17
  259. package/lib/modules/cookies/cookies-context.d.ts.map +0 -1
  260. package/lib/modules/cookies/cookies-context.js +0 -61
  261. package/lib/modules/cookies/index.d.ts +0 -15
  262. package/lib/modules/cookies/index.d.ts.map +0 -1
  263. package/lib/modules/cookies/index.js +0 -22
  264. package/lib/modules/firebase/analytics.d.ts +0 -3
  265. package/lib/modules/firebase/analytics.d.ts.map +0 -1
  266. package/lib/modules/firebase/analytics.js +0 -40
  267. package/lib/modules/firebase/firebase.d.ts +0 -4
  268. package/lib/modules/firebase/firebase.d.ts.map +0 -1
  269. package/lib/modules/firebase/firebase.js +0 -19
  270. package/lib/modules/firebase/index.d.ts +0 -5
  271. package/lib/modules/firebase/index.d.ts.map +0 -1
  272. package/lib/modules/firebase/index.js +0 -25
  273. package/lib/modules/firebase/preassigned-fare-products.d.ts +0 -8
  274. package/lib/modules/firebase/preassigned-fare-products.d.ts.map +0 -1
  275. package/lib/modules/firebase/preassigned-fare-products.js +0 -35
  276. package/lib/modules/firebase/tariff-zones.d.ts +0 -17
  277. package/lib/modules/firebase/tariff-zones.d.ts.map +0 -1
  278. package/lib/modules/firebase/tariff-zones.js +0 -32
  279. package/lib/modules/firebase/transport-mode-filter.d.ts +0 -27
  280. package/lib/modules/firebase/transport-mode-filter.d.ts.map +0 -1
  281. package/lib/modules/firebase/transport-mode-filter.js +0 -27
  282. package/lib/modules/firebase/types.d.ts +0 -19
  283. package/lib/modules/firebase/types.d.ts.map +0 -1
  284. package/lib/modules/firebase/types.js +0 -15
  285. package/lib/modules/logging/index.d.ts +0 -6
  286. package/lib/modules/logging/index.d.ts.map +0 -1
  287. package/lib/modules/logging/index.js +0 -13
  288. package/lib/modules/logging/log-api-response.d.ts +0 -15
  289. package/lib/modules/logging/log-api-response.d.ts.map +0 -1
  290. package/lib/modules/logging/log-api-response.js +0 -52
  291. package/lib/modules/logging/log-page-access.d.ts +0 -20
  292. package/lib/modules/logging/log-page-access.d.ts.map +0 -1
  293. package/lib/modules/logging/log-page-access.js +0 -60
  294. package/lib/modules/logging/logger.d.ts +0 -3
  295. package/lib/modules/logging/logger.d.ts.map +0 -1
  296. package/lib/modules/logging/logger.js +0 -32
  297. package/lib/modules/logging/timer.d.ts +0 -6
  298. package/lib/modules/logging/timer.d.ts.map +0 -1
  299. package/lib/modules/logging/timer.js +0 -13
  300. package/lib/modules/logging/with-access-logging.d.ts +0 -5
  301. package/lib/modules/logging/with-access-logging.d.ts.map +0 -1
  302. package/lib/modules/logging/with-access-logging.js +0 -20
  303. package/lib/modules/transport-mode/icon/transport-icon-new.d.ts +0 -28
  304. package/lib/modules/transport-mode/icon/transport-icon-new.d.ts.map +0 -1
  305. package/lib/modules/transport-mode/icon/transport-icon-new.js +0 -114
  306. package/lib/server/contact/index.d.ts +0 -11
  307. package/lib/server/contact/index.d.ts.map +0 -1
  308. package/lib/server/contact/index.js +0 -47
  309. package/lib/translations/__tests__/utils.test.d.ts +0 -2
  310. package/lib/translations/__tests__/utils.test.d.ts.map +0 -1
  311. package/lib/translations/__tests__/utils.test.js +0 -35
  312. package/lib/translations/modules/layout.d.ts +0 -73
  313. package/lib/translations/modules/layout.d.ts.map +0 -1
  314. package/lib/translations/modules/layout.js +0 -106
  315. package/lib/translations/pages/assistant.d.ts +0 -2
  316. package/lib/translations/pages/assistant.d.ts.map +0 -1
  317. package/lib/translations/pages/assistant.js +0 -303
  318. package/lib/utils/enum-from-string.d.ts +0 -4
  319. package/lib/utils/enum-from-string.d.ts.map +0 -1
  320. package/lib/utils/enum-from-string.js +0 -9
  321. package/lib/utils/only-uniques.d.ts +0 -3
  322. package/lib/utils/only-uniques.d.ts.map +0 -1
  323. package/lib/utils/only-uniques.js +0 -7
  324. package/lib/utils/org-theme-definitions.d.ts +0 -5
  325. package/lib/utils/org-theme-definitions.d.ts.map +0 -1
  326. package/lib/utils/org-theme-definitions.js +0 -13
  327. package/lib/utils/reference-data.d.ts +0 -15
  328. package/lib/utils/reference-data.d.ts.map +0 -1
  329. package/lib/utils/reference-data.js +0 -15
  330. package/lib/utils/use-client-width.d.ts +0 -2
  331. package/lib/utils/use-client-width.d.ts.map +0 -1
  332. package/lib/utils/use-client-width.js +0 -18
  333. package/lib/utils/use-interval.d.ts +0 -2
  334. package/lib/utils/use-interval.d.ts.map +0 -1
  335. package/lib/utils/use-interval.js +0 -22
  336. package/lib/utils/use-localstorage.d.ts +0 -2
  337. package/lib/utils/use-localstorage.d.ts.map +0 -1
  338. package/lib/utils/use-localstorage.js +0 -40
  339. package/lib/utils/use-now.d.ts +0 -2
  340. package/lib/utils/use-now.d.ts.map +0 -1
  341. package/lib/utils/use-now.js +0 -13
  342. package/lib/utils/user-media-query.d.ts +0 -2
  343. package/lib/utils/user-media-query.d.ts.map +0 -1
  344. package/lib/utils/user-media-query.js +0 -36
@@ -1,4 +1,4 @@
1
- import { IconName } from "../../modules/config";
1
+ import { IconName } from '../../modules/config';
2
2
  export type IconProps = {
3
3
  /** Name of the icon to display */
4
4
  icon: IconName;
@@ -1 +1 @@
1
- {"version":3,"file":"icon-wrapper.d.ts","sourceRoot":"","sources":["../../../src/components/icon/icon-wrapper.tsx"],"names":[],"mappings":"AAAA,OA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ACnB,IAAI,EACJ,IAAe,EACf,SAAS,EACT,IAAY,EACZ,GAAQ,EACR,KAAK,GACN,EAAE,SAAS,kDAkBX;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAWtE"}
@@ -1 +1 @@
1
- {"version":3,"file":"illustration.d.ts","sourceRoot":"","sources":["../../../src/components/icon/illustration.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAGvD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAChC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAClC,KAAK,CACR,GAAG;IACA,KAAK,EAAE,aAAa,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAAC,KAAK,EAAE,GAAG,KAAK,EAAC,EAAE,iBAAiB,2CAiBhE"}
1
+ {"version":3,"file":"illustration.d.ts","sourceRoot":"","sources":["../../../src/components/icon/illustration.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGzD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAClC,KAAK,CACN,GAAG;IACF,KAAK,EAAE,aAAa,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAgBlE"}
@@ -9,12 +9,10 @@ function Illustration({ image, ...props }) {
9
9
  const currentIcon = generated_icons_1.icons['illustration'][image];
10
10
  if (!currentIcon.darkable) {
11
11
  const totalPath = `/assets/${currentIcon.relative}`;
12
- // eslint-disable-next-line
13
12
  return (0, jsx_runtime_1.jsx)("img", { src: totalPath, ...props });
14
13
  }
15
14
  else {
16
15
  const totalPath = `/assets/${specifyDarkOrLight(currentIcon.relative, isDarkMode)}`;
17
- // eslint-disable-next-line
18
16
  return (0, jsx_runtime_1.jsx)("img", { src: totalPath, ...props });
19
17
  }
20
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/components/icon/image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAGhD,KAAK,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,GAAG;IACrE,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,wBAAgB,KAAK,CAAC,EAAC,KAAK,EAAE,GAAG,KAAK,EAAC,EAAE,eAAe,2CAmBvD"}
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/components/icon/image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGlD,KAAK,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,GAAG;IACvE,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,wBAAgB,KAAK,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAkBzD"}
@@ -10,12 +10,10 @@ function Image({ image, ...props }) {
10
10
  const currentIcon = generated_icons_1.icons['images'][image];
11
11
  if (!currentIcon.darkable) {
12
12
  const totalPath = `/assets/${currentIcon.relative}`;
13
- // eslint-disable-next-line
14
13
  return (0, jsx_runtime_1.jsx)("img", { ...extras, src: totalPath, ...props });
15
14
  }
16
15
  else {
17
16
  const totalPath = `/assets/${specifyDarkOrLight(currentIcon.relative, isDarkMode)}`;
18
- // eslint-disable-next-line
19
17
  return (0, jsx_runtime_1.jsx)("img", { ...extras, src: totalPath, ...props });
20
18
  }
21
19
  }
@@ -1,5 +1,5 @@
1
- import { InteractiveColor, InteractiveState } from "@atb-as/theme";
2
- import { IconName } from "../../modules/config";
1
+ import { InteractiveColor, InteractiveState } from '@atb-as/theme';
2
+ import { IconName } from '../../modules/config';
3
3
  export type MonoIconOverrideMode = 'none' | 'dark' | 'light';
4
4
  export type SizeProps = 'small' | 'normal' | 'large';
5
5
  export type MonoIconProps = Omit<React.JSX.IntrinsicElements['div'], 'ref'> & {
@@ -1 +1 @@
1
- {"version":3,"file":"mono-icon-new.d.ts","sourceRoot":"","sources":["../../../src/components/icon/mono-icon-new.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC;AAEjE,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAE9C,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAC7D,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAErD,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,GAAG;IAC1E;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;;OAGG;IACH,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACvC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,EACI,IAAI,EACJ,IAAe,EACf,YAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACX,EAAE,aAAa,2CA+BxC;AAED,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"mono-icon-new.d.ts","sourceRoot":"","sources":["../../../src/components/icon/mono-icon-new.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEnE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAC7D,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAErD,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,GAAG;IAC5E;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;;OAGG;IACH,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,IAAe,EACf,YAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,aAAa,2CA+Bf;AAED,eAAe,QAAQ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { MonoIcons } from './generated-icons';
2
2
  import { SizeProps } from './utils';
3
- import { InteractiveColor, InteractiveState } from "@atb-as/theme";
3
+ import { InteractiveColor, InteractiveState } from '@atb-as/theme';
4
4
  export type MonoIconOverrideMode = 'none' | 'dark' | 'light';
5
5
  export type { SizeProps };
6
6
  export type MonoIconProps = Omit<React.JSX.IntrinsicElements['img'], 'src'> & {
@@ -1 +1 @@
1
- {"version":3,"file":"mono-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/mono-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAQ,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,SAAS,EAAU,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAgB,MAAM,eAAe,CAAC;AAIhF,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE7D,YAAY,EAAC,SAAS,EAAC,CAAC;AACxB,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,GAAG;IAC1E;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACvC,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EACI,IAAI,EACJ,IAAe,EACf,YAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,GAAG,KAAK,EACX,EAAE,aAAa,2CAqBxC;AAED,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"mono-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/mono-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAS,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAW,MAAM,SAAS,CAAC;AAC7C,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAEjB,MAAM,eAAe,CAAC;AAIvB,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE7D,YAAY,EAAE,SAAS,EAAE,CAAC;AAC1B,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,GAAG;IAC5E;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,IAAe,EACf,YAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,GAAG,KAAK,EACT,EAAE,aAAa,2CAoBf;AAED,eAAe,QAAQ,CAAC"}
@@ -15,9 +15,7 @@ function MonoIcon({ icon, size = 'normal', overrideMode = 'none', interactiveCol
15
15
  (isDarkMode ? 'dark' : 'light');
16
16
  const totalPath = `/assets/${insertMode(currentIcon.relative, darkModeString)}`;
17
17
  const wh = (0, utils_1.useSize)(size);
18
- return (
19
- // eslint-disable-next-line
20
- (0, jsx_runtime_1.jsx)("img", { src: totalPath, width: wh, height: wh, role: "none", alt: "", ...props }));
18
+ return ((0, jsx_runtime_1.jsx)("img", { src: totalPath, width: wh, height: wh, role: "none", alt: "", ...props }));
21
19
  }
22
20
  exports.default = MonoIcon;
23
21
  function insertMode(relative, mode) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,qBAAqB,EACrB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,KAAK,EACL,MAAM,EACN,QAAQ,EACR,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,YAAY,EACZ,YAAY,GACf,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,KAAK,EACL,MAAM,EACN,QAAQ,EACR,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,YAAY,EACZ,YAAY,GACb,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ColorIconProps } from "../icon";
1
+ import { ColorIconProps } from '../icon';
2
2
  export type LoadingProps = {
3
3
  /**
4
4
  * Loading text string.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/loading/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,cAAc,EAAC,MAAM,SAAS,CAAC;AAElD,MAAM,MAAM,YAAY,GAAG;IACvB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,wBAAgB,OAAO,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,EAAE,YAAY,2CAkBnD;AAED,wBAAgB,WAAW,CAAC,EACI,IAAI,EACJ,QAAQ,GACX,EAAE;IAC3B,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,2CAYA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/loading/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,cAAc,EAAE,MAAM,SAAS,CAAC;AAEpD,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,YAAY,2CAkBrD;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,2CAYA"}
@@ -1,17 +1,17 @@
1
1
  .loading {
2
- display: flex;
3
- justify-content: center;
4
- align-items: center;
5
- gap: token('spacing.medium');
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
5
+ gap: token('spacing.medium');
6
6
  }
7
7
 
8
8
  .loading__icon {
9
- display: block;
10
- animation: loading-circle 1s ease-in-out infinite;
9
+ display: block;
10
+ animation: loading-circle 1s ease-in-out infinite;
11
11
  }
12
12
 
13
13
  @keyframes loading-circle {
14
- to {
15
- transform: rotate(360deg);
16
- }
14
+ to {
15
+ transform: rotate(360deg);
16
+ }
17
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/section-card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/section-card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"section-card.d.ts","sourceRoot":"","sources":["../../../src/components/section-card/section-card.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAC;AAExC,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;IAC7C,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC,CAAC;AAEH,eAAO,MAAM,WAAW,GAAI,qBAAmB,gBAAgB,4CAO9D,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"section-card.d.ts","sourceRoot":"","sources":["../../../src/components/section-card/section-card.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;IAC/C,KAAK,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,eAAO,MAAM,WAAW,GAAI,qBAAqB,gBAAgB,4CAOhE,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,15 +1,15 @@
1
1
  .container {
2
- display: flex;
3
- flex-direction: column;
4
- padding: token('spacing.xLarge');
5
- padding-bottom: token('spacing.medium');
6
- margin: token('spacing.large');
7
- margin-top: 0px;
8
- border-radius: token('border.radius.regular');
9
- color: token('color.foreground.dynamic.primary');
10
- background-color: token('color.background.neutral.0.background');
2
+ display: flex;
3
+ flex-direction: column;
4
+ padding: token('spacing.xLarge');
5
+ padding-bottom: token('spacing.medium');
6
+ margin: token('spacing.large');
7
+ margin-top: 0px;
8
+ border-radius: token('border.radius.regular');
9
+ color: token('color.foreground.dynamic.primary');
10
+ background-color: token('color.background.neutral.0.background');
11
11
  }
12
12
 
13
13
  .container > * + * {
14
- margin-top: token('spacing.medium');
14
+ margin-top: token('spacing.medium');
15
15
  }
@@ -8,12 +8,13 @@ type BaseTypographyInternal<E extends React.ElementType = React.ElementType> = R
8
8
  export type BaseTypographyProps<E extends React.ElementType> = BaseTypographyInternal<E> & Omit<React.ComponentProps<E>, keyof BaseTypographyInternal>;
9
9
  declare const __DEFAULT_ELEMENT__ = "span";
10
10
  export default function BaseTypography<E extends React.ElementType = typeof __DEFAULT_ELEMENT__>({ as, textType, testID, className, children, ...props }: BaseTypographyProps<E>): import("react/jsx-runtime").JSX.Element;
11
+ type SupportedTypes = 'div' | 'p' | 'span' | 'h2' | 'h3';
11
12
  export declare const Typo: {
12
- span: (props: BaseTypographyProps<"div" | "p" | "span" | "h2" | "h3">) => import("react/jsx-runtime").JSX.Element;
13
- div: (props: BaseTypographyProps<"div" | "p" | "span" | "h2" | "h3">) => import("react/jsx-runtime").JSX.Element;
14
- p: (props: BaseTypographyProps<"div" | "p" | "span" | "h2" | "h3">) => import("react/jsx-runtime").JSX.Element;
15
- h2: (props: BaseTypographyProps<"div" | "p" | "span" | "h2" | "h3">) => import("react/jsx-runtime").JSX.Element;
16
- h3: (props: BaseTypographyProps<"div" | "p" | "span" | "h2" | "h3">) => import("react/jsx-runtime").JSX.Element;
13
+ span: (props: BaseTypographyProps<SupportedTypes>) => import("react/jsx-runtime").JSX.Element;
14
+ div: (props: BaseTypographyProps<SupportedTypes>) => import("react/jsx-runtime").JSX.Element;
15
+ p: (props: BaseTypographyProps<SupportedTypes>) => import("react/jsx-runtime").JSX.Element;
16
+ h2: (props: BaseTypographyProps<SupportedTypes>) => import("react/jsx-runtime").JSX.Element;
17
+ h3: (props: BaseTypographyProps<SupportedTypes>) => import("react/jsx-runtime").JSX.Element;
17
18
  };
18
19
  export { screenReaderPause } from './utils';
19
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/typography/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AAG7C,KAAK,sBAAsB,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,IACvE,KAAK,CAAC,iBAAiB,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEP,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,IACvD,sBAAsB,CAAC,CAAC,CAAC,GACzB,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,MAAM,sBAAsB,CAAC,CAAC;AAEhE,QAAA,MAAM,mBAAmB,SAAS,CAAC;AAEnC,MAAM,CAAC,OAAO,UAAU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CAYxB;AAED,KAAK,cAAc,GAAG,KAAK,GAAG,GAAG,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;AAQzD,eAAO,MAAM,IAAI;kBALiB,mBAAmB,gBAAY;iBAA/B,mBAAmB,gBAAY;eAA/B,mBAAmB,gBAAY;gBAA/B,mBAAmB,gBAAY;gBAA/B,mBAAmB,gBAAY;CAWhE,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
@@ -10,7 +10,6 @@ function BaseTypography({ as, textType, testID, className, children, ...props })
10
10
  const extraClass = `typo-${textType}`;
11
11
  return ((0, jsx_runtime_1.jsx)(Component, { ...props, className: (0, css_1.and)(extraClass, className), "data-testid": testID ? testID : undefined, children: children }));
12
12
  }
13
- const supportedTypes = ['div', 'p', 'span', 'h2', 'h3'];
14
13
  function createConstructor(key) {
15
14
  return function TypoType(props) {
16
15
  return (0, jsx_runtime_1.jsx)(BaseTypography, { as: key, ...props });
@@ -1,76 +1,77 @@
1
1
  @value typo-body__s from "@atb-as/theme/lib/generated/typography.module.css";
2
2
 
3
3
  .form {
4
- display: flex;
5
- flex-direction: column;
6
- justify-content: center;
7
- gap: token('spacing.large');
4
+ display: flex;
5
+ flex-direction: column;
6
+ justify-content: center;
7
+ gap: token('spacing.large');
8
8
  }
9
9
 
10
10
  .form_options__list {
11
- list-style-type: none;
11
+ list-style-type: none;
12
12
  }
13
13
 
14
14
  .rules__list {
15
- padding-left: token('spacing.xLarge');
15
+ padding-left: token('spacing.xLarge');
16
16
  }
17
17
 
18
18
  .rules__list > li {
19
- padding: token('spacing.xSmall') 0;
19
+ padding: token('spacing.xSmall') 0;
20
20
  }
21
21
 
22
22
  .feedback {
23
- composes: typo-body__s;
24
- padding: token('spacing.small');
25
- color: token('color.background.neutral.0.foreground.primary');
26
- outline: 0;
27
- background: none;
28
- border-radius: 0.75rem;
29
- max-width: 100%;
23
+ composes: typo-body__s;
24
+ padding: token('spacing.small');
25
+ color: token('color.background.neutral.0.foreground.primary');
26
+ outline: 0;
27
+ background: none;
28
+ border-radius: 0.75rem;
29
+ max-width: 100%;
30
30
  }
31
31
 
32
32
  .feedback::placeholder {
33
- color: token('color.foreground.dynamic.secondary');
34
- opacity: 1;
33
+ color: token('color.foreground.dynamic.secondary');
34
+ opacity: 1;
35
35
  }
36
36
 
37
37
  .feedback:focus-within {
38
- outline: 0;
39
- box-shadow: inset 0 0 0 token('border.width.medium') token('color.interactive.2.outline.background');
38
+ outline: 0;
39
+ box-shadow: inset 0 0 0 token('border.width.medium')
40
+ token('color.interactive.2.outline.background');
40
41
  }
41
42
 
42
43
  .feedback__error {
43
- border-color: token('color.status.error.primary.background');
44
+ border-color: token('color.status.error.primary.background');
44
45
  }
45
46
 
46
47
  .feedback_label__error {
47
- background-color: token('color.status.error.primary.background');
48
- outline: 0;
49
- padding: token('spacing.small');
50
- color: token('color.status.error.primary.foreground.primary');
48
+ background-color: token('color.status.error.primary.background');
49
+ outline: 0;
50
+ padding: token('spacing.small');
51
+ color: token('color.status.error.primary.foreground.primary');
51
52
  }
52
53
 
53
54
  .submitButton {
54
- margin: token('spacing.large');
55
- margin-top: 0px;
56
- max-width: 6rem;
57
- text-align: center;
55
+ margin: token('spacing.large');
56
+ margin-top: 0px;
57
+ max-width: 6rem;
58
+ text-align: center;
58
59
  }
59
60
 
60
61
  @media (max-width: 600px) {
61
- .submitButton {
62
- max-width: none;
63
- }
62
+ .submitButton {
63
+ max-width: none;
64
+ }
64
65
  }
65
66
 
66
67
  .extraInfo {
67
- display: flex;
68
- flex-direction: column;
69
- gap: token('spacing.small');
68
+ display: flex;
69
+ flex-direction: column;
70
+ gap: token('spacing.small');
70
71
  }
71
72
 
72
73
  .extraInfo__buttonContainer {
73
- display: flex;
74
- flex-direction: row;
75
- gap: token('spacing.small');
74
+ display: flex;
75
+ flex-direction: row;
76
+ gap: token('spacing.small');
76
77
  }
@@ -1,11 +1,11 @@
1
1
  .container {
2
- display: flex;
3
- flex-direction: column;
4
- gap: token('spacing.large');
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: token('spacing.large');
5
5
 
6
- height: 100%;
7
- max-width: var(--maxPageWidth);
6
+ height: 100%;
7
+ max-width: var(--maxPageWidth);
8
8
 
9
- margin: 0 auto;
10
- padding: token('spacing.xLarge');
9
+ margin: 0 auto;
10
+ padding: token('spacing.xLarge');
11
11
  }
package/lib/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export type { TicketControlSubmitPayload, RefundSubmitPayload, MeansOfTransportS
3
3
  export type { TransportModeType, ReasonForTransportFailure, TicketType, PurchasePlatformType, } from './types';
4
4
  export { TicketTypeId } from './types';
5
5
  export type { ContactFormConfig, IconComponent, IconName, IconSet, Theme, ThemeColors, ContrastColor, TransportColors, InteractiveColor, StatusColors, TypographyConfig, ApiConfig, OrgConfig, LayoutConfig, LayoutLinkLabel, PagesOverrides, FormSchemaOverrides, FormSchemaName, } from './modules/config';
6
- export { ThemeProvider, useTheme, useDarkMode, useHtmlDarkMode } from './modules/theme';
6
+ export { ThemeProvider, useTheme, useDarkMode, useHtmlDarkMode, } from './modules/theme';
7
7
  export { Icon } from './components/icon/icon-wrapper';
8
8
  export { MonoIcon } from './components/icon/mono-icon-new';
9
9
  export { ButtonLink } from './components/button';
@@ -12,7 +12,7 @@ export { type Line } from './server/journey-planner/validators';
12
12
  export { useLines, useTransportModeOptions } from './lines/use-lines';
13
13
  export { shouldShowContactPage } from './utils';
14
14
  export { ContactPageLayout, type ContactPageLayoutProps, getStandardContactPages, ContactFormContainer, type ContactFormContainerProps, } from './layouts';
15
- export { ExternalLinkPage, type ExternalLinkPageProps } from './components/external-link-page';
15
+ export { ExternalLinkPage, type ExternalLinkPageProps, } from './components/external-link-page';
16
16
  export { ErrorContent } from './error-content/error-content';
17
17
  export { SuccessContent } from './success-content/success-content';
18
18
  export { default as RefundContent } from './refund';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":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{
3
- type: "ON_INPUT_CHANGE";
4
- inputName: "question";
2
+ type JourneyInfoSpecificFormEvents = {
3
+ type: 'ON_INPUT_CHANGE';
4
+ inputName: 'question';
5
5
  value: string | boolean;
6
6
  } | {
7
- type: "ON_SET_STATE";
7
+ type: 'ON_SET_STATE';
8
8
  } | {
9
- type: "SUBMIT";
9
+ type: 'SUBMIT';
10
10
  orderedFormFieldNames: string[];
11
11
  };
12
- export declare const journeyInfoFormEvents: typeof commonEvents | typeof journeyInfoSpecificFormEvents;
12
+ export declare const journeyInfoFormEvents: typeof commonEvents | JourneyInfoSpecificFormEvents;
13
13
  export {};
14
14
  //# sourceMappingURL=events.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/journey-info/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,kBAAkB,CAAC;AAE9C,QAAA,MAAM,6BAA6B,EAC7B;IACF,IAAI,EAAE,iBAAiB,CAAC;IACxB,SAAS,EAAE,UAAU,CAAC;IACtB,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CAC3B,GACK;IACF,IAAI,EAAE,cAAc,CAAC;CACxB,GACK;IACF,IAAI,EAAE,QAAQ,CAAC;IACf,qBAAqB,EAAE,MAAM,EAAE,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAC5B,OAAO,YAAY,GACnB,OAAO,6BAA6B,CAAC"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/journey-info/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,KAAK,6BAA6B,GAC9B;IACE,IAAI,EAAE,iBAAiB,CAAC;IACxB,SAAS,EAAE,UAAU,CAAC;IACtB,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CACzB,GACD;IACE,IAAI,EAAE,cAAc,CAAC;CACtB,GACD;IACE,IAAI,EAAE,QAAQ,CAAC;IACf,qBAAqB,EAAE,MAAM,EAAE,CAAC;CACjC,CAAC;AAEN,eAAO,MAAM,qBAAqB,EAC9B,OAAO,YAAY,GACnB,6BAA6B,CAAC"}
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.journeyInfoFormEvents = void 0;
4
- const journeyInfoSpecificFormEvents = {};
5
4
  exports.journeyInfoFormEvents = {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/journey-info/index.tsx"],"names":[],"mappings":"AAaA,MAAM,CAAC,OAAO,UAAU,kBAAkB,4CAmJzC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/journey-info/index.tsx"],"names":[],"mappings":"AAaA,MAAM,CAAC,OAAO,UAAU,kBAAkB,4CAwJzC"}
@@ -20,8 +20,10 @@ function JourneyInfoContent() {
20
20
  const { t } = (0, translations_1.useTranslation)();
21
21
  const apiConfig = (0, config_1.useApiConfig)();
22
22
  const { layout } = (0, config_1.useContactFormConfig)();
23
- const successPath = layout?.successPath ?? (layout?.basePath ? `${layout.basePath}/success` : '/contact/success');
24
- const errorPath = layout?.errorPath ?? (layout?.basePath ? `${layout.basePath}/error` : '/contact/error');
23
+ const successPath = layout?.successPath ??
24
+ (layout?.basePath ? `${layout.basePath}/success` : '/contact/success');
25
+ const errorPath = layout?.errorPath ??
26
+ (layout?.basePath ? `${layout.basePath}/error` : '/contact/error');
25
27
  const machine = (0, react_2.useMemo)(() => (0, journeyInfoStateMachine_1.createJourneyInfoStateMachine)(apiConfig.onSubmit, {
26
28
  successPath,
27
29
  errorPath,
@@ -1 +1 @@
1
- {"version":3,"file":"journeyInfoStateMachine.d.ts","sourceRoot":"","sources":["../../src/journey-info/journeyInfoStateMachine.ts"],"names":[],"mappings":"AAMA,OAAO,EAAuB,kBAAkB,EAAC,MAAM,eAAe,CAAC;AAEvE,OAAO,KAAK,EAAC,cAAc,EAAC,MA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form-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,MAAM,yBAAyB,GAAG;IACpC,oDAAoD;IACpD,MAAM,EAAE,SAAS,CAAC;IAClB,oDAAoD;IACpD,MAAM,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACjC,MAAM,EACN,MAAM,EACN,QAAQ,GACX,EAAE,yBAAyB,2CAS3B"}
1
+ {"version":3,"file":"contact-form-container.d.ts","sourceRoot":"","sources":["../../src/layouts/contact-form-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,MAAM,yBAAyB,GAAG;IACtC,oDAAoD;IACpD,MAAM,EAAE,SAAS,CAAC;IAClB,oDAAoD;IACpD,MAAM,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,MAAM,EACN,QAAQ,GACT,EAAE,yBAAyB,2CAS3B"}
@@ -1,6 +1,6 @@
1
1
  import { PropsWithChildren } from 'react';
2
- import { TranslatedString } from "../translations";
3
- import { MonoIcons } from "../components/icon";
2
+ import { TranslatedString } from '../translations';
3
+ import { MonoIcons } from '../components/icon';
4
4
  export type ContactPage = {
5
5
  title: TranslatedString;
6
6
  href: string;
@@ -1 +1 @@
1
- {"version":3,"file":"contact-page-layout.d.ts","sourceRoot":"","sources":["../../src/layouts/contact-page-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAA+B,MAAM,OAAO,CAAC;AAItE,OAAO,EAAW,gBAAgB,EAAiB,MAAM,iBAAiB,CAAC;AAC3E,OAAO,EAAW,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAMvD,MAAM,MAAM,WAAW,GAAG;IACtB,KAAK,EA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,CAAC;CAC/E,CAAC,CAAC;AAEH,iBAAS,iBAAiB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,sBAAsB,2CA4ExE;AAED,eAAe,iBAAiB,CAAC"}
@@ -74,7 +74,6 @@ function ContactPageLayout({ children, backLink }) {
74
74
  const { t } = (0, translations_1.useTranslation)();
75
75
  const pathname = (0, navigation_1.usePathname)();
76
76
  const { pagesOverrides } = (0, config_1.useContactFormConfig)();
77
- const [selectedContactPage, setSelectedContactPage] = (0, react_1.useState)(undefined);
78
77
  // Resolve visible pages: standard list minus hidden pages
79
78
  const visiblePages = (0, react_1.useMemo)(() => {
80
79
  const standard = (0, exports.getStandardContactPages)();
@@ -84,10 +83,7 @@ function ContactPageLayout({ children, backLink }) {
84
83
  return !hidePageIds.includes(pageId);
85
84
  });
86
85
  }, [pagesOverrides]);
87
- (0, react_1.useEffect)(() => {
88
- const activePage = visiblePages.find((contactPage) => pathname.includes(contactPage.href));
89
- setSelectedContactPage(activePage);
90
- }, [pathname, visiblePages]);
86
+ const selectedContactPage = (0, react_1.useMemo)(() => visiblePages.find((contactPage) => pathname.includes(contactPage.href)), [pathname, visiblePages]);
91
87
  const displayPrivacyAndTerms = (contactPage) => {
92
88
  if (!contactPage)
93
89
  return false;
@@ -1,15 +1,15 @@
1
1
  .wrapper {
2
- width: 100%;
3
- min-height: 100%;
4
- display: flex;
5
- flex-direction: column;
2
+ width: 100%;
3
+ min-height: 100%;
4
+ display: flex;
5
+ flex-direction: column;
6
6
  }
7
7
 
8
8
  .main {
9
- flex: 1;
10
- min-width: 100%;
11
- max-width: var(--maxPageWidth, 976px);
12
- margin: 0 auto;
13
- padding-bottom: 10rem;
14
- box-sizing: border-box;
9
+ flex: 1;
10
+ min-width: 100%;
11
+ max-width: var(--maxPageWidth, 976px);
12
+ margin: 0 auto;
13
+ padding-bottom: 10rem;
14
+ box-sizing: border-box;
15
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,OAAO,IAAI,iBAAiB,EAC5B,KAAK,sBAAsB,EAC3B,uBAAuB,GAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACH,oBAAoB,EACpB,KAAK,yBAAyB,GACjC,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,iBAAiB,EAC5B,KAAK,sBAAsB,EAC3B,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,oBAAoB,EACpB,KAAK,yBAAyB,GAC/B,MAAM,0BAA0B,CAAC"}