@aquera/nile-elements 2.0.21 → 2.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (502) hide show
  1. package/README.md +76 -34
  2. package/demo/nxtgen-classes.css +24 -4
  3. package/demo/nxtgen-dark.css +30 -16
  4. package/demo/nxtgen-properties.css +9 -2
  5. package/demo/nxtgen-utilities.css +31 -4
  6. package/demo/nxtgen.css +8 -4
  7. package/demo/utilities.css +2 -2
  8. package/demo/variables.css +2 -2
  9. package/dist/index.cjs.js +1 -1
  10. package/dist/index.esm.js +1 -1
  11. package/dist/index.js +1954 -937
  12. package/dist/nile-app-shell/index.cjs.js +1 -1
  13. package/dist/nile-app-shell/index.esm.js +1 -1
  14. package/dist/nile-app-shell/nile-app-shell.cjs.js +1 -1
  15. package/dist/nile-app-shell/nile-app-shell.cjs.js.map +1 -1
  16. package/dist/nile-app-shell/nile-app-shell.css.cjs.js +1 -1
  17. package/dist/nile-app-shell/nile-app-shell.css.cjs.js.map +1 -1
  18. package/dist/nile-app-shell/nile-app-shell.css.esm.js +72 -65
  19. package/dist/nile-app-shell/nile-app-shell.esm.js +60 -31
  20. package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.cjs.js +1 -1
  21. package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.cjs.js.map +1 -1
  22. package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.esm.js +1 -1
  23. package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.cjs.js +1 -1
  24. package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.cjs.js.map +1 -1
  25. package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.css.cjs.js +1 -1
  26. package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.css.cjs.js.map +1 -1
  27. package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.css.esm.js +25 -7
  28. package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.esm.js +2 -2
  29. package/dist/nile-button-filter/nile-button-filter.cjs.js +1 -1
  30. package/dist/nile-button-filter/nile-button-filter.cjs.js.map +1 -1
  31. package/dist/nile-button-filter/nile-button-filter.css.cjs.js +1 -1
  32. package/dist/nile-button-filter/nile-button-filter.css.cjs.js.map +1 -1
  33. package/dist/nile-button-filter/nile-button-filter.css.esm.js +1 -1
  34. package/dist/nile-button-filter/nile-button-filter.esm.js +2 -4
  35. package/dist/nile-calendar/nile-calendar.css.cjs.js +1 -1
  36. package/dist/nile-calendar/nile-calendar.css.cjs.js.map +1 -1
  37. package/dist/nile-calendar/nile-calendar.css.esm.js +9 -8
  38. package/dist/nile-color-picker/nile-color-picker.css.cjs.js +1 -1
  39. package/dist/nile-color-picker/nile-color-picker.css.cjs.js.map +1 -1
  40. package/dist/nile-color-picker/nile-color-picker.css.esm.js +1 -1
  41. package/dist/nile-combobox/nile-combobox.css.cjs.js +1 -1
  42. package/dist/nile-combobox/nile-combobox.css.cjs.js.map +1 -1
  43. package/dist/nile-combobox/nile-combobox.css.esm.js +1 -1
  44. package/dist/nile-command-menu-item/nile-command-menu-item.css.cjs.js +1 -1
  45. package/dist/nile-command-menu-item/nile-command-menu-item.css.cjs.js.map +1 -1
  46. package/dist/nile-command-menu-item/nile-command-menu-item.css.esm.js +5 -1
  47. package/dist/nile-context-menu/nile-context-menu.css.cjs.js +1 -1
  48. package/dist/nile-context-menu/nile-context-menu.css.cjs.js.map +1 -1
  49. package/dist/nile-context-menu/nile-context-menu.css.esm.js +2 -3
  50. package/dist/nile-dropdown-switcher/index.cjs.js +2 -0
  51. package/dist/nile-dropdown-switcher/index.cjs.js.map +1 -0
  52. package/dist/nile-dropdown-switcher/index.esm.js +1 -0
  53. package/dist/nile-dropdown-switcher/nile-dropdown-switcher.cjs.js +2 -0
  54. package/dist/nile-dropdown-switcher/nile-dropdown-switcher.cjs.js.map +1 -0
  55. package/dist/nile-dropdown-switcher/nile-dropdown-switcher.css.cjs.js +2 -0
  56. package/dist/nile-dropdown-switcher/nile-dropdown-switcher.css.cjs.js.map +1 -0
  57. package/dist/nile-dropdown-switcher/nile-dropdown-switcher.css.esm.js +39 -0
  58. package/dist/nile-dropdown-switcher/nile-dropdown-switcher.esm.js +1 -0
  59. package/dist/nile-dropdown-switcher-group/index.cjs.js +2 -0
  60. package/dist/nile-dropdown-switcher-group/index.cjs.js.map +1 -0
  61. package/dist/nile-dropdown-switcher-group/index.esm.js +1 -0
  62. package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.cjs.js +2 -0
  63. package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.cjs.js.map +1 -0
  64. package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.cjs.js +2 -0
  65. package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.cjs.js.map +1 -0
  66. package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.esm.js +37 -0
  67. package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.esm.js +8 -0
  68. package/dist/nile-dropdown-switcher-header/index.cjs.js +2 -0
  69. package/dist/nile-dropdown-switcher-header/index.cjs.js.map +1 -0
  70. package/dist/nile-dropdown-switcher-header/index.esm.js +1 -0
  71. package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.cjs.js +2 -0
  72. package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.cjs.js.map +1 -0
  73. package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.cjs.js +2 -0
  74. package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.cjs.js.map +1 -0
  75. package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.esm.js +91 -0
  76. package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.esm.js +33 -0
  77. package/dist/nile-dropdown-switcher-item/index.cjs.js +2 -0
  78. package/dist/nile-dropdown-switcher-item/index.cjs.js.map +1 -0
  79. package/dist/nile-dropdown-switcher-item/index.esm.js +1 -0
  80. package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.cjs.js +2 -0
  81. package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.cjs.js.map +1 -0
  82. package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.cjs.js +2 -0
  83. package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.cjs.js.map +1 -0
  84. package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.esm.js +102 -0
  85. package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.esm.js +35 -0
  86. package/dist/nile-empty-state/nile-empty-state.cjs.js +1 -1
  87. package/dist/nile-empty-state/nile-empty-state.cjs.js.map +1 -1
  88. package/dist/nile-empty-state/nile-empty-state.esm.js +4 -4
  89. package/dist/nile-filter-chip/nile-filter-chip.css.cjs.js +1 -1
  90. package/dist/nile-filter-chip/nile-filter-chip.css.cjs.js.map +1 -1
  91. package/dist/nile-filter-chip/nile-filter-chip.css.esm.js +2 -2
  92. package/dist/nile-form-group/nile-form-group.css.cjs.js +1 -1
  93. package/dist/nile-form-group/nile-form-group.css.cjs.js.map +1 -1
  94. package/dist/nile-form-group/nile-form-group.css.esm.js +3 -3
  95. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js +1 -1
  96. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js.map +1 -1
  97. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.esm.js +20 -4
  98. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.cjs.js +1 -1
  99. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.cjs.js.map +1 -1
  100. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.esm.js +3 -3
  101. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.cjs.js +1 -1
  102. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.cjs.js.map +1 -1
  103. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.esm.js +3 -3
  104. package/dist/nile-markdown-editor/nile-markdown-editor.css.cjs.js +1 -1
  105. package/dist/nile-markdown-editor/nile-markdown-editor.css.cjs.js.map +1 -1
  106. package/dist/nile-markdown-editor/nile-markdown-editor.css.esm.js +4 -4
  107. package/dist/nile-menu/nile-menu.css.cjs.js +1 -1
  108. package/dist/nile-menu/nile-menu.css.cjs.js.map +1 -1
  109. package/dist/nile-menu/nile-menu.css.esm.js +1 -2
  110. package/dist/nile-menu-item/nile-menu-item.css.cjs.js +1 -1
  111. package/dist/nile-menu-item/nile-menu-item.css.cjs.js.map +1 -1
  112. package/dist/nile-menu-item/nile-menu-item.css.esm.js +6 -6
  113. package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js +1 -1
  114. package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js.map +1 -1
  115. package/dist/nile-nav-tab/nile-nav-tab.css.esm.js +3 -3
  116. package/dist/nile-nav-tab-group/nile-nav-tab-group.css.cjs.js +1 -1
  117. package/dist/nile-nav-tab-group/nile-nav-tab-group.css.cjs.js.map +1 -1
  118. package/dist/nile-nav-tab-group/nile-nav-tab-group.css.esm.js +15 -12
  119. package/dist/nile-option/nile-option.css.cjs.js +1 -1
  120. package/dist/nile-option/nile-option.css.cjs.js.map +1 -1
  121. package/dist/nile-option/nile-option.css.esm.js +2 -2
  122. package/dist/nile-pagination/nile-pagination.cjs.js +1 -1
  123. package/dist/nile-pagination/nile-pagination.cjs.js.map +1 -1
  124. package/dist/nile-pagination/nile-pagination.css.cjs.js +1 -1
  125. package/dist/nile-pagination/nile-pagination.css.cjs.js.map +1 -1
  126. package/dist/nile-pagination/nile-pagination.css.esm.js +10 -0
  127. package/dist/nile-pagination/nile-pagination.esm.js +14 -14
  128. package/dist/nile-side-bar/nile-side-bar.cjs.js +1 -1
  129. package/dist/nile-side-bar/nile-side-bar.cjs.js.map +1 -1
  130. package/dist/nile-side-bar/nile-side-bar.css.cjs.js +1 -1
  131. package/dist/nile-side-bar/nile-side-bar.css.cjs.js.map +1 -1
  132. package/dist/nile-side-bar/nile-side-bar.css.esm.js +16 -14
  133. package/dist/nile-side-bar/nile-side-bar.esm.js +2 -2
  134. package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.cjs.js +1 -1
  135. package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.cjs.js.map +1 -1
  136. package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.esm.js +11 -4
  137. package/dist/nile-side-bar-footer/nile-side-bar-footer.cjs.js.map +1 -1
  138. package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js +1 -1
  139. package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js.map +1 -1
  140. package/dist/nile-side-bar-footer/nile-side-bar-footer.css.esm.js +8 -3
  141. package/dist/nile-side-bar-footer-item/index.cjs.js +1 -1
  142. package/dist/nile-side-bar-footer-item/index.esm.js +1 -1
  143. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js +1 -1
  144. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js.map +1 -1
  145. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js +1 -1
  146. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js.map +1 -1
  147. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.esm.js +181 -25
  148. package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.esm.js +10 -3
  149. package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.cjs.js +1 -1
  150. package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.cjs.js.map +1 -1
  151. package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.esm.js +10 -5
  152. package/dist/nile-side-bar-group/nile-side-bar-group.cjs.js +1 -1
  153. package/dist/nile-side-bar-group/nile-side-bar-group.cjs.js.map +1 -1
  154. package/dist/nile-side-bar-group/nile-side-bar-group.css.cjs.js +1 -1
  155. package/dist/nile-side-bar-group/nile-side-bar-group.css.cjs.js.map +1 -1
  156. package/dist/nile-side-bar-group/nile-side-bar-group.css.esm.js +52 -9
  157. package/dist/nile-side-bar-group/nile-side-bar-group.esm.js +4 -4
  158. package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.cjs.js +1 -1
  159. package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.cjs.js.map +1 -1
  160. package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.esm.js +53 -8
  161. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.cjs.js +1 -1
  162. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.cjs.js.map +1 -1
  163. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.cjs.js +1 -1
  164. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.cjs.js.map +1 -1
  165. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.esm.js +13 -4
  166. package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.esm.js +4 -4
  167. package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.cjs.js +1 -1
  168. package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.cjs.js.map +1 -1
  169. package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.esm.js +9 -6
  170. package/dist/nile-side-bar-header/nile-side-bar-header.cjs.js.map +1 -1
  171. package/dist/nile-side-bar-header/nile-side-bar-header.css.cjs.js +1 -1
  172. package/dist/nile-side-bar-header/nile-side-bar-header.css.cjs.js.map +1 -1
  173. package/dist/nile-side-bar-header/nile-side-bar-header.css.esm.js +12 -5
  174. package/dist/nile-side-bar-header-switcher/index.cjs.js +2 -0
  175. package/dist/nile-side-bar-header-switcher/index.cjs.js.map +1 -0
  176. package/dist/nile-side-bar-header-switcher/index.esm.js +1 -0
  177. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.cjs.js +2 -0
  178. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.cjs.js.map +1 -0
  179. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.cjs.js +2 -0
  180. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.cjs.js.map +1 -0
  181. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.esm.js +83 -0
  182. package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.esm.js +24 -0
  183. package/dist/nile-side-bar-search/index.cjs.js +2 -0
  184. package/dist/nile-side-bar-search/index.cjs.js.map +1 -0
  185. package/dist/nile-side-bar-search/index.esm.js +1 -0
  186. package/dist/nile-side-bar-search/nile-side-bar-search.cjs.js +2 -0
  187. package/dist/nile-side-bar-search/nile-side-bar-search.cjs.js.map +1 -0
  188. package/dist/nile-side-bar-search/nile-side-bar-search.css.cjs.js +2 -0
  189. package/dist/nile-side-bar-search/nile-side-bar-search.css.cjs.js.map +1 -0
  190. package/dist/nile-side-bar-search/nile-side-bar-search.css.esm.js +103 -0
  191. package/dist/nile-side-bar-search/nile-side-bar-search.esm.js +25 -0
  192. package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js +1 -1
  193. package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js.map +1 -1
  194. package/dist/nile-slide-toggle/nile-slide-toggle.css.esm.js +1 -1
  195. package/dist/nile-tooltip/nile-tooltip.css.cjs.js +1 -1
  196. package/dist/nile-tooltip/nile-tooltip.css.cjs.js.map +1 -1
  197. package/dist/nile-tooltip/nile-tooltip.css.esm.js +7 -5
  198. package/dist/nile-virtual-select/nile-virtual-select.css.cjs.js +1 -1
  199. package/dist/nile-virtual-select/nile-virtual-select.css.cjs.js.map +1 -1
  200. package/dist/nile-virtual-select/nile-virtual-select.css.esm.js +1 -1
  201. package/dist/nile-wysiwyg-editor/index.cjs.js +1 -1
  202. package/dist/nile-wysiwyg-editor/index.esm.js +1 -1
  203. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.cjs.js +1 -1
  204. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.cjs.js.map +1 -1
  205. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.cjs.js +1 -1
  206. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.cjs.js.map +1 -1
  207. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.esm.js +75 -3
  208. package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.esm.js +3 -2
  209. package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.cjs.js +1 -1
  210. package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.cjs.js.map +1 -1
  211. package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.esm.js +3 -3
  212. package/dist/nile-wysiwyg-editor/types.cjs.js +1 -1
  213. package/dist/nile-wysiwyg-editor/types.cjs.js.map +1 -1
  214. package/dist/nile-wysiwyg-editor/types.esm.js +1 -1
  215. package/dist/src/index.d.ts +6 -0
  216. package/dist/src/index.js +6 -0
  217. package/dist/src/index.js.map +1 -1
  218. package/dist/src/nile-app-shell/nile-app-shell.css.js +70 -63
  219. package/dist/src/nile-app-shell/nile-app-shell.css.js.map +1 -1
  220. package/dist/src/nile-app-shell/nile-app-shell.d.ts +40 -7
  221. package/dist/src/nile-app-shell/nile-app-shell.js +192 -41
  222. package/dist/src/nile-app-shell/nile-app-shell.js.map +1 -1
  223. package/dist/src/nile-app-shell/nile-app-shell.test.d.ts +2 -0
  224. package/dist/src/nile-app-shell/nile-app-shell.test.js +272 -1020
  225. package/dist/src/nile-app-shell/nile-app-shell.test.js.map +1 -1
  226. package/dist/src/nile-app-shell/zz-layout.test.d.ts +15 -0
  227. package/dist/src/nile-app-shell/zz-layout.test.js +253 -0
  228. package/dist/src/nile-app-shell/zz-layout.test.js.map +1 -0
  229. package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.js +1 -1
  230. package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.js.map +1 -1
  231. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.js +24 -6
  232. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.js.map +1 -1
  233. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.d.ts +8 -2
  234. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.js +56 -2
  235. package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.js.map +1 -1
  236. package/dist/src/nile-button-filter/nile-button-filter.css.js +1 -1
  237. package/dist/src/nile-button-filter/nile-button-filter.css.js.map +1 -1
  238. package/dist/src/nile-button-filter/nile-button-filter.js +1 -3
  239. package/dist/src/nile-button-filter/nile-button-filter.js.map +1 -1
  240. package/dist/src/nile-calendar/nile-calendar.css.js +9 -8
  241. package/dist/src/nile-calendar/nile-calendar.css.js.map +1 -1
  242. package/dist/src/nile-color-picker/nile-color-picker.css.js +3 -3
  243. package/dist/src/nile-color-picker/nile-color-picker.css.js.map +1 -1
  244. package/dist/src/nile-combobox/nile-combobox.css.js +1 -1
  245. package/dist/src/nile-combobox/nile-combobox.css.js.map +1 -1
  246. package/dist/src/nile-command-menu-item/nile-command-menu-item.css.js +5 -1
  247. package/dist/src/nile-command-menu-item/nile-command-menu-item.css.js.map +1 -1
  248. package/dist/src/nile-context-menu/nile-context-menu.css.js +2 -4
  249. package/dist/src/nile-context-menu/nile-context-menu.css.js.map +1 -1
  250. package/dist/src/nile-dropdown-switcher/index.d.ts +1 -0
  251. package/dist/src/nile-dropdown-switcher/index.js +2 -0
  252. package/dist/src/nile-dropdown-switcher/index.js.map +1 -0
  253. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.css.d.ts +10 -0
  254. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.css.js +49 -0
  255. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.css.js.map +1 -0
  256. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.d.ts +101 -0
  257. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.js +463 -0
  258. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.js.map +1 -0
  259. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.test.d.ts +4 -0
  260. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.test.js +506 -0
  261. package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.test.js.map +1 -0
  262. package/dist/src/nile-dropdown-switcher-group/index.d.ts +1 -0
  263. package/dist/src/nile-dropdown-switcher-group/index.js +2 -0
  264. package/dist/src/nile-dropdown-switcher-group/index.js.map +1 -0
  265. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.d.ts +12 -0
  266. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.js +49 -0
  267. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.js.map +1 -0
  268. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.d.ts +37 -0
  269. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.js +72 -0
  270. package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.js.map +1 -0
  271. package/dist/src/nile-dropdown-switcher-header/index.d.ts +1 -0
  272. package/dist/src/nile-dropdown-switcher-header/index.js +2 -0
  273. package/dist/src/nile-dropdown-switcher-header/index.js.map +1 -0
  274. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.d.ts +12 -0
  275. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.js +103 -0
  276. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.js.map +1 -0
  277. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.d.ts +46 -0
  278. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.js +105 -0
  279. package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.js.map +1 -0
  280. package/dist/src/nile-dropdown-switcher-item/index.d.ts +1 -0
  281. package/dist/src/nile-dropdown-switcher-item/index.js +2 -0
  282. package/dist/src/nile-dropdown-switcher-item/index.js.map +1 -0
  283. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.d.ts +10 -0
  284. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.js +112 -0
  285. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.js.map +1 -0
  286. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.d.ts +55 -0
  287. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.js +154 -0
  288. package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.js.map +1 -0
  289. package/dist/src/nile-empty-state/nile-empty-state.d.ts +5 -0
  290. package/dist/src/nile-empty-state/nile-empty-state.js +11 -2
  291. package/dist/src/nile-empty-state/nile-empty-state.js.map +1 -1
  292. package/dist/src/nile-empty-state/nile-empty-state.test.js +31 -0
  293. package/dist/src/nile-empty-state/nile-empty-state.test.js.map +1 -1
  294. package/dist/src/nile-filter-chip/nile-filter-chip.css.js +2 -2
  295. package/dist/src/nile-filter-chip/nile-filter-chip.css.js.map +1 -1
  296. package/dist/src/nile-form-group/nile-form-group.css.js +1 -1
  297. package/dist/src/nile-form-group/nile-form-group.css.js.map +1 -1
  298. package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js +20 -4
  299. package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js.map +1 -1
  300. package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.js +1 -1
  301. package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.js.map +1 -1
  302. package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.js +3 -3
  303. package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.js.map +1 -1
  304. package/dist/src/nile-markdown-editor/nile-markdown-editor.css.js +4 -4
  305. package/dist/src/nile-markdown-editor/nile-markdown-editor.css.js.map +1 -1
  306. package/dist/src/nile-menu/nile-menu.css.js +1 -2
  307. package/dist/src/nile-menu/nile-menu.css.js.map +1 -1
  308. package/dist/src/nile-menu-item/nile-menu-item.css.js +4 -4
  309. package/dist/src/nile-menu-item/nile-menu-item.css.js.map +1 -1
  310. package/dist/src/nile-nav-tab/nile-nav-tab.css.js +3 -3
  311. package/dist/src/nile-nav-tab/nile-nav-tab.css.js.map +1 -1
  312. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.css.js +15 -12
  313. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.css.js.map +1 -1
  314. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.test.js +111 -0
  315. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.test.js.map +1 -1
  316. package/dist/src/nile-option/nile-option.css.js +2 -2
  317. package/dist/src/nile-option/nile-option.css.js.map +1 -1
  318. package/dist/src/nile-pagination/nile-pagination.css.js +10 -0
  319. package/dist/src/nile-pagination/nile-pagination.css.js.map +1 -1
  320. package/dist/src/nile-pagination/nile-pagination.d.ts +2 -0
  321. package/dist/src/nile-pagination/nile-pagination.js +13 -9
  322. package/dist/src/nile-pagination/nile-pagination.js.map +1 -1
  323. package/dist/src/nile-side-bar/nile-side-bar.css.js +14 -12
  324. package/dist/src/nile-side-bar/nile-side-bar.css.js.map +1 -1
  325. package/dist/src/nile-side-bar/nile-side-bar.d.ts +17 -0
  326. package/dist/src/nile-side-bar/nile-side-bar.js +68 -12
  327. package/dist/src/nile-side-bar/nile-side-bar.js.map +1 -1
  328. package/dist/src/nile-side-bar/nile-side-bar.test.d.ts +23 -0
  329. package/dist/src/nile-side-bar/nile-side-bar.test.js +1614 -1
  330. package/dist/src/nile-side-bar/nile-side-bar.test.js.map +1 -1
  331. package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.js +11 -4
  332. package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.js.map +1 -1
  333. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js +8 -3
  334. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js.map +1 -1
  335. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.d.ts +7 -5
  336. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.js +7 -5
  337. package/dist/src/nile-side-bar-footer/nile-side-bar-footer.js.map +1 -1
  338. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js +179 -23
  339. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js.map +1 -1
  340. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.d.ts +15 -0
  341. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.js +82 -2
  342. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.js.map +1 -1
  343. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.d.ts +9 -0
  344. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.js +201 -0
  345. package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.js.map +1 -0
  346. package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.js +8 -3
  347. package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.js.map +1 -1
  348. package/dist/src/nile-side-bar-group/nile-side-bar-group.css.js +50 -7
  349. package/dist/src/nile-side-bar-group/nile-side-bar-group.css.js.map +1 -1
  350. package/dist/src/nile-side-bar-group/nile-side-bar-group.d.ts +35 -0
  351. package/dist/src/nile-side-bar-group/nile-side-bar-group.js +90 -3
  352. package/dist/src/nile-side-bar-group/nile-side-bar-group.js.map +1 -1
  353. package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.css.js +52 -7
  354. package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.css.js.map +1 -1
  355. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.js +11 -2
  356. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.js.map +1 -1
  357. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.d.ts +11 -2
  358. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.js +21 -15
  359. package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.js.map +1 -1
  360. package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.js +7 -4
  361. package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.js.map +1 -1
  362. package/dist/src/nile-side-bar-header/nile-side-bar-app-shell.test.js +22 -17
  363. package/dist/src/nile-side-bar-header/nile-side-bar-app-shell.test.js.map +1 -1
  364. package/dist/src/nile-side-bar-header/nile-side-bar-header-surface.test.d.ts +4 -0
  365. package/dist/src/nile-side-bar-header/nile-side-bar-header-surface.test.js +143 -0
  366. package/dist/src/nile-side-bar-header/nile-side-bar-header-surface.test.js.map +1 -0
  367. package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js +10 -3
  368. package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js.map +1 -1
  369. package/dist/src/nile-side-bar-header/nile-side-bar-header.d.ts +7 -5
  370. package/dist/src/nile-side-bar-header/nile-side-bar-header.js +7 -5
  371. package/dist/src/nile-side-bar-header/nile-side-bar-header.js.map +1 -1
  372. package/dist/src/nile-side-bar-header-switcher/index.d.ts +1 -0
  373. package/dist/src/nile-side-bar-header-switcher/index.js +2 -0
  374. package/dist/src/nile-side-bar-header-switcher/index.js.map +1 -0
  375. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.d.ts +14 -0
  376. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.js +97 -0
  377. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.js.map +1 -0
  378. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.d.ts +38 -0
  379. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.js +86 -0
  380. package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.js.map +1 -0
  381. package/dist/src/nile-side-bar-search/index.d.ts +1 -0
  382. package/dist/src/nile-side-bar-search/index.js +2 -0
  383. package/dist/src/nile-side-bar-search/index.js.map +1 -0
  384. package/dist/src/nile-side-bar-search/nile-side-bar-search.css.d.ts +15 -0
  385. package/dist/src/nile-side-bar-search/nile-side-bar-search.css.js +118 -0
  386. package/dist/src/nile-side-bar-search/nile-side-bar-search.css.js.map +1 -0
  387. package/dist/src/nile-side-bar-search/nile-side-bar-search.d.ts +56 -0
  388. package/dist/src/nile-side-bar-search/nile-side-bar-search.js +150 -0
  389. package/dist/src/nile-side-bar-search/nile-side-bar-search.js.map +1 -0
  390. package/dist/src/nile-side-bar-search/nile-side-bar-search.test.d.ts +3 -0
  391. package/dist/src/nile-side-bar-search/nile-side-bar-search.test.js +153 -0
  392. package/dist/src/nile-side-bar-search/nile-side-bar-search.test.js.map +1 -0
  393. package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js +1 -1
  394. package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js.map +1 -1
  395. package/dist/src/nile-tooltip/nile-tooltip.css.js +7 -5
  396. package/dist/src/nile-tooltip/nile-tooltip.css.js.map +1 -1
  397. package/dist/src/nile-virtual-select/nile-virtual-select.css.js +1 -1
  398. package/dist/src/nile-virtual-select/nile-virtual-select.css.js.map +1 -1
  399. package/dist/src/nile-wysiwyg-editor/index.d.ts +2 -1
  400. package/dist/src/nile-wysiwyg-editor/index.js +1 -1
  401. package/dist/src/nile-wysiwyg-editor/index.js.map +1 -1
  402. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.js +77 -2
  403. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.js.map +1 -1
  404. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.d.ts +20 -0
  405. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.js +37 -1
  406. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.js.map +1 -1
  407. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.test.js +108 -0
  408. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.test.js.map +1 -1
  409. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.js +3 -3
  410. package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.js.map +1 -1
  411. package/dist/src/nile-wysiwyg-editor/types.d.ts +8 -0
  412. package/dist/src/nile-wysiwyg-editor/types.js +50 -0
  413. package/dist/src/nile-wysiwyg-editor/types.js.map +1 -1
  414. package/dist/src/version.js +1 -1
  415. package/dist/src/version.js.map +1 -1
  416. package/dist/tsconfig.tsbuildinfo +1 -1
  417. package/dist/version.cjs.js +1 -1
  418. package/dist/version.cjs.js.map +1 -1
  419. package/dist/version.esm.js +1 -1
  420. package/package.json +1 -1
  421. package/src/index.ts +6 -0
  422. package/src/nile-app-shell/nile-app-shell.css.ts +70 -63
  423. package/src/nile-app-shell/nile-app-shell.test.ts +332 -1227
  424. package/src/nile-app-shell/nile-app-shell.ts +223 -44
  425. package/src/nile-app-shell/zz-layout.test.ts +271 -0
  426. package/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.ts +1 -5
  427. package/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.ts +24 -6
  428. package/src/nile-app-shell-side-nav/nile-app-shell-side-nav.ts +62 -2
  429. package/src/nile-button-filter/nile-button-filter.css.ts +1 -1
  430. package/src/nile-button-filter/nile-button-filter.ts +1 -3
  431. package/src/nile-calendar/nile-calendar.css.ts +9 -8
  432. package/src/nile-color-picker/nile-color-picker.css.ts +3 -3
  433. package/src/nile-combobox/nile-combobox.css.ts +1 -1
  434. package/src/nile-command-menu-item/nile-command-menu-item.css.ts +5 -1
  435. package/src/nile-context-menu/nile-context-menu.css.ts +2 -4
  436. package/src/nile-dropdown-switcher/index.ts +1 -0
  437. package/src/nile-dropdown-switcher/nile-dropdown-switcher.css.ts +51 -0
  438. package/src/nile-dropdown-switcher/nile-dropdown-switcher.test.ts +570 -0
  439. package/src/nile-dropdown-switcher/nile-dropdown-switcher.ts +502 -0
  440. package/src/nile-dropdown-switcher-group/index.ts +1 -0
  441. package/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.ts +51 -0
  442. package/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.ts +78 -0
  443. package/src/nile-dropdown-switcher-header/index.ts +1 -0
  444. package/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.ts +105 -0
  445. package/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.ts +105 -0
  446. package/src/nile-dropdown-switcher-item/index.ts +1 -0
  447. package/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.ts +114 -0
  448. package/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.ts +151 -0
  449. package/src/nile-empty-state/nile-empty-state.test.ts +24 -0
  450. package/src/nile-empty-state/nile-empty-state.ts +12 -2
  451. package/src/nile-filter-chip/nile-filter-chip.css.ts +2 -2
  452. package/src/nile-form-group/nile-form-group.css.ts +1 -1
  453. package/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.ts +20 -4
  454. package/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.ts +1 -1
  455. package/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.ts +3 -3
  456. package/src/nile-markdown-editor/nile-markdown-editor.css.ts +4 -4
  457. package/src/nile-menu/nile-menu.css.ts +1 -2
  458. package/src/nile-menu-item/nile-menu-item.css.ts +4 -4
  459. package/src/nile-nav-tab/nile-nav-tab.css.ts +3 -3
  460. package/src/nile-nav-tab-group/nile-nav-tab-group.css.ts +15 -12
  461. package/src/nile-nav-tab-group/nile-nav-tab-group.test.ts +130 -0
  462. package/src/nile-option/nile-option.css.ts +2 -2
  463. package/src/nile-pagination/nile-pagination.css.ts +10 -0
  464. package/src/nile-pagination/nile-pagination.ts +14 -9
  465. package/src/nile-side-bar/nile-side-bar.css.ts +14 -12
  466. package/src/nile-side-bar/nile-side-bar.test.ts +1854 -2
  467. package/src/nile-side-bar/nile-side-bar.ts +72 -15
  468. package/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.ts +11 -4
  469. package/src/nile-side-bar-footer/nile-side-bar-footer.css.ts +8 -3
  470. package/src/nile-side-bar-footer/nile-side-bar-footer.ts +7 -5
  471. package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.ts +179 -23
  472. package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.ts +219 -0
  473. package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.ts +84 -2
  474. package/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.ts +8 -3
  475. package/src/nile-side-bar-group/nile-side-bar-group.css.ts +50 -7
  476. package/src/nile-side-bar-group/nile-side-bar-group.ts +100 -2
  477. package/src/nile-side-bar-group-item/nile-side-bar-group-item.css.ts +52 -7
  478. package/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.ts +11 -2
  479. package/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.ts +22 -19
  480. package/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.ts +7 -4
  481. package/src/nile-side-bar-header/nile-side-bar-app-shell.test.ts +22 -17
  482. package/src/nile-side-bar-header/nile-side-bar-header-surface.test.ts +175 -0
  483. package/src/nile-side-bar-header/nile-side-bar-header.css.ts +10 -3
  484. package/src/nile-side-bar-header/nile-side-bar-header.ts +7 -5
  485. package/src/nile-side-bar-header-switcher/index.ts +1 -0
  486. package/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.ts +99 -0
  487. package/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.ts +88 -0
  488. package/src/nile-side-bar-search/index.ts +1 -0
  489. package/src/nile-side-bar-search/nile-side-bar-search.css.ts +120 -0
  490. package/src/nile-side-bar-search/nile-side-bar-search.test.ts +175 -0
  491. package/src/nile-side-bar-search/nile-side-bar-search.ts +160 -0
  492. package/src/nile-slide-toggle/nile-slide-toggle.css.ts +1 -1
  493. package/src/nile-tooltip/nile-tooltip.css.ts +7 -5
  494. package/src/nile-virtual-select/nile-virtual-select.css.ts +1 -1
  495. package/src/nile-wysiwyg-editor/index.ts +2 -1
  496. package/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.ts +78 -2
  497. package/src/nile-wysiwyg-editor/nile-wysiwyg-editor.test.ts +132 -0
  498. package/src/nile-wysiwyg-editor/nile-wysiwyg-editor.ts +40 -1
  499. package/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.ts +3 -3
  500. package/src/nile-wysiwyg-editor/types.ts +52 -0
  501. package/test-timings.json +0 -1
  502. package/vscode-html-custom-data.json +372 -24
@@ -0,0 +1,102 @@
1
+ import{css as e}from"lit";const i=e`
2
+ :host {
3
+ box-sizing: border-box;
4
+ display: block;
5
+ }
6
+
7
+ :host *,
8
+ :host *::before,
9
+ :host *::after {
10
+ box-sizing: inherit;
11
+ }
12
+
13
+ :host([disabled]) {
14
+ pointer-events: none;
15
+ }
16
+
17
+ :host(:focus-visible) {
18
+ outline: none;
19
+ }
20
+
21
+ .item {
22
+ display: flex;
23
+ align-items: center;
24
+ gap: var(--nile-spacing-md, var(--ng-spacing-md));
25
+ padding: var(--nile-spacing-xs, var(--ng-spacing-xs)) var(--nile-spacing-sm, var(--ng-spacing-sm));
26
+ border-radius: var(--nile-radius-sm, var(--ng-radius-sm));
27
+ background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
28
+ cursor: pointer;
29
+ }
30
+
31
+ :host(:hover) .item,
32
+ :host(:focus-visible) .item {
33
+ background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary-hover));
34
+ }
35
+
36
+ .item--disabled {
37
+ opacity: var(--nile-opacity-disabled, 0.5);
38
+ cursor: not-allowed;
39
+ }
40
+
41
+ .item__icon {
42
+ flex: 0 0 auto;
43
+ display: inline-flex;
44
+ align-items: center;
45
+ justify-content: center;
46
+ width: var(--nile-height-32px, var(--ng-height-32px));
47
+ height: var(--nile-height-32px, var(--ng-height-32px));
48
+ border-radius: var(--nile-radius-sm, var(--ng-radius-sm));
49
+ overflow: hidden;
50
+ }
51
+
52
+ /* No icon slotted: collapse the tile so the label (and the flex gap) don't leave a blank 32px. */
53
+ .item__icon--empty {
54
+ display: none;
55
+ }
56
+
57
+ ::slotted([slot='icon']) {
58
+ width: 100%;
59
+ height: 100%;
60
+ }
61
+
62
+ .item__text {
63
+ flex: 1 1 auto;
64
+ min-width: 0;
65
+ display: flex;
66
+ flex-direction: column;
67
+ }
68
+
69
+ .item__label {
70
+ display: block;
71
+ white-space: nowrap;
72
+ overflow: hidden;
73
+ text-overflow: ellipsis;
74
+ font-family: var(--nile-font-family-serif, var(--ng-font-family-body));
75
+ font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
76
+ line-height: var(--nile-line-height-xs, var(--ng-line-height-text-xs));
77
+ font-weight: var(--nile-font-weight-semibold, var(--ng-font-weight-semibold));
78
+ color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
79
+ }
80
+
81
+ .item__description {
82
+ display: block;
83
+ white-space: nowrap;
84
+ overflow: hidden;
85
+ text-overflow: ellipsis;
86
+ font-family: var(--nile-font-family-serif, var(--ng-font-family-body));
87
+ font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
88
+ line-height: var(--nile-line-height-xs, var(--ng-line-height-text-xs));
89
+ font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
90
+ color: var(--nile-colors-dark-500, var(--ng-colors-text-quaternary-500));
91
+ }
92
+
93
+ .item__check {
94
+ flex: 0 0 auto;
95
+ display: inline-flex;
96
+ align-items: center;
97
+ justify-content: center;
98
+ width: var(--nile-height-16px, var(--ng-height-16px));
99
+ height: var(--nile-height-16px, var(--ng-height-16px));
100
+ color: var(--nile-colors-primary-600, var(--ng-colors-border-brand-alt));
101
+ }
102
+ `;export{i as s};
@@ -0,0 +1,35 @@
1
+ import{__decorate as t}from"tslib";import{nothing as e,html as s}from"lit";import{query as i,property as a,customElement as r}from"lit/decorators.js";import{classMap as l}from"lit/directives/class-map.js";import{s as o}from"./nile-dropdown-switcher-item.css.esm.js";import{H as n,g as c}from"../internal/slot.esm.js";import{w as m}from"../internal/watch.esm.js";import{N as h}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let d=class extends h{constructor(){super(...arguments),this.hasSlotController=new n(this,"[default]","icon","description"),this.value="",this.label="",this.description="",this.selected=!1,this.disabled=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menuitemradio"),this.hasAttribute("tabindex")||this.setAttribute("tabindex","-1"),this._syncAria()}_syncAria(){this.setAttribute("aria-checked",this.selected?"true":"false"),this.setAttribute("aria-disabled",this.disabled?"true":"false")}_handleDefaultSlotChange(){const t=this.getTextLabel();void 0!==this.cachedTextLabel?t!==this.cachedTextLabel&&(this.cachedTextLabel=t,this.emit("slotchange")):this.cachedTextLabel=t}getTextLabel(){return c(this.defaultSlot)}_renderCheck(){return this.selected?s`
2
+ <span part="check" class="item__check" aria-hidden="true">
3
+ <nile-glyph
4
+ name="ng-check"
5
+ method="stroke"
6
+ size="16"
7
+ color="currentColor"
8
+ ></nile-glyph>
9
+ </span>
10
+ `:e}render(){return s`
11
+ <div
12
+ part="base"
13
+ class=${l({item:!0,"item--selected":this.selected,"item--disabled":this.disabled})}
14
+ >
15
+ <span
16
+ part="icon"
17
+ class=${l({item__icon:!0,"item__icon--empty":!this.hasSlotController.test("icon")})}
18
+ >
19
+ <slot name="icon"></slot>
20
+ </span>
21
+
22
+ <span class="item__text">
23
+ <span part="label" class="item__label">
24
+ <slot class="item__label-slot" @slotchange=${this._handleDefaultSlotChange}></slot
25
+ >${this.hasSlotController.test("[default]")?e:this.label}
26
+ </span>
27
+
28
+ ${this.description||this.hasSlotController.test("description")?s`<span part="description" class="item__description">
29
+ <slot name="description">${this.description}</slot>
30
+ </span>`:e}
31
+ </span>
32
+
33
+ ${this._renderCheck()}
34
+ </div>
35
+ `}};d.styles=o,t([i(".item__label-slot")],d.prototype,"defaultSlot",void 0),t([a({attribute:!0,reflect:!0})],d.prototype,"value",void 0),t([a({attribute:!0})],d.prototype,"label",void 0),t([a({attribute:!0})],d.prototype,"description",void 0),t([a({type:Boolean,attribute:!0,reflect:!0})],d.prototype,"selected",void 0),t([a({type:Boolean,attribute:!0,reflect:!0})],d.prototype,"disabled",void 0),t([m(["selected","disabled"])],d.prototype,"_syncAria",null),d=t([r("nile-dropdown-switcher-item")],d);export{d as N};
@@ -1,2 +1,2 @@
1
- function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","lit/directives/class-map.js","./nile-empty-state.css.cjs.js","../internal/nile-element.cjs.js","lit/directives/if-defined.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var t,e,i,s,r,o,n,a,l,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7,_templateObject8,_templateObject9,c,p,h;function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_lit){e=_lit.html;i=_lit.nothing;},function(_litDecoratorsJs){s=_litDecoratorsJs.property;r=_litDecoratorsJs.customElement;},function(_litDirectivesClassMapJs){o=_litDirectivesClassMapJs.classMap;},function(_nileEmptyStateCssCjsJs){n=_nileEmptyStateCssCjsJs.s;},function(_internalNileElementCjsJs){a=_internalNileElementCjsJs.N;},function(_litDirectivesIfDefinedJs){l=_litDirectivesIfDefinedJs.ifDefined;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){c={empty:{icon:"ng-database",tone:"neutral",role:"status",live:"polite",text:"No data yet",subText:"Rows appear here once there's something to show."},"no-results":{icon:"ng-search-lg",tone:"neutral",role:"status",live:"polite",text:"No matches",subText:"Try removing a filter or broadening your search."},"not-found":{icon:"ng-file-06",tone:"warning",role:"status",live:"polite",text:"We couldn't find that",subText:"It may have been moved or deleted."},"no-access":{icon:"ng-lock",tone:"warning",role:"status",live:"polite",text:"You don't have access",subText:"Ask an admin to grant you access to this resource."},error:{icon:"ng-alert-circle",tone:"error",role:"alert",live:"assertive",text:"Something went wrong",subText:"We couldn't load this. Try again."},offline:{icon:"ng-cloud-off",tone:"error",role:"alert",live:"assertive",text:"Connection lost",subText:"Check your connection and try again."}},p={neutral:void 0,info:"var(--nile-colors-primary-600, var(--ng-colors-fg-brand-primary-600))",warning:"var(--nile-colors-yellow-700, var(--ng-colors-fg-warning-primary))",error:"var(--nile-colors-red-700, var(--ng-colors-fg-error-primary))"};_export("N",h=/*#__PURE__*/function(_a){function h(){var _this;_classCallCheck(this,h);_this=_callSuper(this,h,arguments),_this.size="md",_this.variant="tonal",_this.layout="stack",_this.bordered=!1;return _this;}_inherits(h,_a);return _createClass(h,[{key:"icon",get:function get(){var _ref,_this$_icon,_this$preset;return(_ref=(_this$_icon=this._icon)!==null&&_this$_icon!==void 0?_this$_icon:(_this$preset=this.preset)===null||_this$preset===void 0?void 0:_this$preset.icon)!==null&&_ref!==void 0?_ref:"ng-x-circle";},set:function set(t){var e=this.icon;this._icon=t!==null&&t!==void 0?t:void 0,this.requestUpdate("icon",e);}},{key:"text",get:function get(){var _ref2,_this$_text,_this$preset2;return(_ref2=(_this$_text=this._text)!==null&&_this$_text!==void 0?_this$_text:(_this$preset2=this.preset)===null||_this$preset2===void 0?void 0:_this$preset2.text)!==null&&_ref2!==void 0?_ref2:"Empty State";},set:function set(t){var e=this.text;this._text=t!==null&&t!==void 0?t:void 0,this.requestUpdate("text",e);}},{key:"subText",get:function get(){var _ref3,_this$_subText,_this$preset3;return(_ref3=(_this$_subText=this._subText)!==null&&_this$_subText!==void 0?_this$_subText:(_this$preset3=this.preset)===null||_this$preset3===void 0?void 0:_this$preset3.subText)!==null&&_ref3!==void 0?_ref3:"No Data";},set:function set(t){var e=this.subText;this._subText=t!==null&&t!==void 0?t:void 0,this.requestUpdate("subText",e);}},{key:"tone",get:function get(){var _ref4,_this$_tone,_this$preset4;return(_ref4=(_this$_tone=this._tone)!==null&&_this$_tone!==void 0?_this$_tone:(_this$preset4=this.preset)===null||_this$preset4===void 0?void 0:_this$preset4.tone)!==null&&_ref4!==void 0?_ref4:"neutral";},set:function set(t){var e=this.tone;this._tone=t!==null&&t!==void 0?t:void 0,this.requestUpdate("tone",e);}},{key:"preset",get:function get(){return this.status?c[this.status]:void 0;}},{key:"glyphColor",get:function get(){var _this$svgIconColor;return(_this$svgIconColor=this.svgIconColor)!==null&&_this$svgIconColor!==void 0?_this$svgIconColor:p[this.tone];}},{key:"liveRegion",get:function get(){var t=this.preset;if(t)return{role:t.role,live:t.live};}},{key:"renderGlyph",value:function renderGlyph(t){var _this$svgIconSize;var i=this.glyphColor;return this.svgIconUrl?e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <nile-glyph\n customSvgPath=\"","\"\n size=\"","\"\n method=\"stroke\"\n color=\"","\"\n noFill\n ></nile-glyph>\n "])),this.svgIconUrl,(_this$svgIconSize=this.svgIconSize)!==null&&_this$svgIconSize!==void 0?_this$svgIconSize:t,l(i)):e(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n <nile-glyph\n name=\"","\"\n method=\"stroke\"\n size=\"","\"\n color=\"","\"\n ></nile-glyph>\n "])),this.icon,t,l(i));}},{key:"render",value:function render(){var t=this.liveRegion,s="inline"===this.layout;return e(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n <div part=\"container\" class=\"","\"\n role=\"","\"\n aria-live=\"","\"\n >\n <div part=\"body\" class=\"","\">\n\n ","\n\n ","\n\n ","\n\n ","\n\n <div part=\"text-section\" class=\"empty__state__text-section\">\n ","\n <div part=\"text\" class=\"empty-state__text\">","</div>\n <div part=\"subtitle\" class=\"empty-state__subtext\">","</div>\n </div>\n </div>\n\n <div part=\"actions\" class=\"empty-state-actions\">\n <slot></slot>\n </div>\n\n </div>\n "])),o(_defineProperty({"empty-state":!0,"empty-state--sm":"sm"==this.size,"empty-state--md":"md"==this.size,"empty-state--lg":"lg"==this.size,"empty-state--stack":"stack"===this.layout,"empty-state--inline":s,"empty-state--page":"page"===this.layout,"empty-state--bordered":this.bordered},"empty-state--tone-".concat(this.tone),!0)),l(t===null||t===void 0?void 0:t.role),l(t===null||t===void 0?void 0:t.live),o({"empty-state__body":!0}),s?e(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["\n <span part=\"inline-icon icon-chrome\" class=\"empty-state__body--inline\">\n ","\n </span>"])),this.renderGlyph(20)):i,s||"content"!=this.variant?i:e(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["\n <div part=\"content-image\" class=\"empty-state__body--content\">\n ","\n </div>"])),this.icon||this.svgIconUrl?e(_templateObject6||(_templateObject6=_taggedTemplateLiteral(["\n <div part=\"icon-wrapper icon-chrome\" class=\"empty-state__img__icon\">\n ","\n </div>"])),this.renderGlyph("lg"==this.size?28:24)):i),s||"tonal"!=this.variant?i:e(_templateObject7||(_templateObject7=_taggedTemplateLiteral(["\n <div part=\"tonal-body icon-chrome\" class=\"empty-state__body--tonal\">\n ","\n </div>"])),this.renderGlyph(40)),s||"flat"!=this.variant?i:e(_templateObject8||(_templateObject8=_taggedTemplateLiteral(["\n <div part=\"flat-body\" class=\"empty-state__body--flat\">\n\t\t\t\t\t<span part=\"icon-chrome\" class=\"nile-flat-type-icon\">\n\t\t\t\t\t\t","\n\t\t\t\t\t</span>\n </div>"])),this.renderGlyph("lg"==this.size?28:24)),this.code?e(_templateObject9||(_templateObject9=_taggedTemplateLiteral(["\n <div part=\"code\" class=\"empty-state__code\">","</div>\n "])),this.code):i,this.text,this.subText);}}],[{key:"styles",get:function get(){return[n];}}]);}(a));t([s({type:String,attribute:!0})],h.prototype,"size",void 0),t([s({type:String,attribute:!0})],h.prototype,"variant",void 0),t([s({type:String,attribute:!0,reflect:!0})],h.prototype,"status",void 0),t([s({type:String,attribute:!0,reflect:!0})],h.prototype,"layout",void 0),t([s({type:String,attribute:!0})],h.prototype,"code",void 0),t([s({type:Boolean,attribute:!0,reflect:!0})],h.prototype,"bordered",void 0),t([s({type:String,attribute:!0})],h.prototype,"svgIconUrl",void 0),t([s({type:Number,attribute:!0})],h.prototype,"svgIconSize",void 0),t([s({type:String,attribute:!0})],h.prototype,"svgIconColor",void 0),t([s({type:String,attribute:!0})],h.prototype,"icon",null),t([s({type:String,attribute:!0})],h.prototype,"text",null),t([s({type:String,attribute:"sub-text"})],h.prototype,"subText",null),t([s({type:String,attribute:!0,reflect:!0})],h.prototype,"tone",null),_export("N",h=t([r("nile-empty-state")],h));}};});
1
+ function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","lit/directives/class-map.js","./nile-empty-state.css.cjs.js","../internal/nile-element.cjs.js","lit/directives/if-defined.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var t,e,i,s,r,o,n,a,l,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7,_templateObject8,_templateObject9,c,p,h;function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_lit){e=_lit.html;i=_lit.nothing;},function(_litDecoratorsJs){s=_litDecoratorsJs.property;r=_litDecoratorsJs.customElement;},function(_litDirectivesClassMapJs){o=_litDirectivesClassMapJs.classMap;},function(_nileEmptyStateCssCjsJs){n=_nileEmptyStateCssCjsJs.s;},function(_internalNileElementCjsJs){a=_internalNileElementCjsJs.N;},function(_litDirectivesIfDefinedJs){l=_litDirectivesIfDefinedJs.ifDefined;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){c={empty:{icon:"ng-database",tone:"neutral",role:"status",live:"polite",text:"No data yet",subText:"Rows appear here once there's something to show."},"no-results":{icon:"ng-search-lg",tone:"neutral",role:"status",live:"polite",text:"No matches",subText:"Try removing a filter or broadening your search."},"not-found":{icon:"ng-file-06",tone:"warning",role:"status",live:"polite",text:"We couldn't find that",subText:"It may have been moved or deleted."},"no-access":{icon:"ng-lock",tone:"warning",role:"status",live:"polite",text:"You don't have access",subText:"Ask an admin to grant you access to this resource."},error:{icon:"ng-alert-circle",tone:"error",role:"alert",live:"assertive",text:"Something went wrong",subText:"We couldn't load this. Try again."},offline:{icon:"ng-cloud-off",tone:"error",role:"alert",live:"assertive",text:"Connection lost",subText:"Check your connection and try again."}},p={neutral:void 0,info:"var(--nile-colors-primary-600, var(--ng-colors-fg-brand-primary-600))",warning:"var(--nile-colors-yellow-700, var(--ng-colors-fg-warning-primary))",error:"var(--nile-colors-red-700, var(--ng-colors-fg-error-primary))"};_export("N",h=/*#__PURE__*/function(_a){function h(){var _this;_classCallCheck(this,h);_this=_callSuper(this,h,arguments),_this.size="md",_this.variant="tonal",_this.layout="stack",_this.bordered=!1,_this.iconMethod="stroke";return _this;}_inherits(h,_a);return _createClass(h,[{key:"icon",get:function get(){var _ref,_this$_icon,_this$preset;return(_ref=(_this$_icon=this._icon)!==null&&_this$_icon!==void 0?_this$_icon:(_this$preset=this.preset)===null||_this$preset===void 0?void 0:_this$preset.icon)!==null&&_ref!==void 0?_ref:"ng-x-circle";},set:function set(t){var e=this.icon;this._icon=t!==null&&t!==void 0?t:void 0,this.requestUpdate("icon",e);}},{key:"text",get:function get(){var _ref2,_this$_text,_this$preset2;return(_ref2=(_this$_text=this._text)!==null&&_this$_text!==void 0?_this$_text:(_this$preset2=this.preset)===null||_this$preset2===void 0?void 0:_this$preset2.text)!==null&&_ref2!==void 0?_ref2:"Empty State";},set:function set(t){var e=this.text;this._text=t!==null&&t!==void 0?t:void 0,this.requestUpdate("text",e);}},{key:"subText",get:function get(){var _ref3,_this$_subText,_this$preset3;return(_ref3=(_this$_subText=this._subText)!==null&&_this$_subText!==void 0?_this$_subText:(_this$preset3=this.preset)===null||_this$preset3===void 0?void 0:_this$preset3.subText)!==null&&_ref3!==void 0?_ref3:"No Data";},set:function set(t){var e=this.subText;this._subText=t!==null&&t!==void 0?t:void 0,this.requestUpdate("subText",e);}},{key:"tone",get:function get(){var _ref4,_this$_tone,_this$preset4;return(_ref4=(_this$_tone=this._tone)!==null&&_this$_tone!==void 0?_this$_tone:(_this$preset4=this.preset)===null||_this$preset4===void 0?void 0:_this$preset4.tone)!==null&&_ref4!==void 0?_ref4:"neutral";},set:function set(t){var e=this.tone;this._tone=t!==null&&t!==void 0?t:void 0,this.requestUpdate("tone",e);}},{key:"preset",get:function get(){return this.status?c[this.status]:void 0;}},{key:"glyphMethod",get:function get(){return"fill"===this.iconMethod?"fill":"stroke";}},{key:"glyphColor",get:function get(){var _this$svgIconColor;return(_this$svgIconColor=this.svgIconColor)!==null&&_this$svgIconColor!==void 0?_this$svgIconColor:p[this.tone];}},{key:"liveRegion",get:function get(){var t=this.preset;if(t)return{role:t.role,live:t.live};}},{key:"renderGlyph",value:function renderGlyph(t){var _this$svgIconSize;var i=this.glyphColor,s=this.glyphMethod;return this.svgIconUrl?e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <nile-glyph\n customSvgPath=\"","\"\n size=\"","\"\n method=\"","\"\n color=\"","\"\n noFill\n ></nile-glyph>\n "])),this.svgIconUrl,(_this$svgIconSize=this.svgIconSize)!==null&&_this$svgIconSize!==void 0?_this$svgIconSize:t,s,l(i)):e(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n <nile-glyph\n name=\"","\"\n method=\"","\"\n size=\"","\"\n color=\"","\"\n ></nile-glyph>\n "])),this.icon,s,t,l(i));}},{key:"render",value:function render(){var t=this.liveRegion,s="inline"===this.layout;return e(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n <div part=\"container\" class=\"","\"\n role=\"","\"\n aria-live=\"","\"\n >\n <div part=\"body\" class=\"","\">\n\n ","\n\n ","\n\n ","\n\n ","\n\n <div part=\"text-section\" class=\"empty__state__text-section\">\n ","\n <div part=\"text\" class=\"empty-state__text\">","</div>\n <div part=\"subtitle\" class=\"empty-state__subtext\">","</div>\n </div>\n </div>\n\n <div part=\"actions\" class=\"empty-state-actions\">\n <slot></slot>\n </div>\n\n </div>\n "])),o(_defineProperty({"empty-state":!0,"empty-state--sm":"sm"==this.size,"empty-state--md":"md"==this.size,"empty-state--lg":"lg"==this.size,"empty-state--stack":"stack"===this.layout,"empty-state--inline":s,"empty-state--page":"page"===this.layout,"empty-state--bordered":this.bordered},"empty-state--tone-".concat(this.tone),!0)),l(t===null||t===void 0?void 0:t.role),l(t===null||t===void 0?void 0:t.live),o({"empty-state__body":!0}),s?e(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["\n <span part=\"inline-icon icon-chrome\" class=\"empty-state__body--inline\">\n ","\n </span>"])),this.renderGlyph(20)):i,s||"content"!=this.variant?i:e(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["\n <div part=\"content-image\" class=\"empty-state__body--content\">\n ","\n </div>"])),this.icon||this.svgIconUrl?e(_templateObject6||(_templateObject6=_taggedTemplateLiteral(["\n <div part=\"icon-wrapper icon-chrome\" class=\"empty-state__img__icon\">\n ","\n </div>"])),this.renderGlyph("lg"==this.size?28:24)):i),s||"tonal"!=this.variant?i:e(_templateObject7||(_templateObject7=_taggedTemplateLiteral(["\n <div part=\"tonal-body icon-chrome\" class=\"empty-state__body--tonal\">\n ","\n </div>"])),this.renderGlyph(40)),s||"flat"!=this.variant?i:e(_templateObject8||(_templateObject8=_taggedTemplateLiteral(["\n <div part=\"flat-body\" class=\"empty-state__body--flat\">\n\t\t\t\t\t<span part=\"icon-chrome\" class=\"nile-flat-type-icon\">\n\t\t\t\t\t\t","\n\t\t\t\t\t</span>\n </div>"])),this.renderGlyph("lg"==this.size?28:24)),this.code?e(_templateObject9||(_templateObject9=_taggedTemplateLiteral(["\n <div part=\"code\" class=\"empty-state__code\">","</div>\n "])),this.code):i,this.text,this.subText);}}],[{key:"styles",get:function get(){return[n];}}]);}(a));t([s({type:String,attribute:!0})],h.prototype,"size",void 0),t([s({type:String,attribute:!0})],h.prototype,"variant",void 0),t([s({type:String,attribute:!0,reflect:!0})],h.prototype,"status",void 0),t([s({type:String,attribute:!0,reflect:!0})],h.prototype,"layout",void 0),t([s({type:String,attribute:!0})],h.prototype,"code",void 0),t([s({type:Boolean,attribute:!0,reflect:!0})],h.prototype,"bordered",void 0),t([s({type:String,attribute:!0})],h.prototype,"svgIconUrl",void 0),t([s({type:Number,attribute:!0})],h.prototype,"svgIconSize",void 0),t([s({type:String,attribute:!0})],h.prototype,"svgIconColor",void 0),t([s({type:String,attribute:!0})],h.prototype,"iconMethod",void 0),t([s({type:String,attribute:!0})],h.prototype,"icon",null),t([s({type:String,attribute:!0})],h.prototype,"text",null),t([s({type:String,attribute:"sub-text"})],h.prototype,"subText",null),t([s({type:String,attribute:!0,reflect:!0})],h.prototype,"tone",null),_export("N",h=t([r("nile-empty-state")],h));}};});
2
2
  //# sourceMappingURL=nile-empty-state.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-empty-state.cjs.js","sources":["../../../src/nile-empty-state/nile-empty-state.ts"],"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 { html, nothing, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { styles } from './nile-empty-state.css';\nimport NileElement from '../internal/nile-element';\nimport { ifDefined } from 'lit/directives/if-defined.js';\n\n/** What happened. Selects an icon, tone, default copy and ARIA role. */\nexport type NileEmptyStateStatus =\n | 'empty'\n | 'no-results'\n | 'not-found'\n | 'no-access'\n | 'error'\n | 'offline';\n\n/** How loud the state looks. Defaults from `status`, always overridable. */\nexport type NileEmptyStateTone = 'neutral' | 'info' | 'warning' | 'error';\n\n/** What shape the state occupies. */\nexport type NileEmptyStateLayout = 'stack' | 'inline' | 'page';\n\ninterface StatusPreset {\n icon: string;\n tone: NileEmptyStateTone;\n text: string;\n subText: string;\n role: 'status' | 'alert';\n live: 'polite' | 'assertive';\n}\n\nconst STATUS_PRESETS: Record<NileEmptyStateStatus, StatusPreset> = {\n 'empty': {\n icon: 'ng-database', tone: 'neutral', role: 'status', live: 'polite',\n text: 'No data yet', subText: `Rows appear here once there's something to show.`,\n },\n 'no-results': {\n icon: 'ng-search-lg', tone: 'neutral', role: 'status', live: 'polite',\n text: 'No matches', subText: 'Try removing a filter or broadening your search.',\n },\n 'not-found': {\n icon: 'ng-file-06', tone: 'warning', role: 'status', live: 'polite',\n text: `We couldn't find that`, subText: 'It may have been moved or deleted.',\n },\n 'no-access': {\n icon: 'ng-lock', tone: 'warning', role: 'status', live: 'polite',\n text: `You don't have access`, subText: 'Ask an admin to grant you access to this resource.',\n },\n 'error': {\n icon: 'ng-alert-circle', tone: 'error', role: 'alert', live: 'assertive',\n text: 'Something went wrong', subText: `We couldn't load this. Try again.`,\n },\n 'offline': {\n icon: 'ng-cloud-off', tone: 'error', role: 'alert', live: 'assertive',\n text: 'Connection lost', subText: 'Check your connection and try again.',\n },\n};\n\nconst TONE_GLYPH_COLOR: Record<NileEmptyStateTone, string | undefined> = {\n neutral: undefined,\n info: 'var(--nile-colors-primary-600, var(--ng-colors-fg-brand-primary-600))',\n warning: 'var(--nile-colors-yellow-700, var(--ng-colors-fg-warning-primary))',\n error: 'var(--nile-colors-red-700, var(--ng-colors-fg-error-primary))',\n};\n\nconst DEFAULT_ICON = 'ng-x-circle';\nconst DEFAULT_TEXT = 'Empty State';\nconst DEFAULT_SUB_TEXT = 'No Data';\n\n/**\n * Nile empty-state component.\n *\n * @tag nile-empty-state\n *\n */\n@customElement('nile-empty-state')\nexport class NileEmptyState extends NileElement {\n\n /**\n * The styles for nile-empty-state\n * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n */\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n @property({ type: String, attribute: true }) size: 'sm' | 'md' | 'lg' = 'md';\n\n @property({ type: String, attribute: true }) variant:\n | 'flat'\n | 'content'\n | 'tonal' = 'tonal';\n\n @property({ type: String, attribute: true, reflect: true }) status?: NileEmptyStateStatus;\n @property({ type: String, attribute: true, reflect: true }) layout: NileEmptyStateLayout = 'stack';\n @property({ type: String, attribute: true }) code?: string;\n @property({ type: Boolean, attribute: true, reflect: true }) bordered: boolean = false;\n @property({ type: String, attribute: true }) svgIconUrl: string;\n /**\n * Overrides the layout-driven glyph size for a custom `svgIconUrl`. Left unset,\n * the SVG matches whatever size the current variant/layout draws at.\n */\n @property({ type: Number, attribute: true }) svgIconSize?: number;\n @property({ type: String, attribute: true }) svgIconColor: string;\n\n private _icon?: string;\n private _text?: string;\n private _subText?: string;\n private _tone?: NileEmptyStateTone;\n @property({ type: String, attribute: true })\n get icon(): string {\n return this._icon ?? this.preset?.icon ?? DEFAULT_ICON;\n }\n\n set icon(value: string | null) {\n const old = this.icon;\n this._icon = value ?? undefined;\n this.requestUpdate('icon', old);\n }\n\n /** Headline. Resolves through the `status` preset to `DEFAULT_TEXT`. */\n @property({ type: String, attribute: true })\n get text(): string {\n return this._text ?? this.preset?.text ?? DEFAULT_TEXT;\n }\n\n set text(value: string | null) {\n const old = this.text;\n this._text = value ?? undefined;\n this.requestUpdate('text', old);\n }\n\n /** Supporting line. Resolves through the `status` preset to `DEFAULT_SUB_TEXT`. */\n @property({ type: String, attribute: 'sub-text' })\n get subText(): string {\n return this._subText ?? this.preset?.subText ?? DEFAULT_SUB_TEXT;\n }\n\n set subText(value: string | null) {\n const old = this.subText;\n this._subText = value ?? undefined;\n this.requestUpdate('subText', old);\n }\n\n @property({ type: String, attribute: true, reflect: true })\n get tone(): NileEmptyStateTone {\n return this._tone ?? this.preset?.tone ?? 'neutral';\n }\n\n set tone(value: NileEmptyStateTone | null) {\n const old = this.tone;\n this._tone = value ?? undefined;\n this.requestUpdate('tone', old);\n }\n\n /* #endregion */\n\n /* #region Methods */\n\n /** The preset backing the current `status`, or undefined when none is set. */\n private get preset(): StatusPreset | undefined {\n return this.status ? STATUS_PRESETS[this.status] : undefined;\n }\n\n private get glyphColor(): string | undefined {\n return this.svgIconColor ?? TONE_GLYPH_COLOR[this.tone];\n }\n\n /** ARIA wiring */\n private get liveRegion(): { role: string; live: string } | undefined {\n const preset = this.preset;\n if (!preset) return undefined;\n return { role: preset.role, live: preset.live };\n }\n\n private renderGlyph(size: number | string): TemplateResult {\n const color = this.glyphColor;\n return this.svgIconUrl ? html`\n <nile-glyph\n customSvgPath=\"${this.svgIconUrl}\"\n size=\"${this.svgIconSize ?? size}\"\n method=\"stroke\"\n color=\"${ifDefined(color)}\"\n noFill\n ></nile-glyph>\n ` : html`\n <nile-glyph\n name=\"${this.icon}\"\n method=\"stroke\"\n size=\"${size}\"\n color=\"${ifDefined(color)}\"\n ></nile-glyph>\n `;\n }\n\n /**\n * Render method\n * @slot This is a slot test\n */\n public render(): TemplateResult {\n const live = this.liveRegion;\n const inline = this.layout === 'inline';\n\n return html`\n <div part=\"container\" class=\"${classMap({\n 'empty-state': true,\n 'empty-state--sm': this.size == 'sm',\n 'empty-state--md': this.size == 'md',\n 'empty-state--lg': this.size == 'lg',\n 'empty-state--stack': this.layout === 'stack',\n 'empty-state--inline': inline,\n 'empty-state--page': this.layout === 'page',\n 'empty-state--bordered': this.bordered,\n [`empty-state--tone-${this.tone}`]: true,\n })}\"\n role=\"${ifDefined(live?.role)}\"\n aria-live=\"${ifDefined(live?.live)}\"\n >\n <div part=\"body\" class=\"${classMap({ 'empty-state__body': true })}\">\n\n ${inline ? html`\n <span part=\"inline-icon icon-chrome\" class=\"empty-state__body--inline\">\n ${this.renderGlyph(20)}\n </span>` : nothing\n }\n\n ${!inline && this.variant == 'content' ? html`\n <div part=\"content-image\" class=\"empty-state__body--content\">\n ${!this.icon && !this.svgIconUrl ? nothing : html`\n <div part=\"icon-wrapper icon-chrome\" class=\"empty-state__img__icon\">\n ${\n this.renderGlyph(this.size == 'lg' ? 28 : 24)}\n </div>`\n }\n </div>`: nothing\n }\n\n ${!inline && this.variant == 'tonal' ? html`\n <div part=\"tonal-body icon-chrome\" class=\"empty-state__body--tonal\">\n ${this.renderGlyph(40)}\n </div>`: nothing\n }\n\n ${!inline && this.variant == 'flat' ? html`\n <div part=\"flat-body\" class=\"empty-state__body--flat\">\n\t\t\t\t\t<span part=\"icon-chrome\" class=\"nile-flat-type-icon\">\n\t\t\t\t\t\t${this.renderGlyph(this.size == 'lg' ? 28 : 24)}\n\t\t\t\t\t</span>\n </div>`: nothing\n }\n\n <div part=\"text-section\" class=\"empty__state__text-section\">\n ${this.code ? html`\n <div part=\"code\" class=\"empty-state__code\">${this.code}</div>\n ` : nothing}\n <div part=\"text\" class=\"empty-state__text\">${this.text}</div>\n <div part=\"subtitle\" class=\"empty-state__subtext\">${this.subText}</div>\n </div>\n </div>\n\n <div part=\"actions\" class=\"empty-state-actions\">\n <slot></slot>\n </div>\n\n </div>\n `;\n }\n\n /* #endregion */\n}\n\nexport default NileEmptyState;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-empty-state': NileEmptyState;\n }\n}\n"],"names":["STATUS_PRESETS","empty","icon","tone","role","live","text","subText","error","offline","TONE_GLYPH_COLOR","neutral","undefined","info","warning","_export","NileEmptyState","_a","h","this","size","variant","layout","bordered","_this","_inherits","_createClass","key","get","_ref","_this$_icon","_icon","preset","set","value","old","requestUpdate","_ref2","_this$_text","_text","_ref3","_this$_subText","_subText","_ref4","_this$_tone","_tone","status","_this$svgIconColor","svgIconColor","renderGlyph","_this$svgIconSize","color","glyphColor","svgIconUrl","html","_templateObject","_taggedTemplateLiteral","svgIconSize","ifDefined","_templateObject2","render","liveRegion","inline","_templateObject3","classMap","_templateObject4","nothing","_templateObject5","_templateObject6","_templateObject7","_templateObject8","code","_templateObject9","styles","NileElement","__decorate","property","type","String","attribute","prototype","reflect","Boolean","Number","customElement"],"mappings":"27HAsCMA,CAAAA,CAA6D,CACjEC,KAAAA,CAAS,CACPC,IAAM,CAAA,aAAA,CAAeC,IAAM,CAAA,SAAA,CAAWC,KAAM,QAAUC,CAAAA,IAAAA,CAAM,QAC5DC,CAAAA,IAAAA,CAAM,cAAeC,OAAS,CAAA,kDAAA,CAAA,CAEhC,YAAc,CAAA,CACZL,IAAM,CAAA,cAAA,CAAgBC,IAAM,C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CAAA,CAUDL,CAAA,CAAA,CADCC,EAAS,CAAEC,IAAAA,CAAMC,OAAQC,SAAW,CAAA,UAAA,CAAA,CAAA,CAAA,CAGpC/D,EAAAgE,SAAA,CAAA,SAAA,CAAA,IASDL,CAAAA,CAAAA,CAAAA,CAAA,CADCC,CAAS,CAAA,CAAEC,KAAMC,MAAQC,CAAAA,SAAAA,CAAAA,CAAW,EAAME,OAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAGnDjE,CAAAgE,CAAAA,SAAAA,CAAA,OAAA,IAvEUhE,CAAAA,CAAAA,OAAAA,KAAAA,CAAAA,CAAc2D,EAAA,CAD1BS,CAAAA,CAAc,qBACFpE"}
1
+ {"version":3,"file":"nile-empty-state.cjs.js","sources":["../../../src/nile-empty-state/nile-empty-state.ts"],"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 { html, nothing, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { styles } from './nile-empty-state.css';\nimport NileElement from '../internal/nile-element';\nimport { ifDefined } from 'lit/directives/if-defined.js';\n\n/** What happened. Selects an icon, tone, default copy and ARIA role. */\nexport type NileEmptyStateStatus =\n | 'empty'\n | 'no-results'\n | 'not-found'\n | 'no-access'\n | 'error'\n | 'offline';\n\n/** How loud the state looks. Defaults from `status`, always overridable. */\nexport type NileEmptyStateTone = 'neutral' | 'info' | 'warning' | 'error';\n\n/** What shape the state occupies. */\nexport type NileEmptyStateLayout = 'stack' | 'inline' | 'page';\n\n/** How the glyph is drawn: outlined (`stroke`, the default) or filled (`fill`). */\nexport type NileEmptyStateIconMethod = 'stroke' | 'fill';\n\ninterface StatusPreset {\n icon: string;\n tone: NileEmptyStateTone;\n text: string;\n subText: string;\n role: 'status' | 'alert';\n live: 'polite' | 'assertive';\n}\n\nconst STATUS_PRESETS: Record<NileEmptyStateStatus, StatusPreset> = {\n 'empty': {\n icon: 'ng-database', tone: 'neutral', role: 'status', live: 'polite',\n text: 'No data yet', subText: `Rows appear here once there's something to show.`,\n },\n 'no-results': {\n icon: 'ng-search-lg', tone: 'neutral', role: 'status', live: 'polite',\n text: 'No matches', subText: 'Try removing a filter or broadening your search.',\n },\n 'not-found': {\n icon: 'ng-file-06', tone: 'warning', role: 'status', live: 'polite',\n text: `We couldn't find that`, subText: 'It may have been moved or deleted.',\n },\n 'no-access': {\n icon: 'ng-lock', tone: 'warning', role: 'status', live: 'polite',\n text: `You don't have access`, subText: 'Ask an admin to grant you access to this resource.',\n },\n 'error': {\n icon: 'ng-alert-circle', tone: 'error', role: 'alert', live: 'assertive',\n text: 'Something went wrong', subText: `We couldn't load this. Try again.`,\n },\n 'offline': {\n icon: 'ng-cloud-off', tone: 'error', role: 'alert', live: 'assertive',\n text: 'Connection lost', subText: 'Check your connection and try again.',\n },\n};\n\nconst TONE_GLYPH_COLOR: Record<NileEmptyStateTone, string | undefined> = {\n neutral: undefined,\n info: 'var(--nile-colors-primary-600, var(--ng-colors-fg-brand-primary-600))',\n warning: 'var(--nile-colors-yellow-700, var(--ng-colors-fg-warning-primary))',\n error: 'var(--nile-colors-red-700, var(--ng-colors-fg-error-primary))',\n};\n\nconst DEFAULT_ICON = 'ng-x-circle';\nconst DEFAULT_TEXT = 'Empty State';\nconst DEFAULT_SUB_TEXT = 'No Data';\n\n/**\n * Nile empty-state component.\n *\n * @tag nile-empty-state\n *\n */\n@customElement('nile-empty-state')\nexport class NileEmptyState extends NileElement {\n\n /**\n * The styles for nile-empty-state\n * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n */\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n @property({ type: String, attribute: true }) size: 'sm' | 'md' | 'lg' = 'md';\n\n @property({ type: String, attribute: true }) variant:\n | 'flat'\n | 'content'\n | 'tonal' = 'tonal';\n\n @property({ type: String, attribute: true, reflect: true }) status?: NileEmptyStateStatus;\n @property({ type: String, attribute: true, reflect: true }) layout: NileEmptyStateLayout = 'stack';\n @property({ type: String, attribute: true }) code?: string;\n @property({ type: Boolean, attribute: true, reflect: true }) bordered: boolean = false;\n @property({ type: String, attribute: true }) svgIconUrl: string;\n /**\n * Overrides the layout-driven glyph size for a custom `svgIconUrl`. Left unset,\n * the SVG matches whatever size the current variant/layout draws at.\n */\n @property({ type: Number, attribute: true }) svgIconSize?: number;\n @property({ type: String, attribute: true }) svgIconColor: string;\n @property({ type: String, attribute: true }) iconMethod: NileEmptyStateIconMethod = 'stroke';\n\n private _icon?: string;\n private _text?: string;\n private _subText?: string;\n private _tone?: NileEmptyStateTone;\n @property({ type: String, attribute: true })\n get icon(): string {\n return this._icon ?? this.preset?.icon ?? DEFAULT_ICON;\n }\n\n set icon(value: string | null) {\n const old = this.icon;\n this._icon = value ?? undefined;\n this.requestUpdate('icon', old);\n }\n\n /** Headline. Resolves through the `status` preset to `DEFAULT_TEXT`. */\n @property({ type: String, attribute: true })\n get text(): string {\n return this._text ?? this.preset?.text ?? DEFAULT_TEXT;\n }\n\n set text(value: string | null) {\n const old = this.text;\n this._text = value ?? undefined;\n this.requestUpdate('text', old);\n }\n\n /** Supporting line. Resolves through the `status` preset to `DEFAULT_SUB_TEXT`. */\n @property({ type: String, attribute: 'sub-text' })\n get subText(): string {\n return this._subText ?? this.preset?.subText ?? DEFAULT_SUB_TEXT;\n }\n\n set subText(value: string | null) {\n const old = this.subText;\n this._subText = value ?? undefined;\n this.requestUpdate('subText', old);\n }\n\n @property({ type: String, attribute: true, reflect: true })\n get tone(): NileEmptyStateTone {\n return this._tone ?? this.preset?.tone ?? 'neutral';\n }\n\n set tone(value: NileEmptyStateTone | null) {\n const old = this.tone;\n this._tone = value ?? undefined;\n this.requestUpdate('tone', old);\n }\n\n /* #endregion */\n\n /* #region Methods */\n\n /** The preset backing the current `status`, or undefined when none is set. */\n private get preset(): StatusPreset | undefined {\n return this.status ? STATUS_PRESETS[this.status] : undefined;\n }\n\n /** `fill` only when asked for explicitly; anything else keeps today's `stroke`. */\n private get glyphMethod(): NileEmptyStateIconMethod {\n return this.iconMethod === 'fill' ? 'fill' : 'stroke';\n }\n\n private get glyphColor(): string | undefined {\n return this.svgIconColor ?? TONE_GLYPH_COLOR[this.tone];\n }\n\n /** ARIA wiring */\n private get liveRegion(): { role: string; live: string } | undefined {\n const preset = this.preset;\n if (!preset) return undefined;\n return { role: preset.role, live: preset.live };\n }\n\n private renderGlyph(size: number | string): TemplateResult {\n const color = this.glyphColor;\n const method = this.glyphMethod;\n return this.svgIconUrl ? html`\n <nile-glyph\n customSvgPath=\"${this.svgIconUrl}\"\n size=\"${this.svgIconSize ?? size}\"\n method=\"${method}\"\n color=\"${ifDefined(color)}\"\n noFill\n ></nile-glyph>\n ` : html`\n <nile-glyph\n name=\"${this.icon}\"\n method=\"${method}\"\n size=\"${size}\"\n color=\"${ifDefined(color)}\"\n ></nile-glyph>\n `;\n }\n\n /**\n * Render method\n * @slot This is a slot test\n */\n public render(): TemplateResult {\n const live = this.liveRegion;\n const inline = this.layout === 'inline';\n\n return html`\n <div part=\"container\" class=\"${classMap({\n 'empty-state': true,\n 'empty-state--sm': this.size == 'sm',\n 'empty-state--md': this.size == 'md',\n 'empty-state--lg': this.size == 'lg',\n 'empty-state--stack': this.layout === 'stack',\n 'empty-state--inline': inline,\n 'empty-state--page': this.layout === 'page',\n 'empty-state--bordered': this.bordered,\n [`empty-state--tone-${this.tone}`]: true,\n })}\"\n role=\"${ifDefined(live?.role)}\"\n aria-live=\"${ifDefined(live?.live)}\"\n >\n <div part=\"body\" class=\"${classMap({ 'empty-state__body': true })}\">\n\n ${inline ? html`\n <span part=\"inline-icon icon-chrome\" class=\"empty-state__body--inline\">\n ${this.renderGlyph(20)}\n </span>` : nothing\n }\n\n ${!inline && this.variant == 'content' ? html`\n <div part=\"content-image\" class=\"empty-state__body--content\">\n ${!this.icon && !this.svgIconUrl ? nothing : html`\n <div part=\"icon-wrapper icon-chrome\" class=\"empty-state__img__icon\">\n ${\n this.renderGlyph(this.size == 'lg' ? 28 : 24)}\n </div>`\n }\n </div>`: nothing\n }\n\n ${!inline && this.variant == 'tonal' ? html`\n <div part=\"tonal-body icon-chrome\" class=\"empty-state__body--tonal\">\n ${this.renderGlyph(40)}\n </div>`: nothing\n }\n\n ${!inline && this.variant == 'flat' ? html`\n <div part=\"flat-body\" class=\"empty-state__body--flat\">\n\t\t\t\t\t<span part=\"icon-chrome\" class=\"nile-flat-type-icon\">\n\t\t\t\t\t\t${this.renderGlyph(this.size == 'lg' ? 28 : 24)}\n\t\t\t\t\t</span>\n </div>`: nothing\n }\n\n <div part=\"text-section\" class=\"empty__state__text-section\">\n ${this.code ? html`\n <div part=\"code\" class=\"empty-state__code\">${this.code}</div>\n ` : nothing}\n <div part=\"text\" class=\"empty-state__text\">${this.text}</div>\n <div part=\"subtitle\" class=\"empty-state__subtext\">${this.subText}</div>\n </div>\n </div>\n\n <div part=\"actions\" class=\"empty-state-actions\">\n <slot></slot>\n </div>\n\n </div>\n `;\n }\n\n /* #endregion */\n}\n\nexport default NileEmptyState;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-empty-state': NileEmptyState;\n }\n}\n"],"names":["STATUS_PRESETS","empty","icon","tone","role","live","text","subText","error","offline","TONE_GLYPH_COLOR","neutral","undefined","info","warning","_export","NileEmptyState","_a","h","this","size","variant","layout","bordered","iconMethod","_this","_inherits","_createClass","key","get","_ref","_this$_icon","_this$preset","_icon","preset","set","value","old","requestUpdate","_ref2","_this$_text","_this$preset2","_text","_ref3","_this$_subText","_subText","_ref4","_this$_tone","_this$preset4","_tone","status","glyphColor","_this$svgIconColor","svgIconColor","liveRegion","renderGlyph","color","method","glyphMethod","svgIconUrl","html","_templateObject","_taggedTemplateLiteral","svgIconSize","ifDefined","_templateObject2","render","inline","_templateObject3","classMap","_templateObject4","nothing","_templateObject5","_templateObject6","_templateObject7","_templateObject8","code","_templateObject9","styles","NileElement","__decorate","property","type","String","attribute","prototype","reflect","Boolean","Number","customElement"],"mappings":"27HAyCMA,CAA6D,CAAA,CACjEC,KAAS,CAAA,CACPC,KAAM,aAAeC,CAAAA,IAAAA,CAAM,SAAWC,CAAAA,IAAAA,CAAM,SAAUC,IAAM,CAAA,QAAA,CAC5DC,IAAM,CAAA,aAAA,CAAeC,QAAS,kDAEhC,CAAA,CAAA,YAAA,CAAc,CACZL,IAAAA,CAAM,cAAgBC,CAAAA,IAAAA,CAAM,SAAWC,CAAAA,IAAAA,CAAM,SAAUC,IAAM,CAAA,QAAA,CAC7DC,IAAM,CAAA,YAAA,CAAcC,QAAS,kDAE/B,CAAA,CAAA,WAAA,CAAa,CACXL,IAAAA,CAAM,aAAcC,IAAM,CAAA,SAAA,CAAWC,IAAM,CAAA,QAAA,CAAUC,KAAM,QAC3DC,CAAAA,IAAAA,CAAM,uBAAyBC,CAAAA,OAAAA,CAAS,sCAE1C,WAAa,CAAA,CACXL,IAAM,CAAA,SAAA,CAAWC,KAAM,SAAWC,CAAAA,IAAAA,CAAM,QAAUC,CAAAA,IAAAA,CAAM,SACxDC,IAAM,CAAA,uBAAA,CAAyBC,OAAS,CAAA,oDAAA,CAAA,CAE1CC,KAAS,CAAA,CACPN,IAAM,CAAA,iBAAA,CAAmBC,KAAM,OAASC,CAAAA,IAAAA,CAAM,OAASC,CAAAA,IAAAA,CAAM,YAC7DC,IAAM,CAAA,sBAAA,CAAwBC,OAAS,CAAA,mCAAA,CAAA,CAEzCE,QAAW,CACTP,IAAAA,CAAM,cAAgBC,CAAAA,IAAAA,CAAM,QAASC,IAAM,CAAA,OAAA,CAASC,IAAM,CAAA,WAAA,CAC1DC,KAAM,iBAAmBC,CAAAA,OAAAA,CAAS,sCAIhCG,CAAAA,CAAAA,CAAAA,CAAAA,CAAmE,CACvEC,OAASC,CAAAA,IAAAA,EAAAA,CACTC,IAAM,CAAA,uEAAA,CACNC,QAAS,oEACTN,CAAAA,KAAAA,C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EC,IAAAA,CAAMC,OAAQC,SAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA6BpE,EAAAqE,SAAA,CAAA,cAAA,CAAA,IAAA,EACrBL,CAAAA,CAAAA,CAAAA,CAAA,CAA5CC,CAAS,CAAA,CAAEC,KAAMC,MAAQC,CAAAA,SAAAA,CAAAA,CAAW,KAAwDpE,CAAAqE,CAAAA,SAAAA,CAAA,iBAAA,EAO7FL,CAAAA,CAAAA,CAAAA,CAAA,CADCC,CAAS,CAAA,CAAEC,KAAMC,MAAQC,CAAAA,SAAAA,CAAAA,CAAW,KAGpCpE,CAAAqE,CAAAA,SAAAA,CAAA,MAAA,CAAA,IAAA,CAAA,CAUDL,EAAA,CADCC,CAAAA,CAAS,CAAEC,IAAMC,CAAAA,MAAAA,CAAQC,WAAW,CAGpCpE,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAqE,UAAA,MAAA,CAAA,IAAA,CAAA,CAUDL,EAAA,CADCC,CAAAA,CAAS,CAAEC,IAAMC,CAAAA,MAAAA,CAAQC,UAAW,UAGpCpE,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAqE,UAAA,SAAA,CAAA,IAAA,CAAA,CASDL,EAAA,CADCC,CAAAA,CAAS,CAAEC,IAAMC,CAAAA,MAAAA,CAAQC,WAAW,CAAME,CAAAA,OAAAA,CAAAA,CAAS,KAGnDtE,CAAAqE,CAAAA,SAAAA,CAAA,OAAA,IAxEUrE,CAAAA,CAAAA,OAAAA,KAAAA,CAAAA,CAAcgE,EAAA,CAD1BS,CAAAA,CAAc,qBACFzE"}
@@ -1,15 +1,15 @@
1
- import{__decorate as t}from"tslib";import{html as e,nothing as i}from"lit";import{property as s,customElement as r}from"lit/decorators.js";import{classMap as o}from"lit/directives/class-map.js";import{s as n}from"./nile-empty-state.css.esm.js";import{N as a}from"../internal/nile-element.esm.js";import{ifDefined as l}from"lit/directives/if-defined.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";const c={empty:{icon:"ng-database",tone:"neutral",role:"status",live:"polite",text:"No data yet",subText:"Rows appear here once there's something to show."},"no-results":{icon:"ng-search-lg",tone:"neutral",role:"status",live:"polite",text:"No matches",subText:"Try removing a filter or broadening your search."},"not-found":{icon:"ng-file-06",tone:"warning",role:"status",live:"polite",text:"We couldn't find that",subText:"It may have been moved or deleted."},"no-access":{icon:"ng-lock",tone:"warning",role:"status",live:"polite",text:"You don't have access",subText:"Ask an admin to grant you access to this resource."},error:{icon:"ng-alert-circle",tone:"error",role:"alert",live:"assertive",text:"Something went wrong",subText:"We couldn't load this. Try again."},offline:{icon:"ng-cloud-off",tone:"error",role:"alert",live:"assertive",text:"Connection lost",subText:"Check your connection and try again."}},p={neutral:void 0,info:"var(--nile-colors-primary-600, var(--ng-colors-fg-brand-primary-600))",warning:"var(--nile-colors-yellow-700, var(--ng-colors-fg-warning-primary))",error:"var(--nile-colors-red-700, var(--ng-colors-fg-error-primary))"};let h=class extends a{constructor(){super(...arguments),this.size="md",this.variant="tonal",this.layout="stack",this.bordered=!1}static get styles(){return[n]}get icon(){return this._icon??this.preset?.icon??"ng-x-circle"}set icon(t){const e=this.icon;this._icon=t??void 0,this.requestUpdate("icon",e)}get text(){return this._text??this.preset?.text??"Empty State"}set text(t){const e=this.text;this._text=t??void 0,this.requestUpdate("text",e)}get subText(){return this._subText??this.preset?.subText??"No Data"}set subText(t){const e=this.subText;this._subText=t??void 0,this.requestUpdate("subText",e)}get tone(){return this._tone??this.preset?.tone??"neutral"}set tone(t){const e=this.tone;this._tone=t??void 0,this.requestUpdate("tone",e)}get preset(){return this.status?c[this.status]:void 0}get glyphColor(){return this.svgIconColor??p[this.tone]}get liveRegion(){const t=this.preset;if(t)return{role:t.role,live:t.live}}renderGlyph(t){const i=this.glyphColor;return this.svgIconUrl?e`
1
+ import{__decorate as t}from"tslib";import{html as e,nothing as i}from"lit";import{property as s,customElement as r}from"lit/decorators.js";import{classMap as o}from"lit/directives/class-map.js";import{s as n}from"./nile-empty-state.css.esm.js";import{N as a}from"../internal/nile-element.esm.js";import{ifDefined as l}from"lit/directives/if-defined.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";const c={empty:{icon:"ng-database",tone:"neutral",role:"status",live:"polite",text:"No data yet",subText:"Rows appear here once there's something to show."},"no-results":{icon:"ng-search-lg",tone:"neutral",role:"status",live:"polite",text:"No matches",subText:"Try removing a filter or broadening your search."},"not-found":{icon:"ng-file-06",tone:"warning",role:"status",live:"polite",text:"We couldn't find that",subText:"It may have been moved or deleted."},"no-access":{icon:"ng-lock",tone:"warning",role:"status",live:"polite",text:"You don't have access",subText:"Ask an admin to grant you access to this resource."},error:{icon:"ng-alert-circle",tone:"error",role:"alert",live:"assertive",text:"Something went wrong",subText:"We couldn't load this. Try again."},offline:{icon:"ng-cloud-off",tone:"error",role:"alert",live:"assertive",text:"Connection lost",subText:"Check your connection and try again."}},p={neutral:void 0,info:"var(--nile-colors-primary-600, var(--ng-colors-fg-brand-primary-600))",warning:"var(--nile-colors-yellow-700, var(--ng-colors-fg-warning-primary))",error:"var(--nile-colors-red-700, var(--ng-colors-fg-error-primary))"};let h=class extends a{constructor(){super(...arguments),this.size="md",this.variant="tonal",this.layout="stack",this.bordered=!1,this.iconMethod="stroke"}static get styles(){return[n]}get icon(){return this._icon??this.preset?.icon??"ng-x-circle"}set icon(t){const e=this.icon;this._icon=t??void 0,this.requestUpdate("icon",e)}get text(){return this._text??this.preset?.text??"Empty State"}set text(t){const e=this.text;this._text=t??void 0,this.requestUpdate("text",e)}get subText(){return this._subText??this.preset?.subText??"No Data"}set subText(t){const e=this.subText;this._subText=t??void 0,this.requestUpdate("subText",e)}get tone(){return this._tone??this.preset?.tone??"neutral"}set tone(t){const e=this.tone;this._tone=t??void 0,this.requestUpdate("tone",e)}get preset(){return this.status?c[this.status]:void 0}get glyphMethod(){return"fill"===this.iconMethod?"fill":"stroke"}get glyphColor(){return this.svgIconColor??p[this.tone]}get liveRegion(){const t=this.preset;if(t)return{role:t.role,live:t.live}}renderGlyph(t){const i=this.glyphColor,s=this.glyphMethod;return this.svgIconUrl?e`
2
2
  <nile-glyph
3
3
  customSvgPath="${this.svgIconUrl}"
4
4
  size="${this.svgIconSize??t}"
5
- method="stroke"
5
+ method="${s}"
6
6
  color="${l(i)}"
7
7
  noFill
8
8
  ></nile-glyph>
9
9
  `:e`
10
10
  <nile-glyph
11
11
  name="${this.icon}"
12
- method="stroke"
12
+ method="${s}"
13
13
  size="${t}"
14
14
  color="${l(i)}"
15
15
  ></nile-glyph>
@@ -59,4 +59,4 @@ import{__decorate as t}from"tslib";import{html as e,nothing as i}from"lit";impor
59
59
  </div>
60
60
 
61
61
  </div>
62
- `}};t([s({type:String,attribute:!0})],h.prototype,"size",void 0),t([s({type:String,attribute:!0})],h.prototype,"variant",void 0),t([s({type:String,attribute:!0,reflect:!0})],h.prototype,"status",void 0),t([s({type:String,attribute:!0,reflect:!0})],h.prototype,"layout",void 0),t([s({type:String,attribute:!0})],h.prototype,"code",void 0),t([s({type:Boolean,attribute:!0,reflect:!0})],h.prototype,"bordered",void 0),t([s({type:String,attribute:!0})],h.prototype,"svgIconUrl",void 0),t([s({type:Number,attribute:!0})],h.prototype,"svgIconSize",void 0),t([s({type:String,attribute:!0})],h.prototype,"svgIconColor",void 0),t([s({type:String,attribute:!0})],h.prototype,"icon",null),t([s({type:String,attribute:!0})],h.prototype,"text",null),t([s({type:String,attribute:"sub-text"})],h.prototype,"subText",null),t([s({type:String,attribute:!0,reflect:!0})],h.prototype,"tone",null),h=t([r("nile-empty-state")],h);export{h as N};
62
+ `}};t([s({type:String,attribute:!0})],h.prototype,"size",void 0),t([s({type:String,attribute:!0})],h.prototype,"variant",void 0),t([s({type:String,attribute:!0,reflect:!0})],h.prototype,"status",void 0),t([s({type:String,attribute:!0,reflect:!0})],h.prototype,"layout",void 0),t([s({type:String,attribute:!0})],h.prototype,"code",void 0),t([s({type:Boolean,attribute:!0,reflect:!0})],h.prototype,"bordered",void 0),t([s({type:String,attribute:!0})],h.prototype,"svgIconUrl",void 0),t([s({type:Number,attribute:!0})],h.prototype,"svgIconSize",void 0),t([s({type:String,attribute:!0})],h.prototype,"svgIconColor",void 0),t([s({type:String,attribute:!0})],h.prototype,"iconMethod",void 0),t([s({type:String,attribute:!0})],h.prototype,"icon",null),t([s({type:String,attribute:!0})],h.prototype,"text",null),t([s({type:String,attribute:"sub-text"})],h.prototype,"subText",null),t([s({type:String,attribute:!0,reflect:!0})],h.prototype,"tone",null),h=t([r("nile-empty-state")],h);export{h as N};
@@ -1,2 +1,2 @@
1
- System.register(["lit"],function(_export,_context){"use strict";var r,_templateObject,o;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){r=_lit.css;}],execute:function execute(){_export("s",o=r(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\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"]))));}};});
1
+ System.register(["lit"],function(_export,_context){"use strict";var r,_templateObject,o;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){r=_lit.css;}],execute:function execute(){_export("s",o=r(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\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"]))));}};});
2
2
  //# sourceMappingURL=nile-filter-chip.css.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-filter-chip.css.cjs.js","sources":["../../../src/nile-filter-chip/nile-filter-chip.css.ts"],"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 "],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAaaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
1
+ {"version":3,"file":"nile-filter-chip.css.cjs.js","sources":["../../../src/nile-filter-chip/nile-filter-chip.css.ts"],"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 "],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAaaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -32,11 +32,11 @@ import{css as r}from"lit";const o=r`
32
32
  }
33
33
  .chip:active {
34
34
  background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));
35
- border-color: var(--nile-filter-chip-active-border-color-stroke);
35
+ border-color: var(--nile-filter-chip-active-border-color-stroke, var(--ng-colors-border-brand));
36
36
  }
37
37
  :host([active]) .chip {
38
38
  background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));
39
- border-color: var(--nile-filter-chip-active-border-color-stroke);
39
+ border-color: var(--nile-filter-chip-active-border-color-stroke, var(--ng-colors-border-brand));
40
40
  }
41
41
 
42
42
 
@@ -1,2 +1,2 @@
1
- System.register(["lit"],function(_export,_context){"use strict";var i,_templateObject,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){i=_lit.css;}],execute:function execute(){_export("s",n=i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\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"]))));}};});
1
+ System.register(["lit"],function(_export,_context){"use strict";var n,_templateObject,i;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){n=_lit.css;}],execute:function execute(){_export("s",i=n(_templateObject||(_templateObject=_taggedTemplateLiteral(["\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"]))));}};});
2
2
  //# sourceMappingURL=nile-form-group.css.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-form-group.css.cjs.js","sources":["../../../src/nile-form-group/nile-form-group.css.ts"],"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"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
1
+ {"version":3,"file":"nile-form-group.css.cjs.js","sources":["../../../src/nile-form-group/nile-form-group.css.ts"],"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"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -1,4 +1,4 @@
1
- import{css as i}from"lit";const n=i`
1
+ import{css as n}from"lit";const i=n`
2
2
  :host {
3
3
  --min-width: 288px;
4
4
  -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));
@@ -11,7 +11,7 @@ import{css as i}from"lit";const n=i`
11
11
  flex-direction: column;
12
12
  min-width: var(--min-width);
13
13
  width: max-content;
14
- box-shadow: var(--nile-box-shadow-11, var(--ng-shadow-xs-skeuomorphic));
14
+ box-shadow: var(--nile-box-shadow-11, none);
15
15
  padding: var(--nile-spacing-3xl, var(--ng-spacing-3xl));
16
16
  border-radius: var(--nile-radius-base-standard, var(--ng-radius-xl));
17
17
  border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));
@@ -77,4 +77,4 @@ import{css as i}from"lit";const n=i`
77
77
  flex-direction: column;
78
78
  gap: var(--nile-spacing-3-x, var(--ng-spacing-3xl));
79
79
  }
80
- `;export{n as s};
80
+ `;export{i as s};
@@ -1,2 +1,2 @@
1
- System.register(["lit"],function(_export,_context){"use strict";var r,_templateObject,o;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){r=_lit.css;}],execute:function execute(){_export("s",o=r(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n:host {\n display: block;\n 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"]))));}};});
1
+ System.register(["lit"],function(_export,_context){"use strict";var r,_templateObject,o;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){r=_lit.css;}],execute:function execute(){_export("s",o=r(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n:host {\n display: block;\n 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"]))));}};});
2
2
  //# sourceMappingURL=nile-inline-sidebar-item.css.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-inline-sidebar-item.css.cjs.js","sources":["../../../src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.ts"],"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"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
1
+ {"version":3,"file":"nile-inline-sidebar-item.css.cjs.js","sources":["../../../src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.ts"],"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"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -3,7 +3,7 @@ import{css as r}from"lit";const o=r`
3
3
  display: block;
4
4
  font-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));
5
5
  font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
6
- color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
6
+ color: var(--nile-colors-dark-900, var(--ng-colors-text-tertiary-600));
7
7
  cursor: pointer;
8
8
  user-select: none;
9
9
  }
@@ -14,12 +14,27 @@ import{css as r}from"lit";const o=r`
14
14
  transition: background 0.2s, color 0.2s;
15
15
  }
16
16
 
17
+ .item:not(.item--rich) {
18
+ display: flex;
19
+ align-items: center;
20
+ box-sizing: border-box;
21
+ height: 36px;
22
+ padding: var(--nile-spacing-none, var(--ng-spacing-none)) var(--nile-spacing-lg, var(--ng-spacing-lg));
23
+ border-radius: var(--nile-radius-md, var(--ng-radius-md));
24
+ font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));
25
+ color: var(--nile-colors-dark-700, var(--ng-colors-text-secondary-700));
26
+ }
27
+
28
+ .item--rich {
29
+ font-weight: var(--nile-font-weight-semibold, var(--ng-font-weight-semibold));
30
+ }
31
+
17
32
  :host(:not([disabled])) .item:hover {
18
- background: var(--nile-colors-neutral-400, var(--ng-colors-bg-tertiary));
33
+ background: var(--nile-colors-neutral-400, var(--ng-colors-bg-primary-hover));
19
34
  }
20
35
 
21
36
  :host([active]) .item {
22
- background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-secondary));
37
+ background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary-alt));
23
38
  font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));
24
39
  color: var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700));
25
40
  }
@@ -28,7 +43,7 @@ import{css as r}from"lit";const o=r`
28
43
  }
29
44
 
30
45
  :host([active]) .item:hover {
31
- background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-secondary));
46
+ background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary-alt));
32
47
  }
33
48
 
34
49
  :host([disabled]) {
@@ -38,6 +53,7 @@ import{css as r}from"lit";const o=r`
38
53
 
39
54
  :host([disabled]) .item {
40
55
  pointer-events: none;
56
+ color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));
41
57
  }
42
58
  a {
43
59
  color: inherit;
@@ -1,2 +1,2 @@
1
- System.register(["lit"],function(_export,_context){"use strict";var e,_templateObject,l;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){e=_lit.css;}],execute:function execute(){_export("s",l=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\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"]))));}};});
1
+ System.register(["lit"],function(_export,_context){"use strict";var e,_templateObject,i;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){e=_lit.css;}],execute:function execute(){_export("s",i=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\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"]))));}};});
2
2
  //# sourceMappingURL=nile-inline-sidebar-item-body.css.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-inline-sidebar-item-body.css.cjs.js","sources":["../../../src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.ts"],"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"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTASaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
1
+ {"version":3,"file":"nile-inline-sidebar-item-body.css.cjs.js","sources":["../../../src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.ts"],"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"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTASaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}