godown 2.6.2 → 2.7.1

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 (461) hide show
  1. package/{deps.d.ts → .deps.d.ts} +1 -1
  2. package/.deps.d.ts.map +1 -0
  3. package/{deps.js → .deps.js} +1 -1
  4. package/.deps.js.map +1 -0
  5. package/README.md +166 -43
  6. package/a.d.ts +2 -0
  7. package/a.d.ts.map +1 -0
  8. package/a.js +2 -0
  9. package/a.js.map +1 -0
  10. package/alert.d.ts +2 -0
  11. package/alert.d.ts.map +1 -0
  12. package/alert.js +2 -0
  13. package/alert.js.map +1 -0
  14. package/avatar-group.js.map +1 -1
  15. package/avatar.d.ts +2 -0
  16. package/avatar.d.ts.map +1 -0
  17. package/avatar.js +2 -0
  18. package/avatar.js.map +1 -0
  19. package/button.d.ts +2 -0
  20. package/button.d.ts.map +1 -0
  21. package/button.js +2 -0
  22. package/button.js.map +1 -0
  23. package/card.d.ts +2 -0
  24. package/card.d.ts.map +1 -0
  25. package/card.js +2 -0
  26. package/card.js.map +1 -0
  27. package/carousel.d.ts +2 -0
  28. package/carousel.d.ts.map +1 -0
  29. package/carousel.js +2 -0
  30. package/carousel.js.map +1 -0
  31. package/clip.d.ts +2 -0
  32. package/clip.d.ts.map +1 -0
  33. package/clip.js +2 -0
  34. package/clip.js.map +1 -0
  35. package/conf.d.ts +23 -3
  36. package/conf.d.ts.map +1 -1
  37. package/conf.js +19 -16
  38. package/conf.js.map +1 -1
  39. package/decorators/define.d.ts +7 -0
  40. package/decorators/define.d.ts.map +1 -0
  41. package/decorators/define.js +11 -0
  42. package/decorators/define.js.map +1 -0
  43. package/details-group.js.map +1 -1
  44. package/details.d.ts +2 -0
  45. package/details.d.ts.map +1 -0
  46. package/details.js +2 -0
  47. package/details.js.map +1 -0
  48. package/dialog.d.ts +2 -0
  49. package/dialog.d.ts.map +1 -0
  50. package/dialog.js +2 -0
  51. package/dialog.js.map +1 -0
  52. package/divider.d.ts +2 -0
  53. package/divider.d.ts.map +1 -0
  54. package/divider.js +2 -0
  55. package/divider.js.map +1 -0
  56. package/dragbox.d.ts +2 -0
  57. package/dragbox.d.ts.map +1 -0
  58. package/dragbox.js +2 -0
  59. package/dragbox.js.map +1 -0
  60. package/flex-flow.js.map +1 -1
  61. package/form.d.ts +2 -0
  62. package/form.d.ts.map +1 -0
  63. package/form.js +2 -0
  64. package/form.js.map +1 -0
  65. package/godown-element.d.ts +1 -1
  66. package/godown-element.d.ts.map +1 -1
  67. package/godown-element.js +12 -4
  68. package/godown-element.js.map +1 -1
  69. package/input.d.ts +2 -0
  70. package/input.d.ts.map +1 -0
  71. package/input.js +2 -0
  72. package/input.js.map +1 -0
  73. package/label-input.js.map +1 -1
  74. package/lib/event-collection.d.ts +1 -1
  75. package/lib/event-collection.d.ts.map +1 -1
  76. package/lib/templates.d.ts +2 -0
  77. package/lib/templates.d.ts.map +1 -1
  78. package/lib/templates.js +4 -0
  79. package/lib/templates.js.map +1 -1
  80. package/lib/utils.d.ts +0 -1
  81. package/lib/utils.d.ts.map +1 -1
  82. package/lib/utils.js +0 -7
  83. package/lib/utils.js.map +1 -1
  84. package/naming.d.ts +91 -0
  85. package/naming.d.ts.map +1 -0
  86. package/naming.js +67 -0
  87. package/naming.js.map +1 -0
  88. package/nav-layout.js.map +1 -1
  89. package/open-offset.d.ts +1 -1
  90. package/open-offset.d.ts.map +1 -1
  91. package/open-offset.js +1 -1
  92. package/open-offset.js.map +1 -1
  93. package/overbreath.d.ts +2 -0
  94. package/overbreath.d.ts.map +1 -0
  95. package/overbreath.js +2 -0
  96. package/overbreath.js.map +1 -0
  97. package/package.json +29 -33
  98. package/progress.d.ts +2 -0
  99. package/progress.d.ts.map +1 -0
  100. package/progress.js +2 -0
  101. package/progress.js.map +1 -0
  102. package/react/index.d.ts +24 -25
  103. package/react/index.d.ts.map +1 -1
  104. package/react/index.js +52 -56
  105. package/react/index.js.map +1 -1
  106. package/router-a.d.ts +2 -0
  107. package/router-a.d.ts.map +1 -0
  108. package/router-a.js +2 -0
  109. package/router-a.js.map +1 -0
  110. package/router.d.ts +2 -0
  111. package/router.d.ts.map +1 -0
  112. package/router.js +2 -0
  113. package/router.js.map +1 -0
  114. package/search-input.js.map +1 -1
  115. package/select-input.js.map +1 -1
  116. package/skeleton.d.ts +2 -0
  117. package/skeleton.d.ts.map +1 -0
  118. package/skeleton.js +2 -0
  119. package/skeleton.js.map +1 -0
  120. package/split-input.js.map +1 -1
  121. package/supers/anchor.d.ts +26 -0
  122. package/supers/anchor.d.ts.map +1 -0
  123. package/{web-components/a/super-a.js → supers/anchor.js} +27 -22
  124. package/supers/anchor.js.map +1 -0
  125. package/supers/input.d.ts +28 -0
  126. package/supers/input.d.ts.map +1 -0
  127. package/supers/input.js +117 -0
  128. package/supers/input.js.map +1 -0
  129. package/{web-components/open/open.d.ts → supers/openable.d.ts} +6 -6
  130. package/supers/openable.d.ts.map +1 -0
  131. package/{web-components/open/open.js → supers/openable.js} +11 -11
  132. package/supers/openable.js.map +1 -0
  133. package/supers/root.d.ts +18 -0
  134. package/supers/root.d.ts.map +1 -0
  135. package/{root.js → supers/root.js} +3 -11
  136. package/supers/root.js.map +1 -0
  137. package/switch-input.js.map +1 -1
  138. package/tabs.d.ts +2 -0
  139. package/tabs.d.ts.map +1 -0
  140. package/tabs.js +2 -0
  141. package/tabs.js.map +1 -0
  142. package/time.d.ts +2 -0
  143. package/time.d.ts.map +1 -0
  144. package/time.js +2 -0
  145. package/time.js.map +1 -0
  146. package/tooltip.d.ts +2 -0
  147. package/tooltip.d.ts.map +1 -0
  148. package/tooltip.js +2 -0
  149. package/tooltip.js.map +1 -0
  150. package/typewriter.d.ts +2 -0
  151. package/typewriter.d.ts.map +1 -0
  152. package/typewriter.js +2 -0
  153. package/typewriter.js.map +1 -0
  154. package/web-components/a/a.d.ts +16 -0
  155. package/web-components/a/a.d.ts.map +1 -0
  156. package/web-components/a/a.js +17 -0
  157. package/web-components/a/a.js.map +1 -0
  158. package/web-components/{items/alert-item.d.ts → alert/alert.d.ts} +8 -7
  159. package/web-components/alert/alert.d.ts.map +1 -0
  160. package/web-components/{items/alert-item.js → alert/alert.js} +18 -17
  161. package/web-components/alert/alert.js.map +1 -0
  162. package/web-components/{a/avatar-a.d.ts → avatar/avatar.d.ts} +9 -8
  163. package/web-components/avatar/avatar.d.ts.map +1 -0
  164. package/web-components/{a/avatar-a.js → avatar/avatar.js} +20 -19
  165. package/web-components/avatar/avatar.js.map +1 -0
  166. package/web-components/button/{base-button.d.ts → button.d.ts} +7 -10
  167. package/web-components/button/button.d.ts.map +1 -0
  168. package/web-components/button/{base-button.js → button.js} +22 -46
  169. package/web-components/button/button.js.map +1 -0
  170. package/web-components/{items/card-item.d.ts → card/card.d.ts} +8 -7
  171. package/web-components/card/card.d.ts.map +1 -0
  172. package/web-components/{items/card-item.js → card/card.js} +15 -14
  173. package/web-components/card/card.js.map +1 -0
  174. package/web-components/carousel/{carousel-slider.d.ts → carousel.d.ts} +8 -6
  175. package/web-components/carousel/carousel.d.ts.map +1 -0
  176. package/web-components/carousel/{carousel-slider.js → carousel.js} +16 -16
  177. package/web-components/carousel/carousel.js.map +1 -0
  178. package/web-components/{open/open-details.d.ts → details/details.d.ts} +8 -7
  179. package/web-components/details/details.d.ts.map +1 -0
  180. package/web-components/{open/open-details.js → details/details.js} +17 -16
  181. package/web-components/details/details.js.map +1 -0
  182. package/web-components/{open/open-dialog.d.ts → dialog/dialog.d.ts} +9 -7
  183. package/web-components/dialog/dialog.d.ts.map +1 -0
  184. package/web-components/{open/open-dialog.js → dialog/dialog.js} +19 -18
  185. package/web-components/dialog/dialog.js.map +1 -0
  186. package/web-components/form/{base-form.d.ts → form.d.ts} +8 -7
  187. package/web-components/form/form.d.ts.map +1 -0
  188. package/web-components/form/{base-form.js → form.js} +16 -15
  189. package/web-components/form/form.js.map +1 -0
  190. package/web-components/group/avatar-group.d.ts +6 -5
  191. package/web-components/group/avatar-group.d.ts.map +1 -1
  192. package/web-components/group/avatar-group.js +8 -7
  193. package/web-components/group/avatar-group.js.map +1 -1
  194. package/web-components/group/details-group.d.ts +3 -2
  195. package/web-components/group/details-group.d.ts.map +1 -1
  196. package/web-components/group/details-group.js +4 -3
  197. package/web-components/group/details-group.js.map +1 -1
  198. package/web-components/index.d.ts +24 -25
  199. package/web-components/index.d.ts.map +1 -1
  200. package/web-components/index.js +24 -26
  201. package/web-components/index.js.map +1 -1
  202. package/web-components/input/input.d.ts +44 -22
  203. package/web-components/input/input.d.ts.map +1 -1
  204. package/web-components/input/input.js +210 -80
  205. package/web-components/input/input.js.map +1 -1
  206. package/web-components/input/label-input.d.ts +5 -4
  207. package/web-components/input/label-input.d.ts.map +1 -1
  208. package/web-components/input/label-input.js +7 -6
  209. package/web-components/input/label-input.js.map +1 -1
  210. package/web-components/input/search-input.d.ts +5 -4
  211. package/web-components/input/search-input.d.ts.map +1 -1
  212. package/web-components/input/search-input.js +7 -6
  213. package/web-components/input/search-input.js.map +1 -1
  214. package/web-components/input/select-input.d.ts +5 -4
  215. package/web-components/input/select-input.d.ts.map +1 -1
  216. package/web-components/input/select-input.js +7 -6
  217. package/web-components/input/select-input.js.map +1 -1
  218. package/web-components/input/split-input.d.ts +5 -4
  219. package/web-components/input/split-input.d.ts.map +1 -1
  220. package/web-components/input/split-input.js +7 -6
  221. package/web-components/input/split-input.js.map +1 -1
  222. package/web-components/input/switch-input.d.ts +5 -4
  223. package/web-components/input/switch-input.d.ts.map +1 -1
  224. package/web-components/input/switch-input.js +7 -6
  225. package/web-components/input/switch-input.js.map +1 -1
  226. package/web-components/layout/divider.d.ts +22 -0
  227. package/web-components/layout/divider.d.ts.map +1 -0
  228. package/web-components/layout/{divider-line.js → divider.js} +13 -12
  229. package/web-components/layout/divider.js.map +1 -0
  230. package/web-components/layout/flex-flow.d.ts +3 -2
  231. package/web-components/layout/flex-flow.d.ts.map +1 -1
  232. package/web-components/layout/flex-flow.js +4 -3
  233. package/web-components/layout/flex-flow.js.map +1 -1
  234. package/web-components/layout/nav-layout.d.ts +4 -3
  235. package/web-components/layout/nav-layout.d.ts.map +1 -1
  236. package/web-components/layout/nav-layout.js +4 -3
  237. package/web-components/layout/nav-layout.js.map +1 -1
  238. package/web-components/{open → offset}/open-offset.d.ts +5 -4
  239. package/web-components/offset/open-offset.d.ts.map +1 -0
  240. package/web-components/{open → offset}/open-offset.js +5 -5
  241. package/web-components/offset/open-offset.js.map +1 -0
  242. package/web-components/{loading/loading-progress.d.ts → progress/progress.d.ts} +9 -7
  243. package/web-components/progress/progress.d.ts.map +1 -0
  244. package/web-components/{loading/loading-progress.js → progress/progress.js} +15 -14
  245. package/web-components/progress/progress.js.map +1 -0
  246. package/web-components/router/router-a.d.ts +25 -0
  247. package/web-components/router/router-a.d.ts.map +1 -0
  248. package/web-components/router/router-a.js +70 -0
  249. package/web-components/router/router-a.js.map +1 -0
  250. package/web-components/{view/route-view.d.ts → router/router.d.ts} +10 -9
  251. package/web-components/router/router.d.ts.map +1 -0
  252. package/web-components/{view/route-view.js → router/router.js} +21 -21
  253. package/web-components/router/router.js.map +1 -0
  254. package/web-components/{loading/skeleton-screen.d.ts → skeleton/skeleton.d.ts} +8 -7
  255. package/web-components/skeleton/skeleton.d.ts.map +1 -0
  256. package/web-components/{loading/skeleton-screen.js → skeleton/skeleton.js} +15 -14
  257. package/web-components/skeleton/skeleton.js.map +1 -0
  258. package/web-components/{group/tab-group.d.ts → tabs/tabs.d.ts} +9 -8
  259. package/web-components/tabs/tabs.d.ts.map +1 -0
  260. package/web-components/{group/tab-group.js → tabs/tabs.js} +17 -16
  261. package/web-components/tabs/tabs.js.map +1 -0
  262. package/web-components/text/clip.d.ts +22 -0
  263. package/web-components/text/clip.d.ts.map +1 -0
  264. package/web-components/text/{clip-text.js → clip.js} +13 -12
  265. package/web-components/text/clip.js.map +1 -0
  266. package/web-components/text/{overbreath-text.d.ts → overbreath.d.ts} +8 -7
  267. package/web-components/text/overbreath.d.ts.map +1 -0
  268. package/web-components/text/{overbreath-text.js → overbreath.js} +15 -14
  269. package/web-components/text/overbreath.js.map +1 -0
  270. package/web-components/text/time.d.ts +60 -0
  271. package/web-components/text/time.d.ts.map +1 -0
  272. package/web-components/{items/time-bar.js → text/time.js} +53 -36
  273. package/web-components/text/time.js.map +1 -0
  274. package/web-components/text/{typewriter-text.d.ts → typewriter.d.ts} +10 -9
  275. package/web-components/text/typewriter.d.ts.map +1 -0
  276. package/web-components/text/{typewriter-text.js → typewriter.js} +23 -22
  277. package/web-components/text/typewriter.js.map +1 -0
  278. package/web-components/tooltip/tooltip.d.ts +26 -0
  279. package/web-components/tooltip/tooltip.d.ts.map +1 -0
  280. package/web-components/{open/open-tooltip.js → tooltip/tooltip.js} +15 -14
  281. package/web-components/tooltip/tooltip.js.map +1 -0
  282. package/web-components/{items/drag-box.d.ts → wrapper/dragbox.d.ts} +7 -6
  283. package/web-components/wrapper/dragbox.d.ts.map +1 -0
  284. package/web-components/{items/drag-box.js → wrapper/dragbox.js} +14 -13
  285. package/web-components/wrapper/dragbox.js.map +1 -0
  286. package/web-components/{view/wrap-view.d.ts → wrapper/wrapper.d.ts} +7 -5
  287. package/web-components/wrapper/wrapper.d.ts.map +1 -0
  288. package/web-components/{view/wrap-view.js → wrapper/wrapper.js} +13 -12
  289. package/web-components/wrapper/wrapper.js.map +1 -0
  290. package/wrapper.d.ts +2 -0
  291. package/wrapper.d.ts.map +1 -0
  292. package/wrapper.js +2 -0
  293. package/wrapper.js.map +1 -0
  294. package/alert-item.d.ts +0 -2
  295. package/alert-item.d.ts.map +0 -1
  296. package/alert-item.js +0 -2
  297. package/alert-item.js.map +0 -1
  298. package/avatar-a.d.ts +0 -2
  299. package/avatar-a.d.ts.map +0 -1
  300. package/avatar-a.js +0 -2
  301. package/avatar-a.js.map +0 -1
  302. package/base-button.d.ts +0 -2
  303. package/base-button.d.ts.map +0 -1
  304. package/base-button.js +0 -2
  305. package/base-button.js.map +0 -1
  306. package/base-form.d.ts +0 -2
  307. package/base-form.d.ts.map +0 -1
  308. package/base-form.js +0 -2
  309. package/base-form.js.map +0 -1
  310. package/base-input.d.ts +0 -2
  311. package/base-input.d.ts.map +0 -1
  312. package/base-input.js +0 -2
  313. package/base-input.js.map +0 -1
  314. package/card-item.d.ts +0 -2
  315. package/card-item.d.ts.map +0 -1
  316. package/card-item.js +0 -2
  317. package/card-item.js.map +0 -1
  318. package/carousel-slider.d.ts +0 -2
  319. package/carousel-slider.d.ts.map +0 -1
  320. package/carousel-slider.js +0 -2
  321. package/carousel-slider.js.map +0 -1
  322. package/clip-text.d.ts +0 -2
  323. package/clip-text.d.ts.map +0 -1
  324. package/clip-text.js +0 -2
  325. package/clip-text.js.map +0 -1
  326. package/deps.d.ts.map +0 -1
  327. package/deps.js.map +0 -1
  328. package/divider-line.d.ts +0 -2
  329. package/divider-line.d.ts.map +0 -1
  330. package/divider-line.js +0 -2
  331. package/divider-line.js.map +0 -1
  332. package/drag-box.d.ts +0 -2
  333. package/drag-box.d.ts.map +0 -1
  334. package/drag-box.js +0 -2
  335. package/drag-box.js.map +0 -1
  336. package/link-a.d.ts +0 -2
  337. package/link-a.d.ts.map +0 -1
  338. package/link-a.js +0 -2
  339. package/link-a.js.map +0 -1
  340. package/loading-progress.d.ts +0 -2
  341. package/loading-progress.d.ts.map +0 -1
  342. package/loading-progress.js +0 -2
  343. package/loading-progress.js.map +0 -1
  344. package/open-details.d.ts +0 -2
  345. package/open-details.d.ts.map +0 -1
  346. package/open-details.js +0 -2
  347. package/open-details.js.map +0 -1
  348. package/open-dialog.d.ts +0 -2
  349. package/open-dialog.d.ts.map +0 -1
  350. package/open-dialog.js +0 -2
  351. package/open-dialog.js.map +0 -1
  352. package/open-tooltip.d.ts +0 -2
  353. package/open-tooltip.d.ts.map +0 -1
  354. package/open-tooltip.js +0 -2
  355. package/open-tooltip.js.map +0 -1
  356. package/overbreath-text.d.ts +0 -2
  357. package/overbreath-text.d.ts.map +0 -1
  358. package/overbreath-text.js +0 -2
  359. package/overbreath-text.js.map +0 -1
  360. package/root.d.ts +0 -23
  361. package/root.d.ts.map +0 -1
  362. package/root.js.map +0 -1
  363. package/route-view.d.ts +0 -2
  364. package/route-view.d.ts.map +0 -1
  365. package/route-view.js +0 -2
  366. package/route-view.js.map +0 -1
  367. package/sign-form.d.ts +0 -2
  368. package/sign-form.d.ts.map +0 -1
  369. package/sign-form.js +0 -2
  370. package/sign-form.js.map +0 -1
  371. package/skeleton-screen.d.ts +0 -2
  372. package/skeleton-screen.d.ts.map +0 -1
  373. package/skeleton-screen.js +0 -2
  374. package/skeleton-screen.js.map +0 -1
  375. package/super-a.d.ts +0 -2
  376. package/super-a.d.ts.map +0 -1
  377. package/super-a.js +0 -2
  378. package/super-a.js.map +0 -1
  379. package/tab-group.d.ts +0 -2
  380. package/tab-group.d.ts.map +0 -1
  381. package/tab-group.js +0 -2
  382. package/tab-group.js.map +0 -1
  383. package/time-bar.d.ts +0 -2
  384. package/time-bar.d.ts.map +0 -1
  385. package/time-bar.js +0 -2
  386. package/time-bar.js.map +0 -1
  387. package/typewriter-text.d.ts +0 -2
  388. package/typewriter-text.d.ts.map +0 -1
  389. package/typewriter-text.js +0 -2
  390. package/typewriter-text.js.map +0 -1
  391. package/web-components/a/avatar-a.d.ts.map +0 -1
  392. package/web-components/a/avatar-a.js.map +0 -1
  393. package/web-components/a/link-a.d.ts +0 -33
  394. package/web-components/a/link-a.d.ts.map +0 -1
  395. package/web-components/a/link-a.js +0 -81
  396. package/web-components/a/link-a.js.map +0 -1
  397. package/web-components/a/super-a.d.ts +0 -31
  398. package/web-components/a/super-a.d.ts.map +0 -1
  399. package/web-components/a/super-a.js.map +0 -1
  400. package/web-components/button/base-button.d.ts.map +0 -1
  401. package/web-components/button/base-button.js.map +0 -1
  402. package/web-components/carousel/carousel-slider.d.ts.map +0 -1
  403. package/web-components/carousel/carousel-slider.js.map +0 -1
  404. package/web-components/form/base-form.d.ts.map +0 -1
  405. package/web-components/form/base-form.js.map +0 -1
  406. package/web-components/form/sign-form.d.ts +0 -19
  407. package/web-components/form/sign-form.d.ts.map +0 -1
  408. package/web-components/form/sign-form.js +0 -16
  409. package/web-components/form/sign-form.js.map +0 -1
  410. package/web-components/group/tab-group.d.ts.map +0 -1
  411. package/web-components/group/tab-group.js.map +0 -1
  412. package/web-components/input/base-input.d.ts +0 -49
  413. package/web-components/input/base-input.d.ts.map +0 -1
  414. package/web-components/input/base-input.js +0 -246
  415. package/web-components/input/base-input.js.map +0 -1
  416. package/web-components/items/alert-item.d.ts.map +0 -1
  417. package/web-components/items/alert-item.js.map +0 -1
  418. package/web-components/items/card-item.d.ts.map +0 -1
  419. package/web-components/items/card-item.js.map +0 -1
  420. package/web-components/items/drag-box.d.ts.map +0 -1
  421. package/web-components/items/drag-box.js.map +0 -1
  422. package/web-components/items/index.d.ts +0 -5
  423. package/web-components/items/index.d.ts.map +0 -1
  424. package/web-components/items/index.js +0 -6
  425. package/web-components/items/index.js.map +0 -1
  426. package/web-components/items/time-bar.d.ts +0 -54
  427. package/web-components/items/time-bar.d.ts.map +0 -1
  428. package/web-components/items/time-bar.js.map +0 -1
  429. package/web-components/layout/divider-line.d.ts +0 -20
  430. package/web-components/layout/divider-line.d.ts.map +0 -1
  431. package/web-components/layout/divider-line.js.map +0 -1
  432. package/web-components/loading/loading-progress.d.ts.map +0 -1
  433. package/web-components/loading/loading-progress.js.map +0 -1
  434. package/web-components/loading/skeleton-screen.d.ts.map +0 -1
  435. package/web-components/loading/skeleton-screen.js.map +0 -1
  436. package/web-components/open/open-details.d.ts.map +0 -1
  437. package/web-components/open/open-details.js.map +0 -1
  438. package/web-components/open/open-dialog.d.ts.map +0 -1
  439. package/web-components/open/open-dialog.js.map +0 -1
  440. package/web-components/open/open-offset.d.ts.map +0 -1
  441. package/web-components/open/open-offset.js.map +0 -1
  442. package/web-components/open/open-tooltip.d.ts +0 -24
  443. package/web-components/open/open-tooltip.d.ts.map +0 -1
  444. package/web-components/open/open-tooltip.js.map +0 -1
  445. package/web-components/open/open.d.ts.map +0 -1
  446. package/web-components/open/open.js.map +0 -1
  447. package/web-components/text/clip-text.d.ts +0 -21
  448. package/web-components/text/clip-text.d.ts.map +0 -1
  449. package/web-components/text/clip-text.js.map +0 -1
  450. package/web-components/text/overbreath-text.d.ts.map +0 -1
  451. package/web-components/text/overbreath-text.js.map +0 -1
  452. package/web-components/text/typewriter-text.d.ts.map +0 -1
  453. package/web-components/text/typewriter-text.js.map +0 -1
  454. package/web-components/view/route-view.d.ts.map +0 -1
  455. package/web-components/view/route-view.js.map +0 -1
  456. package/web-components/view/wrap-view.d.ts.map +0 -1
  457. package/web-components/view/wrap-view.js.map +0 -1
  458. package/wrap-view.d.ts +0 -2
  459. package/wrap-view.d.ts.map +0 -1
  460. package/wrap-view.js +0 -2
  461. package/wrap-view.js.map +0 -1
@@ -3,4 +3,4 @@ export { html, svg, css, unsafeCSS, type CSSResultGroup, nothing, type PropertyV
3
3
  export * from "lit/decorators.js";
4
4
  export { ifDefined } from "lit/directives/if-defined.js";
5
5
  export { classMap } from "lit/directives/class-map.js";
6
- //# sourceMappingURL=deps.d.ts.map
6
+ //# sourceMappingURL=.deps.d.ts.map
package/.deps.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":".deps.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":[".deps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,KAAK,CAAC;AACrG,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC"}
@@ -3,4 +3,4 @@ export { html, svg, css, unsafeCSS, nothing } from "lit";
3
3
  export * from "lit/decorators.js";
4
4
  export { ifDefined } from "lit/directives/if-defined.js";
5
5
  export { classMap } from "lit/directives/class-map.js";
6
- //# sourceMappingURL=deps.js.map
6
+ //# sourceMappingURL=.deps.js.map
package/.deps.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":".deps.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":[".deps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,SAAS,EAAuB,OAAO,EAAyB,MAAM,KAAK,CAAC;AACrG,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC","sourcesContent":["export { __decorate } from \"tslib\";\nexport { html, svg, css, unsafeCSS, type CSSResultGroup, nothing, type PropertyValueMap } from \"lit\";\nexport * from \"lit/decorators.js\";\nexport { ifDefined } from \"lit/directives/if-defined.js\";\nexport { classMap } from \"lit/directives/class-map.js\";\n"]}
package/README.md CHANGED
@@ -1,43 +1,166 @@
1
- # Godown
2
-
3
- Simple, stylized, semantic web components.
4
-
5
- ## Install
6
-
7
- ```sh
8
- npm i godown
9
- ```
10
-
11
- ## Usages
12
-
13
- ### HTML
14
-
15
- ```html
16
- <alert-item title="Alert"></alert-item>
17
- ```
18
-
19
- ### JS
20
-
21
- ```js
22
- import { AlertItem } from "godown";
23
-
24
- const item = new AlertItem();
25
- item.title = "Alert";
26
- document.body.appendChild(item);
27
- ```
28
-
29
- deno
30
-
31
- ```ts
32
- import { AlertItem } from "npm:godown";
33
- ```
34
-
35
- ### React
36
-
37
- ```jsx
38
- import { AlertItem } from "godown/react.js";
39
-
40
- export default function () {
41
- return <AlertItem title="Alert" />;
42
- }
43
- ```
1
+ # Godown
2
+
3
+ Simple, stylized, semantic web components.
4
+
5
+ ## Install
6
+
7
+ ```sh
8
+ npm i godown
9
+ ```
10
+
11
+ ## Usages
12
+
13
+ ### HTML
14
+
15
+ ```html
16
+ <g-alert title="Alert"></g-alert>
17
+ ```
18
+
19
+ ### JS
20
+
21
+ ```js
22
+ import { Alert } from "godown"; // import all
23
+ // import Alert from "godown/alert"; // import one
24
+
25
+ const alert = new Alert();
26
+ alert.title = "Alert";
27
+ /*
28
+ const alert = new Alert({
29
+ title: "Alert"
30
+ });
31
+ */
32
+ document.body.appendChild(alert);
33
+ ```
34
+
35
+ deno
36
+
37
+ ```js
38
+ import { Alert } from "npm:godown";
39
+ ```
40
+
41
+ #### React
42
+
43
+ ```jsx
44
+ import { Alert } from "godown/react"; // import all
45
+
46
+ export default function () {
47
+ return <Alert title="Alert" />;
48
+ }
49
+ ```
50
+
51
+ ## Custom
52
+
53
+ ### Custom element tag name
54
+
55
+ ```js
56
+ import { defineConfig } from "godown/conf";
57
+
58
+ const newNames = {
59
+ "old-name": "new-name",
60
+ };
61
+
62
+ function getName(constructorDashName: string) {
63
+ return newNames[constructorDashName];
64
+ }
65
+
66
+ defineConfig({
67
+ tag: getName,
68
+ prefix: "prefix-",
69
+ suffix: "",
70
+ });
71
+ ```
72
+
73
+ The element will be renamed to `${prefix} + ${tag( ${constructorDashName} )} + ${suffix}`
74
+
75
+ ```html
76
+ <prefix-new-name title="Alert"></prefix-new-name>
77
+ ```
78
+
79
+ ### Custom element styles
80
+
81
+ Font color and background
82
+
83
+ ```css
84
+ * {
85
+ --godown--background-rgb: 12 12 12;
86
+ --godown--foreground-rgb: 240 240 240;
87
+ }
88
+ ```
89
+
90
+ See [With CSS](#with-css).
91
+
92
+ ### Custom element CSS variable prefix
93
+
94
+ ```js
95
+ import { defineConfig } from "godown/conf";
96
+
97
+ defineConfig({
98
+ cssvar: "ge",
99
+ });
100
+ ```
101
+
102
+ The CSS variable of the element will be `${cssvar} + element name + description`.
103
+
104
+ The following CSS variables now affect element styles.
105
+
106
+ ```html
107
+ <g-button scale style="--ge--g-button--focus-scale:.95;"></g-button>
108
+ ```
109
+
110
+ ### Custom initial property
111
+
112
+ All element.
113
+
114
+ ```js
115
+ import { defineConfig } from "godown/conf";
116
+ defineConfig({
117
+ assign: {
118
+ classList: ["godown-element", "custom-element"],
119
+ color: "blue", // button property
120
+ },
121
+ });
122
+ ```
123
+
124
+ Assign when elements are **connected**.
125
+
126
+ ```html
127
+ <g-button class="godown-element custom-element" color="blue"> Button </g-button>
128
+
129
+ <g-input class="godown-element custom-element" color="blue"></g-input>
130
+ ```
131
+
132
+ One element.
133
+
134
+ ```js
135
+ const RedGhostButton = new Button({
136
+ // ...
137
+ color: "red", // overwrite
138
+ ghost: true, // button property
139
+ });
140
+ ```
141
+
142
+ #### With CSS
143
+
144
+ It can be used to set CSS variables.
145
+
146
+ ```css
147
+ .godown-element {
148
+ --ge--foreground-rgb: 0 0 0;
149
+ --ge--background-rgb: 255 255 255;
150
+ }
151
+ ```
152
+
153
+ ## Compatibility
154
+
155
+ ```js
156
+ import { defineConfig } from "godown/conf";
157
+ defineConfig({
158
+ naming: "legacy", // default is "latest"
159
+ });
160
+ ```
161
+
162
+ Legacy names can now be used.
163
+
164
+ ```html
165
+ <base-button>legacy</base-button>
166
+ ```
package/a.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/a/a.js";
2
+ //# sourceMappingURL=a.d.ts.map
package/a.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["a.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC"}
package/a.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/a/a.js";
2
+ //# sourceMappingURL=a.js.map
package/a.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["a.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["export { default } from \"./web-components/a/a.js\";\n"]}
package/alert.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/alert/alert.js";
2
+ //# sourceMappingURL=alert.d.ts.map
package/alert.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["alert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC"}
package/alert.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/alert/alert.js";
2
+ //# sourceMappingURL=alert.js.map
package/alert.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["alert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC","sourcesContent":["export { default } from \"./web-components/alert/alert.js\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-group.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["avatar-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC","sourcesContent":["export { default } from \"./web-components/group/avatar-group.js\";"]}
1
+ {"version":3,"file":"avatar-group.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["avatar-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC","sourcesContent":["export { default } from \"./web-components/group/avatar-group.js\";\n"]}
package/avatar.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/avatar/avatar.js";
2
+ //# sourceMappingURL=avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["avatar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC"}
package/avatar.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/avatar/avatar.js";
2
+ //# sourceMappingURL=avatar.js.map
package/avatar.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["avatar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC","sourcesContent":["export { default } from \"./web-components/avatar/avatar.js\";\n"]}
package/button.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/button/button.js";
2
+ //# sourceMappingURL=button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC"}
package/button.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/button/button.js";
2
+ //# sourceMappingURL=button.js.map
package/button.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC","sourcesContent":["export { default } from \"./web-components/button/button.js\";\n"]}
package/card.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/card/card.js";
2
+ //# sourceMappingURL=card.d.ts.map
package/card.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC"}
package/card.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/card/card.js";
2
+ //# sourceMappingURL=card.js.map
package/card.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC","sourcesContent":["export { default } from \"./web-components/card/card.js\";\n"]}
package/carousel.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/carousel/carousel.js";
2
+ //# sourceMappingURL=carousel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["carousel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC"}
package/carousel.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/carousel/carousel.js";
2
+ //# sourceMappingURL=carousel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["carousel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC","sourcesContent":["export { default } from \"./web-components/carousel/carousel.js\";\n"]}
package/clip.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/text/clip.js";
2
+ //# sourceMappingURL=clip.d.ts.map
package/clip.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clip.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["clip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC"}
package/clip.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/text/clip.js";
2
+ //# sourceMappingURL=clip.js.map
package/clip.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clip.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["clip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC","sourcesContent":["export { default } from \"./web-components/text/clip.js\";\n"]}
package/conf.d.ts CHANGED
@@ -1,11 +1,16 @@
1
+ import type GodownElement from "./godown-element";
2
+ import naming from "./naming";
1
3
  export declare const conf: ConfType;
4
+ export declare function init(config: Partial<ConfType>, source?: ConfType): ConfType;
5
+ export declare function defineConfig(config: Parameters<typeof init>[0]): ConfType;
2
6
  export default conf;
3
- export declare function init(CONFObject: Partial<ConfType>, source?: ConfType): ConfType;
4
- export declare function defineConfig(CONFObject: Partial<ConfType>): ConfType;
5
7
  declare global {
6
8
  interface globalThis {
7
9
  GodownWebComponentsCONF: ConfType;
8
10
  }
11
+ interface DocumentEventMap {
12
+ "godown-define": DefineEvent;
13
+ }
9
14
  }
10
15
  export interface ConfType {
11
16
  /**
@@ -24,6 +29,7 @@ export interface ConfType {
24
29
  * Mapping of element names.
25
30
  */
26
31
  nameMap: Accessor<string, string>;
32
+ naming: "" | keyof typeof naming;
27
33
  /**
28
34
  * Reflect to globalThis.
29
35
  */
@@ -53,9 +59,23 @@ export interface ConfType {
53
59
  */
54
60
  define: (name: string | void, constructor: CustomElementConstructor, options?: ElementDefinitionOptions) => void;
55
61
  }
62
+ export interface DefineEvent {
63
+ detail: {
64
+ name: string;
65
+ constructor: typeof GodownElement;
66
+ options?: ElementDefinitionOptions;
67
+ };
68
+ }
56
69
  export interface GetSet<K, V> {
57
70
  get: (key: K) => V;
58
71
  set(key: K, value: V): void;
59
72
  }
60
- export type Accessor<K, V> = GetSet<K, V> | (K extends PropertyKey ? GetSet<K, V> & Record<K, V> : never);
73
+ export type MixedRecord<K, V, M> = M | (K extends PropertyKey ? M & Record<K, V> : never);
74
+ export type SetAccessor<K = string, V = string | undefined> = MixedRecord<K, V, {
75
+ set(key: K, value: V): void;
76
+ }>;
77
+ export type GetAccessor<K = string, V = string | undefined> = MixedRecord<K, V, {
78
+ get: (key: K) => V;
79
+ }>;
80
+ export type Accessor<K = string, V = string | undefined> = GetAccessor<K, V> & SetAccessor<K, V>;
61
81
  //# sourceMappingURL=conf.d.ts.map
package/conf.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"conf.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["conf.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,IAAI,EAAE,QAAkE,CAAC;AACtF,eAAe,IAAI,CAAC;AAEpB,wBAAgB,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAE,QAAe,GAAG,QAAQ,CAarF;AAED,wBAAgB,YAAY,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAEpE;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,UAAU;QAClB,uBAAuB,EAAE,QAAQ,CAAC;KACnC;CACF;AAED,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;IACrD;;OAEG;IACH,OAAO,EAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,GAAG,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;IAChC;;;;;;OAMG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,WAAW,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,wBAAwB,KAAK,IAAI,CAAC;CAClH;AAED,MAAM,WAAW,MAAM,CAAC,CAAC,EAAE,CAAC;IAC1B,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;IACnB,GAAG,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,WAAW,GAAG,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"conf.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["conf.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAClD,OAAO,MAAM,MAAM,UAAU,CAAC;AA8B9B,eAAO,MAAM,IAAI,EAAE,QAAkE,CAAC;AAEtF,wBAAgB,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAE,QAAe,GAAG,QAAQ,CAajF;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,QAAQ,CAEzE;AAED,eAAe,IAAI,CAAC;AAEpB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,UAAU;QAClB,uBAAuB,EAAE,QAAQ,CAAC;KACnC;IACD,UAAU,gBAAgB;QACxB,eAAe,EAAE,WAAW,CAAC;KAC9B;CACF;AAED,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;IACrD;;OAEG;IACH,OAAO,EAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,MAAM,EAAE,EAAE,GAAG,MAAM,OAAO,MAAM,CAAC;IACjC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,GAAG,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;IAChC;;;;;;OAMG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,WAAW,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,wBAAwB,KAAK,IAAI,CAAC;CAClH;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,OAAO,aAAa,CAAC;QAClC,OAAO,CAAC,EAAE,wBAAwB,CAAC;KACpC,CAAC;CACH;AAED,MAAM,WAAW,MAAM,CAAC,CAAC,EAAE,CAAC;IAC1B,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;IACnB,GAAG,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,SAAS,WAAW,GAAG,CAAC,GAAG,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC;AAC1F,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,MAAM,EAAE,CAAC,GAAG,MAAM,GAAG,SAAS,IAAI,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE;IAAE,GAAG,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAA;CAAE,CAAC,CAAC;AACjH,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,MAAM,EAAE,CAAC,GAAG,MAAM,GAAG,SAAS,IAAI,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE;IAAE,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAA;CAAE,CAAC,CAAC;AACxG,MAAM,MAAM,QAAQ,CAAC,CAAC,GAAG,MAAM,EAAE,CAAC,GAAG,MAAM,GAAG,SAAS,IAAI,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC"}
package/conf.js CHANGED
@@ -1,32 +1,34 @@
1
+ import naming from "./naming";
1
2
  const defaultConfig = {
2
3
  assign: null,
3
4
  cssvar: "godown",
4
5
  classMap: new Map(),
5
6
  nameMap: new Map(),
7
+ naming: "latest",
6
8
  reflect: false,
7
9
  prefix: "",
8
10
  suffix: "",
9
11
  tag(origin) {
10
- const name = this.nameMap.get(origin) || origin;
11
- return this.prefix + name + this.suffix;
12
+ if (this.naming) {
13
+ origin = naming[this.naming]?.get(origin) || origin;
14
+ }
15
+ return origin;
12
16
  },
13
17
  define(name, constructor, options) {
14
- if (!name) {
15
- name = constructor.name.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
16
- }
17
- const tagName = this.tag(name);
18
- if (!customElements.get(tagName)) {
19
- customElements.define(tagName, constructor, options);
20
- constructor.elementTagName = tagName;
21
- this.nameMap.set(name, tagName);
22
- this.classMap.set(tagName, constructor);
18
+ name ||= constructor.name.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
19
+ const tagName = this.prefix + this.tag(name) + this.suffix;
20
+ if (!tagName.includes("-") || customElements.get(name)) {
21
+ return;
23
22
  }
23
+ this.nameMap.set(name, tagName);
24
+ constructor.elementTagName = tagName;
25
+ conf.classMap.set(tagName, constructor);
26
+ customElements.define(tagName, constructor, options);
24
27
  },
25
28
  };
26
29
  export const conf = init(globalThis.GodownWebComponentsCONF, defaultConfig);
27
- export default conf;
28
- export function init(CONFObject, source = conf) {
29
- Object.assign(source, CONFObject);
30
+ export function init(config, source = conf) {
31
+ Object.assign(source, config);
30
32
  if (source.reflect) {
31
33
  // Reflect to globalThis.
32
34
  globalThis.GodownWebComponentsCONF = source;
@@ -41,7 +43,8 @@ export function init(CONFObject, source = conf) {
41
43
  }
42
44
  return source;
43
45
  }
44
- export function defineConfig(CONFObject) {
45
- return init(CONFObject, conf);
46
+ export function defineConfig(config) {
47
+ return init(config, conf);
46
48
  }
49
+ export default conf;
47
50
  //# sourceMappingURL=conf.js.map
package/conf.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"conf.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["conf.ts"],"names":[],"mappings":"AAEA,MAAM,aAAa,GAAa;IAC9B,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,IAAI,GAAG,EAAE;IACnB,OAAO,EAAE,IAAI,GAAG,EAAE;IAClB,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,EAAE;IACV,MAAM,EAAE,EAAE;IACV,GAAG,CAAC,MAAc;QAChB,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC;QAChD,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;IAC1C,CAAC;IACD,MAAM,CAAC,IAAmB,EAAE,WAAqC,EAAE,OAAkC;QACnG,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;QAC5E,CAAC;QACD,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YACjC,cAAc,CAAC,MAAM,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;YACpD,WAAoC,CAAC,cAAc,GAAG,OAAO,CAAC;YAC/D,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;YAChC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAa,IAAI,CAAC,UAAU,CAAC,uBAAuB,EAAE,aAAa,CAAC,CAAC;AACtF,eAAe,IAAI,CAAC;AAEpB,MAAM,UAAU,IAAI,CAAC,UAA6B,EAAE,SAAmB,IAAI;IACzE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAClC,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;QACnB,yBAAyB;QACzB,UAAU,CAAC,uBAAuB,GAAG,MAAM,CAAC;IAC9C,CAAC;SAAM,CAAC;QACN,IAAI,CAAC;YACH,OAAO,UAAU,CAAC,uBAAuB,CAAC;QAC5C,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,WAAW;QACb,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,UAA6B;IACxD,OAAO,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AAChC,CAAC","sourcesContent":["import type GodownElement from \"./godown-element\";\n\nconst defaultConfig: ConfType = {\n assign: null,\n cssvar: \"godown\",\n classMap: new Map(),\n nameMap: new Map(),\n reflect: false,\n prefix: \"\",\n suffix: \"\",\n tag(origin: string) {\n const name = this.nameMap.get(origin) || origin;\n return this.prefix + name + this.suffix;\n },\n define(name: string | void, constructor: CustomElementConstructor, options?: ElementDefinitionOptions) {\n if (!name) {\n name = constructor.name.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\n }\n const tagName = this.tag(name);\n if (!customElements.get(tagName)) {\n customElements.define(tagName, constructor, options);\n (constructor as typeof GodownElement).elementTagName = tagName;\n this.nameMap.set(name, tagName);\n this.classMap.set(tagName, constructor);\n }\n },\n};\n\nexport const conf: ConfType = init(globalThis.GodownWebComponentsCONF, defaultConfig);\nexport default conf;\n\nexport function init(CONFObject: Partial<ConfType>, source: ConfType = conf): ConfType {\n Object.assign(source, CONFObject);\n if (source.reflect) {\n // Reflect to globalThis.\n globalThis.GodownWebComponentsCONF = source;\n } else {\n try {\n delete globalThis.GodownWebComponentsCONF;\n } catch (e) {\n /* empty */\n }\n }\n return source;\n}\n\nexport function defineConfig(CONFObject: Partial<ConfType>): ConfType {\n return init(CONFObject, conf);\n}\n\ndeclare global {\n interface globalThis {\n GodownWebComponentsCONF: ConfType;\n }\n}\n\nexport interface ConfType {\n /**\n * When a {@linkcode GodownElement} element is created, assign to the element.\n */\n assign: null | Record<string, any>;\n /**\n * CSS variable prefix, without `--`.\n */\n cssvar: string;\n /**\n * Mapping of element names to constructors.\n */\n classMap: Accessor<string, CustomElementConstructor>;\n /**\n * Mapping of element names.\n */\n nameMap: Accessor<string, string>;\n /**\n * Reflect to globalThis.\n */\n reflect: boolean;\n /**\n * Name prefix.\n */\n prefix: string;\n /**\n * Name suffix.\n */\n suffix: string;\n /**\n *\n * @param origin\n * @returns Name to define.\n * If the name is not in {@linkcode ConfType.nameMap},\n * the name is {@linkcode ConfType.prefix} + `origin` + {@linkcode ConfType.tag.suffix}.\n */\n tag: (origin: string) => string;\n /**\n * Define a Element.\n *\n * @param name Define name.\n * @param constructor Custom element constructor.\n * @param options Element definition options.\n */\n define: (name: string | void, constructor: CustomElementConstructor, options?: ElementDefinitionOptions) => void;\n}\n\nexport interface GetSet<K, V> {\n get: (key: K) => V;\n set(key: K, value: V): void;\n}\n\nexport type Accessor<K, V> = GetSet<K, V> | (K extends PropertyKey ? GetSet<K, V> & Record<K, V> : never);\n"]}
1
+ {"version":3,"file":"conf.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["conf.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,aAAa,GAAa;IAC9B,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,IAAI,GAAG,EAAE;IACnB,OAAO,EAAE,IAAI,GAAG,EAAE;IAClB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,EAAE;IACV,MAAM,EAAE,EAAE;IACV,GAAG,CAAC,MAAc;QAChB,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC;QACtD,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,MAAM,CAAC,IAAY,EAAE,WAAqC,EAAE,OAAkC;QAC5F,IAAI,KAAK,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;QAC5E,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3D,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;YACvD,OAAO;QACT,CAAC;QACD,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAC/B,WAAoC,CAAC,cAAc,GAAG,OAAO,CAAC;QAC/D,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QACxC,cAAc,CAAC,MAAM,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAa,IAAI,CAAC,UAAU,CAAC,uBAAuB,EAAE,aAAa,CAAC,CAAC;AAEtF,MAAM,UAAU,IAAI,CAAC,MAAyB,EAAE,SAAmB,IAAI;IACrE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;QACnB,yBAAyB;QACzB,UAAU,CAAC,uBAAuB,GAAG,MAAM,CAAC;IAC9C,CAAC;SAAM,CAAC;QACN,IAAI,CAAC;YACH,OAAO,UAAU,CAAC,uBAAuB,CAAC;QAC5C,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,WAAW;QACb,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,MAAkC;IAC7D,OAAO,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC;AAED,eAAe,IAAI,CAAC","sourcesContent":["import type GodownElement from \"./godown-element\";\nimport naming from \"./naming\";\n\nconst defaultConfig: ConfType = {\n assign: null,\n cssvar: \"godown\",\n classMap: new Map(),\n nameMap: new Map(),\n naming: \"latest\",\n reflect: false,\n prefix: \"\",\n suffix: \"\",\n tag(origin: string) {\n if (this.naming) {\n origin = naming[this.naming]?.get(origin) || origin;\n }\n return origin;\n },\n define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions) {\n name ||= constructor.name.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\n const tagName = this.prefix + this.tag(name) + this.suffix;\n if (!tagName.includes(\"-\") || customElements.get(name)) {\n return;\n }\n this.nameMap.set(name, tagName);\n (constructor as typeof GodownElement).elementTagName = tagName;\n conf.classMap.set(tagName, constructor);\n customElements.define(tagName, constructor, options);\n },\n};\n\nexport const conf: ConfType = init(globalThis.GodownWebComponentsCONF, defaultConfig);\n\nexport function init(config: Partial<ConfType>, source: ConfType = conf): ConfType {\n Object.assign(source, config);\n if (source.reflect) {\n // Reflect to globalThis.\n globalThis.GodownWebComponentsCONF = source;\n } else {\n try {\n delete globalThis.GodownWebComponentsCONF;\n } catch (e) {\n /* empty */\n }\n }\n return source;\n}\n\nexport function defineConfig(config: Parameters<typeof init>[0]): ConfType {\n return init(config, conf);\n}\n\nexport default conf;\n\ndeclare global {\n interface globalThis {\n GodownWebComponentsCONF: ConfType;\n }\n interface DocumentEventMap {\n \"godown-define\": DefineEvent;\n }\n}\n\nexport interface ConfType {\n /**\n * When a {@linkcode GodownElement} element is created, assign to the element.\n */\n assign: null | Record<string, any>;\n /**\n * CSS variable prefix, without `--`.\n */\n cssvar: string;\n /**\n * Mapping of element names to constructors.\n */\n classMap: Accessor<string, CustomElementConstructor>;\n /**\n * Mapping of element names.\n */\n nameMap: Accessor<string, string>;\n naming: \"\" | keyof typeof naming;\n /**\n * Reflect to globalThis.\n */\n reflect: boolean;\n /**\n * Name prefix.\n */\n prefix: string;\n /**\n * Name suffix.\n */\n suffix: string;\n /**\n *\n * @param origin\n * @returns Name to define.\n * If the name is not in {@linkcode ConfType.nameMap},\n * the name is {@linkcode ConfType.prefix} + `origin` + {@linkcode ConfType.tag.suffix}.\n */\n tag: (origin: string) => string;\n /**\n * Define a Element.\n *\n * @param name Define name.\n * @param constructor Custom element constructor.\n * @param options Element definition options.\n */\n define: (name: string | void, constructor: CustomElementConstructor, options?: ElementDefinitionOptions) => void;\n}\n\nexport interface DefineEvent {\n detail: {\n name: string;\n constructor: typeof GodownElement;\n options?: ElementDefinitionOptions;\n };\n}\n\nexport interface GetSet<K, V> {\n get: (key: K) => V;\n set(key: K, value: V): void;\n}\n\nexport type MixedRecord<K, V, M> = M | (K extends PropertyKey ? M & Record<K, V> : never);\nexport type SetAccessor<K = string, V = string | undefined> = MixedRecord<K, V, { set(key: K, value: V): void }>;\nexport type GetAccessor<K = string, V = string | undefined> = MixedRecord<K, V, { get: (key: K) => V }>;\nexport type Accessor<K = string, V = string | undefined> = GetAccessor<K, V> & SetAccessor<K, V>;\n"]}
@@ -0,0 +1,7 @@
1
+ import type GodownElement from "../godown-element.js";
2
+ /**
3
+ * Define a custom element.
4
+ * @param name Name for the new custom element.
5
+ */
6
+ export declare const define: (name?: string, options?: any) => (constructor: CustomElementConstructor | typeof GodownElement) => void;
7
+ //# sourceMappingURL=define.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"define.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["decorators/define.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,MAAM,UACT,MAAM,YAAY,GAAG,mBAEf,wBAAwB,GAAG,oBAAoB,SAE5D,CAAC"}
@@ -0,0 +1,11 @@
1
+ import conf from "../conf.js";
2
+ /**
3
+ * Define a custom element.
4
+ * @param name Name for the new custom element.
5
+ */
6
+ export const define = (name, options) =>
7
+ //
8
+ (constructor) => {
9
+ conf.define(name, constructor, options);
10
+ };
11
+ //# sourceMappingURL=define.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"define.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["decorators/define.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,YAAY,CAAC;AAG9B;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GACjB,CAAC,IAAa,EAAE,OAAa,EAAE,EAAE;AACjC,EAAE;AACF,CAAC,WAA4D,EAAE,EAAE;IAC/D,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;AAC1C,CAAC,CAAC","sourcesContent":["import conf from \"../conf.js\";\nimport type GodownElement from \"../godown-element.js\";\n\n/**\n * Define a custom element.\n * @param name Name for the new custom element.\n */\nexport const define =\n (name?: string, options?: any) =>\n //\n (constructor: CustomElementConstructor | typeof GodownElement) => {\n conf.define(name, constructor, options);\n };\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"details-group.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["details-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC","sourcesContent":["export { default } from \"./web-components/group/details-group.js\";"]}
1
+ {"version":3,"file":"details-group.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["details-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC","sourcesContent":["export { default } from \"./web-components/group/details-group.js\";\n"]}
package/details.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/details/details.js";
2
+ //# sourceMappingURL=details.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"details.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["details.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC"}
package/details.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/details/details.js";
2
+ //# sourceMappingURL=details.js.map
package/details.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"details.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["details.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC","sourcesContent":["export { default } from \"./web-components/details/details.js\";\n"]}
package/dialog.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/dialog/dialog.js";
2
+ //# sourceMappingURL=dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC"}
package/dialog.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/dialog/dialog.js";
2
+ //# sourceMappingURL=dialog.js.map
package/dialog.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC","sourcesContent":["export { default } from \"./web-components/dialog/dialog.js\";\n"]}
package/divider.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/layout/divider.js";
2
+ //# sourceMappingURL=divider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"divider.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["divider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC"}
package/divider.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/layout/divider.js";
2
+ //# sourceMappingURL=divider.js.map
package/divider.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"divider.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["divider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC","sourcesContent":["export { default } from \"./web-components/layout/divider.js\";\n"]}
package/dragbox.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/wrapper/dragbox.js";
2
+ //# sourceMappingURL=dragbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dragbox.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["dragbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC"}
package/dragbox.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/wrapper/dragbox.js";
2
+ //# sourceMappingURL=dragbox.js.map
package/dragbox.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dragbox.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["dragbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC","sourcesContent":["export { default } from \"./web-components/wrapper/dragbox.js\";\n"]}
package/flex-flow.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"flex-flow.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["flex-flow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC","sourcesContent":["export { default } from \"./web-components/layout/flex-flow.js\";"]}
1
+ {"version":3,"file":"flex-flow.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["flex-flow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC","sourcesContent":["export { default } from \"./web-components/layout/flex-flow.js\";\n"]}
package/form.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/form/form.js";
2
+ //# sourceMappingURL=form.d.ts.map
package/form.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC"}
package/form.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/form/form.js";
2
+ //# sourceMappingURL=form.js.map