@aragon/gov-ui-kit 1.0.49

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 (407) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +36 -0
  3. package/build.css +5 -0
  4. package/dist/index.es.js +2 -0
  5. package/dist/index.es.js.map +1 -0
  6. package/dist/types/src/core/assets/copy/coreCopy.d.ts +31 -0
  7. package/dist/types/src/core/assets/copy/index.d.ts +1 -0
  8. package/dist/types/src/core/assets/index.d.ts +1 -0
  9. package/dist/types/src/core/components/accordion/accordionContainer/accordionContainer.d.ts +22 -0
  10. package/dist/types/src/core/components/accordion/accordionContainer/index.d.ts +1 -0
  11. package/dist/types/src/core/components/accordion/accordionItem/accordionItem.d.ts +12 -0
  12. package/dist/types/src/core/components/accordion/accordionItem/index.d.ts +1 -0
  13. package/dist/types/src/core/components/accordion/accordionItemContent/accordionItemContent.d.ts +8 -0
  14. package/dist/types/src/core/components/accordion/accordionItemContent/index.d.ts +1 -0
  15. package/dist/types/src/core/components/accordion/accordionItemHeader/accordionItemHeader.d.ts +4 -0
  16. package/dist/types/src/core/components/accordion/accordionItemHeader/index.d.ts +1 -0
  17. package/dist/types/src/core/components/accordion/index.d.ts +10 -0
  18. package/dist/types/src/core/components/alerts/alertCard/alertCard.d.ts +27 -0
  19. package/dist/types/src/core/components/alerts/alertCard/index.d.ts +1 -0
  20. package/dist/types/src/core/components/alerts/alertInline/alertInline.d.ts +16 -0
  21. package/dist/types/src/core/components/alerts/alertInline/index.d.ts +1 -0
  22. package/dist/types/src/core/components/alerts/alertUtils.d.ts +3 -0
  23. package/dist/types/src/core/components/alerts/index.d.ts +3 -0
  24. package/dist/types/src/core/components/avatars/avatar/avatar.d.ts +23 -0
  25. package/dist/types/src/core/components/avatars/avatar/index.d.ts +1 -0
  26. package/dist/types/src/core/components/avatars/avatarBase/avatarBase.d.ts +4 -0
  27. package/dist/types/src/core/components/avatars/avatarBase/index.d.ts +1 -0
  28. package/dist/types/src/core/components/avatars/avatarIcon/avatarIcon.d.ts +31 -0
  29. package/dist/types/src/core/components/avatars/avatarIcon/index.d.ts +1 -0
  30. package/dist/types/src/core/components/avatars/index.d.ts +3 -0
  31. package/dist/types/src/core/components/breadcrumbs/breadcrumbs.d.ts +25 -0
  32. package/dist/types/src/core/components/breadcrumbs/index.d.ts +1 -0
  33. package/dist/types/src/core/components/button/button.api.d.ts +42 -0
  34. package/dist/types/src/core/components/button/button.d.ts +2 -0
  35. package/dist/types/src/core/components/button/index.d.ts +2 -0
  36. package/dist/types/src/core/components/cards/card/card.d.ts +4 -0
  37. package/dist/types/src/core/components/cards/card/index.d.ts +1 -0
  38. package/dist/types/src/core/components/cards/cardCollapsible/cardCollapsible.d.ts +8 -0
  39. package/dist/types/src/core/components/cards/cardCollapsible/index.d.ts +1 -0
  40. package/dist/types/src/core/components/cards/cardEmptyState/cardEmptyState.d.ts +2 -0
  41. package/dist/types/src/core/components/cards/cardEmptyState/index.d.ts +1 -0
  42. package/dist/types/src/core/components/cards/cardSummary/cardSummary.api.d.ts +39 -0
  43. package/dist/types/src/core/components/cards/cardSummary/cardSummary.d.ts +2 -0
  44. package/dist/types/src/core/components/cards/cardSummary/index.d.ts +2 -0
  45. package/dist/types/src/core/components/cards/index.d.ts +4 -0
  46. package/dist/types/src/core/components/collapsible/collapsible.api.d.ts +40 -0
  47. package/dist/types/src/core/components/collapsible/collapsible.d.ts +2 -0
  48. package/dist/types/src/core/components/collapsible/index.d.ts +2 -0
  49. package/dist/types/src/core/components/dataList/dataListContainer/dataListContainer.d.ts +28 -0
  50. package/dist/types/src/core/components/dataList/dataListContainer/dataListContainerSkeletonLoader.d.ts +3 -0
  51. package/dist/types/src/core/components/dataList/dataListContainer/index.d.ts +1 -0
  52. package/dist/types/src/core/components/dataList/dataListContext/dataListContext.d.ts +22 -0
  53. package/dist/types/src/core/components/dataList/dataListContext/index.d.ts +1 -0
  54. package/dist/types/src/core/components/dataList/dataListFilter/dataListFilter.d.ts +50 -0
  55. package/dist/types/src/core/components/dataList/dataListFilter/dataListFilterSort.d.ts +12 -0
  56. package/dist/types/src/core/components/dataList/dataListFilter/dataListFilterStatus.d.ts +7 -0
  57. package/dist/types/src/core/components/dataList/dataListFilter/index.d.ts +1 -0
  58. package/dist/types/src/core/components/dataList/dataListItem/dataListItem.d.ts +3 -0
  59. package/dist/types/src/core/components/dataList/dataListItem/index.d.ts +1 -0
  60. package/dist/types/src/core/components/dataList/dataListPagination/dataListPagination.d.ts +4 -0
  61. package/dist/types/src/core/components/dataList/dataListPagination/index.d.ts +1 -0
  62. package/dist/types/src/core/components/dataList/dataListRoot/dataListRoot.d.ts +36 -0
  63. package/dist/types/src/core/components/dataList/dataListRoot/index.d.ts +1 -0
  64. package/dist/types/src/core/components/dataList/dataListTestUtils.d.ts +6 -0
  65. package/dist/types/src/core/components/dataList/index.d.ts +12 -0
  66. package/dist/types/src/core/components/definitionList/definitionListContainer/definitionListContainer.d.ts +4 -0
  67. package/dist/types/src/core/components/definitionList/definitionListContainer/index.d.ts +1 -0
  68. package/dist/types/src/core/components/definitionList/definitionListItem/definitionListItem.d.ts +8 -0
  69. package/dist/types/src/core/components/definitionList/definitionListItem/index.d.ts +1 -0
  70. package/dist/types/src/core/components/definitionList/index.d.ts +6 -0
  71. package/dist/types/src/core/components/dialogs/dialog/dialogContent/dialogContent.d.ts +8 -0
  72. package/dist/types/src/core/components/dialogs/dialog/dialogContent/index.d.ts +1 -0
  73. package/dist/types/src/core/components/dialogs/dialog/dialogFooter/dialogFooter.d.ts +27 -0
  74. package/dist/types/src/core/components/dialogs/dialog/dialogFooter/index.d.ts +1 -0
  75. package/dist/types/src/core/components/dialogs/dialog/dialogHeader/dialogHeader.d.ts +31 -0
  76. package/dist/types/src/core/components/dialogs/dialog/dialogHeader/index.d.ts +1 -0
  77. package/dist/types/src/core/components/dialogs/dialog/dialogRoot/dialogRoot.d.ts +57 -0
  78. package/dist/types/src/core/components/dialogs/dialog/dialogRoot/index.d.ts +1 -0
  79. package/dist/types/src/core/components/dialogs/dialog/index.d.ts +10 -0
  80. package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertContent/dialogAlertContent.d.ts +8 -0
  81. package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertContent/index.d.ts +1 -0
  82. package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertFooter/dialogAlertFooter.d.ts +26 -0
  83. package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertFooter/index.d.ts +1 -0
  84. package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertHeader/dialogAlertHeader.d.ts +17 -0
  85. package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertHeader/index.d.ts +1 -0
  86. package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertRoot/dialogAlertRoot.d.ts +54 -0
  87. package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertRoot/index.d.ts +1 -0
  88. package/dist/types/src/core/components/dialogs/dialogAlert/index.d.ts +10 -0
  89. package/dist/types/src/core/components/dialogs/dialogUtils.d.ts +31 -0
  90. package/dist/types/src/core/components/dialogs/index.d.ts +2 -0
  91. package/dist/types/src/core/components/documentParser/documentParser.d.ts +8 -0
  92. package/dist/types/src/core/components/documentParser/index.d.ts +1 -0
  93. package/dist/types/src/core/components/dropdown/dropdownContainer/dropdownContainer.d.ts +63 -0
  94. package/dist/types/src/core/components/dropdown/dropdownContainer/index.d.ts +1 -0
  95. package/dist/types/src/core/components/dropdown/dropdownItem/dropdownItem.d.ts +39 -0
  96. package/dist/types/src/core/components/dropdown/dropdownItem/index.d.ts +1 -0
  97. package/dist/types/src/core/components/dropdown/index.d.ts +6 -0
  98. package/dist/types/src/core/components/forms/checkbox/checkbox.d.ts +30 -0
  99. package/dist/types/src/core/components/forms/checkbox/index.d.ts +1 -0
  100. package/dist/types/src/core/components/forms/checkboxCard/checkboxCard.d.ts +42 -0
  101. package/dist/types/src/core/components/forms/checkboxCard/index.d.ts +1 -0
  102. package/dist/types/src/core/components/forms/checkboxGroup/checkboxGroup.d.ts +13 -0
  103. package/dist/types/src/core/components/forms/checkboxGroup/index.d.ts +1 -0
  104. package/dist/types/src/core/components/forms/hooks/index.d.ts +2 -0
  105. package/dist/types/src/core/components/forms/hooks/useInputProps.d.ts +18 -0
  106. package/dist/types/src/core/components/forms/hooks/useNumberMask.d.ts +20 -0
  107. package/dist/types/src/core/components/forms/index.d.ts +18 -0
  108. package/dist/types/src/core/components/forms/inputContainer/index.d.ts +2 -0
  109. package/dist/types/src/core/components/forms/inputContainer/inputContainer.api.d.ts +78 -0
  110. package/dist/types/src/core/components/forms/inputContainer/inputContainer.d.ts +8 -0
  111. package/dist/types/src/core/components/forms/inputDate/index.d.ts +1 -0
  112. package/dist/types/src/core/components/forms/inputDate/inputDate.d.ts +4 -0
  113. package/dist/types/src/core/components/forms/inputFileAvatar/index.d.ts +2 -0
  114. package/dist/types/src/core/components/forms/inputFileAvatar/inputFileAvatar.api.d.ts +48 -0
  115. package/dist/types/src/core/components/forms/inputFileAvatar/inputFileAvatar.d.ts +2 -0
  116. package/dist/types/src/core/components/forms/inputNumber/index.d.ts +1 -0
  117. package/dist/types/src/core/components/forms/inputNumber/inputNumber.d.ts +33 -0
  118. package/dist/types/src/core/components/forms/inputNumberMax/index.d.ts +1 -0
  119. package/dist/types/src/core/components/forms/inputNumberMax/inputNumberMax.d.ts +13 -0
  120. package/dist/types/src/core/components/forms/inputSearch/index.d.ts +1 -0
  121. package/dist/types/src/core/components/forms/inputSearch/inputSearch.d.ts +8 -0
  122. package/dist/types/src/core/components/forms/inputText/index.d.ts +2 -0
  123. package/dist/types/src/core/components/forms/inputText/inputText.api.d.ts +12 -0
  124. package/dist/types/src/core/components/forms/inputText/inputText.d.ts +2 -0
  125. package/dist/types/src/core/components/forms/inputTime/index.d.ts +1 -0
  126. package/dist/types/src/core/components/forms/inputTime/inputTime.d.ts +4 -0
  127. package/dist/types/src/core/components/forms/radio/index.d.ts +1 -0
  128. package/dist/types/src/core/components/forms/radio/radio.d.ts +21 -0
  129. package/dist/types/src/core/components/forms/radioCard/index.d.ts +1 -0
  130. package/dist/types/src/core/components/forms/radioCard/radioCard.d.ts +33 -0
  131. package/dist/types/src/core/components/forms/radioGroup/index.d.ts +1 -0
  132. package/dist/types/src/core/components/forms/radioGroup/radioGroup.d.ts +33 -0
  133. package/dist/types/src/core/components/forms/switch/index.d.ts +1 -0
  134. package/dist/types/src/core/components/forms/switch/switch.d.ts +39 -0
  135. package/dist/types/src/core/components/forms/textArea/index.d.ts +1 -0
  136. package/dist/types/src/core/components/forms/textArea/textArea.d.ts +4 -0
  137. package/dist/types/src/core/components/forms/textAreaRichText/index.d.ts +1 -0
  138. package/dist/types/src/core/components/forms/textAreaRichText/textAreaRichText.d.ts +24 -0
  139. package/dist/types/src/core/components/forms/textAreaRichText/textAreaRichTextActions.d.ts +31 -0
  140. package/dist/types/src/core/components/gukCoreProvider/gukCoreProvider.d.ts +30 -0
  141. package/dist/types/src/core/components/gukCoreProvider/index.d.ts +1 -0
  142. package/dist/types/src/core/components/heading/heading.d.ts +15 -0
  143. package/dist/types/src/core/components/heading/index.d.ts +1 -0
  144. package/dist/types/src/core/components/icon/icon.d.ts +20 -0
  145. package/dist/types/src/core/components/icon/iconList.d.ts +5 -0
  146. package/dist/types/src/core/components/icon/iconType.d.ts +65 -0
  147. package/dist/types/src/core/components/icon/index.d.ts +2 -0
  148. package/dist/types/src/core/components/illustrations/illustrationHuman/illustrationHuman.d.ts +35 -0
  149. package/dist/types/src/core/components/illustrations/illustrationHuman/illustrationHumanList.d.ts +9 -0
  150. package/dist/types/src/core/components/illustrations/illustrationHuman/illustrationHumanType.d.ts +5 -0
  151. package/dist/types/src/core/components/illustrations/illustrationHuman/index.d.ts +2 -0
  152. package/dist/types/src/core/components/illustrations/illustrationObject/illustrationObject.d.ts +9 -0
  153. package/dist/types/src/core/components/illustrations/illustrationObject/illustrationObjectList.d.ts +5 -0
  154. package/dist/types/src/core/components/illustrations/illustrationObject/illustrationObjectType.d.ts +1 -0
  155. package/dist/types/src/core/components/illustrations/illustrationObject/index.d.ts +2 -0
  156. package/dist/types/src/core/components/illustrations/index.d.ts +2 -0
  157. package/dist/types/src/core/components/index.d.ts +26 -0
  158. package/dist/types/src/core/components/link/index.d.ts +2 -0
  159. package/dist/types/src/core/components/link/link/index.d.ts +2 -0
  160. package/dist/types/src/core/components/link/link/link.api.d.ts +22 -0
  161. package/dist/types/src/core/components/link/link/link.d.ts +3 -0
  162. package/dist/types/src/core/components/link/linkBase/index.d.ts +1 -0
  163. package/dist/types/src/core/components/link/linkBase/linkBase.d.ts +4 -0
  164. package/dist/types/src/core/components/progress/index.d.ts +2 -0
  165. package/dist/types/src/core/components/progress/progress.api.d.ts +28 -0
  166. package/dist/types/src/core/components/progress/progress.d.ts +2 -0
  167. package/dist/types/src/core/components/rerender/index.d.ts +1 -0
  168. package/dist/types/src/core/components/rerender/rerender.d.ts +20 -0
  169. package/dist/types/src/core/components/spinner/index.d.ts +1 -0
  170. package/dist/types/src/core/components/spinner/spinner.d.ts +29 -0
  171. package/dist/types/src/core/components/states/emptyState/emptyState.api.d.ts +50 -0
  172. package/dist/types/src/core/components/states/emptyState/emptyState.d.ts +2 -0
  173. package/dist/types/src/core/components/states/emptyState/index.d.ts +2 -0
  174. package/dist/types/src/core/components/states/index.d.ts +4 -0
  175. package/dist/types/src/core/components/states/statePingAnimation/index.d.ts +1 -0
  176. package/dist/types/src/core/components/states/statePingAnimation/statePingAnimation.d.ts +11 -0
  177. package/dist/types/src/core/components/states/stateSkeletonBar/index.d.ts +1 -0
  178. package/dist/types/src/core/components/states/stateSkeletonBar/stateSkeletonBar.d.ts +27 -0
  179. package/dist/types/src/core/components/states/stateSkeletonCircular/index.d.ts +1 -0
  180. package/dist/types/src/core/components/states/stateSkeletonCircular/stateSkeletonCircular.d.ts +15 -0
  181. package/dist/types/src/core/components/tabs/index.d.ts +10 -0
  182. package/dist/types/src/core/components/tabs/tabsContent/index.d.ts +1 -0
  183. package/dist/types/src/core/components/tabs/tabsContent/tabsContent.d.ts +12 -0
  184. package/dist/types/src/core/components/tabs/tabsList/index.d.ts +1 -0
  185. package/dist/types/src/core/components/tabs/tabsList/tabsList.d.ts +4 -0
  186. package/dist/types/src/core/components/tabs/tabsRoot/index.d.ts +1 -0
  187. package/dist/types/src/core/components/tabs/tabsRoot/tabsRoot.d.ts +28 -0
  188. package/dist/types/src/core/components/tabs/tabsTrigger/index.d.ts +1 -0
  189. package/dist/types/src/core/components/tabs/tabsTrigger/tabsTrigger.d.ts +17 -0
  190. package/dist/types/src/core/components/tag/index.d.ts +1 -0
  191. package/dist/types/src/core/components/tag/tag.d.ts +17 -0
  192. package/dist/types/src/core/components/toggles/index.d.ts +2 -0
  193. package/dist/types/src/core/components/toggles/toggle/index.d.ts +1 -0
  194. package/dist/types/src/core/components/toggles/toggle/toggle.d.ts +17 -0
  195. package/dist/types/src/core/components/toggles/toggleGroup/index.d.ts +1 -0
  196. package/dist/types/src/core/components/toggles/toggleGroup/toggleGroup.d.ts +22 -0
  197. package/dist/types/src/core/components/tooltip/index.d.ts +1 -0
  198. package/dist/types/src/core/components/tooltip/tooltip.d.ts +44 -0
  199. package/dist/types/src/core/hooks/index.d.ts +2 -0
  200. package/dist/types/src/core/hooks/useDebouncedValue/index.d.ts +1 -0
  201. package/dist/types/src/core/hooks/useDebouncedValue/useDebouncedValue.d.ts +18 -0
  202. package/dist/types/src/core/hooks/useRandomId/index.d.ts +1 -0
  203. package/dist/types/src/core/hooks/useRandomId/useRandomId.d.ts +1 -0
  204. package/dist/types/src/core/index.d.ts +5 -0
  205. package/dist/types/src/core/test/globalSetup.d.ts +2 -0
  206. package/dist/types/src/core/test/index.d.ts +1 -0
  207. package/dist/types/src/core/test/setup.d.ts +1 -0
  208. package/dist/types/src/core/test/utils/createRangeMock.d.ts +1 -0
  209. package/dist/types/src/core/test/utils/index.d.ts +2 -0
  210. package/dist/types/src/core/test/utils/testLogger.d.ts +9 -0
  211. package/dist/types/src/core/types/index.d.ts +1 -0
  212. package/dist/types/src/core/types/responsive.d.ts +33 -0
  213. package/dist/types/src/core/utils/clipboardUtils/clipboardUtils.d.ts +12 -0
  214. package/dist/types/src/core/utils/clipboardUtils/index.d.ts +1 -0
  215. package/dist/types/src/core/utils/formatterUtils/formatterUtils.d.ts +32 -0
  216. package/dist/types/src/core/utils/formatterUtils/formatterUtilsDefinitions.d.ts +82 -0
  217. package/dist/types/src/core/utils/formatterUtils/index.d.ts +2 -0
  218. package/dist/types/src/core/utils/index.d.ts +6 -0
  219. package/dist/types/src/core/utils/invariant/index.d.ts +1 -0
  220. package/dist/types/src/core/utils/invariant/invariant.d.ts +2 -0
  221. package/dist/types/src/core/utils/mergeRefs/index.d.ts +1 -0
  222. package/dist/types/src/core/utils/mergeRefs/mergeRefs.d.ts +5 -0
  223. package/dist/types/src/core/utils/responsiveUtils/index.d.ts +1 -0
  224. package/dist/types/src/core/utils/responsiveUtils/responsiveUtils.d.ts +6 -0
  225. package/dist/types/src/core/utils/ssrUtils/index.d.ts +1 -0
  226. package/dist/types/src/core/utils/ssrUtils/ssrUtils.d.ts +8 -0
  227. package/dist/types/src/index.d.ts +2 -0
  228. package/dist/types/src/modules/assets/copy/index.d.ts +1 -0
  229. package/dist/types/src/modules/assets/copy/modulesCopy.d.ts +170 -0
  230. package/dist/types/src/modules/assets/index.d.ts +1 -0
  231. package/dist/types/src/modules/components/address/addressInput/addressInput.d.ts +29 -0
  232. package/dist/types/src/modules/components/address/addressInput/index.d.ts +1 -0
  233. package/dist/types/src/modules/components/address/index.d.ts +1 -0
  234. package/dist/types/src/modules/components/asset/assetDataListItem/assetDataListItemSkeleton/assetDataListItemSkeleton.d.ts +4 -0
  235. package/dist/types/src/modules/components/asset/assetDataListItem/assetDataListItemSkeleton/index.d.ts +1 -0
  236. package/dist/types/src/modules/components/asset/assetDataListItem/assetDataListItemStructure/assetDataListItemStructure.d.ts +30 -0
  237. package/dist/types/src/modules/components/asset/assetDataListItem/assetDataListItemStructure/index.d.ts +1 -0
  238. package/dist/types/src/modules/components/asset/assetDataListItem/index.d.ts +6 -0
  239. package/dist/types/src/modules/components/asset/assetTransfer/assetTransfer.d.ts +36 -0
  240. package/dist/types/src/modules/components/asset/assetTransfer/assetTransferAddress/assetTransferAddress.d.ts +17 -0
  241. package/dist/types/src/modules/components/asset/assetTransfer/assetTransferAddress/index.d.ts +1 -0
  242. package/dist/types/src/modules/components/asset/assetTransfer/index.d.ts +1 -0
  243. package/dist/types/src/modules/components/asset/index.d.ts +2 -0
  244. package/dist/types/src/modules/components/dao/daoAvatar/daoAvatar.d.ts +14 -0
  245. package/dist/types/src/modules/components/dao/daoAvatar/index.d.ts +1 -0
  246. package/dist/types/src/modules/components/dao/daoDataListItem/daoDataListItemSkeleton/daoDataListItemSkeleton.d.ts +4 -0
  247. package/dist/types/src/modules/components/dao/daoDataListItem/daoDataListItemSkeleton/index.d.ts +1 -0
  248. package/dist/types/src/modules/components/dao/daoDataListItem/daoDataListItemStructure/daoDataListItemStructure.d.ts +34 -0
  249. package/dist/types/src/modules/components/dao/daoDataListItem/daoDataListItemStructure/index.d.ts +1 -0
  250. package/dist/types/src/modules/components/dao/daoDataListItem/index.d.ts +6 -0
  251. package/dist/types/src/modules/components/dao/index.d.ts +2 -0
  252. package/dist/types/src/modules/components/gukModulesProvider/gukModulesProvider.d.ts +44 -0
  253. package/dist/types/src/modules/components/gukModulesProvider/index.d.ts +1 -0
  254. package/dist/types/src/modules/components/index.d.ts +9 -0
  255. package/dist/types/src/modules/components/member/index.d.ts +2 -0
  256. package/dist/types/src/modules/components/member/memberAvatar/index.d.ts +1 -0
  257. package/dist/types/src/modules/components/member/memberAvatar/memberAvatar.d.ts +18 -0
  258. package/dist/types/src/modules/components/member/memberDataListItem/index.d.ts +6 -0
  259. package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemSkeleton/index.d.ts +1 -0
  260. package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemSkeleton/memberDataListItemSkeleton.d.ts +3 -0
  261. package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemStructure/index.d.ts +1 -0
  262. package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemStructure/memberDataListItemStructure.d.ts +36 -0
  263. package/dist/types/src/modules/components/proposal/index.d.ts +4 -0
  264. package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/index.d.ts +6 -0
  265. package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/proposalAction.d.ts +2 -0
  266. package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/proposalActionChangeMembers.d.ts +2 -0
  267. package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/proposalActionChangeSettings.d.ts +2 -0
  268. package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/proposalActionTokenMint.d.ts +2 -0
  269. package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/proposalActionUpdateMetadata.d.ts +2 -0
  270. package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/proposalActionWithdrawToken.d.ts +3 -0
  271. package/dist/types/src/modules/components/proposal/proposalActions/actions/index.d.ts +5 -0
  272. package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionChangeMembers/index.d.ts +1 -0
  273. package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionChangeMembers/proposalActionChangeMembers.d.ts +4 -0
  274. package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionChangeSettings/index.d.ts +1 -0
  275. package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionChangeSettings/proposalActionChangeSettings.d.ts +4 -0
  276. package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionTokenMint/index.d.ts +1 -0
  277. package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionTokenMint/proposalActionTokenMint.d.ts +4 -0
  278. package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionUpdateMetadata/index.d.ts +1 -0
  279. package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionUpdateMetadata/proposalActionUpdateMetadata.d.ts +4 -0
  280. package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionWithdrawToken/index.d.ts +1 -0
  281. package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionWithdrawToken/proposalActionWithdrawToken.d.ts +4 -0
  282. package/dist/types/src/modules/components/proposal/proposalActions/index.d.ts +5 -0
  283. package/dist/types/src/modules/components/proposal/proposalActions/proposalActions/index.d.ts +2 -0
  284. package/dist/types/src/modules/components/proposal/proposalActions/proposalActions/proposalActions.api.d.ts +53 -0
  285. package/dist/types/src/modules/components/proposal/proposalActions/proposalActions/proposalActions.d.ts +3 -0
  286. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/index.d.ts +1 -0
  287. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsAction.d.ts +26 -0
  288. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsActionDecodedView/index.d.ts +1 -0
  289. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsActionDecodedView/proposalActionsActionDecodedView.d.ts +8 -0
  290. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsActionRawView/index.d.ts +1 -0
  291. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsActionRawView/proposalActionsActionRawView.d.ts +8 -0
  292. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsActionViewAsMenu/index.d.ts +1 -0
  293. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsActionViewAsMenu/proposalActionsActionViewAsMenu.d.ts +20 -0
  294. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsActionVerification/index.d.ts +1 -0
  295. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsActionVerification/proposalActionsActionVerification.d.ts +9 -0
  296. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/index.d.ts +9 -0
  297. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalAction.d.ts +58 -0
  298. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionChangeMembers.d.ts +17 -0
  299. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionChangeSettings.d.ts +21 -0
  300. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionComponent.d.ts +14 -0
  301. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionTokenMint.d.ts +27 -0
  302. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionType.d.ts +9 -0
  303. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionUpdateMetadata.d.ts +44 -0
  304. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionViewMode.d.ts +5 -0
  305. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionWithdrawToken.d.ts +50 -0
  306. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsUtils.d.ts +10 -0
  307. package/dist/types/src/modules/components/proposal/proposalDataListItem/approvalThresholdResult/approvalThresholdResult.d.ts +7 -0
  308. package/dist/types/src/modules/components/proposal/proposalDataListItem/approvalThresholdResult/index.d.ts +1 -0
  309. package/dist/types/src/modules/components/proposal/proposalDataListItem/index.d.ts +6 -0
  310. package/dist/types/src/modules/components/proposal/proposalDataListItem/majorityVotingResult/index.d.ts +1 -0
  311. package/dist/types/src/modules/components/proposal/proposalDataListItem/majorityVotingResult/majorityVotingResult.d.ts +7 -0
  312. package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemSkeleton/index.d.ts +1 -0
  313. package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemSkeleton/proposalDataListItemSkeleton.d.ts +4 -0
  314. package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStatus/index.d.ts +1 -0
  315. package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStatus/proposalDataListItemStatus.d.ts +4 -0
  316. package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStructure/index.d.ts +2 -0
  317. package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStructure/proposalDataListItemStructure.api.d.ts +94 -0
  318. package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStructure/proposalDataListItemStructure.d.ts +3 -0
  319. package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemUtils.d.ts +7 -0
  320. package/dist/types/src/modules/components/proposal/proposalUtils.d.ts +24 -0
  321. package/dist/types/src/modules/components/proposal/proposalVoting/index.d.ts +15 -0
  322. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownMultisig/index.d.ts +1 -0
  323. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownMultisig/proposalVotingBreakdownMultisig.d.ts +12 -0
  324. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownToken/index.d.ts +1 -0
  325. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownToken/proposalVotingBreakdownToken.d.ts +32 -0
  326. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingContainer/index.d.ts +1 -0
  327. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingContainer/proposalVotingContainer.d.ts +16 -0
  328. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingDefinitions.d.ts +5 -0
  329. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingDetails/index.d.ts +1 -0
  330. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingDetails/proposalVotingDetails.d.ts +18 -0
  331. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingProgress/index.d.ts +6 -0
  332. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingProgress/proposalVotingProgressContainer.d.ts +10 -0
  333. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingProgress/proposalVotingProgressItem.d.ts +31 -0
  334. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStage/index.d.ts +1 -0
  335. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStage/proposalVotingStage.d.ts +39 -0
  336. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStageContext/index.d.ts +1 -0
  337. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStageContext/proposalVotingStageContext.d.ts +5 -0
  338. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStageStatus/index.d.ts +1 -0
  339. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStageStatus/proposalVotingStageStatus.d.ts +18 -0
  340. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingTabs/index.d.ts +1 -0
  341. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingTabs/proposalVotingTabs.d.ts +20 -0
  342. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingVotes/index.d.ts +1 -0
  343. package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingVotes/proposalVotingVotes.d.ts +4 -0
  344. package/dist/types/src/modules/components/transaction/index.d.ts +1 -0
  345. package/dist/types/src/modules/components/transaction/transactionDataListItem/index.d.ts +6 -0
  346. package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemSkeleton/index.d.ts +1 -0
  347. package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemSkeleton/transactionDataListItemSkeleton.d.ts +3 -0
  348. package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemStructure/index.d.ts +2 -0
  349. package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemStructure/transactionDataListItemStructure.api.d.ts +52 -0
  350. package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemStructure/transactionDataListItemStructure.d.ts +2 -0
  351. package/dist/types/src/modules/components/vote/index.d.ts +3 -0
  352. package/dist/types/src/modules/components/vote/voteDataListItem/index.d.ts +6 -0
  353. package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemSkeleton/index.d.ts +1 -0
  354. package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemSkeleton/voteDataListItemSkeleton.d.ts +3 -0
  355. package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemStructure/index.d.ts +1 -0
  356. package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemStructure/voteDataListItemStructure.d.ts +26 -0
  357. package/dist/types/src/modules/components/vote/voteProposalDataListItem/index.d.ts +6 -0
  358. package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemSkeleton/index.d.ts +1 -0
  359. package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemSkeleton/voteProposalDataListItemSkeleton.d.ts +3 -0
  360. package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemStructure/index.d.ts +1 -0
  361. package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemStructure/voteProposalDataListItemStructure.d.ts +25 -0
  362. package/dist/types/src/modules/components/vote/voteUtils.d.ts +3 -0
  363. package/dist/types/src/modules/components/wallet/index.d.ts +1 -0
  364. package/dist/types/src/modules/components/wallet/wallet.d.ts +8 -0
  365. package/dist/types/src/modules/hooks/index.d.ts +1 -0
  366. package/dist/types/src/modules/hooks/useBlockExplorer/index.d.ts +1 -0
  367. package/dist/types/src/modules/hooks/useBlockExplorer/useBlockExplorer.d.ts +45 -0
  368. package/dist/types/src/modules/index.d.ts +5 -0
  369. package/dist/types/src/modules/types/compositeAddress.d.ts +14 -0
  370. package/dist/types/src/modules/types/index.d.ts +2 -0
  371. package/dist/types/src/modules/types/web3ComponentConfig.d.ts +15 -0
  372. package/dist/types/src/modules/utils/addressUtils/addressUtils.d.ts +38 -0
  373. package/dist/types/src/modules/utils/addressUtils/index.d.ts +1 -0
  374. package/dist/types/src/modules/utils/ensUtils/ensUtils.d.ts +17 -0
  375. package/dist/types/src/modules/utils/ensUtils/index.d.ts +1 -0
  376. package/dist/types/src/modules/utils/index.d.ts +2 -0
  377. package/index.css +5 -0
  378. package/package.json +167 -0
  379. package/src/core/components/accordion/accordionItemContent/index.css +21 -0
  380. package/src/core/components/accordion/index.css +1 -0
  381. package/src/core/components/avatars/avatar/index.css +4 -0
  382. package/src/core/components/avatars/index.css +1 -0
  383. package/src/core/components/collapsible/index.css +4 -0
  384. package/src/core/components/dialogs/dialog/dialogRoot/index.css +7 -0
  385. package/src/core/components/dialogs/dialog/index.css +1 -0
  386. package/src/core/components/dialogs/dialogAlert/dialogAlertRoot/index.css +7 -0
  387. package/src/core/components/dialogs/dialogAlert/index.css +1 -0
  388. package/src/core/components/dialogs/index.css +2 -0
  389. package/src/core/components/dropdown/dropdownContainer/index.css +4 -0
  390. package/src/core/components/dropdown/index.css +1 -0
  391. package/src/core/components/forms/index.css +1 -0
  392. package/src/core/components/forms/textAreaRichText/index.css +4 -0
  393. package/src/core/components/illustrations/index.css +7 -0
  394. package/src/core/components/index.css +7 -0
  395. package/src/core/index.css +1 -0
  396. package/src/index.css +2 -0
  397. package/src/theme/fonts/Manrope-Regular.ttf +0 -0
  398. package/src/theme/fonts/Manrope-SemiBold.ttf +0 -0
  399. package/src/theme/index.css +1 -0
  400. package/src/theme/tokens/index.css +1 -0
  401. package/src/theme/tokens/primitives/borderRadius.css +9 -0
  402. package/src/theme/tokens/primitives/colors.css +73 -0
  403. package/src/theme/tokens/primitives/index.css +5 -0
  404. package/src/theme/tokens/primitives/shadows.css +52 -0
  405. package/src/theme/tokens/primitives/spacing.css +37 -0
  406. package/src/theme/tokens/primitives/typography.css +42 -0
  407. package/tailwind.config.js +374 -0
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Object representing the structure of copy texts used in various parts of the GovKit Core package.
3
+ * Each property in the object corresponds to a specific component or feature, containing the necessary
4
+ * text labels or functions that return text strings.
5
+ */
6
+ export declare const coreCopy: {
7
+ inputContainer: {
8
+ optionalLabel: string;
9
+ };
10
+ dataListFilter: {
11
+ filter: string;
12
+ sort: string;
13
+ reset: string;
14
+ };
15
+ dataListFilterStatus: {
16
+ found: string;
17
+ loadingEntity: (entityLabel: string) => string;
18
+ filteringEntity: (entityLabel: string) => string;
19
+ };
20
+ dataListPagination: {
21
+ more: string;
22
+ outOf: ({ total, entityLabel }: {
23
+ total: number;
24
+ entityLabel: string;
25
+ }) => string;
26
+ };
27
+ inputNumberMax: {
28
+ max: string;
29
+ };
30
+ };
31
+ export type CoreCopy = typeof coreCopy;
@@ -0,0 +1 @@
1
+ export * from './coreCopy';
@@ -0,0 +1 @@
1
+ export * from './copy';
@@ -0,0 +1,22 @@
1
+ import { type ComponentPropsWithRef } from 'react';
2
+ export type AccordionMultiValue<TMulti extends boolean> = TMulti extends true ? string[] | undefined : string | undefined;
3
+ export interface IAccordionContainerBaseProps<TMulti extends boolean> extends Omit<ComponentPropsWithRef<'div'>, 'dir'> {
4
+ /**
5
+ * Determines whether one or multiple items can be opened at the same time.
6
+ */
7
+ isMulti: TMulti;
8
+ /**
9
+ * The value of the item to expand when initially rendered and type is "single". Use when you do not need to control the state of the items.
10
+ */
11
+ defaultValue?: AccordionMultiValue<TMulti>;
12
+ /**
13
+ * Array of key values that determines which items are currently expanded.
14
+ */
15
+ value?: AccordionMultiValue<TMulti>;
16
+ /**
17
+ * When the current value (open section) changes, this function will be called.
18
+ */
19
+ onValueChange?: (value: AccordionMultiValue<TMulti>) => void;
20
+ }
21
+ export type IAccordionContainerProps = IAccordionContainerBaseProps<true> | IAccordionContainerBaseProps<false>;
22
+ export declare const AccordionContainer: import("react").ForwardRefExoticComponent<(Omit<IAccordionContainerBaseProps<true>, "ref"> | Omit<IAccordionContainerBaseProps<false>, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export { AccordionContainer, type AccordionMultiValue, type IAccordionContainerBaseProps, type IAccordionContainerProps, } from './accordionContainer';
@@ -0,0 +1,12 @@
1
+ import { type ComponentPropsWithRef } from 'react';
2
+ export interface IAccordionItemProps extends ComponentPropsWithRef<'div'> {
3
+ /**
4
+ * A unique value of the accordion item which can matched for default open selection from the root container.
5
+ */
6
+ value: string;
7
+ /**
8
+ * Determines whether the accordion item is disabled.
9
+ */
10
+ disabled?: boolean;
11
+ }
12
+ export declare const AccordionItem: import("react").ForwardRefExoticComponent<Omit<IAccordionItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export { AccordionItem, type IAccordionItemProps } from './accordionItem';
@@ -0,0 +1,8 @@
1
+ import { type ComponentPropsWithRef } from 'react';
2
+ export interface IAccordionItemContentProps extends ComponentPropsWithRef<'div'> {
3
+ /**
4
+ * Forces the content to be mounted when set to true.
5
+ */
6
+ forceMount?: true;
7
+ }
8
+ export declare const AccordionItemContent: import("react").ForwardRefExoticComponent<Omit<IAccordionItemContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export { AccordionItemContent, type IAccordionItemContentProps } from './accordionItemContent';
@@ -0,0 +1,4 @@
1
+ import { type ComponentPropsWithRef } from 'react';
2
+ export interface IAccordionItemHeaderProps extends ComponentPropsWithRef<'button'> {
3
+ }
4
+ export declare const AccordionItemHeader: import("react").ForwardRefExoticComponent<Omit<IAccordionItemHeaderProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1 @@
1
+ export { AccordionItemHeader, type IAccordionItemHeaderProps } from './accordionItemHeader';
@@ -0,0 +1,10 @@
1
+ export declare const Accordion: {
2
+ Container: import("react").ForwardRefExoticComponent<(Omit<import("./accordionContainer").IAccordionContainerBaseProps<true>, "ref"> | Omit<import("./accordionContainer").IAccordionContainerBaseProps<false>, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
3
+ Item: import("react").ForwardRefExoticComponent<Omit<import("./accordionItem").IAccordionItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ ItemHeader: import("react").ForwardRefExoticComponent<Omit<import("./accordionItemHeader").IAccordionItemHeaderProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
5
+ ItemContent: import("react").ForwardRefExoticComponent<Omit<import("./accordionItemContent").IAccordionItemContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
6
+ };
7
+ export * from './accordionContainer';
8
+ export * from './accordionItem';
9
+ export * from './accordionItemContent';
10
+ export * from './accordionItemHeader';
@@ -0,0 +1,27 @@
1
+ import type React from 'react';
2
+ import { type HTMLAttributes, type ReactNode } from 'react';
3
+ import { type AlertVariant } from '../alertUtils';
4
+ export interface IAlertCardProps extends HTMLAttributes<HTMLDivElement> {
5
+ /**
6
+ * The alert message.
7
+ */
8
+ message: string;
9
+ /**
10
+ * Optional description for the alert.
11
+ */
12
+ description?: ReactNode;
13
+ /**
14
+ * Variant of the alert.
15
+ * @default info
16
+ */
17
+ variant?: AlertVariant;
18
+ }
19
+ /**
20
+ * AlertCard Component
21
+ *
22
+ * Displays an alert card with an icon, a main message, and an optional description.
23
+ *
24
+ * @param {IAlertCardProps} props - Component properties.
25
+ * @returns {React.ReactElement} Rendered AlertCard component.
26
+ */
27
+ export declare const AlertCard: React.FC<IAlertCardProps>;
@@ -0,0 +1 @@
1
+ export { AlertCard, type IAlertCardProps } from './alertCard';
@@ -0,0 +1,16 @@
1
+ import type React from 'react';
2
+ import { type HTMLAttributes } from 'react';
3
+ import { type AlertVariant } from '../alertUtils';
4
+ export interface IAlertInlineProps extends HTMLAttributes<HTMLDivElement> {
5
+ /**
6
+ * Alert text content.
7
+ */
8
+ message: string;
9
+ /**
10
+ * Defines the variant of the alert.
11
+ * @default info
12
+ */
13
+ variant?: AlertVariant;
14
+ }
15
+ /** AlertInline UI Component */
16
+ export declare const AlertInline: React.FC<IAlertInlineProps>;
@@ -0,0 +1 @@
1
+ export { AlertInline, type IAlertInlineProps } from './alertInline';
@@ -0,0 +1,3 @@
1
+ import { IconType } from '../icon';
2
+ export type AlertVariant = 'critical' | 'info' | 'success' | 'warning';
3
+ export declare const alertVariantToIconType: Record<AlertVariant, IconType>;
@@ -0,0 +1,3 @@
1
+ export * from './alertCard';
2
+ export * from './alertInline';
3
+ export type { AlertVariant } from './alertUtils';
@@ -0,0 +1,23 @@
1
+ import type React from 'react';
2
+ import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
3
+ import { type ResponsiveAttribute } from '../../../types';
4
+ export type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
5
+ export interface IAvatarProps extends ComponentPropsWithoutRef<'img'> {
6
+ /**
7
+ * Fallback content to display when the image fails to load or no image is provided.
8
+ */
9
+ fallback?: ReactNode;
10
+ /**
11
+ * Responsive size attribute for the avatar.
12
+ */
13
+ responsiveSize?: ResponsiveAttribute<AvatarSize>;
14
+ /**
15
+ * The size of the avatar.
16
+ * @default sm
17
+ */
18
+ size?: AvatarSize;
19
+ }
20
+ /**
21
+ * Avatar component
22
+ */
23
+ export declare const Avatar: React.FC<IAvatarProps>;
@@ -0,0 +1 @@
1
+ export { Avatar, type AvatarSize, type IAvatarProps } from './avatar';
@@ -0,0 +1,4 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ export interface IAvatarBaseProps extends ComponentPropsWithoutRef<'img'> {
3
+ }
4
+ export declare const AvatarBase: import("react").ForwardRefExoticComponent<IAvatarBaseProps & import("react").RefAttributes<HTMLImageElement>>;
@@ -0,0 +1 @@
1
+ export { AvatarBase, type IAvatarBaseProps } from './avatarBase';
@@ -0,0 +1,31 @@
1
+ import type React from 'react';
2
+ import { type HTMLAttributes } from 'react';
3
+ import { type ResponsiveAttribute } from '../../../types';
4
+ import { type IconType } from '../../icon';
5
+ export type AvatarIconSize = 'sm' | 'md' | 'lg';
6
+ export type AvatarIconVariant = 'neutral' | 'primary' | 'info' | 'success' | 'warning' | 'critical';
7
+ export interface IAvatarIconProps extends HTMLAttributes<HTMLDivElement> {
8
+ /**
9
+ * The icon type.
10
+ */
11
+ icon: IconType;
12
+ /**
13
+ * Responsive size attribute for the avatar.
14
+ */
15
+ responsiveSize?: ResponsiveAttribute<AvatarIconSize>;
16
+ /**
17
+ * The size of the avatar icon.
18
+ * @default sm
19
+ */
20
+ size?: AvatarIconSize;
21
+ /**
22
+ * The variant of the avatar.
23
+ * @default neutral
24
+ */
25
+ variant?: AvatarIconVariant;
26
+ /**
27
+ * Renders the icon on a white background. This property overrides the variant default background.
28
+ */
29
+ backgroundWhite?: boolean;
30
+ }
31
+ export declare const AvatarIcon: React.FC<IAvatarIconProps>;
@@ -0,0 +1 @@
1
+ export { AvatarIcon, type AvatarIconSize, type AvatarIconVariant, type IAvatarIconProps } from './avatarIcon';
@@ -0,0 +1,3 @@
1
+ export * from './avatar';
2
+ export * from './avatarBase';
3
+ export * from './avatarIcon';
@@ -0,0 +1,25 @@
1
+ import { type ITagProps } from '../tag';
2
+ export interface IBreadcrumbsLink {
3
+ /**
4
+ * Label to be displayed in the Breadcrumbs.
5
+ */
6
+ label: string;
7
+ /**
8
+ * Optional href to be used in the Link component for clickable navigation.
9
+ */
10
+ href?: string;
11
+ }
12
+ export interface IBreadcrumbsProps {
13
+ /**
14
+ * Array of BreadcrumbsLink objects `{label: string, href?: string}`
15
+ * The array indicates depth from the current position to be displayed in the Breadcrumbs.
16
+ * Starting at index 0 you must define the root up to the current location.
17
+ * The final index which will render as non-active and without separator.
18
+ */
19
+ links: IBreadcrumbsLink[];
20
+ /**
21
+ * Optional tag pill to be displayed at the end of the Breadcrumbs for extra info. @type ITagProps
22
+ */
23
+ tag?: ITagProps;
24
+ }
25
+ export declare const Breadcrumbs: React.FC<IBreadcrumbsProps>;
@@ -0,0 +1 @@
1
+ export { Breadcrumbs, type IBreadcrumbsLink, type IBreadcrumbsProps } from './breadcrumbs';
@@ -0,0 +1,42 @@
1
+ import type { AnchorHTMLAttributes, ButtonHTMLAttributes } from 'react';
2
+ import type { ResponsiveAttribute } from '../../types';
3
+ import type { IconType } from '../icon';
4
+ export type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'success' | 'warning' | 'critical';
5
+ export type ButtonContext = 'default' | 'onlyIcon';
6
+ export type ButtonSize = 'lg' | 'md' | 'sm';
7
+ export interface IButtonBaseProps {
8
+ /**
9
+ * Variant of the button.
10
+ * @default primary
11
+ */
12
+ variant?: ButtonVariant;
13
+ /**
14
+ * Size of the button.
15
+ * @default lg
16
+ */
17
+ size?: ButtonSize;
18
+ /**
19
+ * Applies responsiveness to the size of the button.
20
+ */
21
+ responsiveSize?: ResponsiveAttribute<ButtonSize>;
22
+ /**
23
+ * Icon displayed on the right side of the button. This icon is hidden in case the button has no children element
24
+ * set (only-icon variant) and the iconLeft icon is displayed instead.
25
+ */
26
+ iconRight?: IconType;
27
+ /**
28
+ * Icon displayed on the left side of the button. This icon is displayed in case the button has no children element
29
+ * set (only-icon variant)
30
+ */
31
+ iconLeft?: IconType;
32
+ /**
33
+ * A boolean indicating whether the button is loading.
34
+ */
35
+ isLoading?: boolean;
36
+ /**
37
+ * A boolean indicating whether the button is disabled.
38
+ */
39
+ disabled?: boolean;
40
+ }
41
+ export type IButtonElementProps = ButtonHTMLAttributes<HTMLButtonElement> | AnchorHTMLAttributes<HTMLAnchorElement>;
42
+ export type IButtonProps = IButtonBaseProps & IButtonElementProps;
@@ -0,0 +1,2 @@
1
+ import type { IButtonProps } from './button.api';
2
+ export declare const Button: import("react").ForwardRefExoticComponent<IButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
@@ -0,0 +1,2 @@
1
+ export { Button } from './button';
2
+ export type { ButtonContext, ButtonSize, ButtonVariant, IButtonBaseProps, IButtonElementProps, IButtonProps, } from './button.api';
@@ -0,0 +1,4 @@
1
+ import type { HTMLAttributes } from 'react';
2
+ export interface ICardProps extends HTMLAttributes<HTMLDivElement> {
3
+ }
4
+ export declare const Card: React.FC<ICardProps>;
@@ -0,0 +1 @@
1
+ export { Card, type ICardProps } from './card';
@@ -0,0 +1,8 @@
1
+ import { type ICollapsibleProps } from '../../collapsible';
2
+ export interface ICardCollapsibleProps extends Omit<ICollapsibleProps, 'buttonVariant' | 'className'> {
3
+ /**
4
+ * Additional class names to apply to the card.
5
+ */
6
+ className?: string;
7
+ }
8
+ export declare const CardCollapsible: React.FC<ICardCollapsibleProps>;
@@ -0,0 +1 @@
1
+ export { CardCollapsible, type ICardCollapsibleProps } from './cardCollapsible';
@@ -0,0 +1,2 @@
1
+ import { type IEmptyStateProps } from '../../states/emptyState';
2
+ export declare const CardEmptyState: React.FC<IEmptyStateProps>;
@@ -0,0 +1 @@
1
+ export { CardEmptyState } from './cardEmptyState';
@@ -0,0 +1,39 @@
1
+ import type { IconType } from '../../icon';
2
+ import type { ICardProps } from '../card/card';
3
+ export interface ICardSummaryAction {
4
+ /**
5
+ * Label of the summary action.
6
+ */
7
+ label: string;
8
+ /**
9
+ * Callback called on summary action click.
10
+ */
11
+ onClick?: () => void;
12
+ /**
13
+ * Link of the action summary.
14
+ */
15
+ href?: string;
16
+ }
17
+ export interface ICardSummaryProps extends ICardProps {
18
+ /**
19
+ * Icon displayed on the card.
20
+ */
21
+ icon: IconType;
22
+ /**
23
+ * Value of the summary.
24
+ */
25
+ value: string;
26
+ /**
27
+ * Description of the summary.
28
+ */
29
+ description: string;
30
+ /**
31
+ * Action of the summary.
32
+ */
33
+ action: ICardSummaryAction;
34
+ /**
35
+ * Renders the action as stacked when set to true.
36
+ * @default true
37
+ */
38
+ isStacked?: boolean;
39
+ }
@@ -0,0 +1,2 @@
1
+ import type { ICardSummaryProps } from './cardSummary.api';
2
+ export declare const CardSummary: React.FC<ICardSummaryProps>;
@@ -0,0 +1,2 @@
1
+ export { CardSummary } from './cardSummary';
2
+ export { type ICardSummaryAction, type ICardSummaryProps } from './cardSummary.api';
@@ -0,0 +1,4 @@
1
+ export * from './card';
2
+ export * from './cardCollapsible';
3
+ export * from './cardEmptyState';
4
+ export * from './cardSummary';
@@ -0,0 +1,40 @@
1
+ import { type ComponentProps } from 'react';
2
+ export type CollapsedSize = 'sm' | 'md' | 'lg';
3
+ export interface ICollapsibleProps extends ComponentProps<'div'> {
4
+ /**
5
+ * The initial height of the collapsible container while closed.
6
+ * @default md
7
+ */
8
+ collapsedSize?: CollapsedSize;
9
+ /**
10
+ * Custom pixel height for the collapsible container that will override collapsedSize prop if defined.
11
+ */
12
+ customCollapsedHeight?: number;
13
+ /**
14
+ * Controlled state of the collapsible container.
15
+ * @default false
16
+ */
17
+ isOpen?: boolean;
18
+ /**
19
+ * Default state of the collapsible container.
20
+ * @default false
21
+ */
22
+ defaultOpen?: boolean;
23
+ /**
24
+ * The label to display on the trigger button when the collapsible container is closed.
25
+ */
26
+ buttonLabelClosed?: string;
27
+ /**
28
+ * The label to display on the trigger button when the collapsible container is open.
29
+ */
30
+ buttonLabelOpened?: string;
31
+ /**
32
+ * Show overlay when the collapsible container is open.
33
+ * @default false
34
+ */
35
+ showOverlay?: boolean;
36
+ /**
37
+ * Callback function that is called when the collapsible container is toggled.
38
+ */
39
+ onToggle?: (isOpen: boolean) => void;
40
+ }
@@ -0,0 +1,2 @@
1
+ import { type ICollapsibleProps } from './collapsible.api';
2
+ export declare const Collapsible: React.FC<ICollapsibleProps>;
@@ -0,0 +1,2 @@
1
+ export { Collapsible } from './collapsible';
2
+ export { type CollapsedSize, type ICollapsibleProps } from './collapsible.api';
@@ -0,0 +1,28 @@
1
+ import { type ComponentProps } from 'react';
2
+ import type { IEmptyStateProps } from '../../states';
3
+ export interface IDataListContainerState extends Pick<IEmptyStateProps, 'heading' | 'description' | 'primaryButton' | 'secondaryButton'> {
4
+ }
5
+ export interface IDataListContainerProps extends ComponentProps<'div'> {
6
+ /**
7
+ * Skeleton element displayed when the DataList container state is set to loading.
8
+ */
9
+ SkeletonElement?: React.FC;
10
+ /**
11
+ * Error state displayed when the data list status is set to error.
12
+ */
13
+ errorState?: IDataListContainerState;
14
+ /**
15
+ * Empty state displayed the the data list has no elements to render.
16
+ */
17
+ emptyState?: IDataListContainerState;
18
+ /**
19
+ * Empty state displayed the the data list has no elements to render for the current applied filters.
20
+ */
21
+ emptyFilteredState?: IDataListContainerState;
22
+ /**
23
+ * Classes applied only when displaying the DataListItem components. To be used to apply custom layouts to the
24
+ * children components without affecting the empty/error state layouts.
25
+ */
26
+ layoutClassName?: string;
27
+ }
28
+ export declare const DataListContainer: React.FC<IDataListContainerProps>;
@@ -0,0 +1,3 @@
1
+ export interface IDataListContainerSkeletonLoaderProps {
2
+ }
3
+ export declare const DataListContainerSkeletonLoader: React.FC<IDataListContainerSkeletonLoaderProps>;
@@ -0,0 +1 @@
1
+ export { DataListContainer, type IDataListContainerProps, type IDataListContainerState } from './dataListContainer';
@@ -0,0 +1,22 @@
1
+ import type { IDataListRootProps } from '../dataListRoot';
2
+ export interface IDataListContext extends Required<Pick<IDataListRootProps, 'pageSize'>>, Pick<IDataListRootProps, 'itemsCount' | 'state' | 'entityLabel'> {
3
+ /**
4
+ * Total number of list item children.
5
+ */
6
+ childrenItemCount: number;
7
+ /**
8
+ * Callback to update the total number of list item children.
9
+ */
10
+ setChildrenItemCount: (count: number) => void;
11
+ /**
12
+ * Current page being rendered.
13
+ */
14
+ currentPage: number;
15
+ /**
16
+ * Callback called to load more items.
17
+ */
18
+ handleLoadMore: (newPage: number) => void;
19
+ }
20
+ export declare const dataListContext: import("react").Context<IDataListContext | null>;
21
+ export declare const DataListContextProvider: import("react").Provider<IDataListContext | null>;
22
+ export declare const useDataListContext: () => IDataListContext;
@@ -0,0 +1 @@
1
+ export { DataListContextProvider, dataListContext, useDataListContext, type IDataListContext } from './dataListContext';
@@ -0,0 +1,50 @@
1
+ import { type ComponentProps } from 'react';
2
+ export interface IDataListFilterSortItem {
3
+ /**
4
+ * Value of the sort item.
5
+ */
6
+ value: string;
7
+ /**
8
+ * Label of the sort item.
9
+ */
10
+ label: string;
11
+ /**
12
+ * Sort item type to display the correct icon on the sort button.
13
+ */
14
+ type: 'ASC' | 'DESC';
15
+ }
16
+ export interface IDataListFilterProps extends Omit<ComponentProps<'div'>, 'onChange'> {
17
+ /**
18
+ * Placeholder of the search bar.
19
+ */
20
+ placeholder?: string;
21
+ /**
22
+ * Current value of the search bar.
23
+ */
24
+ searchValue?: string;
25
+ /**
26
+ * Callback called on search value change.
27
+ */
28
+ onSearchValueChange: (value?: string) => void;
29
+ /**
30
+ * Active sorting of the data list.
31
+ */
32
+ activeSort?: string;
33
+ /**
34
+ * Sort items displayed on the sort dropdown.
35
+ */
36
+ sortItems?: IDataListFilterSortItem[];
37
+ /**
38
+ * Callback called on sort change.
39
+ */
40
+ onSortChange?: (sort: string) => void;
41
+ /**
42
+ * Callback called on filter button click. The filter button is not displayed when the callback is not defined.
43
+ */
44
+ onFilterClick?: () => void;
45
+ /**
46
+ * Callback called on reset filters button click. The reset filters button is not displayed when the callback is not defined.
47
+ */
48
+ onResetFiltersClick?: () => void;
49
+ }
50
+ export declare const DataListFilter: React.FC<IDataListFilterProps>;
@@ -0,0 +1,12 @@
1
+ import type { IDataListFilterProps } from './dataListFilter';
2
+ export interface IDataListFilterSortProps extends Pick<IDataListFilterProps, 'activeSort' | 'sortItems' | 'onSortChange'> {
3
+ /**
4
+ * Classes for the dropdown trigger.
5
+ */
6
+ triggerClassNames?: string;
7
+ /**
8
+ * Label of the dropdown trigger.
9
+ */
10
+ triggerLabel?: string;
11
+ }
12
+ export declare const DataListFilterSort: React.FC<IDataListFilterSortProps>;
@@ -0,0 +1,7 @@
1
+ export interface IDataListFilterStatusProps {
2
+ /**
3
+ * Callback to clear all active filters
4
+ */
5
+ onResetFiltersClick?: () => void;
6
+ }
7
+ export declare const DataListFilterStatus: React.FC<IDataListFilterStatusProps>;
@@ -0,0 +1 @@
1
+ export { DataListFilter, type IDataListFilterProps, type IDataListFilterSortItem } from './dataListFilter';
@@ -0,0 +1,3 @@
1
+ import { type AnchorHTMLAttributes, type ButtonHTMLAttributes } from 'react';
2
+ export type IDataListItemProps = ButtonHTMLAttributes<HTMLButtonElement> | AnchorHTMLAttributes<HTMLAnchorElement>;
3
+ export declare const DataListItem: React.FC<IDataListItemProps>;
@@ -0,0 +1 @@
1
+ export { DataListItem, type IDataListItemProps } from './dataListItem';
@@ -0,0 +1,4 @@
1
+ import type { ComponentProps } from 'react';
2
+ export interface IDataListPaginationProps extends ComponentProps<'div'> {
3
+ }
4
+ export declare const DataListPagination: React.FC<IDataListPaginationProps>;
@@ -0,0 +1 @@
1
+ export { DataListPagination, type IDataListPaginationProps } from './dataListPagination';