@aquera/nile-elements 2.0.21 → 2.0.23

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 (502) hide show
  1. package/README.md +76 -34
  2. package/demo/nxtgen-classes.css +24 -4
  3. package/demo/nxtgen-dark.css +30 -16
  4. package/demo/nxtgen-properties.css +9 -2
  5. package/demo/nxtgen-utilities.css +31 -4
  6. package/demo/nxtgen.css +8 -4
  7. package/demo/utilities.css +2 -2
  8. package/demo/variables.css +2 -2
  9. package/dist/index.cjs.js +1 -1
  10. package/dist/index.esm.js +1 -1
  11. package/dist/index.js +1954 -937
  12. package/dist/nile-app-shell/index.cjs.js +1 -1
  13. package/dist/nile-app-shell/index.esm.js +1 -1
  14. package/dist/nile-app-shell/nile-app-shell.cjs.js +1 -1
  15. package/dist/nile-app-shell/nile-app-shell.cjs.js.map +1 -1
  16. package/dist/nile-app-shell/nile-app-shell.css.cjs.js +1 -1
  17. package/dist/nile-app-shell/nile-app-shell.css.cjs.js.map +1 -1
  18. package/dist/nile-app-shell/nile-app-shell.css.esm.js +72 -65
  19. package/dist/nile-app-shell/nile-app-shell.esm.js +60 -31
  20. package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.cjs.js +1 -1
  21. package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.cjs.js.map +1 -1
  22. package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.esm.js +1 -1
  23. package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.cjs.js +1 -1
  24. package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.cjs.js.map +1 -1
  25. package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.css.cjs.js +1 -1
  26. package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.css.cjs.js.map +1 -1
  27. package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.css.esm.js +25 -7
  28. package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.esm.js +2 -2
  29. package/dist/nile-button-filter/nile-button-filter.cjs.js +1 -1
  30. package/dist/nile-button-filter/nile-button-filter.cjs.js.map +1 -1
  31. package/dist/nile-button-filter/nile-button-filter.css.cjs.js +1 -1
  32. package/dist/nile-button-filter/nile-button-filter.css.cjs.js.map +1 -1
  33. package/dist/nile-button-filter/nile-button-filter.css.esm.js +1 -1
  34. package/dist/nile-button-filter/nile-button-filter.esm.js +2 -4
  35. package/dist/nile-calendar/nile-calendar.css.cjs.js +1 -1
  36. package/dist/nile-calendar/nile-calendar.css.cjs.js.map +1 -1
  37. package/dist/nile-calendar/nile-calendar.css.esm.js +9 -8
  38. package/dist/nile-color-picker/nile-color-picker.css.cjs.js +1 -1
  39. package/dist/nile-color-picker/nile-color-picker.css.cjs.js.map +1 -1
  40. package/dist/nile-color-picker/nile-color-picker.css.esm.js +1 -1
  41. package/dist/nile-combobox/nile-combobox.css.cjs.js +1 -1
  42. package/dist/nile-combobox/nile-combobox.css.cjs.js.map +1 -1
  43. package/dist/nile-combobox/nile-combobox.css.esm.js +1 -1
  44. package/dist/nile-command-menu-item/nile-command-menu-item.css.cjs.js +1 -1
  45. package/dist/nile-command-menu-item/nile-command-menu-item.css.cjs.js.map +1 -1
  46. package/dist/nile-command-menu-item/nile-command-menu-item.css.esm.js +5 -1
  47. package/dist/nile-context-menu/nile-context-menu.css.cjs.js +1 -1
  48. package/dist/nile-context-menu/nile-context-menu.css.cjs.js.map +1 -1
  49. package/dist/nile-context-menu/nile-context-menu.css.esm.js +2 -3
  50. package/dist/nile-dropdown-switcher/index.cjs.js +2 -0
  51. package/dist/nile-dropdown-switcher/index.cjs.js.map +1 -0
  52. package/dist/nile-dropdown-switcher/index.esm.js +1 -0
  53. package/dist/nile-dropdown-switcher/nile-dropdown-switcher.cjs.js +2 -0
  54. package/dist/nile-dropdown-switcher/nile-dropdown-switcher.cjs.js.map +1 -0
  55. package/dist/nile-dropdown-switcher/nile-dropdown-switcher.css.cjs.js +2 -0
  56. package/dist/nile-dropdown-switcher/nile-dropdown-switcher.css.cjs.js.map +1 -0
  57. package/dist/nile-dropdown-switcher/nile-dropdown-switcher.css.esm.js +39 -0
  58. package/dist/nile-dropdown-switcher/nile-dropdown-switcher.esm.js +1 -0
  59. package/dist/nile-dropdown-switcher-group/index.cjs.js +2 -0
  60. package/dist/nile-dropdown-switcher-group/index.cjs.js.map +1 -0
  61. package/dist/nile-dropdown-switcher-group/index.esm.js +1 -0
  62. package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.cjs.js +2 -0
  63. package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.cjs.js.map +1 -0
  64. package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.cjs.js +2 -0
  65. package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.cjs.js.map +1 -0
  66. package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.esm.js +37 -0
  67. package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.esm.js +8 -0
  68. package/dist/nile-dropdown-switcher-header/index.cjs.js +2 -0
  69. package/dist/nile-dropdown-switcher-header/index.cjs.js.map +1 -0
  70. package/dist/nile-dropdown-switcher-header/index.esm.js +1 -0
  71. package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.cjs.js +2 -0
  72. package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.cjs.js.map +1 -0
  73. package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.cjs.js +2 -0
  74. package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.cjs.js.map +1 -0
  75. package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.esm.js +91 -0
  76. package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.esm.js +33 -0
  77. package/dist/nile-dropdown-switcher-item/index.cjs.js +2 -0
  78. package/dist/nile-dropdown-switcher-item/index.cjs.js.map +1 -0
  79. package/dist/nile-dropdown-switcher-item/index.esm.js +1 -0
  80. package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.cjs.js +2 -0
  81. package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.cjs.js.map +1 -0
  82. package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.cjs.js +2 -0
  83. package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.cjs.js.map +1 -0
  84. package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.esm.js +102 -0
  85. package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.esm.js +35 -0
  86. package/dist/nile-empty-state/nile-empty-state.cjs.js +1 -1
  87. package/dist/nile-empty-state/nile-empty-state.cjs.js.map +1 -1
  88. package/dist/nile-empty-state/nile-empty-state.esm.js +4 -4
  89. package/dist/nile-filter-chip/nile-filter-chip.css.cjs.js +1 -1
  90. package/dist/nile-filter-chip/nile-filter-chip.css.cjs.js.map +1 -1
  91. package/dist/nile-filter-chip/nile-filter-chip.css.esm.js +2 -2
  92. package/dist/nile-form-group/nile-form-group.css.cjs.js +1 -1
  93. package/dist/nile-form-group/nile-form-group.css.cjs.js.map +1 -1
  94. package/dist/nile-form-group/nile-form-group.css.esm.js +3 -3
  95. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js +1 -1
  96. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js.map +1 -1
  97. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.esm.js +20 -4
  98. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.cjs.js +1 -1
  99. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.cjs.js.map +1 -1
  100. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.esm.js +3 -3
  101. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.cjs.js +1 -1
  102. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.cjs.js.map +1 -1
  103. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.esm.js +3 -3
  104. package/dist/nile-markdown-editor/nile-markdown-editor.css.cjs.js +1 -1
  105. package/dist/nile-markdown-editor/nile-markdown-editor.css.cjs.js.map +1 -1
  106. package/dist/nile-markdown-editor/nile-markdown-editor.css.esm.js +4 -4
  107. package/dist/nile-menu/nile-menu.css.cjs.js +1 -1
  108. package/dist/nile-menu/nile-menu.css.cjs.js.map +1 -1
  109. package/dist/nile-menu/nile-menu.css.esm.js +1 -2
  110. package/dist/nile-menu-item/nile-menu-item.css.cjs.js +1 -1
  111. package/dist/nile-menu-item/nile-menu-item.css.cjs.js.map +1 -1
  112. package/dist/nile-menu-item/nile-menu-item.css.esm.js +6 -6
  113. package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js +1 -1
  114. package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js.map +1 -1
  115. package/dist/nile-nav-tab/nile-nav-tab.css.esm.js +3 -3
  116. package/dist/nile-nav-tab-group/nile-nav-tab-group.css.cjs.js +1 -1
  117. package/dist/nile-nav-tab-group/nile-nav-tab-group.css.cjs.js.map +1 -1
  118. package/dist/nile-nav-tab-group/nile-nav-tab-group.css.esm.js +15 -12
  119. package/dist/nile-option/nile-option.css.cjs.js +1 -1
  120. package/dist/nile-option/nile-option.css.cjs.js.map +1 -1
  121. package/dist/nile-option/nile-option.css.esm.js +2 -2
  122. package/dist/nile-pagination/nile-pagination.cjs.js +1 -1
  123. package/dist/nile-pagination/nile-pagination.cjs.js.map +1 -1
  124. package/dist/nile-pagination/nile-pagination.css.cjs.js +1 -1
  125. package/dist/nile-pagination/nile-pagination.css.cjs.js.map +1 -1
  126. package/dist/nile-pagination/nile-pagination.css.esm.js +10 -0
  127. package/dist/nile-pagination/nile-pagination.esm.js +14 -14
  128. package/dist/nile-side-bar/nile-side-bar.cjs.js +1 -1
  129. package/dist/nile-side-bar/nile-side-bar.cjs.js.map +1 -1
  130. package/dist/nile-side-bar/nile-side-bar.css.cjs.js +1 -1
  131. package/dist/nile-side-bar/nile-side-bar.css.cjs.js.map +1 -1
  132. package/dist/nile-side-bar/nile-side-bar.css.esm.js +16 -14
  133. package/dist/nile-side-bar/nile-side-bar.esm.js +2 -2
  134. package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.cjs.js +1 -1
  135. package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.cjs.js.map +1 -1
  136. package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.esm.js +11 -4
  137. package/dist/nile-side-bar-footer/nile-side-bar-footer.cjs.js.map +1 -1
  138. package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js +1 -1
  139. package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js.map +1 -1
  140. package/dist/nile-side-bar-footer/nile-side-bar-footer.css.esm.js +8 -3
  141. package/dist/nile-side-bar-footer-item/index.cjs.js +1 -1
  142. package/dist/nile-side-bar-footer-item/index.esm.js +1 -1
  143. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js +1 -1
  144. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js.map +1 -1
  145. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js +1 -1
  146. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js.map +1 -1
  147. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.esm.js +181 -25
  148. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.esm.js +10 -3
  149. package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.cjs.js +1 -1
  150. package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.cjs.js.map +1 -1
  151. package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.esm.js +10 -5
  152. package/dist/nile-side-bar-group/nile-side-bar-group.cjs.js +1 -1
  153. package/dist/nile-side-bar-group/nile-side-bar-group.cjs.js.map +1 -1
  154. package/dist/nile-side-bar-group/nile-side-bar-group.css.cjs.js +1 -1
  155. package/dist/nile-side-bar-group/nile-side-bar-group.css.cjs.js.map +1 -1
  156. package/dist/nile-side-bar-group/nile-side-bar-group.css.esm.js +52 -9
  157. package/dist/nile-side-bar-group/nile-side-bar-group.esm.js +4 -4
  158. package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.cjs.js +1 -1
  159. package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.cjs.js.map +1 -1
  160. package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.esm.js +53 -8
  161. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.cjs.js +1 -1
  162. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.cjs.js.map +1 -1
  163. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.cjs.js +1 -1
  164. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.cjs.js.map +1 -1
  165. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.esm.js +13 -4
  166. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.esm.js +4 -4
  167. package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.cjs.js +1 -1
  168. package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.cjs.js.map +1 -1
  169. package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.esm.js +9 -6
  170. package/dist/nile-side-bar-header/nile-side-bar-header.cjs.js.map +1 -1
  171. package/dist/nile-side-bar-header/nile-side-bar-header.css.cjs.js +1 -1
  172. package/dist/nile-side-bar-header/nile-side-bar-header.css.cjs.js.map +1 -1
  173. package/dist/nile-side-bar-header/nile-side-bar-header.css.esm.js +12 -5
  174. package/dist/nile-side-bar-header-switcher/index.cjs.js +2 -0
  175. package/dist/nile-side-bar-header-switcher/index.cjs.js.map +1 -0
  176. package/dist/nile-side-bar-header-switcher/index.esm.js +1 -0
  177. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.cjs.js +2 -0
  178. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.cjs.js.map +1 -0
  179. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.cjs.js +2 -0
  180. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.cjs.js.map +1 -0
  181. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.esm.js +83 -0
  182. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.esm.js +24 -0
  183. package/dist/nile-side-bar-search/index.cjs.js +2 -0
  184. package/dist/nile-side-bar-search/index.cjs.js.map +1 -0
  185. package/dist/nile-side-bar-search/index.esm.js +1 -0
  186. package/dist/nile-side-bar-search/nile-side-bar-search.cjs.js +2 -0
  187. package/dist/nile-side-bar-search/nile-side-bar-search.cjs.js.map +1 -0
  188. package/dist/nile-side-bar-search/nile-side-bar-search.css.cjs.js +2 -0
  189. package/dist/nile-side-bar-search/nile-side-bar-search.css.cjs.js.map +1 -0
  190. package/dist/nile-side-bar-search/nile-side-bar-search.css.esm.js +103 -0
  191. package/dist/nile-side-bar-search/nile-side-bar-search.esm.js +25 -0
  192. package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js +1 -1
  193. package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js.map +1 -1
  194. package/dist/nile-slide-toggle/nile-slide-toggle.css.esm.js +1 -1
  195. package/dist/nile-tooltip/nile-tooltip.css.cjs.js +1 -1
  196. package/dist/nile-tooltip/nile-tooltip.css.cjs.js.map +1 -1
  197. package/dist/nile-tooltip/nile-tooltip.css.esm.js +7 -5
  198. package/dist/nile-virtual-select/nile-virtual-select.css.cjs.js +1 -1
  199. package/dist/nile-virtual-select/nile-virtual-select.css.cjs.js.map +1 -1
  200. package/dist/nile-virtual-select/nile-virtual-select.css.esm.js +1 -1
  201. package/dist/nile-wysiwyg-editor/index.cjs.js +1 -1
  202. package/dist/nile-wysiwyg-editor/index.esm.js +1 -1
  203. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.cjs.js +1 -1
  204. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.cjs.js.map +1 -1
  205. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.cjs.js +1 -1
  206. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.cjs.js.map +1 -1
  207. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.esm.js +75 -3
  208. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.esm.js +3 -2
  209. package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.cjs.js +1 -1
  210. package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.cjs.js.map +1 -1
  211. package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.esm.js +3 -3
  212. package/dist/nile-wysiwyg-editor/types.cjs.js +1 -1
  213. package/dist/nile-wysiwyg-editor/types.cjs.js.map +1 -1
  214. package/dist/nile-wysiwyg-editor/types.esm.js +1 -1
  215. package/dist/src/index.d.ts +6 -0
  216. package/dist/src/index.js +6 -0
  217. package/dist/src/index.js.map +1 -1
  218. package/dist/src/nile-app-shell/nile-app-shell.css.js +70 -63
  219. package/dist/src/nile-app-shell/nile-app-shell.css.js.map +1 -1
  220. package/dist/src/nile-app-shell/nile-app-shell.d.ts +40 -7
  221. package/dist/src/nile-app-shell/nile-app-shell.js +192 -41
  222. package/dist/src/nile-app-shell/nile-app-shell.js.map +1 -1
  223. package/dist/src/nile-app-shell/nile-app-shell.test.d.ts +2 -0
  224. package/dist/src/nile-app-shell/nile-app-shell.test.js +272 -1020
  225. package/dist/src/nile-app-shell/nile-app-shell.test.js.map +1 -1
  226. package/dist/src/nile-app-shell/zz-layout.test.d.ts +15 -0
  227. package/dist/src/nile-app-shell/zz-layout.test.js +253 -0
  228. package/dist/src/nile-app-shell/zz-layout.test.js.map +1 -0
  229. package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.js +1 -1
  230. package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.js.map +1 -1
  231. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.js +24 -6
  232. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.js.map +1 -1
  233. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.d.ts +8 -2
  234. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.js +56 -2
  235. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.js.map +1 -1
  236. package/dist/src/nile-button-filter/nile-button-filter.css.js +1 -1
  237. package/dist/src/nile-button-filter/nile-button-filter.css.js.map +1 -1
  238. package/dist/src/nile-button-filter/nile-button-filter.js +1 -3
  239. package/dist/src/nile-button-filter/nile-button-filter.js.map +1 -1
  240. package/dist/src/nile-calendar/nile-calendar.css.js +9 -8
  241. package/dist/src/nile-calendar/nile-calendar.css.js.map +1 -1
  242. package/dist/src/nile-color-picker/nile-color-picker.css.js +3 -3
  243. package/dist/src/nile-color-picker/nile-color-picker.css.js.map +1 -1
  244. package/dist/src/nile-combobox/nile-combobox.css.js +1 -1
  245. package/dist/src/nile-combobox/nile-combobox.css.js.map +1 -1
  246. package/dist/src/nile-command-menu-item/nile-command-menu-item.css.js +5 -1
  247. package/dist/src/nile-command-menu-item/nile-command-menu-item.css.js.map +1 -1
  248. package/dist/src/nile-context-menu/nile-context-menu.css.js +2 -4
  249. package/dist/src/nile-context-menu/nile-context-menu.css.js.map +1 -1
  250. package/dist/src/nile-dropdown-switcher/index.d.ts +1 -0
  251. package/dist/src/nile-dropdown-switcher/index.js +2 -0
  252. package/dist/src/nile-dropdown-switcher/index.js.map +1 -0
  253. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.css.d.ts +10 -0
  254. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.css.js +49 -0
  255. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.css.js.map +1 -0
  256. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.d.ts +101 -0
  257. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.js +463 -0
  258. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.js.map +1 -0
  259. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.test.d.ts +4 -0
  260. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.test.js +506 -0
  261. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.test.js.map +1 -0
  262. package/dist/src/nile-dropdown-switcher-group/index.d.ts +1 -0
  263. package/dist/src/nile-dropdown-switcher-group/index.js +2 -0
  264. package/dist/src/nile-dropdown-switcher-group/index.js.map +1 -0
  265. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.d.ts +12 -0
  266. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.js +49 -0
  267. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.js.map +1 -0
  268. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.d.ts +37 -0
  269. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.js +72 -0
  270. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.js.map +1 -0
  271. package/dist/src/nile-dropdown-switcher-header/index.d.ts +1 -0
  272. package/dist/src/nile-dropdown-switcher-header/index.js +2 -0
  273. package/dist/src/nile-dropdown-switcher-header/index.js.map +1 -0
  274. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.d.ts +12 -0
  275. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.js +103 -0
  276. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.js.map +1 -0
  277. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.d.ts +46 -0
  278. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.js +105 -0
  279. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.js.map +1 -0
  280. package/dist/src/nile-dropdown-switcher-item/index.d.ts +1 -0
  281. package/dist/src/nile-dropdown-switcher-item/index.js +2 -0
  282. package/dist/src/nile-dropdown-switcher-item/index.js.map +1 -0
  283. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.d.ts +10 -0
  284. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.js +112 -0
  285. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.js.map +1 -0
  286. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.d.ts +55 -0
  287. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.js +154 -0
  288. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.js.map +1 -0
  289. package/dist/src/nile-empty-state/nile-empty-state.d.ts +5 -0
  290. package/dist/src/nile-empty-state/nile-empty-state.js +11 -2
  291. package/dist/src/nile-empty-state/nile-empty-state.js.map +1 -1
  292. package/dist/src/nile-empty-state/nile-empty-state.test.js +31 -0
  293. package/dist/src/nile-empty-state/nile-empty-state.test.js.map +1 -1
  294. package/dist/src/nile-filter-chip/nile-filter-chip.css.js +2 -2
  295. package/dist/src/nile-filter-chip/nile-filter-chip.css.js.map +1 -1
  296. package/dist/src/nile-form-group/nile-form-group.css.js +1 -1
  297. package/dist/src/nile-form-group/nile-form-group.css.js.map +1 -1
  298. package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js +20 -4
  299. package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js.map +1 -1
  300. package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.js +1 -1
  301. package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.js.map +1 -1
  302. package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.js +3 -3
  303. package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.js.map +1 -1
  304. package/dist/src/nile-markdown-editor/nile-markdown-editor.css.js +4 -4
  305. package/dist/src/nile-markdown-editor/nile-markdown-editor.css.js.map +1 -1
  306. package/dist/src/nile-menu/nile-menu.css.js +1 -2
  307. package/dist/src/nile-menu/nile-menu.css.js.map +1 -1
  308. package/dist/src/nile-menu-item/nile-menu-item.css.js +4 -4
  309. package/dist/src/nile-menu-item/nile-menu-item.css.js.map +1 -1
  310. package/dist/src/nile-nav-tab/nile-nav-tab.css.js +3 -3
  311. package/dist/src/nile-nav-tab/nile-nav-tab.css.js.map +1 -1
  312. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.css.js +15 -12
  313. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.css.js.map +1 -1
  314. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.test.js +111 -0
  315. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.test.js.map +1 -1
  316. package/dist/src/nile-option/nile-option.css.js +2 -2
  317. package/dist/src/nile-option/nile-option.css.js.map +1 -1
  318. package/dist/src/nile-pagination/nile-pagination.css.js +10 -0
  319. package/dist/src/nile-pagination/nile-pagination.css.js.map +1 -1
  320. package/dist/src/nile-pagination/nile-pagination.d.ts +2 -0
  321. package/dist/src/nile-pagination/nile-pagination.js +13 -9
  322. package/dist/src/nile-pagination/nile-pagination.js.map +1 -1
  323. package/dist/src/nile-side-bar/nile-side-bar.css.js +14 -12
  324. package/dist/src/nile-side-bar/nile-side-bar.css.js.map +1 -1
  325. package/dist/src/nile-side-bar/nile-side-bar.d.ts +17 -0
  326. package/dist/src/nile-side-bar/nile-side-bar.js +68 -12
  327. package/dist/src/nile-side-bar/nile-side-bar.js.map +1 -1
  328. package/dist/src/nile-side-bar/nile-side-bar.test.d.ts +23 -0
  329. package/dist/src/nile-side-bar/nile-side-bar.test.js +1614 -1
  330. package/dist/src/nile-side-bar/nile-side-bar.test.js.map +1 -1
  331. package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.js +11 -4
  332. package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.js.map +1 -1
  333. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js +8 -3
  334. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js.map +1 -1
  335. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.d.ts +7 -5
  336. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.js +7 -5
  337. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.js.map +1 -1
  338. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js +179 -23
  339. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js.map +1 -1
  340. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.d.ts +15 -0
  341. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.js +82 -2
  342. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.js.map +1 -1
  343. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.d.ts +9 -0
  344. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.js +201 -0
  345. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.js.map +1 -0
  346. package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.js +8 -3
  347. package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.js.map +1 -1
  348. package/dist/src/nile-side-bar-group/nile-side-bar-group.css.js +50 -7
  349. package/dist/src/nile-side-bar-group/nile-side-bar-group.css.js.map +1 -1
  350. package/dist/src/nile-side-bar-group/nile-side-bar-group.d.ts +35 -0
  351. package/dist/src/nile-side-bar-group/nile-side-bar-group.js +90 -3
  352. package/dist/src/nile-side-bar-group/nile-side-bar-group.js.map +1 -1
  353. package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.css.js +52 -7
  354. package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.css.js.map +1 -1
  355. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.js +11 -2
  356. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.js.map +1 -1
  357. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.d.ts +11 -2
  358. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.js +21 -15
  359. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.js.map +1 -1
  360. package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.js +7 -4
  361. package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.js.map +1 -1
  362. package/dist/src/nile-side-bar-header/nile-side-bar-app-shell.test.js +22 -17
  363. package/dist/src/nile-side-bar-header/nile-side-bar-app-shell.test.js.map +1 -1
  364. package/dist/src/nile-side-bar-header/nile-side-bar-header-surface.test.d.ts +4 -0
  365. package/dist/src/nile-side-bar-header/nile-side-bar-header-surface.test.js +143 -0
  366. package/dist/src/nile-side-bar-header/nile-side-bar-header-surface.test.js.map +1 -0
  367. package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js +10 -3
  368. package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js.map +1 -1
  369. package/dist/src/nile-side-bar-header/nile-side-bar-header.d.ts +7 -5
  370. package/dist/src/nile-side-bar-header/nile-side-bar-header.js +7 -5
  371. package/dist/src/nile-side-bar-header/nile-side-bar-header.js.map +1 -1
  372. package/dist/src/nile-side-bar-header-switcher/index.d.ts +1 -0
  373. package/dist/src/nile-side-bar-header-switcher/index.js +2 -0
  374. package/dist/src/nile-side-bar-header-switcher/index.js.map +1 -0
  375. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.d.ts +14 -0
  376. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.js +97 -0
  377. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.js.map +1 -0
  378. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.d.ts +38 -0
  379. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.js +86 -0
  380. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.js.map +1 -0
  381. package/dist/src/nile-side-bar-search/index.d.ts +1 -0
  382. package/dist/src/nile-side-bar-search/index.js +2 -0
  383. package/dist/src/nile-side-bar-search/index.js.map +1 -0
  384. package/dist/src/nile-side-bar-search/nile-side-bar-search.css.d.ts +15 -0
  385. package/dist/src/nile-side-bar-search/nile-side-bar-search.css.js +118 -0
  386. package/dist/src/nile-side-bar-search/nile-side-bar-search.css.js.map +1 -0
  387. package/dist/src/nile-side-bar-search/nile-side-bar-search.d.ts +56 -0
  388. package/dist/src/nile-side-bar-search/nile-side-bar-search.js +150 -0
  389. package/dist/src/nile-side-bar-search/nile-side-bar-search.js.map +1 -0
  390. package/dist/src/nile-side-bar-search/nile-side-bar-search.test.d.ts +3 -0
  391. package/dist/src/nile-side-bar-search/nile-side-bar-search.test.js +153 -0
  392. package/dist/src/nile-side-bar-search/nile-side-bar-search.test.js.map +1 -0
  393. package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js +1 -1
  394. package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js.map +1 -1
  395. package/dist/src/nile-tooltip/nile-tooltip.css.js +7 -5
  396. package/dist/src/nile-tooltip/nile-tooltip.css.js.map +1 -1
  397. package/dist/src/nile-virtual-select/nile-virtual-select.css.js +1 -1
  398. package/dist/src/nile-virtual-select/nile-virtual-select.css.js.map +1 -1
  399. package/dist/src/nile-wysiwyg-editor/index.d.ts +2 -1
  400. package/dist/src/nile-wysiwyg-editor/index.js +1 -1
  401. package/dist/src/nile-wysiwyg-editor/index.js.map +1 -1
  402. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.js +77 -2
  403. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.js.map +1 -1
  404. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.d.ts +20 -0
  405. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.js +37 -1
  406. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.js.map +1 -1
  407. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.test.js +108 -0
  408. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.test.js.map +1 -1
  409. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.js +3 -3
  410. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.js.map +1 -1
  411. package/dist/src/nile-wysiwyg-editor/types.d.ts +8 -0
  412. package/dist/src/nile-wysiwyg-editor/types.js +50 -0
  413. package/dist/src/nile-wysiwyg-editor/types.js.map +1 -1
  414. package/dist/src/version.js +1 -1
  415. package/dist/src/version.js.map +1 -1
  416. package/dist/tsconfig.tsbuildinfo +1 -1
  417. package/dist/version.cjs.js +1 -1
  418. package/dist/version.cjs.js.map +1 -1
  419. package/dist/version.esm.js +1 -1
  420. package/package.json +1 -1
  421. package/src/index.ts +6 -0
  422. package/src/nile-app-shell/nile-app-shell.css.ts +70 -63
  423. package/src/nile-app-shell/nile-app-shell.test.ts +332 -1227
  424. package/src/nile-app-shell/nile-app-shell.ts +223 -44
  425. package/src/nile-app-shell/zz-layout.test.ts +271 -0
  426. package/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.ts +1 -5
  427. package/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.ts +24 -6
  428. package/src/nile-app-shell-side-nav/nile-app-shell-side-nav.ts +62 -2
  429. package/src/nile-button-filter/nile-button-filter.css.ts +1 -1
  430. package/src/nile-button-filter/nile-button-filter.ts +1 -3
  431. package/src/nile-calendar/nile-calendar.css.ts +9 -8
  432. package/src/nile-color-picker/nile-color-picker.css.ts +3 -3
  433. package/src/nile-combobox/nile-combobox.css.ts +1 -1
  434. package/src/nile-command-menu-item/nile-command-menu-item.css.ts +5 -1
  435. package/src/nile-context-menu/nile-context-menu.css.ts +2 -4
  436. package/src/nile-dropdown-switcher/index.ts +1 -0
  437. package/src/nile-dropdown-switcher/nile-dropdown-switcher.css.ts +51 -0
  438. package/src/nile-dropdown-switcher/nile-dropdown-switcher.test.ts +570 -0
  439. package/src/nile-dropdown-switcher/nile-dropdown-switcher.ts +502 -0
  440. package/src/nile-dropdown-switcher-group/index.ts +1 -0
  441. package/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.ts +51 -0
  442. package/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.ts +78 -0
  443. package/src/nile-dropdown-switcher-header/index.ts +1 -0
  444. package/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.ts +105 -0
  445. package/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.ts +105 -0
  446. package/src/nile-dropdown-switcher-item/index.ts +1 -0
  447. package/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.ts +114 -0
  448. package/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.ts +151 -0
  449. package/src/nile-empty-state/nile-empty-state.test.ts +24 -0
  450. package/src/nile-empty-state/nile-empty-state.ts +12 -2
  451. package/src/nile-filter-chip/nile-filter-chip.css.ts +2 -2
  452. package/src/nile-form-group/nile-form-group.css.ts +1 -1
  453. package/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.ts +20 -4
  454. package/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.ts +1 -1
  455. package/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.ts +3 -3
  456. package/src/nile-markdown-editor/nile-markdown-editor.css.ts +4 -4
  457. package/src/nile-menu/nile-menu.css.ts +1 -2
  458. package/src/nile-menu-item/nile-menu-item.css.ts +4 -4
  459. package/src/nile-nav-tab/nile-nav-tab.css.ts +3 -3
  460. package/src/nile-nav-tab-group/nile-nav-tab-group.css.ts +15 -12
  461. package/src/nile-nav-tab-group/nile-nav-tab-group.test.ts +130 -0
  462. package/src/nile-option/nile-option.css.ts +2 -2
  463. package/src/nile-pagination/nile-pagination.css.ts +10 -0
  464. package/src/nile-pagination/nile-pagination.ts +14 -9
  465. package/src/nile-side-bar/nile-side-bar.css.ts +14 -12
  466. package/src/nile-side-bar/nile-side-bar.test.ts +1854 -2
  467. package/src/nile-side-bar/nile-side-bar.ts +72 -15
  468. package/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.ts +11 -4
  469. package/src/nile-side-bar-footer/nile-side-bar-footer.css.ts +8 -3
  470. package/src/nile-side-bar-footer/nile-side-bar-footer.ts +7 -5
  471. package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.ts +179 -23
  472. package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.ts +219 -0
  473. package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.ts +84 -2
  474. package/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.ts +8 -3
  475. package/src/nile-side-bar-group/nile-side-bar-group.css.ts +50 -7
  476. package/src/nile-side-bar-group/nile-side-bar-group.ts +100 -2
  477. package/src/nile-side-bar-group-item/nile-side-bar-group-item.css.ts +52 -7
  478. package/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.ts +11 -2
  479. package/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.ts +22 -19
  480. package/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.ts +7 -4
  481. package/src/nile-side-bar-header/nile-side-bar-app-shell.test.ts +22 -17
  482. package/src/nile-side-bar-header/nile-side-bar-header-surface.test.ts +175 -0
  483. package/src/nile-side-bar-header/nile-side-bar-header.css.ts +10 -3
  484. package/src/nile-side-bar-header/nile-side-bar-header.ts +7 -5
  485. package/src/nile-side-bar-header-switcher/index.ts +1 -0
  486. package/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.ts +99 -0
  487. package/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.ts +88 -0
  488. package/src/nile-side-bar-search/index.ts +1 -0
  489. package/src/nile-side-bar-search/nile-side-bar-search.css.ts +120 -0
  490. package/src/nile-side-bar-search/nile-side-bar-search.test.ts +175 -0
  491. package/src/nile-side-bar-search/nile-side-bar-search.ts +160 -0
  492. package/src/nile-slide-toggle/nile-slide-toggle.css.ts +1 -1
  493. package/src/nile-tooltip/nile-tooltip.css.ts +7 -5
  494. package/src/nile-virtual-select/nile-virtual-select.css.ts +1 -1
  495. package/src/nile-wysiwyg-editor/index.ts +2 -1
  496. package/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.ts +78 -2
  497. package/src/nile-wysiwyg-editor/nile-wysiwyg-editor.test.ts +132 -0
  498. package/src/nile-wysiwyg-editor/nile-wysiwyg-editor.ts +40 -1
  499. package/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.ts +3 -3
  500. package/src/nile-wysiwyg-editor/types.ts +52 -0
  501. package/test-timings.json +0 -1
  502. package/vscode-html-custom-data.json +372 -24
@@ -1,2 +1,2 @@
1
- System.register(["lit"],function(_export,_context){"use strict";var a,_templateObject,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){a=_lit.css;}],execute:function execute(){_export("s",n=a(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n bottom: var(--nile-spacing-md);\n padding-bottom: var(--nile-spacing-xl, var(--ng-spacing-3xl));\n\tpadding-left: var(--nile-spacing-xl, var(--ng-spacing-xl));\n\tpadding-right: var(--nile-spacing-xl, var(--ng-spacing-xl));\n padding-top: var(--nile-spacing-xs, var(--ng-spacing-xs));\n gap: var(--nile-spacing-md, var(--ng-spacing-xl));\n bottom: 0;\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));\n}\n\n/* Opt-in: drop the surface color so the footer sits on whatever is behind it. */\n:host([background='transparent']) {\n background: transparent;\n}\n\n.footer {\n display: flex;\n flex-direction: column; \n align-items: stretch; \n gap: var(--nile-spacing-md, var(--ng-spacing-lg)); \n}\n\n::slotted(nile-side-bar-footer-item) {\n display: flex;\n align-items: center;\n gap: var(--nile-spacing-md, var(--ng-spacing-xs));\n justify-content: center;\n \n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n cursor: pointer;\n border-radius: var(--nile-radius-sm, var(--ng-radius-sm));\n transition: background 0.2s ease;\n}\n\n\n\n\n \n"]))));}};});
1
+ System.register(["lit"],function(_export,_context){"use strict";var a,_templateObject,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){a=_lit.css;}],execute:function execute(){_export("s",n=a(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n bottom: var(--nile-spacing-md);\n padding-bottom: var(--nile-spacing-xl, var(--ng-spacing-3xl));\n\tpadding-left: var(--nile-spacing-xl, var(--ng-spacing-xl));\n\tpadding-right: var(--nile-spacing-xl, var(--ng-spacing-xl));\n /* NxtGen: no top padding; enterprise keeps 4px. */\n padding-top: var(--nile-spacing-xs, var(--ng-spacing-none));\n gap: var(--nile-spacing-md, var(--ng-spacing-xl));\n bottom: 0;\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));\n}\n\n/* Opt-in: drop the surface color so the footer sits on whatever is behind it. */\n:host([background='transparent']) {\n background: transparent;\n}\n\n.footer {\n display: flex;\n flex-direction: column; \n align-items: stretch; \n /* NxtGen: footer items stack flush; the Account row's own gap is handled below. Enterprise keeps 8px. */\n gap: var(--nile-spacing-md, var(--ng-spacing-none));\n}\n\n::slotted(nile-side-bar-footer-item) {\n display: flex;\n align-items: center;\n gap: var(--nile-spacing-md, var(--ng-spacing-xs));\n justify-content: center;\n \n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n cursor: pointer;\n border-radius: var(--nile-radius-sm, var(--ng-radius-sm));\n transition: background 0.2s ease;\n}\n\n/* 16px gap above the Account row, scoped to [type='avatar'] so Support/Help keep stacking flush. */\n::slotted(nile-side-bar-footer-item[type='avatar']) {\n margin-top: var(--nile-spacing-xl, var(--ng-spacing-xl));\n}\n\n\n \n"]))));}};});
2
2
  //# sourceMappingURL=nile-side-bar-footer.css.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-side-bar-footer.css.cjs.js","sources":["../../../src/nile-side-bar-footer/nile-side-bar-footer.css.ts"],"sourcesContent":["import { css } from 'lit';\n\n/**\n * SideBarFooter CSS\n */\nexport const styles = css`\n :host {\n display: block;\n bottom: var(--nile-spacing-md);\n padding-bottom: var(--nile-spacing-xl, var(--ng-spacing-3xl));\n\tpadding-left: var(--nile-spacing-xl, var(--ng-spacing-xl));\n\tpadding-right: var(--nile-spacing-xl, var(--ng-spacing-xl));\n padding-top: var(--nile-spacing-xs, var(--ng-spacing-xs));\n gap: var(--nile-spacing-md, var(--ng-spacing-xl));\n bottom: 0;\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));\n}\n\n/* Opt-in: drop the surface color so the footer sits on whatever is behind it. */\n:host([background='transparent']) {\n background: transparent;\n}\n\n.footer {\n display: flex;\n flex-direction: column; \n align-items: stretch; \n gap: var(--nile-spacing-md, var(--ng-spacing-lg)); \n}\n\n::slotted(nile-side-bar-footer-item) {\n display: flex;\n align-items: center;\n gap: var(--nile-spacing-md, var(--ng-spacing-xs));\n justify-content: center;\n \n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n cursor: pointer;\n border-radius: var(--nile-radius-sm, var(--ng-radius-sm));\n transition: background 0.2s ease;\n}\n\n\n\n\n \n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAKaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
1
+ {"version":3,"file":"nile-side-bar-footer.css.cjs.js","sources":["../../../src/nile-side-bar-footer/nile-side-bar-footer.css.ts"],"sourcesContent":["import { css } from 'lit';\n\n/**\n * SideBarFooter CSS\n */\nexport const styles = css`\n :host {\n display: block;\n bottom: var(--nile-spacing-md);\n padding-bottom: var(--nile-spacing-xl, var(--ng-spacing-3xl));\n\tpadding-left: var(--nile-spacing-xl, var(--ng-spacing-xl));\n\tpadding-right: var(--nile-spacing-xl, var(--ng-spacing-xl));\n /* NxtGen: no top padding; enterprise keeps 4px. */\n padding-top: var(--nile-spacing-xs, var(--ng-spacing-none));\n gap: var(--nile-spacing-md, var(--ng-spacing-xl));\n bottom: 0;\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));\n}\n\n/* Opt-in: drop the surface color so the footer sits on whatever is behind it. */\n:host([background='transparent']) {\n background: transparent;\n}\n\n.footer {\n display: flex;\n flex-direction: column; \n align-items: stretch; \n /* NxtGen: footer items stack flush; the Account row's own gap is handled below. Enterprise keeps 8px. */\n gap: var(--nile-spacing-md, var(--ng-spacing-none));\n}\n\n::slotted(nile-side-bar-footer-item) {\n display: flex;\n align-items: center;\n gap: var(--nile-spacing-md, var(--ng-spacing-xs));\n justify-content: center;\n \n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n cursor: pointer;\n border-radius: var(--nile-radius-sm, var(--ng-radius-sm));\n transition: background 0.2s ease;\n}\n\n/* 16px gap above the Account row, scoped to [type='avatar'] so Support/Help keep stacking flush. */\n::slotted(nile-side-bar-footer-item[type='avatar']) {\n margin-top: var(--nile-spacing-xl, var(--ng-spacing-xl));\n}\n\n\n \n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAKaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -5,7 +5,8 @@ import{css as a}from"lit";const n=a`
5
5
  padding-bottom: var(--nile-spacing-xl, var(--ng-spacing-3xl));
6
6
  padding-left: var(--nile-spacing-xl, var(--ng-spacing-xl));
7
7
  padding-right: var(--nile-spacing-xl, var(--ng-spacing-xl));
8
- padding-top: var(--nile-spacing-xs, var(--ng-spacing-xs));
8
+ /* NxtGen: no top padding; enterprise keeps 4px. */
9
+ padding-top: var(--nile-spacing-xs, var(--ng-spacing-none));
9
10
  gap: var(--nile-spacing-md, var(--ng-spacing-xl));
10
11
  bottom: 0;
11
12
  background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));
@@ -20,7 +21,8 @@ import{css as a}from"lit";const n=a`
20
21
  display: flex;
21
22
  flex-direction: column;
22
23
  align-items: stretch;
23
- gap: var(--nile-spacing-md, var(--ng-spacing-lg));
24
+ /* NxtGen: footer items stack flush; the Account row's own gap is handled below. Enterprise keeps 8px. */
25
+ gap: var(--nile-spacing-md, var(--ng-spacing-none));
24
26
  }
25
27
 
26
28
  ::slotted(nile-side-bar-footer-item) {
@@ -36,7 +38,10 @@ import{css as a}from"lit";const n=a`
36
38
  transition: background 0.2s ease;
37
39
  }
38
40
 
39
-
41
+ /* 16px gap above the Account row, scoped to [type='avatar'] so Support/Help keep stacking flush. */
42
+ ::slotted(nile-side-bar-footer-item[type='avatar']) {
43
+ margin-top: var(--nile-spacing-xl, var(--ng-spacing-xl));
44
+ }
40
45
 
41
46
 
42
47
 
@@ -1,2 +1,2 @@
1
- System.register(["./nile-side-bar-footer-item.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-footer-item.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarFooterItemCjsJs){_export("NileSideBarFooterItem",_nileSideBarFooterItemCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarFooterItemCssCjsJs){},function(_internalNileElementCjsJs){},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){}};});
1
+ System.register(["./nile-side-bar-footer-item.cjs.js","tslib","lit","lit/directives/if-defined.js","lit/decorators.js","./nile-side-bar-footer-item.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarFooterItemCjsJs){_export("NileSideBarFooterItem",_nileSideBarFooterItemCjsJs.N);},function(_tslib){},function(_lit){},function(_litDirectivesIfDefinedJs){},function(_litDecoratorsJs){},function(_nileSideBarFooterItemCssCjsJs){},function(_internalNileElementCjsJs){},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){}};});
2
2
  //# sourceMappingURL=index.cjs.js.map
@@ -1 +1 @@
1
- export{N as NileSideBarFooterItem}from"./nile-side-bar-footer-item.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-footer-item.css.esm.js";import"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";
1
+ export{N as NileSideBarFooterItem}from"./nile-side-bar-footer-item.esm.js";import"tslib";import"lit";import"lit/directives/if-defined.js";import"lit/decorators.js";import"./nile-side-bar-footer-item.css.esm.js";import"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";
@@ -1,2 +1,2 @@
1
- function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","./nile-side-bar-footer-item.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var t,e,s,i,r,o,_templateObject,l;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_lit){e=_lit.html;},function(_litDecoratorsJs){s=_litDecoratorsJs.property;i=_litDecoratorsJs.customElement;},function(_nileSideBarFooterItemCssCjsJs){r=_nileSideBarFooterItemCssCjsJs.s;},function(_internalNileElementCjsJs){o=_internalNileElementCjsJs.N;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){_export("N",l=/*#__PURE__*/function(_o){function l(){var _this;_classCallCheck(this,l);_this=_callSuper(this,l,arguments),_this.type=null;return _this;}_inherits(l,_o);return _createClass(l,[{key:"handleClick",value:function handleClick(){this.dispatchEvent(new CustomEvent("nile-click",{detail:{type:this.type},bubbles:!0,composed:!0}));}},{key:"render",value:function render(){return e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div part=\"base\" class=\"footer-item\" @click=",">\n <slot name=\"icon\" part=\"icon\"></slot>\n <slot name=\"text\" part=\"text\"></slot>\n <slot name=\"action\" part=\"action\"></slot>\n </div>\n "])),this.handleClick);}}],[{key:"styles",get:function get(){return[r];}}]);}(o));t([s({type:String,reflect:!0})],l.prototype,"type",void 0),_export("N",l=t([i("nile-side-bar-footer-item")],l));}};});
1
+ function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/directives/if-defined.js","lit/decorators.js","./nile-side-bar-footer-item.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var t,i,e,s,n,o,r,_templateObject,a;function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _superPropGet(t,o,e,r){var p=_get(_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},_get.apply(null,arguments);}function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=_getPrototypeOf(t)););return t;}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_lit){i=_lit.html;},function(_litDirectivesIfDefinedJs){e=_litDirectivesIfDefinedJs.ifDefined;},function(_litDecoratorsJs){s=_litDecoratorsJs.property;n=_litDecoratorsJs.customElement;},function(_nileSideBarFooterItemCssCjsJs){o=_nileSideBarFooterItemCssCjsJs.s;},function(_internalNileElementCjsJs){r=_internalNileElementCjsJs.N;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){_export("N",a=/*#__PURE__*/function(_r){function a(){var _this;_classCallCheck(this,a);_this=_callSuper(this,a,arguments),_this.type=null,_this.active=!1,_this.actionWasOpen=!1;return _this;}_inherits(a,_r);return _createClass(a,[{key:"handleClick",value:function handleClick(){this.dispatchEvent(new CustomEvent("nile-click",{detail:{type:this.type},bubbles:!0,composed:!0}));}},{key:"handleActionVisibility",value:function handleActionVisibility(t){var _i$tagName;var i=t.target;"nile-side-bar-action"===((_i$tagName=i.tagName)===null||_i$tagName===void 0?void 0:_i$tagName.toLowerCase())&&this.toggleAttribute("data-action-open","nile-show"===t.type);}},{key:"connectedCallback",value:function connectedCallback(){_superPropGet(a,"connectedCallback",this,3)([]),this.handleActionVisibility=this.handleActionVisibility.bind(this),this.addEventListener("nile-show",this.handleActionVisibility),this.addEventListener("nile-hide",this.handleActionVisibility);}},{key:"disconnectedCallback",value:function disconnectedCallback(){_superPropGet(a,"disconnectedCallback",this,3)([]),this.removeEventListener("nile-show",this.handleActionVisibility),this.removeEventListener("nile-hide",this.handleActionVisibility);}},{key:"attributeChangedCallback",value:function attributeChangedCallback(t,i,e){_superPropGet(a,"attributeChangedCallback",this,3)([t,i,e]),"collapsed"===t&&this.requestUpdate();}},{key:"collapsedAccount",get:function get(){return"avatar"===this.type&&this.hasAttribute("collapsed");}},{key:"actionElement",get:function get(){return this.querySelector(':scope > nile-side-bar-action[slot="action"]');}},{key:"handleMouseDown",value:function handleMouseDown(){var _this$actionElement;this.actionWasOpen=!!((_this$actionElement=this.actionElement)!==null&&_this$actionElement!==void 0&&_this$actionElement.open);}},{key:"handleAccountClick",value:function handleAccountClick(t){if(!this.collapsedAccount||t.target.closest("nile-side-bar-action"))return;var i=this.actionElement;i&&(this.actionWasOpen?this.actionWasOpen=!1:i.show());}},{key:"handleAccountKeyDown",value:function handleAccountKeyDown(t){if(!this.collapsedAccount||t.target.closest("nile-side-bar-action"))return;if("Enter"!==t.key&&" "!==t.key)return;var i=this.actionElement;i&&(t.preventDefault(),i.open?i.hide():i.show());}},{key:"render",value:function render(){var _this2=this;return i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div\n part=\"base\"\n class=\"footer-item\"\n tabindex=","\n @mousedown=","\n @click=","\n @keydown=","\n >\n <slot name=\"icon\" part=\"icon\"></slot>\n <slot name=\"text\" part=\"text\"></slot>\n <slot name=\"action\" part=\"action\"></slot>\n </div>\n "])),e(this.collapsedAccount&&this.actionElement?"0":void 0),this.handleMouseDown,function(t){_this2.handleClick(),_this2.handleAccountClick(t);},this.handleAccountKeyDown);}}],[{key:"styles",get:function get(){return[o];}},{key:"observedAttributes",get:function get(){return[].concat(_toConsumableArray(_superPropGet(a,"observedAttributes",this)),["collapsed"]);}}]);}(r));t([s({type:String,attribute:!0,reflect:!0})],a.prototype,"type",void 0),t([s({type:Boolean,attribute:!0,reflect:!0})],a.prototype,"active",void 0),_export("N",a=t([n("nile-side-bar-footer-item")],a));}};});
2
2
  //# sourceMappingURL=nile-side-bar-footer-item.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-side-bar-footer-item.cjs.js","sources":["../../../src/nile-side-bar-footer-item/nile-side-bar-footer-item.ts"],"sourcesContent":["import { html, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { styles } from './nile-side-bar-footer-item.css';\nimport NileElement from '../internal/nile-element';\n\n/**\n * Nile side-bar-footer-item component.\n *\n * @tag nile-side-bar-footer-item\n *\n * @slot icon - Slot for footer item icon\n * @slot text - Slot for footer item text\n * @slot action - Slot for footer item action\n *\n * @csspart base - Wrapper for the footer item\n * @csspart icon - Wrapper for the icon slot\n * @csspart text - Wrapper for the text slot\n * @csspart action - Wrapper for the action slot\n */\n@customElement('nile-side-bar-footer-item')\nexport class NileSideBarFooterItem extends NileElement {\n @property({ type: String, reflect: true }) type: string | null = null;\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n private handleClick(): void {\n this.dispatchEvent(new CustomEvent('nile-click', {\n detail: { type: this.type },\n bubbles: true,\n composed: true\n }));\n }\n\n public render(): TemplateResult {\n return html`\n <div part=\"base\" class=\"footer-item\" @click=${this.handleClick}>\n <slot name=\"icon\" part=\"icon\"></slot>\n <slot name=\"text\" part=\"text\"></slot>\n <slot name=\"action\" part=\"action\"></slot>\n </div>\n `;\n }\n}\n\nexport default NileSideBarFooterItem;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-footer-item': NileSideBarFooterItem;\n }\n}\n"],"names":["NileSideBarFooterItem","l","constructor","this","type","_this","_inherits","_o","_createClass","key","value","handleClick","dispatchEvent","CustomEvent","detail","bubbles","composed","render","html","_templateObject","_taggedTemplateLiteral","get","styles","NileElement","__decorate","property","String","reflect","prototype","customElement"],"mappings":"k9GAoBaA,CAAAA,uBAAAA,EAAAA,EAAN,SAAAC,EAAA,CAAAC,KAAAA,KAAAA,CAAAA,eAAAA,MAAAA,CAAAA,mCACsCC,EAAAA,KAAAA,CAAIC,IAAkB,CAAA,IAuBlE,QAAAC,KAAA,EArBQC,SAAA,CAAAL,CAAA,CAAAM,EAAA,SAAAC,YAAA,CAAAP,CAAA,GAAAQ,GAAA,eAAAC,KAAA,CAIC,SAAAC,WAAAA,CAAAA,CAAAA,CACNR,KAAKS,aAAc,CAAA,GAAIC,CAAAA,WAAY,CAAA,YAAA,CAAc,CAC/CC,MAAAA,CAAQ,CAAEV,IAAMD,CAAAA,IAAAA,CAAKC,IACrBW,CAAAA,CAAAA,OAAAA,CAAAA,CAAS,CACTC,CAAAA,QAAAA,CAAAA,CAAU,IAEb,EAEM,GAAAP,GAAA,UAAAC,KAAA,UAAAO,MAAAA,CAAAA,CACL,CAAA,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,qPACqCjB,IAAKQ,CAAAA,WAAAA,EAMtD,CAAA,KAAAF,GAAA,UAAAY,GAAA,CApBM,SAAAA,IAAA,EACL,MAAO,CAACC,CACT,CAAA,EAEO,MAPiCC,CAAAA,GACEC,EAAA,CAA1CC,CAAAA,CAAS,CAAErB,IAAAA,CAAMsB,OAAQC,OAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAmC3B,CAAA4B,CAAAA,SAAAA,CAAA,WAAA,EAD3D5B,CAAAA,CAAAA,OAAAA,KAAAA,CAAAA,CAAqBwB,EAAA,CADjCK,CAAAA,CAAc,8BACF7B"}
1
+ {"version":3,"file":"nile-side-bar-footer-item.cjs.js","sources":["../../../src/nile-side-bar-footer-item/nile-side-bar-footer-item.ts"],"sourcesContent":["import { html, CSSResultArray, TemplateResult } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { customElement, property } from 'lit/decorators.js';\nimport { styles } from './nile-side-bar-footer-item.css';\nimport NileElement from '../internal/nile-element';\nimport type { NileSideBarAction } from '../nile-side-bar-action/nile-side-bar-action';\n\n/**\n * Nile side-bar-footer-item component.\n *\n * @tag nile-side-bar-footer-item\n *\n * @slot icon - Slot for footer item icon\n * @slot text - Slot for footer item text\n * @slot action - Slot for footer item action\n *\n * @attr active - Selected/current. Same state model as nile-side-bar-group-item.\n *\n * @csspart base - Wrapper for the footer item\n * @csspart icon - Wrapper for the icon slot\n * @csspart text - Wrapper for the text slot\n * @csspart action - Wrapper for the action slot\n */\n@customElement('nile-side-bar-footer-item')\nexport class NileSideBarFooterItem extends NileElement {\n @property({ type: String, attribute: true, reflect: true }) type: string | null = null;\n\n /** Selected/current, same state model and brand colors as nile-side-bar-group-item. */\n @property({ type: Boolean, attribute: true, reflect: true }) active: boolean = false;\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n private handleClick(): void {\n this.dispatchEvent(new CustomEvent('nile-click', {\n detail: { type: this.type },\n bubbles: true,\n composed: true\n }));\n }\n\n /* Reflects a slotted nile-side-bar-action's open state as [data-action-open], since :has() doesn't re-match on a slotted child's own attribute changes. */\n private handleActionVisibility(e: Event): void {\n const target = e.target as Element;\n if (target.tagName?.toLowerCase() === 'nile-side-bar-action') {\n this.toggleAttribute('data-action-open', e.type === 'nile-show');\n }\n }\n\n connectedCallback(): void {\n super.connectedCallback();\n this.handleActionVisibility = this.handleActionVisibility.bind(this);\n this.addEventListener('nile-show', this.handleActionVisibility);\n this.addEventListener('nile-hide', this.handleActionVisibility);\n }\n\n disconnectedCallback(): void {\n super.disconnectedCallback();\n this.removeEventListener('nile-show', this.handleActionVisibility);\n this.removeEventListener('nile-hide', this.handleActionVisibility);\n }\n\n static get observedAttributes(): string[] {\n return [...super.observedAttributes, 'collapsed'];\n }\n\n attributeChangedCallback(name: string, old: string | null, value: string | null): void {\n super.attributeChangedCallback(name, old, value);\n if (name === 'collapsed') this.requestUpdate();\n }\n\n private actionWasOpen = false;\n\n private get collapsedAccount(): boolean {\n return this.type === 'avatar' && this.hasAttribute('collapsed');\n }\n\n private get actionElement(): NileSideBarAction | null {\n return this.querySelector<NileSideBarAction>(':scope > nile-side-bar-action[slot=\"action\"]');\n }\n\n private handleMouseDown(): void {\n this.actionWasOpen = !!this.actionElement?.open;\n }\n\n private handleAccountClick(e: Event): void {\n if (!this.collapsedAccount || (e.target as Element).closest('nile-side-bar-action')) return;\n const action = this.actionElement;\n if (!action) return;\n if (this.actionWasOpen) {\n this.actionWasOpen = false;\n return;\n }\n action.show();\n }\n\n private handleAccountKeyDown(e: KeyboardEvent): void {\n if (!this.collapsedAccount || (e.target as Element).closest('nile-side-bar-action')) return;\n if (e.key !== 'Enter' && e.key !== ' ') return;\n const action = this.actionElement;\n if (!action) return;\n e.preventDefault();\n if (action.open) action.hide();\n else action.show();\n }\n\n public render(): TemplateResult {\n return html`\n <div\n part=\"base\"\n class=\"footer-item\"\n tabindex=${ifDefined(this.collapsedAccount && this.actionElement ? '0' : undefined)}\n @mousedown=${this.handleMouseDown}\n @click=${(e: Event) => {\n this.handleClick();\n this.handleAccountClick(e);\n }}\n @keydown=${this.handleAccountKeyDown}\n >\n <slot name=\"icon\" part=\"icon\"></slot>\n <slot name=\"text\" part=\"text\"></slot>\n <slot name=\"action\" part=\"action\"></slot>\n </div>\n `;\n }\n}\n\nexport default NileSideBarFooterItem;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-footer-item': NileSideBarFooterItem;\n }\n}\n"],"names":["NileSideBarFooterItem","_r","a","constructor","this","type","active","actionWasOpen","_this","_inherits","_createClass","key","value","handleClick","dispatchEvent","CustomEvent","detail","bubbles","composed","handleActionVisibility","e","target","_i$tagName","tagName","toLowerCase","toggleAttribute","connectedCallback","super","bind","addEventListener","disconnectedCallback","removeEventListener","attributeChangedCallback","name","old","requestUpdate","get","hasAttribute","querySelector","handleMouseDown","actionElement","open","handleAccountClick","collapsedAccount","closest","action","show","handleAccountKeyDown","preventDefault","hide","render","_this2","html","_templateObject","_taggedTemplateLiteral","ifDefined","undefined","styles","concat","_toConsumableArray","_superPropGet","NileElement","__decorate","property","String","attribute","reflect","prototype","Boolean","customElement"],"mappings":"miKAwBaA,CAAN,uBAAAC,EAAA,EAAA,SAAAC,EAAA,CAAAC,KAAAA,KAAAA,CAAAA,eAAAA,MAAAA,CAAAA,qCACuDC,KAAAA,CAAIC,IAAAA,CAAkB,KAGrBD,KAAAA,CAAME,MAAAA,CAAAA,CAAY,CA4CvEF,CAAAA,KAAAA,CAAaG,aAAG,CAAA,CAAA,CAsDzB,QAAAC,KAAA,EAhGQC,SAAA,CAAAP,CAAA,CAAAD,EAAA,SAAAS,YAAA,CAAAR,CAAA,GAAAS,GAAA,eAAAC,KAAA,CAIC,SAAAC,WAAAA,CAAAA,CACNT,CAAAA,IAAAA,CAAKU,aAAc,CAAA,GAAIC,CAAAA,WAAY,CAAA,YAAA,CAAc,CAC/CC,MAAQ,CAAA,CAAEX,IAAMD,CAAAA,IAAAA,CAAKC,IACrBY,CAAAA,CAAAA,OAAAA,CAAAA,CAAS,EACTC,QAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAEb,EAGO,GAAAP,GAAA,0BAAAC,KAAA,UAAAO,sBAAAA,CAAuBC,CAAAA,CAAAA,KAAAA,UAAAA,CAC7B,GAAMC,CAAAA,CAASD,CAAAA,CAAAA,CAAEC,MACqB,CAAA,sBAAA,KAAAC,UAAA,CAAlCD,CAAOE,CAAAA,OAAAA,UAAAA,UAAAA,iBAAPF,UAAAA,CAAgBG,gBAClBpB,IAAKqB,CAAAA,eAAAA,CAAgB,kBAA+B,CAAA,WAAA,GAAXL,CAAEf,CAAAA,IAAAA,CAE9C,EAED,GAAAM,GAAA,qBAAAC,KAAA,UAAAc,iBAAAA,CAAAA,CAAAA,CACEC,aAAAA,CAAAA,CAAAA,iCACAvB,IAAKe,CAAAA,sBAAAA,CAAyBf,KAAKe,sBAAuBS,CAAAA,IAAAA,CAAKxB,IAC/DA,CAAAA,CAAAA,IAAAA,CAAKyB,gBAAiB,CAAA,WAAA,CAAazB,KAAKe,sBACxCf,CAAAA,CAAAA,IAAAA,CAAKyB,gBAAiB,CAAA,WAAA,CAAazB,IAAKe,CAAAA,sBAAAA,CACzC,EAED,GAAAR,GAAA,wBAAAC,KAAA,UAAAkB,oBAAAA,CAAAA,CAAAA,CACEH,aAAAA,CAAAA,CAAAA,oCACAvB,IAAK2B,CAAAA,mBAAAA,CAAoB,YAAa3B,IAAKe,CAAAA,sBAAAA,CAAAA,CAC3Cf,IAAK2B,CAAAA,mBAAAA,CAAoB,WAAa3B,CAAAA,IAAAA,CAAKe,uBAC5C,EAED,GAAAR,GAAA,4BAAAC,KAAA,CAIA,SAAAoB,wBAAAA,CAAyBC,CAAcC,CAAAA,CAAAA,CAAoBtB,GACzDe,aAAAA,CAAAA,CAAAA,qCAA+BM,CAAMC,CAAAA,CAAAA,CAAKtB,CAC7B,GAAA,WAAA,GAATqB,GAAsB7B,IAAK+B,CAAAA,aAAAA,CAAAA,CAChC,EAID,GAAAxB,GAAA,oBAAAyB,GAAA,UAAAA,IAAA,CACE,CAAA,MAAqB,WAAdhC,IAAKC,CAAAA,IAAAA,EAAqBD,IAAKiC,CAAAA,YAAAA,CAAa,WACpD,CAAA,EAED,GAAA1B,GAAA,iBAAAyB,GAAA,UAAAA,IAAA,CACE,CAAA,MAAOhC,KAAKkC,CAAAA,aAAAA,CAAiC,8CAC9C,CAAA,EAEO,GAAA3B,GAAA,mBAAAC,KAAA,UAAA2B,eAAAA,CAAAA,CACNnC,KAAAA,mBAAAA,CAAAA,IAAAA,CAAKG,aAAkBH,CAAAA,CAAAA,GAAAA,mBAAAA,CAAAA,IAAAA,CAAKoC,aAAeC,UAAAA,mBAAAA,WAApBrC,mBAAAA,CAAoBqC,IAC5C,GAEO,GAAA9B,GAAA,sBAAAC,KAAA,UAAA8B,kBAAAA,CAAmBtB,CACzB,CAAA,CAAA,GAAA,CAAKhB,IAAKuC,CAAAA,gBAAAA,EAAqBvB,EAAEC,MAAmBuB,CAAAA,OAAAA,CAAQ,sBAAyB,CAAA,CAAA,OACrF,GAAMC,CAAAA,CAAAA,CAASzC,KAAKoC,aACfK,CAAAA,CAAAA,GACDzC,IAAKG,CAAAA,aAAAA,CACPH,IAAKG,CAAAA,aAAAA,CAAAA,CAAgB,EAGvBsC,CAAOC,CAAAA,IAAAA,CAAAA,CAAAA,CACR,EAEO,GAAAnC,GAAA,wBAAAC,KAAA,UAAAmC,oBAAAA,CAAqB3B,CAAAA,CAAAA,CAC3B,IAAKhB,IAAKuC,CAAAA,gBAAAA,EAAqBvB,CAAEC,CAAAA,MAAAA,CAAmBuB,OAAQ,CAAA,sBAAA,CAAA,CAAyB,OACrF,GAAc,OAAA,GAAVxB,CAAET,CAAAA,GAAAA,EAA6B,GAAVS,GAAAA,CAAAA,CAAET,IAAa,OACxC,GAAMkC,CAAAA,CAASzC,CAAAA,IAAAA,CAAKoC,aACfK,CAAAA,CAAAA,GACLzB,EAAE4B,cACEH,CAAAA,CAAAA,CAAAA,CAAAA,CAAOJ,IAAMI,CAAAA,CAAAA,CAAOI,IACnBJ,CAAAA,CAAAA,CAAAA,CAAAA,CAAOC,OACb,EAEM,GAAAnC,GAAA,UAAAC,KAAA,UAAAsC,MAAAA,CAAAA,CACL,KAAAC,MAAA,MAAA,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,4VAIIC,CAAAA,CAAUnD,IAAKuC,CAAAA,gBAAAA,EAAoBvC,IAAKoC,CAAAA,aAAAA,CAAgB,GAAMgB,CAAAA,IAAAA,EAAAA,CAAAA,CAC5DpD,IAAKmC,CAAAA,eAAAA,CACRnB,SAAAA,CAAAA,CAAAA,CACRhB,MAAKS,CAAAA,WAAAA,CAAAA,CAAAA,CACLT,MAAKsC,CAAAA,kBAAAA,CAAmBtB,CAAE,CAAA,EAAA,CAEjBhB,IAAK2C,CAAAA,oBAAAA,EAOrB,CAAA,KAAApC,GAAA,UAAAyB,GAAA,CA/FM,SAAAA,IAAA,CAAWqB,CAChB,MAAO,CAACA,CACT,CAAA,EAEO,GAAA9C,GAAA,sBAAAyB,GAAA,CA6BR,SAAAA,IAAA,CACE,CAAA,SAAAsB,MAAA,CAAAC,kBAAA,CAAAC,aAAA,CAAA1D,CAAA,8BAAqC,WACtC,GAAA,CAED,MA3CyC2D,IACmBC,CAAA,CAAA,CAA3DC,CAAS,CAAA,CAAE1D,KAAM2D,MAAQC,CAAAA,SAAAA,CAAAA,CAAW,CAAMC,CAAAA,OAAAA,CAAAA,CAAS,CAAmClE,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAmE,SAAA,CAAA,MAAA,CAAA,IAAA,IAG1BL,CAAA,CAAA,CAA5DC,CAAS,CAAA,CAAE1D,IAAM+D,CAAAA,OAAAA,CAASH,SAAW,CAAA,CAAA,CAAA,CAAMC,SAAS,CAAgClE,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAmE,SAAA,CAAA,QAAA,CAAA,IAAA,gBAJ1EnE,CAAqB8D,CAAAA,CAAAA,CAAA,CADjCO,CAAAA,CAAc,8BACFrE"}
@@ -1,2 +1,2 @@
1
- System.register(["lit"],function(_export,_context){"use strict";var r,_templateObject,o;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){r=_lit.css;}],execute:function execute(){_export("s",o=r(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n width: 100%;\n }\n\n .footer-item {\n display: flex;\n align-items: center;\n\t justify-content: flex-start;\n padding-top: var(--nile-spacing-md, var(--ng-spacing-md));\n padding-bottom: var(--nile-spacing-md, var(--ng-spacing-md));\n padding-left: var(--nile-spacing-lg, var(--ng-spacing-lg));\n padding-right: var(--nile-spacing-lg, var(--ng-spacing-lg));\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n cursor: pointer;\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n border-radius: var(--nile-radius-sm, var(--ng-radius-lg));\n transition: background 0.2s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: hidden;\n line-height: 0;\n }\n\n .footer-item:hover {\n background: var(\n --nile-side-bar-footer-hover-bg,\n var(--ng-colors-bg-primary-hover)\n );\n }\n\n /* left: icon */\n ::slotted([slot='icon']) {\n flex-shrink: 0;\n font-size: 1.25rem;\n margin-right: 0.5rem;\n }\n\n /* middle: text */\n ::slotted([slot='text']) {\n flex-grow: 1;\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n /* right: action */\n ::slotted([slot='action']) {\n flex-shrink: 0;\n font-size: 1.25rem;\n color: var(\n --nile-side-bar-footer-icon-color,\n var(--ng-colors-fg-quaternary-400)\n );\n margin-left: auto;\n }\n\n \n :host([type='support']) .footer-item {\n background: var(--nile-colors-neutral-400, var(--ng-colors-bg-secondary));\n height: var(--nile-height-38px, var(--ng-spacing-5xl));\n border-radius: var(--nile-radius-sm, var(--ng-radius-sm));\n\n }\n \n :host(:hover[type='support']) .footer-item {\n background: var(--nile-colors-neutral-500, var(--ng-colors-bg-primary-hover));\n height: var(--nile-height-38px, var(--ng-spacing-5xl));\n }\n\n :host([type='avatar']) .footer-item {\nborder: 1px solid var(--ng-colors-border-secondary);\nmin-height: var(--nile-radius-4xl, var(--ng-spacing-7xl));\n}\n:host([type='avatar'][active]) .footer-item {\nbackground: var(--nile-colors-neutral-400, var(--ng-colors-bg-active));\n}\n\n\n\n:host([collapsed][type='avatar']) .footer-item {\nborder: none;\n}\n :host([collapsed][type='avatar']) .footer-item {\n padding: 4px;\n \n}\n:host([collapsed]) .footer-item{\n height: 38px;\n width: 38px;\n}\n"]))));}};});
1
+ System.register(["lit"],function(_export,_context){"use strict";var e,_templateObject,t;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){e=_lit.css;}],execute:function execute(){_export("s",t=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n width: 100%;\n box-sizing: border-box;\n /* 44px outer item wrapping a 40px inner row. */\n padding: var(--nile-spacing-xxs, var(--ng-spacing-xxs)) var(--nile-spacing-none, var(--ng-spacing-none));\n }\n\n .footer-item {\n display: flex;\n align-items: center;\n\t justify-content: flex-start;\n /* Untyped (Appearance/Help) row height; [type] variants below set their own. */\n height: var(--nile-height-40px, var(--ng-height-36px));\n padding-top: var(--nile-spacing-md, var(--ng-spacing-md));\n padding-bottom: var(--nile-spacing-md, var(--ng-spacing-md));\n padding-left: var(--nile-spacing-lg, var(--ng-spacing-lg));\n padding-right: var(--nile-spacing-lg, var(--ng-spacing-lg));\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-secondary-700));\n cursor: pointer;\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n transition: background 0.2s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: hidden;\n }\n\n .footer-item:hover {\n background: var(\n --nile-side-bar-footer-hover-bg,\n var(--ng-colors-bg-primary-hover)\n );\n }\n\n /* Darkens the label on hover for every row except Account; the rule below repeats this for nile-side-bar-footer-text's own .main/.sub, which this selector alone can't reach. */\n :host(:not([type='avatar'])) .footer-item:hover ::slotted([slot='text']) {\n color: var(--nile-colors-dark-800, var(--ng-colors-text-tertiary-hover));\n }\n\n :host(:not([type='avatar'])) .footer-item {\n --nile-side-bar-footer-text-main-font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n --nile-side-bar-footer-text-main-line-height: var(--nile-line-height-medium, var(--ng-line-height-text-sm));\n }\n\n :host(:not([type='avatar'])) .footer-item:hover {\n --nile-side-bar-footer-text-main-hover-color: var(--nile-colors-dark-800, var(--ng-colors-text-tertiary-hover));\n }\n\n :host(:not([type='avatar']):not([active])) .footer-item:hover {\n background: var(--nile-colors-neutral-400, var(--ng-colors-bg-secondary-subtle));\n --nile-side-bar-footer-icon-color: var(--nile-colors-dark-900, var(--ng-colors-fg-tertiary-hover));\n }\n\n /* left: icon, a fixed 20x20 box regardless of what the consumer's own icon element asks for. */\n ::slotted([slot='icon']) {\n flex-shrink: 0;\n width: var(--nile-height-20px, var(--ng-height-20px));\n height: var(--nile-height-20px, var(--ng-height-20px));\n margin-right: var(--nile-spacing-md, var(--ng-spacing-md));\n }\n\n /* middle: text */\n ::slotted([slot='text']) {\n flex-grow: 1;\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n line-height: var(--nile-line-height-medium, var(--ng-line-height-text-sm));\n font-weight: var(--nile-font-weight-semi-bold, var(--ng-font-weight-semibold));\n letter-spacing: normal;\n }\n\n /* right: action (e.g. Help's trailing chevron), a fixed 16x16 box. */\n ::slotted([slot='action']) {\n flex-shrink: 0;\n width: var(--nile-width-16px, var(--ng-width-4));\n height: var(--nile-width-16px, var(--ng-height-16px));\n margin-left: var(--nile-spacing-lg, var(--ng-spacing-lg));\n color: var(\n --nile-side-bar-footer-icon-color,\n var(--ng-colors-fg-quaternary-hover)\n );\n }\n\n /* Collapsed: a trailing action (Help's chevron) isn't shown in the rail. */\n :host([collapsed]:not([type='avatar'])) ::slotted([slot='action']) {\n display: none;\n }\n\n \n /* Resting: no fill, as in the design; the row sits on the sidebar surface. Hover below still fills. Enterprise keeps its neutral-400 fill. */\n :host([type='support']) .footer-item {\n background: var(--nile-colors-neutral-400, transparent);\n height: var(--nile-height-38px, var(--ng-height-36px));\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n\n }\n \n /* Hover follows the nav menu items (nile-side-bar-group-item): bg-secondary-subtle fill, text-tertiary-hover label, fg-tertiary-hover icon and chevron. bg-primary-hover was the same colour as the sidebar surface, so the row showed no change. */\n :host(:hover[type='support']) .footer-item {\n background: var(--nile-colors-neutral-500, var(--ng-colors-bg-secondary-subtle));\n height: var(--nile-height-38px, var(--ng-height-36px));\n }\n\n :host([type='support']) .footer-item:hover ::slotted([slot='text']) {\n color: var(--nile-colors-dark-800, var(--ng-colors-text-tertiary-hover));\n }\n\n :host([type='support']) .footer-item:hover {\n --nile-side-bar-footer-text-main-hover-color: var(--nile-colors-dark-800, var(--ng-colors-text-tertiary-hover));\n --nile-side-bar-footer-icon-color: var(--nile-colors-dark-900, var(--ng-colors-fg-tertiary-hover));\n }\n\n /* Account row: 11px padding + 1px border reproduces Figma's 12px outer-edge-to-content distance, since Figma's stroke doesn't consume its own Auto Layout padding the way a CSS border does. */\n :host([type='avatar']) {\n padding: var(--nile-spacing-none, var(--ng-spacing-none));\n --nile-side-bar-footer-text-main-line-height: var(--nile-line-height-medium, var(--ng-line-height-text-md));\n /* The Account row's name is semibold. Support/Help rows use the text's own medium. */\n --nile-side-bar-footer-text-main-weight: var(--nile-font-weight-semi-bold, var(--ng-font-weight-semibold));\n }\n\n :host([type='avatar']) .footer-item {\n height: auto;\n padding: calc(var(--nile-spacing-lg, var(--ng-spacing-lg)) - 1px);\n border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));\n border-radius: var(--nile-radius-xl, var(--ng-radius-xl));\n /* Resting/closed: bg-primary (Figma). Resolves to the same value as bg-primary-alt in Light and Dark. */\n background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n}\n\n /* [data-action-open] is set via JS, not :has(), since Chromium doesn't re-match :has() on a slotted child's own attribute changes. */\n :host([type='avatar']:not([collapsed])[data-action-open]) .footer-item {\n background: var(--nile-side-bar-footer-hover-bg, var(--ng-colors-bg-primary-hover));\n }\n\n /* Hover: bg-primary-hover, like the open state. Not while selected, which keeps its own background. */\n :host([type='avatar']:not([collapsed]):not([active])) .footer-item:hover {\n background: var(--nile-side-bar-footer-hover-bg, var(--ng-colors-bg-primary-hover));\n }\n\n:host([type='avatar'][active]) .footer-item {\nbackground: var(--nile-colors-neutral-400, var(--ng-colors-bg-active));\n}\n\n /* Avatar: 40x40, not the generic 20x20 icon box. */\n :host([type='avatar']) ::slotted([slot='icon']) {\n width: var(--nile-height-40px, var(--ng-height-40px));\n height: var(--nile-height-40px, var(--ng-height-40px));\n }\n\n /* :not([collapsed]) avoids a specificity tie with the collapsed display:none rule below. */\n :host([type='avatar']:not([collapsed])) ::slotted([slot='action']) {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: var(--nile-height-32px, var(--ng-height-32px));\n height: var(--nile-height-32px, var(--ng-height-32px));\n padding: var(--nile-spacing-sm, var(--ng-spacing-sm));\n border-radius: var(--nile-radius-sm, var(--ng-radius-sm));\n }\n\n:host([collapsed][type='avatar']) .footer-item {\n position: relative;\n /* Explicit clamp -- the content-driven height above otherwise stays 44px even when collapsed. */\n height: var(--nile-height-40px, var(--ng-height-40px));\nborder: none;\n padding: var(--nile-spacing-none, var(--ng-spacing-none));\n background: transparent;\n border-radius: var(--nile-radius-full, var(--ng-radius-full));\n}\n:host([collapsed]) .footer-item{\n width: var(--nile-width-40px, var(--ng-height-40px));\n}\n\n/* Collapsed NxtGen: a 40px row, 44px outer with the host's 2px block padding (Figma). The expanded row and the avatar are untouched, and enterprise resolves --nile-height-* first, so it keeps its own heights. */\n:host([collapsed]:not([type])) .footer-item {\n height: var(--nile-height-40px, var(--ng-height-40px));\n}\n\n:host([collapsed][type='support']) .footer-item,\n:host(:hover[collapsed][type='support']) .footer-item {\n height: var(--nile-height-38px, var(--ng-height-40px));\n}\n\n:host([collapsed][type='avatar']) ::slotted([slot='action']) {\n position: absolute;\n inset: 0;\n display: block;\n width: 100%;\n height: 100%;\n margin: var(--nile-spacing-none, var(--ng-spacing-none));\n opacity: 0;\n pointer-events: none;\n}\n\n/* Collapsed Account row. The 40px icon box carries no trailing margin (nothing sits beside it in a rail), is centred in the 40px row, and centres whatever avatar size it holds, so xs, sm, md and lg all sit on the rail's centre line. The row lets an avatar wider than 40px overflow evenly instead of being clipped. The expanded row is untouched. */\n:host([collapsed][type='avatar']) .footer-item {\n justify-content: center;\n overflow: visible;\n}\n\n:host([collapsed][type='avatar']) ::slotted([slot='icon']) {\n margin-right: var(--nile-spacing-none, var(--ng-spacing-none));\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n/* Collapsed Appearance/Help (NxtGen): the 12px side padding and the 8px icon margin put the icon at x=38 in the 72px rail. Zero both and centre it so it sits at x=36, as the nav icons do; enterprise keeps its padding and margin. */\n:host([collapsed]:not([type])) .footer-item {\n padding-left: var(--nile-spacing-lg, var(--ng-spacing-none));\n padding-right: var(--nile-spacing-lg, var(--ng-spacing-none));\n justify-content: center;\n}\n\n:host([collapsed]:not([type])) ::slotted([slot='icon']) {\n margin-right: var(--nile-spacing-md, var(--ng-spacing-none));\n}\n\n/* The label keeps its place in the tree but has no room, so only the icon is centred. */\n:host([collapsed]:not([type])) ::slotted([slot='text']) {\n flex: 0 0 0;\n width: 0;\n}\n\n/* Appearance/Help selected state -- scoped to the untyped variant only; avatar's own [active] rule above is separate. */\n:host([active]:not([type])) .footer-item {\n background: var(--ng-colors-bg-primary);\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n}\n\n:host([active]:not([type])) ::slotted([slot='text']) {\n color: var(--ng-colors-text-brand-secondary-700);\n}\n\n:host([active]:not([type])) {\n --nile-side-bar-footer-icon-color: var(--ng-colors-fg-brand-primary-600);\n}\n\n/* Focus-visible is the ring only, independent of selection \u2014 same rule as nile-side-bar-group-item. */\n.footer-item:focus-visible {\n outline: none;\n box-shadow: inset 0 0 0 var(--ng-border-width-2) var(--ng-colors-effects-focus-ring);\n}\n"]))));}};});
2
2
  //# sourceMappingURL=nile-side-bar-footer-item.css.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-side-bar-footer-item.css.cjs.js","sources":["../../../src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.ts"],"sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`\n :host {\n display: block;\n width: 100%;\n }\n\n .footer-item {\n display: flex;\n align-items: center;\n\t justify-content: flex-start;\n padding-top: var(--nile-spacing-md, var(--ng-spacing-md));\n padding-bottom: var(--nile-spacing-md, var(--ng-spacing-md));\n padding-left: var(--nile-spacing-lg, var(--ng-spacing-lg));\n padding-right: var(--nile-spacing-lg, var(--ng-spacing-lg));\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n cursor: pointer;\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n border-radius: var(--nile-radius-sm, var(--ng-radius-lg));\n transition: background 0.2s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: hidden;\n line-height: 0;\n }\n\n .footer-item:hover {\n background: var(\n --nile-side-bar-footer-hover-bg,\n var(--ng-colors-bg-primary-hover)\n );\n }\n\n /* left: icon */\n ::slotted([slot='icon']) {\n flex-shrink: 0;\n font-size: 1.25rem;\n margin-right: 0.5rem;\n }\n\n /* middle: text */\n ::slotted([slot='text']) {\n flex-grow: 1;\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n /* right: action */\n ::slotted([slot='action']) {\n flex-shrink: 0;\n font-size: 1.25rem;\n color: var(\n --nile-side-bar-footer-icon-color,\n var(--ng-colors-fg-quaternary-400)\n );\n margin-left: auto;\n }\n\n \n :host([type='support']) .footer-item {\n background: var(--nile-colors-neutral-400, var(--ng-colors-bg-secondary));\n height: var(--nile-height-38px, var(--ng-spacing-5xl));\n border-radius: var(--nile-radius-sm, var(--ng-radius-sm));\n\n }\n \n :host(:hover[type='support']) .footer-item {\n background: var(--nile-colors-neutral-500, var(--ng-colors-bg-primary-hover));\n height: var(--nile-height-38px, var(--ng-spacing-5xl));\n }\n\n :host([type='avatar']) .footer-item {\nborder: 1px solid var(--ng-colors-border-secondary);\nmin-height: var(--nile-radius-4xl, var(--ng-spacing-7xl));\n}\n:host([type='avatar'][active]) .footer-item {\nbackground: var(--nile-colors-neutral-400, var(--ng-colors-bg-active));\n}\n\n\n\n:host([collapsed][type='avatar']) .footer-item {\nborder: none;\n}\n :host([collapsed][type='avatar']) .footer-item {\n padding: 4px;\n \n}\n:host([collapsed]) .footer-item{\n height: 38px;\n width: 38px;\n}\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAEaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
1
+ {"version":3,"file":"nile-side-bar-footer-item.css.cjs.js","sources":["../../../src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.ts"],"sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`\n :host {\n display: block;\n width: 100%;\n box-sizing: border-box;\n /* 44px outer item wrapping a 40px inner row. */\n padding: var(--nile-spacing-xxs, var(--ng-spacing-xxs)) var(--nile-spacing-none, var(--ng-spacing-none));\n }\n\n .footer-item {\n display: flex;\n align-items: center;\n\t justify-content: flex-start;\n /* Untyped (Appearance/Help) row height; [type] variants below set their own. */\n height: var(--nile-height-40px, var(--ng-height-36px));\n padding-top: var(--nile-spacing-md, var(--ng-spacing-md));\n padding-bottom: var(--nile-spacing-md, var(--ng-spacing-md));\n padding-left: var(--nile-spacing-lg, var(--ng-spacing-lg));\n padding-right: var(--nile-spacing-lg, var(--ng-spacing-lg));\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-secondary-700));\n cursor: pointer;\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n transition: background 0.2s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: hidden;\n }\n\n .footer-item:hover {\n background: var(\n --nile-side-bar-footer-hover-bg,\n var(--ng-colors-bg-primary-hover)\n );\n }\n\n /* Darkens the label on hover for every row except Account; the rule below repeats this for nile-side-bar-footer-text's own .main/.sub, which this selector alone can't reach. */\n :host(:not([type='avatar'])) .footer-item:hover ::slotted([slot='text']) {\n color: var(--nile-colors-dark-800, var(--ng-colors-text-tertiary-hover));\n }\n\n :host(:not([type='avatar'])) .footer-item {\n --nile-side-bar-footer-text-main-font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n --nile-side-bar-footer-text-main-line-height: var(--nile-line-height-medium, var(--ng-line-height-text-sm));\n }\n\n :host(:not([type='avatar'])) .footer-item:hover {\n --nile-side-bar-footer-text-main-hover-color: var(--nile-colors-dark-800, var(--ng-colors-text-tertiary-hover));\n }\n\n :host(:not([type='avatar']):not([active])) .footer-item:hover {\n background: var(--nile-colors-neutral-400, var(--ng-colors-bg-secondary-subtle));\n --nile-side-bar-footer-icon-color: var(--nile-colors-dark-900, var(--ng-colors-fg-tertiary-hover));\n }\n\n /* left: icon, a fixed 20x20 box regardless of what the consumer's own icon element asks for. */\n ::slotted([slot='icon']) {\n flex-shrink: 0;\n width: var(--nile-height-20px, var(--ng-height-20px));\n height: var(--nile-height-20px, var(--ng-height-20px));\n margin-right: var(--nile-spacing-md, var(--ng-spacing-md));\n }\n\n /* middle: text */\n ::slotted([slot='text']) {\n flex-grow: 1;\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n line-height: var(--nile-line-height-medium, var(--ng-line-height-text-sm));\n font-weight: var(--nile-font-weight-semi-bold, var(--ng-font-weight-semibold));\n letter-spacing: normal;\n }\n\n /* right: action (e.g. Help's trailing chevron), a fixed 16x16 box. */\n ::slotted([slot='action']) {\n flex-shrink: 0;\n width: var(--nile-width-16px, var(--ng-width-4));\n height: var(--nile-width-16px, var(--ng-height-16px));\n margin-left: var(--nile-spacing-lg, var(--ng-spacing-lg));\n color: var(\n --nile-side-bar-footer-icon-color,\n var(--ng-colors-fg-quaternary-hover)\n );\n }\n\n /* Collapsed: a trailing action (Help's chevron) isn't shown in the rail. */\n :host([collapsed]:not([type='avatar'])) ::slotted([slot='action']) {\n display: none;\n }\n\n \n /* Resting: no fill, as in the design; the row sits on the sidebar surface. Hover below still fills. Enterprise keeps its neutral-400 fill. */\n :host([type='support']) .footer-item {\n background: var(--nile-colors-neutral-400, transparent);\n height: var(--nile-height-38px, var(--ng-height-36px));\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n\n }\n \n /* Hover follows the nav menu items (nile-side-bar-group-item): bg-secondary-subtle fill, text-tertiary-hover label, fg-tertiary-hover icon and chevron. bg-primary-hover was the same colour as the sidebar surface, so the row showed no change. */\n :host(:hover[type='support']) .footer-item {\n background: var(--nile-colors-neutral-500, var(--ng-colors-bg-secondary-subtle));\n height: var(--nile-height-38px, var(--ng-height-36px));\n }\n\n :host([type='support']) .footer-item:hover ::slotted([slot='text']) {\n color: var(--nile-colors-dark-800, var(--ng-colors-text-tertiary-hover));\n }\n\n :host([type='support']) .footer-item:hover {\n --nile-side-bar-footer-text-main-hover-color: var(--nile-colors-dark-800, var(--ng-colors-text-tertiary-hover));\n --nile-side-bar-footer-icon-color: var(--nile-colors-dark-900, var(--ng-colors-fg-tertiary-hover));\n }\n\n /* Account row: 11px padding + 1px border reproduces Figma's 12px outer-edge-to-content distance, since Figma's stroke doesn't consume its own Auto Layout padding the way a CSS border does. */\n :host([type='avatar']) {\n padding: var(--nile-spacing-none, var(--ng-spacing-none));\n --nile-side-bar-footer-text-main-line-height: var(--nile-line-height-medium, var(--ng-line-height-text-md));\n /* The Account row's name is semibold. Support/Help rows use the text's own medium. */\n --nile-side-bar-footer-text-main-weight: var(--nile-font-weight-semi-bold, var(--ng-font-weight-semibold));\n }\n\n :host([type='avatar']) .footer-item {\n height: auto;\n padding: calc(var(--nile-spacing-lg, var(--ng-spacing-lg)) - 1px);\n border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));\n border-radius: var(--nile-radius-xl, var(--ng-radius-xl));\n /* Resting/closed: bg-primary (Figma). Resolves to the same value as bg-primary-alt in Light and Dark. */\n background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n}\n\n /* [data-action-open] is set via JS, not :has(), since Chromium doesn't re-match :has() on a slotted child's own attribute changes. */\n :host([type='avatar']:not([collapsed])[data-action-open]) .footer-item {\n background: var(--nile-side-bar-footer-hover-bg, var(--ng-colors-bg-primary-hover));\n }\n\n /* Hover: bg-primary-hover, like the open state. Not while selected, which keeps its own background. */\n :host([type='avatar']:not([collapsed]):not([active])) .footer-item:hover {\n background: var(--nile-side-bar-footer-hover-bg, var(--ng-colors-bg-primary-hover));\n }\n\n:host([type='avatar'][active]) .footer-item {\nbackground: var(--nile-colors-neutral-400, var(--ng-colors-bg-active));\n}\n\n /* Avatar: 40x40, not the generic 20x20 icon box. */\n :host([type='avatar']) ::slotted([slot='icon']) {\n width: var(--nile-height-40px, var(--ng-height-40px));\n height: var(--nile-height-40px, var(--ng-height-40px));\n }\n\n /* :not([collapsed]) avoids a specificity tie with the collapsed display:none rule below. */\n :host([type='avatar']:not([collapsed])) ::slotted([slot='action']) {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: var(--nile-height-32px, var(--ng-height-32px));\n height: var(--nile-height-32px, var(--ng-height-32px));\n padding: var(--nile-spacing-sm, var(--ng-spacing-sm));\n border-radius: var(--nile-radius-sm, var(--ng-radius-sm));\n }\n\n:host([collapsed][type='avatar']) .footer-item {\n position: relative;\n /* Explicit clamp -- the content-driven height above otherwise stays 44px even when collapsed. */\n height: var(--nile-height-40px, var(--ng-height-40px));\nborder: none;\n padding: var(--nile-spacing-none, var(--ng-spacing-none));\n background: transparent;\n border-radius: var(--nile-radius-full, var(--ng-radius-full));\n}\n:host([collapsed]) .footer-item{\n width: var(--nile-width-40px, var(--ng-height-40px));\n}\n\n/* Collapsed NxtGen: a 40px row, 44px outer with the host's 2px block padding (Figma). The expanded row and the avatar are untouched, and enterprise resolves --nile-height-* first, so it keeps its own heights. */\n:host([collapsed]:not([type])) .footer-item {\n height: var(--nile-height-40px, var(--ng-height-40px));\n}\n\n:host([collapsed][type='support']) .footer-item,\n:host(:hover[collapsed][type='support']) .footer-item {\n height: var(--nile-height-38px, var(--ng-height-40px));\n}\n\n:host([collapsed][type='avatar']) ::slotted([slot='action']) {\n position: absolute;\n inset: 0;\n display: block;\n width: 100%;\n height: 100%;\n margin: var(--nile-spacing-none, var(--ng-spacing-none));\n opacity: 0;\n pointer-events: none;\n}\n\n/* Collapsed Account row. The 40px icon box carries no trailing margin (nothing sits beside it in a rail), is centred in the 40px row, and centres whatever avatar size it holds, so xs, sm, md and lg all sit on the rail's centre line. The row lets an avatar wider than 40px overflow evenly instead of being clipped. The expanded row is untouched. */\n:host([collapsed][type='avatar']) .footer-item {\n justify-content: center;\n overflow: visible;\n}\n\n:host([collapsed][type='avatar']) ::slotted([slot='icon']) {\n margin-right: var(--nile-spacing-none, var(--ng-spacing-none));\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n/* Collapsed Appearance/Help (NxtGen): the 12px side padding and the 8px icon margin put the icon at x=38 in the 72px rail. Zero both and centre it so it sits at x=36, as the nav icons do; enterprise keeps its padding and margin. */\n:host([collapsed]:not([type])) .footer-item {\n padding-left: var(--nile-spacing-lg, var(--ng-spacing-none));\n padding-right: var(--nile-spacing-lg, var(--ng-spacing-none));\n justify-content: center;\n}\n\n:host([collapsed]:not([type])) ::slotted([slot='icon']) {\n margin-right: var(--nile-spacing-md, var(--ng-spacing-none));\n}\n\n/* The label keeps its place in the tree but has no room, so only the icon is centred. */\n:host([collapsed]:not([type])) ::slotted([slot='text']) {\n flex: 0 0 0;\n width: 0;\n}\n\n/* Appearance/Help selected state -- scoped to the untyped variant only; avatar's own [active] rule above is separate. */\n:host([active]:not([type])) .footer-item {\n background: var(--ng-colors-bg-primary);\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n}\n\n:host([active]:not([type])) ::slotted([slot='text']) {\n color: var(--ng-colors-text-brand-secondary-700);\n}\n\n:host([active]:not([type])) {\n --nile-side-bar-footer-icon-color: var(--ng-colors-fg-brand-primary-600);\n}\n\n/* Focus-visible is the ring only, independent of selection — same rule as nile-side-bar-group-item. */\n.footer-item:focus-visible {\n outline: none;\n box-shadow: inset 0 0 0 var(--ng-border-width-2) var(--ng-colors-effects-focus-ring);\n}\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAEaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -1,27 +1,31 @@
1
- import{css as r}from"lit";const o=r`
1
+ import{css as e}from"lit";const t=e`
2
2
  :host {
3
3
  display: block;
4
4
  width: 100%;
5
+ box-sizing: border-box;
6
+ /* 44px outer item wrapping a 40px inner row. */
7
+ padding: var(--nile-spacing-xxs, var(--ng-spacing-xxs)) var(--nile-spacing-none, var(--ng-spacing-none));
5
8
  }
6
9
 
7
10
  .footer-item {
8
11
  display: flex;
9
12
  align-items: center;
10
13
  justify-content: flex-start;
14
+ /* Untyped (Appearance/Help) row height; [type] variants below set their own. */
15
+ height: var(--nile-height-40px, var(--ng-height-36px));
11
16
  padding-top: var(--nile-spacing-md, var(--ng-spacing-md));
12
17
  padding-bottom: var(--nile-spacing-md, var(--ng-spacing-md));
13
18
  padding-left: var(--nile-spacing-lg, var(--ng-spacing-lg));
14
19
  padding-right: var(--nile-spacing-lg, var(--ng-spacing-lg));
15
20
  font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
16
- color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
21
+ color: var(--nile-colors-dark-900, var(--ng-colors-text-secondary-700));
17
22
  cursor: pointer;
18
23
  font-family: var(--nile-font-family-serif, var(--ng-font-family-body));
19
- border-radius: var(--nile-radius-sm, var(--ng-radius-lg));
24
+ border-radius: var(--nile-radius-sm, var(--ng-radius-md));
20
25
  transition: background 0.2s ease;
21
26
  width: 100%;
22
27
  box-sizing: border-box;
23
28
  overflow: hidden;
24
- line-height: 0;
25
29
  }
26
30
 
27
31
  .footer-item:hover {
@@ -31,11 +35,31 @@ import{css as r}from"lit";const o=r`
31
35
  );
32
36
  }
33
37
 
34
- /* left: icon */
38
+ /* Darkens the label on hover for every row except Account; the rule below repeats this for nile-side-bar-footer-text's own .main/.sub, which this selector alone can't reach. */
39
+ :host(:not([type='avatar'])) .footer-item:hover ::slotted([slot='text']) {
40
+ color: var(--nile-colors-dark-800, var(--ng-colors-text-tertiary-hover));
41
+ }
42
+
43
+ :host(:not([type='avatar'])) .footer-item {
44
+ --nile-side-bar-footer-text-main-font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
45
+ --nile-side-bar-footer-text-main-line-height: var(--nile-line-height-medium, var(--ng-line-height-text-sm));
46
+ }
47
+
48
+ :host(:not([type='avatar'])) .footer-item:hover {
49
+ --nile-side-bar-footer-text-main-hover-color: var(--nile-colors-dark-800, var(--ng-colors-text-tertiary-hover));
50
+ }
51
+
52
+ :host(:not([type='avatar']):not([active])) .footer-item:hover {
53
+ background: var(--nile-colors-neutral-400, var(--ng-colors-bg-secondary-subtle));
54
+ --nile-side-bar-footer-icon-color: var(--nile-colors-dark-900, var(--ng-colors-fg-tertiary-hover));
55
+ }
56
+
57
+ /* left: icon, a fixed 20x20 box regardless of what the consumer's own icon element asks for. */
35
58
  ::slotted([slot='icon']) {
36
59
  flex-shrink: 0;
37
- font-size: 1.25rem;
38
- margin-right: 0.5rem;
60
+ width: var(--nile-height-20px, var(--ng-height-20px));
61
+ height: var(--nile-height-20px, var(--ng-height-20px));
62
+ margin-right: var(--nile-spacing-md, var(--ng-spacing-md));
39
63
  }
40
64
 
41
65
  /* middle: text */
@@ -45,51 +69,183 @@ import{css as r}from"lit";const o=r`
45
69
  white-space: nowrap;
46
70
  overflow: hidden;
47
71
  text-overflow: ellipsis;
72
+ font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));
73
+ line-height: var(--nile-line-height-medium, var(--ng-line-height-text-sm));
74
+ font-weight: var(--nile-font-weight-semi-bold, var(--ng-font-weight-semibold));
75
+ letter-spacing: normal;
48
76
  }
49
77
 
50
- /* right: action */
78
+ /* right: action (e.g. Help's trailing chevron), a fixed 16x16 box. */
51
79
  ::slotted([slot='action']) {
52
80
  flex-shrink: 0;
53
- font-size: 1.25rem;
81
+ width: var(--nile-width-16px, var(--ng-width-4));
82
+ height: var(--nile-width-16px, var(--ng-height-16px));
83
+ margin-left: var(--nile-spacing-lg, var(--ng-spacing-lg));
54
84
  color: var(
55
85
  --nile-side-bar-footer-icon-color,
56
- var(--ng-colors-fg-quaternary-400)
86
+ var(--ng-colors-fg-quaternary-hover)
57
87
  );
58
- margin-left: auto;
88
+ }
89
+
90
+ /* Collapsed: a trailing action (Help's chevron) isn't shown in the rail. */
91
+ :host([collapsed]:not([type='avatar'])) ::slotted([slot='action']) {
92
+ display: none;
59
93
  }
60
94
 
61
95
 
96
+ /* Resting: no fill, as in the design; the row sits on the sidebar surface. Hover below still fills. Enterprise keeps its neutral-400 fill. */
62
97
  :host([type='support']) .footer-item {
63
- background: var(--nile-colors-neutral-400, var(--ng-colors-bg-secondary));
64
- height: var(--nile-height-38px, var(--ng-spacing-5xl));
65
- border-radius: var(--nile-radius-sm, var(--ng-radius-sm));
98
+ background: var(--nile-colors-neutral-400, transparent);
99
+ height: var(--nile-height-38px, var(--ng-height-36px));
100
+ border-radius: var(--nile-radius-sm, var(--ng-radius-md));
66
101
 
67
102
  }
68
103
 
104
+ /* Hover follows the nav menu items (nile-side-bar-group-item): bg-secondary-subtle fill, text-tertiary-hover label, fg-tertiary-hover icon and chevron. bg-primary-hover was the same colour as the sidebar surface, so the row showed no change. */
69
105
  :host(:hover[type='support']) .footer-item {
70
- background: var(--nile-colors-neutral-500, var(--ng-colors-bg-primary-hover));
71
- height: var(--nile-height-38px, var(--ng-spacing-5xl));
106
+ background: var(--nile-colors-neutral-500, var(--ng-colors-bg-secondary-subtle));
107
+ height: var(--nile-height-38px, var(--ng-height-36px));
108
+ }
109
+
110
+ :host([type='support']) .footer-item:hover ::slotted([slot='text']) {
111
+ color: var(--nile-colors-dark-800, var(--ng-colors-text-tertiary-hover));
112
+ }
113
+
114
+ :host([type='support']) .footer-item:hover {
115
+ --nile-side-bar-footer-text-main-hover-color: var(--nile-colors-dark-800, var(--ng-colors-text-tertiary-hover));
116
+ --nile-side-bar-footer-icon-color: var(--nile-colors-dark-900, var(--ng-colors-fg-tertiary-hover));
117
+ }
118
+
119
+ /* Account row: 11px padding + 1px border reproduces Figma's 12px outer-edge-to-content distance, since Figma's stroke doesn't consume its own Auto Layout padding the way a CSS border does. */
120
+ :host([type='avatar']) {
121
+ padding: var(--nile-spacing-none, var(--ng-spacing-none));
122
+ --nile-side-bar-footer-text-main-line-height: var(--nile-line-height-medium, var(--ng-line-height-text-md));
123
+ /* The Account row's name is semibold. Support/Help rows use the text's own medium. */
124
+ --nile-side-bar-footer-text-main-weight: var(--nile-font-weight-semi-bold, var(--ng-font-weight-semibold));
72
125
  }
73
126
 
74
127
  :host([type='avatar']) .footer-item {
75
- border: 1px solid var(--ng-colors-border-secondary);
76
- min-height: var(--nile-radius-4xl, var(--ng-spacing-7xl));
128
+ height: auto;
129
+ padding: calc(var(--nile-spacing-lg, var(--ng-spacing-lg)) - 1px);
130
+ border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));
131
+ border-radius: var(--nile-radius-xl, var(--ng-radius-xl));
132
+ /* Resting/closed: bg-primary (Figma). Resolves to the same value as bg-primary-alt in Light and Dark. */
133
+ background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
77
134
  }
135
+
136
+ /* [data-action-open] is set via JS, not :has(), since Chromium doesn't re-match :has() on a slotted child's own attribute changes. */
137
+ :host([type='avatar']:not([collapsed])[data-action-open]) .footer-item {
138
+ background: var(--nile-side-bar-footer-hover-bg, var(--ng-colors-bg-primary-hover));
139
+ }
140
+
141
+ /* Hover: bg-primary-hover, like the open state. Not while selected, which keeps its own background. */
142
+ :host([type='avatar']:not([collapsed]):not([active])) .footer-item:hover {
143
+ background: var(--nile-side-bar-footer-hover-bg, var(--ng-colors-bg-primary-hover));
144
+ }
145
+
78
146
  :host([type='avatar'][active]) .footer-item {
79
147
  background: var(--nile-colors-neutral-400, var(--ng-colors-bg-active));
80
148
  }
81
149
 
150
+ /* Avatar: 40x40, not the generic 20x20 icon box. */
151
+ :host([type='avatar']) ::slotted([slot='icon']) {
152
+ width: var(--nile-height-40px, var(--ng-height-40px));
153
+ height: var(--nile-height-40px, var(--ng-height-40px));
154
+ }
82
155
 
156
+ /* :not([collapsed]) avoids a specificity tie with the collapsed display:none rule below. */
157
+ :host([type='avatar']:not([collapsed])) ::slotted([slot='action']) {
158
+ display: flex;
159
+ align-items: center;
160
+ justify-content: center;
161
+ box-sizing: border-box;
162
+ width: var(--nile-height-32px, var(--ng-height-32px));
163
+ height: var(--nile-height-32px, var(--ng-height-32px));
164
+ padding: var(--nile-spacing-sm, var(--ng-spacing-sm));
165
+ border-radius: var(--nile-radius-sm, var(--ng-radius-sm));
166
+ }
83
167
 
84
168
  :host([collapsed][type='avatar']) .footer-item {
169
+ position: relative;
170
+ /* Explicit clamp -- the content-driven height above otherwise stays 44px even when collapsed. */
171
+ height: var(--nile-height-40px, var(--ng-height-40px));
85
172
  border: none;
86
- }
87
- :host([collapsed][type='avatar']) .footer-item {
88
- padding: 4px;
89
-
173
+ padding: var(--nile-spacing-none, var(--ng-spacing-none));
174
+ background: transparent;
175
+ border-radius: var(--nile-radius-full, var(--ng-radius-full));
90
176
  }
91
177
  :host([collapsed]) .footer-item{
92
- height: 38px;
93
- width: 38px;
178
+ width: var(--nile-width-40px, var(--ng-height-40px));
179
+ }
180
+
181
+ /* Collapsed NxtGen: a 40px row, 44px outer with the host's 2px block padding (Figma). The expanded row and the avatar are untouched, and enterprise resolves --nile-height-* first, so it keeps its own heights. */
182
+ :host([collapsed]:not([type])) .footer-item {
183
+ height: var(--nile-height-40px, var(--ng-height-40px));
184
+ }
185
+
186
+ :host([collapsed][type='support']) .footer-item,
187
+ :host(:hover[collapsed][type='support']) .footer-item {
188
+ height: var(--nile-height-38px, var(--ng-height-40px));
189
+ }
190
+
191
+ :host([collapsed][type='avatar']) ::slotted([slot='action']) {
192
+ position: absolute;
193
+ inset: 0;
194
+ display: block;
195
+ width: 100%;
196
+ height: 100%;
197
+ margin: var(--nile-spacing-none, var(--ng-spacing-none));
198
+ opacity: 0;
199
+ pointer-events: none;
200
+ }
201
+
202
+ /* Collapsed Account row. The 40px icon box carries no trailing margin (nothing sits beside it in a rail), is centred in the 40px row, and centres whatever avatar size it holds, so xs, sm, md and lg all sit on the rail's centre line. The row lets an avatar wider than 40px overflow evenly instead of being clipped. The expanded row is untouched. */
203
+ :host([collapsed][type='avatar']) .footer-item {
204
+ justify-content: center;
205
+ overflow: visible;
206
+ }
207
+
208
+ :host([collapsed][type='avatar']) ::slotted([slot='icon']) {
209
+ margin-right: var(--nile-spacing-none, var(--ng-spacing-none));
210
+ display: flex;
211
+ align-items: center;
212
+ justify-content: center;
213
+ }
214
+
215
+ /* Collapsed Appearance/Help (NxtGen): the 12px side padding and the 8px icon margin put the icon at x=38 in the 72px rail. Zero both and centre it so it sits at x=36, as the nav icons do; enterprise keeps its padding and margin. */
216
+ :host([collapsed]:not([type])) .footer-item {
217
+ padding-left: var(--nile-spacing-lg, var(--ng-spacing-none));
218
+ padding-right: var(--nile-spacing-lg, var(--ng-spacing-none));
219
+ justify-content: center;
220
+ }
221
+
222
+ :host([collapsed]:not([type])) ::slotted([slot='icon']) {
223
+ margin-right: var(--nile-spacing-md, var(--ng-spacing-none));
224
+ }
225
+
226
+ /* The label keeps its place in the tree but has no room, so only the icon is centred. */
227
+ :host([collapsed]:not([type])) ::slotted([slot='text']) {
228
+ flex: 0 0 0;
229
+ width: 0;
230
+ }
231
+
232
+ /* Appearance/Help selected state -- scoped to the untyped variant only; avatar's own [active] rule above is separate. */
233
+ :host([active]:not([type])) .footer-item {
234
+ background: var(--ng-colors-bg-primary);
235
+ border-radius: var(--nile-radius-sm, var(--ng-radius-md));
236
+ }
237
+
238
+ :host([active]:not([type])) ::slotted([slot='text']) {
239
+ color: var(--ng-colors-text-brand-secondary-700);
240
+ }
241
+
242
+ :host([active]:not([type])) {
243
+ --nile-side-bar-footer-icon-color: var(--ng-colors-fg-brand-primary-600);
244
+ }
245
+
246
+ /* Focus-visible is the ring only, independent of selection — same rule as nile-side-bar-group-item. */
247
+ .footer-item:focus-visible {
248
+ outline: none;
249
+ box-shadow: inset 0 0 0 var(--ng-border-width-2) var(--ng-colors-effects-focus-ring);
94
250
  }
95
- `;export{o as s};
251
+ `;export{t as s};
@@ -1,7 +1,14 @@
1
- import{__decorate as t}from"tslib";import{html as e}from"lit";import{property as s,customElement as i}from"lit/decorators.js";import{s as r}from"./nile-side-bar-footer-item.css.esm.js";import{N as o}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let l=class extends o{constructor(){super(...arguments),this.type=null}static get styles(){return[r]}handleClick(){this.dispatchEvent(new CustomEvent("nile-click",{detail:{type:this.type},bubbles:!0,composed:!0}))}render(){return e`
2
- <div part="base" class="footer-item" @click=${this.handleClick}>
1
+ import{__decorate as t}from"tslib";import{html as e}from"lit";import{ifDefined as i}from"lit/directives/if-defined.js";import{property as s,customElement as n}from"lit/decorators.js";import{s as o}from"./nile-side-bar-footer-item.css.esm.js";import{N as r}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let a=class extends r{constructor(){super(...arguments),this.type=null,this.active=!1,this.actionWasOpen=!1}static get styles(){return[o]}handleClick(){this.dispatchEvent(new CustomEvent("nile-click",{detail:{type:this.type},bubbles:!0,composed:!0}))}handleActionVisibility(t){const e=t.target;"nile-side-bar-action"===e.tagName?.toLowerCase()&&this.toggleAttribute("data-action-open","nile-show"===t.type)}connectedCallback(){super.connectedCallback(),this.handleActionVisibility=this.handleActionVisibility.bind(this),this.addEventListener("nile-show",this.handleActionVisibility),this.addEventListener("nile-hide",this.handleActionVisibility)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("nile-show",this.handleActionVisibility),this.removeEventListener("nile-hide",this.handleActionVisibility)}static get observedAttributes(){return[...super.observedAttributes,"collapsed"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),"collapsed"===t&&this.requestUpdate()}get collapsedAccount(){return"avatar"===this.type&&this.hasAttribute("collapsed")}get actionElement(){return this.querySelector(':scope > nile-side-bar-action[slot="action"]')}handleMouseDown(){this.actionWasOpen=!!this.actionElement?.open}handleAccountClick(t){if(!this.collapsedAccount||t.target.closest("nile-side-bar-action"))return;const e=this.actionElement;e&&(this.actionWasOpen?this.actionWasOpen=!1:e.show())}handleAccountKeyDown(t){if(!this.collapsedAccount||t.target.closest("nile-side-bar-action"))return;if("Enter"!==t.key&&" "!==t.key)return;const e=this.actionElement;e&&(t.preventDefault(),e.open?e.hide():e.show())}render(){return e`
2
+ <div
3
+ part="base"
4
+ class="footer-item"
5
+ tabindex=${i(this.collapsedAccount&&this.actionElement?"0":void 0)}
6
+ @mousedown=${this.handleMouseDown}
7
+ @click=${t=>{this.handleClick(),this.handleAccountClick(t)}}
8
+ @keydown=${this.handleAccountKeyDown}
9
+ >
3
10
  <slot name="icon" part="icon"></slot>
4
11
  <slot name="text" part="text"></slot>
5
12
  <slot name="action" part="action"></slot>
6
13
  </div>
7
- `}};t([s({type:String,reflect:!0})],l.prototype,"type",void 0),l=t([i("nile-side-bar-footer-item")],l);export{l as N};
14
+ `}};t([s({type:String,attribute:!0,reflect:!0})],a.prototype,"type",void 0),t([s({type:Boolean,attribute:!0,reflect:!0})],a.prototype,"active",void 0),a=t([n("nile-side-bar-footer-item")],a);export{a as N};
@@ -1,2 +1,2 @@
1
- System.register(["lit"],function(_export,_context){"use strict";var e,_templateObject,o;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){e=_lit.css;}],execute:function execute(){_export("s",o=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n line-height: 20px;\n }\n\n .footer-text {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n .main {\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-md));\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-medium));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .sub {\n font-size: var(--nile-type-scale-2, var(--ng-font-size-text-sm));\n color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n"]))));}};});
1
+ System.register(["lit"],function(_export,_context){"use strict";var e,_templateObject,t;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){e=_lit.css;}],execute:function execute(){_export("s",t=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n line-height: 20px;\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-medium));\n }\n\n .footer-text {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n /* font-weight/line-height/color are custom-property hooks, since ::slotted() can't restyle .main directly across the shadow boundary. */\n .main {\n font-size: var(--nile-side-bar-footer-text-main-font-size, var(--nile-type-scale-3, var(--ng-font-size-text-md)));\n font-weight: var(--nile-side-bar-footer-text-main-weight, var(--nile-font-weight-regular, var(--ng-font-weight-medium)));\n line-height: var(--nile-side-bar-footer-text-main-line-height, inherit);\n color: var(--nile-side-bar-footer-text-main-hover-color, var(--nile-colors-dark-900, var(--ng-colors-text-primary-900)));\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .sub {\n font-size: var(--nile-type-scale-2, var(--ng-font-size-text-sm));\n /* Explicit, not inherited -- a sibling ::slotted() rule beats :host's own line-height on specificity. */\n line-height: var(--nile-line-height-small, var(--ng-line-height-text-sm));\n color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n"]))));}};});
2
2
  //# sourceMappingURL=nile-side-bar-footer-text.css.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-side-bar-footer-text.css.cjs.js","sources":["../../../src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.ts"],"sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`\n :host {\n display: block;\n line-height: 20px;\n }\n\n .footer-text {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n .main {\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-md));\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-medium));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .sub {\n font-size: var(--nile-type-scale-2, var(--ng-font-size-text-sm));\n color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAEaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
1
+ {"version":3,"file":"nile-side-bar-footer-text.css.cjs.js","sources":["../../../src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.ts"],"sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`\n :host {\n display: block;\n line-height: 20px;\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-medium));\n }\n\n .footer-text {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n /* font-weight/line-height/color are custom-property hooks, since ::slotted() can't restyle .main directly across the shadow boundary. */\n .main {\n font-size: var(--nile-side-bar-footer-text-main-font-size, var(--nile-type-scale-3, var(--ng-font-size-text-md)));\n font-weight: var(--nile-side-bar-footer-text-main-weight, var(--nile-font-weight-regular, var(--ng-font-weight-medium)));\n line-height: var(--nile-side-bar-footer-text-main-line-height, inherit);\n color: var(--nile-side-bar-footer-text-main-hover-color, var(--nile-colors-dark-900, var(--ng-colors-text-primary-900)));\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .sub {\n font-size: var(--nile-type-scale-2, var(--ng-font-size-text-sm));\n /* Explicit, not inherited -- a sibling ::slotted() rule beats :host's own line-height on specificity. */\n line-height: var(--nile-line-height-small, var(--ng-line-height-text-sm));\n color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAEaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -1,7 +1,8 @@
1
- import{css as e}from"lit";const o=e`
1
+ import{css as e}from"lit";const t=e`
2
2
  :host {
3
3
  display: block;
4
4
  line-height: 20px;
5
+ font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-medium));
5
6
  }
6
7
 
7
8
  .footer-text {
@@ -10,10 +11,12 @@ import{css as e}from"lit";const o=e`
10
11
  overflow: hidden;
11
12
  }
12
13
 
14
+ /* font-weight/line-height/color are custom-property hooks, since ::slotted() can't restyle .main directly across the shadow boundary. */
13
15
  .main {
14
- font-size: var(--nile-type-scale-3, var(--ng-font-size-text-md));
15
- font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-medium));
16
- color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
16
+ font-size: var(--nile-side-bar-footer-text-main-font-size, var(--nile-type-scale-3, var(--ng-font-size-text-md)));
17
+ font-weight: var(--nile-side-bar-footer-text-main-weight, var(--nile-font-weight-regular, var(--ng-font-weight-medium)));
18
+ line-height: var(--nile-side-bar-footer-text-main-line-height, inherit);
19
+ color: var(--nile-side-bar-footer-text-main-hover-color, var(--nile-colors-dark-900, var(--ng-colors-text-primary-900)));
17
20
  white-space: nowrap;
18
21
  overflow: hidden;
19
22
  text-overflow: ellipsis;
@@ -21,10 +24,12 @@ import{css as e}from"lit";const o=e`
21
24
 
22
25
  .sub {
23
26
  font-size: var(--nile-type-scale-2, var(--ng-font-size-text-sm));
27
+ /* Explicit, not inherited -- a sibling ::slotted() rule beats :host's own line-height on specificity. */
28
+ line-height: var(--nile-line-height-small, var(--ng-line-height-text-sm));
24
29
  color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));
25
30
  font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
26
31
  white-space: nowrap;
27
32
  overflow: hidden;
28
33
  text-overflow: ellipsis;
29
34
  }
30
- `;export{o as s};
35
+ `;export{t as s};