@deweb.id/ui-kit 0.0.0-stage → 0.1.0

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 (408) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +90 -2
  3. package/css/ui-kit.css +901 -0
  4. package/dist/chunk-028rzptn.js +253 -0
  5. package/dist/chunk-028rzptn.js.map +10 -0
  6. package/dist/chunk-0x0et52k.js +82 -0
  7. package/dist/chunk-0x0et52k.js.map +10 -0
  8. package/dist/chunk-17gmkyd1.js +195 -0
  9. package/dist/chunk-17gmkyd1.js.map +10 -0
  10. package/dist/chunk-19jsevr8.js +17 -0
  11. package/dist/chunk-19jsevr8.js.map +10 -0
  12. package/dist/chunk-1t1fbbme.js +171 -0
  13. package/dist/chunk-1t1fbbme.js.map +10 -0
  14. package/dist/chunk-26ban96z.js +151 -0
  15. package/dist/chunk-26ban96z.js.map +10 -0
  16. package/dist/chunk-39hey5ns.js +2034 -0
  17. package/dist/chunk-39hey5ns.js.map +19 -0
  18. package/dist/chunk-3f0bjycv.js +481 -0
  19. package/dist/chunk-3f0bjycv.js.map +10 -0
  20. package/dist/chunk-3zpf64v4.js +108 -0
  21. package/dist/chunk-3zpf64v4.js.map +10 -0
  22. package/dist/chunk-4jrq15v9.js +919 -0
  23. package/dist/chunk-4jrq15v9.js.map +10 -0
  24. package/dist/chunk-8dacesjp.js +289 -0
  25. package/dist/chunk-8dacesjp.js.map +10 -0
  26. package/dist/chunk-8een770x.js +2546 -0
  27. package/dist/chunk-8een770x.js.map +29 -0
  28. package/dist/chunk-8jv2g2ne.js +371 -0
  29. package/dist/chunk-8jv2g2ne.js.map +10 -0
  30. package/dist/chunk-abdqb4e5.js +156 -0
  31. package/dist/chunk-abdqb4e5.js.map +10 -0
  32. package/dist/chunk-af27xdf2.js +891 -0
  33. package/dist/chunk-af27xdf2.js.map +11 -0
  34. package/dist/chunk-amsyqyh9.js +23 -0
  35. package/dist/chunk-amsyqyh9.js.map +9 -0
  36. package/dist/chunk-czbcw9e1.js +503 -0
  37. package/dist/chunk-czbcw9e1.js.map +11 -0
  38. package/dist/chunk-dar8mz91.js +73 -0
  39. package/dist/chunk-dar8mz91.js.map +10 -0
  40. package/dist/chunk-dsddmmdk.js +136 -0
  41. package/dist/chunk-dsddmmdk.js.map +10 -0
  42. package/dist/chunk-edx7tas6.js +89 -0
  43. package/dist/chunk-edx7tas6.js.map +10 -0
  44. package/dist/chunk-es4tgmvr.js +1686 -0
  45. package/dist/chunk-es4tgmvr.js.map +12 -0
  46. package/dist/chunk-f2aqj672.js +240 -0
  47. package/dist/chunk-f2aqj672.js.map +11 -0
  48. package/dist/chunk-h6k57hyd.js +146 -0
  49. package/dist/chunk-h6k57hyd.js.map +10 -0
  50. package/dist/chunk-hkx78qgj.js +1548 -0
  51. package/dist/chunk-hkx78qgj.js.map +12 -0
  52. package/dist/chunk-hq57r97c.js +770 -0
  53. package/dist/chunk-hq57r97c.js.map +11 -0
  54. package/dist/chunk-jct2e2h1.js +139 -0
  55. package/dist/chunk-jct2e2h1.js.map +10 -0
  56. package/dist/chunk-je0j5sn4.js +246 -0
  57. package/dist/chunk-je0j5sn4.js.map +10 -0
  58. package/dist/chunk-k2b698v5.js +754 -0
  59. package/dist/chunk-k2b698v5.js.map +12 -0
  60. package/dist/chunk-kv58555q.js +267 -0
  61. package/dist/chunk-kv58555q.js.map +11 -0
  62. package/dist/chunk-m0msvrte.js +15 -0
  63. package/dist/chunk-m0msvrte.js.map +10 -0
  64. package/dist/chunk-m3t14v77.js +30 -0
  65. package/dist/chunk-m3t14v77.js.map +10 -0
  66. package/dist/chunk-mctp30cp.js +1466 -0
  67. package/dist/chunk-mctp30cp.js.map +10 -0
  68. package/dist/chunk-n37qb5m5.js +1408 -0
  69. package/dist/chunk-n37qb5m5.js.map +10 -0
  70. package/dist/chunk-nhhgsdt3.js +570 -0
  71. package/dist/chunk-nhhgsdt3.js.map +11 -0
  72. package/dist/chunk-pxydj130.js +28 -0
  73. package/dist/chunk-pxydj130.js.map +10 -0
  74. package/dist/chunk-qmbwp4k7.js +3275 -0
  75. package/dist/chunk-qmbwp4k7.js.map +13 -0
  76. package/dist/chunk-qzxf0aa2.js +149 -0
  77. package/dist/chunk-qzxf0aa2.js.map +10 -0
  78. package/dist/chunk-rbjyp9ff.js +47 -0
  79. package/dist/chunk-rbjyp9ff.js.map +10 -0
  80. package/dist/chunk-rbkc50xg.js +103 -0
  81. package/dist/chunk-rbkc50xg.js.map +10 -0
  82. package/dist/chunk-rn6f0s6x.js +66 -0
  83. package/dist/chunk-rn6f0s6x.js.map +9 -0
  84. package/dist/chunk-rswzbfa2.js +422 -0
  85. package/dist/chunk-rswzbfa2.js.map +10 -0
  86. package/dist/chunk-rzns0reg.js +157 -0
  87. package/dist/chunk-rzns0reg.js.map +10 -0
  88. package/dist/chunk-s851vtje.js +90 -0
  89. package/dist/chunk-s851vtje.js.map +10 -0
  90. package/dist/chunk-vak164kx.js +15 -0
  91. package/dist/chunk-vak164kx.js.map +9 -0
  92. package/dist/chunk-vpvnvegz.js +480 -0
  93. package/dist/chunk-vpvnvegz.js.map +10 -0
  94. package/dist/chunk-x4pk7vxm.js +10 -0
  95. package/dist/chunk-x4pk7vxm.js.map +10 -0
  96. package/dist/chunk-xd2fwgek.js +53 -0
  97. package/dist/chunk-xd2fwgek.js.map +10 -0
  98. package/dist/chunk-y71rd8qf.js +499 -0
  99. package/dist/chunk-y71rd8qf.js.map +10 -0
  100. package/dist/chunk-zjmt193s.js +34 -0
  101. package/dist/chunk-zjmt193s.js.map +9 -0
  102. package/dist/components/blocks/CustomHtmlBlock.d.ts +14 -0
  103. package/dist/components/blocks/LoginFormBlock.d.ts +16 -0
  104. package/dist/components/blocks/SidebarMenuBlock.d.ts +11 -0
  105. package/dist/components/blocks/SliderBlock.d.ts +13 -0
  106. package/dist/components/code/code-editor.d.ts +58 -0
  107. package/dist/components/code/code-preview.d.ts +18 -0
  108. package/dist/components/code/index.d.ts +4 -0
  109. package/dist/components/code/validator.d.ts +10 -0
  110. package/dist/components/code/vsc-themes.d.ts +6 -0
  111. package/dist/components/dashboard/compound/context.d.ts +14 -0
  112. package/dist/components/dashboard/compound/dashboard.d.ts +14 -0
  113. package/dist/components/dashboard/compound/index.d.ts +18 -0
  114. package/dist/components/dashboard/compound/main.d.ts +25 -0
  115. package/dist/components/dashboard/compound/sidebar.d.ts +5 -0
  116. package/dist/components/dashboard/dashboard-head-info.d.ts +38 -0
  117. package/dist/components/dashboard/dashboard-head.d.ts +19 -0
  118. package/dist/components/dashboard/dataview.d.ts +19 -0
  119. package/dist/components/dashboard/detailview.d.ts +1 -0
  120. package/dist/components/dashboard/formview.d.ts +265 -0
  121. package/dist/components/dashboard/pageformview.d.ts +79 -0
  122. package/dist/components/dashboard/styling/background-color-control.d.ts +34 -0
  123. package/dist/components/dashboard/styling/background-control.d.ts +45 -0
  124. package/dist/components/dashboard/styling/border-control.d.ts +14 -0
  125. package/dist/components/dashboard/styling/color-control.d.ts +22 -0
  126. package/dist/components/dashboard/styling/index.d.ts +7 -0
  127. package/dist/components/dashboard/styling/radius-control.d.ts +15 -0
  128. package/dist/components/dashboard/styling/spacing-control.d.ts +17 -0
  129. package/dist/components/dashboard/styling/types.d.ts +50 -0
  130. package/dist/components/document/index.d.ts +25 -0
  131. package/dist/components/ecommerce/commerce-cards.d.ts +37 -0
  132. package/dist/components/effect/action-animation.d.ts +14 -0
  133. package/dist/components/effect/element-animation.d.ts +41 -0
  134. package/dist/components/effect/page-transition.d.ts +10 -0
  135. package/dist/components/layout/BlockPalette.d.ts +14 -0
  136. package/dist/components/layout/DynamicLayout.d.ts +56 -0
  137. package/dist/components/layout/GridRow.d.ts +37 -0
  138. package/dist/components/layout/LayoutBuilder.d.ts +52 -0
  139. package/dist/components/layout/WidgetFieldsForm.d.ts +15 -0
  140. package/dist/components/ui/accordion.d.ts +36 -0
  141. package/dist/components/ui/action-bar.d.ts +46 -0
  142. package/dist/components/ui/alert.d.ts +25 -0
  143. package/dist/components/ui/animated.d.ts +41 -0
  144. package/dist/components/ui/app-shell.d.ts +53 -0
  145. package/dist/components/ui/avatar.d.ts +18 -0
  146. package/dist/components/ui/badge.d.ts +15 -0
  147. package/dist/components/ui/breadcrumb.d.ts +20 -0
  148. package/dist/components/ui/button-icon.d.ts +9 -0
  149. package/dist/components/ui/button.d.ts +37 -0
  150. package/dist/components/ui/calendar.d.ts +14 -0
  151. package/dist/components/ui/card-skeleton-aware.d.ts +2 -0
  152. package/dist/components/ui/card.d.ts +36 -0
  153. package/dist/components/ui/chart.d.ts +75 -0
  154. package/dist/components/ui/chat-bubble.d.ts +74 -0
  155. package/dist/components/ui/code.d.ts +85 -0
  156. package/dist/components/ui/code.js +21 -0
  157. package/dist/components/ui/code.js.map +9 -0
  158. package/dist/components/ui/collapsible.d.ts +25 -0
  159. package/dist/components/ui/control-group.d.ts +39 -0
  160. package/dist/components/ui/dashboard-grid/DashboardDropSlot.d.ts +10 -0
  161. package/dist/components/ui/dashboard-grid/DashboardGrid.d.ts +5 -0
  162. package/dist/components/ui/dashboard-grid/DashboardWidgetCard.d.ts +43 -0
  163. package/dist/components/ui/dashboard-grid/useDashboardDnd.d.ts +36 -0
  164. package/dist/components/ui/data-empty.d.ts +24 -0
  165. package/dist/components/ui/data-list.d.ts +16 -0
  166. package/dist/components/ui/data-table.d.ts +48 -0
  167. package/dist/components/ui/data-view/DataView.d.ts +46 -0
  168. package/dist/components/ui/data-view/DataViewCalendar.d.ts +18 -0
  169. package/dist/components/ui/data-view/DataViewContent.d.ts +5 -0
  170. package/dist/components/ui/data-view/DataViewFilter.d.ts +8 -0
  171. package/dist/components/ui/data-view/DataViewGrid.d.ts +32 -0
  172. package/dist/components/ui/data-view/DataViewHeader.d.ts +22 -0
  173. package/dist/components/ui/data-view/DataViewKanban.d.ts +16 -0
  174. package/dist/components/ui/data-view/DataViewPivot.d.ts +15 -0
  175. package/dist/components/ui/data-view/DataViewTable.d.ts +33 -0
  176. package/dist/components/ui/data-view/index.d.ts +9 -0
  177. package/dist/components/ui/date-time-picker.d.ts +205 -0
  178. package/dist/components/ui/drawer.d.ts +71 -0
  179. package/dist/components/ui/dropdown-animation.d.ts +7 -0
  180. package/dist/components/ui/dropdown.d.ts +71 -0
  181. package/dist/components/ui/error-state.d.ts +15 -0
  182. package/dist/components/ui/filter-bar.d.ts +50 -0
  183. package/dist/components/ui/filter-bar.js +19 -0
  184. package/dist/components/ui/filter-bar.js.map +9 -0
  185. package/dist/components/ui/font.d.ts +24 -0
  186. package/dist/components/ui/form-advanced.d.ts +198 -0
  187. package/dist/components/ui/form-compound.d.ts +58 -0
  188. package/dist/components/ui/form-context.d.ts +19 -0
  189. package/dist/components/ui/form.d.ts +451 -0
  190. package/dist/components/ui/format-currency.d.ts +10 -0
  191. package/dist/components/ui/format-date.d.ts +28 -0
  192. package/dist/components/ui/format-number.d.ts +22 -0
  193. package/dist/components/ui/format-time.d.ts +5 -0
  194. package/dist/components/ui/grid.d.ts +30 -0
  195. package/dist/components/ui/heading.d.ts +9 -0
  196. package/dist/components/ui/indicator.d.ts +17 -0
  197. package/dist/components/ui/initial-icon.d.ts +11 -0
  198. package/dist/components/ui/input-code.d.ts +27 -0
  199. package/dist/components/ui/input-grid.d.ts +54 -0
  200. package/dist/components/ui/input.d.ts +37 -0
  201. package/dist/components/ui/invoice-blocks.d.ts +124 -0
  202. package/dist/components/ui/invoice-document.d.ts +63 -0
  203. package/dist/components/ui/kanban.d.ts +16 -0
  204. package/dist/components/ui/label.d.ts +4 -0
  205. package/dist/components/ui/lazy-load.d.ts +13 -0
  206. package/dist/components/ui/lightbox.d.ts +15 -0
  207. package/dist/components/ui/list.d.ts +33 -0
  208. package/dist/components/ui/loading.d.ts +79 -0
  209. package/dist/components/ui/media-card.d.ts +50 -0
  210. package/dist/components/ui/media-player.d.ts +47 -0
  211. package/dist/components/ui/menu.d.ts +24 -0
  212. package/dist/components/ui/modal.d.ts +233 -0
  213. package/dist/components/ui/page.d.ts +51 -0
  214. package/dist/components/ui/pagination.d.ts +16 -0
  215. package/dist/components/ui/print.d.ts +173 -0
  216. package/dist/components/ui/project-card.d.ts +43 -0
  217. package/dist/components/ui/radius-control.d.ts +36 -0
  218. package/dist/components/ui/rich-text-editor.d.ts +32 -0
  219. package/dist/components/ui/select-card.d.ts +56 -0
  220. package/dist/components/ui/sidebar-logo.d.ts +11 -0
  221. package/dist/components/ui/sidebar-menu.d.ts +82 -0
  222. package/dist/components/ui/sidebar-search.d.ts +7 -0
  223. package/dist/components/ui/skeletons.d.ts +46 -0
  224. package/dist/components/ui/surface.d.ts +13 -0
  225. package/dist/components/ui/table-pivot.d.ts +10 -0
  226. package/dist/components/ui/table.d.ts +258 -0
  227. package/dist/components/ui/tabs.d.ts +79 -0
  228. package/dist/components/ui/task-board.d.ts +29 -0
  229. package/dist/components/ui/terminal.d.ts +51 -0
  230. package/dist/components/ui/text-sensor.d.ts +9 -0
  231. package/dist/components/ui/theme-styler.d.ts +3 -0
  232. package/dist/components/ui/theme-toggle.d.ts +23 -0
  233. package/dist/components/ui/tooltip.d.ts +11 -0
  234. package/dist/components/website/account-banner.d.ts +11 -0
  235. package/dist/components/website/account-layout.d.ts +20 -0
  236. package/dist/components/website/account.d.ts +46 -0
  237. package/dist/components/website/ambient.d.ts +19 -0
  238. package/dist/components/website/auth.d.ts +35 -0
  239. package/dist/components/website/blog/blog-list-custom.d.ts +3 -0
  240. package/dist/components/website/blog/blog-list-gallery.d.ts +2 -0
  241. package/dist/components/website/blog/blog-list-grid.d.ts +2 -0
  242. package/dist/components/website/blog/blog-list-list.d.ts +2 -0
  243. package/dist/components/website/blog.d.ts +50 -0
  244. package/dist/components/website/carousel.d.ts +58 -0
  245. package/dist/components/website/cart.d.ts +31 -0
  246. package/dist/components/website/catalogue-view.d.ts +81 -0
  247. package/dist/components/website/catalogue.d.ts +96 -0
  248. package/dist/components/website/comment.d.ts +52 -0
  249. package/dist/components/website/eclipse.d.ts +15 -0
  250. package/dist/components/website/feature-grid.d.ts +58 -0
  251. package/dist/components/website/filter.d.ts +109 -0
  252. package/dist/components/website/hero.d.ts +89 -0
  253. package/dist/components/website/localize.d.ts +36 -0
  254. package/dist/components/website/logo.d.ts +24 -0
  255. package/dist/components/website/megamenu.d.ts +10 -0
  256. package/dist/components/website/navbar.d.ts +42 -0
  257. package/dist/components/website/notification.d.ts +58 -0
  258. package/dist/components/website/price.d.ts +26 -0
  259. package/dist/components/website/pricing.d.ts +21 -0
  260. package/dist/components/website/product.d.ts +32 -0
  261. package/dist/components/website/rating.d.ts +36 -0
  262. package/dist/components/website/review-form.d.ts +54 -0
  263. package/dist/components/website/reviews.d.ts +119 -0
  264. package/dist/components/website/search.d.ts +30 -0
  265. package/dist/entries/accordion.d.ts +1 -0
  266. package/dist/entries/accordion.js +9 -0
  267. package/dist/entries/accordion.js.map +9 -0
  268. package/dist/entries/alert.d.ts +1 -0
  269. package/dist/entries/alert.js +10 -0
  270. package/dist/entries/alert.js.map +9 -0
  271. package/dist/entries/badge.d.ts +1 -0
  272. package/dist/entries/badge.js +11 -0
  273. package/dist/entries/badge.js.map +9 -0
  274. package/dist/entries/breadcrumb.d.ts +1 -0
  275. package/dist/entries/breadcrumb.js +10 -0
  276. package/dist/entries/breadcrumb.js.map +9 -0
  277. package/dist/entries/button.d.ts +1 -0
  278. package/dist/entries/button.js +12 -0
  279. package/dist/entries/button.js.map +9 -0
  280. package/dist/entries/card.d.ts +1 -0
  281. package/dist/entries/card.js +25 -0
  282. package/dist/entries/card.js.map +9 -0
  283. package/dist/entries/chart.d.ts +1 -0
  284. package/dist/entries/chart.js +130 -0
  285. package/dist/entries/chart.js.map +10 -0
  286. package/dist/entries/components.d.ts +53 -0
  287. package/dist/entries/components.js +643 -0
  288. package/dist/entries/components.js.map +9 -0
  289. package/dist/entries/dashboard/dataview.d.ts +1 -0
  290. package/dist/entries/dashboard/dataview.js +82 -0
  291. package/dist/entries/dashboard/dataview.js.map +10 -0
  292. package/dist/entries/dashboard/pageformview.d.ts +1 -0
  293. package/dist/entries/dashboard/pageformview.js +34 -0
  294. package/dist/entries/dashboard/pageformview.js.map +9 -0
  295. package/dist/entries/data-table.d.ts +1 -0
  296. package/dist/entries/data-table.js +22 -0
  297. package/dist/entries/data-table.js.map +9 -0
  298. package/dist/entries/date-time-picker.d.ts +1 -0
  299. package/dist/entries/date-time-picker.js +28 -0
  300. package/dist/entries/date-time-picker.js.map +9 -0
  301. package/dist/entries/document.d.ts +1 -0
  302. package/dist/entries/document.js +69 -0
  303. package/dist/entries/document.js.map +10 -0
  304. package/dist/entries/drawer.d.ts +1 -0
  305. package/dist/entries/drawer.js +20 -0
  306. package/dist/entries/drawer.js.map +9 -0
  307. package/dist/entries/dropdown.d.ts +1 -0
  308. package/dist/entries/dropdown.js +29 -0
  309. package/dist/entries/dropdown.js.map +9 -0
  310. package/dist/entries/error-state.d.ts +1 -0
  311. package/dist/entries/error-state.js +14 -0
  312. package/dist/entries/error-state.js.map +9 -0
  313. package/dist/entries/favorite-button.d.ts +1 -0
  314. package/dist/entries/favorite-button.js +7 -0
  315. package/dist/entries/favorite-button.js.map +10 -0
  316. package/dist/entries/font.d.ts +1 -0
  317. package/dist/entries/font.js +10 -0
  318. package/dist/entries/font.js.map +9 -0
  319. package/dist/entries/form-advanced.d.ts +1 -0
  320. package/dist/entries/form-advanced.js +39 -0
  321. package/dist/entries/form-advanced.js.map +9 -0
  322. package/dist/entries/form.d.ts +1 -0
  323. package/dist/entries/form.js +74 -0
  324. package/dist/entries/form.js.map +9 -0
  325. package/dist/entries/heading.d.ts +1 -0
  326. package/dist/entries/heading.js +8 -0
  327. package/dist/entries/heading.js.map +9 -0
  328. package/dist/entries/input.d.ts +1 -0
  329. package/dist/entries/input.js +11 -0
  330. package/dist/entries/input.js.map +9 -0
  331. package/dist/entries/layout.d.ts +4 -0
  332. package/dist/entries/layout.js +101 -0
  333. package/dist/entries/layout.js.map +9 -0
  334. package/dist/entries/lazy-load.d.ts +1 -0
  335. package/dist/entries/lazy-load.js +9 -0
  336. package/dist/entries/lazy-load.js.map +9 -0
  337. package/dist/entries/list.d.ts +1 -0
  338. package/dist/entries/list.js +13 -0
  339. package/dist/entries/list.js.map +9 -0
  340. package/dist/entries/loading.d.ts +1 -0
  341. package/dist/entries/loading.js +18 -0
  342. package/dist/entries/loading.js.map +9 -0
  343. package/dist/entries/menu.d.ts +1 -0
  344. package/dist/entries/menu.js +17 -0
  345. package/dist/entries/menu.js.map +9 -0
  346. package/dist/entries/modal.d.ts +1 -0
  347. package/dist/entries/modal.js +33 -0
  348. package/dist/entries/modal.js.map +9 -0
  349. package/dist/entries/product.d.ts +2 -0
  350. package/dist/entries/product.js +10 -0
  351. package/dist/entries/product.js.map +9 -0
  352. package/dist/entries/select-card.d.ts +1 -0
  353. package/dist/entries/select-card.js +13 -0
  354. package/dist/entries/select-card.js.map +9 -0
  355. package/dist/entries/skeletons.d.ts +1 -0
  356. package/dist/entries/skeletons.js +35 -0
  357. package/dist/entries/skeletons.js.map +9 -0
  358. package/dist/entries/surface.d.ts +1 -0
  359. package/dist/entries/surface.js +10 -0
  360. package/dist/entries/surface.js.map +9 -0
  361. package/dist/entries/table.d.ts +1 -0
  362. package/dist/entries/table.js +65 -0
  363. package/dist/entries/table.js.map +9 -0
  364. package/dist/entries/tabs.d.ts +1 -0
  365. package/dist/entries/tabs.js +20 -0
  366. package/dist/entries/tabs.js.map +9 -0
  367. package/dist/entries/theme-styler.d.ts +1 -0
  368. package/dist/entries/theme-styler.js +26 -0
  369. package/dist/entries/theme-styler.js.map +9 -0
  370. package/dist/entries/toast.d.ts +1 -0
  371. package/dist/entries/toast.js +13 -0
  372. package/dist/entries/toast.js.map +9 -0
  373. package/dist/index.d.ts +163 -0
  374. package/dist/index.js +19864 -0
  375. package/dist/index.js.map +92 -0
  376. package/dist/lib/color/className.d.ts +14 -0
  377. package/dist/lib/color/config.d.ts +82 -0
  378. package/dist/lib/color/engine.d.ts +221 -0
  379. package/dist/lib/color/generator.d.ts +45 -0
  380. package/dist/lib/color/index.d.ts +5 -0
  381. package/dist/lib/color/safelist.d.ts +1 -0
  382. package/dist/lib/color/types.d.ts +12 -0
  383. package/dist/lib/font/config.d.ts +13 -0
  384. package/dist/lib/font/engine.d.ts +77 -0
  385. package/dist/lib/font/index.d.ts +3 -0
  386. package/dist/lib/font/types.d.ts +27 -0
  387. package/dist/lib/icon/config.d.ts +37 -0
  388. package/dist/lib/icon/engine.d.ts +84 -0
  389. package/dist/lib/icon/index.d.ts +3 -0
  390. package/dist/lib/icon/presets.d.ts +71 -0
  391. package/dist/lib/layout/config.d.ts +7 -0
  392. package/dist/lib/layout/engine.d.ts +224 -0
  393. package/dist/lib/layout/types.d.ts +151 -0
  394. package/dist/lib/layout/useActiveBreakpoint.d.ts +14 -0
  395. package/dist/lib/layout/useBlockDrag.d.ts +47 -0
  396. package/dist/lib/layout/useSectionDrag.d.ts +30 -0
  397. package/dist/lib/layout/useSpanResize.d.ts +31 -0
  398. package/dist/lib/localize/data.d.ts +9 -0
  399. package/dist/lib/product-utils.d.ts +7 -0
  400. package/dist/lib/sanitize/sanitizeHtml.d.ts +52 -0
  401. package/dist/lib/theme/motion.d.ts +27 -0
  402. package/dist/lib/theme/motion.js +12 -0
  403. package/dist/lib/theme/motion.js.map +9 -0
  404. package/dist/lib/theme/types.d.ts +133 -0
  405. package/dist/lib/useUndoRedo.d.ts +21 -0
  406. package/dist/lib/utils.d.ts +2 -0
  407. package/dist/types/product.d.ts +27 -0
  408. package/package.json +442 -4
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Helper sanitasi HTML terpusat -- SATU kebijakan DOMPurify dipakai semua
3
+ * komponen yang merender HTML tidak terpercaya (2026-08-18, audit
4
+ * PLAN_KIT_TRINITY_HARDENING § Fase 2). Sebelumnya `CustomHtmlBlock.tsx`
5
+ * punya konfigurasi DOMPurify sendiri inline, `blog.tsx` (`post.content`)
6
+ * TIDAK disanitasi sama sekali -- risiko XSS nyata untuk konten yang bisa
7
+ * datang dari CMS/user submission.
8
+ *
9
+ * TIDAK dipakai di `DynamicLayout.tsx` (`blockDef.html`) -- SENGAJA, itu
10
+ * jalur "trusted by design" (HTML diisi admin lewat Layout Builder, level
11
+ * trust sama seperti JSX hardcode di kode, BUKAN konten user-submitted).
12
+ * Ryan (2026-08-18): DynamicLayout dibiarkan dulu, khawatir menyanitasi
13
+ * jalur itu bisa membuang `<script>`/event-handler inline yang mungkin
14
+ * SENGAJA dipakai admin untuk widget embed -- kalau nanti mau disanitasi
15
+ * juga, cek dulu apakah ada block existing yang bergantung pada itu.
16
+ *
17
+ * `extraAllowedTags`/`extraAllowedAttr` -- untuk komponen yang butuh tag
18
+ * kustom tambahan (mis. `deweb-block`/`deweb-section`/`deweb-preset`/
19
+ * `deweb-include` di `CustomHtmlBlock`), TIDAK sekadar terima config
20
+ * DOMPurify mentah supaya kebijakan DASAR (larangan `script`, `on*`,
21
+ * `javascript:`, dst) tidak bisa diam-diam dilonggarkan oleh pemanggil.
22
+ */
23
+ export interface SanitizeHtmlOptions {
24
+ /** Tag tambahan di luar default DOMPurify (mis. custom element `deweb-*`). */
25
+ extraAllowedTags?: string[];
26
+ /** Atribut tambahan di luar default DOMPurify. */
27
+ extraAllowedAttr?: string[];
28
+ }
29
+ export declare function sanitizeHtml(html: string, options?: SanitizeHtmlOptions): string;
30
+ /**
31
+ * Sanitasi CSS mentah (mis. `customCss` yang diinjeksi lewat `<style>` tag)
32
+ * -- DOMPurify TIDAK punya mode CSS-sanitizer, jadi ini pembersih naif
33
+ * berbasis regex untuk vektor serangan CSS yang paling umum:
34
+ *
35
+ * - `@import` -- bisa menarik stylesheet/font dari origin eksternal
36
+ * sembarangan (data exfiltration via CSS attribute selector, atau
37
+ * sekadar tracking).
38
+ * - `url(...)` yang menunjuk ke `javascript:` -- vektor XSS lama di
39
+ * browser tertentu, dan beberapa browser lama mengeksekusi `expression()`
40
+ * IE-style -- keduanya jarang relevan di browser modern tapi murah untuk
41
+ * ditolak sekalian.
42
+ * - `</style>` di tengah teks -- mencegah pemutusan konteks tag `<style>`
43
+ * yang bisa menyisipkan tag lain (mis. `<script>`) setelahnya kalau CSS
44
+ * ini nanti dirender lewat `dangerouslySetInnerHTML` di dalam `<style>`.
45
+ *
46
+ * INI BUKAN parser CSS lengkap -- CSS valid yang genuinely butuh `url()` ke
47
+ * asset sendiri/data URI TETAP LOLOS (cuma skema berbahaya yang ditolak).
48
+ * Untuk kebutuhan yang lebih ketat (mis. whitelist origin `url()`), pakai
49
+ * parser CSS sungguhan (`postcss` dst) di level aplikasi -- di luar scope
50
+ * helper generik ini.
51
+ */
52
+ export declare function sanitizeCss(css: string): string;
@@ -0,0 +1,27 @@
1
+ import type { DewebMotionSpeed, DewebMotionEasing, DewebMotionPreset, DewebMotionIntensity, ThemeMotionConfig, DewebMotionAction } from './types';
2
+ export interface ResolvedMotionSettings {
3
+ level: number;
4
+ enabled: boolean;
5
+ preset: DewebMotionPreset;
6
+ speed: DewebMotionSpeed;
7
+ durationMs: number;
8
+ easing: DewebMotionEasing;
9
+ easingCss: string;
10
+ action: DewebMotionAction;
11
+ hasDelight: boolean;
12
+ }
13
+ /**
14
+ * resolveMotion
15
+ * Mengonversi input intensitas (angka 0-10 atau preset string) menjadi setting gerak konkret.
16
+ */
17
+ export declare function resolveMotion(input?: DewebMotionIntensity | DewebMotionPreset | ThemeMotionConfig | number | string): ResolvedMotionSettings;
18
+ /**
19
+ * getMotionDurationMs
20
+ * Mengembalikan durasi waktu dalam milidetik dari token speed.
21
+ */
22
+ export declare function getMotionDurationMs(speed?: DewebMotionSpeed): number;
23
+ /**
24
+ * getMotionEasingCss
25
+ * Mengembalikan fungsi kurva CSS dari token easing.
26
+ */
27
+ export declare function getMotionEasingCss(easing?: DewebMotionEasing): string;
@@ -0,0 +1,12 @@
1
+ import {
2
+ resolveMotion2,
3
+ getMotionDurationMs2,
4
+ getMotionEasingCss2
5
+ } from "../../chunk-0x0et52k.js";
6
+ export {
7
+ getMotionDurationMs2 as getMotionDurationMs,
8
+ getMotionEasingCss2 as getMotionEasingCss,
9
+ resolveMotion2 as resolveMotion
10
+ };
11
+
12
+ //# debugId=E32A61C8723B06F964756E2164756E21
@@ -0,0 +1,9 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [
5
+ ],
6
+ "mappings": "",
7
+ "debugId": "E32A61C8723B06F964756E2164756E21",
8
+ "names": []
9
+ }
@@ -0,0 +1,133 @@
1
+ /**
2
+ * Global Theme System Props for Deweb UI Kit
3
+ *
4
+ * Digunakan sebagai standar baku (Source of Truth) untuk props komponen
5
+ * agar seluruh UI Kit konsisten dalam penamaan tipe warna, ukuran, dan gaya visual.
6
+ */
7
+ export type DewebColor = 'default' | 'primary' | 'secondary' | 'accent' | 'success' | 'danger' | 'warning' | 'info' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone' | 'taupe' | 'mauve' | 'mist' | 'olive' | 'dark' | 'light' | (string & {});
8
+ export type DewebVariant = 'solid' | 'soft' | 'outline' | 'ghost';
9
+ export type DewebSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
10
+ export type DewebRadius = 'none' | 'sm' | 'md' | 'lg' | 'full';
11
+ export type DewebShadow = 'none' | 'sm' | 'md' | 'lg' | 'xl';
12
+ export type DewebMotionSpeed = 'none' | 'instant' | 'fast' | 'normal' | 'slow' | 'gentle';
13
+ export type DewebMotionEasing = 'natural' | 'spring' | 'smooth' | 'linear';
14
+ export type DewebMotionType = 'fade' | 'slide-up' | 'slide-down' | 'slide-left' | 'slide-right' | 'scale' | 'blur' | 'none';
15
+ export type DewebMotionAction = 'ripple' | 'tactile' | 'glow' | 'minimal';
16
+ export type DewebMotionPreset = 'none' | 'minimal' | 'normal' | 'expressive' | 'playful';
17
+ export type DewebMotionIntensity = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
18
+ export interface ThemeMotionConfig {
19
+ /** Intensitas gerak: slider integer 0-10 atau string preset ('none' | 'minimal' | 'normal' | 'expressive' | 'playful') */
20
+ intensity?: DewebMotionIntensity | DewebMotionPreset | number | string;
21
+ /** Durasi waktu dasar fallback */
22
+ speed?: DewebMotionSpeed;
23
+ /** Kurva fisika gerak fallback */
24
+ easing?: DewebMotionEasing;
25
+ /** Transisi default pindah halaman */
26
+ page_transition?: DewebMotionType;
27
+ /** Respon aksi default tombol */
28
+ action_effect?: DewebMotionAction;
29
+ /** Aksesibilitas OS: otomatis nonaktifkan gerak jika user menyetel prefers-reduced-motion */
30
+ reduced_motion?: boolean;
31
+ /** Konfigurasi spesifik per jenis komponen (Scoped Component Motion) */
32
+ components?: {
33
+ button?: {
34
+ action?: DewebMotionAction;
35
+ speed?: DewebMotionSpeed;
36
+ };
37
+ dropdown?: {
38
+ entrance?: 'slide' | 'fade' | 'zoom';
39
+ speed?: DewebMotionSpeed;
40
+ };
41
+ modal?: {
42
+ entrance?: 'scale' | 'slide-up' | 'fade';
43
+ speed?: DewebMotionSpeed;
44
+ };
45
+ accordion?: {
46
+ expand?: 'smooth' | 'instant';
47
+ speed?: DewebMotionSpeed;
48
+ };
49
+ tabs?: {
50
+ indicator?: 'slide' | 'fade' | 'instant';
51
+ speed?: DewebMotionSpeed;
52
+ };
53
+ input?: {
54
+ focus?: 'bloom' | 'instant';
55
+ error?: 'shake' | 'flash' | 'none';
56
+ speed?: DewebMotionSpeed;
57
+ };
58
+ };
59
+ }
60
+ export type DewebSupportedComponent = 'button' | 'card' | 'input' | 'badge' | 'modal' | 'dropdown' | 'table';
61
+ export interface ComponentTokenOverride {
62
+ radius?: DewebRadius | string;
63
+ height?: Partial<Record<DewebSize, string>>;
64
+ paddingX?: Partial<Record<DewebSize, string>>;
65
+ fontSize?: Partial<Record<DewebSize, string>>;
66
+ shadow?: DewebShadow | string;
67
+ }
68
+ export interface ThemeScalesConfig {
69
+ radius?: Partial<Record<DewebSize | 'none' | 'full', string>>;
70
+ font_size?: Partial<Record<DewebSize, string>>;
71
+ button?: {
72
+ height?: Partial<Record<DewebSize, string>>;
73
+ padding_x?: Partial<Record<DewebSize, string>>;
74
+ };
75
+ icon?: Partial<Record<DewebSize, string>>;
76
+ gap?: Partial<Record<DewebSize, string>>;
77
+ }
78
+ export interface ThemeBoxConfig {
79
+ /** Radius sudut dasar dalam pixel (contoh: 8) */
80
+ radius?: number | string | Record<string, any>;
81
+ /** Intensitas bayangan / shadow spread 0..20 (contoh: 6) */
82
+ shadow?: number | string;
83
+ /** Konfigurasi garis batas / border */
84
+ border?: {
85
+ /** Ketebalan border dalam pixel (contoh: 1) */
86
+ size?: number;
87
+ /** Kontras opasitas border dalam persen 0..100 (contoh: 10) */
88
+ contrast?: number;
89
+ };
90
+ /** Konfigurasi animasi transisi box */
91
+ animation?: {
92
+ /** Kecepatan animasi dalam milidetik (contoh: 200) */
93
+ speed?: number;
94
+ /** Efek kurva transisi (contoh: 'ease-out', 'linear', 'ease', 'smooth') */
95
+ effect?: string;
96
+ };
97
+ /** Scales legacy untuk backwards compatibility */
98
+ scales?: ThemeScalesConfig;
99
+ }
100
+ export interface ThemePresetSchema {
101
+ $schema?: string;
102
+ name?: string;
103
+ version?: string;
104
+ framework?: string;
105
+ design_aesthetic?: string;
106
+ author?: string;
107
+ /** Konfigurasi Color Engine (Dianjurkan di dalam braket color: { brand, theme }) */
108
+ color?: {
109
+ brand?: Record<string, string>;
110
+ theme?: Record<string, string>;
111
+ elements?: Record<string, string>;
112
+ };
113
+ /** Brand colors legacy (di luar / root level) untuk backwards compatibility */
114
+ brand?: Record<string, string>;
115
+ /** Theme semantic slots legacy (di luar / root level) untuk backwards compatibility */
116
+ theme?: Record<string, string>;
117
+ elements?: Record<string, string>;
118
+ /** Konfigurasi Font Engine */
119
+ font?: Record<string, any>;
120
+ /** Konfigurasi Icon Engine */
121
+ icon?: Record<string, any>;
122
+ /** Konfigurasi Box Engine (Geometri fisik wadah: radius, shadow, border, animation) */
123
+ box?: ThemeBoxConfig;
124
+ /** Konfigurasi Motion Engine (Intensitas 0-10, kecepatan, kurva gerak, transisi, respon aksi) */
125
+ motion?: ThemeMotionConfig | DewebMotionIntensity | DewebMotionPreset | number | string;
126
+ shadows?: Record<string, string>;
127
+ scales?: ThemeScalesConfig;
128
+ /** Preset & override konfigurasi komponen UI Kit */
129
+ components?: Partial<Record<DewebSupportedComponent, ComponentTokenOverride>>;
130
+ radius?: Record<string, any>;
131
+ spacing?: Record<string, any>;
132
+ styles?: string;
133
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * History undo/redo GENERIK -- snapshot array + pointer, dipakai Layout Builder & Color
3
+ * Engine (dan Engine lain nanti). Scope PER-SESI EDITING, bukan persistence: history di
4
+ * reset tiap reload halaman/remount komponen (state React biasa, TIDAK ditulis ke
5
+ * localStorage/JSON). Begitu user "Save" (Simpan sebagai Preset / commit ke config JSON),
6
+ * itu jadi checkpoint PERMANEN terpisah dari history sesi ini -- undo/redo tidak pernah
7
+ * menyentuh file config, cuma state di memory selama sesi berjalan.
8
+ *
9
+ * `push()` BUKAN dipanggil tiap kali value berubah sedikit (mis. tiap pixel drag-resize)
10
+ * -- consumer yang menentukan KAPAN commit ke history (biasanya di titik "commit selesai",
11
+ * bukan "sedang live-preview"), supaya 1 aksi user (1 resize, 1 drag, 1 ganti warna) = 1
12
+ * entry history, bukan puluhan entry per gerakan mouse.
13
+ */
14
+ export declare function useUndoRedo<T>(initial: T): {
15
+ push: (next: T) => void;
16
+ undo: () => T | undefined;
17
+ redo: () => T | undefined;
18
+ reset: (value: T) => void;
19
+ canUndo: boolean;
20
+ canRedo: boolean;
21
+ };
@@ -0,0 +1,2 @@
1
+ import { type ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Tipe Product buat komponen product/ Component Kit (diadaptasi dari
3
+ * /app/types/product.ts). MURNI referensi visual e-commerce --
4
+ * TIDAK match skema produk Deweb (Deweb jual Container/VPS/Database/dst,
5
+ * lihat schema/deweb_portal_d1_schema.sql `products` table, field beda
6
+ * total). Disertakan untuk kelengkapan Component Kit (2026-07-26, tarik
7
+ * semua per keputusan user), bukan berarti dipakai langsung di Portal.
8
+ */
9
+ export interface ProductTag {
10
+ id?: string | number;
11
+ name: string;
12
+ bg_color?: string;
13
+ text_color?: string;
14
+ }
15
+ export interface ProductType {
16
+ id: string | number;
17
+ name: string;
18
+ brand?: string;
19
+ price: number;
20
+ discount_price: number;
21
+ image_small_url?: string;
22
+ rating: number;
23
+ sale_count: number;
24
+ qty_available?: number;
25
+ in_wishlist?: boolean;
26
+ tag_ids?: ProductTag[];
27
+ }