atomicuilibrary 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (395) hide show
  1. package/dist/cjs/category-section.cjs.entry.js +1 -1
  2. package/dist/cjs/exploration-project-tailwind.cjs.js +1 -1
  3. package/dist/cjs/layout-manager.cjs.entry.js +1 -1
  4. package/dist/cjs/library-card.cjs.entry.js +1 -1
  5. package/dist/cjs/lm-container_2.cjs.entry.js +1 -1
  6. package/dist/cjs/lm-panel_3.cjs.entry.js +4 -4
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/my-step.cjs.entry.js +1 -1
  9. package/dist/cjs/nav-bar.cjs.entry.js +2 -2
  10. package/dist/cjs/{security-E1JcwxGc.js → security-CNaNip8F.js} +88 -154
  11. package/dist/cjs/smart-step.cjs.entry.js +2 -2
  12. package/dist/cjs/timeline-item.cjs.entry.js +1 -1
  13. package/dist/cjs/{ui-accordion_10.cjs.entry.js → ui-accordion_11.cjs.entry.js} +613 -26
  14. package/dist/cjs/ui-advanced-data-table.cjs.entry.js +1 -1
  15. package/dist/cjs/ui-anchor.cjs.entry.js +1 -1
  16. package/dist/cjs/ui-aside-panel.cjs.entry.js +5 -5
  17. package/dist/cjs/ui-avatar-group_3.cjs.entry.js +5 -5
  18. package/dist/cjs/ui-callout-banner.cjs.entry.js +1 -1
  19. package/dist/cjs/ui-card.cjs.entry.js +26 -4
  20. package/dist/cjs/ui-checkbox.cjs.entry.js +2 -2
  21. package/dist/cjs/ui-code-editor.cjs.entry.js +2 -2
  22. package/dist/cjs/ui-code-preview.cjs.entry.js +1 -1
  23. package/dist/cjs/ui-color-controller.cjs.entry.js +1 -1
  24. package/dist/cjs/ui-dialog-box.cjs.entry.js +1 -1
  25. package/dist/cjs/ui-dock-host.cjs.entry.js +3 -3
  26. package/dist/cjs/ui-drag-drop.cjs.entry.js +1 -1
  27. package/dist/cjs/ui-empty-state.cjs.entry.js +1 -1
  28. package/dist/cjs/ui-fab-item.cjs.entry.js +1 -1
  29. package/dist/cjs/ui-fab.cjs.entry.js +2 -2
  30. package/dist/cjs/ui-library.cjs.entry.js +1 -1
  31. package/dist/cjs/ui-list-group_2.cjs.entry.js +9 -5
  32. package/dist/cjs/ui-list.cjs.entry.js +4 -4
  33. package/dist/cjs/ui-navigation-item.cjs.entry.js +3 -3
  34. package/dist/cjs/ui-otp-input.cjs.entry.js +2 -2
  35. package/dist/cjs/{ui-pagination_3.cjs.entry.js → ui-pagination_4.cjs.entry.js} +202 -0
  36. package/dist/cjs/ui-pattern-input.cjs.entry.js +5 -5
  37. package/dist/cjs/ui-popover.cjs.entry.js +1 -1
  38. package/dist/cjs/ui-progress.cjs.entry.js +101 -17
  39. package/dist/cjs/ui-resizable-panel.cjs.entry.js +1 -1
  40. package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +2 -2
  41. package/dist/cjs/ui-smart-stepper.cjs.entry.js +1 -1
  42. package/dist/cjs/ui-snackbar.cjs.entry.js +1 -1
  43. package/dist/cjs/ui-step.cjs.entry.js +1 -1
  44. package/dist/cjs/ui-stepper.cjs.entry.js +1 -1
  45. package/dist/cjs/ui-switch.cjs.entry.js +9 -9
  46. package/dist/cjs/ui-tabs.cjs.entry.js +1 -1
  47. package/dist/cjs/ui-timeline.cjs.entry.js +1 -1
  48. package/dist/cjs/ui-toolbar.cjs.entry.js +1 -1
  49. package/dist/cjs/ui-tooltip.cjs.entry.js +4 -4
  50. package/dist/cjs/ui-transfer-list.cjs.entry.js +1 -1
  51. package/dist/cjs/ui-workspace-manager.cjs.entry.js +1 -1
  52. package/dist/collection/assets/js/demo-loader.js +0 -1
  53. package/dist/collection/assets/js/demos/accordion-demo.js +189 -0
  54. package/dist/collection/assets/js/demos/advanced-data-table-demo.js +213 -214
  55. package/dist/collection/assets/js/demos/aside-panel-demo.js +6 -6
  56. package/dist/collection/assets/js/demos/button-demo.js +60 -1
  57. package/dist/collection/assets/js/demos/callout-banner-demo.js +324 -34
  58. package/dist/collection/assets/js/demos/card-demo.js +108 -61
  59. package/dist/collection/assets/js/demos/context-menu-demo.js +433 -12
  60. package/dist/collection/assets/js/demos/dock-demo.js +80 -60
  61. package/dist/collection/assets/js/demos/documentation-demo.js +227 -22
  62. package/dist/collection/assets/js/demos/empty-state-demo.js +10 -10
  63. package/dist/collection/assets/js/demos/list-demo.js +41 -18
  64. package/dist/collection/assets/js/demos/masonry-demo.js +164 -0
  65. package/dist/collection/assets/js/demos/progress-demo.js +701 -8
  66. package/dist/collection/assets/js/demos/radio-demo.js +1 -1
  67. package/dist/collection/assets/js/demos/splitter-demo.js +137 -0
  68. package/dist/collection/assets/js/demos/tag-demo.js +48 -18
  69. package/dist/collection/assets/js/demos/timeline-demo.js +20 -7
  70. package/dist/collection/assets/js/demos/tooltip-demo.js +26 -26
  71. package/dist/collection/assets/js/demos/tree-demo.js +28 -10
  72. package/dist/collection/collection-manifest.json +1 -4
  73. package/dist/collection/components/accordion/accordion.css +301 -0
  74. package/dist/collection/components/accordion/accordion.js +40 -8
  75. package/dist/collection/components/advanced-data-table/advanced-data-table.css +19 -5
  76. package/dist/collection/components/anchor/anchor.css +0 -2
  77. package/dist/collection/components/aside-panel/aside-panel.css +1 -3
  78. package/dist/collection/components/aside-panel/aside-panel.js +5 -5
  79. package/dist/collection/components/avatar/avatar.js +1 -1
  80. package/dist/collection/components/badge/badge.css +1 -0
  81. package/dist/collection/components/badge/badge.js +1 -1
  82. package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
  83. package/dist/collection/components/button/button.css +131 -0
  84. package/dist/collection/components/button/button.js +128 -9
  85. package/dist/collection/components/card/card.css +83 -31
  86. package/dist/collection/components/card/card.js +46 -3
  87. package/dist/collection/components/checkbox/checkbox.css +8 -10
  88. package/dist/collection/components/checkbox/checkbox.js +2 -2
  89. package/dist/collection/components/code-editor/code-editor.js +1 -1
  90. package/dist/collection/components/code-preview/ui-code-preview.js +1 -1
  91. package/dist/collection/components/color-controller/color-controller.js +1 -1
  92. package/dist/collection/components/context-menu/context-menu.css +3 -3
  93. package/dist/collection/components/dialog-box/dialog-box.js +1 -1
  94. package/dist/collection/components/dialog-header/dialog-header.js +1 -1
  95. package/dist/collection/components/dock-host/ui-dock-host.js +3 -3
  96. package/dist/collection/components/drag-drop/drag-drop.js +1 -1
  97. package/dist/collection/components/empty-state/empty-state.js +1 -1
  98. package/dist/collection/components/fab/fab.js +2 -2
  99. package/dist/collection/components/fab-item/fab-item.js +1 -1
  100. package/dist/collection/components/horizontal-nav/horizontal-nav.js +2 -2
  101. package/dist/collection/components/icon/icon.js +1 -1
  102. package/dist/collection/components/input/input.js +4 -4
  103. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  104. package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +1 -1
  105. package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +1 -1
  106. package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +1 -1
  107. package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +1 -1
  108. package/dist/collection/components/library/category-section.js +1 -1
  109. package/dist/collection/components/library/library-card.js +1 -1
  110. package/dist/collection/components/library/library.js +1 -1
  111. package/dist/collection/components/list/list.js +4 -4
  112. package/dist/collection/components/list-item/list-item.css +24 -0
  113. package/dist/collection/components/list-item/list-item.js +35 -4
  114. package/dist/collection/components/loader/loader.css +1635 -0
  115. package/dist/collection/components/loader/loader.js +1120 -0
  116. package/dist/collection/components/my-step/my-step.js +1 -1
  117. package/dist/collection/components/nav-bar/nav-bar.js +6 -6
  118. package/dist/collection/components/otp-input/otp-input.js +2 -2
  119. package/dist/collection/components/pattern-input/pattern-input.js +5 -5
  120. package/dist/collection/components/progress/progress.css +150 -15
  121. package/dist/collection/components/progress/progress.js +180 -18
  122. package/dist/collection/components/radio/radio.css +3 -3
  123. package/dist/collection/components/radio/radio.js +1 -1
  124. package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
  125. package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +2 -2
  126. package/dist/collection/components/smart-stepper/smart-step.js +2 -2
  127. package/dist/collection/components/smart-stepper/smart-stepper.js +1 -1
  128. package/dist/collection/components/snackbar/snackbar.js +1 -1
  129. package/dist/collection/components/speed-dial/speed-dial.js +1 -1
  130. package/dist/collection/components/stack/stack.js +2 -2
  131. package/dist/collection/components/step/step.js +1 -1
  132. package/dist/collection/components/switch/switch.js +10 -10
  133. package/dist/collection/components/tag-group/tag-group.js +2 -2
  134. package/dist/collection/components/timeline-item/timeline-item.js +1 -1
  135. package/dist/collection/components/toolbar/toolbar.js +1 -1
  136. package/dist/collection/components/tooltip/tooltip.js +3 -3
  137. package/dist/collection/components/top-bar/top-bar.js +2 -2
  138. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +19 -4
  139. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +6 -6
  140. package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
  141. package/dist/collection/components.js +1 -0
  142. package/dist/components/avatar-group.js +1 -1
  143. package/dist/components/avatar.js +1 -1
  144. package/dist/components/badge.js +1 -1
  145. package/dist/components/button-toggle.js +1 -1
  146. package/dist/components/category-section2.js +1 -1
  147. package/dist/components/checkbox.js +1 -1
  148. package/dist/components/context-menu.js +1 -1
  149. package/dist/components/dialog-header.js +1 -1
  150. package/dist/components/dropdown.js +1 -1
  151. package/dist/components/icon.js +2 -2
  152. package/dist/components/input.js +1 -1
  153. package/dist/components/layout-manager.js +1 -1
  154. package/dist/components/library-card2.js +1 -1
  155. package/dist/components/list-group.js +1 -1
  156. package/dist/components/list-item.js +1 -1
  157. package/dist/components/lm-container2.js +1 -1
  158. package/dist/components/lm-floating-window2.js +1 -1
  159. package/dist/components/lm-panel2.js +1 -1
  160. package/dist/components/lm-splitter2.js +1 -1
  161. package/dist/components/lm-tabs2.js +1 -1
  162. package/dist/components/loader.js +1 -0
  163. package/dist/components/my-step.js +1 -1
  164. package/dist/components/nav-bar.js +1 -1
  165. package/dist/components/pagination.js +1 -1
  166. package/dist/components/radio.js +1 -1
  167. package/dist/components/range-slider.js +1 -1
  168. package/dist/components/rating.js +1 -1
  169. package/dist/components/resizable-panel.js +1 -1
  170. package/dist/components/skeleton-loader.js +1 -1
  171. package/dist/components/smart-step.js +1 -1
  172. package/dist/components/stack.js +1 -1
  173. package/dist/components/switch.js +1 -1
  174. package/dist/components/tag-group.js +1 -1
  175. package/dist/components/tag.js +1 -1
  176. package/dist/components/timeline-item.js +1 -1
  177. package/dist/components/toggle-group.js +1 -1
  178. package/dist/components/tooltip.js +1 -1
  179. package/dist/components/ui-accordion.js +1 -1
  180. package/dist/components/ui-advanced-data-table.js +1 -1
  181. package/dist/components/ui-anchor.js +1 -1
  182. package/dist/components/ui-aside-panel.js +1 -1
  183. package/dist/components/ui-breadcrumb-item.js +1 -1
  184. package/dist/components/ui-breadcrumb.js +1 -1
  185. package/dist/components/ui-button-toggle-group.js +1 -1
  186. package/dist/components/ui-callout-banner.js +1 -1
  187. package/dist/components/ui-card.js +1 -1
  188. package/dist/components/ui-carousel.js +1 -1
  189. package/dist/components/ui-code-editor.js +1 -1
  190. package/dist/components/ui-code-preview.js +1 -1
  191. package/dist/components/ui-color-controller.js +1 -1
  192. package/dist/components/ui-color-picker.js +1 -1
  193. package/dist/components/ui-command-palette.js +1 -1
  194. package/dist/components/ui-dialog-box.js +1 -1
  195. package/dist/components/ui-divider.js +1 -1
  196. package/dist/components/ui-dock-host.js +1 -1
  197. package/dist/components/ui-dock.js +1 -1
  198. package/dist/components/ui-drag-drop.js +1 -1
  199. package/dist/components/ui-empty-state.js +1 -1
  200. package/dist/components/ui-fab-item.js +1 -1
  201. package/dist/components/ui-fab.js +1 -1
  202. package/dist/components/ui-file-upload.js +1 -1
  203. package/dist/components/ui-horizontal-nav.js +1 -1
  204. package/dist/components/ui-knob.js +1 -1
  205. package/dist/components/ui-library.js +1 -1
  206. package/dist/components/ui-list.js +1 -1
  207. package/dist/components/{ui-input-pair.d.ts → ui-loader.d.ts} +4 -4
  208. package/dist/components/ui-loader.js +1 -0
  209. package/dist/components/ui-masonry.js +1 -1
  210. package/dist/components/ui-meter-group.js +1 -1
  211. package/dist/components/ui-navigation-bar.js +1 -1
  212. package/dist/components/ui-navigation-item.js +1 -1
  213. package/dist/components/ui-number-input.js +1 -1
  214. package/dist/components/ui-otp-input.js +1 -1
  215. package/dist/components/ui-panel.js +1 -1
  216. package/dist/components/ui-pattern-input.js +1 -1
  217. package/dist/components/ui-popover.js +1 -1
  218. package/dist/components/ui-progress.js +1 -1
  219. package/dist/components/ui-scroll-top.js +1 -1
  220. package/dist/components/ui-smart-context-menu.js +1 -1
  221. package/dist/components/ui-smart-location-dropdown.js +1 -1
  222. package/dist/components/ui-smart-stepper.js +1 -1
  223. package/dist/components/ui-snackbar.js +1 -1
  224. package/dist/components/ui-speed-dial.js +1 -1
  225. package/dist/components/ui-splitter.js +1 -1
  226. package/dist/components/ui-step.js +1 -1
  227. package/dist/components/ui-stepper.js +1 -1
  228. package/dist/components/ui-tabs.js +1 -1
  229. package/dist/components/ui-timeline.js +1 -1
  230. package/dist/components/ui-timer.js +1 -1
  231. package/dist/components/ui-toolbar.js +1 -1
  232. package/dist/components/ui-top-bar.js +1 -1
  233. package/dist/components/ui-transfer-list.js +1 -1
  234. package/dist/components/ui-tree.js +1 -1
  235. package/dist/components/ui-workspace-manager.js +1 -1
  236. package/dist/esm/category-section.entry.js +1 -1
  237. package/dist/esm/exploration-project-tailwind.js +1 -1
  238. package/dist/esm/layout-manager.entry.js +1 -1
  239. package/dist/esm/library-card.entry.js +1 -1
  240. package/dist/esm/lm-container_2.entry.js +1 -1
  241. package/dist/esm/lm-panel_3.entry.js +4 -4
  242. package/dist/esm/loader.js +1 -1
  243. package/dist/esm/my-step.entry.js +1 -1
  244. package/dist/esm/nav-bar.entry.js +2 -2
  245. package/dist/esm/{security-D2WzX6vR.js → security-Dyu3Nplq.js} +88 -154
  246. package/dist/esm/smart-step.entry.js +2 -2
  247. package/dist/esm/timeline-item.entry.js +1 -1
  248. package/dist/esm/{ui-accordion_10.entry.js → ui-accordion_11.entry.js} +613 -27
  249. package/dist/esm/ui-advanced-data-table.entry.js +1 -1
  250. package/dist/esm/ui-anchor.entry.js +1 -1
  251. package/dist/esm/ui-aside-panel.entry.js +5 -5
  252. package/dist/esm/ui-avatar-group_3.entry.js +5 -5
  253. package/dist/esm/ui-callout-banner.entry.js +1 -1
  254. package/dist/esm/ui-card.entry.js +26 -4
  255. package/dist/esm/ui-checkbox.entry.js +2 -2
  256. package/dist/esm/ui-code-editor.entry.js +2 -2
  257. package/dist/esm/ui-code-preview.entry.js +1 -1
  258. package/dist/esm/ui-color-controller.entry.js +1 -1
  259. package/dist/esm/ui-dialog-box.entry.js +1 -1
  260. package/dist/esm/ui-dock-host.entry.js +3 -3
  261. package/dist/esm/ui-drag-drop.entry.js +1 -1
  262. package/dist/esm/ui-empty-state.entry.js +1 -1
  263. package/dist/esm/ui-fab-item.entry.js +1 -1
  264. package/dist/esm/ui-fab.entry.js +2 -2
  265. package/dist/esm/ui-library.entry.js +1 -1
  266. package/dist/esm/ui-list-group_2.entry.js +9 -5
  267. package/dist/esm/ui-list.entry.js +4 -4
  268. package/dist/esm/ui-navigation-item.entry.js +3 -3
  269. package/dist/esm/ui-otp-input.entry.js +2 -2
  270. package/dist/esm/{ui-pagination_3.entry.js → ui-pagination_4.entry.js} +202 -1
  271. package/dist/esm/ui-pattern-input.entry.js +5 -5
  272. package/dist/esm/ui-popover.entry.js +1 -1
  273. package/dist/esm/ui-progress.entry.js +101 -17
  274. package/dist/esm/ui-resizable-panel.entry.js +1 -1
  275. package/dist/esm/ui-smart-location-dropdown.entry.js +2 -2
  276. package/dist/esm/ui-smart-stepper.entry.js +1 -1
  277. package/dist/esm/ui-snackbar.entry.js +1 -1
  278. package/dist/esm/ui-step.entry.js +1 -1
  279. package/dist/esm/ui-stepper.entry.js +1 -1
  280. package/dist/esm/ui-switch.entry.js +9 -9
  281. package/dist/esm/ui-tabs.entry.js +1 -1
  282. package/dist/esm/ui-timeline.entry.js +1 -1
  283. package/dist/esm/ui-toolbar.entry.js +1 -1
  284. package/dist/esm/ui-tooltip.entry.js +4 -4
  285. package/dist/esm/ui-transfer-list.entry.js +1 -1
  286. package/dist/esm/ui-workspace-manager.entry.js +1 -1
  287. package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
  288. package/dist/exploration-project-tailwind/{p-c7e87fbb.entry.js → p-036d2a44.entry.js} +1 -1
  289. package/dist/exploration-project-tailwind/{p-62352ef2.entry.js → p-05a436d3.entry.js} +1 -1
  290. package/dist/exploration-project-tailwind/{p-a4f52a76.entry.js → p-16bdd162.entry.js} +1 -1
  291. package/dist/exploration-project-tailwind/{p-85bf89fd.entry.js → p-20ecc116.entry.js} +1 -1
  292. package/dist/exploration-project-tailwind/p-2347d21b.entry.js +1 -0
  293. package/dist/exploration-project-tailwind/p-3d381f75.entry.js +1 -0
  294. package/dist/exploration-project-tailwind/{p-e5322e59.entry.js → p-4288c158.entry.js} +1 -1
  295. package/dist/exploration-project-tailwind/{p-2f1aebb3.entry.js → p-4417a9d8.entry.js} +1 -1
  296. package/dist/exploration-project-tailwind/{p-049744f9.entry.js → p-44742ddd.entry.js} +1 -1
  297. package/dist/exploration-project-tailwind/{p-73d29a4a.entry.js → p-4aaa8e40.entry.js} +1 -1
  298. package/dist/exploration-project-tailwind/{p-6fa9dc15.entry.js → p-4bef8bed.entry.js} +1 -1
  299. package/dist/exploration-project-tailwind/{p-64e3a484.entry.js → p-4efd63ce.entry.js} +1 -1
  300. package/dist/exploration-project-tailwind/{p-c5ddc817.entry.js → p-54965530.entry.js} +1 -1
  301. package/dist/exploration-project-tailwind/p-5c835d90.entry.js +1 -0
  302. package/dist/exploration-project-tailwind/{p-4de419d5.entry.js → p-6b838549.entry.js} +1 -1
  303. package/dist/exploration-project-tailwind/{p-c174a372.entry.js → p-6ddbee42.entry.js} +1 -1
  304. package/dist/exploration-project-tailwind/{p-7515b1e3.entry.js → p-70bacda8.entry.js} +1 -1
  305. package/dist/exploration-project-tailwind/{p-9fa70359.entry.js → p-71d95bb1.entry.js} +1 -1
  306. package/dist/exploration-project-tailwind/{p-2d273118.entry.js → p-7889bfc4.entry.js} +1 -1
  307. package/dist/exploration-project-tailwind/{p-0b004861.entry.js → p-790556f0.entry.js} +1 -1
  308. package/dist/exploration-project-tailwind/{p-f5719913.entry.js → p-7ba2258a.entry.js} +1 -1
  309. package/dist/exploration-project-tailwind/{p-81961fb1.entry.js → p-81ebba11.entry.js} +1 -1
  310. package/dist/exploration-project-tailwind/{p-5e3e80ae.entry.js → p-8578b616.entry.js} +1 -1
  311. package/dist/exploration-project-tailwind/{p-3d3d48fd.entry.js → p-8b57fe4e.entry.js} +1 -1
  312. package/dist/exploration-project-tailwind/{p-ffb1754a.entry.js → p-97af03cc.entry.js} +1 -1
  313. package/dist/exploration-project-tailwind/{p-f0830120.entry.js → p-98e91da5.entry.js} +1 -1
  314. package/dist/exploration-project-tailwind/{p-d2308a00.entry.js → p-9bd14f69.entry.js} +1 -1
  315. package/dist/exploration-project-tailwind/p-Dyu3Nplq.js +2 -0
  316. package/dist/exploration-project-tailwind/{p-ba21fed3.entry.js → p-a27f59d2.entry.js} +1 -1
  317. package/dist/exploration-project-tailwind/{p-70d82d79.entry.js → p-a7b07cf4.entry.js} +1 -1
  318. package/dist/exploration-project-tailwind/{p-5508874f.entry.js → p-bd89d060.entry.js} +1 -1
  319. package/dist/exploration-project-tailwind/{p-9d0c8760.entry.js → p-c02284ea.entry.js} +1 -1
  320. package/dist/exploration-project-tailwind/{p-d419eaf0.entry.js → p-c1c8ac28.entry.js} +1 -1
  321. package/dist/exploration-project-tailwind/p-c63c522e.entry.js +1 -0
  322. package/dist/exploration-project-tailwind/{p-c90722ec.entry.js → p-cbee2607.entry.js} +1 -1
  323. package/dist/exploration-project-tailwind/{p-287dbf09.entry.js → p-d114a347.entry.js} +1 -1
  324. package/dist/exploration-project-tailwind/{p-8d951aef.entry.js → p-d2e45c5e.entry.js} +1 -1
  325. package/dist/exploration-project-tailwind/{p-77cc333a.entry.js → p-d59da767.entry.js} +1 -1
  326. package/dist/exploration-project-tailwind/{p-46596a28.entry.js → p-d6ce9721.entry.js} +1 -1
  327. package/dist/exploration-project-tailwind/{p-875be805.entry.js → p-dc92a343.entry.js} +1 -1
  328. package/dist/exploration-project-tailwind/{p-4f6bba75.entry.js → p-e22317c1.entry.js} +1 -1
  329. package/dist/exploration-project-tailwind/{p-d16c9635.entry.js → p-e76318c7.entry.js} +1 -1
  330. package/dist/exploration-project-tailwind/p-e8c6d395.entry.js +1 -0
  331. package/dist/exploration-project-tailwind/{p-c2ca71ac.entry.js → p-eab5ad36.entry.js} +1 -1
  332. package/dist/exploration-project-tailwind/p-f0bc5d7e.entry.js +1 -0
  333. package/dist/exploration-project-tailwind/p-f1beee72.entry.js +1 -0
  334. package/dist/exploration-project-tailwind/p-f543392f.entry.js +1 -0
  335. package/dist/exploration-project-tailwind/{p-46efdea3.entry.js → p-f61cfb7c.entry.js} +1 -1
  336. package/dist/exploration-project-tailwind/{p-77124686.entry.js → p-fb4aca69.entry.js} +1 -1
  337. package/dist/types/components/accordion/accordion.d.ts +10 -2
  338. package/dist/types/components/button/button.d.ts +9 -0
  339. package/dist/types/components/card/card.d.ts +4 -0
  340. package/dist/types/components/list-item/list-item.d.ts +1 -0
  341. package/dist/types/components/loader/loader.d.ts +145 -0
  342. package/dist/types/components/progress/progress.d.ts +34 -2
  343. package/dist/types/components.d.ts +509 -993
  344. package/dist/types/types/common.d.ts +1 -1
  345. package/dist/types/types/common.type.d.ts +1 -1
  346. package/package.json +8 -7
  347. package/dist/cjs/ui-checkbox-group.cjs.entry.js +0 -330
  348. package/dist/cjs/ui-image-button.cjs.entry.js +0 -67
  349. package/dist/cjs/ui-input-pair.cjs.entry.js +0 -44
  350. package/dist/cjs/ui-radio-group.cjs.entry.js +0 -205
  351. package/dist/cjs/ui-radio.cjs.entry.js +0 -206
  352. package/dist/collection/components/checkbox-group/checkbox-group.css +0 -223
  353. package/dist/collection/components/checkbox-group/checkbox-group.js +0 -1001
  354. package/dist/collection/components/checkbox-group/types.js +0 -1
  355. package/dist/collection/components/image-button/image-button.css +0 -154
  356. package/dist/collection/components/image-button/image-button.js +0 -310
  357. package/dist/collection/components/image-button/types.js +0 -1
  358. package/dist/collection/components/input-pair/input-pair.css +0 -72
  359. package/dist/collection/components/input-pair/input-pair.js +0 -309
  360. package/dist/collection/components/radio-group/radio-group.css +0 -202
  361. package/dist/collection/components/radio-group/radio-group.js +0 -903
  362. package/dist/collection/components/radio-group/types.js +0 -1
  363. package/dist/components/ui-checkbox-group.d.ts +0 -11
  364. package/dist/components/ui-checkbox-group.js +0 -1
  365. package/dist/components/ui-image-button.d.ts +0 -11
  366. package/dist/components/ui-image-button.js +0 -1
  367. package/dist/components/ui-input-pair.js +0 -1
  368. package/dist/components/ui-radio-group.d.ts +0 -11
  369. package/dist/components/ui-radio-group.js +0 -1
  370. package/dist/esm/ui-checkbox-group.entry.js +0 -328
  371. package/dist/esm/ui-image-button.entry.js +0 -65
  372. package/dist/esm/ui-input-pair.entry.js +0 -42
  373. package/dist/esm/ui-radio-group.entry.js +0 -203
  374. package/dist/esm/ui-radio.entry.js +0 -204
  375. package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +0 -1
  376. package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +0 -1
  377. package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +0 -1
  378. package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +0 -1
  379. package/dist/exploration-project-tailwind/p-7376ac95.entry.js +0 -1
  380. package/dist/exploration-project-tailwind/p-77a21491.entry.js +0 -1
  381. package/dist/exploration-project-tailwind/p-7f91d949.entry.js +0 -1
  382. package/dist/exploration-project-tailwind/p-807c6555.entry.js +0 -1
  383. package/dist/exploration-project-tailwind/p-D2WzX6vR.js +0 -2
  384. package/dist/exploration-project-tailwind/p-ab752761.entry.js +0 -1
  385. package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +0 -1
  386. package/dist/exploration-project-tailwind/p-e90d5307.entry.js +0 -1
  387. package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +0 -1
  388. package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +0 -1
  389. package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -87
  390. package/dist/types/components/checkbox-group/types.d.ts +0 -8
  391. package/dist/types/components/image-button/image-button.d.ts +0 -31
  392. package/dist/types/components/image-button/types.d.ts +0 -1
  393. package/dist/types/components/input-pair/input-pair.d.ts +0 -28
  394. package/dist/types/components/radio-group/radio-group.d.ts +0 -74
  395. package/dist/types/components/radio-group/types.d.ts +0 -2
@@ -25,7 +25,7 @@ export type ComponentSize = 'xxxs' | 'xxs' | 'xs' | 'sm' | 'small' | 'md' | 'med
25
25
  /**
26
26
  * Common visual variants
27
27
  */
28
- export type ComponentVariant = 'default' | 'standard' | 'outlined' | 'filled' | 'elevated' | 'soft' | 'ghost' | 'glass' | 'flat' | 'underlined' | 'bordered' | 'text' | 'gradient';
28
+ export type ComponentVariant = 'default' | 'standard' | 'outlined' | 'filled' | 'elevated' | 'soft' | 'ghost' | 'glass' | 'flat' | 'underlined' | 'bordered' | 'text' | 'gradient' | 'status';
29
29
  /**
30
30
  * Common animation types
31
31
  */
@@ -162,7 +162,7 @@ export type CoreVariant =
162
162
  | 'borderless';
163
163
  export type BrandVariant = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'surface' | 'neutral' | 'inverse';
164
164
  export type StatusVariant = 'success' | 'warning' | 'danger' | 'info' | 'error';
165
- export type SpecializedVariant = 'segmented' | 'minimal' | 'dots-only' | 'panel' | 'raised' | 'solid' | 'light' | 'dark' | 'color' | 'gradient';
165
+ export type SpecializedVariant = 'segmented' | 'minimal' | 'dots-only' | 'panel' | 'raised' | 'solid' | 'light' | 'dark' | 'color' | 'gradient' | 'status';
166
166
 
167
167
  export type ComponentVariant = CoreVariant | BrandVariant | StatusVariant | SpecializedVariant;
168
168
 
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "atomicuilibrary",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/types/index.d.ts",
8
8
  "collection": "dist/collection/collection-manifest.json",
9
9
  "collection:main": "dist/collection/index.js",
10
- "unpkg": "dist/app-ui-library/app-ui-library.esm.js",
10
+ "unpkg": "dist/exploration-project-tailwind/exploration-project-tailwind.esm.js",
11
11
  "exports": {
12
12
  ".": {
13
- "import": "./dist/app-ui-library/app-ui-library.esm.js",
14
- "require": "./dist/app-ui-library/app-ui-library.cjs.js"
13
+ "import": "./dist/exploration-project-tailwind/exploration-project-tailwind.esm.js",
14
+ "require": "./dist/exploration-project-tailwind/exploration-project-tailwind.cjs.js"
15
15
  },
16
16
  "./loader": {
17
17
  "types": "./loader/index.d.ts",
@@ -43,9 +43,10 @@
43
43
  "watch:tailwind-dev": " postcss --postcss-config ./postcss.config.js src/global/app.scss -o src/styles/tailwind-optimized.css --watch",
44
44
  "clean": "npx -y rimraf dist www loader",
45
45
  "build:css": "postcss src/app.scss -o dist/app.css",
46
- "predeploy": "npm run build",
47
- "deploy": "gh-pages -d www"
48
- },
46
+ "version:minor": "npm version minor --no-git-tag-version",
47
+ "predeploy": "npm run version:minor && npm run build",
48
+ "deploy": "node scripts/deploy-gh-pages.cjs"
49
+ },
49
50
  "devDependencies": {
50
51
  "@stencil/angular-output-target": "^1.1.1",
51
52
  "@stencil/sass": "^3.2.3",
@@ -1,330 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-ClkOYpT8.js');
4
-
5
- const checkboxGroupCss = () => `.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.a11y-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}:host{display:block}.checkbox-group{display:flex;flex-direction:column;gap:12px}.checkbox-group.is-victory .group-label .selection-count{animation:victory-pulse 2s infinite ease-in-out;background:var(--primary-color);color:var(--text-standard, #ffffff);box-shadow:0 0 15px var(--primary-color)}.group-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;color:var(--label-color, var(--text-primary, #333));margin-bottom:8px;text-transform:uppercase;letter-spacing:0.08em;opacity:0.65;cursor:default}.group-label .selection-count{font-size:10px;font-weight:600;text-transform:none;letter-spacing:normal;opacity:1;color:var(--label-subtitle-color, var(--text-secondary, #666));background:var(--bg-secondary, #f3f4f6);padding:2px 8px;border-radius:10px}.required-indicator{color:var(--danger-color, #f44336);margin-inline-start:4px}.select-all-container{padding-bottom:8px;border-bottom:1px solid var(--border-color, #e0e0e0)}.checkbox-group-items{display:flex}.checkbox-group-vertical .checkbox-group-items{flex-direction:column}.checkbox-group-horizontal .checkbox-group-items{flex-direction:row;flex-wrap:wrap}.checkbox-group-disabled{opacity:0.6;pointer-events:none}.checkbox-group-readonly{pointer-events:none}.checkbox-group-invalid .group-label{color:var(--danger-color, #f44336)}.helper-text{font-size:12px;color:var(--label-subtitle-color, var(--text-secondary, #666));display:flex;align-items:center;gap:6px}.helper-text.error{color:var(--danger-color, #f44336)}.helper-text i{font-size:14px}.checkbox-group-sm .group-label{font-size:12px}.checkbox-group-sm .helper-text{font-size:11px}.checkbox-group-lg .group-label{font-size:16px}.checkbox-group-lg .helper-text{font-size:13px}.checkbox-search{position:relative;margin-bottom:4px;transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1)}.checkbox-search .search-input-wrapper{position:relative;display:flex;align-items:center;background:rgba(var(--primary-rgb, 139, 92, 246), 0.03);border:1px solid rgba(0, 0, 0, 0.05);border-radius:12px;padding:2px 4px;transition:all 0.3s}.checkbox-search .search-input-wrapper:focus-within{background:var(--bg-primary, #ffffff);border-color:var(--primary-color);box-shadow:0 4px 12px rgba(var(--primary-rgb), 0.15);transform:translateY(-1px)}.checkbox-search .search-icon{margin-left:12px;opacity:0.4;font-size:16px;color:var(--primary-color)}.checkbox-search input.search-input{flex:1;border:none;background:transparent;padding:10px 12px;font-size:13px;font-weight:500;color:var(--text-primary);outline:none}.checkbox-search input.search-input::placeholder{opacity:1}.checkbox-search .clear-search{background:rgba(0, 0, 0, 0.05);border:none;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;margin-right:6px;color:var(--text-secondary);transition:all 0.2s}.checkbox-search .clear-search:hover{background:rgba(0, 0, 0, 0.1);color:var(--text-primary);transform:scale(1.1)}.checkbox-search .clear-search ui-icon{font-size:14px}@keyframes victory-pulse{0%{transform:scale(1);box-shadow:0 0 0px var(--primary-color)}50%{transform:scale(1.05);box-shadow:0 0 15px var(--primary-color)}100%{transform:scale(1);box-shadow:0 0 0px var(--primary-color)}}.no-results{font-size:14px;color:var(--text-secondary, #999);padding:8px 0;font-style:italic}.checkbox-group-grid .checkbox-group-items{display:grid}`;
6
-
7
- const CheckboxGroup = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- this.groupChange = index.createEvent(this, "groupChange");
11
- this.groupValidation = index.createEvent(this, "groupValidation");
12
- }
13
- /**
14
- * Ensures value is always a string array
15
- */
16
- normalizeValue(val) {
17
- if (Array.isArray(val))
18
- return val;
19
- if (typeof val === 'string')
20
- return val ? val.split(',') : [];
21
- return [];
22
- }
23
- get el() { return index.getElement(this); }
24
- internals;
25
- value = [];
26
- name = '';
27
- label = '';
28
- helperText = '';
29
- errorMessage = '';
30
- required = false;
31
- disabled = false;
32
- readonly = false;
33
- invalid = false;
34
- orientation = 'vertical';
35
- gap = '12px';
36
- showSelectAll = false;
37
- selectAllLabel = 'Select All';
38
- buttonGroup = false;
39
- min = 0;
40
- max = Infinity;
41
- validateOnChange = true;
42
- size = 'md';
43
- color = 'primary';
44
- showSelectionCount = false;
45
- /** Entrance animation */
46
- reveal = 'none';
47
- /** Delay for entry animation (ms) */
48
- revealDelay = 0;
49
- /** Stagger delay between items */
50
- revealStagger = 60;
51
- /** High-Fidelity: Victory glow pulse when all selected */
52
- victoryGlow = false;
53
- /** High-Fidelity: RTL support */
54
- rtl = false;
55
- selectAllState = 'none';
56
- isVictory = false;
57
- groupChange;
58
- groupValidation;
59
- componentWillLoad() {
60
- this.internals = this.el.attachInternals();
61
- this.updateFormValue();
62
- this.discoverCheckboxes();
63
- this.updateCheckboxStates();
64
- this.updateSelectAllState();
65
- }
66
- /**
67
- * Stencil form-association callback
68
- */
69
- formResetCallback() {
70
- this.value = [];
71
- this.updateCheckboxStates();
72
- this.updateSelectAllState();
73
- this.updateFormValue();
74
- }
75
- handleValueChange() {
76
- this.updateCheckboxStates();
77
- this.updateSelectAllState();
78
- if (this.validateOnChange) {
79
- this.validate();
80
- }
81
- }
82
- handleCheckboxChange(event) {
83
- const { checked, value: checkboxValue } = event.detail;
84
- if (this.disabled || this.readonly)
85
- return;
86
- let valueArr = this.normalizeValue(this.value);
87
- if (checked) {
88
- if (!valueArr.includes(checkboxValue)) {
89
- if (this.max === Infinity || valueArr.length < this.max) {
90
- valueArr = [...valueArr, checkboxValue];
91
- }
92
- }
93
- }
94
- else {
95
- valueArr = valueArr.filter(v => v !== checkboxValue);
96
- }
97
- this.value = valueArr;
98
- this.groupChange.emit({ value: this.value });
99
- this.updateSelectAllState();
100
- if (this.validateOnChange) {
101
- this.validate();
102
- }
103
- this.updateFormValue();
104
- }
105
- updateFormValue() {
106
- if (this.name) {
107
- const data = new FormData();
108
- this.value.forEach(val => data.append(this.name, val));
109
- this.internals.setFormValue(data);
110
- }
111
- else {
112
- this.internals.setFormValue(this.value.join(','));
113
- }
114
- }
115
- discoverCheckboxes() {
116
- // This is no longer needed as we use getAllCheckboxes in real-time
117
- }
118
- updateCheckboxStates() {
119
- const allCbs = this.getAllCheckboxes();
120
- const valueArr = this.normalizeValue(this.value);
121
- const isMaxReached = this.max !== Infinity && valueArr.length >= this.max;
122
- allCbs.forEach((checkbox, index) => {
123
- checkbox.checked = valueArr.includes(checkbox.value);
124
- checkbox.disabled = this.disabled || (isMaxReached && !checkbox.checked) || checkbox.disabled;
125
- checkbox.readonly = this.readonly;
126
- checkbox.size = this.size;
127
- checkbox.color = this.color;
128
- checkbox.reveal = this.reveal;
129
- checkbox.revealDelay = this.revealDelay + (index * this.revealStagger);
130
- checkbox.rtl = this.rtl;
131
- checkbox.isButton = this.buttonGroup;
132
- if (this.name) {
133
- checkbox.name = this.name;
134
- }
135
- });
136
- }
137
- getAllCheckboxes() {
138
- const slotted = Array.from(this.el.querySelectorAll('ui-checkbox'));
139
- // If we have options prop, we need to consider them too, but they are rendered as components
140
- // Stencil's shadow DOM might make this tricky if they are inside.
141
- // Actually, we can just get them from the shadow root if they are rendered in renderDataOptions
142
- const shadowCbs = Array.from(this.el.shadowRoot.querySelectorAll('ui-checkbox'));
143
- return [...slotted, ...shadowCbs];
144
- }
145
- updateSelectAllState() {
146
- const allCbs = this.getAllCheckboxes();
147
- const valueArr = this.normalizeValue(this.value);
148
- const enabledCheckboxes = allCbs.filter((cb) => !cb.disabled);
149
- if (enabledCheckboxes.length === 0)
150
- return;
151
- const checkedCount = enabledCheckboxes.filter((cb) => valueArr.includes(cb.value)).length;
152
- if (checkedCount === 0) {
153
- this.selectAllState = 'none';
154
- this.isVictory = false;
155
- }
156
- else if (checkedCount === enabledCheckboxes.length) {
157
- this.selectAllState = 'all';
158
- if (this.victoryGlow)
159
- this.isVictory = true;
160
- }
161
- else {
162
- this.selectAllState = 'some';
163
- this.isVictory = false;
164
- }
165
- }
166
- handleSelectAllChange = (event) => {
167
- if (this.disabled || this.readonly)
168
- return;
169
- const target = event.target;
170
- const allCbs = this.getAllCheckboxes();
171
- const enabledCheckboxes = allCbs.filter((cb) => !cb.disabled);
172
- if (target.checked) {
173
- // Select all enabled checkboxes
174
- const allValues = enabledCheckboxes.map((cb) => cb.value);
175
- const uniqueValues = Array.from(new Set([...this.value, ...allValues]));
176
- // Respect max limit
177
- if (this.max !== Infinity) {
178
- this.value = uniqueValues.slice(0, this.max);
179
- }
180
- else {
181
- this.value = uniqueValues;
182
- }
183
- }
184
- else {
185
- // Deselect all
186
- const enabledValues = enabledCheckboxes.map((cb) => cb.value);
187
- this.value = this.value.filter(v => !enabledValues.includes(v));
188
- }
189
- this.groupChange.emit({ value: this.value });
190
- this.updateSelectAllState();
191
- if (this.validateOnChange) {
192
- this.validate();
193
- }
194
- };
195
- validate() {
196
- const errors = [];
197
- if (this.required && this.value.length === 0) {
198
- errors.push('At least one option must be selected');
199
- }
200
- if (this.min > 0 && this.value.length < this.min) {
201
- errors.push(`At least ${this.min} option${this.min > 1 ? 's' : ''} must be selected`);
202
- }
203
- if (this.max !== Infinity && this.value.length > this.max) {
204
- errors.push(`No more than ${this.max} option${this.max > 1 ? 's' : ''} can be selected`);
205
- }
206
- const valid = errors.length === 0;
207
- this.groupValidation.emit({ valid, errors });
208
- return valid;
209
- }
210
- selectAll() {
211
- const allCbs = this.getAllCheckboxes();
212
- const enabledCheckboxes = allCbs.filter((cb) => !cb.disabled);
213
- const allValues = enabledCheckboxes.map((cb) => cb.value);
214
- if (this.max !== Infinity) {
215
- this.value = allValues.slice(0, this.max);
216
- }
217
- else {
218
- this.value = allValues;
219
- }
220
- this.groupChange.emit({ value: this.value });
221
- }
222
- deselectAll() {
223
- this.value = [];
224
- this.groupChange.emit({ value: this.value });
225
- }
226
- toggleAll() {
227
- if (this.selectAllState === 'all') {
228
- this.deselectAll();
229
- }
230
- else {
231
- this.selectAll();
232
- }
233
- }
234
- renderSelectAll() {
235
- if (!this.showSelectAll)
236
- return null;
237
- return (index.h("div", { class: "select-all-container" }, index.h("ui-checkbox", { checked: this.selectAllState === 'all', indeterminate: this.selectAllState === 'some', label: this.selectAllLabel, disabled: this.disabled, readonly: this.readonly, size: this.size, color: this.color, rtl: this.rtl, onCheckboxChange: this.handleSelectAllChange })));
238
- }
239
- renderLabel() {
240
- if (!this.label)
241
- return null;
242
- return (index.h("div", { class: "group-label" }, index.h("span", { class: "label-text" }, this.label, this.required && index.h("span", { class: "required-indicator" }, "*")), this.showSelectionCount && (index.h("span", { class: "selection-count" }, "(", this.value.length, this.max !== Infinity ? ` / ${this.max}` : '', " selected)"))));
243
- }
244
- renderHelperText() {
245
- if (this.invalid && this.errorMessage) {
246
- return (index.h("div", { class: "helper-text error" }, index.h("ui-icon", { name: "fa-exclamation-circle" }), this.errorMessage));
247
- }
248
- if (this.helperText) {
249
- return index.h("div", { class: "helper-text" }, this.helperText);
250
- }
251
- if (this.min > 0 || this.max !== Infinity) {
252
- const count = this.value.length;
253
- let text = '';
254
- if (this.min > 0 && this.max !== Infinity) {
255
- text = `Select ${this.min}-${this.max} options (${count} selected)`;
256
- }
257
- else if (this.min > 0) {
258
- text = `Select at least ${this.min} option${this.min > 1 ? 's' : ''} (${count} selected)`;
259
- }
260
- else if (this.max !== Infinity) {
261
- text = `Select up to ${this.max} option${this.max > 1 ? 's' : ''} (${count} selected)`;
262
- }
263
- return index.h("div", { class: "helper-text" }, text);
264
- }
265
- return null;
266
- }
267
- options = [];
268
- searchable = false;
269
- searchPlaceholder = 'Search options...';
270
- layout = 'list';
271
- columns = 2; // For grid layout
272
- searchQuery = '';
273
- handleSearch = (e) => {
274
- this.searchQuery = e.target.value.toLowerCase();
275
- };
276
- getFilteredOptions() {
277
- if (!this.options || this.options.length === 0)
278
- return [];
279
- // Normalize options
280
- const normalizedOptions = this.options.map(opt => typeof opt === 'string' ? { label: opt, value: opt, disabled: false } : opt);
281
- if (!this.searchQuery)
282
- return normalizedOptions;
283
- return normalizedOptions.filter(opt => opt.label.toLowerCase().includes(this.searchQuery));
284
- }
285
- renderSearch() {
286
- if (!this.searchable)
287
- return null;
288
- return (index.h("div", { class: {
289
- 'checkbox-search': true,
290
- 'search-active': this.searchQuery.length > 0
291
- } }, index.h("div", { class: "search-input-wrapper" }, index.h("ui-icon", { name: "search", library: "lucide", class: "search-icon" }), index.h("input", { type: "text", placeholder: this.searchPlaceholder, onInput: this.handleSearch, value: this.searchQuery, class: "search-input" }), this.searchQuery.length > 0 && (index.h("ui-button", { variant: "ghost", class: "clear-search", onClick: () => { this.searchQuery = ''; }, icon: "x", iconLibrary: "lucide", iconOnly: true, size: "sm" })))));
292
- }
293
- renderDataOptions() {
294
- const visibleOptions = this.getFilteredOptions();
295
- if (visibleOptions.length === 0 && this.searchQuery) {
296
- return index.h("div", { class: "no-results" }, "No options found");
297
- }
298
- const valueArr = this.normalizeValue(this.value);
299
- return visibleOptions.map((opt, index$1) => (index.h("ui-checkbox", { value: opt.value, label: opt.label, disabled: this.disabled || opt.disabled, readonly: this.readonly, size: this.size, color: this.color, variant: opt.variant || 'default', name: this.name, checked: valueArr.includes(opt.value), reveal: this.reveal, revealDelay: this.revealDelay + (index$1 * this.revealStagger), rtl: this.rtl, isButton: this.buttonGroup, onCheckboxChange: this.handleCheckboxChange })));
300
- }
301
- render() {
302
- const containerClasses = {
303
- 'checkbox-group': true,
304
- [`checkbox-group-${this.orientation}`]: this.layout === 'list',
305
- [`checkbox-group-grid`]: this.layout === 'grid',
306
- [`checkbox-group-cols-${this.columns}`]: this.layout === 'grid',
307
- [`checkbox-group-${this.size}`]: true,
308
- 'checkbox-group-disabled': this.disabled,
309
- 'checkbox-group-readonly': this.readonly,
310
- 'checkbox-group-invalid': this.invalid,
311
- 'checkbox-group-button': this.buttonGroup,
312
- 'is-victory': this.isVictory
313
- };
314
- const hasDataOptions = this.options && this.options.length > 0;
315
- return (index.h("div", { key: '05a2da58c9dd7f3438076d3beb725f3596545cb6', class: containerClasses, dir: this.rtl ? 'rtl' : 'ltr' }, this.renderLabel(), this.renderSearch(), this.renderSelectAll(), index.h("div", { key: '0a64f5ff1b6474c771059e6d856b42a48641d5a1', class: "checkbox-group-items", style: this.layout === 'grid' ? {
316
- display: 'grid',
317
- gridTemplateColumns: `repeat(${this.columns}, 1fr)`,
318
- gap: this.gap
319
- } : { gap: this.gap }, role: "group", "aria-labelledby": this.label ? 'group-label' : undefined, "aria-required": this.required ? 'true' : 'false', "aria-invalid": this.invalid ? 'true' : 'false' }, hasDataOptions ? this.renderDataOptions() : index.h("slot", null)), this.renderHelperText()));
320
- }
321
- static get formAssociated() { return true; }
322
- static get watchers() { return {
323
- "value": [{
324
- "handleValueChange": 0
325
- }]
326
- }; }
327
- };
328
- CheckboxGroup.style = checkboxGroupCss();
329
-
330
- exports.ui_checkbox_group = CheckboxGroup;
@@ -1,67 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-ClkOYpT8.js');
4
-
5
- const imageButtonCss = () => `.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.a11y-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}:host{display:inline-block;vertical-align:middle;transition:transform 0.2s ease}.image-button{position:relative;overflow:hidden;border-radius:12px;cursor:pointer;background:#f3f4f6;width:100%;height:100%;display:flex;align-items:center;justify-content:center;outline:none}.image-button,.image-button *{transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1)}.image-button-sm{width:120px}.image-button-md{width:240px}.image-button-lg{width:360px}.image-button-xl{width:480px}.image-button-ratio-square{aspect-ratio:1/1}.image-button-ratio-video{aspect-ratio:16/9}.image-button-ratio-portrait{aspect-ratio:3/4}.image-button-ratio-auto{height:auto}.image-button .button-image{width:100%;height:100%;object-fit:cover;display:block}.image-button .image-placeholder{color:#9ca3af}.image-button .button-overlay{position:absolute;inset:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);display:flex;align-items:flex-end;padding:1.25rem;color:white}.image-button .overlay-content{display:flex;flex-direction:column;gap:4px}.image-button .button-label{font-weight:700;font-size:1.1rem;line-height:1.2;letter-spacing:-0.01em}.image-button .button-desc{font-size:0.85rem;opacity:0.8}.image-button-effect-zoom:hover .button-image{transform:scale(1.1)}.image-button-effect-lift:hover,.image-button-effect-lift.is-focused{transform:translateY(-8px);box-shadow:0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)}.image-button-effect-brighten:hover .button-image{filter:brightness(1.2)}.image-button.label-mode-hover .button-overlay{opacity:0;transform:translateY(10px)}.image-button.label-mode-hover:hover .button-overlay{opacity:1;transform:translateY(0)}.image-button.is-disabled{cursor:not-allowed;opacity:0.6;filter:grayscale(1)}.image-button.is-disabled:hover{transform:none;box-shadow:none}.image-button.is-loading{cursor:wait}.image-button.is-loading .loading-overlay{position:absolute;inset:0;background:rgba(255, 255, 255, 0.7);display:flex;align-items:center;justify-content:center;color:#10b981;z-index:10}.image-button.is-focused{box-shadow:0 0 0 2px var(--bg-primary, #ffffff), 0 0 0 5px var(--color-primary, #10b981);z-index:10}@media (max-width: 640px){.image-button{width:100% !important}}`;
6
-
7
- const ImageButton = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- this.uiClick = index.createEvent(this, "uiClick");
11
- }
12
- /** Image source URL */
13
- src;
14
- /** Image alt text */
15
- alt = '';
16
- /** Button label (overlay) */
17
- label;
18
- /** Subtitle or secondary text */
19
- description;
20
- /** Hover effect: 'zoom' | 'lift' | 'brighten' | 'none' */
21
- effect = 'zoom';
22
- /** Aspect ratio: 'square' | 'video' | 'portrait' | 'auto' */
23
- ratio = 'square';
24
- /** Whether the label is always visible or only on hover */
25
- labelMode = 'hover';
26
- /** Size variant */
27
- size = 'md';
28
- /** Disabled state */
29
- disabled = false;
30
- /** Loading state */
31
- loading = false;
32
- /** Accessibility label */
33
- a11yLabel;
34
- /** Focus state for keyboard accessibility */
35
- isFocused = false;
36
- uiClick;
37
- handleClick = (e) => {
38
- if (this.disabled || this.loading) {
39
- e.preventDefault();
40
- e.stopPropagation();
41
- return;
42
- }
43
- this.uiClick.emit();
44
- };
45
- handleKeyDown = (e) => {
46
- if (e.key === 'Enter' || e.key === ' ') {
47
- e.preventDefault();
48
- this.handleClick(e);
49
- }
50
- };
51
- render() {
52
- const classes = {
53
- 'image-button': true,
54
- [`image-button-${this.size}`]: true,
55
- [`image-button-ratio-${this.ratio}`]: true,
56
- [`image-button-effect-${this.effect}`]: true,
57
- [`label-mode-${this.labelMode}`]: true,
58
- 'is-disabled': this.disabled,
59
- 'is-loading': this.loading,
60
- 'is-focused': this.isFocused,
61
- };
62
- return (index.h(index.Host, { key: '9f62fc59b4656078cbddd73750e41d03a0f3d2ca' }, index.h("div", { key: 'd6f464e2f65dd0eb5dd40892179432473b3836fe', class: classes, role: "button", tabindex: this.disabled || this.loading ? -1 : 0, "aria-label": this.a11yLabel || this.label || this.alt || 'Image Button', "aria-disabled": this.disabled ? 'true' : 'false', "aria-busy": this.loading ? 'true' : 'false', onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false }, this.src ? (index.h("img", { class: "button-image", src: this.src, alt: this.alt, loading: "lazy" })) : (index.h("div", { class: "image-placeholder" }, index.h("ui-icon", { name: "image", library: "fontawesome", size: "24px" }))), (this.label || this.description) && (index.h("div", { key: '4f8ce2e322361f645f29bf9c4f48f4c9b151f075', class: "button-overlay" }, index.h("div", { key: 'f3e15b029509d4ed27bef5c03d75d3bd934f190b', class: "overlay-content" }, this.label && index.h("div", { key: 'aac7cac7d8e07014a927acd9f572f7dac2688e3d', class: "button-label" }, this.label), this.description && index.h("div", { key: '1607a06a9fcde90277be03130548d974bf7c6b5c', class: "button-desc" }, this.description)))), this.loading && (index.h("div", { key: '9c9f38dbeb6b77fb2d8eed4ab641498aa5030bf7', class: "loading-overlay" }, index.h("ui-icon", { key: '2bc1e06c7a61a4e7752686d489ea2c092550d2b4', name: "spinner", library: "fontawesome", spin: true, size: "24px" }))))));
63
- }
64
- };
65
- ImageButton.style = imageButtonCss();
66
-
67
- exports.ui_image_button = ImageButton;
@@ -1,44 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-ClkOYpT8.js');
4
-
5
- const inputPairCss = () => `.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.a11y-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}:host{display:block;width:auto;min-width:0;--pair-radius:10px}:host.full-width{width:100%}.pair-main-label{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;opacity:0.65;color:var(--label-color, var(--text-secondary, #64748b));margin-bottom:8px}.pair-container{display:flex;align-items:flex-end;width:100%}.pair-container .input-item{flex:1;min-width:0}.pair-container{}.pair-container .input-item.left ui-input::part(container),.pair-container .input-item.right ui-input::part(container){border-radius:var(--pair-radius);border-width:1.5px}.pair-container.is-connected .input-item.left ui-input::part(container){border-top-right-radius:0;border-bottom-right-radius:0;border-right-width:0.75px}.pair-container.is-connected .input-item.right ui-input::part(container){border-top-left-radius:0;border-bottom-left-radius:0;border-left-width:0.75px}`;
6
-
7
- const InputPair = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- }
11
- /** Left input label */
12
- labelLeft = '';
13
- /** Right input label */
14
- labelRight = '';
15
- /** Shared main label (optional) */
16
- label;
17
- /** Left input value */
18
- valueLeft = '';
19
- /** Right input value */
20
- valueRight = '';
21
- /** Left input placeholder */
22
- placeholderLeft = '';
23
- /** Right input placeholder */
24
- placeholderRight = '';
25
- /** Shared type for both inputs */
26
- type = 'text';
27
- /** Shared variant */
28
- variant = 'outlined';
29
- /** Shared size */
30
- size = 'md';
31
- /** Gap between inputs (set to 0 for connected) */
32
- gap = '0';
33
- /** Full width behavior */
34
- fullWidth = false;
35
- render() {
36
- return (index.h(index.Host, { key: 'fdf7f4502e0ae69ee732870df215948f6dd343d4', class: { 'full-width': this.fullWidth } }, this.label && index.h("div", { key: 'fab76ee80e86ffb845930a8b2ce26d210da9e72c', class: "pair-main-label" }, this.label), index.h("div", { key: 'cb95a4fda33d88723248c58d57e526f9ab7fc1c6', class: {
37
- 'pair-container': true,
38
- 'is-connected': this.gap === '0'
39
- }, style: { gap: this.gap !== '0' ? this.gap : undefined } }, index.h("div", { key: '562af03d33b4c7ec4f55ffa805dbbda5fa0e2c95', class: "input-item left" }, index.h("ui-input", { key: 'c75ac1faec6b8b0903d578064ba60529a923d4eb', label: this.labelLeft, placeholder: this.placeholderLeft, value: this.valueLeft, type: this.type, variant: this.variant, size: this.size, "full-width": true })), index.h("div", { key: '2740efa73d5758bf88c58f2853cba1da3f43a420', class: "input-item right" }, index.h("ui-input", { key: '4e110393af0e26ace0de9a68f12a9cb54b90d935', label: this.labelRight, placeholder: this.placeholderRight, value: this.valueRight, type: this.type, variant: this.variant, size: this.size, "full-width": true })))));
40
- }
41
- };
42
- InputPair.style = inputPairCss();
43
-
44
- exports.ui_input_pair = InputPair;