atomicuilibrary 0.0.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 (1108) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +111 -0
  3. package/dist/cjs/category-section.cjs.entry.js +30 -0
  4. package/dist/cjs/component-size-DsYFUZcz.js +29 -0
  5. package/dist/cjs/dom-oP1E4Rd3.js +267 -0
  6. package/dist/cjs/event-bus-B6M2f8CQ.js +23 -0
  7. package/dist/cjs/exploration-project-tailwind.cjs.js +24 -0
  8. package/dist/cjs/focus-trap-i9T6oXLc.js +139 -0
  9. package/dist/cjs/index-ClkOYpT8.js +2275 -0
  10. package/dist/cjs/index.cjs.js +260 -0
  11. package/dist/cjs/layout-manager.cjs.entry.js +616 -0
  12. package/dist/cjs/library-card.cjs.entry.js +63 -0
  13. package/dist/cjs/lm-container_2.cjs.entry.js +79 -0
  14. package/dist/cjs/lm-panel_3.cjs.entry.js +108 -0
  15. package/dist/cjs/loader.cjs.js +12 -0
  16. package/dist/cjs/my-component.cjs.entry.js +33 -0
  17. package/dist/cjs/my-step.cjs.entry.js +29 -0
  18. package/dist/cjs/nav-bar.cjs.entry.js +247 -0
  19. package/dist/cjs/security-E1JcwxGc.js +1547 -0
  20. package/dist/cjs/smart-step.cjs.entry.js +47 -0
  21. package/dist/cjs/timeline-item.cjs.entry.js +29 -0
  22. package/dist/cjs/ui-accordion_10.cjs.entry.js +5733 -0
  23. package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2684 -0
  24. package/dist/cjs/ui-anchor.cjs.entry.js +558 -0
  25. package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +285 -0
  26. package/dist/cjs/ui-aside-panel.cjs.entry.js +638 -0
  27. package/dist/cjs/ui-avatar-group_3.cjs.entry.js +634 -0
  28. package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +56 -0
  29. package/dist/cjs/ui-breadcrumb.cjs.entry.js +201 -0
  30. package/dist/cjs/ui-callout-banner.cjs.entry.js +291 -0
  31. package/dist/cjs/ui-card.cjs.entry.js +411 -0
  32. package/dist/cjs/ui-carousel.cjs.entry.js +547 -0
  33. package/dist/cjs/ui-checkbox-group.cjs.entry.js +330 -0
  34. package/dist/cjs/ui-checkbox.cjs.entry.js +260 -0
  35. package/dist/cjs/ui-code-editor.cjs.entry.js +961 -0
  36. package/dist/cjs/ui-code-preview.cjs.entry.js +315 -0
  37. package/dist/cjs/ui-color-controller.cjs.entry.js +150 -0
  38. package/dist/cjs/ui-color-picker.cjs.entry.js +658 -0
  39. package/dist/cjs/ui-command-palette.cjs.entry.js +178 -0
  40. package/dist/cjs/ui-dialog-box.cjs.entry.js +1808 -0
  41. package/dist/cjs/ui-dialog-content.cjs.entry.js +31 -0
  42. package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +193 -0
  43. package/dist/cjs/ui-divider.cjs.entry.js +481 -0
  44. package/dist/cjs/ui-dock-host.cjs.entry.js +128 -0
  45. package/dist/cjs/ui-dock.cjs.entry.js +221 -0
  46. package/dist/cjs/ui-drag-drop.cjs.entry.js +172 -0
  47. package/dist/cjs/ui-dropdown_2.cjs.entry.js +1552 -0
  48. package/dist/cjs/ui-empty-state.cjs.entry.js +398 -0
  49. package/dist/cjs/ui-fab-item.cjs.entry.js +39 -0
  50. package/dist/cjs/ui-fab.cjs.entry.js +277 -0
  51. package/dist/cjs/ui-file-upload.cjs.entry.js +418 -0
  52. package/dist/cjs/ui-horizontal-nav.cjs.entry.js +135 -0
  53. package/dist/cjs/ui-image-button.cjs.entry.js +67 -0
  54. package/dist/cjs/ui-input-pair.cjs.entry.js +44 -0
  55. package/dist/cjs/ui-knob.cjs.entry.js +447 -0
  56. package/dist/cjs/ui-library.cjs.entry.js +134 -0
  57. package/dist/cjs/ui-list-group_2.cjs.entry.js +586 -0
  58. package/dist/cjs/ui-list.cjs.entry.js +732 -0
  59. package/dist/cjs/ui-masonry.cjs.entry.js +478 -0
  60. package/dist/cjs/ui-meter-group.cjs.entry.js +173 -0
  61. package/dist/cjs/ui-navigation-item.cjs.entry.js +104 -0
  62. package/dist/cjs/ui-number-input.cjs.entry.js +191 -0
  63. package/dist/cjs/ui-otp-input.cjs.entry.js +246 -0
  64. package/dist/cjs/ui-pagination_3.cjs.entry.js +1621 -0
  65. package/dist/cjs/ui-panel.cjs.entry.js +614 -0
  66. package/dist/cjs/ui-pattern-input.cjs.entry.js +278 -0
  67. package/dist/cjs/ui-popover.cjs.entry.js +517 -0
  68. package/dist/cjs/ui-progress.cjs.entry.js +516 -0
  69. package/dist/cjs/ui-radio-group.cjs.entry.js +205 -0
  70. package/dist/cjs/ui-radio.cjs.entry.js +206 -0
  71. package/dist/cjs/ui-range-slider.cjs.entry.js +637 -0
  72. package/dist/cjs/ui-resizable-panel.cjs.entry.js +484 -0
  73. package/dist/cjs/ui-scroll-top.cjs.entry.js +459 -0
  74. package/dist/cjs/ui-smart-context-menu.cjs.entry.js +376 -0
  75. package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +565 -0
  76. package/dist/cjs/ui-smart-stepper.cjs.entry.js +137 -0
  77. package/dist/cjs/ui-snackbar.cjs.entry.js +863 -0
  78. package/dist/cjs/ui-speed-dial.cjs.entry.js +520 -0
  79. package/dist/cjs/ui-speedometer.cjs.entry.js +428 -0
  80. package/dist/cjs/ui-splitter.cjs.entry.js +282 -0
  81. package/dist/cjs/ui-step.cjs.entry.js +30 -0
  82. package/dist/cjs/ui-stepper.cjs.entry.js +640 -0
  83. package/dist/cjs/ui-switch.cjs.entry.js +405 -0
  84. package/dist/cjs/ui-tabs.cjs.entry.js +703 -0
  85. package/dist/cjs/ui-tag.cjs.entry.js +299 -0
  86. package/dist/cjs/ui-timeline.cjs.entry.js +267 -0
  87. package/dist/cjs/ui-timer.cjs.entry.js +502 -0
  88. package/dist/cjs/ui-toolbar.cjs.entry.js +619 -0
  89. package/dist/cjs/ui-tooltip.cjs.entry.js +697 -0
  90. package/dist/cjs/ui-top-bar.cjs.entry.js +121 -0
  91. package/dist/cjs/ui-transfer-list.cjs.entry.js +592 -0
  92. package/dist/cjs/ui-tree.cjs.entry.js +874 -0
  93. package/dist/cjs/ui-workspace-manager.cjs.entry.js +1201 -0
  94. package/dist/cjs/utils-DVZ6gul6.js +26 -0
  95. package/dist/collection/assets/js/component-config.js +41 -0
  96. package/dist/collection/assets/js/demo-loader.js +147 -0
  97. package/dist/collection/assets/js/demo-nav.js +273 -0
  98. package/dist/collection/assets/js/demos/about-demo.js +60 -0
  99. package/dist/collection/assets/js/demos/accordion-demo.js +1954 -0
  100. package/dist/collection/assets/js/demos/advanced-data-table-demo.js +2952 -0
  101. package/dist/collection/assets/js/demos/anchor-demo.js +527 -0
  102. package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +174 -0
  103. package/dist/collection/assets/js/demos/aside-panel-demo.js +1109 -0
  104. package/dist/collection/assets/js/demos/avatar-demo.js +508 -0
  105. package/dist/collection/assets/js/demos/badge-demo.js +620 -0
  106. package/dist/collection/assets/js/demos/breadcrumb-demo.js +365 -0
  107. package/dist/collection/assets/js/demos/button-demo.js +1223 -0
  108. package/dist/collection/assets/js/demos/button-toggle-demo.js +978 -0
  109. package/dist/collection/assets/js/demos/callout-banner-demo.js +366 -0
  110. package/dist/collection/assets/js/demos/card-demo.js +427 -0
  111. package/dist/collection/assets/js/demos/carousel-demo.js +360 -0
  112. package/dist/collection/assets/js/demos/checkbox-demo.js +489 -0
  113. package/dist/collection/assets/js/demos/code-preview-demo.js +216 -0
  114. package/dist/collection/assets/js/demos/color-picker-demo.js +117 -0
  115. package/dist/collection/assets/js/demos/command-palette-demo.js +105 -0
  116. package/dist/collection/assets/js/demos/complex-form-demo.js +45 -0
  117. package/dist/collection/assets/js/demos/context-menu-data.js +436 -0
  118. package/dist/collection/assets/js/demos/context-menu-demo.js +829 -0
  119. package/dist/collection/assets/js/demos/dashboard-demo.js +5 -0
  120. package/dist/collection/assets/js/demos/dialog-demo-temp.js +411 -0
  121. package/dist/collection/assets/js/demos/dialog-demo.js +2567 -0
  122. package/dist/collection/assets/js/demos/divider-demo.js +853 -0
  123. package/dist/collection/assets/js/demos/dock-demo.js +422 -0
  124. package/dist/collection/assets/js/demos/dock-host-init.js +117 -0
  125. package/dist/collection/assets/js/demos/dock-host-playground.js +59 -0
  126. package/dist/collection/assets/js/demos/documentation-demo.js +34 -0
  127. package/dist/collection/assets/js/demos/drag-drop-demo.js +132 -0
  128. package/dist/collection/assets/js/demos/dropdown-demo.js +1410 -0
  129. package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +18 -0
  130. package/dist/collection/assets/js/demos/empty-state-demo.js +580 -0
  131. package/dist/collection/assets/js/demos/fab-demo.js +374 -0
  132. package/dist/collection/assets/js/demos/file-upload-demo.js +171 -0
  133. package/dist/collection/assets/js/demos/home-components.js +750 -0
  134. package/dist/collection/assets/js/demos/home-demo.js +441 -0
  135. package/dist/collection/assets/js/demos/horizontal-nav-demo.js +277 -0
  136. package/dist/collection/assets/js/demos/icon-demo.js +380 -0
  137. package/dist/collection/assets/js/demos/input-demo.js +1932 -0
  138. package/dist/collection/assets/js/demos/knob-demo.js +570 -0
  139. package/dist/collection/assets/js/demos/layout-manager-demo.js +918 -0
  140. package/dist/collection/assets/js/demos/list-demo.js +1402 -0
  141. package/dist/collection/assets/js/demos/loader-demo.js +453 -0
  142. package/dist/collection/assets/js/demos/meter-group-demo.js +499 -0
  143. package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +924 -0
  144. package/dist/collection/assets/js/demos/my-profile-demo.js +237 -0
  145. package/dist/collection/assets/js/demos/nav-bar-demo.js +187 -0
  146. package/dist/collection/assets/js/demos/number-input-demo.js +242 -0
  147. package/dist/collection/assets/js/demos/overview-demo.js +11 -0
  148. package/dist/collection/assets/js/demos/pagination-demo.js +1042 -0
  149. package/dist/collection/assets/js/demos/panel-demo.js +789 -0
  150. package/dist/collection/assets/js/demos/pattern-input-demo.js +241 -0
  151. package/dist/collection/assets/js/demos/popover-demo.js +882 -0
  152. package/dist/collection/assets/js/demos/progress-demo.js +462 -0
  153. package/dist/collection/assets/js/demos/radio-demo.js +413 -0
  154. package/dist/collection/assets/js/demos/range-slider-demo.js +1217 -0
  155. package/dist/collection/assets/js/demos/rating-demo.js +383 -0
  156. package/dist/collection/assets/js/demos/scroll-top-demo.js +353 -0
  157. package/dist/collection/assets/js/demos/skeleton-demo.js +490 -0
  158. package/dist/collection/assets/js/demos/skeleton-performance-demo.js +26 -0
  159. package/dist/collection/assets/js/demos/smart-dialog-demo.js +552 -0
  160. package/dist/collection/assets/js/demos/smart-menu-demo.js +375 -0
  161. package/dist/collection/assets/js/demos/smart-stepper-demo.js +50 -0
  162. package/dist/collection/assets/js/demos/snackbar-demo.js +1040 -0
  163. package/dist/collection/assets/js/demos/speed-dial-demo.js +764 -0
  164. package/dist/collection/assets/js/demos/speedometer-demo.js +425 -0
  165. package/dist/collection/assets/js/demos/split-button-demo.js +201 -0
  166. package/dist/collection/assets/js/demos/stack-demo.js +228 -0
  167. package/dist/collection/assets/js/demos/stepper-demo.js +798 -0
  168. package/dist/collection/assets/js/demos/switch-demo.js +849 -0
  169. package/dist/collection/assets/js/demos/tabs-demo.js +1032 -0
  170. package/dist/collection/assets/js/demos/tag-demo.js +842 -0
  171. package/dist/collection/assets/js/demos/theme-selector-demo.js +466 -0
  172. package/dist/collection/assets/js/demos/timeline-demo.js +365 -0
  173. package/dist/collection/assets/js/demos/timeline-playground.js +59 -0
  174. package/dist/collection/assets/js/demos/timer-demo.js +313 -0
  175. package/dist/collection/assets/js/demos/toolbar-demo.js +643 -0
  176. package/dist/collection/assets/js/demos/tooltip-demo.js +730 -0
  177. package/dist/collection/assets/js/demos/top-bar-demo.js +417 -0
  178. package/dist/collection/assets/js/demos/transfer-list-demo.js +555 -0
  179. package/dist/collection/assets/js/demos/tree-demo.js +693 -0
  180. package/dist/collection/assets/js/demos/workspace-manager-demo.js +241 -0
  181. package/dist/collection/assets/js/index-boot.js +104 -0
  182. package/dist/collection/assets/js/nav-bar-demo.js +20 -0
  183. package/dist/collection/assets/js/nav-bar-init.js +119 -0
  184. package/dist/collection/assets/js/utils/layout-loader.js +80 -0
  185. package/dist/collection/collection-manifest.json +113 -0
  186. package/dist/collection/components/accordion/accordion.css +2090 -0
  187. package/dist/collection/components/accordion/accordion.js +2955 -0
  188. package/dist/collection/components/accordion/types.js +1 -0
  189. package/dist/collection/components/advanced-data-table/advanced-data-table.css +2606 -0
  190. package/dist/collection/components/advanced-data-table/advanced-data-table.js +5394 -0
  191. package/dist/collection/components/advanced-data-table/types.js +1 -0
  192. package/dist/collection/components/anchor/anchor.css +395 -0
  193. package/dist/collection/components/anchor/anchor.js +1404 -0
  194. package/dist/collection/components/anchor/types.js +1 -0
  195. package/dist/collection/components/animate-on-scroll/animate-on-scroll.css +804 -0
  196. package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +696 -0
  197. package/dist/collection/components/aside-panel/aside-panel.css +472 -0
  198. package/dist/collection/components/aside-panel/aside-panel.js +1697 -0
  199. package/dist/collection/components/avatar/avatar.css +696 -0
  200. package/dist/collection/components/avatar/avatar.js +2007 -0
  201. package/dist/collection/components/avatar/types.js +1 -0
  202. package/dist/collection/components/avatar-group/avatar-group.css +253 -0
  203. package/dist/collection/components/avatar-group/avatar-group.js +405 -0
  204. package/dist/collection/components/avatar-group/types.js +1 -0
  205. package/dist/collection/components/badge/badge.css +580 -0
  206. package/dist/collection/components/badge/badge.js +723 -0
  207. package/dist/collection/components/badge/types.js +1 -0
  208. package/dist/collection/components/breadcrumb/breadcrumb-item.js +231 -0
  209. package/dist/collection/components/breadcrumb/breadcrumb.css +313 -0
  210. package/dist/collection/components/breadcrumb/breadcrumb.js +510 -0
  211. package/dist/collection/components/breadcrumb/types.js +1 -0
  212. package/dist/collection/components/button/button.css +1862 -0
  213. package/dist/collection/components/button/button.js +1380 -0
  214. package/dist/collection/components/button/types.js +1 -0
  215. package/dist/collection/components/button-toggle/button-toggle.css +97 -0
  216. package/dist/collection/components/button-toggle/button-toggle.js +620 -0
  217. package/dist/collection/components/button-toggle-group/button-toggle-group.css +401 -0
  218. package/dist/collection/components/button-toggle-group/button-toggle-group.js +1572 -0
  219. package/dist/collection/components/button-toggle-group/types.js +1 -0
  220. package/dist/collection/components/callout-banner/callout-banner.css +684 -0
  221. package/dist/collection/components/callout-banner/callout-banner.js +1076 -0
  222. package/dist/collection/components/callout-banner/types.js +1 -0
  223. package/dist/collection/components/card/card.css +663 -0
  224. package/dist/collection/components/card/card.js +1697 -0
  225. package/dist/collection/components/card/types.js +1 -0
  226. package/dist/collection/components/carousel/carousel.css +549 -0
  227. package/dist/collection/components/carousel/carousel.js +1512 -0
  228. package/dist/collection/components/carousel/types.js +1 -0
  229. package/dist/collection/components/checkbox/checkbox.css +863 -0
  230. package/dist/collection/components/checkbox/checkbox.js +1201 -0
  231. package/dist/collection/components/checkbox/types.js +1 -0
  232. package/dist/collection/components/checkbox-group/checkbox-group.css +223 -0
  233. package/dist/collection/components/checkbox-group/checkbox-group.js +1001 -0
  234. package/dist/collection/components/checkbox-group/types.js +1 -0
  235. package/dist/collection/components/code-editor/code-editor.css +1081 -0
  236. package/dist/collection/components/code-editor/code-editor.js +1211 -0
  237. package/dist/collection/components/code-editor/types.js +1 -0
  238. package/dist/collection/components/code-preview/types.js +1 -0
  239. package/dist/collection/components/code-preview/ui-code-preview.css +209 -0
  240. package/dist/collection/components/code-preview/ui-code-preview.js +548 -0
  241. package/dist/collection/components/color-controller/color-controller.css +108 -0
  242. package/dist/collection/components/color-controller/color-controller.js +224 -0
  243. package/dist/collection/components/color-picker/color-picker.css +323 -0
  244. package/dist/collection/components/color-picker/color-picker.js +1139 -0
  245. package/dist/collection/components/color-picker/types.js +1 -0
  246. package/dist/collection/components/command-palette/command-palette.css +260 -0
  247. package/dist/collection/components/command-palette/command-palette.js +429 -0
  248. package/dist/collection/components/command-palette/types.js +1 -0
  249. package/dist/collection/components/context-menu/context-menu.css +388 -0
  250. package/dist/collection/components/context-menu/context-menu.js +1412 -0
  251. package/dist/collection/components/context-menu/types.js +1 -0
  252. package/dist/collection/components/dialog-box/dialog-box.css +1261 -0
  253. package/dist/collection/components/dialog-box/dialog-box.js +4314 -0
  254. package/dist/collection/components/dialog-box/dialog-tray.css +268 -0
  255. package/dist/collection/components/dialog-box/types.js +1 -0
  256. package/dist/collection/components/dialog-content/dialog-content.css +83 -0
  257. package/dist/collection/components/dialog-content/dialog-content.js +96 -0
  258. package/dist/collection/components/dialog-footer/dialog-footer.css +89 -0
  259. package/dist/collection/components/dialog-footer/dialog-footer.js +94 -0
  260. package/dist/collection/components/dialog-footer/types.js +1 -0
  261. package/dist/collection/components/dialog-header/dialog-header.css +203 -0
  262. package/dist/collection/components/dialog-header/dialog-header.js +630 -0
  263. package/dist/collection/components/dialog-header/types.js +1 -0
  264. package/dist/collection/components/divider/divider.css +948 -0
  265. package/dist/collection/components/divider/divider.js +1612 -0
  266. package/dist/collection/components/divider/types.js +1 -0
  267. package/dist/collection/components/dock/dock.css +348 -0
  268. package/dist/collection/components/dock/dock.js +464 -0
  269. package/dist/collection/components/dock/types.js +1 -0
  270. package/dist/collection/components/dock-host/index.js +1 -0
  271. package/dist/collection/components/dock-host/types.js +1 -0
  272. package/dist/collection/components/dock-host/ui-dock-host.css +155 -0
  273. package/dist/collection/components/dock-host/ui-dock-host.js +226 -0
  274. package/dist/collection/components/drag-drop/drag-drop.css +103 -0
  275. package/dist/collection/components/drag-drop/drag-drop.js +385 -0
  276. package/dist/collection/components/drag-drop/types.js +1 -0
  277. package/dist/collection/components/dropdown/dropdown.css +1142 -0
  278. package/dist/collection/components/dropdown/dropdown.js +2033 -0
  279. package/dist/collection/components/dropdown/types.js +1 -0
  280. package/dist/collection/components/empty-state/empty-state.css +712 -0
  281. package/dist/collection/components/empty-state/empty-state.js +1256 -0
  282. package/dist/collection/components/empty-state/types.js +1 -0
  283. package/dist/collection/components/fab/fab.css +601 -0
  284. package/dist/collection/components/fab/fab.js +1124 -0
  285. package/dist/collection/components/fab-item/fab-item.css +107 -0
  286. package/dist/collection/components/fab-item/fab-item.js +177 -0
  287. package/dist/collection/components/fab-item/types.js +1 -0
  288. package/dist/collection/components/file-upload/file-upload.css +243 -0
  289. package/dist/collection/components/file-upload/file-upload.js +1022 -0
  290. package/dist/collection/components/file-upload/types.js +1 -0
  291. package/dist/collection/components/horizontal-nav/horizontal-nav.css +394 -0
  292. package/dist/collection/components/horizontal-nav/horizontal-nav.js +375 -0
  293. package/dist/collection/components/icon/icon.css +113 -0
  294. package/dist/collection/components/icon/icon.js +583 -0
  295. package/dist/collection/components/image-button/image-button.css +154 -0
  296. package/dist/collection/components/image-button/image-button.js +310 -0
  297. package/dist/collection/components/image-button/types.js +1 -0
  298. package/dist/collection/components/input/input.css +1544 -0
  299. package/dist/collection/components/input/input.js +3690 -0
  300. package/dist/collection/components/input/types.js +1 -0
  301. package/dist/collection/components/input-pair/input-pair.css +72 -0
  302. package/dist/collection/components/input-pair/input-pair.js +309 -0
  303. package/dist/collection/components/knob/knob.css +162 -0
  304. package/dist/collection/components/knob/knob.js +986 -0
  305. package/dist/collection/components/knob/types.js +1 -0
  306. package/dist/collection/components/layout-manager/layout-manager.css +41 -0
  307. package/dist/collection/components/layout-manager/layout-manager.js +525 -0
  308. package/dist/collection/components/layout-manager/lm-container/lm-container.css +117 -0
  309. package/dist/collection/components/layout-manager/lm-container/lm-container.js +110 -0
  310. package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.css +0 -0
  311. package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +49 -0
  312. package/dist/collection/components/layout-manager/lm-panel/lm-panel.css +97 -0
  313. package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +58 -0
  314. package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.css +57 -0
  315. package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +120 -0
  316. package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.css +149 -0
  317. package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +130 -0
  318. package/dist/collection/components/layout-manager/types.js +1 -0
  319. package/dist/collection/components/library/category-section.css +147 -0
  320. package/dist/collection/components/library/category-section.js +139 -0
  321. package/dist/collection/components/library/data.js +74 -0
  322. package/dist/collection/components/library/library-card.css +181 -0
  323. package/dist/collection/components/library/library-card.js +203 -0
  324. package/dist/collection/components/library/library.css +358 -0
  325. package/dist/collection/components/library/library.js +91 -0
  326. package/dist/collection/components/list/list.css +1029 -0
  327. package/dist/collection/components/list/list.js +2167 -0
  328. package/dist/collection/components/list-group/list-group.css +275 -0
  329. package/dist/collection/components/list-group/list-group.js +356 -0
  330. package/dist/collection/components/list-item/list-item.css +1491 -0
  331. package/dist/collection/components/list-item/list-item.js +2184 -0
  332. package/dist/collection/components/masonry/masonry.css +414 -0
  333. package/dist/collection/components/masonry/masonry.js +1104 -0
  334. package/dist/collection/components/masonry/types.js +1 -0
  335. package/dist/collection/components/meter-group/meter-group.css +184 -0
  336. package/dist/collection/components/meter-group/meter-group.js +471 -0
  337. package/dist/collection/components/meter-group/types.js +1 -0
  338. package/dist/collection/components/my-component/my-component.css +27 -0
  339. package/dist/collection/components/my-component/my-component.js +95 -0
  340. package/dist/collection/components/my-step/my-step.css +25 -0
  341. package/dist/collection/components/my-step/my-step.js +237 -0
  342. package/dist/collection/components/nav-bar/nav-bar.css +448 -0
  343. package/dist/collection/components/nav-bar/nav-bar.js +608 -0
  344. package/dist/collection/components/number-input/number-input.css +200 -0
  345. package/dist/collection/components/number-input/number-input.js +695 -0
  346. package/dist/collection/components/otp-input/otp-input.css +243 -0
  347. package/dist/collection/components/otp-input/otp-input.js +761 -0
  348. package/dist/collection/components/otp-input/types.js +1 -0
  349. package/dist/collection/components/pagination/pagination.css +1399 -0
  350. package/dist/collection/components/pagination/pagination.js +2033 -0
  351. package/dist/collection/components/pagination/types.js +1 -0
  352. package/dist/collection/components/panel/panel.css +837 -0
  353. package/dist/collection/components/panel/panel.js +1842 -0
  354. package/dist/collection/components/panel/types.js +1 -0
  355. package/dist/collection/components/pattern-input/pattern-input.css +252 -0
  356. package/dist/collection/components/pattern-input/pattern-input.js +788 -0
  357. package/dist/collection/components/popover/popover.css +399 -0
  358. package/dist/collection/components/popover/popover.js +1449 -0
  359. package/dist/collection/components/popover/types.js +1 -0
  360. package/dist/collection/components/progress/progress.css +588 -0
  361. package/dist/collection/components/progress/progress.js +1414 -0
  362. package/dist/collection/components/progress/types.js +1 -0
  363. package/dist/collection/components/radio/radio.css +773 -0
  364. package/dist/collection/components/radio/radio.js +1059 -0
  365. package/dist/collection/components/radio/types.js +1 -0
  366. package/dist/collection/components/radio-group/radio-group.css +202 -0
  367. package/dist/collection/components/radio-group/radio-group.js +903 -0
  368. package/dist/collection/components/radio-group/types.js +1 -0
  369. package/dist/collection/components/range-slider/range-slider.css +602 -0
  370. package/dist/collection/components/range-slider/range-slider.js +1369 -0
  371. package/dist/collection/components/range-slider/types.js +1 -0
  372. package/dist/collection/components/rating/rating.css +768 -0
  373. package/dist/collection/components/rating/rating.js +1062 -0
  374. package/dist/collection/components/rating/types.js +1 -0
  375. package/dist/collection/components/resizable-panel/resizable-panel.css +247 -0
  376. package/dist/collection/components/resizable-panel/resizable-panel.js +874 -0
  377. package/dist/collection/components/resizable-panel/types.js +1 -0
  378. package/dist/collection/components/scroll-top/scroll-top.css +397 -0
  379. package/dist/collection/components/scroll-top/scroll-top.js +1178 -0
  380. package/dist/collection/components/scroll-top/types.js +1 -0
  381. package/dist/collection/components/skeleton/skeleton-loader.css +429 -0
  382. package/dist/collection/components/skeleton/skeleton-loader.js +1193 -0
  383. package/dist/collection/components/skeleton/types.js +1 -0
  384. package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +357 -0
  385. package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +1190 -0
  386. package/dist/collection/components/smart-location-dropdown/types.js +1 -0
  387. package/dist/collection/components/smart-menu/menu-item.interface.js +1 -0
  388. package/dist/collection/components/smart-menu/smart-menu.css +119 -0
  389. package/dist/collection/components/smart-menu/smart-menu.js +544 -0
  390. package/dist/collection/components/smart-stepper/smart-step.css +213 -0
  391. package/dist/collection/components/smart-stepper/smart-step.js +170 -0
  392. package/dist/collection/components/smart-stepper/smart-stepper.css +146 -0
  393. package/dist/collection/components/smart-stepper/smart-stepper.js +338 -0
  394. package/dist/collection/components/snackbar/snackbar.css +1480 -0
  395. package/dist/collection/components/snackbar/snackbar.js +1759 -0
  396. package/dist/collection/components/snackbar/types.js +1 -0
  397. package/dist/collection/components/speed-dial/speed-dial.css +478 -0
  398. package/dist/collection/components/speed-dial/speed-dial.js +1183 -0
  399. package/dist/collection/components/speed-dial/types.js +1 -0
  400. package/dist/collection/components/speedometer/speedometer.css +95 -0
  401. package/dist/collection/components/speedometer/speedometer.js +868 -0
  402. package/dist/collection/components/speedometer/types.js +1 -0
  403. package/dist/collection/components/splitter/splitter.css +269 -0
  404. package/dist/collection/components/splitter/splitter.js +713 -0
  405. package/dist/collection/components/splitter/types.js +1 -0
  406. package/dist/collection/components/stack/stack.css +269 -0
  407. package/dist/collection/components/stack/stack.js +297 -0
  408. package/dist/collection/components/stack/types.js +1 -0
  409. package/dist/collection/components/step/step.css +77 -0
  410. package/dist/collection/components/step/step.js +214 -0
  411. package/dist/collection/components/step/types.js +1 -0
  412. package/dist/collection/components/stepper/stepper.css +1079 -0
  413. package/dist/collection/components/stepper/stepper.js +1850 -0
  414. package/dist/collection/components/stepper/types.js +1 -0
  415. package/dist/collection/components/switch/switch.css +1099 -0
  416. package/dist/collection/components/switch/switch.js +1578 -0
  417. package/dist/collection/components/tabs/tabs.css +1355 -0
  418. package/dist/collection/components/tabs/tabs.js +1474 -0
  419. package/dist/collection/components/tabs/types.js +1 -0
  420. package/dist/collection/components/tag/tag.css +893 -0
  421. package/dist/collection/components/tag/tag.js +1119 -0
  422. package/dist/collection/components/tag/types.js +1 -0
  423. package/dist/collection/components/tag-group/tag-group.css +144 -0
  424. package/dist/collection/components/tag-group/tag-group.js +887 -0
  425. package/dist/collection/components/tag-group/types.js +1 -0
  426. package/dist/collection/components/timeline/timeline.css +1850 -0
  427. package/dist/collection/components/timeline/timeline.js +889 -0
  428. package/dist/collection/components/timeline/types.js +1 -0
  429. package/dist/collection/components/timeline/ui-timeline.stories.js +19 -0
  430. package/dist/collection/components/timeline-item/timeline-item.css +75 -0
  431. package/dist/collection/components/timeline-item/timeline-item.js +91 -0
  432. package/dist/collection/components/timer/timer.css +367 -0
  433. package/dist/collection/components/timer/timer.js +1292 -0
  434. package/dist/collection/components/timer/types.js +1 -0
  435. package/dist/collection/components/timer/ui-timer.stories.js +19 -0
  436. package/dist/collection/components/toggle-group/toggle-group.css +361 -0
  437. package/dist/collection/components/toggle-group/toggle-group.js +1212 -0
  438. package/dist/collection/components/toggle-group/types.js +1 -0
  439. package/dist/collection/components/toolbar/toolbar-types.js +1 -0
  440. package/dist/collection/components/toolbar/toolbar.css +1186 -0
  441. package/dist/collection/components/toolbar/toolbar.js +1635 -0
  442. package/dist/collection/components/tooltip/tooltip.css +609 -0
  443. package/dist/collection/components/tooltip/tooltip.js +1882 -0
  444. package/dist/collection/components/tooltip/types.js +1 -0
  445. package/dist/collection/components/top-bar/top-bar.css +274 -0
  446. package/dist/collection/components/top-bar/top-bar.js +383 -0
  447. package/dist/collection/components/transfer-list/transfer-list.css +520 -0
  448. package/dist/collection/components/transfer-list/transfer-list.js +1225 -0
  449. package/dist/collection/components/transfer-list/types.js +1 -0
  450. package/dist/collection/components/tree/tree.css +1197 -0
  451. package/dist/collection/components/tree/tree.js +2509 -0
  452. package/dist/collection/components/tree/types.js +1 -0
  453. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +830 -0
  454. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +1231 -0
  455. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-types.js +1 -0
  456. package/dist/collection/components/ui-navigation-bar/navigation-item.css +679 -0
  457. package/dist/collection/components/ui-navigation-bar/navigation-item.js +385 -0
  458. package/dist/collection/components/ui-navigation-bar/navigation-types.js +1 -0
  459. package/dist/collection/components/workspace-manager/types.js +1 -0
  460. package/dist/collection/components/workspace-manager/workspace-manager.css +1094 -0
  461. package/dist/collection/components/workspace-manager/workspace-manager.js +1914 -0
  462. package/dist/collection/components.js +51 -0
  463. package/dist/collection/index.js +108 -0
  464. package/dist/collection/service/drag-manager.js +23 -0
  465. package/dist/collection/service/event-bus.js +19 -0
  466. package/dist/collection/service/serialization.js +8 -0
  467. package/dist/collection/service/state-engine.js +247 -0
  468. package/dist/collection/service/theme-switcher.js +146 -0
  469. package/dist/collection/stories/Button.stories.js +15 -0
  470. package/dist/collection/types/common.js +1 -0
  471. package/dist/collection/types/index.js +4 -0
  472. package/dist/collection/utils/aria-live.js +60 -0
  473. package/dist/collection/utils/component-size.js +25 -0
  474. package/dist/collection/utils/dom.js +260 -0
  475. package/dist/collection/utils/focus-trap.js +135 -0
  476. package/dist/collection/utils/security.js +10 -0
  477. package/dist/collection/utils/test/setup-component-test-env.js +92 -0
  478. package/dist/collection/utils/utils.js +21 -0
  479. package/dist/collection/utils/validation.js +74 -0
  480. package/dist/components/avatar-group.js +1 -0
  481. package/dist/components/avatar.js +1 -0
  482. package/dist/components/badge.js +1 -0
  483. package/dist/components/button-toggle.js +1 -0
  484. package/dist/components/category-section.d.ts +11 -0
  485. package/dist/components/category-section.js +1 -0
  486. package/dist/components/category-section2.js +1 -0
  487. package/dist/components/checkbox.js +1 -0
  488. package/dist/components/context-menu.js +1 -0
  489. package/dist/components/dialog-footer.js +1 -0
  490. package/dist/components/dialog-header.js +1 -0
  491. package/dist/components/dom.js +1 -0
  492. package/dist/components/dropdown.js +1 -0
  493. package/dist/components/event-bus.js +1 -0
  494. package/dist/components/focus-trap.js +1 -0
  495. package/dist/components/icon.js +2 -0
  496. package/dist/components/index.d.ts +35 -0
  497. package/dist/components/index.js +1 -0
  498. package/dist/components/input.js +1 -0
  499. package/dist/components/layout-manager.d.ts +11 -0
  500. package/dist/components/layout-manager.js +1 -0
  501. package/dist/components/library-card.d.ts +11 -0
  502. package/dist/components/library-card.js +1 -0
  503. package/dist/components/library-card2.js +1 -0
  504. package/dist/components/list-group.js +1 -0
  505. package/dist/components/list-item.js +1 -0
  506. package/dist/components/lm-container.d.ts +11 -0
  507. package/dist/components/lm-container.js +1 -0
  508. package/dist/components/lm-container2.js +1 -0
  509. package/dist/components/lm-floating-window.d.ts +11 -0
  510. package/dist/components/lm-floating-window.js +1 -0
  511. package/dist/components/lm-floating-window2.js +1 -0
  512. package/dist/components/lm-panel.d.ts +11 -0
  513. package/dist/components/lm-panel.js +1 -0
  514. package/dist/components/lm-panel2.js +1 -0
  515. package/dist/components/lm-splitter.d.ts +11 -0
  516. package/dist/components/lm-splitter.js +1 -0
  517. package/dist/components/lm-splitter2.js +1 -0
  518. package/dist/components/lm-tabs.d.ts +11 -0
  519. package/dist/components/lm-tabs.js +1 -0
  520. package/dist/components/lm-tabs2.js +1 -0
  521. package/dist/components/my-component.d.ts +11 -0
  522. package/dist/components/my-component.js +1 -0
  523. package/dist/components/my-step.d.ts +11 -0
  524. package/dist/components/my-step.js +1 -0
  525. package/dist/components/nav-bar.d.ts +11 -0
  526. package/dist/components/nav-bar.js +1 -0
  527. package/dist/components/pagination.js +1 -0
  528. package/dist/components/radio.js +1 -0
  529. package/dist/components/range-slider.js +1 -0
  530. package/dist/components/rating.js +1 -0
  531. package/dist/components/resizable-panel.js +1 -0
  532. package/dist/components/skeleton-loader.js +1 -0
  533. package/dist/components/smart-step.d.ts +11 -0
  534. package/dist/components/smart-step.js +1 -0
  535. package/dist/components/stack.js +1 -0
  536. package/dist/components/switch.js +1 -0
  537. package/dist/components/tag-group.js +1 -0
  538. package/dist/components/tag.js +1 -0
  539. package/dist/components/timeline-item.d.ts +11 -0
  540. package/dist/components/timeline-item.js +1 -0
  541. package/dist/components/toggle-group.js +1 -0
  542. package/dist/components/tooltip.js +1 -0
  543. package/dist/components/ui-accordion.d.ts +11 -0
  544. package/dist/components/ui-accordion.js +1 -0
  545. package/dist/components/ui-advanced-data-table.d.ts +11 -0
  546. package/dist/components/ui-advanced-data-table.js +1 -0
  547. package/dist/components/ui-anchor.d.ts +11 -0
  548. package/dist/components/ui-anchor.js +1 -0
  549. package/dist/components/ui-animate-on-scroll.d.ts +11 -0
  550. package/dist/components/ui-animate-on-scroll.js +1 -0
  551. package/dist/components/ui-aside-panel.d.ts +11 -0
  552. package/dist/components/ui-aside-panel.js +1 -0
  553. package/dist/components/ui-avatar-group.d.ts +11 -0
  554. package/dist/components/ui-avatar-group.js +1 -0
  555. package/dist/components/ui-avatar.d.ts +11 -0
  556. package/dist/components/ui-avatar.js +1 -0
  557. package/dist/components/ui-badge.d.ts +11 -0
  558. package/dist/components/ui-badge.js +1 -0
  559. package/dist/components/ui-breadcrumb-item.d.ts +11 -0
  560. package/dist/components/ui-breadcrumb-item.js +1 -0
  561. package/dist/components/ui-breadcrumb.d.ts +11 -0
  562. package/dist/components/ui-breadcrumb.js +1 -0
  563. package/dist/components/ui-button-toggle-group.d.ts +11 -0
  564. package/dist/components/ui-button-toggle-group.js +1 -0
  565. package/dist/components/ui-button-toggle.d.ts +11 -0
  566. package/dist/components/ui-button-toggle.js +1 -0
  567. package/dist/components/ui-button.d.ts +11 -0
  568. package/dist/components/ui-button.js +1 -0
  569. package/dist/components/ui-callout-banner.d.ts +11 -0
  570. package/dist/components/ui-callout-banner.js +1 -0
  571. package/dist/components/ui-card.d.ts +11 -0
  572. package/dist/components/ui-card.js +1 -0
  573. package/dist/components/ui-carousel.d.ts +11 -0
  574. package/dist/components/ui-carousel.js +1 -0
  575. package/dist/components/ui-checkbox-group.d.ts +11 -0
  576. package/dist/components/ui-checkbox-group.js +1 -0
  577. package/dist/components/ui-checkbox.d.ts +11 -0
  578. package/dist/components/ui-checkbox.js +1 -0
  579. package/dist/components/ui-code-editor.d.ts +11 -0
  580. package/dist/components/ui-code-editor.js +1 -0
  581. package/dist/components/ui-code-preview.d.ts +11 -0
  582. package/dist/components/ui-code-preview.js +1 -0
  583. package/dist/components/ui-color-controller.d.ts +11 -0
  584. package/dist/components/ui-color-controller.js +1 -0
  585. package/dist/components/ui-color-picker.d.ts +11 -0
  586. package/dist/components/ui-color-picker.js +1 -0
  587. package/dist/components/ui-command-palette.d.ts +11 -0
  588. package/dist/components/ui-command-palette.js +1 -0
  589. package/dist/components/ui-context-menu.d.ts +11 -0
  590. package/dist/components/ui-context-menu.js +1 -0
  591. package/dist/components/ui-dialog-box.d.ts +11 -0
  592. package/dist/components/ui-dialog-box.js +1 -0
  593. package/dist/components/ui-dialog-content.d.ts +11 -0
  594. package/dist/components/ui-dialog-content.js +1 -0
  595. package/dist/components/ui-dialog-footer.d.ts +11 -0
  596. package/dist/components/ui-dialog-footer.js +1 -0
  597. package/dist/components/ui-dialog-header.d.ts +11 -0
  598. package/dist/components/ui-dialog-header.js +1 -0
  599. package/dist/components/ui-divider.d.ts +11 -0
  600. package/dist/components/ui-divider.js +1 -0
  601. package/dist/components/ui-dock-host.d.ts +11 -0
  602. package/dist/components/ui-dock-host.js +1 -0
  603. package/dist/components/ui-dock.d.ts +11 -0
  604. package/dist/components/ui-dock.js +1 -0
  605. package/dist/components/ui-drag-drop.d.ts +11 -0
  606. package/dist/components/ui-drag-drop.js +1 -0
  607. package/dist/components/ui-dropdown.d.ts +11 -0
  608. package/dist/components/ui-dropdown.js +1 -0
  609. package/dist/components/ui-empty-state.d.ts +11 -0
  610. package/dist/components/ui-empty-state.js +1 -0
  611. package/dist/components/ui-fab-item.d.ts +11 -0
  612. package/dist/components/ui-fab-item.js +1 -0
  613. package/dist/components/ui-fab.d.ts +11 -0
  614. package/dist/components/ui-fab.js +1 -0
  615. package/dist/components/ui-file-upload.d.ts +11 -0
  616. package/dist/components/ui-file-upload.js +1 -0
  617. package/dist/components/ui-horizontal-nav.d.ts +11 -0
  618. package/dist/components/ui-horizontal-nav.js +1 -0
  619. package/dist/components/ui-icon.d.ts +11 -0
  620. package/dist/components/ui-icon.js +1 -0
  621. package/dist/components/ui-image-button.d.ts +11 -0
  622. package/dist/components/ui-image-button.js +1 -0
  623. package/dist/components/ui-input-pair.d.ts +11 -0
  624. package/dist/components/ui-input-pair.js +1 -0
  625. package/dist/components/ui-input.d.ts +11 -0
  626. package/dist/components/ui-input.js +1 -0
  627. package/dist/components/ui-knob.d.ts +11 -0
  628. package/dist/components/ui-knob.js +1 -0
  629. package/dist/components/ui-library.d.ts +11 -0
  630. package/dist/components/ui-library.js +1 -0
  631. package/dist/components/ui-list-group.d.ts +11 -0
  632. package/dist/components/ui-list-group.js +1 -0
  633. package/dist/components/ui-list-item.d.ts +11 -0
  634. package/dist/components/ui-list-item.js +1 -0
  635. package/dist/components/ui-list.d.ts +11 -0
  636. package/dist/components/ui-list.js +1 -0
  637. package/dist/components/ui-masonry.d.ts +11 -0
  638. package/dist/components/ui-masonry.js +1 -0
  639. package/dist/components/ui-meter-group.d.ts +11 -0
  640. package/dist/components/ui-meter-group.js +1 -0
  641. package/dist/components/ui-navigation-bar.d.ts +11 -0
  642. package/dist/components/ui-navigation-bar.js +1 -0
  643. package/dist/components/ui-navigation-item.d.ts +11 -0
  644. package/dist/components/ui-navigation-item.js +1 -0
  645. package/dist/components/ui-number-input.d.ts +11 -0
  646. package/dist/components/ui-number-input.js +1 -0
  647. package/dist/components/ui-otp-input.d.ts +11 -0
  648. package/dist/components/ui-otp-input.js +1 -0
  649. package/dist/components/ui-pagination.d.ts +11 -0
  650. package/dist/components/ui-pagination.js +1 -0
  651. package/dist/components/ui-panel.d.ts +11 -0
  652. package/dist/components/ui-panel.js +1 -0
  653. package/dist/components/ui-pattern-input.d.ts +11 -0
  654. package/dist/components/ui-pattern-input.js +1 -0
  655. package/dist/components/ui-popover.d.ts +11 -0
  656. package/dist/components/ui-popover.js +1 -0
  657. package/dist/components/ui-progress.d.ts +11 -0
  658. package/dist/components/ui-progress.js +1 -0
  659. package/dist/components/ui-radio-group.d.ts +11 -0
  660. package/dist/components/ui-radio-group.js +1 -0
  661. package/dist/components/ui-radio.d.ts +11 -0
  662. package/dist/components/ui-radio.js +1 -0
  663. package/dist/components/ui-range-slider.d.ts +11 -0
  664. package/dist/components/ui-range-slider.js +1 -0
  665. package/dist/components/ui-rating.d.ts +11 -0
  666. package/dist/components/ui-rating.js +1 -0
  667. package/dist/components/ui-resizable-panel.d.ts +11 -0
  668. package/dist/components/ui-resizable-panel.js +1 -0
  669. package/dist/components/ui-scroll-top.d.ts +11 -0
  670. package/dist/components/ui-scroll-top.js +1 -0
  671. package/dist/components/ui-skeleton.d.ts +11 -0
  672. package/dist/components/ui-skeleton.js +1 -0
  673. package/dist/components/ui-smart-context-menu.d.ts +11 -0
  674. package/dist/components/ui-smart-context-menu.js +1 -0
  675. package/dist/components/ui-smart-location-dropdown.d.ts +11 -0
  676. package/dist/components/ui-smart-location-dropdown.js +1 -0
  677. package/dist/components/ui-smart-stepper.d.ts +11 -0
  678. package/dist/components/ui-smart-stepper.js +1 -0
  679. package/dist/components/ui-snackbar.d.ts +11 -0
  680. package/dist/components/ui-snackbar.js +1 -0
  681. package/dist/components/ui-speed-dial.d.ts +11 -0
  682. package/dist/components/ui-speed-dial.js +1 -0
  683. package/dist/components/ui-speedometer.d.ts +11 -0
  684. package/dist/components/ui-speedometer.js +1 -0
  685. package/dist/components/ui-splitter.d.ts +11 -0
  686. package/dist/components/ui-splitter.js +1 -0
  687. package/dist/components/ui-stack.d.ts +11 -0
  688. package/dist/components/ui-stack.js +1 -0
  689. package/dist/components/ui-step.d.ts +11 -0
  690. package/dist/components/ui-step.js +1 -0
  691. package/dist/components/ui-stepper.d.ts +11 -0
  692. package/dist/components/ui-stepper.js +1 -0
  693. package/dist/components/ui-switch.d.ts +11 -0
  694. package/dist/components/ui-switch.js +1 -0
  695. package/dist/components/ui-tabs.d.ts +11 -0
  696. package/dist/components/ui-tabs.js +1 -0
  697. package/dist/components/ui-tag-group.d.ts +11 -0
  698. package/dist/components/ui-tag-group.js +1 -0
  699. package/dist/components/ui-tag.d.ts +11 -0
  700. package/dist/components/ui-tag.js +1 -0
  701. package/dist/components/ui-timeline.d.ts +11 -0
  702. package/dist/components/ui-timeline.js +1 -0
  703. package/dist/components/ui-timer.d.ts +11 -0
  704. package/dist/components/ui-timer.js +1 -0
  705. package/dist/components/ui-toggle-group.d.ts +11 -0
  706. package/dist/components/ui-toggle-group.js +1 -0
  707. package/dist/components/ui-toolbar.d.ts +11 -0
  708. package/dist/components/ui-toolbar.js +1 -0
  709. package/dist/components/ui-tooltip.d.ts +11 -0
  710. package/dist/components/ui-tooltip.js +1 -0
  711. package/dist/components/ui-top-bar.d.ts +11 -0
  712. package/dist/components/ui-top-bar.js +1 -0
  713. package/dist/components/ui-transfer-list.d.ts +11 -0
  714. package/dist/components/ui-transfer-list.js +1 -0
  715. package/dist/components/ui-tree.d.ts +11 -0
  716. package/dist/components/ui-tree.js +1 -0
  717. package/dist/components/ui-workspace-manager.d.ts +11 -0
  718. package/dist/components/ui-workspace-manager.js +1 -0
  719. package/dist/components/utils.js +1 -0
  720. package/dist/esm/category-section.entry.js +28 -0
  721. package/dist/esm/component-size-C7gf39HE.js +27 -0
  722. package/dist/esm/dom-BMFah5q3.js +262 -0
  723. package/dist/esm/event-bus-vwwmWKs9.js +21 -0
  724. package/dist/esm/exploration-project-tailwind.js +20 -0
  725. package/dist/esm/focus-trap-BSQ8klD4.js +137 -0
  726. package/dist/esm/index-DUsoYu9r.js +2264 -0
  727. package/dist/esm/index.js +256 -0
  728. package/dist/esm/layout-manager.entry.js +614 -0
  729. package/dist/esm/library-card.entry.js +61 -0
  730. package/dist/esm/lm-container_2.entry.js +76 -0
  731. package/dist/esm/lm-panel_3.entry.js +104 -0
  732. package/dist/esm/loader.js +10 -0
  733. package/dist/esm/my-component.entry.js +31 -0
  734. package/dist/esm/my-step.entry.js +27 -0
  735. package/dist/esm/nav-bar.entry.js +245 -0
  736. package/dist/esm/security-D2WzX6vR.js +1545 -0
  737. package/dist/esm/smart-step.entry.js +45 -0
  738. package/dist/esm/timeline-item.entry.js +27 -0
  739. package/dist/esm/ui-accordion_10.entry.js +5722 -0
  740. package/dist/esm/ui-advanced-data-table.entry.js +2682 -0
  741. package/dist/esm/ui-anchor.entry.js +556 -0
  742. package/dist/esm/ui-animate-on-scroll.entry.js +283 -0
  743. package/dist/esm/ui-aside-panel.entry.js +636 -0
  744. package/dist/esm/ui-avatar-group_3.entry.js +630 -0
  745. package/dist/esm/ui-breadcrumb-item.entry.js +54 -0
  746. package/dist/esm/ui-breadcrumb.entry.js +199 -0
  747. package/dist/esm/ui-callout-banner.entry.js +289 -0
  748. package/dist/esm/ui-card.entry.js +409 -0
  749. package/dist/esm/ui-carousel.entry.js +545 -0
  750. package/dist/esm/ui-checkbox-group.entry.js +328 -0
  751. package/dist/esm/ui-checkbox.entry.js +258 -0
  752. package/dist/esm/ui-code-editor.entry.js +959 -0
  753. package/dist/esm/ui-code-preview.entry.js +313 -0
  754. package/dist/esm/ui-color-controller.entry.js +148 -0
  755. package/dist/esm/ui-color-picker.entry.js +656 -0
  756. package/dist/esm/ui-command-palette.entry.js +176 -0
  757. package/dist/esm/ui-dialog-box.entry.js +1806 -0
  758. package/dist/esm/ui-dialog-content.entry.js +29 -0
  759. package/dist/esm/ui-dialog-footer_2.entry.js +190 -0
  760. package/dist/esm/ui-divider.entry.js +479 -0
  761. package/dist/esm/ui-dock-host.entry.js +126 -0
  762. package/dist/esm/ui-dock.entry.js +219 -0
  763. package/dist/esm/ui-drag-drop.entry.js +170 -0
  764. package/dist/esm/ui-dropdown_2.entry.js +1549 -0
  765. package/dist/esm/ui-empty-state.entry.js +396 -0
  766. package/dist/esm/ui-fab-item.entry.js +37 -0
  767. package/dist/esm/ui-fab.entry.js +275 -0
  768. package/dist/esm/ui-file-upload.entry.js +416 -0
  769. package/dist/esm/ui-horizontal-nav.entry.js +133 -0
  770. package/dist/esm/ui-image-button.entry.js +65 -0
  771. package/dist/esm/ui-input-pair.entry.js +42 -0
  772. package/dist/esm/ui-knob.entry.js +445 -0
  773. package/dist/esm/ui-library.entry.js +132 -0
  774. package/dist/esm/ui-list-group_2.entry.js +583 -0
  775. package/dist/esm/ui-list.entry.js +730 -0
  776. package/dist/esm/ui-masonry.entry.js +476 -0
  777. package/dist/esm/ui-meter-group.entry.js +171 -0
  778. package/dist/esm/ui-navigation-item.entry.js +102 -0
  779. package/dist/esm/ui-number-input.entry.js +189 -0
  780. package/dist/esm/ui-otp-input.entry.js +244 -0
  781. package/dist/esm/ui-pagination_3.entry.js +1617 -0
  782. package/dist/esm/ui-panel.entry.js +612 -0
  783. package/dist/esm/ui-pattern-input.entry.js +276 -0
  784. package/dist/esm/ui-popover.entry.js +515 -0
  785. package/dist/esm/ui-progress.entry.js +514 -0
  786. package/dist/esm/ui-radio-group.entry.js +203 -0
  787. package/dist/esm/ui-radio.entry.js +204 -0
  788. package/dist/esm/ui-range-slider.entry.js +635 -0
  789. package/dist/esm/ui-resizable-panel.entry.js +482 -0
  790. package/dist/esm/ui-scroll-top.entry.js +457 -0
  791. package/dist/esm/ui-smart-context-menu.entry.js +374 -0
  792. package/dist/esm/ui-smart-location-dropdown.entry.js +563 -0
  793. package/dist/esm/ui-smart-stepper.entry.js +135 -0
  794. package/dist/esm/ui-snackbar.entry.js +861 -0
  795. package/dist/esm/ui-speed-dial.entry.js +518 -0
  796. package/dist/esm/ui-speedometer.entry.js +426 -0
  797. package/dist/esm/ui-splitter.entry.js +280 -0
  798. package/dist/esm/ui-step.entry.js +28 -0
  799. package/dist/esm/ui-stepper.entry.js +638 -0
  800. package/dist/esm/ui-switch.entry.js +403 -0
  801. package/dist/esm/ui-tabs.entry.js +701 -0
  802. package/dist/esm/ui-tag.entry.js +297 -0
  803. package/dist/esm/ui-timeline.entry.js +265 -0
  804. package/dist/esm/ui-timer.entry.js +500 -0
  805. package/dist/esm/ui-toolbar.entry.js +617 -0
  806. package/dist/esm/ui-tooltip.entry.js +695 -0
  807. package/dist/esm/ui-top-bar.entry.js +119 -0
  808. package/dist/esm/ui-transfer-list.entry.js +590 -0
  809. package/dist/esm/ui-tree.entry.js +872 -0
  810. package/dist/esm/ui-workspace-manager.entry.js +1199 -0
  811. package/dist/esm/utils-Ck6jDuhz.js +23 -0
  812. package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -0
  813. package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -0
  814. package/dist/exploration-project-tailwind/index.esm.js +1 -0
  815. package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +1 -0
  816. package/dist/exploration-project-tailwind/p-049744f9.entry.js +1 -0
  817. package/dist/exploration-project-tailwind/p-06f0c679.entry.js +1 -0
  818. package/dist/exploration-project-tailwind/p-0b004861.entry.js +1 -0
  819. package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +1 -0
  820. package/dist/exploration-project-tailwind/p-148e81df.entry.js +1 -0
  821. package/dist/exploration-project-tailwind/p-200241f8.entry.js +1 -0
  822. package/dist/exploration-project-tailwind/p-287dbf09.entry.js +1 -0
  823. package/dist/exploration-project-tailwind/p-2d273118.entry.js +1 -0
  824. package/dist/exploration-project-tailwind/p-2f1aebb3.entry.js +1 -0
  825. package/dist/exploration-project-tailwind/p-2f961934.entry.js +1 -0
  826. package/dist/exploration-project-tailwind/p-35296877.entry.js +1 -0
  827. package/dist/exploration-project-tailwind/p-36861546.entry.js +1 -0
  828. package/dist/exploration-project-tailwind/p-3d3d48fd.entry.js +1 -0
  829. package/dist/exploration-project-tailwind/p-41cd6bf0.entry.js +1 -0
  830. package/dist/exploration-project-tailwind/p-45482d86.entry.js +1 -0
  831. package/dist/exploration-project-tailwind/p-46596a28.entry.js +1 -0
  832. package/dist/exploration-project-tailwind/p-46efdea3.entry.js +1 -0
  833. package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +1 -0
  834. package/dist/exploration-project-tailwind/p-4d73c143.entry.js +1 -0
  835. package/dist/exploration-project-tailwind/p-4de419d5.entry.js +1 -0
  836. package/dist/exploration-project-tailwind/p-4f6bba75.entry.js +1 -0
  837. package/dist/exploration-project-tailwind/p-5508874f.entry.js +1 -0
  838. package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +1 -0
  839. package/dist/exploration-project-tailwind/p-5e3e80ae.entry.js +1 -0
  840. package/dist/exploration-project-tailwind/p-61717490.entry.js +1 -0
  841. package/dist/exploration-project-tailwind/p-62352ef2.entry.js +1 -0
  842. package/dist/exploration-project-tailwind/p-64e3a484.entry.js +1 -0
  843. package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +1 -0
  844. package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +1 -0
  845. package/dist/exploration-project-tailwind/p-6fa9dc15.entry.js +1 -0
  846. package/dist/exploration-project-tailwind/p-70d82d79.entry.js +1 -0
  847. package/dist/exploration-project-tailwind/p-717dad1f.entry.js +1 -0
  848. package/dist/exploration-project-tailwind/p-7376ac95.entry.js +1 -0
  849. package/dist/exploration-project-tailwind/p-73d29a4a.entry.js +1 -0
  850. package/dist/exploration-project-tailwind/p-7515b1e3.entry.js +1 -0
  851. package/dist/exploration-project-tailwind/p-77124686.entry.js +1 -0
  852. package/dist/exploration-project-tailwind/p-77a21491.entry.js +1 -0
  853. package/dist/exploration-project-tailwind/p-77cc333a.entry.js +1 -0
  854. package/dist/exploration-project-tailwind/p-7f91d949.entry.js +1 -0
  855. package/dist/exploration-project-tailwind/p-807c6555.entry.js +1 -0
  856. package/dist/exploration-project-tailwind/p-81961fb1.entry.js +1 -0
  857. package/dist/exploration-project-tailwind/p-85bf89fd.entry.js +1 -0
  858. package/dist/exploration-project-tailwind/p-85e36111.entry.js +1 -0
  859. package/dist/exploration-project-tailwind/p-875be805.entry.js +1 -0
  860. package/dist/exploration-project-tailwind/p-898dd0fa.entry.js +1 -0
  861. package/dist/exploration-project-tailwind/p-8d951aef.entry.js +1 -0
  862. package/dist/exploration-project-tailwind/p-9d0c8760.entry.js +1 -0
  863. package/dist/exploration-project-tailwind/p-9fa70359.entry.js +1 -0
  864. package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +1 -0
  865. package/dist/exploration-project-tailwind/p-BMFah5q3.js +1 -0
  866. package/dist/exploration-project-tailwind/p-BSQ8klD4.js +1 -0
  867. package/dist/exploration-project-tailwind/p-C7gf39HE.js +1 -0
  868. package/dist/exploration-project-tailwind/p-Ck6jDuhz.js +1 -0
  869. package/dist/exploration-project-tailwind/p-D2WzX6vR.js +2 -0
  870. package/dist/exploration-project-tailwind/p-DUsoYu9r.js +2 -0
  871. package/dist/exploration-project-tailwind/p-a1ad32a2.entry.js +1 -0
  872. package/dist/exploration-project-tailwind/p-a3f465d9.entry.js +1 -0
  873. package/dist/exploration-project-tailwind/p-a42fdc33.entry.js +1 -0
  874. package/dist/exploration-project-tailwind/p-a4f52a76.entry.js +1 -0
  875. package/dist/exploration-project-tailwind/p-aa85ff78.entry.js +1 -0
  876. package/dist/exploration-project-tailwind/p-ab752761.entry.js +1 -0
  877. package/dist/exploration-project-tailwind/p-ba21fed3.entry.js +1 -0
  878. package/dist/exploration-project-tailwind/p-c174a372.entry.js +1 -0
  879. package/dist/exploration-project-tailwind/p-c2ca71ac.entry.js +1 -0
  880. package/dist/exploration-project-tailwind/p-c4ba7e52.entry.js +1 -0
  881. package/dist/exploration-project-tailwind/p-c5ddc817.entry.js +1 -0
  882. package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +1 -0
  883. package/dist/exploration-project-tailwind/p-c6fd72e1.entry.js +1 -0
  884. package/dist/exploration-project-tailwind/p-c7e87fbb.entry.js +1 -0
  885. package/dist/exploration-project-tailwind/p-c87aeab6.entry.js +1 -0
  886. package/dist/exploration-project-tailwind/p-c90722ec.entry.js +1 -0
  887. package/dist/exploration-project-tailwind/p-ccb5c737.entry.js +1 -0
  888. package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +1 -0
  889. package/dist/exploration-project-tailwind/p-d16c9635.entry.js +1 -0
  890. package/dist/exploration-project-tailwind/p-d2308a00.entry.js +1 -0
  891. package/dist/exploration-project-tailwind/p-d30e24bd.entry.js +1 -0
  892. package/dist/exploration-project-tailwind/p-d419eaf0.entry.js +1 -0
  893. package/dist/exploration-project-tailwind/p-debede45.entry.js +1 -0
  894. package/dist/exploration-project-tailwind/p-e5322e59.entry.js +1 -0
  895. package/dist/exploration-project-tailwind/p-e8ba0c95.entry.js +1 -0
  896. package/dist/exploration-project-tailwind/p-e90d5307.entry.js +1 -0
  897. package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +1 -0
  898. package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +1 -0
  899. package/dist/exploration-project-tailwind/p-f0830120.entry.js +1 -0
  900. package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +1 -0
  901. package/dist/exploration-project-tailwind/p-f5719913.entry.js +1 -0
  902. package/dist/exploration-project-tailwind/p-ffb1754a.entry.js +1 -0
  903. package/dist/exploration-project-tailwind/p-vwwmWKs9.js +1 -0
  904. package/dist/index.cjs.js +1 -0
  905. package/dist/index.js +1 -0
  906. package/dist/types/components/accordion/accordion.d.ts +352 -0
  907. package/dist/types/components/accordion/types.d.ts +69 -0
  908. package/dist/types/components/advanced-data-table/advanced-data-table.d.ts +697 -0
  909. package/dist/types/components/advanced-data-table/types.d.ts +120 -0
  910. package/dist/types/components/anchor/anchor.d.ts +133 -0
  911. package/dist/types/components/anchor/types.d.ts +17 -0
  912. package/dist/types/components/animate-on-scroll/animate-on-scroll.d.ts +101 -0
  913. package/dist/types/components/aside-panel/aside-panel.d.ts +249 -0
  914. package/dist/types/components/avatar/avatar.d.ts +201 -0
  915. package/dist/types/components/avatar/types.d.ts +132 -0
  916. package/dist/types/components/avatar-group/avatar-group.d.ts +52 -0
  917. package/dist/types/components/avatar-group/types.d.ts +31 -0
  918. package/dist/types/components/badge/badge.d.ts +109 -0
  919. package/dist/types/components/badge/types.d.ts +6 -0
  920. package/dist/types/components/breadcrumb/breadcrumb-item.d.ts +36 -0
  921. package/dist/types/components/breadcrumb/breadcrumb.d.ts +73 -0
  922. package/dist/types/components/breadcrumb/types.d.ts +5 -0
  923. package/dist/types/components/button/button.d.ts +133 -0
  924. package/dist/types/components/button/types.d.ts +1 -0
  925. package/dist/types/components/button-toggle/button-toggle.d.ts +64 -0
  926. package/dist/types/components/button-toggle-group/button-toggle-group.d.ts +141 -0
  927. package/dist/types/components/button-toggle-group/types.d.ts +7 -0
  928. package/dist/types/components/callout-banner/callout-banner.d.ts +115 -0
  929. package/dist/types/components/callout-banner/types.d.ts +7 -0
  930. package/dist/types/components/card/card.d.ts +160 -0
  931. package/dist/types/components/card/types.d.ts +13 -0
  932. package/dist/types/components/carousel/carousel.d.ts +150 -0
  933. package/dist/types/components/carousel/types.d.ts +8 -0
  934. package/dist/types/components/checkbox/checkbox.d.ts +92 -0
  935. package/dist/types/components/checkbox/types.d.ts +5 -0
  936. package/dist/types/components/checkbox-group/checkbox-group.d.ts +87 -0
  937. package/dist/types/components/checkbox-group/types.d.ts +8 -0
  938. package/dist/types/components/code-editor/code-editor.d.ts +147 -0
  939. package/dist/types/components/code-editor/types.d.ts +20 -0
  940. package/dist/types/components/code-preview/types.d.ts +5 -0
  941. package/dist/types/components/code-preview/ui-code-preview.d.ts +69 -0
  942. package/dist/types/components/color-controller/color-controller.d.ts +24 -0
  943. package/dist/types/components/color-picker/color-picker.d.ts +116 -0
  944. package/dist/types/components/color-picker/types.d.ts +24 -0
  945. package/dist/types/components/command-palette/command-palette.d.ts +41 -0
  946. package/dist/types/components/command-palette/types.d.ts +7 -0
  947. package/dist/types/components/context-menu/context-menu.d.ts +135 -0
  948. package/dist/types/components/context-menu/types.d.ts +20 -0
  949. package/dist/types/components/dialog-box/dialog-box.d.ts +648 -0
  950. package/dist/types/components/dialog-box/types.d.ts +1 -0
  951. package/dist/types/components/dialog-content/dialog-content.d.ts +9 -0
  952. package/dist/types/components/dialog-footer/dialog-footer.d.ts +9 -0
  953. package/dist/types/components/dialog-footer/types.d.ts +1 -0
  954. package/dist/types/components/dialog-header/dialog-header.d.ts +102 -0
  955. package/dist/types/components/dialog-header/types.d.ts +2 -0
  956. package/dist/types/components/divider/divider.d.ts +245 -0
  957. package/dist/types/components/divider/types.d.ts +14 -0
  958. package/dist/types/components/dock/dock.d.ts +37 -0
  959. package/dist/types/components/dock/types.d.ts +11 -0
  960. package/dist/types/components/dock-host/index.d.ts +1 -0
  961. package/dist/types/components/dock-host/types.d.ts +1 -0
  962. package/dist/types/components/dock-host/ui-dock-host.d.ts +23 -0
  963. package/dist/types/components/drag-drop/drag-drop.d.ts +52 -0
  964. package/dist/types/components/drag-drop/types.d.ts +9 -0
  965. package/dist/types/components/dropdown/dropdown.d.ts +264 -0
  966. package/dist/types/components/dropdown/types.d.ts +19 -0
  967. package/dist/types/components/empty-state/empty-state.d.ts +74 -0
  968. package/dist/types/components/empty-state/types.d.ts +13 -0
  969. package/dist/types/components/fab/fab.d.ts +73 -0
  970. package/dist/types/components/fab-item/fab-item.d.ts +14 -0
  971. package/dist/types/components/fab-item/types.d.ts +3 -0
  972. package/dist/types/components/file-upload/file-upload.d.ts +91 -0
  973. package/dist/types/components/file-upload/types.d.ts +15 -0
  974. package/dist/types/components/horizontal-nav/horizontal-nav.d.ts +68 -0
  975. package/dist/types/components/icon/icon.d.ts +66 -0
  976. package/dist/types/components/image-button/image-button.d.ts +31 -0
  977. package/dist/types/components/image-button/types.d.ts +1 -0
  978. package/dist/types/components/input/input.d.ts +217 -0
  979. package/dist/types/components/input/types.d.ts +6 -0
  980. package/dist/types/components/input-pair/input-pair.d.ts +28 -0
  981. package/dist/types/components/knob/knob.d.ts +147 -0
  982. package/dist/types/components/knob/types.d.ts +4 -0
  983. package/dist/types/components/layout-manager/layout-manager.d.ts +32 -0
  984. package/dist/types/components/layout-manager/lm-container/lm-container.d.ts +7 -0
  985. package/dist/types/components/layout-manager/lm-floating-window/lm-floating-window.d.ts +6 -0
  986. package/dist/types/components/layout-manager/lm-panel/lm-panel.d.ts +7 -0
  987. package/dist/types/components/layout-manager/lm-splitter/lm-splitter.d.ts +12 -0
  988. package/dist/types/components/layout-manager/lm-tabs/lm-tabs.d.ts +12 -0
  989. package/dist/types/components/layout-manager/types.d.ts +1 -0
  990. package/dist/types/components/library/category-section.d.ts +15 -0
  991. package/dist/types/components/library/data.d.ts +11 -0
  992. package/dist/types/components/library/library-card.d.ts +19 -0
  993. package/dist/types/components/library/library.d.ts +9 -0
  994. package/dist/types/components/list/list.d.ts +183 -0
  995. package/dist/types/components/list-group/list-group.d.ts +28 -0
  996. package/dist/types/components/list-item/list-item.d.ts +200 -0
  997. package/dist/types/components/masonry/masonry.d.ts +105 -0
  998. package/dist/types/components/masonry/types.d.ts +5 -0
  999. package/dist/types/components/meter-group/meter-group.d.ts +66 -0
  1000. package/dist/types/components/meter-group/types.d.ts +12 -0
  1001. package/dist/types/components/my-component/my-component.d.ts +16 -0
  1002. package/dist/types/components/my-step/index.d.ts +12 -0
  1003. package/dist/types/components/my-step/my-step.d.ts +13 -0
  1004. package/dist/types/components/nav-bar/nav-bar.d.ts +119 -0
  1005. package/dist/types/components/number-input/number-input.d.ts +72 -0
  1006. package/dist/types/components/otp-input/otp-input.d.ts +64 -0
  1007. package/dist/types/components/otp-input/types.d.ts +3 -0
  1008. package/dist/types/components/pagination/pagination.d.ts +295 -0
  1009. package/dist/types/components/pagination/types.d.ts +1 -0
  1010. package/dist/types/components/panel/panel.d.ts +275 -0
  1011. package/dist/types/components/panel/types.d.ts +7 -0
  1012. package/dist/types/components/pattern-input/pattern-input.d.ts +88 -0
  1013. package/dist/types/components/popover/popover.d.ts +161 -0
  1014. package/dist/types/components/popover/types.d.ts +3 -0
  1015. package/dist/types/components/progress/progress.d.ts +224 -0
  1016. package/dist/types/components/progress/types.d.ts +6 -0
  1017. package/dist/types/components/radio/radio.d.ts +87 -0
  1018. package/dist/types/components/radio/types.d.ts +7 -0
  1019. package/dist/types/components/radio-group/radio-group.d.ts +74 -0
  1020. package/dist/types/components/radio-group/types.d.ts +2 -0
  1021. package/dist/types/components/range-slider/range-slider.d.ts +201 -0
  1022. package/dist/types/components/range-slider/types.d.ts +4 -0
  1023. package/dist/types/components/rating/rating.d.ts +127 -0
  1024. package/dist/types/components/rating/types.d.ts +1 -0
  1025. package/dist/types/components/resizable-panel/resizable-panel.d.ts +59 -0
  1026. package/dist/types/components/resizable-panel/types.d.ts +11 -0
  1027. package/dist/types/components/scroll-top/scroll-top.d.ts +186 -0
  1028. package/dist/types/components/scroll-top/types.d.ts +1 -0
  1029. package/dist/types/components/skeleton/skeleton-loader.d.ts +149 -0
  1030. package/dist/types/components/skeleton/types.d.ts +1 -0
  1031. package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +119 -0
  1032. package/dist/types/components/smart-location-dropdown/types.d.ts +37 -0
  1033. package/dist/types/components/smart-menu/menu-item.interface.d.ts +10 -0
  1034. package/dist/types/components/smart-menu/smart-menu.d.ts +64 -0
  1035. package/dist/types/components/smart-stepper/smart-step.d.ts +29 -0
  1036. package/dist/types/components/smart-stepper/smart-stepper.d.ts +53 -0
  1037. package/dist/types/components/snackbar/snackbar.d.ts +223 -0
  1038. package/dist/types/components/snackbar/types.d.ts +104 -0
  1039. package/dist/types/components/speed-dial/speed-dial.d.ts +171 -0
  1040. package/dist/types/components/speed-dial/types.d.ts +11 -0
  1041. package/dist/types/components/speedometer/speedometer.d.ts +125 -0
  1042. package/dist/types/components/speedometer/types.d.ts +8 -0
  1043. package/dist/types/components/splitter/splitter.d.ts +63 -0
  1044. package/dist/types/components/splitter/types.d.ts +9 -0
  1045. package/dist/types/components/stack/stack.d.ts +34 -0
  1046. package/dist/types/components/stack/types.d.ts +3 -0
  1047. package/dist/types/components/step/step.d.ts +16 -0
  1048. package/dist/types/components/step/types.d.ts +1 -0
  1049. package/dist/types/components/stepper/stepper.d.ts +218 -0
  1050. package/dist/types/components/stepper/types.d.ts +39 -0
  1051. package/dist/types/components/switch/switch.d.ts +162 -0
  1052. package/dist/types/components/tabs/tabs.d.ts +182 -0
  1053. package/dist/types/components/tabs/types.d.ts +17 -0
  1054. package/dist/types/components/tag/tag.d.ts +172 -0
  1055. package/dist/types/components/tag/types.d.ts +4 -0
  1056. package/dist/types/components/tag-group/tag-group.d.ts +107 -0
  1057. package/dist/types/components/tag-group/types.d.ts +2 -0
  1058. package/dist/types/components/timeline/timeline.d.ts +73 -0
  1059. package/dist/types/components/timeline/types.d.ts +28 -0
  1060. package/dist/types/components/timeline/ui-timeline.stories.d.ts +9 -0
  1061. package/dist/types/components/timeline-item/timeline-item.d.ts +15 -0
  1062. package/dist/types/components/timer/timer.d.ts +123 -0
  1063. package/dist/types/components/timer/types.d.ts +18 -0
  1064. package/dist/types/components/timer/ui-timer.stories.d.ts +9 -0
  1065. package/dist/types/components/toggle-group/toggle-group.d.ts +136 -0
  1066. package/dist/types/components/toggle-group/types.d.ts +5 -0
  1067. package/dist/types/components/toolbar/toolbar-types.d.ts +189 -0
  1068. package/dist/types/components/toolbar/toolbar.d.ts +150 -0
  1069. package/dist/types/components/tooltip/tooltip.d.ts +166 -0
  1070. package/dist/types/components/tooltip/types.d.ts +3 -0
  1071. package/dist/types/components/top-bar/top-bar.d.ts +76 -0
  1072. package/dist/types/components/transfer-list/transfer-list.d.ts +137 -0
  1073. package/dist/types/components/transfer-list/types.d.ts +13 -0
  1074. package/dist/types/components/tree/tree.d.ts +180 -0
  1075. package/dist/types/components/tree/types.d.ts +76 -0
  1076. package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +108 -0
  1077. package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-types.d.ts +17 -0
  1078. package/dist/types/components/ui-navigation-bar/navigation-item.d.ts +26 -0
  1079. package/dist/types/components/ui-navigation-bar/navigation-types.d.ts +19 -0
  1080. package/dist/types/components/workspace-manager/types.d.ts +48 -0
  1081. package/dist/types/components/workspace-manager/workspace-manager.d.ts +211 -0
  1082. package/dist/types/components.d.ts +29634 -0
  1083. package/dist/types/index.d.ts +21 -0
  1084. package/dist/types/service/drag-manager.d.ts +8 -0
  1085. package/dist/types/service/event-bus.d.ts +9 -0
  1086. package/dist/types/service/serialization.d.ts +5 -0
  1087. package/dist/types/service/state-engine.d.ts +25 -0
  1088. package/dist/types/service/theme-switcher.d.ts +46 -0
  1089. package/dist/types/stencil-public-runtime.d.ts +1860 -0
  1090. package/dist/types/types/animation.type.d.ts +96 -0
  1091. package/dist/types/types/common.d.ts +52 -0
  1092. package/dist/types/types/common.type.d.ts +608 -0
  1093. package/dist/types/types/index.d.ts +37 -0
  1094. package/dist/types/types/text.type.d.ts +32 -0
  1095. package/dist/types/utils/aria-live.d.ts +20 -0
  1096. package/dist/types/utils/component-size.d.ts +2 -0
  1097. package/dist/types/utils/dom.d.ts +58 -0
  1098. package/dist/types/utils/focus-trap.d.ts +35 -0
  1099. package/dist/types/utils/security.d.ts +5 -0
  1100. package/dist/types/utils/test/setup-component-test-env.d.ts +14 -0
  1101. package/dist/types/utils/utils.d.ts +7 -0
  1102. package/dist/types/utils/validation.d.ts +43 -0
  1103. package/loader/cdn.js +1 -0
  1104. package/loader/index.cjs.js +1 -0
  1105. package/loader/index.d.ts +24 -0
  1106. package/loader/index.es2017.js +1 -0
  1107. package/loader/index.js +2 -0
  1108. package/package.json +77 -0
@@ -0,0 +1,1040 @@
1
+ export const initSnackbarDemo = () => {
2
+ const section = document.getElementById('snackbar');
3
+ if (!section) return;
4
+
5
+ section.innerHTML = `
6
+ <p>Advanced notification system with card stacking, smart grouping, and lifecycle hooks.</p>
7
+
8
+ <div class="demo-controls-wrapper">
9
+ <div class="demo-grid-wrapper" id="snackbarNav">
10
+ <ui-button id="btnSnackPlayground" label="🎮 Interactive Playground" variant="outline"></ui-button>
11
+ <ui-button id="btnSnackBasic" label="Basic" variant="outline"></ui-button>
12
+ <ui-button id="btnSnackPositions" label="Positions" variant="outline"></ui-button>
13
+ <ui-button id="btnSnackStacking" label="Stacking & Cards" variant="outline"></ui-button>
14
+ <ui-button id="btnSnackAdvanced" label="Advanced Features" variant="outline"></ui-button>
15
+ <ui-button id="btnSnackNew" label="🆕 New Features" variant="outline"></ui-button>
16
+ <ui-button id="btnSnackWorkflows" label="🔄 Workflows" variant="outline"></ui-button>
17
+ <ui-button id="btnSnackLogic" label="🧪 Logic & Priority" variant="outline"></ui-button>
18
+ <ui-button id="btnSnackThemes" label="💎 Themes & Sizes" variant="outline"></ui-button>
19
+ <ui-button id="btnSnackClear" label="🗑️ Clear All" variant="outline"></ui-button>
20
+ </div>
21
+ </div>
22
+
23
+ <div id="snackbarDemoContainer" style="margin-top: 20px;"></div>
24
+
25
+ <!-- Hidden Global Instance -->
26
+ <ui-snackbar id="globalSnackbar" position="bottom-right" max-visible="5" portal="true"></ui-snackbar>
27
+ `;
28
+
29
+ const container = document.getElementById('snackbarDemoContainer');
30
+ window.globalSnackbar = document.getElementById('globalSnackbar');
31
+
32
+ const btnMap = {
33
+ btnSnackPlayground: () => window.showInteractiveSnackbar(),
34
+ btnSnackBasic: () => window.showBasicSnackbars(),
35
+ btnSnackPositions: () => window.showSnackbarPositions(),
36
+ btnSnackStacking: () => window.showSnackbarStacking(),
37
+ btnSnackAdvanced: () => window.showAdvancedSnackbars(),
38
+ btnSnackNew: () => window.showNewFeatures(),
39
+ btnSnackWorkflows: () => window.showWorkflowSnackbars(),
40
+ btnSnackLogic: () => window.showLogicSnackbars(),
41
+ btnSnackThemes: () => window.showThemedSnackbars(),
42
+ btnSnackClear: () => window.globalSnackbar.closeAll(),
43
+ };
44
+
45
+ const updateActiveBtn = (id) => {
46
+ Object.keys(btnMap).forEach(btnId => {
47
+ const btn = document.getElementById(btnId);
48
+ if (btn) btn.selected = (btnId === id);
49
+ });
50
+ };
51
+
52
+ setTimeout(() => {
53
+ Object.entries(btnMap).forEach(([id, func]) => {
54
+ const btn = document.getElementById(id);
55
+ if (btn) {
56
+ btn.addEventListener('click', () => {
57
+ updateActiveBtn(id);
58
+ func?.();
59
+ });
60
+ }
61
+ });
62
+
63
+ // Default view
64
+ updateActiveBtn('btnSnackPlayground');
65
+ window.showInteractiveSnackbar();
66
+ }, 100);
67
+
68
+ // Helper for logging
69
+ window.logSnackbarEvent = function (message) {
70
+ const logContent = document.getElementById('eventLogContent');
71
+ if (logContent) {
72
+ const timestamp = new Date().toLocaleTimeString();
73
+ const entry = document.createElement('div');
74
+ entry.style.color = '#059669';
75
+ entry.textContent = `[${timestamp}] ${message}`;
76
+ if (logContent.querySelector('[style*="color: #9ca3af"]')) {
77
+ logContent.innerHTML = '';
78
+ }
79
+ logContent.insertBefore(entry, logContent.firstChild);
80
+ while (logContent.children.length > 5) {
81
+ logContent.removeChild(logContent.lastChild);
82
+ }
83
+ }
84
+ };
85
+
86
+ window.showInteractiveSnackbar = () => {
87
+ updateActiveBtn('btnSnackPlayground');
88
+ container.innerHTML = `
89
+ <div class="demo-block">
90
+ <h3>🎮 Interactive Playground</h3>
91
+ <p style="margin-bottom: 20px; color: #64748b; font-size: 14px;">Configure every property of the Snackbar system in real-time.</p>
92
+
93
+ <div style="background-color: white; padding: 24px; border-radius: 12px; margin-bottom: 20px; border: 1px solid #e5e7eb; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
94
+ <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;">
95
+
96
+ <!-- Column 1: Container Props -->
97
+ <div style="display: flex; flex-direction: column; gap: 14px;">
98
+ <h4 style="margin: 0; font-size: 11px; color: #ec4899; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800;">Container Props</h4>
99
+
100
+ <ui-dropdown label="Position" id="pgPosition" value="bottom-right">
101
+ <option value="bottom-right">Bottom Right</option>
102
+ <option value="bottom-left">Bottom Left</option>
103
+ <option value="bottom-center">Bottom Center</option>
104
+ <option value="top-right">Top Right</option>
105
+ <option value="top-left">Top Left</option>
106
+ <option value="top-center">Top Center</option>
107
+ </ui-dropdown>
108
+
109
+ <ui-dropdown label="Stack Mode" id="pgStackMode" value="stack">
110
+ <option value="stack">Stack (Standard)</option>
111
+ <option value="queue">Queue (FIFO)</option>
112
+ <option value="lifo">LIFO (Stack)</option>
113
+ </ui-dropdown>
114
+
115
+ <ui-dropdown label="Open Animation" id="pgOpenMode" value="slide-down">
116
+ <option value="slide-down">Slide Down</option>
117
+ <option value="slide-up">Slide Up</option>
118
+ <option value="slide-left">Slide Left</option>
119
+ <option value="slide-right">Slide Right</option>
120
+ <option value="fade">Fade</option>
121
+ <option value="scale">Scale</option>
122
+ <option value="bounce">Bounce</option>
123
+ <option value="spring">Spring</option>
124
+ </ui-dropdown>
125
+
126
+ <ui-input type="number" label="Max Visible" id="pgMaxVisible" value="5" min="1" max="20"></ui-input>
127
+
128
+ <ui-input type="number" label="Global Duration (ms)" id="pgGlobalDuration" value="5000" step="500"></ui-input>
129
+
130
+ <div style="display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding: 10px; background: #fff1f2; border-radius: 8px;">
131
+ <ui-checkbox label="Card Stacking" id="pgCardStack"></ui-checkbox>
132
+ <ui-checkbox label="Smart Grouping" id="pgCoalesce"></ui-checkbox>
133
+ <ui-checkbox label="Pause on Focus Loss" id="pgPauseFocus" checked></ui-checkbox>
134
+ <ui-checkbox label="Pause on Hover" id="pgPauseHover" checked></ui-checkbox>
135
+ <ui-checkbox label="Show Countdown chip" id="pgShowCountdown"></ui-checkbox>
136
+ <ui-checkbox label="Auto Portal" id="pgPortal" checked></ui-checkbox>
137
+ </div>
138
+
139
+ <ui-input type="number" label="Max Duration cap (ms, 0=off)" id="pgMaxDuration" value="0" step="1000"></ui-input>
140
+ </div>
141
+
142
+ <!-- Column 2: Notification Props -->
143
+ <div style="display: flex; flex-direction: column; gap: 14px;">
144
+ <h4 style="margin: 0; font-size: 11px; color: #10b981; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800;">Notification Props</h4>
145
+
146
+ <ui-dropdown label="Type" id="pgType" value="info">
147
+ <option value="info">Info</option>
148
+ <option value="success">Success</option>
149
+ <option value="warning">Warning</option>
150
+ <option value="error">Error</option>
151
+ <option value="neutral">Neutral</option>
152
+ <option value="loading">Loading</option>
153
+ <option value="sovereign">Sovereign</option>
154
+ </ui-dropdown>
155
+
156
+ <ui-dropdown label="Variant" id="pgVariant" value="filled">
157
+ <option value="filled">Filled</option>
158
+ <option value="soft">Soft</option>
159
+ <option value="outlined">Outlined</option>
160
+ <option value="glass">Glass</option>
161
+ </ui-dropdown>
162
+
163
+ <ui-dropdown label="Size" id="pgSize" value="md">
164
+ <option value="sm">Small</option>
165
+ <option value="md">md</option>
166
+ <option value="lg">Large</option>
167
+ </ui-dropdown>
168
+
169
+ <ui-dropdown label="Priority" id="pgPriority" value="normal">
170
+ <option value="normal">Normal</option>
171
+ <option value="high">High</option>
172
+ <option value="urgent">Urgent</option>
173
+ </ui-dropdown>
174
+
175
+ <ui-dropdown label="Theme Override" id="pgTheme" value="system">
176
+ <option value="system">System Default</option>
177
+ <option value="light">Forced Light</option>
178
+ <option value="dark">Forced Dark</option>
179
+ </ui-dropdown>
180
+
181
+ <ui-dropdown label="Progress Type" id="pgProgress" value="bar">
182
+ <option value="bar">Bar (Bottom)</option>
183
+ <option value="ring">Ring (Icon Area)</option>
184
+ <option value="none">Disabled</option>
185
+ </ui-dropdown>
186
+ </div>
187
+
188
+ <!-- Column 3: Content & Assets -->
189
+ <div style="display: flex; flex-direction: column; gap: 14px;">
190
+ <h4 style="margin: 0; font-size: 11px; color: #10b981; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800;">Content & Assets</h4>
191
+
192
+ <ui-input label="Title" id="pgTitle" placeholder="Notification Title"></ui-input>
193
+
194
+ <ui-input label="Message" id="pgMessage" multiline="true" style="height: 60px;" value="Synchronizing assets with edge nodes..."></ui-input>
195
+
196
+ <ui-input label="Custom Icon (Lucide)" id="pgIcon" placeholder="e.g. coffee, zap, bell"></ui-input>
197
+
198
+ <ui-input label="Avatar URL" id="pgAvatar" placeholder="https://..."></ui-input>
199
+
200
+ <ui-dropdown label="Sound Engine" id="pgSoundMode" value="none">
201
+ <option value="synth">Adaptive Synth</option>
202
+ <option value="none">Muted</option>
203
+ <option value="custom">Custom URL</option>
204
+ </ui-dropdown>
205
+
206
+ <div style="display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding: 10px; background: #f0fdf4; border-radius: 8px;">
207
+ <ui-checkbox label="Closable" id="pgClosable" checked></ui-checkbox>
208
+ <ui-checkbox label="Haptic Feedback" id="pgHaptic"></ui-checkbox>
209
+ <ui-checkbox label="Slot Support" id="pgEnableSlots"></ui-checkbox>
210
+ </div>
211
+ </div>
212
+
213
+ </div>
214
+
215
+ <ui-button onclick="firePgNotification()" >Fire Notification 🔥</ui-button>
216
+ </div>
217
+
218
+ <div style="margin-top: 20px; background: #0f172a; padding: 20px; border-radius: 12px; position: relative; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);">
219
+ <div style="color: #94a3b8; font-size: 11px; position: absolute; top: 12px; left: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;">Usage Code</div>
220
+ <ui-button onclick="copyPgCode()" style="position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 6px; font-size: 11px; cursor: pointer;">Copy</ui-button>
221
+ <code id="snackbarCodeBlock" style="color: #f8fafc; font-family: 'Fira Code', monospace; font-size: 13px; display: block; overflow-x: auto; white-space: pre-wrap; line-height: 1.6; margin-top: 20px;"></code>
222
+ </div>
223
+
224
+ <div id="eventLog" style="margin-top: 24px; padding: 16px; background-color: #f8fafc; border-radius: 10px; border: 1px solid #e2e8f0;">
225
+ <h4 style="margin: 0 0 12px; font-size: 14px; color: #1e293b; font-weight: 700;">Event Log:</h4>
226
+ <div id="eventLogContent" style="font-family: 'Fira Code', monospace; font-size: 12px; color: #64748b; max-height: 120px; overflow-y: auto;">
227
+ <div style="color: #94a3b8;">Waiting for events...</div>
228
+ </div>
229
+ </div>
230
+ </div>
231
+
232
+ <style>
233
+ .pg-label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: #1e293b; }
234
+ .pg-select, .pg-input { padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 13px; font-family: inherit; color: #0f172a; outline: none; transition: border-color 0.2s; }
235
+ .pg-select:focus, .pg-input:focus { border-color: #ec4899; }
236
+ .pg-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; cursor: pointer; color: #334155; }
237
+ .demo-block h3 { margin-bottom: 8px; font-size: 24px; font-weight: 800; color: #0f172a; }
238
+ </style>
239
+ `;
240
+
241
+ globalSnackbar.removeEventListener('snackbarClosed', window._lastClsHandler);
242
+ window._lastClsHandler = e => logSnackbarEvent(`snackbarClosed: ${e.detail.id}`);
243
+ globalSnackbar.addEventListener('snackbarClosed', window._lastClsHandler);
244
+
245
+ // Wire playground controls
246
+ setTimeout(() => {
247
+ const ctrls = [
248
+ { id: 'pgPosition', event: 'dropdownChange' },
249
+ { id: 'pgStackMode', event: 'dropdownChange' },
250
+ { id: 'pgOpenMode', event: 'dropdownChange' },
251
+ { id: 'pgMaxVisible', event: 'inputChange' },
252
+ { id: 'pgGlobalDuration', event: 'inputChange' },
253
+ { id: 'pgCardStack', event: 'checkboxChange' },
254
+ { id: 'pgCoalesce', event: 'checkboxChange' },
255
+ { id: 'pgPauseFocus', event: 'checkboxChange' },
256
+ { id: 'pgPauseHover', event: 'checkboxChange' },
257
+ { id: 'pgShowCountdown', event: 'checkboxChange' },
258
+ { id: 'pgPortal', event: 'checkboxChange' },
259
+ { id: 'pgMaxDuration', event: 'inputChange' },
260
+ { id: 'pgType', event: 'dropdownChange' },
261
+ { id: 'pgVariant', event: 'dropdownChange' },
262
+ { id: 'pgSize', event: 'dropdownChange' },
263
+ { id: 'pgPriority', event: 'dropdownChange' },
264
+ { id: 'pgTheme', event: 'dropdownChange' },
265
+ { id: 'pgProgress', event: 'dropdownChange' },
266
+ { id: 'pgTitle', event: 'inputChange' },
267
+ { id: 'pgMessage', event: 'inputChange' },
268
+ { id: 'pgIcon', event: 'inputChange' },
269
+ { id: 'pgAvatar', event: 'inputChange' },
270
+ { id: 'pgSoundMode', event: 'dropdownChange' },
271
+ { id: 'pgClosable', event: 'checkboxChange' },
272
+ { id: 'pgHaptic', event: 'checkboxChange' },
273
+ { id: 'pgEnableSlots', event: 'checkboxChange' },
274
+ ];
275
+
276
+ ctrls.forEach(ctrl => {
277
+ const el = document.getElementById(ctrl.id);
278
+ if (el) el.addEventListener(ctrl.event, () => updateInteractiveSnackbar());
279
+ });
280
+
281
+ updateInteractiveSnackbar();
282
+ }, 100);
283
+ };
284
+
285
+ window.updateInteractiveSnackbar = () => {
286
+ const codeBlock = document.getElementById('snackbarCodeBlock');
287
+ if (!codeBlock) return;
288
+
289
+ const props = {
290
+ position: document.getElementById('pgPosition').value,
291
+ maxVisible: document.getElementById('pgMaxVisible').value,
292
+ stackMode: document.getElementById('pgStackMode').value,
293
+ openMode: document.getElementById('pgOpenMode').value,
294
+ duration: document.getElementById('pgGlobalDuration').value,
295
+ maxDuration: document.getElementById('pgMaxDuration')?.value || '0',
296
+ cardStack: document.getElementById('pgCardStack').checked,
297
+ coalesce: document.getElementById('pgCoalesce').checked,
298
+ pauseOnFocusLoss: document.getElementById('pgPauseFocus').checked,
299
+ pauseOnHover: document.getElementById('pgPauseHover')?.checked ?? true,
300
+ showCountdown: document.getElementById('pgShowCountdown')?.checked ?? false,
301
+ portal: document.getElementById('pgPortal').checked,
302
+ soundMode: document.getElementById('pgSoundMode').value,
303
+ enableSlots: document.getElementById('pgEnableSlots').checked,
304
+ };
305
+
306
+ const item = {
307
+ type: document.getElementById('pgType').value,
308
+ variant: document.getElementById('pgVariant').value,
309
+ size: document.getElementById('pgSize').value,
310
+ priority: document.getElementById('pgPriority').value,
311
+ theme: document.getElementById('pgTheme').value,
312
+ progress: document.getElementById('pgProgress').value,
313
+ title: document.getElementById('pgTitle').value,
314
+ message: document.getElementById('pgMessage').value,
315
+ icon: document.getElementById('pgIcon').value,
316
+ avatar: document.getElementById('pgAvatar').value,
317
+ closable: document.getElementById('pgClosable').checked,
318
+ haptic: document.getElementById('pgHaptic').checked,
319
+ };
320
+
321
+ codeBlock.textContent = `
322
+ // 1. Configure the Container
323
+ const snackbar = document.querySelector('ui-snackbar');
324
+ snackbar.position = '${props.position}';
325
+ snackbar.stackMode = '${props.stackMode}';
326
+ snackbar.openMode = '${props.openMode}';
327
+ snackbar.maxVisible = ${props.maxVisible};
328
+ snackbar.duration = ${props.duration};
329
+ ${parseInt(props.maxDuration) > 0 ? `snackbar.maxDuration = ${props.maxDuration};\n` : ''}snackbar.cardStack = ${props.cardStack};
330
+ snackbar.coalesce = ${props.coalesce};
331
+ snackbar.pauseOnHover = ${props.pauseOnHover};
332
+ snackbar.pauseOnFocusLoss = ${props.pauseOnFocusLoss};
333
+ snackbar.showCountdown = ${props.showCountdown};
334
+ snackbar.soundMode = '${props.soundMode}';
335
+ snackbar.enableSlots = ${props.enableSlots};
336
+
337
+ // 2. Fire the Notification
338
+ snackbar.add({
339
+ type: '${item.type}',
340
+ variant: '${item.variant}',
341
+ size: '${item.size}',
342
+ priority: '${item.priority}',
343
+ ${item.theme !== 'system' ? `theme: '${item.theme}',\n ` : ''}${item.title ? `title: '${item.title}',\n ` : ''}message: '${item.message}',
344
+ ${item.icon ? `icon: '${item.icon}',\n ` : ''}${item.avatar ? `avatar: '${item.avatar}',\n ` : ''}progress: '${item.progress}',
345
+ closable: ${item.closable},
346
+ haptic: ${item.haptic}
347
+ });`.trim();
348
+ };
349
+
350
+ window.firePgNotification = () => {
351
+ // Apply Global Props
352
+ globalSnackbar.position = document.getElementById('pgPosition').value;
353
+ globalSnackbar.stackMode = document.getElementById('pgStackMode').value;
354
+ globalSnackbar.openMode = document.getElementById('pgOpenMode').value;
355
+ globalSnackbar.maxVisible = parseInt(document.getElementById('pgMaxVisible').value);
356
+ globalSnackbar.duration = parseInt(document.getElementById('pgGlobalDuration').value);
357
+ globalSnackbar.maxDuration = parseInt(document.getElementById('pgMaxDuration')?.value || '0');
358
+ globalSnackbar.cardStack = document.getElementById('pgCardStack').checked;
359
+ globalSnackbar.coalesce = document.getElementById('pgCoalesce').checked;
360
+ globalSnackbar.pauseOnHover = document.getElementById('pgPauseHover')?.checked ?? true;
361
+ globalSnackbar.pauseOnFocusLoss = document.getElementById('pgPauseFocus').checked;
362
+ globalSnackbar.showCountdown = document.getElementById('pgShowCountdown')?.checked ?? false;
363
+ globalSnackbar.portal = document.getElementById('pgPortal').checked;
364
+ globalSnackbar.soundMode = document.getElementById('pgSoundMode').value;
365
+ globalSnackbar.enableSlots = document.getElementById('pgEnableSlots').checked;
366
+
367
+ // Trigger Notification
368
+ globalSnackbar.add({
369
+ type: document.getElementById('pgType').value,
370
+ variant: document.getElementById('pgVariant').value,
371
+ size: document.getElementById('pgSize').value,
372
+ priority: document.getElementById('pgPriority').value,
373
+ theme: document.getElementById('pgTheme').value !== 'system' ? document.getElementById('pgTheme').value : undefined,
374
+ title: document.getElementById('pgTitle').value || undefined,
375
+ message: document.getElementById('pgMessage').value,
376
+ icon: document.getElementById('pgIcon').value || undefined,
377
+ avatar: document.getElementById('pgAvatar').value || undefined,
378
+ progress: document.getElementById('pgProgress').value,
379
+ closable: document.getElementById('pgClosable').checked,
380
+ haptic: document.getElementById('pgHaptic').checked,
381
+ });
382
+ };
383
+
384
+ window.showBasicSnackbars = () => {
385
+ updateActiveBtn('btnSnackBasic');
386
+ container.innerHTML = `
387
+ <div class="demo-block">
388
+ <h3>Standard Types</h3>
389
+ <p>All 7 notification types with their default icons and colours.</p>
390
+ <div style="display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px;">
391
+ <ui-button onclick="globalSnackbar.add({message:'Operation completed successfully', title:'Success', type:'success'})">✅ Success</ui-button>
392
+ <ui-button onclick="globalSnackbar.add({message:'An unexpected error occurred', title:'Error', type:'error'})">❌ Error</ui-button>
393
+ <ui-button onclick="globalSnackbar.add({message:'Disk usage is above 90%', title:'Warning', type:'warning'})">⚠️ Warning</ui-button>
394
+ <ui-button onclick="globalSnackbar.add({message:'3 new updates available', title:'Info', type:'info'})">ℹ️ Info</ui-button>
395
+ <ui-button onclick="globalSnackbar.add({message:'Reminder: meeting at 3pm', type:'neutral', variant:'outlined'})">💬 Neutral</ui-button>
396
+ <ui-button onclick="globalSnackbar.add({message:'Syncing with cloud...', type:'loading', duration:0, progress:'ring'})">⏳ Loading</ui-button>
397
+ <ui-button onclick="testSovereignProtocol()">👑 Sovereign</ui-button>
398
+ </div>
399
+ </div>
400
+
401
+ <div class="demo-block" style="margin-top: 20px;">
402
+ <h3>Visual Variants</h3>
403
+ <p>4 visual styles applied to the same info notification.</p>
404
+ <div style="display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px;">
405
+ <ui-button onclick="globalSnackbar.add({type:'info', variant:'filled', title:'Filled', message:'Default filled style'})">Filled</ui-button>
406
+ <ui-button onclick="globalSnackbar.add({type:'info', variant:'soft', title:'Soft', message:'Muted background style'})">Soft</ui-button>
407
+ <ui-button onclick="globalSnackbar.add({type:'info', variant:'outlined', title:'Outlined', message:'Border-only style'})">Outlined</ui-button>
408
+ <ui-button onclick="globalSnackbar.add({type:'info', variant:'glass', title:'Glass', message:'Frosted glass style'})">Glass</ui-button>
409
+ </div>
410
+ </div>
411
+
412
+ <div class="demo-block" style="margin-top: 20px;">
413
+ <h3>Countdown Chip + Progress</h3>
414
+ <p>Enable <code>showCountdown</code> to display a live "Xs" chip; combine with <code>progress</code> for a visual timer.</p>
415
+ <div style="display:flex; gap:12px; flex-wrap:wrap; margin-top:16px;">
416
+ <ui-button onclick="testCountdownDemo('bar')" >⏱ Bar + Countdown</ui-button>
417
+ <ui-button onclick="testCountdownDemo('ring')" >🔵 Ring + Countdown</ui-button>
418
+ </div>
419
+ </div>
420
+ `;
421
+
422
+ window.testCountdownDemo = progressType => {
423
+ globalSnackbar.showCountdown = true;
424
+ globalSnackbar
425
+ .add({
426
+ title: 'Auto-closing in 8s',
427
+ message: `Watch the ${progressType} progress and countdown chip.`,
428
+ type: 'info',
429
+ progress: progressType,
430
+ duration: 8000,
431
+ })
432
+ .then(() => {
433
+ globalSnackbar.showCountdown = false;
434
+ });
435
+ };
436
+ };
437
+
438
+ window.showSnackbarPositions = () => {
439
+ updateActiveBtn('btnSnackPositions');
440
+ container.innerHTML = `
441
+ <div class="demo-block">
442
+ <h3>Anchor Positions</h3>
443
+ <p>Choose where notifications appear on the screen.</p>
444
+ <div style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; max-width: 600px;">
445
+ <ui-button onclick="testPosition('top-left')" >Top Left</ui-button>
446
+ <ui-button onclick="testPosition('top-center')" >Top Center</ui-button>
447
+ <ui-button onclick="testPosition('top-right')" >Top Right</ui-button>
448
+ <ui-button onclick="testPosition('bottom-left')" >Bottom Left</ui-button>
449
+ <ui-button onclick="testPosition('bottom-center')" >Bottom Center</ui-button>
450
+ <ui-button onclick="testPosition('bottom-right')" >Bottom Right</ui-button>
451
+ </div>
452
+ </div>
453
+ `;
454
+ window.testPosition = pos => {
455
+ globalSnackbar.position = pos;
456
+ globalSnackbar.add({ message: `Switched to ${pos}`, type: 'info' });
457
+ };
458
+ };
459
+
460
+ window.showSnackbarStacking = () => {
461
+ updateActiveBtn('btnSnackStacking');
462
+ container.innerHTML = `
463
+ <div class="demo-block">
464
+ <h3>🎴 Card Stacking Mode</h3>
465
+ <p>Visual stacking engine where notifications occupy less space and expand logically. Highly optimized for mobile and clean dashboards.</p>
466
+
467
+ <div style="display: flex; gap: 12px; margin-top: 20px; background: #f8fafc; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0;">
468
+ <div style="flex: 1;">
469
+ <h4 style="margin: 0 0 8px; font-weight: 700;">Global Toggle</h4>
470
+ <div style="display: flex; gap: 10px;">
471
+ <ui-button onclick="testCardStack(true)" style="flex: 1;">Enable Stack</ui-button>
472
+ <ui-button onclick="testCardStack(false)" style="flex: 1; ">Disable</ui-button>
473
+ </div>
474
+ </div>
475
+ </div>
476
+
477
+ <div style="margin-top: 30px;">
478
+ <h4 style="margin: 0 0 12px; font-weight: 700;">Orientation Playground</h4>
479
+ <p style="font-size: 13px; color: #64748b; margin-bottom: 16px;">Test how the Material Tray adapts to different screen anchors.</p>
480
+
481
+ <div style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 600px;">
482
+ <ui-button onclick="testStackedPosition('top-left')" >Top Left</ui-button>
483
+ <ui-button onclick="testStackedPosition('top-center')" >Top Center</ui-button>
484
+ <ui-button onclick="testStackedPosition('top-right')" >Top Right</ui-button>
485
+ <ui-button onclick="testStackedPosition('bottom-left')" >Bottom Left</ui-button>
486
+ <ui-button onclick="testStackedPosition('bottom-center')" >Bottom Center</ui-button>
487
+ <ui-button onclick="testStackedPosition('bottom-right')" >Bottom Right</ui-button>
488
+ </div>
489
+ </div>
490
+ </div>
491
+
492
+
493
+ `;
494
+
495
+ window.testCardStack = enabled => {
496
+ globalSnackbar.cardStack = enabled;
497
+ globalSnackbar.maxVisible = 5;
498
+ globalSnackbar.closeAll();
499
+ if (enabled) {
500
+ setTimeout(() => {
501
+ for (let i = 0; i < 4; i++) {
502
+ globalSnackbar.add({ title: `Stack Element ${i + 1}`, message: `This is a high-fidelity stacked notification layer.`, type: 'info', duration: 0 });
503
+ }
504
+ }, 300);
505
+ }
506
+ };
507
+
508
+ window.testStackedPosition = pos => {
509
+ globalSnackbar.cardStack = true;
510
+ globalSnackbar.position = pos;
511
+ globalSnackbar.closeAll();
512
+ setTimeout(() => {
513
+ const types = ['success', 'error', 'info', 'warning'];
514
+ const titles = ['System Sync', 'Access Denied', 'Update Ready', 'Limit Warning'];
515
+ for (let i = 0; i < 4; i++) {
516
+ globalSnackbar.add({
517
+ title: titles[i],
518
+ message: `Positioning engine synchronized at ${pos} edge.`,
519
+ type: types[i],
520
+ duration: 0,
521
+ });
522
+ }
523
+ }, 300);
524
+ };
525
+ };
526
+
527
+ window.showAdvancedSnackbars = () => {
528
+ updateActiveBtn('btnSnackAdvanced');
529
+ container.innerHTML = `
530
+ <div class="demo-block">
531
+ <h3>Live Dynamic Updates</h3>
532
+ <p>Update existing notifications in real-time (e.g. progress percentages).</p>
533
+ <ui-button onclick="testLiveUpdater()" >Start Process Demo</ui-button>
534
+ </div>
535
+ <div class="demo-block" style="margin-top: 20px;">
536
+ <h3>Rich Media & Slots</h3>
537
+ <p>Inject complex HTML layouts using the 'enable-slots' property.</p>
538
+ <div style="display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px;">
539
+ <ui-button onclick="testSlottedMedia()" >Launch Social Slot</ui-button>
540
+ <ui-button onclick="testLongMessage()" >Long Text Stress Test</ui-button>
541
+ </div>
542
+ </div>
543
+ `;
544
+
545
+ window.testLongMessage = () => {
546
+ globalSnackbar.add({
547
+ title: 'Network Stress Alert',
548
+ message:
549
+ 'This_is_an_exceptionally_long_message_without_any_natural_spaces_to_test_the_word_break_logic_and_ensure_it_does_not_overflow_the_screen_width_under_extreme_circumstances_like_continuous_path_descriptors_or_unformatted_log_strings_that_might_be_passed_from_an_active_terminal_output_buffer.',
550
+ type: 'warning',
551
+ duration: 0,
552
+ });
553
+ globalSnackbar.add({
554
+ title: 'Multi-line Paragraph',
555
+ message:
556
+ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.',
557
+ type: 'info',
558
+ duration: 0,
559
+ });
560
+ };
561
+ };
562
+
563
+ window.showWorkflowSnackbars = () => {
564
+ updateActiveBtn('btnSnackWorkflows');
565
+ container.innerHTML = `
566
+ <div class="demo-block">
567
+ <h3>Intelligent Workflows</h3>
568
+ <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 20px;">
569
+ <div style="background: #f8fafc; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0;">
570
+ <h4 style="margin: 0 0 8px; font-weight: 700;">Async Promise</h4>
571
+ <p style="font-size: 13px; color: #64748b; margin-bottom: 12px;">Automatic Loading -> Success/Error state.</p>
572
+ <ui-button onclick="testSnackbarPromise()" >Run Job</ui-button>
573
+ </div>
574
+ <div style="background: #f8fafc; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0;">
575
+ <h4 style="margin: 0 0 8px; font-weight: 700;">Undoable Action</h4>
576
+ <p style="font-size: 13px; color: #64748b; margin-bottom: 12px;">Archive or Delete with a 6s rollback window.</p>
577
+ <ui-button onclick="testSnackbarUndoable()" >Delete Item</ui-button>
578
+ </div>
579
+ <div style="background: #f8fafc; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0;">
580
+ <h4 style="margin: 0 0 8px; font-weight: 700;">Quick Input</h4>
581
+ <p style="font-size: 13px; color: #64748b; margin-bottom: 12px;">Collect data directly within the popup.</p>
582
+ <ui-button onclick="testSnackbarInput()" >Add Tag</ui-button>
583
+ </div>
584
+ </div>
585
+ </div>
586
+ `;
587
+ };
588
+
589
+ window.showLogicSnackbars = () => {
590
+ updateActiveBtn('btnSnackLogic');
591
+ container.innerHTML = `
592
+ <div class="demo-block">
593
+ <h3>🧪 Behavior & Business Logic</h3>
594
+ <p>Demonstrating how the component handles congestion and delivery intelligence.</p>
595
+
596
+ <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px;">
597
+ <!-- Smart Coalescing -->
598
+ <div style="background: #fffbeb; padding: 20px; border-radius: 12px; border: 1px solid #fde68a;">
599
+ <h4 style="color: #92400e; margin: 0 0 8px;">Smart Coalescing</h4>
600
+ <p style="font-size: 13px; color: #b45309; margin-bottom: 15px;">Automatically groups identical messages into a single entry with a counter.</p>
601
+ <ui-button onclick="testCoalesce()" ">Spam 10 Messages</ui-button>
602
+ </div>
603
+
604
+ <!-- Priority Reordering -->
605
+ <div style="background: #f0fdf4; padding: 20px; border-radius: 12px; border: 1px solid #bbf7d0;">
606
+ <h4 style="color: #166534; margin: 0 0 8px;">Priority Reordering</h4>
607
+ <p style="font-size: 13px; color: #15803d; margin-bottom: 15px;">Trigger 5 normal messages, then jump the line with a High priority alert.</p>
608
+ <ui-button onclick="testPriorityJam()" ">Priority Jam Demo</ui-button>
609
+ </div>
610
+
611
+ <!-- Animation Lab -->
612
+ <div style="background: #f5f3ff; padding: 20px; border-radius: 12px; border: 1px solid #ddd6fe;">
613
+ <h4 style="color: #5b21b6; margin: 0 0 8px;">Animation Lab</h4>
614
+ <p style="font-size: 13px; color: #6d28d9; margin-bottom: 15px;">Cycle through all entry physics systems sequentially.</p>
615
+ <ui-button onclick="testAnimationLab()" ">Run Animation Cycle</ui-button>
616
+ </div>
617
+ </div>
618
+ </div>
619
+ `;
620
+
621
+ window.testCoalesce = () => {
622
+ globalSnackbar.coalesce = true;
623
+ globalSnackbar.add({ message: 'Coalescing active. Repeating signal...', type: 'warning' });
624
+ let count = 0;
625
+ const t = setInterval(() => {
626
+ globalSnackbar.add({ message: 'Repeating signal...', type: 'warning' });
627
+ if (++count > 8) clearInterval(t);
628
+ }, 200);
629
+ };
630
+
631
+ window.testPriorityJam = () => {
632
+ globalSnackbar.closeAll();
633
+ globalSnackbar.stackMode = 'stack';
634
+ for (let i = 0; i < 3; i++) {
635
+ globalSnackbar.add({ message: `Normal importance message ${i + 1}`, type: 'info', duration: 0 });
636
+ }
637
+ setTimeout(() => {
638
+ globalSnackbar.add({
639
+ message: 'CRITICAL OVERRIDE: High priority alert bypassing queue!',
640
+ type: 'error',
641
+ priority: 'urgent',
642
+ duration: 0,
643
+ });
644
+ }, 1000);
645
+ };
646
+
647
+ window.testAnimationLab = async () => {
648
+ const anims = ['slide-up', 'slide-down', 'slide-left', 'slide-right', 'fade', 'scale', 'bounce', 'spring'];
649
+ globalSnackbar.closeAll();
650
+ for (const anim of anims) {
651
+ globalSnackbar.openMode = anim;
652
+ globalSnackbar.add({ message: `Testing animation: ${anim}`, type: 'info', duration: 1500 });
653
+ await new Promise(r => setTimeout(r, 800));
654
+ }
655
+ };
656
+ };
657
+
658
+ window.showThemedSnackbars = () => {
659
+ updateActiveBtn('btnSnackThemes');
660
+ container.innerHTML = `
661
+ <div class="demo-block">
662
+ <h3>💎 Branding, Themes & Scaling</h3>
663
+ <p>Adapt the notification system to your specific UI guidelines.</p>
664
+
665
+ <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px;">
666
+ <!-- Light Theme -->
667
+ <div style="background: #f8fafc; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0;">
668
+ <h4 style="margin: 0 0 12px;">Adaptive Themes</h4>
669
+ <ui-button onclick="testTheme('light')" -weight: 600; margin-bottom: 8px;">Force Light Mode</ui-button>
670
+ <ui-button onclick="testTheme('dark')" ">Force Dark Mode</ui-button>
671
+ </div>
672
+
673
+ <!-- Component Sizing -->
674
+ <div style="background: #f8fafc; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0;">
675
+ <h4 style="margin: 0 0 12px;">Component Scaling</h4>
676
+ <div style="display: flex; gap: 8px;">
677
+ <ui-button onclick="testSize('sm')" >Small</ui-button>
678
+ <ui-button onclick="testSize('md')" >md</ui-button>
679
+ <ui-button onclick="testSize('lg')" >Large</ui-button>
680
+ </div>
681
+ <p style="font-size: 11px; color: #94a3b8; margin-top: 10px;">Dynamically rescales padding, fonts, and icon sizes for global parity.</p>
682
+ </div>
683
+ </div>
684
+ </div>
685
+ `;
686
+
687
+ window.testTheme = t => {
688
+ globalSnackbar.theme = t;
689
+ globalSnackbar.add({ message: `Forced ${t} theme active`, type: 'info' });
690
+ };
691
+ window.testSize = s => {
692
+ globalSnackbar.size = s;
693
+ globalSnackbar.add({ message: `Scaling set to ${s} variant`, type: 'success' });
694
+ };
695
+ };
696
+
697
+ // Common Helpers
698
+ window.testSovereignProtocol = () => {
699
+ globalSnackbar.add({
700
+ type: 'sovereign',
701
+ title: 'SOVEREIGN_PROTOCOL_ARMED',
702
+ message: 'Universal encryption layer active. Multi-regional synchronization at 100% fidelity.',
703
+ duration: 8000,
704
+ haptic: true,
705
+ });
706
+ };
707
+
708
+ window.testLiveUpdater = async () => {
709
+ const id = await globalSnackbar.add({
710
+ type: 'loading',
711
+ title: 'System Initializing...',
712
+ message: 'Preparing assets for global deployment',
713
+ duration: 0,
714
+ progress: 'ring',
715
+ });
716
+
717
+ let progress = 0;
718
+ const interval = setInterval(() => {
719
+ progress += 20;
720
+ globalSnackbar.update(id, {
721
+ title: progress === 100 ? 'Deployment Complete' : `Processing Assets: ${progress}%`,
722
+ message: progress === 100 ? 'All nodes are green. System is live.' : 'Transferring encrypted data packets...',
723
+ type: progress === 100 ? 'success' : 'loading',
724
+ });
725
+
726
+ if (progress === 100) {
727
+ clearInterval(interval);
728
+ globalSnackbar.update(id, { duration: 4000, progress: 'bar' });
729
+ }
730
+ }, 1000);
731
+ };
732
+
733
+ window.testSlottedMedia = () => {
734
+ globalSnackbar.enableSlots = true;
735
+ const slotId = 'slot-' + Date.now();
736
+ const slotDiv = document.createElement('div');
737
+ slotDiv.id = slotId;
738
+ slotDiv.innerHTML = `
739
+ <div style="background: white; padding: 20px; border-radius: 16px; box-shadow: 0 15px 30px -10px rgba(0,0,0,0.2); border: 1px solid #e2e8f0; min-width: 360px; animation: slideUp 0.5s ease; position: relative; pointer-events: auto; margin-bottom: 10px;">
740
+ <div style="display: flex; gap: 16px; align-items: start; margin-bottom: 16px;">
741
+ <div style="width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, #10b981, #10b981); display: flex; align-items: center; justify-content: center; color: white;">
742
+ <ui-icon library="lucide" name="file-text" size="24px"></ui-icon>
743
+ </div>
744
+ <div style="flex: 1;">
745
+ <div style="font-weight: 800; color: #0f172a; font-size: 15px;">New Shared Document</div>
746
+ <div style="font-size: 13px; color: #64748b; margin-top: 2px;">"Q1_Report_Final.pdf" shared by <b>Sarah</b></div>
747
+ </div>
748
+ <ui-button onclick="this.closest('div[id^=slot-]').remove()" style="border: none; background: #f1f5f9; color: #64748b; width: 24px; height: 24px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 10px;">✕</ui-button>
749
+ </div>
750
+ <div style="display: flex; gap: 10px;">
751
+ <ui-button onclick="alert('Downloading...')" ; cursor: pointer;">Download</ui-button>
752
+ <ui-button onclick="this.closest('div[id^=slot-]').remove()" 00; cursor: pointer;">Ignore</ui-button>
753
+ </div>
754
+ </div>
755
+ `;
756
+ globalSnackbar.appendChild(slotDiv);
757
+ };
758
+
759
+ window.testSnackbarPromise = () => {
760
+ globalSnackbar.promise(new Promise((resolve, reject) => setTimeout(Math.random() > 0.3 ? resolve : reject, 3000)), {
761
+ loading: 'Synchronizing assets with edge nodes...',
762
+ success: 'Asset synchronization complete!',
763
+ error: 'Connection timeout. Failed to sync.',
764
+ });
765
+ };
766
+
767
+ window.testSnackbarUndoable = () => {
768
+ globalSnackbar.undoable({
769
+ message: 'Project "Delta-Nine" has been archived.',
770
+ type: 'error',
771
+ onUndo: () => globalSnackbar.add({ message: 'Restoration successful!', type: 'success' }),
772
+ onDismiss: () => console.log('Archive confirmed.'),
773
+ });
774
+ };
775
+
776
+ window.testSnackbarInput = () => {
777
+ globalSnackbar.add({
778
+ type: 'info',
779
+ message: 'Deployment complete. Add a tag for this build:',
780
+ duration: 0,
781
+ input: {
782
+ placeholder: 'e.g. production-v2',
783
+ onSubmit: val => globalSnackbar.add({ message: `Tag "${val}" applied successfully.`, type: 'success' }),
784
+ },
785
+ });
786
+ };
787
+
788
+ window.copyPgCode = () => {
789
+ const code = document.getElementById('snackbarCodeBlock').textContent;
790
+ navigator.clipboard.writeText(code);
791
+ globalSnackbar.add({ message: 'Implementation code copied!', type: 'success', duration: 2000 });
792
+ };
793
+
794
+ // ── Wire new events to interactive playground event log ──────
795
+ globalSnackbar.addEventListener('snackbarAdded', e => logSnackbarEvent(`✅ snackbarAdded: ${e.detail.item.message?.substring(0, 40)}`));
796
+ globalSnackbar.addEventListener('snackbarUpdated', e => logSnackbarEvent(`✏️ snackbarUpdated: id=${e.detail.id}`));
797
+
798
+ // ── New Features Demo ────────────────────────────────────────
799
+ window.showNewFeatures = () => {
800
+ updateActiveBtn('btnSnackNew');
801
+ globalSnackbar.cardStack = false;
802
+ container.innerHTML = `
803
+ <div class="demo-block">
804
+ <h3>🆕 New Features Showcase</h3>
805
+ <p style="color:#64748b; font-size:14px; margin-bottom:24px;">All 7 newly implemented capabilities in one place.</p>
806
+
807
+ <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px;">
808
+
809
+ <!-- Events -->
810
+ <div style="background:#f0fdf4; padding:20px; border-radius:12px; border:1px solid #bbf7d0;">
811
+ <h4 style="color:#166534; margin:0 0 6px;">📡 snackbarAdded / Updated Events</h4>
812
+ <p style="font-size:13px;color:#15803d;margin-bottom:12px;">Fire a notification — both events are logged in the Playground event log.</p>
813
+ <ui-button onclick="testEventsDemo()" >Fire &amp; Observe Events</ui-button>
814
+ </div>
815
+
816
+ <!-- getAll() -->
817
+ <div style="background:#eff6ff; padding:20px; border-radius:12px; border:1px solid #bfdbfe;">
818
+ <h4 style="color:#1e40af; margin:0 0 6px;">📋 getAll()</h4>
819
+ <p style="font-size:13px;color:#1d4ed8;margin-bottom:12px;">Query all current notifications programmatically.</p>
820
+ <ui-button onclick="testGetAll()" >getAll() Snapshot</ui-button>
821
+ <pre id="getAllOutput" style="margin-top:10px;background:#1e3a5f;color:#93c5fd;padding:10px;border-radius:6px;font-size:11px;max-height:100px;overflow-y:auto;display:none;"></pre>
822
+ </div>
823
+
824
+ <!-- pause() / resume() -->
825
+ <div style="background:#fdf4ff; padding:20px; border-radius:12px; border:1px solid #e9d5ff;">
826
+ <h4 style="color:#6b21a8; margin:0 0 6px;">⏯️ pause(id) / resume(id)</h4>
827
+ <p style="font-size:13px;color:#7e22ce;margin-bottom:12px;">Freeze or thaw individual notification timers.</p>
828
+ <div style="display:flex;gap:8px;">
829
+ <ui-button onclick="testPauseResume('pause')" >⏸ Pause</ui-button>
830
+ <ui-button onclick="testPauseResume('resume')" >▶ Resume</ui-button>
831
+ </div>
832
+ </div>
833
+
834
+ <!-- replace() -->
835
+ <div style="background:#fff7ed; padding:20px; border-radius:12px; border:1px solid #fed7aa;">
836
+ <h4 style="color:#9a3412; margin:0 0 6px;">🔄 replace(id, newItem)</h4>
837
+ <p style="font-size:13px;color:#c2410c;margin-bottom:12px;">Completely swap an existing notification with new content.</p>
838
+ <ui-button onclick="testReplaceDemo()" >Replace in 2s</ui-button>
839
+ </div>
840
+
841
+ <!-- closeNext() fix -->
842
+ <div style="background:#f1f5f9; padding:20px; border-radius:12px; border:1px solid #cbd5e1;">
843
+ <h4 style="color:#0f172a; margin:0 0 6px;">🗂 closeNext() — Fixed FIFO/LIFO</h4>
844
+ <p style="font-size:13px;color:#475569;margin-bottom:12px;">Queue mode closes oldest first; Stack removes newest.</p>
845
+ <div style="display:flex;gap:8px;">
846
+ <ui-button onclick="testCloseNext('queue')" >Queue FIFO</ui-button>
847
+ <ui-button onclick="testCloseNext('stack')" >Stack LIFO</ui-button>
848
+ </div>
849
+ </div>
850
+
851
+ <!-- pauseOnHover -->
852
+ <div style="background:#fefce8; padding:20px; border-radius:12px; border:1px solid #fde68a;">
853
+ <h4 style="color:#854d0e; margin:0 0 6px;">🖱️ pauseOnHover Prop</h4>
854
+ <p style="font-size:13px;color:#92400e;margin-bottom:12px;">Toggle whether hovering pauses auto-dismiss timers.</p>
855
+ <div style="display:flex;gap:8px;">
856
+ <ui-button onclick="setPauseOnHover(true)" >Pause ON</ui-button>
857
+ <ui-button onclick="setPauseOnHover(false)" >Pause OFF</ui-button>
858
+ </div>
859
+ </div>
860
+
861
+ <!-- Stack Count Badge -->
862
+ <div style="background:#f0fdfa; padding:20px; border-radius:12px; border:1px solid #99f6e4;">
863
+ <h4 style="color:#134e4a; margin:0 0 6px;">🔢 Stack Count Badge</h4>
864
+ <p style="font-size:13px;color:#0f766e;margin-bottom:12px;">Collapsed stacks show a pill count badge. Click it to expand.</p>
865
+ <ui-button onclick="testStackBadge()" >Show Stack Badge</ui-button>
866
+ </div>
867
+
868
+ </div>
869
+ </div>
870
+ `;
871
+
872
+ let _pauseResumeId = null;
873
+
874
+ window.testEventsDemo = () => {
875
+ globalSnackbar.add({ title: 'Event Fired', message: 'Check the Playground → Event Log', type: 'info' });
876
+ globalSnackbar.add({ message: 'Second event for update test', type: 'success', duration: 10000 }).then(id => {
877
+ setTimeout(() => globalSnackbar.update(id, { title: 'Updated!', message: 'This fires snackbarUpdated event' }), 1500);
878
+ });
879
+ };
880
+
881
+ window.testGetAll = async () => {
882
+ globalSnackbar.add({ message: 'Snapshot item A', type: 'info', duration: 4000 });
883
+ globalSnackbar.add({ message: 'Snapshot item B', type: 'success', duration: 4000 });
884
+ setTimeout(async () => {
885
+ const all = await globalSnackbar.getAll();
886
+ const output = document.getElementById('getAllOutput');
887
+ if (output) {
888
+ output.style.display = 'block';
889
+ output.textContent = JSON.stringify(
890
+ all.map(i => ({ id: i.id, type: i.type, message: i.message })),
891
+ null,
892
+ 2,
893
+ );
894
+ }
895
+ }, 200);
896
+ };
897
+
898
+ window.testPauseResume = async action => {
899
+ if (action === 'pause') {
900
+ const id = await globalSnackbar.add({ title: 'Timer Frozen', message: 'This will not auto-close until resumed', type: 'warning', duration: 6000 });
901
+ _pauseResumeId = id;
902
+ await globalSnackbar.pause(id);
903
+ globalSnackbar.add({ message: 'Timer paused! Click Resume to restart.', type: 'info', duration: 3000 });
904
+ } else if (_pauseResumeId) {
905
+ await globalSnackbar.resume(_pauseResumeId);
906
+ globalSnackbar.add({ message: 'Timer resumed!', type: 'success', duration: 2000 });
907
+ _pauseResumeId = null;
908
+ } else {
909
+ globalSnackbar.add({ message: 'Pause a notification first.', type: 'warning', duration: 2000 });
910
+ }
911
+ };
912
+
913
+ window.testReplaceDemo = async () => {
914
+ const id = await globalSnackbar.add({ title: 'Original Message', message: 'Will be replaced in 2 seconds...', type: 'info', duration: 10000 });
915
+ setTimeout(() => {
916
+ globalSnackbar.replace(id, { title: '✅ Replaced!', message: 'This is the brand new content.', type: 'success', duration: 5000 });
917
+ }, 2000);
918
+ };
919
+
920
+ window.testCloseNext = mode => {
921
+ globalSnackbar.stackMode = mode;
922
+ globalSnackbar.closeAll();
923
+ setTimeout(() => {
924
+ ['First', 'Second', 'Third'].forEach((label, i) => {
925
+ setTimeout(() => globalSnackbar.add({ message: `${label} notification (${mode})`, type: 'info', duration: 0 }), i * 150);
926
+ });
927
+ setTimeout(() => globalSnackbar.closeNext(), 600);
928
+ }, 200);
929
+ };
930
+
931
+ window.setPauseOnHover = enabled => {
932
+ globalSnackbar.pauseOnHover = enabled;
933
+ globalSnackbar.add({
934
+ message: `pauseOnHover = ${enabled}. ${enabled ? 'Hover to pause timer.' : 'Hovering will NOT pause timers.'}`,
935
+ type: enabled ? 'success' : 'warning',
936
+ duration: 5000,
937
+ });
938
+ };
939
+
940
+ window.testStackBadge = () => {
941
+ globalSnackbar.cardStack = true;
942
+ globalSnackbar.position = 'bottom-right';
943
+ globalSnackbar.closeAll();
944
+ setTimeout(() => {
945
+ ['Network Alert', 'Build Complete', 'Deployment Done', 'Sync Finished'].forEach((title, i) => {
946
+ setTimeout(() => globalSnackbar.add({ title, message: 'System event detected.', type: ['error', 'success', 'info', 'warning'][i], duration: 0 }), i * 100);
947
+ });
948
+ }, 300);
949
+ };
950
+
951
+ // maxDuration demo
952
+ window.testMaxDuration = cap => {
953
+ globalSnackbar.maxDuration = cap;
954
+ globalSnackbar.add({
955
+ title: `maxDuration = ${cap}ms`,
956
+ message: `This would last 30s — but it's capped to ${cap / 1000}s.`,
957
+ type: 'warning',
958
+ duration: 30000,
959
+ progress: 'bar',
960
+ });
961
+ globalSnackbar.add({ message: `Cap applied: closes in ~${cap / 1000}s`, type: 'info', duration: 2000 });
962
+ };
963
+
964
+ // showCountdown demo
965
+ window.testShowCountdown = on => {
966
+ globalSnackbar.showCountdown = on;
967
+ globalSnackbar.add({
968
+ title: on ? 'Countdown ON' : 'Countdown OFF',
969
+ message: on ? 'Watch the Xs chip in the corner.' : 'Chip is hidden.',
970
+ type: 'info',
971
+ duration: 10000,
972
+ progress: 'bar',
973
+ });
974
+ };
975
+
976
+ // RTL demo — only affects this snackbar instance, never the page
977
+ window.testRTL = enable => {
978
+ globalSnackbar.closeAll();
979
+ globalSnackbar.textDirection = enable ? 'rtl' : 'ltr';
980
+ globalSnackbar.position = 'bottom-right';
981
+ setTimeout(
982
+ () =>
983
+ globalSnackbar.add({
984
+ title: enable ? '🌐 RTL Mode Active' : '↩️ Back to LTR',
985
+ message: enable
986
+ ? 'Slide animation, icon, and close button are all mirrored. (مرحبا بكم في الوضع العربي)'
987
+ : 'Direction restored to LTR. Page layout was never affected.',
988
+ type: enable ? 'info' : 'success',
989
+ duration: 7000,
990
+ progress: 'bar',
991
+ }),
992
+ 100,
993
+ );
994
+ };
995
+
996
+ // Inject the 3 new cards into the grid (append after existing cards)
997
+ const grid = container.querySelector('[style*="grid-template-columns"]');
998
+ if (grid) {
999
+ grid.insertAdjacentHTML(
1000
+ 'beforeend',
1001
+ `
1002
+ <!-- maxDuration -->
1003
+ <div style="background:#fff1f2; padding:20px; border-radius:12px; border:1px solid #fecdd3;">
1004
+ <h4 style="color:#9f1239; margin:0 0 6px;">⏱ maxDuration Cap</h4>
1005
+ <p style="font-size:13px;color:#be123c;margin-bottom:12px;">Clamps any duration to a ceiling. The notification below would last 30s — but gets cut.</p>
1006
+ <div style="display:flex;gap:8px;">
1007
+ <ui-button onclick="testMaxDuration(3000)" >Cap 3s</ui-button>
1008
+ <ui-button onclick="testMaxDuration(8000)" >Cap 8s</ui-button>
1009
+ </div>
1010
+ </div>
1011
+
1012
+ <!-- showCountdown -->
1013
+ <div style="background:#f0fdfa; padding:20px; border-radius:12px; border:1px solid #99f6e4;">
1014
+ <h4 style="color:#134e4a; margin:0 0 6px;">🔢 showCountdown Chip</h4>
1015
+ <p style="font-size:13px;color:#0f766e;margin-bottom:12px;">Displays a live "Xs" countdown inside the notification. Hides on hover (timer paused).</p>
1016
+ <div style="display:flex;gap:8px;">
1017
+ <ui-button onclick="testShowCountdown(true)" >Enable</ui-button>
1018
+ <ui-button onclick="testShowCountdown(false)" >Disable</ui-button>
1019
+ </div>
1020
+ </div>
1021
+
1022
+ <!-- RTL -->
1023
+ <div style="background:#f5f3ff; padding:20px; border-radius:12px; border:1px solid #ddd6fe;">
1024
+ <h4 style="color:#5b21b6; margin:0 0 6px;">🌐 RTL Support</h4>
1025
+ <p style="font-size:13px;color:#6d28d9;margin-bottom:12px;">Auto-detected from <code>dir="rtl"</code>. Positions and slide animations are mirrored.</p>
1026
+ <div style="display:flex;gap:8px;">
1027
+ <ui-button onclick="testRTL(true)" >Enable RTL</ui-button>
1028
+ <ui-button onclick="testRTL(false)" >Back to LTR</ui-button>
1029
+ </div>
1030
+ </div>
1031
+ `,
1032
+ );
1033
+ }
1034
+ };
1035
+
1036
+ // Default view
1037
+ showInteractiveSnackbar();
1038
+ };
1039
+
1040
+ window.initSnackbarDemo = initSnackbarDemo;