@fremtind/jokul 0.22.1 → 0.22.2

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 (359) hide show
  1. package/build/build-stats.html +1 -1
  2. package/build/cjs/components/menu/MenuItemCheckbox.js +1 -1
  3. package/build/cjs/components/menu/MenuItemCheckbox.js.map +1 -1
  4. package/build/components/ScreenReaderOnly.d.ts +6 -0
  5. package/build/components/accordion/Accordion.d.ts +8 -0
  6. package/build/components/accordion/AccordionItem.d.ts +10 -0
  7. package/build/components/accordion/index.d.ts +4 -0
  8. package/build/components/breadcrumb/Breadcrumb.d.ts +6 -0
  9. package/build/components/breadcrumb/BreadcrumbItem.d.ts +10 -0
  10. package/build/components/breadcrumb/index.d.ts +4 -0
  11. package/build/components/button/Button.d.ts +7 -0
  12. package/build/components/button/index.d.ts +2 -0
  13. package/build/components/button/types.d.ts +43 -0
  14. package/build/components/card/Card.d.ts +37 -0
  15. package/build/components/card/CardImage.d.ts +19 -0
  16. package/build/components/card/InfoCard.d.ts +13 -0
  17. package/build/components/card/NavCard.d.ts +35 -0
  18. package/build/components/card/TaskCard.d.ts +23 -0
  19. package/build/components/card/documentation/examples/FakturainfoExample.d.ts +4 -0
  20. package/build/components/card/documentation/examples/InfoCardExample.d.ts +3 -0
  21. package/build/components/card/documentation/examples/NavCardExample.d.ts +3 -0
  22. package/build/components/card/documentation/examples/StatuskortExample.d.ts +4 -0
  23. package/build/components/card/documentation/examples/TaskCardExample.d.ts +3 -0
  24. package/build/components/card/documentation/examples/TopExample.d.ts +3 -0
  25. package/build/components/card/documentation/examples/cardExampleProps.d.ts +13 -0
  26. package/build/components/card/index.d.ts +9 -0
  27. package/build/components/card/types.d.ts +44 -0
  28. package/build/components/card/utils.d.ts +3 -0
  29. package/build/components/checkbox/Checkbox.d.ts +17 -0
  30. package/build/components/checkbox/index.d.ts +2 -0
  31. package/build/components/combobox/Combobox.d.ts +39 -0
  32. package/build/components/combobox/index.d.ts +2 -0
  33. package/build/components/cookie-consent/CookieConsent.d.ts +6 -0
  34. package/build/components/cookie-consent/CookieConsentContext.d.ts +48 -0
  35. package/build/components/cookie-consent/CookieConsentModal.d.ts +3 -0
  36. package/build/components/cookie-consent/consents/CustomConsents.d.ts +9 -0
  37. package/build/components/cookie-consent/consents/DefaultConsents.d.ts +9 -0
  38. package/build/components/cookie-consent/consents/RequirementCheckbox.d.ts +9 -0
  39. package/build/components/cookie-consent/cookieConsentUtils.d.ts +23 -0
  40. package/build/components/cookie-consent/index.d.ts +5 -0
  41. package/build/components/cookie-consent/types.d.ts +12 -0
  42. package/build/components/datepicker/DatePicker.d.ts +3 -0
  43. package/build/components/datepicker/index.d.ts +4 -0
  44. package/build/components/datepicker/internal/Calendar.d.ts +17 -0
  45. package/build/components/datepicker/internal/calendarReducer.d.ts +18 -0
  46. package/build/components/datepicker/internal/useCalendar.d.ts +59 -0
  47. package/build/components/datepicker/internal/utils.d.ts +167 -0
  48. package/build/components/datepicker/types.d.ts +269 -0
  49. package/build/components/datepicker/utils.d.ts +23 -0
  50. package/build/components/datepicker/validation.d.ts +11 -0
  51. package/build/components/description-list/DescriptionList.d.ts +14 -0
  52. package/build/components/description-list/index.d.ts +1 -0
  53. package/build/components/expander/ExpandSection.d.ts +22 -0
  54. package/build/components/expander/Expander.d.ts +28 -0
  55. package/build/components/expander/index.d.ts +4 -0
  56. package/build/components/feedback/Feedback.d.ts +50 -0
  57. package/build/components/feedback/FeedbackSuccess.d.ts +3 -0
  58. package/build/components/feedback/FeedbackValues.d.ts +6 -0
  59. package/build/components/feedback/feedbackContext.d.ts +20 -0
  60. package/build/components/feedback/followup/Followup.d.ts +14 -0
  61. package/build/components/feedback/followup/followupContext.d.ts +9 -0
  62. package/build/components/feedback/followup/useFollowup.d.ts +19 -0
  63. package/build/components/feedback/index.d.ts +3 -0
  64. package/build/components/feedback/main-question/MainQuestion.d.ts +16 -0
  65. package/build/components/feedback/main-question/mainQuestionContext.d.ts +9 -0
  66. package/build/components/feedback/main-question/useMainQuestion.d.ts +13 -0
  67. package/build/components/feedback/presets.d.ts +6 -0
  68. package/build/components/feedback/questions/AddonQuestion.d.ts +7 -0
  69. package/build/components/feedback/questions/CheckboxQuestion.d.ts +3 -0
  70. package/build/components/feedback/questions/ContactQuestion.d.ts +28 -0
  71. package/build/components/feedback/questions/RadioQuestion.d.ts +3 -0
  72. package/build/components/feedback/questions/SmileyQuestion.d.ts +3 -0
  73. package/build/components/feedback/questions/TextQuestion.d.ts +3 -0
  74. package/build/components/feedback/questions/index.d.ts +6 -0
  75. package/build/components/feedback/questions/smileyUtils.d.ts +4 -0
  76. package/build/components/feedback/types.d.ts +86 -0
  77. package/build/components/feedback/utils.d.ts +4 -0
  78. package/build/components/flex/Flex.d.ts +14 -0
  79. package/build/components/flex/index.d.ts +1 -0
  80. package/build/components/icon/Icon.d.ts +24 -0
  81. package/build/components/icon/documentation/internal/AnimatedIcon.d.ts +7 -0
  82. package/build/components/icon/documentation/internal/IconExample.d.ts +7 -0
  83. package/build/components/icon/documentation/internal/IconsExampleGrid.d.ts +8 -0
  84. package/build/components/icon/icons/ArrowDownIcon.d.ts +2 -0
  85. package/build/components/icon/icons/ArrowLeftIcon.d.ts +2 -0
  86. package/build/components/icon/icons/ArrowNorthEastIcon.d.ts +2 -0
  87. package/build/components/icon/icons/ArrowRightIcon.d.ts +2 -0
  88. package/build/components/icon/icons/ArrowUpIcon.d.ts +2 -0
  89. package/build/components/icon/icons/CalendarIcon.d.ts +2 -0
  90. package/build/components/icon/icons/CheckIcon.d.ts +2 -0
  91. package/build/components/icon/icons/ChevronDownIcon.d.ts +2 -0
  92. package/build/components/icon/icons/ChevronLeftIcon.d.ts +2 -0
  93. package/build/components/icon/icons/ChevronRightIcon.d.ts +2 -0
  94. package/build/components/icon/icons/ChevronUpIcon.d.ts +2 -0
  95. package/build/components/icon/icons/CloseIcon.d.ts +2 -0
  96. package/build/components/icon/icons/CopyIcon.d.ts +2 -0
  97. package/build/components/icon/icons/DotsIcon.d.ts +2 -0
  98. package/build/components/icon/icons/DragIcon.d.ts +2 -0
  99. package/build/components/icon/icons/ErrorIcon.d.ts +2 -0
  100. package/build/components/icon/icons/GreenCheckIcon.d.ts +3 -0
  101. package/build/components/icon/icons/HamburgerIcon.d.ts +2 -0
  102. package/build/components/icon/icons/InfoIcon.d.ts +2 -0
  103. package/build/components/icon/icons/LinkIcon.d.ts +2 -0
  104. package/build/components/icon/icons/MinusIcon.d.ts +2 -0
  105. package/build/components/icon/icons/PenIcon.d.ts +2 -0
  106. package/build/components/icon/icons/PlusIcon.d.ts +2 -0
  107. package/build/components/icon/icons/QuestionIcon.d.ts +2 -0
  108. package/build/components/icon/icons/RedCrossIcon.d.ts +3 -0
  109. package/build/components/icon/icons/SearchIcon.d.ts +2 -0
  110. package/build/components/icon/icons/SuccessIcon.d.ts +2 -0
  111. package/build/components/icon/icons/ThumbDownIcon.d.ts +2 -0
  112. package/build/components/icon/icons/ThumbUpIcon.d.ts +2 -0
  113. package/build/components/icon/icons/TrashCanIcon.d.ts +2 -0
  114. package/build/components/icon/icons/WarningIcon.d.ts +2 -0
  115. package/build/components/icon/icons/animated/ArrowHorizontalAnimated.d.ts +9 -0
  116. package/build/components/icon/icons/animated/ArrowVerticalAnimated.d.ts +9 -0
  117. package/build/components/icon/icons/animated/PlusRemoveAnimated.d.ts +9 -0
  118. package/build/components/icon/index.d.ts +39 -0
  119. package/build/components/icon/types.d.ts +19 -0
  120. package/build/components/icon-button/IconButton.d.ts +6 -0
  121. package/build/components/icon-button/index.d.ts +2 -0
  122. package/build/components/image/Image.d.ts +13 -0
  123. package/build/components/image/documentation/internal/props.d.ts +5 -0
  124. package/build/components/image/index.d.ts +3 -0
  125. package/build/components/image/useImageLoadingStatus.d.ts +2 -0
  126. package/build/components/index.d.ts +39 -0
  127. package/build/components/input-group/FieldGroup.d.ts +16 -0
  128. package/build/components/input-group/InputGroup.d.ts +40 -0
  129. package/build/components/input-group/Label.d.ts +14 -0
  130. package/build/components/input-group/SupportLabel.d.ts +61 -0
  131. package/build/components/input-group/index.d.ts +4 -0
  132. package/build/components/link/Link.d.ts +7 -0
  133. package/build/components/link/NavLink.d.ts +8 -0
  134. package/build/components/link/index.d.ts +2 -0
  135. package/build/components/link-list/LinkList.d.ts +16 -0
  136. package/build/components/link-list/index.d.ts +1 -0
  137. package/build/components/list/List.d.ts +8 -0
  138. package/build/components/list/ListItem.d.ts +8 -0
  139. package/build/components/list/index.d.ts +3 -0
  140. package/build/components/loader/Loader.d.ts +16 -0
  141. package/build/components/loader/index.d.ts +18 -0
  142. package/build/components/loader/skeletons/SkeletonAnimation.d.ts +16 -0
  143. package/build/components/loader/skeletons/SkeletonButton.d.ts +7 -0
  144. package/build/components/loader/skeletons/SkeletonCheckboxGroup.d.ts +12 -0
  145. package/build/components/loader/skeletons/SkeletonElement.d.ts +8 -0
  146. package/build/components/loader/skeletons/SkeletonInput.d.ts +11 -0
  147. package/build/components/loader/skeletons/SkeletonLabel.d.ts +8 -0
  148. package/build/components/loader/skeletons/SkeletonRadioButtonGroup.d.ts +12 -0
  149. package/build/components/loader/skeletons/SkeletonTable.d.ts +19 -0
  150. package/build/components/loader/skeletons/SkeletonTextArea.d.ts +11 -0
  151. package/build/components/loader/useDelayedRender.d.ts +1 -0
  152. package/build/components/logo/Logo.d.ts +15 -0
  153. package/build/components/logo/LogoStamp.d.ts +16 -0
  154. package/build/components/logo/index.d.ts +5 -0
  155. package/build/components/logo/text-paths/ForsikringLevertAvFremtind.d.ts +2 -0
  156. package/build/components/logo/text-paths/FraSB1ogDNB.d.ts +2 -0
  157. package/build/components/logo/text-paths/InnovasjonFraFremtind.d.ts +2 -0
  158. package/build/components/logo/text-paths/TeknologiFraFremtind.d.ts +2 -0
  159. package/build/components/logo/text-paths/VartEgetForsikringsselskap.d.ts +2 -0
  160. package/build/components/logo/text-paths/VartForsikringsselskap.d.ts +2 -0
  161. package/build/components/logo/text-paths/index.d.ts +6 -0
  162. package/build/components/logo/useTextSpinner.d.ts +5 -0
  163. package/build/components/menu/Menu.d.ts +39 -0
  164. package/build/components/menu/MenuDivider.d.ts +2 -0
  165. package/build/components/menu/MenuItem.d.ts +25 -0
  166. package/build/components/menu/MenuItemCheckbox.d.ts +11 -0
  167. package/build/components/menu/index.d.ts +4 -0
  168. package/build/components/menu/useMenuWideEvents.d.ts +6 -0
  169. package/build/components/message/DismissButton.d.ts +5 -0
  170. package/build/components/message/FormErrorMessage.d.ts +14 -0
  171. package/build/components/message/Message.d.ts +19 -0
  172. package/build/components/message/index.d.ts +2 -0
  173. package/build/components/modal/Modal.d.ts +72 -0
  174. package/build/components/modal/index.d.ts +4 -0
  175. package/build/components/modal/useModal.d.ts +69 -0
  176. package/build/components/pagination/PageButton.d.ts +7 -0
  177. package/build/components/pagination/Pagination.d.ts +18 -0
  178. package/build/components/pagination/index.d.ts +1 -0
  179. package/build/components/popover/Popover.d.ts +154 -0
  180. package/build/components/popover/index.d.ts +1 -0
  181. package/build/components/progress-bar/Countdown.d.ts +12 -0
  182. package/build/components/progress-bar/ProgressBar.d.ts +22 -0
  183. package/build/components/progress-bar/index.d.ts +4 -0
  184. package/build/components/radio-button/BaseRadioButton.d.ts +10 -0
  185. package/build/components/radio-button/RadioButton.d.ts +15 -0
  186. package/build/components/radio-button/RadioButtonGroup.d.ts +24 -0
  187. package/build/components/radio-button/index.d.ts +6 -0
  188. package/build/components/radio-button/radioGroupContext.d.ts +16 -0
  189. package/build/components/select/NativeSelect.d.ts +19 -0
  190. package/build/components/select/Select.d.ts +53 -0
  191. package/build/components/select/index.d.ts +4 -0
  192. package/build/components/select/select-utils.d.ts +2 -0
  193. package/build/components/summary-table/SummaryTable.d.ts +9 -0
  194. package/build/components/summary-table/SummaryTableRow.d.ts +7 -0
  195. package/build/components/summary-table/index.d.ts +2 -0
  196. package/build/components/summary-table/mocks/index.d.ts +10 -0
  197. package/build/components/system-message/SystemMessage.d.ts +21 -0
  198. package/build/components/system-message/common/DismissButton.d.ts +5 -0
  199. package/build/components/system-message/common/MessageIcon.d.ts +7 -0
  200. package/build/components/system-message/index.d.ts +1 -0
  201. package/build/components/table/DataTable.d.ts +18 -0
  202. package/build/components/table/ExpandableTableRow.d.ts +17 -0
  203. package/build/components/table/ExpandableTableRowController.d.ts +10 -0
  204. package/build/components/table/Table.d.ts +11 -0
  205. package/build/components/table/TableBody.d.ts +5 -0
  206. package/build/components/table/TableCaption.d.ts +7 -0
  207. package/build/components/table/TableCell.d.ts +17 -0
  208. package/build/components/table/TableColumn.d.ts +5 -0
  209. package/build/components/table/TableColumnGroup.d.ts +5 -0
  210. package/build/components/table/TableFooter.d.ts +5 -0
  211. package/build/components/table/TableHead.d.ts +7 -0
  212. package/build/components/table/TableHeader.d.ts +22 -0
  213. package/build/components/table/TablePagination.d.ts +43 -0
  214. package/build/components/table/TableRow.d.ts +15 -0
  215. package/build/components/table/index.d.ts +34 -0
  216. package/build/components/table/tableContext.d.ts +12 -0
  217. package/build/components/table/tableSectionContext.d.ts +13 -0
  218. package/build/components/table/utils.d.ts +10 -0
  219. package/build/components/tabs/NavTab.d.ts +25 -0
  220. package/build/components/tabs/NavTabs.d.ts +9 -0
  221. package/build/components/tabs/Tab.d.ts +11 -0
  222. package/build/components/tabs/TabList.d.ts +18 -0
  223. package/build/components/tabs/TabPanel.d.ts +11 -0
  224. package/build/components/tabs/Tabs.d.ts +15 -0
  225. package/build/components/tabs/index.d.ts +6 -0
  226. package/build/components/tabs/tabsContext.d.ts +11 -0
  227. package/build/components/tag/Tag.d.ts +15 -0
  228. package/build/components/tag/index.d.ts +3 -0
  229. package/build/components/text-input/BaseTextArea.d.ts +27 -0
  230. package/build/components/text-input/BaseTextInput.d.ts +42 -0
  231. package/build/components/text-input/TextArea.d.ts +6 -0
  232. package/build/components/text-input/TextInput.d.ts +9 -0
  233. package/build/components/text-input/index.d.ts +4 -0
  234. package/build/components/toast/Toast.d.ts +11 -0
  235. package/build/components/toast/ToastRegion.d.ts +7 -0
  236. package/build/components/toast/index.d.ts +2 -0
  237. package/build/components/toast/toastContext.d.ts +16 -0
  238. package/build/components/toast/types.d.ts +10 -0
  239. package/build/components/toggle-switch/ToggleSlider.d.ts +12 -0
  240. package/build/components/toggle-switch/ToggleSwitch.d.ts +32 -0
  241. package/build/components/toggle-switch/index.d.ts +2 -0
  242. package/build/components/toggle-switch/usePillStyles.d.ts +5 -0
  243. package/build/components/tooltip/PopupTip.d.ts +13 -0
  244. package/build/components/tooltip/TooltipContent.d.ts +2 -0
  245. package/build/components/tooltip/TooltipTrigger.d.ts +2 -0
  246. package/build/components/tooltip/index.d.ts +4 -0
  247. package/build/core/index.d.ts +2 -0
  248. package/build/core/tokens.d.ts +372 -0
  249. package/build/core/types.d.ts +41 -0
  250. package/build/es/components/menu/MenuItemCheckbox.js +1 -1
  251. package/build/es/components/menu/MenuItemCheckbox.js.map +1 -1
  252. package/build/hooks/index.d.ts +18 -0
  253. package/build/hooks/mediaQueryUtils.d.ts +21 -0
  254. package/build/hooks/useAnimatedDetails/index.d.ts +1 -0
  255. package/build/hooks/useAnimatedDetails/useAnimatedDetails.d.ts +20 -0
  256. package/build/hooks/useAnimatedHeight/index.d.ts +4 -0
  257. package/build/hooks/useAnimatedHeight/types.d.ts +26 -0
  258. package/build/hooks/useAnimatedHeight/useAnimatedHeight.d.ts +10 -0
  259. package/build/hooks/useAnimatedHeight/useAnimatedHeightBetween.d.ts +10 -0
  260. package/build/hooks/useAnimatedHeight/useAutoAnimateHeight.d.ts +20 -0
  261. package/build/hooks/useAriaLiveRegion/index.d.ts +1 -0
  262. package/build/hooks/useAriaLiveRegion/useAriaLiveRegion.d.ts +15 -0
  263. package/build/hooks/useBrowserPreferences/index.d.ts +1 -0
  264. package/build/hooks/useBrowserPreferences/useBrowserPreferences.d.ts +12 -0
  265. package/build/hooks/useClickOutside/index.d.ts +1 -0
  266. package/build/hooks/useClickOutside/useClickOutside.d.ts +7 -0
  267. package/build/hooks/useElementDimensions/index.d.ts +1 -0
  268. package/build/hooks/useElementDimensions/useElementDimensions.d.ts +11 -0
  269. package/build/hooks/useFocusOutside/index.d.ts +1 -0
  270. package/build/hooks/useFocusOutside/useFocusOutside.d.ts +7 -0
  271. package/build/hooks/useId/index.d.ts +1 -0
  272. package/build/hooks/useId/useId.d.ts +11 -0
  273. package/build/hooks/useIntersectionObserver/index.d.ts +1 -0
  274. package/build/hooks/useIntersectionObserver/useIntersectionObserver.d.ts +13 -0
  275. package/build/hooks/useKeyListener/index.d.ts +1 -0
  276. package/build/hooks/useKeyListener/useKeyListener.d.ts +8 -0
  277. package/build/hooks/useListNavigation/index.d.ts +1 -0
  278. package/build/hooks/useListNavigation/useListNavigation.d.ts +7 -0
  279. package/build/hooks/useLocalStorage/index.d.ts +1 -0
  280. package/build/hooks/useLocalStorage/useLocalStorage.d.ts +1 -0
  281. package/build/hooks/useMutationObserver/index.d.ts +1 -0
  282. package/build/hooks/useMutationObserver/useMutationObserver.d.ts +9 -0
  283. package/build/hooks/usePreviousValue/index.d.ts +1 -0
  284. package/build/hooks/usePreviousValue/usePreviousValue.d.ts +6 -0
  285. package/build/hooks/useProgressiveImg/index.d.ts +1 -0
  286. package/build/hooks/useProgressiveImg/useProgressiveImg.d.ts +10 -0
  287. package/build/hooks/useScreen/index.d.ts +2 -0
  288. package/build/hooks/useScreen/state.d.ts +17 -0
  289. package/build/hooks/useScreen/useScreen.d.ts +6 -0
  290. package/build/hooks/useScrollIntoView/index.d.ts +1 -0
  291. package/build/hooks/useScrollIntoView/useScrollIntoView.d.ts +11 -0
  292. package/build/hooks/useSwipeGesture/index.d.ts +1 -0
  293. package/build/hooks/useSwipeGesture/useSwipeGesture.d.ts +27 -0
  294. package/build/index.d.ts +4 -0
  295. package/build/utilities/constants/index.d.ts +2 -0
  296. package/build/utilities/constants/unicode.d.ts +13 -0
  297. package/build/utilities/formatters/avstand/formatAvstand.d.ts +23 -0
  298. package/build/utilities/formatters/bytes/formatBytes.d.ts +8 -0
  299. package/build/utilities/formatters/date/formatDate.d.ts +15 -0
  300. package/build/utilities/formatters/fodselsnummer/formatFodselsnummer.d.ts +15 -0
  301. package/build/utilities/formatters/index.d.ts +14 -0
  302. package/build/utilities/formatters/kontonummer/formatKontonummer.d.ts +16 -0
  303. package/build/utilities/formatters/kortnummer/formatKortnummer.d.ts +15 -0
  304. package/build/utilities/formatters/organisasjonsnummer/formatOrganisasjonsnummer.d.ts +15 -0
  305. package/build/utilities/formatters/telefonnummer/formatTelefonnummer.d.ts +18 -0
  306. package/build/utilities/formatters/util/formatNumber.d.ts +14 -0
  307. package/build/utilities/formatters/util/parseNumber.d.ts +6 -0
  308. package/build/utilities/formatters/util/registerWithMask.d.ts +42 -0
  309. package/build/utilities/formatters/valuta/formatValuta.d.ts +18 -0
  310. package/build/utilities/getThemeAndDensity.d.ts +4 -0
  311. package/build/utilities/index.d.ts +7 -0
  312. package/build/utilities/polymorphism/SlotComponent.d.ts +7 -0
  313. package/build/utilities/polymorphism/as-child.d.ts +39 -0
  314. package/build/utilities/polymorphism/index.d.ts +5 -0
  315. package/build/utilities/polymorphism/mergeProps.d.ts +3 -0
  316. package/build/utilities/polymorphism/mergeRefs.d.ts +3 -0
  317. package/build/utilities/polymorphism/polymorphism.d.ts +11 -0
  318. package/build/utilities/tabListener.d.ts +1 -0
  319. package/build/utilities/validators/hasMinimumWords/hasMinimumWords.d.ts +10 -0
  320. package/build/utilities/validators/hasNoIllegalCharacters/hasNoIllegalCharacters.d.ts +7 -0
  321. package/build/utilities/validators/index.d.ts +12 -0
  322. package/build/utilities/validators/isExactLength/isExactLength.d.ts +7 -0
  323. package/build/utilities/validators/isInteger/isInteger.d.ts +7 -0
  324. package/build/utilities/validators/isValidChassisnummer/isValidChassisnummer.d.ts +7 -0
  325. package/build/utilities/validators/isValidDogId/isValidDogId.d.ts +7 -0
  326. package/build/utilities/validators/isValidEpost/isValidEpost.d.ts +7 -0
  327. package/build/utilities/validators/isValidFodselsnummer/isValidFodselsnummer.d.ts +30 -0
  328. package/build/utilities/validators/isValidKortnummer/isValidKortnummer.d.ts +6 -0
  329. package/build/utilities/validators/isValidName/isValidName.d.ts +7 -0
  330. package/build/utilities/validators/isValidOrganisasjonsnummer/isValidOrganisasjonsnummer.d.ts +6 -0
  331. package/build/utilities/validators/isValidRegistreringsnummer/isValidRegistreringsnummer.d.ts +12 -0
  332. package/build/utilities/validators/isValidTelefonnummer/isValidTelefonnummer.d.ts +7 -0
  333. package/build/utilities/valuePair.d.ts +6 -0
  334. package/package.json +2 -2
  335. package/src/components/button/styles/button.css +2 -2
  336. package/src/components/button/styles/button.min.css +1 -1
  337. package/src/components/checkbox/styles/checkbox.css +4 -4
  338. package/src/components/checkbox/styles/checkbox.min.css +1 -1
  339. package/src/components/feedback/styles/feedback.css +2 -2
  340. package/src/components/feedback/styles/feedback.min.css +1 -1
  341. package/src/components/input-group/styles/input-group.css +2 -2
  342. package/src/components/input-group/styles/input-group.min.css +1 -1
  343. package/src/components/loader/styles/loader.css +6 -6
  344. package/src/components/loader/styles/loader.min.css +1 -1
  345. package/src/components/loader/styles/skeleton-loader.css +5 -5
  346. package/src/components/loader/styles/skeleton-loader.min.css +1 -1
  347. package/src/components/message/styles/message.css +2 -2
  348. package/src/components/message/styles/message.min.css +1 -1
  349. package/src/components/progress-bar/styles/progress-bar.css +2 -2
  350. package/src/components/progress-bar/styles/progress-bar.min.css +1 -1
  351. package/src/components/radio-button/styles/radio-button.css +3 -3
  352. package/src/components/radio-button/styles/radio-button.min.css +1 -1
  353. package/src/components/radio-button/styles/radio-button.scss +1 -1
  354. package/src/components/system-message/styles/system-message.css +2 -2
  355. package/src/components/system-message/styles/system-message.min.css +1 -1
  356. package/src/components/toast/styles/toast.css +4 -4
  357. package/src/components/toast/styles/toast.min.css +1 -1
  358. package/src/styles/styles.css +34 -34
  359. package/src/styles/styles.min.css +1 -1
@@ -0,0 +1,50 @@
1
+ import { ReactElement, ReactNode, ComponentProps } from 'react';
2
+ import { BaseTextAreaProps } from '../text-input';
3
+ import { Followup } from './followup/Followup';
4
+ import { ContactQuestion } from './questions';
5
+ import { FeedbackOption, FeedbackType } from './types';
6
+ type FollowupProps = ComponentProps<typeof Followup>;
7
+ type ContactQuestionProps = ComponentProps<typeof ContactQuestion>;
8
+ type Props = {
9
+ className?: string;
10
+ /** Velg typen alternativer, Smiley eller RadioButtons. */
11
+ type: "radio" | "smiley";
12
+ /** Spørsmålet som stilles til brukeren */
13
+ label: string;
14
+ /** Hjelpetekst til hovedspørsmålet */
15
+ helpLabel?: string;
16
+ /** Svaralternativer til spørsmålet */
17
+ options: FeedbackOption[];
18
+ /** Dersom du vil stille et åpent spørsmål i tillegg kan du sette denne til en truthy verdi */
19
+ addOnQuestion?: {
20
+ /** Spørsmålet du vil stille */
21
+ label?: string;
22
+ /** Eventuell hjelpetekst. Om du ikke spesifiserer en vil det vises en påminnelse om å ikke skrive inn personling informasjon. */
23
+ helpLabel?: string;
24
+ } | boolean;
25
+ /** Lar deg tilpasse meldingen som kommer når brukeren sender inn tilbakemeldingen. */
26
+ successMessage?: {
27
+ title: string;
28
+ children: ReactNode;
29
+ };
30
+ /**
31
+ * Funksjon for å håndtere innsending av tilbakemelding
32
+ * @param value Verdien av tilbakemeldingen. Dette er et objekt med følgende egenskaper:
33
+ * - `feedbackValue`: Selve verdien av tilbakemeldingen (format varierer etter spørsmålstype)
34
+ * - `intentionalSubmit`: Er `true` hvis brukeren aktivt sendte inn skjemaet, `false` hvis skjemaet ble sendt inn automatisk
35
+ * - `message`: Eventuell utfyllende melding fra bruker. Blir kun sendt inn ved aktiv innsending
36
+ */
37
+ onSubmit: (value: FeedbackType) => void;
38
+ followup?: FollowupProps;
39
+ contactQuestion?: ContactQuestionProps;
40
+ /**
41
+ * Hvis du ønsker at Feedback formen skal eksponeres som et landmark kan du sende inn
42
+ * hva du ønsker at en skjermleser skal kalle den her. Bare eksponer Feedback som et
43
+ * landmark på sider der den er en viktig del av innholdet, feks en kvitteringsside
44
+ * eller et annet sted det å kunne gi tilbakemelding vil føles naturlig eller forventet
45
+ * for brukeren.
46
+ */
47
+ landmarkLabel?: string;
48
+ } & Pick<BaseTextAreaProps, "counter">;
49
+ export declare const Feedback: ({ className, followup, contactQuestion, counter, landmarkLabel, ...mainQuestionProps }: Props) => ReactElement;
50
+ export {};
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { MessageProps } from '../message';
3
+ export declare const FeedbackSuccess: FC<MessageProps>;
@@ -0,0 +1,6 @@
1
+ import { FeedbackOption } from './types';
2
+ export declare const VERY_UNHAPPY: FeedbackOption;
3
+ export declare const UNHAPPY: FeedbackOption;
4
+ export declare const NEUTRAL: FeedbackOption;
5
+ export declare const HAPPY: FeedbackOption;
6
+ export declare const VERY_HAPPY: FeedbackOption;
@@ -0,0 +1,20 @@
1
+ import { FC } from 'react';
2
+ import { WithChildren } from '../..';
3
+ import { BaseTextAreaProps } from '../text-input';
4
+ type FeedbackContext = {
5
+ feedbackSubmitted: boolean;
6
+ followupStarted: boolean;
7
+ followupSubmitted: boolean;
8
+ contactSubmitted: boolean;
9
+ landmarkLabel?: string;
10
+ setFeedbackSubmitted: (state: boolean) => void;
11
+ setFollowupStarted: (state: boolean) => void;
12
+ setFollowupSubmitted: (state: boolean) => void;
13
+ setContactSubmitted: (state: boolean) => void;
14
+ } & Pick<BaseTextAreaProps, "counter">;
15
+ export declare const useFeedbackContext: () => FeedbackContext;
16
+ interface FeedbackContextProviderProps extends WithChildren {
17
+ value: FeedbackContext;
18
+ }
19
+ export declare const FeedbackContextProvider: FC<FeedbackContextProviderProps>;
20
+ export {};
@@ -0,0 +1,14 @@
1
+ import { ReactNode, FC } from 'react';
2
+ import { FeedbackAnswer, FollowupQuestion } from '../types';
3
+ interface Props {
4
+ /** Spørsmålet/ene som skal stilles. Kan være av typen radio, checkbox eller text */
5
+ questions: FollowupQuestion[];
6
+ /** Lar deg tilpasse meldingen som kommer når brukeren har svart på spørsmålene. */
7
+ successMessage?: {
8
+ title: string;
9
+ children: ReactNode;
10
+ };
11
+ onSubmit: (values: FeedbackAnswer[]) => void;
12
+ }
13
+ export declare const Followup: FC<Props>;
14
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { WithChildren } from '../../..';
3
+ import { FollowupState } from '../types';
4
+ export declare const useFollowUpContext: () => FollowupState | undefined;
5
+ interface FollowupContextProviderProps extends WithChildren {
6
+ state: FollowupState;
7
+ }
8
+ export declare const FollowUpProvider: React.FC<FollowupContextProviderProps>;
9
+ export {};
@@ -0,0 +1,19 @@
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ import { FeedbackAnswer, FeedbackOption, FollowupQuestion } from '../types';
3
+ type CurrentValue = FeedbackOption<string | number> | FeedbackOption<string | number>[] | undefined;
4
+ type Followup = {
5
+ questions: FollowupQuestion[];
6
+ values: FeedbackAnswer[] | undefined;
7
+ step: {
8
+ number: number;
9
+ question: FollowupQuestion;
10
+ isLast: boolean;
11
+ };
12
+ currentValue: CurrentValue;
13
+ setCurrentValue: Dispatch<SetStateAction<CurrentValue>>;
14
+ submitted: boolean;
15
+ handleNext: () => void;
16
+ handleAbort: () => void;
17
+ };
18
+ export declare const useFollowup: (questions: FollowupQuestion[], onSubmit: (a: FeedbackAnswer[]) => void) => Followup;
19
+ export {};
@@ -0,0 +1,3 @@
1
+ import { Feedback } from './Feedback';
2
+ import { PRESETS } from './presets';
3
+ export { Feedback, PRESETS };
@@ -0,0 +1,16 @@
1
+ import { ReactNode, FC, ComponentProps } from 'react';
2
+ import { Feedback } from '../Feedback';
3
+ import { FeedbackOption, FeedbackType } from '../types';
4
+ type Props = Pick<ComponentProps<typeof Feedback>, "addOnQuestion"> & {
5
+ type: "radio" | "smiley";
6
+ label: string;
7
+ helpLabel?: string;
8
+ options: FeedbackOption[];
9
+ successMessage?: {
10
+ title: string;
11
+ children: ReactNode;
12
+ };
13
+ onSubmit: (value: FeedbackType) => void;
14
+ };
15
+ export declare const MainQuestion: FC<Props>;
16
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { WithChildren } from '../../..';
3
+ import { FeedbackState } from '../types';
4
+ export declare const useMainQuestionContext: () => FeedbackState | undefined;
5
+ interface Props extends WithChildren {
6
+ state: FeedbackState;
7
+ }
8
+ export declare const MainQuestionContextProvider: React.FC<Props>;
9
+ export {};
@@ -0,0 +1,13 @@
1
+ import { SetStateAction, Dispatch, FormEventHandler } from 'react';
2
+ import { FeedbackType, FeedbackOption } from '../types';
3
+ type Value = FeedbackOption<string | number> | FeedbackOption<string | number>[] | undefined;
4
+ type MainQuestion = {
5
+ currentValue: Value;
6
+ setCurrentValue: Dispatch<SetStateAction<Value>>;
7
+ message: string | undefined;
8
+ setMessage: Dispatch<SetStateAction<string | undefined>>;
9
+ submitted: boolean;
10
+ handleSubmit: FormEventHandler<HTMLFormElement>;
11
+ };
12
+ export declare const useMainQuestion: (onSubmit: (f: FeedbackType) => void) => MainQuestion;
13
+ export {};
@@ -0,0 +1,6 @@
1
+ import { ComponentProps } from 'react';
2
+ import { Feedback } from './';
3
+ type FeedbackProps = ComponentProps<typeof Feedback>;
4
+ type PresetProperties = Pick<FeedbackProps, "label" | "type" | "options" | "addOnQuestion">;
5
+ export declare const PRESETS: Record<string, PresetProperties>;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ interface Props {
3
+ label?: string;
4
+ helpLabel?: string;
5
+ }
6
+ export declare const AddonQuestion: React.FC<Props>;
7
+ export {};
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { QuestionProps } from '../types';
3
+ export declare const CheckboxQuestion: React.FC<QuestionProps>;
@@ -0,0 +1,28 @@
1
+ import { FC, ReactNode } from 'react';
2
+ interface Props {
3
+ /**
4
+ * Lar deg tilpasse spørsmålsteksten.
5
+ * @default "Kan vi kontakte deg for flere innspill?"
6
+ * */
7
+ label?: string;
8
+ /**
9
+ * Lar deg tilpasse teksten på knappen for innsending.
10
+ * @default "Sett meg på lista!"
11
+ * */
12
+ sendButtonLabel?: string;
13
+ /** Sett til true om du også vil spørre om brukjerens telefonnummer i tillegg til epost */
14
+ withPhone?: boolean;
15
+ /** Her kan du legge inn eventuelt annet innhold du vil ha med. Kommer mellom overskriften og feltene for utfylling */
16
+ children?: ReactNode;
17
+ onSubmit: (values: {
18
+ email: string;
19
+ phone?: string;
20
+ }) => void;
21
+ /** Lar deg tilpasse meldingen som kommer når brukeren sender inn skjemaet. */
22
+ successMessage?: {
23
+ title: string;
24
+ children: ReactNode;
25
+ };
26
+ }
27
+ export declare const ContactQuestion: FC<Props>;
28
+ export {};
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { QuestionProps } from '../types';
3
+ export declare const RadioQuestion: React.FC<QuestionProps>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { QuestionProps } from '../types';
3
+ export declare const SmileyQuestion: React.FC<QuestionProps>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { QuestionProps } from '../types';
3
+ export declare const TextQuestion: React.FC<QuestionProps>;
@@ -0,0 +1,6 @@
1
+ export { CheckboxQuestion } from './CheckboxQuestion';
2
+ export { RadioQuestion } from './RadioQuestion';
3
+ export { TextQuestion } from './TextQuestion';
4
+ export { SmileyQuestion } from './SmileyQuestion';
5
+ export { AddonQuestion } from './AddonQuestion';
6
+ export { ContactQuestion } from './ContactQuestion';
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { FeedbackOption } from '../types';
3
+ export declare const defaultOptions: FeedbackOption<number>[];
4
+ export declare const getSmiley: (value: number) => React.JSX.Element;
@@ -0,0 +1,86 @@
1
+ import { Dispatch, FormEvent, FormEventHandler, SetStateAction } from 'react';
2
+ export type FeedbackOption<T = string | number> = {
3
+ /** Teksten som vises ved alternativet */
4
+ label: string;
5
+ value: T;
6
+ /** Her kan du spesifisere en egen tekst til oppfølgingsspørsmålet dersom dette alternativet er valgt (gjelder kun alternativene til hovedspørsmålet i Feedback, ignoreres ellers) */
7
+ textAreaLabel?: string;
8
+ };
9
+ export type QuestionType = "radio" | "checkbox" | "text" | "smiley";
10
+ interface BaseQuestion {
11
+ type: QuestionType;
12
+ label: string;
13
+ helpLabel?: string;
14
+ name?: string;
15
+ }
16
+ interface RadioQuestion extends BaseQuestion {
17
+ type: "radio";
18
+ options: FeedbackOption[];
19
+ }
20
+ interface CheckboxQuestion extends BaseQuestion {
21
+ type: "checkbox";
22
+ options: FeedbackOption[];
23
+ }
24
+ interface SmileyQuestion extends BaseQuestion {
25
+ type: "smiley";
26
+ options: FeedbackOption<number>[];
27
+ }
28
+ interface TextQuestion extends BaseQuestion {
29
+ type: "text";
30
+ }
31
+ export type MainQuestion = RadioQuestion | SmileyQuestion;
32
+ export type FollowupQuestion = MainQuestion | TextQuestion | CheckboxQuestion;
33
+ interface BaseFeedbackAnswer {
34
+ label: string;
35
+ name: string;
36
+ type: "radio" | "checkbox" | "text";
37
+ }
38
+ interface MultiFeedbackAnswer extends BaseFeedbackAnswer {
39
+ type: "checkbox";
40
+ value: string[];
41
+ }
42
+ interface SingleFeedbackAnswer extends BaseFeedbackAnswer {
43
+ type: "radio" | "text";
44
+ value: string;
45
+ }
46
+ export type FeedbackAnswer = SingleFeedbackAnswer | MultiFeedbackAnswer;
47
+ export type FeedbackType = {
48
+ /** Feedbackverdien, format avhenger av typen spørsmål */
49
+ feedbackValue: number | string | Array<string | number>;
50
+ /** Angir hvorvidt brukeren aktivt sendte inn tilbakemeldingen. Dersom `false` ble skjemaet sendt inn da brukeren forlot siden */
51
+ intentionalSubmit: boolean;
52
+ /** Eventuell utfyllende melding fra brukeren. Blir bare sendt inn dersom brukeren aktivt sender inn tilbakemelding */
53
+ message?: string;
54
+ };
55
+ export type FeedbackState = {
56
+ currentValue?: FeedbackOption | FeedbackOption[];
57
+ setCurrentValue: Dispatch<SetStateAction<FeedbackOption | FeedbackOption[] | undefined>>;
58
+ message?: string;
59
+ setMessage: Dispatch<SetStateAction<string | undefined>>;
60
+ submitted: boolean;
61
+ handleSubmit: FormEventHandler<HTMLFormElement>;
62
+ };
63
+ export type FollowUpStep = {
64
+ number: number;
65
+ question: BaseQuestion;
66
+ isLast: boolean;
67
+ };
68
+ export type FollowupState = {
69
+ questions: BaseQuestion[];
70
+ values: FeedbackAnswer[] | undefined;
71
+ currentValue?: FeedbackOption | FeedbackOption[];
72
+ step: FollowUpStep;
73
+ submitted: boolean;
74
+ handleNext: (e?: FormEvent<HTMLFormElement>) => void;
75
+ handleAbort: () => void;
76
+ setCurrentValue: Dispatch<SetStateAction<FeedbackOption | FeedbackOption[] | undefined>>;
77
+ };
78
+ export interface QuestionProps {
79
+ type?: QuestionType;
80
+ label: string;
81
+ name?: string;
82
+ helpLabel?: string;
83
+ options?: FeedbackOption[];
84
+ autoFocus?: boolean;
85
+ }
86
+ export {};
@@ -0,0 +1,4 @@
1
+ import { default as React, JSXElementConstructor, FC } from 'react';
2
+ import { QuestionProps, QuestionType } from './types';
3
+ export declare function getChildrenOfType<P>(...allowedTypes: Array<string | JSXElementConstructor<P>>): (children: React.ReactNode) => React.ReactElement<P, string | React.JSXElementConstructor<unknown>>[] | null | undefined;
4
+ export declare const getQuestionFromType: (type: QuestionType) => FC<QuestionProps>;
@@ -0,0 +1,14 @@
1
+ import { default as React, CSSProperties } from 'react';
2
+ import { tokens } from '../../core';
3
+ import { AsChildProps, PolymorphicPropsWithRef } from '../../utilities';
4
+ export type FlexDirection = "row" | "row-reverse" | "column" | "column-reverse";
5
+ export type GapValue = Exclude<keyof (typeof tokens)["spacing"], 0>;
6
+ export type FlexProps<ElementType extends React.ElementType> = PolymorphicPropsWithRef<ElementType, {
7
+ direction?: FlexDirection;
8
+ wrap?: boolean;
9
+ gap?: GapValue;
10
+ colGap?: GapValue;
11
+ rowGap?: GapValue;
12
+ } & Pick<CSSProperties, "alignContent" | "alignItems" | "justifyContent" | "justifyItems">>;
13
+ export type FlexComponent = <ElementType extends React.ElementType = "div">(props: FlexProps<ElementType> & AsChildProps) => React.ReactElement | null;
14
+ export declare const Flex: FlexComponent;
@@ -0,0 +1 @@
1
+ export { Flex } from './Flex';
@@ -0,0 +1,24 @@
1
+ import { default as React } from 'react';
2
+ import { PolymorphicPropsWithRef } from '../../utilities';
3
+ import { IconVariant } from './types';
4
+ type IconComponentProps<ElementType extends Extract<React.ElementType, "span" | "div">> = PolymorphicPropsWithRef<ElementType, {
5
+ "data-testid"?: string;
6
+ /**
7
+ * Størrelsesvarianten til ikonet. `"small"` er 16px med 20px bounding box, og `"medium"` er 20px med 24px bounding box.
8
+ * `"inherit"` setter størrelsen til ikonet (ikke bounding box) lik skriftstørrelsen (1em).
9
+ */
10
+ variant?: IconVariant;
11
+ /**
12
+ * Angir om ikonet skal vises i fet versjon
13
+ * @default false
14
+ */
15
+ bold?: boolean;
16
+ filled?: boolean;
17
+ className?: string;
18
+ style?: React.CSSProperties;
19
+ }>;
20
+ export type IconComponent = (<ElementType extends Extract<React.ElementType, "span" | "div"> = "span">(props: IconComponentProps<ElementType>) => React.ReactElement | null) & {
21
+ displayName?: string;
22
+ };
23
+ export declare const Icon: IconComponent;
24
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ interface AnimatedIconProps {
3
+ renderIcon: (arg0: boolean) => React.ReactNode;
4
+ iconName?: string;
5
+ }
6
+ export declare const AnimatedIcon: React.FC<AnimatedIconProps>;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as React, ReactNode } from 'react';
2
+ interface Props {
3
+ name?: string;
4
+ renderIcon: () => ReactNode;
5
+ }
6
+ export declare const IconExample: React.FC<Props>;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React, CSSProperties } from 'react';
2
+ import { WithChildren } from '../../../../core';
3
+ interface IconsExampleGridProps extends WithChildren {
4
+ columns: "two" | "four";
5
+ style?: CSSProperties;
6
+ }
7
+ export declare const IconsExampleGrid: React.FC<IconsExampleGridProps>;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const ArrowDownIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const ArrowLeftIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const ArrowNorthEastIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const ArrowRightIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const ArrowUpIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const CalendarIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const CheckIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const ChevronDownIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const ChevronLeftIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const ChevronRightIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const ChevronUpIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const CloseIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const CopyIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const DotsIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const DragIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const ErrorIcon: IconComponent;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { IconProps } from '../types';
3
+ export declare const GreenCheckIcon: FC<IconProps>;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const HamburgerIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const InfoIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const LinkIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const MinusIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const PenIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const PlusIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const QuestionIcon: IconComponent;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { IconProps } from '../types';
3
+ export declare const RedCrossIcon: FC<IconProps>;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const SearchIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const SuccessIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const ThumbDownIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const ThumbUpIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const TrashCanIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../Icon';
2
+ export declare const WarningIcon: IconComponent;
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import { IconVariant } from '../../types';
3
+ export interface ArrowHorizontalAnimatedProps {
4
+ className?: string;
5
+ pointingRight: boolean;
6
+ variant?: IconVariant;
7
+ bold?: boolean;
8
+ }
9
+ export declare const ArrowHorizontalAnimated: FC<ArrowHorizontalAnimatedProps>;
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import { IconVariant } from '../../types';
3
+ export interface ArrowVerticalAnimatedProps {
4
+ className?: string;
5
+ pointingDown: boolean;
6
+ variant?: IconVariant;
7
+ bold?: boolean;
8
+ }
9
+ export declare const ArrowVerticalAnimated: FC<ArrowVerticalAnimatedProps>;
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import { IconVariant } from '../../types';
3
+ export interface PlusRemoveAnimatedProps {
4
+ className?: string;
5
+ isPlus: boolean;
6
+ variant?: IconVariant;
7
+ bold?: boolean;
8
+ }
9
+ export declare const PlusRemoveAnimated: FC<PlusRemoveAnimatedProps>;