@aquera/nile-elements 2.0.22 → 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 (469) hide show
  1. package/README.md +72 -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 +1966 -1022
  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-filter-chip/nile-filter-chip.css.cjs.js +1 -1
  87. package/dist/nile-filter-chip/nile-filter-chip.css.cjs.js.map +1 -1
  88. package/dist/nile-filter-chip/nile-filter-chip.css.esm.js +2 -2
  89. package/dist/nile-form-group/nile-form-group.css.cjs.js +1 -1
  90. package/dist/nile-form-group/nile-form-group.css.cjs.js.map +1 -1
  91. package/dist/nile-form-group/nile-form-group.css.esm.js +3 -3
  92. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js +1 -1
  93. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js.map +1 -1
  94. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.esm.js +20 -4
  95. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.cjs.js +1 -1
  96. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.cjs.js.map +1 -1
  97. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.esm.js +3 -3
  98. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.cjs.js +1 -1
  99. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.cjs.js.map +1 -1
  100. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.esm.js +3 -3
  101. package/dist/nile-markdown-editor/nile-markdown-editor.css.cjs.js +1 -1
  102. package/dist/nile-markdown-editor/nile-markdown-editor.css.cjs.js.map +1 -1
  103. package/dist/nile-markdown-editor/nile-markdown-editor.css.esm.js +4 -4
  104. package/dist/nile-menu/nile-menu.css.cjs.js +1 -1
  105. package/dist/nile-menu/nile-menu.css.cjs.js.map +1 -1
  106. package/dist/nile-menu/nile-menu.css.esm.js +1 -2
  107. package/dist/nile-menu-item/nile-menu-item.css.cjs.js +1 -1
  108. package/dist/nile-menu-item/nile-menu-item.css.cjs.js.map +1 -1
  109. package/dist/nile-menu-item/nile-menu-item.css.esm.js +6 -6
  110. package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js +1 -1
  111. package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js.map +1 -1
  112. package/dist/nile-nav-tab/nile-nav-tab.css.esm.js +3 -3
  113. package/dist/nile-nav-tab-group/nile-nav-tab-group.css.cjs.js +1 -1
  114. package/dist/nile-nav-tab-group/nile-nav-tab-group.css.cjs.js.map +1 -1
  115. package/dist/nile-nav-tab-group/nile-nav-tab-group.css.esm.js +15 -12
  116. package/dist/nile-option/nile-option.css.cjs.js +1 -1
  117. package/dist/nile-option/nile-option.css.cjs.js.map +1 -1
  118. package/dist/nile-option/nile-option.css.esm.js +2 -2
  119. package/dist/nile-pagination/nile-pagination.cjs.js +1 -1
  120. package/dist/nile-pagination/nile-pagination.cjs.js.map +1 -1
  121. package/dist/nile-pagination/nile-pagination.css.cjs.js +1 -1
  122. package/dist/nile-pagination/nile-pagination.css.cjs.js.map +1 -1
  123. package/dist/nile-pagination/nile-pagination.css.esm.js +10 -0
  124. package/dist/nile-pagination/nile-pagination.esm.js +14 -14
  125. package/dist/nile-side-bar/nile-side-bar.cjs.js +1 -1
  126. package/dist/nile-side-bar/nile-side-bar.cjs.js.map +1 -1
  127. package/dist/nile-side-bar/nile-side-bar.css.cjs.js +1 -1
  128. package/dist/nile-side-bar/nile-side-bar.css.cjs.js.map +1 -1
  129. package/dist/nile-side-bar/nile-side-bar.css.esm.js +16 -14
  130. package/dist/nile-side-bar/nile-side-bar.esm.js +2 -2
  131. package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.cjs.js +1 -1
  132. package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.cjs.js.map +1 -1
  133. package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.esm.js +11 -4
  134. package/dist/nile-side-bar-footer/nile-side-bar-footer.cjs.js.map +1 -1
  135. package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js +1 -1
  136. package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js.map +1 -1
  137. package/dist/nile-side-bar-footer/nile-side-bar-footer.css.esm.js +8 -3
  138. package/dist/nile-side-bar-footer-item/index.cjs.js +1 -1
  139. package/dist/nile-side-bar-footer-item/index.esm.js +1 -1
  140. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js +1 -1
  141. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js.map +1 -1
  142. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js +1 -1
  143. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js.map +1 -1
  144. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.esm.js +181 -25
  145. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.esm.js +10 -3
  146. package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.cjs.js +1 -1
  147. package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.cjs.js.map +1 -1
  148. package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.esm.js +10 -5
  149. package/dist/nile-side-bar-group/nile-side-bar-group.cjs.js +1 -1
  150. package/dist/nile-side-bar-group/nile-side-bar-group.cjs.js.map +1 -1
  151. package/dist/nile-side-bar-group/nile-side-bar-group.css.cjs.js +1 -1
  152. package/dist/nile-side-bar-group/nile-side-bar-group.css.cjs.js.map +1 -1
  153. package/dist/nile-side-bar-group/nile-side-bar-group.css.esm.js +52 -9
  154. package/dist/nile-side-bar-group/nile-side-bar-group.esm.js +4 -4
  155. package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.cjs.js +1 -1
  156. package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.cjs.js.map +1 -1
  157. package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.esm.js +53 -8
  158. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.cjs.js +1 -1
  159. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.cjs.js.map +1 -1
  160. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.cjs.js +1 -1
  161. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.cjs.js.map +1 -1
  162. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.esm.js +13 -4
  163. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.esm.js +4 -4
  164. package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.cjs.js +1 -1
  165. package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.cjs.js.map +1 -1
  166. package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.esm.js +9 -6
  167. package/dist/nile-side-bar-header/nile-side-bar-header.cjs.js.map +1 -1
  168. package/dist/nile-side-bar-header/nile-side-bar-header.css.cjs.js +1 -1
  169. package/dist/nile-side-bar-header/nile-side-bar-header.css.cjs.js.map +1 -1
  170. package/dist/nile-side-bar-header/nile-side-bar-header.css.esm.js +12 -5
  171. package/dist/nile-side-bar-header-switcher/index.cjs.js +2 -0
  172. package/dist/nile-side-bar-header-switcher/index.cjs.js.map +1 -0
  173. package/dist/nile-side-bar-header-switcher/index.esm.js +1 -0
  174. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.cjs.js +2 -0
  175. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.cjs.js.map +1 -0
  176. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.cjs.js +2 -0
  177. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.cjs.js.map +1 -0
  178. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.esm.js +83 -0
  179. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.esm.js +24 -0
  180. package/dist/nile-side-bar-search/index.cjs.js +2 -0
  181. package/dist/nile-side-bar-search/index.cjs.js.map +1 -0
  182. package/dist/nile-side-bar-search/index.esm.js +1 -0
  183. package/dist/nile-side-bar-search/nile-side-bar-search.cjs.js +2 -0
  184. package/dist/nile-side-bar-search/nile-side-bar-search.cjs.js.map +1 -0
  185. package/dist/nile-side-bar-search/nile-side-bar-search.css.cjs.js +2 -0
  186. package/dist/nile-side-bar-search/nile-side-bar-search.css.cjs.js.map +1 -0
  187. package/dist/nile-side-bar-search/nile-side-bar-search.css.esm.js +103 -0
  188. package/dist/nile-side-bar-search/nile-side-bar-search.esm.js +25 -0
  189. package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js +1 -1
  190. package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js.map +1 -1
  191. package/dist/nile-slide-toggle/nile-slide-toggle.css.esm.js +1 -1
  192. package/dist/nile-tooltip/nile-tooltip.css.cjs.js +1 -1
  193. package/dist/nile-tooltip/nile-tooltip.css.cjs.js.map +1 -1
  194. package/dist/nile-tooltip/nile-tooltip.css.esm.js +7 -5
  195. package/dist/nile-virtual-select/nile-virtual-select.css.cjs.js +1 -1
  196. package/dist/nile-virtual-select/nile-virtual-select.css.cjs.js.map +1 -1
  197. package/dist/nile-virtual-select/nile-virtual-select.css.esm.js +1 -1
  198. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.cjs.js +1 -1
  199. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.cjs.js.map +1 -1
  200. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.esm.js +2 -2
  201. package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.cjs.js +1 -1
  202. package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.cjs.js.map +1 -1
  203. package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.esm.js +3 -3
  204. package/dist/src/index.d.ts +6 -0
  205. package/dist/src/index.js +6 -0
  206. package/dist/src/index.js.map +1 -1
  207. package/dist/src/nile-app-shell/nile-app-shell.css.js +70 -63
  208. package/dist/src/nile-app-shell/nile-app-shell.css.js.map +1 -1
  209. package/dist/src/nile-app-shell/nile-app-shell.d.ts +40 -7
  210. package/dist/src/nile-app-shell/nile-app-shell.js +192 -41
  211. package/dist/src/nile-app-shell/nile-app-shell.js.map +1 -1
  212. package/dist/src/nile-app-shell/nile-app-shell.test.d.ts +2 -0
  213. package/dist/src/nile-app-shell/nile-app-shell.test.js +272 -1020
  214. package/dist/src/nile-app-shell/nile-app-shell.test.js.map +1 -1
  215. package/dist/src/nile-app-shell/zz-layout.test.d.ts +15 -0
  216. package/dist/src/nile-app-shell/zz-layout.test.js +253 -0
  217. package/dist/src/nile-app-shell/zz-layout.test.js.map +1 -0
  218. package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.js +1 -1
  219. package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.js.map +1 -1
  220. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.js +24 -6
  221. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.js.map +1 -1
  222. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.d.ts +8 -2
  223. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.js +56 -2
  224. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.js.map +1 -1
  225. package/dist/src/nile-button-filter/nile-button-filter.css.js +1 -1
  226. package/dist/src/nile-button-filter/nile-button-filter.css.js.map +1 -1
  227. package/dist/src/nile-button-filter/nile-button-filter.js +1 -3
  228. package/dist/src/nile-button-filter/nile-button-filter.js.map +1 -1
  229. package/dist/src/nile-calendar/nile-calendar.css.js +9 -8
  230. package/dist/src/nile-calendar/nile-calendar.css.js.map +1 -1
  231. package/dist/src/nile-color-picker/nile-color-picker.css.js +3 -3
  232. package/dist/src/nile-color-picker/nile-color-picker.css.js.map +1 -1
  233. package/dist/src/nile-combobox/nile-combobox.css.js +1 -1
  234. package/dist/src/nile-combobox/nile-combobox.css.js.map +1 -1
  235. package/dist/src/nile-command-menu-item/nile-command-menu-item.css.js +5 -1
  236. package/dist/src/nile-command-menu-item/nile-command-menu-item.css.js.map +1 -1
  237. package/dist/src/nile-context-menu/nile-context-menu.css.js +2 -4
  238. package/dist/src/nile-context-menu/nile-context-menu.css.js.map +1 -1
  239. package/dist/src/nile-dropdown-switcher/index.d.ts +1 -0
  240. package/dist/src/nile-dropdown-switcher/index.js +2 -0
  241. package/dist/src/nile-dropdown-switcher/index.js.map +1 -0
  242. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.css.d.ts +10 -0
  243. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.css.js +49 -0
  244. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.css.js.map +1 -0
  245. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.d.ts +101 -0
  246. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.js +463 -0
  247. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.js.map +1 -0
  248. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.test.d.ts +4 -0
  249. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.test.js +506 -0
  250. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.test.js.map +1 -0
  251. package/dist/src/nile-dropdown-switcher-group/index.d.ts +1 -0
  252. package/dist/src/nile-dropdown-switcher-group/index.js +2 -0
  253. package/dist/src/nile-dropdown-switcher-group/index.js.map +1 -0
  254. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.d.ts +12 -0
  255. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.js +49 -0
  256. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.js.map +1 -0
  257. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.d.ts +37 -0
  258. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.js +72 -0
  259. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.js.map +1 -0
  260. package/dist/src/nile-dropdown-switcher-header/index.d.ts +1 -0
  261. package/dist/src/nile-dropdown-switcher-header/index.js +2 -0
  262. package/dist/src/nile-dropdown-switcher-header/index.js.map +1 -0
  263. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.d.ts +12 -0
  264. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.js +103 -0
  265. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.js.map +1 -0
  266. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.d.ts +46 -0
  267. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.js +105 -0
  268. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.js.map +1 -0
  269. package/dist/src/nile-dropdown-switcher-item/index.d.ts +1 -0
  270. package/dist/src/nile-dropdown-switcher-item/index.js +2 -0
  271. package/dist/src/nile-dropdown-switcher-item/index.js.map +1 -0
  272. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.d.ts +10 -0
  273. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.js +112 -0
  274. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.js.map +1 -0
  275. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.d.ts +55 -0
  276. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.js +154 -0
  277. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.js.map +1 -0
  278. package/dist/src/nile-filter-chip/nile-filter-chip.css.js +2 -2
  279. package/dist/src/nile-filter-chip/nile-filter-chip.css.js.map +1 -1
  280. package/dist/src/nile-form-group/nile-form-group.css.js +1 -1
  281. package/dist/src/nile-form-group/nile-form-group.css.js.map +1 -1
  282. package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js +20 -4
  283. package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js.map +1 -1
  284. package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.js +1 -1
  285. package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.js.map +1 -1
  286. package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.js +3 -3
  287. package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.js.map +1 -1
  288. package/dist/src/nile-markdown-editor/nile-markdown-editor.css.js +4 -4
  289. package/dist/src/nile-markdown-editor/nile-markdown-editor.css.js.map +1 -1
  290. package/dist/src/nile-menu/nile-menu.css.js +1 -2
  291. package/dist/src/nile-menu/nile-menu.css.js.map +1 -1
  292. package/dist/src/nile-menu-item/nile-menu-item.css.js +4 -4
  293. package/dist/src/nile-menu-item/nile-menu-item.css.js.map +1 -1
  294. package/dist/src/nile-nav-tab/nile-nav-tab.css.js +3 -3
  295. package/dist/src/nile-nav-tab/nile-nav-tab.css.js.map +1 -1
  296. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.css.js +15 -12
  297. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.css.js.map +1 -1
  298. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.test.js +111 -0
  299. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.test.js.map +1 -1
  300. package/dist/src/nile-option/nile-option.css.js +2 -2
  301. package/dist/src/nile-option/nile-option.css.js.map +1 -1
  302. package/dist/src/nile-pagination/nile-pagination.css.js +10 -0
  303. package/dist/src/nile-pagination/nile-pagination.css.js.map +1 -1
  304. package/dist/src/nile-pagination/nile-pagination.d.ts +2 -0
  305. package/dist/src/nile-pagination/nile-pagination.js +13 -9
  306. package/dist/src/nile-pagination/nile-pagination.js.map +1 -1
  307. package/dist/src/nile-side-bar/nile-side-bar.css.js +14 -12
  308. package/dist/src/nile-side-bar/nile-side-bar.css.js.map +1 -1
  309. package/dist/src/nile-side-bar/nile-side-bar.d.ts +17 -0
  310. package/dist/src/nile-side-bar/nile-side-bar.js +68 -12
  311. package/dist/src/nile-side-bar/nile-side-bar.js.map +1 -1
  312. package/dist/src/nile-side-bar/nile-side-bar.test.d.ts +23 -0
  313. package/dist/src/nile-side-bar/nile-side-bar.test.js +1614 -1
  314. package/dist/src/nile-side-bar/nile-side-bar.test.js.map +1 -1
  315. package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.js +11 -4
  316. package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.js.map +1 -1
  317. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js +8 -3
  318. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js.map +1 -1
  319. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.d.ts +7 -5
  320. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.js +7 -5
  321. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.js.map +1 -1
  322. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js +179 -23
  323. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js.map +1 -1
  324. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.d.ts +15 -0
  325. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.js +82 -2
  326. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.js.map +1 -1
  327. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.d.ts +9 -0
  328. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.js +201 -0
  329. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.js.map +1 -0
  330. package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.js +8 -3
  331. package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.js.map +1 -1
  332. package/dist/src/nile-side-bar-group/nile-side-bar-group.css.js +50 -7
  333. package/dist/src/nile-side-bar-group/nile-side-bar-group.css.js.map +1 -1
  334. package/dist/src/nile-side-bar-group/nile-side-bar-group.d.ts +35 -0
  335. package/dist/src/nile-side-bar-group/nile-side-bar-group.js +90 -3
  336. package/dist/src/nile-side-bar-group/nile-side-bar-group.js.map +1 -1
  337. package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.css.js +52 -7
  338. package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.css.js.map +1 -1
  339. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.js +11 -2
  340. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.js.map +1 -1
  341. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.d.ts +11 -2
  342. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.js +21 -15
  343. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.js.map +1 -1
  344. package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.js +7 -4
  345. package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.js.map +1 -1
  346. package/dist/src/nile-side-bar-header/nile-side-bar-app-shell.test.js +22 -17
  347. package/dist/src/nile-side-bar-header/nile-side-bar-app-shell.test.js.map +1 -1
  348. package/dist/src/nile-side-bar-header/nile-side-bar-header-surface.test.d.ts +4 -0
  349. package/dist/src/nile-side-bar-header/nile-side-bar-header-surface.test.js +143 -0
  350. package/dist/src/nile-side-bar-header/nile-side-bar-header-surface.test.js.map +1 -0
  351. package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js +10 -3
  352. package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js.map +1 -1
  353. package/dist/src/nile-side-bar-header/nile-side-bar-header.d.ts +7 -5
  354. package/dist/src/nile-side-bar-header/nile-side-bar-header.js +7 -5
  355. package/dist/src/nile-side-bar-header/nile-side-bar-header.js.map +1 -1
  356. package/dist/src/nile-side-bar-header-switcher/index.d.ts +1 -0
  357. package/dist/src/nile-side-bar-header-switcher/index.js +2 -0
  358. package/dist/src/nile-side-bar-header-switcher/index.js.map +1 -0
  359. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.d.ts +14 -0
  360. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.js +97 -0
  361. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.js.map +1 -0
  362. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.d.ts +38 -0
  363. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.js +86 -0
  364. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.js.map +1 -0
  365. package/dist/src/nile-side-bar-search/index.d.ts +1 -0
  366. package/dist/src/nile-side-bar-search/index.js +2 -0
  367. package/dist/src/nile-side-bar-search/index.js.map +1 -0
  368. package/dist/src/nile-side-bar-search/nile-side-bar-search.css.d.ts +15 -0
  369. package/dist/src/nile-side-bar-search/nile-side-bar-search.css.js +118 -0
  370. package/dist/src/nile-side-bar-search/nile-side-bar-search.css.js.map +1 -0
  371. package/dist/src/nile-side-bar-search/nile-side-bar-search.d.ts +56 -0
  372. package/dist/src/nile-side-bar-search/nile-side-bar-search.js +150 -0
  373. package/dist/src/nile-side-bar-search/nile-side-bar-search.js.map +1 -0
  374. package/dist/src/nile-side-bar-search/nile-side-bar-search.test.d.ts +3 -0
  375. package/dist/src/nile-side-bar-search/nile-side-bar-search.test.js +153 -0
  376. package/dist/src/nile-side-bar-search/nile-side-bar-search.test.js.map +1 -0
  377. package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js +1 -1
  378. package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js.map +1 -1
  379. package/dist/src/nile-tooltip/nile-tooltip.css.js +7 -5
  380. package/dist/src/nile-tooltip/nile-tooltip.css.js.map +1 -1
  381. package/dist/src/nile-virtual-select/nile-virtual-select.css.js +1 -1
  382. package/dist/src/nile-virtual-select/nile-virtual-select.css.js.map +1 -1
  383. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.js +2 -2
  384. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.js.map +1 -1
  385. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.js +3 -3
  386. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.js.map +1 -1
  387. package/dist/src/version.js +1 -1
  388. package/dist/src/version.js.map +1 -1
  389. package/dist/tsconfig.tsbuildinfo +1 -1
  390. package/dist/version.cjs.js +1 -1
  391. package/dist/version.cjs.js.map +1 -1
  392. package/dist/version.esm.js +1 -1
  393. package/package.json +1 -1
  394. package/src/index.ts +6 -0
  395. package/src/nile-app-shell/nile-app-shell.css.ts +70 -63
  396. package/src/nile-app-shell/nile-app-shell.test.ts +332 -1227
  397. package/src/nile-app-shell/nile-app-shell.ts +223 -44
  398. package/src/nile-app-shell/zz-layout.test.ts +271 -0
  399. package/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.ts +1 -5
  400. package/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.ts +24 -6
  401. package/src/nile-app-shell-side-nav/nile-app-shell-side-nav.ts +62 -2
  402. package/src/nile-button-filter/nile-button-filter.css.ts +1 -1
  403. package/src/nile-button-filter/nile-button-filter.ts +1 -3
  404. package/src/nile-calendar/nile-calendar.css.ts +9 -8
  405. package/src/nile-color-picker/nile-color-picker.css.ts +3 -3
  406. package/src/nile-combobox/nile-combobox.css.ts +1 -1
  407. package/src/nile-command-menu-item/nile-command-menu-item.css.ts +5 -1
  408. package/src/nile-context-menu/nile-context-menu.css.ts +2 -4
  409. package/src/nile-dropdown-switcher/index.ts +1 -0
  410. package/src/nile-dropdown-switcher/nile-dropdown-switcher.css.ts +51 -0
  411. package/src/nile-dropdown-switcher/nile-dropdown-switcher.test.ts +570 -0
  412. package/src/nile-dropdown-switcher/nile-dropdown-switcher.ts +502 -0
  413. package/src/nile-dropdown-switcher-group/index.ts +1 -0
  414. package/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.ts +51 -0
  415. package/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.ts +78 -0
  416. package/src/nile-dropdown-switcher-header/index.ts +1 -0
  417. package/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.ts +105 -0
  418. package/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.ts +105 -0
  419. package/src/nile-dropdown-switcher-item/index.ts +1 -0
  420. package/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.ts +114 -0
  421. package/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.ts +151 -0
  422. package/src/nile-filter-chip/nile-filter-chip.css.ts +2 -2
  423. package/src/nile-form-group/nile-form-group.css.ts +1 -1
  424. package/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.ts +20 -4
  425. package/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.ts +1 -1
  426. package/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.ts +3 -3
  427. package/src/nile-markdown-editor/nile-markdown-editor.css.ts +4 -4
  428. package/src/nile-menu/nile-menu.css.ts +1 -2
  429. package/src/nile-menu-item/nile-menu-item.css.ts +4 -4
  430. package/src/nile-nav-tab/nile-nav-tab.css.ts +3 -3
  431. package/src/nile-nav-tab-group/nile-nav-tab-group.css.ts +15 -12
  432. package/src/nile-nav-tab-group/nile-nav-tab-group.test.ts +130 -0
  433. package/src/nile-option/nile-option.css.ts +2 -2
  434. package/src/nile-pagination/nile-pagination.css.ts +10 -0
  435. package/src/nile-pagination/nile-pagination.ts +14 -9
  436. package/src/nile-side-bar/nile-side-bar.css.ts +14 -12
  437. package/src/nile-side-bar/nile-side-bar.test.ts +1854 -2
  438. package/src/nile-side-bar/nile-side-bar.ts +72 -15
  439. package/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.ts +11 -4
  440. package/src/nile-side-bar-footer/nile-side-bar-footer.css.ts +8 -3
  441. package/src/nile-side-bar-footer/nile-side-bar-footer.ts +7 -5
  442. package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.ts +179 -23
  443. package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.ts +219 -0
  444. package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.ts +84 -2
  445. package/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.ts +8 -3
  446. package/src/nile-side-bar-group/nile-side-bar-group.css.ts +50 -7
  447. package/src/nile-side-bar-group/nile-side-bar-group.ts +100 -2
  448. package/src/nile-side-bar-group-item/nile-side-bar-group-item.css.ts +52 -7
  449. package/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.ts +11 -2
  450. package/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.ts +22 -19
  451. package/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.ts +7 -4
  452. package/src/nile-side-bar-header/nile-side-bar-app-shell.test.ts +22 -17
  453. package/src/nile-side-bar-header/nile-side-bar-header-surface.test.ts +175 -0
  454. package/src/nile-side-bar-header/nile-side-bar-header.css.ts +10 -3
  455. package/src/nile-side-bar-header/nile-side-bar-header.ts +7 -5
  456. package/src/nile-side-bar-header-switcher/index.ts +1 -0
  457. package/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.ts +99 -0
  458. package/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.ts +88 -0
  459. package/src/nile-side-bar-search/index.ts +1 -0
  460. package/src/nile-side-bar-search/nile-side-bar-search.css.ts +120 -0
  461. package/src/nile-side-bar-search/nile-side-bar-search.test.ts +175 -0
  462. package/src/nile-side-bar-search/nile-side-bar-search.ts +160 -0
  463. package/src/nile-slide-toggle/nile-slide-toggle.css.ts +1 -1
  464. package/src/nile-tooltip/nile-tooltip.css.ts +7 -5
  465. package/src/nile-virtual-select/nile-virtual-select.css.ts +1 -1
  466. package/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.ts +2 -2
  467. package/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.ts +3 -3
  468. package/test-timings.json +0 -1
  469. package/vscode-html-custom-data.json +349 -22
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/nile-dropdown-switcher-item/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC","sourcesContent":["export { NileDropdownSwitcherItem } from './nile-dropdown-switcher-item';\n"]}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Copyright Aquera Inc 2026
3
+ *
4
+ * This source code is licensed under the BSD-3-Clause license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ /** DropdownSwitcherItem CSS -- Default/Selected both render on bg-primary; only Hover gets bg-primary_hover. */
8
+ export declare const styles: import("lit").CSSResult;
9
+ declare const _default: import("lit").CSSResult[];
10
+ export default _default;
@@ -0,0 +1,112 @@
1
+ /**
2
+ * Copyright Aquera Inc 2026
3
+ *
4
+ * This source code is licensed under the BSD-3-Clause license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { css } from 'lit';
8
+ /** DropdownSwitcherItem CSS -- Default/Selected both render on bg-primary; only Hover gets bg-primary_hover. */
9
+ export const styles = css `
10
+ :host {
11
+ box-sizing: border-box;
12
+ display: block;
13
+ }
14
+
15
+ :host *,
16
+ :host *::before,
17
+ :host *::after {
18
+ box-sizing: inherit;
19
+ }
20
+
21
+ :host([disabled]) {
22
+ pointer-events: none;
23
+ }
24
+
25
+ :host(:focus-visible) {
26
+ outline: none;
27
+ }
28
+
29
+ .item {
30
+ display: flex;
31
+ align-items: center;
32
+ gap: var(--nile-spacing-md, var(--ng-spacing-md));
33
+ padding: var(--nile-spacing-xs, var(--ng-spacing-xs)) var(--nile-spacing-sm, var(--ng-spacing-sm));
34
+ border-radius: var(--nile-radius-sm, var(--ng-radius-sm));
35
+ background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
36
+ cursor: pointer;
37
+ }
38
+
39
+ :host(:hover) .item,
40
+ :host(:focus-visible) .item {
41
+ background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary-hover));
42
+ }
43
+
44
+ .item--disabled {
45
+ opacity: var(--nile-opacity-disabled, 0.5);
46
+ cursor: not-allowed;
47
+ }
48
+
49
+ .item__icon {
50
+ flex: 0 0 auto;
51
+ display: inline-flex;
52
+ align-items: center;
53
+ justify-content: center;
54
+ width: var(--nile-height-32px, var(--ng-height-32px));
55
+ height: var(--nile-height-32px, var(--ng-height-32px));
56
+ border-radius: var(--nile-radius-sm, var(--ng-radius-sm));
57
+ overflow: hidden;
58
+ }
59
+
60
+ /* No icon slotted: collapse the tile so the label (and the flex gap) don't leave a blank 32px. */
61
+ .item__icon--empty {
62
+ display: none;
63
+ }
64
+
65
+ ::slotted([slot='icon']) {
66
+ width: 100%;
67
+ height: 100%;
68
+ }
69
+
70
+ .item__text {
71
+ flex: 1 1 auto;
72
+ min-width: 0;
73
+ display: flex;
74
+ flex-direction: column;
75
+ }
76
+
77
+ .item__label {
78
+ display: block;
79
+ white-space: nowrap;
80
+ overflow: hidden;
81
+ text-overflow: ellipsis;
82
+ font-family: var(--nile-font-family-serif, var(--ng-font-family-body));
83
+ font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
84
+ line-height: var(--nile-line-height-xs, var(--ng-line-height-text-xs));
85
+ font-weight: var(--nile-font-weight-semibold, var(--ng-font-weight-semibold));
86
+ color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
87
+ }
88
+
89
+ .item__description {
90
+ display: block;
91
+ white-space: nowrap;
92
+ overflow: hidden;
93
+ text-overflow: ellipsis;
94
+ font-family: var(--nile-font-family-serif, var(--ng-font-family-body));
95
+ font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
96
+ line-height: var(--nile-line-height-xs, var(--ng-line-height-text-xs));
97
+ font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
98
+ color: var(--nile-colors-dark-500, var(--ng-colors-text-quaternary-500));
99
+ }
100
+
101
+ .item__check {
102
+ flex: 0 0 auto;
103
+ display: inline-flex;
104
+ align-items: center;
105
+ justify-content: center;
106
+ width: var(--nile-height-16px, var(--ng-height-16px));
107
+ height: var(--nile-height-16px, var(--ng-height-16px));
108
+ color: var(--nile-colors-primary-600, var(--ng-colors-border-brand-alt));
109
+ }
110
+ `;
111
+ export default [styles];
112
+ //# sourceMappingURL=nile-dropdown-switcher-item.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-dropdown-switcher-item.css.js","sourceRoot":"","sources":["../../../src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,gHAAgH;AAChH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqGxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n * Copyright Aquera Inc 2026\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit';\n\n/** DropdownSwitcherItem CSS -- Default/Selected both render on bg-primary; only Hover gets bg-primary_hover. */\nexport const styles = css`\n :host {\n box-sizing: border-box;\n display: block;\n }\n\n :host *,\n :host *::before,\n :host *::after {\n box-sizing: inherit;\n }\n\n :host([disabled]) {\n pointer-events: none;\n }\n\n :host(:focus-visible) {\n outline: none;\n }\n\n .item {\n display: flex;\n align-items: center;\n gap: var(--nile-spacing-md, var(--ng-spacing-md));\n padding: var(--nile-spacing-xs, var(--ng-spacing-xs)) var(--nile-spacing-sm, var(--ng-spacing-sm));\n border-radius: var(--nile-radius-sm, var(--ng-radius-sm));\n background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n cursor: pointer;\n }\n\n :host(:hover) .item,\n :host(:focus-visible) .item {\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary-hover));\n }\n\n .item--disabled {\n opacity: var(--nile-opacity-disabled, 0.5);\n cursor: not-allowed;\n }\n\n .item__icon {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--nile-height-32px, var(--ng-height-32px));\n height: var(--nile-height-32px, var(--ng-height-32px));\n border-radius: var(--nile-radius-sm, var(--ng-radius-sm));\n overflow: hidden;\n }\n\n /* No icon slotted: collapse the tile so the label (and the flex gap) don't leave a blank 32px. */\n .item__icon--empty {\n display: none;\n }\n\n ::slotted([slot='icon']) {\n width: 100%;\n height: 100%;\n }\n\n .item__text {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n }\n\n .item__label {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));\n line-height: var(--nile-line-height-xs, var(--ng-line-height-text-xs));\n font-weight: var(--nile-font-weight-semibold, var(--ng-font-weight-semibold));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n }\n\n .item__description {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));\n line-height: var(--nile-line-height-xs, var(--ng-line-height-text-xs));\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n color: var(--nile-colors-dark-500, var(--ng-colors-text-quaternary-500));\n }\n\n .item__check {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--nile-height-16px, var(--ng-height-16px));\n height: var(--nile-height-16px, var(--ng-height-16px));\n color: var(--nile-colors-primary-600, var(--ng-colors-border-brand-alt));\n }\n`;\n\nexport default [styles];\n"]}
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Copyright Aquera Inc 2026
3
+ *
4
+ * This source code is licensed under the BSD-3-Clause license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { TemplateResult } from 'lit';
8
+ import NileElement from '../internal/nile-element';
9
+ import type { CSSResultGroup } from 'lit';
10
+ /**
11
+ * A single selectable row inside a `nile-dropdown-switcher`. Owns no public selection event or keyboard handling -- the parent owns both.
12
+ *
13
+ * @tag nile-dropdown-switcher-item
14
+ *
15
+ * @dependency nile-glyph
16
+ *
17
+ * @slot - The item's primary label. Overrides the `label` property when provided.
18
+ * @slot icon - The leading 32x32 icon tile. Expects a `<nile-glyph slot="icon">`. No space is reserved when empty.
19
+ * @slot description - Overrides the `description` property when provided.
20
+ *
21
+ * @csspart base - The component's base wrapper.
22
+ * @csspart icon - The 32x32 icon container.
23
+ * @csspart label - The primary label.
24
+ * @csspart description - The supporting text line.
25
+ * @csspart check - The trailing selected-state check icon.
26
+ */
27
+ export declare class NileDropdownSwitcherItem extends NileElement {
28
+ static styles: CSSResultGroup;
29
+ private cachedTextLabel;
30
+ private readonly hasSlotController;
31
+ defaultSlot: HTMLSlotElement;
32
+ /** A unique value used to identify the item when it is selected. */
33
+ value: string;
34
+ /** The item's primary text. Use the default slot for rich content instead. */
35
+ label: string;
36
+ /** Optional supporting text shown under the label. Use the `description` slot for rich content. */
37
+ description: string;
38
+ /** Indicates whether this is the currently selected workspace/product. */
39
+ selected: boolean;
40
+ /** Draws the item in a disabled state, preventing selection. */
41
+ disabled: boolean;
42
+ connectedCallback(): void;
43
+ _syncAria(): void;
44
+ private _handleDefaultSlotChange;
45
+ /** Returns the plain-text label, for the parent's keyboard/typeahead use if ever needed. */
46
+ getTextLabel(): string;
47
+ private _renderCheck;
48
+ render(): TemplateResult<1>;
49
+ }
50
+ export default NileDropdownSwitcherItem;
51
+ declare global {
52
+ interface HTMLElementTagNameMap {
53
+ 'nile-dropdown-switcher-item': NileDropdownSwitcherItem;
54
+ }
55
+ }
@@ -0,0 +1,154 @@
1
+ /**
2
+ * Copyright Aquera Inc 2026
3
+ *
4
+ * This source code is licensed under the BSD-3-Clause license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { __decorate } from "tslib";
8
+ import { html, nothing } from 'lit';
9
+ import { customElement, property, query } from 'lit/decorators.js';
10
+ import { classMap } from 'lit/directives/class-map.js';
11
+ import { styles } from './nile-dropdown-switcher-item.css';
12
+ import { getTextContent, HasSlotController } from '../internal/slot';
13
+ import { watch } from '../internal/watch';
14
+ import NileElement from '../internal/nile-element';
15
+ /**
16
+ * A single selectable row inside a `nile-dropdown-switcher`. Owns no public selection event or keyboard handling -- the parent owns both.
17
+ *
18
+ * @tag nile-dropdown-switcher-item
19
+ *
20
+ * @dependency nile-glyph
21
+ *
22
+ * @slot - The item's primary label. Overrides the `label` property when provided.
23
+ * @slot icon - The leading 32x32 icon tile. Expects a `<nile-glyph slot="icon">`. No space is reserved when empty.
24
+ * @slot description - Overrides the `description` property when provided.
25
+ *
26
+ * @csspart base - The component's base wrapper.
27
+ * @csspart icon - The 32x32 icon container.
28
+ * @csspart label - The primary label.
29
+ * @csspart description - The supporting text line.
30
+ * @csspart check - The trailing selected-state check icon.
31
+ */
32
+ let NileDropdownSwitcherItem = class NileDropdownSwitcherItem extends NileElement {
33
+ constructor() {
34
+ super(...arguments);
35
+ // Whitespace-aware: avoids incidental whitespace defeating the default slot's fallback to `label`.
36
+ this.hasSlotController = new HasSlotController(this, '[default]', 'icon', 'description');
37
+ /** A unique value used to identify the item when it is selected. */
38
+ this.value = '';
39
+ /** The item's primary text. Use the default slot for rich content instead. */
40
+ this.label = '';
41
+ /** Optional supporting text shown under the label. Use the `description` slot for rich content. */
42
+ this.description = '';
43
+ /** Indicates whether this is the currently selected workspace/product. */
44
+ this.selected = false;
45
+ /** Draws the item in a disabled state, preventing selection. */
46
+ this.disabled = false;
47
+ }
48
+ connectedCallback() {
49
+ super.connectedCallback();
50
+ this.setAttribute('role', 'menuitemradio');
51
+ if (!this.hasAttribute('tabindex')) {
52
+ this.setAttribute('tabindex', '-1');
53
+ }
54
+ this._syncAria();
55
+ }
56
+ _syncAria() {
57
+ this.setAttribute('aria-checked', this.selected ? 'true' : 'false');
58
+ this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');
59
+ }
60
+ _handleDefaultSlotChange() {
61
+ const textLabel = this.getTextLabel();
62
+ if (typeof this.cachedTextLabel === 'undefined') {
63
+ this.cachedTextLabel = textLabel;
64
+ return;
65
+ }
66
+ if (textLabel !== this.cachedTextLabel) {
67
+ this.cachedTextLabel = textLabel;
68
+ this.emit('slotchange');
69
+ }
70
+ }
71
+ /** Returns the plain-text label, for the parent's keyboard/typeahead use if ever needed. */
72
+ getTextLabel() {
73
+ return getTextContent(this.defaultSlot);
74
+ }
75
+ _renderCheck() {
76
+ if (!this.selected)
77
+ return nothing;
78
+ return html `
79
+ <span part="check" class="item__check" aria-hidden="true">
80
+ <nile-glyph
81
+ name="ng-check"
82
+ method="stroke"
83
+ size="16"
84
+ color="currentColor"
85
+ ></nile-glyph>
86
+ </span>
87
+ `;
88
+ }
89
+ render() {
90
+ return html `
91
+ <div
92
+ part="base"
93
+ class=${classMap({
94
+ item: true,
95
+ 'item--selected': this.selected,
96
+ 'item--disabled': this.disabled,
97
+ })}
98
+ >
99
+ <span
100
+ part="icon"
101
+ class=${classMap({
102
+ item__icon: true,
103
+ 'item__icon--empty': !this.hasSlotController.test('icon'),
104
+ })}
105
+ >
106
+ <slot name="icon"></slot>
107
+ </span>
108
+
109
+ <span class="item__text">
110
+ <span part="label" class="item__label">
111
+ <slot class="item__label-slot" @slotchange=${this._handleDefaultSlotChange}></slot
112
+ >${this.hasSlotController.test('[default]') ? nothing : this.label}
113
+ </span>
114
+
115
+ ${this.description || this.hasSlotController.test('description')
116
+ ? html `<span part="description" class="item__description">
117
+ <slot name="description">${this.description}</slot>
118
+ </span>`
119
+ : nothing}
120
+ </span>
121
+
122
+ ${this._renderCheck()}
123
+ </div>
124
+ `;
125
+ }
126
+ };
127
+ NileDropdownSwitcherItem.styles = styles;
128
+ __decorate([
129
+ query('.item__label-slot')
130
+ ], NileDropdownSwitcherItem.prototype, "defaultSlot", void 0);
131
+ __decorate([
132
+ property({ attribute: true, reflect: true })
133
+ ], NileDropdownSwitcherItem.prototype, "value", void 0);
134
+ __decorate([
135
+ property({ attribute: true })
136
+ ], NileDropdownSwitcherItem.prototype, "label", void 0);
137
+ __decorate([
138
+ property({ attribute: true })
139
+ ], NileDropdownSwitcherItem.prototype, "description", void 0);
140
+ __decorate([
141
+ property({ type: Boolean, attribute: true, reflect: true })
142
+ ], NileDropdownSwitcherItem.prototype, "selected", void 0);
143
+ __decorate([
144
+ property({ type: Boolean, attribute: true, reflect: true })
145
+ ], NileDropdownSwitcherItem.prototype, "disabled", void 0);
146
+ __decorate([
147
+ watch(['selected', 'disabled'])
148
+ ], NileDropdownSwitcherItem.prototype, "_syncAria", null);
149
+ NileDropdownSwitcherItem = __decorate([
150
+ customElement('nile-dropdown-switcher-item')
151
+ ], NileDropdownSwitcherItem);
152
+ export { NileDropdownSwitcherItem };
153
+ export default NileDropdownSwitcherItem;
154
+ //# sourceMappingURL=nile-dropdown-switcher-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-dropdown-switcher-item.js","sourceRoot":"","sources":["../../../src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,WAAW,MAAM,0BAA0B,CAAC;AAGnD;;;;;;;;;;;;;;;;GAgBG;AAEI,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,WAAW;IAAlD;;QAKL,mGAAmG;QAClF,sBAAiB,GAAG,IAAI,iBAAiB,CAAC,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;QAIrG,oEAAoE;QACtB,UAAK,GAAG,EAAE,CAAC;QAEzD,8EAA8E;QAC/C,UAAK,GAAG,EAAE,CAAC;QAE1C,mGAAmG;QACpE,gBAAW,GAAG,EAAE,CAAC;QAEhD,0EAA0E;QACb,aAAQ,GAAG,KAAK,CAAC;QAE9E,gEAAgE;QACH,aAAQ,GAAG,KAAK,CAAC;IAqFhF,CAAC;IAnFC,iBAAiB;QACf,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;QAC3C,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,CAAC;YACnC,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QACtC,CAAC;QACD,IAAI,CAAC,SAAS,EAAE,CAAC;IACnB,CAAC;IAGD,SAAS;QACP,IAAI,CAAC,YAAY,CAAC,cAAc,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;QACpE,IAAI,CAAC,YAAY,CAAC,eAAe,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,wBAAwB;QAC9B,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QACtC,IAAI,OAAO,IAAI,CAAC,eAAe,KAAK,WAAW,EAAE,CAAC;YAChD,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC;YACjC,OAAO;QACT,CAAC;QACD,IAAI,SAAS,KAAK,IAAI,CAAC,eAAe,EAAE,CAAC;YACvC,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC;YACjC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;IAED,4FAA4F;IAC5F,YAAY;QACV,OAAO,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC1C,CAAC;IAEO,YAAY;QAClB,IAAI,CAAC,IAAI,CAAC,QAAQ;YAAE,OAAO,OAAO,CAAC;QACnC,OAAO,IAAI,CAAA;;;;;;;;;KASV,CAAC;IACJ,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAA;;;gBAGC,QAAQ,CAAC;YACf,IAAI,EAAE,IAAI;YACV,gBAAgB,EAAE,IAAI,CAAC,QAAQ;YAC/B,gBAAgB,EAAE,IAAI,CAAC,QAAQ;SAChC,CAAC;;;;kBAIQ,QAAQ,CAAC;YACf,UAAU,EAAE,IAAI;YAChB,mBAAmB,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC;SAC1D,CAAC;;;;;;;yDAO6C,IAAI,CAAC,wBAAwB;eACvE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK;;;YAGlE,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,aAAa,CAAC;YAC9D,CAAC,CAAC,IAAI,CAAA;2CACyB,IAAI,CAAC,WAAW;sBACrC;YACV,CAAC,CAAC,OAAO;;;UAGX,IAAI,CAAC,YAAY,EAAE;;KAExB,CAAC;IACJ,CAAC;;AA1GM,+BAAM,GAAmB,MAAM,AAAzB,CAA0B;AAOX;IAA3B,KAAK,CAAC,mBAAmB,CAAC;6DAA8B;AAGX;IAA7C,QAAQ,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uDAAY;AAG1B;IAA9B,QAAQ,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;uDAAY;AAGX;IAA9B,QAAQ,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;6DAAkB;AAGa;IAA5D,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0DAAkB;AAGjB;IAA5D,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0DAAkB;AAY9E;IADC,KAAK,CAAC,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;yDAI/B;AAtCU,wBAAwB;IADpC,aAAa,CAAC,6BAA6B,CAAC;GAChC,wBAAwB,CA4GpC;;AAED,eAAe,wBAAwB,CAAC","sourcesContent":["/**\n * Copyright Aquera Inc 2026\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html, nothing, TemplateResult } from 'lit';\nimport { customElement, property, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { styles } from './nile-dropdown-switcher-item.css';\nimport { getTextContent, HasSlotController } from '../internal/slot';\nimport { watch } from '../internal/watch';\nimport NileElement from '../internal/nile-element';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * A single selectable row inside a `nile-dropdown-switcher`. Owns no public selection event or keyboard handling -- the parent owns both.\n *\n * @tag nile-dropdown-switcher-item\n *\n * @dependency nile-glyph\n *\n * @slot - The item's primary label. Overrides the `label` property when provided.\n * @slot icon - The leading 32x32 icon tile. Expects a `<nile-glyph slot=\"icon\">`. No space is reserved when empty.\n * @slot description - Overrides the `description` property when provided.\n *\n * @csspart base - The component's base wrapper.\n * @csspart icon - The 32x32 icon container.\n * @csspart label - The primary label.\n * @csspart description - The supporting text line.\n * @csspart check - The trailing selected-state check icon.\n */\n@customElement('nile-dropdown-switcher-item')\nexport class NileDropdownSwitcherItem extends NileElement {\n static styles: CSSResultGroup = styles;\n\n private cachedTextLabel: string;\n\n // Whitespace-aware: avoids incidental whitespace defeating the default slot's fallback to `label`.\n private readonly hasSlotController = new HasSlotController(this, '[default]', 'icon', 'description');\n\n @query('.item__label-slot') defaultSlot: HTMLSlotElement;\n\n /** A unique value used to identify the item when it is selected. */\n @property({ attribute: true, reflect: true }) value = '';\n\n /** The item's primary text. Use the default slot for rich content instead. */\n @property({ attribute: true }) label = '';\n\n /** Optional supporting text shown under the label. Use the `description` slot for rich content. */\n @property({ attribute: true }) description = '';\n\n /** Indicates whether this is the currently selected workspace/product. */\n @property({ type: Boolean, attribute: true, reflect: true }) selected = false;\n\n /** Draws the item in a disabled state, preventing selection. */\n @property({ type: Boolean, attribute: true, reflect: true }) disabled = false;\n\n connectedCallback(): void {\n super.connectedCallback();\n this.setAttribute('role', 'menuitemradio');\n if (!this.hasAttribute('tabindex')) {\n this.setAttribute('tabindex', '-1');\n }\n this._syncAria();\n }\n\n @watch(['selected', 'disabled'])\n _syncAria(): void {\n this.setAttribute('aria-checked', this.selected ? 'true' : 'false');\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n private _handleDefaultSlotChange(): void {\n const textLabel = this.getTextLabel();\n if (typeof this.cachedTextLabel === 'undefined') {\n this.cachedTextLabel = textLabel;\n return;\n }\n if (textLabel !== this.cachedTextLabel) {\n this.cachedTextLabel = textLabel;\n this.emit('slotchange');\n }\n }\n\n /** Returns the plain-text label, for the parent's keyboard/typeahead use if ever needed. */\n getTextLabel(): string {\n return getTextContent(this.defaultSlot);\n }\n\n private _renderCheck(): TemplateResult | typeof nothing {\n if (!this.selected) return nothing;\n return html`\n <span part=\"check\" class=\"item__check\" aria-hidden=\"true\">\n <nile-glyph\n name=\"ng-check\"\n method=\"stroke\"\n size=\"16\"\n color=\"currentColor\"\n ></nile-glyph>\n </span>\n `;\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n item: true,\n 'item--selected': this.selected,\n 'item--disabled': this.disabled,\n })}\n >\n <span\n part=\"icon\"\n class=${classMap({\n item__icon: true,\n 'item__icon--empty': !this.hasSlotController.test('icon'),\n })}\n >\n <slot name=\"icon\"></slot>\n </span>\n\n <span class=\"item__text\">\n <span part=\"label\" class=\"item__label\">\n <slot class=\"item__label-slot\" @slotchange=${this._handleDefaultSlotChange}></slot\n >${this.hasSlotController.test('[default]') ? nothing : this.label}\n </span>\n\n ${this.description || this.hasSlotController.test('description')\n ? html`<span part=\"description\" class=\"item__description\">\n <slot name=\"description\">${this.description}</slot>\n </span>`\n : nothing}\n </span>\n\n ${this._renderCheck()}\n </div>\n `;\n }\n}\n\nexport default NileDropdownSwitcherItem;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-dropdown-switcher-item': NileDropdownSwitcherItem;\n }\n}\n"]}
@@ -42,11 +42,11 @@ export const styles = css `
42
42
  }
43
43
  .chip:active {
44
44
  background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));
45
- border-color: var(--nile-filter-chip-active-border-color-stroke);
45
+ border-color: var(--nile-filter-chip-active-border-color-stroke, var(--ng-colors-border-brand));
46
46
  }
47
47
  :host([active]) .chip {
48
48
  background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));
49
- border-color: var(--nile-filter-chip-active-border-color-stroke);
49
+ border-color: var(--nile-filter-chip-active-border-color-stroke, var(--ng-colors-border-brand));
50
50
  }
51
51
 
52
52
 
@@ -1 +1 @@
1
- {"version":3,"file":"nile-filter-chip.css.js","sourceRoot":"","sources":["../../../src/nile-filter-chip/nile-filter-chip.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB;;GAEG;AAEH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmKxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\n/**\n * FilterChip CSS\n */\n\nexport const styles = css`\n\n :host{\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .filter-chips {\n display: flex;\n align-items: center;\n }\n\n\n .chip {\n display: inline-flex;\n align-items: center;\n height: 30px;\n padding: 8px;\n border: 1px solid var(--nile-filter-chip-chip-border-color-stroke, var(--ng-colors-border-primary));\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n font-size: 14px;\n background-color: var(--nile-filter-chip-background-default, var(--ng-colors-bg-primary));\n color: var(--nile-filter-chip-text-default, var(--ng-colors-text-secondary-700));\n transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;\n cursor: pointer;\n box-sizing: border-box;\n }\n\n .chip:hover {\n background-color: var(--nile-filter-chip-hover-background, var(--ng-colors-bg-secondary-hover));\n }\n .chip:active {\n background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));\n border-color: var(--nile-filter-chip-active-border-color-stroke);\n}\n:host([active]) .chip {\n background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));\n border-color: var(--nile-filter-chip-active-border-color-stroke);\n}\n\n\n .icon {\n color: var(--nile-filter-chip-icon-color-default, var(--ng-colors-text-primary-900));\n display: flex;\n align-items: center;\n justify-content: center;\n vertical-align: middle;\n position: relative;\n top: 12px;\n }\n\n .label {\n font-weight: 500;\n color: var(--nile-filter-chip-label-color-default, var(--ng-colors-text-primary-900));\n }\n\n nile-badge::part(base) {\n width: auto;\n height: 14px;\n border-radius: 100px;\n padding: 6px;\n gap: 10px;\n font-size: 8px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n }\n\n .chip-container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n }\n\n .clear-all-container {\n margin-left: 18px;\n white-space: nowrap;\n cursor: pointer;\n }\n\n\n .value {\n color: var(--nile-filter-chip-values-color-default, var(--ng-colors-text-brand-secondary-700));\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 140px;\n vertical-align: bottom;\n}\n\n\n .close-icon {\n color: var(--nile-filter-chip-close-icon-color-default, var(--ng-componentcolors-utility-gray-400));\n cursor: pointer;\n display: flex;\n align-items: center;\n border-radius: 50%;\n transition: background-color 0.2s;\n }\n\n .close-icon:hover {\n background-color: var(--nile-filter-chip-close-icon-hover-background, var(--ng-colors-bg-primary-hover));\n color: var(--nile-filter-chip-close-icon-hover-color, var(--ng-componentcolors-utility-gray-500));\n }\n\n.label-wrapper {\n margin-right: 4px;\n}\n\n::slotted([slot=\"icon\"]) {\n margin-right: 6px;\n}\n\n.value-wrapper {\n margin-right: 4px; \n}\n\n.badge-wrapper {\n margin-right: 12px; \n}\n\n.badge{\n display: inline-flex;\n align-items: center;\n height: 20px; \n}\n\nnile-badge::part(content) {\n line-height: 20px;\n}\n\n:host([disabled]) .chip {\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-disabled-subtle));\n border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-disabled));\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-secondary-700));\n cursor: not-allowed;\n opacity: var(--nile-opacity-100, var(--ng-opacity-50));\n}\n\n:host([disabled]) .label {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-secondary-700));\n font-family:colfax-regular;\n user-select: none;\n -webkit-user-select: none;\n}\n\n:host([disabled]) .value {\n color: var(--nile-colors-primary-500, var(--ng-colors-text-brand-secondary-700));\n user-select: none;\n -webkit-user-select: none;\n}\n\n:host([disabled]) nile-badge::part(base) {\n background-color: var(--nile-colors-primary-500,var(--ng-colors-text-brand-secondary-700));\n color: var(--nile-colors-white-base, var(--ng-colors-text-white));\n user-select: none;\n -webkit-user-select: none;\n}\n\n`;\n\nexport default [styles];\n\n "]}
1
+ {"version":3,"file":"nile-filter-chip.css.js","sourceRoot":"","sources":["../../../src/nile-filter-chip/nile-filter-chip.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB;;GAEG;AAEH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmKxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\n/**\n * FilterChip CSS\n */\n\nexport const styles = css`\n\n :host{\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .filter-chips {\n display: flex;\n align-items: center;\n }\n\n\n .chip {\n display: inline-flex;\n align-items: center;\n height: 30px;\n padding: 8px;\n border: 1px solid var(--nile-filter-chip-chip-border-color-stroke, var(--ng-colors-border-primary));\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n font-size: 14px;\n background-color: var(--nile-filter-chip-background-default, var(--ng-colors-bg-primary));\n color: var(--nile-filter-chip-text-default, var(--ng-colors-text-secondary-700));\n transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;\n cursor: pointer;\n box-sizing: border-box;\n }\n\n .chip:hover {\n background-color: var(--nile-filter-chip-hover-background, var(--ng-colors-bg-secondary-hover));\n }\n .chip:active {\n background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));\n border-color: var(--nile-filter-chip-active-border-color-stroke, var(--ng-colors-border-brand));\n}\n:host([active]) .chip {\n background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));\n border-color: var(--nile-filter-chip-active-border-color-stroke, var(--ng-colors-border-brand));\n}\n\n\n .icon {\n color: var(--nile-filter-chip-icon-color-default, var(--ng-colors-text-primary-900));\n display: flex;\n align-items: center;\n justify-content: center;\n vertical-align: middle;\n position: relative;\n top: 12px;\n }\n\n .label {\n font-weight: 500;\n color: var(--nile-filter-chip-label-color-default, var(--ng-colors-text-primary-900));\n }\n\n nile-badge::part(base) {\n width: auto;\n height: 14px;\n border-radius: 100px;\n padding: 6px;\n gap: 10px;\n font-size: 8px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n }\n\n .chip-container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n }\n\n .clear-all-container {\n margin-left: 18px;\n white-space: nowrap;\n cursor: pointer;\n }\n\n\n .value {\n color: var(--nile-filter-chip-values-color-default, var(--ng-colors-text-brand-secondary-700));\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 140px;\n vertical-align: bottom;\n}\n\n\n .close-icon {\n color: var(--nile-filter-chip-close-icon-color-default, var(--ng-componentcolors-utility-gray-400));\n cursor: pointer;\n display: flex;\n align-items: center;\n border-radius: 50%;\n transition: background-color 0.2s;\n }\n\n .close-icon:hover {\n background-color: var(--nile-filter-chip-close-icon-hover-background, var(--ng-colors-bg-primary-hover));\n color: var(--nile-filter-chip-close-icon-hover-color, var(--ng-componentcolors-utility-gray-500));\n }\n\n.label-wrapper {\n margin-right: 4px;\n}\n\n::slotted([slot=\"icon\"]) {\n margin-right: 6px;\n}\n\n.value-wrapper {\n margin-right: 4px; \n}\n\n.badge-wrapper {\n margin-right: 12px; \n}\n\n.badge{\n display: inline-flex;\n align-items: center;\n height: 20px; \n}\n\nnile-badge::part(content) {\n line-height: 20px;\n}\n\n:host([disabled]) .chip {\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-disabled-subtle));\n border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-disabled));\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-secondary-700));\n cursor: not-allowed;\n opacity: var(--nile-opacity-100, var(--ng-opacity-50));\n}\n\n:host([disabled]) .label {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-secondary-700));\n font-family:colfax-regular;\n user-select: none;\n -webkit-user-select: none;\n}\n\n:host([disabled]) .value {\n color: var(--nile-colors-primary-500, var(--ng-colors-text-brand-secondary-700));\n user-select: none;\n -webkit-user-select: none;\n}\n\n:host([disabled]) nile-badge::part(base) {\n background-color: var(--nile-colors-primary-500,var(--ng-colors-text-brand-secondary-700));\n color: var(--nile-colors-white-base, var(--ng-colors-text-white));\n user-select: none;\n -webkit-user-select: none;\n}\n\n`;\n\nexport default [styles];\n\n "]}
@@ -21,7 +21,7 @@ export const styles = css `
21
21
  flex-direction: column;
22
22
  min-width: var(--min-width);
23
23
  width: max-content;
24
- box-shadow: var(--nile-box-shadow-11, var(--ng-shadow-xs-skeuomorphic));
24
+ box-shadow: var(--nile-box-shadow-11, none);
25
25
  padding: var(--nile-spacing-3xl, var(--ng-spacing-3xl));
26
26
  border-radius: var(--nile-radius-base-standard, var(--ng-radius-xl));
27
27
  border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));
@@ -1 +1 @@
1
- {"version":3,"file":"nile-form-group.css.js","sourceRoot":"","sources":["../../../src/nile-form-group/nile-form-group.css.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+ExB,CAAC;AACF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit';\n\n/**\n * FormGroup CSS\n */\nexport const styles = css`\n :host {\n --min-width: 288px;\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .form__base {\n display: flex;\n flex-direction: column;\n min-width: var(--min-width);\n width: max-content;\n box-shadow: var(--nile-box-shadow-11, var(--ng-shadow-xs-skeuomorphic));\n padding: var(--nile-spacing-3xl, var(--ng-spacing-3xl));\n border-radius: var(--nile-radius-base-standard, var(--ng-radius-xl));\n border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));\n background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n }\n\n .form__header {\n width: 100%;\n box-sizing: border-box;\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--nile-spacing-1-x, var(--ng-spacing-xl));\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));\n }\n\n .form__divider {\n width: 100%;\n }\n\n .form__divider::part(divider) {\n width: 100%;\n height: 1px;\n margin-top: var(--nile-spacing-2xl, var(--ng-spacing-2xl));\n margin-bottom: var(--nile-spacing-3xl, var(--ng-spacing-3xl));\n }\n\n .form__title-content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: var(--nile-spacing-1-x, var(--ng-spacing-xxs));\n justify-content:center;\n }\n\n .form__title {\n display: block;\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n font-feature-settings: 'clig' off, 'liga' off;\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-lg));\n font-style: normal;\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-semibold));\n line-height: var(--nile-type-scale-4, var(--ng-line-height-text-lg));\n letter-spacing: 0.2px;\n }\n\n .form__subtitle {\n display: block;\n color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));\n font-feature-settings: 'clig' off, 'liga' off;\n font-size: var(--nile-type-scale-2, var(--ng-font-size-text-sm));\n font-style: normal;\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n line-height: var(--nile-type-scale-2, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n }\n\n .form__body {\n width: 100%;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n gap: var(--nile-spacing-3-x, var(--ng-spacing-3xl));\n }\n`;\nexport default [styles];\n"]}
1
+ {"version":3,"file":"nile-form-group.css.js","sourceRoot":"","sources":["../../../src/nile-form-group/nile-form-group.css.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+ExB,CAAC;AACF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit';\n\n/**\n * FormGroup CSS\n */\nexport const styles = css`\n :host {\n --min-width: 288px;\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .form__base {\n display: flex;\n flex-direction: column;\n min-width: var(--min-width);\n width: max-content;\n box-shadow: var(--nile-box-shadow-11, none);\n padding: var(--nile-spacing-3xl, var(--ng-spacing-3xl));\n border-radius: var(--nile-radius-base-standard, var(--ng-radius-xl));\n border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));\n background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n }\n\n .form__header {\n width: 100%;\n box-sizing: border-box;\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--nile-spacing-1-x, var(--ng-spacing-xl));\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));\n }\n\n .form__divider {\n width: 100%;\n }\n\n .form__divider::part(divider) {\n width: 100%;\n height: 1px;\n margin-top: var(--nile-spacing-2xl, var(--ng-spacing-2xl));\n margin-bottom: var(--nile-spacing-3xl, var(--ng-spacing-3xl));\n }\n\n .form__title-content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: var(--nile-spacing-1-x, var(--ng-spacing-xxs));\n justify-content:center;\n }\n\n .form__title {\n display: block;\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n font-feature-settings: 'clig' off, 'liga' off;\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-lg));\n font-style: normal;\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-semibold));\n line-height: var(--nile-type-scale-4, var(--ng-line-height-text-lg));\n letter-spacing: 0.2px;\n }\n\n .form__subtitle {\n display: block;\n color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));\n font-feature-settings: 'clig' off, 'liga' off;\n font-size: var(--nile-type-scale-2, var(--ng-font-size-text-sm));\n font-style: normal;\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n line-height: var(--nile-type-scale-2, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n }\n\n .form__body {\n width: 100%;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n gap: var(--nile-spacing-3-x, var(--ng-spacing-3xl));\n }\n`;\nexport default [styles];\n"]}
@@ -13,7 +13,7 @@ export const styles = css `
13
13
  display: block;
14
14
  font-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));
15
15
  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));
16
+ color: var(--nile-colors-dark-900, var(--ng-colors-text-tertiary-600));
17
17
  cursor: pointer;
18
18
  user-select: none;
19
19
  }
@@ -24,12 +24,27 @@ export const styles = css `
24
24
  transition: background 0.2s, color 0.2s;
25
25
  }
26
26
 
27
+ .item:not(.item--rich) {
28
+ display: flex;
29
+ align-items: center;
30
+ box-sizing: border-box;
31
+ height: 36px;
32
+ padding: var(--nile-spacing-none, var(--ng-spacing-none)) var(--nile-spacing-lg, var(--ng-spacing-lg));
33
+ border-radius: var(--nile-radius-md, var(--ng-radius-md));
34
+ font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));
35
+ color: var(--nile-colors-dark-700, var(--ng-colors-text-secondary-700));
36
+ }
37
+
38
+ .item--rich {
39
+ font-weight: var(--nile-font-weight-semibold, var(--ng-font-weight-semibold));
40
+ }
41
+
27
42
  :host(:not([disabled])) .item:hover {
28
- background: var(--nile-colors-neutral-400, var(--ng-colors-bg-tertiary));
43
+ background: var(--nile-colors-neutral-400, var(--ng-colors-bg-primary-hover));
29
44
  }
30
45
 
31
46
  :host([active]) .item {
32
- background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-secondary));
47
+ background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary-alt));
33
48
  font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));
34
49
  color: var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700));
35
50
  }
@@ -38,7 +53,7 @@ export const styles = css `
38
53
  }
39
54
 
40
55
  :host([active]) .item:hover {
41
- background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-secondary));
56
+ background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary-alt));
42
57
  }
43
58
 
44
59
  :host([disabled]) {
@@ -48,6 +63,7 @@ export const styles = css `
48
63
 
49
64
  :host([disabled]) .item {
50
65
  pointer-events: none;
66
+ color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));
51
67
  }
52
68
  a {
53
69
  color: inherit;
@@ -1 +1 @@
1
- {"version":3,"file":"nile-inline-sidebar-item.css.js","sourceRoot":"","sources":["../../../src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDxB,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2025\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport { css } from 'lit';\n\n/**\n * InlinesidebarItem CSS — Enterprise (`--nile-*`) primary, NxtGen (`--ng-*`) fallback.\n */\nexport const styles = css`\n:host {\n display: block;\n font-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));\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 user-select: none;\n}\n\n.item {\n padding: var(--nile-spacing-lg, var(--ng-spacing-lg)) var(--nile-spacing-md, var(--ng-spacing-md));\n border-radius: var(--nile-radius-sm, var(--ng-radius-xs));\n transition: background 0.2s, color 0.2s;\n}\n\n:host(:not([disabled])) .item:hover {\n background: var(--nile-colors-neutral-400, var(--ng-colors-bg-tertiary));\n}\n\n:host([active]) .item {\n background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-secondary));\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));\n color: var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700));\n}\n:host([active]) .item--rich {\n border-right: 2px solid var(--nile-colors-primary-600, var(--ng-colors-border-brand));\n}\n\n:host([active]) .item:hover {\n background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-secondary));\n}\n\n:host([disabled]) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n cursor: not-allowed;\n}\n\n:host([disabled]) .item {\n pointer-events: none;\n}\na {\n color: inherit;\n text-decoration: none;\n display: block;\n width: 100%;\n height: 100%;\n }\n\n a:visited,\n a:hover,\n a:active,\n a:focus {\n color: inherit;\n text-decoration: none;\n }\n`;\n"]}
1
+ {"version":3,"file":"nile-inline-sidebar-item.css.js","sourceRoot":"","sources":["../../../src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwExB,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2025\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport { css } from 'lit';\n\n/**\n * InlinesidebarItem CSS — Enterprise (`--nile-*`) primary, NxtGen (`--ng-*`) fallback.\n */\nexport const styles = css`\n:host {\n display: block;\n font-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));\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-tertiary-600));\n cursor: pointer;\n user-select: none;\n}\n\n.item {\n padding: var(--nile-spacing-lg, var(--ng-spacing-lg)) var(--nile-spacing-md, var(--ng-spacing-md));\n border-radius: var(--nile-radius-sm, var(--ng-radius-xs));\n transition: background 0.2s, color 0.2s;\n}\n\n.item:not(.item--rich) {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n height: 36px;\n padding: var(--nile-spacing-none, var(--ng-spacing-none)) var(--nile-spacing-lg, var(--ng-spacing-lg));\n border-radius: var(--nile-radius-md, var(--ng-radius-md));\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));\n color: var(--nile-colors-dark-700, var(--ng-colors-text-secondary-700));\n}\n\n.item--rich {\n font-weight: var(--nile-font-weight-semibold, var(--ng-font-weight-semibold));\n}\n\n:host(:not([disabled])) .item:hover {\n background: var(--nile-colors-neutral-400, var(--ng-colors-bg-primary-hover));\n}\n\n:host([active]) .item {\n background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary-alt));\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));\n color: var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700));\n}\n:host([active]) .item--rich {\n border-right: 2px solid var(--nile-colors-primary-600, var(--ng-colors-border-brand));\n}\n\n:host([active]) .item:hover {\n background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary-alt));\n}\n\n:host([disabled]) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n cursor: not-allowed;\n}\n\n:host([disabled]) .item {\n pointer-events: none;\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n}\na {\n color: inherit;\n text-decoration: none;\n display: block;\n width: 100%;\n height: 100%;\n }\n\n a:visited,\n a:hover,\n a:active,\n a:focus {\n color: inherit;\n text-decoration: none;\n }\n`;\n"]}
@@ -22,7 +22,7 @@ export const styles = css `
22
22
  min-width: 0;
23
23
  flex: 1 1 0%;
24
24
  max-width: 100%;
25
- color: var(--nile-colors-dark-500, var(--ng-componentcolors-alpha-black-50));
25
+ color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));
26
26
  font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
27
27
  font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
28
28
  line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-xs));
@@ -1 +1 @@
1
- {"version":3,"file":"nile-inline-sidebar-item-body.css.js","sourceRoot":"","sources":["../../../src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2026\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\nexport const styles = css`\n\t:host {\n\t\tdisplay: block;\n\t\tmin-width: 0;\n\t\tfont-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));\n\t}\n\t.item-body {\n\t\tdisplay: flex;\n\t\talign-items: flex-start;\n\t\tmin-width: 0;\n\t\tpadding-top: var(--nile-spacing-xxsmall, var(--ng-spacing-xxs));\n\t}\n\t.body-content {\n\t\tbox-sizing: border-box;\n\t\tmin-width: 0;\n\t\tflex: 1 1 0%;\n\t\tmax-width: 100%;\n\t\tcolor: var(--nile-colors-dark-500, var(--ng-componentcolors-alpha-black-50));\n\t\tfont-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n\t\tfont-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n\t\tline-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-xs));\n\t}\n\t.body-content nile-lite-tooltip {\n\t\tdisplay: block;\n\t\tmin-width: 0;\n\t\tmax-width: 100%;\n\t}\n\t.body-text {\n\t\tdisplay: -webkit-box;\n\t\t-webkit-box-orient: vertical;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\tword-break: break-word;\n\t\toverflow-wrap: anywhere;\n\t\t-webkit-line-clamp: var(--line-clamp);\n\t\tline-clamp: var(--line-clamp);\n\t}\n\t/* Slotted block/paragraph nodes need the same clamp (slot composition) */\n\t.body-text ::slotted(*) {\n\t\tdisplay: -webkit-box;\n\t\t-webkit-box-orient: vertical;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\tword-break: break-word;\n\t\toverflow-wrap: anywhere;\n\t\t-webkit-line-clamp: var(--line-clamp);\n\t\tline-clamp: var(--line-clamp);\n\t\tmargin-block: 0;\n\t}\n\t:host([disabled]) .body-content {\n\t\tcolor: var(--nile-colors-neutral-300, var(--ng-colors-text-disabled));\n\t}\n`;\n\nexport default [styles];\n"]}
1
+ {"version":3,"file":"nile-inline-sidebar-item-body.css.js","sourceRoot":"","sources":["../../../src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2026\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\nexport const styles = css`\n\t:host {\n\t\tdisplay: block;\n\t\tmin-width: 0;\n\t\tfont-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));\n\t}\n\t.item-body {\n\t\tdisplay: flex;\n\t\talign-items: flex-start;\n\t\tmin-width: 0;\n\t\tpadding-top: var(--nile-spacing-xxsmall, var(--ng-spacing-xxs));\n\t}\n\t.body-content {\n\t\tbox-sizing: border-box;\n\t\tmin-width: 0;\n\t\tflex: 1 1 0%;\n\t\tmax-width: 100%;\n\t\tcolor: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));\n\t\tfont-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n\t\tfont-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n\t\tline-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-xs));\n\t}\n\t.body-content nile-lite-tooltip {\n\t\tdisplay: block;\n\t\tmin-width: 0;\n\t\tmax-width: 100%;\n\t}\n\t.body-text {\n\t\tdisplay: -webkit-box;\n\t\t-webkit-box-orient: vertical;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\tword-break: break-word;\n\t\toverflow-wrap: anywhere;\n\t\t-webkit-line-clamp: var(--line-clamp);\n\t\tline-clamp: var(--line-clamp);\n\t}\n\t/* Slotted block/paragraph nodes need the same clamp (slot composition) */\n\t.body-text ::slotted(*) {\n\t\tdisplay: -webkit-box;\n\t\t-webkit-box-orient: vertical;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\tword-break: break-word;\n\t\toverflow-wrap: anywhere;\n\t\t-webkit-line-clamp: var(--line-clamp);\n\t\tline-clamp: var(--line-clamp);\n\t\tmargin-block: 0;\n\t}\n\t:host([disabled]) .body-content {\n\t\tcolor: var(--nile-colors-neutral-300, var(--ng-colors-text-disabled));\n\t}\n`;\n\nexport default [styles];\n"]}
@@ -19,13 +19,13 @@ export const styles = css `
19
19
  .item-header .body-content .header-text {
20
20
  display: block;
21
21
  font-family: var(--nile-font-family-medium, var(--ng-font-family-body));
22
- font-weight: var(--nile-font-weight-semibold, var(--ng-font-weight-semibold));
22
+ font-weight: inherit;
23
23
  font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));
24
24
  line-height: var(--nile-line-height-medium, var(--ng-line-height-text-sm));
25
- color: var(--nile-colors-dark-500, var(--ng-colors-text-primary-900));
25
+ color: inherit;
26
26
  }
27
27
  :host([active]) .item-header .body-content .header-text {
28
- font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));
28
+ font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-semibold));
29
29
  color: var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700));
30
30
  }
31
31
 
@@ -1 +1 @@
1
- {"version":3,"file":"nile-inline-sidebar-item-header.css.js","sourceRoot":"","sources":["../../../src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2026\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\nexport const styles = css`\n\t:host {\n\t\tfont-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));\n\t}\n\t.item-header {\n\t\tdisplay: flex;\n\t\tgap: var(--nile-spacing-xs, var(--ng-spacing-xs));\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\talign-items: center;\n\t}\n\t.item-header .body-content .header-text {\n\t\tdisplay: block;\n\t\tfont-family: var(--nile-font-family-medium, var(--ng-font-family-body));\n\t\tfont-weight: var(--nile-font-weight-semibold, var(--ng-font-weight-semibold));\n\t\tfont-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n\t\tline-height: var(--nile-line-height-medium, var(--ng-line-height-text-sm));\n\t\tcolor: var(--nile-colors-dark-500, var(--ng-colors-text-primary-900));\n\t}\n\t:host([active]) .item-header .body-content .header-text {\n\t\tfont-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));\n\t\tcolor: var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700));\n\t}\n\n\t:host([disabled]) .item-header .body-content .header-text {\n\t\tcolor: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n\t}\n`;\n\nexport default [styles];\n"]}
1
+ {"version":3,"file":"nile-inline-sidebar-item-header.css.js","sourceRoot":"","sources":["../../../src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2026\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\nexport const styles = css`\n\t:host {\n\t\tfont-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));\n\t}\n\t.item-header {\n\t\tdisplay: flex;\n\t\tgap: var(--nile-spacing-xs, var(--ng-spacing-xs));\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\talign-items: center;\n\t}\n\t.item-header .body-content .header-text {\n\t\tdisplay: block;\n\t\tfont-family: var(--nile-font-family-medium, var(--ng-font-family-body));\n\t\tfont-weight: inherit;\n\t\tfont-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n\t\tline-height: var(--nile-line-height-medium, var(--ng-line-height-text-sm));\n\t\tcolor: inherit;\n\t}\n\t:host([active]) .item-header .body-content .header-text {\n\t\tfont-weight: var(--nile-font-weight-medium, var(--ng-font-weight-semibold));\n\t\tcolor: var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700));\n\t}\n\n\t:host([disabled]) .item-header .body-content .header-text {\n\t\tcolor: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n\t}\n`;\n\nexport default [styles];\n"]}
@@ -20,7 +20,7 @@ export const styles = css `
20
20
 
21
21
  .editor {
22
22
  width: 100%;
23
- border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-neutral));
23
+ border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
24
24
  border-radius: var(--nile-radius-radius-xl, var(--ng-radius-md));
25
25
  background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
26
26
  box-sizing: border-box;
@@ -42,7 +42,7 @@ export const styles = css `
42
42
  gap: 6px;
43
43
  flex-wrap: wrap;
44
44
  padding: 8px;
45
- border-bottom: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-neutral));
45
+ border-bottom: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));
46
46
  background: var(--nile-colors-neutral-100, var(--ng-colors-bg-secondary));
47
47
  border-radius: 8px 8px 0 0;
48
48
  width: 100%;
@@ -122,7 +122,7 @@ export const styles = css `
122
122
  display: inline-block;
123
123
  height: 24px;
124
124
  width: 1px;
125
- background: var(--nile-colors-neutral-400, var(--ng-colors-border-neutral));
125
+ background: var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));
126
126
  }
127
127
 
128
128
  .toolbar__glyph--heading {
@@ -158,7 +158,7 @@ export const styles = css `
158
158
  position: relative;
159
159
  width: 1px;
160
160
  align-self: stretch;
161
- background: var(--nile-colors-neutral-400, var(--ng-colors-border-neutral));
161
+ background: var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));
162
162
  cursor: col-resize;
163
163
  touch-action: none;
164
164
  }