atomicuilibrary 0.0.1 → 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 (395) hide show
  1. package/dist/cjs/category-section.cjs.entry.js +1 -1
  2. package/dist/cjs/exploration-project-tailwind.cjs.js +1 -1
  3. package/dist/cjs/layout-manager.cjs.entry.js +1 -1
  4. package/dist/cjs/library-card.cjs.entry.js +1 -1
  5. package/dist/cjs/lm-container_2.cjs.entry.js +1 -1
  6. package/dist/cjs/lm-panel_3.cjs.entry.js +4 -4
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/my-step.cjs.entry.js +1 -1
  9. package/dist/cjs/nav-bar.cjs.entry.js +2 -2
  10. package/dist/cjs/{security-E1JcwxGc.js → security-CNaNip8F.js} +88 -154
  11. package/dist/cjs/smart-step.cjs.entry.js +2 -2
  12. package/dist/cjs/timeline-item.cjs.entry.js +1 -1
  13. package/dist/cjs/{ui-accordion_10.cjs.entry.js → ui-accordion_11.cjs.entry.js} +613 -26
  14. package/dist/cjs/ui-advanced-data-table.cjs.entry.js +1 -1
  15. package/dist/cjs/ui-anchor.cjs.entry.js +1 -1
  16. package/dist/cjs/ui-aside-panel.cjs.entry.js +5 -5
  17. package/dist/cjs/ui-avatar-group_3.cjs.entry.js +5 -5
  18. package/dist/cjs/ui-callout-banner.cjs.entry.js +1 -1
  19. package/dist/cjs/ui-card.cjs.entry.js +26 -4
  20. package/dist/cjs/ui-checkbox.cjs.entry.js +2 -2
  21. package/dist/cjs/ui-code-editor.cjs.entry.js +2 -2
  22. package/dist/cjs/ui-code-preview.cjs.entry.js +1 -1
  23. package/dist/cjs/ui-color-controller.cjs.entry.js +1 -1
  24. package/dist/cjs/ui-dialog-box.cjs.entry.js +1 -1
  25. package/dist/cjs/ui-dock-host.cjs.entry.js +3 -3
  26. package/dist/cjs/ui-drag-drop.cjs.entry.js +1 -1
  27. package/dist/cjs/ui-empty-state.cjs.entry.js +1 -1
  28. package/dist/cjs/ui-fab-item.cjs.entry.js +1 -1
  29. package/dist/cjs/ui-fab.cjs.entry.js +2 -2
  30. package/dist/cjs/ui-library.cjs.entry.js +1 -1
  31. package/dist/cjs/ui-list-group_2.cjs.entry.js +9 -5
  32. package/dist/cjs/ui-list.cjs.entry.js +4 -4
  33. package/dist/cjs/ui-navigation-item.cjs.entry.js +3 -3
  34. package/dist/cjs/ui-otp-input.cjs.entry.js +2 -2
  35. package/dist/cjs/{ui-pagination_3.cjs.entry.js → ui-pagination_4.cjs.entry.js} +202 -0
  36. package/dist/cjs/ui-pattern-input.cjs.entry.js +5 -5
  37. package/dist/cjs/ui-popover.cjs.entry.js +1 -1
  38. package/dist/cjs/ui-progress.cjs.entry.js +101 -17
  39. package/dist/cjs/ui-resizable-panel.cjs.entry.js +1 -1
  40. package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +2 -2
  41. package/dist/cjs/ui-smart-stepper.cjs.entry.js +1 -1
  42. package/dist/cjs/ui-snackbar.cjs.entry.js +1 -1
  43. package/dist/cjs/ui-step.cjs.entry.js +1 -1
  44. package/dist/cjs/ui-stepper.cjs.entry.js +1 -1
  45. package/dist/cjs/ui-switch.cjs.entry.js +9 -9
  46. package/dist/cjs/ui-tabs.cjs.entry.js +1 -1
  47. package/dist/cjs/ui-timeline.cjs.entry.js +1 -1
  48. package/dist/cjs/ui-toolbar.cjs.entry.js +1 -1
  49. package/dist/cjs/ui-tooltip.cjs.entry.js +4 -4
  50. package/dist/cjs/ui-transfer-list.cjs.entry.js +1 -1
  51. package/dist/cjs/ui-workspace-manager.cjs.entry.js +1 -1
  52. package/dist/collection/assets/js/demo-loader.js +0 -1
  53. package/dist/collection/assets/js/demos/accordion-demo.js +189 -0
  54. package/dist/collection/assets/js/demos/advanced-data-table-demo.js +213 -214
  55. package/dist/collection/assets/js/demos/aside-panel-demo.js +6 -6
  56. package/dist/collection/assets/js/demos/button-demo.js +60 -1
  57. package/dist/collection/assets/js/demos/callout-banner-demo.js +324 -34
  58. package/dist/collection/assets/js/demos/card-demo.js +108 -61
  59. package/dist/collection/assets/js/demos/context-menu-demo.js +433 -12
  60. package/dist/collection/assets/js/demos/dock-demo.js +80 -60
  61. package/dist/collection/assets/js/demos/documentation-demo.js +227 -22
  62. package/dist/collection/assets/js/demos/empty-state-demo.js +10 -10
  63. package/dist/collection/assets/js/demos/list-demo.js +41 -18
  64. package/dist/collection/assets/js/demos/masonry-demo.js +164 -0
  65. package/dist/collection/assets/js/demos/progress-demo.js +701 -8
  66. package/dist/collection/assets/js/demos/radio-demo.js +1 -1
  67. package/dist/collection/assets/js/demos/splitter-demo.js +137 -0
  68. package/dist/collection/assets/js/demos/tag-demo.js +48 -18
  69. package/dist/collection/assets/js/demos/timeline-demo.js +20 -7
  70. package/dist/collection/assets/js/demos/tooltip-demo.js +26 -26
  71. package/dist/collection/assets/js/demos/tree-demo.js +28 -10
  72. package/dist/collection/collection-manifest.json +1 -4
  73. package/dist/collection/components/accordion/accordion.css +301 -0
  74. package/dist/collection/components/accordion/accordion.js +40 -8
  75. package/dist/collection/components/advanced-data-table/advanced-data-table.css +19 -5
  76. package/dist/collection/components/anchor/anchor.css +0 -2
  77. package/dist/collection/components/aside-panel/aside-panel.css +1 -3
  78. package/dist/collection/components/aside-panel/aside-panel.js +5 -5
  79. package/dist/collection/components/avatar/avatar.js +1 -1
  80. package/dist/collection/components/badge/badge.css +1 -0
  81. package/dist/collection/components/badge/badge.js +1 -1
  82. package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
  83. package/dist/collection/components/button/button.css +131 -0
  84. package/dist/collection/components/button/button.js +128 -9
  85. package/dist/collection/components/card/card.css +83 -31
  86. package/dist/collection/components/card/card.js +46 -3
  87. package/dist/collection/components/checkbox/checkbox.css +8 -10
  88. package/dist/collection/components/checkbox/checkbox.js +2 -2
  89. package/dist/collection/components/code-editor/code-editor.js +1 -1
  90. package/dist/collection/components/code-preview/ui-code-preview.js +1 -1
  91. package/dist/collection/components/color-controller/color-controller.js +1 -1
  92. package/dist/collection/components/context-menu/context-menu.css +3 -3
  93. package/dist/collection/components/dialog-box/dialog-box.js +1 -1
  94. package/dist/collection/components/dialog-header/dialog-header.js +1 -1
  95. package/dist/collection/components/dock-host/ui-dock-host.js +3 -3
  96. package/dist/collection/components/drag-drop/drag-drop.js +1 -1
  97. package/dist/collection/components/empty-state/empty-state.js +1 -1
  98. package/dist/collection/components/fab/fab.js +2 -2
  99. package/dist/collection/components/fab-item/fab-item.js +1 -1
  100. package/dist/collection/components/horizontal-nav/horizontal-nav.js +2 -2
  101. package/dist/collection/components/icon/icon.js +1 -1
  102. package/dist/collection/components/input/input.js +4 -4
  103. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  104. package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +1 -1
  105. package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +1 -1
  106. package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +1 -1
  107. package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +1 -1
  108. package/dist/collection/components/library/category-section.js +1 -1
  109. package/dist/collection/components/library/library-card.js +1 -1
  110. package/dist/collection/components/library/library.js +1 -1
  111. package/dist/collection/components/list/list.js +4 -4
  112. package/dist/collection/components/list-item/list-item.css +24 -0
  113. package/dist/collection/components/list-item/list-item.js +35 -4
  114. package/dist/collection/components/loader/loader.css +1635 -0
  115. package/dist/collection/components/loader/loader.js +1120 -0
  116. package/dist/collection/components/my-step/my-step.js +1 -1
  117. package/dist/collection/components/nav-bar/nav-bar.js +6 -6
  118. package/dist/collection/components/otp-input/otp-input.js +2 -2
  119. package/dist/collection/components/pattern-input/pattern-input.js +5 -5
  120. package/dist/collection/components/progress/progress.css +150 -15
  121. package/dist/collection/components/progress/progress.js +180 -18
  122. package/dist/collection/components/radio/radio.css +3 -3
  123. package/dist/collection/components/radio/radio.js +1 -1
  124. package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
  125. package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +2 -2
  126. package/dist/collection/components/smart-stepper/smart-step.js +2 -2
  127. package/dist/collection/components/smart-stepper/smart-stepper.js +1 -1
  128. package/dist/collection/components/snackbar/snackbar.js +1 -1
  129. package/dist/collection/components/speed-dial/speed-dial.js +1 -1
  130. package/dist/collection/components/stack/stack.js +2 -2
  131. package/dist/collection/components/step/step.js +1 -1
  132. package/dist/collection/components/switch/switch.js +10 -10
  133. package/dist/collection/components/tag-group/tag-group.js +2 -2
  134. package/dist/collection/components/timeline-item/timeline-item.js +1 -1
  135. package/dist/collection/components/toolbar/toolbar.js +1 -1
  136. package/dist/collection/components/tooltip/tooltip.js +3 -3
  137. package/dist/collection/components/top-bar/top-bar.js +2 -2
  138. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +19 -4
  139. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +6 -6
  140. package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
  141. package/dist/collection/components.js +1 -0
  142. package/dist/components/avatar-group.js +1 -1
  143. package/dist/components/avatar.js +1 -1
  144. package/dist/components/badge.js +1 -1
  145. package/dist/components/button-toggle.js +1 -1
  146. package/dist/components/category-section2.js +1 -1
  147. package/dist/components/checkbox.js +1 -1
  148. package/dist/components/context-menu.js +1 -1
  149. package/dist/components/dialog-header.js +1 -1
  150. package/dist/components/dropdown.js +1 -1
  151. package/dist/components/icon.js +2 -2
  152. package/dist/components/input.js +1 -1
  153. package/dist/components/layout-manager.js +1 -1
  154. package/dist/components/library-card2.js +1 -1
  155. package/dist/components/list-group.js +1 -1
  156. package/dist/components/list-item.js +1 -1
  157. package/dist/components/lm-container2.js +1 -1
  158. package/dist/components/lm-floating-window2.js +1 -1
  159. package/dist/components/lm-panel2.js +1 -1
  160. package/dist/components/lm-splitter2.js +1 -1
  161. package/dist/components/lm-tabs2.js +1 -1
  162. package/dist/components/loader.js +1 -0
  163. package/dist/components/my-step.js +1 -1
  164. package/dist/components/nav-bar.js +1 -1
  165. package/dist/components/pagination.js +1 -1
  166. package/dist/components/radio.js +1 -1
  167. package/dist/components/range-slider.js +1 -1
  168. package/dist/components/rating.js +1 -1
  169. package/dist/components/resizable-panel.js +1 -1
  170. package/dist/components/skeleton-loader.js +1 -1
  171. package/dist/components/smart-step.js +1 -1
  172. package/dist/components/stack.js +1 -1
  173. package/dist/components/switch.js +1 -1
  174. package/dist/components/tag-group.js +1 -1
  175. package/dist/components/tag.js +1 -1
  176. package/dist/components/timeline-item.js +1 -1
  177. package/dist/components/toggle-group.js +1 -1
  178. package/dist/components/tooltip.js +1 -1
  179. package/dist/components/ui-accordion.js +1 -1
  180. package/dist/components/ui-advanced-data-table.js +1 -1
  181. package/dist/components/ui-anchor.js +1 -1
  182. package/dist/components/ui-aside-panel.js +1 -1
  183. package/dist/components/ui-breadcrumb-item.js +1 -1
  184. package/dist/components/ui-breadcrumb.js +1 -1
  185. package/dist/components/ui-button-toggle-group.js +1 -1
  186. package/dist/components/ui-callout-banner.js +1 -1
  187. package/dist/components/ui-card.js +1 -1
  188. package/dist/components/ui-carousel.js +1 -1
  189. package/dist/components/ui-code-editor.js +1 -1
  190. package/dist/components/ui-code-preview.js +1 -1
  191. package/dist/components/ui-color-controller.js +1 -1
  192. package/dist/components/ui-color-picker.js +1 -1
  193. package/dist/components/ui-command-palette.js +1 -1
  194. package/dist/components/ui-dialog-box.js +1 -1
  195. package/dist/components/ui-divider.js +1 -1
  196. package/dist/components/ui-dock-host.js +1 -1
  197. package/dist/components/ui-dock.js +1 -1
  198. package/dist/components/ui-drag-drop.js +1 -1
  199. package/dist/components/ui-empty-state.js +1 -1
  200. package/dist/components/ui-fab-item.js +1 -1
  201. package/dist/components/ui-fab.js +1 -1
  202. package/dist/components/ui-file-upload.js +1 -1
  203. package/dist/components/ui-horizontal-nav.js +1 -1
  204. package/dist/components/ui-knob.js +1 -1
  205. package/dist/components/ui-library.js +1 -1
  206. package/dist/components/ui-list.js +1 -1
  207. package/dist/components/{ui-input-pair.d.ts → ui-loader.d.ts} +4 -4
  208. package/dist/components/ui-loader.js +1 -0
  209. package/dist/components/ui-masonry.js +1 -1
  210. package/dist/components/ui-meter-group.js +1 -1
  211. package/dist/components/ui-navigation-bar.js +1 -1
  212. package/dist/components/ui-navigation-item.js +1 -1
  213. package/dist/components/ui-number-input.js +1 -1
  214. package/dist/components/ui-otp-input.js +1 -1
  215. package/dist/components/ui-panel.js +1 -1
  216. package/dist/components/ui-pattern-input.js +1 -1
  217. package/dist/components/ui-popover.js +1 -1
  218. package/dist/components/ui-progress.js +1 -1
  219. package/dist/components/ui-scroll-top.js +1 -1
  220. package/dist/components/ui-smart-context-menu.js +1 -1
  221. package/dist/components/ui-smart-location-dropdown.js +1 -1
  222. package/dist/components/ui-smart-stepper.js +1 -1
  223. package/dist/components/ui-snackbar.js +1 -1
  224. package/dist/components/ui-speed-dial.js +1 -1
  225. package/dist/components/ui-splitter.js +1 -1
  226. package/dist/components/ui-step.js +1 -1
  227. package/dist/components/ui-stepper.js +1 -1
  228. package/dist/components/ui-tabs.js +1 -1
  229. package/dist/components/ui-timeline.js +1 -1
  230. package/dist/components/ui-timer.js +1 -1
  231. package/dist/components/ui-toolbar.js +1 -1
  232. package/dist/components/ui-top-bar.js +1 -1
  233. package/dist/components/ui-transfer-list.js +1 -1
  234. package/dist/components/ui-tree.js +1 -1
  235. package/dist/components/ui-workspace-manager.js +1 -1
  236. package/dist/esm/category-section.entry.js +1 -1
  237. package/dist/esm/exploration-project-tailwind.js +1 -1
  238. package/dist/esm/layout-manager.entry.js +1 -1
  239. package/dist/esm/library-card.entry.js +1 -1
  240. package/dist/esm/lm-container_2.entry.js +1 -1
  241. package/dist/esm/lm-panel_3.entry.js +4 -4
  242. package/dist/esm/loader.js +1 -1
  243. package/dist/esm/my-step.entry.js +1 -1
  244. package/dist/esm/nav-bar.entry.js +2 -2
  245. package/dist/esm/{security-D2WzX6vR.js → security-Dyu3Nplq.js} +88 -154
  246. package/dist/esm/smart-step.entry.js +2 -2
  247. package/dist/esm/timeline-item.entry.js +1 -1
  248. package/dist/esm/{ui-accordion_10.entry.js → ui-accordion_11.entry.js} +613 -27
  249. package/dist/esm/ui-advanced-data-table.entry.js +1 -1
  250. package/dist/esm/ui-anchor.entry.js +1 -1
  251. package/dist/esm/ui-aside-panel.entry.js +5 -5
  252. package/dist/esm/ui-avatar-group_3.entry.js +5 -5
  253. package/dist/esm/ui-callout-banner.entry.js +1 -1
  254. package/dist/esm/ui-card.entry.js +26 -4
  255. package/dist/esm/ui-checkbox.entry.js +2 -2
  256. package/dist/esm/ui-code-editor.entry.js +2 -2
  257. package/dist/esm/ui-code-preview.entry.js +1 -1
  258. package/dist/esm/ui-color-controller.entry.js +1 -1
  259. package/dist/esm/ui-dialog-box.entry.js +1 -1
  260. package/dist/esm/ui-dock-host.entry.js +3 -3
  261. package/dist/esm/ui-drag-drop.entry.js +1 -1
  262. package/dist/esm/ui-empty-state.entry.js +1 -1
  263. package/dist/esm/ui-fab-item.entry.js +1 -1
  264. package/dist/esm/ui-fab.entry.js +2 -2
  265. package/dist/esm/ui-library.entry.js +1 -1
  266. package/dist/esm/ui-list-group_2.entry.js +9 -5
  267. package/dist/esm/ui-list.entry.js +4 -4
  268. package/dist/esm/ui-navigation-item.entry.js +3 -3
  269. package/dist/esm/ui-otp-input.entry.js +2 -2
  270. package/dist/esm/{ui-pagination_3.entry.js → ui-pagination_4.entry.js} +202 -1
  271. package/dist/esm/ui-pattern-input.entry.js +5 -5
  272. package/dist/esm/ui-popover.entry.js +1 -1
  273. package/dist/esm/ui-progress.entry.js +101 -17
  274. package/dist/esm/ui-resizable-panel.entry.js +1 -1
  275. package/dist/esm/ui-smart-location-dropdown.entry.js +2 -2
  276. package/dist/esm/ui-smart-stepper.entry.js +1 -1
  277. package/dist/esm/ui-snackbar.entry.js +1 -1
  278. package/dist/esm/ui-step.entry.js +1 -1
  279. package/dist/esm/ui-stepper.entry.js +1 -1
  280. package/dist/esm/ui-switch.entry.js +9 -9
  281. package/dist/esm/ui-tabs.entry.js +1 -1
  282. package/dist/esm/ui-timeline.entry.js +1 -1
  283. package/dist/esm/ui-toolbar.entry.js +1 -1
  284. package/dist/esm/ui-tooltip.entry.js +4 -4
  285. package/dist/esm/ui-transfer-list.entry.js +1 -1
  286. package/dist/esm/ui-workspace-manager.entry.js +1 -1
  287. package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
  288. package/dist/exploration-project-tailwind/{p-c7e87fbb.entry.js → p-036d2a44.entry.js} +1 -1
  289. package/dist/exploration-project-tailwind/{p-62352ef2.entry.js → p-05a436d3.entry.js} +1 -1
  290. package/dist/exploration-project-tailwind/{p-a4f52a76.entry.js → p-16bdd162.entry.js} +1 -1
  291. package/dist/exploration-project-tailwind/{p-85bf89fd.entry.js → p-20ecc116.entry.js} +1 -1
  292. package/dist/exploration-project-tailwind/p-2347d21b.entry.js +1 -0
  293. package/dist/exploration-project-tailwind/p-3d381f75.entry.js +1 -0
  294. package/dist/exploration-project-tailwind/{p-e5322e59.entry.js → p-4288c158.entry.js} +1 -1
  295. package/dist/exploration-project-tailwind/{p-2f1aebb3.entry.js → p-4417a9d8.entry.js} +1 -1
  296. package/dist/exploration-project-tailwind/{p-049744f9.entry.js → p-44742ddd.entry.js} +1 -1
  297. package/dist/exploration-project-tailwind/{p-73d29a4a.entry.js → p-4aaa8e40.entry.js} +1 -1
  298. package/dist/exploration-project-tailwind/{p-6fa9dc15.entry.js → p-4bef8bed.entry.js} +1 -1
  299. package/dist/exploration-project-tailwind/{p-64e3a484.entry.js → p-4efd63ce.entry.js} +1 -1
  300. package/dist/exploration-project-tailwind/{p-c5ddc817.entry.js → p-54965530.entry.js} +1 -1
  301. package/dist/exploration-project-tailwind/p-5c835d90.entry.js +1 -0
  302. package/dist/exploration-project-tailwind/{p-4de419d5.entry.js → p-6b838549.entry.js} +1 -1
  303. package/dist/exploration-project-tailwind/{p-c174a372.entry.js → p-6ddbee42.entry.js} +1 -1
  304. package/dist/exploration-project-tailwind/{p-7515b1e3.entry.js → p-70bacda8.entry.js} +1 -1
  305. package/dist/exploration-project-tailwind/{p-9fa70359.entry.js → p-71d95bb1.entry.js} +1 -1
  306. package/dist/exploration-project-tailwind/{p-2d273118.entry.js → p-7889bfc4.entry.js} +1 -1
  307. package/dist/exploration-project-tailwind/{p-0b004861.entry.js → p-790556f0.entry.js} +1 -1
  308. package/dist/exploration-project-tailwind/{p-f5719913.entry.js → p-7ba2258a.entry.js} +1 -1
  309. package/dist/exploration-project-tailwind/{p-81961fb1.entry.js → p-81ebba11.entry.js} +1 -1
  310. package/dist/exploration-project-tailwind/{p-5e3e80ae.entry.js → p-8578b616.entry.js} +1 -1
  311. package/dist/exploration-project-tailwind/{p-3d3d48fd.entry.js → p-8b57fe4e.entry.js} +1 -1
  312. package/dist/exploration-project-tailwind/{p-ffb1754a.entry.js → p-97af03cc.entry.js} +1 -1
  313. package/dist/exploration-project-tailwind/{p-f0830120.entry.js → p-98e91da5.entry.js} +1 -1
  314. package/dist/exploration-project-tailwind/{p-d2308a00.entry.js → p-9bd14f69.entry.js} +1 -1
  315. package/dist/exploration-project-tailwind/p-Dyu3Nplq.js +2 -0
  316. package/dist/exploration-project-tailwind/{p-ba21fed3.entry.js → p-a27f59d2.entry.js} +1 -1
  317. package/dist/exploration-project-tailwind/{p-70d82d79.entry.js → p-a7b07cf4.entry.js} +1 -1
  318. package/dist/exploration-project-tailwind/{p-5508874f.entry.js → p-bd89d060.entry.js} +1 -1
  319. package/dist/exploration-project-tailwind/{p-9d0c8760.entry.js → p-c02284ea.entry.js} +1 -1
  320. package/dist/exploration-project-tailwind/{p-d419eaf0.entry.js → p-c1c8ac28.entry.js} +1 -1
  321. package/dist/exploration-project-tailwind/p-c63c522e.entry.js +1 -0
  322. package/dist/exploration-project-tailwind/{p-c90722ec.entry.js → p-cbee2607.entry.js} +1 -1
  323. package/dist/exploration-project-tailwind/{p-287dbf09.entry.js → p-d114a347.entry.js} +1 -1
  324. package/dist/exploration-project-tailwind/{p-8d951aef.entry.js → p-d2e45c5e.entry.js} +1 -1
  325. package/dist/exploration-project-tailwind/{p-77cc333a.entry.js → p-d59da767.entry.js} +1 -1
  326. package/dist/exploration-project-tailwind/{p-46596a28.entry.js → p-d6ce9721.entry.js} +1 -1
  327. package/dist/exploration-project-tailwind/{p-875be805.entry.js → p-dc92a343.entry.js} +1 -1
  328. package/dist/exploration-project-tailwind/{p-4f6bba75.entry.js → p-e22317c1.entry.js} +1 -1
  329. package/dist/exploration-project-tailwind/{p-d16c9635.entry.js → p-e76318c7.entry.js} +1 -1
  330. package/dist/exploration-project-tailwind/p-e8c6d395.entry.js +1 -0
  331. package/dist/exploration-project-tailwind/{p-c2ca71ac.entry.js → p-eab5ad36.entry.js} +1 -1
  332. package/dist/exploration-project-tailwind/p-f0bc5d7e.entry.js +1 -0
  333. package/dist/exploration-project-tailwind/p-f1beee72.entry.js +1 -0
  334. package/dist/exploration-project-tailwind/p-f543392f.entry.js +1 -0
  335. package/dist/exploration-project-tailwind/{p-46efdea3.entry.js → p-f61cfb7c.entry.js} +1 -1
  336. package/dist/exploration-project-tailwind/{p-77124686.entry.js → p-fb4aca69.entry.js} +1 -1
  337. package/dist/types/components/accordion/accordion.d.ts +10 -2
  338. package/dist/types/components/button/button.d.ts +9 -0
  339. package/dist/types/components/card/card.d.ts +4 -0
  340. package/dist/types/components/list-item/list-item.d.ts +1 -0
  341. package/dist/types/components/loader/loader.d.ts +145 -0
  342. package/dist/types/components/progress/progress.d.ts +34 -2
  343. package/dist/types/components.d.ts +509 -993
  344. package/dist/types/types/common.d.ts +1 -1
  345. package/dist/types/types/common.type.d.ts +1 -1
  346. package/package.json +8 -7
  347. package/dist/cjs/ui-checkbox-group.cjs.entry.js +0 -330
  348. package/dist/cjs/ui-image-button.cjs.entry.js +0 -67
  349. package/dist/cjs/ui-input-pair.cjs.entry.js +0 -44
  350. package/dist/cjs/ui-radio-group.cjs.entry.js +0 -205
  351. package/dist/cjs/ui-radio.cjs.entry.js +0 -206
  352. package/dist/collection/components/checkbox-group/checkbox-group.css +0 -223
  353. package/dist/collection/components/checkbox-group/checkbox-group.js +0 -1001
  354. package/dist/collection/components/checkbox-group/types.js +0 -1
  355. package/dist/collection/components/image-button/image-button.css +0 -154
  356. package/dist/collection/components/image-button/image-button.js +0 -310
  357. package/dist/collection/components/image-button/types.js +0 -1
  358. package/dist/collection/components/input-pair/input-pair.css +0 -72
  359. package/dist/collection/components/input-pair/input-pair.js +0 -309
  360. package/dist/collection/components/radio-group/radio-group.css +0 -202
  361. package/dist/collection/components/radio-group/radio-group.js +0 -903
  362. package/dist/collection/components/radio-group/types.js +0 -1
  363. package/dist/components/ui-checkbox-group.d.ts +0 -11
  364. package/dist/components/ui-checkbox-group.js +0 -1
  365. package/dist/components/ui-image-button.d.ts +0 -11
  366. package/dist/components/ui-image-button.js +0 -1
  367. package/dist/components/ui-input-pair.js +0 -1
  368. package/dist/components/ui-radio-group.d.ts +0 -11
  369. package/dist/components/ui-radio-group.js +0 -1
  370. package/dist/esm/ui-checkbox-group.entry.js +0 -328
  371. package/dist/esm/ui-image-button.entry.js +0 -65
  372. package/dist/esm/ui-input-pair.entry.js +0 -42
  373. package/dist/esm/ui-radio-group.entry.js +0 -203
  374. package/dist/esm/ui-radio.entry.js +0 -204
  375. package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +0 -1
  376. package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +0 -1
  377. package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +0 -1
  378. package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +0 -1
  379. package/dist/exploration-project-tailwind/p-7376ac95.entry.js +0 -1
  380. package/dist/exploration-project-tailwind/p-77a21491.entry.js +0 -1
  381. package/dist/exploration-project-tailwind/p-7f91d949.entry.js +0 -1
  382. package/dist/exploration-project-tailwind/p-807c6555.entry.js +0 -1
  383. package/dist/exploration-project-tailwind/p-D2WzX6vR.js +0 -2
  384. package/dist/exploration-project-tailwind/p-ab752761.entry.js +0 -1
  385. package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +0 -1
  386. package/dist/exploration-project-tailwind/p-e90d5307.entry.js +0 -1
  387. package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +0 -1
  388. package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +0 -1
  389. package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -87
  390. package/dist/types/components/checkbox-group/types.d.ts +0 -8
  391. package/dist/types/components/image-button/image-button.d.ts +0 -31
  392. package/dist/types/components/image-button/types.d.ts +0 -1
  393. package/dist/types/components/input-pair/input-pair.d.ts +0 -28
  394. package/dist/types/components/radio-group/radio-group.d.ts +0 -74
  395. package/dist/types/components/radio-group/types.d.ts +0 -2
@@ -34,28 +34,27 @@ export function initDockDemo() {
34
34
  const container = document.getElementById('dockDemoContainer');
35
35
  if (!container) return;
36
36
 
37
- const items = JSON.stringify([
38
- { id: 'finder', label: 'Finder', icon: 'smile' },
39
- { id: 'mail', label: 'Mail', icon: 'mail' },
40
- { id: 'browser', label: 'Browser', icon: 'globe' },
41
- { id: 'music', label: 'Music', icon: 'music' },
42
- { id: 'photos', label: 'Photos', icon: 'image' },
43
- { id: 'settings', label: 'Settings', icon: 'settings' },
44
- ]);
45
-
46
37
  container.innerHTML = `
47
38
  <div style="margin-bottom: 30px;">
48
39
  <h4>Bottom Dock (Default)</h4>
49
40
  <p style="color: #6b7280; font-size: 14px; margin-bottom: 16px;">Hover over icons to see magnification effect</p>
50
41
  <div style="display: flex; justify-content: center; padding: 40px; background-color: #f3f4f6; border-radius: 8px;">
51
- <ui-dock items='${items}' icon-library="lucide"></ui-dock>
42
+ <ui-dock id="basicDock" icon-library="lucide"></ui-dock>
52
43
  </div>
53
44
  </div>
54
45
  `;
55
46
 
56
47
  setTimeout(() => {
57
- const dock = container.querySelector('ui-dock');
48
+ const dock = document.getElementById('basicDock');
58
49
  if (dock) {
50
+ dock.items = JSON.stringify([
51
+ { id: 'finder', label: 'Finder', icon: 'smile' },
52
+ { id: 'mail', label: 'Mail', icon: 'mail' },
53
+ { id: 'browser', label: 'Browser', icon: 'globe' },
54
+ { id: 'music', label: 'Music', icon: 'music' },
55
+ { id: 'photos', label: 'Photos', icon: 'image' },
56
+ { id: 'settings', label: 'Settings', icon: 'settings' },
57
+ ]);
59
58
  dock.addEventListener('dockItemClick', e => {
60
59
  console.log('Dock item clicked:', e.detail);
61
60
  });
@@ -67,26 +66,18 @@ export function initDockDemo() {
67
66
  const container = document.getElementById('dockDemoContainer');
68
67
  if (!container) return;
69
68
 
70
- const items = JSON.stringify([
71
- { id: '1', label: 'Home', icon: 'home' },
72
- { id: '2', label: 'Search', icon: 'search' },
73
- { id: '3', label: 'Heart', icon: 'heart' },
74
- { id: '4', label: 'Star', icon: 'star' },
75
- { id: '5', label: 'Settings', icon: 'settings' },
76
- ]);
77
-
78
69
  container.innerHTML = `
79
70
  <div style="margin-bottom: 30px;">
80
71
  <h4>Bottom Position</h4>
81
72
  <div style="display: flex; justify-content: center; padding: 40px; background-color: #f3f4f6; border-radius: 8px;">
82
- <ui-dock items='${items}' position="bottom" icon-library="lucide"></ui-dock>
73
+ <ui-dock id="dockPosBottom" position="bottom" icon-library="lucide"></ui-dock>
83
74
  </div>
84
75
  </div>
85
76
 
86
77
  <div style="margin-bottom: 30px;">
87
78
  <h4>Top Position</h4>
88
79
  <div style="display: flex; justify-content: center; padding: 40px; background-color: #f3f4f6; border-radius: 8px;">
89
- <ui-dock items='${items}' position="top" icon-library="lucide"></ui-dock>
80
+ <ui-dock id="dockPosTop" position="top" icon-library="lucide"></ui-dock>
90
81
  </div>
91
82
  </div>
92
83
 
@@ -94,98 +85,107 @@ export function initDockDemo() {
94
85
  <div>
95
86
  <h4>Left Position</h4>
96
87
  <div style="display: flex; justify-content: center; padding: 40px; background-color: #f3f4f6; border-radius: 8px;">
97
- <ui-dock items='${items}' position="left" icon-library="lucide"></ui-dock>
88
+ <ui-dock id="dockPosLeft" position="left" icon-library="lucide"></ui-dock>
98
89
  </div>
99
90
  </div>
100
91
 
101
92
  <div>
102
93
  <h4>Right Position</h4>
103
94
  <div style="display: flex; justify-content: center; padding: 40px; background-color: #f3f4f6; border-radius: 8px;">
104
- <ui-dock items='${items}' position="right" icon-library="lucide"></ui-dock>
95
+ <ui-dock id="dockPosRight" position="right" icon-library="lucide"></ui-dock>
105
96
  </div>
106
97
  </div>
107
98
  </div>
108
99
  `;
100
+
101
+ setTimeout(() => {
102
+ const itemsList = JSON.stringify([
103
+ { id: '1', label: 'Home', icon: 'home' },
104
+ { id: '2', label: 'Search', icon: 'search' },
105
+ { id: '3', label: 'Heart', icon: 'heart' },
106
+ { id: '4', label: 'Star', icon: 'star' },
107
+ { id: '5', label: 'Settings', icon: 'settings' },
108
+ ]);
109
+ ['dockPosBottom', 'dockPosTop', 'dockPosLeft', 'dockPosRight'].forEach(id => {
110
+ const d = document.getElementById(id);
111
+ if (d) d.items = itemsList;
112
+ });
113
+ }, 100);
109
114
  };
110
115
 
111
116
  window.showDockSizes = function () {
112
117
  const container = document.getElementById('dockDemoContainer');
113
118
  if (!container) return;
114
119
 
115
- const items = JSON.stringify([
116
- { id: '1', label: 'File', icon: 'file-text' },
117
- { id: '2', label: 'Folder', icon: 'folder' },
118
- { id: '3', label: 'Image', icon: 'image' },
119
- { id: '4', label: 'Video', icon: 'clapperboard' },
120
- ]);
121
-
122
120
  container.innerHTML = `
123
121
  <div style="margin-bottom: 30px;">
124
122
  <h4>Small Size</h4>
125
123
  <div style="display: flex; justify-content: center; padding: 40px; background-color: #f3f4f6; border-radius: 8px;">
126
- <ui-dock items='${items}' size="md" icon-library="lucide"></ui-dock>
124
+ <ui-dock id="dockSizeSm" size="sm" icon-library="lucide"></ui-dock>
127
125
  </div>
128
126
  </div>
129
127
 
130
128
  <div style="margin-bottom: 30px;">
131
129
  <h4>md Size (Default)</h4>
132
130
  <div style="display: flex; justify-content: center; padding: 40px; background-color: #f3f4f6; border-radius: 8px;">
133
- <ui-dock items='${items}' size="md" icon-library="lucide"></ui-dock>
131
+ <ui-dock id="dockSizeMd" size="md" icon-library="lucide"></ui-dock>
134
132
  </div>
135
133
  </div>
136
134
 
137
135
  <div>
138
136
  <h4>Large Size</h4>
139
137
  <div style="display: flex; justify-content: center; padding: 40px; background-color: #f3f4f6; border-radius: 8px;">
140
- <ui-dock items='${items}' size="lg" icon-library="lucide"></ui-dock>
138
+ <ui-dock id="dockSizeLg" size="lg" icon-library="lucide"></ui-dock>
141
139
  </div>
142
140
  </div>
143
141
  `;
142
+
143
+ setTimeout(() => {
144
+ const itemsList = JSON.stringify([
145
+ { id: '1', label: 'File', icon: 'file-text' },
146
+ { id: '2', label: 'Folder', icon: 'folder' },
147
+ { id: '3', label: 'Image', icon: 'image' },
148
+ { id: '4', label: 'Video', icon: 'clapperboard' },
149
+ ]);
150
+ ['dockSizeSm', 'dockSizeMd', 'dockSizeLg'].forEach(id => {
151
+ const d = document.getElementById(id);
152
+ if (d) d.items = itemsList;
153
+ });
154
+ }, 100);
144
155
  };
145
156
 
146
157
  window.showDockWithBadges = function () {
147
158
  const container = document.getElementById('dockDemoContainer');
148
159
  if (!container) return;
149
160
 
150
- const items = JSON.stringify([
151
- { id: 'mail', label: 'Mail', icon: 'mail', badge: 12 },
152
- { id: 'messages', label: 'Messages', icon: 'message-square', badge: 5 },
153
- { id: 'notifications', label: 'Notifications', icon: 'bell', badge: 99 },
154
- { id: 'calendar', label: 'Calendar', icon: 'calendar' },
155
- { id: 'tasks', label: 'Tasks', icon: 'check-square', badge: 3 },
156
- ]);
157
-
158
161
  container.innerHTML = `
159
162
  <div style="margin-bottom: 30px;">
160
163
  <h4>Dock with Badge Indicators</h4>
161
164
  <p style="color: #6b7280; font-size: 14px; margin-bottom: 16px;">Icons can display notification badges</p>
162
165
  <div style="display: flex; justify-content: center; padding: 40px; background-color: #f3f4f6; border-radius: 8px;">
163
- <ui-dock items='${items}' icon-library="lucide"></ui-dock>
166
+ <ui-dock id="dockWithBadges" icon-library="lucide"></ui-dock>
164
167
  </div>
165
168
  </div>
166
169
  `;
170
+
171
+ setTimeout(() => {
172
+ const d = document.getElementById('dockWithBadges');
173
+ if (d) {
174
+ d.items = JSON.stringify([
175
+ { id: 'mail', label: 'Mail', icon: 'mail', badge: 12 },
176
+ { id: 'messages', label: 'Messages', icon: 'message-square', badge: 5 },
177
+ { id: 'notifications', label: 'Notifications', icon: 'bell', badge: 99 },
178
+ { id: 'calendar', label: 'Calendar', icon: 'calendar' },
179
+ { id: 'tasks', label: 'Tasks', icon: 'check-square', badge: 3 },
180
+ ]);
181
+ }
182
+ }, 100);
167
183
  };
168
184
 
169
185
  window.showPremiumDock = function () {
170
186
  const container = document.getElementById('dockDemoContainer');
171
187
  if (!container) return;
172
188
 
173
- // Simulate OS Dock
174
- const items = JSON.stringify([
175
- { id: 'finder', label: 'Finder', icon: 'smile', active: true },
176
- { id: 'launchpad', label: 'Launchpad', icon: 'rocket' },
177
- { id: 'browser', label: 'Safari', icon: 'compass', active: true },
178
- { id: 'mail', label: 'Mail', icon: 'mail', badge: 3, bounce: true },
179
- { id: 'maps', label: 'Maps', icon: 'map' },
180
- { id: 'separator1', separator: true },
181
- { id: 'music', label: 'Music', icon: 'music', active: true },
182
- { id: 'podcasts', label: 'Podcasts', icon: 'mic' },
183
- { id: 'tv', label: 'TV', icon: 'tv' },
184
- { id: 'separator2', separator: true },
185
- { id: 'settings', label: 'System Settings', icon: 'settings' },
186
- { id: 'trash', label: 'Trash', icon: 'trash-2' },
187
- ]);
188
-
189
189
  container.innerHTML = `
190
190
  <div style="margin-bottom: 30px;">
191
191
  <h3>✨ OS Experience</h3>
@@ -212,7 +212,7 @@ export function initDockDemo() {
212
212
 
213
213
  <!-- The Dock -->
214
214
  <ui-dock
215
- items='${items}'
215
+ id="premiumDock"
216
216
  position="bottom"
217
217
  size="md"
218
218
  magnify="true"
@@ -227,6 +227,26 @@ export function initDockDemo() {
227
227
  </div>
228
228
  `;
229
229
 
230
+ setTimeout(() => {
231
+ const d = document.getElementById('premiumDock');
232
+ if (d) {
233
+ d.items = JSON.stringify([
234
+ { id: 'finder', label: 'Finder', icon: 'smile', active: true },
235
+ { id: 'launchpad', label: 'Launchpad', icon: 'rocket' },
236
+ { id: 'browser', label: 'Safari', icon: 'compass', active: true },
237
+ { id: 'mail', label: 'Mail', icon: 'mail', badge: 3, bounce: true },
238
+ { id: 'maps', label: 'Maps', icon: 'map' },
239
+ { id: 'separator1', separator: true },
240
+ { id: 'music', label: 'Music', icon: 'music', active: true },
241
+ { id: 'podcasts', label: 'Podcasts', icon: 'mic' },
242
+ { id: 'tv', label: 'TV', icon: 'tv' },
243
+ { id: 'separator2', separator: true },
244
+ { id: 'settings', label: 'System Settings', icon: 'settings' },
245
+ { id: 'trash', label: 'Trash', icon: 'trash-2' },
246
+ ]);
247
+ }
248
+ }, 100);
249
+
230
250
  window.toggleBounce = function () {
231
251
  alert("In a real React/Angular app, you'd update the 'items' prop to remove 'bounce: true'.");
232
252
  };
@@ -313,7 +333,7 @@ export function initDockDemo() {
313
333
  </div>
314
334
 
315
335
  <div style="margin-top: 20px; background: #1e293b; padding: 16px; border-radius: 8px; position: relative;">
316
- <ui-button id="btnCopyDockCode" variant="ghost" color="secondary" label="Copy" size="md"yle="position: absolute; top: 10px; right: 10px; --btn-bg: rgba(255,255,255,0.1); --btn-text: white;"></ui-button>
336
+ <ui-button id="btnCopyDockCode" variant="ghost" color="secondary" label="Copy" size="md" style="position: absolute; top: 10px; right: 10px; --btn-bg: rgba(255,255,255,0.1); --btn-text: white;"></ui-button>
317
337
  <code id="dockCodeBlock" style="color: #e2e8f0; font-family: monospace; font-size: 13px; display: block; overflow-x: auto; padding-right: 50px; white-space: pre-wrap;">
318
338
  <ui-dock ...></ui-dock>
319
339
  </code>
@@ -1,34 +1,239 @@
1
1
  export function initDocumentationDemo() {
2
2
  const section = document.getElementById('documentation');
3
3
  if (!section) return;
4
+
4
5
  section.innerHTML = `
5
- <div style="padding: 40px; max-width: 800px; margin: 0 auto;">
6
- <h1 style="font-size: 2.5rem; margin-bottom: 24px;">🚀 Getting Started</h1>
7
- <p style="font-size: 1.2rem; color: #64748b; margin-bottom: 32px;">Learn how to integrate our premium component library into your projects.</p>
8
-
9
- <div style="background: #1e293b; padding: 24px; border-radius: 12px; margin-bottom: 32px;">
10
- <code style="color: #38bdf8; font-size: 1.1rem;">npm install @stencil/app-ui</code>
6
+ <div style="padding:40px 32px; max-width:860px; margin:0 auto; font-family:inherit;">
7
+
8
+ <!-- Header -->
9
+ <div style="margin-bottom:40px;">
10
+ <div style="display:flex; align-items:center; gap:12px; margin-bottom:8px;">
11
+ <span style="font-size:2rem;">🚀</span>
12
+ <h1 style="font-size:2rem; font-weight:800; margin:0; color:var(--text-primary,#0f172a);">Installation</h1>
13
+ <span style="font-size:11px; font-weight:700; padding:3px 10px; border-radius:999px; background:#dcfce7; color:#15803d; border:1px solid #bbf7d0;">v0.0.1 — latest</span>
14
+ </div>
15
+ <p style="font-size:15px; color:var(--text-secondary,#64748b); margin:0; line-height:1.7;">
16
+ App UI is a <strong>Stencil.js</strong> web-component library — framework-agnostic, tree-shakable, and zero runtime dependencies.
17
+ </p>
18
+ </div>
19
+
20
+ <!-- Prerequisites -->
21
+ <div style="margin-bottom:36px;">
22
+ <h2 style="font-size:1.1rem; font-weight:700; margin:0 0 14px; color:var(--text-primary,#0f172a); display:flex; align-items:center; gap:8px;">
23
+ <span style="width:20px; height:20px; border-radius:4px; background:#f59e0b; display:inline-flex; align-items:center; justify-content:center; font-size:11px;">⚡</span>
24
+ Prerequisites
25
+ </h2>
26
+ <div style="display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px;">
27
+ ${[
28
+ { icon: '🟢', name: 'Node.js', version: '≥ 18.0', note: 'LTS recommended', ok: true },
29
+ { icon: '📦', name: 'npm', version: '≥ 9.0', note: 'or yarn ≥ 1.22', ok: true },
30
+ { icon: '🌐', name: 'Browser', version: 'Evergreen', note: 'Chrome, Firefox, Edge, Safari', ok: true },
31
+ { icon: '🔷', name: 'TypeScript', version: '≥ 5.0', note: 'optional but recommended', ok: false },
32
+ ].map(p => `
33
+ <div style="padding:14px 16px; border-radius:10px; background:var(--bg-surface,#f8fafc); border:1px solid var(--border,#e2e8f0); display:flex; gap:12px; align-items:flex-start;">
34
+ <span style="font-size:1.4rem; line-height:1;">${p.icon}</span>
35
+ <div>
36
+ <p style="margin:0; font-size:13px; font-weight:700; color:var(--text-primary,#0f172a);">${p.name}</p>
37
+ <p style="margin:2px 0 0; font-size:12px; color:var(--text-secondary,#64748b);">${p.version}</p>
38
+ <p style="margin:2px 0 0; font-size:11px; color:${p.ok ? '#16a34a' : '#94a3b8'};">${p.note}</p>
39
+ </div>
40
+ </div>
41
+ `).join('')}
42
+ </div>
43
+ </div>
44
+
45
+ <!-- Install commands -->
46
+ <div style="margin-bottom:36px;">
47
+ <h2 style="font-size:1.1rem; font-weight:700; margin:0 0 14px; color:var(--text-primary,#0f172a); display:flex; align-items:center; gap:8px;">
48
+ <span style="width:20px; height:20px; border-radius:4px; background:#3b82f6; display:inline-flex; align-items:center; justify-content:center; font-size:11px; color:#fff;">📥</span>
49
+ Install
50
+ </h2>
51
+ ${[
52
+ { label: 'npm', color: '#dc2626', cmd: 'npm install atomicuilibrary' },
53
+ { label: 'yarn', color: '#2563eb', cmd: 'yarn add atomicuilibrary' },
54
+ { label: 'pnpm', color: '#f59e0b', cmd: 'pnpm add atomicuilibrary' },
55
+ ].map(t => `
56
+ <div style="margin-bottom:10px;">
57
+ <div style="display:flex; align-items:center; gap:8px; margin-bottom:6px;">
58
+ <span style="font-size:11px; font-weight:700; padding:2px 8px; border-radius:4px; background:${t.color}22; color:${t.color};">${t.label}</span>
59
+ </div>
60
+ <div style="position:relative; background:#0f172a; border-radius:8px; padding:14px 48px 14px 18px; border:1px solid #1e293b; display:flex; align-items:center; gap:8px; font-family:'Courier New',monospace; font-size:13px;">
61
+ <span style="color:#4ade80;">$</span>
62
+ <span style="color:#e2e8f0;">${t.cmd}</span>
63
+ <button onclick="navigator.clipboard.writeText('${t.cmd}')" title="Copy" style="position:absolute; right:10px; top:50%; transform:translateY(-50%); background:transparent; border:none; cursor:pointer; opacity:0.5; font-size:14px; padding:4px;">📋</button>
64
+ </div>
65
+ </div>
66
+ `).join('')}
11
67
  </div>
12
68
 
13
- <h2 style="margin-bottom: 16px;">Core Concepts</h2>
14
- <ul style="line-height: 1.8; color: #334155; padding-left: 20px;">
15
- <li><strong>Web Components:</strong> Standards-based components that work anywhere (React, Vue, Angular, or Vanilla JS).</li>
16
- <li><strong>Design Tokens:</strong> Harmonious color, spacing, and typography variables managed via CSS Custom Properties.</li>
17
- <li><strong>Modern Tooling:</strong> Optimized for performance and developer experience using Stencil.js.</li>
18
- </ul>
19
-
20
- <h2 style="margin: 32px 0 16px;">Framework Integration</h2>
21
- <p style="margin-bottom: 16px;">Follow our specific guides to get the most out of our components in your favorite framework:</p>
22
- <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 16px;">
23
- <div style="padding: 16px; border: 1px solid #e2e8f0; border-radius: 8px;">
24
- <h4 style="margin-bottom: 8px;">React</h4>
25
- <p style="font-size: 14px; color: #64748b;">Full type support and event mapping for React 18+ applications.</p>
69
+ <!-- Framework Setup -->
70
+ <div style="margin-bottom:36px;">
71
+ <h2 style="font-size:1.1rem; font-weight:700; margin:0 0 14px; color:var(--text-primary,#0f172a); display:flex; align-items:center; gap:8px;">
72
+ <span style="width:20px; height:20px; border-radius:4px; background:#8b5cf6; display:inline-flex; align-items:center; justify-content:center; font-size:11px; color:#fff;">🔌</span>
73
+ Framework Setup
74
+ </h2>
75
+ <!-- Tabs -->
76
+ <div id="doc-fw-tabs" style="display:flex; gap:4px; margin-bottom:0; border-bottom:2px solid #e2e8f0; padding-bottom:0;">
77
+ ${['Vanilla JS','React','Angular','Vue'].map((fw,i) => `
78
+ <button data-fw="${fw}" onclick="docShowFw(this)" style="padding:7px 16px; font-size:12px; font-weight:600; border:none; background:transparent; cursor:pointer; border-bottom:2px solid ${i===0?'#3b82f6':'transparent'}; margin-bottom:-2px; color:${i===0?'#2563eb':'#64748b'}; transition:all .2s;">${fw}</button>
79
+ `).join('')}
26
80
  </div>
27
- <div style="padding: 16px; border: 1px solid #e2e8f0; border-radius: 8px;">
28
- <h4 style="margin-bottom: 8px;">Angular</h4>
29
- <p style="font-size: 14px; color: #64748b;">Seamless integration with NgModule and standalone component patterns.</p>
81
+ <div id="doc-fw-content" style="background:#0f172a; border-radius:0 0 10px 10px; padding:20px 22px; font-family:'Courier New',monospace; font-size:12px; line-height:2; color:#e2e8f0; border:1px solid #1e293b; border-top:none;">
82
+ <div id="doc-fw-Vanilla JS">
83
+ <span style="color:#64748b;">// 1. Import styles</span><br>
84
+ <span style="color:#86efac;">import</span> <span style="color:#fbbf24;">'atomicuilibrary/dist/atomicuilibrary/atomicuilibrary.css'</span>;<br><br>
85
+ <span style="color:#64748b;">// 2. Register web components</span><br>
86
+ <span style="color:#86efac;">import</span> { <span style="color:#7dd3fc;">defineCustomElements</span> } <span style="color:#86efac;">from</span> <span style="color:#fbbf24;">'atomicuilibrary/loader'</span>;<br>
87
+ <span style="color:#7dd3fc;">defineCustomElements</span>();<br><br>
88
+ <span style="color:#64748b;">// 3. Use in HTML</span><br>
89
+ <span style="color:#f87171;">&lt;ui-button</span> <span style="color:#86efac;">variant</span>=<span style="color:#fbbf24;">"primary"</span><span style="color:#f87171;">&gt;</span>Click me<span style="color:#f87171;">&lt;/ui-button&gt;</span>
90
+ </div>
91
+ <div id="doc-fw-React" style="display:none;">
92
+ <span style="color:#64748b;">// main.tsx</span><br>
93
+ <span style="color:#86efac;">import</span> <span style="color:#fbbf24;">'atomicuilibrary/dist/atomicuilibrary/atomicuilibrary.css'</span>;<br>
94
+ <span style="color:#86efac;">import</span> { <span style="color:#7dd3fc;">applyPolyfills</span>, <span style="color:#7dd3fc;">defineCustomElements</span> } <span style="color:#86efac;">from</span> <span style="color:#fbbf24;">'atomicuilibrary/loader'</span>;<br>
95
+ <span style="color:#7dd3fc;">applyPolyfills</span>().<span style="color:#7dd3fc;">then</span>(() => <span style="color:#7dd3fc;">defineCustomElements</span>());<br><br>
96
+ <span style="color:#64748b;">// Component.tsx — declare module for JSX</span><br>
97
+ <span style="color:#86efac;">declare</span> <span style="color:#7dd3fc;">namespace</span> JSX {<br>
98
+ &nbsp;&nbsp;<span style="color:#86efac;">interface</span> <span style="color:#7dd3fc;">IntrinsicElements</span> { [elem: <span style="color:#fbbf24;">string</span>]: any }<br>
99
+ }<br><br>
100
+ <span style="color:#86efac;">export default function</span> <span style="color:#7dd3fc;">App</span>() {<br>
101
+ &nbsp;&nbsp;<span style="color:#86efac;">return</span> &lt;<span style="color:#f87171;">ui-button</span> <span style="color:#86efac;">variant</span>=<span style="color:#fbbf24;">"primary"</span>&gt;Click me&lt;/<span style="color:#f87171;">ui-button</span>&gt;;<br>
102
+ }
103
+ </div>
104
+ <div id="doc-fw-Angular" style="display:none;">
105
+ <span style="color:#64748b;">// app.module.ts</span><br>
106
+ <span style="color:#86efac;">import</span> { <span style="color:#7dd3fc;">NgModule</span>, <span style="color:#7dd3fc;">CUSTOM_ELEMENTS_SCHEMA</span> } <span style="color:#86efac;">from</span> <span style="color:#fbbf24;">'@angular/core'</span>;<br>
107
+ <span style="color:#86efac;">import</span> { <span style="color:#7dd3fc;">defineCustomElements</span> } <span style="color:#86efac;">from</span> <span style="color:#fbbf24;">'atomicuilibrary/loader'</span>;<br>
108
+ <span style="color:#7dd3fc;">defineCustomElements</span>();<br><br>
109
+ <span style="color:#7dd3fc;">@NgModule</span>({<br>
110
+ &nbsp;&nbsp;schemas: [<span style="color:#7dd3fc;">CUSTOM_ELEMENTS_SCHEMA</span>],<br>
111
+ &nbsp;&nbsp;<span style="color:#64748b;">// ...</span><br>
112
+ })<br>
113
+ <span style="color:#86efac;">export class</span> <span style="color:#7dd3fc;">AppModule</span> {}
114
+ </div>
115
+ <div id="doc-fw-Vue" style="display:none;">
116
+ <span style="color:#64748b;">// main.ts</span><br>
117
+ <span style="color:#86efac;">import</span> <span style="color:#fbbf24;">'atomicuilibrary/dist/atomicuilibrary/atomicuilibrary.css'</span>;<br>
118
+ <span style="color:#86efac;">import</span> { <span style="color:#7dd3fc;">defineCustomElements</span> } <span style="color:#86efac;">from</span> <span style="color:#fbbf24;">'atomicuilibrary/loader'</span>;<br>
119
+ <span style="color:#7dd3fc;">defineCustomElements</span>();<br><br>
120
+ <span style="color:#64748b;">// vite.config.ts — suppress web component warnings</span><br>
121
+ <span style="color:#86efac;">export default</span> <span style="color:#7dd3fc;">defineConfig</span>({<br>
122
+ &nbsp;&nbsp;plugins: [<span style="color:#7dd3fc;">vue</span>({<br>
123
+ &nbsp;&nbsp;&nbsp;&nbsp;template: { compilerOptions: { isCustomElement: t => t.startsWith(<span style="color:#fbbf24;">'ui-'</span>) } }<br>
124
+ &nbsp;&nbsp;})]<br>
125
+ });
126
+ </div>
30
127
  </div>
31
128
  </div>
129
+
130
+ <!-- Supported versions table -->
131
+ <div style="margin-bottom:36px;">
132
+ <h2 style="font-size:1.1rem; font-weight:700; margin:0 0 14px; color:var(--text-primary,#0f172a); display:flex; align-items:center; gap:8px;">
133
+ <span style="width:20px; height:20px; border-radius:4px; background:#22c55e; display:inline-flex; align-items:center; justify-content:center; font-size:11px; color:#fff;">✓</span>
134
+ Supported Versions
135
+ </h2>
136
+ <div style="overflow-x:auto; border-radius:10px; border:1px solid #e2e8f0;">
137
+ <table style="width:100%; border-collapse:collapse; font-size:13px;">
138
+ <thead>
139
+ <tr style="background:#f1f5f9;">
140
+ <th style="text-align:left; padding:10px 16px; font-weight:700; color:#475569; border-bottom:1px solid #e2e8f0;">Version</th>
141
+ <th style="text-align:left; padding:10px 16px; font-weight:700; color:#475569; border-bottom:1px solid #e2e8f0;">Release</th>
142
+ <th style="text-align:left; padding:10px 16px; font-weight:700; color:#475569; border-bottom:1px solid #e2e8f0;">Status</th>
143
+ <th style="text-align:left; padding:10px 16px; font-weight:700; color:#475569; border-bottom:1px solid #e2e8f0;">Node</th>
144
+ <th style="text-align:left; padding:10px 16px; font-weight:700; color:#475569; border-bottom:1px solid #e2e8f0;">Stencil</th>
145
+ <th style="text-align:left; padding:10px 16px; font-weight:700; color:#475569; border-bottom:1px solid #e2e8f0;">Changelog</th>
146
+ </tr>
147
+ </thead>
148
+ <tbody>
149
+ ${[
150
+ { ver:'0.0.1', date:'May 2025', status:'active', node:'≥ 18', stencil:'4.x', link:'#' },
151
+ { ver:'0.0.1-beta', date:'Mar 2025', status:'maintenance', node:'≥ 16', stencil:'4.x', link:'#' },
152
+ { ver:'0.0.1-alpha', date:'Jan 2025', status:'eol', node:'≥ 16', stencil:'3.x', link:'#' },
153
+ ].map((r,i) => {
154
+ const statusMap = {
155
+ active: { label:'✅ Active', bg:'#f0fdf4', color:'#15803d', border:'#bbf7d0' },
156
+ maintenance: { label:'🔧 Maintenance', bg:'#fffbeb', color:'#b45309', border:'#fde68a' },
157
+ eol: { label:'🔴 End of Life', bg:'#fff1f2', color:'#b91c1c', border:'#fecaca' },
158
+ };
159
+ const s = statusMap[r.status];
160
+ return `
161
+ <tr style="background:${i%2===1?'#f8fafc':'white'}; border-bottom:1px solid #f1f5f9;">
162
+ <td style="padding:10px 16px; font-weight:700; color:#0f172a; font-family:'Courier New',monospace;">${r.ver}</td>
163
+ <td style="padding:10px 16px; color:#64748b;">${r.date}</td>
164
+ <td style="padding:10px 16px;">
165
+ <span style="font-size:11px; font-weight:700; padding:3px 10px; border-radius:999px; background:${s.bg}; color:${s.color}; border:1px solid ${s.border};">${s.label}</span>
166
+ </td>
167
+ <td style="padding:10px 16px; color:#64748b; font-family:monospace;">${r.node}</td>
168
+ <td style="padding:10px 16px; color:#64748b; font-family:monospace;">${r.stencil}</td>
169
+ <td style="padding:10px 16px;">
170
+ <a href="${r.link}" style="font-size:12px; color:#3b82f6; text-decoration:none; font-weight:600;">View →</a>
171
+ </td>
172
+ </tr>`;
173
+ }).join('')}
174
+ </tbody>
175
+ </table>
176
+ </div>
177
+ </div>
178
+
179
+ <!-- Older versions -->
180
+ <div style="margin-bottom:36px;">
181
+ <h2 style="font-size:1.1rem; font-weight:700; margin:0 0 14px; color:var(--text-primary,#0f172a); display:flex; align-items:center; gap:8px;">
182
+ <span style="width:20px; height:20px; border-radius:4px; background:#64748b; display:inline-flex; align-items:center; justify-content:center; font-size:11px; color:#fff;">📂</span>
183
+ Older Versions
184
+ </h2>
185
+ <div style="padding:16px 20px; background:#f8fafc; border-radius:10px; border:1px solid #e2e8f0; display:flex; flex-direction:column; gap:10px;">
186
+ <p style="margin:0; font-size:13px; color:#64748b; line-height:1.6;">
187
+ Older releases are still available on npm and GitHub. We recommend upgrading to the latest version for security patches and new features.
188
+ </p>
189
+ <div style="display:flex; flex-wrap:wrap; gap:10px; margin-top:4px;">
190
+ <a href="https://www.npmjs.com/package/atomicuilibrary?activeTab=versions" target="_blank"
191
+ style="display:inline-flex; align-items:center; gap:6px; padding:7px 14px; font-size:12px; font-weight:600; border-radius:8px; background:#fff; border:1px solid #e2e8f0; color:#0f172a; text-decoration:none; box-shadow:0 1px 3px rgba(0,0,0,0.06);">
192
+ 📦 All versions on npm
193
+ </a>
194
+ <a href="https://github.com/kmn/atomicUILibrary/releases" target="_blank"
195
+ style="display:inline-flex; align-items:center; gap:6px; padding:7px 14px; font-size:12px; font-weight:600; border-radius:8px; background:#fff; border:1px solid #e2e8f0; color:#0f172a; text-decoration:none; box-shadow:0 1px 3px rgba(0,0,0,0.06);">
196
+ 🏷️ GitHub Releases
197
+ </a>
198
+ <a href="https://github.com/kmn/atomicUILibrary/blob/main/CHANGELOG.md" target="_blank"
199
+ style="display:inline-flex; align-items:center; gap:6px; padding:7px 14px; font-size:12px; font-weight:600; border-radius:8px; background:#fff; border:1px solid #e2e8f0; color:#0f172a; text-decoration:none; box-shadow:0 1px 3px rgba(0,0,0,0.06);">
200
+ 📝 Changelog
201
+ </a>
202
+ </div>
203
+ <div style="margin-top:6px; padding:12px 16px; background:#fffbeb; border-radius:8px; border:1px solid #fde68a; font-size:12px; color:#92400e; display:flex; gap:8px;">
204
+ <span>⚠️</span>
205
+ <span>Versions <strong>0.0.1-alpha</strong> and below have reached <strong>End of Life</strong> and no longer receive security updates. Please migrate to v0.0.1.</span>
206
+ </div>
207
+ </div>
208
+ </div>
209
+
210
+ <!-- CDN -->
211
+ <div style="margin-bottom:36px;">
212
+ <h2 style="font-size:1.1rem; font-weight:700; margin:0 0 14px; color:var(--text-primary,#0f172a); display:flex; align-items:center; gap:8px;">
213
+ <span style="width:20px; height:20px; border-radius:4px; background:#06b6d4; display:inline-flex; align-items:center; justify-content:center; font-size:11px; color:#fff;">🌐</span>
214
+ CDN (Quick Prototype)
215
+ </h2>
216
+ <div style="background:#0f172a; border-radius:10px; padding:18px 22px; font-family:'Courier New',monospace; font-size:12px; line-height:1.9; color:#e2e8f0; overflow-x:auto; border:1px solid #1e293b;">
217
+ <span style="color:#64748b;">&lt;!-- Styles --&gt;</span><br>
218
+ <span style="color:#f87171;">&lt;link</span> <span style="color:#86efac;">rel</span>=<span style="color:#fbbf24;">"stylesheet"</span> <span style="color:#86efac;">href</span>=<span style="color:#fbbf24;">"https://unpkg.com/atomicuilibrary/dist/atomicuilibrary/atomicuilibrary.css"</span><span style="color:#f87171;">/&gt;</span><br><br>
219
+ <span style="color:#64748b;">&lt;!-- ES Module --&gt;</span><br>
220
+ <span style="color:#f87171;">&lt;script</span> <span style="color:#86efac;">type</span>=<span style="color:#fbbf24;">"module"</span><br>
221
+ &nbsp;&nbsp;<span style="color:#86efac;">src</span>=<span style="color:#fbbf24;">"https://unpkg.com/atomicuilibrary/dist/atomicuilibrary/atomicuilibrary.esm.js"</span><span style="color:#f87171;">&gt;&lt;/script&gt;</span>
222
+ </div>
223
+ </div>
224
+
32
225
  </div>
33
226
  `;
227
+
228
+ // Framework tab switcher
229
+ window.docShowFw = function(btn) {
230
+ const fw = btn.getAttribute('data-fw');
231
+ document.querySelectorAll('#doc-fw-content > div').forEach(p => p.style.display = 'none');
232
+ document.getElementById('doc-fw-' + fw).style.display = '';
233
+ document.querySelectorAll('#doc-fw-tabs button').forEach(b => {
234
+ const on = b.getAttribute('data-fw') === fw;
235
+ b.style.borderBottomColor = on ? '#3b82f6' : 'transparent';
236
+ b.style.color = on ? '#2563eb' : '#64748b';
237
+ });
238
+ };
34
239
  }
@@ -10,7 +10,7 @@ export function initEmptyStateDemo() {
10
10
  <div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px;">
11
11
  <h2>Empty State</h2>
12
12
  <div style="display: flex; gap: 8px;">
13
- <ui-tag label="NEW" color="info" size="md"ui-tag>
13
+ <ui-tag label="NEW" color="info" size="md"></ui-tag>
14
14
  </div>
15
15
  </div>
16
16
 
@@ -19,15 +19,15 @@ export function initEmptyStateDemo() {
19
19
  </p>
20
20
 
21
21
  <div class="demo-pills" style="margin: 20px 0; display: flex; gap: 10px; flex-wrap: wrap; background: #f8fafc; padding: 12px; border-radius: 12px; border: 1px solid #f1f5f9;">
22
- <ui-button id="btnEmptyPlayground" variant="outline" color="secondary" label="🎮 Playground" size="md"ui-button>
23
- <ui-button id="btnEmptyCommon" variant="outline" color="primary" label="Common Types" size="md"ui-button>
24
- <ui-button id="btnEmptyMaster" variant="outline" color="success" label="✨ Master Patterns" size="md"ui-button>
25
- <ui-button id="btnEmptyAlignment" variant="outline" color="info" label="↔️ Alignment" size="md"ui-button>
26
- <ui-button id="btnEmptyImages" variant="outline" color="warning" label="🖼️ Images" size="md"ui-button>
27
- <ui-button id="btnEmptySpecial" variant="outline" color="secondary" label="⭐ Special" size="md"ui-button>
28
- <ui-button id="btnEmptyRecovery" variant="outline" color="success" label="🔄 Recovery & Search" size="md"ui-button>
29
- <ui-button id="btnEmptyErrors" variant="outline" color="danger" label="🚫 Errors" size="md"ui-button>
30
- <ui-button id="btnEmptyFullPage" variant="outline" color="neutral" label="📺 Full Page" size="md"ui-button>
22
+ <ui-button id="btnEmptyPlayground" variant="outline" color="secondary" label="🎮 Playground" size="md"></ui-button>
23
+ <ui-button id="btnEmptyCommon" variant="outline" color="primary" label="Common Types" size="md"></ui-button>
24
+ <ui-button id="btnEmptyMaster" variant="outline" color="success" label="✨ Master Patterns" size="md"></ui-button>
25
+ <ui-button id="btnEmptyAlignment" variant="outline" color="info" label="↔️ Alignment" size="md"></ui-button>
26
+ <ui-button id="btnEmptyImages" variant="outline" color="warning" label="🖼️ Images" size="md"></ui-button>
27
+ <ui-button id="btnEmptySpecial" variant="outline" color="secondary" label="⭐ Special" size="md"></ui-button>
28
+ <ui-button id="btnEmptyRecovery" variant="outline" color="success" label="🔄 Recovery & Search" size="md"></ui-button>
29
+ <ui-button id="btnEmptyErrors" variant="outline" color="danger" label="🚫 Errors" size="md"></ui-button>
30
+ <ui-button id="btnEmptyFullPage" variant="outline" color="neutral" label="📺 Full Page" size="md"></ui-button>
31
31
  </div>
32
32
 
33
33
  <div id="emptyStateDemoContainer" style="margin-top: 40px;"></div>