@shohojdhara/atomix 0.1.14 → 0.1.16

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 (353) hide show
  1. package/dist/css/atomix.css +1 -5
  2. package/dist/css/atomix.css.map +1 -1
  3. package/dist/js/194.js +2 -0
  4. package/dist/js/194.js.map +1 -0
  5. package/dist/js/atomix.react.esm.js +1 -1
  6. package/dist/js/atomix.react.esm.js.map +1 -1
  7. package/dist/js/atomix.react.umd.js +2 -0
  8. package/dist/js/atomix.react.umd.js.map +1 -0
  9. package/dist/js/chunks/esm/202.ff48d27672233280e021.js +2 -0
  10. package/dist/js/chunks/esm/202.ff48d27672233280e021.js.map +1 -0
  11. package/dist/js/chunks/esm/308.f873332126eba90e5c62.js +2 -0
  12. package/dist/js/chunks/esm/308.f873332126eba90e5c62.js.map +1 -0
  13. package/dist/js/chunks/esm/54.4db919e5e4e5cc6d7c72.js +2 -0
  14. package/dist/js/chunks/esm/54.4db919e5e4e5cc6d7c72.js.map +1 -0
  15. package/dist/js/chunks/esm/619.afc5a718eff77fa423b5.js +2 -0
  16. package/dist/js/chunks/esm/619.afc5a718eff77fa423b5.js.map +1 -0
  17. package/dist/js/chunks/esm/690.a9e968c7497d61e56cdc.js +2 -0
  18. package/dist/js/chunks/esm/690.a9e968c7497d61e56cdc.js.map +1 -0
  19. package/dist/js/chunks/esm/894.f1091a4a8758c26d29e4.js +2 -0
  20. package/dist/js/chunks/esm/894.f1091a4a8758c26d29e4.js.map +1 -0
  21. package/dist/js/chunks/esm/897.561a50f7d043d42169da.js +2 -0
  22. package/dist/js/chunks/esm/897.561a50f7d043d42169da.js.map +1 -0
  23. package/dist/js/chunks/umd/202.dac7605cc555b6bda542.js +2 -0
  24. package/dist/js/chunks/umd/202.dac7605cc555b6bda542.js.map +1 -0
  25. package/dist/js/chunks/umd/308.6709979849dcbdb90c9b.js +2 -0
  26. package/dist/js/chunks/umd/308.6709979849dcbdb90c9b.js.map +1 -0
  27. package/dist/js/chunks/umd/54.403470e1f7d0ef4424a7.js +2 -0
  28. package/dist/js/chunks/umd/54.403470e1f7d0ef4424a7.js.map +1 -0
  29. package/dist/js/chunks/umd/619.fa05ea98c10270eb64c5.js +2 -0
  30. package/dist/js/chunks/umd/619.fa05ea98c10270eb64c5.js.map +1 -0
  31. package/dist/js/chunks/umd/690.aa7054d1c53e5402c2d6.js +2 -0
  32. package/dist/js/chunks/umd/690.aa7054d1c53e5402c2d6.js.map +1 -0
  33. package/dist/js/chunks/umd/894.3e1eaf0a2aadf4434390.js +2 -0
  34. package/dist/js/{894.atomix.react.cjs.js.map → chunks/umd/894.3e1eaf0a2aadf4434390.js.map} +1 -1
  35. package/dist/js/chunks/umd/897.554ea37be4453698c167.js +2 -0
  36. package/dist/js/chunks/umd/897.554ea37be4453698c167.js.map +1 -0
  37. package/dist/types/components/Accordion/Accordion.d.ts +1 -2
  38. package/dist/types/components/Accordion/index.d.ts +2 -1
  39. package/dist/types/components/AtomixLogo.d.ts +1 -1
  40. package/dist/types/components/Avatar/Avatar.d.ts +1 -2
  41. package/dist/types/components/Avatar/AvatarGroup.d.ts +3 -4
  42. package/dist/types/components/Avatar/index.d.ts +2 -1
  43. package/dist/types/components/Badge/Badge.d.ts +1 -2
  44. package/dist/types/components/Badge/index.d.ts +2 -1
  45. package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +1 -2
  46. package/dist/types/components/Breadcrumb/index.d.ts +1 -0
  47. package/dist/types/components/Button/Button.d.ts +3 -2
  48. package/dist/types/components/Button/index.d.ts +3 -5
  49. package/dist/types/components/Callout/Callout.d.ts +1 -2
  50. package/dist/types/components/Card/Card.d.ts +1 -2
  51. package/dist/types/components/Card/ElevationCard.d.ts +1 -0
  52. package/dist/types/components/ColorModeToggle/ColorModeToggle.d.ts +2 -4
  53. package/dist/types/components/Countdown/Countdown.d.ts +2 -4
  54. package/dist/types/components/DataTable/DataTable.d.ts +1 -2
  55. package/dist/types/components/DataTable/index.d.ts +3 -2
  56. package/dist/types/components/DatePicker/DatePicker.d.ts +2 -3
  57. package/dist/types/components/Dropdown/Dropdown.d.ts +7 -2
  58. package/dist/types/components/Dropdown/index.d.ts +1 -1
  59. package/dist/types/components/EdgePanel/EdgePanel.d.ts +2 -3
  60. package/dist/types/components/Form/Checkbox.d.ts +1 -2
  61. package/dist/types/components/Form/Form.d.ts +1 -2
  62. package/dist/types/components/Form/FormGroup.d.ts +1 -2
  63. package/dist/types/components/Form/Input.d.ts +1 -2
  64. package/dist/types/components/Form/Radio.d.ts +1 -2
  65. package/dist/types/components/Form/Select.d.ts +1 -2
  66. package/dist/types/components/Form/Textarea.d.ts +1 -2
  67. package/dist/types/components/Hero/Hero.d.ts +1 -2
  68. package/dist/types/components/Icon/Icon.d.ts +2 -4
  69. package/dist/types/components/List/List.d.ts +1 -2
  70. package/dist/types/components/Messages/Messages.d.ts +1 -2
  71. package/dist/types/components/Messages/index.d.ts +2 -1
  72. package/dist/types/components/Modal/Modal.d.ts +1 -2
  73. package/dist/types/components/Navbar/Menu.d.ts +1 -2
  74. package/dist/types/components/Navbar/Nav.d.ts +1 -2
  75. package/dist/types/components/Navbar/NavDropdown.d.ts +2 -0
  76. package/dist/types/components/Navbar/NavItem.d.ts +2 -0
  77. package/dist/types/components/Navbar/Navbar.d.ts +1 -2
  78. package/dist/types/components/Pagination/Pagination.d.ts +20 -2
  79. package/dist/types/components/PhotoViewer/PhotoViewer.d.ts +1 -2
  80. package/dist/types/components/PhotoViewer/index.d.ts +2 -1
  81. package/dist/types/components/Popover/Popover.d.ts +8 -2
  82. package/dist/types/components/ProductReview/ProductReview.d.ts +2 -4
  83. package/dist/types/components/ProductReview/index.d.ts +2 -1
  84. package/dist/types/components/Progress/Progress.d.ts +1 -2
  85. package/dist/types/components/Rating/Rating.d.ts +1 -2
  86. package/dist/types/components/River/River.d.ts +1 -2
  87. package/dist/types/components/SectionIntro/SectionIntro.d.ts +2 -4
  88. package/dist/types/components/SectionIntro/index.d.ts +1 -2
  89. package/dist/types/components/Spinner/Spinner.d.ts +1 -2
  90. package/dist/types/components/Steps/Steps.d.ts +3 -5
  91. package/dist/types/components/Steps/index.d.ts +1 -2
  92. package/dist/types/components/Tab/Tab.d.ts +3 -5
  93. package/dist/types/components/Testimonial/Testimonial.d.ts +3 -5
  94. package/dist/types/components/Testimonial/index.d.ts +1 -2
  95. package/dist/types/components/Todo/Todo.d.ts +1 -2
  96. package/dist/types/components/Toggle/Toggle.d.ts +2 -4
  97. package/dist/types/components/Tooltip/Tooltip.d.ts +2 -4
  98. package/dist/types/components/Tooltip/index.d.ts +1 -1
  99. package/dist/types/components/Upload/Upload.d.ts +2 -4
  100. package/dist/types/components/Upload/index.d.ts +1 -2
  101. package/dist/types/components/index.d.ts +45 -78
  102. package/dist/types/index.d.ts +21 -53
  103. package/dist/types/layouts/index.d.ts +2 -11
  104. package/dist/types/lib/composables/index.d.ts +21 -13
  105. package/dist/types/lib/composables/useCheckbox.d.ts +1 -1
  106. package/dist/types/lib/composables/useDatePicker.d.ts +4 -4
  107. package/dist/types/lib/composables/useEdgePanel.d.ts +2 -2
  108. package/dist/types/lib/composables/usePhotoViewer.d.ts +2 -2
  109. package/dist/types/lib/index.d.ts +6 -8
  110. package/dist/types/lib/utils/index.d.ts +1 -0
  111. package/package.json +60 -36
  112. package/src/components/Accordion/Accordion.tsx +2 -3
  113. package/src/components/Accordion/index.ts +2 -1
  114. package/src/components/AtomixLogo/index.ts +0 -0
  115. package/src/components/AtomixLogo.tsx +3 -1
  116. package/src/components/Avatar/Avatar.stories.tsx +1 -0
  117. package/src/components/Avatar/Avatar.tsx +3 -9
  118. package/src/components/Avatar/AvatarGroup.tsx +3 -8
  119. package/src/components/Avatar/index.ts +2 -1
  120. package/src/components/Badge/Badge.tsx +3 -8
  121. package/src/components/Badge/index.ts +3 -0
  122. package/src/components/Breadcrumb/Breadcrumb.tsx +2 -7
  123. package/src/components/Breadcrumb/index.ts +1 -0
  124. package/src/components/Button/Button.tsx +5 -2
  125. package/src/components/Button/index.ts +3 -6
  126. package/src/components/Callout/Callout.tsx +3 -8
  127. package/src/components/Callout/scripts/bundle.ts +2 -12
  128. package/src/components/Card/Card.tsx +3 -8
  129. package/src/components/Card/ElevationCard.tsx +4 -0
  130. package/src/components/Card/scripts/bundle.ts +0 -7
  131. package/src/components/ColorModeToggle/ColorModeToggle.tsx +3 -7
  132. package/src/components/Countdown/Countdown.tsx +9 -17
  133. package/src/components/DataTable/DataTable.tsx +9 -14
  134. package/src/components/DataTable/index.ts +3 -2
  135. package/src/components/DataTable/scripts/bundle.ts +5 -13
  136. package/src/components/DatePicker/DatePicker.tsx +3 -5
  137. package/src/components/Dropdown/Dropdown.tsx +5 -10
  138. package/src/components/Dropdown/index.ts +2 -4
  139. package/src/components/EdgePanel/EdgePanel.tsx +4 -10
  140. package/src/components/Form/Checkbox.tsx +2 -7
  141. package/src/components/Form/Form.tsx +2 -7
  142. package/src/components/Form/FormGroup.tsx +2 -7
  143. package/src/components/Form/Input.tsx +2 -7
  144. package/src/components/Form/Radio.tsx +2 -7
  145. package/src/components/Form/Select.tsx +2 -6
  146. package/src/components/Form/Textarea.tsx +2 -7
  147. package/src/components/Hero/Hero.tsx +2 -7
  148. package/src/components/Icon/Icon.tsx +3 -10
  149. package/src/components/List/List.tsx +2 -7
  150. package/src/components/Messages/Messages.tsx +4 -9
  151. package/src/components/Messages/index.ts +2 -1
  152. package/src/components/Messages/scripts/bundle.ts +3 -3
  153. package/src/components/Modal/Modal.tsx +3 -10
  154. package/src/components/Navbar/MegaMenu.tsx +14 -14
  155. package/src/components/Navbar/Menu.tsx +14 -21
  156. package/src/components/Navbar/Nav.tsx +5 -9
  157. package/src/components/Navbar/NavDropdown.tsx +13 -7
  158. package/src/components/Navbar/NavItem.tsx +15 -10
  159. package/src/components/Navbar/Navbar.tsx +6 -11
  160. package/src/components/Pagination/Pagination.tsx +4 -10
  161. package/src/components/PhotoViewer/PhotoViewer.tsx +2 -7
  162. package/src/components/PhotoViewer/PhotoViewerImage.tsx +1 -1
  163. package/src/components/PhotoViewer/PhotoViewerNavigation.tsx +1 -1
  164. package/src/components/PhotoViewer/README.md +0 -0
  165. package/src/components/PhotoViewer/examples/ImageGallery.tsx +4 -3
  166. package/src/components/PhotoViewer/examples/SimpleGallery.tsx +1 -1
  167. package/src/components/PhotoViewer/index.ts +2 -1
  168. package/src/components/PhotoViewer/scripts/bundle.ts +2 -9
  169. package/src/components/Popover/Popover.tsx +8 -13
  170. package/src/components/Popover/scripts/index.ts +6 -1
  171. package/src/components/ProductReview/ProductReview.tsx +6 -30
  172. package/src/components/ProductReview/index.ts +2 -1
  173. package/src/components/Progress/Progress.tsx +1 -8
  174. package/src/components/Rating/Rating.tsx +3 -25
  175. package/src/components/Rating/scripts/ratingInteractions.ts +3 -3
  176. package/src/components/River/River.tsx +4 -9
  177. package/src/components/SectionIntro/SectionIntro.tsx +3 -10
  178. package/src/components/SectionIntro/index.ts +1 -2
  179. package/src/components/Spinner/Spinner.tsx +2 -6
  180. package/src/components/Steps/Steps.tsx +5 -12
  181. package/src/components/Steps/index.ts +1 -2
  182. package/src/components/Tab/Tab.tsx +4 -10
  183. package/src/components/Testimonial/Testimonial.tsx +4 -10
  184. package/src/components/Testimonial/index.ts +1 -2
  185. package/src/components/Todo/Todo.tsx +4 -9
  186. package/src/components/Todo/scripts/bundle.ts +0 -7
  187. package/src/components/Toggle/Toggle.tsx +4 -10
  188. package/src/components/Toggle/scripts/bundle.ts +0 -7
  189. package/src/components/Tooltip/Tooltip.tsx +3 -10
  190. package/src/components/Tooltip/index.ts +1 -3
  191. package/src/components/Upload/Upload.tsx +9 -15
  192. package/src/components/Upload/index.ts +1 -2
  193. package/src/components/index.ts +44 -79
  194. package/src/docs/atomix-component-guidelines.mdx +0 -0
  195. package/src/index.ts +15 -12
  196. package/src/layouts/MasonryGrid/MasonryGrid.stories.tsx +2 -1
  197. package/src/layouts/MasonryGrid/MasonryGrid.tsx +5 -4
  198. package/src/lib/README.md +0 -0
  199. package/src/lib/composables/useDropdown.ts +3 -3
  200. package/src/lib/composables/useNavbar.ts +1 -1
  201. package/src/lib/composables/usePhotoViewer.ts +7 -5
  202. package/src/lib/composables/usePopover.ts +15 -15
  203. package/src/styles/01-settings/_settings.typography.scss +6 -3
  204. package/src/styles/03-generic/_generic.fonts.scss +20 -17
  205. package/css.d.ts +0 -10
  206. package/dist/css/atomix.min.css +0 -6
  207. package/dist/css/atomix.min.css.map +0 -1
  208. package/dist/fonts/0120456a11178b96ab66.woff +0 -0
  209. package/dist/fonts/0368bc04e1a895283091.woff +0 -0
  210. package/dist/fonts/0c5c9ce9dec531aa6b29.ttf +0 -0
  211. package/dist/fonts/0f355f1a3d693807d51c.ttf +0 -0
  212. package/dist/fonts/1ec349085efa62caa303.woff2 +0 -0
  213. package/dist/fonts/20ab2fe497fc18409e34.woff +0 -0
  214. package/dist/fonts/253918dde62b7326497e.woff +0 -0
  215. package/dist/fonts/285bdad411fbc4cec20d.ttf +0 -0
  216. package/dist/fonts/2f638dd07520c36c8d6e.woff +0 -0
  217. package/dist/fonts/30c9e80ac7b5699e21cc.woff2 +0 -0
  218. package/dist/fonts/33311918c95bc02cfcb1.woff +0 -0
  219. package/dist/fonts/35321e45ab1847c10daa.ttf +0 -0
  220. package/dist/fonts/3d2344627a22c58c9273.woff +0 -0
  221. package/dist/fonts/413b33b6d0cbd31f8714.woff2 +0 -0
  222. package/dist/fonts/4cb90386814103ea6b7f.woff2 +0 -0
  223. package/dist/fonts/4ee1c663781c9449f03f.woff2 +0 -0
  224. package/dist/fonts/4f4da6c0a5ff8b4ed6c6.eot +0 -0
  225. package/dist/fonts/576bbf31cdb2297b27b2.ttf +0 -0
  226. package/dist/fonts/585df04788e75f68f0af.eot +0 -0
  227. package/dist/fonts/5b5bd27f87c5700e93ad.ttf +0 -0
  228. package/dist/fonts/5bb2f179b9eb3479b077.eot +0 -0
  229. package/dist/fonts/5ff5446a28faf327d927.woff +0 -0
  230. package/dist/fonts/6192a85735f85ab06ed3.eot +0 -0
  231. package/dist/fonts/61f88f014cff75e8080e.woff2 +0 -0
  232. package/dist/fonts/6425aa0b60538ee25c68.woff +0 -0
  233. package/dist/fonts/6751f7983394e890189f.eot +0 -0
  234. package/dist/fonts/6960ee84f2d467663c34.ttf +0 -0
  235. package/dist/fonts/70685e4ff0b8497285e5.woff2 +0 -0
  236. package/dist/fonts/757b7e91c3555d312bbc.woff +0 -0
  237. package/dist/fonts/7a4ea74d7f43e6ad17d8.eot +0 -0
  238. package/dist/fonts/8109c3cad37ea32e4d32.ttf +0 -0
  239. package/dist/fonts/82a7a6000e2c2ab2ec5c.woff2 +0 -0
  240. package/dist/fonts/83ef74d7fa1b36b3afd2.ttf +0 -0
  241. package/dist/fonts/877cf3e897d614d4e5cf.ttf +0 -0
  242. package/dist/fonts/88bb1a07aeaed7b24844.eot +0 -0
  243. package/dist/fonts/9393172982d357731e53.eot +0 -0
  244. package/dist/fonts/945eac608d80a8166c05.eot +0 -0
  245. package/dist/fonts/9b837d45dc4c53f310f4.woff2 +0 -0
  246. package/dist/fonts/a5dbd3668c70794eda4d.ttf +0 -0
  247. package/dist/fonts/a74f60429e1436a0a540.woff +0 -0
  248. package/dist/fonts/bbc297fd58abb3c9f79a.ttf +0 -0
  249. package/dist/fonts/bbefaa1b3e495e24cae7.woff2 +0 -0
  250. package/dist/fonts/c0c00fe55a6c5b4bdcc3.ttf +0 -0
  251. package/dist/fonts/c7508e4a1d238d320671.woff2 +0 -0
  252. package/dist/fonts/cb9059c1418f52b5cfb2.woff +0 -0
  253. package/dist/fonts/d11e8912a7532aae2979.eot +0 -0
  254. package/dist/fonts/d852d165ab8f7b51e9d9.woff +0 -0
  255. package/dist/fonts/de48437d7037bf4c1dd1.eot +0 -0
  256. package/dist/fonts/df470b39be2d4a1f1ce1.woff +0 -0
  257. package/dist/fonts/f2af4f9e9e7805d25995.woff2 +0 -0
  258. package/dist/fonts/f79a05c25b9f6148e22c.eot +0 -0
  259. package/dist/fonts/fcaafb0a12fec09b1f45.woff2 +0 -0
  260. package/dist/fonts/fcefb320a4d49f66bb12.eot +0 -0
  261. package/dist/fonts/fd66d70b84764f279e6a.ttf +0 -0
  262. package/dist/fonts/fdf78119a6d3da284d71.woff2 +0 -0
  263. package/dist/fonts/ff75ad5d1cd4cbfb2485.eot +0 -0
  264. package/dist/js/202.atomix.react.cjs.js +0 -2
  265. package/dist/js/202.atomix.react.cjs.js.map +0 -1
  266. package/dist/js/202.atomix.react.esm.js +0 -2
  267. package/dist/js/202.atomix.react.esm.js.map +0 -1
  268. package/dist/js/202.atomix.react.js +0 -2
  269. package/dist/js/202.atomix.react.js.map +0 -1
  270. package/dist/js/308.atomix.react.cjs.js +0 -2
  271. package/dist/js/308.atomix.react.cjs.js.map +0 -1
  272. package/dist/js/308.atomix.react.esm.js +0 -2
  273. package/dist/js/308.atomix.react.esm.js.map +0 -1
  274. package/dist/js/308.atomix.react.js +0 -2
  275. package/dist/js/308.atomix.react.js.map +0 -1
  276. package/dist/js/34.atomix.react.cjs.js +0 -2
  277. package/dist/js/34.atomix.react.cjs.js.map +0 -1
  278. package/dist/js/34.atomix.react.esm.js +0 -2
  279. package/dist/js/34.atomix.react.esm.js.map +0 -1
  280. package/dist/js/34.atomix.react.js +0 -2
  281. package/dist/js/34.atomix.react.js.map +0 -1
  282. package/dist/js/471.atomix.react.cjs.js +0 -2
  283. package/dist/js/471.atomix.react.cjs.js.map +0 -1
  284. package/dist/js/471.atomix.react.esm.js +0 -2
  285. package/dist/js/471.atomix.react.esm.js.map +0 -1
  286. package/dist/js/471.atomix.react.js +0 -2
  287. package/dist/js/471.atomix.react.js.map +0 -1
  288. package/dist/js/54.atomix.react.cjs.js +0 -2
  289. package/dist/js/54.atomix.react.cjs.js.map +0 -1
  290. package/dist/js/54.atomix.react.esm.js +0 -2
  291. package/dist/js/54.atomix.react.esm.js.map +0 -1
  292. package/dist/js/54.atomix.react.js +0 -2
  293. package/dist/js/54.atomix.react.js.map +0 -1
  294. package/dist/js/619.atomix.react.cjs.js +0 -2
  295. package/dist/js/619.atomix.react.cjs.js.map +0 -1
  296. package/dist/js/619.atomix.react.esm.js +0 -2
  297. package/dist/js/619.atomix.react.esm.js.map +0 -1
  298. package/dist/js/619.atomix.react.js +0 -2
  299. package/dist/js/619.atomix.react.js.map +0 -1
  300. package/dist/js/690.atomix.react.cjs.js +0 -2
  301. package/dist/js/690.atomix.react.cjs.js.map +0 -1
  302. package/dist/js/690.atomix.react.esm.js +0 -2
  303. package/dist/js/690.atomix.react.esm.js.map +0 -1
  304. package/dist/js/690.atomix.react.js +0 -2
  305. package/dist/js/690.atomix.react.js.map +0 -1
  306. package/dist/js/894.atomix.react.cjs.js +0 -2
  307. package/dist/js/894.atomix.react.esm.js +0 -2
  308. package/dist/js/894.atomix.react.esm.js.map +0 -1
  309. package/dist/js/894.atomix.react.js +0 -2
  310. package/dist/js/894.atomix.react.js.map +0 -1
  311. package/dist/js/897.atomix.react.cjs.js +0 -2
  312. package/dist/js/897.atomix.react.cjs.js.map +0 -1
  313. package/dist/js/897.atomix.react.esm.js +0 -2
  314. package/dist/js/897.atomix.react.esm.js.map +0 -1
  315. package/dist/js/897.atomix.react.js +0 -2
  316. package/dist/js/897.atomix.react.js.map +0 -1
  317. package/dist/js/atomix.react.cjs.js +0 -2
  318. package/dist/js/atomix.react.cjs.js.map +0 -1
  319. package/dist/js/atomix.react.js +0 -2
  320. package/dist/js/atomix.react.js.map +0 -1
  321. package/dist/js/main.js +0 -0
  322. package/dist/js/minified.js +0 -0
  323. package/dist/types/components/Accordion/scripts/accordionInteractions.d.ts +0 -19
  324. package/dist/types/components/Accordion/scripts/index.d.ts +0 -100
  325. package/dist/types/components/Avatar/scripts/index.d.ts +0 -105
  326. package/dist/types/components/Breadcrumb/scripts/breadcrumb.d.ts +0 -43
  327. package/dist/types/components/Breadcrumb/scripts/index.d.ts +0 -4
  328. package/dist/types/components/Button/scripts/buttonInteractions.d.ts +0 -20
  329. package/dist/types/components/Button/scripts/index.d.ts +0 -1
  330. package/dist/types/components/Card/scripts/index.d.ts +0 -80
  331. package/dist/types/components/Countdown/scripts/index.d.ts +0 -71
  332. package/dist/types/components/DataTable/scripts/index.d.ts +0 -174
  333. package/dist/types/components/DatePicker/scripts/componentInteractions.d.ts +0 -28
  334. package/dist/types/components/DatePicker/scripts/index.d.ts +0 -153
  335. package/dist/types/components/Dropdown/scripts/componentInteractions.d.ts +0 -26
  336. package/dist/types/components/Dropdown/scripts/index.d.ts +0 -114
  337. package/dist/types/components/EdgePanel/scripts/edgePanelInteractions.d.ts +0 -35
  338. package/dist/types/components/EdgePanel/scripts/index.d.ts +0 -126
  339. package/dist/types/components/Hero/scripts/heroInteractions.d.ts +0 -29
  340. package/dist/types/components/Hero/scripts/index.d.ts +0 -47
  341. package/dist/types/components/Modal/scripts/index.d.ts +0 -83
  342. package/dist/types/components/Modal/scripts/modalInteractions.d.ts +0 -28
  343. package/dist/types/components/Pagination/scripts/index.d.ts +0 -52
  344. package/dist/types/components/ProductReview/scripts/bundle.d.ts +0 -2
  345. package/dist/types/components/ProductReview/scripts/componentInteractions.d.ts +0 -43
  346. package/dist/types/components/Rating/scripts/bundle.d.ts +0 -3
  347. package/dist/types/components/Rating/scripts/index.d.ts +0 -74
  348. package/dist/types/components/Rating/scripts/ratingInteractions.d.ts +0 -28
  349. package/dist/types/components/Todo/scripts/index.d.ts +0 -115
  350. package/dist/types/components/Todo/scripts/todoInteractions.d.ts +0 -38
  351. package/dist/types/components/Tooltip/scripts/tooltipInteractions.d.ts +0 -23
  352. package/dist/types/htmlComponentsEntry.d.ts +0 -160
  353. package/src/components/Badge/index.tsx +0 -2
package/dist/js/main.js DELETED
File without changes
File without changes
@@ -1,19 +0,0 @@
1
- import Accordion from './index';
2
- /**
3
- * Apply custom enter animation to accordion
4
- * @param accordion - Accordion element
5
- */
6
- export declare function applyEnterAnimation(accordion: HTMLElement): void;
7
- /**
8
- * Initialize accordions with custom behavior
9
- * @returns Array of accordion instances
10
- */
11
- export declare function initializeAccordionsWithCustomBehavior(): Accordion[];
12
- /**
13
- * Opens all accordions on the page
14
- */
15
- export declare function openAllAccordions(): void;
16
- /**
17
- * Closes all accordions on the page
18
- */
19
- export declare function closeAllAccordions(): void;
@@ -1,100 +0,0 @@
1
- /**
2
- * Interface for Accordion instance
3
- */
4
- interface AccordionInstance {
5
- destroy: () => void;
6
- }
7
- /**
8
- * Class representing an Accordion component
9
- */
10
- declare class Accordion implements AccordionInstance {
11
- private $accordion;
12
- private $toggler;
13
- private $panel;
14
- private $body;
15
- private _resizeObserver;
16
- /**
17
- * Creates an instance of Accordion
18
- * @param element - The accordion container element
19
- */
20
- constructor(element: HTMLElement);
21
- /**
22
- * Initialize the accordion component
23
- */
24
- private _initialize;
25
- /**
26
- * Initialize DOM elements
27
- */
28
- private _initializeElements;
29
- /**
30
- * Validate required elements exist
31
- * @returns Whether all required elements exist
32
- */
33
- private _validateElements;
34
- /**
35
- * Set up accessibility attributes
36
- */
37
- private _setupAccessibility;
38
- /**
39
- * Bind event listeners
40
- */
41
- private _bindEvents;
42
- /**
43
- * Initialize initial state
44
- */
45
- private _initializeState;
46
- /**
47
- * Observe resizing of accordion content
48
- */
49
- private _observeResizing;
50
- /**
51
- * Handle toggle click
52
- * @param event - Click event
53
- */
54
- private _handleToggle;
55
- /**
56
- * Handle keyboard event
57
- * @param event - Keyboard event
58
- */
59
- private _handleKeydown;
60
- /**
61
- * Set expanded state
62
- * @param isExpanded - Whether accordion is expanded
63
- */
64
- private _setExpandedState;
65
- /**
66
- * Update panel height based on content
67
- */
68
- private _updatePanelHeight;
69
- /**
70
- * Clean up event listeners and observers
71
- */
72
- destroy(): void;
73
- }
74
- /**
75
- * Initialize all accordions in the document
76
- * @returns Array of accordion instances
77
- */
78
- export declare function initializeAccordions(): AccordionInstance[];
79
- export declare const SELECTORS: {
80
- ACCORDION: string;
81
- HEADER: string;
82
- PANEL: string;
83
- BODY: string;
84
- };
85
- export declare const CLASSES: {
86
- IS_OPEN: string;
87
- IS_ANIMATING: string;
88
- IS_DISABLED: string;
89
- };
90
- export declare const ATTRIBUTES: {
91
- ARIA_EXPANDED: string;
92
- ARIA_CONTROLS: string;
93
- ARIA_HIDDEN: string;
94
- ROLE: string;
95
- };
96
- export declare const CSS_VARS: {
97
- PANEL_HEIGHT: string;
98
- };
99
- export * from './accordionInteractions';
100
- export default Accordion;
@@ -1,105 +0,0 @@
1
- /**
2
- * AvatarOptions interface for the vanilla JS implementation
3
- */
4
- export interface AvatarOptions {
5
- src?: string;
6
- alt?: string;
7
- initials?: string;
8
- icon?: string;
9
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
10
- circle?: boolean;
11
- disabled?: boolean;
12
- onClick?: (event: MouseEvent) => void;
13
- }
14
- /**
15
- * AvatarGroupOptions interface for the vanilla JS implementation
16
- */
17
- export interface AvatarGroupOptions {
18
- max?: number;
19
- stacked?: boolean;
20
- moreText?: string;
21
- }
22
- /**
23
- * Avatar Class - Vanilla JS implementation
24
- */
25
- export declare class Avatar {
26
- private element;
27
- private options;
28
- /**
29
- * Constructor
30
- * @param element - DOM element or selector
31
- * @param options - Configuration options
32
- */
33
- constructor(element: string | HTMLElement, options?: AvatarOptions);
34
- /**
35
- * Initialize the component
36
- * @private
37
- */
38
- private _initialize;
39
- /**
40
- * Create avatar content
41
- * @private
42
- */
43
- private _createContent;
44
- /**
45
- * Handle image loading error
46
- * @private
47
- */
48
- private _handleImageError;
49
- /**
50
- * Update the avatar with new options
51
- * @public
52
- */
53
- update(options: Partial<AvatarOptions>): void;
54
- /**
55
- * Destroy the avatar component
56
- * @public
57
- */
58
- destroy(): void;
59
- /**
60
- * Initialize all Avatar components on the page
61
- * @public
62
- * @static
63
- */
64
- static initializeAll(selector?: string): Avatar[];
65
- }
66
- /**
67
- * AvatarGroup Class - Vanilla JS implementation
68
- */
69
- export declare class AvatarGroup {
70
- private element;
71
- private options;
72
- private avatars;
73
- /**
74
- * Constructor
75
- * @param element - DOM element or selector
76
- * @param options - Configuration options
77
- */
78
- constructor(element: string | HTMLElement, options?: AvatarGroupOptions);
79
- /**
80
- * Initialize the component
81
- * @private
82
- */
83
- private _initialize;
84
- /**
85
- * Handle maximum number of avatars
86
- * @private
87
- */
88
- private _handleMaxAvatars;
89
- /**
90
- * Update the avatar group with new options
91
- * @public
92
- */
93
- update(options: Partial<AvatarGroupOptions>): void;
94
- /**
95
- * Destroy the avatar group component
96
- * @public
97
- */
98
- destroy(): void;
99
- /**
100
- * Initialize all AvatarGroup components on the page
101
- * @public
102
- * @static
103
- */
104
- static initializeAll(selector?: string): AvatarGroup[];
105
- }
@@ -1,43 +0,0 @@
1
- import { BreadcrumbOptions, BreadcrumbInstance } from './types';
2
- /**
3
- * Breadcrumb Class - Vanilla JS implementation
4
- */
5
- export default class Breadcrumb implements BreadcrumbInstance {
6
- private element;
7
- private options;
8
- private navElement;
9
- private listElement;
10
- private breadcrumbUtils;
11
- /**
12
- * Constructor
13
- * @param element - DOM element or selector
14
- * @param options - Configuration options
15
- */
16
- constructor(element: string | HTMLElement, options?: Partial<BreadcrumbOptions>);
17
- /**
18
- * Initialize the component
19
- * @private
20
- */
21
- private _initialize;
22
- /**
23
- * Create component structure
24
- * @private
25
- */
26
- private _createStructure;
27
- /**
28
- * Update the breadcrumb with new options
29
- * @public
30
- */
31
- update(options: Partial<BreadcrumbOptions>): void;
32
- /**
33
- * Destroy the breadcrumb component
34
- * @public
35
- */
36
- destroy(): void;
37
- /**
38
- * Initialize all breadcrumb components on the page
39
- * @public
40
- * @static
41
- */
42
- static initializeAll(selector?: string): Breadcrumb[];
43
- }
@@ -1,4 +0,0 @@
1
- import Breadcrumb from './breadcrumb';
2
- import type { BreadcrumbItem, BreadcrumbOptions, BreadcrumbInstance } from './types';
3
- export type { BreadcrumbItem, BreadcrumbOptions, BreadcrumbInstance };
4
- export default Breadcrumb;
@@ -1,20 +0,0 @@
1
- /**
2
- * Apply hover effect to button
3
- * @param button - Button element
4
- */
5
- export declare function applyHoverEffect(button: HTMLButtonElement): void;
6
- /**
7
- * Apply active/pressed effect to button
8
- * @param button - Button element
9
- */
10
- export declare function applyActiveEffect(button: HTMLButtonElement): void;
11
- /**
12
- * Initialize button functionality
13
- * @param button - Button element
14
- * @param options - Button options
15
- */
16
- export declare function initializeButton(button: HTMLButtonElement, options?: {
17
- onClick?: () => void;
18
- enableHoverEffect?: boolean;
19
- enableActiveEffect?: boolean;
20
- }): void;
@@ -1 +0,0 @@
1
- export * from './buttonInteractions';
@@ -1,80 +0,0 @@
1
- /**
2
- * CardOptions interface for the vanilla JS implementation
3
- */
4
- export interface CardOptions {
5
- title?: string;
6
- text?: string;
7
- image?: string;
8
- imageAlt?: string;
9
- icon?: string;
10
- header?: string;
11
- footer?: string;
12
- actions?: HTMLElement[];
13
- row?: boolean;
14
- flat?: boolean;
15
- active?: boolean;
16
- className?: string;
17
- onClick?: (event: MouseEvent) => void;
18
- children?: HTMLElement | HTMLElement[] | string;
19
- }
20
- /**
21
- * CardInstance interface
22
- */
23
- export interface CardInstance {
24
- destroy: () => void;
25
- }
26
- /**
27
- * Card Class - Vanilla JS implementation
28
- */
29
- export default class Card implements CardInstance {
30
- private element;
31
- private options;
32
- private headerElement;
33
- private bodyElement;
34
- private imageElement;
35
- private iconElement;
36
- private titleElement;
37
- private textElement;
38
- private actionsElement;
39
- private footerElement;
40
- /**
41
- * Constructor
42
- * @param element - DOM element or selector
43
- * @param options - Configuration options
44
- */
45
- constructor(element: string | HTMLElement, options?: Partial<CardOptions>);
46
- /**
47
- * Initialize the card component
48
- * @private
49
- */
50
- private _initialize;
51
- /**
52
- * Create component structure
53
- * @private
54
- */
55
- private _createStructure;
56
- /**
57
- * Bind event listeners
58
- * @private
59
- */
60
- private _bindEvents;
61
- /**
62
- * Update card with new options
63
- * @param options - New configuration options
64
- * @public
65
- */
66
- update(options: Partial<CardOptions>): void;
67
- /**
68
- * Destroy the card component
69
- * Clean up event listeners and DOM
70
- * @public
71
- */
72
- destroy(): void;
73
- /**
74
- * Initialize all Card components on the page
75
- * @param selector - CSS selector for card elements
76
- * @returns Array of Card instances
77
- * @static
78
- */
79
- static initializeAll(selector?: string): Card[];
80
- }
@@ -1,71 +0,0 @@
1
- /**
2
- * CountdownShowPart type for the countdown component
3
- */
4
- type CountdownShowPart = 'days' | 'hours' | 'minutes' | 'seconds';
5
- /**
6
- * CountdownOptions interface for the vanilla JS implementation
7
- */
8
- export interface CountdownOptions {
9
- target?: Date | string;
10
- show?: CountdownShowPart[];
11
- separator?: string;
12
- focused?: boolean;
13
- className?: string;
14
- onComplete?: (() => void) | null;
15
- }
16
- /**
17
- * CountdownInstance interface
18
- */
19
- export interface CountdownInstance {
20
- destroy: () => void;
21
- }
22
- /**
23
- * Countdown Class - Vanilla JS implementation
24
- */
25
- export default class Countdown implements CountdownInstance {
26
- private element;
27
- private options;
28
- private completed;
29
- private interval;
30
- /**
31
- * Constructor
32
- * @param element - DOM element or selector
33
- * @param options - Configuration options
34
- */
35
- constructor(element: string | HTMLElement, options?: Partial<CountdownOptions>);
36
- /**
37
- * Calculate time parts based on millisecond difference
38
- * @param diff - Millisecond difference between target and current time
39
- * @returns Object containing days, hours, minutes, seconds
40
- * @private
41
- */
42
- private _getTimeParts;
43
- /**
44
- * Render the countdown component
45
- * @private
46
- */
47
- private _render;
48
- /**
49
- * Initialize the countdown component
50
- * @private
51
- */
52
- private _initialize;
53
- /**
54
- * Start the countdown interval
55
- * @private
56
- */
57
- private _start;
58
- /**
59
- * Destroy the countdown component
60
- * Clean up event listeners and DOM
61
- */
62
- destroy(): void;
63
- /**
64
- * Initialize all Countdown components on the page
65
- * @param selector - CSS selector for countdown elements
66
- * @returns Array of Countdown instances
67
- * @static
68
- */
69
- static initializeAll(selector?: string): Countdown[];
70
- }
71
- export {};
@@ -1,174 +0,0 @@
1
- import { useDataTable } from '../../../lib/composables/useDataTable';
2
- export { useDataTable };
3
- /**
4
- * DataTable Column Definition
5
- */
6
- export interface DataTableColumn {
7
- key: string;
8
- title: string;
9
- sortable?: boolean;
10
- filterable?: boolean;
11
- render?: (value: any, row: any) => string | HTMLElement;
12
- width?: string;
13
- }
14
- /**
15
- * DataTable Options
16
- */
17
- export interface DataTableOptions {
18
- sortable?: boolean;
19
- filterable?: boolean;
20
- paginated?: boolean;
21
- pageSize?: number;
22
- striped?: boolean;
23
- bordered?: boolean;
24
- dense?: boolean;
25
- emptyMessage?: string;
26
- onRowClick?: (row: any) => void;
27
- loading?: boolean;
28
- }
29
- /**
30
- * DataTable Class
31
- * Vanilla JS implementation of the DataTable component
32
- */
33
- export declare class DataTable {
34
- private static defaults;
35
- private element;
36
- private tableElement;
37
- private searchInput;
38
- private paginationElement;
39
- private data;
40
- private columns;
41
- private sortConfig;
42
- private currentPage;
43
- private searchQuery;
44
- private options;
45
- /**
46
- * Constructor
47
- * @param element - DOM element or selector
48
- * @param data - Data array
49
- * @param columns - Column definitions
50
- * @param options - Configuration options
51
- */
52
- constructor(element: string | HTMLElement, data?: any[], columns?: DataTableColumn[], options?: DataTableOptions);
53
- /**
54
- * Initialize the component
55
- * @private
56
- */
57
- private _initialize;
58
- /**
59
- * Create container structure
60
- * @private
61
- */
62
- private _createStructure;
63
- /**
64
- * Add modifier classes based on options
65
- * @private
66
- */
67
- private _addModifierClasses;
68
- /**
69
- * Bind event listeners
70
- * @private
71
- */
72
- private _bindEvents;
73
- /**
74
- * Handle search input
75
- * @private
76
- */
77
- private _handleSearch;
78
- /**
79
- * Handle sort header click
80
- * @private
81
- */
82
- private _handleSort;
83
- /**
84
- * Handle page change
85
- * @private
86
- */
87
- private _handlePageChange;
88
- /**
89
- * Get filtered data based on search query
90
- * @private
91
- */
92
- private _getFilteredData;
93
- /**
94
- * Get sorted data
95
- * @private
96
- */
97
- private _getSortedData;
98
- /**
99
- * Get paginated data
100
- * @private
101
- */
102
- private _getPaginatedData;
103
- /**
104
- * Get display data (filtered, sorted, paginated)
105
- * @private
106
- */
107
- private _getDisplayData;
108
- /**
109
- * Get total pages
110
- * @private
111
- */
112
- private _getTotalPages;
113
- /**
114
- * Render table
115
- * @private
116
- */
117
- private _renderTable;
118
- /**
119
- * Render table header
120
- * @private
121
- */
122
- private _renderHeader;
123
- /**
124
- * Render table body
125
- * @private
126
- */
127
- private _renderBody;
128
- /**
129
- * Create loading spinner
130
- * @private
131
- */
132
- private _createSpinner;
133
- /**
134
- * Render pagination
135
- * @private
136
- */
137
- private _renderPagination;
138
- /**
139
- * Update data
140
- * @public
141
- */
142
- updateData(data: any[]): void;
143
- /**
144
- * Update columns
145
- * @public
146
- */
147
- updateColumns(columns: DataTableColumn[]): void;
148
- /**
149
- * Sort by column
150
- * @public
151
- */
152
- sortBy(key: string, direction?: 'asc' | 'desc'): void;
153
- /**
154
- * Set page
155
- * @public
156
- */
157
- setPage(page: number): void;
158
- /**
159
- * Search
160
- * @public
161
- */
162
- search(query: string): void;
163
- /**
164
- * Destroy the component
165
- * @public
166
- */
167
- destroy(): void;
168
- /**
169
- * Initialize all DataTables on the page
170
- * @public
171
- * @static
172
- */
173
- static initializeAll(selector?: string, options?: {}): DataTable[];
174
- }
@@ -1,28 +0,0 @@
1
- import DatePicker from './index';
2
- /**
3
- * Event handlers and utility functions for DatePicker component
4
- */
5
- /**
6
- * Handle keyboard navigation for date grid
7
- * @param event Keyboard event
8
- * @param datepicker DatePicker instance
9
- */
10
- export declare function handleDateGridKeyboardNavigation(event: KeyboardEvent, container: HTMLElement): void;
11
- /**
12
- * Enhance a datepicker with keyboard navigation
13
- * @param datepicker DatePicker instance
14
- */
15
- export declare function enhanceWithKeyboardNavigation(datepicker: DatePicker): void;
16
- /**
17
- * Initialize datepickers with data attributes
18
- */
19
- export declare function initFromDataAttributes(): DatePicker[];
20
- /**
21
- * Get a DatePicker instance from an element
22
- * @param element Element or selector
23
- */
24
- export declare function getInstance(element: string | HTMLElement): DatePicker | null;
25
- /**
26
- * Dispose all DatePicker instances
27
- */
28
- export declare function disposeAll(): void;