@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
@@ -3,571 +3,587 @@
3
3
  @value typo-body__m from "@atb-as/theme/lib/generated/typography.module.css";
4
4
 
5
5
  .container {
6
- composes: typo-body__s;
7
- display: flex;
8
- flex-direction: column;
9
- flex-wrap: wrap;
10
- gap: token('spacing.small');
11
- color: token('color.background.neutral.0.foreground.primary');
12
- background-color: token('color.background.neutral.0.background');
6
+ composes: typo-body__s;
7
+ display: flex;
8
+ flex-direction: column;
9
+ flex-wrap: wrap;
10
+ gap: token('spacing.small');
11
+ color: token('color.background.neutral.0.foreground.primary');
12
+ background-color: token('color.background.neutral.0.background');
13
13
  }
14
14
 
15
15
  .rowDisplay {
16
- flex-direction: row-reverse;
17
- justify-content: start;
18
- gap: token('spacing.small');
16
+ flex-direction: row-reverse;
17
+ justify-content: start;
18
+ gap: token('spacing.small');
19
19
  }
20
20
 
21
21
  .input {
22
- background: transparent;
23
- color: token('color.foreground.dynamic.primary');
22
+ background: transparent;
23
+ color: token('color.foreground.dynamic.primary');
24
24
 
25
- padding: token('spacing.small');
25
+ padding: token('spacing.small');
26
26
 
27
- border: token('border.width.slim') solid token('color.foreground.dynamic.primary');
28
- border-radius: token('border.radius.small');
29
- width: 100%;
27
+ border: token('border.width.slim') solid
28
+ token('color.foreground.dynamic.primary');
29
+ border-radius: token('border.radius.small');
30
+ width: 100%;
30
31
  }
31
32
 
32
33
  .input:focus {
33
- outline: 0;
34
+ outline: 0;
34
35
  }
35
36
 
36
37
  .input::placeholder {
37
- color: token('color.foreground.dynamic.secondary');
38
- opacity: 1;
38
+ color: token('color.foreground.dynamic.secondary');
39
+ opacity: 1;
39
40
  }
40
41
 
41
42
  .input:disabled {
42
- cursor: not-allowed;
43
+ cursor: not-allowed;
43
44
  }
44
45
 
45
46
  .input:disabled::placeholder {
46
- color: token('color.foreground.dynamic.disabled');
47
+ color: token('color.foreground.dynamic.disabled');
47
48
  }
48
49
 
49
50
  .input:focus-within {
50
- outline: 0;
51
- box-shadow: inset 0 0 0 token('border.width.slim') token('color.interactive.2.outline.background');
51
+ outline: 0;
52
+ box-shadow: inset 0 0 0 token('border.width.slim')
53
+ token('color.interactive.2.outline.background');
52
54
  }
53
55
 
54
56
  .input__error {
55
- border-color: token('color.status.error.primary.background');
57
+ border-color: token('color.status.error.primary.background');
56
58
  }
57
59
 
58
60
  /* radio */
59
61
  .input__radio {
60
- clip: rect(0 0 0 0);
61
- clip-path: inset(100%);
62
- height: 1px;
63
- overflow: hidden;
64
- position: absolute;
65
- white-space: nowrap;
66
- width: 1px;
67
- display: block;
62
+ clip: rect(0 0 0 0);
63
+ clip-path: inset(100%);
64
+ height: 1px;
65
+ overflow: hidden;
66
+ position: absolute;
67
+ white-space: nowrap;
68
+ width: 1px;
69
+ display: block;
68
70
  }
69
71
 
70
72
  .input__radio:focus + .label__radio .label__radioBox {
71
- outline: 2px solid token('color.interactive.2.outline.background');
72
- outline-offset: 2px;
73
+ outline: 2px solid token('color.interactive.2.outline.background');
74
+ outline-offset: 2px;
73
75
  }
74
76
 
75
77
  .label__radioBox:hover {
76
- background-color: token('color.interactive.2.hover.background');
77
- color: token('color.interactive.2.hover.foreground.primary');
78
+ background-color: token('color.interactive.2.hover.background');
79
+ color: token('color.interactive.2.hover.foreground.primary');
78
80
  }
79
81
 
80
82
  .label__radioBox {
81
- display: block;
82
- border-radius: 50%;
83
- height: 1.25rem;
84
- width: 1.25rem;
85
- --padding: 2px;
86
- border: token('border.width.slim') solid token('color.foreground.dynamic.primary');
87
- padding: var(--padding);
88
- margin-right: token('spacing.medium');
83
+ display: block;
84
+ border-radius: 50%;
85
+ height: 1.25rem;
86
+ width: 1.25rem;
87
+ --padding: 2px;
88
+ border: token('border.width.slim') solid
89
+ token('color.foreground.dynamic.primary');
90
+ padding: var(--padding);
91
+ margin-right: token('spacing.medium');
89
92
  }
90
93
 
91
94
  .label__radioBox::after {
92
- content: '';
93
- display: block;
94
- height: calc(1rem - 2 * token('border.width.slim'));
95
- width: calc(1rem - 2 * token('border.width.slim'));
96
- border-radius: 50%;
97
- background: token('color.foreground.dynamic.primary');
95
+ content: '';
96
+ display: block;
97
+ height: calc(1rem - 2 * token('border.width.slim'));
98
+ width: calc(1rem - 2 * token('border.width.slim'));
99
+ border-radius: 50%;
100
+ background: token('color.foreground.dynamic.primary');
98
101
 
99
- transition: transform 100ms ease-in;
100
- transform: scale(0);
102
+ transition: transform 100ms ease-in;
103
+ transform: scale(0);
101
104
  }
102
105
 
103
106
  .input__radio:checked + .label__radio .label__radioBox::after {
104
- transform: scale(1);
107
+ transform: scale(1);
105
108
  }
106
109
 
107
110
  .label__radio {
108
- display: flex;
109
- cursor: pointer;
111
+ display: flex;
112
+ cursor: pointer;
110
113
 
111
- background: token('color.background.neutral.0.background');
112
- color: token('color.background.neutral.0.foreground.primary');
114
+ background: token('color.background.neutral.0.background');
115
+ color: token('color.background.neutral.0.foreground.primary');
113
116
 
114
- border-radius: token('border.radius.regular');
117
+ border-radius: token('border.radius.regular');
115
118
 
116
- border: token('border.width.slim') solid transparent;
119
+ border: token('border.width.slim') solid transparent;
117
120
 
118
- padding: token('spacing.small') 0;
121
+ padding: token('spacing.small') 0;
119
122
  }
120
123
 
121
124
  .label__info {
122
- display: flex;
123
- align-items: center;
124
- gap: token('spacing.medium');
125
- margin: token('spacing.small');
126
- margin-left: token('spacing.large');
127
- padding: token('spacing.small');
128
- background: token('color.background.neutral.1.background');
125
+ display: flex;
126
+ align-items: center;
127
+ gap: token('spacing.medium');
128
+ margin: token('spacing.small');
129
+ margin-left: token('spacing.large');
130
+ padding: token('spacing.small');
131
+ background: token('color.background.neutral.1.background');
129
132
  }
130
133
 
131
134
  .label_container {
132
- display: flex;
133
- justify-content: space-between;
135
+ display: flex;
136
+ justify-content: space-between;
134
137
  }
135
138
 
136
139
  /* Icon button */
137
140
  .iconButton {
138
- background: transparent;
139
- padding: 0;
140
- cursor: pointer;
141
- display: flex;
142
- align-items: center;
143
- border: none;
144
- border-radius: 50%;
141
+ background: transparent;
142
+ padding: 0;
143
+ cursor: pointer;
144
+ display: flex;
145
+ align-items: center;
146
+ border: none;
147
+ border-radius: 50%;
145
148
  }
146
149
 
147
150
  .iconButton:focus {
148
- outline: 2px solid token('color.interactive.2.outline.background');
149
- outline-offset: 2px;
151
+ outline: 2px solid token('color.interactive.2.outline.background');
152
+ outline-offset: 2px;
150
153
  }
151
154
 
152
155
  .iconButton:hover {
153
- background-color: token('color.interactive.2.hover.background');
154
- color: token('color.interactive.2.hover.foreground.primary');
156
+ background-color: token('color.interactive.2.hover.background');
157
+ color: token('color.interactive.2.hover.foreground.primary');
155
158
  }
156
159
 
157
160
  /* textare */
158
161
  .textarea_container {
159
- display: flex;
160
- flex-direction: column;
161
- gap: token('spacing.small');
162
+ display: flex;
163
+ flex-direction: column;
164
+ gap: token('spacing.small');
162
165
  }
163
166
 
164
167
  .textarea {
165
- border: token('border.width.slim') solid token('color.foreground.dynamic.primary');
166
- border-radius: token('border.radius.small');
167
- padding: token('spacing.small');
168
- width: 100%;
169
- min-height: 6rem;
170
- font-family: var(--font-main) !important;
171
- font-size: 1rem !important;
172
- line-height: var(--baseTypo-body__m-lineHeight, 1.25rem) !important;
173
- letter-spacing: var(
174
- --baseTypo-body__m-letterSpacing,
175
- 0.03125rem
176
- ) !important;
168
+ border: token('border.width.slim') solid
169
+ token('color.foreground.dynamic.primary');
170
+ border-radius: token('border.radius.small');
171
+ padding: token('spacing.small');
172
+ width: 100%;
173
+ min-height: 6rem;
174
+ font-family: var(--font-main) !important;
175
+ font-size: 1rem !important;
176
+ line-height: var(--baseTypo-body__m-lineHeight, 1.25rem) !important;
177
+ letter-spacing: var(--baseTypo-body__m-letterSpacing, 0.03125rem) !important;
177
178
  }
178
179
 
179
180
  /** file input */
180
181
  .file_input__container {
181
- display: flex;
182
- flex-direction: column;
183
- gap: token('spacing.small');
182
+ display: flex;
183
+ flex-direction: column;
184
+ gap: token('spacing.small');
184
185
  }
185
186
 
186
187
  .input__file {
187
- opacity: 0;
188
- display: none;
189
- width: 100%;
190
- height: 100%;
191
- cursor: pointer;
188
+ opacity: 0;
189
+ display: none;
190
+ width: 100%;
191
+ height: 100%;
192
+ cursor: pointer;
192
193
  }
193
194
 
194
195
  .label__file {
195
- display: flex;
196
- gap: token('spacing.small');
197
- align-items: center;
198
- background-color: token('color.background.neutral.1.background');
199
- color: token('color.foreground.dynamic.primary');
200
- padding: token('spacing.small');
201
- border: token('border.width.slim') solid token('color.foreground.dynamic.primary');
202
- border-radius: token('border.radius.small');
203
- cursor: pointer;
196
+ display: flex;
197
+ gap: token('spacing.small');
198
+ align-items: center;
199
+ background-color: token('color.background.neutral.1.background');
200
+ color: token('color.foreground.dynamic.primary');
201
+ padding: token('spacing.small');
202
+ border: token('border.width.slim') solid
203
+ token('color.foreground.dynamic.primary');
204
+ border-radius: token('border.radius.small');
205
+ cursor: pointer;
204
206
  }
205
207
 
206
208
  .label__file:focus {
207
- outline: 0;
208
- box-shadow: inset 0 0 0 token('border.width.slim') token('color.interactive.2.outline.background');
209
+ outline: 0;
210
+ box-shadow: inset 0 0 0 token('border.width.slim')
211
+ token('color.interactive.2.outline.background');
209
212
  }
210
213
 
211
214
  .label__file:hover {
212
- background-color: token('color.interactive.2.hover.background');
213
- color: token('color.interactive.2.hover.foreground.primary');
215
+ background-color: token('color.interactive.2.hover.background');
216
+ color: token('color.interactive.2.hover.foreground.primary');
214
217
  }
215
218
 
216
219
  .fileList {
217
- display: flex;
218
- flex-direction: column;
219
- gap: token('spacing.small');
220
- padding: token('spacing.small') 0;
220
+ display: flex;
221
+ flex-direction: column;
222
+ gap: token('spacing.small');
223
+ padding: token('spacing.small') 0;
221
224
  }
222
225
 
223
226
  .fileItem {
224
- display: flex;
225
- align-items: center;
226
- gap: token('spacing.small');
227
+ display: flex;
228
+ align-items: center;
229
+ gap: token('spacing.small');
227
230
  }
228
231
 
229
232
  /* modal */
230
233
  .modal_wrapper {
231
- position: fixed;
232
- z-index: 200;
233
- top: 0;
234
- left: 0;
235
- bottom: 0;
236
- right: 0;
237
- background: rgba(0, 0, 0, 0.5);
238
- display: flex;
239
- flex-direction: column;
240
- justify-content: center;
241
- align-items: center;
234
+ position: fixed;
235
+ z-index: 200;
236
+ top: 0;
237
+ left: 0;
238
+ bottom: 0;
239
+ right: 0;
240
+ background: rgba(0, 0, 0, 0.5);
241
+ display: flex;
242
+ flex-direction: column;
243
+ justify-content: center;
244
+ align-items: center;
242
245
  }
243
246
 
244
247
  .modal_content {
245
- position: relative;
246
- display: flex;
247
- flex-direction: column;
248
- max-width: 32rem;
249
- padding: token('spacing.large');
250
- border: token('border.width.medium') solid token('color.interactive.2.outline.background'); /* Use border property */
251
- box-shadow: inset 0 0 0 token('border.width.medium') token('color.interactive.2.outline.background');
252
- color: token('color.background.neutral.0.foreground.primary');
253
- background-color: token('color.background.neutral.0.background');
254
- border-radius: token('border.radius.regular');
248
+ position: relative;
249
+ display: flex;
250
+ flex-direction: column;
251
+ max-width: 32rem;
252
+ padding: token('spacing.large');
253
+ border: token('border.width.medium') solid
254
+ token('color.interactive.2.outline.background'); /* Use border property */
255
+ box-shadow: inset 0 0 0 token('border.width.medium')
256
+ token('color.interactive.2.outline.background');
257
+ color: token('color.background.neutral.0.foreground.primary');
258
+ background-color: token('color.background.neutral.0.background');
259
+ border-radius: token('border.radius.regular');
255
260
  }
256
261
 
257
262
  .modal_content > * + * {
258
- margin-top: token('spacing.small');
263
+ margin-top: token('spacing.small');
259
264
  }
260
265
 
261
266
  .modal_header {
262
- display: flex;
263
- justify-content: space-between;
267
+ display: flex;
268
+ justify-content: space-between;
264
269
  }
265
270
 
266
271
  .modal__rules_list {
267
- padding: token('spacing.medium');
268
- padding-left: token('spacing.xLarge');
272
+ padding: token('spacing.medium');
273
+ padding-left: token('spacing.xLarge');
269
274
  }
270
275
 
271
276
  .modal__rules_list > li {
272
- padding: token('spacing.xSmall') 0;
277
+ padding: token('spacing.xSmall') 0;
273
278
  }
274
279
 
275
280
  /* select and searchable-select*/
276
281
  .select__select_container,
277
282
  .searchable_select__comboBox {
278
- display: flex;
279
- flex-direction: column;
280
- gap: token('spacing.small');
283
+ display: flex;
284
+ flex-direction: column;
285
+ gap: token('spacing.small');
281
286
  }
282
287
 
283
288
  .searchable_select__input_container {
284
- position: relative;
285
- display: flex;
286
- align-items: center;
289
+ position: relative;
290
+ display: flex;
291
+ align-items: center;
287
292
  }
288
293
 
289
294
  .searchable_select__group,
290
295
  .searchable_select__disabled {
291
- display: flex;
292
- flex-direction: row;
293
- align-items: center;
294
- border: token('border.width.slim') solid token('color.foreground.dynamic.primary');
295
- border-radius: token('border.radius.small');
296
+ display: flex;
297
+ flex-direction: row;
298
+ align-items: center;
299
+ border: token('border.width.slim') solid
300
+ token('color.foreground.dynamic.primary');
301
+ border-radius: token('border.radius.small');
296
302
  }
297
303
 
298
304
  .searchable_select__group:focus-within {
299
- outline: 0;
300
- box-shadow: inset 0 0 0 token('border.width.slim') token('color.interactive.2.outline.background');
305
+ outline: 0;
306
+ box-shadow: inset 0 0 0 token('border.width.slim')
307
+ token('color.interactive.2.outline.background');
301
308
  }
302
309
 
303
310
  .searchable_select__input {
304
- flex-grow: 2;
305
- border: none;
306
- outline: none;
307
- padding: token('spacing.small');
308
- background-color: transparent;
309
- color: token('color.background.neutral.2.foreground.primary');
311
+ flex-grow: 2;
312
+ border: none;
313
+ outline: none;
314
+ padding: token('spacing.small');
315
+ background-color: transparent;
316
+ color: token('color.background.neutral.2.foreground.primary');
310
317
  }
311
318
 
312
319
  .searchable_select__input_disabled {
313
- cursor: not-allowed;
320
+ cursor: not-allowed;
314
321
  }
315
322
 
316
323
  .searchable_select__input::placeholder {
317
- color: token('color.foreground.dynamic.secondary');
318
- opacity: 1;
324
+ color: token('color.foreground.dynamic.secondary');
325
+ opacity: 1;
319
326
  }
320
327
 
321
328
  .searchable_select__input:not(:focus):placeholder-shown {
322
- color: token('color.foreground.dynamic.secondary');
323
- font-style: italic;
324
- opacity: 0.7;
329
+ color: token('color.foreground.dynamic.secondary');
330
+ font-style: italic;
331
+ opacity: 0.7;
325
332
  }
326
333
 
327
334
  .searchable_select__button {
328
- display: flex;
329
- border: none;
330
- padding: token('spacing.small');
331
- background-color: transparent;
335
+ display: flex;
336
+ border: none;
337
+ padding: token('spacing.small');
338
+ background-color: transparent;
332
339
  }
333
340
 
334
341
  .searchable_select__button:disabled {
335
- cursor: not-allowed;
342
+ cursor: not-allowed;
336
343
  }
337
344
 
338
345
  .select__popover,
339
346
  .searchable_select__popover {
340
- overflow: auto;
341
- max-height: 16rem;
342
- width: var(--trigger-width);
343
- border: token('border.width.slim') solid token('color.foreground.dynamic.primary');
344
- border-radius: token('border.radius.small');
345
- color: token('color.background.neutral.0.foreground.primary');
346
- background: token('color.background.neutral.0.background');
347
- animation: fadeIn 0.2s;
348
- padding: token('spacing.small');
349
- margin-bottom: token('spacing.small');
347
+ overflow: auto;
348
+ max-height: 16rem;
349
+ width: var(--trigger-width);
350
+ border: token('border.width.slim') solid
351
+ token('color.foreground.dynamic.primary');
352
+ border-radius: token('border.radius.small');
353
+ color: token('color.background.neutral.0.foreground.primary');
354
+ background: token('color.background.neutral.0.background');
355
+ animation: fadeIn 0.2s;
356
+ padding: token('spacing.small');
357
+ margin-bottom: token('spacing.small');
350
358
  }
351
359
 
352
360
  @keyframes fadeIn {
353
- from {
354
- opacity: 0;
355
- }
356
- to {
357
- opacity: 1;
358
- }
361
+ from {
362
+ opacity: 0;
363
+ }
364
+ to {
365
+ opacity: 1;
366
+ }
359
367
  }
360
368
 
361
369
  .select__listBox,
362
370
  .searchable_select__listBox {
363
- max-height: 16rem;
364
- overflow-y: auto;
365
- outline: none;
371
+ max-height: 16rem;
372
+ overflow-y: auto;
373
+ outline: none;
366
374
  }
367
375
 
368
376
  .searchable_select__truncate {
369
- text-overflow: ellipsis;
370
- overflow: hidden;
371
- white-space: nowrap;
377
+ text-overflow: ellipsis;
378
+ overflow: hidden;
379
+ white-space: nowrap;
372
380
  }
373
381
 
374
382
  .select__listBoxItem,
375
383
  .searchable_select__listBoxItem {
376
- display: flex;
377
- align-items: center;
378
- cursor: default;
379
- color: token('color.background.neutral.0.foreground.primary');
380
- border-radius: token('border.radius.small');
381
- border-bottom: 1px solid token('color.background.neutral.2.background');
382
- z-index: 1;
384
+ display: flex;
385
+ align-items: center;
386
+ cursor: default;
387
+ color: token('color.background.neutral.0.foreground.primary');
388
+ border-radius: token('border.radius.small');
389
+ border-bottom: 1px solid token('color.background.neutral.2.background');
390
+ z-index: 1;
383
391
  }
384
392
 
385
393
  .select__item,
386
394
  .searchable_select__item {
387
- width: 100%;
388
- display: flex;
389
- justify-content: space-between;
390
- align-items: center;
391
- gap: token('spacing.small');
392
- padding: token('spacing.small');
395
+ width: 100%;
396
+ display: flex;
397
+ justify-content: space-between;
398
+ align-items: center;
399
+ gap: token('spacing.small');
400
+ padding: token('spacing.small');
393
401
  }
394
402
 
395
403
  .select__item:active,
396
404
  .searchable_select__item:active {
397
- background-color: token('color.interactive.3.active.background');
398
- color: token('color.interactive.3.active.foreground.primary');
399
- z-index: 2;
405
+ background-color: token('color.interactive.3.active.background');
406
+ color: token('color.interactive.3.active.foreground.primary');
407
+ z-index: 2;
400
408
  }
401
409
 
402
410
  .select__highlight,
403
411
  .searchable_select__highlight {
404
- position: relative;
405
- border-radius: token('border.radius.small');
406
- background-color: token('color.interactive.2.active.background');
407
- color: token('color.interactive.2.active.foreground.primary');
408
- z-index: 2;
412
+ position: relative;
413
+ border-radius: token('border.radius.small');
414
+ background-color: token('color.interactive.2.active.background');
415
+ color: token('color.interactive.2.active.foreground.primary');
416
+ z-index: 2;
409
417
  }
410
418
 
411
419
  .searchable_select__selected {
412
- position: relative;
413
- border-radius: token('border.radius.small');
414
- background-color: token('color.interactive.2.active.background');
415
- color: token('color.interactive.2.active.foreground.primary');
416
- z-index: 2;
420
+ position: relative;
421
+ border-radius: token('border.radius.small');
422
+ background-color: token('color.interactive.2.active.background');
423
+ color: token('color.interactive.2.active.foreground.primary');
424
+ z-index: 2;
417
425
  }
418
426
 
419
427
  .select__button {
420
- width: 100%;
421
- display: flex;
422
- justify-content: space-between;
423
- align-items: center;
424
- padding: token('spacing.small');
425
- color: token('color.foreground.dynamic.primary');
426
- background-color: transparent;
427
- border-radius: token('border.radius.small');
428
- border: token('border.width.slim') solid token('color.foreground.dynamic.primary');
428
+ width: 100%;
429
+ display: flex;
430
+ justify-content: space-between;
431
+ align-items: center;
432
+ padding: token('spacing.small');
433
+ color: token('color.foreground.dynamic.primary');
434
+ background-color: transparent;
435
+ border-radius: token('border.radius.small');
436
+ border: token('border.width.slim') solid
437
+ token('color.foreground.dynamic.primary');
429
438
  }
430
439
 
431
440
  .select__button:disabled {
432
- cursor: not-allowed;
441
+ cursor: not-allowed;
433
442
  }
434
443
 
435
444
  .select__button:focus-within {
436
- outline: 0;
437
- box-shadow: inset 0 0 0 token('border.width.slim') token('color.interactive.2.outline.background');
445
+ outline: 0;
446
+ box-shadow: inset 0 0 0 token('border.width.slim')
447
+ token('color.interactive.2.outline.background');
438
448
  }
439
449
 
440
450
  .select__item:focus,
441
451
  .select__listBoxItem:focus {
442
- outline: 0;
443
- border-radius: token('border.radius.small');
452
+ outline: 0;
453
+ border-radius: token('border.radius.small');
444
454
  }
445
455
 
446
456
  .select__placholder {
447
- font-style: italic;
448
- opacity: 0.7;
449
- padding-right: token('spacing.small');
457
+ font-style: italic;
458
+ opacity: 0.7;
459
+ padding-right: token('spacing.small');
450
460
  }
451
461
 
452
462
  /* Time and date selector */
453
463
  .dateSelectorContainer,
454
464
  .timeSelectorContainer {
455
- display: flex;
456
- flex-direction: column;
457
- gap: token('spacing.small');
465
+ display: flex;
466
+ flex-direction: column;
467
+ gap: token('spacing.small');
458
468
  }
459
469
 
460
470
  .dateSelector,
461
471
  .timeSelector {
462
- display: contents;
463
- --height: 2.75rem;
464
- overflow: hidden;
465
- border-radius: token('border.radius.small');
472
+ display: contents;
473
+ --height: 2.75rem;
474
+ overflow: hidden;
475
+ border-radius: token('border.radius.small');
466
476
  }
467
477
 
468
478
  .dateSelector input[type='date'],
469
479
  .timeSelector input[type='time'] {
470
- height: var(--height);
471
- padding: token('spacing.medium');
472
- border: none;
473
- background-color: transparent;
474
- color: token('color.background.neutral.0.foreground.primary');
475
- flex: 1;
480
+ height: var(--height);
481
+ padding: token('spacing.medium');
482
+ border: none;
483
+ background-color: transparent;
484
+ color: token('color.background.neutral.0.foreground.primary');
485
+ flex: 1;
476
486
  }
477
487
 
478
488
  .dateSelectorInput,
479
489
  .timeSelectorInput {
480
- width: 100%;
481
- height: var(--height);
482
- display: flex;
483
- align-items: center;
484
- padding: token('spacing.medium');
485
- color: token('color.background.neutral.0.foreground.primary');
486
- border-radius: token('border.radius.small');
487
- border: token('border.width.slim') solid token('color.foreground.dynamic.primary');
490
+ width: 100%;
491
+ height: var(--height);
492
+ display: flex;
493
+ align-items: center;
494
+ padding: token('spacing.medium');
495
+ color: token('color.background.neutral.0.foreground.primary');
496
+ border-radius: token('border.radius.small');
497
+ border: token('border.width.slim') solid
498
+ token('color.foreground.dynamic.primary');
488
499
  }
489
500
 
490
501
  .dateSelectorInput:focus-within,
491
502
  .timeSelectorInput:focus-within {
492
- box-shadow: inset 0 0 0 token('border.width.slim') token('color.interactive.2.outline.background');
503
+ box-shadow: inset 0 0 0 token('border.width.slim')
504
+ token('color.interactive.2.outline.background');
493
505
  }
494
506
 
495
507
  .dateSelectorSegment:focus,
496
508
  .timeSelectorSegment:focus {
497
- border-radius: token('border.radius.small');
509
+ border-radius: token('border.radius.small');
498
510
  }
499
511
 
500
512
  .calendarSelectorGroup {
501
- display: flex;
502
- position: relative;
503
- width: 100%;
513
+ display: flex;
514
+ position: relative;
515
+ width: 100%;
504
516
  }
505
517
 
506
518
  .calendarButton {
507
- position: absolute;
508
- right: 0;
509
- border: none;
510
- cursor: pointer;
511
- background: none;
512
- margin: token('spacing.medium');
513
- border-radius: token('border.radius.small');
519
+ position: absolute;
520
+ right: 0;
521
+ border: none;
522
+ cursor: pointer;
523
+ background: none;
524
+ margin: token('spacing.medium');
525
+ border-radius: token('border.radius.small');
514
526
  }
515
527
 
516
528
  .calendarDialog {
517
- padding: token('spacing.xSmall');
518
- background: token('color.background.neutral.0.background');
519
- box-shadow: 0.2rem 0.2rem 0.3rem rgba(0, 0, 0, 0.15);
529
+ padding: token('spacing.xSmall');
530
+ background: token('color.background.neutral.0.background');
531
+ box-shadow: 0.2rem 0.2rem 0.3rem rgba(0, 0, 0, 0.15);
520
532
  }
521
533
 
522
534
  .calendarDialog__header {
523
- display: flex;
524
- gap: token('spacing.medium');
525
- justify-content: center;
526
- align-items: center;
527
- padding: token('spacing.small');
535
+ display: flex;
536
+ gap: token('spacing.medium');
537
+ justify-content: center;
538
+ align-items: center;
539
+ padding: token('spacing.small');
528
540
  }
529
541
 
530
542
  .calendarDialog__title {
531
- composes: typo-heading__m from '@atb-as/theme/lib/generated/typography.module.css';
543
+ composes: typo-heading__m from '@atb-as/theme/lib/generated/typography.module.css';
532
544
  }
533
545
 
534
546
  .calendarDialog__headerButtons {
535
- background: none;
536
- border: none;
537
- padding: token('spacing.xSmall') token('spacing.medium');
538
- cursor: pointer;
547
+ background: none;
548
+ border: none;
549
+ padding: token('spacing.xSmall') token('spacing.medium');
550
+ cursor: pointer;
539
551
  }
540
552
 
541
553
  .calendarGrid {
542
- width: 100%;
554
+ width: 100%;
543
555
  }
544
556
 
545
557
  .calendarGrid__cell {
546
- padding: token('spacing.xSmall') token('spacing.medium');
547
- cursor: pointer;
548
- text-align: center;
549
- border-radius: token('border.radius.small');
558
+ padding: token('spacing.xSmall') token('spacing.medium');
559
+ cursor: pointer;
560
+ text-align: center;
561
+ border-radius: token('border.radius.small');
550
562
  }
551
563
 
552
564
  .calendarGrid__cell[data-disabled] {
553
- opacity: 0.3;
554
- cursor: default;
565
+ opacity: 0.3;
566
+ cursor: default;
555
567
  }
556
568
 
557
569
  .calendarGrid__cell[data-selected] {
558
- background-color: token('color.interactive.2.active.background');
559
- color: token('color.interactive.2.active.foreground.primary');
560
- font-weight: bold;
561
- border-radius: token('border.radius.small');
570
+ background-color: token('color.interactive.2.active.background');
571
+ color: token('color.interactive.2.active.foreground.primary');
572
+ font-weight: bold;
573
+ border-radius: token('border.radius.small');
562
574
  }
563
575
 
564
- :global(.dark) .dateSelector input[type='date']::-webkit-calendar-picker-indicator,
565
- :global(.dark) .timeSelector input[type='time']::-webkit-calendar-picker-indicator {
566
- filter: invert(1);
576
+ :global(.dark)
577
+ .dateSelector
578
+ input[type='date']::-webkit-calendar-picker-indicator,
579
+ :global(.dark)
580
+ .timeSelector
581
+ input[type='time']::-webkit-calendar-picker-indicator {
582
+ filter: invert(1);
567
583
  }
568
584
 
569
585
  .required::after {
570
- content: '*';
571
- color: token('color.status.error.primary.background');
572
- margin-left: token('spacing.small');
586
+ content: '*';
587
+ color: token('color.status.error.primary.background');
588
+ margin-left: token('spacing.small');
573
589
  }