@edifice.io/react 2.0.0-develop-rc.7 → 2.0.0-develop-rc.11

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 (614) hide show
  1. package/dist/audience.js +15 -14
  2. package/dist/audience.js.map +1 -0
  3. package/dist/components/ActionBar/ActionBar.js +8 -7
  4. package/dist/components/ActionBar/ActionBar.js.map +1 -0
  5. package/dist/components/Alert/Alert.js +60 -59
  6. package/dist/components/Alert/Alert.js.map +1 -0
  7. package/dist/components/AppHeader/AppHeader.js +19 -18
  8. package/dist/components/AppHeader/AppHeader.js.map +1 -0
  9. package/dist/components/AppIcon/AppIcon.d.ts +1 -1
  10. package/dist/components/AppIcon/AppIcon.js +45 -44
  11. package/dist/components/AppIcon/AppIcon.js.map +1 -0
  12. package/dist/components/Attachment/Attachment.js +14 -13
  13. package/dist/components/Attachment/Attachment.js.map +1 -0
  14. package/dist/components/Avatar/Avatar.js +28 -27
  15. package/dist/components/Avatar/Avatar.js.map +1 -0
  16. package/dist/components/Badge/Badge.js +21 -20
  17. package/dist/components/Badge/Badge.js.map +1 -0
  18. package/dist/components/Breadcrumb/Breadcrumb.d.ts +1 -1
  19. package/dist/components/Breadcrumb/Breadcrumb.js +24 -23
  20. package/dist/components/Breadcrumb/Breadcrumb.js.map +1 -0
  21. package/dist/components/Breadcrumb/BreadcrumbItem.js +12 -11
  22. package/dist/components/Breadcrumb/BreadcrumbItem.js.map +1 -0
  23. package/dist/components/Breadcrumb/BreadcrumbList.js +11 -10
  24. package/dist/components/Breadcrumb/BreadcrumbList.js.map +1 -0
  25. package/dist/components/Breadcrumb/BreadcrumbNav.d.ts +1 -1
  26. package/dist/components/Breadcrumb/BreadcrumbNav.js +16 -15
  27. package/dist/components/Breadcrumb/BreadcrumbNav.js.map +1 -0
  28. package/dist/components/Button/Button.js +33 -32
  29. package/dist/components/Button/Button.js.map +1 -0
  30. package/dist/components/Button/IconButton.js +16 -15
  31. package/dist/components/Button/IconButton.js.map +1 -0
  32. package/dist/components/Button/SearchButton.js +16 -15
  33. package/dist/components/Button/SearchButton.js.map +1 -0
  34. package/dist/components/Card/Card.d.ts +1 -1
  35. package/dist/components/Card/Card.js +48 -47
  36. package/dist/components/Card/Card.js.map +1 -0
  37. package/dist/components/Card/CardBody.js +14 -13
  38. package/dist/components/Card/CardBody.js.map +1 -0
  39. package/dist/components/Card/CardContext.d.ts +1 -1
  40. package/dist/components/Card/CardContext.js +8 -7
  41. package/dist/components/Card/CardContext.js.map +1 -0
  42. package/dist/components/Card/CardFooter.js +6 -5
  43. package/dist/components/Card/CardFooter.js.map +1 -0
  44. package/dist/components/Card/CardHeader.js +15 -14
  45. package/dist/components/Card/CardHeader.js.map +1 -0
  46. package/dist/components/Card/CardImage.js +14 -13
  47. package/dist/components/Card/CardImage.js.map +1 -0
  48. package/dist/components/Card/CardText.js +9 -8
  49. package/dist/components/Card/CardText.js.map +1 -0
  50. package/dist/components/Card/CardTitle.js +9 -8
  51. package/dist/components/Card/CardTitle.js.map +1 -0
  52. package/dist/components/Card/CardUser.js +9 -8
  53. package/dist/components/Card/CardUser.js.map +1 -0
  54. package/dist/components/Checkbox/Checkbox.js +31 -30
  55. package/dist/components/Checkbox/Checkbox.js.map +1 -0
  56. package/dist/components/ColorPicker/ColorPalette.js +5 -4
  57. package/dist/components/ColorPicker/ColorPalette.js.map +1 -0
  58. package/dist/components/ColorPicker/ColorPicker.js +29 -28
  59. package/dist/components/ColorPicker/ColorPicker.js.map +1 -0
  60. package/dist/components/ColorPicker/ColorPickerItem.js +12 -11
  61. package/dist/components/ColorPicker/ColorPickerItem.js.map +1 -0
  62. package/dist/components/Combobox/Combobox.js +36 -35
  63. package/dist/components/Combobox/Combobox.js.map +1 -0
  64. package/dist/components/Combobox/ComboboxTrigger.js +22 -21
  65. package/dist/components/Combobox/ComboboxTrigger.js.map +1 -0
  66. package/dist/components/Dropdown/Dropdown.js +56 -55
  67. package/dist/components/Dropdown/Dropdown.js.map +1 -0
  68. package/dist/components/Dropdown/DropdownCheckboxItem.js +27 -26
  69. package/dist/components/Dropdown/DropdownCheckboxItem.js.map +1 -0
  70. package/dist/components/Dropdown/DropdownContext.js +8 -7
  71. package/dist/components/Dropdown/DropdownContext.js.map +1 -0
  72. package/dist/components/Dropdown/DropdownItem.js +28 -27
  73. package/dist/components/Dropdown/DropdownItem.js.map +1 -0
  74. package/dist/components/Dropdown/DropdownMenu.js +22 -21
  75. package/dist/components/Dropdown/DropdownMenu.js.map +1 -0
  76. package/dist/components/Dropdown/DropdownMenuGroup.js +10 -9
  77. package/dist/components/Dropdown/DropdownMenuGroup.js.map +1 -0
  78. package/dist/components/Dropdown/DropdownRadioItem.js +27 -26
  79. package/dist/components/Dropdown/DropdownRadioItem.js.map +1 -0
  80. package/dist/components/Dropdown/DropdownSeparator.js +4 -3
  81. package/dist/components/Dropdown/DropdownSeparator.js.map +1 -0
  82. package/dist/components/Dropdown/DropdownTrigger.js +29 -28
  83. package/dist/components/Dropdown/DropdownTrigger.js.map +1 -0
  84. package/dist/components/Dropzone/Dropzone.js +48 -47
  85. package/dist/components/Dropzone/Dropzone.js.map +1 -0
  86. package/dist/components/Dropzone/DropzoneContext.js +9 -8
  87. package/dist/components/Dropzone/DropzoneContext.js.map +1 -0
  88. package/dist/components/Dropzone/DropzoneDrag.js +8 -7
  89. package/dist/components/Dropzone/DropzoneDrag.js.map +1 -0
  90. package/dist/components/Dropzone/DropzoneFile.js +26 -25
  91. package/dist/components/Dropzone/DropzoneFile.js.map +1 -0
  92. package/dist/components/Dropzone/DropzoneImport.js +21 -20
  93. package/dist/components/Dropzone/DropzoneImport.js.map +1 -0
  94. package/dist/components/EmptyScreen/EmptyScreen.js +17 -16
  95. package/dist/components/EmptyScreen/EmptyScreen.js.map +1 -0
  96. package/dist/components/FileCard/FileCard.d.ts +1 -1
  97. package/dist/components/FileCard/FileCard.js +38 -37
  98. package/dist/components/FileCard/FileCard.js.map +1 -0
  99. package/dist/components/FileCard/FileIcon.d.ts +1 -1
  100. package/dist/components/FileCard/FileIcon.js +12 -11
  101. package/dist/components/FileCard/FileIcon.js.map +1 -0
  102. package/dist/components/Form/FormContext.js +8 -7
  103. package/dist/components/Form/FormContext.js.map +1 -0
  104. package/dist/components/Form/FormControl.js +31 -30
  105. package/dist/components/Form/FormControl.js.map +1 -0
  106. package/dist/components/Form/FormText.js +13 -12
  107. package/dist/components/Form/FormText.js.map +1 -0
  108. package/dist/components/Grid/Grid.js +28 -27
  109. package/dist/components/Grid/Grid.js.map +1 -0
  110. package/dist/components/Heading/Heading.js +15 -14
  111. package/dist/components/Heading/Heading.js.map +1 -0
  112. package/dist/components/Icon/Icon.js +9 -8
  113. package/dist/components/Icon/Icon.js.map +1 -0
  114. package/dist/components/Image/Image.js +40 -39
  115. package/dist/components/Image/Image.js.map +1 -0
  116. package/dist/components/ImagePicker/ImagePicker.d.ts +1 -1
  117. package/dist/components/ImagePicker/ImagePicker.js +52 -51
  118. package/dist/components/ImagePicker/ImagePicker.js.map +1 -0
  119. package/dist/components/Input/Input.js +29 -28
  120. package/dist/components/Input/Input.js.map +1 -0
  121. package/dist/components/Label/Label.js +31 -30
  122. package/dist/components/Label/Label.js.map +1 -0
  123. package/dist/components/Loading/Loading.js +24 -23
  124. package/dist/components/Loading/Loading.js.map +1 -0
  125. package/dist/components/LoadingScreen/LoadingScreen.js +21 -20
  126. package/dist/components/LoadingScreen/LoadingScreen.js.map +1 -0
  127. package/dist/components/Logo/Logo.js +13 -12
  128. package/dist/components/Logo/Logo.js.map +1 -0
  129. package/dist/components/Menu/Menu.js +40 -39
  130. package/dist/components/Menu/Menu.js.map +1 -0
  131. package/dist/components/Menu/MenuButton.js +18 -17
  132. package/dist/components/Menu/MenuButton.js.map +1 -0
  133. package/dist/components/Menu/MenuContext.js +9 -8
  134. package/dist/components/Menu/MenuContext.js.map +1 -0
  135. package/dist/components/Menu/MenuItem.js +15 -14
  136. package/dist/components/Menu/MenuItem.js.map +1 -0
  137. package/dist/components/Modal/Modal.js +50 -49
  138. package/dist/components/Modal/Modal.js.map +1 -0
  139. package/dist/components/Modal/ModalBody.js +12 -11
  140. package/dist/components/Modal/ModalBody.js.map +1 -0
  141. package/dist/components/Modal/ModalContext.js +9 -8
  142. package/dist/components/Modal/ModalContext.js.map +1 -0
  143. package/dist/components/Modal/ModalFooter.js +4 -3
  144. package/dist/components/Modal/ModalFooter.js.map +1 -0
  145. package/dist/components/Modal/ModalHeader.js +23 -22
  146. package/dist/components/Modal/ModalHeader.js.map +1 -0
  147. package/dist/components/Modal/ModalSubtitle.js +4 -3
  148. package/dist/components/Modal/ModalSubtitle.js.map +1 -0
  149. package/dist/components/Popover/Popover.js +34 -33
  150. package/dist/components/Popover/Popover.js.map +1 -0
  151. package/dist/components/Radio/Radio.js +27 -26
  152. package/dist/components/Radio/Radio.js.map +1 -0
  153. package/dist/components/SearchBar/SearchBar.js +30 -29
  154. package/dist/components/SearchBar/SearchBar.js.map +1 -0
  155. package/dist/components/Select/Select.js +32 -31
  156. package/dist/components/Select/Select.js.map +1 -0
  157. package/dist/components/Select/SelectTrigger.js +5 -4
  158. package/dist/components/Select/SelectTrigger.js.map +1 -0
  159. package/dist/components/Table/TableExplorer.js +8 -7
  160. package/dist/components/Table/TableExplorer.js.map +1 -0
  161. package/dist/components/Tabs/Tabs.js +59 -58
  162. package/dist/components/Tabs/Tabs.js.map +1 -0
  163. package/dist/components/Tabs/TabsContext.js +9 -8
  164. package/dist/components/Tabs/TabsContext.js.map +1 -0
  165. package/dist/components/Tabs/TabsItem.js +21 -20
  166. package/dist/components/Tabs/TabsItem.js.map +1 -0
  167. package/dist/components/Tabs/TabsList.js +19 -18
  168. package/dist/components/Tabs/TabsList.js.map +1 -0
  169. package/dist/components/Tabs/TabsPanel.js +10 -9
  170. package/dist/components/Tabs/TabsPanel.js.map +1 -0
  171. package/dist/components/TextArea/TextArea.js +32 -31
  172. package/dist/components/TextArea/TextArea.js.map +1 -0
  173. package/dist/components/TextArea/TextareaCounter.js +7 -6
  174. package/dist/components/TextArea/TextareaCounter.js.map +1 -0
  175. package/dist/components/Toolbar/Toolbar.js +61 -60
  176. package/dist/components/Toolbar/Toolbar.js.map +1 -0
  177. package/dist/components/Tooltip/Tooltip.js +29 -28
  178. package/dist/components/Tooltip/Tooltip.js.map +1 -0
  179. package/dist/components/TreeView/TreeItem.js +47 -46
  180. package/dist/components/TreeView/TreeItem.js.map +1 -0
  181. package/dist/components/TreeView/TreeView.js +34 -33
  182. package/dist/components/TreeView/TreeView.js.map +1 -0
  183. package/dist/components/TreeView/hooks/useTreeItemEvents.js +19 -18
  184. package/dist/components/TreeView/hooks/useTreeItemEvents.js.map +1 -0
  185. package/dist/components/UploadCard/UploadCard.js +53 -52
  186. package/dist/components/UploadCard/UploadCard.js.map +1 -0
  187. package/dist/components/VisuallyHidden/VisuallyHidden.js +8 -7
  188. package/dist/components/VisuallyHidden/VisuallyHidden.js.map +1 -0
  189. package/dist/core/OdeClientProvider/OdeClientProvider.d.ts +1 -1
  190. package/dist/core/OdeClientProvider/OdeClientProvider.js +45 -44
  191. package/dist/core/OdeClientProvider/OdeClientProvider.js.map +1 -0
  192. package/dist/core/ThemeProvider/ThemeProvider.d.ts +1 -1
  193. package/dist/core/ThemeProvider/ThemeProvider.js +36 -35
  194. package/dist/core/ThemeProvider/ThemeProvider.js.map +1 -0
  195. package/dist/core/useAvatar/useAvatar.d.ts +1 -1
  196. package/dist/core/useAvatar/useAvatar.js +22 -21
  197. package/dist/core/useAvatar/useAvatar.js.map +1 -0
  198. package/dist/core/useBookmark/useBookmark.d.ts +1 -1
  199. package/dist/core/useBookmark/useBookmark.js +10 -9
  200. package/dist/core/useBookmark/useBookmark.js.map +1 -0
  201. package/dist/core/useConf/useConf.d.ts +1 -1
  202. package/dist/core/useConf/useConf.js +8 -7
  203. package/dist/core/useConf/useConf.js.map +1 -0
  204. package/dist/core/useConversation/useConversation.js +29 -28
  205. package/dist/core/useConversation/useConversation.js.map +1 -0
  206. package/dist/core/useCookiesConsent/useCookiesConsent.js +17 -16
  207. package/dist/core/useCookiesConsent/useCookiesConsent.js.map +1 -0
  208. package/dist/core/useDate/useDate.js +36 -35
  209. package/dist/core/useDate/useDate.js.map +1 -0
  210. package/dist/core/useHasWorkflow/useHasWorkflow.js +15 -14
  211. package/dist/core/useHasWorkflow/useHasWorkflow.js.map +1 -0
  212. package/dist/core/useHeader/useHeader.d.ts +1 -1
  213. package/dist/core/useHeader/useHeader.js +42 -41
  214. package/dist/core/useHeader/useHeader.js.map +1 -0
  215. package/dist/core/useHttpErrorToast/useHttpErrorToast.js +18 -17
  216. package/dist/core/useHttpErrorToast/useHttpErrorToast.js.map +1 -0
  217. package/dist/core/useIsAdml/useIsAdml.js +12 -11
  218. package/dist/core/useIsAdml/useIsAdml.js.map +1 -0
  219. package/dist/core/useLibraryUrl/useLibraryUrl.js +16 -15
  220. package/dist/core/useLibraryUrl/useLibraryUrl.js.map +1 -0
  221. package/dist/core/useMediaLibrary/useMediaLibrary.d.ts +1 -1
  222. package/dist/core/useMediaLibrary/useMediaLibrary.js +32 -31
  223. package/dist/core/useMediaLibrary/useMediaLibrary.js.map +1 -0
  224. package/dist/core/useOdeIcons/useOdeIcons.d.ts +1 -1
  225. package/dist/core/useOdeIcons/useOdeIcons.js +38 -37
  226. package/dist/core/useOdeIcons/useOdeIcons.js.map +1 -0
  227. package/dist/core/usePaths/usePaths.js +3 -2
  228. package/dist/core/usePaths/usePaths.js.map +1 -0
  229. package/dist/core/usePreferences/usePreferences.js +6 -5
  230. package/dist/core/usePreferences/usePreferences.js.map +1 -0
  231. package/dist/core/useResource/useResource.d.ts +1 -0
  232. package/dist/core/useResource/useResource.js +15 -14
  233. package/dist/core/useResource/useResource.js.map +1 -0
  234. package/dist/core/useResourceSearch/useResourceSearch.d.ts +1 -1
  235. package/dist/core/useResourceSearch/useResourceSearch.js +23 -22
  236. package/dist/core/useResourceSearch/useResourceSearch.js.map +1 -0
  237. package/dist/core/useSession/useSession.js +7 -6
  238. package/dist/core/useSession/useSession.js.map +1 -0
  239. package/dist/core/useTrashedResource/useTrashedResource.js +18 -17
  240. package/dist/core/useTrashedResource/useTrashedResource.js.map +1 -0
  241. package/dist/core/useUpload/useUpload.d.ts +5 -4
  242. package/dist/core/useUpload/useUpload.js +69 -68
  243. package/dist/core/useUpload/useUpload.js.map +1 -0
  244. package/dist/core/useUploadFiles/useUploadFiles.d.ts +6 -6
  245. package/dist/core/useUploadFiles/useUploadFiles.js +82 -81
  246. package/dist/core/useUploadFiles/useUploadFiles.js.map +1 -0
  247. package/dist/core/useUser/useUser.d.ts +1 -1
  248. package/dist/core/useUser/useUser.js +16 -15
  249. package/dist/core/useUser/useUser.js.map +1 -0
  250. package/dist/core/useWorkspaceFile/useWorkspaceFile.d.ts +5 -5
  251. package/dist/core/useWorkspaceFile/useWorkspaceFile.js +31 -30
  252. package/dist/core/useWorkspaceFile/useWorkspaceFile.js.map +1 -0
  253. package/dist/core/useWorkspaceSearch/useWorkspaceSearch.d.ts +2 -2
  254. package/dist/core/useWorkspaceSearch/useWorkspaceSearch.js +42 -41
  255. package/dist/core/useWorkspaceSearch/useWorkspaceSearch.js.map +1 -0
  256. package/dist/core/useXitiTrackPageLoad/useXitiTrackPageLoad.js +18 -17
  257. package/dist/core/useXitiTrackPageLoad/useXitiTrackPageLoad.js.map +1 -0
  258. package/dist/core/useZendeskGuide/useZendeskGuide.js +47 -46
  259. package/dist/core/useZendeskGuide/useZendeskGuide.js.map +1 -0
  260. package/dist/editor.js +57 -56
  261. package/dist/editor.js.map +1 -0
  262. package/dist/hooks/useBrowserInfo/useBrowserInfo.js +12 -11
  263. package/dist/hooks/useBrowserInfo/useBrowserInfo.js.map +1 -0
  264. package/dist/hooks/useClickOutside/useClickOutside.js +19 -18
  265. package/dist/hooks/useClickOutside/useClickOutside.js.map +1 -0
  266. package/dist/hooks/useDebounce/useDebounce.js +11 -10
  267. package/dist/hooks/useDebounce/useDebounce.js.map +1 -0
  268. package/dist/hooks/useDropdown/useDropdown.js +96 -95
  269. package/dist/hooks/useDropdown/useDropdown.js.map +1 -0
  270. package/dist/hooks/useDropzone/useDropzone.js +53 -52
  271. package/dist/hooks/useDropzone/useDropzone.js.map +1 -0
  272. package/dist/hooks/useHover/useHover.js +15 -14
  273. package/dist/hooks/useHover/useHover.js.map +1 -0
  274. package/dist/hooks/useImage/useImage.js +14 -13
  275. package/dist/hooks/useImage/useImage.js.map +1 -0
  276. package/dist/hooks/useImageResizer/useImageResizer.js +32 -31
  277. package/dist/hooks/useImageResizer/useImageResizer.js.map +1 -0
  278. package/dist/hooks/useKeyPress/useKeyPress.js +11 -10
  279. package/dist/hooks/useKeyPress/useKeyPress.js.map +1 -0
  280. package/dist/hooks/useScrollToTop/useScrollToTop.js +5 -4
  281. package/dist/hooks/useScrollToTop/useScrollToTop.js.map +1 -0
  282. package/dist/hooks/useThumbnail/useThumbnail.js +22 -21
  283. package/dist/hooks/useThumbnail/useThumbnail.js.map +1 -0
  284. package/dist/hooks/useTitle/useTitle.js +8 -7
  285. package/dist/hooks/useTitle/useTitle.js.map +1 -0
  286. package/dist/hooks/useToast/useToast.js +26 -25
  287. package/dist/hooks/useToast/useToast.js.map +1 -0
  288. package/dist/hooks/useToggle/useToggle.js +7 -6
  289. package/dist/hooks/useToggle/useToggle.js.map +1 -0
  290. package/dist/hooks/useTrapFocus/useTrapFocus.js +12 -11
  291. package/dist/hooks/useTrapFocus/useTrapFocus.js.map +1 -0
  292. package/dist/index.js +226 -225
  293. package/dist/index.js.map +1 -0
  294. package/dist/modals.js +15 -14
  295. package/dist/modals.js.map +1 -0
  296. package/dist/modules/audience/ReactionChoice.d.ts +1 -1
  297. package/dist/modules/audience/ReactionChoice.js +24 -23
  298. package/dist/modules/audience/ReactionChoice.js.map +1 -0
  299. package/dist/modules/audience/ReactionModal.Card.d.ts +1 -1
  300. package/dist/modules/audience/ReactionModal.Card.js +26 -25
  301. package/dist/modules/audience/ReactionModal.Card.js.map +1 -0
  302. package/dist/modules/audience/ReactionModal.d.ts +1 -1
  303. package/dist/modules/audience/ReactionModal.js +59 -58
  304. package/dist/modules/audience/ReactionModal.js.map +1 -0
  305. package/dist/modules/audience/ReactionSummary.d.ts +1 -1
  306. package/dist/modules/audience/ReactionSummary.js +19 -18
  307. package/dist/modules/audience/ReactionSummary.js.map +1 -0
  308. package/dist/modules/audience/ViewsByProfileCard.d.ts +1 -1
  309. package/dist/modules/audience/ViewsByProfileCard.js +23 -22
  310. package/dist/modules/audience/ViewsByProfileCard.js.map +1 -0
  311. package/dist/modules/audience/ViewsCounter.js +14 -13
  312. package/dist/modules/audience/ViewsCounter.js.map +1 -0
  313. package/dist/modules/audience/ViewsModal.d.ts +1 -1
  314. package/dist/modules/audience/ViewsModal.js +32 -31
  315. package/dist/modules/audience/ViewsModal.js.map +1 -0
  316. package/dist/modules/audience/hooks/useReactionIcons.d.ts +1 -1
  317. package/dist/modules/audience/hooks/useReactionIcons.js +14 -13
  318. package/dist/modules/audience/hooks/useReactionIcons.js.map +1 -0
  319. package/dist/modules/audience/hooks/useReactions.d.ts +6 -4
  320. package/dist/modules/audience/hooks/useReactions.js +25 -24
  321. package/dist/modules/audience/hooks/useReactions.js.map +1 -0
  322. package/dist/modules/audience/hooks/useViews.d.ts +3 -3
  323. package/dist/modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.js +59 -58
  324. package/dist/modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.js.map +1 -0
  325. package/dist/modules/editor/components/Editor/Editor.d.ts +1 -1
  326. package/dist/modules/editor/components/Editor/Editor.js +70 -69
  327. package/dist/modules/editor/components/Editor/Editor.js.map +1 -0
  328. package/dist/modules/editor/components/Editor/MathsModal.js +38 -37
  329. package/dist/modules/editor/components/Editor/MathsModal.js.map +1 -0
  330. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.DropdownMenu.js +15 -14
  331. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.DropdownMenu.js.map +1 -0
  332. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Emoji.js +38 -37
  333. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Emoji.js.map +1 -0
  334. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.HighlightColor.js +34 -33
  335. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.HighlightColor.js.map +1 -0
  336. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.PlusMenu.js +13 -12
  337. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.PlusMenu.js.map +1 -0
  338. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextColor.js +37 -36
  339. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextColor.js.map +1 -0
  340. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextSize.js +36 -35
  341. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextSize.js.map +1 -0
  342. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Typography.js +31 -30
  343. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Typography.js.map +1 -0
  344. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js +96 -95
  345. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js.map +1 -0
  346. package/dist/modules/editor/components/NodeView/AttachmentNodeView.js +6 -5
  347. package/dist/modules/editor/components/NodeView/AttachmentNodeView.js.map +1 -0
  348. package/dist/modules/editor/components/NodeView/AudioNodeView.js +6 -5
  349. package/dist/modules/editor/components/NodeView/AudioNodeView.js.map +1 -0
  350. package/dist/modules/editor/components/NodeView/ImageNodeView.js +6 -5
  351. package/dist/modules/editor/components/NodeView/ImageNodeView.js.map +1 -0
  352. package/dist/modules/editor/components/NodeView/LinkerNodeView.js +6 -5
  353. package/dist/modules/editor/components/NodeView/LinkerNodeView.js.map +1 -0
  354. package/dist/modules/editor/components/NodeView/VideoNodeView.js +6 -5
  355. package/dist/modules/editor/components/NodeView/VideoNodeView.js.map +1 -0
  356. package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +25 -24
  357. package/dist/modules/editor/components/Renderer/AttachmentRenderer.js.map +1 -0
  358. package/dist/modules/editor/components/Renderer/AudioRenderer.js +8 -7
  359. package/dist/modules/editor/components/Renderer/AudioRenderer.js.map +1 -0
  360. package/dist/modules/editor/components/Renderer/LinkerRenderer.js +27 -26
  361. package/dist/modules/editor/components/Renderer/LinkerRenderer.js.map +1 -0
  362. package/dist/modules/editor/components/Renderer/MediaRenderer.js +38 -37
  363. package/dist/modules/editor/components/Renderer/MediaRenderer.js.map +1 -0
  364. package/dist/modules/editor/components/Toolbar/LinkToolbar.TippyOptions.js +3 -2
  365. package/dist/modules/editor/components/Toolbar/LinkToolbar.TippyOptions.js.map +1 -0
  366. package/dist/modules/editor/components/Toolbar/LinkToolbar.js +32 -31
  367. package/dist/modules/editor/components/Toolbar/LinkToolbar.js.map +1 -0
  368. package/dist/modules/editor/components/Toolbar/TableToolbar.AddMenu.js +22 -21
  369. package/dist/modules/editor/components/Toolbar/TableToolbar.AddMenu.js.map +1 -0
  370. package/dist/modules/editor/components/Toolbar/TableToolbar.CellColor.js +31 -30
  371. package/dist/modules/editor/components/Toolbar/TableToolbar.CellColor.js.map +1 -0
  372. package/dist/modules/editor/components/Toolbar/TableToolbar.DelMenu.js +21 -20
  373. package/dist/modules/editor/components/Toolbar/TableToolbar.DelMenu.js.map +1 -0
  374. package/dist/modules/editor/components/Toolbar/TableToolbar.js +40 -39
  375. package/dist/modules/editor/components/Toolbar/TableToolbar.js.map +1 -0
  376. package/dist/modules/editor/hooks/useActionOptions.js +48 -47
  377. package/dist/modules/editor/hooks/useActionOptions.js.map +1 -0
  378. package/dist/modules/editor/hooks/useCommentEditor.js +28 -27
  379. package/dist/modules/editor/hooks/useCommentEditor.js.map +1 -0
  380. package/dist/modules/editor/hooks/useEditorContext.js +9 -8
  381. package/dist/modules/editor/hooks/useEditorContext.js.map +1 -0
  382. package/dist/modules/editor/hooks/useImageModal.d.ts +2 -1
  383. package/dist/modules/editor/hooks/useImageModal.js +33 -32
  384. package/dist/modules/editor/hooks/useImageModal.js.map +1 -0
  385. package/dist/modules/editor/hooks/useImageSelection.js +32 -31
  386. package/dist/modules/editor/hooks/useImageSelection.js.map +1 -0
  387. package/dist/modules/editor/hooks/useLinkToolbar.js +25 -24
  388. package/dist/modules/editor/hooks/useLinkToolbar.js.map +1 -0
  389. package/dist/modules/editor/hooks/useMathsModal.js +10 -9
  390. package/dist/modules/editor/hooks/useMathsModal.js.map +1 -0
  391. package/dist/modules/editor/hooks/useMathsStyles.js +14 -13
  392. package/dist/modules/editor/hooks/useMathsStyles.js.map +1 -0
  393. package/dist/modules/editor/hooks/useMediaLibraryEditor.d.ts +1 -1
  394. package/dist/modules/editor/hooks/useMediaLibraryEditor.js +97 -96
  395. package/dist/modules/editor/hooks/useMediaLibraryEditor.js.map +1 -0
  396. package/dist/modules/editor/hooks/useResizeMedia.js +32 -31
  397. package/dist/modules/editor/hooks/useResizeMedia.js.map +1 -0
  398. package/dist/modules/editor/hooks/useSpeechRecognition.js +13 -12
  399. package/dist/modules/editor/hooks/useSpeechRecognition.js.map +1 -0
  400. package/dist/modules/editor/hooks/useSpeechSynthetisis.js +14 -13
  401. package/dist/modules/editor/hooks/useSpeechSynthetisis.js.map +1 -0
  402. package/dist/modules/editor/hooks/useTipTapEditor.js +58 -57
  403. package/dist/modules/editor/hooks/useTipTapEditor.js.map +1 -0
  404. package/dist/modules/editor/utils/has-extension.js +3 -2
  405. package/dist/modules/editor/utils/has-extension.js.map +1 -0
  406. package/dist/modules/editor/utils/has-mark.js +3 -2
  407. package/dist/modules/editor/utils/has-mark.js.map +1 -0
  408. package/dist/modules/editor/utils/has-text-style.js +4 -3
  409. package/dist/modules/editor/utils/has-text-style.js.map +1 -0
  410. package/dist/modules/modals/OnboardingModal/OnboardingModal.js +49 -48
  411. package/dist/modules/modals/OnboardingModal/OnboardingModal.js.map +1 -0
  412. package/dist/modules/modals/OnboardingModal/useOnboardingModal.js +19 -18
  413. package/dist/modules/modals/OnboardingModal/useOnboardingModal.js.map +1 -0
  414. package/dist/modules/modals/PublishModal/PublishModal.d.ts +1 -1
  415. package/dist/modules/modals/PublishModal/PublishModal.js +98 -97
  416. package/dist/modules/modals/PublishModal/PublishModal.js.map +1 -0
  417. package/dist/modules/modals/PublishModal/components/ActivitiesDropdown.js +20 -19
  418. package/dist/modules/modals/PublishModal/components/ActivitiesDropdown.js.map +1 -0
  419. package/dist/modules/modals/PublishModal/components/AgeSelect.js +15 -14
  420. package/dist/modules/modals/PublishModal/components/AgeSelect.js.map +1 -0
  421. package/dist/modules/modals/PublishModal/components/LangSelect.js +12 -11
  422. package/dist/modules/modals/PublishModal/components/LangSelect.js.map +1 -0
  423. package/dist/modules/modals/PublishModal/components/PublishModalFooter.js +17 -16
  424. package/dist/modules/modals/PublishModal/components/PublishModalFooter.js.map +1 -0
  425. package/dist/modules/modals/PublishModal/components/SubjectsDropdown.js +20 -19
  426. package/dist/modules/modals/PublishModal/components/SubjectsDropdown.js.map +1 -0
  427. package/dist/modules/modals/PublishModal/components/ToastError.js +18 -17
  428. package/dist/modules/modals/PublishModal/components/ToastError.js.map +1 -0
  429. package/dist/modules/modals/PublishModal/components/ToastSuccess.d.ts +1 -1
  430. package/dist/modules/modals/PublishModal/components/ToastSuccess.js +13 -12
  431. package/dist/modules/modals/PublishModal/components/ToastSuccess.js.map +1 -0
  432. package/dist/modules/modals/PublishModal/constants/ageOptions.js +3 -2
  433. package/dist/modules/modals/PublishModal/constants/ageOptions.js.map +1 -0
  434. package/dist/modules/modals/PublishModal/hooks/useActivitiesOptions.js +5 -4
  435. package/dist/modules/modals/PublishModal/hooks/useActivitiesOptions.js.map +1 -0
  436. package/dist/modules/modals/PublishModal/hooks/useLanguageOptions.js +17 -16
  437. package/dist/modules/modals/PublishModal/hooks/useLanguageOptions.js.map +1 -0
  438. package/dist/modules/modals/PublishModal/hooks/usePublishModal.d.ts +1 -1
  439. package/dist/modules/modals/PublishModal/hooks/usePublishModal.js +80 -79
  440. package/dist/modules/modals/PublishModal/hooks/usePublishModal.js.map +1 -0
  441. package/dist/modules/modals/PublishModal/hooks/useSubjectsOptions.js +42 -41
  442. package/dist/modules/modals/PublishModal/hooks/useSubjectsOptions.js.map +1 -0
  443. package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +1 -1
  444. package/dist/modules/modals/ResourceModal/ResourceModal.js +116 -115
  445. package/dist/modules/modals/ResourceModal/ResourceModal.js.map +1 -0
  446. package/dist/modules/modals/ResourceModal/apps/BlogPublic.d.ts +1 -1
  447. package/dist/modules/modals/ResourceModal/apps/BlogPublic.js +48 -47
  448. package/dist/modules/modals/ResourceModal/apps/BlogPublic.js.map +1 -0
  449. package/dist/modules/modals/ResourceModal/hooks/useSlug.d.ts +1 -1
  450. package/dist/modules/modals/ResourceModal/hooks/useSlug.js +33 -32
  451. package/dist/modules/modals/ResourceModal/hooks/useSlug.js.map +1 -0
  452. package/dist/modules/modals/ResourceModal/hooks/useThumb.d.ts +1 -1
  453. package/dist/modules/modals/ResourceModal/hooks/useThumb.js +13 -12
  454. package/dist/modules/modals/ResourceModal/hooks/useThumb.js.map +1 -0
  455. package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +1 -1
  456. package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.js +11 -10
  457. package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.js.map +1 -0
  458. package/dist/modules/modals/ShareModal/ShareBookmarkLine.d.ts +2 -2
  459. package/dist/modules/modals/ShareModal/ShareModal.d.ts +1 -1
  460. package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +1 -1
  461. package/dist/modules/modals/ShareModal/apps/ShareBlog.js +34 -33
  462. package/dist/modules/modals/ShareModal/apps/ShareBlog.js.map +1 -0
  463. package/dist/modules/modals/ShareModal/hooks/useSearch.d.ts +1 -1
  464. package/dist/modules/modals/ShareModal/hooks/useShare.d.ts +2 -2
  465. package/dist/modules/modals/ShareModal/hooks/useShareBookmark.d.ts +1 -1
  466. package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +1 -1
  467. package/dist/modules/modals/ShareModal/hooks/useShareMutation.js +13 -12
  468. package/dist/modules/modals/ShareModal/hooks/useShareMutation.js.map +1 -0
  469. package/dist/modules/modals/ShareModal/utils/hasRight.d.ts +1 -0
  470. package/dist/modules/modals/ShareModal/utils/showShareRightLine.d.ts +1 -0
  471. package/dist/modules/multimedia/AudioRecorder/AudioRecorder.d.ts +1 -1
  472. package/dist/modules/multimedia/AudioRecorder/AudioRecorder.js +43 -42
  473. package/dist/modules/multimedia/AudioRecorder/AudioRecorder.js.map +1 -0
  474. package/dist/modules/multimedia/AudioRecorder/AudioRecorderTimer.js +19 -18
  475. package/dist/modules/multimedia/AudioRecorder/AudioRecorderTimer.js.map +1 -0
  476. package/dist/modules/multimedia/AudioRecorder/useAudioRecorder.d.ts +1 -1
  477. package/dist/modules/multimedia/AudioRecorder/useAudioRecorder.js +158 -157
  478. package/dist/modules/multimedia/AudioRecorder/useAudioRecorder.js.map +1 -0
  479. package/dist/modules/multimedia/Embed/Embed.js +22 -21
  480. package/dist/modules/multimedia/Embed/Embed.js.map +1 -0
  481. package/dist/modules/multimedia/ImageEditor/components/ImageEditor.js +79 -78
  482. package/dist/modules/multimedia/ImageEditor/components/ImageEditor.js.map +1 -0
  483. package/dist/modules/multimedia/ImageEditor/components/ImageEditorToolbar.js +38 -37
  484. package/dist/modules/multimedia/ImageEditor/components/ImageEditorToolbar.js.map +1 -0
  485. package/dist/modules/multimedia/ImageEditor/effects/blur.js +50 -49
  486. package/dist/modules/multimedia/ImageEditor/effects/blur.js.map +1 -0
  487. package/dist/modules/multimedia/ImageEditor/effects/crop.js +100 -99
  488. package/dist/modules/multimedia/ImageEditor/effects/crop.js.map +1 -0
  489. package/dist/modules/multimedia/ImageEditor/effects/misc.js +108 -107
  490. package/dist/modules/multimedia/ImageEditor/effects/misc.js.map +1 -0
  491. package/dist/modules/multimedia/ImageEditor/effects/resize.js +97 -96
  492. package/dist/modules/multimedia/ImageEditor/effects/resize.js.map +1 -0
  493. package/dist/modules/multimedia/ImageEditor/effects/rotate.js +26 -25
  494. package/dist/modules/multimedia/ImageEditor/effects/rotate.js.map +1 -0
  495. package/dist/modules/multimedia/ImageEditor/hooks/useHistoryTool.js +39 -38
  496. package/dist/modules/multimedia/ImageEditor/hooks/useHistoryTool.js.map +1 -0
  497. package/dist/modules/multimedia/ImageEditor/hooks/useImageEditor.js +57 -56
  498. package/dist/modules/multimedia/ImageEditor/hooks/useImageEditor.js.map +1 -0
  499. package/dist/modules/multimedia/ImageEditor/hooks/useImageEffects.js +29 -28
  500. package/dist/modules/multimedia/ImageEditor/hooks/useImageEffects.js.map +1 -0
  501. package/dist/modules/multimedia/ImageEditor/utils/aggregate.js +10 -9
  502. package/dist/modules/multimedia/ImageEditor/utils/aggregate.js.map +1 -0
  503. package/dist/modules/multimedia/ImagePickerWorkspace/ImagePickerWorkspace.d.ts +1 -1
  504. package/dist/modules/multimedia/ImagePickerWorkspace/ImagePickerWorkspace.js +34 -33
  505. package/dist/modules/multimedia/ImagePickerWorkspace/ImagePickerWorkspace.js.map +1 -0
  506. package/dist/modules/multimedia/Linker/ExternalLinker.js +35 -34
  507. package/dist/modules/multimedia/Linker/ExternalLinker.js.map +1 -0
  508. package/dist/modules/multimedia/Linker/InternalLinker.d.ts +1 -1
  509. package/dist/modules/multimedia/Linker/InternalLinker.js +88 -87
  510. package/dist/modules/multimedia/Linker/InternalLinker.js.map +1 -0
  511. package/dist/modules/multimedia/LinkerCard/LinkerCard.d.ts +1 -1
  512. package/dist/modules/multimedia/LinkerCard/LinkerCard.js +32 -31
  513. package/dist/modules/multimedia/LinkerCard/LinkerCard.js.map +1 -0
  514. package/dist/modules/multimedia/MediaLibrary/MediaLibrary.d.ts +1 -1
  515. package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +119 -118
  516. package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js.map +1 -0
  517. package/dist/modules/multimedia/MediaLibrary/MediaLibraryContext.d.ts +4 -4
  518. package/dist/modules/multimedia/MediaLibrary/MediaLibraryContext.js +9 -8
  519. package/dist/modules/multimedia/MediaLibrary/MediaLibraryContext.js.map +1 -0
  520. package/dist/modules/multimedia/MediaLibrary/innertabs/Audio.js +16 -15
  521. package/dist/modules/multimedia/MediaLibrary/innertabs/Audio.js.map +1 -0
  522. package/dist/modules/multimedia/MediaLibrary/innertabs/ExternalLink.js +13 -12
  523. package/dist/modules/multimedia/MediaLibrary/innertabs/ExternalLink.js.map +1 -0
  524. package/dist/modules/multimedia/MediaLibrary/innertabs/Iframe.js +10 -9
  525. package/dist/modules/multimedia/MediaLibrary/innertabs/Iframe.js.map +1 -0
  526. package/dist/modules/multimedia/MediaLibrary/innertabs/InternalLink.d.ts +1 -1
  527. package/dist/modules/multimedia/MediaLibrary/innertabs/InternalLink.js +29 -28
  528. package/dist/modules/multimedia/MediaLibrary/innertabs/InternalLink.js.map +1 -0
  529. package/dist/modules/multimedia/MediaLibrary/innertabs/Upload.js +23 -22
  530. package/dist/modules/multimedia/MediaLibrary/innertabs/Upload.js.map +1 -0
  531. package/dist/modules/multimedia/MediaLibrary/innertabs/Video.js +18 -17
  532. package/dist/modules/multimedia/MediaLibrary/innertabs/Video.js.map +1 -0
  533. package/dist/modules/multimedia/MediaLibrary/innertabs/VideoEmbedder.js +10 -9
  534. package/dist/modules/multimedia/MediaLibrary/innertabs/VideoEmbedder.js.map +1 -0
  535. package/dist/modules/multimedia/MediaLibrary/innertabs/Workspace.js +17 -16
  536. package/dist/modules/multimedia/MediaLibrary/innertabs/Workspace.js.map +1 -0
  537. package/dist/modules/multimedia/MediaLibrary/innertabs/index.js +19 -18
  538. package/dist/modules/multimedia/MediaLibrary/innertabs/index.js.map +1 -0
  539. package/dist/modules/multimedia/UploadFiles/UploadFiles.d.ts +2 -2
  540. package/dist/modules/multimedia/UploadFiles/UploadFiles.js +42 -41
  541. package/dist/modules/multimedia/UploadFiles/UploadFiles.js.map +1 -0
  542. package/dist/modules/multimedia/VideoEmbed/VideoEmbed.js +60 -59
  543. package/dist/modules/multimedia/VideoEmbed/VideoEmbed.js.map +1 -0
  544. package/dist/modules/multimedia/VideoRecorder/VideoRecorder.d.ts +1 -1
  545. package/dist/modules/multimedia/VideoRecorder/VideoRecorder.js +153 -152
  546. package/dist/modules/multimedia/VideoRecorder/VideoRecorder.js.map +1 -0
  547. package/dist/modules/multimedia/Workspace/Workspace.d.ts +1 -1
  548. package/dist/modules/multimedia/Workspace/Workspace.js +110 -109
  549. package/dist/modules/multimedia/Workspace/Workspace.js.map +1 -0
  550. package/dist/multimedia.js +19 -18
  551. package/dist/multimedia.js.map +1 -0
  552. package/dist/portal/Header/Badge.js +6 -5
  553. package/dist/portal/Header/Badge.js.map +1 -0
  554. package/dist/portal/Header/Header.js +138 -137
  555. package/dist/portal/Header/Header.js.map +1 -0
  556. package/dist/portal/Header/NavItem.js +12 -11
  557. package/dist/portal/Header/NavItem.js.map +1 -0
  558. package/dist/portal/Header/NavLink.js +15 -14
  559. package/dist/portal/Header/NavLink.js.map +1 -0
  560. package/dist/portal/Header/Navbar.js +10 -9
  561. package/dist/portal/Header/Navbar.js.map +1 -0
  562. package/dist/portal/Header/NavbarNav.js +10 -9
  563. package/dist/portal/Header/NavbarNav.js.map +1 -0
  564. package/dist/portal/Header/WidgetApps.d.ts +1 -1
  565. package/dist/portal/Header/WidgetApps.js +17 -16
  566. package/dist/portal/Header/WidgetApps.js.map +1 -0
  567. package/dist/portal/Help/Help.js +19 -18
  568. package/dist/portal/Help/Help.js.map +1 -0
  569. package/dist/portal/Help/hooks/useHelp.js +64 -63
  570. package/dist/portal/Help/hooks/useHelp.js.map +1 -0
  571. package/dist/portal/Layout/Layout.js +35 -34
  572. package/dist/portal/Layout/Layout.js.map +1 -0
  573. package/dist/portal/SearchEngine/SearchEngine.js +26 -25
  574. package/dist/portal/SearchEngine/SearchEngine.js.map +1 -0
  575. package/dist/utils/MockedDataProvider/MockedDataProvider.d.ts +1 -1
  576. package/dist/utils/MockedDataProvider/MockedDataProvider.js +22 -21
  577. package/dist/utils/MockedDataProvider/MockedDataProvider.js.map +1 -0
  578. package/dist/utils/StringUtils.js +9 -8
  579. package/dist/utils/StringUtils.js.map +1 -0
  580. package/dist/utils/addTimestampToUrl.js +5 -4
  581. package/dist/utils/addTimestampToUrl.js.map +1 -0
  582. package/dist/utils/blob.js +10 -9
  583. package/dist/utils/blob.js.map +1 -0
  584. package/dist/utils/checkUserRight.d.ts +1 -1
  585. package/dist/utils/checkUserRight.js +28 -27
  586. package/dist/utils/checkUserRight.js.map +1 -0
  587. package/dist/utils/fileSize.js +6 -5
  588. package/dist/utils/fileSize.js.map +1 -0
  589. package/dist/utils/findTreeNode.js +8 -7
  590. package/dist/utils/findTreeNode.js.map +1 -0
  591. package/dist/utils/isActionAvailable.d.ts +1 -1
  592. package/dist/utils/isActionAvailable.js +5 -4
  593. package/dist/utils/isActionAvailable.js.map +1 -0
  594. package/dist/utils/libraryMaps.js +3 -2
  595. package/dist/utils/libraryMaps.js.map +1 -0
  596. package/dist/utils/noop.js +3 -2
  597. package/dist/utils/noop.js.map +1 -0
  598. package/dist/utils/ref.js +9 -8
  599. package/dist/utils/ref.js.map +1 -0
  600. package/dist/utils/thumbnail.js +4 -3
  601. package/dist/utils/thumbnail.js.map +1 -0
  602. package/dist/utils/time.js +8 -7
  603. package/dist/utils/time.js.map +1 -0
  604. package/dist/utils/treeview.d.ts +1 -1
  605. package/dist/utils/treeview.js +97 -96
  606. package/dist/utils/treeview.js.map +1 -0
  607. package/dist/utils/video.js +3 -2
  608. package/dist/utils/video.js.map +1 -0
  609. package/dist/widgets/BookmarkedApps/BookmarkedApps.d.ts +1 -1
  610. package/dist/widgets/BookmarkedApps/BookmarkedApps.js +7 -6
  611. package/dist/widgets/BookmarkedApps/BookmarkedApps.js.map +1 -0
  612. package/dist/widgets/Widget/Widget.js +19 -18
  613. package/dist/widgets/Widget/Widget.js.map +1 -0
  614. package/package.json +4 -4
@@ -1,28 +1,29 @@
1
- import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { forwardRef } from "react";
3
- import { useTranslation } from "react-i18next";
4
- import { Heading } from "../Heading/Heading.js";
5
- import BreadcrumbItem from "./BreadcrumbItem.js";
6
- import BreadcrumbList from "./BreadcrumbList.js";
7
- import BreadcrumbNav from "./BreadcrumbNav.js";
8
- import { AppIcon } from "../AppIcon/AppIcon.js";
9
- import { Icon } from "../Icon/Icon.js";
10
- const Breadcrumb = /* @__PURE__ */ forwardRef(({
11
- app,
12
- name
13
- }, ref) => {
1
+ import { jsx as r, jsxs as s, Fragment as n } from "react/jsx-runtime";
2
+ import { forwardRef as o } from "react";
3
+ import { useTranslation as a } from "react-i18next";
4
+ import { Heading as d } from "../Heading/Heading.js";
5
+ import l from "./BreadcrumbItem.js";
6
+ import h from "./BreadcrumbList.js";
7
+ import f from "./BreadcrumbNav.js";
8
+ import { AppIcon as c } from "../AppIcon/AppIcon.js";
9
+ import { Icon as N } from "../Icon/Icon.js";
10
+ const I = /* @__PURE__ */ o(({
11
+ app: e,
12
+ name: i
13
+ }, t) => {
14
14
  const {
15
- t
16
- } = useTranslation();
17
- return /* @__PURE__ */ jsx(BreadcrumbNav, { app, ref, className: "mw-100", children: /* @__PURE__ */ jsx(BreadcrumbList, { className: "gap-12 mw-100", children: name ? /* @__PURE__ */ jsxs(Fragment, { children: [
18
- /* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx("a", { href: app == null ? void 0 : app.address, className: "d-flex", "aria-label": t(app == null ? void 0 : app.displayName), children: /* @__PURE__ */ jsx(AppIcon, { app, size: "40" }) }) }),
19
- /* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(Icon, { name: "rafter-right", color: "var(--edifice-gray-600)", size: "20" }) }),
20
- /* @__PURE__ */ jsx(BreadcrumbItem, { className: "text-truncate", children: /* @__PURE__ */ jsx(Heading, { level: "h1", headingStyle: "h3", className: "text-truncate", children: name }) })
21
- ] }) : /* @__PURE__ */ jsxs(BreadcrumbItem, { className: "gap-12 d-flex align-items-center", children: [
22
- /* @__PURE__ */ jsx("a", { href: app == null ? void 0 : app.address, className: "d-flex", "aria-label": t(app == null ? void 0 : app.displayName), children: /* @__PURE__ */ jsx(AppIcon, { app, size: "40" }) }),
23
- /* @__PURE__ */ jsx(Heading, { level: "h1", headingStyle: "h3", className: "d-none d-md-flex", children: t(app == null ? void 0 : app.displayName) })
15
+ t: m
16
+ } = a();
17
+ return /* @__PURE__ */ r(f, { app: e, ref: t, className: "mw-100", children: /* @__PURE__ */ r(h, { className: "gap-12 mw-100", children: i ? /* @__PURE__ */ s(n, { children: [
18
+ /* @__PURE__ */ r(l, { children: /* @__PURE__ */ r("a", { href: e == null ? void 0 : e.address, className: "d-flex", "aria-label": m(e == null ? void 0 : e.displayName), children: /* @__PURE__ */ r(c, { app: e, size: "40" }) }) }),
19
+ /* @__PURE__ */ r(l, { children: /* @__PURE__ */ r(N, { name: "rafter-right", color: "var(--edifice-gray-600)", size: "20" }) }),
20
+ /* @__PURE__ */ r(l, { className: "text-truncate", children: /* @__PURE__ */ r(d, { level: "h1", headingStyle: "h3", className: "text-truncate", children: i }) })
21
+ ] }) : /* @__PURE__ */ s(l, { className: "gap-12 d-flex align-items-center", children: [
22
+ /* @__PURE__ */ r("a", { href: e == null ? void 0 : e.address, className: "d-flex", "aria-label": m(e == null ? void 0 : e.displayName), children: /* @__PURE__ */ r(c, { app: e, size: "40" }) }),
23
+ /* @__PURE__ */ r(d, { level: "h1", headingStyle: "h3", className: "d-none d-md-flex", children: m(e == null ? void 0 : e.displayName) })
24
24
  ] }) }) });
25
25
  });
26
26
  export {
27
- Breadcrumb
27
+ I as Breadcrumb
28
28
  };
29
+ //# sourceMappingURL=Breadcrumb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Breadcrumb.js","sources":["../../../src/components/Breadcrumb/Breadcrumb.tsx"],"sourcesContent":["import { forwardRef, Ref } from 'react';\n\nimport { IWebApp } from '@edifice.io/ts-client';\nimport { useTranslation } from 'react-i18next';\n\nimport { Icon } from '..';\nimport { AppIcon } from '../AppIcon';\nimport Heading from '../Heading/Heading';\nimport BreadcrumbItem from './BreadcrumbItem';\nimport BreadcrumbList from './BreadcrumbList';\nimport BreadcrumbNav from './BreadcrumbNav';\n\nexport interface BreadcrumbProps {\n /**\n * Pass all data about current application\n */\n app: IWebApp;\n /**\n * Show name of the current resource\n */\n name?: string;\n}\n\nexport const Breadcrumb = forwardRef(\n ({ app, name }: BreadcrumbProps, ref: Ref<HTMLElement>) => {\n const { t } = useTranslation();\n\n return (\n <BreadcrumbNav app={app} ref={ref} className=\"mw-100\">\n <BreadcrumbList className=\"gap-12 mw-100\">\n {name ? (\n <>\n <BreadcrumbItem>\n <a\n href={app?.address}\n className=\"d-flex\"\n aria-label={t(app?.displayName)}\n >\n <AppIcon app={app} size=\"40\" />\n </a>\n </BreadcrumbItem>\n <BreadcrumbItem>\n <Icon\n name=\"rafter-right\"\n color=\"var(--edifice-gray-600)\"\n size=\"20\"\n />\n </BreadcrumbItem>\n <BreadcrumbItem className=\"text-truncate\">\n <Heading level=\"h1\" headingStyle=\"h3\" className=\"text-truncate\">\n {name}\n </Heading>\n </BreadcrumbItem>\n </>\n ) : (\n <BreadcrumbItem className=\"gap-12 d-flex align-items-center\">\n <a\n href={app?.address}\n className=\"d-flex\"\n aria-label={t(app?.displayName)}\n >\n <AppIcon app={app} size=\"40\" />\n </a>\n <Heading\n level=\"h1\"\n headingStyle=\"h3\"\n className=\"d-none d-md-flex\"\n >\n {t(app?.displayName)}\n </Heading>\n </BreadcrumbItem>\n )}\n </BreadcrumbList>\n </BreadcrumbNav>\n );\n },\n);\n\nBreadcrumb.displayName = 'Breadcrumb';\n"],"names":["Breadcrumb","app","name","ref","t","useTranslation","jsx","BreadcrumbNav","BreadcrumbList","jsxs","Fragment","BreadcrumbItem","address","displayName","AppIcon","Icon","Heading"],"mappings":";;;;;;;;;AAuBaA,MAAAA,sBACX,CAAC;AAAA,EAAEC,KAAAA;AAAAA,EAAKC,MAAAA;AAAsB,GAAGC,MAA0B;AACnD,QAAA;AAAA,IAAEC,GAAAA;AAAAA,MAAMC,EAAe;AAG3B,SAAA,gBAAAC,EAACC,GAAc,EAAA,KAAAN,GAAU,KAAAE,GAAU,WAAU,UAC3C,UAAA,gBAAAG,EAACE,GAAe,EAAA,WAAU,iBACvBN,UAAAA,IAEG,gBAAAO,EAAAC,GAAA,EAAA,UAAA;AAAA,IAAA,gBAAAJ,EAACK,KACC,UAAC,gBAAAL,EAAA,KAAA,EACC,MAAML,KAAAA,gBAAAA,EAAKW,SACX,WAAU,UACV,cAAYR,EAAEH,KAAAA,gBAAAA,EAAKY,WAAW,GAE9B,UAAC,gBAAAP,EAAAQ,GAAA,EAAQ,KAAAb,GAAU,MAAK,MAAI,GAC9B,EACF,CAAA;AAAA,IACA,gBAAAK,EAACK,GACC,EAAA,UAAA,gBAAAL,EAACS,GACC,EAAA,MAAK,gBACL,OAAM,2BACN,MAAK,KAAA,CAAI,EAEb,CAAA;AAAA,IACC,gBAAAT,EAAAK,GAAA,EAAe,WAAU,iBACxB,UAAC,gBAAAL,EAAAU,GAAA,EAAQ,OAAM,MAAK,cAAa,MAAK,WAAU,iBAC7Cd,YACH,CAAA,GACF;AAAA,EAAA,EACF,CAAA,IAEA,gBAAAO,EAACE,GAAe,EAAA,WAAU,oCACxB,UAAA;AAAA,IAAA,gBAAAL,EAAC,OACC,MAAML,KAAAA,gBAAAA,EAAKW,SACX,WAAU,UACV,cAAYR,EAAEH,KAAAA,gBAAAA,EAAKY,WAAW,GAE9B,UAAC,gBAAAP,EAAAQ,GAAA,EAAQ,KAAAb,GAAU,MAAK,KAAI,CAAA,GAC9B;AAAA,IACA,gBAAAK,EAACU,GACC,EAAA,OAAM,MACN,cAAa,MACb,WAAU,oBAETZ,UAAAA,EAAEH,KAAAA,gBAAAA,EAAKY,WAAW,EACrB,CAAA;AAAA,EAAA,GACF,GAEJ,EACF,CAAA;AAEJ,CACF;"}
@@ -1,14 +1,15 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { forwardRef } from "react";
3
- import clsx from "clsx";
4
- const BreadcrumbItem = /* @__PURE__ */ forwardRef(({
5
- children,
6
- className,
7
- ...restProps
8
- }, forwardRef2) => {
9
- const classes = clsx("breadcrumb-item", className);
10
- return /* @__PURE__ */ jsx("li", { ref: forwardRef2, className: classes, ...restProps, children });
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { forwardRef as a } from "react";
3
+ import c from "clsx";
4
+ const d = /* @__PURE__ */ a(({
5
+ children: r,
6
+ className: e,
7
+ ...m
8
+ }, o) => {
9
+ const s = c("breadcrumb-item", e);
10
+ return /* @__PURE__ */ t("li", { ref: o, className: s, ...m, children: r });
11
11
  });
12
12
  export {
13
- BreadcrumbItem as default
13
+ d as default
14
14
  };
15
+ //# sourceMappingURL=BreadcrumbItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BreadcrumbItem.js","sources":["../../../src/components/Breadcrumb/BreadcrumbItem.tsx"],"sourcesContent":["import { forwardRef, ReactNode, Ref } from 'react';\n\nimport clsx from 'clsx';\n\nexport interface BreadcrumbItemProps extends React.ComponentPropsWithRef<'li'> {\n /**\n * Link or text to display\n */\n children: ReactNode;\n /**\n * Optional class for styling purpose\n */\n className?: string;\n}\n\nconst BreadcrumbItem = forwardRef(\n (\n { children, className, ...restProps }: BreadcrumbItemProps,\n forwardRef: Ref<HTMLLIElement>,\n ) => {\n const classes = clsx('breadcrumb-item', className);\n\n return (\n <li ref={forwardRef} className={classes} {...restProps}>\n {children}\n </li>\n );\n },\n);\n\nBreadcrumbItem.displayName = 'BreadcrumbItem';\n\nexport default BreadcrumbItem;\n"],"names":["BreadcrumbItem","children","className","restProps","forwardRef","classes","clsx","jsx"],"mappings":";;;AAeMA,MAAAA,sBACJ,CACE;AAAA,EAAEC,UAAAA;AAAAA,EAAUC,WAAAA;AAAAA,EAAW,GAAGC;AAA+B,GACzDC,MACG;AACGC,QAAAA,IAAUC,EAAK,mBAAmBJ,CAAS;AAG/C,SAAA,gBAAAK,EAAC,QAAG,KAAKH,GAAY,WAAWC,GAAS,GAAIF,GAC1CF,UAAAA,EACH,CAAA;AAEJ,CACF;"}
@@ -1,13 +1,14 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { forwardRef } from "react";
3
- import clsx from "clsx";
4
- const BreadcrumbList = /* @__PURE__ */ forwardRef(({
5
- children,
6
- className
7
- }, ref) => {
8
- const classes = clsx("breadcrumb d-flex flex-nowrap align-items-center mb-0", className);
9
- return /* @__PURE__ */ jsx("ol", { ref, className: classes, children });
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { forwardRef as t } from "react";
3
+ import a from "clsx";
4
+ const i = /* @__PURE__ */ t(({
5
+ children: r,
6
+ className: e
7
+ }, o) => {
8
+ const s = a("breadcrumb d-flex flex-nowrap align-items-center mb-0", e);
9
+ return /* @__PURE__ */ m("ol", { ref: o, className: s, children: r });
10
10
  });
11
11
  export {
12
- BreadcrumbList as default
12
+ i as default
13
13
  };
14
+ //# sourceMappingURL=BreadcrumbList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BreadcrumbList.js","sources":["../../../src/components/Breadcrumb/BreadcrumbList.tsx"],"sourcesContent":["import { forwardRef, ReactNode, Ref } from 'react';\n\nimport clsx from 'clsx';\n\nexport interface BreadcrumbListProps {\n /**\n * Breadcrumb LI\n */\n children: ReactNode;\n /**\n * Optional class for styling purpose\n */\n className?: string;\n}\n\nconst BreadcrumbList = forwardRef(\n (\n { children, className }: BreadcrumbListProps,\n ref: Ref<HTMLOListElement>,\n ) => {\n const classes = clsx(\n 'breadcrumb d-flex flex-nowrap align-items-center mb-0',\n className,\n );\n return (\n <ol ref={ref} className={classes}>\n {children}\n </ol>\n );\n },\n);\n\nBreadcrumbList.displayName = 'BreadcrumbList';\n\nexport default BreadcrumbList;\n"],"names":["BreadcrumbList","children","className","ref","classes","clsx","jsx"],"mappings":";;;AAeMA,MAAAA,sBACJ,CACE;AAAA,EAAEC,UAAAA;AAAAA,EAAUC,WAAAA;AAA+B,GAC3CC,MACG;AACGC,QAAAA,IAAUC,EACd,yDACAH,CACF;AACA,SACG,gBAAAI,EAAA,MAAA,EAAG,KAAAH,GAAU,WAAWC,GACtBH,UAAAA,EACH,CAAA;AAEJ,CACF;"}
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { IWebApp } from 'edifice-ts-client';
2
+ import { IWebApp } from '@edifice.io/ts-client';
3
3
  export interface BreadcrumbNavProps extends React.ComponentPropsWithRef<'nav'> {
4
4
  /**
5
5
  * Pass all data about current application
@@ -1,22 +1,23 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { forwardRef } from "react";
3
- import clsx from "clsx";
4
- import { useTranslation } from "react-i18next";
5
- import useOdeIcons from "../../core/useOdeIcons/useOdeIcons.js";
6
- const BreadcrumbNav = /* @__PURE__ */ forwardRef(({
7
- children,
8
- app,
9
- className
10
- }, ref) => {
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as n } from "react";
3
+ import l from "clsx";
4
+ import { useTranslation as d } from "react-i18next";
5
+ import f from "../../core/useOdeIcons/useOdeIcons.js";
6
+ const g = /* @__PURE__ */ n(({
7
+ children: r,
8
+ app: e,
9
+ className: s
10
+ }, o) => {
11
11
  const {
12
12
  t
13
- } = useTranslation(), {
14
- getIconClass
15
- } = useOdeIcons(), classes = clsx("d-flex align-items-center mb-0", getIconClass(app), className), style = {
13
+ } = d(), {
14
+ getIconClass: a
15
+ } = f(), m = l("d-flex align-items-center mb-0", a(e), s), c = {
16
16
  "--edifice-breadcrumb-divider": "-"
17
17
  };
18
- return /* @__PURE__ */ jsx("nav", { ref, className: classes, "aria-label": t("breadcrumb"), style, children });
18
+ return /* @__PURE__ */ i("nav", { ref: o, className: m, "aria-label": t("breadcrumb"), style: c, children: r });
19
19
  });
20
20
  export {
21
- BreadcrumbNav as default
21
+ g as default
22
22
  };
23
+ //# sourceMappingURL=BreadcrumbNav.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BreadcrumbNav.js","sources":["../../../src/components/Breadcrumb/BreadcrumbNav.tsx"],"sourcesContent":["import { forwardRef, ReactNode, Ref } from 'react';\n\nimport { IWebApp } from '@edifice.io/ts-client';\nimport clsx from 'clsx';\nimport { useTranslation } from 'react-i18next';\n\nimport useOdeIcons from '../../core/useOdeIcons/useOdeIcons';\n\nexport interface BreadcrumbNavProps extends React.ComponentPropsWithRef<'nav'> {\n /**\n * Pass all data about current application\n */\n app: IWebApp;\n /**\n * Children\n */\n children: ReactNode;\n /**\n * Optional class for styling purpose\n */\n className?: string;\n}\n\nconst BreadcrumbNav = forwardRef(\n ({ children, app, className }: BreadcrumbNavProps, ref: Ref<HTMLElement>) => {\n const { t } = useTranslation();\n const { getIconClass } = useOdeIcons();\n\n const classes = clsx(\n 'd-flex align-items-center mb-0',\n getIconClass(app),\n className,\n );\n\n const style = {\n '--edifice-breadcrumb-divider': '-',\n } as React.CSSProperties;\n\n return (\n <nav\n ref={ref}\n className={classes}\n aria-label={t('breadcrumb')}\n style={style}\n >\n {children}\n </nav>\n );\n },\n);\n\nBreadcrumbNav.displayName = 'BreadcrumbNav';\n\nexport default BreadcrumbNav;\n"],"names":["BreadcrumbNav","children","app","className","ref","t","useTranslation","getIconClass","useOdeIcons","classes","clsx","style","jsx"],"mappings":";;;;;AAuBMA,MAAAA,sBACJ,CAAC;AAAA,EAAEC,UAAAA;AAAAA,EAAUC,KAAAA;AAAAA,EAAKC,WAAAA;AAA8B,GAAGC,MAA0B;AACrE,QAAA;AAAA,IAAEC;AAAAA,MAAMC,EAAe,GACvB;AAAA,IAAEC,cAAAA;AAAAA,MAAiBC,EAAY,GAE/BC,IAAUC,EACd,kCACAH,EAAaL,CAAG,GAChBC,CACF,GAEMQ,IAAQ;AAAA,IACZ,gCAAgC;AAAA,EAAA;AAIhC,SAAA,gBAAAC,EAAC,OACC,EAAA,KAAAR,GACA,WAAWK,GACX,cAAYJ,EAAE,YAAY,GAC1B,OAAAM,GAECV,UAAAA,EACH,CAAA;AAEJ,CACF;"}
@@ -1,36 +1,37 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import { forwardRef } from "react";
3
- import clsx from "clsx";
4
- import { Loading } from "../Loading/Loading.js";
5
- const Button = /* @__PURE__ */ forwardRef(({
6
- color = "primary",
7
- type = "button",
8
- size = "md",
9
- children,
10
- isLoading,
11
- loadingIcon,
12
- loadingPosition,
13
- leftIcon,
14
- rightIcon,
15
- className,
16
- variant = "filled",
17
- ...restProps
18
- }, ref) => {
19
- const classes = clsx("btn", {
20
- [`btn-filled btn-${color}`]: variant === "filled",
21
- [`btn-${variant}-${color}`]: variant === "outline" || variant === "ghost",
22
- "btn-icon": !children,
23
- "btn-loading": isLoading,
24
- "btn-lg": size === "lg",
25
- "btn-sm": size === "sm"
26
- }, className);
27
- return /* @__PURE__ */ jsx("button", { ref, className: classes, type, ...restProps, children: isLoading ? /* @__PURE__ */ jsx(Loading, { isLoading: !0, loadingIcon, loadingPosition, children }) : /* @__PURE__ */ jsxs("span", { children: [
28
- leftIcon,
29
- children,
30
- rightIcon
1
+ import { jsx as m, jsxs as g } from "react/jsx-runtime";
2
+ import { forwardRef as a } from "react";
3
+ import x from "clsx";
4
+ import { Loading as $ } from "../Loading/Loading.js";
5
+ const B = /* @__PURE__ */ a(({
6
+ color: n = "primary",
7
+ type: r = "button",
8
+ size: s = "md",
9
+ children: o,
10
+ isLoading: l,
11
+ loadingIcon: b,
12
+ loadingPosition: e,
13
+ leftIcon: f,
14
+ rightIcon: d,
15
+ className: i,
16
+ variant: t = "filled",
17
+ ...p
18
+ }, u) => {
19
+ const c = x("btn", {
20
+ [`btn-filled btn-${n}`]: t === "filled",
21
+ [`btn-${t}-${n}`]: t === "outline" || t === "ghost",
22
+ "btn-icon": !o,
23
+ "btn-loading": l,
24
+ "btn-lg": s === "lg",
25
+ "btn-sm": s === "sm"
26
+ }, i);
27
+ return /* @__PURE__ */ m("button", { ref: u, className: c, type: r, ...p, children: l ? /* @__PURE__ */ m($, { isLoading: !0, loadingIcon: b, loadingPosition: e, children: o }) : /* @__PURE__ */ g("span", { children: [
28
+ f,
29
+ o,
30
+ d
31
31
  ] }) });
32
32
  });
33
33
  export {
34
- Button,
35
- Button as default
34
+ B as Button,
35
+ B as default
36
36
  };
37
+ //# sourceMappingURL=Button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.js","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":["import { forwardRef, ReactNode, Ref } from 'react';\n\nimport clsx from 'clsx';\n\nimport { Loading, LoadingIcon, LoadingPosition } from '../Loading';\n\nexport type ButtonRef = HTMLButtonElement;\n\nexport type ButtonTypes = 'button' | 'submit' | 'reset';\nexport type ButtonColors = 'primary' | 'secondary' | 'tertiary' | 'danger';\nexport type ButtonVariants = 'filled' | 'outline' | 'ghost';\nexport type ButtonSizes = 'sm' | 'md' | 'lg';\n\nexport interface ButtonProps extends React.ComponentPropsWithRef<'button'> {\n /**\n * `button`, `submit` or `reset`\n */\n type?: ButtonTypes;\n /**\n * `primary`, `secondary`, `tertiary` or `danger`\n */\n color?: ButtonColors;\n /**\n * `filled`, `outline` or `ghost`\n */\n variant?: ButtonVariants;\n /**\n * `sm`, `md` or `lg`\n */\n size?: ButtonSizes;\n /**\n * Does it has a text ?\n */\n children: ReactNode;\n /**\n * Display Icon Component to the left\n */\n leftIcon?: ReactNode;\n /**\n * Display Icon Component to the right\n */\n rightIcon?: ReactNode;\n /**\n * Is it loading ?\n */\n isLoading?: boolean;\n /**\n * Override Loading Icon\n */\n loadingIcon?: LoadingIcon;\n /**\n * Loading Icon Position\n * `left`, `right`\n */\n loadingPosition?: LoadingPosition;\n /**\n * Disabled status\n */\n disabled?: boolean;\n /**\n * Optional class for styling purpose\n */\n className?: string;\n}\n\n/**\n * Primary UI component for user interaction\n */\n\nexport const Button = forwardRef(\n (\n {\n color = 'primary',\n type = 'button',\n size = 'md',\n children,\n isLoading,\n loadingIcon,\n loadingPosition,\n leftIcon,\n rightIcon,\n className,\n variant = 'filled',\n ...restProps\n }: ButtonProps,\n ref: Ref<ButtonRef>,\n ) => {\n const classes = clsx(\n 'btn',\n {\n [`btn-filled btn-${color}`]: variant === 'filled',\n [`btn-${variant}-${color}`]:\n variant === 'outline' || variant === 'ghost',\n 'btn-icon': !children,\n 'btn-loading': isLoading,\n 'btn-lg': size === 'lg',\n 'btn-sm': size === 'sm',\n },\n className,\n );\n\n return (\n <button ref={ref} className={classes} type={type} {...restProps}>\n {isLoading ? (\n <Loading\n isLoading\n loadingIcon={loadingIcon}\n loadingPosition={loadingPosition}\n >\n {children}\n </Loading>\n ) : (\n <span>\n {leftIcon}\n {children}\n {rightIcon}\n </span>\n )}\n </button>\n );\n },\n);\n\nButton.displayName = 'Button';\n\nexport default Button;\n"],"names":["Button","color","type","size","children","isLoading","loadingIcon","loadingPosition","leftIcon","rightIcon","className","variant","restProps","ref","classes","clsx","jsx","Loading"],"mappings":";;;;AAqEaA,MAAAA,sBACX,CACE;AAAA,EACEC,OAAAA,IAAQ;AAAA,EACRC,MAAAA,IAAO;AAAA,EACPC,MAAAA,IAAO;AAAA,EACPC,UAAAA;AAAAA,EACAC,WAAAA;AAAAA,EACAC,aAAAA;AAAAA,EACAC,iBAAAA;AAAAA,EACAC,UAAAA;AAAAA,EACAC,WAAAA;AAAAA,EACAC,WAAAA;AAAAA,EACAC,SAAAA,IAAU;AAAA,EACV,GAAGC;AACQ,GACbC,MACG;AACGC,QAAAA,IAAUC,EACd,OACA;AAAA,IACE,CAAC,kBAAkBd,CAAK,EAAE,GAAGU,MAAY;AAAA,IACzC,CAAC,OAAOA,CAAO,IAAIV,CAAK,EAAE,GACxBU,MAAY,aAAaA,MAAY;AAAA,IACvC,YAAY,CAACP;AAAAA,IACb,eAAeC;AAAAA,IACf,UAAUF,MAAS;AAAA,IACnB,UAAUA,MAAS;AAAA,KAErBO,CACF;AAEA,2BACG,UAAO,EAAA,KAAAG,GAAU,WAAWC,GAAS,MAAAZ,GAAgBU,GAAAA,GACnDP,UAAAA,IACE,gBAAAW,EAAAC,GAAA,EACC,WAAS,IACT,aAAAX,GACA,iBAAAC,GAECH,UAAAA,EACH,CAAA,sBAEC,QACEI,EAAAA,UAAAA;AAAAA,IAAAA;AAAAA,IACAJ;AAAAA,IACAK;AAAAA,EAAAA,EACH,CAAA,EAEJ,CAAA;AAEJ,CACF;"}
@@ -1,19 +1,20 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { forwardRef } from "react";
3
- import clsx from "clsx";
4
- import { Button } from "./Button.js";
5
- const IconButton = /* @__PURE__ */ forwardRef(({
6
- icon,
7
- className,
8
- ...restProps
9
- }, ref) => {
10
- const buttonProps = {
11
- ...restProps,
12
- className: clsx("btn-icon btn-sm", className)
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as c } from "react";
3
+ import f from "clsx";
4
+ import { Button as e } from "./Button.js";
5
+ const l = /* @__PURE__ */ c(({
6
+ icon: o,
7
+ className: t,
8
+ ...r
9
+ }, n) => {
10
+ const m = {
11
+ ...r,
12
+ className: f("btn-icon btn-sm", t)
13
13
  };
14
- return /* @__PURE__ */ jsx(Button, { ref, ...buttonProps, children: icon });
14
+ return /* @__PURE__ */ s(e, { ref: n, ...m, children: o });
15
15
  });
16
16
  export {
17
- IconButton,
18
- IconButton as default
17
+ l as IconButton,
18
+ l as default
19
19
  };
20
+ //# sourceMappingURL=IconButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton.js","sources":["../../../src/components/Button/IconButton.tsx"],"sourcesContent":["/**\n * Button Component\n *\n * @see Docs https://edifice-ui.vercel.app/?path=/docs/components-core-button--base\n * @see Source https://github.com/opendigitaleducation/edifice-ui/blob/main/packages/core/src/Button/Button.tsx\n * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/button/\n */\nimport { forwardRef, ReactNode, Ref } from 'react';\n\nimport clsx from 'clsx';\n\nimport { Button, ButtonProps, ButtonRef } from './Button';\n\ntype OmittedProps = 'children' | 'leftIcon' | 'rightIcon';\n\nexport interface IconButtonProps extends Omit<ButtonProps, OmittedProps> {\n icon?: ReactNode;\n}\n\n/**\n * IconButton extends ButtonComponent.\n */\n\nexport const IconButton = forwardRef(\n (\n { icon, className, ...restProps }: IconButtonProps,\n ref?: Ref<ButtonRef>,\n ) => {\n const buttonProps = {\n ...restProps,\n ...{\n className: clsx('btn-icon btn-sm', className),\n },\n };\n\n return (\n <Button ref={ref} {...buttonProps}>\n {icon}\n </Button>\n );\n },\n);\n\nIconButton.displayName = 'IconButton';\n\nexport default IconButton;\n"],"names":["IconButton","icon","className","restProps","ref","buttonProps","clsx","jsx","Button"],"mappings":";;;;AAuBaA,MAAAA,sBACX,CACE;AAAA,EAAEC,MAAAA;AAAAA,EAAMC,WAAAA;AAAAA,EAAW,GAAGC;AAA2B,GACjDC,MACG;AACH,QAAMC,IAAc;AAAA,IAClB,GAAGF;AAAAA,IAEDD,WAAWI,EAAK,mBAAmBJ,CAAS;AAAA,EAC9C;AAGF,SACG,gBAAAK,EAAAC,GAAA,EAAO,KAAAJ,GAAcC,GAAAA,GACnBJ,UACHA,EAAA,CAAA;AAEJ,CACF;"}
@@ -1,18 +1,19 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { forwardRef } from "react";
3
- import clsx from "clsx";
4
- import { IconButton } from "./IconButton.js";
5
- import { Icon } from "../Icon/Icon.js";
6
- const SearchButton = /* @__PURE__ */ forwardRef(({
7
- icon = /* @__PURE__ */ jsx(Icon, { name: "search" }),
8
- onClick,
9
- className,
10
- ...restProps
11
- }, ref) => {
12
- const classes = clsx("btn-search", className);
13
- return /* @__PURE__ */ jsx(IconButton, { ref, className: classes, icon, onClick, ...restProps });
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { forwardRef as e } from "react";
3
+ import n from "clsx";
4
+ import { IconButton as f } from "./IconButton.js";
5
+ import { Icon as p } from "../Icon/Icon.js";
6
+ const d = /* @__PURE__ */ e(({
7
+ icon: r = /* @__PURE__ */ o(p, { name: "search" }),
8
+ onClick: t,
9
+ className: m,
10
+ ...s
11
+ }, a) => {
12
+ const c = n("btn-search", m);
13
+ return /* @__PURE__ */ o(f, { ref: a, className: c, icon: r, onClick: t, ...s });
14
14
  });
15
15
  export {
16
- SearchButton,
17
- SearchButton as default
16
+ d as SearchButton,
17
+ d as default
18
18
  };
19
+ //# sourceMappingURL=SearchButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchButton.js","sources":["../../../src/components/Button/SearchButton.tsx"],"sourcesContent":["/**\n * Button Component\n *\n * @see Docs https://edifice-ui.vercel.app/?path=/docs/components-core-button--base\n * @see Source https://github.com/opendigitaleducation/edifice-ui/blob/main/packages/core/src/Button/Button.tsx\n * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/button/\n */\nimport { forwardRef, Ref } from 'react';\n\nimport clsx from 'clsx';\n\nimport { Icon } from '..';\nimport { ButtonRef } from './Button';\nimport IconButton, { IconButtonProps } from './IconButton';\n\ntype PickedProps = 'type' | 'icon' | 'size';\n\nexport interface SearchButtonProps extends Pick<IconButtonProps, PickedProps> {\n /**\n * OnClick Handler\n */\n onClick?: () => void;\n /**\n * Disabled state of Search Button\n */\n disabled?: boolean;\n /**\n * Optional class for styling purpose\n */\n className?: string;\n}\n\n/**\n * SearchButton extends the IconButton component by omitting unnecessary props.\n */\nexport const SearchButton = forwardRef(\n (\n {\n icon = <Icon name=\"search\" />,\n onClick,\n className,\n ...restProps\n }: SearchButtonProps,\n ref?: Ref<ButtonRef>,\n ) => {\n const classes = clsx('btn-search', className);\n\n return (\n <IconButton\n ref={ref}\n className={classes}\n icon={icon}\n onClick={onClick}\n {...restProps}\n />\n );\n },\n);\n\nSearchButton.displayName = 'SearchButton';\n\nexport default SearchButton;\n"],"names":["SearchButton","icon","jsx","Icon","onClick","className","restProps","ref","classes","clsx","IconButton"],"mappings":";;;;;AAmCaA,MAAAA,sBACX,CACE;AAAA,EACEC,MAAAA,IAAO,gBAAAC,EAACC,GAAK,EAAA,MAAK,SAAW,CAAA;AAAA,EAC7BC,SAAAA;AAAAA,EACAC,WAAAA;AAAAA,EACA,GAAGC;AACc,GACnBC,MACG;AACGC,QAAAA,IAAUC,EAAK,cAAcJ,CAAS;AAG1C,SAAA,gBAAAH,EAACQ,KACC,KAAAH,GACA,WAAWC,GACX,MAAAP,GACA,SAAAG,GACIE,GAAAA,EACJ,CAAA;AAEN,CACF;"}
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { IWebApp } from 'edifice-ts-client';
2
+ import { IWebApp } from '@edifice.io/ts-client';
3
3
  export interface CardProps {
4
4
  /**
5
5
  * IWebApp
@@ -1,52 +1,53 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import { forwardRef, useMemo } from "react";
3
- import clsx from "clsx";
4
- import CardBody from "./CardBody.js";
5
- import { CardContext } from "./CardContext.js";
6
- import CardFooter from "./CardFooter.js";
7
- import CardHeader from "./CardHeader.js";
8
- import CardImage from "./CardImage.js";
9
- import CardText from "./CardText.js";
10
- import CardTitle from "./CardTitle.js";
11
- import CardUser from "./CardUser.js";
12
- import useOdeIcons from "../../core/useOdeIcons/useOdeIcons.js";
13
- const Root = /* @__PURE__ */ forwardRef(({
14
- app,
15
- isSelectable = !0,
16
- isClickable = !0,
17
- isSelected = !1,
18
- onClick,
19
- onSelect,
20
- children,
21
- className
22
- }, ref) => {
1
+ import { jsx as s, jsxs as u } from "react/jsx-runtime";
2
+ import { forwardRef as C, useMemo as x } from "react";
3
+ import g from "clsx";
4
+ import v from "./CardBody.js";
5
+ import { CardContext as I } from "./CardContext.js";
6
+ import T from "./CardFooter.js";
7
+ import j from "./CardHeader.js";
8
+ import l from "./CardImage.js";
9
+ import y from "./CardText.js";
10
+ import H from "./CardTitle.js";
11
+ import B from "./CardUser.js";
12
+ import F from "../../core/useOdeIcons/useOdeIcons.js";
13
+ const O = /* @__PURE__ */ C(({
14
+ app: r,
15
+ isSelectable: m = !0,
16
+ isClickable: o = !0,
17
+ isSelected: f = !1,
18
+ onClick: d,
19
+ onSelect: a,
20
+ children: e,
21
+ className: i
22
+ }, p) => {
23
23
  const {
24
- getIconCode
25
- } = useOdeIcons(), appCode = app ? getIconCode(app) : "placeholder", values = useMemo(() => ({
26
- app,
27
- appCode,
28
- isSelectable,
29
- isClickable,
30
- onClick,
31
- onSelect
32
- }), [app, appCode, isSelectable, isClickable, onClick, onSelect]);
33
- return /* @__PURE__ */ jsx(CardContext.Provider, { value: values, children: /* @__PURE__ */ jsxs("div", { ref, className: clsx("card", {
34
- "is-selected": isSelected,
35
- "c-pointer": isClickable
36
- }, className), children: [
37
- /* @__PURE__ */ jsx(Card.Header, {}),
38
- typeof children == "function" ? children(appCode) : children
24
+ getIconCode: n
25
+ } = F(), t = r ? n(r) : "placeholder", c = x(() => ({
26
+ app: r,
27
+ appCode: t,
28
+ isSelectable: m,
29
+ isClickable: o,
30
+ onClick: d,
31
+ onSelect: a
32
+ }), [r, t, m, o, d, a]);
33
+ return /* @__PURE__ */ s(I.Provider, { value: c, children: /* @__PURE__ */ u("div", { ref: p, className: g("card", {
34
+ "is-selected": f,
35
+ "c-pointer": o
36
+ }, i), children: [
37
+ /* @__PURE__ */ s(R.Header, {}),
38
+ typeof e == "function" ? e(t) : e
39
39
  ] }) });
40
- }), Card = /* @__PURE__ */ Object.assign(Root, {
41
- Title: CardTitle,
42
- Text: CardText,
43
- Image: CardImage,
44
- Body: CardBody,
45
- User: CardUser,
46
- Footer: CardFooter,
47
- Header: CardHeader
40
+ }), R = /* @__PURE__ */ Object.assign(O, {
41
+ Title: H,
42
+ Text: y,
43
+ Image: l,
44
+ Body: v,
45
+ User: B,
46
+ Footer: T,
47
+ Header: j
48
48
  });
49
49
  export {
50
- Card,
51
- Card as default
50
+ R as Card,
51
+ R as default
52
52
  };
53
+ //# sourceMappingURL=Card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,18 +1,19 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import clsx from "clsx";
3
- const CardBody = ({
4
- children,
5
- space = null,
6
- flexDirection = "row"
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import d from "clsx";
3
+ const s = ({
4
+ children: l,
5
+ space: o = null,
6
+ flexDirection: r = "row"
7
7
  }) => {
8
- const cardbody = clsx("card-body", {
9
- [`p-${space}`]: space,
10
- [`gap-${space}`]: space,
11
- "align-items-start": flexDirection === "column",
12
- "flex-column": flexDirection === "column"
8
+ const m = d("card-body", {
9
+ [`p-${o}`]: o,
10
+ [`gap-${o}`]: o,
11
+ "align-items-start": r === "column",
12
+ "flex-column": r === "column"
13
13
  });
14
- return /* @__PURE__ */ jsx("div", { className: cardbody, children });
14
+ return /* @__PURE__ */ t("div", { className: m, children: l });
15
15
  };
16
16
  export {
17
- CardBody as default
17
+ s as default
18
18
  };
19
+ //# sourceMappingURL=CardBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardBody.js","sources":["../../../src/components/Card/CardBody.tsx"],"sourcesContent":["import { ReactNode } from 'react';\n\nimport clsx from 'clsx';\n\nconst CardBody = ({\n children,\n space = null,\n flexDirection = 'row',\n}: {\n space?: '0' | '8' | '16' | null;\n flexDirection?: 'row' | 'column' | null;\n children: ReactNode;\n}) => {\n const cardbody = clsx('card-body', {\n [`p-${space}`]: space,\n [`gap-${space}`]: space,\n 'align-items-start': flexDirection === 'column',\n 'flex-column': flexDirection === 'column',\n });\n return <div className={cardbody}>{children}</div>;\n};\n\nCardBody.displayName = 'Card.Body';\n\nexport default CardBody;\n"],"names":["CardBody","children","space","flexDirection","cardbody","clsx","jsx"],"mappings":";;AAIA,MAAMA,IAAWA,CAAC;AAAA,EAChBC,UAAAA;AAAAA,EACAC,OAAAA,IAAQ;AAAA,EACRC,eAAAA,IAAgB;AAKlB,MAAM;AACEC,QAAAA,IAAWC,EAAK,aAAa;AAAA,IACjC,CAAC,KAAKH,CAAK,EAAE,GAAGA;AAAAA,IAChB,CAAC,OAAOA,CAAK,EAAE,GAAGA;AAAAA,IAClB,qBAAqBC,MAAkB;AAAA,IACvC,eAAeA,MAAkB;AAAA,EAAA,CAClC;AACD,SAAQ,gBAAAG,EAAA,OAAA,EAAI,WAAWF,GAAWH,UAAAA,EAAS,CAAA;AAC7C;"}
@@ -1,4 +1,4 @@
1
- import { IWebApp } from 'edifice-ts-client';
1
+ import { IWebApp } from '@edifice.io/ts-client';
2
2
  import { CardProps } from './Card';
3
3
  export interface CardContextProps extends Omit<CardProps, 'children' | 'className'> {
4
4
  app?: IWebApp | undefined;
@@ -1,11 +1,12 @@
1
- import { createContext, useContext } from "react";
2
- const CardContext = /* @__PURE__ */ createContext(null), useCardContext = () => {
3
- const context = useContext(CardContext);
4
- if (!context)
1
+ import { createContext as e, useContext as o } from "react";
2
+ const n = /* @__PURE__ */ e(null), C = () => {
3
+ const t = o(n);
4
+ if (!t)
5
5
  throw new Error("Cannot be rendered outside the Card component");
6
- return context;
6
+ return t;
7
7
  };
8
8
  export {
9
- CardContext,
10
- useCardContext
9
+ n as CardContext,
10
+ C as useCardContext
11
11
  };
12
+ //# sourceMappingURL=CardContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardContext.js","sources":["../../../src/components/Card/CardContext.tsx"],"sourcesContent":["import { createContext, useContext } from 'react';\n\nimport { IWebApp } from '@edifice.io/ts-client';\n\nimport { CardProps } from './Card';\n\nexport interface CardContextProps\n extends Omit<CardProps, 'children' | 'className'> {\n app?: IWebApp | undefined;\n appCode: string | undefined;\n isSelectable?: boolean;\n isClickable?: boolean;\n onClick?: () => void;\n onSelect?: () => void;\n}\n\nexport const CardContext = createContext<CardContextProps | null>(null!);\n\nCardContext.displayName = 'CardContext';\n\nexport const useCardContext = () => {\n const context = useContext(CardContext);\n if (!context) {\n throw new Error(`Cannot be rendered outside the Card component`);\n }\n return context;\n};\n"],"names":["CardContext","useCardContext","context","useContext","Error"],"mappings":";AAgBaA,MAAAA,sBAAqD,IAAK,GAI1DC,IAAiBA,MAAM;AAC5BC,QAAAA,IAAUC,EAAWH,CAAW;AACtC,MAAI,CAACE;AACG,UAAA,IAAIE,MAAM,+CAA+C;AAE1DF,SAAAA;AACT;"}
@@ -1,7 +1,8 @@
1
- import { jsx } from "react/jsx-runtime";
2
- const CardFooter = ({
3
- children
4
- }) => /* @__PURE__ */ jsx("div", { className: "card-footer gap-16", children });
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ const t = ({
3
+ children: r
4
+ }) => /* @__PURE__ */ o("div", { className: "card-footer gap-16", children: r });
5
5
  export {
6
- CardFooter as default
6
+ t as default
7
7
  };
8
+ //# sourceMappingURL=CardFooter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardFooter.js","sources":["../../../src/components/Card/CardFooter.tsx"],"sourcesContent":["import { ReactNode } from 'react';\n\nconst CardFooter = ({ children }: { children: ReactNode }) => {\n return <div className=\"card-footer gap-16\">{children}</div>;\n};\n\nCardFooter.displayName = 'Card.Footer';\n\nexport default CardFooter;\n"],"names":["CardFooter","children","jsx"],"mappings":";AAEA,MAAMA,IAAaA,CAAC;AAAA,EAAEC,UAAAA;AAAkC,MAC9C,gBAAAC,EAAA,OAAA,EAAI,WAAU,sBAAsBD,UAAAA,EAAS,CAAA;"}
@@ -1,19 +1,20 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { useCardContext } from "./CardContext.js";
3
- import { IconButton } from "../Button/IconButton.js";
4
- import { Icon } from "../Icon/Icon.js";
5
- const CardHeader = () => {
1
+ import { jsxs as r, jsx as o } from "react/jsx-runtime";
2
+ import { useCardContext as i } from "./CardContext.js";
3
+ import { IconButton as s } from "../Button/IconButton.js";
4
+ import { Icon as l } from "../Icon/Icon.js";
5
+ const b = () => {
6
6
  const {
7
- isSelectable,
8
- isClickable,
9
- onClick,
10
- onSelect
11
- } = useCardContext();
12
- return isSelectable || isClickable ? /* @__PURE__ */ jsxs("div", { className: "card-header", children: [
13
- isSelectable ? /* @__PURE__ */ jsx(IconButton, { "aria-label": "Open Action Bar", className: "z-3 bg-white", color: "secondary", icon: /* @__PURE__ */ jsx(Icon, { name: "options" }), onClick: onSelect, variant: "ghost" }) : null,
14
- isClickable ? /* @__PURE__ */ jsx("button", { onClick, className: "position-absolute bottom-0 end-0 top-0 start-0 opacity-0 z-1 w-100", "aria-label": "Open resource" }) : null
7
+ isSelectable: t,
8
+ isClickable: e,
9
+ onClick: a,
10
+ onSelect: n
11
+ } = i();
12
+ return t || e ? /* @__PURE__ */ r("div", { className: "card-header", children: [
13
+ t ? /* @__PURE__ */ o(s, { "aria-label": "Open Action Bar", className: "z-3 bg-white", color: "secondary", icon: /* @__PURE__ */ o(l, { name: "options" }), onClick: n, variant: "ghost" }) : null,
14
+ e ? /* @__PURE__ */ o("button", { onClick: a, className: "position-absolute bottom-0 end-0 top-0 start-0 opacity-0 z-1 w-100", "aria-label": "Open resource" }) : null
15
15
  ] }) : null;
16
16
  };
17
17
  export {
18
- CardHeader as default
18
+ b as default
19
19
  };
20
+ //# sourceMappingURL=CardHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardHeader.js","sources":["../../../src/components/Card/CardHeader.tsx"],"sourcesContent":["import { Icon } from '..';\nimport { IconButton } from '../Button';\nimport { useCardContext } from './CardContext';\n\nconst CardHeader = () => {\n const { isSelectable, isClickable, onClick, onSelect } = useCardContext();\n const isActive = isSelectable || isClickable;\n return isActive ? (\n <div className=\"card-header\">\n {isSelectable ? (\n <IconButton\n aria-label=\"Open Action Bar\"\n className=\"z-3 bg-white\"\n color=\"secondary\"\n icon={<Icon name=\"options\" />}\n onClick={onSelect}\n variant=\"ghost\"\n />\n ) : null}\n {isClickable ? (\n <button\n onClick={onClick}\n className=\"position-absolute bottom-0 end-0 top-0 start-0 opacity-0 z-1 w-100\"\n aria-label=\"Open resource\"\n />\n ) : null}\n </div>\n ) : null;\n};\n\nCardHeader.displayName = 'Card.Header';\n\nexport default CardHeader;\n"],"names":["CardHeader","isSelectable","isClickable","onClick","onSelect","useCardContext","jsxs","IconButton","jsx","Icon"],"mappings":";;;;AAIA,MAAMA,IAAaA,MAAM;AACjB,QAAA;AAAA,IAAEC,cAAAA;AAAAA,IAAcC,aAAAA;AAAAA,IAAaC,SAAAA;AAAAA,IAASC,UAAAA;AAAAA,MAAaC,EAAe;AAExE,SADiBJ,KAAgBC,IAE/B,gBAAAI,EAAC,OAAI,EAAA,WAAU,eACZL,UAAAA;AAAAA,IAAAA,sBACEM,GACC,EAAA,cAAW,mBACX,WAAU,gBACV,OAAM,aACN,MAAO,gBAAAC,EAAAC,GAAA,EAAK,MAAK,WAAS,GAC1B,SAASL,GACT,SAAQ,QAAO,CAAA,IAEf;AAAA,IACHF,sBACE,UACC,EAAA,SAAAC,GACA,WAAU,sEACV,cAAW,gBACX,CAAA,IACA;AAAA,EAAA,EACN,CAAA,IACE;AACN;"}