@powerhousedao/design-system 6.1.0-dev.13 → 6.1.0-dev.14

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 (297) hide show
  1. package/dist/Removed-CO_5C1ce.js +178 -0
  2. package/dist/Removed-CO_5C1ce.js.map +1 -0
  3. package/dist/Tabler-FjvVqX5a.js +65 -0
  4. package/dist/Tabler-FjvVqX5a.js.map +1 -0
  5. package/dist/{button-49Walvwn.d.ts → button-C8doazjv.d.ts} +1 -1
  6. package/dist/{button-49Walvwn.d.ts.map → button-C8doazjv.d.ts.map} +1 -1
  7. package/dist/{character-counter-BcuG4STA.d.ts → character-counter-BWoglM2P.d.ts} +1 -1
  8. package/dist/{character-counter-BcuG4STA.d.ts.map → character-counter-BWoglM2P.d.ts.map} +1 -1
  9. package/dist/{checkbox-Bxc7-H_k.d.ts → checkbox-CGBtXQnI.d.ts} +3 -3
  10. package/dist/{checkbox-Bxc7-H_k.d.ts.map → checkbox-CGBtXQnI.d.ts.map} +1 -1
  11. package/dist/{checkbox-base-8xXJvAbj.d.ts → checkbox-base-CZo-4eL0.d.ts} +1 -1
  12. package/dist/{checkbox-base-8xXJvAbj.d.ts.map → checkbox-base-CZo-4eL0.d.ts.map} +1 -1
  13. package/dist/{command-BBihfa1C.d.ts → command-By1kGfcI.d.ts} +13 -13
  14. package/dist/{command-BBihfa1C.d.ts.map → command-By1kGfcI.d.ts.map} +1 -1
  15. package/dist/connect/components/toast/toast.d.ts.map +1 -1
  16. package/dist/connect/components/toast/toast.js +6 -6
  17. package/dist/connect/components/toast/toast.js.map +1 -1
  18. package/dist/connect/index.d.ts +49 -91
  19. package/dist/connect/index.d.ts.map +1 -1
  20. package/dist/connect/index.js +1032 -843
  21. package/dist/connect/index.js.map +1 -1
  22. package/dist/{content-Ce1V2wTc.d.ts → content-BHWIqmio.d.ts} +2 -2
  23. package/dist/{content-Ce1V2wTc.d.ts.map → content-BHWIqmio.d.ts.map} +1 -1
  24. package/dist/{enum-field-B1rL13j-.d.ts → enum-field-CwZVs3Ux.d.ts} +4 -4
  25. package/dist/{enum-field-B1rL13j-.d.ts.map → enum-field-CwZVs3Ux.d.ts.map} +1 -1
  26. package/dist/{form-B9JNvrH6.d.ts → form-CKRKn0TQ.d.ts} +1 -1
  27. package/dist/{form-B9JNvrH6.d.ts.map → form-CKRKn0TQ.d.ts.map} +1 -1
  28. package/dist/{form-description-BpST5Ww-.d.ts → form-description-CYkcMEzm.d.ts} +1 -1
  29. package/dist/{form-description-BpST5Ww-.d.ts.map → form-description-CYkcMEzm.d.ts.map} +1 -1
  30. package/dist/{form-group-BauWlFkQ.d.ts → form-group-C8kL6pdZ.d.ts} +1 -1
  31. package/dist/form-group-C8kL6pdZ.d.ts.map +1 -0
  32. package/dist/{form-label-Cz_gcj-B.d.ts → form-label-b6nQi0XO.d.ts} +1 -1
  33. package/dist/form-label-b6nQi0XO.d.ts.map +1 -0
  34. package/dist/{form-message-BPqNM4gG.d.ts → form-message-Dq72nBXz.d.ts} +1 -1
  35. package/dist/{form-message-BPqNM4gG.d.ts.map → form-message-Dq72nBXz.d.ts.map} +1 -1
  36. package/dist/{form-server-error-message-CzMQQ8ru.d.ts → form-server-error-message-DXbaiTfF.d.ts} +1 -1
  37. package/dist/{form-server-error-message-CzMQQ8ru.d.ts.map → form-server-error-message-DXbaiTfF.d.ts.map} +1 -1
  38. package/dist/{src-BgKEHW0i.js → icon-C4QOpsdI.js} +14 -964
  39. package/dist/icon-C4QOpsdI.js.map +1 -0
  40. package/dist/{id-autocomplete-ClooY-ur.d.ts → id-autocomplete-C-hwriS5.d.ts} +2 -2
  41. package/dist/{id-autocomplete-ClooY-ur.d.ts.map → id-autocomplete-C-hwriS5.d.ts.map} +1 -1
  42. package/dist/{id-autocomplete-input-container-O7l0T0zJ.d.ts → id-autocomplete-input-container-DFEyPh5p.d.ts} +2 -2
  43. package/dist/{id-autocomplete-input-container-O7l0T0zJ.d.ts.map → id-autocomplete-input-container-DFEyPh5p.d.ts.map} +1 -1
  44. package/dist/{id-autocomplete-list-CpPWWmw0.d.ts → id-autocomplete-list-EzLpF23C.d.ts} +2 -2
  45. package/dist/{id-autocomplete-list-CpPWWmw0.d.ts.map → id-autocomplete-list-EzLpF23C.d.ts.map} +1 -1
  46. package/dist/{id-autocomplete-list-option-QmSvQwgn.d.ts → id-autocomplete-list-option-CB5B07Hi.d.ts} +2 -2
  47. package/dist/{id-autocomplete-list-option-QmSvQwgn.d.ts.map → id-autocomplete-list-option-CB5B07Hi.d.ts.map} +1 -1
  48. package/dist/{index-BEiWWMW2.d.ts → index--hDSfvJT.d.ts} +2 -15
  49. package/dist/index--hDSfvJT.d.ts.map +1 -0
  50. package/dist/index-E7Wvm5uX.d.ts +1 -0
  51. package/dist/index-J3R2mDFQ.d.ts +1 -0
  52. package/dist/index.d.ts +3 -3
  53. package/dist/index.js +3 -2
  54. package/dist/{input-D11GgWGm.d.ts → input-BpEQjaWV.d.ts} +1 -1
  55. package/dist/input-BpEQjaWV.d.ts.map +1 -0
  56. package/dist/{json-viewer-vWp8vOvz.d.ts → json-viewer-DaTgmzkS.d.ts} +1 -1
  57. package/dist/{json-viewer-vWp8vOvz.d.ts.map → json-viewer-DaTgmzkS.d.ts.map} +1 -1
  58. package/dist/{message-list-aysvo-xf.d.ts → message-list-C4mPpBBa.d.ts} +2 -2
  59. package/dist/{message-list-aysvo-xf.d.ts.map → message-list-C4mPpBBa.d.ts.map} +1 -1
  60. package/dist/{popover-glLRVxPS.d.ts → popover-XSBOuSih.d.ts} +1 -1
  61. package/dist/{popover-glLRVxPS.d.ts.map → popover-XSBOuSih.d.ts.map} +1 -1
  62. package/dist/{radio-DZ4xl9oz.d.ts → radio-eL0Oy86J.d.ts} +1 -1
  63. package/dist/{radio-DZ4xl9oz.d.ts.map → radio-eL0Oy86J.d.ts.map} +1 -1
  64. package/dist/{radio-group-DjJbcDzB.d.ts → radio-group-Bkli6nUz.d.ts} +1 -1
  65. package/dist/{radio-group-DjJbcDzB.d.ts.map → radio-group-Bkli6nUz.d.ts.map} +1 -1
  66. package/dist/{radio-group-field-BkD0Nl0j.d.ts → radio-group-field-wlqeiLN3.d.ts} +3 -3
  67. package/dist/{radio-group-field-BkD0Nl0j.d.ts.map → radio-group-field-wlqeiLN3.d.ts.map} +1 -1
  68. package/dist/{search-autocomplete-OeZbE-VN.d.ts → search-autocomplete-BJJkrZ1i.d.ts} +2 -2
  69. package/dist/{search-autocomplete-OeZbE-VN.d.ts.map → search-autocomplete-BJJkrZ1i.d.ts.map} +1 -1
  70. package/dist/{select-field-B9KcyWc1.d.ts → select-field-C97QIhUL.d.ts} +2 -2
  71. package/dist/{select-field-B9KcyWc1.d.ts.map → select-field-C97QIhUL.d.ts.map} +1 -1
  72. package/dist/{selected-content-HHOKK679.d.ts → selected-content-CGsK5PR4.d.ts} +2 -2
  73. package/dist/selected-content-CGsK5PR4.d.ts.map +1 -0
  74. package/dist/sidebar-DOoE4krt.d.ts +102 -0
  75. package/dist/sidebar-DOoE4krt.d.ts.map +1 -0
  76. package/dist/sidebar-provider-C2eyz9TL.d.ts +46 -0
  77. package/dist/sidebar-provider-C2eyz9TL.d.ts.map +1 -0
  78. package/dist/{splitted-input-diff-DZ_0mBKD.d.ts → splitted-input-diff-CwPedpov.d.ts} +2 -2
  79. package/dist/splitted-input-diff-CwPedpov.d.ts.map +1 -0
  80. package/dist/src-BrrPQVce.js +710 -0
  81. package/dist/src-BrrPQVce.js.map +1 -0
  82. package/dist/style.css +84 -4173
  83. package/dist/{text-field-CwxxUhUk.d.ts → text-field-DSInH67J.d.ts} +3 -3
  84. package/dist/{text-field-CwxxUhUk.d.ts.map → text-field-DSInH67J.d.ts.map} +1 -1
  85. package/dist/{text-input-By73a1-n.d.ts → text-input-8zXIWHLi.d.ts} +3 -3
  86. package/dist/{text-input-By73a1-n.d.ts.map → text-input-8zXIWHLi.d.ts.map} +1 -1
  87. package/dist/{text-input-diff-C6OK2A4u.d.ts → text-input-diff-B0vLSKQm.d.ts} +2 -2
  88. package/dist/{text-input-diff-C6OK2A4u.d.ts.map → text-input-diff-B0vLSKQm.d.ts.map} +1 -1
  89. package/dist/{tooltip-Cf5jSzdt.d.ts → tooltip-BxS9HpML.d.ts} +1 -1
  90. package/dist/{tooltip-Cf5jSzdt.d.ts.map → tooltip-BxS9HpML.d.ts.map} +1 -1
  91. package/dist/{types-tThrTH_c.d.ts → types-BTq-St7H.d.ts} +1 -1
  92. package/dist/{types-tThrTH_c.d.ts.map → types-BTq-St7H.d.ts.map} +1 -1
  93. package/dist/{types-BfmDXMrz.d.ts → types-Bsn62tJB.d.ts} +1 -1
  94. package/dist/{types-BfmDXMrz.d.ts.map → types-Bsn62tJB.d.ts.map} +1 -1
  95. package/dist/{types-9JRQnd7a.d.ts → types-C04Q_Fan.d.ts} +1 -1
  96. package/dist/{types-9JRQnd7a.d.ts.map → types-C04Q_Fan.d.ts.map} +1 -1
  97. package/dist/types-CNbvfWjh.d.ts +31 -0
  98. package/dist/types-CNbvfWjh.d.ts.map +1 -0
  99. package/dist/ui/components/button/button.d.ts +1 -1
  100. package/dist/ui/components/button/button.js +3 -3
  101. package/dist/ui/components/button/button.js.map +1 -1
  102. package/dist/ui/components/character-counter/character-counter.d.ts +1 -1
  103. package/dist/ui/components/character-counter/character-counter.js +6 -6
  104. package/dist/ui/components/character-counter/character-counter.js.map +1 -1
  105. package/dist/ui/components/checkbox/checkbox-base.d.ts +1 -1
  106. package/dist/ui/components/checkbox/checkbox-base.js +3 -3
  107. package/dist/ui/components/checkbox/checkbox-base.js.map +1 -1
  108. package/dist/ui/components/checkbox/checkbox.d.ts +1 -1
  109. package/dist/ui/components/checkbox/checkbox.js +4 -4
  110. package/dist/ui/components/checkbox/checkbox.js.map +1 -1
  111. package/dist/ui/components/command/command.d.ts +1 -1
  112. package/dist/ui/components/command/command.js +9 -8
  113. package/dist/ui/components/command/command.js.map +1 -1
  114. package/dist/ui/components/enum-field/enum-field.d.ts +1 -1
  115. package/dist/ui/components/enum-field/types.d.ts +1 -1
  116. package/dist/ui/components/form/form.d.ts +1 -1
  117. package/dist/ui/components/form-description/form-description.d.ts +1 -1
  118. package/dist/ui/components/form-description/form-description.js +2 -2
  119. package/dist/ui/components/form-description/form-description.js.map +1 -1
  120. package/dist/ui/components/form-group/form-group.d.ts +1 -1
  121. package/dist/ui/components/form-label/form-label.d.ts +1 -1
  122. package/dist/ui/components/form-label/form-label.js +5 -4
  123. package/dist/ui/components/form-label/form-label.js.map +1 -1
  124. package/dist/ui/components/form-message/form-message.d.ts +1 -1
  125. package/dist/ui/components/form-message/form-message.js +5 -5
  126. package/dist/ui/components/form-message/form-message.js.map +1 -1
  127. package/dist/ui/components/form-message/form-server-error-message.d.ts +1 -1
  128. package/dist/ui/components/form-message/message-list.d.ts +1 -1
  129. package/dist/ui/components/form-message/message-list.js +6 -6
  130. package/dist/ui/components/form-message/message-list.js.map +1 -1
  131. package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts +1 -1
  132. package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.js +10 -9
  133. package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.js.map +1 -1
  134. package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts +1 -1
  135. package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.js +20 -19
  136. package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.js.map +1 -1
  137. package/dist/ui/components/id-autocomplete/id-autocomplete-list.d.ts +1 -1
  138. package/dist/ui/components/id-autocomplete/id-autocomplete-list.js +6 -6
  139. package/dist/ui/components/id-autocomplete/id-autocomplete-list.js.map +1 -1
  140. package/dist/ui/components/id-autocomplete/id-autocomplete.d.ts +1 -1
  141. package/dist/ui/components/id-autocomplete/id-autocomplete.js +4 -4
  142. package/dist/ui/components/id-autocomplete/id-autocomplete.js.map +1 -1
  143. package/dist/ui/components/id-autocomplete/types.d.ts +1 -1
  144. package/dist/ui/components/id-autocomplete/use-id-autocomplete.d.ts +1 -1
  145. package/dist/ui/components/index.d.ts +40 -37
  146. package/dist/ui/components/index.js +3 -1
  147. package/dist/ui/components/input/input.d.ts +1 -1
  148. package/dist/ui/components/input/input.js +2 -6
  149. package/dist/ui/components/input/input.js.map +1 -1
  150. package/dist/ui/components/input/splitted-input-diff.d.ts +1 -1
  151. package/dist/ui/components/input/splitted-input-diff.js +12 -11
  152. package/dist/ui/components/input/splitted-input-diff.js.map +1 -1
  153. package/dist/ui/components/input/subcomponent/input-diff.js +2 -2
  154. package/dist/ui/components/input/subcomponent/input-diff.js.map +1 -1
  155. package/dist/ui/components/input/subcomponent/text-diff.d.ts +1 -1
  156. package/dist/ui/components/input/subcomponent/text-diff.js +5 -5
  157. package/dist/ui/components/input/subcomponent/text-diff.js.map +1 -1
  158. package/dist/ui/components/json-viewer/json-viewer.d.ts +1 -1
  159. package/dist/ui/components/popover/popover.d.ts +1 -1
  160. package/dist/ui/components/popover/popover.js +3 -3
  161. package/dist/ui/components/popover/popover.js.map +1 -1
  162. package/dist/ui/components/radio-group-field/radio-group-field.d.ts +1 -1
  163. package/dist/ui/components/radio-group-field/radio-group-field.js +2 -2
  164. package/dist/ui/components/radio-group-field/radio-group-field.js.map +1 -1
  165. package/dist/ui/components/radio-group-field/radio-group.d.ts +1 -1
  166. package/dist/ui/components/radio-group-field/radio.d.ts +1 -1
  167. package/dist/ui/components/radio-group-field/radio.js +4 -4
  168. package/dist/ui/components/radio-group-field/radio.js.map +1 -1
  169. package/dist/ui/components/search-autocomplete/index.d.ts +3 -3
  170. package/dist/ui/components/search-autocomplete/search-autocomplete.d.ts +1 -1
  171. package/dist/ui/components/search-autocomplete/search-autocomplete.js +16 -16
  172. package/dist/ui/components/search-autocomplete/search-autocomplete.js.map +1 -1
  173. package/dist/ui/components/search-autocomplete/types.d.ts +1 -1
  174. package/dist/ui/components/search-autocomplete/use-search-autocomplete.d.ts +1 -1
  175. package/dist/ui/components/select-field/content.d.ts +1 -1
  176. package/dist/ui/components/select-field/content.js +10 -9
  177. package/dist/ui/components/select-field/content.js.map +1 -1
  178. package/dist/ui/components/select-field/select-field.d.ts +1 -1
  179. package/dist/ui/components/select-field/select-field.js +2 -2
  180. package/dist/ui/components/select-field/select-field.js.map +1 -1
  181. package/dist/ui/components/select-field/selected-content.d.ts +1 -1
  182. package/dist/ui/components/select-field/selected-content.js +11 -10
  183. package/dist/ui/components/select-field/selected-content.js.map +1 -1
  184. package/dist/ui/components/select-field/subcomponents/CommandItemList.d.ts +1 -1
  185. package/dist/ui/components/select-field/subcomponents/CommandItemList.d.ts.map +1 -1
  186. package/dist/ui/components/select-field/subcomponents/CommandItemList.js +11 -10
  187. package/dist/ui/components/select-field/subcomponents/CommandItemList.js.map +1 -1
  188. package/dist/ui/components/select-field/use-select-field.d.ts +1 -1
  189. package/dist/ui/components/sidebar/index.d.ts +4 -0
  190. package/dist/ui/components/sidebar/index.js +3 -0
  191. package/dist/ui/components/sidebar/sidebar.d.ts +2 -0
  192. package/dist/ui/components/sidebar/sidebar.js +110 -0
  193. package/dist/ui/components/sidebar/sidebar.js.map +1 -0
  194. package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts +14 -0
  195. package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts.map +1 -0
  196. package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.js +56 -0
  197. package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.js.map +1 -0
  198. package/dist/ui/components/sidebar/subcomponents/sidebar-header.d.ts +11 -0
  199. package/dist/ui/components/sidebar/subcomponents/sidebar-header.d.ts.map +1 -0
  200. package/dist/ui/components/sidebar/subcomponents/sidebar-header.js +45 -0
  201. package/dist/ui/components/sidebar/subcomponents/sidebar-header.js.map +1 -0
  202. package/dist/ui/components/sidebar/subcomponents/sidebar-item.d.ts +35 -0
  203. package/dist/ui/components/sidebar/subcomponents/sidebar-item.d.ts.map +1 -0
  204. package/dist/ui/components/sidebar/subcomponents/sidebar-item.js +156 -0
  205. package/dist/ui/components/sidebar/subcomponents/sidebar-item.js.map +1 -0
  206. package/dist/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts +7 -0
  207. package/dist/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts.map +1 -0
  208. package/dist/ui/components/sidebar/subcomponents/sidebar-pinning-area.js +30 -0
  209. package/dist/ui/components/sidebar/subcomponents/sidebar-pinning-area.js.map +1 -0
  210. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts +2 -0
  211. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/index.js +2 -0
  212. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +2 -0
  213. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js +268 -0
  214. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js.map +1 -0
  215. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts +92 -0
  216. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts.map +1 -0
  217. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js +107 -0
  218. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js.map +1 -0
  219. package/dist/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts +4 -0
  220. package/dist/ui/components/sidebar/subcomponents/sidebar-search/index.js +4 -0
  221. package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts +10 -0
  222. package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts.map +1 -0
  223. package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js +22 -0
  224. package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js.map +1 -0
  225. package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts +10 -0
  226. package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts.map +1 -0
  227. package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js +22 -0
  228. package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js.map +1 -0
  229. package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts +8 -0
  230. package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts.map +1 -0
  231. package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js +85 -0
  232. package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js.map +1 -0
  233. package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton-item.d.ts +16 -0
  234. package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton-item.d.ts.map +1 -0
  235. package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton-item.js +21 -0
  236. package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton-item.js.map +1 -0
  237. package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton.d.ts +7 -0
  238. package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton.d.ts.map +1 -0
  239. package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton.js +63 -0
  240. package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton.js.map +1 -0
  241. package/dist/ui/components/sidebar/subcomponents/status-icon.d.ts +16 -0
  242. package/dist/ui/components/sidebar/subcomponents/status-icon.d.ts.map +1 -0
  243. package/dist/ui/components/sidebar/subcomponents/status-icon.js +43 -0
  244. package/dist/ui/components/sidebar/subcomponents/status-icon.js.map +1 -0
  245. package/dist/ui/components/sidebar/types.d.ts +2 -0
  246. package/dist/ui/components/sidebar/types.js +14 -0
  247. package/dist/ui/components/sidebar/types.js.map +1 -0
  248. package/dist/ui/components/sidebar/use-ellipsis.d.ts +10 -0
  249. package/dist/ui/components/sidebar/use-ellipsis.d.ts.map +1 -0
  250. package/dist/ui/components/sidebar/use-ellipsis.js +26 -0
  251. package/dist/ui/components/sidebar/use-ellipsis.js.map +1 -0
  252. package/dist/ui/components/sidebar/use-sidebar-resize.d.ts +22 -0
  253. package/dist/ui/components/sidebar/use-sidebar-resize.d.ts.map +1 -0
  254. package/dist/ui/components/sidebar/use-sidebar-resize.js +72 -0
  255. package/dist/ui/components/sidebar/use-sidebar-resize.js.map +1 -0
  256. package/dist/ui/components/sidebar/utils.d.ts +14 -0
  257. package/dist/ui/components/sidebar/utils.d.ts.map +1 -0
  258. package/dist/ui/components/sidebar/utils.js +118 -0
  259. package/dist/ui/components/sidebar/utils.js.map +1 -0
  260. package/dist/ui/components/text-field/text-field.d.ts +1 -1
  261. package/dist/ui/components/text-input/text-input-diff.d.ts +1 -1
  262. package/dist/ui/components/text-input/text-input.d.ts +1 -1
  263. package/dist/ui/components/text-input/text-input.js +2 -2
  264. package/dist/ui/components/text-input/text-input.js.map +1 -1
  265. package/dist/ui/components/text-input/types.d.ts +1 -1
  266. package/dist/ui/components/tooltip/tooltip.d.ts +1 -1
  267. package/dist/ui/components/tooltip/tooltip.js +2 -2
  268. package/dist/ui/components/tooltip/tooltip.js.map +1 -1
  269. package/dist/ui/components/types.d.ts +1 -1
  270. package/dist/ui/components/value-transformer/value-transformer.d.ts +1 -1
  271. package/dist/ui/components/with-field-validation/with-field-validation.d.ts +1 -1
  272. package/dist/ui/index.d.ts +42 -39
  273. package/dist/ui/index.js +3 -1
  274. package/dist/ui/lib/date-picker.d.ts +1 -1
  275. package/dist/ui/lib/shared-value-transformers.d.ts +1 -1
  276. package/dist/ui/lib/types.d.ts +1 -1
  277. package/dist/ui/types.d.ts +2 -2
  278. package/dist/{use-id-autocomplete-BcL_O50p.d.ts → use-id-autocomplete-By7YSChC.d.ts} +2 -2
  279. package/dist/{use-id-autocomplete-BcL_O50p.d.ts.map → use-id-autocomplete-By7YSChC.d.ts.map} +1 -1
  280. package/dist/{use-search-autocomplete-Xf7shCtk.d.ts → use-search-autocomplete-IfcQ_gKh.d.ts} +2 -2
  281. package/dist/{use-search-autocomplete-Xf7shCtk.d.ts.map → use-search-autocomplete-IfcQ_gKh.d.ts.map} +1 -1
  282. package/dist/{value-transformer-DCiU65Qa.d.ts → value-transformer-DQjqtNih.d.ts} +2 -2
  283. package/dist/{value-transformer-DCiU65Qa.d.ts.map → value-transformer-DQjqtNih.d.ts.map} +1 -1
  284. package/dist/{with-field-validation-BIac25Sm.d.ts → with-field-validation-Di5D8vU-.d.ts} +2 -2
  285. package/dist/{with-field-validation-BIac25Sm.d.ts.map → with-field-validation-Di5D8vU-.d.ts.map} +1 -1
  286. package/package.json +9 -5
  287. package/theme.css +60 -14
  288. package/dist/form-group-BauWlFkQ.d.ts.map +0 -1
  289. package/dist/form-label-Cz_gcj-B.d.ts.map +0 -1
  290. package/dist/index-BEiWWMW2.d.ts.map +0 -1
  291. package/dist/input-D11GgWGm.d.ts.map +0 -1
  292. package/dist/selected-content-HHOKK679.d.ts.map +0 -1
  293. package/dist/splitted-input-diff-DZ_0mBKD.d.ts.map +0 -1
  294. package/dist/src-BgKEHW0i.js.map +0 -1
  295. /package/dist/{index-CWsYGvaO.d.ts → index--okzibnx.d.ts} +0 -0
  296. /package/dist/{index-qM4PwHTs.d.ts → index-BLwMeReG.d.ts} +0 -0
  297. /package/dist/{index-uQcTfU6c.d.ts → index-Cw3C7_1f.d.ts} +0 -0
@@ -1,47 +1,7 @@
1
- import { Suspense, forwardRef, useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
2
- import { twJoin, twMerge } from "tailwind-merge";
3
- import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
4
- import { Content, Item, Label, Portal, Root, Trigger } from "@radix-ui/react-dropdown-menu";
5
- import { Content as Content$1, Description, Overlay, Portal as Portal$1, Root as Root$1, Title } from "@radix-ui/react-dialog";
6
- import { Root as Root$2 } from "@radix-ui/react-visually-hidden";
7
- import ReactDOM from "react-dom";
8
- import { clsx } from "clsx";
9
- //#region src/powerhouse/components/button/button.tsx
10
- const PowerhouseButton = /* @__PURE__ */ forwardRef(function PowerhouseButton(props, ref) {
11
- const { color = "dark", size = "medium", className = "", children, icon, iconPosition = "left", ...delegatedProps } = props;
12
- return /* @__PURE__ */ jsxs("button", {
13
- className: twMerge("flex items-center justify-center gap-2 border border-none transition outline-none disabled:cursor-not-allowed", twJoin({
14
- light: "bg-gray-200 text-gray-600 hover:text-gray-700 hover:border-gray-300 active:border-slate-100 active:text-gray-600 disabled:text-gray-400",
15
- dark: "bg-gray-800 text-slate-50 hover:bg-slate-800 active:border-slate-700 disabled:bg-gray-300 disabled:text-slate-100",
16
- red: "bg-red-900 text-slate-50 hover:opacity-80 active:border-red-800 disabled:text-red-400 disabled:opacity-100",
17
- blue: "bg-blue-900 text-slate-50 hover:opacity-80 active:border-blue-800 disabled:text-blue-400 disabled:opacity-100"
18
- }[color], {
19
- small: "px-2 py-1.5 text-xs rounded-md font-medium",
20
- medium: "px-6 py-3 text-base rounded-xl font-semibold tracking-wide"
21
- }[size]), className),
22
- ref,
23
- ...delegatedProps,
24
- children: [
25
- iconPosition === "left" && icon,
26
- children,
27
- iconPosition === "right" && icon
28
- ]
29
- });
30
- });
31
- //#endregion
32
- //#region src/powerhouse/components/dropdown-menu/dropdown-menu.tsx
33
- const DropdownMenu = Root;
34
- const DropdownMenuTrigger = Trigger;
35
- const DropdownMenuContent = /* @__PURE__ */ forwardRef(function DropdownMenuContent({ children, ...delegatedProps }, forwardedRef) {
36
- return /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(Content, {
37
- ...delegatedProps,
38
- ref: forwardedRef,
39
- children
40
- }) });
41
- });
42
- const DropdownMenuLabel = Label;
43
- const DropdownMenuItem = Item;
44
- //#endregion
1
+ import { a as DescendenceModified, i as Duplicated, n as Moved, o as Created, r as Modified, t as Removed } from "./Removed-CO_5C1ce.js";
2
+ import { n as Search, r as CrossCircle, t as Tabler } from "./Tabler-FjvVqX5a.js";
3
+ import { Suspense } from "react";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
45
5
  //#region src/powerhouse/components/icon-components/AnalyticsProcessorModule.tsx
46
6
  function AnalyticsProcessorModule(props) {
47
7
  return /* @__PURE__ */ jsxs("svg", {
@@ -886,7 +846,7 @@ function ConnectSmall(props) {
886
846
  xmlns: "http://www.w3.org/2000/svg",
887
847
  children: /* @__PURE__ */ jsx("path", {
888
848
  d: "M11.0306 3.68615C11.2854 3.68614 11.492 3.47932 11.4921 3.2242L11.4921 9.03413e-06C8.29133 0.132881 5.41451 1.52048 3.33928 3.68633L11.0306 3.68615ZM14.2609 8.42821C14.2609 8.68334 14.0543 8.89016 13.7994 8.89016L0.406086 8.89043C0.81778 7.34998 1.52777 5.93103 2.46931 4.70043L13.7995 4.70024C14.0544 4.70023 14.261 4.90707 14.261 5.16221L14.2609 8.42821ZM20.6591 20.3137C18.5847 22.4787 15.7079 23.8663 12.5062 24L12.5063 20.7758C12.5063 20.5207 12.7129 20.3139 12.9678 20.3139L20.6591 20.3137ZM11.4924 23.9992C8.29157 23.8665 5.41401 22.4782 3.33969 20.3133L11.0309 20.3131C11.2858 20.3131 11.4924 20.52 11.4924 20.7751L11.4924 23.9992ZM17.5946 15.5703C17.5947 15.3152 17.8013 15.1083 18.0561 15.1083L23.5923 15.108C23.1806 16.6484 22.4714 18.0666 21.5291 19.298L18.0561 19.2983C17.8012 19.2983 17.5946 19.0914 17.5946 18.8363L17.5946 15.5703ZM8.84765 10.3544C8.85393 10.1039 9.05863 9.90407 9.30899 9.90407L23.8175 9.90396C23.9373 10.584 24 11.2842 24 11.9989C24 12.7136 23.9372 13.4138 23.8174 14.0939L9.31089 14.0933C9.06005 14.0932 8.85517 13.8927 8.84957 13.6416L8.80986 11.8617L8.84765 10.3544ZM16.7389 18.8372C16.7389 19.0923 16.5323 19.2991 16.2774 19.2991L2.46978 19.2992C1.52749 18.0679 0.818373 16.6498 0.406752 15.1093L16.2775 15.1092C16.5324 15.1092 16.739 15.316 16.739 15.5712L16.7389 18.8372ZM0.182552 9.90452L7.3636 9.90412C7.61849 9.90411 7.82511 10.1109 7.82511 10.3661L7.82503 13.6321C7.82503 13.8872 7.61842 14.0941 7.36355 14.0941L0.182447 14.0945C0.062664 13.4144 -1.71661e-05 12.7142 0 11.9995C1.71661e-05 11.2848 0.0627384 10.5846 0.182552 9.90452ZM15.2756 5.16214C15.2757 4.90701 15.4823 4.70019 15.7371 4.70019L21.5294 4.69998C22.4717 5.93135 23.1808 7.34943 23.5924 8.88987L15.7371 8.89013C15.4822 8.89014 15.2756 8.6833 15.2756 8.42816L15.2756 5.16214ZM12.5068 0C15.7076 0.132721 18.5852 1.52098 20.6595 3.68592L12.9682 3.6861C12.7133 3.6861 12.5067 3.47927 12.5067 3.22413L12.5068 0Z",
889
- fill: "#9EA0A1"
849
+ fill: "currentColor"
890
850
  })
891
851
  });
892
852
  }
@@ -905,62 +865,6 @@ function Copy(props) {
905
865
  });
906
866
  }
907
867
  //#endregion
908
- //#region src/powerhouse/components/icon-components/Created.tsx
909
- function Created(props) {
910
- return /* @__PURE__ */ jsxs("svg", {
911
- ...props,
912
- viewBox: "0 0 16 16",
913
- fill: "none",
914
- xmlns: "http://www.w3.org/2000/svg",
915
- children: [
916
- /* @__PURE__ */ jsx("rect", {
917
- x: "1.5",
918
- y: "1.5",
919
- width: "13",
920
- height: "13",
921
- rx: "3.5",
922
- stroke: "currentcolor"
923
- }),
924
- /* @__PURE__ */ jsx("path", {
925
- d: "M4 8H12",
926
- stroke: "currentcolor",
927
- strokeLinecap: "round"
928
- }),
929
- /* @__PURE__ */ jsx("path", {
930
- d: "M8 12V4",
931
- stroke: "currentcolor",
932
- strokeLinecap: "round"
933
- })
934
- ]
935
- });
936
- }
937
- //#endregion
938
- //#region src/powerhouse/components/icon-components/CrossCircle.tsx
939
- function CrossCircle(props) {
940
- return /* @__PURE__ */ jsxs("svg", {
941
- ...props,
942
- viewBox: "0 0 16 16",
943
- fill: "none",
944
- xmlns: "http://www.w3.org/2000/svg",
945
- children: [/* @__PURE__ */ jsx("g", {
946
- clipPath: "url(#clip0_14287_3626)",
947
- children: /* @__PURE__ */ jsx("path", {
948
- fillRule: "evenodd",
949
- clipRule: "evenodd",
950
- d: "M0.935547 7.9999C0.935547 4.09837 4.09837 0.935547 7.9999 0.935547C11.9014 0.935547 15.0643 4.09837 15.0643 7.9999C15.0643 11.9014 11.9014 15.0643 7.9999 15.0643C4.09837 15.0643 0.935547 11.9014 0.935547 7.9999ZM7.9999 1.94888C4.65802 1.94888 1.94888 4.65802 1.94888 7.9999C1.94888 11.3418 4.65802 14.0509 7.9999 14.0509C11.3418 14.0509 14.0509 11.3418 14.0509 7.9999C14.0509 4.65802 11.3418 1.94888 7.9999 1.94888ZM10.5105 5.48957C10.7188 5.69785 10.7188 6.03554 10.5105 6.24382L8.75427 8.00003L10.5105 9.75624C10.7188 9.96451 10.7188 10.3022 10.5105 10.5105C10.3022 10.7188 9.96451 10.7188 9.75624 10.5105L8.00003 8.75427L6.24382 10.5105C6.03554 10.7188 5.69785 10.7188 5.48957 10.5105C5.28129 10.3022 5.28129 9.96451 5.48957 9.75624L7.24578 8.00003L5.48957 6.24382C5.28129 6.03554 5.28129 5.69785 5.48957 5.48957C5.69785 5.28129 6.03554 5.28129 6.24382 5.48957L8.00003 7.24578L9.75624 5.48957C9.96451 5.28129 10.3022 5.28129 10.5105 5.48957Z",
951
- fill: "currentcolor"
952
- })
953
- }), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
954
- id: "clip0_14287_3626",
955
- children: /* @__PURE__ */ jsx("rect", {
956
- width: "16",
957
- height: "16",
958
- fill: "white"
959
- })
960
- }) })]
961
- });
962
- }
963
- //#endregion
964
868
  //#region src/powerhouse/components/icon-components/CurlyBrackets.tsx
965
869
  function CurlyBrackets(props) {
966
870
  return /* @__PURE__ */ jsxs("svg", {
@@ -998,52 +902,6 @@ function Danger(props) {
998
902
  });
999
903
  }
1000
904
  //#endregion
1001
- //#region src/powerhouse/components/icon-components/DescendenceModified.tsx
1002
- function DescendenceModified(props) {
1003
- return /* @__PURE__ */ jsxs("svg", {
1004
- ...props,
1005
- width: "16",
1006
- height: "16",
1007
- viewBox: "0 0 16 16",
1008
- fill: "none",
1009
- xmlns: "http://www.w3.org/2000/svg",
1010
- children: [
1011
- /* @__PURE__ */ jsx("rect", {
1012
- x: "1.5",
1013
- y: "1.5",
1014
- width: "13",
1015
- height: "13",
1016
- rx: "3.5",
1017
- stroke: "currentcolor"
1018
- }),
1019
- /* @__PURE__ */ jsx("rect", {
1020
- x: "4",
1021
- y: "7",
1022
- width: "2",
1023
- height: "2",
1024
- rx: "1",
1025
- fill: "currentcolor"
1026
- }),
1027
- /* @__PURE__ */ jsx("rect", {
1028
- x: "7",
1029
- y: "7",
1030
- width: "2",
1031
- height: "2",
1032
- rx: "1",
1033
- fill: "currentcolor"
1034
- }),
1035
- /* @__PURE__ */ jsx("rect", {
1036
- x: "10",
1037
- y: "7",
1038
- width: "2",
1039
- height: "2",
1040
- rx: "1",
1041
- fill: "currentcolor"
1042
- })
1043
- ]
1044
- });
1045
- }
1046
- //#endregion
1047
905
  //#region src/powerhouse/components/icon-components/Disconnect.tsx
1048
906
  function Disconnect(props) {
1049
907
  return /* @__PURE__ */ jsx("svg", {
@@ -1616,15 +1474,15 @@ function DownloadFile(props) {
1616
1474
  mask: "url(#mask0_4381_5452)",
1617
1475
  children: [/* @__PURE__ */ jsx("path", {
1618
1476
  d: "M19.5149 2.99247C19.2102 2.65617 18.8406 2.3869 18.4289 2.20135C18.0173 2.01581 17.5724 1.91796 17.1219 1.91388H7.95228C7.31271 1.93183 6.70624 2.20591 6.26573 2.67607C5.82522 3.14624 5.58659 3.77415 5.60212 4.42224V29.4916C5.58659 30.1397 5.82522 30.7676 6.26573 31.2378C6.70624 31.708 7.31271 31.982 7.95228 32H24.8201C25.4597 31.982 26.0662 31.708 26.5067 31.2378C26.9472 30.7676 27.1858 30.1397 27.1703 29.4916V12.837C27.1765 11.8989 26.8315 10.9932 26.2048 10.3027L19.5149 2.99247ZM18.9455 4.5811L24.1302 10.245H20.265C20.0916 10.245 19.92 10.2104 19.7598 10.1431C19.5996 10.0759 19.454 9.97738 19.3314 9.85315C19.2088 9.72893 19.1116 9.58145 19.0452 9.41914C18.9789 9.25683 18.9447 9.08287 18.9447 8.90719L18.9455 4.5811ZM25.6857 29.4916C25.7007 29.7406 25.6183 29.9856 25.4562 30.1734C25.2942 30.3612 25.0657 30.4767 24.8201 30.495H7.95228C7.70689 30.4765 7.47855 30.3609 7.31669 30.1731C7.15483 29.9853 7.07248 29.7405 7.08748 29.4916V4.42224C7.07249 4.17325 7.15495 3.9283 7.31698 3.74049C7.47902 3.55268 7.70757 3.43713 7.95311 3.4189H17.1186C17.2337 3.41924 17.3484 3.43156 17.461 3.45569V8.91137C17.461 9.66533 17.7566 10.3884 18.2828 10.9215C18.8089 11.4547 19.5226 11.7542 20.2667 11.7542H25.014C25.1371 11.7532 25.258 11.721 25.3656 11.6605C25.5768 12.0165 25.6884 12.4241 25.6882 12.8395L25.6857 29.4916Z",
1619
- fill: "#343839"
1477
+ fill: "currentColor"
1620
1478
  }), /* @__PURE__ */ jsx("path", {
1621
1479
  d: "M18.9455 4.5811L24.1302 10.245H20.265C20.0916 10.245 19.9199 10.2104 19.7598 10.1432C19.5996 10.0759 19.454 9.97738 19.3314 9.85315C19.2088 9.72893 19.1116 9.58145 19.0452 9.41914C18.9789 9.25683 18.9447 9.08287 18.9447 8.90719L18.9455 4.5811Z",
1622
- fill: "#343839"
1480
+ fill: "currentColor"
1623
1481
  })]
1624
1482
  }),
1625
1483
  /* @__PURE__ */ jsx("path", {
1626
1484
  d: "M21 19.7L16 26L11 19.7L14.3333 19.7L14.3333 14.1C14.3333 12.9408 15.0795 12 16 12C16.9205 12 17.6667 12.9408 17.6667 14.1L17.6667 19.7L21 19.7Z",
1627
- fill: "#343839"
1485
+ fill: "currentColor"
1628
1486
  })
1629
1487
  ]
1630
1488
  });
@@ -1640,31 +1498,6 @@ function Drive(props) {
1640
1498
  });
1641
1499
  }
1642
1500
  //#endregion
1643
- //#region src/powerhouse/components/icon-components/Duplicated.tsx
1644
- function Duplicated(props) {
1645
- return /* @__PURE__ */ jsxs("svg", {
1646
- ...props,
1647
- width: "16",
1648
- height: "16",
1649
- viewBox: "0 0 16 16",
1650
- fill: "none",
1651
- xmlns: "http://www.w3.org/2000/svg",
1652
- children: [/* @__PURE__ */ jsx("path", {
1653
- fillRule: "evenodd",
1654
- clipRule: "evenodd",
1655
- d: "M4 2H11C12.6569 2 14 3.34315 14 5V12H15V5C15 2.79086 13.2091 1 11 1H4V2Z",
1656
- fill: "currentcolor"
1657
- }), /* @__PURE__ */ jsx("rect", {
1658
- x: "1.5",
1659
- y: "3.5",
1660
- width: "11",
1661
- height: "11",
1662
- rx: "2.5",
1663
- stroke: "currentcolor"
1664
- })]
1665
- });
1666
- }
1667
- //#endregion
1668
1501
  //#region src/powerhouse/components/icon-components/Edit.tsx
1669
1502
  function Edit(props) {
1670
1503
  return /* @__PURE__ */ jsx("svg", {
@@ -2183,10 +2016,10 @@ function FolderClose(props) {
2183
2016
  return /* @__PURE__ */ jsx("svg", {
2184
2017
  ...props,
2185
2018
  viewBox: "0 0 18 19",
2186
- fill: "currentcolor",
2019
+ fill: "currentColor",
2187
2020
  children: /* @__PURE__ */ jsx("path", {
2188
2021
  d: "M2.99829 0.682129C1.24429 0.683129 0.008291 1.90913 -0.00170898 3.68213V5.68213C-0.000708986 5.72213 -0.00170898 14.6821 -0.00170898 14.6821C-0.00170898 16.8911 1.78929 18.6821 3.99828 18.6821H13.9983C16.2073 18.6821 17.9983 16.8911 17.9983 14.6821V8.68213C17.9973 8.59713 17.9983 6.84013 17.9983 6.71313C18.0053 4.97213 16.7203 3.68913 14.9983 3.68213C14.7263 3.68113 14.0513 3.68113 14.0613 3.68213C13.1383 3.67913 12.9253 3.49513 12.3423 2.62013C11.4253 1.24513 10.6533 0.682129 8.99828 0.682129H2.99829ZM2.99829 2.68213H8.99828C9.84328 2.68213 10.0713 2.86913 10.6543 3.74413C11.5713 5.11913 12.3433 5.68213 13.9983 5.68213C13.9723 5.68313 14.7223 5.68113 14.9983 5.68213C15.6223 5.68513 16.0013 6.08313 15.9983 6.71313C15.9983 6.77713 15.9973 7.21813 15.9983 7.68213C15.3583 7.68213 15.1983 7.68213 11.9983 7.68213C11.1533 7.68213 10.9253 7.49513 10.3423 6.62013C9.42527 5.24513 8.65328 4.68213 6.99828 4.68213C6.11328 4.68213 3.43429 4.68213 1.99829 4.68213V3.68213C2.00229 3.01813 2.34029 2.68213 2.99829 2.68213Z",
2189
- fill: "#6C7275"
2022
+ fill: "currentColor"
2190
2023
  })
2191
2024
  });
2192
2025
  }
@@ -2338,7 +2171,7 @@ function Lock(props) {
2338
2171
  return /* @__PURE__ */ jsx("svg", {
2339
2172
  ...props,
2340
2173
  viewBox: "0 0 24 24",
2341
- fill: "currentcolor",
2174
+ fill: "currentColor",
2342
2175
  children: /* @__PURE__ */ jsx("path", { d: "M11.998 1.95312C9.23705 1.95312 6.99805 4.19213 6.99805 6.95312V8.95312C5.34105 8.95312 3.99805 10.2961 3.99805 11.9531V18.9531C3.99805 20.6101 5.34105 21.9531 6.99805 21.9531H16.998C18.655 21.9531 19.998 20.6101 19.998 18.9531V11.9531C19.998 10.2961 18.655 8.95312 16.998 8.95312V6.95312C16.998 4.19213 14.759 1.95312 11.998 1.95312ZM11.998 3.95312C13.655 3.95312 14.998 5.29612 14.998 6.95312V8.95312H8.99805V6.95312C8.99805 5.29612 10.341 3.95312 11.998 3.95312ZM11.998 11.9531C13.103 11.9531 13.998 12.8481 13.998 13.9531C13.998 14.6631 13.555 15.1611 12.998 15.5151V17.9531C12.998 18.5051 12.55 18.9531 11.998 18.9531C11.446 18.9531 10.998 18.5051 10.998 17.9531V15.5151C10.441 15.1601 9.99805 14.6631 9.99805 13.9531C9.99805 12.8481 10.893 11.9531 11.998 11.9531Z" })
2343
2176
  });
2344
2177
  }
@@ -2359,57 +2192,6 @@ function M(props) {
2359
2192
  });
2360
2193
  }
2361
2194
  //#endregion
2362
- //#region src/powerhouse/components/icon-components/Modified.tsx
2363
- function Modified(props) {
2364
- return /* @__PURE__ */ jsxs("svg", {
2365
- ...props,
2366
- viewBox: "0 0 16 16",
2367
- fill: "none",
2368
- xmlns: "http://www.w3.org/2000/svg",
2369
- children: [/* @__PURE__ */ jsx("rect", {
2370
- x: "1.5",
2371
- y: "1.5",
2372
- width: "13",
2373
- height: "13",
2374
- rx: "3.5",
2375
- stroke: "currentcolor"
2376
- }), /* @__PURE__ */ jsx("circle", {
2377
- cx: "8",
2378
- cy: "8",
2379
- r: "3",
2380
- fill: "currentcolor"
2381
- })]
2382
- });
2383
- }
2384
- //#endregion
2385
- //#region src/powerhouse/components/icon-components/Moved.tsx
2386
- function Moved(props) {
2387
- return /* @__PURE__ */ jsxs("svg", {
2388
- ...props,
2389
- width: "16",
2390
- height: "16",
2391
- viewBox: "0 0 16 16",
2392
- fill: "none",
2393
- xmlns: "http://www.w3.org/2000/svg",
2394
- children: [
2395
- /* @__PURE__ */ jsx("path", {
2396
- d: "M7.07143 1.96429C7.07143 2.2207 6.86356 2.42857 6.60714 2.42857H5.21429C3.67578 2.42857 2.42857 3.67578 2.42857 5.21429V10.7857C2.42857 12.3242 3.67578 13.5714 5.21429 13.5714H10.7857C12.3242 13.5714 13.5714 12.3242 13.5714 10.7857V9.39286C13.5714 9.13644 13.7793 8.92857 14.0357 8.92857C14.2921 8.92857 14.5 9.13644 14.5 9.39286V10.7857C14.5 12.8371 12.8371 14.5 10.7857 14.5H5.21429C3.16294 14.5 1.5 12.8371 1.5 10.7857V5.21429C1.5 3.16294 3.16294 1.5 5.21429 1.5H6.60714C6.86356 1.5 7.07143 1.70787 7.07143 1.96429Z",
2397
- fill: "currentcolor"
2398
- }),
2399
- /* @__PURE__ */ jsx("path", {
2400
- d: "M14 6.5V2.5C14 2.22386 13.7761 2 13.5 2H9.5",
2401
- stroke: "currentcolor",
2402
- strokeLinecap: "round"
2403
- }),
2404
- /* @__PURE__ */ jsx("path", {
2405
- d: "M7 10L7.28346 9.29136C8.39378 6.51556 10.4269 4.20728 13.0403 2.75539L13.5 2.5",
2406
- stroke: "currentcolor",
2407
- strokeLinecap: "round"
2408
- })
2409
- ]
2410
- });
2411
- }
2412
- //#endregion
2413
2195
  //#region src/powerhouse/components/icon-components/Npm.tsx
2414
2196
  function Npm(props) {
2415
2197
  return /* @__PURE__ */ jsx("svg", {
@@ -2681,7 +2463,7 @@ function PlusSquare(props) {
2681
2463
  xmlns: "http://www.w3.org/2000/svg",
2682
2464
  children: /* @__PURE__ */ jsx("path", {
2683
2465
  d: "M9.32113 3.90637C6.3758 3.90637 3.98779 6.29437 3.98779 9.2397L3.98779 22.573C3.98779 25.5184 6.3758 27.9064 9.32113 27.9064L22.6545 27.9064C25.5998 27.9064 27.9878 25.5184 27.9878 22.573L27.9878 9.2397C27.9878 6.29437 25.5998 3.90637 22.6545 3.90637L9.32113 3.90637ZM9.32113 6.57304L22.6545 6.57304C24.1278 6.57304 25.3212 7.76637 25.3212 9.2397L25.3212 22.573C25.3212 24.0464 24.1278 25.2397 22.6545 25.2397L9.32113 25.2397C7.8478 25.2397 6.65446 24.0464 6.65446 22.573L6.65446 9.2397C6.65446 7.76637 7.8478 6.57304 9.32113 6.57304ZM15.9878 9.2397C15.2518 9.2397 14.6545 9.83704 14.6545 10.573L14.6545 14.573L10.6545 14.573C9.91847 14.573 9.32113 15.1704 9.32113 15.9064C9.32113 16.6424 9.91847 17.2397 10.6545 17.2397L14.6545 17.2397L14.6545 21.2397C14.6545 21.9757 15.2518 22.573 15.9878 22.573C16.7238 22.573 17.3211 21.9757 17.3211 21.2397L17.3211 17.2397L21.3212 17.2397C22.0572 17.2397 22.6545 16.6424 22.6545 15.9064C22.6545 15.1704 22.0572 14.573 21.3212 14.573L17.3211 14.573L17.3211 10.573C17.3211 9.83704 16.7238 9.2397 15.9878 9.2397Z",
2684
- fill: "#32373B"
2466
+ fill: "currentColor"
2685
2467
  })
2686
2468
  });
2687
2469
  }
@@ -2974,28 +2756,6 @@ function Reload(props) {
2974
2756
  });
2975
2757
  }
2976
2758
  //#endregion
2977
- //#region src/powerhouse/components/icon-components/Removed.tsx
2978
- function Removed(props) {
2979
- return /* @__PURE__ */ jsxs("svg", {
2980
- ...props,
2981
- viewBox: "0 0 16 16",
2982
- fill: "none",
2983
- xmlns: "http://www.w3.org/2000/svg",
2984
- children: [/* @__PURE__ */ jsx("rect", {
2985
- x: "1.5",
2986
- y: "1.5",
2987
- width: "13",
2988
- height: "13",
2989
- rx: "3.5",
2990
- stroke: "currentcolor"
2991
- }), /* @__PURE__ */ jsx("path", {
2992
- d: "M4 8H12",
2993
- stroke: "currentcolor",
2994
- strokeLinecap: "round"
2995
- })]
2996
- });
2997
- }
2998
- //#endregion
2999
2759
  //#region src/powerhouse/components/icon-components/Renown.tsx
3000
2760
  function Renown(props) {
3001
2761
  return /* @__PURE__ */ jsxs("svg", {
@@ -3109,16 +2869,6 @@ function Save(props) {
3109
2869
  });
3110
2870
  }
3111
2871
  //#endregion
3112
- //#region src/powerhouse/components/icon-components/Search.tsx
3113
- function Search(props) {
3114
- return /* @__PURE__ */ jsx("svg", {
3115
- ...props,
3116
- viewBox: "0 0 24 24",
3117
- fill: "currentcolor",
3118
- children: /* @__PURE__ */ jsx("path", { d: "M10.0137 1.95312C5.59537 1.95312 2.01367 5.53513 2.01367 9.95314C2.01367 14.3712 5.59537 17.9532 10.0137 17.9532C11.8504 17.9532 13.5913 17.3222 14.9416 16.2822L19.2949 20.6722C19.6855 21.0622 20.3419 21.0622 20.7325 20.6722C21.123 20.2812 21.123 19.6252 20.7325 19.2342L16.349 14.8741C17.3898 13.5241 18.0137 11.7901 18.0137 9.95314C18.0137 5.53513 14.432 1.95312 10.0137 1.95312ZM10.0137 3.95313C13.3274 3.95313 16.0137 6.63914 16.0137 9.95314C16.0137 13.2672 13.3274 15.9532 10.0137 15.9532C6.69997 15.9532 4.01367 13.2672 4.01367 9.95314C4.01367 6.63914 6.69997 3.95313 10.0137 3.95313Z" })
3119
- });
3120
- }
3121
- //#endregion
3122
2872
  //#region src/powerhouse/components/icon-components/Server.tsx
3123
2873
  function Server(props) {
3124
2874
  return /* @__PURE__ */ jsx("svg", {
@@ -3331,31 +3081,6 @@ function Syncing(props) {
3331
3081
  });
3332
3082
  }
3333
3083
  //#endregion
3334
- //#region src/powerhouse/components/icon-components/Tabler.tsx
3335
- function Tabler(props) {
3336
- return /* @__PURE__ */ jsxs("svg", {
3337
- ...props,
3338
- width: "18",
3339
- height: "18",
3340
- viewBox: "0 0 18 18",
3341
- fill: "none",
3342
- xmlns: "http://www.w3.org/2000/svg",
3343
- children: [/* @__PURE__ */ jsx("path", {
3344
- d: "M4.5 9V7.5C4.5 6.30653 4.97411 5.16193 5.81802 4.31802C6.66193 3.47411 7.80653 3 9 3C10.1935 3 11.3381 3.47411 12.182 4.31802C13.0259 5.16193 13.5 6.30653 13.5 7.5V9M3 13.5C3 13.8978 3.15804 14.2794 3.43934 14.5607C3.72064 14.842 4.10218 15 4.5 15C4.89782 15 5.27936 14.842 5.56066 14.5607C5.84196 14.2794 6 13.8978 6 13.5C6 13.1022 5.84196 12.7206 5.56066 12.4393C5.27936 12.158 4.89782 12 4.5 12C4.10218 12 3.72064 12.158 3.43934 12.4393C3.15804 12.7206 3 13.1022 3 13.5ZM12 13.5C12 13.8978 12.158 14.2794 12.4393 14.5607C12.7206 14.842 13.1022 15 13.5 15C13.8978 15 14.2794 14.842 14.5607 14.5607C14.842 14.2794 15 13.8978 15 13.5C15 13.1022 14.842 12.7206 14.5607 12.4393C14.2794 12.158 13.8978 12 13.5 12C13.1022 12 12.7206 12.158 12.4393 12.4393C12.158 12.7206 12 13.1022 12 13.5Z",
3345
- stroke: "currentcolor",
3346
- strokeWidth: "1.5",
3347
- strokeLinecap: "round",
3348
- strokeLinejoin: "round"
3349
- }), /* @__PURE__ */ jsx("path", {
3350
- d: "M11.25 6.75L13.5 9L15.75 6.75",
3351
- stroke: "currentcolor",
3352
- strokeWidth: "1.5",
3353
- strokeLinecap: "round",
3354
- strokeLinejoin: "round"
3355
- })]
3356
- });
3357
- }
3358
- //#endregion
3359
3084
  //#region src/powerhouse/components/icon-components/Timeline.tsx
3360
3085
  function Timeline(props) {
3361
3086
  return /* @__PURE__ */ jsxs("svg", {
@@ -3866,681 +3591,6 @@ function Icon({ name, size = 24, color, style, ...props }) {
3866
3591
  });
3867
3592
  }
3868
3593
  //#endregion
3869
- //#region src/powerhouse/components/modal/modal.tsx
3870
- function Modal(props) {
3871
- const { title, open, onOpenChange, contentProps, overlayProps, children, ...delegated } = props;
3872
- return /* @__PURE__ */ jsx(Root$1, {
3873
- defaultOpen: open,
3874
- onOpenChange,
3875
- open,
3876
- children: /* @__PURE__ */ jsx(Portal$1, { children: /* @__PURE__ */ jsx(Overlay, {
3877
- ...overlayProps,
3878
- className: twMerge("fixed inset-0 grid place-items-center overflow-y-auto bg-slate-900/50 data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in", overlayProps?.className),
3879
- children: /* @__PURE__ */ jsxs(Content$1, {
3880
- ...delegated,
3881
- ...contentProps,
3882
- className: twMerge("bg-white data-[state=closed]:animate-zoom-out data-[state=open]:animate-zoom-in", contentProps?.className),
3883
- children: [/* @__PURE__ */ jsxs(Root$2, { children: [/* @__PURE__ */ jsx(Title, { children: title || "Modal" }), /* @__PURE__ */ jsx(Description, { children: title || "Modal" })] }), children]
3884
- })
3885
- }) })
3886
- });
3887
- }
3888
- //#endregion
3889
- //#region src/powerhouse/components/package-animation/package-animation.tsx
3890
- const FRAME_DURATION = 60;
3891
- const HOLD_LAST_FRAME = 800;
3892
- const frames = [
3893
- (color) => /* @__PURE__ */ jsxs("svg", {
3894
- width: "32",
3895
- height: "32",
3896
- viewBox: "0 0 32 32",
3897
- fill: "none",
3898
- xmlns: "http://www.w3.org/2000/svg",
3899
- children: [
3900
- /* @__PURE__ */ jsx("path", {
3901
- d: "M15.3998 27.782C15.6431 27.9224 15.919 27.9963 16.1998 27.9963C16.4807 27.9963 16.7566 27.9224 16.9998 27.782L22.5997 24.5821C22.8427 24.4418 23.0445 24.24 23.1849 23.9971C23.3253 23.7542 23.3994 23.4787 23.3996 23.1981V16.7982C23.3994 16.5177 23.3253 16.2421 23.1849 15.9992C23.0445 15.7563 22.8427 15.5546 22.5997 15.4143L16.9998 12.2144C16.7566 12.0739 16.4807 12 16.1998 12C15.919 12 15.6431 12.0739 15.3998 12.2144L9.79998 15.4143C9.557 15.5546 9.35518 15.7563 9.21476 15.9992C9.07435 16.2421 9.00029 16.5177 9 16.7982V23.1981C9.00029 23.4787 9.07435 23.7542 9.21476 23.9971C9.35518 24.24 9.557 24.4418 9.79998 24.5821L15.3999 27.782Z",
3902
- stroke: color,
3903
- strokeWidth: "1.59996",
3904
- strokeLinecap: "round",
3905
- strokeLinejoin: "round"
3906
- }),
3907
- /* @__PURE__ */ jsx("path", {
3908
- d: "M16.1997 27.9979V19.998",
3909
- stroke: color,
3910
- strokeWidth: "1.59996",
3911
- strokeLinecap: "round",
3912
- strokeLinejoin: "round"
3913
- }),
3914
- /* @__PURE__ */ jsx("path", {
3915
- d: "M9.23193 15.9985L16.1998 19.9984L23.1676 15.9985",
3916
- stroke: color,
3917
- strokeWidth: "1.59996",
3918
- strokeLinecap: "round",
3919
- strokeLinejoin: "round"
3920
- }),
3921
- /* @__PURE__ */ jsx("path", {
3922
- d: "M12.6001 13.8145L19.7999 17.9344",
3923
- stroke: color,
3924
- strokeWidth: "1.59996",
3925
- strokeLinecap: "round",
3926
- strokeLinejoin: "round"
3927
- })
3928
- ]
3929
- }),
3930
- (color) => /* @__PURE__ */ jsxs("svg", {
3931
- width: "32",
3932
- height: "32",
3933
- viewBox: "0 0 32 32",
3934
- fill: "none",
3935
- xmlns: "http://www.w3.org/2000/svg",
3936
- children: [
3937
- /* @__PURE__ */ jsx("path", {
3938
- d: "M19.7996 13.8145L16.8801 15.5",
3939
- stroke: color,
3940
- strokeWidth: "1.59996",
3941
- strokeLinecap: "round",
3942
- strokeLinejoin: "round"
3943
- }),
3944
- /* @__PURE__ */ jsx("path", {
3945
- d: "M12.9998 14L18.9998 17.5",
3946
- stroke: color,
3947
- strokeWidth: "1.6",
3948
- strokeLinecap: "round"
3949
- }),
3950
- /* @__PURE__ */ jsx("path", {
3951
- d: "M16.1998 27.9963C16.4807 27.9963 16.7566 27.9224 16.9998 27.782L22.5997 24.5821C22.8427 24.4418 23.0445 24.24 23.1849 23.9971C23.3253 23.7542 23.3994 23.4787 23.3997 23.1981V16.7982C23.3994 16.5177 23.3253 16.2421 23.1849 15.9992C23.0445 15.7563 22.8427 15.5546 22.5997 15.4143L16.9998 12.2144C16.7566 12.0739 16.4807 12 16.1998 12C15.919 12 15.6431 12.0739 15.3999 12.2144L9.79999 15.4143C9.55701 15.5546 9 16 9 16.5L9.00001 20.5V23.1981C9.0003 23.4787 9.07436 23.7542 9.21477 23.9971C9.35518 24.24 9.55701 24.4418 9.79999 24.5821L15.3999 27.782C15.6431 27.9224 15.919 27.9963 16.1998 27.9963Z",
3952
- stroke: color,
3953
- strokeWidth: "1.59996",
3954
- strokeLinecap: "round",
3955
- strokeLinejoin: "round"
3956
- }),
3957
- /* @__PURE__ */ jsx("path", {
3958
- d: "M16.1997 27.9979V19.998",
3959
- stroke: color,
3960
- strokeWidth: "1.59996",
3961
- strokeLinecap: "round",
3962
- strokeLinejoin: "round"
3963
- }),
3964
- /* @__PURE__ */ jsx("path", {
3965
- d: "M23.1677 15.9985L16.1999 19.9984L9.23207 15.9985",
3966
- stroke: color,
3967
- strokeWidth: "1.59996",
3968
- strokeLinecap: "round",
3969
- strokeLinejoin: "round"
3970
- }),
3971
- /* @__PURE__ */ jsx("path", {
3972
- d: "M16.001 11.8061V9.76617C16.001 8.98888 16.8489 8.50877 17.5155 8.90867L22.4298 11.8572C23.0322 12.2186 23.4008 12.8697 23.4008 13.5722V16.8833",
3973
- stroke: color,
3974
- strokeWidth: "1.6",
3975
- strokeLinecap: "round"
3976
- })
3977
- ]
3978
- }),
3979
- (color) => /* @__PURE__ */ jsxs("svg", {
3980
- width: "32",
3981
- height: "32",
3982
- viewBox: "0 0 32 32",
3983
- fill: "none",
3984
- xmlns: "http://www.w3.org/2000/svg",
3985
- children: [
3986
- /* @__PURE__ */ jsx("path", {
3987
- d: "M9.00001 20.5V23.1981C9.0003 23.4787 9.07436 23.7542 9.21477 23.9971C9.35518 24.24 9.55701 24.4418 9.79999 24.5821L15.3999 27.782C15.6431 27.9224 15.919 27.9963 16.1998 27.9963C16.4807 27.9963 16.7566 27.9224 16.9998 27.782L22.5997 24.5821C22.8427 24.4418 23.0445 24.24 23.1849 23.9971C23.3253 23.7542 23.3994 23.4787 23.3997 23.1981V16.7982C23.3994 16.5177 23.3253 16.2421 23.1849 15.9992C23.0445 15.7563 22.8427 15.5546 22.5997 15.4143L16.9998 12.2144C16.7566 12.0739 16.4807 12 16.1998 12C15.919 12 15.6431 12.0739 15.3999 12.2144",
3988
- stroke: color,
3989
- strokeWidth: "1.59996",
3990
- strokeLinecap: "round",
3991
- strokeLinejoin: "round"
3992
- }),
3993
- /* @__PURE__ */ jsx("path", {
3994
- d: "M16.2 27.9979V19.998",
3995
- stroke: color,
3996
- strokeWidth: "1.59996",
3997
- strokeLinecap: "round",
3998
- strokeLinejoin: "round"
3999
- }),
4000
- /* @__PURE__ */ jsx("path", {
4001
- d: "M23.1677 15.9985L16.1999 19.9984L9.23207 15.9985",
4002
- stroke: color,
4003
- strokeWidth: "1.59996",
4004
- strokeLinecap: "round",
4005
- strokeLinejoin: "round"
4006
- }),
4007
- /* @__PURE__ */ jsx("path", {
4008
- d: "M19.7998 13.8145L16.0143 16",
4009
- stroke: color,
4010
- strokeWidth: "1.59996",
4011
- strokeLinecap: "round",
4012
- strokeLinejoin: "round"
4013
- }),
4014
- /* @__PURE__ */ jsx("path", {
4015
- d: "M16.5002 19.7472L24.1167 15.3498C24.385 15.1982 24.6081 14.978 24.7634 14.7118C24.9187 14.4456 25.0005 14.143 25.0005 13.8348C25.0005 13.5266 24.9187 13.224 24.7634 12.9578C24.6081 12.6916 24.385 12.4715 24.1167 12.3198L20.3291 10.1915C20.1045 10.0659 19.8515 10 19.5941 10C19.3368 10 19.0837 10.0659 18.8591 10.1915L12.5487 13.8348",
4016
- stroke: color,
4017
- strokeWidth: "1.6",
4018
- strokeLinecap: "round",
4019
- strokeLinejoin: "round"
4020
- }),
4021
- /* @__PURE__ */ jsx("path", {
4022
- d: "M9.00024 20.8833V13.7662C9.00024 12.9889 9.84821 12.5088 10.5147 12.9087L15.2265 15.7357C15.8289 16.0971 16.1975 16.7481 16.1975 17.4507V20.7618",
4023
- stroke: color,
4024
- strokeWidth: "1.6",
4025
- strokeLinecap: "round"
4026
- })
4027
- ]
4028
- }),
4029
- (color) => /* @__PURE__ */ jsxs("svg", {
4030
- width: "32",
4031
- height: "32",
4032
- viewBox: "0 0 32 32",
4033
- fill: "none",
4034
- xmlns: "http://www.w3.org/2000/svg",
4035
- children: [
4036
- /* @__PURE__ */ jsx("path", {
4037
- d: "M9.79998 15.4143L15.3998 12.2144C15.6431 12.0739 15.919 12 16.1998 12C16.4807 12 16.7566 12.0739 16.9998 12.2144L22.5997 15.4143C22.8427 15.5546 23.0445 15.7563 23.1849 15.9992C23.3253 16.2421 23.3994 16.5177 23.3996 16.7982V23.1981C23.3994 23.4787 23.3253 23.7542 23.1849 23.9971C23.0445 24.24 22.8427 24.4418 22.5997 24.5821L16.9998 27.782C16.7566 27.9224 16.4807 27.9963 16.1998 27.9963C15.919 27.9963 15.6431 27.9224 15.3998 27.782L9.79998 24.5821C9.557 24.4418 9.35518 24.24 9.21476 23.9971C9.07435 23.7542 9.00029 23.4787 9 23.1981V19.9982",
4038
- stroke: color,
4039
- strokeWidth: "1.59996",
4040
- strokeLinecap: "round",
4041
- strokeLinejoin: "round"
4042
- }),
4043
- /* @__PURE__ */ jsx("path", {
4044
- d: "M16.1997 27.9979V19.998",
4045
- stroke: color,
4046
- strokeWidth: "1.59996",
4047
- strokeLinecap: "round",
4048
- strokeLinejoin: "round"
4049
- }),
4050
- /* @__PURE__ */ jsx("path", {
4051
- d: "M9.23193 15.9985L16.1998 19.9984L23.1676 15.9985",
4052
- stroke: color,
4053
- strokeWidth: "1.59996",
4054
- strokeLinecap: "round",
4055
- strokeLinejoin: "round"
4056
- }),
4057
- /* @__PURE__ */ jsx("path", {
4058
- d: "M19.0996 14L12.5997 17.7527",
4059
- stroke: color,
4060
- strokeWidth: "1.59996",
4061
- strokeLinecap: "round",
4062
- strokeLinejoin: "round"
4063
- }),
4064
- /* @__PURE__ */ jsx("path", {
4065
- d: "M18.8589 10.0099C19.0835 9.8843 19.3365 9.81836 19.5939 9.81836C19.8512 9.81836 20.1042 9.8843 20.3289 10.0099L24.1165 12.1381C24.3847 12.2898 24.6079 12.51 24.7632 12.7762C24.9185 13.0424 25.0003 13.345 25.0003 13.6532C25.0003 13.9613 24.9185 14.264 24.7632 14.5301C24.6079 14.7963 24.3847 15.0165 24.1165 15.1682L13.1324 21.3546C12.9071 21.4831 12.6522 21.5506 12.3929 21.5506C12.1335 21.5506 11.8787 21.4831 11.6534 21.3546L7.88378 19.2263C7.61553 19.0746 7.39237 18.8544 7.23709 18.5883C7.08182 18.3221 7 18.0194 7 17.7113C7 17.4031 7.08182 17.1005 7.23709 16.8343C7.39237 16.5681 7.61553 16.3479 7.88378 16.1963L18.8589 10.0099Z",
4066
- stroke: color,
4067
- strokeWidth: "1.6",
4068
- strokeLinecap: "round",
4069
- strokeLinejoin: "round"
4070
- }),
4071
- /* @__PURE__ */ jsx("path", {
4072
- d: "M16.2463 11.1364L16.2179 8.7419C16.2087 7.96996 15.3654 7.49911 14.7034 7.89629L9.98488 10.7274C9.37494 11.0933 9.00526 11.7557 9.01401 12.467L9.04907 15.3181",
4073
- stroke: color,
4074
- strokeWidth: "1.6",
4075
- strokeLinecap: "round"
4076
- })
4077
- ]
4078
- }),
4079
- (color) => /* @__PURE__ */ jsxs("svg", {
4080
- width: "32",
4081
- height: "32",
4082
- viewBox: "0 0 32 32",
4083
- fill: "none",
4084
- xmlns: "http://www.w3.org/2000/svg",
4085
- children: [
4086
- /* @__PURE__ */ jsx("path", {
4087
- d: "M23.1849 15.9993C23.3253 16.2422 23.3994 16.5177 23.3996 16.7983V23.1982C23.3994 23.4787 23.3253 23.7543 23.1849 23.9972C23.0445 24.2401 22.8427 24.4418 22.5997 24.5821L16.9998 27.782C16.7566 27.9225 16.4807 27.9964 16.1998 27.9964C15.919 27.9964 15.6431 27.9225 15.3998 27.782L9.79998 24.5821C9.557 24.4418 9.35518 24.2401 9.21476 23.9972C9.07435 23.7543 9.00029 23.4787 9 23.1982V20.5001",
4088
- stroke: color,
4089
- strokeWidth: "1.59996",
4090
- strokeLinecap: "round",
4091
- strokeLinejoin: "round"
4092
- }),
4093
- /* @__PURE__ */ jsx("path", {
4094
- d: "M16.1997 27.9979V19.998",
4095
- stroke: color,
4096
- strokeWidth: "1.59996",
4097
- strokeLinecap: "round",
4098
- strokeLinejoin: "round"
4099
- }),
4100
- /* @__PURE__ */ jsx("path", {
4101
- d: "M18.8589 10.2045C19.0835 10.0789 19.3365 10.0129 19.5939 10.0129C19.8512 10.0129 20.1042 10.0789 20.3289 10.2045L24.1165 12.3327C24.3847 12.4844 24.6079 12.7046 24.7632 12.9708C24.9185 13.2369 25.0003 13.5396 25.0003 13.8477C25.0003 14.1559 24.9185 14.4585 24.7632 14.7247C24.6079 14.9909 24.3847 15.2111 24.1165 15.3628L13.1324 21.5491C12.9071 21.6776 12.6522 21.7452 12.3929 21.7452C12.1335 21.7452 11.8787 21.6776 11.6534 21.5491L7.88378 19.4209C7.61553 19.2692 7.39237 19.049 7.23709 18.7828C7.08182 18.5167 7 18.214 7 17.9059C7 17.5977 7.08182 17.2951 7.23709 17.0289C7.39237 16.7627 7.61553 16.5425 7.88378 16.3908L18.8589 10.2045Z",
4102
- stroke: color,
4103
- strokeWidth: "1.6",
4104
- strokeLinecap: "round",
4105
- strokeLinejoin: "round"
4106
- }),
4107
- /* @__PURE__ */ jsx("path", {
4108
- d: "M18.8649 13.5L13.1414 10.1956C12.9176 10.0674 12.6642 10 12.4064 10C12.1485 10 11.8952 10.0674 11.6714 10.1956L7.88378 12.3328C7.61553 12.4845 7.39237 12.7047 7.23709 12.9709C7.08182 13.2371 7 13.5397 7 13.8479C7 14.156 7.08182 14.4587 7.23709 14.7248C7.39237 14.991 7.61553 15.2112 7.88378 15.3629L16 20",
4109
- stroke: color,
4110
- strokeWidth: "1.6",
4111
- strokeLinecap: "round",
4112
- strokeLinejoin: "round"
4113
- }),
4114
- /* @__PURE__ */ jsx("path", {
4115
- d: "M23.1972 15.5L23.1972 12.7662C23.1972 11.9889 22.3493 11.5088 21.6827 11.9087L16.971 14.7357C16.3686 15.0971 16 15.7482 16 16.4507L16.0001 19.5",
4116
- stroke: color,
4117
- strokeWidth: "1.6",
4118
- strokeLinecap: "round"
4119
- })
4120
- ]
4121
- }),
4122
- (color) => /* @__PURE__ */ jsxs("svg", {
4123
- width: "32",
4124
- height: "32",
4125
- viewBox: "0 0 32 32",
4126
- fill: "none",
4127
- xmlns: "http://www.w3.org/2000/svg",
4128
- children: [
4129
- /* @__PURE__ */ jsx("path", {
4130
- d: "M23.3996 20V23.1982C23.3994 23.4788 23.3253 23.7543 23.1849 23.9972C23.0445 24.2401 22.8427 24.4419 22.5997 24.5821L16.9998 27.7821C16.7566 27.9225 16.4807 27.9964 16.1998 27.9964C15.919 27.9964 15.6431 27.9225 15.3998 27.7821L9.79998 24.5821C9.557 24.4419 9.35518 24.2401 9.21476 23.9972C9.07435 23.7543 9.00029 23.4788 9 23.1982V20.5001",
4131
- stroke: color,
4132
- strokeWidth: "1.59996",
4133
- strokeLinecap: "round",
4134
- strokeLinejoin: "round"
4135
- }),
4136
- /* @__PURE__ */ jsx("path", {
4137
- d: "M16.1997 27.9979V19.998",
4138
- stroke: color,
4139
- strokeWidth: "1.59996",
4140
- strokeLinecap: "round",
4141
- strokeLinejoin: "round"
4142
- }),
4143
- /* @__PURE__ */ jsx("path", {
4144
- d: "M18.8589 10.2045C19.0835 10.0789 19.3365 10.0129 19.5939 10.0129C19.8512 10.0129 20.1042 10.0789 20.3289 10.2045L24.1165 12.3327C24.3847 12.4844 24.6079 12.7046 24.7632 12.9708C24.9185 13.2369 25.0003 13.5396 25.0003 13.8477C25.0003 14.1559 24.9185 14.4585 24.7632 14.7247C24.6079 14.9909 24.3847 15.2111 24.1165 15.3628L13.1324 21.5491C12.9071 21.6776 12.6522 21.7452 12.3929 21.7452C12.1335 21.7452 11.8787 21.6776 11.6534 21.5491L7.88378 19.4209C7.61553 19.2692 7.39237 19.049 7.23709 18.7828C7.08182 18.5167 7 18.214 7 17.9059C7 17.5977 7.08182 17.2951 7.23709 17.0289C7.39237 16.7627 7.61553 16.5425 7.88378 16.3908L18.8589 10.2045Z",
4145
- stroke: color,
4146
- strokeWidth: "1.6",
4147
- strokeLinecap: "round",
4148
- strokeLinejoin: "round"
4149
- }),
4150
- /* @__PURE__ */ jsx("path", {
4151
- d: "M24.1162 19.4209C24.3845 19.2693 24.6076 19.0491 24.7629 18.7829C24.9182 18.5167 25 18.2141 25 17.9059C25 17.5978 24.9182 17.2951 24.7629 17.029C24.6076 16.7628 24.3845 16.5426 24.1162 16.3909L13.1413 10.1955C12.9175 10.0674 12.6642 10 12.4063 10C12.1485 10 11.8951 10.0674 11.6713 10.1955L7.88377 12.3328C7.61552 12.4845 7.39236 12.7047 7.23709 12.9709C7.08182 13.237 7 13.5397 7 13.8478C7 14.156 7.08182 14.4586 7.23709 14.7248C7.39236 14.991 7.61552 15.2112 7.88377 15.3629L18.8677 21.5492C19.0914 21.6777 19.3448 21.7453 19.6027 21.7453C19.8606 21.7453 20.114 21.6777 20.3377 21.5492L24.1162 19.4209Z",
4152
- stroke: color,
4153
- strokeWidth: "1.6",
4154
- strokeLinecap: "round",
4155
- strokeLinejoin: "round"
4156
- })
4157
- ]
4158
- }),
4159
- (color) => /* @__PURE__ */ jsxs("svg", {
4160
- width: "32",
4161
- height: "32",
4162
- viewBox: "0 0 32 32",
4163
- fill: "none",
4164
- xmlns: "http://www.w3.org/2000/svg",
4165
- children: [
4166
- /* @__PURE__ */ jsx("path", {
4167
- d: "M23.3996 20V23.1982C23.3994 23.4788 23.3253 23.7543 23.1849 23.9972C23.0445 24.2401 22.8427 24.4419 22.5997 24.5821L16.9998 27.7821C16.7566 27.9225 16.4807 27.9964 16.1998 27.9964C15.919 27.9964 15.6431 27.9225 15.3998 27.7821L9.79998 24.5821C9.557 24.4419 9.35518 24.2401 9.21476 23.9972C9.07435 23.7543 9.00029 23.4788 9 23.1982V20.5001",
4168
- stroke: color,
4169
- strokeWidth: "1.59996",
4170
- strokeLinecap: "round",
4171
- strokeLinejoin: "round"
4172
- }),
4173
- /* @__PURE__ */ jsx("path", {
4174
- d: "M16.1997 27.9979V19.998",
4175
- stroke: color,
4176
- strokeWidth: "1.59996",
4177
- strokeLinecap: "round",
4178
- strokeLinejoin: "round"
4179
- }),
4180
- /* @__PURE__ */ jsx("path", {
4181
- d: "M18.8589 10.2045C19.0835 10.0789 19.3365 10.0129 19.5939 10.0129C19.8512 10.0129 20.1042 10.0789 20.3289 10.2045L24.1165 12.3327C24.3847 12.4844 24.6079 12.7046 24.7632 12.9708C24.9185 13.2369 25.0003 13.5396 25.0003 13.8477C25.0003 14.1559 24.9185 14.4585 24.7632 14.7247C24.6079 14.9909 24.3847 15.2111 24.1165 15.3628L13.1324 21.5491C12.9071 21.6776 12.6522 21.7452 12.3929 21.7452C12.1335 21.7452 11.8787 21.6776 11.6534 21.5491L7.88378 19.4209C7.61553 19.2692 7.39237 19.049 7.23709 18.7828C7.08182 18.5167 7 18.214 7 17.9059C7 17.5977 7.08182 17.2951 7.23709 17.0289C7.39237 16.7627 7.61553 16.5425 7.88378 16.3908L18.8589 10.2045Z",
4182
- stroke: color,
4183
- strokeWidth: "1.6",
4184
- strokeLinecap: "round",
4185
- strokeLinejoin: "round"
4186
- }),
4187
- /* @__PURE__ */ jsx("path", {
4188
- d: "M24.1162 19.4209C24.3845 19.2693 24.6076 19.0491 24.7629 18.7829C24.9182 18.5167 25 18.2141 25 17.9059C25 17.5978 24.9182 17.2951 24.7629 17.029C24.6076 16.7628 24.3845 16.5426 24.1162 16.3909L13.1413 10.1955C12.9175 10.0674 12.6642 10 12.4063 10C12.1485 10 11.8951 10.0674 11.6713 10.1955L7.88377 12.3328C7.61552 12.4845 7.39236 12.7047 7.23709 12.9709C7.08182 13.237 7 13.5397 7 13.8478C7 14.156 7.08182 14.4586 7.23709 14.7248C7.39236 14.991 7.61552 15.2112 7.88377 15.3629L18.8677 21.5492C19.0914 21.6777 19.3448 21.7453 19.6027 21.7453C19.8606 21.7453 20.114 21.6777 20.3377 21.5492L24.1162 19.4209Z",
4189
- stroke: color,
4190
- strokeWidth: "1.6",
4191
- strokeLinecap: "round",
4192
- strokeLinejoin: "round"
4193
- }),
4194
- /* @__PURE__ */ jsx("path", {
4195
- d: "M16 7V4",
4196
- stroke: color,
4197
- strokeWidth: "1.6",
4198
- strokeLinecap: "round"
4199
- }),
4200
- /* @__PURE__ */ jsx("path", {
4201
- d: "M19 8L21 7",
4202
- stroke: color,
4203
- strokeWidth: "1.6",
4204
- strokeLinecap: "round"
4205
- }),
4206
- /* @__PURE__ */ jsx("path", {
4207
- d: "M13 8L11 7",
4208
- stroke: color,
4209
- strokeWidth: "1.6",
4210
- strokeLinecap: "round"
4211
- })
4212
- ]
4213
- })
4214
- ];
4215
- function PackageAnimation({ animate = false, loop = false, color = "currentColor", size = 32, onComplete }) {
4216
- const [frameIndex, setFrameIndex] = useState(0);
4217
- const timerRef = useRef(null);
4218
- const isRunning = useRef(false);
4219
- useEffect(() => {
4220
- if (!animate || isRunning.current) return;
4221
- isRunning.current = true;
4222
- setFrameIndex(0);
4223
- let current = 0;
4224
- const totalFrames = frames.length;
4225
- const tick = () => {
4226
- current += 1;
4227
- if (current < totalFrames - 1) {
4228
- setFrameIndex(current);
4229
- timerRef.current = setTimeout(tick, FRAME_DURATION);
4230
- } else {
4231
- setFrameIndex(totalFrames - 1);
4232
- timerRef.current = setTimeout(() => {
4233
- if (loop) {
4234
- current = 0;
4235
- setFrameIndex(0);
4236
- timerRef.current = setTimeout(tick, FRAME_DURATION);
4237
- } else {
4238
- isRunning.current = false;
4239
- onComplete?.();
4240
- }
4241
- }, HOLD_LAST_FRAME);
4242
- }
4243
- };
4244
- timerRef.current = setTimeout(tick, FRAME_DURATION);
4245
- return () => {
4246
- isRunning.current = false;
4247
- if (timerRef.current) clearTimeout(timerRef.current);
4248
- };
4249
- }, [animate, loop]);
4250
- return /* @__PURE__ */ jsx("span", {
4251
- style: {
4252
- display: "inline-flex",
4253
- alignItems: "center",
4254
- justifyContent: "center",
4255
- width: size,
4256
- height: size,
4257
- flexShrink: 0
4258
- },
4259
- children: /* @__PURE__ */ jsx("span", {
4260
- style: {
4261
- transform: `scale(${size / 32})`,
4262
- transformOrigin: "center",
4263
- display: "block",
4264
- width: 32,
4265
- height: 32
4266
- },
4267
- children: frames[frameIndex](color)
4268
- })
4269
- });
4270
- }
4271
- //#endregion
4272
- //#region src/powerhouse/utils/mergeClassNameProps.ts
4273
- function mergeClassNameProps(props, className) {
4274
- const { className: componentClassName, ...restProps } = props;
4275
- return {
4276
- className: twMerge(className, typeof componentClassName === "string" && componentClassName),
4277
- ...restProps
4278
- };
4279
- }
4280
- //#endregion
4281
- //#region src/powerhouse/components/pagination/pagination-button.tsx
4282
- const PaginationButton = ({ active = false, ...props }) => {
4283
- return /* @__PURE__ */ jsx(PowerhouseButton, {
4284
- color: "light",
4285
- size: "small",
4286
- ...mergeClassNameProps(props, twMerge("h-8 min-w-8 border border-solid border-gray-300 bg-white px-3 py-1 text-xs text-gray-900 hover:bg-gray-100", !active && "border-0")),
4287
- children: props.children
4288
- });
4289
- };
4290
- //#endregion
4291
- //#region src/powerhouse/components/pagination/pagination.tsx
4292
- const Pagination = (props) => {
4293
- const { pages = [], goToFirstPage, goToLastPage, goToNextPage, goToPreviousPage, goToPage, isNextPageAvailable, isPreviousPageAvailable, hiddenNextPages, firstPageLabel = "First", lastPageLabel = "Last", nextPageLabel = "Next", previousPageLabel = "Previous" } = props;
4294
- return /* @__PURE__ */ jsxs("div", {
4295
- className: "flex gap-x-1",
4296
- children: [
4297
- firstPageLabel ? /* @__PURE__ */ jsx(PaginationButton, {
4298
- disabled: !isPreviousPageAvailable,
4299
- onClick: () => goToFirstPage(),
4300
- children: firstPageLabel
4301
- }) : null,
4302
- previousPageLabel ? /* @__PURE__ */ jsxs(PaginationButton, {
4303
- disabled: !isPreviousPageAvailable,
4304
- onClick: () => goToPreviousPage(),
4305
- children: [/* @__PURE__ */ jsx(Icon, {
4306
- className: "rotate-90",
4307
- name: "ChevronDown",
4308
- size: 16
4309
- }), previousPageLabel]
4310
- }) : null,
4311
- pages.map((page) => /* @__PURE__ */ jsx(PaginationButton, {
4312
- active: page.active,
4313
- onClick: () => goToPage(page.index),
4314
- children: page.number
4315
- }, page.index)),
4316
- hiddenNextPages ? /* @__PURE__ */ jsx("span", {
4317
- className: "flex items-center justify-center px-2",
4318
- children: "..."
4319
- }) : null,
4320
- nextPageLabel ? /* @__PURE__ */ jsxs(PaginationButton, {
4321
- disabled: !isNextPageAvailable,
4322
- onClick: () => goToNextPage(),
4323
- children: [nextPageLabel, /* @__PURE__ */ jsx(Icon, {
4324
- className: "-rotate-90",
4325
- name: "ChevronDown",
4326
- size: 16
4327
- })]
4328
- }) : null,
4329
- lastPageLabel ? /* @__PURE__ */ jsx(PaginationButton, {
4330
- disabled: !isNextPageAvailable,
4331
- onClick: () => goToLastPage(),
4332
- children: lastPageLabel
4333
- }) : null
4334
- ]
4335
- });
4336
- };
4337
- //#endregion
4338
- //#region src/powerhouse/components/sidebar/sidebar-panel.tsx
4339
- function SidebarPanel({ className, children, ...props }) {
4340
- const [hasScroll, setHasScroll] = useState(false);
4341
- function checkContentScroll(target) {
4342
- setHasScroll(target.scrollHeight - target.scrollTop - target.clientHeight > 1);
4343
- }
4344
- const containerRef = useRef(null);
4345
- useEffect(() => {
4346
- if (!containerRef.current) return;
4347
- const observer = new ResizeObserver((entries) => {
4348
- const entry = entries.pop();
4349
- if (!entry) return;
4350
- const { target } = entry;
4351
- checkContentScroll(target);
4352
- });
4353
- observer.observe(containerRef.current);
4354
- return () => {
4355
- observer.disconnect();
4356
- };
4357
- }, []);
4358
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
4359
- className: twMerge("scrollbar-none flex-1 overflow-auto text-gray-900 transition-shadow", className),
4360
- onScroll: (e) => checkContentScroll(e.currentTarget),
4361
- ref: containerRef,
4362
- ...props,
4363
- children
4364
- }), hasScroll ? /* @__PURE__ */ jsx("div", {
4365
- className: "pointer-events-none z-10 -mt-12 h-12 w-full",
4366
- style: { boxShadow: "inset 0px -33px 32px -16px rgba(0,0,0,0.1)" }
4367
- }) : null] });
4368
- }
4369
- //#endregion
4370
- //#region src/powerhouse/components/sidebar/sidebar.tsx
4371
- function SidebarHeader({ className, ...props }) {
4372
- return /* @__PURE__ */ jsx("div", {
4373
- className: twMerge("shrink-0", className),
4374
- ...props
4375
- });
4376
- }
4377
- function SidebarFooter({ className, ...props }) {
4378
- return /* @__PURE__ */ jsx("div", {
4379
- className: twMerge("shrink-0", className),
4380
- ...props
4381
- });
4382
- }
4383
- function Sidebar({ maxWidth: _maxWidth = "304px", minWidth = "80px", className, children, ...props }) {
4384
- const ref = useRef(null);
4385
- return /* @__PURE__ */ jsx("div", {
4386
- ...props,
4387
- className: twMerge(`group flex h-full flex-col bg-slate-50`, className),
4388
- ref,
4389
- style: { width: minWidth },
4390
- children
4391
- });
4392
- }
4393
- //#endregion
4394
- //#region src/powerhouse/hooks/animation.ts
4395
- function useEnterAnimation(ref, isReady = true) {
4396
- const [isEntering, setEntering] = useState(true);
4397
- useAnimation(ref, isEntering && isReady, useCallback(() => setEntering(false), []));
4398
- return isEntering && isReady;
4399
- }
4400
- function useExitAnimation(ref, isOpen) {
4401
- const [isExiting, setExiting] = useState(false);
4402
- const [exitState, setExitState] = useState("idle");
4403
- if (!isOpen && ref.current && exitState === "idle") {
4404
- setExiting(true);
4405
- setExitState("exiting");
4406
- }
4407
- if (!ref.current && exitState === "exited") setExitState("idle");
4408
- useAnimation(ref, isExiting, useCallback(() => {
4409
- setExitState("exited");
4410
- setExiting(false);
4411
- }, []));
4412
- return isExiting;
4413
- }
4414
- function useAnimation(ref, isActive, onEnd) {
4415
- const prevAnimation = useRef(null);
4416
- if (isActive && ref.current) prevAnimation.current = window.getComputedStyle(ref.current).animation;
4417
- useLayoutEffect(() => {
4418
- if (isActive && ref.current) {
4419
- const computedStyle = window.getComputedStyle(ref.current);
4420
- if (computedStyle.animationName !== "none" && computedStyle.animation !== prevAnimation.current) {
4421
- const onAnimationEnd = (e) => {
4422
- if (e.target === ref.current) {
4423
- element.removeEventListener("animationend", onAnimationEnd);
4424
- ReactDOM.flushSync(() => {
4425
- onEnd();
4426
- });
4427
- }
4428
- };
4429
- const element = ref.current;
4430
- element.addEventListener("animationend", onAnimationEnd);
4431
- return () => {
4432
- element.removeEventListener("animationend", onAnimationEnd);
4433
- };
4434
- } else onEnd();
4435
- }
4436
- }, [
4437
- ref,
4438
- isActive,
4439
- onEnd
4440
- ]);
4441
- }
4442
- //#endregion
4443
- //#region src/powerhouse/hooks/usePagination.ts
4444
- /**
4445
- * Custom hook for pagination.
4446
- *
4447
- * @template T - The type of items in the pagination.
4448
- * @param {T[]} items - The array of items to paginate.
4449
- * @param {UsePaginationOptions} [options] - The pagination options.
4450
- * @returns {{
4451
- * pages: PageItem[]; - The array of page items.
4452
- * goToPage: (page: number) => void; - The function to go to a specific page.
4453
- * pageItems: T[]; - The array of items for the current page.
4454
- * pageCount: number; - The total number of pages.
4455
- * currentPage: number; - The current page index.
4456
- * goToLastPage: () => void; - The function to go to the last page.
4457
- * goToFirstPage: () => void; - The function to go to the first page.
4458
- * goToNextPage: () => void; - The function to go to the next page.
4459
- * goToPreviousPage: () => void; - The function to go to the previous page.
4460
- * isNextPageAvailable: boolean; - The flag to indicate if the next page is available.
4461
- * isPreviousPageAvailable: boolean; - The flag to indicate if the previous page is available.
4462
- * }} - The pagination object with various functions and properties.
4463
- */
4464
- function usePagination(items, options) {
4465
- const { itemsPerPage = 20, initialPage = 0, pageRange = 3 } = options || {};
4466
- const [currentPage, setCurrentPage] = useState(initialPage);
4467
- const pageCount = Math.ceil(items.length / itemsPerPage);
4468
- const isNextPageAvailable = currentPage < pageCount - 1;
4469
- const isPreviousPageAvailable = currentPage > 0;
4470
- const goToNextPage = useCallback(() => {
4471
- if (isNextPageAvailable) setCurrentPage((prev) => prev + 1);
4472
- }, [isNextPageAvailable, setCurrentPage]);
4473
- const goToPreviousPage = useCallback(() => {
4474
- if (isPreviousPageAvailable) setCurrentPage((prev) => prev - 1);
4475
- }, [isPreviousPageAvailable, setCurrentPage]);
4476
- const goToLastPage = useCallback(() => {
4477
- setCurrentPage(pageCount - 1);
4478
- }, [pageCount]);
4479
- const goToFirstPage = useCallback(() => {
4480
- setCurrentPage(0);
4481
- }, []);
4482
- const goToPage = useCallback((page) => {
4483
- if (page >= 0 && page < pageCount) setCurrentPage(page);
4484
- }, [pageCount]);
4485
- const pageOffset = Math.floor((pageRange - 1) / 2);
4486
- const availableRange = Math.min(pageRange, pageCount);
4487
- const maxStartIndex = Math.max(pageCount - availableRange);
4488
- const startIndex = Math.min(maxStartIndex, Math.max(currentPage - pageOffset, 0));
4489
- const pages = useMemo(() => {
4490
- const range = [];
4491
- for (let i = startIndex; i < availableRange + startIndex; i++) range.push({
4492
- index: i,
4493
- active: i === currentPage,
4494
- number: i + 1
4495
- });
4496
- return range;
4497
- }, [
4498
- availableRange,
4499
- startIndex,
4500
- currentPage
4501
- ]);
4502
- return {
4503
- pages,
4504
- goToPage,
4505
- pageItems: items.slice(currentPage * itemsPerPage, (currentPage + 1) * itemsPerPage),
4506
- pageCount,
4507
- currentPage,
4508
- goToLastPage,
4509
- goToFirstPage,
4510
- goToNextPage,
4511
- hiddenNextPages: pages.length > 0 && pages.slice(-1)[0].index < pageCount - 1,
4512
- goToPreviousPage,
4513
- isNextPageAvailable,
4514
- isPreviousPageAvailable
4515
- };
4516
- }
4517
- //#endregion
4518
- //#region src/powerhouse/hooks/useWindowSize.ts
4519
- const useWindowSize = () => {
4520
- const [windowSize, setWindowSize] = useState({
4521
- innerWidth: window.innerWidth,
4522
- innerHeight: window.innerHeight
4523
- });
4524
- useEffect(() => {
4525
- const windowSizeHandler = () => {
4526
- setWindowSize({
4527
- innerWidth: window.innerWidth,
4528
- innerHeight: window.innerHeight
4529
- });
4530
- };
4531
- window.addEventListener("resize", windowSizeHandler);
4532
- return () => {
4533
- window.removeEventListener("resize", windowSizeHandler);
4534
- };
4535
- }, []);
4536
- return windowSize;
4537
- };
4538
- //#endregion
4539
- //#region src/powerhouse/utils/cn.ts
4540
- function cn(...inputs) {
4541
- return twMerge(clsx(inputs));
4542
- }
4543
- //#endregion
4544
- export { DropdownMenuTrigger as C, DropdownMenuLabel as S, iconComponents as _, useEnterAnimation as a, DropdownMenuContent as b, SidebarFooter as c, Pagination as d, mergeClassNameProps as f, getDimensions as g, Icon as h, useAnimation as i, SidebarHeader as l, Modal as m, useWindowSize as n, useExitAnimation as o, PackageAnimation as p, usePagination as r, Sidebar as s, cn as t, SidebarPanel as u, iconNames as v, PowerhouseButton as w, DropdownMenuItem as x, DropdownMenu as y };
3594
+ export { PinFilled as a, iconNames as i, getDimensions as n, Pin as o, iconComponents as r, CaretDown as s, Icon as t };
4545
3595
 
4546
- //# sourceMappingURL=src-BgKEHW0i.js.map
3596
+ //# sourceMappingURL=icon-C4QOpsdI.js.map