@melodicdev/components 2.0.3 → 3.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 (328) hide show
  1. package/README.md +7 -6
  2. package/assets/melodic-components.js +5681 -4145
  3. package/assets/melodic-components.js.map +1 -1
  4. package/assets/melodic-components.min.js +6573 -5141
  5. package/lib/components/data-display/activity-feed/activity-feed-item.component.d.ts +15 -14
  6. package/lib/components/data-display/activity-feed/activity-feed-item.component.d.ts.map +1 -1
  7. package/lib/components/data-display/activity-feed/activity-feed-item.component.js +36 -16
  8. package/lib/components/data-display/activity-feed/activity-feed-item.styles.d.ts.map +1 -1
  9. package/lib/components/data-display/activity-feed/activity-feed-item.styles.js +4 -0
  10. package/lib/components/data-display/activity-feed/activity-feed-item.template.d.ts.map +1 -1
  11. package/lib/components/data-display/activity-feed/activity-feed-item.template.js +15 -14
  12. package/lib/components/data-display/avatar/avatar.component.d.ts +9 -4
  13. package/lib/components/data-display/avatar/avatar.component.d.ts.map +1 -1
  14. package/lib/components/data-display/avatar/avatar.component.js +12 -3
  15. package/lib/components/data-display/avatar/avatar.template.js +1 -1
  16. package/lib/components/data-display/badge/badge.component.d.ts +2 -3
  17. package/lib/components/data-display/badge/badge.component.d.ts.map +1 -1
  18. package/lib/components/data-display/badge/badge.styles.d.ts.map +1 -1
  19. package/lib/components/data-display/badge/badge.styles.js +56 -35
  20. package/lib/components/data-display/badge/badge.types.d.ts +2 -0
  21. package/lib/components/data-display/badge/badge.types.d.ts.map +1 -1
  22. package/lib/components/data-display/calendar-view/calendar-view.utils.d.ts +10 -0
  23. package/lib/components/data-display/calendar-view/calendar-view.utils.d.ts.map +1 -1
  24. package/lib/components/data-display/calendar-view/calendar-view.utils.js +59 -27
  25. package/lib/components/data-display/data-grid/data-grid.component.d.ts +6 -5
  26. package/lib/components/data-display/data-grid/data-grid.component.d.ts.map +1 -1
  27. package/lib/components/data-display/data-grid/data-grid.component.js +49 -110
  28. package/lib/components/data-display/data-grid/data-grid.template.d.ts.map +1 -1
  29. package/lib/components/data-display/data-grid/data-grid.template.js +2 -6
  30. package/lib/components/data-display/list/list-item.component.d.ts +15 -6
  31. package/lib/components/data-display/list/list-item.component.d.ts.map +1 -1
  32. package/lib/components/data-display/list/list-item.component.js +57 -6
  33. package/lib/components/data-display/list/list-item.styles.d.ts.map +1 -1
  34. package/lib/components/data-display/list/list-item.styles.js +5 -0
  35. package/lib/components/data-display/list/list-item.template.d.ts.map +1 -1
  36. package/lib/components/data-display/list/list-item.template.js +18 -12
  37. package/lib/components/data-display/profile-card/profile-card.component.d.ts +2 -2
  38. package/lib/components/data-display/profile-card/profile-card.component.d.ts.map +1 -1
  39. package/lib/components/data-display/profile-card/profile-card.component.js +17 -15
  40. package/lib/components/data-display/profile-card/profile-card.template.js +1 -1
  41. package/lib/components/data-display/stat-card/stat-card.component.d.ts +6 -6
  42. package/lib/components/data-display/stat-card/stat-card.component.d.ts.map +1 -1
  43. package/lib/components/data-display/stat-card/stat-card.component.js +14 -6
  44. package/lib/components/data-display/stat-card/stat-card.template.js +4 -4
  45. package/lib/components/data-display/table/table.component.d.ts +7 -5
  46. package/lib/components/data-display/table/table.component.d.ts.map +1 -1
  47. package/lib/components/data-display/table/table.component.js +40 -117
  48. package/lib/components/data-display/table/table.template.d.ts.map +1 -1
  49. package/lib/components/data-display/table/table.template.js +1 -6
  50. package/lib/components/data-display/table-core/index.d.ts +3 -0
  51. package/lib/components/data-display/table-core/index.d.ts.map +1 -0
  52. package/lib/components/data-display/table-core/index.js +2 -0
  53. package/lib/components/data-display/table-core/table-core.d.ts +137 -0
  54. package/lib/components/data-display/table-core/table-core.d.ts.map +1 -0
  55. package/lib/components/data-display/table-core/table-core.js +225 -0
  56. package/lib/components/data-display/tag/tag.component.d.ts +14 -7
  57. package/lib/components/data-display/tag/tag.component.d.ts.map +1 -1
  58. package/lib/components/data-display/tag/tag.component.js +29 -5
  59. package/lib/components/data-display/tag/tag.template.js +2 -2
  60. package/lib/components/data-display/tag/tag.types.d.ts +8 -1
  61. package/lib/components/data-display/tag/tag.types.d.ts.map +1 -1
  62. package/lib/components/feedback/alert/alert.component.d.ts +6 -3
  63. package/lib/components/feedback/alert/alert.component.d.ts.map +1 -1
  64. package/lib/components/feedback/alert/alert.component.js +13 -4
  65. package/lib/components/feedback/alert/alert.template.js +1 -1
  66. package/lib/components/feedback/progress/progress.component.d.ts +4 -0
  67. package/lib/components/feedback/progress/progress.component.d.ts.map +1 -1
  68. package/lib/components/feedback/progress/progress.component.js +9 -0
  69. package/lib/components/feedback/progress/progress.template.d.ts.map +1 -1
  70. package/lib/components/feedback/progress/progress.template.js +19 -5
  71. package/lib/components/feedback/toast/toast.component.d.ts +6 -3
  72. package/lib/components/feedback/toast/toast.component.d.ts.map +1 -1
  73. package/lib/components/feedback/toast/toast.component.js +13 -4
  74. package/lib/components/feedback/toast/toast.service.d.ts.map +1 -1
  75. package/lib/components/feedback/toast/toast.service.js +2 -1
  76. package/lib/components/feedback/toast/toast.template.js +1 -1
  77. package/lib/components/forms/autocomplete/autocomplete.component.d.ts +12 -4
  78. package/lib/components/forms/autocomplete/autocomplete.component.d.ts.map +1 -1
  79. package/lib/components/forms/autocomplete/autocomplete.component.js +39 -30
  80. package/lib/components/forms/autocomplete/autocomplete.template.d.ts.map +1 -1
  81. package/lib/components/forms/autocomplete/autocomplete.template.js +14 -0
  82. package/lib/components/forms/button/button.component.d.ts +28 -3
  83. package/lib/components/forms/button/button.component.d.ts.map +1 -1
  84. package/lib/components/forms/button/button.component.js +81 -6
  85. package/lib/components/forms/button/button.template.js +1 -1
  86. package/lib/components/forms/button/button.types.d.ts +8 -1
  87. package/lib/components/forms/button/button.types.d.ts.map +1 -1
  88. package/lib/components/forms/button-group/button-group-item.component.d.ts +2 -2
  89. package/lib/components/forms/button-group/button-group-item.component.d.ts.map +1 -1
  90. package/lib/components/forms/button-group/button-group.component.d.ts +4 -2
  91. package/lib/components/forms/button-group/button-group.component.d.ts.map +1 -1
  92. package/lib/components/forms/button-group/button-group.component.js +3 -1
  93. package/lib/components/forms/button-group/button-group.styles.d.ts.map +1 -1
  94. package/lib/components/forms/button-group/button-group.styles.js +15 -1
  95. package/lib/components/forms/button-group/button-group.template.d.ts.map +1 -1
  96. package/lib/components/forms/button-group/button-group.template.js +4 -2
  97. package/lib/components/forms/checkbox/checkbox.component.d.ts +4 -2
  98. package/lib/components/forms/checkbox/checkbox.component.d.ts.map +1 -1
  99. package/lib/components/forms/checkbox/checkbox.component.js +3 -1
  100. package/lib/components/forms/checkbox/checkbox.styles.d.ts.map +1 -1
  101. package/lib/components/forms/checkbox/checkbox.styles.js +19 -0
  102. package/lib/components/forms/checkbox/checkbox.template.d.ts.map +1 -1
  103. package/lib/components/forms/checkbox/checkbox.template.js +4 -2
  104. package/lib/components/forms/date-picker/calendar.component.js +1 -1
  105. package/lib/components/forms/date-picker/date-picker.component.d.ts +11 -4
  106. package/lib/components/forms/date-picker/date-picker.component.d.ts.map +1 -1
  107. package/lib/components/forms/date-picker/date-picker.component.js +99 -32
  108. package/lib/components/forms/date-picker/date-picker.styles.d.ts.map +1 -1
  109. package/lib/components/forms/date-picker/date-picker.styles.js +0 -10
  110. package/lib/components/forms/date-picker/date-picker.template.d.ts.map +1 -1
  111. package/lib/components/forms/date-picker/date-picker.template.js +3 -4
  112. package/lib/components/forms/file-upload/file-upload-item.component.d.ts +7 -0
  113. package/lib/components/forms/file-upload/file-upload-item.component.d.ts.map +1 -1
  114. package/lib/components/forms/file-upload/file-upload-item.component.js +15 -0
  115. package/lib/components/forms/file-upload/file-upload.component.d.ts +15 -0
  116. package/lib/components/forms/file-upload/file-upload.component.d.ts.map +1 -1
  117. package/lib/components/forms/file-upload/file-upload.component.js +56 -0
  118. package/lib/components/forms/form-field/form-field.component.d.ts +12 -4
  119. package/lib/components/forms/form-field/form-field.component.d.ts.map +1 -1
  120. package/lib/components/forms/form-field/form-field.component.js +50 -31
  121. package/lib/components/forms/form-field/form-field.template.js +1 -1
  122. package/lib/components/forms/input/input.component.d.ts +2 -2
  123. package/lib/components/forms/input/input.component.d.ts.map +1 -1
  124. package/lib/components/forms/radio/radio-group.component.d.ts +6 -0
  125. package/lib/components/forms/radio/radio-group.component.d.ts.map +1 -1
  126. package/lib/components/forms/radio/radio-group.component.js +69 -2
  127. package/lib/components/forms/radio/radio-group.template.js +1 -1
  128. package/lib/components/forms/radio/radio.component.d.ts +7 -2
  129. package/lib/components/forms/radio/radio.component.d.ts.map +1 -1
  130. package/lib/components/forms/radio/radio.component.js +5 -0
  131. package/lib/components/forms/radio/radio.template.d.ts.map +1 -1
  132. package/lib/components/forms/radio/radio.template.js +1 -0
  133. package/lib/components/forms/select/select.component.d.ts +21 -6
  134. package/lib/components/forms/select/select.component.d.ts.map +1 -1
  135. package/lib/components/forms/select/select.component.js +94 -36
  136. package/lib/components/forms/select/select.template.d.ts.map +1 -1
  137. package/lib/components/forms/select/select.template.js +6 -2
  138. package/lib/components/forms/slider/slider.component.d.ts +2 -2
  139. package/lib/components/forms/slider/slider.component.d.ts.map +1 -1
  140. package/lib/components/forms/slider/slider.component.js +5 -1
  141. package/lib/components/forms/textarea/textarea.component.d.ts +2 -2
  142. package/lib/components/forms/textarea/textarea.component.d.ts.map +1 -1
  143. package/lib/components/forms/toggle/toggle.component.d.ts +4 -2
  144. package/lib/components/forms/toggle/toggle.component.d.ts.map +1 -1
  145. package/lib/components/forms/toggle/toggle.component.js +3 -1
  146. package/lib/components/forms/toggle/toggle.styles.d.ts.map +1 -1
  147. package/lib/components/forms/toggle/toggle.styles.js +19 -0
  148. package/lib/components/forms/toggle/toggle.template.d.ts.map +1 -1
  149. package/lib/components/forms/toggle/toggle.template.js +11 -3
  150. package/lib/components/foundation/card/card.component.d.ts +7 -6
  151. package/lib/components/foundation/card/card.component.d.ts.map +1 -1
  152. package/lib/components/foundation/card/card.component.js +18 -7
  153. package/lib/components/foundation/card/card.styles.d.ts.map +1 -1
  154. package/lib/components/foundation/card/card.styles.js +5 -0
  155. package/lib/components/foundation/card/card.template.d.ts.map +1 -1
  156. package/lib/components/foundation/card/card.template.js +16 -11
  157. package/lib/components/foundation/divider/divider.component.d.ts +5 -4
  158. package/lib/components/foundation/divider/divider.component.d.ts.map +1 -1
  159. package/lib/components/foundation/divider/divider.component.js +11 -3
  160. package/lib/components/foundation/divider/divider.styles.d.ts.map +1 -1
  161. package/lib/components/foundation/divider/divider.styles.js +6 -0
  162. package/lib/components/foundation/divider/divider.template.d.ts +5 -0
  163. package/lib/components/foundation/divider/divider.template.d.ts.map +1 -1
  164. package/lib/components/foundation/divider/divider.template.js +9 -6
  165. package/lib/components/general/icon/icon.template.d.ts.map +1 -1
  166. package/lib/components/general/icon/icon.template.js +3 -1
  167. package/lib/components/navigation/pagination/pagination.component.d.ts +5 -0
  168. package/lib/components/navigation/pagination/pagination.component.d.ts.map +1 -1
  169. package/lib/components/navigation/pagination/pagination.component.js +22 -10
  170. package/lib/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
  171. package/lib/components/navigation/pagination/pagination.styles.js +6 -4
  172. package/lib/components/navigation/sidebar/sidebar-item.component.d.ts +4 -4
  173. package/lib/components/navigation/sidebar/sidebar-item.component.d.ts.map +1 -1
  174. package/lib/components/navigation/sidebar/sidebar-item.component.js +11 -4
  175. package/lib/components/navigation/sidebar/sidebar-item.template.js +2 -2
  176. package/lib/components/navigation/sidebar/sidebar.component.d.ts +7 -0
  177. package/lib/components/navigation/sidebar/sidebar.component.d.ts.map +1 -1
  178. package/lib/components/navigation/sidebar/sidebar.component.js +48 -5
  179. package/lib/components/navigation/steps/step-panel.component.d.ts +7 -0
  180. package/lib/components/navigation/steps/step-panel.component.d.ts.map +1 -1
  181. package/lib/components/navigation/steps/step-panel.component.js +7 -0
  182. package/lib/components/navigation/steps/step-panel.template.d.ts +1 -1
  183. package/lib/components/navigation/steps/step-panel.template.d.ts.map +1 -1
  184. package/lib/components/navigation/steps/step-panel.template.js +2 -2
  185. package/lib/components/navigation/steps/step.component.d.ts +2 -2
  186. package/lib/components/navigation/steps/step.component.d.ts.map +1 -1
  187. package/lib/components/navigation/steps/step.component.js +8 -2
  188. package/lib/components/navigation/steps/step.template.js +1 -1
  189. package/lib/components/navigation/steps/steps.component.d.ts +3 -1
  190. package/lib/components/navigation/steps/steps.component.d.ts.map +1 -1
  191. package/lib/components/navigation/steps/steps.component.js +47 -14
  192. package/lib/components/navigation/steps/steps.template.d.ts.map +1 -1
  193. package/lib/components/navigation/steps/steps.template.js +5 -1
  194. package/lib/components/navigation/tabs/tab-panel.component.d.ts +7 -0
  195. package/lib/components/navigation/tabs/tab-panel.component.d.ts.map +1 -1
  196. package/lib/components/navigation/tabs/tab-panel.component.js +7 -0
  197. package/lib/components/navigation/tabs/tab-panel.template.d.ts +1 -1
  198. package/lib/components/navigation/tabs/tab-panel.template.d.ts.map +1 -1
  199. package/lib/components/navigation/tabs/tab-panel.template.js +2 -2
  200. package/lib/components/navigation/tabs/tabs.component.d.ts +5 -3
  201. package/lib/components/navigation/tabs/tabs.component.d.ts.map +1 -1
  202. package/lib/components/navigation/tabs/tabs.component.js +49 -14
  203. package/lib/components/navigation/tabs/tabs.template.d.ts.map +1 -1
  204. package/lib/components/navigation/tabs/tabs.template.js +6 -1
  205. package/lib/components/overlays/dialog/dialog-ref.class.d.ts +17 -2
  206. package/lib/components/overlays/dialog/dialog-ref.class.d.ts.map +1 -1
  207. package/lib/components/overlays/dialog/dialog-ref.class.js +52 -6
  208. package/lib/components/overlays/dialog/dialog.component.d.ts.map +1 -1
  209. package/lib/components/overlays/dialog/dialog.component.js +5 -1
  210. package/lib/components/overlays/dialog/dialog.service.d.ts +2 -2
  211. package/lib/components/overlays/dialog/dialog.service.d.ts.map +1 -1
  212. package/lib/components/overlays/dialog/dialog.service.js +46 -18
  213. package/lib/components/overlays/drawer/drawer.component.d.ts +9 -2
  214. package/lib/components/overlays/drawer/drawer.component.d.ts.map +1 -1
  215. package/lib/components/overlays/drawer/drawer.component.js +34 -4
  216. package/lib/components/overlays/drawer/drawer.styles.d.ts.map +1 -1
  217. package/lib/components/overlays/drawer/drawer.styles.js +4 -0
  218. package/lib/components/overlays/dropdown/dropdown-item.component.d.ts +5 -2
  219. package/lib/components/overlays/dropdown/dropdown-item.component.d.ts.map +1 -1
  220. package/lib/components/overlays/dropdown/dropdown-item.component.js +18 -0
  221. package/lib/components/overlays/dropdown/dropdown-item.template.d.ts.map +1 -1
  222. package/lib/components/overlays/dropdown/dropdown-item.template.js +0 -3
  223. package/lib/components/overlays/dropdown/dropdown.component.d.ts +8 -4
  224. package/lib/components/overlays/dropdown/dropdown.component.d.ts.map +1 -1
  225. package/lib/components/overlays/dropdown/dropdown.component.js +61 -60
  226. package/lib/components/overlays/popover/popover.component.d.ts +6 -4
  227. package/lib/components/overlays/popover/popover.component.d.ts.map +1 -1
  228. package/lib/components/overlays/popover/popover.component.js +37 -51
  229. package/lib/components/overlays/tooltip/tooltip.component.d.ts +29 -4
  230. package/lib/components/overlays/tooltip/tooltip.component.d.ts.map +1 -1
  231. package/lib/components/overlays/tooltip/tooltip.component.js +73 -31
  232. package/lib/components/overlays/tooltip/tooltip.styles.d.ts.map +1 -1
  233. package/lib/components/overlays/tooltip/tooltip.styles.js +22 -10
  234. package/lib/components/overlays/tooltip/tooltip.template.d.ts.map +1 -1
  235. package/lib/components/overlays/tooltip/tooltip.template.js +3 -2
  236. package/lib/components/pages/auth/login-page.component.d.ts +11 -4
  237. package/lib/components/pages/auth/login-page.component.d.ts.map +1 -1
  238. package/lib/components/pages/auth/login-page.component.js +18 -5
  239. package/lib/components/pages/auth/login-page.template.d.ts.map +1 -1
  240. package/lib/components/pages/auth/login-page.template.js +9 -10
  241. package/lib/components/pages/auth/signup-page.component.d.ts +11 -4
  242. package/lib/components/pages/auth/signup-page.component.d.ts.map +1 -1
  243. package/lib/components/pages/auth/signup-page.component.js +18 -5
  244. package/lib/components/pages/auth/signup-page.template.d.ts.map +1 -1
  245. package/lib/components/pages/auth/signup-page.template.js +9 -10
  246. package/lib/components/pages/dashboard/dashboard-page.component.d.ts +18 -11
  247. package/lib/components/pages/dashboard/dashboard-page.component.d.ts.map +1 -1
  248. package/lib/components/pages/dashboard/dashboard-page.component.js +55 -13
  249. package/lib/components/pages/dashboard/dashboard-page.template.js +1 -1
  250. package/lib/components/sections/app-shell/app-shell.component.d.ts +6 -6
  251. package/lib/components/sections/app-shell/app-shell.component.d.ts.map +1 -1
  252. package/lib/components/sections/app-shell/app-shell.component.js +14 -6
  253. package/lib/components/sections/app-shell/app-shell.template.js +3 -3
  254. package/lib/components/sections/hero/hero-section.component.d.ts +6 -3
  255. package/lib/components/sections/hero/hero-section.component.d.ts.map +1 -1
  256. package/lib/components/sections/hero/hero-section.component.js +13 -4
  257. package/lib/components/sections/hero/hero-section.template.js +2 -2
  258. package/lib/components/sections/page-header/page-header.component.d.ts +16 -17
  259. package/lib/components/sections/page-header/page-header.component.d.ts.map +1 -1
  260. package/lib/components/sections/page-header/page-header.component.js +36 -25
  261. package/lib/components/sections/page-header/page-header.styles.d.ts.map +1 -1
  262. package/lib/components/sections/page-header/page-header.styles.js +9 -0
  263. package/lib/components/sections/page-header/page-header.template.d.ts +5 -0
  264. package/lib/components/sections/page-header/page-header.template.d.ts.map +1 -1
  265. package/lib/components/sections/page-header/page-header.template.js +42 -31
  266. package/lib/components/sections/page-section/page-section.component.d.ts +16 -12
  267. package/lib/components/sections/page-section/page-section.component.d.ts.map +1 -1
  268. package/lib/components/sections/page-section/page-section.component.js +34 -12
  269. package/lib/components/sections/page-section/page-section.styles.d.ts.map +1 -1
  270. package/lib/components/sections/page-section/page-section.styles.js +6 -0
  271. package/lib/components/sections/page-section/page-section.template.d.ts +6 -0
  272. package/lib/components/sections/page-section/page-section.template.d.ts.map +1 -1
  273. package/lib/components/sections/page-section/page-section.template.js +26 -15
  274. package/lib/components/sections/page-section/sanitize-href.function.d.ts +12 -0
  275. package/lib/components/sections/page-section/sanitize-href.function.d.ts.map +1 -0
  276. package/lib/components/sections/page-section/sanitize-href.function.js +15 -0
  277. package/lib/directives/tooltip.directive.d.ts +8 -2
  278. package/lib/directives/tooltip.directive.d.ts.map +1 -1
  279. package/lib/directives/tooltip.directive.js +103 -9
  280. package/lib/functions/deprecation.functions.d.ts +21 -0
  281. package/lib/functions/deprecation.functions.d.ts.map +1 -0
  282. package/lib/functions/deprecation.functions.js +44 -0
  283. package/lib/functions/index.d.ts +2 -0
  284. package/lib/functions/index.d.ts.map +1 -1
  285. package/lib/functions/index.js +2 -0
  286. package/lib/functions/watch-slot-presence.function.d.ts +17 -0
  287. package/lib/functions/watch-slot-presence.function.d.ts.map +1 -0
  288. package/lib/functions/watch-slot-presence.function.js +27 -0
  289. package/lib/theme/functions/create-theme.function.d.ts +15 -1
  290. package/lib/theme/functions/create-theme.function.d.ts.map +1 -1
  291. package/lib/theme/functions/create-theme.function.js +57 -11
  292. package/lib/theme/index.d.ts +1 -0
  293. package/lib/theme/index.d.ts.map +1 -1
  294. package/lib/types/index.d.ts +8 -2
  295. package/lib/types/index.d.ts.map +1 -1
  296. package/lib/utils/accessibility/focus-trap.d.ts +19 -1
  297. package/lib/utils/accessibility/focus-trap.d.ts.map +1 -1
  298. package/lib/utils/accessibility/focus-trap.js +77 -8
  299. package/lib/utils/accessibility/index.d.ts +2 -1
  300. package/lib/utils/accessibility/index.d.ts.map +1 -1
  301. package/lib/utils/accessibility/index.js +1 -1
  302. package/lib/utils/accessibility/live-region.d.ts +10 -3
  303. package/lib/utils/accessibility/live-region.d.ts.map +1 -1
  304. package/lib/utils/accessibility/live-region.js +64 -35
  305. package/lib/utils/directives/click-outside.directive.d.ts.map +1 -1
  306. package/lib/utils/directives/click-outside.directive.js +5 -3
  307. package/lib/utils/overlay/index.d.ts +4 -0
  308. package/lib/utils/overlay/index.d.ts.map +1 -0
  309. package/lib/utils/overlay/index.js +2 -0
  310. package/lib/utils/overlay/overlay-positioner.d.ts +54 -0
  311. package/lib/utils/overlay/overlay-positioner.d.ts.map +1 -0
  312. package/lib/utils/overlay/overlay-positioner.js +85 -0
  313. package/lib/utils/overlay/toggle-dismiss-guard.d.ts +24 -0
  314. package/lib/utils/overlay/toggle-dismiss-guard.d.ts.map +1 -0
  315. package/lib/utils/overlay/toggle-dismiss-guard.js +36 -0
  316. package/lib/utils/positioning/auto-update.d.ts.map +1 -1
  317. package/lib/utils/positioning/auto-update.js +3 -0
  318. package/lib/utils/positioning/compute-position.d.ts.map +1 -1
  319. package/lib/utils/positioning/compute-position.js +8 -4
  320. package/lib/utils/positioning/middlewares/flip.middleware.d.ts.map +1 -1
  321. package/lib/utils/positioning/middlewares/flip.middleware.js +10 -3
  322. package/lib/utils/positioning/middlewares/offset.middleware.d.ts +15 -0
  323. package/lib/utils/positioning/middlewares/offset.middleware.d.ts.map +1 -1
  324. package/lib/utils/positioning/middlewares/offset.middleware.js +31 -1
  325. package/lib/utils/positioning/middlewares/shift.middleware.d.ts +13 -3
  326. package/lib/utils/positioning/middlewares/shift.middleware.d.ts.map +1 -1
  327. package/lib/utils/positioning/middlewares/shift.middleware.js +15 -7
  328. package/package.json +6 -2
@@ -5,6 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { MelodicComponent } from '@melodicdev/core';
8
+ import { watchSlotPresence } from '../../../functions/index.js';
8
9
  import { dividerTemplate } from './divider.template.js';
9
10
  import { dividerStyles } from './divider.styles.js';
10
11
  /**
@@ -23,10 +24,17 @@ let DividerComponent = class DividerComponent {
23
24
  constructor() {
24
25
  /** Divider orientation */
25
26
  this.orientation = 'horizontal';
27
+ /** Whether there is label content (toggled via slotchange) */
28
+ this.hasLabel = false;
26
29
  }
27
- /** Check if there's label content */
28
- get hasLabel() {
29
- return this.elementRef?.textContent?.trim() !== '';
30
+ onCreate() {
31
+ const shadow = this.elementRef.shadowRoot;
32
+ if (!shadow)
33
+ return;
34
+ watchSlotPresence(shadow, (name, hasContent) => {
35
+ if (name === '')
36
+ this.hasLabel = hasContent;
37
+ });
30
38
  }
31
39
  };
32
40
  DividerComponent = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"divider.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation/divider/divider.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,iDAkFzB,CAAC"}
1
+ {"version":3,"file":"divider.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation/divider/divider.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,iDAwFzB,CAAC"}
@@ -26,6 +26,12 @@ export const dividerStyles = () => css `
26
26
  align-items: center;
27
27
  }
28
28
 
29
+ /* The label slot is always rendered (so slotchange can fire);
30
+ hide the label span when there is no content. */
31
+ .ml-divider:not(.ml-divider--with-label) .ml-divider__label {
32
+ display: none;
33
+ }
34
+
29
35
  .ml-divider--horizontal {
30
36
  width: 100%;
31
37
  height: 1px;
@@ -1,3 +1,8 @@
1
1
  import type { DividerComponent } from './divider.component.js';
2
+ /**
3
+ * The label slot is always rendered so `slotchange` fires when label content
4
+ * is added or removed after mount (see DividerComponent.onCreate). The empty
5
+ * label span is hidden via CSS when there is no content.
6
+ */
2
7
  export declare function dividerTemplate(c: DividerComponent): import("@melodicdev/core").TemplateResult;
3
8
  //# sourceMappingURL=divider.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"divider.template.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation/divider/divider.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,wBAAgB,eAAe,CAAC,CAAC,EAAE,gBAAgB,6CAqBlD"}
1
+ {"version":3,"file":"divider.template.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation/divider/divider.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,gBAAgB,6CAgBlD"}
@@ -1,4 +1,9 @@
1
- import { html, classMap, when } from '@melodicdev/core';
1
+ import { html, classMap } from '@melodicdev/core';
2
+ /**
3
+ * The label slot is always rendered so `slotchange` fires when label content
4
+ * is added or removed after mount (see DividerComponent.onCreate). The empty
5
+ * label span is hidden via CSS when there is no content.
6
+ */
2
7
  export function dividerTemplate(c) {
3
8
  return html `
4
9
  <div
@@ -10,11 +15,9 @@ export function dividerTemplate(c) {
10
15
  role="separator"
11
16
  aria-orientation=${c.orientation}
12
17
  >
13
- ${when(c.hasLabel, () => html `
14
- <span class="ml-divider__label">
15
- <slot></slot>
16
- </span>
17
- `)}
18
+ <span class="ml-divider__label">
19
+ <slot></slot>
20
+ </span>
18
21
  </div>
19
22
  `;
20
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"icon.template.d.ts","sourceRoot":"","sources":["../../../../src/components/general/icon/icon.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGzD,eAAO,MAAM,YAAY,GAAI,GAAG,aAAa,8CAK5C,CAAC"}
1
+ {"version":3,"file":"icon.template.d.ts","sourceRoot":"","sources":["../../../../src/components/general/icon/icon.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGzD,eAAO,MAAM,YAAY,GAAI,GAAG,aAAa,8CAO5C,CAAC"}
@@ -3,5 +3,7 @@ import { PHOSPHOR_ICON_MAP } from './icon.map.js';
3
3
  export const iconTemplate = (c) => {
4
4
  const className = c.format === 'regular' ? 'ph' : `ph-${c.format}`;
5
5
  const codepoint = PHOSPHOR_ICON_MAP[c.icon] ?? '';
6
- return html `<i class="${className}">${codepoint}</i>`;
6
+ // aria-hidden: the ligature codepoint is presentational; without it screen
7
+ // readers announce the raw private-use character.
8
+ return html `<i class="${className}" aria-hidden="true">${codepoint}</i>`;
7
9
  };
@@ -18,6 +18,11 @@ export type PaginationPage = {
18
18
  */
19
19
  export declare class PaginationComponent implements IElementRef {
20
20
  elementRef: HTMLElement;
21
+ static propertyTypes: {
22
+ readonly page: "number";
23
+ readonly totalPages: "number";
24
+ readonly siblings: "number";
25
+ };
21
26
  /** Current active page (1-based) */
22
27
  page: number;
23
28
  /** Total number of pages */
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.component.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/pagination/pagination.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIpD,MAAM,MAAM,cAAc,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC;AAEpF;;;;;;;;;;GAUG;AACH,qBAMa,mBAAoB,YAAW,WAAW;IAC/C,UAAU,EAAG,WAAW,CAAC;IAEhC,oCAAoC;IAC7B,IAAI,SAAK;IAEhB,4BAA4B;IACrB,UAAU,SAAK;IAEtB,qDAAqD;IAC9C,QAAQ,SAAK;IAEpB,IAAW,KAAK,IAAI,cAAc,EAAE,CAmCnC;IAED,IAAW,WAAW,IAAI,OAAO,CAEhC;IAED,IAAW,OAAO,IAAI,OAAO,CAE5B;IAEM,QAAQ,GAAI,MAAM,MAAM,KAAG,IAAI,CAapC;IAEK,QAAQ,QAAO,IAAI,CAExB;IAEK,IAAI,QAAO,IAAI,CAEpB;CACF"}
1
+ {"version":3,"file":"pagination.component.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/pagination/pagination.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIpD,MAAM,MAAM,cAAc,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC;AAEpF;;;;;;;;;;GAUG;AACH,qBAMa,mBAAoB,YAAW,WAAW;IAC/C,UAAU,EAAG,WAAW,CAAC;IAIhC,OAAc,aAAa;;;;MAIhB;IAEX,oCAAoC;IAC7B,IAAI,SAAK;IAEhB,4BAA4B;IACrB,UAAU,SAAK;IAEtB,qDAAqD;IAC9C,QAAQ,SAAK;IAEpB,IAAW,KAAK,IAAI,cAAc,EAAE,CA2CnC;IAED,IAAW,WAAW,IAAI,OAAO,CAEhC;IAED,IAAW,OAAO,IAAI,OAAO,CAE5B;IAEM,QAAQ,GAAI,MAAM,MAAM,KAAG,IAAI,CAWpC;IAEK,QAAQ,QAAO,IAAI,CAExB;IAEK,IAAI,QAAO,IAAI,CAEpB;CACF"}
@@ -27,9 +27,7 @@ let PaginationComponent = class PaginationComponent {
27
27
  /** Number of sibling pages to show around current */
28
28
  this.siblings = 1;
29
29
  this.goToPage = (page) => {
30
- const currentPage = Number(this.page);
31
- const total = Number(this.totalPages);
32
- if (page < 1 || page > total || page === currentPage)
30
+ if (page < 1 || page > this.totalPages || page === this.page)
33
31
  return;
34
32
  this.page = page;
35
33
  this.elementRef.dispatchEvent(new CustomEvent('ml:page-change', {
@@ -39,17 +37,31 @@ let PaginationComponent = class PaginationComponent {
39
37
  }));
40
38
  };
41
39
  this.previous = () => {
42
- this.goToPage(Number(this.page) - 1);
40
+ this.goToPage(this.page - 1);
43
41
  };
44
42
  this.next = () => {
45
- this.goToPage(Number(this.page) + 1);
43
+ this.goToPage(this.page + 1);
46
44
  };
47
45
  }
46
+ // Attribute values are coerced to numbers declaratively by ComponentBase
47
+ // (no per-call Number() boilerplate needed in the getters/handlers below).
48
+ static { this.propertyTypes = {
49
+ page: 'number',
50
+ totalPages: 'number',
51
+ siblings: 'number'
52
+ }; }
48
53
  get pages() {
49
- const total = Math.max(1, Number(this.totalPages));
50
- const current = Math.min(Math.max(1, Number(this.page)), total);
51
- const siblings = Math.max(0, Number(this.siblings));
54
+ const total = Math.max(1, this.totalPages);
55
+ const current = Math.min(Math.max(1, this.page), total);
56
+ const siblings = Math.max(0, this.siblings);
52
57
  const range = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => ({ type: 'page', value: start + i }));
58
+ // A full layout is first + last + current + siblings on each side + one
59
+ // hidden page behind each ellipsis (2*siblings + 5 slots). When the total
60
+ // fits within that, an ellipsis would hide zero pages (or duplicate the
61
+ // boundary pages), so just render every page.
62
+ if (2 * siblings + 5 >= total) {
63
+ return range(1, total);
64
+ }
53
65
  const leftSibling = Math.max(current - siblings, 1);
54
66
  const rightSibling = Math.min(current + siblings, total);
55
67
  const showLeftEllipsis = leftSibling > 2;
@@ -74,10 +86,10 @@ let PaginationComponent = class PaginationComponent {
74
86
  ];
75
87
  }
76
88
  get hasPrevious() {
77
- return Number(this.page) > 1;
89
+ return this.page > 1;
78
90
  }
79
91
  get hasNext() {
80
- return Number(this.page) < Number(this.totalPages);
92
+ return this.page < this.totalPages;
81
93
  }
82
94
  };
83
95
  PaginationComponent = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/pagination/pagination.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,iDA8G5B,CAAC"}
1
+ {"version":3,"file":"pagination.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/pagination/pagination.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,iDAgH5B,CAAC"}
@@ -6,6 +6,7 @@ export const paginationStyles = () => css `
6
6
  --ml-pagination-pages-gap: var(--ml-space-1);
7
7
 
8
8
  /* Button base */
9
+ --ml-pagination-btn-gap: var(--ml-space-2);
9
10
  --ml-pagination-btn-padding-y: var(--ml-space-2);
10
11
  --ml-pagination-btn-padding-x: var(--ml-space-3);
11
12
  --ml-pagination-btn-font-size: var(--ml-text-sm);
@@ -13,7 +14,8 @@ export const paginationStyles = () => css `
13
14
  --ml-pagination-btn-color: var(--ml-color-text-secondary);
14
15
  --ml-pagination-btn-bg: transparent;
15
16
  --ml-pagination-btn-radius: var(--ml-radius-md);
16
- --ml-pagination-btn-transition: var(--ml-duration-150) var(--ml-ease-in-out);
17
+ --ml-pagination-btn-transition-duration: var(--ml-duration-150);
18
+ --ml-pagination-btn-transition-easing: var(--ml-ease-in-out);
17
19
 
18
20
  /* Button hover */
19
21
  --ml-pagination-btn-hover-bg: var(--ml-color-surface-hover);
@@ -57,7 +59,7 @@ export const paginationStyles = () => css `
57
59
  display: inline-flex;
58
60
  align-items: center;
59
61
  justify-content: center;
60
- gap: var(--ml-space-2);
62
+ gap: var(--ml-pagination-btn-gap);
61
63
  padding: var(--ml-pagination-btn-padding-y) var(--ml-pagination-btn-padding-x);
62
64
  font-size: var(--ml-pagination-btn-font-size);
63
65
  font-weight: var(--ml-pagination-btn-font-weight);
@@ -68,8 +70,8 @@ export const paginationStyles = () => css `
68
70
  cursor: pointer;
69
71
  user-select: none;
70
72
  transition:
71
- background-color var(--ml-pagination-btn-transition),
72
- color var(--ml-pagination-btn-transition);
73
+ background-color var(--ml-pagination-btn-transition-duration) var(--ml-pagination-btn-transition-easing),
74
+ color var(--ml-pagination-btn-transition-duration) var(--ml-pagination-btn-transition-easing);
73
75
  }
74
76
 
75
77
  .ml-pagination__btn:hover:not(:disabled) {
@@ -22,8 +22,8 @@ export declare class SidebarItemComponent implements IElementRef, OnCreate, OnDe
22
22
  elementRef: HTMLElement;
23
23
  /** Icon name */
24
24
  icon: string;
25
- /** Icon format (passed through to ml-icon) */
26
- 'icon-format': 'fill' | 'thin' | 'light' | 'regular' | 'bold' | '';
25
+ /** Icon format (passed through to ml-icon; attribute: icon-format) */
26
+ iconFormat: 'fill' | 'thin' | 'light' | 'regular' | 'bold' | '';
27
27
  /** Display label */
28
28
  label: string;
29
29
  /** Unique value identifier */
@@ -36,8 +36,8 @@ export declare class SidebarItemComponent implements IElementRef, OnCreate, OnDe
36
36
  disabled: boolean;
37
37
  /** Badge text */
38
38
  badge: string;
39
- /** Badge color variant */
40
- 'badge-color': BadgeColor;
39
+ /** Badge color variant (attribute: badge-color) */
40
+ badgeColor: BadgeColor;
41
41
  /** External link */
42
42
  external: boolean;
43
43
  /** Submenu expanded state */
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar-item.component.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/sidebar/sidebar-item.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrD;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAMa,oBAAqB,YAAW,WAAW,EAAE,QAAQ,EAAE,SAAS;IACrE,UAAU,EAAG,WAAW,CAAC;IAEhC,gBAAgB;IACT,IAAI,SAAM;IAEjB,8CAA8C;IACvC,aAAa,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,EAAE,CAAM;IAE/E,oBAAoB;IACb,KAAK,SAAM;IAElB,8BAA8B;IACvB,KAAK,SAAM;IAElB,qBAAqB;IACd,IAAI,SAAM;IAEjB,+CAA+C;IACxC,MAAM,UAAS;IAEtB,qBAAqB;IACd,QAAQ,UAAS;IAExB,iBAAiB;IACV,KAAK,SAAM;IAElB,0BAA0B;IACnB,aAAa,EAAE,UAAU,CAAa;IAE7C,oBAAoB;IACb,QAAQ,UAAS;IAExB,6BAA6B;IACtB,QAAQ,UAAS;IAExB,2DAA2D;IACpD,SAAS,UAAS;IAEzB,yCAAyC;IAClC,KAAK,SAAO;IAEnB,6BAA6B;IAC7B,OAAO,CAAC,YAAY,CAAS;IAE7B,yCAAyC;IACzC,IAAW,WAAW,IAAI,OAAO,CAEhC;IAEM,QAAQ,IAAI,IAAI;IAKhB,SAAS,IAAI,IAAI;IAIxB,oDAAoD;IAC7C,gBAAgB,GAAI,OAAO,KAAK,KAAG,IAAI,CAI5C;IAEF,2BAA2B;IACpB,WAAW,GAAI,OAAO,KAAK,KAAG,IAAI,CAiBvC;CACF"}
1
+ {"version":3,"file":"sidebar-item.component.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/sidebar/sidebar-item.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKrD;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAMa,oBAAqB,YAAW,WAAW,EAAE,QAAQ,EAAE,SAAS;IACrE,UAAU,EAAG,WAAW,CAAC;IAEhC,gBAAgB;IACT,IAAI,SAAM;IAEjB,sEAAsE;IAC/D,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,EAAE,CAAM;IAE5E,oBAAoB;IACb,KAAK,SAAM;IAElB,8BAA8B;IACvB,KAAK,SAAM;IAElB,qBAAqB;IACd,IAAI,SAAM;IAEjB,+CAA+C;IACxC,MAAM,UAAS;IAEtB,qBAAqB;IACd,QAAQ,UAAS;IAExB,iBAAiB;IACV,KAAK,SAAM;IAElB,mDAAmD;IAC5C,UAAU,EAAE,UAAU,CAAa;IAE1C,oBAAoB;IACb,QAAQ,UAAS;IAExB,6BAA6B;IACtB,QAAQ,UAAS;IAExB,2DAA2D;IACpD,SAAS,UAAS;IAEzB,yCAAyC;IAClC,KAAK,SAAO;IAEnB,6BAA6B;IAC7B,OAAO,CAAC,YAAY,CAAS;IAE7B,yCAAyC;IACzC,IAAW,WAAW,IAAI,OAAO,CAEhC;IAEM,QAAQ,IAAI,IAAI;IAKhB,SAAS,IAAI,IAAI;IAIxB,oDAAoD;IAC7C,gBAAgB,GAAI,OAAO,KAAK,KAAG,IAAI,CAI5C;IAEF,2BAA2B;IACpB,WAAW,GAAI,OAAO,KAAK,KAAG,IAAI,CAiBvC;CACF"}
@@ -7,6 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { MelodicComponent } from '@melodicdev/core';
8
8
  import { sidebarItemTemplate } from './sidebar-item.template.js';
9
9
  import { sidebarItemStyles } from './sidebar-item.styles.js';
10
+ import { defineLegacyAliases } from '../../../functions/index.js';
10
11
  /**
11
12
  * ml-sidebar-item - Navigation link for use within ml-sidebar
12
13
  *
@@ -29,8 +30,8 @@ let SidebarItemComponent = class SidebarItemComponent {
29
30
  constructor() {
30
31
  /** Icon name */
31
32
  this.icon = '';
32
- /** Icon format (passed through to ml-icon) */
33
- this['icon-format'] = '';
33
+ /** Icon format (passed through to ml-icon; attribute: icon-format) */
34
+ this.iconFormat = '';
34
35
  /** Display label */
35
36
  this.label = '';
36
37
  /** Unique value identifier */
@@ -43,8 +44,8 @@ let SidebarItemComponent = class SidebarItemComponent {
43
44
  this.disabled = false;
44
45
  /** Badge text */
45
46
  this.badge = '';
46
- /** Badge color variant */
47
- this['badge-color'] = 'default';
47
+ /** Badge color variant (attribute: badge-color) */
48
+ this.badgeColor = 'default';
48
49
  /** External link */
49
50
  this.external = false;
50
51
  /** Submenu expanded state */
@@ -99,3 +100,9 @@ SidebarItemComponent = __decorate([
99
100
  })
100
101
  ], SidebarItemComponent);
101
102
  export { SidebarItemComponent };
103
+ // Deprecated quoted kebab-case property aliases (warn once on first write;
104
+ // removed in the next major release).
105
+ defineLegacyAliases(SidebarItemComponent.prototype, 'ml-sidebar-item', {
106
+ 'icon-format': 'iconFormat',
107
+ 'badge-color': 'badgeColor'
108
+ });
@@ -5,7 +5,7 @@ export function sidebarItemTemplate(c) {
5
5
  const content = html `
6
6
  <div class="ml-sidebar-item__leading">
7
7
  <slot name="leading">
8
- ${when(!!c.icon, () => html `<ml-icon icon=${c.icon} size="sm" format=${c['icon-format'] || 'regular'}></ml-icon>`)}
8
+ ${when(!!c.icon, () => html `<ml-icon icon=${c.icon} size="sm" format=${c.iconFormat || 'regular'}></ml-icon>`)}
9
9
  </slot>
10
10
  </div>
11
11
  ${when(!isCollapsed, () => html `
@@ -15,7 +15,7 @@ export function sidebarItemTemplate(c) {
15
15
  ${when(!!c.badge, () => html `
16
16
  <span class=${classMap({
17
17
  'ml-sidebar-item__badge': true,
18
- [`ml-sidebar-item__badge--${c['badge-color']}`]: true
18
+ [`ml-sidebar-item__badge--${c.badgeColor}`]: true
19
19
  })}>${c.badge}</span>
20
20
  `)}
21
21
  ${when(c.external, () => html `<ml-icon icon="arrow-square-out" size="xs"></ml-icon>`)}
@@ -63,6 +63,13 @@ export declare class SidebarComponent implements IElementRef, OnCreate, OnDestro
63
63
  handleConfigToggle: (item: SidebarNavItem) => void;
64
64
  /** Keyboard navigation */
65
65
  handleKeyDown: (event: KeyboardEvent) => void;
66
+ /**
67
+ * Focusable navigation targets in visual order: config-mode links rendered
68
+ * in our shadow root AND the links inside slotted ml-sidebar-item shadow
69
+ * roots (slotted items previously never received keyboard focus — arrows
70
+ * changed nothing because the shadow query couldn't see them).
71
+ */
72
+ private getFocusableItems;
66
73
  /** Track expanded config items */
67
74
  expandedItems: Set<string>;
68
75
  /** Activate an item */
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar.component.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/sidebar/sidebar.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAI1F;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBAMa,gBAAiB,YAAW,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ;IAC3E,UAAU,EAAG,WAAW,CAAC;IAEhC,qBAAqB;IACd,OAAO,EAAE,cAAc,CAAa;IAE3C,kCAAkC;IAC3B,MAAM,SAAM;IAEnB,yDAAyD;IAClD,SAAS,UAAS;IAEzB,yDAAyD;IAClD,UAAU,EAAE,eAAe,EAAE,CAAM;IAE1C,+BAA+B;IACxB,gBAAgB,EAAE,cAAc,EAAE,CAAM;IAE/C,+BAA+B;IAC/B,OAAO,CAAC,WAAW,CAA8C;IAEjE,2BAA2B;IAC3B,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA+B;IAChE,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAgC;IAClE,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAgC;IAElE,uCAAuC;IACvC,IAAW,SAAS,IAAI,OAAO,CAE9B;IAED,wCAAwC;IACxC,IAAW,UAAU,IAAI,OAAO,CAE/B;IAED,qCAAqC;IACrC,IAAW,OAAO,IAAI,OAAO,CAE5B;IAEM,QAAQ,IAAI,IAAI;IAgBhB,QAAQ,IAAI,IAAI;IAIhB,SAAS,IAAI,IAAI;IAUxB,kCAAkC;IAC3B,uBAAuB,QAAO,IAAI,CAEvC;IAEF,+BAA+B;IACxB,qBAAqB,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,KAAG,IAAI,CAEjE;IAEF,mCAAmC;IAC5B,kBAAkB,GAAI,MAAM,cAAc,KAAG,IAAI,CAQtD;IAEF,0BAA0B;IACnB,aAAa,GAAI,OAAO,aAAa,KAAG,IAAI,CAmCjD;IAEF,kCAAkC;IAC3B,aAAa,cAAqB;IAEzC,uBAAuB;IACvB,OAAO,CAAC,YAAY;IAqBpB,8CAA8C;IAC9C,OAAO,CAAC,WAAW;IAKnB,0CAA0C;IAC1C,OAAO,CAAC,YAAY;IASpB,0CAA0C;IAC1C,OAAO,CAAC,YAAY;IASpB,2DAA2D;IAC3D,OAAO,CAAC,gBAAgB;CAexB"}
1
+ {"version":3,"file":"sidebar.component.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/sidebar/sidebar.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAI1F;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBAMa,gBAAiB,YAAW,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ;IAC3E,UAAU,EAAG,WAAW,CAAC;IAEhC,qBAAqB;IACd,OAAO,EAAE,cAAc,CAAa;IAE3C,kCAAkC;IAC3B,MAAM,SAAM;IAEnB,yDAAyD;IAClD,SAAS,UAAS;IAEzB,yDAAyD;IAClD,UAAU,EAAE,eAAe,EAAE,CAAM;IAE1C,+BAA+B;IACxB,gBAAgB,EAAE,cAAc,EAAE,CAAM;IAE/C,+BAA+B;IAC/B,OAAO,CAAC,WAAW,CAA8C;IAEjE,2BAA2B;IAC3B,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA+B;IAChE,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAgC;IAClE,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAgC;IAElE,uCAAuC;IACvC,IAAW,SAAS,IAAI,OAAO,CAE9B;IAED,wCAAwC;IACxC,IAAW,UAAU,IAAI,OAAO,CAE/B;IAED,qCAAqC;IACrC,IAAW,OAAO,IAAI,OAAO,CAE5B;IAEM,QAAQ,IAAI,IAAI;IAgBhB,QAAQ,IAAI,IAAI;IAIhB,SAAS,IAAI,IAAI;IAUxB,kCAAkC;IAC3B,uBAAuB,QAAO,IAAI,CAEvC;IAEF,+BAA+B;IACxB,qBAAqB,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,KAAG,IAAI,CAEjE;IAEF,mCAAmC;IAC5B,kBAAkB,GAAI,MAAM,cAAc,KAAG,IAAI,CAQtD;IAEF,0BAA0B;IACnB,aAAa,GAAI,OAAO,aAAa,KAAG,IAAI,CAoCjD;IAEF;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IAyCzB,kCAAkC;IAC3B,aAAa,cAAqB;IAEzC,uBAAuB;IACvB,OAAO,CAAC,YAAY;IAqBpB,8CAA8C;IAC9C,OAAO,CAAC,WAAW;IASnB,0CAA0C;IAC1C,OAAO,CAAC,YAAY;IASpB,0CAA0C;IAC1C,OAAO,CAAC,YAAY;IASpB,2DAA2D;IAC3D,OAAO,CAAC,gBAAgB;CAexB"}
@@ -74,11 +74,14 @@ let SidebarComponent = class SidebarComponent {
74
74
  };
75
75
  /** Keyboard navigation */
76
76
  this.handleKeyDown = (event) => {
77
- const sidebar = this.elementRef.shadowRoot?.querySelector('.ml-sidebar__main');
78
- if (!sidebar)
77
+ const focusable = this.getFocusableItems();
78
+ if (focusable.length === 0)
79
79
  return;
80
- const focusable = Array.from(sidebar.querySelectorAll('.ml-sidebar__item-link:not([disabled]), button:not([disabled]), a'));
81
- const currentIndex = focusable.indexOf(event.target);
80
+ // Keydown events from inside a slotted ml-sidebar-item's shadow root are
81
+ // retargeted to the item HOST by the time they reach our listener, so
82
+ // match against either the focusable element or its host.
83
+ const target = event.target;
84
+ const currentIndex = focusable.findIndex((entry) => entry.el === target || entry.host === target);
82
85
  let newIndex = currentIndex;
83
86
  switch (event.key) {
84
87
  case 'ArrowUp':
@@ -101,7 +104,7 @@ let SidebarComponent = class SidebarComponent {
101
104
  return;
102
105
  }
103
106
  if (newIndex !== currentIndex && focusable[newIndex]) {
104
- focusable[newIndex].focus();
107
+ focusable[newIndex].el.focus();
105
108
  }
106
109
  };
107
110
  /** Track expanded config items */
@@ -143,6 +146,42 @@ let SidebarComponent = class SidebarComponent {
143
146
  clearTimeout(this._hoverTimer);
144
147
  }
145
148
  }
149
+ /**
150
+ * Focusable navigation targets in visual order: config-mode links rendered
151
+ * in our shadow root AND the links inside slotted ml-sidebar-item shadow
152
+ * roots (slotted items previously never received keyboard focus — arrows
153
+ * changed nothing because the shadow query couldn't see them).
154
+ */
155
+ getFocusableItems() {
156
+ const main = this.elementRef.shadowRoot?.querySelector('.ml-sidebar__main');
157
+ if (!main)
158
+ return [];
159
+ const result = [];
160
+ const visit = (node) => {
161
+ if (node instanceof HTMLSlotElement) {
162
+ node.assignedElements({ flatten: true }).forEach(visit);
163
+ return;
164
+ }
165
+ if (node.tagName === 'ML-SIDEBAR-ITEM') {
166
+ const link = node.shadowRoot?.querySelector('.ml-sidebar-item__link');
167
+ if (link && !link.hasAttribute('disabled') && !link.classList.contains('ml-sidebar-item__link--disabled')) {
168
+ result.push({ el: link, host: node });
169
+ }
170
+ // Submenu items are light-DOM children; only reachable when expanded.
171
+ if (node.hasAttribute('expanded') && !this.collapsed) {
172
+ Array.from(node.children).forEach(visit);
173
+ }
174
+ return;
175
+ }
176
+ if (node.matches('.ml-sidebar__item-link:not([disabled]):not(.ml-sidebar__item-link--disabled), button:not([disabled]), a')) {
177
+ result.push({ el: node, host: null });
178
+ return;
179
+ }
180
+ Array.from(node.children).forEach(visit);
181
+ };
182
+ Array.from(main.children).forEach(visit);
183
+ return result;
184
+ }
146
185
  /** Activate an item */
147
186
  activateItem(value, href) {
148
187
  this.active = value;
@@ -160,6 +199,10 @@ let SidebarComponent = class SidebarComponent {
160
199
  }
161
200
  /** Handle item click from slotted children */
162
201
  onItemClick(event) {
202
+ // ml:sidebar-item-click is internal item→sidebar coordination; consumers
203
+ // get ml:change + ml:item-click (re-emitted by activateItem). Stop the
204
+ // original so it never escapes the ml-sidebar host.
205
+ event.stopPropagation();
163
206
  const { value, href } = event.detail;
164
207
  this.activateItem(value, href);
165
208
  }
@@ -14,5 +14,12 @@ export declare class StepPanelComponent implements IElementRef {
14
14
  elementRef: HTMLElement;
15
15
  /** Panel identifier (must match ml-step value) */
16
16
  value: string;
17
+ /**
18
+ * Accessible name for the panel, kept in sync with the matching step's
19
+ * label by the parent ml-steps. ARIA id references cannot cross shadow-root
20
+ * boundaries, so the step/panel association is carried by name (aria-label)
21
+ * rather than aria-labelledby.
22
+ */
23
+ panelLabel: string;
17
24
  }
18
25
  //# sourceMappingURL=step-panel.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"step-panel.component.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/steps/step-panel.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIpD;;;;;;;;;;GAUG;AACH,qBAMa,kBAAmB,YAAW,WAAW;IAC9C,UAAU,EAAG,WAAW,CAAC;IAEhC,kDAAkD;IAC3C,KAAK,SAAM;CAClB"}
1
+ {"version":3,"file":"step-panel.component.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/steps/step-panel.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIpD;;;;;;;;;;GAUG;AACH,qBAMa,kBAAmB,YAAW,WAAW;IAC9C,UAAU,EAAG,WAAW,CAAC;IAEhC,kDAAkD;IAC3C,KAAK,SAAM;IAElB;;;;;OAKG;IACI,UAAU,SAAM;CACvB"}
@@ -22,6 +22,13 @@ let StepPanelComponent = class StepPanelComponent {
22
22
  constructor() {
23
23
  /** Panel identifier (must match ml-step value) */
24
24
  this.value = '';
25
+ /**
26
+ * Accessible name for the panel, kept in sync with the matching step's
27
+ * label by the parent ml-steps. ARIA id references cannot cross shadow-root
28
+ * boundaries, so the step/panel association is carried by name (aria-label)
29
+ * rather than aria-labelledby.
30
+ */
31
+ this.panelLabel = '';
25
32
  }
26
33
  };
27
34
  StepPanelComponent = __decorate([
@@ -1,3 +1,3 @@
1
1
  import type { StepPanelComponent } from './step-panel.component.js';
2
- export declare function stepPanelTemplate(_c: StepPanelComponent): import("@melodicdev/core").TemplateResult;
2
+ export declare function stepPanelTemplate(c: StepPanelComponent): import("@melodicdev/core").TemplateResult;
3
3
  //# sourceMappingURL=step-panel.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"step-panel.template.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/steps/step-panel.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,kBAAkB,6CAMvD"}
1
+ {"version":3,"file":"step-panel.template.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/steps/step-panel.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,kBAAkB,6CAMtD"}
@@ -1,7 +1,7 @@
1
1
  import { html } from '@melodicdev/core';
2
- export function stepPanelTemplate(_c) {
2
+ export function stepPanelTemplate(c) {
3
3
  return html `
4
- <div class="ml-step-panel" role="tabpanel">
4
+ <div class="ml-step-panel" role="tabpanel" aria-label=${c.panelLabel || c.value}>
5
5
  <slot></slot>
6
6
  </div>
7
7
  `;
@@ -35,8 +35,8 @@ export declare class StepComponent implements IElementRef {
35
35
  color: StepsColor;
36
36
  /** Layout orientation (managed by parent) */
37
37
  orientation: StepsOrientation;
38
- /** Step number (managed by parent) */
39
- 'step-number': string;
38
+ /** Step number (managed by parent; attribute: step-number) */
39
+ stepNumber: string;
40
40
  /** First step flag (managed by parent) */
41
41
  first: boolean;
42
42
  /** Last step flag (managed by parent) */
@@ -1 +1 @@
1
- {"version":3,"file":"step.component.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/steps/step.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAI/G;;;;;;;;;;GAUG;AACH,qBAMa,aAAc,YAAW,WAAW;IACzC,UAAU,EAAG,WAAW,CAAC;IAEhC,sBAAsB;IACf,KAAK,SAAM;IAElB,iBAAiB;IACV,KAAK,SAAM;IAElB,iCAAiC;IAC1B,WAAW,SAAM;IAExB,oCAAoC;IAC7B,IAAI,SAAM;IAEjB,0BAA0B;IACnB,IAAI,SAAM;IAEjB,wBAAwB;IACjB,QAAQ,UAAS;IAExB,sCAAsC;IAC/B,MAAM,EAAE,UAAU,CAAc;IAEvC,yCAAyC;IAClC,OAAO,EAAE,YAAY,CAAc;IAE1C,0CAA0C;IACnC,SAAS,EAAE,cAAc,CAAW;IAE3C,uCAAuC;IAChC,KAAK,EAAE,UAAU,CAAa;IAErC,6CAA6C;IACtC,WAAW,EAAE,gBAAgB,CAAgB;IAEpD,sCAAsC;IAC/B,aAAa,SAAO;IAE3B,0CAA0C;IACnC,KAAK,UAAS;IAErB,yCAAyC;IAClC,IAAI,UAAS;IAEpB,4CAA4C;IACrC,OAAO,UAAS;IAEvB,2BAA2B;IACpB,WAAW,QAAO,IAAI,CAU3B;CACF"}
1
+ {"version":3,"file":"step.component.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/steps/step.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAK/G;;;;;;;;;;GAUG;AACH,qBAMa,aAAc,YAAW,WAAW;IACzC,UAAU,EAAG,WAAW,CAAC;IAEhC,sBAAsB;IACf,KAAK,SAAM;IAElB,iBAAiB;IACV,KAAK,SAAM;IAElB,iCAAiC;IAC1B,WAAW,SAAM;IAExB,oCAAoC;IAC7B,IAAI,SAAM;IAEjB,0BAA0B;IACnB,IAAI,SAAM;IAEjB,wBAAwB;IACjB,QAAQ,UAAS;IAExB,sCAAsC;IAC/B,MAAM,EAAE,UAAU,CAAc;IAEvC,yCAAyC;IAClC,OAAO,EAAE,YAAY,CAAc;IAE1C,0CAA0C;IACnC,SAAS,EAAE,cAAc,CAAW;IAE3C,uCAAuC;IAChC,KAAK,EAAE,UAAU,CAAa;IAErC,6CAA6C;IACtC,WAAW,EAAE,gBAAgB,CAAgB;IAEpD,8DAA8D;IACvD,UAAU,SAAO;IAExB,0CAA0C;IACnC,KAAK,UAAS;IAErB,yCAAyC;IAClC,IAAI,UAAS;IAEpB,4CAA4C;IACrC,OAAO,UAAS;IAEvB,2BAA2B;IACpB,WAAW,QAAO,IAAI,CAU3B;CACF"}
@@ -7,6 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { MelodicComponent } from '@melodicdev/core';
8
8
  import { stepTemplate } from './step.template.js';
9
9
  import { stepStyles } from './step.styles.js';
10
+ import { defineLegacyAliases } from '../../../functions/index.js';
10
11
  /**
11
12
  * ml-step - Individual step header for use within ml-steps
12
13
  *
@@ -42,8 +43,8 @@ let StepComponent = class StepComponent {
42
43
  this.color = 'primary';
43
44
  /** Layout orientation (managed by parent) */
44
45
  this.orientation = 'horizontal';
45
- /** Step number (managed by parent) */
46
- this['step-number'] = '1';
46
+ /** Step number (managed by parent; attribute: step-number) */
47
+ this.stepNumber = '1';
47
48
  /** First step flag (managed by parent) */
48
49
  this.first = false;
49
50
  /** Last step flag (managed by parent) */
@@ -71,3 +72,8 @@ StepComponent = __decorate([
71
72
  })
72
73
  ], StepComponent);
73
74
  export { StepComponent };
75
+ // Deprecated quoted kebab-case property aliases (warn once on first write;
76
+ // removed in the next major release).
77
+ defineLegacyAliases(StepComponent.prototype, 'ml-step', {
78
+ 'step-number': 'stepNumber'
79
+ });
@@ -73,7 +73,7 @@ function renderNumberedIndicator(c) {
73
73
  return html `
74
74
  <div class="ml-step__indicator-inner ml-step__indicator-inner--numbered">
75
75
  ${when(isCompleted, () => html `<ml-icon icon="check" size="sm"></ml-icon>`)}
76
- ${when(!isCompleted, () => html `<span>${c['step-number']}</span>`)}
76
+ ${when(!isCompleted, () => html `<span>${c.stepNumber}</span>`)}
77
77
  </div>
78
78
  `;
79
79
  }
@@ -55,6 +55,8 @@ export declare class StepsComponent implements IElementRef, OnCreate, OnDestroy,
55
55
  handleStepSlotChange: (event: Event) => void;
56
56
  /** Handle step click (config mode) */
57
57
  handleStepClick: (stepValue: string, href?: string) => void;
58
+ /** Apply the active step state and notify consumers. */
59
+ private activateStep;
58
60
  /** Handle slotted step click event */
59
61
  private handleSlottedStepClick;
60
62
  /** Handle keyboard navigation */
@@ -73,7 +75,7 @@ export declare class StepsComponent implements IElementRef, OnCreate, OnDestroy,
73
75
  private updateSlottedStepStates;
74
76
  /** Update panel visibility */
75
77
  private updatePanelVisibility;
76
- /** Focus a specific step button */
78
+ /** Focus a specific step (config-mode shadow element or slotted ml-step) */
77
79
  private focusStep;
78
80
  /** Sync active step with current route */
79
81
  private syncWithRoute;
@@ -1 +1 @@
1
- {"version":3,"file":"steps.component.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/steps/steps.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAI3H;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAMa,cAAe,YAAW,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ;IACzE,UAAU,EAAG,WAAW,CAAC;IAEhC,kCAAkC;IAC3B,MAAM,SAAM;IAEnB,qBAAqB;IACd,OAAO,EAAE,YAAY,CAAc;IAE1C,yBAAyB;IAClB,WAAW,EAAE,gBAAgB,CAAgB;IAEpD,2BAA2B;IACpB,SAAS,EAAE,cAAc,CAAW;IAE3C,mBAAmB;IACZ,KAAK,EAAE,UAAU,CAAa;IAErC,wBAAwB;IACjB,OAAO,UAAS;IAEvB,gCAAgC;IACzB,MAAM,UAAS;IAEtB,oEAAoE;IAC7D,KAAK,EAAE,UAAU,EAAE,CAAM;IAEhC,yCAAyC;IACzC,OAAO,CAAC,aAAa,CAAqB;IAE1C,gDAAgD;IAChD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAgC;IAE3D,QAAQ,IAAI,IAAI;IAUhB,QAAQ,IAAI,IAAI;IAIhB,SAAS,IAAI,IAAI;IAQxB,+BAA+B;IACxB,oBAAoB,GAAI,OAAO,KAAK,KAAG,IAAI,CAchD;IAEF,sCAAsC;IAC/B,eAAe,GAAI,WAAW,MAAM,EAAE,OAAO,MAAM,KAAG,IAAI,CAoB/D;IAEF,sCAAsC;IACtC,OAAO,CAAC,sBAAsB,CAG5B;IAEF,iCAAiC;IAC1B,aAAa,GAAI,OAAO,aAAa,KAAG,IAAI,CA8CjD;IAEF,qEAAqE;IAC9D,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,UAAU;IAUnD,0DAA0D;IACnD,oBAAoB,IAAI,MAAM;IAMrC,2BAA2B;IACpB,aAAa,IAAI,MAAM;IAI9B,6CAA6C;IACtC,WAAW,IAAI,UAAU,EAAE;IAelC,wBAAwB;IACxB,OAAO,CAAC,cAAc;IAItB,yCAAyC;IACzC,OAAO,CAAC,uBAAuB;IAiB/B,8BAA8B;IAC9B,OAAO,CAAC,qBAAqB;IAU7B,mCAAmC;IACnC,OAAO,CAAC,SAAS;IAMjB,0CAA0C;IAC1C,OAAO,CAAC,aAAa;IASrB,6CAA6C;IAC7C,OAAO,CAAC,YAAY;CAGpB"}
1
+ {"version":3,"file":"steps.component.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/steps/steps.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAI3H;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAMa,cAAe,YAAW,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ;IACzE,UAAU,EAAG,WAAW,CAAC;IAEhC,kCAAkC;IAC3B,MAAM,SAAM;IAEnB,qBAAqB;IACd,OAAO,EAAE,YAAY,CAAc;IAE1C,yBAAyB;IAClB,WAAW,EAAE,gBAAgB,CAAgB;IAEpD,2BAA2B;IACpB,SAAS,EAAE,cAAc,CAAW;IAE3C,mBAAmB;IACZ,KAAK,EAAE,UAAU,CAAa;IAErC,wBAAwB;IACjB,OAAO,UAAS;IAEvB,gCAAgC;IACzB,MAAM,UAAS;IAEtB,oEAAoE;IAC7D,KAAK,EAAE,UAAU,EAAE,CAAM;IAEhC,yCAAyC;IACzC,OAAO,CAAC,aAAa,CAAqB;IAE1C,gDAAgD;IAChD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAgC;IAE3D,QAAQ,IAAI,IAAI;IAUhB,QAAQ,IAAI,IAAI;IAIhB,SAAS,IAAI,IAAI;IAQxB,+BAA+B;IACxB,oBAAoB,GAAI,OAAO,KAAK,KAAG,IAAI,CAchD;IAEF,sCAAsC;IAC/B,eAAe,GAAI,WAAW,MAAM,EAAE,OAAO,MAAM,KAAG,IAAI,CAoB/D;IAEF,wDAAwD;IACxD,OAAO,CAAC,YAAY;IAcpB,sCAAsC;IACtC,OAAO,CAAC,sBAAsB,CAM5B;IAEF,iCAAiC;IAC1B,aAAa,GAAI,OAAO,aAAa,KAAG,IAAI,CA8CjD;IAEF,qEAAqE;IAC9D,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,UAAU;IAUnD,0DAA0D;IACnD,oBAAoB,IAAI,MAAM;IAMrC,2BAA2B;IACpB,aAAa,IAAI,MAAM;IAI9B,6CAA6C;IACtC,WAAW,IAAI,UAAU,EAAE;IAelC,wBAAwB;IACxB,OAAO,CAAC,cAAc;IAItB,yCAAyC;IACzC,OAAO,CAAC,uBAAuB;IAiB/B,8BAA8B;IAC9B,OAAO,CAAC,qBAAqB;IAoB7B,4EAA4E;IAC5E,OAAO,CAAC,SAAS;IAcjB,0CAA0C;IAC1C,OAAO,CAAC,aAAa;IASrB,6CAA6C;IAC7C,OAAO,CAAC,YAAY;CAGpB"}