@ganpatiinfo/gids-core-web 20.0.0 → 21.0.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 (283) hide show
  1. package/dist/css/index.css +607 -59
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +1 -1
  4. package/dist/gids-action-bar.js +1 -1
  5. package/dist/gids-activity-gauge.d.ts +1 -1
  6. package/dist/gids-activity-gauge.js +1 -1
  7. package/dist/gids-advanced-tooltip.d.ts +1 -1
  8. package/dist/gids-advanced-tooltip.js +1 -1
  9. package/dist/gids-bar-chart.d.ts +1 -1
  10. package/dist/gids-bar-chart.js +1 -1
  11. package/dist/gids-bento-card.d.ts +1 -1
  12. package/dist/gids-bento-card.js +1 -1
  13. package/dist/gids-calendar-header-panel.d.ts +1 -1
  14. package/dist/gids-calendar-header-panel.js +1 -1
  15. package/dist/gids-calendar-month-list.d.ts +1 -1
  16. package/dist/gids-calendar-month-list.js +1 -1
  17. package/dist/gids-calendar-year-list.d.ts +1 -1
  18. package/dist/gids-calendar-year-list.js +1 -1
  19. package/dist/gids-calendar.d.ts +1 -1
  20. package/dist/gids-calendar.js +1 -1
  21. package/dist/gids-carousel.d.ts +1 -1
  22. package/dist/gids-chart-legend-item.d.ts +1 -1
  23. package/dist/gids-chart-legend-item.js +1 -1
  24. package/dist/gids-chart-legend.d.ts +1 -1
  25. package/dist/gids-chart-legend.js +1 -1
  26. package/dist/gids-chart.d.ts +1 -1
  27. package/dist/gids-chart.js +1 -1
  28. package/dist/gids-chevron-button.d.ts +1 -1
  29. package/dist/gids-chevron-button.js +1 -1
  30. package/dist/gids-dot.d.ts +1 -1
  31. package/dist/gids-dot.js +1 -1
  32. package/dist/gids-dropdown-field.d.ts +1 -1
  33. package/dist/gids-dropdown-field.js +1 -1
  34. package/dist/gids-dropdown-picker.d.ts +1 -1
  35. package/dist/gids-dropdown-picker.js +1 -1
  36. package/dist/gids-dropdown.d.ts +1 -1
  37. package/dist/gids-dropdown.js +1 -1
  38. package/dist/gids-expansion-body-list-item.d.ts +1 -1
  39. package/dist/gids-expansion-body-list-item.js +1 -1
  40. package/dist/gids-expansion-body-list.d.ts +1 -1
  41. package/dist/gids-expansion-body-list.js +1 -1
  42. package/dist/gids-expansion-group.d.ts +1 -1
  43. package/dist/gids-expansion-group.js +1 -1
  44. package/dist/gids-expansion.d.ts +1 -1
  45. package/dist/gids-expansion.js +1 -1
  46. package/dist/gids-field.d.ts +1 -1
  47. package/dist/gids-field.js +1 -1
  48. package/dist/gids-filter.d.ts +1 -1
  49. package/dist/gids-filter.js +1 -1
  50. package/dist/gids-flyout-panel.d.ts +1 -1
  51. package/dist/gids-flyout-panel.js +1 -1
  52. package/dist/gids-form.d.ts +11 -0
  53. package/dist/gids-form.js +1 -0
  54. package/dist/gids-header-navigation-item.d.ts +1 -1
  55. package/dist/gids-header-navigation-item.js +1 -1
  56. package/dist/gids-header-navigation.d.ts +1 -1
  57. package/dist/gids-header-navigation.js +1 -1
  58. package/dist/gids-icon.d.ts +1 -1
  59. package/dist/gids-icon.js +1 -1
  60. package/dist/gids-input.d.ts +1 -1
  61. package/dist/gids-input.js +1 -1
  62. package/dist/gids-level-gauge.d.ts +1 -1
  63. package/dist/gids-line-chart.d.ts +1 -1
  64. package/dist/gids-line-chart.js +1 -1
  65. package/dist/gids-md-table.d.ts +1 -1
  66. package/dist/gids-md-table.js +1 -1
  67. package/dist/gids-notification.d.ts +1 -1
  68. package/dist/gids-overflow-container.d.ts +1 -1
  69. package/dist/gids-overflow-container.js +1 -1
  70. package/dist/gids-overlay-provider.d.ts +1 -1
  71. package/dist/gids-overlay-provider.js +1 -1
  72. package/dist/gids-password-field.d.ts +1 -1
  73. package/dist/gids-password-field.js +1 -1
  74. package/dist/gids-pie-chart.d.ts +1 -1
  75. package/dist/gids-pie-chart.js +1 -1
  76. package/dist/gids-popover.d.ts +1 -1
  77. package/dist/gids-popover.js +1 -1
  78. package/dist/gids-profile-menu-header.d.ts +1 -1
  79. package/dist/gids-profile-menu-header.js +1 -1
  80. package/dist/gids-profile-menu.d.ts +1 -1
  81. package/dist/gids-profile-menu.js +1 -1
  82. package/dist/gids-profile.d.ts +1 -1
  83. package/dist/gids-profile.js +1 -1
  84. package/dist/gids-progress-circle.d.ts +1 -1
  85. package/dist/gids-scrim.d.ts +1 -1
  86. package/dist/gids-scrim.js +1 -1
  87. package/dist/gids-sidebar-item.d.ts +11 -0
  88. package/dist/gids-sidebar-item.js +1 -0
  89. package/dist/gids-sidebar-menu.d.ts +11 -0
  90. package/dist/gids-sidebar-menu.js +1 -0
  91. package/dist/gids-sidebar.d.ts +11 -0
  92. package/dist/gids-sidebar.js +1 -0
  93. package/dist/gids-skeleton.d.ts +1 -1
  94. package/dist/gids-skeleton.js +1 -1
  95. package/dist/gids-snackbar.d.ts +1 -1
  96. package/dist/gids-tab-item.d.ts +1 -1
  97. package/dist/gids-tab-item.js +1 -1
  98. package/dist/gids-tab.d.ts +1 -1
  99. package/dist/gids-tab.js +1 -1
  100. package/dist/gids-text-field.d.ts +1 -1
  101. package/dist/gids-text-field.js +1 -1
  102. package/dist/gids-toggle-button.d.ts +1 -1
  103. package/dist/gids-toggle-button.js +1 -1
  104. package/dist/gids-tooltip.d.ts +1 -1
  105. package/dist/gids-tooltip.js +1 -1
  106. package/dist/gids-transfer-list.d.ts +1 -1
  107. package/dist/gids-transfer-list.js +1 -1
  108. package/dist/p--kh67-_Z.js +1 -0
  109. package/dist/{p-DrDadv7P.js → p-B2flLE0s.js} +1 -1
  110. package/dist/{p-jGho9nbS.js → p-BAqWcL0K.js} +1 -1
  111. package/dist/p-BCbovLBE.js +1 -0
  112. package/dist/{p-PcSMc4jQ.js → p-BIxBMTG9.js} +1 -1
  113. package/dist/{p-DgKrPmDn.js → p-BQT5yy5L.js} +1 -1
  114. package/dist/p-BRNvHMdK.js +1 -0
  115. package/dist/{p-CBiu-Vh3.js → p-B_FEFM5I.js} +1 -1
  116. package/dist/{p-Dw_kb9MC.js → p-B_St7yaX.js} +1 -1
  117. package/dist/{p-D0coZTd2.js → p-CAjDiWIc.js} +1 -1
  118. package/dist/{p-DYjV5XrH.js → p-CIjK3iHM.js} +1 -1
  119. package/dist/p-CV1-78HB.js +1 -0
  120. package/dist/{p-BdsUwTgh.js → p-D0RJMGGj.js} +1 -1
  121. package/dist/{p-CH4nrjpL.js → p-DKSnGphd.js} +1 -1
  122. package/dist/{p-CIxuyUAl.js → p-DLRj-mUX.js} +1 -1
  123. package/dist/{p-DKOr5iAk.js → p-DMxvWIj1.js} +1 -1
  124. package/dist/p-DQQhGF5N.js +1 -0
  125. package/dist/p-DZ1ZcTMe.js +1 -0
  126. package/dist/{p-BthkC6NU.js → p-DnRuhvRw.js} +1 -1
  127. package/dist/p-DpvdbdZ-.js +1 -0
  128. package/dist/{p-DZ6xQXis.js → p-DrxfD2yZ.js} +1 -1
  129. package/dist/{p-C6GHG170.js → p-Ds5IzXj3.js} +1 -1
  130. package/dist/{p-j2_DKwBz.js → p-DzOOjiNH.js} +1 -1
  131. package/dist/{p-Cacy0Dji.js → p-E13ycS5K.js} +1 -1
  132. package/dist/{p-Cz9nwmgK.js → p-TfH966_e.js} +1 -1
  133. package/dist/{p-CMW3SjbP.js → p-_W77iniK.js} +1 -1
  134. package/dist/p-bfWlRsx_.js +1 -0
  135. package/dist/p-kWyyLyT3.js +1 -0
  136. package/dist/{p-CrqHKmjy.js → p-mv_7K1EM.js} +1 -1
  137. package/dist/{p-xbqOQZl9.js → p-tEbUT3n3.js} +1 -1
  138. package/dist/types/components/html/GidsSidebarMenuItem/GidsSidebarMenuItem.d.ts +6 -0
  139. package/dist/types/components/shared/GidsFloatingElementManager.d.ts +1 -1
  140. package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +4 -0
  141. package/dist/types/components/webComponents/GidsForm/GidsForm.d.ts +32 -0
  142. package/dist/types/components/webComponents/GidsProfileMenuHeader/GidsProfileMenuHeader.d.ts +2 -0
  143. package/dist/types/components/webComponents/GidsSidebar/GidsSidebar.d.ts +55 -0
  144. package/dist/types/components/webComponents/GidsSidebarItem/GidsSidebarItem.d.ts +56 -0
  145. package/dist/types/components/webComponents/GidsSidebarMenu/GidsSidebarMenu.d.ts +38 -0
  146. package/dist/types/components.d.ts +462 -2
  147. package/dist-bundled/es/gids-action-bar.js +6 -6
  148. package/dist-bundled/es/gids-activity-gauge.js +3 -3
  149. package/dist-bundled/es/gids-advanced-tooltip.js +1 -1
  150. package/dist-bundled/es/gids-bar-chart.js +3 -3
  151. package/dist-bundled/es/gids-bento-card.js +1 -1
  152. package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
  153. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  154. package/dist-bundled/es/gids-calendar-year-list.js +1 -1
  155. package/dist-bundled/es/gids-calendar.js +23 -23
  156. package/dist-bundled/es/gids-chart-legend-item.js +3 -3
  157. package/dist-bundled/es/gids-chart-legend.js +4 -4
  158. package/dist-bundled/es/gids-chart.js +21 -21
  159. package/dist-bundled/es/gids-chevron-button.js +3 -3
  160. package/dist-bundled/es/gids-dot.js +1 -1
  161. package/dist-bundled/es/gids-dropdown-field.js +4 -4
  162. package/dist-bundled/es/gids-dropdown-picker.js +4 -4
  163. package/dist-bundled/es/gids-dropdown.js +3 -3
  164. package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
  165. package/dist-bundled/es/gids-expansion-body-list.js +2 -2
  166. package/dist-bundled/es/gids-expansion-group.js +4 -4
  167. package/dist-bundled/es/gids-expansion.js +6 -6
  168. package/dist-bundled/es/gids-field.js +3 -3
  169. package/dist-bundled/es/gids-filter.js +1 -1
  170. package/dist-bundled/es/gids-flyout-panel.js +4 -108
  171. package/dist-bundled/es/gids-form.js +92 -0
  172. package/dist-bundled/es/gids-header-navigation-item.js +3 -3
  173. package/dist-bundled/es/gids-header-navigation.js +3 -3
  174. package/dist-bundled/es/gids-icon.js +3 -3
  175. package/dist-bundled/es/gids-input.js +1 -1
  176. package/dist-bundled/es/gids-line-chart.js +1 -1
  177. package/dist-bundled/es/gids-md-table.js +53 -53
  178. package/dist-bundled/es/gids-overflow-container.js +4 -4
  179. package/dist-bundled/es/gids-overlay-provider.js +1 -1
  180. package/dist-bundled/es/gids-password-field.js +10 -10
  181. package/dist-bundled/es/gids-pie-chart.js +4 -4
  182. package/dist-bundled/es/gids-popover.js +1 -1
  183. package/dist-bundled/es/gids-profile-menu-header.js +1 -1
  184. package/dist-bundled/es/gids-profile-menu.js +4 -4
  185. package/dist-bundled/es/gids-profile.js +12 -12
  186. package/dist-bundled/es/gids-scrim.js +1 -1
  187. package/dist-bundled/es/gids-sidebar-item.js +6 -0
  188. package/dist-bundled/es/gids-sidebar-menu.js +6 -0
  189. package/dist-bundled/es/gids-sidebar.js +150 -0
  190. package/dist-bundled/es/gids-skeleton.js +1 -1
  191. package/dist-bundled/es/gids-tab-item.js +13 -13
  192. package/dist-bundled/es/gids-tab.js +7 -7
  193. package/dist-bundled/es/gids-text-field.js +3 -3
  194. package/dist-bundled/es/gids-toggle-button.js +1 -1
  195. package/dist-bundled/es/gids-tooltip.js +4 -4
  196. package/dist-bundled/es/gids-transfer-list.js +25 -26
  197. package/dist-bundled/es/{p-Cf3Ny79u-VGT_IyGI.js → p--kh67-_Z-BBhYy4ZX.js} +12 -11
  198. package/dist-bundled/es/{p-DrDadv7P-D4rbSYTr.js → p-B2flLE0s-UXdlvRVr.js} +2 -2
  199. package/dist-bundled/es/{p-jGho9nbS-BDiBvsn2.js → p-BAqWcL0K-DRjKDzoa.js} +8 -8
  200. package/dist-bundled/es/p-BCbovLBE-DfkhIEts.js +102 -0
  201. package/dist-bundled/es/{p-PcSMc4jQ-CzYLaIZr.js → p-BIxBMTG9-Bs6G0Wvv.js} +12 -12
  202. package/dist-bundled/es/{p-DgKrPmDn-C2CSKicX.js → p-BQT5yy5L-DhdgFXTM.js} +3 -3
  203. package/dist-bundled/es/p-BRNvHMdK-CqGtfAsn.js +11 -0
  204. package/dist-bundled/es/{p-CBiu-Vh3-r-McGzCb.js → p-B_FEFM5I-WvEFe7I_.js} +5 -5
  205. package/dist-bundled/es/{p-Dw_kb9MC-BTd0lrGA.js → p-B_St7yaX-Dq9UwiaA.js} +3 -3
  206. package/dist-bundled/es/{p-D0coZTd2-KhJZ57gK.js → p-CAjDiWIc-BieYBjHk.js} +1 -1
  207. package/dist-bundled/es/{p-DYjV5XrH-CI9LfBFx.js → p-CIjK3iHM-DEW8PRM5.js} +7 -7
  208. package/dist-bundled/es/{p-KQxuw_F--BTSoDfF9.js → p-CV1-78HB-DGkn3SPO.js} +18 -23
  209. package/dist-bundled/es/{p-BdsUwTgh-Cc7AQBsx.js → p-D0RJMGGj-DSjGfUhB.js} +3 -3
  210. package/dist-bundled/es/{p-CH4nrjpL-CrEJXTn0.js → p-DKSnGphd-EpxzqjUA.js} +7 -7
  211. package/dist-bundled/es/{p-CIxuyUAl-B2DxRM64.js → p-DLRj-mUX-B_ACFGx6.js} +6 -6
  212. package/dist-bundled/es/{p-DKOr5iAk-DA3Kc4Cn.js → p-DMxvWIj1-DPw-ITMY.js} +11 -11
  213. package/dist-bundled/es/{p-GcC8pCKF-CZJFTFeN.js → p-DQQhGF5N-mCqb5VTE.js} +8 -8
  214. package/dist-bundled/es/p-DZ1ZcTMe-tnPOECry.js +10 -0
  215. package/dist-bundled/es/{p-BthkC6NU-F03MhDw7.js → p-DnRuhvRw-Beh0bANh.js} +2 -2
  216. package/dist-bundled/es/p-DpvdbdZ--C7QlXxK2.js +118 -0
  217. package/dist-bundled/es/{p-DZ6xQXis-XT86MMis.js → p-DrxfD2yZ-Juydw__6.js} +9 -9
  218. package/dist-bundled/es/{p-C6GHG170-Di8lwQkY.js → p-Ds5IzXj3-BC_F0-JJ.js} +13 -13
  219. package/dist-bundled/es/{p-j2_DKwBz-CqyuxxnN.js → p-DzOOjiNH-Wm7KbI3O.js} +5 -5
  220. package/dist-bundled/es/{p-Cacy0Dji-D-D254kT.js → p-E13ycS5K-D-yK6pqz.js} +1 -1
  221. package/dist-bundled/es/{p-Cz9nwmgK-BO8HUAvD.js → p-TfH966_e-tyxLyzL3.js} +7 -7
  222. package/dist-bundled/es/{p-CMW3SjbP-ZYYIF_i6.js → p-_W77iniK-DZ9pVDuI.js} +2 -2
  223. package/dist-bundled/es/p-bfWlRsx_-B9hzkHIt.js +110 -0
  224. package/dist-bundled/es/p-kWyyLyT3-DhHcKhR9.js +267 -0
  225. package/dist-bundled/es/{p-CrqHKmjy-DwSsCofb.js → p-mv_7K1EM-lPgJqpPI.js} +1 -1
  226. package/dist-bundled/es/{p-xbqOQZl9-BK9vjfj7.js → p-tEbUT3n3-CWq8ErgN.js} +10 -10
  227. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  228. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  229. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +2 -2
  230. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  231. package/dist-bundled/umd/gids-bento-card.umd.js +2 -2
  232. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  233. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  234. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  235. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  236. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  237. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  238. package/dist-bundled/umd/gids-chart.umd.js +1 -1
  239. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  240. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  241. package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
  242. package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
  243. package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
  244. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  245. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  246. package/dist-bundled/umd/gids-expansion-group.umd.js +2 -2
  247. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  248. package/dist-bundled/umd/gids-field.umd.js +2 -2
  249. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  250. package/dist-bundled/umd/gids-flyout-panel.umd.js +2 -2
  251. package/dist-bundled/umd/gids-form.umd.js +5 -0
  252. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  253. package/dist-bundled/umd/gids-header-navigation.umd.js +1 -1
  254. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  255. package/dist-bundled/umd/gids-input.umd.js +2 -2
  256. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  257. package/dist-bundled/umd/gids-md-table.umd.js +1 -1
  258. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  259. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  260. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  261. package/dist-bundled/umd/gids-pie-chart.umd.js +1 -1
  262. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  263. package/dist-bundled/umd/gids-profile-menu-header.umd.js +2 -2
  264. package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
  265. package/dist-bundled/umd/gids-profile.umd.js +2 -2
  266. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  267. package/dist-bundled/umd/gids-sidebar-item.umd.js +5 -0
  268. package/dist-bundled/umd/gids-sidebar-menu.umd.js +5 -0
  269. package/dist-bundled/umd/gids-sidebar.umd.js +5 -0
  270. package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
  271. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  272. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  273. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  274. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  275. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  276. package/dist-bundled/umd/gids-transfer-list.umd.js +2 -2
  277. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  278. package/package.json +35 -3
  279. package/dist/p-B0hLXifA.js +0 -1
  280. package/dist/p-Cf3Ny79u.js +0 -1
  281. package/dist/p-GcC8pCKF.js +0 -1
  282. package/dist/p-KQxuw_F-.js +0 -1
  283. package/dist-bundled/es/p-B0hLXifA-CoImnX3T.js +0 -99
@@ -64,7 +64,7 @@ const h = v(class extends p {
64
64
  e && e.removeEventListener("click", this.handleToggleEvent), document.removeEventListener("click", this.handleDocumentClick), document.removeEventListener("keydown", this.handleKeyDown);
65
65
  }
66
66
  render() {
67
- return a(f, { key: "73497d9ef4f14eebabf001242caef76381b5991d" }, a("slot", { key: "7b765462348d7a0c4340bdefd665d5b06149f404", name: "anchor" }), a("div", { key: "c08d46d227c0a7427d6e32f7999cfe0bc4ef7761", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "f7d42809d784ac6a83ccf02fc0d3d206429cdd8c", id: "arrow" }), a("div", { key: "869b33ab701c0fe3bd1e9e98e1174366d78a9807" }, a("slot", { key: "9c3e5e4d37cc1da657984f1807e8f000011f8161" }))));
67
+ return a(f, { key: "3554da5077c5559833eff3e75b879747d5b2e8d9" }, a("slot", { key: "a2ff6891af63297a0851a73073d71ff07a43b588", name: "anchor" }), a("div", { key: "2026889b3345cad4e0c9e7f3322e9202989911f5", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "5d4a3d2627badbc918b5d1ce165ff9713192255d", id: "arrow" }), a("div", { key: "e7f2c5681fbfe9aa83f45c6c6007384dac051210" }, a("slot", { key: "3a7392b090bb697361bc26ee6f3f8d8dbbcd2de5" }))));
68
68
  }
69
69
  disconnectedCallback() {
70
70
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -1,4 +1,4 @@
1
- import { _ as e, u as o } from "./p-B0hLXifA-CoImnX3T.js";
1
+ import { _ as e, y as o } from "./p-BCbovLBE-DfkhIEts.js";
2
2
  const s = e, t = o;
3
3
  export {
4
4
  s as GidsProfileMenuHeader,
@@ -1,6 +1,6 @@
1
- import { c as e, u as o } from "./p-Cf3Ny79u-VGT_IyGI.js";
2
- const s = e, t = o;
1
+ import { c as e, p as o } from "./p--kh67-_Z-BBhYy4ZX.js";
2
+ const p = e, r = o;
3
3
  export {
4
- s as GidsProfileMenu,
5
- t as defineCustomElement
4
+ p as GidsProfileMenu,
5
+ r as defineCustomElement
6
6
  };
@@ -1,8 +1,8 @@
1
- import { L as z, u as B, D as o, P as L, q as c } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { m as R, l as $, u as j } from "./p-B0hLXifA-CoImnX3T.js";
3
- import { p as G } from "./p-CcKHKwS0-Bw63tTOA.js";
1
+ import { L as z, u as B, D as o, P as L, q as f } from "./p-B4hcsDH0-CPqEc-vc.js";
2
+ import { m as R, l as j, y as G } from "./p-BCbovLBE-DfkhIEts.js";
3
+ import { p as $ } from "./p-CcKHKwS0-Bw63tTOA.js";
4
4
  import { d as b } from "./p-iQRr_fAH-ClfWEu03.js";
5
- import { u as q } from "./p-Cf3Ny79u-VGT_IyGI.js";
5
+ import { p as q } from "./p--kh67-_Z-BBhYy4ZX.js";
6
6
  import { c as N } from "./clsx-OuTLNxxd.js";
7
7
  const O = ({ profileControlAppearance: e, profileControlBorderRadius: i, profileControlShadow: r, expanded: a }, l) => N("gids-profile", {
8
8
  // Appearances
@@ -68,7 +68,7 @@ const O = ({ profileControlAppearance: e, profileControlBorderRadius: i, profile
68
68
  __proto__: null,
69
69
  getGidsProfileClassNames: O,
70
70
  getGidsProfileTextClassNames: F
71
- }, Symbol.toStringTag, { value: "Module" })), { getGidsProfileClassNames: J, getGidsProfileTextClassNames: K } = W, { getProfileHeaderMenuAvatarText: Q } = $, C = z(class extends B {
71
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsProfileClassNames: J, getGidsProfileTextClassNames: K } = W, { getProfileHeaderMenuAvatarText: Q } = j, C = z(class extends B {
72
72
  constructor(e) {
73
73
  super(), e !== !1 && this.__registerHost(), this.expanded = !1, this.profileControlAppearance = "default", this.profileControlAvatarVisible = !0, this.profileControlAvatarBadgeVisible = !0, this.profileControlBorderRadius = "none", this.profileControlShadow = "none", this.profileControlLeadingIconSize = "sm", this.profileControlTrailingIconSize = "sm", this.profileControlLeadingIconAppearance = "filled", this.profileControlTrailingIconAppearance = "filled", this.profileMenuItems = [], this.headerDividerVisible = !1, this.headerVisible = !1, this.listSectionDividerVisible = !1, this.isMenuExpanded = !1, this.selectedProfileMenuItemId = void 0, this.onProfileControlPress = (i) => {
74
74
  if (i && i.stopPropagation(), this.hasMenu()) {
@@ -88,8 +88,8 @@ const O = ({ profileControlAppearance: e, profileControlBorderRadius: i, profile
88
88
  if (!i) return;
89
89
  const r = this.hostElement.getBoundingClientRect(), a = window.innerWidth, l = window.innerHeight;
90
90
  i.style.maxHeight = "none";
91
- const g = i.getBoundingClientRect(), s = l - r.bottom - 8, n = r.top - 4, d = g.height > s && n > s, f = d ? n : s;
92
- i.style.maxHeight = g.height > f ? f + "px" : "none";
91
+ const g = i.getBoundingClientRect(), s = l - r.bottom - 8, n = r.top - 4, d = g.height > s && n > s, c = d ? n : s;
92
+ i.style.maxHeight = g.height > c ? c + "px" : "none";
93
93
  const p = i.getBoundingClientRect();
94
94
  let t = r.left;
95
95
  t + p.width > a - 4 && (t = a - p.width - 4), t < 4 && (t = 4), i.style.left = t - r.left + "px", i.style.top = d ? -p.height - 4 + "px" : r.height + 4 + "px";
@@ -169,9 +169,9 @@ const O = ({ profileControlAppearance: e, profileControlBorderRadius: i, profile
169
169
  document.removeEventListener("click", this.handleDocumentClick);
170
170
  }
171
171
  render() {
172
- const e = this?.profileControlAppearance ?? "default", i = this?.profileControlAvatarProps, r = i?.badgeProps, a = this?.profileControlAvatarVisible ?? !1, l = this?.profileControlAvatarBadgeVisible ?? !1, g = this?.profileControlBorderRadius ?? "none", s = this?.profileControlShadow ?? "none", n = this?.profileControlLeadingIcon, d = this?.profileControlTrailingIcon, f = this?.profileControlTitle ?? "", p = this?.profileControlSupportingText ?? "", t = this?.profileMenuItems ?? [], _ = this?.headerDividerVisible ?? !1, x = this?.headerVisible ?? !1, y = this?.headerItem, I = this?.listSectionDividerVisible ?? !1, P = this?.menuId, h = this?.isMenuExpanded ?? !1, u = this.hasMenu(), w = this.selectedProfileMenuItemId, k = this?.profileControlLeadingIconSize ?? "sm", T = this?.profileControlTrailingIconSize ?? "sm", A = this?.profileControlLeadingIconAppearance ?? "filled", V = this?.profileControlTrailingIconAppearance ?? "filled", M = J({ profileControlAppearance: e, profileControlBorderRadius: g, profileControlShadow: s, expanded: h && u }), S = i?.size ?? "sm", { titleClasses: E, supportingTextClasses: D } = K({ profileControlAppearance: e });
172
+ const e = this?.profileControlAppearance ?? "default", i = this?.profileControlAvatarProps, r = i?.badgeProps, a = this?.profileControlAvatarVisible ?? !1, l = this?.profileControlAvatarBadgeVisible ?? !1, g = this?.profileControlBorderRadius ?? "none", s = this?.profileControlShadow ?? "none", n = this?.profileControlLeadingIcon, d = this?.profileControlTrailingIcon, c = this?.profileControlTitle ?? "", p = this?.profileControlSupportingText ?? "", t = this?.profileMenuItems ?? [], _ = this?.headerDividerVisible ?? !1, x = this?.headerVisible ?? !1, y = this?.headerItem, I = this?.listSectionDividerVisible ?? !1, P = this?.menuId, h = this?.isMenuExpanded ?? !1, u = this.hasMenu(), w = this.selectedProfileMenuItemId, k = this?.profileControlLeadingIconSize ?? "sm", T = this?.profileControlTrailingIconSize ?? "sm", A = this?.profileControlLeadingIconAppearance ?? "filled", V = this?.profileControlTrailingIconAppearance ?? "filled", M = J({ profileControlAppearance: e, profileControlBorderRadius: g, profileControlShadow: s, expanded: h && u }), S = i?.size ?? "sm", { titleClasses: E, supportingTextClasses: D } = K({ profileControlAppearance: e });
173
173
  let v = i?.color ?? "brand";
174
- return e === "brand" && (v = i?.color ?? "default"), o(L, { key: "af2b1019426d4afb25d17e13cbcfd9c68ff93ae3", class: M, onClick: this.onProfileControlPress, "menu-expanded": h }, n ? o(b, { name: n, size: k, appearance: A }) : void 0, o("div", { key: "0236ae2295f37e17c119fb2aef82ce640e0f5176", class: "gids-profile__main-container" }, a ? o(R, { appearance: i?.appearance ?? "text", color: v, size: S, text: this.getProfileControlAvatarText(), imageSrc: i?.imageSrc ?? "", alt: i?.alt ?? "alt-img", badge: l ? o(G, { appearance: r?.appearance ?? "information", type: r?.type, count: r?.count, outline: r?.outline }) : void 0 }) : void 0, o("div", { key: "24ff9b5beb2f85c80bd6f4995f121c07ea419a30", class: "gids-profile__content-container" }, o("span", { key: "eee7c917840c9e50235c7ff6a1521257aad5b7b0", class: E }, f), o("p", { key: "13f067ccbf54ec8562644a80959f78a0ece5ac68", class: D }, p))), d ? o(b, { name: d, size: T, appearance: V }) : void 0, u && h ? o("div", { class: "gids-profile__dropdown-menu-container", id: P, role: "profilePickerbox", onClick: (H) => H.stopPropagation() }, o("gids-profile-menu", { headerItem: y, headerDividerVisible: _, headerVisible: x, listSectionDividerVisible: I, profileMenuItems: t, onHeaderAvatarPress: this.onPressHeaderAvatar, onHeaderTitlePress: this.onPressHeaderTitle, onHeaderSupportingTextPress: this.onPressHeaderSupportingText, onProfileMenuItemPress: this.onPressProfileMenuItem, selectedProfileMenuItemId: w })) : void 0);
174
+ return e === "brand" && (v = i?.color ?? "default"), o(L, { key: "6544a8b12ca555b005aada8583aee6af2716d19b", class: M, onClick: this.onProfileControlPress, "menu-expanded": h }, n ? o(b, { name: n, size: k, appearance: A }) : void 0, o("div", { key: "e2ee877c0168c5c27a64f6e51799294d03c62ac9", class: "gids-profile__main-container" }, a ? o(R, { appearance: i?.appearance ?? "text", color: v, size: S, text: this.getProfileControlAvatarText(), imageSrc: i?.imageSrc ?? "", alt: i?.alt ?? "alt-img", badge: l ? o($, { appearance: r?.appearance ?? "information", type: r?.type, count: r?.count, outline: r?.outline }) : void 0 }) : void 0, o("div", { key: "285373353d7ebec41f82e87393f0395d2033331e", class: "gids-profile__content-container" }, o("span", { key: "fdb40d72e3c78cf520b8c066e4b046a418eb8d28", class: E }, c), o("p", { key: "ea66a5d582c3223357c7da2c38c12286f349f185", class: D }, p))), d ? o(b, { name: d, size: T, appearance: V }) : void 0, u && h ? o("div", { class: "gids-profile__dropdown-menu-container", id: P, role: "profilePickerbox", onClick: (H) => H.stopPropagation() }, o("gids-profile-menu", { headerItem: y, headerDividerVisible: _, headerVisible: x, listSectionDividerVisible: I, profileMenuItems: t, onHeaderAvatarPress: this.onPressHeaderAvatar, onHeaderTitlePress: this.onPressHeaderTitle, onHeaderSupportingTextPress: this.onPressHeaderSupportingText, onProfileMenuItemPress: this.onPressProfileMenuItem, selectedProfileMenuItemId: w })) : void 0);
175
175
  }
176
176
  get hostElement() {
177
177
  return this;
@@ -187,13 +187,13 @@ function m() {
187
187
  typeof customElements < "u" && ["gids-profile", "gids-profile-menu", "gids-profile-menu-header"].forEach(((e) => {
188
188
  switch (e) {
189
189
  case "gids-profile":
190
- customElements.get(c(e)) || customElements.define(c(e), C);
190
+ customElements.get(f(e)) || customElements.define(f(e), C);
191
191
  break;
192
192
  case "gids-profile-menu":
193
- customElements.get(c(e)) || q();
193
+ customElements.get(f(e)) || q();
194
194
  break;
195
195
  case "gids-profile-menu-header":
196
- customElements.get(c(e)) || j();
196
+ customElements.get(f(e)) || G();
197
197
  }
198
198
  }));
199
199
  }
@@ -16,7 +16,7 @@ const d = (s) => n("gids-scrim", s), m = /* @__PURE__ */ Object.freeze(/* @__PUR
16
16
  s !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(s), this.activeClasses = a(this.extraClasses);
17
17
  }
18
18
  render() {
19
- return e("div", { key: "18caab041af3f9687f5adfd316396540a5e86b8e", class: this.activeClasses, part: "root" }, e("slot", { key: "2e512b31b80245db0ae80434f89979455cf97392" }));
19
+ return e("div", { key: "dabb463e89a0f58e4293299df536b475f3dcad88", class: this.activeClasses, part: "root" }, e("slot", { key: "417013f19fdaf3d704712a7fd85e9b39b721d561" }));
20
20
  }
21
21
  get _el() {
22
22
  return this;
@@ -0,0 +1,6 @@
1
+ import { m as e, g as m } from "./p-bfWlRsx_-B9hzkHIt.js";
2
+ const o = e, r = m;
3
+ export {
4
+ o as GidsSidebarItem,
5
+ r as defineCustomElement
6
+ };
@@ -0,0 +1,6 @@
1
+ import { G as e, P as o } from "./p-kWyyLyT3-DhHcKhR9.js";
2
+ const s = e, t = o;
3
+ export {
4
+ s as GidsSidebarMenu,
5
+ t as defineCustomElement
6
+ };
@@ -0,0 +1,150 @@
1
+ import { L as O, u as G, D as a, P as j, q as r } from "./p-B4hcsDH0-CPqEc-vc.js";
2
+ import { p as q } from "./p-CcKHKwS0-Bw63tTOA.js";
3
+ import { o as X } from "./p-BsC3-MVH-j4fPhip5.js";
4
+ import { d as S } from "./p-iQRr_fAH-ClfWEu03.js";
5
+ import { A as B, S as F, y as J, P as K } from "./p-kWyyLyT3-DhHcKhR9.js";
6
+ import { r as p } from "./p-BRNvHMdK-CqGtfAsn.js";
7
+ import { h as Q } from "./p-DpvdbdZ--C7QlXxK2.js";
8
+ import { g as R } from "./p-bfWlRsx_-B9hzkHIt.js";
9
+ import { c as U } from "./clsx-OuTLNxxd.js";
10
+ const V = ({ appearance: e, height: i }, t) => U("gids-sidebar", {
11
+ // Appearances
12
+ // 'gids-sidebar--appearance-default': appearance === 'default', // By default so not needed
13
+ "gids-sidebar--appearance-subtle": e === "subtle",
14
+ "gids-sidebar--appearance-primary": e === "primary",
15
+ // Heights
16
+ // 'gids-sidebar--height-intrinsic': height === 'intrinsic', // By default so not needed
17
+ "gids-sidebar--height-full": i === "full"
18
+ }, t), W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
+ __proto__: null,
20
+ getGidsSidebarClassNames: V
21
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsSidebarClassNames: Y } = W, C = O(class extends G {
22
+ constructor(e) {
23
+ super(), e !== !1 && this.__registerHost(), this.id = "sidebar", this.appearance = "default", this.sidebarItemAppearance = "subtle", this.sidebarItemSelectionAppearance = "default", this.sidebarMenuItemAppearance = "subtle", this.sidebarMenuItemSelectionAppearance = "default", this.height = "intrinsic", this.sectionDividers = !0, this.itemDividers = !1, this.headerDivider = !0, this.menuPlacement = "right-end", this.menuConstrainPlacements = ["right-end", "left-end", "left", "right", "right-start", "left-start"], this.listData = [], this.selectedMenuItemSectionIdState = void 0, this.selectedMenuItemIdState = void 0, this.selectedSectionIdState = void 0, this.selectedItemIdState = void 0, this.hasHeaderContent = !1, this.onSidebarItemPress = ({ event: i, sectionId: t, sectionIndex: s, itemIndex: n }) => {
24
+ this.selectedSectionIdState = t, this.selectedItemIdState = i?.sidebarItemId ?? void 0, this.selectedMenuItemSectionIdState = i?.sidebarMenuItemSectionId ?? void 0, this.selectedMenuItemIdState = i?.sidebarMenuItemId ?? void 0, this.onSidebarChange && this.onSidebarChange({ ...i, originalEvent: i?.originalEvent, sidebarSectionId: t, sidebarSectionIndex: s, sidebarItemIndex: n });
25
+ }, this.hasMenu = (i) => {
26
+ const t = i?.menuData ?? [];
27
+ if (t.length <= 0) return !1;
28
+ const s = t[0]?.menuItems ?? [];
29
+ return s.length <= 0 ? !1 : !!s[0]?.id;
30
+ }, this.sidebarMenuItemSelected = ({ listItem: i, listItemSectionId: t }) => {
31
+ if (t === this.selectedSectionIdState && i.id === this.selectedItemIdState) {
32
+ const s = (i?.menuData ?? []).find(((n) => n?.sectionId === this?.selectedMenuItemSectionIdState));
33
+ if (s) {
34
+ const n = s?.menuItems ?? [];
35
+ return !!(n.length > 0 && n.find(((l) => l.id === this?.selectedMenuItemIdState)));
36
+ }
37
+ return !1;
38
+ }
39
+ return !1;
40
+ }, this.sidebarItemSelected = ({ listItem: i, listItemSectionId: t }) => this.hasMenu(i) ? this.sidebarMenuItemSelected({ listItem: i, listItemSectionId: t }) : t === this.selectedSectionIdState && i.id === this.selectedItemIdState, this.renderAccessory = ({ accessoryType: i, accessory: t, slotName: s }) => {
41
+ switch (i) {
42
+ case "badge":
43
+ return a(q, { ...t?.badgeProps, slot: s });
44
+ case "display-tag":
45
+ return a(X, { ...t?.displayTagProps, label: t?.displayTagProps?.label ?? "", color: t?.displayTagProps?.color ?? "accent-1", slot: s, icon: t?.displayTagProps?.iconName ? a(S, { name: t.displayTagProps.iconName, appearance: t?.displayTagProps?.iconAppearance ?? "regular", size: t?.displayTagProps?.iconSize ?? "md", alt: t?.displayTagProps?.iconAlt }) : void 0 });
46
+ case "status-tag":
47
+ return a(J, { ...t?.statusTagProps, slot: s });
48
+ case "checkbox":
49
+ return a(F, { checked: t?.checkboxProps?.checked, disabled: t?.checkboxProps?.disabled, indeterminate: t?.checkboxProps?.indeterminate, slot: s }, t?.checkboxProps?.label);
50
+ case "radio":
51
+ return a(B, { checked: t?.radioProps?.checked, disabled: t?.radioProps?.disabled, slot: s }, t?.radioProps?.label);
52
+ default:
53
+ return;
54
+ }
55
+ }, this.renderIcon = (i) => i?.name ? a(S, { name: i.name, appearance: i?.appearance ?? "regular", size: i?.size ?? "md", alt: i?.alt, slot: "sidebarItemLeadingIcon" }) : void 0;
56
+ }
57
+ idChanged(e) {
58
+ this.id = e;
59
+ }
60
+ appearanceChanged(e) {
61
+ this.appearance = e;
62
+ }
63
+ sidebarItemAppearanceChanged(e) {
64
+ this.sidebarItemAppearance = e;
65
+ }
66
+ sidebarItemSelectionAppearanceChanged(e) {
67
+ this.sidebarItemSelectionAppearance = e;
68
+ }
69
+ sidebarMenuItemAppearanceChanged(e) {
70
+ this.sidebarMenuItemAppearance = e;
71
+ }
72
+ sidebarMenuItemSelectionAppearanceChanged(e) {
73
+ this.sidebarMenuItemSelectionAppearance = e;
74
+ }
75
+ selectedSectionIdChanged(e) {
76
+ this.selectedSectionId = e, this.selectedSectionIdState = e;
77
+ }
78
+ selectedItemIdChanged(e) {
79
+ this.selectedItemId = e, this.selectedItemIdState = e;
80
+ }
81
+ selectedMenuItemSectionIdChanged(e) {
82
+ this.selectedMenuItemSectionId = e, this.selectedMenuItemSectionIdState = e;
83
+ }
84
+ selectedMenuItemIdChanged(e) {
85
+ this.selectedMenuItemId = e, this.selectedMenuItemIdState = e;
86
+ }
87
+ heightChanged(e) {
88
+ this.height = e;
89
+ }
90
+ sectionDividersChanged(e) {
91
+ this.sectionDividers = e;
92
+ }
93
+ itemDividersChanged(e) {
94
+ this.itemDividers = e;
95
+ }
96
+ menuPlacementChanged(e) {
97
+ this.menuPlacement = e;
98
+ }
99
+ menuConstrainPlacementsChanged(e) {
100
+ this.menuConstrainPlacements = e;
101
+ }
102
+ listDataChanged(e) {
103
+ this.listData = e;
104
+ }
105
+ connectedCallback() {
106
+ this.selectedMenuItemSectionIdState = this.selectedMenuItemSectionId, this.selectedMenuItemIdState = this.selectedMenuItemId, this.selectedSectionIdState = this.selectedSectionId, this.selectedItemIdState = this.selectedItemId, this.hasHeaderContent = Array.from(this.hostElement.childNodes).some(((e) => e.nodeType === Node.ELEMENT_NODE || e.nodeType === Node.TEXT_NODE && (e.textContent?.trim().length ?? 0) > 0));
107
+ }
108
+ render() {
109
+ const e = this.id, i = this?.appearance ?? "default", t = this?.sidebarItemAppearance ?? "subtle", s = this?.sidebarItemSelectionAppearance ?? "default", n = this?.sidebarMenuItemAppearance ?? "subtle", l = this?.sidebarMenuItemSelectionAppearance ?? "default", f = this?.height ?? "intrinsic", M = this?.menuPlacement ?? "right-end", y = this?.menuConstrainPlacements && this.menuConstrainPlacements.length > 0 ? this.menuConstrainPlacements : ["right-end", "left-end", "left", "right", "right-start", "left-start"], I = this?.listData ?? [], A = this?.sectionDividers ?? !0, P = this?.itemDividers ?? !1, D = this?.headerDivider ?? !0, x = this?.selectedMenuItemSectionIdState ?? void 0, _ = this?.selectedMenuItemIdState ?? void 0, g = this.hasHeaderContent, T = Y({ appearance: i, height: f });
110
+ return a(j, { key: "0b48c64fd20c4197854d539e83fead2de42b2817", class: T, id: e, "data-appearance": i }, g ? a("div", { class: "gids-sidebar__header-container" }, a("slot", null), g && D ? a(p, null) : void 0) : void 0, I.map(((o, c) => {
111
+ const u = o?.lisItems ?? [], b = o?.listSectionLabel, m = o?.listSectionId;
112
+ return a("div", { key: `${c + 1}-${m}`, class: "gids-sidebar__list-section-container" }, b ? a("h4", null, b) : void 0, u.map(((d, h) => {
113
+ const k = `${h + 1}-${c + 1}-${d.id}`, { leadingAccessoryType: E, leadingAccessory: N, trailingAccessoryType: L, trailingAccessory: w, leadingIconProps: $, ...z } = d;
114
+ return a("div", { class: "gids-sidebar__item-container" }, a("gids-sidebar-item", { ...z, key: k, id: d.id, appearance: t, selectionAppearance: s, sidebarMenuItemAppearance: n, sidebarMenuItemSelectionAppearance: l, menuPlacement: M, menuConstrainPlacements: y, menuData: d?.menuData ?? [], menuId: d?.menuId, leadingLabel: d?.leadingLabel, leadingSupportingText: d?.leadingSupportingText, trailingLabel: d?.trailingLabel, trailingSupportingText: d?.trailingSupportingText, disabled: d?.disabled, selectedMenuItemSectionId: x, selectedMenuItemId: _, selected: this.sidebarItemSelected({ listItem: d, listItemSectionId: m }), onPressSidebarItem: (H) => this.onSidebarItemPress({ event: H, sectionId: m, sectionIndex: c, itemIndex: h }) }, this.renderAccessory({ accessoryType: E, accessory: N, slotName: "sidebarItemLeadingAccessory" }), this.renderIcon($), this.renderAccessory({ accessoryType: L, accessory: w, slotName: "sidebarItemTrailingAccessory" })), P && h < u.length - 1 ? a(p, null) : void 0);
115
+ })), A && c < I.length - 1 ? a("div", { class: "gids-sidebar__section-divider-container" }, a(p, null)) : void 0);
116
+ })));
117
+ }
118
+ get hostElement() {
119
+ return this;
120
+ }
121
+ static get watchers() {
122
+ return { id: [{ idChanged: 0 }], appearance: [{ appearanceChanged: 0 }], sidebarItemAppearance: [{ sidebarItemAppearanceChanged: 0 }], sidebarItemSelectionAppearance: [{ sidebarItemSelectionAppearanceChanged: 0 }], sidebarMenuItemAppearance: [{ sidebarMenuItemAppearanceChanged: 0 }], sidebarMenuItemSelectionAppearance: [{ sidebarMenuItemSelectionAppearanceChanged: 0 }], selectedSectionId: [{ selectedSectionIdChanged: 0 }], selectedItemId: [{ selectedItemIdChanged: 0 }], selectedMenuItemSectionId: [{ selectedMenuItemSectionIdChanged: 0 }], selectedMenuItemId: [{ selectedMenuItemIdChanged: 0 }], height: [{ heightChanged: 0 }], sectionDividers: [{ sectionDividersChanged: 0 }], itemDividers: [{ itemDividersChanged: 0 }], menuPlacement: [{ menuPlacementChanged: 0 }], menuConstrainPlacements: [{ menuConstrainPlacementsChanged: 0 }], listData: [{ listDataChanged: 0 }] };
123
+ }
124
+ static get style() {
125
+ return ".gids-sidebar{display:flex;flex-direction:column;gap:var(--gids-gap-300);padding:var(--gids-padding-vertical-edge-to-element-250) var(--gids-padding-horizontal-edge-to-element-300);background-color:var(--gids-color-background-canvas);border-radius:var(--gids-border-radius-lg);border:var(--gids-border-width-thin) solid var(--gids-color-border-default)}.gids-sidebar__header-container{display:flex;flex-direction:column;width:100%;gap:var(--gids-gap-400)}.gids-sidebar__list-section-container{display:flex;flex-direction:column;gap:var(--gids-gap-150)}.gids-sidebar__list-section-container h4{margin:0;color:var(--gids-color-text-subtlest)}.gids-sidebar__item-container{display:flex;flex-direction:column;width:100%;gap:var(--gids-gap-200)}.gids-sidebar__section-divider-container{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-250) 0}.gids-sidebar--appearance-subtle{background-color:transparent}.gids-sidebar--appearance-primary{background-color:var(--gids-color-background-brand-subtlest-default)}.gids-sidebar--height-full{height:100vh !important;overflow-x:hidden;overflow-y:auto}";
126
+ }
127
+ }, [260, "gids-sidebar", { id: [1], appearance: [1], sidebarItemAppearance: [1, "sidebar-item-appearance"], sidebarItemSelectionAppearance: [1, "sidebar-item-selection-appearance"], sidebarMenuItemAppearance: [1, "sidebar-menu-item-appearance"], sidebarMenuItemSelectionAppearance: [1, "sidebar-menu-item-selection-appearance"], selectedSectionId: [1, "selected-section-id"], selectedItemId: [1, "selected-item-id"], selectedMenuItemId: [1, "selected-menu-item-id"], selectedMenuItemSectionId: [1, "selected-menu-item-section-id"], height: [1], sectionDividers: [4, "section-dividers"], itemDividers: [4, "item-dividers"], headerDivider: [4, "header-divider"], menuPlacement: [1, "menu-placement"], menuConstrainPlacements: [16], listData: [16], onSidebarChange: [16], selectedMenuItemSectionIdState: [32], selectedMenuItemIdState: [32], selectedSectionIdState: [32], selectedItemIdState: [32], hasHeaderContent: [32] }, void 0, { id: [{ idChanged: 0 }], appearance: [{ appearanceChanged: 0 }], sidebarItemAppearance: [{ sidebarItemAppearanceChanged: 0 }], sidebarItemSelectionAppearance: [{ sidebarItemSelectionAppearanceChanged: 0 }], sidebarMenuItemAppearance: [{ sidebarMenuItemAppearanceChanged: 0 }], sidebarMenuItemSelectionAppearance: [{ sidebarMenuItemSelectionAppearanceChanged: 0 }], selectedSectionId: [{ selectedSectionIdChanged: 0 }], selectedItemId: [{ selectedItemIdChanged: 0 }], selectedMenuItemSectionId: [{ selectedMenuItemSectionIdChanged: 0 }], selectedMenuItemId: [{ selectedMenuItemIdChanged: 0 }], height: [{ heightChanged: 0 }], sectionDividers: [{ sectionDividersChanged: 0 }], itemDividers: [{ itemDividersChanged: 0 }], menuPlacement: [{ menuPlacementChanged: 0 }], menuConstrainPlacements: [{ menuConstrainPlacementsChanged: 0 }], listData: [{ listDataChanged: 0 }] }]);
128
+ function v() {
129
+ typeof customElements < "u" && ["gids-sidebar", "gids-flyout-panel", "gids-sidebar-item", "gids-sidebar-menu"].forEach(((e) => {
130
+ switch (e) {
131
+ case "gids-sidebar":
132
+ customElements.get(r(e)) || customElements.define(r(e), C);
133
+ break;
134
+ case "gids-flyout-panel":
135
+ customElements.get(r(e)) || Q();
136
+ break;
137
+ case "gids-sidebar-item":
138
+ customElements.get(r(e)) || R();
139
+ break;
140
+ case "gids-sidebar-menu":
141
+ customElements.get(r(e)) || K();
142
+ }
143
+ }));
144
+ }
145
+ v();
146
+ const ce = C, le = v;
147
+ export {
148
+ ce as GidsSidebar,
149
+ le as defineCustomElement
150
+ };
@@ -22,7 +22,7 @@ const u = ({ variant: e, animation: t }) => g("gids-skeleton", {
22
22
  }
23
23
  render() {
24
24
  const e = m({ variant: this.variant ?? "text", animation: this.animation ?? "none" });
25
- return d(l, { key: "09fe728912d038d44c4c3f5464ab057461aeabfc", class: e, style: this.getStyle(), "aria-hidden": "true" });
25
+ return d(l, { key: "91812440e5f71f20d59cf03b8b18f3aabaf96960", class: e, style: this.getStyle(), "aria-hidden": "true" });
26
26
  }
27
27
  static get style() {
28
28
  return 'gids-skeleton,.gids-skeleton-host{--gidsSkeleton-background:var( --gids-color-background-accent-9-subtle-default );--gidsSkeleton-wave-background:linear-gradient( 90deg, transparent 0%, var(--gids-color-background-accent-9-subtler-default) 50%, transparent 100% );--gidsSkeleton-text-border-radius:var(--gids-border-radius-sm);--gidsSkeleton-border-radius:var(--gids-border-radius-md);display:inline-block;position:relative;vertical-align:middle;background-color:var(--gidsSkeleton-background);overflow:hidden;width:auto;height:auto}.gids-skeleton--variant-text{border-radius:var(--gidsSkeleton-text-border-radius);min-height:1.2em;transform:scaleY(0.6);transform-origin:0 50%}.gids-skeleton--variant-circular{border-radius:100% !important;aspect-ratio:1/1}.gids-skeleton--variant-rectangular{border-radius:0}.gids-skeleton--variant-rounded{border-radius:var(--gidsSkeleton-border-radius)}.gids-skeleton--animation-none{animation:none}.gids-skeleton--animation-pulse{animation:gids-skeleton-pulse 1.5s ease-in-out infinite}.gids-skeleton--animation-wave::after{content:"";position:absolute;inset:0;width:100%;height:100%;background:var(--gidsSkeleton-wave-background);transform:translateX(-100%);animation:gids-skeleton-wave 1.6s linear infinite}@keyframes gids-skeleton-pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes gids-skeleton-wave{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}@media (prefers-reduced-motion: reduce){.gids-skeleton--animation-pulse{animation:none}.gids-skeleton--animation-wave::after{animation:none}}';
@@ -1,22 +1,22 @@
1
1
  import { L as n, u as l, D as r, P as g, q as o } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { p as b } from "./p-CcKHKwS0-Bw63tTOA.js";
3
3
  import { c as v } from "./clsx-OuTLNxxd.js";
4
- const h = ({ appearance: e, width: t = "intrinsic", active: i }, d) => v("gids-tab-item", {
4
+ const h = ({ appearance: e, width: t = "intrinsic", active: a }, d) => v("gids-tab-item", {
5
5
  // Widths
6
6
  // 'gids-tab-item--intrinsic': width === 'intrinsic', // By default so not needed
7
7
  "gids-tab-item--full": t === "full",
8
8
  // Apperances on active
9
- "gids-tab-item--active-default": e === "default" && i,
10
- "gids-tab-item--active-primary": e === "primary" && i,
11
- "gids-tab-item--active-bordered": e === "bordered" && i,
12
- "gids-tab-item--active-underlined": e === "underlined" && i,
13
- "gids-tab-item--active-subtle": e === "subtle" && i,
9
+ "gids-tab-item--active-default": e === "default" && a,
10
+ "gids-tab-item--active-primary": e === "primary" && a,
11
+ "gids-tab-item--active-bordered": e === "bordered" && a,
12
+ "gids-tab-item--active-underlined": e === "underlined" && a,
13
+ "gids-tab-item--active-subtle": e === "subtle" && a,
14
14
  // Apperances on inactive
15
- "gids-tab-item--default": e === "default" && !i,
16
- "gids-tab-item--primary": e === "primary" && !i,
17
- "gids-tab-item--bordered": e === "bordered" && !i,
18
- "gids-tab-item--underlined": e === "underlined" && !i,
19
- "gids-tab-item--subtle": e === "subtle" && !i
15
+ "gids-tab-item--default": e === "default" && !a,
16
+ "gids-tab-item--primary": e === "primary" && !a,
17
+ "gids-tab-item--bordered": e === "bordered" && !a,
18
+ "gids-tab-item--underlined": e === "underlined" && !a,
19
+ "gids-tab-item--subtle": e === "subtle" && !a
20
20
  }, d), u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21
21
  __proto__: null,
22
22
  getGidsTabItemClassNames: h
@@ -54,8 +54,8 @@ const h = ({ appearance: e, width: t = "intrinsic", active: i }, d) => v("gids-t
54
54
  this.hasLeadingIcon = !!this.hostElement.querySelector('[slot="leadingIconTabItem"]'), this.hasTrailingIcon = !!this.hostElement.querySelector('[slot="trailingIconTabItem"]');
55
55
  }
56
56
  render() {
57
- const e = m({ appearance: this.appearance, width: this.width, active: this.active }), t = this.hasTrailingIcon, i = this.badgeVisible, d = this.appearance === "primary" && this.active ? "inverse" : this.badgeAppearance ?? "information", a = this.label;
58
- return r(g, { key: "a364c69d22d8bb640c9f280b5d1722f1e379e046", class: e, onClick: this.handleHostClick }, this.hasLeadingIcon ? r("slot", { name: "leadingIconTabItem" }) : void 0, a && a !== "" ? r("span", { class: "gids-tab-item__label" }, a && a !== "" ? a : void 0, i ? r(b, { appearance: d, type: this.badgeType, count: this.badgeCount }) : void 0) : void 0, t ? r("slot", { name: "trailingIconTabItem" }) : void 0);
57
+ const e = m({ appearance: this.appearance, width: this.width, active: this.active }), t = this.hasTrailingIcon, a = this.badgeVisible, d = this.appearance === "primary" && this.active ? "inverse" : this.badgeAppearance ?? "information", i = this.label;
58
+ return r(g, { key: "f01d0f860f09aca20e77876af6c87e1db7de26b3", class: e, onClick: this.handleHostClick }, this.hasLeadingIcon ? r("slot", { name: "leadingIconTabItem" }) : void 0, i && i !== "" ? r("span", { class: "gids-tab-item__label" }, i && i !== "" ? i : void 0, a ? r(b, { appearance: d, type: this.badgeType, count: this.badgeCount }) : void 0) : void 0, t ? r("slot", { name: "trailingIconTabItem" }) : void 0);
59
59
  }
60
60
  get hostElement() {
61
61
  return this;
@@ -1,13 +1,13 @@
1
- import { L as r, u as h, D as a, P as c, q as s } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { c as l } from "./clsx-OuTLNxxd.js";
3
- const o = ({ width: e, appearance: t }, d) => l("gids-tab", {
1
+ import { L as r, u as h, D as a, P as l, q as s } from "./p-B4hcsDH0-CPqEc-vc.js";
2
+ import { c } from "./clsx-OuTLNxxd.js";
3
+ const o = ({ width: e, appearance: t }, d) => c("gids-tab", {
4
4
  "gids-tab--full": e === "full",
5
5
  "gids-tab--item-subtle": t === "subtle",
6
6
  "gids-tab--item-underlined": t === "underlined"
7
- }, d), p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
+ }, d), b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
8
  __proto__: null,
9
9
  getGidsTabClassNames: o
10
- }, Symbol.toStringTag, { value: "Module" })), { getGidsTabClassNames: b } = p, i = r(class extends h {
10
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsTabClassNames: p } = b, i = r(class extends h {
11
11
  constructor(e) {
12
12
  super(), e !== !1 && this.__registerHost(), this.width = "intrinsic", this.appearance = "default";
13
13
  }
@@ -37,8 +37,8 @@ const o = ({ width: e, appearance: t }, d) => l("gids-tab", {
37
37
  return e === this.activeTabId;
38
38
  }
39
39
  render() {
40
- const e = b({ width: this.width, appearance: this.appearance });
41
- return a(c, { key: "d4894b3e60a3057a392c717db7d5f1415fe1e1e8", class: e }, a("slot", { key: "f9bc6099f9b57ecc507462ee1f2a5f613176ced1" }));
40
+ const e = p({ width: this.width, appearance: this.appearance });
41
+ return a(l, { key: "e14e48333e00d0f7affd751a6619a6bd27bc3a63", class: e }, a("slot", { key: "3bb067962a39430b5a4086dcda98ef3ab31906d3" }));
42
42
  }
43
43
  get hostElement() {
44
44
  return this;
@@ -2,8 +2,8 @@ import { L as u, u as h, z as c, C as f, D as i, q as s } from "./p-B4hcsDH0-CPq
2
2
  import { i as b } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { s as m } from "./p-BkxmRN-4-DSiXCW8b.js";
4
4
  import { r as p } from "./p-Do_VlNHg-_g7lcvwR.js";
5
- import { h as g } from "./p-CrqHKmjy-DwSsCofb.js";
6
- import { r as x } from "./p-j2_DKwBz-CqyuxxnN.js";
5
+ import { h as g } from "./p-mv_7K1EM-lPgJqpPI.js";
6
+ import { r as x } from "./p-DzOOjiNH-Wm7KbI3O.js";
7
7
  import { g as _ } from "./p-iQRr_fAH-ClfWEu03.js";
8
8
  const v = (e, t) => {
9
9
  if (!(e === void 0 || t === void 0))
@@ -51,7 +51,7 @@ const v = (e, t) => {
51
51
  #t;
52
52
  render() {
53
53
  const { id: e, ...t } = this.inputProps ?? {}, a = e ?? this.#e, d = this.showClearButton && this.value !== void 0 && this.value.length > 0;
54
- return i("gids-field", { key: "e7b53ef42f47bef08ef1304f98970aba15a9f5ce", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(m, { key: "4c10235170b6a4dde192aa3d9ac94c086407c544", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: a }, this.label), i("gids-input", { key: "acd239945281fc5f370a39c59bac41ac0ff7d30f", ref: (o) => this.#t = o, appearance: this.appearance, status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: this.leadingLabel, trailingLabel: this.trailingLabel, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...t, type: this.type, id: a, maxLength: this.maxLength } }, i("slot", { key: "6c15ae2ad89af2482b89f55871973b05901b068f", name: "leadingIcon" }), i("slot", { key: "241b8faeb07db3e532dfc7f71137d5a051b10f6f", name: "leadingAccessory" }), d && i(p, { key: "16479751097d57a6cc95ede2bd4f7dad4c04e19f", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "eb147031f430799b1136fcbe07d8cfd58f1a9c80", name: "trailingIcon" })));
54
+ return i("gids-field", { key: "0be5fe0d5797adb9acc0714f0a9ca145ff03e08c", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(m, { key: "33d4e619b09aa4b4697afc67c7ed3d561978f420", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: a }, this.label), i("gids-input", { key: "90ee368d1942d160bfaee79b40b4c66a711085c6", ref: (o) => this.#t = o, appearance: this.appearance, status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: this.leadingLabel, trailingLabel: this.trailingLabel, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...t, type: this.type, id: a, maxLength: this.maxLength } }, i("slot", { key: "a6cff00a73a40d857fef4dae4ddae57e85a3f787", name: "leadingIcon" }), i("slot", { key: "798617cc2c6c7c0da2f0eafd12d68861918e3b84", name: "leadingAccessory" }), d && i(p, { key: "fd22a8ba9bcbe21bd19471830a3b2f88a0dff767", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "6054492bcc2a0a98d0f5e91a22bdcbd097f3fce6", name: "trailingIcon" })));
55
55
  }
56
56
  get _el() {
57
57
  return this;
@@ -1,4 +1,4 @@
1
- import { l as o, o as t } from "./p-GcC8pCKF-CZJFTFeN.js";
1
+ import { l as o, o as t } from "./p-DQQhGF5N-mCqb5VTE.js";
2
2
  const s = o, m = t;
3
3
  export {
4
4
  s as GidsToggleButton,
@@ -38,7 +38,7 @@ const o = n(class extends l {
38
38
  t && (t.removeEventListener("mouseenter", this.handleShowEvent), t.removeEventListener("focus", this.handleShowEvent), t.removeEventListener("mouseleave", this.handleHideEvent), t.removeEventListener("blur", this.handleHideEvent));
39
39
  }
40
40
  render() {
41
- return e(s, { key: "56a3589fce74458f3c72d17dfcd79b464bdf7712" }, e("slot", { key: "bb5599494aafa6efa4ce280cbf2dfdd39affda98" }), e("span", { key: "1d9cbcb72a293a465ea8158282f99d71d46c08c4", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "b4e274e4ba08a0033d0af4a4d0a4a511961a80ab", id: "arrow" }), this.tooltipText));
41
+ return e(s, { key: "63a9538c744df31313d565a43be58265727b82c4" }, e("slot", { key: "b0dde46d056180195e88ddada52f8a17acea240f" }), e("span", { key: "38a92b280905177d3fa03edf406d7d1a88edb425", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "2c84d414edd57bb4799a3def4987d98aa4e9de93", id: "arrow" }), this.tooltipText));
42
42
  }
43
43
  disconnectedCallback() {
44
44
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -59,8 +59,8 @@ function a() {
59
59
  }));
60
60
  }
61
61
  a();
62
- const f = o, v = a;
62
+ const v = o, f = a;
63
63
  export {
64
- f as GidsTooltip,
65
- v as defineCustomElement
64
+ v as GidsTooltip,
65
+ f as defineCustomElement
66
66
  };
@@ -1,27 +1,26 @@
1
- import { L as b, u as _, D as a, P as x, q as p } from "./p-B4hcsDH0-CPqEc-vc.js";
1
+ import { L as y, u as _, D as a, P as b, q as p } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { p as T } from "./p-C-Lpfqcg-DIuBhXzX.js";
3
- import { v as L, b as C, _ as H } from "./p-KQxuw_F--BTSoDfF9.js";
4
- import { d as m } from "./p-iQRr_fAH-ClfWEu03.js";
5
- import { o } from "./p-Dg_WeHpV-DehzGL6g.js";
6
- import { c as f } from "./clsx-OuTLNxxd.js";
7
- const k = (t) => f("gids-checkbox-control", t), A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
- __proto__: null,
9
- getGidsCheckboxControlClassNames: k
10
- }, Symbol.toStringTag, { value: "Module" })), M = ({ type: t }, e) => f("gids-menu-group", {
3
+ import { b as L, _ as x } from "./p-CV1-78HB-DGkn3SPO.js";
4
+ import { r as C } from "./p-BRNvHMdK-CqGtfAsn.js";
5
+ import { i as f } from "./p-DZ1ZcTMe-tnPOECry.js";
6
+ import { o as d } from "./p-Dg_WeHpV-DehzGL6g.js";
7
+ import { d as g } from "./p-iQRr_fAH-ClfWEu03.js";
8
+ import { c } from "./clsx-OuTLNxxd.js";
9
+ const H = ({ type: t }, e) => c("gids-menu-group", {
11
10
  "gids-menu-group--default": t === "default",
12
11
  // by default so no need to have this class
13
12
  "gids-menu-group--no-options": t === "no-options",
14
13
  "gids-menu-group--loading": t === "loading"
15
- }, e), R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14
+ }, e), A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16
15
  __proto__: null,
17
- getGidsMenuGroupClassNames: M
18
- }, Symbol.toStringTag, { value: "Module" })), w = (t) => f("gids-menu", t), z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16
+ getGidsMenuGroupClassNames: H
17
+ }, Symbol.toStringTag, { value: "Module" })), M = (t) => c("gids-menu", t), R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
18
  __proto__: null,
20
- getGidsMenuClassNames: w
21
- }, Symbol.toStringTag, { value: "Module" })), O = (t) => f("gids-transfer-list", t), D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
+ getGidsMenuClassNames: M
20
+ }, Symbol.toStringTag, { value: "Module" })), k = (t) => c("gids-transfer-list", t), w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22
21
  __proto__: null,
23
- getGidsTransferListClassNames: O
24
- }, Symbol.toStringTag, { value: "Module" })), { getGidsMenuGroupClassNames: G } = R, I = ({ type: t = "no-options", supportingText: e = "No options", class: s, ...n }, l) => a("div", { class: G({ type: t }, s), ...n }, t === "loading" ? a(T, { indeterminate: !0, size: "md" }) : null, t === "no-options" ? a("span", null, e) : null, t === "default" && l != null ? l : null), { getGidsMenuClassNames: V } = z, S = ({ heading: t, supportingText: e, level: s, supportingTextTypography: n, isHeaderDividerVisible: l = !1, class: i, ...r }, h) => a("div", { class: V(i), ...r }, t != null && t !== "" || e != null && e !== "" ? a(H, { heading: t, supportingText: e, level: s, supportingTextTypography: n ?? "eyebrow-medium" }) : null, l ? a("div", { class: "gids-menu__header-divider" }, a(C, { orientation: "horizontal" })) : void 0, h != null ? a("div", { class: "gids-menu__children" }, h) : null), { getGidsCheckboxControlClassNames: j } = A, c = ({ checked: t, defaultChecked: e, disabled: s, indeterminate: n, inputId: l, name: i, value: r, required: h, onChange: d, class: g, ...y }) => a("span", { class: j(g), ...y }, a("input", { class: "gids-checkbox-control__input", type: "checkbox", disabled: s, checked: t, defaultChecked: e, required: h, indeterminate: n, value: r, id: l, name: i, onChange: d }), a(m, { class: "gids-checkbox-control__check", name: "checkmark", alt: "", size: "sm" }), a(m, { class: "gids-checkbox-control__minus", name: "minus", alt: "", size: "sm" })), { getGidsTransferListClassNames: P } = D, u = b(class extends _ {
22
+ getGidsTransferListClassNames: k
23
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsMenuGroupClassNames: O } = A, I = ({ type: t = "no-options", supportingText: e = "No options", class: s, ...n }, l) => a("div", { class: O({ type: t }, s), ...n }, t === "loading" ? a(T, { indeterminate: !0, size: "md" }) : null, t === "no-options" ? a("span", null, e) : null, t === "default" && l != null ? l : null), { getGidsMenuClassNames: z } = R, S = ({ heading: t, supportingText: e, level: s, supportingTextTypography: n, isHeaderDividerVisible: l = !1, class: i, ...r }, h) => a("div", { class: z(i), ...r }, t != null && t !== "" || e != null && e !== "" ? a(x, { heading: t, supportingText: e, level: s, supportingTextTypography: n ?? "eyebrow-medium" }) : null, l ? a("div", { class: "gids-menu__header-divider" }, a(C, { orientation: "horizontal" })) : void 0, h != null ? a("div", { class: "gids-menu__children" }, h) : null), { getGidsTransferListClassNames: D } = w, u = y(class extends _ {
25
24
  constructor(t) {
26
25
  super(), t !== !1 && this.__registerHost(), this.leftListHeading = "Choices", this.rightListHeading = "Choosen", this.moveAllVisible = !1, this.transferListType = "basic", this.leftListItems = [], this.rightListItems = [], this.listsMaxHeight = "200px", this.leftListItemsState = [], this.rightListItemsState = [], this.tempLeftListItemsState = [], this.tempRightListItemsState = [];
27
26
  }
@@ -70,7 +69,7 @@ const k = (t) => f("gids-checkbox-control", t), A = /* @__PURE__ */ Object.freez
70
69
  renderListHeading(t) {
71
70
  if ((this?.transferListType ?? "basic") !== "basic") {
72
71
  const e = this.isAllItemsSelectedInList({ listSide: t }), s = this.isAtleastOneItemSelectedInList({ listSide: t });
73
- return a("div", { class: "gids-transfer-list__menu-heading-container" }, a(c, { checked: e || s, onChange: (n) => this.selectUnselectAllItems({ event: n, listSide: t }), indeterminate: s }), a("div", { class: "gids-transfer-list__menu-heading-text-content-container" }, a("span", { class: "gids-transfer-list__heading-text" }, this.getListHeading(t)), a("span", { class: "gids-transfer-list__heading-support-text" }, this.getListSupportingText(t))));
72
+ return a("div", { class: "gids-transfer-list__menu-heading-container" }, a(f, { checked: e || s, onChange: (n) => this.selectUnselectAllItems({ event: n, listSide: t }), indeterminate: s }), a("div", { class: "gids-transfer-list__menu-heading-text-content-container" }, a("span", { class: "gids-transfer-list__heading-text" }, this.getListHeading(t)), a("span", { class: "gids-transfer-list__heading-support-text" }, this.getListSupportingText(t))));
74
73
  }
75
74
  }
76
75
  listItemSelection({ event: t, pressedIndex: e, listSide: s }) {
@@ -164,13 +163,13 @@ const k = (t) => f("gids-checkbox-control", t), A = /* @__PURE__ */ Object.freez
164
163
  this.moveListItems({ event: t, listSide: e, movementType: s });
165
164
  }
166
165
  render() {
167
- const t = P(), e = this?.leftListItemsState ?? [], s = this?.rightListItemsState ?? [], n = this.listsMaxHeight, l = this?.transferListType ?? "basic";
168
- return a(x, { key: "f6d27883de92122e98bd43c004ecc71cb04b2bfd", class: t }, a("div", { key: "6cee295abcfa7a1e0238e11fefe61784b30e1af2", class: "gids-transfer-list__left-container" }, a(I, { key: "3ef75b241090fb7cdfe00e56019d71cc9e390201", type: e.length > 0 ? "default" : "no-options" }, a(S, { key: "b176f73704f65bb733e4a6eff81ea6a0afbb9983", heading: this.renderListHeading("left"), style: { "--gidsMenuChildren-max-height": n }, isHeaderDividerVisible: l !== "basic" }, e.map(((i, r) => {
169
- const h = i?.id ? i.id : "" + (r + 1), d = this.isItemSelected({ id: h, listSide: "left" });
170
- return a(L, { id: "" + h, index: r, leadingAccessory: a(c, { checked: d }), selected: d, onPressListItem: (g) => this.onPressingListItem({ event: g, pressedIndex: r, listSide: "left" }) }, i?.listLabel);
171
- }))))), a("div", { key: "954bb5d1328adb1058e26d04d5c60c71aa417a33", class: "gids-transfer-list__middle-container" }, a(o, { key: "77bd61dbf02106e8a5372c5afa01138ad1791a91", leadingIcon: a(m, { name: "forward" }), appearance: "default", size: "sm", width: "full", disabled: this.movementButtonDisabled({ listSide: "left", movementType: "move-all" }), onClick: (i) => this.onItemsMovement({ event: i, listSide: "left", movementType: "move-all" }) }), a(o, { key: "eecbbaa63c5acbdf1ea2c2a5f4546b6e1247b6a3", leadingIcon: a(m, { name: "chevron-right" }), appearance: "default", size: "sm", width: "full", disabled: this.movementButtonDisabled({ listSide: "left", movementType: "move-single" }), onClick: (i) => this.onItemsMovement({ event: i, listSide: "left", movementType: "move-single" }) }), a(o, { key: "72d8f5b58abfc18ab365d822e5460d4dbf332329", leadingIcon: a(m, { name: "chevron-left" }), appearance: "default", size: "sm", width: "full", disabled: this.movementButtonDisabled({ listSide: "right", movementType: "move-single" }), onClick: (i) => this.onItemsMovement({ event: i, listSide: "right", movementType: "move-single" }) }), a(o, { key: "73dfa4e3104ec15b79d1bfda52db59fe8ba03e8b", leadingIcon: a(m, { name: "backward" }), appearance: "default", size: "sm", width: "full", disabled: this.movementButtonDisabled({ listSide: "right", movementType: "move-all" }), onClick: (i) => this.onItemsMovement({ event: i, listSide: "right", movementType: "move-all" }) })), a("div", { key: "5ac78a3c3704fda5e7c92cbb52d6a5cde45312f7", class: "gids-transfer-list__right-container" }, a(I, { key: "4c0e727d5452d11e48917ee0a8fa0d1462295771", type: s.length > 0 ? "default" : "no-options" }, a(S, { key: "83f6e5578ccbcc6fe0dfac56b738e6c88498224a", heading: this.renderListHeading("right"), style: { "--gidsMenuChildren-max-height": n }, isHeaderDividerVisible: l !== "basic" }, s.map(((i, r) => {
172
- const h = i?.id ? i.id : "" + (r + 1), d = this.isItemSelected({ id: h, listSide: "right" });
173
- return a(L, { id: "" + h, index: r, selected: d, leadingAccessory: a(c, { checked: d }), onPressListItem: (g) => this.onPressingListItem({ event: g, pressedIndex: r, listSide: "right" }) }, i?.listLabel);
166
+ const t = D(), e = this?.leftListItemsState ?? [], s = this?.rightListItemsState ?? [], n = this.listsMaxHeight, l = this?.transferListType ?? "basic";
167
+ return a(b, { key: "8e423fc11b33c0221541fcdd160550523d0d09f6", class: t }, a("div", { key: "221d92966d78f1e2f4efb9b36366d7002ef53061", class: "gids-transfer-list__left-container" }, a(I, { key: "9dc87d0694bcf93f262a0a474c1c021b12fc90f6", type: e.length > 0 ? "default" : "no-options" }, a(S, { key: "6f682bf9f733e11028cb2baa106b1609d01123c3", heading: this.renderListHeading("left"), style: { "--gidsMenuChildren-max-height": n }, isHeaderDividerVisible: l !== "basic" }, e.map(((i, r) => {
168
+ const h = i?.id ? i.id : "" + (r + 1), m = this.isItemSelected({ id: h, listSide: "left" });
169
+ return a(L, { id: "" + h, index: r, leadingAccessory: a(f, { checked: m }), selected: m, onPressListItem: (o) => this.onPressingListItem({ event: o, pressedIndex: r, listSide: "left" }) }, i?.listLabel);
170
+ }))))), a("div", { key: "55f4165f5e9ccf1f1e9255061beb9712945187f5", class: "gids-transfer-list__middle-container" }, a(d, { key: "02a0d11e2810aeab2753504944d68fdf51a0be5c", leadingIcon: a(g, { name: "forward" }), appearance: "default", size: "sm", width: "full", disabled: this.movementButtonDisabled({ listSide: "left", movementType: "move-all" }), onClick: (i) => this.onItemsMovement({ event: i, listSide: "left", movementType: "move-all" }) }), a(d, { key: "849d07570396824492897c3dbd347bb8fb2c353d", leadingIcon: a(g, { name: "chevron-right" }), appearance: "default", size: "sm", width: "full", disabled: this.movementButtonDisabled({ listSide: "left", movementType: "move-single" }), onClick: (i) => this.onItemsMovement({ event: i, listSide: "left", movementType: "move-single" }) }), a(d, { key: "9eb9747b5764a75bf7c4433c89fcc6b2dc31870d", leadingIcon: a(g, { name: "chevron-left" }), appearance: "default", size: "sm", width: "full", disabled: this.movementButtonDisabled({ listSide: "right", movementType: "move-single" }), onClick: (i) => this.onItemsMovement({ event: i, listSide: "right", movementType: "move-single" }) }), a(d, { key: "6558100625834f9936aaba67be1c554f53f5fcb3", leadingIcon: a(g, { name: "backward" }), appearance: "default", size: "sm", width: "full", disabled: this.movementButtonDisabled({ listSide: "right", movementType: "move-all" }), onClick: (i) => this.onItemsMovement({ event: i, listSide: "right", movementType: "move-all" }) })), a("div", { key: "838f2a0f22827f350fc383ffd246ed25fe880cc9", class: "gids-transfer-list__right-container" }, a(I, { key: "39597530e1dcd657dfcfbe8677d346099f8fcfae", type: s.length > 0 ? "default" : "no-options" }, a(S, { key: "25ac5e481024b4a8fd34b6e6a017e1c5eca25b34", heading: this.renderListHeading("right"), style: { "--gidsMenuChildren-max-height": n }, isHeaderDividerVisible: l !== "basic" }, s.map(((i, r) => {
171
+ const h = i?.id ? i.id : "" + (r + 1), m = this.isItemSelected({ id: h, listSide: "right" });
172
+ return a(L, { id: "" + h, index: r, selected: m, leadingAccessory: a(f, { checked: m }), onPressListItem: (o) => this.onPressingListItem({ event: o, pressedIndex: r, listSide: "right" }) }, i?.listLabel);
174
173
  }))))));
175
174
  }
176
175
  get hostElement() {
@@ -189,8 +188,8 @@ function v() {
189
188
  }));
190
189
  }
191
190
  v();
192
- const U = u, J = v;
191
+ const U = u, $ = v;
193
192
  export {
194
193
  U as GidsTransferList,
195
- J as defineCustomElement
194
+ $ as defineCustomElement
196
195
  };
@@ -1,12 +1,13 @@
1
1
  import { q as h, L as f, u as p, D as d, P as g } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { b as u, v as P } from "./p-KQxuw_F--BTSoDfF9.js";
3
- import { i as b, a as M } from "./p-D0coZTd2-KhJZ57gK.js";
4
- import { u as v } from "./p-B0hLXifA-CoImnX3T.js";
2
+ import { b as P } from "./p-CV1-78HB-DGkn3SPO.js";
3
+ import { i as M, a as b } from "./p-CAjDiWIc-BieYBjHk.js";
4
+ import { r as u } from "./p-BRNvHMdK-CqGtfAsn.js";
5
+ import { y as v } from "./p-BCbovLBE-DfkhIEts.js";
5
6
  import { c as x } from "./clsx-OuTLNxxd.js";
6
7
  const S = (i) => x("gids-profile-menu", i), V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
8
  __proto__: null,
8
9
  getGidsProfileMenuClassNames: S
9
- }, Symbol.toStringTag, { value: "Module" })), { getGidsProfileMenuClassNames: C } = V, _ = f(class extends p {
10
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsProfileMenuClassNames: y } = V, C = f(class extends p {
10
11
  constructor(i) {
11
12
  super(), i !== !1 && this.__registerHost(), this.headerVisible = !1, this.listSectionDividerVisible = !1, this.headerDividerVisible = !0, this.profileMenuItems = [], this.selectedProfileMenuItem = void 0, this.onListItemPress = ({ event: e, sectionIndex: n, itemIndex: o, item: t }) => {
12
13
  const r = { ...t, sectionIndex: n, itemIndex: o };
@@ -48,8 +49,8 @@ const S = (i) => x("gids-profile-menu", i), V = /* @__PURE__ */ Object.freeze(/*
48
49
  this.defaultSelectedProfileMenuItem();
49
50
  }
50
51
  render() {
51
- const i = this?.headerItem, e = this?.headerVisible, n = this?.headerDividerVisible, o = this?.listSectionDividerVisible, t = this?.profileMenuItems ?? [], r = C();
52
- return d(g, { key: "4baa2263eed55afa652eba0f1e819b1e67e9b1a2", class: r }, d(b, { key: "4ccae5d9463d84deaddacbf88c8c082b3e320db7", type: this.hasProfileMenuItems() ? "default" : "no-options" }, e ? d("div", { class: "gids-profile-menu__header-container" }, d("gids-profile-menu-header", { ...i, onHeaderAvatarPress: this.onHeaderAvatarPress, onHeaderTitlePress: this.onHeaderTitlePress, onHeaderSupportingTextPress: this.onHeaderSupportingTextPress })) : void 0, n && this.hasHeaderItem() ? d("div", { class: "gids-profile-menu__header-divider-container" }, d(u, null)) : void 0, t.map(((l, s) => d(M, { key: `${s + 1}`, sectionLabel: l?.sectionLabel ?? "" }, (l?.items ?? []).map(((a, m) => {
52
+ const i = this?.headerItem, e = this?.headerVisible, n = this?.headerDividerVisible, o = this?.listSectionDividerVisible, t = this?.profileMenuItems ?? [], r = y();
53
+ return d(g, { key: "866336e6c629f77b95aa04809e6e8e2b9cdb7b3a", class: r }, d(M, { key: "fe52b727ce65e54cf2808d608c136698fea7d7c7", type: this.hasProfileMenuItems() ? "default" : "no-options" }, e ? d("div", { class: "gids-profile-menu__header-container" }, d("gids-profile-menu-header", { ...i, onHeaderAvatarPress: this.onHeaderAvatarPress, onHeaderTitlePress: this.onHeaderTitlePress, onHeaderSupportingTextPress: this.onHeaderSupportingTextPress })) : void 0, n && this.hasHeaderItem() ? d("div", { class: "gids-profile-menu__header-divider-container" }, d(u, null)) : void 0, t.map(((l, s) => d(b, { key: `${s + 1}`, sectionLabel: l?.sectionLabel ?? "" }, (l?.items ?? []).map(((a, m) => {
53
54
  const c = this.isThisItemSelected({ ...a, sectionIndex: s, itemIndex: m });
54
55
  return console.log("_thisItemSelected", c), d(P, { ...a, key: `${m + 1}`, id: a.id, index: m, onPressListItem: (I) => this.onListItemPress({ event: I, sectionIndex: s, itemIndex: m, item: a }), selected: c }, a?.leadingLabel);
55
56
  })), s < t.length - 1 && o ? d(u, null) : void 0)))));
@@ -64,19 +65,19 @@ const S = (i) => x("gids-profile-menu", i), V = /* @__PURE__ */ Object.freeze(/*
64
65
  return ".gids-profile-menu .gids-divider{width:100%}.gids-profile-menu__header-divider-container{width:100%;padding-bottom:var(--gids-padding-vertical-edge-to-element-200)}.gids-profile-menu__header-container{display:flex;width:100%;padding:var(--gids-padding-vertical-edge-to-element-150) 0px}";
65
66
  }
66
67
  }, [0, "gids-profile-menu", { headerItem: [16], selectedProfileMenuItemId: [1, "selected-profile-menu-item-id"], headerVisible: [4, "header-visible"], listSectionDividerVisible: [4, "list-section-divider-visible"], headerDividerVisible: [4, "header-divider-visible"], profileMenuItems: [16], onHeaderAvatarPress: [16], onHeaderTitlePress: [16], onHeaderSupportingTextPress: [16], onProfileMenuItemPress: [16], selectedProfileMenuItem: [32] }, void 0, { headerItem: [{ headerItemChanged: 0 }], headerVisible: [{ headerVisibleChanged: 0 }], selectedProfileMenuItemId: [{ selectedProfileMenuItemIdChanged: 0 }], profileMenuItems: [{ profileMenuItemsChanged: 0 }] }]);
67
- function y() {
68
+ function _() {
68
69
  typeof customElements < "u" && ["gids-profile-menu", "gids-profile-menu-header"].forEach(((i) => {
69
70
  switch (i) {
70
71
  case "gids-profile-menu":
71
- customElements.get(h(i)) || customElements.define(h(i), _);
72
+ customElements.get(h(i)) || customElements.define(h(i), C);
72
73
  break;
73
74
  case "gids-profile-menu-header":
74
75
  customElements.get(h(i)) || v();
75
76
  }
76
77
  }));
77
78
  }
78
- y();
79
+ _();
79
80
  export {
80
- _ as c,
81
- y as u
81
+ C as c,
82
+ _ as p
82
83
  };