@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
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @mrfylke/contact-form
2
+
3
+ A configurable contact form package for public transportation organizations.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @mrfylke/contact-form
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ See [INTEGRATION.md](./INTEGRATION.md) for detailed integration instructions.
14
+
15
+ ## License
16
+
17
+ EUPL-1.2
@@ -1 +1 @@
1
- {"version":3,"file":"ContactFormRoot.d.ts","sourceRoot":"","sources":["../src/ContactFormRoot.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAC,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAE5C,OAAO,EACH,KAAK,iBAAiB,EAEzB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAEH,KAAK,+BAA+B,EACpC,QAAQ,EACX,MAAM,gBAAgB,CAAC;AAQxB,MAAM,MAAM,oBAAoB,GAAG;IAC/B,mEAAmE;IACnE,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;OAGG;IACH,eAAe,CAAC,EAAE,QAAQ,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC9B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,+BAA+B,CAAC;IACvD,sDAAsD;IACtD,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EACI,MAAM,EACN,oBAAoB,EACpB,eAAe,EACf,UAAU,EACV,oBAAoB,EACpB,QAAQ,GACX,EAAE,oBAAoB,2CAuBtD"}
1
+ {"version":3,"file":"ContactFormRoot.d.ts","sourceRoot":"","sources":["../src/ContactFormRoot.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAEL,KAAK,+BAA+B,EACpC,QAAQ,EACT,MAAM,gBAAgB,CAAC;AAQxB,MAAM,MAAM,oBAAoB,GAAG;IACjC,mEAAmE;IACnE,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;OAGG;IACH,eAAe,CAAC,EAAE,QAAQ,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC9B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,+BAA+B,CAAC;IACvD,sDAAsD;IACtD,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,oBAAoB,EACpB,eAAe,EACf,UAAU,EACV,oBAAoB,EACpB,QAAQ,GACT,EAAE,oBAAoB,2CAuBtB"}
@@ -42,7 +42,9 @@ function deriveHeaderFromInitialLanguage(language) {
42
42
  function deepMerge(target, source) {
43
43
  const result = { ...target };
44
44
  for (const key in source) {
45
- if (source[key] && typeof source[key] === 'object' && !Array.isArray(source[key])) {
45
+ if (source[key] &&
46
+ typeof source[key] === 'object' &&
47
+ !Array.isArray(source[key])) {
46
48
  result[key] = deepMerge((result[key] || {}), source[key]);
47
49
  }
48
50
  else if (source[key] !== undefined) {
@@ -1 +1 @@
1
- {"version":3,"file":"commoneEvents.d.ts","sourceRoot":"","sources":["../src/commoneEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,GAAG,CAAC;AAEvB,eAAO,MAAM,YAAY,EACnB;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,GACpB;IACF,IAAI,EAAE,iBAAiB,CAAC;IACxB,SAAS,EACH,SAAS,GACT,aAAa,GACb,mBAAmB,GACnB,MAAM,GACN,MAAM,GACN,OAAO,GACP,WAAW,GACX,UAAU,GACV,MAAM,GACN,UAAU,GACV,aAAa,GACb,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,UAAU,GACV,sBAAsB,CAAC;IAC7B,KAAK,EAAE,GAAG,CAAC;CACd,GACK;IACF,IAAI,EAAE,yBAAyB,CAAC;IAChC,KAAK,EAAE,iBAAiB,CAAC;CAC5B,GACK;IACF,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,IAAI,GAAG,SAAS,CAAC;CAC3B,CAAC"}
1
+ {"version":3,"file":"commoneEvents.d.ts","sourceRoot":"","sources":["../src/commoneEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;AAEzB,eAAO,MAAM,YAAY,EACrB;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,GACpB;IACE,IAAI,EAAE,iBAAiB,CAAC;IACxB,SAAS,EACL,SAAS,GACT,aAAa,GACb,mBAAmB,GACnB,MAAM,GACN,MAAM,GACN,OAAO,GACP,WAAW,GACX,UAAU,GACV,MAAM,GACN,UAAU,GACV,aAAa,GACb,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,UAAU,GACV,sBAAsB,CAAC;IAC3B,KAAK,EAAE,GAAG,CAAC;CACZ,GACD;IACE,IAAI,EAAE,yBAAyB,CAAC;IAChC,KAAK,EAAE,iBAAiB,CAAC;CAC1B,GACD;IACE,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAC;AAC/C,OAAO,EAEH,eAAe,EAGlB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,WAAW,GAAG;IACtB,0BAA0B;IAC1B,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAC/C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;CACvD,GAAG,eAAe,CAAC;AAEpB,eAAO,MAAM,MAAM,uFAqBlB,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAEL,eAAe,EAGhB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,WAAW,GAAG;IACxB,0BAA0B;IAC1B,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAC/C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;CACrD,GAAG,eAAe,CAAC;AAEpB,eAAO,MAAM,MAAM,uFAqBlB,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,40 +1,40 @@
1
1
  /* Button */
2
2
  .button {
3
- composes: typo-body__m from '@atb-as/theme/lib/generated/typography.module.css';
4
- cursor: pointer;
5
- text-align: left;
6
- border: 0;
7
- text-decoration: none;
8
- align-items: center;
3
+ composes: typo-body__m from '@atb-as/theme/lib/generated/typography.module.css';
4
+ cursor: pointer;
5
+ text-align: left;
6
+ border: 0;
7
+ text-decoration: none;
8
+ align-items: center;
9
9
 
10
- display: flex;
10
+ display: flex;
11
11
 
12
- flex-wrap: nowrap;
13
- gap: token('spacing.small');
12
+ flex-wrap: nowrap;
13
+ gap: token('spacing.small');
14
14
 
15
- background: transparent;
16
- color: currentColor;
15
+ background: transparent;
16
+ color: currentColor;
17
17
 
18
- transition: all 100ms ease-in;
18
+ transition: all 100ms ease-in;
19
19
  }
20
20
 
21
21
  .button--display_inline {
22
- display: inline-flex;
22
+ display: inline-flex;
23
23
  }
24
24
 
25
25
  .button--disabled,
26
26
  .button:disabled {
27
- opacity: 0.6;
28
- cursor: not-allowed;
27
+ opacity: 0.6;
28
+ cursor: not-allowed;
29
29
  }
30
30
 
31
31
  .button--state_loading {
32
- cursor: not-allowed;
32
+ cursor: not-allowed;
33
33
  }
34
34
 
35
35
  .button__text {
36
- display: block;
37
- flex: 1;
36
+ display: block;
37
+ flex: 1;
38
38
  }
39
39
 
40
40
  .button--transparent,
@@ -42,358 +42,370 @@
42
42
  }
43
43
 
44
44
  .button--transparent:hover {
45
- color: token('color.foreground.dynamic.secondary');
45
+ color: token('color.foreground.dynamic.secondary');
46
46
  }
47
47
 
48
48
  .button--transparent:active {
49
- background-color: token('color.interactive.0.active.background');
50
- color: token('color.interactive.0.active.foreground.primary');
49
+ background-color: token('color.interactive.0.active.background');
50
+ color: token('color.interactive.0.active.foreground.primary');
51
51
  }
52
52
 
53
53
  .button--transparent:disabled,
54
54
  .button--transparent.button--disabled {
55
- opacity: 0.6;
55
+ opacity: 0.6;
56
56
  }
57
57
 
58
58
  .button--transparent:focus {
59
- outline: 0;
60
- box-shadow: inset 0 0 0 token('border.width.medium') token('color.interactive.1.outline.background');
59
+ outline: 0;
60
+ box-shadow: inset 0 0 0 token('border.width.medium')
61
+ token('color.interactive.1.outline.background');
61
62
  }
62
63
 
63
64
  .button--transparent--underline,
64
65
  .button--transparent--underline:visited {
65
- text-decoration: underline;
66
+ text-decoration: underline;
66
67
  }
67
68
 
68
69
  .button--transparent--underline:hover {
69
- color: token('color.foreground.dynamic.secondary');
70
+ color: token('color.foreground.dynamic.secondary');
70
71
  }
71
72
 
72
73
  .button--transparent--underline:active {
73
- background-color: token('color.interactive.0.active.background');
74
- color: token('color.interactive.0.active.foreground.primary');
74
+ background-color: token('color.interactive.0.active.background');
75
+ color: token('color.interactive.0.active.foreground.primary');
75
76
  }
76
77
 
77
78
  .button--transparent--underline:disabled,
78
79
  .button--transparent--underline.button--disabled {
79
- opacity: 0.6;
80
+ opacity: 0.6;
80
81
  }
81
82
 
82
83
  .button--transparent--underline:focus {
83
- outline: 0;
84
- box-shadow: inset 0 0 0 token('border.width.medium') token('color.interactive.1.outline.background');
84
+ outline: 0;
85
+ box-shadow: inset 0 0 0 token('border.width.medium')
86
+ token('color.interactive.1.outline.background');
85
87
  }
86
88
 
87
89
  /* Primary */
88
90
  .button--primary,
89
91
  .button--primary:visited {
90
- color: token('color.foreground.inverse.primary');
91
- background-color: token('color.interactive.0.default.background');
92
+ color: token('color.foreground.inverse.primary');
93
+ background-color: token('color.interactive.0.default.background');
92
94
  }
93
95
 
94
96
  .button--primary:not(:disabled):hover,
95
97
  .button--primary:not(:disabled):active,
96
98
  .button--primary.button--state_active {
97
- color: token('color.foreground.dynamic.primary');
98
- background-color: token('color.interactive.0.active.background');
99
+ color: token('color.foreground.dynamic.primary');
100
+ background-color: token('color.interactive.0.active.background');
99
101
  }
100
102
 
101
103
  .button--primary:disabled,
102
104
  .button--primary.button--disabled {
103
- opacity: 0.2;
105
+ opacity: 0.2;
104
106
  }
105
107
 
106
108
  /* Secondary */
107
109
  .button--secondary,
108
110
  .button--secondary:visited {
109
- color: token('color.foreground.dynamic.primary');
110
- border: 2px solid token('color.foreground.dynamic.primary');
111
+ color: token('color.foreground.dynamic.primary');
112
+ border: 2px solid token('color.foreground.dynamic.primary');
111
113
  }
112
114
 
113
115
  .button--secondary:not(:disabled):hover,
114
116
  .button--secondary:not(:disabled):active,
115
117
  .button--secondary.button--state_active {
116
- background-color: token('color.interactive.0.active.background');
117
- border: 2px solid token('color.interactive.0.outline.background');
118
+ background-color: token('color.interactive.0.active.background');
119
+ border: 2px solid token('color.interactive.0.outline.background');
118
120
  }
119
121
 
120
122
  .button--secondary:disabled,
121
123
  .button--secondary.button--disabled {
122
- opacity: 0.2;
124
+ opacity: 0.2;
123
125
  }
124
126
 
125
127
  /* Interactive button 0 */
126
128
  .button--interactive_0,
127
129
  .button--interactive_0:visited {
128
- background-color: token('color.interactive.0.default.background');
129
- color: token('color.interactive.0.default.foreground.primary');
130
+ background-color: token('color.interactive.0.default.background');
131
+ color: token('color.interactive.0.default.foreground.primary');
130
132
  }
131
133
 
132
134
  .button--interactive_0:hover {
133
- background-color: token('color.interactive.0.hover.background');
134
- color: token('color.interactive.0.hover.foreground.primary');
135
+ background-color: token('color.interactive.0.hover.background');
136
+ color: token('color.interactive.0.hover.foreground.primary');
135
137
  }
136
138
 
137
139
  .button--interactive_0:active {
138
- background-color: token('color.interactive.0.active.background');
139
- color: token('color.interactive.0.active.foreground.primary');
140
+ background-color: token('color.interactive.0.active.background');
141
+ color: token('color.interactive.0.active.foreground.primary');
140
142
  }
141
143
 
142
144
  .button--interactive_0:disabled,
143
145
  .button--interactive_0.button--disabled {
144
- background-color: token('color.interactive.0.disabled.background');
145
- color: token('color.interactive.0.disabled.foreground.primary');
146
+ background-color: token('color.interactive.0.disabled.background');
147
+ color: token('color.interactive.0.disabled.foreground.primary');
146
148
  }
147
149
 
148
150
  .button--interactive_0:focus {
149
- outline: 0;
150
- box-shadow: inset 0 0 0 token('border.width.medium') token('color.interactive.0.outline.background');
151
+ outline: 0;
152
+ box-shadow: inset 0 0 0 token('border.width.medium')
153
+ token('color.interactive.0.outline.background');
151
154
  }
152
155
 
153
156
  /* Interactive button 0 bordered */
154
157
  .button--interactive_0--bordered,
155
158
  .button--interactive_0--bordered:visited {
156
- background-color: token('color.interactive.0.default.background');
157
- color: token('color.interactive.0.default.foreground.primary');
158
- box-shadow: inset 0 0 0 token('border.width.slim') token('color.interactive.0.default.foreground.primary');
159
+ background-color: token('color.interactive.0.default.background');
160
+ color: token('color.interactive.0.default.foreground.primary');
161
+ box-shadow: inset 0 0 0 token('border.width.slim')
162
+ token('color.interactive.0.default.foreground.primary');
159
163
  }
160
164
 
161
165
  .button--interactive_0--bordered:hover {
162
- background-color: token('color.interactive.0.hover.background');
163
- color: token('color.interactive.0.hover.foreground.primary');
166
+ background-color: token('color.interactive.0.hover.background');
167
+ color: token('color.interactive.0.hover.foreground.primary');
164
168
  }
165
169
 
166
170
  .button--interactive_0--bordered:active {
167
- background-color: token('color.interactive.0.active.background');
168
- color: token('color.interactive.0.active.foreground.primary');
171
+ background-color: token('color.interactive.0.active.background');
172
+ color: token('color.interactive.0.active.foreground.primary');
169
173
  }
170
174
 
171
175
  .button--interactive_0--bordered:disabled,
172
176
  .button--interactive_0--bordered.button--disabled {
173
- background-color: token('color.interactive.0.disabled.background');
174
- color: token('color.interactive.0.disabled.foreground.primary');
177
+ background-color: token('color.interactive.0.disabled.background');
178
+ color: token('color.interactive.0.disabled.foreground.primary');
175
179
  }
176
180
 
177
181
  .button--interactive_0--bordered:focus {
178
- outline: 0;
179
- box-shadow: inset 0 0 0 token('border.width.medium') token('color.interactive.0.outline.background');
182
+ outline: 0;
183
+ box-shadow: inset 0 0 0 token('border.width.medium')
184
+ token('color.interactive.0.outline.background');
180
185
  }
181
186
 
182
187
  .button--interactive_0--bordered-light-outline,
183
188
  .button--interactive_0--bordered-light-outline:visited {
184
- background-color: token('color.interactive.0.default.background');
185
- color: token('color.interactive.0.default.foreground.primary');
186
- box-shadow: inset 0 0 0 token('border.width.slim') token('color.interactive.0.default.foreground.primary');
189
+ background-color: token('color.interactive.0.default.background');
190
+ color: token('color.interactive.0.default.foreground.primary');
191
+ box-shadow: inset 0 0 0 token('border.width.slim')
192
+ token('color.interactive.0.default.foreground.primary');
187
193
  }
188
194
 
189
195
  .button--interactive_0--bordered-light-outline:hover {
190
- background-color: token('color.interactive.0.hover.background');
191
- color: token('color.interactive.0.hover.foreground.primary');
196
+ background-color: token('color.interactive.0.hover.background');
197
+ color: token('color.interactive.0.hover.foreground.primary');
192
198
  }
193
199
 
194
200
  .button--interactive_0--bordered-light-outline:active {
195
- background-color: token('color.interactive.1.hover.background');
196
- color: token('color.interactive.1.active.foreground.primary');
201
+ background-color: token('color.interactive.1.hover.background');
202
+ color: token('color.interactive.1.active.foreground.primary');
197
203
  }
198
204
 
199
205
  .button--interactive_0--bordered-light-outline:disabled,
200
206
  .button--interactive_0--bordered-light-outline.button--disabled {
201
- background-color: token('color.interactive.0.disabled.background');
202
- color: token('color.interactive.0.disabled.foreground.primary');
207
+ background-color: token('color.interactive.0.disabled.background');
208
+ color: token('color.interactive.0.disabled.foreground.primary');
203
209
  }
204
210
 
205
211
  .button--interactive_0--bordered-light-outline:focus {
206
- outline: 0;
207
- box-shadow: inset 0 0 0 token('border.width.medium') token('color.interactive.0.active.background');
212
+ outline: 0;
213
+ box-shadow: inset 0 0 0 token('border.width.medium')
214
+ token('color.interactive.0.active.background');
208
215
  }
209
216
 
210
217
  /* Interactive button 1 */
211
218
 
212
219
  .button--interactive_1,
213
220
  .button--interactive_1:visited {
214
- background-color: token('color.interactive.1.default.background');
215
- color: token('color.interactive.1.default.foreground.primary');
221
+ background-color: token('color.interactive.1.default.background');
222
+ color: token('color.interactive.1.default.foreground.primary');
216
223
  }
217
224
 
218
225
  .button--interactive_1:hover {
219
- background-color: token('color.interactive.1.hover.background');
220
- color: token('color.interactive.1.hover.foreground.primary');
226
+ background-color: token('color.interactive.1.hover.background');
227
+ color: token('color.interactive.1.hover.foreground.primary');
221
228
  }
222
229
 
223
230
  .button--interactive_1:active {
224
- background-color: token('color.interactive.1.active.background');
225
- color: token('color.interactive.1.active.foreground.primary');
231
+ background-color: token('color.interactive.1.active.background');
232
+ color: token('color.interactive.1.active.foreground.primary');
226
233
  }
227
234
 
228
235
  .button--interactive_1:disabled,
229
236
  .button--interactive_1.button--disabled {
230
- background-color: token('color.interactive.1.disabled.background');
231
- color: token('color.interactive.1.disabled.foreground.primary');
237
+ background-color: token('color.interactive.1.disabled.background');
238
+ color: token('color.interactive.1.disabled.foreground.primary');
232
239
  }
233
240
 
234
241
  .button--interactive_1:focus {
235
- outline: 0;
236
- box-shadow: inset 0 0 0 token('border.width.medium') token('color.interactive.1.outline.background');
242
+ outline: 0;
243
+ box-shadow: inset 0 0 0 token('border.width.medium')
244
+ token('color.interactive.1.outline.background');
237
245
  }
238
246
 
239
247
  /* Interactive button 2 */
240
248
 
241
249
  .button--interactive_2,
242
250
  .button--interactive_2:visited {
243
- background-color: token('color.interactive.2.default.background');
244
- color: token('color.interactive.2.default.foreground.primary');
251
+ background-color: token('color.interactive.2.default.background');
252
+ color: token('color.interactive.2.default.foreground.primary');
245
253
  }
246
254
 
247
255
  .button--interactive_2:hover {
248
- background-color: token('color.interactive.2.hover.background');
249
- color: token('color.interactive.2.hover.foreground.primary');
256
+ background-color: token('color.interactive.2.hover.background');
257
+ color: token('color.interactive.2.hover.foreground.primary');
250
258
  }
251
259
 
252
260
  .button--interactive_2:active {
253
- background-color: token('color.interactive.2.active.background');
254
- color: token('color.interactive.2.active.foreground.primary');
261
+ background-color: token('color.interactive.2.active.background');
262
+ color: token('color.interactive.2.active.foreground.primary');
255
263
  }
256
264
 
257
265
  .button--interactive_2:disabled,
258
266
  .button--interactive_2.button--disabled {
259
- background-color: token('color.interactive.2.disabled.background');
260
- color: token('color.interactive.2.disabled.foreground.primary');
267
+ background-color: token('color.interactive.2.disabled.background');
268
+ color: token('color.interactive.2.disabled.foreground.primary');
261
269
  }
262
270
 
263
271
  .button--interactive_2:focus {
264
- outline: 0;
265
- box-shadow: inset 0 0 0 token('border.width.medium') token('color.interactive.2.outline.background');
272
+ outline: 0;
273
+ box-shadow: inset 0 0 0 token('border.width.medium')
274
+ token('color.interactive.2.outline.background');
266
275
  }
267
276
 
268
277
  /* Interactive button 2 alternative */
269
278
 
270
279
  .button--interactive_2--light-outline,
271
280
  .button--interactive_2--light-outline:visited {
272
- background-color: token('color.interactive.2.default.background');
273
- color: token('color.interactive.2.default.foreground.primary');
281
+ background-color: token('color.interactive.2.default.background');
282
+ color: token('color.interactive.2.default.foreground.primary');
274
283
  }
275
284
 
276
285
  .button--interactive_2--light-outline:hover {
277
- background-color: token('color.interactive.2.hover.background');
278
- color: token('color.interactive.2.hover.foreground.primary');
286
+ background-color: token('color.interactive.2.hover.background');
287
+ color: token('color.interactive.2.hover.foreground.primary');
279
288
  }
280
289
 
281
290
  .button--interactive_2--light-outline:active {
282
- background-color: token('color.interactive.2.active.background');
283
- color: token('color.interactive.2.active.foreground.primary');
291
+ background-color: token('color.interactive.2.active.background');
292
+ color: token('color.interactive.2.active.foreground.primary');
284
293
  }
285
294
 
286
295
  .button--interactive_2--light-outline:disabled,
287
296
  .button--interactive_2--light-outline.button--disabled {
288
- background-color: token('color.interactive.2.disabled.background');
289
- color: token('color.interactive.2.disabled.foreground.primary');
297
+ background-color: token('color.interactive.2.disabled.background');
298
+ color: token('color.interactive.2.disabled.foreground.primary');
290
299
  }
291
300
 
292
301
  .button--interactive_2--light-outline:focus {
293
- outline: 0;
294
- box-shadow: inset 0 0 0 token('border.width.medium') token('color.interactive.1.active.background');
302
+ outline: 0;
303
+ box-shadow: inset 0 0 0 token('border.width.medium')
304
+ token('color.interactive.1.active.background');
295
305
  }
296
306
 
297
307
  /* Interactive button 3 */
298
308
 
299
309
  .button--interactive_3,
300
310
  .button--interactive_3:visited {
301
- background-color: token('color.interactive.3.default.background');
302
- color: token('color.interactive.3.default.foreground.primary');
311
+ background-color: token('color.interactive.3.default.background');
312
+ color: token('color.interactive.3.default.foreground.primary');
303
313
  }
304
314
 
305
315
  .button--interactive_3:hover {
306
- background-color: token('color.interactive.3.hover.background');
307
- color: token('color.interactive.3.hover.foreground.primary');
316
+ background-color: token('color.interactive.3.hover.background');
317
+ color: token('color.interactive.3.hover.foreground.primary');
308
318
  }
309
319
 
310
320
  .button--interactive_3:active {
311
- background-color: token('color.interactive.3.active.background');
312
- color: token('color.interactive.3.active.foreground.primary');
321
+ background-color: token('color.interactive.3.active.background');
322
+ color: token('color.interactive.3.active.foreground.primary');
313
323
  }
314
324
 
315
325
  .button--interactive_3:disabled,
316
326
  .button--interactive_3.button--disabled {
317
- background-color: token('color.interactive.3.disabled.background');
318
- color: token('color.interactive.3.disabled.foreground.primary');
327
+ background-color: token('color.interactive.3.disabled.background');
328
+ color: token('color.interactive.3.disabled.foreground.primary');
319
329
  }
320
330
 
321
331
  .button--interactive_3:focus {
322
- outline: 0;
323
- box-shadow: inset 0 0 0 token('border.width.medium') token('color.interactive.3.outline.background');
332
+ outline: 0;
333
+ box-shadow: inset 0 0 0 token('border.width.medium')
334
+ token('color.interactive.3.outline.background');
324
335
  }
325
336
 
326
337
  /* Interactive button, destructive */
327
338
 
328
339
  .button--destructive,
329
340
  .button--destructive:visited {
330
- background-color: var(
331
- --interactive-interactive_destructive-default-background
332
- );
333
- color: token('color.interactive.destructive.default.foreground.primary');
341
+ background-color: var(
342
+ --interactive-interactive_destructive-default-background
343
+ );
344
+ color: token('color.interactive.destructive.default.foreground.primary');
334
345
  }
335
346
 
336
347
  .button--destructive:hover {
337
- background-color: token('color.interactive.destructive.hover.background');
338
- color: token('color.interactive.destructive.hover.foreground.primary');
348
+ background-color: token('color.interactive.destructive.hover.background');
349
+ color: token('color.interactive.destructive.hover.foreground.primary');
339
350
  }
340
351
 
341
352
  .button--destructive:active {
342
- background-color: token('color.interactive.destructive.active.background');
343
- color: token('color.interactive.destructive.active.foreground.primary');
353
+ background-color: token('color.interactive.destructive.active.background');
354
+ color: token('color.interactive.destructive.active.foreground.primary');
344
355
  }
345
356
 
346
357
  .button--destructive:disabled,
347
358
  .button--destructive.button--disabled {
348
- background-color: token('color.interactive.destructive.disabled.background');
349
- color: token('color.interactive.destructive.disabled.foreground.primary');
359
+ background-color: token('color.interactive.destructive.disabled.background');
360
+ color: token('color.interactive.destructive.disabled.foreground.primary');
350
361
  }
351
362
 
352
363
  .button--destructive:focus {
353
- outline: 0;
354
- box-shadow: inset 0 0 0 token('border.width.medium') token('color.interactive.destructive.outline.background');
364
+ outline: 0;
365
+ box-shadow: inset 0 0 0 token('border.width.medium')
366
+ token('color.interactive.destructive.outline.background');
355
367
  }
356
368
 
357
369
  .button--size_medium {
358
- padding: token('spacing.xLarge');
370
+ padding: token('spacing.xLarge');
359
371
  }
360
372
 
361
373
  .button--size_small {
362
- padding: token('spacing.medium');
374
+ padding: token('spacing.medium');
363
375
  }
364
376
 
365
377
  .button--size_compact {
366
- padding: 0;
378
+ padding: 0;
367
379
  }
368
380
 
369
381
  .button--size_pill {
370
- padding: token('spacing.xSmall') token('spacing.medium');
382
+ padding: token('spacing.xSmall') token('spacing.medium');
371
383
  }
372
384
 
373
385
  .button--radius_top-bottom {
374
- border-radius: token('border.radius.regular');
386
+ border-radius: token('border.radius.regular');
375
387
  }
376
388
 
377
389
  .button--radius_top {
378
- border-top-left-radius: token('border.radius.regular');
379
- border-top-right-radius: token('border.radius.regular');
390
+ border-top-left-radius: token('border.radius.regular');
391
+ border-top-right-radius: token('border.radius.regular');
380
392
  }
381
393
 
382
394
  .button--radius_bottom {
383
- border-bottom-left-radius: token('border.radius.regular');
384
- border-bottom-right-radius: token('border.radius.regular');
395
+ border-bottom-left-radius: token('border.radius.regular');
396
+ border-bottom-right-radius: token('border.radius.regular');
385
397
  }
386
398
 
387
399
  .button--radius_top-bottom.button--radiusSize_circular {
388
- border-radius: token('border.radius.circle');
400
+ border-radius: token('border.radius.circle');
389
401
  }
390
402
 
391
403
  .button--radius_top.button--radiusSize_circular {
392
- border-top-left-radius: token('border.radius.circle');
393
- border-top-right-radius: token('border.radius.circle');
404
+ border-top-left-radius: token('border.radius.circle');
405
+ border-top-right-radius: token('border.radius.circle');
394
406
  }
395
407
 
396
408
  .button--radius_bottom.button--radiusSize_circular {
397
- border-bottom-left-radius: token('border.radius.circle');
398
- border-bottom-right-radius: token('border.radius.circle');
409
+ border-bottom-left-radius: token('border.radius.circle');
410
+ border-bottom-right-radius: token('border.radius.circle');
399
411
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,UAAU,EAAC,MAAM,QAAQ,CAAC;AAC7C,YAAY,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC;AAC3C,YAAY,EAAC,WAAW,EAAC,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC/C,YAAY,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/button/link.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEH,eAAe,EAGlB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAC,SAAS,EAAC,MAAM,KAAK,CAAC;AAE9B,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;IAC1C;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,eAAe,CAAC;AAEpB,wBAAgB,UAAU,CAAC,EACI,IAAI,EACJ,OAAO,EACP,MAAM,EACN,MAAW,EACX,OAAe,EACf,GAAG,KAAK,EACX,EAAE,eAAe,2CAkC5C;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/button/link.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,eAAe,EAGhB,MAAM,SAAS,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ACb,IAAI,EAAE,SAAS,CAAC;QAChB,KAAK,EAAE,SAAS,CAAC;KAClB,CAAC,CAAC;CACJ,GAAG,oBAAoB,CAAC;AAEzB,wBAAgB,cAAc,CAAC,KAAK,EAAE,eAAe,GAAG,aAAa,CAGpE;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,aAAa,GAAG,aAAa,CAK1E;AAED,wBAAgB,sBAAsB,CAAC,EACrC,IAAsB,EACtB,IAAc,EACd,KAAc,EACd,MAAqB,EACrB,UAAsB,EACtB,OAAiB,EACjB,QAAgB,EAChB,SAAqB,GACtB,EAAE,eAAe,UAajB;AAED,iBAAS,UAAU,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,eAAe,2CAa1D;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,aAAa,GAAG;IACxB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EACI,QAAQ,EACR,KAAK,EACL,QAAgB,EAChB,QAAgB,EAChB,KAAK,EACL,WAAW,EACX,OAAe,EACf,MAAc,EACd,OAAO,GACV,EAAE,aAAa,2CAyChD"}
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,QAAQ,EACR,KAAK,EACL,QAAgB,EAChB,QAAgB,EAChB,KAAK,EACL,WAAW,EACX,OAAe,EACf,MAAc,EACd,OAAO,GACR,EAAE,aAAa,2CAyCf"}