atomicuilibrary 0.1.0 → 0.1.3

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 (618) hide show
  1. package/dist/cjs/category-section.cjs.entry.js +2 -2
  2. package/dist/cjs/dom-BvBb0kmW.js +267 -0
  3. package/dist/cjs/exploration-project-tailwind.cjs.js +2 -2
  4. package/dist/cjs/{index-ClkOYpT8.js → index-C32cWsm5.js} +1 -1
  5. package/dist/cjs/layout-manager.cjs.entry.js +3 -3
  6. package/dist/cjs/library-card.cjs.entry.js +2 -2
  7. package/dist/cjs/lm-container_2.cjs.entry.js +2 -2
  8. package/dist/cjs/lm-panel_3.cjs.entry.js +4 -4
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/my-component.cjs.entry.js +1 -1
  11. package/dist/cjs/my-step.cjs.entry.js +2 -2
  12. package/dist/cjs/nav-bar.cjs.entry.js +4 -4
  13. package/dist/cjs/smart-step.cjs.entry.js +3 -3
  14. package/dist/cjs/timeline-item.cjs.entry.js +2 -2
  15. package/dist/cjs/ui-accordion_11.cjs.entry.js +132 -50
  16. package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2 -2
  17. package/dist/cjs/ui-anchor.cjs.entry.js +2 -2
  18. package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +3 -3
  19. package/dist/cjs/ui-aside-panel.cjs.entry.js +10 -11
  20. package/dist/cjs/ui-avatar-group_5.cjs.entry.js +1694 -0
  21. package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +3 -3
  22. package/dist/cjs/ui-breadcrumb.cjs.entry.js +1 -1
  23. package/dist/cjs/ui-callout-banner.cjs.entry.js +2 -2
  24. package/dist/cjs/ui-card.cjs.entry.js +4 -3
  25. package/dist/cjs/ui-carousel.cjs.entry.js +1 -1
  26. package/dist/cjs/ui-checkbox.cjs.entry.js +3 -3
  27. package/dist/cjs/ui-code-editor.cjs.entry.js +2 -2
  28. package/dist/cjs/ui-code-preview.cjs.entry.js +2 -2
  29. package/dist/cjs/ui-color-picker.cjs.entry.js +256 -22
  30. package/dist/cjs/ui-command-palette.cjs.entry.js +1 -1
  31. package/dist/cjs/ui-dialog-box.cjs.entry.js +85 -11
  32. package/dist/cjs/ui-dialog-content.cjs.entry.js +1 -1
  33. package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +1 -1
  34. package/dist/cjs/ui-divider.cjs.entry.js +1 -1
  35. package/dist/cjs/ui-dock-host.cjs.entry.js +4 -4
  36. package/dist/cjs/ui-dock.cjs.entry.js +2 -2
  37. package/dist/cjs/ui-drag-drop.cjs.entry.js +2 -2
  38. package/dist/cjs/ui-dropdown_2.cjs.entry.js +104 -34
  39. package/dist/cjs/ui-empty-state.cjs.entry.js +2 -2
  40. package/dist/cjs/ui-fab-item.cjs.entry.js +2 -2
  41. package/dist/cjs/ui-fab.cjs.entry.js +4 -4
  42. package/dist/cjs/ui-file-upload.cjs.entry.js +143 -44
  43. package/dist/cjs/ui-horizontal-nav.cjs.entry.js +2 -2
  44. package/dist/cjs/ui-knob.cjs.entry.js +1 -1
  45. package/dist/cjs/ui-label.cjs.entry.js +473 -0
  46. package/dist/cjs/ui-library.cjs.entry.js +2 -2
  47. package/dist/cjs/ui-list-group_2.cjs.entry.js +349 -60
  48. package/dist/cjs/ui-list.cjs.entry.js +76 -42
  49. package/dist/cjs/ui-masonry.cjs.entry.js +1 -1
  50. package/dist/cjs/ui-meter-group.cjs.entry.js +5 -4
  51. package/dist/cjs/ui-navigation-item.cjs.entry.js +5 -5
  52. package/dist/cjs/ui-number-input.cjs.entry.js +7 -3
  53. package/dist/cjs/ui-otp-input.cjs.entry.js +5 -5
  54. package/dist/cjs/{ui-pagination_4.cjs.entry.js → ui-pagination_3.cjs.entry.js} +35 -506
  55. package/dist/cjs/ui-panel.cjs.entry.js +1 -1
  56. package/dist/cjs/ui-pattern-input.cjs.entry.js +46 -11
  57. package/dist/cjs/ui-progress.cjs.entry.js +66 -9
  58. package/dist/cjs/ui-range-slider.cjs.entry.js +2 -2
  59. package/dist/cjs/ui-resizable-panel.cjs.entry.js +2 -2
  60. package/dist/cjs/ui-scroll-top.cjs.entry.js +1 -1
  61. package/dist/cjs/ui-smart-context-menu.cjs.entry.js +1 -1
  62. package/dist/cjs/ui-smart-stepper.cjs.entry.js +2 -2
  63. package/dist/cjs/ui-snackbar.cjs.entry.js +1 -1
  64. package/dist/cjs/ui-speed-dial.cjs.entry.js +1 -1
  65. package/dist/cjs/ui-speedometer.cjs.entry.js +28 -17
  66. package/dist/cjs/ui-splitter.cjs.entry.js +1 -1
  67. package/dist/cjs/ui-step.cjs.entry.js +2 -2
  68. package/dist/cjs/ui-stepper.cjs.entry.js +1 -1
  69. package/dist/cjs/ui-switch.cjs.entry.js +14 -13
  70. package/dist/cjs/ui-tabs.cjs.entry.js +2 -2
  71. package/dist/cjs/ui-tag.cjs.entry.js +58 -13
  72. package/dist/cjs/ui-timeline.cjs.entry.js +10 -2
  73. package/dist/cjs/ui-timer.cjs.entry.js +2 -2
  74. package/dist/cjs/ui-toolbar.cjs.entry.js +2 -2
  75. package/dist/cjs/ui-tooltip.cjs.entry.js +4 -4
  76. package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
  77. package/dist/cjs/ui-transfer-list.cjs.entry.js +6 -6
  78. package/dist/cjs/ui-tree.cjs.entry.js +30 -15
  79. package/dist/cjs/ui-workspace-manager.cjs.entry.js +2 -2
  80. package/dist/collection/assets/js/component-config.js +1 -0
  81. package/dist/collection/assets/js/demo-loader.js +2 -0
  82. package/dist/collection/assets/js/demos/about-demo.js +13 -13
  83. package/dist/collection/assets/js/demos/accordion-demo.js +66 -66
  84. package/dist/collection/assets/js/demos/advanced-data-table-demo.js +102 -102
  85. package/dist/collection/assets/js/demos/anchor-demo.js +27 -28
  86. package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +12 -12
  87. package/dist/collection/assets/js/demos/aside-panel-demo.js +51 -51
  88. package/dist/collection/assets/js/demos/avatar-demo.js +433 -95
  89. package/dist/collection/assets/js/demos/badge-demo.js +51 -52
  90. package/dist/collection/assets/js/demos/breadcrumb-demo.js +7 -7
  91. package/dist/collection/assets/js/demos/button-demo.js +117 -107
  92. package/dist/collection/assets/js/demos/button-toggle-demo.js +199 -96
  93. package/dist/collection/assets/js/demos/callout-banner-demo.js +23 -23
  94. package/dist/collection/assets/js/demos/card-demo.js +23 -22
  95. package/dist/collection/assets/js/demos/carousel-demo.js +632 -360
  96. package/dist/collection/assets/js/demos/checkbox-demo.js +124 -7
  97. package/dist/collection/assets/js/demos/color-picker-demo.js +394 -100
  98. package/dist/collection/assets/js/demos/command-palette-demo.js +182 -65
  99. package/dist/collection/assets/js/demos/complex-form-demo.js +5 -5
  100. package/dist/collection/assets/js/demos/context-menu-demo.js +43 -43
  101. package/dist/collection/assets/js/demos/dialog-demo-temp.js +3 -3
  102. package/dist/collection/assets/js/demos/dialog-demo.js +336 -230
  103. package/dist/collection/assets/js/demos/divider-demo.js +59 -62
  104. package/dist/collection/assets/js/demos/dock-demo.js +12 -12
  105. package/dist/collection/assets/js/demos/dock-host-init.js +31 -31
  106. package/dist/collection/assets/js/demos/documentation-demo.js +34 -34
  107. package/dist/collection/assets/js/demos/drag-drop-demo.js +2 -2
  108. package/dist/collection/assets/js/demos/dropdown-demo.js +140 -136
  109. package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +2 -2
  110. package/dist/collection/assets/js/demos/empty-state-demo.js +294 -78
  111. package/dist/collection/assets/js/demos/fab-demo.js +95 -11
  112. package/dist/collection/assets/js/demos/file-upload-demo.js +641 -171
  113. package/dist/collection/assets/js/demos/home-components.js +2 -2
  114. package/dist/collection/assets/js/demos/horizontal-nav-demo.js +6 -6
  115. package/dist/collection/assets/js/demos/icon-demo.js +17 -17
  116. package/dist/collection/assets/js/demos/input-demo.js +147 -143
  117. package/dist/collection/assets/js/demos/knob-demo.js +29 -30
  118. package/dist/collection/assets/js/demos/label-demo.js +697 -0
  119. package/dist/collection/assets/js/demos/layout-manager-demo.js +55 -55
  120. package/dist/collection/assets/js/demos/list-demo.js +185 -122
  121. package/dist/collection/assets/js/demos/loader-demo.js +48 -48
  122. package/dist/collection/assets/js/demos/masonry-demo.js +568 -140
  123. package/dist/collection/assets/js/demos/meter-group-demo.js +14 -16
  124. package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +25 -25
  125. package/dist/collection/assets/js/demos/my-profile-demo.js +27 -27
  126. package/dist/collection/assets/js/demos/nav-bar-demo.js +1 -1
  127. package/dist/collection/assets/js/demos/number-input-demo.js +262 -211
  128. package/dist/collection/assets/js/demos/pagination-demo.js +29 -29
  129. package/dist/collection/assets/js/demos/panel-demo.js +18 -25
  130. package/dist/collection/assets/js/demos/pattern-input-demo.js +278 -40
  131. package/dist/collection/assets/js/demos/popover-demo.js +240 -149
  132. package/dist/collection/assets/js/demos/progress-demo.js +170 -156
  133. package/dist/collection/assets/js/demos/radio-demo.js +73 -12
  134. package/dist/collection/assets/js/demos/range-slider-demo.js +33 -33
  135. package/dist/collection/assets/js/demos/rating-demo.js +19 -19
  136. package/dist/collection/assets/js/demos/scroll-top-demo.js +8 -9
  137. package/dist/collection/assets/js/demos/skeleton-demo.js +110 -52
  138. package/dist/collection/assets/js/demos/skeleton-performance-demo.js +2 -2
  139. package/dist/collection/assets/js/demos/smart-dialog-demo.js +12 -12
  140. package/dist/collection/assets/js/demos/smart-menu-demo.js +17 -17
  141. package/dist/collection/assets/js/demos/snackbar-demo.js +53 -53
  142. package/dist/collection/assets/js/demos/speed-dial-demo.js +14 -14
  143. package/dist/collection/assets/js/demos/speedometer-demo.js +40 -32
  144. package/dist/collection/assets/js/demos/split-button-demo.js +2 -2
  145. package/dist/collection/assets/js/demos/splitter-demo.js +14 -14
  146. package/dist/collection/assets/js/demos/stack-demo.js +27 -27
  147. package/dist/collection/assets/js/demos/stepper-demo.js +49 -49
  148. package/dist/collection/assets/js/demos/switch-demo.js +561 -125
  149. package/dist/collection/assets/js/demos/tabs-demo.js +22 -22
  150. package/dist/collection/assets/js/demos/tag-demo.js +62 -62
  151. package/dist/collection/assets/js/demos/theme-selector-demo.js +27 -27
  152. package/dist/collection/assets/js/demos/timeline-demo.js +10 -10
  153. package/dist/collection/assets/js/demos/timeline-playground.js +2 -2
  154. package/dist/collection/assets/js/demos/timer-demo.js +10 -10
  155. package/dist/collection/assets/js/demos/toolbar-demo.js +17 -17
  156. package/dist/collection/assets/js/demos/tooltip-demo.js +92 -90
  157. package/dist/collection/assets/js/demos/top-bar-demo.js +6 -6
  158. package/dist/collection/assets/js/demos/transfer-list-demo.js +20 -20
  159. package/dist/collection/assets/js/demos/tree-demo.js +50 -66
  160. package/dist/collection/assets/js/demos/workspace-manager-demo.js +20 -20
  161. package/dist/collection/collection-manifest.json +1 -2
  162. package/dist/collection/components/accordion/accordion.css +275 -9
  163. package/dist/collection/components/accordion/accordion.js +7 -6
  164. package/dist/collection/components/advanced-data-table/advanced-data-table.css +5 -5
  165. package/dist/collection/components/advanced-data-table/advanced-data-table.js +2 -2
  166. package/dist/collection/components/anchor/anchor.css +1 -0
  167. package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +2 -2
  168. package/dist/collection/components/aside-panel/aside-panel.css +2 -2
  169. package/dist/collection/components/aside-panel/aside-panel.js +10 -11
  170. package/dist/collection/components/avatar/avatar.css +6 -6
  171. package/dist/collection/components/avatar/avatar.js +63 -11
  172. package/dist/collection/components/badge/badge.css +27 -17
  173. package/dist/collection/components/badge/badge.js +6 -3
  174. package/dist/collection/components/breadcrumb/breadcrumb-item.js +2 -2
  175. package/dist/collection/components/button/button.css +1 -0
  176. package/dist/collection/components/button/button.js +3 -3
  177. package/dist/collection/components/button-toggle/button-toggle.js +2 -2
  178. package/dist/collection/components/button-toggle-group/button-toggle-group.css +161 -14
  179. package/dist/collection/components/button-toggle-group/button-toggle-group.js +2 -2
  180. package/dist/collection/components/callout-banner/callout-banner.css +75 -0
  181. package/dist/collection/components/callout-banner/callout-banner.js +1 -1
  182. package/dist/collection/components/card/card.css +221 -9
  183. package/dist/collection/components/card/card.js +3 -2
  184. package/dist/collection/components/checkbox/checkbox.js +3 -3
  185. package/dist/collection/components/code-editor/code-editor.js +1 -1
  186. package/dist/collection/components/code-preview/ui-code-preview.js +1 -1
  187. package/dist/collection/components/color-picker/color-picker.css +110 -6
  188. package/dist/collection/components/color-picker/color-picker.js +302 -26
  189. package/dist/collection/components/context-menu/context-menu.css +9 -9
  190. package/dist/collection/components/dialog-box/dialog-box.js +116 -14
  191. package/dist/collection/components/dialog-header/dialog-header.js +1 -1
  192. package/dist/collection/components/dock/dock.css +116 -3
  193. package/dist/collection/components/dock-host/ui-dock-host.js +3 -3
  194. package/dist/collection/components/drag-drop/drag-drop.js +1 -1
  195. package/dist/collection/components/dropdown/dropdown.css +101 -8
  196. package/dist/collection/components/dropdown/dropdown.js +94 -28
  197. package/dist/collection/components/empty-state/empty-state.js +1 -1
  198. package/dist/collection/components/fab/fab.css +87 -15
  199. package/dist/collection/components/fab/fab.js +3 -3
  200. package/dist/collection/components/fab-item/fab-item.js +1 -1
  201. package/dist/collection/components/file-upload/file-upload.css +1362 -31
  202. package/dist/collection/components/file-upload/file-upload.js +171 -50
  203. package/dist/collection/components/horizontal-nav/horizontal-nav.css +9 -9
  204. package/dist/collection/components/horizontal-nav/horizontal-nav.js +2 -2
  205. package/dist/collection/components/icon/icon.js +1 -1
  206. package/dist/collection/components/input/input.css +9 -0
  207. package/dist/collection/components/input/input.js +20 -9
  208. package/dist/collection/components/label/label.css +583 -0
  209. package/dist/collection/components/label/label.js +1669 -0
  210. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  211. package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +1 -1
  212. package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +1 -1
  213. package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +1 -1
  214. package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +1 -1
  215. package/dist/collection/components/library/category-section.js +1 -1
  216. package/dist/collection/components/library/library-card.js +1 -1
  217. package/dist/collection/components/library/library.js +1 -1
  218. package/dist/collection/components/list/list.css +46 -5
  219. package/dist/collection/components/list/list.js +76 -42
  220. package/dist/collection/components/list-group/list-group.css +0 -2
  221. package/dist/collection/components/list-group/list-group.js +11 -5
  222. package/dist/collection/components/list-item/list-item.css +403 -131
  223. package/dist/collection/components/list-item/list-item.js +345 -61
  224. package/dist/collection/components/loader/loader.css +1 -1
  225. package/dist/collection/components/loader/loader.js +2 -2
  226. package/dist/collection/components/meter-group/meter-group.css +5 -0
  227. package/dist/collection/components/meter-group/meter-group.js +3 -2
  228. package/dist/collection/components/my-step/my-step.js +1 -1
  229. package/dist/collection/components/nav-bar/nav-bar.css +4 -4
  230. package/dist/collection/components/nav-bar/nav-bar.js +6 -6
  231. package/dist/collection/components/number-input/number-input.js +6 -2
  232. package/dist/collection/components/otp-input/otp-input.css +10 -0
  233. package/dist/collection/components/otp-input/otp-input.js +3 -3
  234. package/dist/collection/components/pagination/pagination.js +1 -1
  235. package/dist/collection/components/pattern-input/pattern-input.css +0 -1
  236. package/dist/collection/components/pattern-input/pattern-input.js +44 -9
  237. package/dist/collection/components/popover/popover.css +35 -7
  238. package/dist/collection/components/popover/popover.js +64 -9
  239. package/dist/collection/components/progress/progress.css +176 -32
  240. package/dist/collection/components/progress/progress.js +66 -8
  241. package/dist/collection/components/radio/radio.css +2 -0
  242. package/dist/collection/components/radio/radio.js +2 -2
  243. package/dist/collection/components/range-slider/range-slider.css +284 -31
  244. package/dist/collection/components/range-slider/range-slider.js +5 -5
  245. package/dist/collection/components/rating/rating.css +151 -65
  246. package/dist/collection/components/rating/rating.js +31 -13
  247. package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
  248. package/dist/collection/components/skeleton/skeleton-loader.css +144 -44
  249. package/dist/collection/components/skeleton/skeleton-loader.js +11 -7
  250. package/dist/collection/components/smart-stepper/smart-step.js +2 -2
  251. package/dist/collection/components/smart-stepper/smart-stepper.js +1 -1
  252. package/dist/collection/components/speedometer/speedometer.css +26 -6
  253. package/dist/collection/components/speedometer/speedometer.js +26 -15
  254. package/dist/collection/components/stack/stack.js +2 -2
  255. package/dist/collection/components/step/step.js +1 -1
  256. package/dist/collection/components/stepper/stepper.js +1 -1
  257. package/dist/collection/components/switch/switch.css +367 -8
  258. package/dist/collection/components/switch/switch.js +13 -12
  259. package/dist/collection/components/tag/tag.css +38 -12
  260. package/dist/collection/components/tag/tag.js +58 -13
  261. package/dist/collection/components/tag-group/tag-group.css +0 -1
  262. package/dist/collection/components/tag-group/tag-group.js +3 -3
  263. package/dist/collection/components/timeline/timeline.css +380 -317
  264. package/dist/collection/components/timeline/timeline.js +8 -0
  265. package/dist/collection/components/timeline-item/timeline-item.js +1 -1
  266. package/dist/collection/components/timer/timer.js +1 -1
  267. package/dist/collection/components/toggle-group/toggle-group.css +7 -3
  268. package/dist/collection/components/toggle-group/toggle-group.js +7 -3
  269. package/dist/collection/components/toolbar/toolbar.js +1 -1
  270. package/dist/collection/components/tooltip/tooltip.js +4 -4
  271. package/dist/collection/components/top-bar/top-bar.js +2 -2
  272. package/dist/collection/components/transfer-list/transfer-list.css +13 -13
  273. package/dist/collection/components/transfer-list/transfer-list.js +4 -4
  274. package/dist/collection/components/tree/tree.css +35 -21
  275. package/dist/collection/components/tree/tree.js +28 -13
  276. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +34 -16
  277. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +46 -11
  278. package/dist/collection/components/ui-navigation-bar/navigation-item.css +7 -7
  279. package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
  280. package/dist/collection/utils/dom.js +151 -151
  281. package/dist/components/avatar-group.js +1 -1
  282. package/dist/components/avatar.js +1 -1
  283. package/dist/components/badge.js +1 -1
  284. package/dist/components/button-toggle.js +1 -1
  285. package/dist/components/button.js +1 -0
  286. package/dist/components/category-section2.js +1 -1
  287. package/dist/components/checkbox.js +1 -1
  288. package/dist/components/context-menu.js +1 -1
  289. package/dist/components/dialog-header.js +1 -1
  290. package/dist/components/dom.js +1 -1
  291. package/dist/components/dropdown.js +1 -1
  292. package/dist/components/icon.js +2 -2
  293. package/dist/components/input.js +1 -1
  294. package/dist/components/layout-manager.js +1 -1
  295. package/dist/components/library-card2.js +1 -1
  296. package/dist/components/list-group.js +1 -1
  297. package/dist/components/list-item.js +1 -1
  298. package/dist/components/lm-container2.js +1 -1
  299. package/dist/components/lm-floating-window2.js +1 -1
  300. package/dist/components/lm-panel2.js +1 -1
  301. package/dist/components/lm-splitter2.js +1 -1
  302. package/dist/components/lm-tabs2.js +1 -1
  303. package/dist/components/loader.js +1 -1
  304. package/dist/components/my-step.js +1 -1
  305. package/dist/components/nav-bar.js +1 -1
  306. package/dist/components/pagination.js +1 -1
  307. package/dist/components/popover.js +1 -0
  308. package/dist/components/radio.js +1 -1
  309. package/dist/components/range-slider.js +1 -1
  310. package/dist/components/rating.js +1 -1
  311. package/dist/components/resizable-panel.js +1 -1
  312. package/dist/components/skeleton-loader.js +1 -1
  313. package/dist/components/smart-step.js +1 -1
  314. package/dist/components/stack.js +1 -1
  315. package/dist/components/switch.js +1 -1
  316. package/dist/components/tag-group.js +1 -1
  317. package/dist/components/tag.js +1 -1
  318. package/dist/components/timeline-item.js +1 -1
  319. package/dist/components/toggle-group.js +1 -1
  320. package/dist/components/tooltip.js +1 -1
  321. package/dist/components/ui-accordion.js +1 -1
  322. package/dist/components/ui-advanced-data-table.js +1 -1
  323. package/dist/components/ui-anchor.js +1 -1
  324. package/dist/components/ui-animate-on-scroll.js +1 -1
  325. package/dist/components/ui-aside-panel.js +1 -1
  326. package/dist/components/ui-badge.js +1 -1
  327. package/dist/components/ui-breadcrumb-item.js +1 -1
  328. package/dist/components/ui-breadcrumb.js +1 -1
  329. package/dist/components/ui-button-toggle-group.js +1 -1
  330. package/dist/components/ui-button.js +1 -1
  331. package/dist/components/ui-callout-banner.js +1 -1
  332. package/dist/components/ui-card.js +1 -1
  333. package/dist/components/ui-carousel.js +1 -1
  334. package/dist/components/ui-code-editor.js +1 -1
  335. package/dist/components/ui-code-preview.js +1 -1
  336. package/dist/components/ui-color-picker.js +1 -1
  337. package/dist/components/ui-command-palette.js +1 -1
  338. package/dist/components/ui-dialog-box.js +1 -1
  339. package/dist/components/ui-dock-host.js +1 -1
  340. package/dist/components/ui-dock.js +1 -1
  341. package/dist/components/ui-drag-drop.js +1 -1
  342. package/dist/components/ui-empty-state.js +1 -1
  343. package/dist/components/ui-fab-item.js +1 -1
  344. package/dist/components/ui-fab.js +1 -1
  345. package/dist/components/ui-file-upload.js +1 -1
  346. package/dist/components/ui-horizontal-nav.js +1 -1
  347. package/dist/components/ui-knob.js +1 -1
  348. package/dist/components/{ui-color-controller.d.ts → ui-label.d.ts} +4 -4
  349. package/dist/components/ui-label.js +1 -0
  350. package/dist/components/ui-library.js +1 -1
  351. package/dist/components/ui-list.js +1 -1
  352. package/dist/components/ui-masonry.js +1 -1
  353. package/dist/components/ui-meter-group.js +1 -1
  354. package/dist/components/ui-navigation-bar.js +1 -1
  355. package/dist/components/ui-navigation-item.js +1 -1
  356. package/dist/components/ui-number-input.js +1 -1
  357. package/dist/components/ui-otp-input.js +1 -1
  358. package/dist/components/ui-panel.js +1 -1
  359. package/dist/components/ui-pattern-input.js +1 -1
  360. package/dist/components/ui-popover.js +1 -1
  361. package/dist/components/ui-progress.js +1 -1
  362. package/dist/components/ui-scroll-top.js +1 -1
  363. package/dist/components/ui-smart-stepper.js +1 -1
  364. package/dist/components/ui-snackbar.js +1 -1
  365. package/dist/components/ui-speed-dial.js +1 -1
  366. package/dist/components/ui-speedometer.js +1 -1
  367. package/dist/components/ui-splitter.js +1 -1
  368. package/dist/components/ui-step.js +1 -1
  369. package/dist/components/ui-stepper.js +1 -1
  370. package/dist/components/ui-tabs.js +1 -1
  371. package/dist/components/ui-timeline.js +1 -1
  372. package/dist/components/ui-timer.js +1 -1
  373. package/dist/components/ui-toolbar.js +1 -1
  374. package/dist/components/ui-top-bar.js +1 -1
  375. package/dist/components/ui-transfer-list.js +1 -1
  376. package/dist/components/ui-tree.js +1 -1
  377. package/dist/components/ui-workspace-manager.js +1 -1
  378. package/dist/esm/category-section.entry.js +2 -2
  379. package/dist/esm/dom-DFBTWhGw.js +262 -0
  380. package/dist/esm/exploration-project-tailwind.js +3 -3
  381. package/dist/esm/{index-DUsoYu9r.js → index-Dqu2zaH1.js} +1 -1
  382. package/dist/esm/layout-manager.entry.js +3 -3
  383. package/dist/esm/library-card.entry.js +2 -2
  384. package/dist/esm/lm-container_2.entry.js +2 -2
  385. package/dist/esm/lm-panel_3.entry.js +4 -4
  386. package/dist/esm/loader.js +3 -3
  387. package/dist/esm/my-component.entry.js +1 -1
  388. package/dist/esm/my-step.entry.js +2 -2
  389. package/dist/esm/nav-bar.entry.js +4 -4
  390. package/dist/esm/smart-step.entry.js +3 -3
  391. package/dist/esm/timeline-item.entry.js +2 -2
  392. package/dist/esm/ui-accordion_11.entry.js +132 -50
  393. package/dist/esm/ui-advanced-data-table.entry.js +2 -2
  394. package/dist/esm/ui-anchor.entry.js +2 -2
  395. package/dist/esm/ui-animate-on-scroll.entry.js +3 -3
  396. package/dist/esm/ui-aside-panel.entry.js +10 -11
  397. package/dist/esm/ui-avatar-group_5.entry.js +1688 -0
  398. package/dist/esm/ui-breadcrumb-item.entry.js +3 -3
  399. package/dist/esm/ui-breadcrumb.entry.js +1 -1
  400. package/dist/esm/ui-callout-banner.entry.js +2 -2
  401. package/dist/esm/ui-card.entry.js +4 -3
  402. package/dist/esm/ui-carousel.entry.js +1 -1
  403. package/dist/esm/ui-checkbox.entry.js +3 -3
  404. package/dist/esm/ui-code-editor.entry.js +2 -2
  405. package/dist/esm/ui-code-preview.entry.js +2 -2
  406. package/dist/esm/ui-color-picker.entry.js +256 -22
  407. package/dist/esm/ui-command-palette.entry.js +1 -1
  408. package/dist/esm/ui-dialog-box.entry.js +85 -11
  409. package/dist/esm/ui-dialog-content.entry.js +1 -1
  410. package/dist/esm/ui-dialog-footer_2.entry.js +1 -1
  411. package/dist/esm/ui-divider.entry.js +1 -1
  412. package/dist/esm/ui-dock-host.entry.js +4 -4
  413. package/dist/esm/ui-dock.entry.js +2 -2
  414. package/dist/esm/ui-drag-drop.entry.js +2 -2
  415. package/dist/esm/ui-dropdown_2.entry.js +104 -34
  416. package/dist/esm/ui-empty-state.entry.js +2 -2
  417. package/dist/esm/ui-fab-item.entry.js +2 -2
  418. package/dist/esm/ui-fab.entry.js +4 -4
  419. package/dist/esm/ui-file-upload.entry.js +143 -44
  420. package/dist/esm/ui-horizontal-nav.entry.js +2 -2
  421. package/dist/esm/ui-knob.entry.js +1 -1
  422. package/dist/esm/ui-label.entry.js +471 -0
  423. package/dist/esm/ui-library.entry.js +2 -2
  424. package/dist/esm/ui-list-group_2.entry.js +349 -60
  425. package/dist/esm/ui-list.entry.js +76 -42
  426. package/dist/esm/ui-masonry.entry.js +1 -1
  427. package/dist/esm/ui-meter-group.entry.js +5 -4
  428. package/dist/esm/ui-navigation-item.entry.js +5 -5
  429. package/dist/esm/ui-number-input.entry.js +7 -3
  430. package/dist/esm/ui-otp-input.entry.js +5 -5
  431. package/dist/esm/{ui-pagination_4.entry.js → ui-pagination_3.entry.js} +36 -506
  432. package/dist/esm/ui-panel.entry.js +1 -1
  433. package/dist/esm/ui-pattern-input.entry.js +46 -11
  434. package/dist/esm/ui-progress.entry.js +66 -9
  435. package/dist/esm/ui-range-slider.entry.js +2 -2
  436. package/dist/esm/ui-resizable-panel.entry.js +2 -2
  437. package/dist/esm/ui-scroll-top.entry.js +1 -1
  438. package/dist/esm/ui-smart-context-menu.entry.js +1 -1
  439. package/dist/esm/ui-smart-stepper.entry.js +2 -2
  440. package/dist/esm/ui-snackbar.entry.js +1 -1
  441. package/dist/esm/ui-speed-dial.entry.js +1 -1
  442. package/dist/esm/ui-speedometer.entry.js +28 -17
  443. package/dist/esm/ui-splitter.entry.js +1 -1
  444. package/dist/esm/ui-step.entry.js +2 -2
  445. package/dist/esm/ui-stepper.entry.js +1 -1
  446. package/dist/esm/ui-switch.entry.js +14 -13
  447. package/dist/esm/ui-tabs.entry.js +2 -2
  448. package/dist/esm/ui-tag.entry.js +58 -13
  449. package/dist/esm/ui-timeline.entry.js +10 -2
  450. package/dist/esm/ui-timer.entry.js +2 -2
  451. package/dist/esm/ui-toolbar.entry.js +2 -2
  452. package/dist/esm/ui-tooltip.entry.js +4 -4
  453. package/dist/esm/ui-top-bar.entry.js +1 -1
  454. package/dist/esm/ui-transfer-list.entry.js +6 -6
  455. package/dist/esm/ui-tree.entry.js +30 -15
  456. package/dist/esm/ui-workspace-manager.entry.js +2 -2
  457. package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -1
  458. package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
  459. package/dist/exploration-project-tailwind/{p-7ba2258a.entry.js → p-024a299a.entry.js} +1 -1
  460. package/dist/exploration-project-tailwind/p-0a71896a.entry.js +1 -0
  461. package/dist/exploration-project-tailwind/{p-35296877.entry.js → p-0cdeb8d8.entry.js} +1 -1
  462. package/dist/exploration-project-tailwind/{p-a42fdc33.entry.js → p-139cefbc.entry.js} +1 -1
  463. package/dist/exploration-project-tailwind/{p-036d2a44.entry.js → p-198c83e5.entry.js} +1 -1
  464. package/dist/exploration-project-tailwind/p-236f47b1.entry.js +1 -0
  465. package/dist/exploration-project-tailwind/{p-81ebba11.entry.js → p-25530d0d.entry.js} +1 -1
  466. package/dist/exploration-project-tailwind/{p-41cd6bf0.entry.js → p-298f2057.entry.js} +1 -1
  467. package/dist/exploration-project-tailwind/{p-85e36111.entry.js → p-2b5a8e3e.entry.js} +1 -1
  468. package/dist/exploration-project-tailwind/{p-e8c6d395.entry.js → p-2b6aa7bc.entry.js} +1 -1
  469. package/dist/exploration-project-tailwind/{p-70bacda8.entry.js → p-2cfba753.entry.js} +1 -1
  470. package/dist/exploration-project-tailwind/{p-cbee2607.entry.js → p-2fe22958.entry.js} +1 -1
  471. package/dist/exploration-project-tailwind/{p-20ecc116.entry.js → p-3012e780.entry.js} +1 -1
  472. package/dist/exploration-project-tailwind/p-321c3f46.entry.js +1 -0
  473. package/dist/exploration-project-tailwind/{p-8b57fe4e.entry.js → p-3ab43638.entry.js} +1 -1
  474. package/dist/exploration-project-tailwind/p-3ad7e47e.entry.js +1 -0
  475. package/dist/exploration-project-tailwind/p-3b1ca826.entry.js +1 -0
  476. package/dist/exploration-project-tailwind/p-3ee8ddae.entry.js +1 -0
  477. package/dist/exploration-project-tailwind/{p-e22317c1.entry.js → p-3efb44c8.entry.js} +1 -1
  478. package/dist/exploration-project-tailwind/{p-36861546.entry.js → p-42e3bc28.entry.js} +1 -1
  479. package/dist/exploration-project-tailwind/p-4360331a.entry.js +1 -0
  480. package/dist/exploration-project-tailwind/{p-2f961934.entry.js → p-443de32b.entry.js} +1 -1
  481. package/dist/exploration-project-tailwind/{p-898dd0fa.entry.js → p-44d15451.entry.js} +1 -1
  482. package/dist/exploration-project-tailwind/{p-4288c158.entry.js → p-46071679.entry.js} +1 -1
  483. package/dist/exploration-project-tailwind/{p-a3f465d9.entry.js → p-497d6182.entry.js} +1 -1
  484. package/dist/exploration-project-tailwind/p-4ad8c55c.entry.js +1 -0
  485. package/dist/exploration-project-tailwind/{p-4aaa8e40.entry.js → p-4c46ac0b.entry.js} +1 -1
  486. package/dist/exploration-project-tailwind/{p-98e91da5.entry.js → p-5042ddaa.entry.js} +1 -1
  487. package/dist/exploration-project-tailwind/p-60190e0e.entry.js +1 -0
  488. package/dist/exploration-project-tailwind/p-60530874.entry.js +1 -0
  489. package/dist/exploration-project-tailwind/{p-200241f8.entry.js → p-6108565d.entry.js} +1 -1
  490. package/dist/exploration-project-tailwind/{p-fb4aca69.entry.js → p-62889cfe.entry.js} +1 -1
  491. package/dist/exploration-project-tailwind/{p-c02284ea.entry.js → p-66f71613.entry.js} +1 -1
  492. package/dist/exploration-project-tailwind/{p-7889bfc4.entry.js → p-67c440b2.entry.js} +1 -1
  493. package/dist/exploration-project-tailwind/{p-c1c8ac28.entry.js → p-6f09503f.entry.js} +1 -1
  494. package/dist/exploration-project-tailwind/p-721bdbc3.entry.js +1 -0
  495. package/dist/exploration-project-tailwind/p-747b02ea.entry.js +1 -0
  496. package/dist/exploration-project-tailwind/{p-c6fd72e1.entry.js → p-754cb046.entry.js} +1 -1
  497. package/dist/exploration-project-tailwind/{p-97af03cc.entry.js → p-7ed3bba2.entry.js} +1 -1
  498. package/dist/exploration-project-tailwind/{p-d59da767.entry.js → p-864cebb7.entry.js} +1 -1
  499. package/dist/exploration-project-tailwind/{p-4d73c143.entry.js → p-96ee3196.entry.js} +1 -1
  500. package/dist/exploration-project-tailwind/{p-54965530.entry.js → p-97086868.entry.js} +1 -1
  501. package/dist/exploration-project-tailwind/{p-d114a347.entry.js → p-9c5ced88.entry.js} +1 -1
  502. package/dist/exploration-project-tailwind/p-9d3044d4.entry.js +1 -0
  503. package/dist/exploration-project-tailwind/p-9e079be6.entry.js +1 -0
  504. package/dist/exploration-project-tailwind/{p-790556f0.entry.js → p-9e4c45f5.entry.js} +1 -1
  505. package/dist/exploration-project-tailwind/p-9eee7394.entry.js +1 -0
  506. package/dist/exploration-project-tailwind/p-DFBTWhGw.js +1 -0
  507. package/dist/exploration-project-tailwind/p-Dqu2zaH1.js +2 -0
  508. package/dist/exploration-project-tailwind/p-a7bdedc2.entry.js +1 -0
  509. package/dist/exploration-project-tailwind/{p-c87aeab6.entry.js → p-a8ec29de.entry.js} +1 -1
  510. package/dist/exploration-project-tailwind/{p-6ddbee42.entry.js → p-ae617f62.entry.js} +1 -1
  511. package/dist/exploration-project-tailwind/{p-05a436d3.entry.js → p-aef76052.entry.js} +1 -1
  512. package/dist/exploration-project-tailwind/p-b5f043fa.entry.js +1 -0
  513. package/dist/exploration-project-tailwind/p-b637b91b.entry.js +1 -0
  514. package/dist/exploration-project-tailwind/{p-d2e45c5e.entry.js → p-bc49a088.entry.js} +1 -1
  515. package/dist/exploration-project-tailwind/{p-6b838549.entry.js → p-bd9a631f.entry.js} +1 -1
  516. package/dist/exploration-project-tailwind/{p-e8ba0c95.entry.js → p-bf4b6767.entry.js} +1 -1
  517. package/dist/exploration-project-tailwind/p-c0fa400e.entry.js +1 -0
  518. package/dist/exploration-project-tailwind/{p-8578b616.entry.js → p-c4f3d990.entry.js} +1 -1
  519. package/dist/exploration-project-tailwind/p-c68ddb2f.entry.js +1 -0
  520. package/dist/exploration-project-tailwind/p-c79574c4.entry.js +1 -0
  521. package/dist/exploration-project-tailwind/p-c840098d.entry.js +1 -0
  522. package/dist/exploration-project-tailwind/{p-a1ad32a2.entry.js → p-c8663cbe.entry.js} +1 -1
  523. package/dist/exploration-project-tailwind/p-cb6e38a6.entry.js +1 -0
  524. package/dist/exploration-project-tailwind/p-cb9f2df1.entry.js +1 -0
  525. package/dist/exploration-project-tailwind/p-cfe8b696.entry.js +1 -0
  526. package/dist/exploration-project-tailwind/p-d00e13ae.entry.js +1 -0
  527. package/dist/exploration-project-tailwind/{p-c4ba7e52.entry.js → p-d01ed934.entry.js} +1 -1
  528. package/dist/exploration-project-tailwind/{p-aa85ff78.entry.js → p-d4e57d94.entry.js} +1 -1
  529. package/dist/exploration-project-tailwind/{p-ccb5c737.entry.js → p-d5bd3a3f.entry.js} +1 -1
  530. package/dist/exploration-project-tailwind/{p-45482d86.entry.js → p-d987cebe.entry.js} +1 -1
  531. package/dist/exploration-project-tailwind/p-d9ae77c0.entry.js +1 -0
  532. package/dist/exploration-project-tailwind/p-e9bae5c7.entry.js +1 -0
  533. package/dist/exploration-project-tailwind/p-f516fabc.entry.js +1 -0
  534. package/dist/exploration-project-tailwind/p-f68e2794.entry.js +1 -0
  535. package/dist/exploration-project-tailwind/{p-d30e24bd.entry.js → p-fa034f69.entry.js} +1 -1
  536. package/dist/types/components/aside-panel/aside-panel.d.ts +0 -3
  537. package/dist/types/components/avatar/avatar.d.ts +3 -0
  538. package/dist/types/components/avatar/types.d.ts +2 -0
  539. package/dist/types/components/badge/badge.d.ts +1 -0
  540. package/dist/types/components/color-picker/color-picker.d.ts +35 -2
  541. package/dist/types/components/dialog-box/dialog-box.d.ts +10 -0
  542. package/dist/types/components/dropdown/dropdown.d.ts +5 -0
  543. package/dist/types/components/file-upload/file-upload.d.ts +23 -6
  544. package/dist/types/components/label/label.d.ts +290 -0
  545. package/dist/types/components/label/types.d.ts +39 -0
  546. package/dist/types/components/list/list.d.ts +2 -1
  547. package/dist/types/components/list-group/list-group.d.ts +1 -0
  548. package/dist/types/components/list-item/list-item.d.ts +45 -17
  549. package/dist/types/components/pattern-input/pattern-input.d.ts +6 -0
  550. package/dist/types/components/popover/popover.d.ts +3 -0
  551. package/dist/types/components/progress/progress.d.ts +7 -0
  552. package/dist/types/components/range-slider/range-slider.d.ts +2 -2
  553. package/dist/types/components/rating/rating.d.ts +1 -0
  554. package/dist/types/components/skeleton/skeleton-loader.d.ts +1 -1
  555. package/dist/types/components/speedometer/speedometer.d.ts +1 -0
  556. package/dist/types/components/tag/tag.d.ts +4 -0
  557. package/dist/types/components/tree/tree.d.ts +1 -0
  558. package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +1 -1
  559. package/dist/types/components.d.ts +742 -425
  560. package/dist/types/types/common.d.ts +2 -2
  561. package/dist/types/types/common.type.d.ts +2 -0
  562. package/dist/types/utils/dom.d.ts +4 -4
  563. package/package.json +4 -5
  564. package/dist/cjs/dom-oP1E4Rd3.js +0 -267
  565. package/dist/cjs/ui-avatar-group_3.cjs.entry.js +0 -634
  566. package/dist/cjs/ui-color-controller.cjs.entry.js +0 -150
  567. package/dist/cjs/ui-popover.cjs.entry.js +0 -517
  568. package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +0 -565
  569. package/dist/collection/components/color-controller/color-controller.css +0 -108
  570. package/dist/collection/components/color-controller/color-controller.js +0 -224
  571. package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +0 -357
  572. package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +0 -1190
  573. package/dist/components/ui-color-controller.js +0 -1
  574. package/dist/components/ui-smart-location-dropdown.d.ts +0 -11
  575. package/dist/components/ui-smart-location-dropdown.js +0 -1
  576. package/dist/esm/dom-BMFah5q3.js +0 -262
  577. package/dist/esm/ui-avatar-group_3.entry.js +0 -630
  578. package/dist/esm/ui-color-controller.entry.js +0 -148
  579. package/dist/esm/ui-popover.entry.js +0 -515
  580. package/dist/esm/ui-smart-location-dropdown.entry.js +0 -563
  581. package/dist/exploration-project-tailwind/p-06f0c679.entry.js +0 -1
  582. package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +0 -1
  583. package/dist/exploration-project-tailwind/p-148e81df.entry.js +0 -1
  584. package/dist/exploration-project-tailwind/p-16bdd162.entry.js +0 -1
  585. package/dist/exploration-project-tailwind/p-2347d21b.entry.js +0 -1
  586. package/dist/exploration-project-tailwind/p-3d381f75.entry.js +0 -1
  587. package/dist/exploration-project-tailwind/p-4417a9d8.entry.js +0 -1
  588. package/dist/exploration-project-tailwind/p-44742ddd.entry.js +0 -1
  589. package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +0 -1
  590. package/dist/exploration-project-tailwind/p-4bef8bed.entry.js +0 -1
  591. package/dist/exploration-project-tailwind/p-4efd63ce.entry.js +0 -1
  592. package/dist/exploration-project-tailwind/p-5c835d90.entry.js +0 -1
  593. package/dist/exploration-project-tailwind/p-61717490.entry.js +0 -1
  594. package/dist/exploration-project-tailwind/p-717dad1f.entry.js +0 -1
  595. package/dist/exploration-project-tailwind/p-71d95bb1.entry.js +0 -1
  596. package/dist/exploration-project-tailwind/p-9bd14f69.entry.js +0 -1
  597. package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +0 -1
  598. package/dist/exploration-project-tailwind/p-BMFah5q3.js +0 -1
  599. package/dist/exploration-project-tailwind/p-DUsoYu9r.js +0 -2
  600. package/dist/exploration-project-tailwind/p-a27f59d2.entry.js +0 -1
  601. package/dist/exploration-project-tailwind/p-a7b07cf4.entry.js +0 -1
  602. package/dist/exploration-project-tailwind/p-bd89d060.entry.js +0 -1
  603. package/dist/exploration-project-tailwind/p-c63c522e.entry.js +0 -1
  604. package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +0 -1
  605. package/dist/exploration-project-tailwind/p-d6ce9721.entry.js +0 -1
  606. package/dist/exploration-project-tailwind/p-dc92a343.entry.js +0 -1
  607. package/dist/exploration-project-tailwind/p-debede45.entry.js +0 -1
  608. package/dist/exploration-project-tailwind/p-e76318c7.entry.js +0 -1
  609. package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +0 -1
  610. package/dist/exploration-project-tailwind/p-eab5ad36.entry.js +0 -1
  611. package/dist/exploration-project-tailwind/p-f0bc5d7e.entry.js +0 -1
  612. package/dist/exploration-project-tailwind/p-f1beee72.entry.js +0 -1
  613. package/dist/exploration-project-tailwind/p-f543392f.entry.js +0 -1
  614. package/dist/exploration-project-tailwind/p-f61cfb7c.entry.js +0 -1
  615. package/dist/types/components/color-controller/color-controller.d.ts +0 -24
  616. package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +0 -119
  617. package/dist/types/components/smart-location-dropdown/types.d.ts +0 -37
  618. /package/dist/collection/components/{smart-location-dropdown → label}/types.js +0 -0
@@ -19,7 +19,7 @@ export function initDialogDemo() {
19
19
  <ui-button id="btnNestedDialogs" label="Nested" size="md" variant="outline"></ui-button>
20
20
  <ui-button id="btnPremiumFeatures" label="💎 Premium" size="md" variant="outline"></ui-button>
21
21
  <ui-button id="btnApexShowcase" label="🌌 Apex Tier" size="md" variant="outline"></ui-button>
22
- <ui-button id="btnGodTier" label="🎭 God Tier" size="md" variant="outline"></ui-button>
22
+ <ui-button id="btnGodTierDialog" label="🎭 God Tier" size="md" variant="outline"></ui-button>
23
23
  <ui-button id="btnSovereignTier" label="⚡ Sovereign" size="md" variant="outline"></ui-button>
24
24
  <ui-button id="btnCustomHeaderShowcase" label="💎 Branded Header" size="md" variant="outline"></ui-button>
25
25
  <ui-button id="btnMockupDesign" label="📐 Mockup" size="md" variant="outline"></ui-button>
@@ -48,38 +48,38 @@ export function initDialogDemo() {
48
48
 
49
49
  setTimeout(() => {
50
50
  const btnMap = {
51
- btnInteractiveDialog: window.showInteractiveDialog,
52
- btnBasicDialog: window.showBasicDialog,
53
- btnSlotDialog: window.showSlotDialog,
54
- btnDialogSizes: window.showDialogSizes,
55
- btnDialogPositions: window.showDialogPositions,
56
- btnDialogScroll: window.showDialogScroll,
57
- btnAdvancedDialogs: window.showAdvancedDialogs,
58
- btnFormDialog: window.showFormDialog,
59
- btnNestedDialogs: window.showNestedDialogs,
60
- btnPremiumFeatures: window.showPremiumFeatures,
61
- btnApexShowcase: window.showApexShowcase,
62
- btnGodTier: window.showGodTier,
63
- btnSovereignTier: window.showSovereignTier,
64
- btnCustomHeaderShowcase: window.showCustomHeaderShowcase,
65
- btnMockupDesign: window.showMockupDesign,
66
- btnTermsDialog: window.showTermsDialog,
67
- btnEliteFeatures: window.showEliteFeatures,
68
- btnSecurityLifecycleFeatures: window.showSecurityLifecycleFeatures,
69
- btnWindowFeatures: window.showWindowFeatures,
70
- btnDrawerShowcase: window.showDrawerShowcase,
71
- btnFullscreenDemo: window.showFullscreenDemo,
72
- btnPromiseDemo: window.showPromiseDemo,
73
- btnSlotsAndPartsDemo: window.showSlotsAndPartsDemo,
74
- btnMessageBoxDemo: window.showMessageBoxDemo,
75
- btnConfirmDemo: window.showConfirmDemo,
76
- btnPromptDemo: window.showPromptDemo,
77
- btnMenuShowroom: window.showMenuShowroom,
78
- btnTraySystemDemo: window.showTraySystemDemo,
79
- btnGlassStatusShowroom: window.showGlassStatusShowroom,
80
- btnEnterpriseLogicShowcase: window.showEnterpriseLogicShowcase,
81
- btnParentChildDialogDemo: window.showParentChildDialogDemo,
82
- btnAuthSessionDemo: window.showAuthSessionDemo,
51
+ btnInteractiveDialog: () => window.showInteractiveDialog?.(),
52
+ btnBasicDialog: () => window.showBasicDialog?.(),
53
+ btnSlotDialog: () => window.showSlotDialog?.(),
54
+ btnDialogSizes: () => window.showDialogSizes?.(),
55
+ btnDialogPositions: () => window.showDialogPositions?.(),
56
+ btnDialogScroll: () => window.showDialogScroll?.(),
57
+ btnAdvancedDialogs: () => window.showAdvancedDialogs?.(),
58
+ btnFormDialog: () => window.showFormDialog?.(),
59
+ btnNestedDialogs: () => window.showNestedDialogs?.(),
60
+ btnPremiumFeatures: () => window.showPremiumFeatures?.(),
61
+ btnApexShowcase: () => window.showApexShowcase?.(),
62
+ btnGodTierDialog: () => window.showGodTier?.(),
63
+ btnSovereignTier: () => window.showSovereignTier?.(),
64
+ btnCustomHeaderShowcase: () => window.showCustomHeaderShowcase?.(),
65
+ btnMockupDesign: () => window.showMockupDesign?.(),
66
+ btnTermsDialog: () => window.showTermsDialog?.(),
67
+ btnEliteFeatures: () => window.showEliteFeatures?.(),
68
+ btnSecurityLifecycleFeatures: () => window.showSecurityLifecycleFeatures?.(),
69
+ btnWindowFeatures: () => window.showWindowFeatures?.(),
70
+ btnDrawerShowcase: () => window.showDrawerShowcase?.(),
71
+ btnFullscreenDemo: () => window.showFullscreenDemo?.(),
72
+ btnPromiseDemo: () => window.showPromiseDemo?.(),
73
+ btnSlotsAndPartsDemo: () => window.showSlotsAndPartsDemo?.(),
74
+ btnMessageBoxDemo: () => window.showMessageBoxDemo?.(),
75
+ btnConfirmDemo: () => window.showConfirmDemo?.(),
76
+ btnPromptDemo: () => window.showPromptDemo?.(),
77
+ btnMenuShowroom: () => window.showMenuShowroom?.(),
78
+ btnTraySystemDemo: () => window.showTraySystemDemo?.(),
79
+ btnGlassStatusShowroom: () => window.showGlassStatusShowroom?.(),
80
+ btnEnterpriseLogicShowcase: () => window.showEnterpriseLogicShowcase?.(),
81
+ btnParentChildDialogDemo: () => window.showParentChildDialogDemo?.(),
82
+ btnAuthSessionDemo: () => window.showAuthSessionDemo?.(),
83
83
  };
84
84
 
85
85
  const updateActiveBtn = id => {
@@ -159,7 +159,7 @@ export function initDialogDemo() {
159
159
  variant="default"
160
160
  status="success"
161
161
  backdrop="blur"
162
- scroll-behavior="inside"
162
+ scroll-area="paper"
163
163
  resizable="true"
164
164
  global-blur="true"
165
165
  glass="true"
@@ -237,7 +237,7 @@ export function initDialogDemo() {
237
237
  <ui-button id="btnCustomHeaderAction" slot="header-actions" title="Star" variant="ghost" color="secondary" size="md">
238
238
  <ui-icon name="star" library="lucide" size="16px"></ui-icon>
239
239
  </ui-button>
240
- <div style="padding:16px; background:#f0fdf4; border:1px dashed #10b981; border-radius:6px; margin-top:8px;">
240
+ <div style="padding:16px; background:var(--accent-green-soft,#f0fdf4); border:1px dashed #10b981; border-radius:6px; margin-top:8px;">
241
241
  <h4 style="margin-top:0;">Slot Content Area</h4>
242
242
  <p>This content is injected via the <b>default slot</b>. It is fully customizable.</p>
243
243
  </div>
@@ -350,63 +350,102 @@ export function initDialogDemo() {
350
350
  container.innerHTML = `
351
351
  <div class="demo-block">
352
352
  <h3>Complex Form Dialog</h3>
353
- <p style="color: #64748b; margin-bottom: 16px;">This demo showcases a multi-control form integrated directly into the dialog, demonstrating native component interoperability.</p>
353
+ <p style="color:var(--text-secondary,#64748b); margin-bottom: 16px;">This demo showcases a multi-control form integrated directly into the dialog, demonstrating native component interoperability.</p>
354
354
  <ui-button id="btnOpenForm" size="md" variant="outline" color="success" label="Launch Complex Form"></ui-button>
355
355
 
356
- <ui-dialog-box id="formDialog" width="650px" icon-library="lucide" icon="edit-3" dialog-title="User Configuration" subtitle="Update your account preferences and settings" ok-text="Save Configuration" cancel-text="Discard Changes" scroll-behavior="paper" glass="true">
357
- <div style="padding: 20px; display: flex; flex-direction: column; gap: 24px;">
356
+ <ui-dialog-box id="formDialog" width="750px" icon-library="lucide" icon="edit-3" dialog-title="Comprehensive User Registration" subtitle="Configure profile, access settings, preferences, and custom theme layouts" ok-text="Save Configuration" cancel-text="Discard Changes" scroll-area="paper" glass="true">
357
+ <div style="padding: 24px; display: flex; flex-direction: column; gap: 28px;">
358
358
 
359
- <!-- Section: Personal Info -->
359
+ <!-- Section 1: Personal Credentials -->
360
360
  <div>
361
- <h4 style="margin: 0 0 16px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8;">Personal Information</h4>
361
+ <h4 style="margin: 0 0 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color:var(--text-secondary,#64748b); font-weight: 700;">1. Personal Credentials</h4>
362
+ <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;">
363
+ <ui-input label="First Name" placeholder="Enter first name" value="John" size="md"></ui-input>
364
+ <ui-input label="Last Name" placeholder="Enter last name" value="Doe" size="md"></ui-input>
365
+ </div>
362
366
  <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 16px;">
363
- <ui-input label="First Name" placeholder="Enter first name" value="John"></ui-input>
364
- <ui-input label="Last Name" placeholder="Enter last name" value="Doe"></ui-input>
365
- <ui-input label="Email Address" type="email" placeholder="john.doe@example.com" value="john.doe@enterprise.com" style="grid-column: span 2;"></ui-input>
367
+ <ui-input label="Email Address" type="email" placeholder="john.doe@example.com" value="john.doe@enterprise.com" size="md"></ui-input>
368
+ <ui-input label="Password" type="password" placeholder="••••••••••••" value="securepassword123" size="md"></ui-input>
366
369
  </div>
367
370
  </div>
368
371
 
369
- <!-- Section: Preferences -->
372
+ <!-- Section 2: Contact & Demographics -->
370
373
  <div>
371
- <h4 style="margin: 0 0 16px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8;">Preferences</h4>
372
- <div style="display: flex; flex-direction: column; gap: 16px;">
373
- <div style="display: flex; justify-content: space-between; align-items: center;">
374
- <div>
375
- <div style="font-weight: 600; font-size: 14px;">Notification Emails</div>
376
- <div style="font-size: 12px; color: #64748b;">Receive weekly product updates</div>
374
+ <h4 style="margin: 0 0 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color:var(--text-secondary,#64748b); font-weight: 700;">2. Contact & Regional Details</h4>
375
+ <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;">
376
+ <ui-pattern-input label="Intl. Contact Number" pattern="(###) ###-####" placeholder="(555) 123-4567" size="md"></ui-pattern-input>
377
+ <ui-dropdown id="formRegionDropdown" label="Preferred Region" placeholder="Select a region..." size="md"></ui-dropdown>
378
+ </div>
379
+ <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 16px;">
380
+ <ui-number-input label="Daily API Request Limit" value="2500" min="100" max="50000" step="100" size="md" helper-text="Steps of 100 requests"></ui-number-input>
381
+ <div style="display: flex; flex-direction: column;">
382
+ <label style="display: block; font-weight: 600; font-size: 12px; margin-bottom: 4px; color: var(--text-standard);">Session Timeout</label>
383
+ <div style="display: flex; align-items: center; justify-content: center; height: 100%; min-height: 48px;">
384
+ <ui-knob value="15" min="5" max="120" step="5" size="80" stroke-width="6" show-value="true" enable-wheel="true" value-suffix="m"></ui-knob>
377
385
  </div>
378
- <ui-switch checked="true"></ui-switch>
379
386
  </div>
380
-
387
+ </div>
388
+ </div>
389
+
390
+ <!-- Section 3: Security & Isolation -->
391
+ <div>
392
+ <h4 style="margin: 0 0 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color:var(--text-secondary,#64748b); font-weight: 700;">3. Security & Access Settings</h4>
393
+ <div style="display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-bottom: 16px;">
381
394
  <div>
382
- <label style="display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px;">Theme Selection</label>
383
- <ui-button-toggle-group value="system" size="sm" variant="outline">
384
- <ui-button-toggle value="light" label="Light"></ui-button-toggle>
385
- <ui-button-toggle value="dark" label="Dark"></ui-button-toggle>
386
- <ui-button-toggle value="system" label="System"></ui-button-toggle>
387
- </ui-button-toggle-group>
395
+ <label style="display: block; font-weight: 700; font-size: 12px; margin-bottom: 8px; color: var(--text-standard);">Deployment Strategy</label>
396
+ <ui-radio-group value="cloud" size="md">
397
+ <ui-radio value="cloud" label="Cloud Infrastructure" description="Auto-scaled managed servers" checked glow size="md"></ui-radio>
398
+ <ui-radio value="on-premise" label="On-Premise Server" description="Private air-gapped hardware" size="md"></ui-radio>
399
+ </ui-radio-group>
388
400
  </div>
389
-
390
401
  <div>
391
- <label style="display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px;">Experience Level</label>
392
- <ui-range-slider value="75" min="0" max="100" step="5"></ui-range-slider>
402
+ <ui-otp-input label="Verification Code (2FA)" length="4" value="8402" size="md" helper-text="Quick account authentication pin"></ui-otp-input>
393
403
  </div>
394
404
  </div>
405
+ <div style="display: flex; flex-direction: column; gap: 10px;">
406
+ <ui-checkbox label="Enable hardware security key MFA bypass" checked="true" size="md"></ui-checkbox>
407
+ <ui-checkbox label="Subscribe to global security vulnerability alerts" size="md"></ui-checkbox>
408
+ </div>
395
409
  </div>
396
410
 
397
- <!-- Section: Security -->
411
+ <!-- Section 4: Preferences & Style -->
398
412
  <div>
399
- <h4 style="margin: 0 0 16px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8;">Security & Access</h4>
400
- <div style="display: flex; flex-direction: column; gap: 12px;">
401
- <ui-checkbox label="Enable Two-Factor Authentication" checked="true"></ui-checkbox>
402
- <ui-checkbox label="Subscribe to Security Alerts"></ui-checkbox>
413
+ <h4 style="margin: 0 0 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color:var(--text-secondary,#64748b); font-weight: 700;">4. Customization & Theme</h4>
414
+ <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 16px;">
415
+ <div>
416
+ <label style="display: block; font-weight: 600; font-size: 12px; margin-bottom: 8px; color: var(--text-standard);">Theme Interface</label>
417
+ <ui-button-toggle-group value="system" size="md" variant="outline">
418
+ <ui-button-toggle value="light" label="Light"></ui-button-toggle>
419
+ <ui-button-toggle value="dark" label="Dark"></ui-button-toggle>
420
+ <ui-button-toggle value="system" label="System"></ui-button-toggle>
421
+ </ui-button-toggle-group>
422
+ </div>
423
+ <ui-color-picker label="Custom Profile Accent" value="#10b981" size="md" show-swatches="true"></ui-color-picker>
424
+ </div>
425
+
426
+ <div style="margin-bottom: 16px;">
427
+ <label style="display: block; font-weight: 600; font-size: 12px; margin-bottom: 8px; color: var(--text-standard);">Platform Experience Level</label>
428
+ <ui-range-slider value="80" min="0" max="100" step="5" size="md"></ui-range-slider>
429
+ </div>
430
+
431
+ <div style="margin-bottom: 16px;">
432
+ <label style="display: block; font-weight: 600; font-size: 12px; margin-bottom: 8px; color: var(--text-standard);">Profile Photo Upload</label>
433
+ <ui-file-upload variant="compact" label="Upload Avatar" accept="image/*" size="md" max-files="1"></ui-file-upload>
434
+ </div>
435
+
436
+ <div style="display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--border-default, #e5e7eb);">
437
+ <div>
438
+ <div style="font-weight: 600; font-size: 13px;">Receive System Communications</div>
439
+ <div style="font-size: 11px; color:var(--text-secondary,#64748b);">Weekly technical roundups and feature releases</div>
440
+ </div>
441
+ <ui-switch checked="true" size="md"></ui-switch>
403
442
  </div>
404
443
  </div>
405
444
 
406
- <!-- Section: Satisfaction -->
407
- <div style="background: rgba(128,128,128,0.05); padding: 16px; border-radius: 8px; border: 1px solid rgba(128,128,128,0.1);">
408
- <label style="display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px;">How would you rate our library?</label>
409
- <ui-rating value="4" max="5" size="lg"></ui-rating>
445
+ <!-- Section 5: Satisfaction -->
446
+ <div style="background: rgba(16, 185, 129, 0.04); padding: 16px; border-radius: 12px; border: 1px solid rgba(16, 185, 129, 0.15); display: flex; align-items: center; justify-content: space-between;">
447
+ <label style="font-weight: 600; font-size: 13px; color: #111827; margin: 0;">How satisfied are you with this framework?</label>
448
+ <ui-rating value="5" max="5" size="lg"></ui-rating>
410
449
  </div>
411
450
  </div>
412
451
  </ui-dialog-box>
@@ -414,6 +453,16 @@ export function initDialogDemo() {
414
453
  `;
415
454
  setTimeout(() => {
416
455
  document.getElementById('btnOpenForm')?.addEventListener('click', () => window.openDialog('formDialog'));
456
+
457
+ const formRegionDropdown = document.getElementById('formRegionDropdown');
458
+ if (formRegionDropdown) {
459
+ formRegionDropdown.options = [
460
+ { value: 'us', label: 'North America (Hub)', description: 'East-coast server cluster' },
461
+ { value: 'eu', label: 'Europe (Central)', description: 'Frankfurt tier' },
462
+ { value: 'ap', label: 'Asia Pacific (East)', description: 'Tokyo gateway' },
463
+ { value: 'au', label: 'Oceania (South)', description: 'Sydney failover partition' }
464
+ ];
465
+ }
417
466
  }, 100);
418
467
  };
419
468
 
@@ -457,7 +506,7 @@ export function initDialogDemo() {
457
506
  if (!container) return;
458
507
  const longContent = Array(25)
459
508
  .fill(
460
- '<p style="color: #64748b; font-size: 14px;">This is a paragraph of scrollable content used to demonstrate boundary management within the Zenith Dialog system. Enterprise layouts often require fixed headers and footers while the central content area remains scrollable.</p>',
509
+ '<p style="color:var(--text-secondary,#64748b); font-size: 14px;">This is a paragraph of scrollable content used to demonstrate boundary management within the Zenith Dialog system. Enterprise layouts often require fixed headers and footers while the central content area remains scrollable.</p>',
461
510
  )
462
511
  .join('');
463
512
  container.innerHTML = `
@@ -469,14 +518,14 @@ export function initDialogDemo() {
469
518
  <ui-button id="btnOpenScrollBody" size="md" variant="outline" color="success" label="Open Scroll Body"></ui-button>
470
519
  </div>
471
520
 
472
- <ui-dialog-box id="dScrollPaper" scroll-behavior="paper" dialog-title="Terms & Conditions" subtitle="Scroll Behavior: Paper" width="600px" icon="file-text" icon-library="lucide" ok-text="Agree & Continue" cancel-text="Decline">
521
+ <ui-dialog-box id="dScrollPaper" scroll-area="paper" dialog-title="Terms & Conditions" subtitle="Scroll Behavior: Paper" width="600px" icon="file-text" icon-library="lucide" ok-text="Agree & Continue" cancel-text="Decline">
473
522
  <div style="padding: 24px;">
474
523
  <h4 style="margin-top:0">1. Acceptance of Terms</h4>
475
524
  ${longContent}
476
525
  </div>
477
526
  </ui-dialog-box>
478
527
 
479
- <ui-dialog-box id="dScrollBody" scroll-behavior="body" dialog-title="Privacy Policy" subtitle="Scroll Behavior: Body" width="600px" icon="shield" icon-library="lucide" ok-text="Acknowledge" cancel-text="Close">
528
+ <ui-dialog-box id="dScrollBody" scroll-area="body" dialog-title="Privacy Policy" subtitle="Scroll Behavior: Body" width="600px" icon="shield" icon-library="lucide" ok-text="Acknowledge" cancel-text="Close">
480
529
  <div style="padding: 24px;">
481
530
  <h4 style="margin-top:0">1. Data Sovereignty</h4>
482
531
  ${longContent}
@@ -498,8 +547,8 @@ export function initDialogDemo() {
498
547
  <h3>Advanced Behaviors</h3>
499
548
  <div style="display:flex; gap:10px; flex-wrap:wrap;">
500
549
  <ui-button id="btnOpenStatic" size="md" variant="outline" color="warning" label="Static Backdrop"></ui-button>
501
- <ui-button id="btnOpenDraggable" size="md" variant="outline" color="secondary" label="Draggable" style="--btn-bg: #8b5cf6;"></ui-button>
502
- <ui-button id="btnOpenResizable" size="md" variant="outline" color="secondary" label="Resizable" style="--btn-bg: #ec4899;"></ui-button>
550
+ <ui-button id="btnOpenDraggable" size="md" variant="outline" color="secondary" label="Draggable" style="--btn-bg: var(--accent-purple,#8b5cf6);"></ui-button>
551
+ <ui-button id="btnOpenResizable" size="md" variant="outline" color="secondary" label="Resizable" style="--btn-bg: var(--accent-pink,#ec4899);"></ui-button>
503
552
  <ui-button id="btnOpenCombo" size="md" variant="outline" color="secondary" label="Drag & Resize" style="--btn-bg: #111827;"></ui-button>
504
553
  </div>
505
554
 
@@ -542,30 +591,30 @@ export function initDialogDemo() {
542
591
  <p style="color: #6b7280; margin-bottom: 20px;">Experience the high-fidelity features designed for professional applications.</p>
543
592
 
544
593
  <!-- Feature 1: Async Workflow -->
545
- <div style="background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 16px; margin-bottom: 16px;">
546
- <h4 style="margin-top:0; color: #1e40af;">🔄 Async Validation & Loading</h4>
594
+ <div style="background:var(--accent-blue-soft,#eff6ff); border: 1px solid #bfdbfe; border-radius: 8px; padding: 16px; margin-bottom: 16px;">
595
+ <h4 style="margin-top:0; color:var(--accent-blue,#1e40af);">🔄 Async Validation & Loading</h4>
547
596
  <p style="font-size: 14px; color: #10b981;">Simulates a server request with button loading states and data persistence.</p>
548
597
  <ui-button id="btnOpenAsync" size="md" variant="outline" color="primary" label="Test Async Workflow" size="md" variant="outline"></ui-button>
549
598
  </div>
550
599
 
551
600
  <!-- Feature 2: Transitions -->
552
- <div style="background: #fdf4ff; border: 1px solid #f0abfc; border-radius: 8px; padding: 16px; margin-bottom: 16px;">
553
- <h4 style="margin-top:0; color: #86198f;">✨ Animation Gallery</h4>
554
- <p style="font-size: 14px; color: #c026d3;">Smooth entry and exit transitions for different contexts.</p>
601
+ <div style="background: var(--accent-pink-soft, #fdf4ff); border: 1px solid var(--accent-pink-border, #f0abfc); border-radius: 8px; padding: 16px; margin-bottom: 16px;">
602
+ <h4 style="margin-top:0; color: var(--accent-pink, #86198f);">✨ Animation Gallery</h4>
603
+ <p style="font-size: 14px; color: var(--accent-pink, #c026d3);">Smooth entry and exit transitions for different contexts.</p>
555
604
  <div style="display: flex; gap: 10px; flex-wrap: wrap;">
556
- <ui-button id="btnOpenAnimScale" size="md" variant="outline" color="secondary" label="Scale (Default)" size="md" variant="outline" style="--btn-bg: white; --btn-border: #e879f9; --btn-text: #a21caf;"></ui-button>
557
- <ui-button id="btnOpenAnimFade" size="md" variant="outline" color="secondary" label="Fade" size="md" variant="outline" style="--btn-bg: white; --btn-border: #e879f9; --btn-text: #a21caf;"></ui-button>
558
- <ui-button id="btnOpenAnimSlideR" size="md" variant="outline" color="secondary" label="Slide Right (Drawer)" size="md" variant="outline" style="--btn-bg: white; --btn-border: #e879f9; --btn-text: #a21caf;"></ui-button>
559
- <ui-button id="btnOpenAnimSlideB" size="md" variant="outline" color="secondary" label="Slide Bottom (Sheet)" size="md" variant="outline" style="--btn-bg: white; --btn-border: #e879f9; --btn-text: #a21caf;"></ui-button>
605
+ <ui-button id="btnOpenAnimScale" size="md" variant="outline" color="secondary" label="Scale (Default)" style="--btn-bg: var(--bg-primary, white); --btn-border: var(--accent-pink, #e879f9); --btn-text: var(--accent-pink, #a21caf);"></ui-button>
606
+ <ui-button id="btnOpenAnimFade" size="md" variant="outline" color="secondary" label="Fade" style="--btn-bg: var(--bg-primary, white); --btn-border: var(--accent-pink, #e879f9); --btn-text: var(--accent-pink, #a21caf);"></ui-button>
607
+ <ui-button id="btnOpenAnimSlideR" size="md" variant="outline" color="secondary" label="Slide Right (Drawer)" style="--btn-bg: var(--bg-primary, white); --btn-border: var(--accent-pink, #e879f9); --btn-text: var(--accent-pink, #a21caf);"></ui-button>
608
+ <ui-button id="btnOpenAnimSlideB" size="md" variant="outline" color="secondary" label="Slide Bottom (Sheet)" style="--btn-bg: var(--bg-primary, white); --btn-border: var(--accent-pink, #e879f9); --btn-text: var(--accent-pink, #a21caf);"></ui-button>
560
609
  </div>
561
610
  </div>
562
611
 
563
612
  <!-- Feature 3: Window Management -->
564
- <div style="background: #f0fdf4; border: 1px solid #86efac; border-radius: 8px; padding: 16px;">
565
- <h4 style="margin-top:0; color: #15803d;">🪟 Persistent Window Widget</h4>
613
+ <div style="background:var(--accent-green-soft,#f0fdf4); border: 1px solid #86efac; border-radius: 8px; padding: 16px;">
614
+ <h4 style="margin-top:0; color:var(--accent-green,#15803d);">🪟 Persistent Window Widget</h4>
566
615
  <p style="font-size: 14px; color: #16a34a;">Draggable, Resizable, Non-Modal, and Persistent state (Keep Mounted).</p>
567
616
  <ui-button id="btnOpenWidget" size="md" variant="outline" color="success" label="Open Main Widget" size="md" variant="outline"></ui-button>
568
- <ui-button id="btnSpawnWidget" size="md" variant="outline" color="success" label="Spawn New Note (+)" size="md" variant="outline" style="margin-left: 10px; --btn-bg: #15803d;"></ui-button>
617
+ <ui-button id="btnSpawnWidget" size="md" variant="outline" color="success" label="Spawn New Note (+)" size="md" variant="outline" style="margin-left: 10px; --btn-bg: var(--accent-green,#15803d);"></ui-button>
569
618
  </div>
570
619
 
571
620
  <!-- Dialogs -->
@@ -581,7 +630,7 @@ export function initDialogDemo() {
581
630
  <label style="display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; color: #374151;">Email</label>
582
631
  <ui-input type="email" id="profEmail" value="john@company.com"></ui-input>
583
632
  </div>
584
- <div style="font-size: 13px; color: #6b7280; background: #f9fafb; padding: 8px; border-radius: 4px; display: flex; align-items: center; gap: 8px;">
633
+ <div style="font-size: 13px; color: #6b7280; background:var(--bg-secondary,#f9fafb); padding: 8px; border-radius: 4px; display: flex; align-items: center; gap: 8px;">
585
634
  <ui-icon name="info" library="lucide" size="14px"></ui-icon>
586
635
  <span><b>Try this:</b> modify values, click Save to see loading, then open again. Values persist!</span>
587
636
  </div>
@@ -659,7 +708,7 @@ export function initDialogDemo() {
659
708
  };
660
709
 
661
710
  // Dynamic Widget Spawner
662
- window.spawnWidget = function () {
711
+ window.spawnWidget = async function () {
663
712
  const id = 'note-' + Date.now();
664
713
  const dialog = document.createElement('ui-dialog-box');
665
714
  dialog.id = id;
@@ -696,7 +745,7 @@ export function initDialogDemo() {
696
745
  dialog.innerHTML = `
697
746
  <div style="height: 100%; display: flex; flex-direction: column;">
698
747
  <ui-input variant="plain" multiline="true" placeholder="New note..."
699
- style="flex: 1; width: 100%; height: 100%; padding: 4px; font-family: sans-serif; --ui-input-bg: #fffbeb;"></ui-input>
748
+ style="flex: 1; width: 100%; height: 100%; padding: 4px; font-family: sans-serif; --ui-input-bg: var(--accent-yellow-soft,#fffbeb);"></ui-input>
700
749
  </div>
701
750
  `;
702
751
 
@@ -714,7 +763,10 @@ export function initDialogDemo() {
714
763
  // Basic menu event might still fire, but we use menuAction for built-in items
715
764
 
716
765
  document.body.appendChild(dialog);
717
- setTimeout(() => dialog.show(), 50);
766
+ if (typeof dialog.show !== 'function') {
767
+ await customElements.whenDefined('ui-dialog-box');
768
+ }
769
+ dialog.show();
718
770
  };
719
771
 
720
772
  // --- Parent/Child Dialog Size Demo ---
@@ -749,7 +801,7 @@ export function initDialogDemo() {
749
801
  <span>Child Dialog Height:</span>
750
802
  <ui-input id="childHeightInput" value="300px" style="width: 100px;"></ui-input>
751
803
  </label>
752
- <ui-button id="openChildDialogBtn" size="md" variant="outline" color="primary" label="Open Child Dialog" size="md" variant="outline" style="--btn-bg: #6366f1;"></ui-button>
804
+ <ui-button id="openChildDialogBtn" size="md" variant="outline" color="primary" label="Open Child Dialog" size="md" variant="outline" style="--btn-bg: var(--accent-indigo,#6366f1);"></ui-button>
753
805
  </div>
754
806
  `;
755
807
  document.body.appendChild(parentDialog);
@@ -776,12 +828,12 @@ export function initDialogDemo() {
776
828
  childDialog.setAttribute('animation', 'scale');
777
829
 
778
830
  childDialog.innerHTML = `
779
- <div style="padding: 20px; font-family: sans-serif; background: #f0fdf4; height: 100%; border-radius: 0 0 8px 8px;">
780
- <p style="margin: 0 0 16px; color: #166534; font-weight: 500;">This is the child dialog, running inside the parent's context.</p>
781
- <div style="background: white; padding: 12px; border-radius: 6px; border: 1px solid #bbf7d0;">
831
+ <div style="padding: 20px; font-family: sans-serif; background:var(--accent-green-soft,#f0fdf4); height: 100%; border-radius: 0 0 8px 8px;">
832
+ <p style="margin: 0 0 16px; color: var(--accent-green,#166534); font-weight: 500;">This is the child dialog, running inside the parent's context.</p>
833
+ <div style="background:var(--bg-primary,white); padding: 12px; border-radius: 6px; border: 1px solid #bbf7d0;">
782
834
  <div style="font-size: 13px; color: #6b7280; margin-bottom: 4px;">Configured Dimensions:</div>
783
- <div style="font-family: monospace; font-weight: bold; color: #059669;">Width: ${width}</div>
784
- <div style="font-family: monospace; font-weight: bold; color: #059669;">Height: ${height}</div>
835
+ <div style="font-family: monospace; font-weight: bold; color:var(--accent-green,#059669);">Width: ${width}</div>
836
+ <div style="font-family: monospace; font-weight: bold; color:var(--accent-green,#059669);">Height: ${height}</div>
785
837
  </div>
786
838
  <p style="font-size: 12px; color: #666; margin-top: 20px;">
787
839
  Typically, nested dialogs should be smaller than their parents to maintain visual hierarchy.
@@ -816,11 +868,11 @@ export function initDialogDemo() {
816
868
  dialog.innerHTML = `
817
869
  <div style="padding: 10px 0;">
818
870
  <p>Your session is about to expire due to inactivity. For your security, we will automatically log you out once the timer reaches zero.</p>
819
- <div style="background: #fffbeb; border: 1px solid #fde68a; padding: 12px; border-radius: 6px; display: flex; align-items: flex-start; gap: 10px;">
871
+ <div style="background:var(--accent-yellow-soft,#fffbeb); border: 1px solid #fde68a; padding: 12px; border-radius: 6px; display: flex; align-items: flex-start; gap: 10px;">
820
872
  <span style="font-size: 20px;">⚠️</span>
821
873
  <div>
822
- <div style="font-weight: 600; color: #92400e;">Unsaved data may be lost</div>
823
- <div style="font-size: 13px; color: #b45309;">Please click 'Stay Logged In' to extend your session validity.</div>
874
+ <div style="font-weight: 600; color:var(--accent-yellow,#92400e);">Unsaved data may be lost</div>
875
+ <div style="font-size: 13px; color:var(--accent-yellow,#b45309);">Please click 'Stay Logged In' to extend your session validity.</div>
824
876
  </div>
825
877
  </div>
826
878
  </div>
@@ -853,7 +905,7 @@ export function initDialogDemo() {
853
905
  <p><strong>Stack Level: ${level}</strong></p>
854
906
  <p>This dialog should appear above Level ${level - 1}.</p>
855
907
  <div style="display: flex; gap: 10px; margin-top: 15px;">
856
- <ui-button class="btn-next-level" size="md" variant="outline" color="secondary" label="Open Level ${level + 1} ➕" style="flex: 1; --btn-bg: #ec4899;"></ui-button>
908
+ <ui-button class="btn-next-level" size="md" variant="outline" color="secondary" label="Open Level ${level + 1} ➕" style="flex: 1; --btn-bg: var(--accent-pink,#ec4899);"></ui-button>
857
909
  <ui-button class="btn-close-dialog" size="md" variant="outline" color="secondary" label="Close" style="--btn-bg: #6b7280;"></ui-button>
858
910
  </div>
859
911
  </div>
@@ -881,16 +933,16 @@ export function initDialogDemo() {
881
933
  if (!container) return;
882
934
 
883
935
  container.innerHTML = `
884
- <div class="demo-block">
885
- <h3 style="margin-bottom: 24px; font-weight: 800; letter-spacing: -0.02em;">🎮 Custom Dialog Builder</h3>
936
+ <div class="demo-block" style="background:var(--bg-primary,white); border-radius: 20px; padding: 28px; border:1px solid var(--border-default,#e2e8f0);">
937
+ <h3 style="margin-bottom: 24px; font-weight: 800; letter-spacing: -0.02em; color:var(--text-primary,#1e293b);">🎮 Custom Dialog Builder</h3>
886
938
 
887
- <div style="background: white; border: 1px solid #eef2f6; border-radius: 20px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); margin-bottom: 30px;">
939
+ <div style="background:var(--bg-secondary,#f8fafc); border:1px solid var(--border-default,#e2e8f0); border-radius: 20px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); margin-bottom: 30px;">
888
940
  <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; align-items: flex-end;">
889
941
 
890
942
  <!-- Basic Controls -->
891
943
  <div class="control-group">
892
944
  <label style="display: flex; flex-direction: column; gap: 8px;">
893
- <span style="font-size: 11px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em;">Window Size</span>
945
+ <span style="font-size: 11px; font-weight: 800; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.1em;">Window Size</span>
894
946
  <ui-dropdown id="iDSize" value="sm" full-width="true" options='[
895
947
  {"label": "Custom", "value": "custom"},
896
948
  {"label": "XXXS (160px)", "value": "xxxs"},
@@ -909,7 +961,7 @@ export function initDialogDemo() {
909
961
 
910
962
  <div class="control-group">
911
963
  <label style="display: flex; flex-direction: column; gap: 8px;">
912
- <span style="font-size: 11px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em;">Aesthetic Variant</span>
964
+ <span style="font-size: 11px; font-weight: 800; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.1em;">Aesthetic Variant</span>
913
965
  <ui-dropdown id="iDVariant" value="soft" full-width="true" options='[
914
966
  {"label": "Soft (Modern)", "value": "soft"},
915
967
  {"label": "Outline (Clean)", "value": "outline"},
@@ -921,7 +973,7 @@ export function initDialogDemo() {
921
973
 
922
974
  <div class="control-group">
923
975
  <label style="display: flex; flex-direction: column; gap: 8px;">
924
- <span style="font-size: 11px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em;">Semantic Status</span>
976
+ <span style="font-size: 11px; font-weight: 800; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.1em;">Semantic Status</span>
925
977
  <ui-dropdown id="iDStatus" value="default" full-width="true" options='[
926
978
  {"label": "Default", "value": "default"},
927
979
  {"label": "Info Blue", "value": "info"},
@@ -934,13 +986,13 @@ export function initDialogDemo() {
934
986
 
935
987
  <div class="control-group">
936
988
  <label style="display: flex; flex-direction: column; gap: 8px;">
937
- <span style="font-size: 11px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em;">Background Accent</span>
989
+ <span style="font-size: 11px; font-weight: 800; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.1em;">Background Accent</span>
938
990
  <ui-color-picker id="iDBgColor" value="#ffffff"></ui-color-picker>
939
991
  </label>
940
992
  </div>
941
993
 
942
994
  <!-- Settings Toggles -->
943
- <div class="control-group" style="grid-column: 1 / -1; display: flex; flex-direction:row; flex-wrap: wrap; gap: 20px; padding: 20px; background: #f8fafc; border-radius: 12px; margin-top: 10px;">
995
+ <div class="control-group" style="grid-column: 1 / -1; display: flex; flex-direction:row; flex-wrap: wrap; gap: 20px; padding: 20px; background:var(--bg-tertiary,#f1f5f9); border-radius: 12px; margin-top: 10px; border:1px solid var(--border-subtle,#f1f5f9);">
944
996
  <ui-checkbox id="iDDraggable" label="Draggable" checked></ui-checkbox>
945
997
  <ui-checkbox id="iDResizable" label="Resizable"></ui-checkbox>
946
998
  <ui-checkbox id="iDShowHeader" label="Header" checked></ui-checkbox>
@@ -961,18 +1013,18 @@ export function initDialogDemo() {
961
1013
 
962
1014
  <div style="margin-top: 20px; background: #0f172a; padding: 20px; border-radius: 12px; position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.2);">
963
1015
  <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;">
964
- <span style="color: #64748b; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em;">Generated Implementation</span>
1016
+ <span style="color:var(--text-secondary,#64748b); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em;">Generated Implementation</span>
965
1017
  <ui-button id="btnCopyDialogCode" variant="outline" color="primary" label="Copy Code" size="md" style="--btn-text: #38bdf8;"></ui-button>
966
1018
  </div>
967
- <code id="dialogCodeBlock" style="color: #94a3b8; font-family: 'JetBrains Mono', monospace; font-size: 12px; display: block; overflow-x: auto; white-space: pre-wrap; line-height: 1.6;"></code>
1019
+ <code id="dialogCodeBlock" style="color:var(--text-secondary,#64748b); font-family: 'JetBrains Mono', monospace; font-size: 12px; display: block; overflow-x: auto; white-space: pre-wrap; line-height: 1.6;"></code>
968
1020
  </div>
969
1021
 
970
- <div id="eventLog" style="margin-top: 20px; padding: 16px; background: #ffffff; border-radius: 12px; border: 1px solid #eef2f6;">
1022
+ <div id="eventLog" style="margin-top: 20px; padding: 16px; background:var(--bg-secondary,#f8fafc); border-radius: 12px; border:1px solid var(--border-default,#e2e8f0);">
971
1023
  <div style="display: flex; align-items: center; gap: 8px; margin-bottom: 12px;">
972
1024
  <div style="width: 8px; height: 8px; border-radius: 50%; background: #22c55e;"></div>
973
- <h4 style="margin: 0; font-size: 12px; font-weight: 800; color: #1e293b; text-transform: uppercase; letter-spacing: 0.05em;">Live Event Stream</h4>
1025
+ <h4 style="margin: 0; font-size: 12px; font-weight: 800; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.05em;">Live Event Stream</h4>
974
1026
  </div>
975
- <div id="eventLogContent" style="font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #64748b; max-height: 120px; overflow-y: auto;">
1027
+ <div id="eventLogContent" style="font-family: 'JetBrains Mono', monospace; font-size: 11px; color:var(--text-secondary,#64748b); max-height: 120px; overflow-y: auto;">
976
1028
  <div style="opacity: 0.5;">Awaiting interactions...</div>
977
1029
  </div>
978
1030
  </div>
@@ -1214,7 +1266,7 @@ export function initDialogDemo() {
1214
1266
  <div style="padding: 20px;">
1215
1267
  <h3>Try Edge Snapping! 🧲</h3>
1216
1268
  <p>Drag this dialog to the <b>Top, Left, or Right</b> edges of your screen.</p>
1217
- <div style="background: #fffbeb; border: 1px solid #fde68a; padding: 12px; border-radius: 8px; font-size: 13px; color: #92400e;">
1269
+ <div style="background:var(--accent-yellow-soft,#fffbeb); border: 1px solid #fde68a; padding: 12px; border-radius: 8px; font-size: 13px; color:var(--accent-yellow,#92400e);">
1218
1270
  A blue highlight bar will appear to show where the window will snap.
1219
1271
  </div>
1220
1272
  </div>
@@ -1282,7 +1334,7 @@ export function initDialogDemo() {
1282
1334
  width="450px"
1283
1335
  icon-library="lucide">
1284
1336
  <div style="padding: 30px; text-align: center;">
1285
- <ui-icon name="eye-off" library="lucide" size="48px" style="color: #7c3aed; margin-bottom: 20px;"></ui-icon>
1337
+ <ui-icon name="eye-off" library="lucide" size="48px" style="color:var(--accent-purple,#7c3aed); margin-bottom: 20px;"></ui-icon>
1286
1338
  <h3>Immersion at 100%</h3>
1287
1339
  <p>Notice how everything else on the screen is <b>blurred and grayed out</b>. This ensures zero distractions until the task is complete.</p>
1288
1340
  </div>
@@ -1322,24 +1374,24 @@ export function initDialogDemo() {
1322
1374
  container.innerHTML = `
1323
1375
  <div class="demo-block">
1324
1376
  <h3>⚡ Sovereign Tier: Operating System Simulation</h3>
1325
- <p style="color: #6b7280; margin-bottom: 20px;">The absolute zenith of component engineering. Truly multi-window orchestration with dock, detached pop-outs, and intelligent guards.</p>
1377
+ <p style="color: var(--text-secondary, #6b7280); margin-bottom: 20px;">The absolute zenith of component engineering. Truly multi-window orchestration with dock, detached pop-outs, and intelligent guards.</p>
1326
1378
 
1327
1379
  <div style="display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px;">
1328
- <ui-button id="btnSpawnTerminal" size="md" variant="outline" color="secondary" label="📟 Spawn Terminal" style="--btn-bg: #111827;"></ui-button>
1380
+ <ui-button id="btnSpawnTerminal" size="md" variant="outline" color="secondary" label="📟 Spawn Terminal" style="--btn-bg: var(--bg-secondary, #111827);"></ui-button>
1329
1381
  <ui-button id="btnSpawnEditor" size="md" variant="outline" color="success" label="📝 Spawn Editor (Dirty)"></ui-button>
1330
1382
  <ui-button id="btnSpawnMonitor" size="md" variant="outline" color="success" label="📈 Spawn Monitor (Skeleton)"></ui-button>
1331
1383
  </div>
1332
1384
 
1333
- <div style="background: #f3f4f6; padding: 20px; border-radius: 12px; border: 1px solid #ddd;">
1334
- <h4 style="margin-top: 0;">Window Orchestration</h4>
1385
+ <div style="background: var(--bg-secondary, rgba(255,255,255,0.03)); padding: 20px; border-radius: 12px; border: 1px solid var(--border-default, rgba(255,255,255,0.08)); backdrop-filter: blur(8px);">
1386
+ <h4 style="margin-top: 0; color: var(--text-primary, #ffffff);">Window Orchestration</h4>
1335
1387
  <div style="display: flex; gap: 10px;">
1336
- <ui-button id="btnCascadeWindows" size="md" variant="outline" color="secondary" label="Cascade Windows" style="--btn-bg: white;"></ui-button>
1337
- <ui-button id="btnTileWindows" size="md" variant="outline" color="secondary" label="Tile Windows" style="--btn-bg: white;"></ui-button>
1388
+ <ui-button id="btnCascadeWindows" size="md" variant="outline" color="secondary" label="Cascade Windows" style="--btn-bg: transparent;"></ui-button>
1389
+ <ui-button id="btnTileWindows" size="md" variant="outline" color="secondary" label="Tile Windows" style="--btn-bg: transparent;"></ui-button>
1338
1390
  </div>
1339
- <p style="font-size: 12px; color: #666; margin-top: 10px;">Try spawning multiple windows then tiling them!</p>
1391
+ <p style="font-size: 12px; color: var(--text-muted, #94a3b8); margin-top: 10px;">Try spawning multiple windows then tiling them!</p>
1340
1392
  </div>
1341
1393
 
1342
- <p style="margin-top: 20px; font-size: 14px; font-style: italic; color: #444;">
1394
+ <p style="margin-top: 20px; font-size: 14px; font-style: italic; color: var(--text-secondary, #64748b);">
1343
1395
  <b>Key Features:</b><br>
1344
1396
  - Minimize to Dock (bottom taskbar)<br>
1345
1397
  - Pop-out to real Browser Window<br>
@@ -1353,11 +1405,44 @@ export function initDialogDemo() {
1353
1405
  document.getElementById('btnSpawnTerminal')?.addEventListener('click', () => window.spawnSovWindow('Terminal'));
1354
1406
  document.getElementById('btnSpawnEditor')?.addEventListener('click', () => window.spawnSovWindow('Editor'));
1355
1407
  document.getElementById('btnSpawnMonitor')?.addEventListener('click', () => window.spawnSovWindow('Monitor'));
1356
- document.getElementById('btnCascadeWindows')?.addEventListener('click', () => document.querySelector('ui-dialog-box').constructor.cascade());
1357
- document.getElementById('btnTileWindows')?.addEventListener('click', () => document.querySelector('ui-dialog-box').constructor.tile());
1408
+ document.getElementById('btnCascadeWindows')?.addEventListener('click', () => {
1409
+ const wins = Array.from(document.querySelectorAll('ui-dialog-box')).filter(w => w.open && !w.minimized);
1410
+ wins.forEach((win, i) => {
1411
+ const panel = win.shadowRoot?.querySelector('.ui-dialog-box');
1412
+ if (panel) {
1413
+ panel.style.left = `${50 + (i * 30)}px`;
1414
+ panel.style.top = `${50 + (i * 30)}px`;
1415
+ panel.style.margin = '0';
1416
+ panel.style.position = 'fixed';
1417
+ }
1418
+ });
1419
+ });
1420
+ document.getElementById('btnTileWindows')?.addEventListener('click', () => {
1421
+ const wins = Array.from(document.querySelectorAll('ui-dialog-box')).filter(w => w.open && !w.minimized);
1422
+ if (wins.length === 0) return;
1423
+
1424
+ const cols = Math.ceil(Math.sqrt(wins.length));
1425
+ const rows = Math.ceil(wins.length / cols);
1426
+ const winW = window.innerWidth / cols;
1427
+ const winH = window.innerHeight / rows;
1428
+
1429
+ wins.forEach((win, i) => {
1430
+ const r = Math.floor(i / cols);
1431
+ const c = i % cols;
1432
+ const panel = win.shadowRoot?.querySelector('.ui-dialog-box');
1433
+ if (panel) {
1434
+ panel.style.left = `${c * winW}px`;
1435
+ panel.style.top = `${r * winH}px`;
1436
+ panel.style.width = `${winW}px`;
1437
+ panel.style.height = `${winH}px`;
1438
+ panel.style.margin = '0';
1439
+ panel.style.position = 'fixed';
1440
+ }
1441
+ });
1442
+ });
1358
1443
  }, 100);
1359
1444
 
1360
- window.spawnSovWindow = type => {
1445
+ window.spawnSovWindow = async type => {
1361
1446
  const id = 'sov-' + type.toLowerCase() + '-' + Math.round(Math.random() * 1000);
1362
1447
  const d = document.createElement('ui-dialog-box');
1363
1448
  d.id = id;
@@ -1397,7 +1482,10 @@ export function initDialogDemo() {
1397
1482
  }
1398
1483
 
1399
1484
  document.body.appendChild(d);
1400
- setTimeout(() => d.show(), 50);
1485
+ if (typeof d.show !== 'function') {
1486
+ await customElements.whenDefined('ui-dialog-box');
1487
+ }
1488
+ d.show();
1401
1489
  };
1402
1490
  };
1403
1491
 
@@ -1429,6 +1517,9 @@ export function initDialogDemo() {
1429
1517
  `;
1430
1518
 
1431
1519
  try {
1520
+ if (typeof d.showWithResult !== 'function') {
1521
+ await customElements.whenDefined('ui-dialog-box');
1522
+ }
1432
1523
  const result = await d.showWithResult();
1433
1524
  if (!result.canceled && result.data) {
1434
1525
  alert('🎉 Selection Success: ' + JSON.stringify(result.data));
@@ -1452,8 +1543,8 @@ export function initDialogDemo() {
1452
1543
 
1453
1544
  <div style="display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px;">
1454
1545
  <ui-button onclick="openDialog('dBranded')" size="md" variant="outline" color="secondary" label="🖼️ Branded with Image" style="--btn-bg: #111827;"></ui-button>
1455
- <ui-button onclick="openDialog('dStealth')" size="md" variant="outline" color="primary" label="🕵️ Stealth (No Controls)" style="--btn-bg: #6366f1;"></ui-button>
1456
- <ui-button onclick="openDialog('dFullHeader')" size="md" variant="outline" color="secondary" label="🧩 Full Slot Replacement" style="--btn-bg: #ec4899;"></ui-button>
1546
+ <ui-button onclick="openDialog('dStealth')" size="md" variant="outline" color="primary" label="🕵️ Stealth (No Controls)" style="--btn-bg: var(--accent-indigo,#6366f1);"></ui-button>
1547
+ <ui-button onclick="openDialog('dFullHeader')" size="md" variant="outline" color="secondary" label="🧩 Full Slot Replacement" style="--btn-bg: var(--accent-pink,#ec4899);"></ui-button>
1457
1548
  </div>
1458
1549
 
1459
1550
  <!-- Branded -->
@@ -1532,11 +1623,11 @@ export function initDialogDemo() {
1532
1623
  <h3>⚖️ Terms and Agreement Mode</h3>
1533
1624
  <p style="color: #6b7280; margin-bottom: 20px;">The <code>type="terms"</code> preset automatically configures the title, Accept/Decline labels, and enforces a scrollable 'paper' layout.</p>
1534
1625
 
1535
- <ui-button onclick="openDialog('dTerms')" size="md" variant="outline" color="success" label="View License Agreement" style="--btn-bg: #059669;"></ui-button>
1626
+ <ui-button onclick="openDialog('dTerms')" size="md" variant="outline" color="success" label="View License Agreement" style="--btn-bg: var(--accent-green,#059669);"></ui-button>
1536
1627
 
1537
1628
  <ui-dialog-box id="dTerms" type="terms" icon-library="lucide">
1538
1629
  <div slot="header-icon">
1539
- <ui-icon name="scroll" library="lucide" size="24px" style="color: #059669;"></ui-icon>
1630
+ <ui-icon name="scroll" library="lucide" size="24px" style="color:var(--accent-green,#059669);"></ui-icon>
1540
1631
  </div>
1541
1632
  <div style="line-height: 1.6; color: #374151;">
1542
1633
  <h3>1. Terms of Use</h3>
@@ -1554,21 +1645,30 @@ export function initDialogDemo() {
1554
1645
  <h3>5. Governing Law</h3>
1555
1646
  <p>These terms and conditions are governed by and construed in accordance with the laws of the jurisdiction and you irrevocably submit to the exclusive jurisdiction of the courts in that State or location.</p>
1556
1647
 
1557
- <div style="margin-top: 20px; padding: 12px; background: #f0fdf4; border-radius: 8px; border: 1px solid #bbf7d0;">
1648
+ <div style="margin-top: 20px; padding: 12px; background:var(--accent-green-soft,#f0fdf4); border-radius: 8px; border: 1px solid #bbf7d0;">
1558
1649
  <ui-checkbox id="agreeCheckbox" label="I have read and agree to the terms listed above."></ui-checkbox>
1559
1650
  </div>
1560
1651
  </div>
1561
1652
  </ui-dialog-box>
1562
1653
  </div>
1563
1654
  `;
1564
-
1655
+
1656
+
1565
1657
  setTimeout(() => {
1566
1658
  const d = document.getElementById('dTerms');
1567
1659
  const agree = document.getElementById('agreeCheckbox');
1568
1660
  if (d && agree) {
1569
- if (!d.okDisabled) d.okDisabled = true; // Set initial state
1661
+ if (typeof d.setOkDisabled === 'function') {
1662
+ d.setOkDisabled(true);
1663
+ } else {
1664
+ d.okDisabled = true;
1665
+ }
1570
1666
  agree.addEventListener('checkboxChange', e => {
1571
- d.okDisabled = !e.detail.checked;
1667
+ if (typeof d.setOkDisabled === 'function') {
1668
+ d.setOkDisabled(!e.detail.checked);
1669
+ } else {
1670
+ d.okDisabled = !e.detail.checked;
1671
+ }
1572
1672
  });
1573
1673
  d.addEventListener('ok', () => alert('Terms Accepted!'));
1574
1674
  }
@@ -1584,25 +1684,25 @@ export function initDialogDemo() {
1584
1684
  <p style="color: #6b7280; margin-bottom: 20px;">Features that differentiate standard modals from professional windowing systems.</p>
1585
1685
 
1586
1686
  <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 20px;">
1587
- <div style="padding: 24px; background: #f9fafb; border-radius: 12px; border: 1px solid #e5e7eb;">
1687
+ <div style="padding: 24px; background:var(--bg-secondary,#f9fafb); border-radius: 12px; border:1px solid var(--border-default,#e5e7eb);">
1588
1688
  <ui-icon name="pin" library="lucide" size="32px" style="color: #10b981; margin-bottom: 12px;"></ui-icon>
1589
1689
  <h4>Persistent Layout</h4>
1590
1690
  <p style="font-size: 14px; color: #6b7280; margin-bottom: 16px;">Moves and resizes are remembered across page reloads using <code>remember="true"</code>.</p>
1591
1691
  <ui-button onclick="openDialog('dPersistent')" size="md" variant="outline" color="success" label="Open Sticky Window" style="width: 100%;"></ui-button>
1592
1692
  </div>
1593
1693
 
1594
- <div style="padding: 24px; background: #f9fafb; border-radius: 12px; border: 1px solid #e5e7eb;">
1595
- <ui-icon name="smartphone" library="lucide" size="32px" style="color: #8b5cf6; margin-bottom: 12px;"></ui-icon>
1694
+ <div style="padding: 24px; background:var(--bg-secondary,#f9fafb); border-radius: 12px; border:1px solid var(--border-default,#e5e7eb);">
1695
+ <ui-icon name="smartphone" library="lucide" size="32px" style="color:var(--accent-purple,#8b5cf6); margin-bottom: 12px;"></ui-icon>
1596
1696
  <h4>Touch Gestures</h4>
1597
1697
  <p style="font-size: 14px; color: #6b7280; margin-bottom: 16px;">Enables <code>swipe-to-close</code> on mobile. Try swiping left or right to dismiss on touch devices.</p>
1598
- <ui-button onclick="openDialog('dSwipe')" size="md" variant="outline" color="secondary" label="Open Gesture Window" style="width: 100%; --btn-bg: #8b5cf6;"></ui-button>
1698
+ <ui-button onclick="openDialog('dSwipe')" size="md" variant="outline" color="secondary" label="Open Gesture Window" style="width: 100%; --btn-bg: var(--accent-purple,#8b5cf6);"></ui-button>
1599
1699
  </div>
1600
1700
  </div>
1601
1701
 
1602
1702
  <ui-dialog-box id="dPersistent" dialog-title="I Remember You" ok-text="Save Position" cancel-text="Close" remember="true" resizable="true" is-draggable="true" icon-library="lucide">
1603
1703
  <div style="padding: 24px; text-align: center;">
1604
1704
  <p>Move me to the corner, resize me, or maximize me. Then <b>refresh the page</b>.</p>
1605
- <div style="margin-top: 10px; font-weight: bold; color: #059669;">✨ Your layout will be restored automatically.</div>
1705
+ <div style="margin-top: 10px; font-weight: bold; color:var(--accent-green,#059669);">✨ Your layout will be restored automatically.</div>
1606
1706
  </div>
1607
1707
  </ui-dialog-box>
1608
1708
 
@@ -1677,7 +1777,7 @@ export function initDialogDemo() {
1677
1777
 
1678
1778
  if (p === 100) {
1679
1779
  clearInterval(interval);
1680
- if (status) status.innerHTML = '✨ <span style="color: #059669;">Update Complete!</span>';
1780
+ if (status) status.innerHTML = '✨ <span style="color:var(--accent-green,#059669);">Update Complete!</span>';
1681
1781
  d.okDisabled = false;
1682
1782
  }
1683
1783
  }, 600);
@@ -1689,22 +1789,22 @@ export function initDialogDemo() {
1689
1789
  container.innerHTML = `
1690
1790
  <div class="demo-block">
1691
1791
  <h3>💎 Header Mastery Showcase</h3>
1692
- <p style="color: #64748b; margin-bottom: 24px;">The <code>ui-dialog-header</code> is fully extensible. Use slots for branding, multi-action toolbars, and status-driven visuals.</p>
1792
+ <p style="color:var(--text-secondary,#64748b); margin-bottom: 24px;">The <code>ui-dialog-header</code> is fully extensible. Use slots for branding, multi-action toolbars, and status-driven visuals.</p>
1693
1793
 
1694
1794
  <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 24px;">
1695
- <div style="background: white; padding: 24px; border-radius: 12px; border: 1px solid #e2e8f0; display: flex; flex-direction: column; gap: 16px;">
1795
+ <div style="background:var(--bg-primary,white); padding: 24px; border-radius: 12px; border:1px solid var(--border-default,#e2e8f0); display: flex; flex-direction: column; gap: 16px;">
1696
1796
  <h4 style="margin: 0;">🏷️ Branded Slot Header</h4>
1697
- <p style="font-size: 13px; color: #64748b;">Override the entire header content with a custom slot for deep branding.</p>
1797
+ <p style="font-size: 13px; color:var(--text-secondary,#64748b);">Override the entire header content with a custom slot for deep branding.</p>
1698
1798
  <ui-button onclick="openDialog('dBrandedHeader')" size="md" variant="outline" color="success" label="Open Branded Dialog" style="margin-top:auto;"></ui-button>
1699
1799
  </div>
1700
- <div style="background: white; padding: 24px; border-radius: 12px; border: 1px solid #e2e8f0; display: flex; flex-direction: column; gap: 16px;">
1800
+ <div style="background:var(--bg-primary,white); padding: 24px; border-radius: 12px; border:1px solid var(--border-default,#e2e8f0); display: flex; flex-direction: column; gap: 16px;">
1701
1801
  <h4 style="margin: 0;">🛠️ Multi-Action Toolbar</h4>
1702
- <p style="font-size: 13px; color: #64748b;">Inject additional action buttons into the header via <code>slot="header-actions"</code>.</p>
1703
- <ui-button onclick="openDialog('dMultiAction')" size="md" variant="outline" color="secondary" label="Open Multi-Action Dialog" style="margin-top:auto; --btn-bg: #8b5cf6;"></ui-button>
1802
+ <p style="font-size: 13px; color:var(--text-secondary,#64748b);">Inject additional action buttons into the header via <code>slot="header-actions"</code>.</p>
1803
+ <ui-button onclick="openDialog('dMultiAction')" size="md" variant="outline" color="secondary" label="Open Multi-Action Dialog" style="margin-top:auto; --btn-bg: var(--accent-purple,#8b5cf6);"></ui-button>
1704
1804
  </div>
1705
- <div style="background: white; padding: 24px; border-radius: 12px; border: 1px solid #e2e8f0; display: flex; flex-direction: column; gap: 16px;">
1805
+ <div style="background:var(--bg-primary,white); padding: 24px; border-radius: 12px; border:1px solid var(--border-default,#e2e8f0); display: flex; flex-direction: column; gap: 16px;">
1706
1806
  <h4 style="margin: 0;">🎨 Status Elevation</h4>
1707
- <p style="font-size: 13px; color: #64748b;">Headers that react to the <code>status</code> prop for high-urgency notifications.</p>
1807
+ <p style="font-size: 13px; color:var(--text-secondary,#64748b);">Headers that react to the <code>status</code> prop for high-urgency notifications.</p>
1708
1808
  <div style="display: flex; gap: 8px;">
1709
1809
  <ui-button onclick="openDialog('dStatusSuccess')" size="md" variant="outline" color="success" label="Success"style="flex:1;"></ui-button>
1710
1810
  <ui-button onclick="openDialog('dStatusError')" size="md" variant="outline" color="danger" label="Error"style="flex:1;"></ui-button>
@@ -1714,9 +1814,9 @@ export function initDialogDemo() {
1714
1814
 
1715
1815
  <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 24px; margin-top: 24px;">
1716
1816
  <!-- Case 4: Avatar Header -->
1717
- <div style="background: white; padding: 24px; border-radius: 12px; border: 1px solid #e2e8f0; display: flex; flex-direction: column; gap: 16px;">
1817
+ <div style="background:var(--bg-primary,white); padding: 24px; border-radius: 12px; border:1px solid var(--border-default,#e2e8f0); display: flex; flex-direction: column; gap: 16px;">
1718
1818
  <h4 style="margin: 0;">👤 Profile/Avatar Headers</h4>
1719
- <p style="font-size: 13px; color: #64748b;">Direct support for user avatars and custom icons without manual slots.</p>
1819
+ <p style="font-size: 13px; color:var(--text-secondary,#64748b);">Direct support for user avatars and custom icons without manual slots.</p>
1720
1820
  <ui-button onclick="openDialog('dAvatarHeader')" size="md" variant="outline" color="success" label="Open Profile Dialog" style="margin-top:auto;"></ui-button>
1721
1821
  </div>
1722
1822
  </div>
@@ -1726,14 +1826,14 @@ export function initDialogDemo() {
1726
1826
  <div style="background: linear-gradient(135deg, #10b981, #10b981); width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 18px;">D</div>
1727
1827
  <div style="flex: 1;">
1728
1828
  <h3 style="margin: 0; font-size: 16px; font-weight: 700;">Design System v3</h3>
1729
- <span style="font-size: 11px; color: #64748b; font-weight: 500;">DREAMUI_CONSOLE_PRO_692</span>
1829
+ <span style="font-size: 11px; color:var(--text-secondary,#64748b); font-weight: 500;">DREAMUI_CONSOLE_PRO_692</span>
1730
1830
  </div>
1731
- <div style="padding: 4px 8px; background: #dcfce7; color: #166534; border-radius: 12px; font-size: 10px; font-weight: bold; text-transform: uppercase;">Verified</div>
1831
+ <div style="padding: 4px 8px; background:var(--accent-green-soft,#dcfce7); color: var(--accent-green,#166534); border-radius: 12px; font-size: 10px; font-weight: bold; text-transform: uppercase;">Verified</div>
1732
1832
  </div>
1733
1833
  <div style="padding: 20px;"><p>This header is completely custom using <code>slot="header"</code>.</p></div>
1734
1834
  </ui-dialog-box>
1735
1835
 
1736
- <ui-dialog-box id="dAvatarHeader" dialog-title="John Doe" subtitle="Lead Systems Architect" avatar="https://i.pravatar.cc/150?img=68" ok-text="View Profile" cancel-text="Close">
1836
+ <ui-dialog-box id="dAvatarHeader" dialog-title="John Doe" subtitle="Lead Systems Architect" avatar="/build/assets/images/logo.png" ok-text="View Profile" cancel-text="Close">
1737
1837
  <div style="padding: 20px;">
1738
1838
  <p>This dialog uses the new <code>avatar</code> prop on the header. It handles sizing, border-radius, and alignment automatically.</p>
1739
1839
  </div>
@@ -1776,11 +1876,11 @@ export function initDialogDemo() {
1776
1876
  <!-- ① Smooth Drag (no jump on click) -->
1777
1877
  <div>
1778
1878
  <h3 style="margin:0 0 6px;">🖱 Smooth Drag — No Jump on Click</h3>
1779
- <p style="font-size:13px;color:#64748b;margin:0 0 12px;">
1879
+ <p style="font-size:13px;color:var(--text-secondary,#64748b);margin:0 0 12px;">
1780
1880
  Draggable dialogs now anchor position on first move (>5 px threshold), so clicking the header
1781
1881
  no longer snaps the dialog to the cursor.
1782
1882
  </p>
1783
- <ui-button onclick="openDialog('wfDragDialog')" size="md" variant="outline" color="primary" label="Open Draggable Dialog" style="--btn-bg: #0ea5e9;"></ui-button>
1883
+ <ui-button onclick="openDialog('wfDragDialog')" size="md" variant="outline" color="primary" label="Open Draggable Dialog" style="--btn-bg: var(--accent-cyan,#0ea5e9);"></ui-button>
1784
1884
  <ui-dialog-box id="wfDragDialog" is-draggable="true" snap-to-edges="true" show-minimize="true" show-maximize="true"
1785
1885
  ok-text="Accept" cancel-text="Dismiss"
1786
1886
  icon-library="lucide" dialog-title="Desktop Experience">
@@ -1794,16 +1894,16 @@ export function initDialogDemo() {
1794
1894
  <!-- ② Nested z-index auto-stacking -->
1795
1895
  <div>
1796
1896
  <h3 style="margin:0 0 6px;">🗂 Auto Z-Index Stacking</h3>
1797
- <p style="font-size:13px;color:#64748b;margin:0 0 12px;">
1897
+ <p style="font-size:13px;color:var(--text-secondary,#64748b);margin:0 0 12px;">
1798
1898
  Every newly opened dialog automatically rises above all existing open dialogs — no manual
1799
1899
  z-index required.
1800
1900
  </p>
1801
- <ui-button onclick="openDialog('wfParentDialog')" size="md" variant="outline" color="primary" label="Open Parent Dialog" style="--btn-bg: #6366f1;"></ui-button>
1901
+ <ui-button onclick="openDialog('wfParentDialog')" size="md" variant="outline" color="primary" label="Open Parent Dialog" style="--btn-bg: var(--accent-indigo,#6366f1);"></ui-button>
1802
1902
  <ui-dialog-box id="wfParentDialog" is-draggable="true" ok-text="Understood" cancel-text="Close" icon-library="lucide" dialog-title="Parent Dialog">
1803
1903
  <div style="padding:8px 0;font-size:14px;color:#475569;">
1804
1904
  I am the parent. Click the button below to open a child dialog on top of me.
1805
1905
  <br><br>
1806
- <ui-button onclick="openDialog('wfChildDialog')" size="md" variant="outline" color="secondary" label="Open Child Dialog (should be on top)" style="--btn-bg: #8b5cf6;"></ui-button>
1906
+ <ui-button onclick="openDialog('wfChildDialog')" size="md" variant="outline" color="secondary" label="Open Child Dialog (should be on top)" style="--btn-bg: var(--accent-purple,#8b5cf6);"></ui-button>
1807
1907
  </div>
1808
1908
  </ui-dialog-box>
1809
1909
  <ui-dialog-box id="wfChildDialog" is-draggable="true" ok-text="Accept" cancel-text="Close" icon-library="lucide" dialog-title="Child Dialog (auto z-index)">
@@ -1816,18 +1916,18 @@ export function initDialogDemo() {
1816
1916
  <!-- NEW: Programmatic Control Demo -->
1817
1917
  <div>
1818
1918
  <h3 style="margin:0 0 6px;">⚡ Programmatic API Control</h3>
1819
- <p style="font-size:13px;color:#64748b;margin:0 0 12px;">
1919
+ <p style="font-size:13px;color:var(--text-secondary,#64748b);margin:0 0 12px;">
1820
1920
  Trigger window states directly from your app logic using <code>.minimize()</code> and <code>.maximize()</code>.
1821
1921
  </p>
1822
1922
  <div style="display:flex; gap:10px;">
1823
1923
  <ui-button onclick="openDialog('wfApiDialog')" size="md" variant="outline" color="secondary" label="1. Open Dialog" style="--btn-bg: #111827;"></ui-button>
1824
- <ui-button onclick="document.getElementById('wfApiDialog').minimize()" size="md" variant="outline" color="secondary" label="2. Call .minimize()" style="--btn-bg: #6d28d9;"></ui-button>
1825
- <ui-button onclick="document.getElementById('wfApiDialog').maximize()" size="md" variant="outline" color="secondary" label="3. Call .maximize()" style="--btn-bg: #4338ca;"></ui-button>
1924
+ <ui-button onclick="document.getElementById('wfApiDialog').minimize()" size="md" variant="outline" color="secondary" label="2. Call .minimize()" style="--btn-bg: var(--accent-purple,#6d28d9);"></ui-button>
1925
+ <ui-button onclick="document.getElementById('wfApiDialog').maximize()" size="md" variant="outline" color="secondary" label="3. Call .maximize()" style="--btn-bg: var(--accent-indigo,#4338ca);"></ui-button>
1826
1926
  </div>
1827
1927
  <ui-dialog-box id="wfApiDialog" is-draggable="true" ok-text="OK" cancel-text="Dismiss" icon-library="lucide" dialog-title="API Controlled Window" show-minimize="true">
1828
1928
  <div style="padding:20px; text-align:center;">
1829
- <p style="font-size:15px; font-weight:600; color:#1e293b;">I am controlled by external code!</p>
1830
- <p style="font-size:13px; color:#64748b;">The buttons outside this dialog are calling my internal methods directly.</p>
1929
+ <p style="font-size:15px; font-weight:600; color:var(--text-primary,#1e293b);">I am controlled by external code!</p>
1930
+ <p style="font-size:13px; color:var(--text-secondary,#64748b);">The buttons outside this dialog are calling my internal methods directly.</p>
1831
1931
  </div>
1832
1932
  </ui-dialog-box>
1833
1933
  </div>
@@ -1835,7 +1935,7 @@ export function initDialogDemo() {
1835
1935
  <!-- ③ Return value auto-form-collection -->
1836
1936
  <div>
1837
1937
  <h3 style="margin:0 0 6px;">📋 Return Value — Auto Form Collection</h3>
1838
- <p style="font-size:13px;color:#64748b;margin:0 0 12px;">
1938
+ <p style="font-size:13px;color:var(--text-secondary,#64748b);margin:0 0 12px;">
1839
1939
  <code>showWithResult()</code> auto-collects all named inputs (including selects).
1840
1940
  </p>
1841
1941
  <ui-button id="wfReturnBtn" onclick="wfOpenReturnDialog()" size="md" variant="outline" color="success" label="Open Form Dialog"></ui-button>
@@ -1858,14 +1958,14 @@ export function initDialogDemo() {
1858
1958
  <!-- ④ Action Menu (menuItems + menuIcon + menuTitle) -->
1859
1959
  <div>
1860
1960
  <h3 style="margin:0 0 6px;">⚙ Action Menu — menuItems + menuIcon + menuTitle</h3>
1861
- <p style="font-size:13px;color:#64748b;margin:0 0 12px;">
1961
+ <p style="font-size:13px;color:var(--text-secondary,#64748b);margin:0 0 12px;">
1862
1962
  Set <code>menu-items</code> JSON on a dialog to auto-show a header menu button.
1863
1963
  Customise the icon with <code>menu-icon</code> and tooltip with <code>menu-title</code>.
1864
1964
  </p>
1865
1965
  <div style="display:flex;gap:10px;flex-wrap:wrap;">
1866
- <ui-button onclick="openDialog('wfMenuDialog1')" size="md" variant="outline" color="secondary" label="Default Menu (⋯)" style="--btn-bg: #f59e0b;"></ui-button>
1867
- <ui-button onclick="openDialog('wfMenuDialog2')" size="md" variant="outline" color="secondary" label="Settings Menu (⚙)" style="--btn-bg: #ef4444;"></ui-button>
1868
- <ui-button onclick="openDialog('wfMenuDialog3')" size="md" variant="outline" color="secondary" label="Filter Menu (sliders)" style="--btn-bg: #8b5cf6;"></ui-button>
1966
+ <ui-button onclick="openDialog('wfMenuDialog1')" size="md" variant="outline" color="secondary" label="Default Menu (⋯)" style="--btn-bg: var(--accent-yellow,#f59e0b);"></ui-button>
1967
+ <ui-button onclick="openDialog('wfMenuDialog2')" size="md" variant="outline" color="secondary" label="Settings Menu (⚙)" style="--btn-bg: var(--accent-red,#ef4444);"></ui-button>
1968
+ <ui-button onclick="openDialog('wfMenuDialog3')" size="md" variant="outline" color="secondary" label="Filter Menu (sliders)" style="--btn-bg: var(--accent-purple,#8b5cf6);"></ui-button>
1869
1969
  </div>
1870
1970
 
1871
1971
  <!-- Default more-horizontal icon -->
@@ -1910,7 +2010,7 @@ export function initDialogDemo() {
1910
2010
  const out = document.getElementById('wfReturnOutput');
1911
2011
  if (out) {
1912
2012
  if (!result.canceled && result.data) {
1913
- out.innerHTML = '<pre style="background:#f1f5f9;padding:12px;border-radius:8px;font-size:12px;">' + JSON.stringify(result.data, null, 2) + '</pre>';
2013
+ out.innerHTML = '<pre style="background:var(--bg-tertiary,#f1f5f9);padding:12px;border-radius:8px;font-size:12px;">' + JSON.stringify(result.data, null, 2) + '</pre>';
1914
2014
  } else {
1915
2015
  out.textContent = result.canceled ? '(dialog cancelled)' : '(no data returned — form empty)';
1916
2016
  }
@@ -1933,10 +2033,10 @@ export function initDialogDemo() {
1933
2033
  <p style="margin-bottom: 20px; color: #6b7280;">Drawers are ideal for navigation, detail panels, and quick settings. They slide from the viewport edges.</p>
1934
2034
 
1935
2035
  <div style="display: flex; gap: 12px; flex-wrap: wrap;">
1936
- <ui-button onclick="openDialog('drawerLeft')" size="md" variant="outline" color="primary" label="Left Drawer" style="--btn-bg: #4f46e5;"></ui-button>
1937
- <ui-button onclick="openDialog('drawerRight')" size="md" variant="outline" color="primary" label="Right Drawer" style="--btn-bg: #4f46e5;"></ui-button>
1938
- <ui-button onclick="openDialog('drawerTop')" size="md" variant="outline" color="primary" label="Top Drawer" style="--btn-bg: #4f46e5;"></ui-button>
1939
- <ui-button onclick="openDialog('drawerBottom')" size="md" variant="outline" color="primary" label="Bottom Drawer" style="--btn-bg: #4f46e5;"></ui-button>
2036
+ <ui-button onclick="openDialog('drawerLeft')" size="md" variant="outline" color="primary" label="Left Drawer" style="--btn-bg: var(--accent-indigo,#4f46e5);"></ui-button>
2037
+ <ui-button onclick="openDialog('drawerRight')" size="md" variant="outline" color="primary" label="Right Drawer" style="--btn-bg: var(--accent-indigo,#4f46e5);"></ui-button>
2038
+ <ui-button onclick="openDialog('drawerTop')" size="md" variant="outline" color="primary" label="Top Drawer" style="--btn-bg: var(--accent-indigo,#4f46e5);"></ui-button>
2039
+ <ui-button onclick="openDialog('drawerBottom')" size="md" variant="outline" color="primary" label="Bottom Drawer" style="--btn-bg: var(--accent-indigo,#4f46e5);"></ui-button>
1940
2040
  </div>
1941
2041
 
1942
2042
  <ui-dialog-box id="drawerLeft" type="drawer" position="left" ok-text="Accept" cancel-text="Close" dialog-title="Navigation" subtitle="Main Menu" icon="menu" icon-library="lucide">
@@ -1961,9 +2061,9 @@ export function initDialogDemo() {
1961
2061
 
1962
2062
  <ui-dialog-box id="drawerBottom" type="drawer" position="bottom" ok-text="Execute" cancel-text="Close" dialog-title="System Actions" subtitle="Select an action to continue" icon="zap" icon-library="lucide">
1963
2063
  <div style="padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px;">
1964
- <ui-button label="🚀 Deploy" size="md" variant="outline" color="secondary" style="height: 80px; --btn-bg: #f3f4f6; --btn-text: #1e293b; border: 1px solid #e5e7eb;"></ui-button>
1965
- <ui-button label="🧪 Test" size="md" variant="outline" color="secondary" style="height: 80px; --btn-bg: #f3f4f6; --btn-text: #1e293b; border: 1px solid #e5e7eb;"></ui-button>
1966
- <ui-button label="🗑️ Delete" size="md" variant="outline" color="danger" style="height: 80px; --btn-bg: #fef2f2; border: 1px solid #fee2e2;"></ui-button>
2064
+ <ui-button label="🚀 Deploy" size="md" variant="outline" color="secondary" style="height: 80px; --btn-bg: #f3f4f6; --btn-text: #1e293b; border:1px solid var(--border-default,#e5e7eb);"></ui-button>
2065
+ <ui-button label="🧪 Test" size="md" variant="outline" color="secondary" style="height: 80px; --btn-bg: #f3f4f6; --btn-text: #1e293b; border:1px solid var(--border-default,#e5e7eb);"></ui-button>
2066
+ <ui-button label="🗑️ Delete" size="md" variant="outline" color="danger" style="height: 80px; --btn-bg: var(--accent-red-soft,#fef2f2); border: 1px solid #fee2e2;"></ui-button>
1967
2067
  </div>
1968
2068
  </ui-dialog-box>
1969
2069
  </div>
@@ -2043,7 +2143,7 @@ export function initDialogDemo() {
2043
2143
  <h3>🤝 Promise-based API (Modern DX)</h3>
2044
2144
  <p style="margin-bottom: 20px; color: #6b7280;">Use <code>await dialog.openDialog()</code> to write clean, linear code for complex user flows.</p>
2045
2145
 
2046
- <ui-button id="promiseFlowBtn" onclick="startWizardSequence()" size="md" variant="outline" color="secondary" label="🚀 Launch Project Wizard" style="--btn-bg: #f59e0b; border-radius: 12px;"></ui-button>
2146
+ <ui-button id="promiseFlowBtn" onclick="startWizardSequence()" size="md" variant="outline" color="secondary" label="🚀 Launch Project Wizard" style="--btn-bg: var(--accent-yellow,#f59e0b); border-radius: 12px;"></ui-button>
2047
2147
  <div id="promiseStatus" style="margin-top: 16px; font-weight: 600; color: #10b981;">Status: Idle</div>
2048
2148
 
2049
2149
  <ui-dialog-box id="wizardDialog" width="500px" icon-library="lucide" cancel-text="Cancel">
@@ -2074,7 +2174,10 @@ export function initDialogDemo() {
2074
2174
 
2075
2175
  // Step 1
2076
2176
  setStepUI(1, 'Configuration', "<h4>Welcome to the Setup Wizard</h4><p>We'll guide you through the initial configuration. Click Continue to proceed.</p>");
2077
- await new Promise(r => dlg.addEventListener('ok', r, { once: true }));
2177
+ await new Promise(r => dlg.addEventListener('ok', e => {
2178
+ e.preventDefault();
2179
+ r();
2180
+ }, { once: true }));
2078
2181
 
2079
2182
  // Step 2 (Loading Step)
2080
2183
  setStepUI(
@@ -2089,7 +2192,10 @@ export function initDialogDemo() {
2089
2192
 
2090
2193
  // Step 3
2091
2194
  setStepUI(3, 'Security', '<h4>Step 3: Security Policy</h4><p>Scanning firewall rules and generating encryption keys for the new cluster.</p>');
2092
- await new Promise(r => dlg.addEventListener('ok', r, { once: true }));
2195
+ await new Promise(r => dlg.addEventListener('ok', e => {
2196
+ e.preventDefault();
2197
+ r();
2198
+ }, { once: true }));
2093
2199
 
2094
2200
  // Step 4
2095
2201
  setStepUI(4, 'Completion', '<h4>✨ Success!</h4><p>All settings have been applied successfully. You can now close this wizard.</p>', true, 'Finish');
@@ -2110,18 +2216,18 @@ export function initDialogDemo() {
2110
2216
  <p style="margin-bottom: 20px; color: #6b7280;">Granular control over specific sections using <b>Slots</b> for content and <b>CSS Parts</b> for styling.</p>
2111
2217
 
2112
2218
  <div style="display: flex; gap: 12px; flex-wrap: wrap;">
2113
- <ui-button onclick="openDialog('dSlotsAdvanced')" size="md" variant="outline" color="secondary" label="Deep Slotting" style="--btn-bg: #ec4899;"></ui-button>
2219
+ <ui-button onclick="openDialog('dSlotsAdvanced')" size="md" variant="outline" color="secondary" label="Deep Slotting" style="--btn-bg: var(--accent-pink,#ec4899);"></ui-button>
2114
2220
  <ui-button onclick="openDialog('dPartsStyling')" size="md" variant="outline" color="secondary" label="Part-based Styling" style="--btn-bg: #111827;"></ui-button>
2115
2221
  </div>
2116
2222
 
2117
2223
  <ui-dialog-box id="dSlotsAdvanced" icon-library="lucide" width="500px" ok-text="Primary Action" cancel-text="Secondary">
2118
- <div slot="title" style="color: #ec4899; font-weight: 800; display: flex; align-items: center; gap: 8px;">
2224
+ <div slot="title" style="color:var(--accent-pink,#ec4899); font-weight: 800; display: flex; align-items: center; gap: 8px;">
2119
2225
  <ui-icon name="heart" size="20px"></ui-icon> Custom Title Slot
2120
2226
  </div>
2121
- <div slot="subtitle" style="color: #6366f1; font-style: italic;">
2227
+ <div slot="subtitle" style="color:var(--accent-indigo,#6366f1); font-style: italic;">
2122
2228
  This subtitle is injected via slot="subtitle"
2123
2229
  </div>
2124
- <div slot="body" style="padding: 20px; background: #fdf2f8; border-radius: 12px; border: 1px dashed #ec4899;">
2230
+ <div slot="body" style="padding: 20px; background:var(--accent-pink-soft,#fdf2f8); border-radius: 12px; border: 1px dashed #ec4899;">
2125
2231
  <p>This entire body area is controlled by <b>slot="body"</b>.</p>
2126
2232
  <ui-button label="Nested Button"></ui-button>
2127
2233
  </div>
@@ -2140,7 +2246,7 @@ export function initDialogDemo() {
2140
2246
  #dPartsStyling::part(header) { background: linear-gradient(90deg, #1e293b, #0f172a); border-bottom: 1px solid #00fff2; color: #00fff2; }
2141
2247
  #dPartsStyling::part(body) { color: #e2e8f0; }
2142
2248
  #dPartsStyling::part(footer) { background: #1e293b; border-top: 1px solid #00fff2; }
2143
- #dPartsStyling::part(ok-btn) { background: #00fff2; color: #0f172a; font-weight: 900; text-transform: uppercase; border-radius: 0; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
2249
+ #dPartsStyling::part(ok-btn) { background: #00fff2; color:var(--text-primary,#0f172a); font-weight: 900; text-transform: uppercase; border-radius: 0; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
2144
2250
  </style>
2145
2251
  </div>
2146
2252
  `;
@@ -2150,9 +2256,9 @@ export function initDialogDemo() {
2150
2256
  const container = document.getElementById('dialogDemoContainer');
2151
2257
  if (!container) return;
2152
2258
  container.innerHTML = `
2153
- <div class="demo-block" style="padding: 24px; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0;">
2154
- <h3 style="margin-top: 0; color: #1e293b;">💬 Enterprise MessageBox</h3>
2155
- <p style="color: #64748b; font-size: 14px; line-height: 1.6;">
2259
+ <div class="demo-block" style="padding: 24px; background:var(--bg-secondary,#f8fafc); border-radius: 12px; border:1px solid var(--border-default,#e2e8f0);">
2260
+ <h3 style="margin-top: 0; color:var(--text-primary,#1e293b);">💬 Enterprise MessageBox</h3>
2261
+ <p style="color:var(--text-secondary,#64748b); font-size: 14px; line-height: 1.6;">
2156
2262
  Simplified modal layout optimized for system notifications and informational alerts. Centers the content and provides high-visibility headers.
2157
2263
  </p>
2158
2264
  <ui-button onclick="openDialog('msgBoxDialog')" size="md" variant="outline" color="secondary" label="Open MessageBox" style="margin-top: 12px; --btn-bg: #5b21b6;"></ui-button>
@@ -2161,7 +2267,7 @@ export function initDialogDemo() {
2161
2267
  <div style="padding: 24px; text-align: center;">
2162
2268
  <div style="font-size: 48px; margin-bottom: 16px;">✅</div>
2163
2269
  <p style="margin: 0; font-weight: 600; font-size: 18px;">Deployment Successful</p>
2164
- <p style="color: #64748b; margin-top: 8px;">All assets have been optimized and synchronized with the production cluster in <b>us-east-1</b>.</p>
2270
+ <p style="color:var(--text-secondary,#64748b); margin-top: 8px;">All assets have been optimized and synchronized with the production cluster in <b>us-east-1</b>.</p>
2165
2271
  </div>
2166
2272
  </ui-dialog-box>
2167
2273
  `;
@@ -2171,12 +2277,12 @@ export function initDialogDemo() {
2171
2277
  const container = document.getElementById('dialogDemoContainer');
2172
2278
  if (!container) return;
2173
2279
  container.innerHTML = `
2174
- <div class="demo-block" style="padding: 24px; background: #fef2f2; border-radius: 12px; border: 1px solid #fee2e2;">
2280
+ <div class="demo-block" style="padding: 24px; background:var(--accent-red-soft,#fef2f2); border-radius: 12px; border: 1px solid #fee2e2;">
2175
2281
  <h3 style="margin-top: 0; color: #991b1b;">🗑️ High-Stakes Confirmation</h3>
2176
- <p style="color: #b91c1c; font-size: 14px; line-height: 1.6;">
2282
+ <p style="color:var(--accent-red,#b91c1c); font-size: 14px; line-height: 1.6;">
2177
2283
  Specialized "confirm" type for destructive actions. Features custom confirmation text that must be acknowledged before proceeding.
2178
2284
  </p>
2179
- <ui-button onclick="openDialog('confirmDangerDialog')" size="md" variant="outline" color="danger" label="Delete Production Database" style="margin-top: 12px; --btn-bg: #dc2626;"></ui-button>
2285
+ <ui-button onclick="openDialog('confirmDangerDialog')" size="md" variant="outline" color="danger" label="Delete Production Database" style="margin-top: 12px; --btn-bg: var(--accent-red,#dc2626);"></ui-button>
2180
2286
  </div>
2181
2287
  <ui-dialog-box id="confirmDangerDialog"
2182
2288
  type="confirm"
@@ -2202,8 +2308,8 @@ export function initDialogDemo() {
2202
2308
  <div class="demo-block" style="padding: 20px; background: #f3f4f6; border-radius: 12px; border: 1px dashed #d1d5db;">
2203
2309
  <h3 style="margin-top: 0;">✍️ Alert Input (Prompt)</h3>
2204
2310
  <p style="color: #6b7280; font-size: 14px;">Built-in input field for collecting user input with full async result support.</p>
2205
- <ui-button id="promptBtn" size="md" variant="outline" color="secondary" label="Launch Prompt" style="--btn-bg: #0891b2;"></ui-button>
2206
- <div id="promptResult" style="margin-top: 16px; min-height: 40px; padding: 12px; background: white; border-radius: 6px; border: 1px solid #e5e7eb; display: flex; align-items: center;">
2311
+ <ui-button id="promptBtn" size="md" variant="outline" color="secondary" label="Launch Prompt" style="--btn-bg: var(--accent-cyan,#0891b2);"></ui-button>
2312
+ <div id="promptResult" style="margin-top: 16px; min-height: 40px; padding: 12px; background:var(--bg-primary,white); border-radius: 6px; border:1px solid var(--border-default,#e5e7eb); display: flex; align-items: center;">
2207
2313
  <span style="color: #9ca3af; font-style: italic;">Results will appear here...</span>
2208
2314
  </div>
2209
2315
  </div>
@@ -2219,7 +2325,7 @@ export function initDialogDemo() {
2219
2325
  resultDisplay.innerHTML = '<span style="color: #10b981;">Waiting for input...</span>';
2220
2326
  const result = await dialog.showWithResult();
2221
2327
  if (result.canceled) {
2222
- resultDisplay.innerHTML = '<span style="color: #ef4444; font-weight: bold;">✕ Creation Canceled</span>';
2328
+ resultDisplay.innerHTML = '<span style="color:var(--accent-red,#ef4444); font-weight: bold;">✕ Creation Canceled</span>';
2223
2329
  } else {
2224
2330
  resultDisplay.innerHTML = `<div style="display: flex; flex-direction: column;"><span style="color: #10b981; font-weight: bold;">✓ Project Initialized Successfully</span><span style="font-size: 12px; color: #6b7280;">Returned Value: ${result.data}</span></div>`;
2225
2331
  }
@@ -2231,13 +2337,13 @@ export function initDialogDemo() {
2231
2337
  const container = document.getElementById('dialogDemoContainer');
2232
2338
  if (!container) return;
2233
2339
  container.innerHTML = `
2234
- <div class="demo-block" style="padding: 24px; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0; margin-bottom: 20px;">
2235
- <h3 style="margin-top: 0; color: #1e293b;">⋮ Enterprise Action Menu</h3>
2236
- <p style="color: #64748b; font-size: 14px; line-height: 1.6;">
2340
+ <div class="demo-block" style="padding: 24px; background:var(--bg-secondary,#f8fafc); border-radius: 12px; border:1px solid var(--border-default,#e2e8f0); margin-bottom: 20px;">
2341
+ <h3 style="margin-top: 0; color:var(--text-primary,#1e293b);">⋮ Enterprise Action Menu</h3>
2342
+ <p style="color:var(--text-secondary,#64748b); font-size: 14px; line-height: 1.6;">
2237
2343
  Elevate headers with context-aware actions. Customize the trigger icon and tooltip title for branded experiences.
2238
2344
  </p>
2239
2345
  <div style="display: flex; gap: 12px; margin-top: 16px;">
2240
- <ui-button onclick="openDialog('menuShowroom1')" size="md" variant="outline" color="primary" label="Standard Menu" style="--btn-bg: #4f46e5;"></ui-button>
2346
+ <ui-button onclick="openDialog('menuShowroom1')" size="md" variant="outline" color="primary" label="Standard Menu" style="--btn-bg: var(--accent-indigo,#4f46e5);"></ui-button>
2241
2347
  <ui-button onclick="openDialog('menuShowroomCustom')" size="md" variant="outline" color="secondary" label="Custom Icon & Title" style="--btn-bg: #0f172a;"></ui-button>
2242
2348
  </div>
2243
2349
  </div>
@@ -2285,16 +2391,16 @@ export function initDialogDemo() {
2285
2391
 
2286
2392
  <div style="display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 30px;">
2287
2393
  <ui-button onclick="spawnTrayDialog('Terminal', 'terminal', 'info')" size="md" variant="outline" color="secondary" label="🖥️ Open Terminal" style="--btn-bg: #1e293b;"></ui-button>
2288
- <ui-button onclick="spawnTrayDialog('Messages', 'message-square', 'success')" size="md" variant="outline" color="success" label="💬 Open Chat" style="--btn-bg: #059669;"></ui-button>
2289
- <ui-button onclick="spawnTrayDialog('Errors', 'alert-circle', 'error')" size="md" variant="outline" color="danger" label="🚨 Open Alerts" style="--btn-bg: #dc2626;"></ui-button>
2290
- <ui-button onclick="spawnManyTrayDialogs(8)" size="md" variant="outline" color="primary" label="🌀 Spawn 8+ Windows" style="--btn-bg: #4f46e5;"></ui-button>
2394
+ <ui-button onclick="spawnTrayDialog('Messages', 'message-square', 'success')" size="md" variant="outline" color="success" label="💬 Open Chat" style="--btn-bg: var(--accent-green,#059669);"></ui-button>
2395
+ <ui-button onclick="spawnTrayDialog('Errors', 'alert-circle', 'error')" size="md" variant="outline" color="danger" label="🚨 Open Alerts" style="--btn-bg: var(--accent-red,#dc2626);"></ui-button>
2396
+ <ui-button onclick="spawnManyTrayDialogs(8)" size="md" variant="outline" color="primary" label="🌀 Spawn 8+ Windows" style="--btn-bg: var(--accent-indigo,#4f46e5);"></ui-button>
2291
2397
  </div>
2292
2398
 
2293
2399
  <div style="background: rgba(59, 130, 246, 0.05); border: 2px dashed #10b981; border-radius: 16px; padding: 40px; text-align: center;">
2294
2400
  <div style="font-size: 24px; margin-bottom: 12px;">👇</div>
2295
2401
  <p style="font-weight: 700; color: #1e3a8a; margin: 0;">MINIMIZE THE WINDOWS ABOVE</p>
2296
2402
  <p style="color: #10b981; font-size: 14px;">They will cluster into the global tray at the bottom center of the screen.</p>
2297
- <p style="color: #64748b; font-size: 13px; margin-top: 20px;"><b>Pro Tip:</b> Use the "≡ All Tabs" menu in the tray to manage many windows at once!</p>
2403
+ <p style="color:var(--text-secondary,#64748b); font-size: 13px; margin-top: 20px;"><b>Pro Tip:</b> Use the "≡ All Tabs" menu in the tray to manage many windows at once!</p>
2298
2404
  </div>
2299
2405
  </div>
2300
2406
  `;
@@ -2319,7 +2425,7 @@ export function initDialogDemo() {
2319
2425
  <h4>${title} Window</h4>
2320
2426
  <p>This window is integrated with the global Tray registry.</p>
2321
2427
  <p>Status: <b style="color: var(--ui-status-color, #1e293b)">${status.toUpperCase()}</b></p>
2322
- <div style="margin-top:20px; padding:12px; background:#f1f5f9; border-radius:8px; font-family:monospace; font-size:12px;">
2428
+ <div style="margin-top:20px; padding:12px; background:var(--bg-tertiary,#f1f5f9); border-radius:8px; font-family:monospace; font-size:12px;">
2323
2429
  const d = document.createElement('ui-dialog-box');<br>
2324
2430
  d.dockLabel = '${title}';<br>
2325
2431
  d.minimized = true;
@@ -2358,37 +2464,37 @@ export function initDialogDemo() {
2358
2464
  container.innerHTML = `
2359
2465
  <div class="demo-block">
2360
2466
  <h3>✨ Glass & Status Showroom</h3>
2361
- <p style="margin-bottom: 30px; color: #64748b;">Showcasing ultra-modern visual variants and status-aware styling.</p>
2467
+ <p style="margin-bottom: 30px; color:var(--text-secondary,#64748b);">Showcasing ultra-modern visual variants and status-aware styling.</p>
2362
2468
 
2363
2469
  <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;">
2364
2470
  <!-- Glass Info -->
2365
2471
  <div style="background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); padding: 24px; border-radius: 16px;">
2366
- <h4 style="margin-top:0; color: #2563eb;">💎 Glass Variant</h4>
2367
- <p style="font-size: 13px; color: #1e40af;">Frosted glass effect with high-fidelity blur. Works best over colorful backgrounds.</p>
2368
- <ui-button onclick="openDialog('showroomGlass')" size="md" variant="outline" color="primary" label="Open Glass" style="--btn-bg: #2563eb;"></ui-button>
2472
+ <h4 style="margin-top:0; color:var(--accent-blue,#2563eb);">💎 Glass Variant</h4>
2473
+ <p style="font-size: 13px; color:var(--accent-blue,#1e40af);">Frosted glass effect with high-fidelity blur. Works best over colorful backgrounds.</p>
2474
+ <ui-button onclick="openDialog('showroomGlass')" size="md" variant="outline" color="primary" label="Open Glass" style="--btn-bg: var(--accent-blue,#2563eb);"></ui-button>
2369
2475
  </div>
2370
2476
 
2371
2477
  <!-- Minimal Primary -->
2372
2478
  <div style="background: rgba(244, 114, 182, 0.1); border: 1px solid rgba(244, 114, 182, 0.2); padding: 24px; border-radius: 16px;">
2373
- <h4 style="margin-top:0; color: #db2777;">📏 Minimal Variant</h4>
2479
+ <h4 style="margin-top:0; color:var(--accent-pink,#db2777);">📏 Minimal Variant</h4>
2374
2480
  <p style="font-size: 13px; color: #9d174d;">Clean, floating look without a background color on the header. Modern and lightweight.</p>
2375
- <ui-button onclick="openDialog('showroomMinimal')" size="md" variant="outline" color="secondary" label="Open Minimal" style="--btn-bg: #db2777;"></ui-button>
2481
+ <ui-button onclick="openDialog('showroomMinimal')" size="md" variant="outline" color="secondary" label="Open Minimal" style="--btn-bg: var(--accent-pink,#db2777);"></ui-button>
2376
2482
  </div>
2377
2483
 
2378
2484
  <!-- Ghost Success -->
2379
2485
  <div style="background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); padding: 24px; border-radius: 16px;">
2380
- <h4 style="margin-top:0; color: #059669;">👻 Ghost Variant</h4>
2381
- <p style="font-size: 13px; color: #065f46;">Fully transparent surface with border emphasis. Minimalist design.</p>
2382
- <ui-button onclick="openDialog('showroomGhost')" size="md" variant="outline" color="success" label="Open Ghost" style="--btn-bg: #059669;"></ui-button>
2486
+ <h4 style="margin-top:0; color:var(--accent-green,#059669);">👻 Ghost Variant</h4>
2487
+ <p style="font-size: 13px; color:var(--accent-green,#065f46);">Fully transparent surface with border emphasis. Minimalist design.</p>
2488
+ <ui-button onclick="openDialog('showroomGhost')" size="md" variant="outline" color="success" label="Open Ghost" style="--btn-bg: var(--accent-green,#059669);"></ui-button>
2383
2489
  </div>
2384
2490
 
2385
2491
  <!-- Status Tints -->
2386
2492
  <div style="background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2); padding: 24px; border-radius: 16px;">
2387
- <h4 style="margin-top:0; color: #d97706;">🎨 Status Tints</h4>
2388
- <p style="font-size: 13px; color: #92400e;">Automatic top-border and icon tinting based on status (info, success, warning, error).</p>
2493
+ <h4 style="margin-top:0; color:var(--accent-yellow,#d97706);">🎨 Status Tints</h4>
2494
+ <p style="font-size: 13px; color:var(--accent-yellow,#92400e);">Automatic top-border and icon tinting based on status (info, success, warning, error).</p>
2389
2495
  <div style="display:flex; gap:8px;">
2390
2496
  <ui-button onclick="document.getElementById('showroomStatus').status='error'; openDialog('showroomStatus')" size="md" variant="outline" color="danger" label="Error"></ui-button>
2391
- <ui-button onclick="document.getElementById('showroomStatus').status='warning'; openDialog('showroomStatus')" size="md" variant="outline" color="warning" label="Warning" style="--btn-bg: #d97706;"></ui-button>
2497
+ <ui-button onclick="document.getElementById('showroomStatus').status='warning'; openDialog('showroomStatus')" size="md" variant="outline" color="warning" label="Warning" style="--btn-bg: var(--accent-yellow,#d97706);"></ui-button>
2392
2498
  <ui-button onclick="document.getElementById('showroomStatus').status='success'; openDialog('showroomStatus')" size="md" variant="outline" color="success" label="Success"></ui-button>
2393
2499
  </div>
2394
2500
  </div>
@@ -2429,29 +2535,29 @@ export function initDialogDemo() {
2429
2535
  container.innerHTML = `
2430
2536
  <div class="demo-block">
2431
2537
  <h3>🧠 Advanced Enterprise Logic</h3>
2432
- <p style="margin-bottom: 24px; color: #64748b;">Showcasing recursive nesting, time-sensitive alerts, and layout persistence.</p>
2538
+ <p style="margin-bottom: 24px; color:var(--text-secondary,#64748b);">Showcasing recursive nesting, time-sensitive alerts, and layout persistence.</p>
2433
2539
 
2434
2540
  <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;">
2435
2541
  <!-- Recursive Nesting -->
2436
- <div style="background: white; border: 1px solid #e2e8f0; padding: 24px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);">
2437
- <h4 style="margin: 0 0 10px 0; color: #7c3aed;">🌳 Triple Nesting</h4>
2542
+ <div style="background:var(--bg-primary,white); border:1px solid var(--border-default,#e2e8f0); padding: 24px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);">
2543
+ <h4 style="margin: 0 0 10px 0; color:var(--accent-purple,#7c3aed);">🌳 Triple Nesting</h4>
2438
2544
  <p style="font-size: 13px; color: #6b7280; line-height: 1.5; margin-bottom: 20px;">
2439
2545
  Demonstrates automatic backdrop dimming, focus trapping, and recursive z-index management across three levels of depth.
2440
2546
  </p>
2441
- <ui-button onclick="openDialog('entNestedP')" size="md" variant="outline" color="primary" label="Launch Nested Tree" style="width: 100%; --btn-bg: #7c3aed;"></ui-button>
2547
+ <ui-button onclick="openDialog('entNestedP')" size="md" variant="outline" color="primary" label="Launch Nested Tree" style="width: 100%; --btn-bg: var(--accent-purple,#7c3aed);"></ui-button>
2442
2548
  </div>
2443
2549
 
2444
2550
  <!-- Auto-Closing Alert -->
2445
- <div style="background: white; border: 1px solid #e2e8f0; padding: 24px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);">
2446
- <h4 style="margin: 0 0 10px 0; color: #f59e0b;">⏱️ Auto-Expiring Alert</h4>
2551
+ <div style="background:var(--bg-primary,white); border:1px solid var(--border-default,#e2e8f0); padding: 24px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);">
2552
+ <h4 style="margin: 0 0 10px 0; color:var(--accent-yellow,#f59e0b);">⏱️ Auto-Expiring Alert</h4>
2447
2553
  <p style="font-size: 13px; color: #6b7280; line-height: 1.5; margin-bottom: 20px;">
2448
2554
  Programmatic lifecycle control with a synchronized countdown timer and progress bar for time-sensitive notifications.
2449
2555
  </p>
2450
- <ui-button onclick="runEntAutoClose()" size="md" variant="outline" color="warning" label="Start Timer Demo" style="width: 100%; --btn-bg: #f59e0b;"></ui-button>
2556
+ <ui-button onclick="runEntAutoClose()" size="md" variant="outline" color="warning" label="Start Timer Demo" style="width: 100%; --btn-bg: var(--accent-yellow,#f59e0b);"></ui-button>
2451
2557
  </div>
2452
2558
 
2453
2559
  <!-- Workspace Persistence -->
2454
- <div style="background: white; border: 1px solid #e2e8f0; padding: 24px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);">
2560
+ <div style="background:var(--bg-primary,white); border:1px solid var(--border-default,#e2e8f0); padding: 24px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);">
2455
2561
  <h4 style="margin: 0 0 10px 0; color: #10b981;">💾 Layout Persistence</h4>
2456
2562
  <p style="font-size: 13px; color: #6b7280; line-height: 1.5; margin-bottom: 20px;">
2457
2563
  Remembers window position and size across page reloads using localStorage. Drag/resize then refresh the browser.
@@ -2460,7 +2566,7 @@ export function initDialogDemo() {
2460
2566
  </div>
2461
2567
 
2462
2568
  <!-- Custom Sizing -->
2463
- <div style="background: white; border: 1px solid #e2e8f0; padding: 24px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);">
2569
+ <div style="background:var(--bg-primary,white); border:1px solid var(--border-default,#e2e8f0); padding: 24px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);">
2464
2570
  <h4 style="margin: 0 0 10px 0; color: #10b981;">📐 Custom Dimension</h4>
2465
2571
  <p style="font-size: 13px; color: #6b7280; line-height: 1.5; margin-bottom: 20px;">
2466
2572
  Bypass semantic sizing (sm, md, lg) and define pixel-perfect footprints.
@@ -2479,14 +2585,14 @@ export function initDialogDemo() {
2479
2585
  <div style="padding: 24px;">
2480
2586
  <h4 style="margin-top:0">System Root</h4>
2481
2587
  <p>Stacked z-index management and recursive backdrop scaling are handled natively.</p>
2482
- <ui-button onclick="openDialog('entNestedC1')" size="md" variant="outline" color="primary" label="Open Level 2" style="--btn-bg: #7c3aed;"></ui-button>
2588
+ <ui-button onclick="openDialog('entNestedC1')" size="md" variant="outline" color="primary" label="Open Level 2" style="--btn-bg: var(--accent-purple,#7c3aed);"></ui-button>
2483
2589
  </div>
2484
2590
 
2485
2591
  <ui-dialog-box id="entNestedC1" dialog-title="Module Layer [Level 2]" ok-text="Save Module" cancel-text="Close" icon="package" icon-library="lucide" width="450px" portal="false">
2486
2592
  <div style="padding: 24px;">
2487
2593
  <h4 style="margin-top:0">Intermediate Node</h4>
2488
2594
  <p>Focus is trapped within this window until dismissed.</p>
2489
- <ui-button onclick="openDialog('entNestedC2')" size="md" variant="outline" color="primary" label="Open Level 3" style="--btn-bg: #7c3aed;"></ui-button>
2595
+ <ui-button onclick="openDialog('entNestedC2')" size="md" variant="outline" color="primary" label="Open Level 3" style="--btn-bg: var(--accent-purple,#7c3aed);"></ui-button>
2490
2596
  </div>
2491
2597
 
2492
2598
  <ui-dialog-box id="entNestedC2" dialog-title="Detail Layer [Level 3]" ok-text="Finish" cancel-text="Close" icon="search" icon-library="lucide" width="350px" portal="false">
@@ -2500,7 +2606,7 @@ export function initDialogDemo() {
2500
2606
 
2501
2607
  <ui-dialog-box id="entRemember" ok-text="Save Workspace" cancel-text="Close" remember="true" draggable="true" dialog-title="Workspace Restore" subtitle="State Persistence Demo" icon="hard-drive" icon-library="lucide" width="400px">
2502
2608
  <div style="padding: 24px;">
2503
- <div style="background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; padding: 16px; border-radius: 8px; font-size: 14px;">
2609
+ <div style="background:var(--accent-blue-soft,#eff6ff); border: 1px solid #bfdbfe; color:var(--accent-blue,#1e40af); padding: 16px; border-radius: 8px; font-size: 14px;">
2504
2610
  <strong>Instruction:</strong> Position this window anywhere and resize it. Refresh the page to see it reappear exactly here.
2505
2611
  </div>
2506
2612
  </div>
@@ -2524,7 +2630,7 @@ export function initDialogDemo() {
2524
2630
  <h2 style="margin: 0">Auto-Finalizing</h2> \
2525
2631
  <p>Session sync will complete and close in <span id="ent-timer-val">3</span>s...</p> \
2526
2632
  <div style="height: 4px; background: #e2e8f0; width: 100%; margin-top: 15px; border-radius: 2px; overflow: hidden"> \
2527
- <div id="ent-timer-progress" style="height: 100%; background: #f59e0b; width: 100%; transition: width 3s linear"></div> \
2633
+ <div id="ent-timer-progress" style="height: 100%; background: var(--accent-yellow,#f59e0b); width: 100%; transition: width 3s linear"></div> \
2528
2634
  </div> \
2529
2635
  </div> \
2530
2636
  ';