@aquera/nile-elements 1.6.7 → 1.6.8

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 (218) hide show
  1. package/README.md +4 -0
  2. package/dist/index.cjs.js +1 -1
  3. package/dist/index.esm.js +1 -1
  4. package/dist/index.js +1731 -488
  5. package/dist/internal/enum.cjs.js +1 -1
  6. package/dist/internal/enum.cjs.js.map +1 -1
  7. package/dist/internal/enum.esm.js +1 -1
  8. package/dist/nile-inline-sidebar/index.cjs.js +1 -1
  9. package/dist/nile-inline-sidebar/index.esm.js +1 -1
  10. package/dist/nile-inline-sidebar/nile-inline-sidebar.cjs.js +1 -1
  11. package/dist/nile-inline-sidebar/nile-inline-sidebar.cjs.js.map +1 -1
  12. package/dist/nile-inline-sidebar/nile-inline-sidebar.css.cjs.js +1 -1
  13. package/dist/nile-inline-sidebar/nile-inline-sidebar.css.cjs.js.map +1 -1
  14. package/dist/nile-inline-sidebar/nile-inline-sidebar.css.esm.js +76 -19
  15. package/dist/nile-inline-sidebar/nile-inline-sidebar.esm.js +42 -23
  16. package/dist/nile-inline-sidebar-group/nile-inline-sidebar-group.css.cjs.js +1 -1
  17. package/dist/nile-inline-sidebar-group/nile-inline-sidebar-group.css.cjs.js.map +1 -1
  18. package/dist/nile-inline-sidebar-group/nile-inline-sidebar-group.css.esm.js +8 -9
  19. package/dist/nile-inline-sidebar-item/index.cjs.js +1 -1
  20. package/dist/nile-inline-sidebar-item/index.esm.js +1 -1
  21. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.cjs.js +1 -1
  22. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.cjs.js.map +1 -1
  23. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js +1 -1
  24. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js.map +1 -1
  25. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.esm.js +16 -18
  26. package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.esm.js +22 -4
  27. package/dist/nile-inline-sidebar-item-body/index.cjs.js +2 -0
  28. package/dist/nile-inline-sidebar-item-body/index.cjs.js.map +1 -0
  29. package/dist/nile-inline-sidebar-item-body/index.esm.js +1 -0
  30. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.cjs.js +2 -0
  31. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.cjs.js.map +1 -0
  32. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.cjs.js +2 -0
  33. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.cjs.js.map +1 -0
  34. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.esm.js +53 -0
  35. package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.esm.js +13 -0
  36. package/dist/nile-inline-sidebar-item-header/index.cjs.js +2 -0
  37. package/dist/nile-inline-sidebar-item-header/index.cjs.js.map +1 -0
  38. package/dist/nile-inline-sidebar-item-header/index.esm.js +1 -0
  39. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.cjs.js +2 -0
  40. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.cjs.js.map +1 -0
  41. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.cjs.js +2 -0
  42. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.cjs.js.map +1 -0
  43. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.esm.js +27 -0
  44. package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.esm.js +16 -0
  45. package/dist/nile-inline-sidebar-panel/index.cjs.js +2 -0
  46. package/dist/nile-inline-sidebar-panel/index.cjs.js.map +1 -0
  47. package/dist/nile-inline-sidebar-panel/index.esm.js +1 -0
  48. package/dist/nile-inline-sidebar-panel/nile-inline-sidebar-panel.cjs.js +2 -0
  49. package/dist/nile-inline-sidebar-panel/nile-inline-sidebar-panel.cjs.js.map +1 -0
  50. package/dist/nile-inline-sidebar-panel/nile-inline-sidebar-panel.css.cjs.js +2 -0
  51. package/dist/nile-inline-sidebar-panel/nile-inline-sidebar-panel.css.cjs.js.map +1 -0
  52. package/dist/nile-inline-sidebar-panel/nile-inline-sidebar-panel.css.esm.js +19 -0
  53. package/dist/nile-inline-sidebar-panel/nile-inline-sidebar-panel.esm.js +5 -0
  54. package/dist/nile-inline-sidebar-panel-group/index.cjs.js +2 -0
  55. package/dist/nile-inline-sidebar-panel-group/index.cjs.js.map +1 -0
  56. package/dist/nile-inline-sidebar-panel-group/index.esm.js +1 -0
  57. package/dist/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.cjs.js +2 -0
  58. package/dist/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.cjs.js.map +1 -0
  59. package/dist/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.css.cjs.js +2 -0
  60. package/dist/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.css.cjs.js.map +1 -0
  61. package/dist/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.css.esm.js +30 -0
  62. package/dist/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.esm.js +12 -0
  63. package/dist/nile-nav-tab/index.cjs.js +2 -0
  64. package/dist/nile-nav-tab/index.cjs.js.map +1 -0
  65. package/dist/nile-nav-tab/index.esm.js +1 -0
  66. package/dist/nile-nav-tab/nile-nav-tab.cjs.js +2 -0
  67. package/dist/nile-nav-tab/nile-nav-tab.cjs.js.map +1 -0
  68. package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js +2 -0
  69. package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js.map +1 -0
  70. package/dist/nile-nav-tab/nile-nav-tab.css.esm.js +190 -0
  71. package/dist/nile-nav-tab/nile-nav-tab.esm.js +36 -0
  72. package/dist/nile-nav-tab-group/index.cjs.js +2 -0
  73. package/dist/nile-nav-tab-group/index.cjs.js.map +1 -0
  74. package/dist/nile-nav-tab-group/index.esm.js +1 -0
  75. package/dist/nile-nav-tab-group/nile-nav-tab-group.cjs.js +4 -0
  76. package/dist/nile-nav-tab-group/nile-nav-tab-group.cjs.js.map +1 -0
  77. package/dist/nile-nav-tab-group/nile-nav-tab-group.css.cjs.js +2 -0
  78. package/dist/nile-nav-tab-group/nile-nav-tab-group.css.cjs.js.map +1 -0
  79. package/dist/nile-nav-tab-group/nile-nav-tab-group.css.esm.js +668 -0
  80. package/dist/nile-nav-tab-group/nile-nav-tab-group.esm.js +61 -0
  81. package/dist/nile-nav-tab-panel/index.cjs.js +2 -0
  82. package/dist/nile-nav-tab-panel/index.cjs.js.map +1 -0
  83. package/dist/nile-nav-tab-panel/index.esm.js +1 -0
  84. package/dist/nile-nav-tab-panel/nile-nav-tab-panel.cjs.js +2 -0
  85. package/dist/nile-nav-tab-panel/nile-nav-tab-panel.cjs.js.map +1 -0
  86. package/dist/nile-nav-tab-panel/nile-nav-tab-panel.css.cjs.js +2 -0
  87. package/dist/nile-nav-tab-panel/nile-nav-tab-panel.css.cjs.js.map +1 -0
  88. package/dist/nile-nav-tab-panel/nile-nav-tab-panel.css.esm.js +22 -0
  89. package/dist/nile-nav-tab-panel/nile-nav-tab-panel.esm.js +8 -0
  90. package/dist/src/index.d.ts +7 -0
  91. package/dist/src/index.js +7 -0
  92. package/dist/src/index.js.map +1 -1
  93. package/dist/src/internal/enum.d.ts +6 -0
  94. package/dist/src/internal/enum.js +7 -0
  95. package/dist/src/internal/enum.js.map +1 -1
  96. package/dist/src/nile-inline-sidebar/nile-inline-sidebar.css.d.ts +1 -0
  97. package/dist/src/nile-inline-sidebar/nile-inline-sidebar.css.js +75 -17
  98. package/dist/src/nile-inline-sidebar/nile-inline-sidebar.css.js.map +1 -1
  99. package/dist/src/nile-inline-sidebar/nile-inline-sidebar.d.ts +17 -1
  100. package/dist/src/nile-inline-sidebar/nile-inline-sidebar.js +147 -18
  101. package/dist/src/nile-inline-sidebar/nile-inline-sidebar.js.map +1 -1
  102. package/dist/src/nile-inline-sidebar-group/nile-inline-sidebar-group.css.d.ts +1 -0
  103. package/dist/src/nile-inline-sidebar-group/nile-inline-sidebar-group.css.js +7 -7
  104. package/dist/src/nile-inline-sidebar-group/nile-inline-sidebar-group.css.js.map +1 -1
  105. package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.d.ts +1 -1
  106. package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js +15 -17
  107. package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js.map +1 -1
  108. package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.d.ts +7 -1
  109. package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.js +63 -4
  110. package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.js.map +1 -1
  111. package/dist/src/nile-inline-sidebar-item-body/index.d.ts +1 -0
  112. package/dist/src/nile-inline-sidebar-item-body/index.js +2 -0
  113. package/dist/src/nile-inline-sidebar-item-body/index.js.map +1 -0
  114. package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.d.ts +9 -0
  115. package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.js +62 -0
  116. package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.js.map +1 -0
  117. package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.d.ts +45 -0
  118. package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.js +110 -0
  119. package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.js.map +1 -0
  120. package/dist/src/nile-inline-sidebar-item-header/index.d.ts +1 -0
  121. package/dist/src/nile-inline-sidebar-item-header/index.js +2 -0
  122. package/dist/src/nile-inline-sidebar-item-header/index.js.map +1 -0
  123. package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.d.ts +9 -0
  124. package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.js +36 -0
  125. package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.js.map +1 -0
  126. package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.d.ts +34 -0
  127. package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.js +68 -0
  128. package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.js.map +1 -0
  129. package/dist/src/nile-inline-sidebar-panel/index.d.ts +1 -0
  130. package/dist/src/nile-inline-sidebar-panel/index.js +2 -0
  131. package/dist/src/nile-inline-sidebar-panel/index.js.map +1 -0
  132. package/dist/src/nile-inline-sidebar-panel/nile-inline-sidebar-panel.css.d.ts +9 -0
  133. package/dist/src/nile-inline-sidebar-panel/nile-inline-sidebar-panel.css.js +28 -0
  134. package/dist/src/nile-inline-sidebar-panel/nile-inline-sidebar-panel.css.js.map +1 -0
  135. package/dist/src/nile-inline-sidebar-panel/nile-inline-sidebar-panel.d.ts +35 -0
  136. package/dist/src/nile-inline-sidebar-panel/nile-inline-sidebar-panel.js +55 -0
  137. package/dist/src/nile-inline-sidebar-panel/nile-inline-sidebar-panel.js.map +1 -0
  138. package/dist/src/nile-inline-sidebar-panel-group/index.d.ts +1 -0
  139. package/dist/src/nile-inline-sidebar-panel-group/index.js +2 -0
  140. package/dist/src/nile-inline-sidebar-panel-group/index.js.map +1 -0
  141. package/dist/src/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.css.d.ts +9 -0
  142. package/dist/src/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.css.js +39 -0
  143. package/dist/src/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.css.js.map +1 -0
  144. package/dist/src/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.d.ts +43 -0
  145. package/dist/src/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.js +93 -0
  146. package/dist/src/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.js.map +1 -0
  147. package/dist/src/nile-nav-tab/index.d.ts +1 -0
  148. package/dist/src/nile-nav-tab/index.js +2 -0
  149. package/dist/src/nile-nav-tab/index.js.map +1 -0
  150. package/dist/src/nile-nav-tab/nile-nav-tab.css.d.ts +9 -0
  151. package/dist/src/nile-nav-tab/nile-nav-tab.css.js +199 -0
  152. package/dist/src/nile-nav-tab/nile-nav-tab.css.js.map +1 -0
  153. package/dist/src/nile-nav-tab/nile-nav-tab.d.ts +50 -0
  154. package/dist/src/nile-nav-tab/nile-nav-tab.js +190 -0
  155. package/dist/src/nile-nav-tab/nile-nav-tab.js.map +1 -0
  156. package/dist/src/nile-nav-tab/nile-nav-tab.test.d.ts +1 -0
  157. package/dist/src/nile-nav-tab/nile-nav-tab.test.js +656 -0
  158. package/dist/src/nile-nav-tab/nile-nav-tab.test.js.map +1 -0
  159. package/dist/src/nile-nav-tab-group/index.d.ts +1 -0
  160. package/dist/src/nile-nav-tab-group/index.js +2 -0
  161. package/dist/src/nile-nav-tab-group/index.js.map +1 -0
  162. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.css.d.ts +12 -0
  163. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.css.js +680 -0
  164. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.css.js.map +1 -0
  165. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.d.ts +119 -0
  166. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.js +765 -0
  167. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.js.map +1 -0
  168. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.test.d.ts +3 -0
  169. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.test.js +838 -0
  170. package/dist/src/nile-nav-tab-group/nile-nav-tab-group.test.js.map +1 -0
  171. package/dist/src/nile-nav-tab-panel/index.d.ts +1 -0
  172. package/dist/src/nile-nav-tab-panel/index.js +2 -0
  173. package/dist/src/nile-nav-tab-panel/index.js.map +1 -0
  174. package/dist/src/nile-nav-tab-panel/nile-nav-tab-panel.css.d.ts +15 -0
  175. package/dist/src/nile-nav-tab-panel/nile-nav-tab-panel.css.js +37 -0
  176. package/dist/src/nile-nav-tab-panel/nile-nav-tab-panel.css.js.map +1 -0
  177. package/dist/src/nile-nav-tab-panel/nile-nav-tab-panel.d.ts +37 -0
  178. package/dist/src/nile-nav-tab-panel/nile-nav-tab-panel.js +75 -0
  179. package/dist/src/nile-nav-tab-panel/nile-nav-tab-panel.js.map +1 -0
  180. package/dist/src/nile-nav-tab-panel/nile-nav-tab-panel.test.d.ts +1 -0
  181. package/dist/src/nile-nav-tab-panel/nile-nav-tab-panel.test.js +534 -0
  182. package/dist/src/nile-nav-tab-panel/nile-nav-tab-panel.test.js.map +1 -0
  183. package/dist/src/version.js +1 -1
  184. package/dist/src/version.js.map +1 -1
  185. package/dist/tsconfig.tsbuildinfo +1 -1
  186. package/package.json +8 -3
  187. package/src/index.ts +7 -0
  188. package/src/internal/enum.ts +8 -1
  189. package/src/nile-inline-sidebar/nile-inline-sidebar.css.ts +75 -17
  190. package/src/nile-inline-sidebar/nile-inline-sidebar.ts +148 -18
  191. package/src/nile-inline-sidebar-group/nile-inline-sidebar-group.css.ts +7 -7
  192. package/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.ts +15 -17
  193. package/src/nile-inline-sidebar-item/nile-inline-sidebar-item.ts +74 -9
  194. package/src/nile-inline-sidebar-item-body/index.ts +1 -0
  195. package/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.ts +64 -0
  196. package/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.ts +110 -0
  197. package/src/nile-inline-sidebar-item-header/index.ts +1 -0
  198. package/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.ts +38 -0
  199. package/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.ts +69 -0
  200. package/src/nile-inline-sidebar-panel/index.ts +1 -0
  201. package/src/nile-inline-sidebar-panel/nile-inline-sidebar-panel.css.ts +30 -0
  202. package/src/nile-inline-sidebar-panel/nile-inline-sidebar-panel.ts +53 -0
  203. package/src/nile-inline-sidebar-panel-group/index.ts +1 -0
  204. package/src/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.css.ts +41 -0
  205. package/src/nile-inline-sidebar-panel-group/nile-inline-sidebar-panel-group.ts +101 -0
  206. package/src/nile-nav-tab/index.ts +1 -0
  207. package/src/nile-nav-tab/nile-nav-tab.css.ts +201 -0
  208. package/src/nile-nav-tab/nile-nav-tab.test.ts +768 -0
  209. package/src/nile-nav-tab/nile-nav-tab.ts +198 -0
  210. package/src/nile-nav-tab-group/index.ts +1 -0
  211. package/src/nile-nav-tab-group/nile-nav-tab-group.css.ts +682 -0
  212. package/src/nile-nav-tab-group/nile-nav-tab-group.test.ts +1009 -0
  213. package/src/nile-nav-tab-group/nile-nav-tab-group.ts +845 -0
  214. package/src/nile-nav-tab-panel/index.ts +1 -0
  215. package/src/nile-nav-tab-panel/nile-nav-tab-panel.css.ts +39 -0
  216. package/src/nile-nav-tab-panel/nile-nav-tab-panel.test.ts +797 -0
  217. package/src/nile-nav-tab-panel/nile-nav-tab-panel.ts +78 -0
  218. package/vscode-html-custom-data.json +272 -2
@@ -1 +1 @@
1
- {"version":3,"file":"nile-inline-sidebar-group.css.cjs.js","sources":["../../../src/nile-inline-sidebar-group/nile-inline-sidebar-group.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\nexport const styles = css`\n:host {\n display: block;\n}\n\n.group {\n display: flex;\n flex-direction: column;\n gap: var(--nile-spacing-xs);\n}\n\n\n:host([divider=\"false\"]) .group {\n border-bottom: none;\n margin-bottom: 0;\n padding-bottom: 0;\n}\n\n.group-label {\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-semibold);\n text-transform: uppercase;\n color: var(--nile-colors-neutral-500); \n margin: var(--nile-spacing-xs) 0 var(--nile-spacing-xs) var(--nile-spacing-md);\n letter-spacing: 0.05em;\n}\n\n.group-items {\n display: flex;\n flex-direction: column;\n gap: var(--nile-spacing-xs);\n}\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-group.css.cjs.js","sources":["../../../src/nile-inline-sidebar-group/nile-inline-sidebar-group.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/** Enterprise (`--nile-*`) primary, NxtGen (`--ng-*`) fallback. */\nexport const styles = css`\n:host {\n display: block;\n}\n\n.group {\n display: flex;\n flex-direction: column;\n gap: var(--nile-spacing-xs, var(--ng-spacing-xs));\n}\n\n:host([divider=\"false\"]) .group {\n border-bottom: none;\n margin-bottom: 0;\n padding-bottom: 0;\n}\n\n.group-label {\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n font-weight: var(--nile-font-weight-semibold, var(--ng-font-weight-semibold));\n text-transform: uppercase;\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n margin: var(--nile-spacing-xs, var(--ng-spacing-xs)) 0 var(--nile-spacing-xs, var(--ng-spacing-xs)) var(--nile-spacing-md, var(--ng-spacing-md));\n letter-spacing: 0.05em;\n}\n\n.group-items {\n display: flex;\n flex-direction: column;\n gap: var(--nile-spacing-xs, var(--ng-spacing-xs));\n}\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAUaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -1,4 +1,4 @@
1
- import{css as e}from"lit";const i=e`
1
+ import{css as n}from"lit";const a=n`
2
2
  :host {
3
3
  display: block;
4
4
  }
@@ -6,10 +6,9 @@ import{css as e}from"lit";const i=e`
6
6
  .group {
7
7
  display: flex;
8
8
  flex-direction: column;
9
- gap: var(--nile-spacing-xs);
9
+ gap: var(--nile-spacing-xs, var(--ng-spacing-xs));
10
10
  }
11
11
 
12
-
13
12
  :host([divider="false"]) .group {
14
13
  border-bottom: none;
15
14
  margin-bottom: 0;
@@ -17,17 +16,17 @@ import{css as e}from"lit";const i=e`
17
16
  }
18
17
 
19
18
  .group-label {
20
- font-size: var(--nile-type-scale-3);
21
- font-weight: var(--nile-font-weight-semibold);
19
+ font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
20
+ font-weight: var(--nile-font-weight-semibold, var(--ng-font-weight-semibold));
22
21
  text-transform: uppercase;
23
- color: var(--nile-colors-neutral-500);
24
- margin: var(--nile-spacing-xs) 0 var(--nile-spacing-xs) var(--nile-spacing-md);
22
+ color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));
23
+ margin: var(--nile-spacing-xs, var(--ng-spacing-xs)) 0 var(--nile-spacing-xs, var(--ng-spacing-xs)) var(--nile-spacing-md, var(--ng-spacing-md));
25
24
  letter-spacing: 0.05em;
26
25
  }
27
26
 
28
27
  .group-items {
29
28
  display: flex;
30
29
  flex-direction: column;
31
- gap: var(--nile-spacing-xs);
30
+ gap: var(--nile-spacing-xs, var(--ng-spacing-xs));
32
31
  }
33
- `;export{i as s};
32
+ `;export{a as s};
@@ -1,2 +1,2 @@
1
- System.register(["./nile-inline-sidebar-item.cjs.js","tslib","lit","lit/decorators.js","./nile-inline-sidebar-item.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileInlineSidebarItemCjsJs){_export("NileInlineSidebarItem",_nileInlineSidebarItemCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileInlineSidebarItemCssCjsJs){},function(_internalNileElementCjsJs){},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){}};});
1
+ System.register(["./nile-inline-sidebar-item.cjs.js","tslib","lit","lit/decorators.js","./nile-inline-sidebar-item.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js","lit/directives/class-map.js"],function(_export,_context){"use strict";return{setters:[function(_nileInlineSidebarItemCjsJs){_export("NileInlineSidebarItem",_nileInlineSidebarItemCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileInlineSidebarItemCssCjsJs){},function(_internalNileElementCjsJs){},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){},function(_litDirectivesClassMapJs){}],execute:function execute(){}};});
2
2
  //# sourceMappingURL=index.cjs.js.map
@@ -1 +1 @@
1
- export{N as NileInlineSidebarItem}from"./nile-inline-sidebar-item.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-inline-sidebar-item.css.esm.js";import"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";
1
+ export{N as NileInlineSidebarItem}from"./nile-inline-sidebar-item.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-inline-sidebar-item.css.esm.js";import"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";import"lit/directives/class-map.js";
@@ -1,2 +1,2 @@
1
- function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","./nile-inline-sidebar-item.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var i,t,e,s,l,n,_templateObject,_templateObject2,_templateObject3,r;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _superPropGet(t,o,e,r){var p=_get(_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},_get.apply(null,arguments);}function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=_getPrototypeOf(t)););return t;}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){i=_tslib.__decorate;},function(_lit){t=_lit.html;},function(_litDecoratorsJs){e=_litDecoratorsJs.property;s=_litDecoratorsJs.customElement;},function(_nileInlineSidebarItemCssCjsJs){l=_nileInlineSidebarItemCssCjsJs.s;},function(_internalNileElementCjsJs){n=_internalNileElementCjsJs.N;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){_export("N",r=/*#__PURE__*/function(_n){function r(){var _this;_classCallCheck(this,r);_this=_callSuper(this,r,arguments),_this.active=!1,_this.disabled=!1,_this.tooltip=!1,_this._handleHostKeyDown=function(i){"Enter"!==i.key&&" "!==i.key||(i.preventDefault(),_this._select(i));};return _this;}_inherits(r,_n);return _createClass(r,[{key:"connectedCallback",value:function connectedCallback(){_superPropGet(r,"connectedCallback",this,3)([]),this.hasAttribute("tabindex")||this.setAttribute("tabindex",this.disabled?"-1":"0"),this.hasAttribute("role")||this.setAttribute("role","menuitem"),this.addEventListener("keydown",this._handleHostKeyDown);}},{key:"disconnectedCallback",value:function disconnectedCallback(){_superPropGet(r,"disconnectedCallback",this,3)([]),this.removeEventListener("keydown",this._handleHostKeyDown);}},{key:"_select",value:function _select(i){var _this2=this,_this$textContent;if(this.disabled)return i.preventDefault(),void i.stopPropagation();var t=this.closest("nile-inline-sidebar");if(t){t.querySelectorAll("nile-inline-sidebar-item").forEach(function(i){return i.active=i===_this2;});}var e=((_this$textContent=this.textContent)===null||_this$textContent===void 0?void 0:_this$textContent.trim())||"";this.dispatchEvent(new CustomEvent("nile-click",{detail:{item:this,href:this.href,text:e},bubbles:!0,composed:!0})),this.href&&(window.location.href=this.href);}},{key:"handleClick",value:function handleClick(i){this._select(i);}},{key:"render",value:function render(){return t(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div\n class=\"item\"\n @click=","\n role=\"menuitem\"\n aria-disabled=","\n >\n ","\n </div>\n "])),this.handleClick,this.disabled,this.href?t(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<a href="," @click=","><slot></slot></a>"])),this.href,function(i){return i.preventDefault();}):t(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["<slot></slot>"]))));}}],[{key:"styles",get:function get(){return[l];}}]);}(n));i([e({type:Boolean,reflect:!0})],r.prototype,"active",void 0),i([e({type:Boolean,reflect:!0})],r.prototype,"disabled",void 0),i([e({type:String})],r.prototype,"href",void 0),i([e({type:Boolean,reflect:!0})],r.prototype,"tooltip",void 0),_export("N",r=i([s("nile-inline-sidebar-item")],r));}};});
1
+ function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","./nile-inline-sidebar-item.css.cjs.js","../internal/nile-element.cjs.js","lit/directives/class-map.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var t,i,e,s,n,r,o,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,l;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _superPropGet(t,o,e,r){var p=_get(_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},_get.apply(null,arguments);}function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=_getPrototypeOf(t)););return t;}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_lit){i=_lit.html;},function(_litDecoratorsJs){e=_litDecoratorsJs.property;s=_litDecoratorsJs.customElement;},function(_nileInlineSidebarItemCssCjsJs){n=_nileInlineSidebarItemCssCjsJs.s;},function(_internalNileElementCjsJs){r=_internalNileElementCjsJs.N;},function(_litDirectivesClassMapJs){o=_litDirectivesClassMapJs.classMap;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){_export("N",l=/*#__PURE__*/function(_r){function l(){var _this;_classCallCheck(this,l);_this=_callSuper(this,l,arguments),_this.active=!1,_this.disabled=!1,_this.tooltip=!1,_this.variant="minimal",_this._handleHostKeyDown=function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),_this._select(t));};return _this;}_inherits(l,_r);return _createClass(l,[{key:"firstUpdated",value:function firstUpdated(t){_superPropGet(l,"firstUpdated",this,3)([t]),this.syncBodyAndHeaderStates();}},{key:"updated",value:function updated(t){_superPropGet(l,"updated",this,3)([t]),(t.has("disabled")||t.has("active"))&&this.syncBodyAndHeaderStates();}},{key:"syncBodyAndHeaderStates",value:function syncBodyAndHeaderStates(){var t=[this.querySelector('[slot="body"]'),this.querySelector('[slot="header"]')],i={disabled:this.disabled,active:this.active};t.forEach(function(t){t&&Object.entries(i).forEach(function(_ref){var _ref2=_slicedToArray(_ref,2),i=_ref2[0],e=_ref2[1];i in t&&(t[i]=e);});});}},{key:"connectedCallback",value:function connectedCallback(){_superPropGet(l,"connectedCallback",this,3)([]),this.hasAttribute("tabindex")||this.setAttribute("tabindex",this.disabled?"-1":"0"),this.hasAttribute("role")||this.setAttribute("role","menuitem"),this.addEventListener("keydown",this._handleHostKeyDown);}},{key:"disconnectedCallback",value:function disconnectedCallback(){_superPropGet(l,"disconnectedCallback",this,3)([]),this.removeEventListener("keydown",this._handleHostKeyDown);}},{key:"_select",value:function _select(t){var _this2=this,_this$textContent;if(this.disabled)return t.preventDefault(),void t.stopPropagation();var i=this.closest("nile-inline-sidebar");if(i){i.querySelectorAll("nile-inline-sidebar-item").forEach(function(t){return t.active=t===_this2;});}var e=((_this$textContent=this.textContent)===null||_this$textContent===void 0?void 0:_this$textContent.trim())||"";this.dispatchEvent(new CustomEvent("nile-click",{detail:{item:this,href:this.href,text:e},bubbles:!0,composed:!0})),this.href&&(window.location.href=this.href);}},{key:"handleClick",value:function handleClick(t){this._select(t);}},{key:"render",value:function render(){return i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div\n class=","\n @click=","\n role=\"menuitem\"\n style=","\n aria-disabled=","\n >\n ","\n </div>\n "])),o({item:!0,"item--rich":"rich"===this.variant}),this.handleClick,"rich"===this.variant?"border-radius: 0px;":"",this.disabled,"minimal"===this.variant?this.href?i(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<a href="," @click=","><slot></slot></a>"])),this.href,function(t){return t.preventDefault();}):i(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["<slot></slot>"]))):this.href?i(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["<a\n href=","\n @click=","\n >\n <div class=\"header-content\" part=\"header-content\">\n <slot name=\"header\"></slot>\n </div>\n <div class=\"body-content\" part=\"body-content\">\n <slot name=\"body\"></slot>\n </div>\n </a>"])),this.href,function(t){return t.preventDefault();}):i(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["\n <div class=\"header-content\" part=\"header-content\">\n <slot name=\"header\"></slot>\n </div>\n <div class=\"body-content\" part=\"body-content\">\n <slot name=\"body\"></slot>\n </div>\n "]))));}}],[{key:"styles",get:function get(){return[n];}}]);}(r));t([e({type:Boolean,reflect:!0})],l.prototype,"active",void 0),t([e({type:Boolean,reflect:!0})],l.prototype,"disabled",void 0),t([e({type:String})],l.prototype,"href",void 0),t([e({type:Boolean,reflect:!0})],l.prototype,"tooltip",void 0),t([e({type:String,reflect:!0,attribute:!0})],l.prototype,"variant",void 0),t([e({type:String,reflect:!0})],l.prototype,"panel",void 0),_export("N",l=t([s("nile-inline-sidebar-item")],l));}};});
2
2
  //# sourceMappingURL=nile-inline-sidebar-item.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-inline-sidebar-item.cjs.js","sources":["../../../src/nile-inline-sidebar-item/nile-inline-sidebar-item.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 { html, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { styles } from './nile-inline-sidebar-item.css';\nimport NileElement from '../internal/nile-element';\n\n/**\n * Nile inline sidebar item.\n *\n * @tag nile-inlinesidebar-item\n *\n * @attr active - Marks the item as active (selected).\n * @attr disabled - Marks the item as disabled (non-interactive).\n * @attr href - Optional URL to navigate to when the item is clicked.\n *\n * @slot - Default slot for the item text or content.\n *\n * @fires nile-select - Emitted when the item is clicked (not disabled).\n * detail: { item: this, href?: string }\n */\n@customElement('nile-inline-sidebar-item')\nexport class NileInlineSidebarItem extends NileElement {\n @property({ type: Boolean, reflect: true }) active = false;\n @property({ type: Boolean, reflect: true }) disabled = false;\n @property({ type: String }) href?: string;\n @property({ type: Boolean, reflect: true }) tooltip = false;\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n connectedCallback() {\n super.connectedCallback();\n if (!this.hasAttribute('tabindex')) {\n this.setAttribute('tabindex', this.disabled ? '-1' : '0');\n }\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'menuitem');\n }\n this.addEventListener('keydown', this._handleHostKeyDown);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.removeEventListener('keydown', this._handleHostKeyDown);\n }\n\n private _handleHostKeyDown = (e: KeyboardEvent) => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault();\n this._select(e);\n }\n };\n\n private _select(e: Event) {\n if (this.disabled) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n \n const parent = this.closest('nile-inline-sidebar');\n if (parent) {\n const allItems = parent.querySelectorAll('nile-inline-sidebar-item');\n allItems.forEach((item) => (item as NileInlineSidebarItem).active = item === this);\n }\n \n const text = this.textContent?.trim() || '';\n \n this.dispatchEvent(\n new CustomEvent('nile-click', {\n detail: { item: this, href: this.href, text },\n bubbles: true,\n composed: true,\n }),\n );\n \n if (this.href) {\n window.location.href = this.href;\n }\n }\n\n private handleClick(e: Event) {\n this._select(e);\n }\n\n public render(): TemplateResult {\n return html`\n <div\n class=\"item\"\n @click=${this.handleClick}\n role=\"menuitem\"\n aria-disabled=${this.disabled}\n >\n ${this.href\n ? html`<a href=${this.href} @click=${(e: Event) => e.preventDefault()}><slot></slot></a>`\n : html`<slot></slot>`}\n </div>\n `;\n }\n}\n\nexport default NileInlineSidebarItem;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-inline-sidebar-item': NileInlineSidebarItem;\n }\n}\n"],"names":["NileInlineSidebarItem","r","this","active","disabled","tooltip","_handleHostKeyDown","e","key","preventDefault","_select","_this","_inherits","_n","_createClass","value","connectedCallback","super","hasAttribute","setAttribute","addEventListener","disconnectedCallback","removeEventListener","stopPropagation","parent","closest","querySelectorAll","forEach","item","text","textContent","trim","dispatchEvent","CustomEvent","detail","href","bubbles","composed","window","location","handleClick","render","html","_templateObject","_taggedTemplateLiteral","_templateObject2","_templateObject3","__decorate","get","styles","NileElement","property","type","Boolean","reflect","prototype","String","_export","customElement"],"mappings":"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"}
1
+ {"version":3,"file":"nile-inline-sidebar-item.cjs.js","sources":["../../../src/nile-inline-sidebar-item/nile-inline-sidebar-item.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 { html, CSSResultArray, TemplateResult, PropertyValues } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { styles } from './nile-inline-sidebar-item.css';\nimport NileElement from '../internal/nile-element';\nimport { classMap } from 'lit/directives/class-map.js';\n\n/**\n * Nile inline sidebar item.\n *\n * @tag nile-inlinesidebar-item\n *\n * @attr active - Marks the item as active (selected).\n * @attr disabled - Marks the item as disabled (non-interactive).\n * @attr href - Optional URL to navigate to when the item is clicked.\n *\n * @slot - Default slot for the item text or content.\n *\n * @fires nile-select - Emitted when the item is clicked (not disabled).\n * detail: { item: this, href?: string }\n */\n@customElement('nile-inline-sidebar-item')\nexport class NileInlineSidebarItem extends NileElement {\n @property({ type: Boolean, reflect: true }) active = false;\n @property({ type: Boolean, reflect: true }) disabled = false;\n @property({ type: String }) href?: string;\n @property({ type: Boolean, reflect: true }) tooltip = false;\n @property({ type: String, reflect: true, attribute: true }) variant?: 'minimal' | 'rich' = 'minimal';\n\n /** Links this item to a `nile-inline-sidebar-panel` by matching its `name` property. */\n @property({ type: String, reflect: true }) panel?: string;\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n\n firstUpdated(changedProperties: PropertyValues) {\n super.firstUpdated(changedProperties);\n this.syncBodyAndHeaderStates();\n }\n\n updated(changedProperties: PropertyValues) {\n super.updated(changedProperties);\n if (changedProperties.has('disabled') || changedProperties.has('active')) {\n this.syncBodyAndHeaderStates();\n }\n }\n\n private syncBodyAndHeaderStates() {\n const elements = [\n this.querySelector('[slot=\"body\"]'),\n this.querySelector('[slot=\"header\"]')\n ] as (HTMLElement | null)[];\n\n const props = {\n disabled: this.disabled,\n active: this.active\n };\n\n elements.forEach(el => {\n if (!el) return;\n\n Object.entries(props).forEach(([key, value]) => {\n if (key in el) {\n (el as any)[key] = value;\n }\n });\n });\n }\n\n connectedCallback() {\n super.connectedCallback();\n if (!this.hasAttribute('tabindex')) {\n this.setAttribute('tabindex', this.disabled ? '-1' : '0');\n }\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'menuitem');\n }\n this.addEventListener('keydown', this._handleHostKeyDown);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.removeEventListener('keydown', this._handleHostKeyDown);\n }\n\n private _handleHostKeyDown = (e: KeyboardEvent) => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault();\n this._select(e);\n }\n };\n\n private _select(e: Event) {\n if (this.disabled) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n\n const parent = this.closest('nile-inline-sidebar');\n if (parent) {\n const allItems = parent.querySelectorAll('nile-inline-sidebar-item');\n allItems.forEach((item) => (item as NileInlineSidebarItem).active = item === this);\n }\n\n const text = this.textContent?.trim() || '';\n\n this.dispatchEvent(\n new CustomEvent('nile-click', {\n detail: { item: this, href: this.href, text },\n bubbles: true,\n composed: true,\n }),\n );\n\n if (this.href) {\n window.location.href = this.href;\n }\n }\n\n private handleClick(e: Event) {\n this._select(e);\n }\n\n public render(): TemplateResult {\n return html`\n <div\n class=${classMap({ 'item': true, 'item--rich': this.variant === 'rich' })}\n @click=${this.handleClick}\n role=\"menuitem\"\n style=${this.variant === 'rich' ? 'border-radius: 0px;' : ''}\n aria-disabled=${this.disabled}\n >\n ${this.variant === 'minimal'\n ? this.href\n ? html`<a href=${this.href} @click=${(e: Event) => e.preventDefault()}><slot></slot></a>`\n : html`<slot></slot>`\n : this.href\n ? html`<a\n href=${this.href}\n @click=${(e: Event) => e.preventDefault()}\n >\n <div class=\"header-content\" part=\"header-content\">\n <slot name=\"header\"></slot>\n </div>\n <div class=\"body-content\" part=\"body-content\">\n <slot name=\"body\"></slot>\n </div>\n </a>`\n : html`\n <div class=\"header-content\" part=\"header-content\">\n <slot name=\"header\"></slot>\n </div>\n <div class=\"body-content\" part=\"body-content\">\n <slot name=\"body\"></slot>\n </div>\n `}\n </div>\n `;\n }\n\n\n \n}\n\nexport default NileInlineSidebarItem;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-inline-sidebar-item': NileInlineSidebarItem;\n }\n}\n"],"names":["NileInlineSidebarItem","l","this","active","disabled","tooltip","variant","_handleHostKeyDown","e","key","preventDefault","_select","_this","_inherits","_r","_createClass","value","firstUpdated","changedProperties","super","syncBodyAndHeaderStates","updated","has","elements","querySelector","props","forEach","el","Object","entries","_ref","connectedCallback","hasAttribute","setAttribute","addEventListener","disconnectedCallback","removeEventListener","stopPropagation","parent","closest","querySelectorAll","item","text","textContent","trim","dispatchEvent","CustomEvent","detail","href","bubbles","composed","window","location","handleClick","render","html","_templateObject","_taggedTemplateLiteral","classMap","_templateObject2","_templateObject3","_templateObject4","_templateObject5","get","styles","NileElement","__decorate","property","type","Boolean","reflect","prototype","String","attribute","customElement"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- System.register(["lit"],function(_export,_context){"use strict";var o,_templateObject,r;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){o=_lit.css;}],execute:function execute(){_export("s",r=o(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n:host {\n display: block;\n font-family: var(--nile-font-family-sans-serif);\n font-size: var(--nile-type-scale-3);\n color: var(--nile-colors-dark-900);\n cursor: pointer;\n user-select: none;\n}\n\n.item {\n padding: var(--nile-spacing-lg) var(--nile-spacing-md);\n border-radius: var(--nile-radius-sm);\n transition: background 0.2s, color 0.2s;\n}\n\n \n:host(:not([disabled])) .item:hover {\n background: var(--nile-colors-neutral-400);\n}\n\n \n:host([active]) .item {\n background: var(--nile-colors-primary-100);\n font-weight: 500;\n}\n\n:host([active]) .item:hover {\n background: var(--nile-colors-primary-100);\n}\n\n \n:host([disabled]) {\n color: var(--nile-colors-neutral-500); \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 \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-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"]))));}};});
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\n */\nexport const styles = css`\n:host {\n display: block;\n font-family: var(--nile-font-family-sans-serif);\n font-size: var(--nile-type-scale-3);\n color: var(--nile-colors-dark-900);\n cursor: pointer;\n user-select: none;\n}\n\n.item {\n padding: var(--nile-spacing-lg) var(--nile-spacing-md);\n border-radius: var(--nile-radius-sm);\n transition: background 0.2s, color 0.2s;\n}\n\n \n:host(:not([disabled])) .item:hover {\n background: var(--nile-colors-neutral-400);\n}\n\n \n:host([active]) .item {\n background: var(--nile-colors-primary-100);\n font-weight: 500;\n}\n\n:host([active]) .item:hover {\n background: var(--nile-colors-primary-100);\n}\n\n \n:host([disabled]) {\n color: var(--nile-colors-neutral-500); \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 \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-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,37 +1,38 @@
1
- import{css as o}from"lit";const r=o`
1
+ import{css as r}from"lit";const o=r`
2
2
  :host {
3
3
  display: block;
4
- font-family: var(--nile-font-family-sans-serif);
5
- font-size: var(--nile-type-scale-3);
6
- color: var(--nile-colors-dark-900);
4
+ font-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));
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));
7
7
  cursor: pointer;
8
8
  user-select: none;
9
9
  }
10
10
 
11
11
  .item {
12
- padding: var(--nile-spacing-lg) var(--nile-spacing-md);
13
- border-radius: var(--nile-radius-sm);
12
+ padding: var(--nile-spacing-lg, var(--ng-spacing-lg)) var(--nile-spacing-md, var(--ng-spacing-md));
13
+ border-radius: var(--nile-radius-sm, var(--ng-radius-xs));
14
14
  transition: background 0.2s, color 0.2s;
15
15
  }
16
16
 
17
-
18
17
  :host(:not([disabled])) .item:hover {
19
- background: var(--nile-colors-neutral-400);
18
+ background: var(--nile-colors-neutral-400, var(--ng-colors-bg-tertiary));
20
19
  }
21
20
 
22
-
23
21
  :host([active]) .item {
24
- background: var(--nile-colors-primary-100);
25
- font-weight: 500;
22
+ background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-secondary));
23
+ font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));
24
+ color: var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700));
25
+ }
26
+ :host([active]) .item--rich {
27
+ border-right: 2px solid var(--nile-colors-primary-600, var(--ng-colors-border-brand));
26
28
  }
27
29
 
28
30
  :host([active]) .item:hover {
29
- background: var(--nile-colors-primary-100);
31
+ background: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-secondary));
30
32
  }
31
33
 
32
-
33
34
  :host([disabled]) {
34
- color: var(--nile-colors-neutral-500);
35
+ color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));
35
36
  cursor: not-allowed;
36
37
  }
37
38
 
@@ -53,7 +54,4 @@ a {
53
54
  color: inherit;
54
55
  text-decoration: none;
55
56
  }
56
-
57
-
58
-
59
- `;export{r as s};
57
+ `;export{o as s};
@@ -1,10 +1,28 @@
1
- import{__decorate as i}from"tslib";import{html as e}from"lit";import{property as t,customElement as s}from"lit/decorators.js";import{s as l}from"./nile-inline-sidebar-item.css.esm.js";import{N as n}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 r=class extends n{constructor(){super(...arguments),this.active=!1,this.disabled=!1,this.tooltip=!1,this._handleHostKeyDown=i=>{"Enter"!==i.key&&" "!==i.key||(i.preventDefault(),this._select(i))}}static get styles(){return[l]}connectedCallback(){super.connectedCallback(),this.hasAttribute("tabindex")||this.setAttribute("tabindex",this.disabled?"-1":"0"),this.hasAttribute("role")||this.setAttribute("role","menuitem"),this.addEventListener("keydown",this._handleHostKeyDown)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this._handleHostKeyDown)}_select(i){if(this.disabled)return i.preventDefault(),void i.stopPropagation();const e=this.closest("nile-inline-sidebar");if(e){e.querySelectorAll("nile-inline-sidebar-item").forEach((i=>i.active=i===this))}const t=this.textContent?.trim()||"";this.dispatchEvent(new CustomEvent("nile-click",{detail:{item:this,href:this.href,text:t},bubbles:!0,composed:!0})),this.href&&(window.location.href=this.href)}handleClick(i){this._select(i)}render(){return e`
1
+ import{__decorate as t}from"tslib";import{html as e}from"lit";import{property as i,customElement as s}from"lit/decorators.js";import{s as n}from"./nile-inline-sidebar-item.css.esm.js";import{N as r}from"../internal/nile-element.esm.js";import{classMap as o}from"lit/directives/class-map.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let l=class extends r{constructor(){super(...arguments),this.active=!1,this.disabled=!1,this.tooltip=!1,this.variant="minimal",this._handleHostKeyDown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this._select(t))}}static get styles(){return[n]}firstUpdated(t){super.firstUpdated(t),this.syncBodyAndHeaderStates()}updated(t){super.updated(t),(t.has("disabled")||t.has("active"))&&this.syncBodyAndHeaderStates()}syncBodyAndHeaderStates(){const t=[this.querySelector('[slot="body"]'),this.querySelector('[slot="header"]')],e={disabled:this.disabled,active:this.active};t.forEach((t=>{t&&Object.entries(e).forEach((([e,i])=>{e in t&&(t[e]=i)}))}))}connectedCallback(){super.connectedCallback(),this.hasAttribute("tabindex")||this.setAttribute("tabindex",this.disabled?"-1":"0"),this.hasAttribute("role")||this.setAttribute("role","menuitem"),this.addEventListener("keydown",this._handleHostKeyDown)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this._handleHostKeyDown)}_select(t){if(this.disabled)return t.preventDefault(),void t.stopPropagation();const e=this.closest("nile-inline-sidebar");if(e){e.querySelectorAll("nile-inline-sidebar-item").forEach((t=>t.active=t===this))}const i=this.textContent?.trim()||"";this.dispatchEvent(new CustomEvent("nile-click",{detail:{item:this,href:this.href,text:i},bubbles:!0,composed:!0})),this.href&&(window.location.href=this.href)}handleClick(t){this._select(t)}render(){return e`
2
2
  <div
3
- class="item"
3
+ class=${o({item:!0,"item--rich":"rich"===this.variant})}
4
4
  @click=${this.handleClick}
5
5
  role="menuitem"
6
+ style=${"rich"===this.variant?"border-radius: 0px;":""}
6
7
  aria-disabled=${this.disabled}
7
8
  >
8
- ${this.href?e`<a href=${this.href} @click=${i=>i.preventDefault()}><slot></slot></a>`:e`<slot></slot>`}
9
+ ${"minimal"===this.variant?this.href?e`<a href=${this.href} @click=${t=>t.preventDefault()}><slot></slot></a>`:e`<slot></slot>`:this.href?e`<a
10
+ href=${this.href}
11
+ @click=${t=>t.preventDefault()}
12
+ >
13
+ <div class="header-content" part="header-content">
14
+ <slot name="header"></slot>
15
+ </div>
16
+ <div class="body-content" part="body-content">
17
+ <slot name="body"></slot>
18
+ </div>
19
+ </a>`:e`
20
+ <div class="header-content" part="header-content">
21
+ <slot name="header"></slot>
22
+ </div>
23
+ <div class="body-content" part="body-content">
24
+ <slot name="body"></slot>
25
+ </div>
26
+ `}
9
27
  </div>
10
- `}};i([t({type:Boolean,reflect:!0})],r.prototype,"active",void 0),i([t({type:Boolean,reflect:!0})],r.prototype,"disabled",void 0),i([t({type:String})],r.prototype,"href",void 0),i([t({type:Boolean,reflect:!0})],r.prototype,"tooltip",void 0),r=i([s("nile-inline-sidebar-item")],r);export{r as N};
28
+ `}};t([i({type:Boolean,reflect:!0})],l.prototype,"active",void 0),t([i({type:Boolean,reflect:!0})],l.prototype,"disabled",void 0),t([i({type:String})],l.prototype,"href",void 0),t([i({type:Boolean,reflect:!0})],l.prototype,"tooltip",void 0),t([i({type:String,reflect:!0,attribute:!0})],l.prototype,"variant",void 0),t([i({type:String,reflect:!0})],l.prototype,"panel",void 0),l=t([s("nile-inline-sidebar-item")],l);export{l as N};
@@ -0,0 +1,2 @@
1
+ System.register(["./nile-inline-sidebar-item-body.cjs.js","tslib","lit","lit/decorators.js","./nile-inline-sidebar-item-body.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileInlineSidebarItemBodyCjsJs){_export("NileInlineSidebarItemBody",_nileInlineSidebarItemBodyCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileInlineSidebarItemBodyCssCjsJs){},function(_internalNileElementCjsJs){},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){}};});
2
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export{N as NileInlineSidebarItemBody}from"./nile-inline-sidebar-item-body.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-inline-sidebar-item-body.css.esm.js";import"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";
@@ -0,0 +1,2 @@
1
+ function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","./nile-inline-sidebar-item-body.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var t,i,e,s,o,n,r,l,_templateObject,_templateObject2,_templateObject3,_templateObject4,c;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _superPropGet(t,o,e,r){var p=_get(_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},_get.apply(null,arguments);}function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=_getPrototypeOf(t)););return t;}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_lit){i=_lit.html;},function(_litDecoratorsJs){e=_litDecoratorsJs.property;s=_litDecoratorsJs.state;o=_litDecoratorsJs.query;n=_litDecoratorsJs.customElement;},function(_nileInlineSidebarItemBodyCssCjsJs){r=_nileInlineSidebarItemBodyCssCjsJs.s;},function(_internalNileElementCjsJs){l=_internalNileElementCjsJs.N;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){_export("N",c=/*#__PURE__*/function(_l){function c(){var _this;_classCallCheck(this,c);_this=_callSuper(this,c,arguments),_this.lines=2,_this.content="",_this.showTooltip=!1,_this.isTruncated=!1,_this.disabled=!1,_this.active=!1;return _this;}_inherits(c,_l);return _createClass(c,[{key:"firstUpdated",value:function firstUpdated(){var _this2=this;this.checkTruncation(),this.bodyContentEl&&(this.resizeObserver=new ResizeObserver(function(){return _this2.checkTruncation();}),this.resizeObserver.observe(this.bodyContentEl));}},{key:"disconnectedCallback",value:function disconnectedCallback(){var _this$resizeObserver;_superPropGet(c,"disconnectedCallback",this,3)([]),(_this$resizeObserver=this.resizeObserver)===null||_this$resizeObserver===void 0?void 0:_this$resizeObserver.disconnect();}},{key:"checkTruncation",value:function checkTruncation(){if(this.bodyContentEl){var _t=this.bodyContentEl.scrollHeight>this.bodyContentEl.clientHeight;_t!==this.isTruncated&&(this.isTruncated=_t);}}},{key:"contentTemplate",get:function get(){var t=i(_templateObject||(_templateObject=_taggedTemplateLiteral(["<div class=\"body-text\" part=\"body-text\">","</div>"])),this.content);return this.isTruncated&&this.showTooltip?i(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-lite-tooltip content="," hoist>","</nile-lite-tooltip>"])),this.content,t):t;}},{key:"render",value:function render(){return i(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n\t\t<div class=\"item-body\" part=\"item-body\">\n\t\t<div class=\"prefix-content\" part=\"prefix-content\">\n\t\t\t<slot name=\"prefix\"></slot>\n\t\t</div>\n\t\t<div class=\"body-content\" part=\"body-content\" style=\"--line-clamp: ","\">\n\t\t\t","\n\t\t</div>\n\t\t<div class=\"suffix-content\" part=\"suffix-content\">\n\t\t\t<slot name=\"suffix\"></slot>\n\t\t</div>\n\t\t</div>\n\t\t\t"])),this.lines?this.lines:2,this.content?this.contentTemplate:i(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["<div class=\"body-text\" part=\"body-text\"><slot></slot></div>"]))));}}],[{key:"styles",get:function get(){return[r];}}]);}(l));t([e({type:Number,reflect:!0})],c.prototype,"lines",void 0),t([e({type:String,reflect:!0})],c.prototype,"content",void 0),t([e({type:Boolean,reflect:!0})],c.prototype,"showTooltip",void 0),t([s()],c.prototype,"isTruncated",void 0),t([o(".body-content")],c.prototype,"bodyContentEl",void 0),t([e({type:Boolean,reflect:!0,attribute:!0})],c.prototype,"disabled",void 0),t([e({type:Boolean,reflect:!0,attribute:!0})],c.prototype,"active",void 0),_export("N",c=t([n("nile-inline-sidebar-item-body")],c));}};});
2
+ //# sourceMappingURL=nile-inline-sidebar-item-body.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-inline-sidebar-item-body.cjs.js","sources":["../../../src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.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 { html, CSSResultArray, TemplateResult} from 'lit';\nimport { customElement, property, state, query} from 'lit/decorators.js';\nimport {styles} from './nile-inline-sidebar-item-body.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile inline-sidebar-item-body component.\n *\n * @tag nile-inline-sidebar-item-body\n *\n */\n@customElement('nile-inline-sidebar-item-body')\nexport class NileInlineSidebarItemBody extends NileElement {\n\n\t/** Maximum number of visible lines before text is truncated with an ellipsis. */\n\t@property({ type: Number, reflect: true }) lines: number = 2;\n\n\t@property({ type: String, reflect: true }) content: string = '';\n\n\t@property({ type: Boolean, reflect: true }) showTooltip: boolean = false;\n\n\t@state() private isTruncated = false;\n\n\t@query('.body-content') private bodyContentEl!: HTMLElement;\n\n\t@property({ type: Boolean, reflect: true, attribute: true }) disabled: boolean = false;\n\t@property({ type: Boolean, reflect: true, attribute: true }) active: boolean = false;\n\n\tprivate resizeObserver?: ResizeObserver;\n\n\t/**\n\t * The styles for nile-inline-sidebar-item-body\n\t * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n\t */\n\tpublic static get styles(): CSSResultArray {\n\t\treturn [styles];\n\t}\n\n\t/* #endregion */\n\n\t/* #region Methods */\n\n\tfirstUpdated() {\n\t\tthis.checkTruncation();\n\t\tif (this.bodyContentEl) {\n\t\t\tthis.resizeObserver = new ResizeObserver(() => this.checkTruncation());\n\t\t\tthis.resizeObserver.observe(this.bodyContentEl);\n\t\t}\n\t}\n\n\tdisconnectedCallback() {\n\t\tsuper.disconnectedCallback();\n\t\tthis.resizeObserver?.disconnect();\n\t}\n\n\tprivate checkTruncation() {\n\t\tif (this.bodyContentEl) {\n\t\t\tconst truncated = this.bodyContentEl.scrollHeight > this.bodyContentEl.clientHeight;\n\t\t\tif (truncated !== this.isTruncated) {\n\t\t\t\tthis.isTruncated = truncated;\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate get contentTemplate(): TemplateResult {\n\t\tconst body = html`<div class=\"body-text\" part=\"body-text\">${this.content}</div>`;\n\n\t\treturn this.isTruncated && this.showTooltip\n\t\t\t? html`<nile-lite-tooltip content=${this.content} hoist>${body}</nile-lite-tooltip>`\n\t\t\t: body;\n\t}\n\n\t/**\n\t * Render method\n\t * @slot This is a slot test\n\t */\n\tpublic render(): TemplateResult {\n\t\treturn html`\n\t\t<div class=\"item-body\" part=\"item-body\">\n\t\t<div class=\"prefix-content\" part=\"prefix-content\">\n\t\t\t<slot name=\"prefix\"></slot>\n\t\t</div>\n\t\t<div class=\"body-content\" part=\"body-content\" style=\"--line-clamp: ${this.lines? this.lines : 2}\">\n\t\t\t${this.content ? this.contentTemplate : html`<div class=\"body-text\" part=\"body-text\"><slot></slot></div>`}\n\t\t</div>\n\t\t<div class=\"suffix-content\" part=\"suffix-content\">\n\t\t\t<slot name=\"suffix\"></slot>\n\t\t</div>\n\t\t</div>\n\t\t\t`;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileInlineSidebarItemBody;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-inline-sidebar-item-body': NileInlineSidebarItemBody;\n }\n}"],"names":["NileInlineSidebarItemBody","c","constructor","this","lines","content","showTooltip","isTruncated","disabled","active","_this","_inherits","_l","_createClass","key","value","firstUpdated","checkTruncation","bodyContentEl","resizeObserver","ResizeObserver","observe","disconnectedCallback","super","disconnect","truncated","scrollHeight","clientHeight","get","body","html","_templateObject","_taggedTemplateLiteral","_templateObject2","render","_templateObject3","contentTemplate","_templateObject4","styles","NileElement","__decorate","property","type","Number","reflect","prototype","String","Boolean","state","query","attribute","customElement"],"mappings":"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"}
@@ -0,0 +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"]))));}};});
2
+ //# sourceMappingURL=nile-inline-sidebar-item-body.css.cjs.js.map
@@ -0,0 +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"}
@@ -0,0 +1,53 @@
1
+ import{css as e}from"lit";const l=e`
2
+ :host {
3
+ display: block;
4
+ min-width: 0;
5
+ font-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));
6
+ }
7
+ .item-body {
8
+ display: flex;
9
+ align-items: flex-start;
10
+ min-width: 0;
11
+ padding-top: var(--nile-spacing-xxsmall, var(--ng-spacing-xxs));
12
+ }
13
+ .body-content {
14
+ box-sizing: border-box;
15
+ min-width: 0;
16
+ flex: 1 1 0%;
17
+ max-width: 100%;
18
+ color: var(--nile-colors-dark-500, var(--ng-componentcolors-alpha-black-50));
19
+ font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
20
+ font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
21
+ line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-xs));
22
+ }
23
+ .body-content nile-lite-tooltip {
24
+ display: block;
25
+ min-width: 0;
26
+ max-width: 100%;
27
+ }
28
+ .body-text {
29
+ display: -webkit-box;
30
+ -webkit-box-orient: vertical;
31
+ overflow: hidden;
32
+ text-overflow: ellipsis;
33
+ word-break: break-word;
34
+ overflow-wrap: anywhere;
35
+ -webkit-line-clamp: var(--line-clamp);
36
+ line-clamp: var(--line-clamp);
37
+ }
38
+ /* Slotted block/paragraph nodes need the same clamp (slot composition) */
39
+ .body-text ::slotted(*) {
40
+ display: -webkit-box;
41
+ -webkit-box-orient: vertical;
42
+ overflow: hidden;
43
+ text-overflow: ellipsis;
44
+ word-break: break-word;
45
+ overflow-wrap: anywhere;
46
+ -webkit-line-clamp: var(--line-clamp);
47
+ line-clamp: var(--line-clamp);
48
+ margin-block: 0;
49
+ }
50
+ :host([disabled]) .body-content {
51
+ color: var(--nile-colors-neutral-300, var(--ng-colors-text-disabled));
52
+ }
53
+ `;export{l as s};
@@ -0,0 +1,13 @@
1
+ import{__decorate as t}from"tslib";import{html as i}from"lit";import{property as e,state as s,query as o,customElement as n}from"lit/decorators.js";import{s as r}from"./nile-inline-sidebar-item-body.css.esm.js";import{N as l}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let a=class extends l{constructor(){super(...arguments),this.lines=2,this.content="",this.showTooltip=!1,this.isTruncated=!1,this.disabled=!1,this.active=!1}static get styles(){return[r]}firstUpdated(){this.checkTruncation(),this.bodyContentEl&&(this.resizeObserver=new ResizeObserver((()=>this.checkTruncation())),this.resizeObserver.observe(this.bodyContentEl))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}checkTruncation(){if(this.bodyContentEl){const t=this.bodyContentEl.scrollHeight>this.bodyContentEl.clientHeight;t!==this.isTruncated&&(this.isTruncated=t)}}get contentTemplate(){const t=i`<div class="body-text" part="body-text">${this.content}</div>`;return this.isTruncated&&this.showTooltip?i`<nile-lite-tooltip content=${this.content} hoist>${t}</nile-lite-tooltip>`:t}render(){return i`
2
+ <div class="item-body" part="item-body">
3
+ <div class="prefix-content" part="prefix-content">
4
+ <slot name="prefix"></slot>
5
+ </div>
6
+ <div class="body-content" part="body-content" style="--line-clamp: ${this.lines?this.lines:2}">
7
+ ${this.content?this.contentTemplate:i`<div class="body-text" part="body-text"><slot></slot></div>`}
8
+ </div>
9
+ <div class="suffix-content" part="suffix-content">
10
+ <slot name="suffix"></slot>
11
+ </div>
12
+ </div>
13
+ `}};t([e({type:Number,reflect:!0})],a.prototype,"lines",void 0),t([e({type:String,reflect:!0})],a.prototype,"content",void 0),t([e({type:Boolean,reflect:!0})],a.prototype,"showTooltip",void 0),t([s()],a.prototype,"isTruncated",void 0),t([o(".body-content")],a.prototype,"bodyContentEl",void 0),t([e({type:Boolean,reflect:!0,attribute:!0})],a.prototype,"disabled",void 0),t([e({type:Boolean,reflect:!0,attribute:!0})],a.prototype,"active",void 0),a=t([n("nile-inline-sidebar-item-body")],a);export{a as N};
@@ -0,0 +1,2 @@
1
+ System.register(["./nile-inline-sidebar-item-header.cjs.js","tslib","lit","lit/decorators.js","./nile-inline-sidebar-item-header.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileInlineSidebarItemHeaderCjsJs){_export("NileInlineSidebarItemHeader",_nileInlineSidebarItemHeaderCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileInlineSidebarItemHeaderCssCjsJs){},function(_internalNileElementCjsJs){},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){}};});
2
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export{N as NileInlineSidebarItemHeader}from"./nile-inline-sidebar-item-header.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-inline-sidebar-item-header.css.esm.js";import"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";
@@ -0,0 +1,2 @@
1
+ function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","./nile-inline-sidebar-item-header.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var t,e,i,s,r,a,_templateObject,o;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_lit){e=_lit.html;},function(_litDecoratorsJs){i=_litDecoratorsJs.property;s=_litDecoratorsJs.customElement;},function(_nileInlineSidebarItemHeaderCssCjsJs){r=_nileInlineSidebarItemHeaderCssCjsJs.s;},function(_internalNileElementCjsJs){a=_internalNileElementCjsJs.N;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){_export("N",o=/*#__PURE__*/function(_a){function o(){var _this;_classCallCheck(this,o);_this=_callSuper(this,o,arguments),_this.active=!1,_this.disabled=!1;return _this;}_inherits(o,_a);return _createClass(o,[{key:"render",value:function render(){return e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t\t<div class=\"item-header\" part=\"item-header\">\n\t\t<div class=\"prefix-content\" part=\"prefix-content\">\n\t\t<slot name=\"prefix\"></slot>\n\t\t</div>\n\t\t<div class=\"body-content\" part=\"body-content\">\n\t\t<div class=\"header-text\" part=\"header-text\">\n\t\t\t<slot name=\"text\"></slot>\n\t\t\t<slot></slot>\n\t\t</div>\n\t\t</div>\n\t\t<div class=\"suffix-content\" part=\"suffix-content\">\n\t\t\t<slot name=\"suffix\"></slot>\n\t\t</div>\n\t\t</div>\n\t\t\t"])));}}],[{key:"styles",get:function get(){return[r];}}]);}(a));t([i({type:Boolean,reflect:!0,attribute:!0})],o.prototype,"active",void 0),t([i({type:Boolean,reflect:!0,attribute:!0})],o.prototype,"disabled",void 0),_export("N",o=t([s("nile-inline-sidebar-item-header")],o));}};});
2
+ //# sourceMappingURL=nile-inline-sidebar-item-header.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-inline-sidebar-item-header.cjs.js","sources":["../../../src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.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 { html, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement, property} from 'lit/decorators.js';\nimport {styles} from './nile-inline-sidebar-item-header.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile inline-sidebar-item-header component.\n *\n * @tag nile-inline-sidebar-item-header\n *\n */\n@customElement('nile-inline-sidebar-item-header')\nexport class NileInlineSidebarItemHeader extends NileElement {\n\t@property({ type: Boolean, reflect: true, attribute: true }) active = false;\n\t@property({ type: Boolean, reflect: true, attribute: true }) disabled = false;\n\n\t/**\n\t * The styles for nile-inline-sidebar-item-header\n\t * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n\t */\n\tpublic static get styles(): CSSResultArray {\n\t\treturn [styles];\n\t}\n\n\t/* #endregion */\n\n\t/* #region Methods */\n\n\t/**\n\t * Render method\n\t * @slot This is a slot test\n\t */\n\tpublic render(): TemplateResult {\n\t\treturn html`\n\t\t<div class=\"item-header\" part=\"item-header\">\n\t\t<div class=\"prefix-content\" part=\"prefix-content\">\n\t\t<slot name=\"prefix\"></slot>\n\t\t</div>\n\t\t<div class=\"body-content\" part=\"body-content\">\n\t\t<div class=\"header-text\" part=\"header-text\">\n\t\t\t<slot name=\"text\"></slot>\n\t\t\t<slot></slot>\n\t\t</div>\n\t\t</div>\n\t\t<div class=\"suffix-content\" part=\"suffix-content\">\n\t\t\t<slot name=\"suffix\"></slot>\n\t\t</div>\n\t\t</div>\n\t\t\t`;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileInlineSidebarItemHeader;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-inline-sidebar-item-header': NileInlineSidebarItemHeader;\n }\n}"],"names":["NileInlineSidebarItemHeader","o","this","active","disabled","_this","_inherits","_a","_createClass","key","value","render","html","_templateObject","_taggedTemplateLiteral","get","styles","NileElement","__decorate","property","type","Boolean","reflect","attribute","prototype","customElement"],"mappings":"o+GAoBaA,CAAAA,uBAAAA,EAAAA,EAAN,SAAAC,EAAA,uEACuDC,KAAAA,CAAMC,MAAAA,CAAAA,CAAG,CACTD,CAAAA,KAAAA,CAAQE,UAAG,CAsCxE,QAAAC,KAAA,EAhCOC,SAAA,CAAAL,CAAA,CAAAM,EAAA,SAAAC,YAAA,CAAAP,CAAA,GAAAQ,GAAA,UAAAC,KAAA,CAYA,SAAAC,MAAAA,CAAAA,CAAAA,CACN,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,yeAgBX,CAAA,KAAAL,GAAA,UAAAM,GAAA,CA7BM,SAAAA,IAAA,CAAWC,CACjB,MAAO,CAACA,CAAAA,CACR,EAUM,MApByCC,CAA1C,GACuDC,CAAA,CAAA,CAA5DC,CAAS,CAAA,CAAEC,KAAMC,OAASC,CAAAA,OAAAA,CAAAA,CAAS,CAAMC,CAAAA,SAAAA,CAAAA,CAAW,CAAuBvB,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAwB,SAAA,CAAA,QAAA,CAAA,IAAA,IACfN,CAAA,CAAA,CAA5DC,CAAS,CAAA,CAAEC,IAAMC,CAAAA,OAAAA,CAASC,OAAS,CAAA,CAAA,CAAA,CAAMC,WAAW,CAAyBvB,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAwB,SAAA,CAAA,UAAA,CAAA,IAAA,gBAFlExB,CAA2BkB,CAAAA,CAAAA,CAAA,CADvCO,CAAAA,CAAc,oCACFzB"}
@@ -0,0 +1,2 @@
1
+ System.register(["lit"],function(_export,_context){"use strict";var e,_templateObject,t;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){e=_lit.css;}],execute:function execute(){_export("s",t=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t:host {\n\t\tfont-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));\n\t}\n\t.item-header {\n\t\tdisplay: flex;\n\t\tgap: var(--nile-spacing-xs, var(--ng-spacing-xs));\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\talign-items: center;\n\t}\n\t.item-header .body-content .header-text {\n\t\tdisplay: block;\n\t\tfont-weight: var(--nile-font-weight-semibold, var(--ng-font-weight-semibold));\n\t\tfont-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n\t\tline-height: var(--nile-line-height-medium, var(--ng-line-height-text-sm));\n\t\tcolor: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n\t}\n\t:host([active]) .item-header .body-content .header-text {\n\t\tfont-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));\n\t\tcolor: var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700));\n\t}\n\n\t:host([disabled]) .item-header .body-content .header-text {\n\t\tcolor: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n\t}\n"]))));}};});
2
+ //# sourceMappingURL=nile-inline-sidebar-item-header.css.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-inline-sidebar-item-header.css.cjs.js","sources":["../../../src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.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\tfont-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));\n\t}\n\t.item-header {\n\t\tdisplay: flex;\n\t\tgap: var(--nile-spacing-xs, var(--ng-spacing-xs));\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\talign-items: center;\n\t}\n\t.item-header .body-content .header-text {\n\t\tdisplay: block;\n\t\tfont-weight: var(--nile-font-weight-semibold, var(--ng-font-weight-semibold));\n\t\tfont-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n\t\tline-height: var(--nile-line-height-medium, var(--ng-line-height-text-sm));\n\t\tcolor: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n\t}\n\t:host([active]) .item-header .body-content .header-text {\n\t\tfont-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));\n\t\tcolor: var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700));\n\t}\n\n\t:host([disabled]) .item-header .body-content .header-text {\n\t\tcolor: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n\t}\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTASaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -0,0 +1,27 @@
1
+ import{css as e}from"lit";const t=e`
2
+ :host {
3
+ font-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));
4
+ }
5
+ .item-header {
6
+ display: flex;
7
+ gap: var(--nile-spacing-xs, var(--ng-spacing-xs));
8
+ width: 100%;
9
+ height: 100%;
10
+ align-items: center;
11
+ }
12
+ .item-header .body-content .header-text {
13
+ display: block;
14
+ font-weight: var(--nile-font-weight-semibold, var(--ng-font-weight-semibold));
15
+ font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));
16
+ line-height: var(--nile-line-height-medium, var(--ng-line-height-text-sm));
17
+ color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
18
+ }
19
+ :host([active]) .item-header .body-content .header-text {
20
+ font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));
21
+ color: var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700));
22
+ }
23
+
24
+ :host([disabled]) .item-header .body-content .header-text {
25
+ color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));
26
+ }
27
+ `;export{t as s};
@@ -0,0 +1,16 @@
1
+ import{__decorate as e}from"tslib";import{html as t}from"lit";import{property as i,customElement as s}from"lit/decorators.js";import{s as r}from"./nile-inline-sidebar-item-header.css.esm.js";import{N as a}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 o=class extends a{constructor(){super(...arguments),this.active=!1,this.disabled=!1}static get styles(){return[r]}render(){return t`
2
+ <div class="item-header" part="item-header">
3
+ <div class="prefix-content" part="prefix-content">
4
+ <slot name="prefix"></slot>
5
+ </div>
6
+ <div class="body-content" part="body-content">
7
+ <div class="header-text" part="header-text">
8
+ <slot name="text"></slot>
9
+ <slot></slot>
10
+ </div>
11
+ </div>
12
+ <div class="suffix-content" part="suffix-content">
13
+ <slot name="suffix"></slot>
14
+ </div>
15
+ </div>
16
+ `}};e([i({type:Boolean,reflect:!0,attribute:!0})],o.prototype,"active",void 0),e([i({type:Boolean,reflect:!0,attribute:!0})],o.prototype,"disabled",void 0),o=e([s("nile-inline-sidebar-item-header")],o);export{o as N};
@@ -0,0 +1,2 @@
1
+ System.register(["./nile-inline-sidebar-panel.cjs.js","tslib","lit","lit/decorators.js","./nile-inline-sidebar-panel.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileInlineSidebarPanelCjsJs){_export("NileInlineSidebarPanel",_nileInlineSidebarPanelCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileInlineSidebarPanelCssCjsJs){},function(_internalNileElementCjsJs){},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){}};});
2
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export{N as NileInlineSidebarPanel}from"./nile-inline-sidebar-panel.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-inline-sidebar-panel.css.esm.js";import"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";
@@ -0,0 +1,2 @@
1
+ function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","./nile-inline-sidebar-panel.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var e,t,s,i,r,n,_templateObject,l;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){e=_tslib.__decorate;},function(_lit){t=_lit.html;},function(_litDecoratorsJs){s=_litDecoratorsJs.property;i=_litDecoratorsJs.customElement;},function(_nileInlineSidebarPanelCssCjsJs){r=_nileInlineSidebarPanelCssCjsJs.s;},function(_internalNileElementCjsJs){n=_internalNileElementCjsJs.N;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){_export("N",l=/*#__PURE__*/function(_n){function l(){var _this;_classCallCheck(this,l);_this=_callSuper(this,l,arguments),_this.name="",_this.active=!1;return _this;}_inherits(l,_n);return _createClass(l,[{key:"render",value:function render(){return t(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div class=\"panel\" part=\"base\">\n <slot></slot>\n </div>\n "])));}}],[{key:"styles",get:function get(){return[r];}}]);}(n));e([s({type:String,reflect:!0})],l.prototype,"name",void 0),e([s({type:Boolean,reflect:!0})],l.prototype,"active",void 0),_export("N",l=e([i("nile-inline-sidebar-panel")],l));}};});
2
+ //# sourceMappingURL=nile-inline-sidebar-panel.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-inline-sidebar-panel.cjs.js","sources":["../../../src/nile-inline-sidebar-panel/nile-inline-sidebar-panel.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 { html, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { styles } from './nile-inline-sidebar-panel.css';\nimport NileElement from '../internal/nile-element';\n\n/**\n * Content panel associated with a `nile-inline-sidebar-item`.\n * Linked via the item's `panel` property matching this panel's `name`.\n *\n * @tag nile-inline-sidebar-panel\n *\n * @attr name - Identifier that links this panel to a sidebar item's `panel` property.\n * @attr active - Whether this panel is currently visible.\n *\n * @slot - Default slot for panel content.\n *\n * @csspart base - The panel container.\n */\n@customElement('nile-inline-sidebar-panel')\nexport class NileInlineSidebarPanel extends NileElement {\n /** Identifier that links this panel to a sidebar item's `panel` property. */\n @property({ type: String, reflect: true }) name = '';\n\n /** Whether this panel is currently visible. */\n @property({ type: Boolean, reflect: true }) active = false;\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n public render(): TemplateResult {\n return html`\n <div class=\"panel\" part=\"base\">\n <slot></slot>\n </div>\n `;\n }\n}\n\nexport default NileInlineSidebarPanel;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-inline-sidebar-panel': NileInlineSidebarPanel;\n }\n}\n"],"names":["NileInlineSidebarPanel","l","this","name","active","_this","_inherits","_n","_createClass","key","value","render","html","_templateObject","_taggedTemplateLiteral","get","styles","NileElement","__decorate","property","type","String","reflect","prototype","Boolean","_export","customElement"],"mappings":"o9GA0BaA,CAAAA,uBAAAA,EAAAA,EAAN,SAAAC,EAAA,uEAEsCC,KAAAA,CAAIC,IAAAA,CAAG,EAGND,CAAAA,KAAAA,CAAME,QAAG,CAatD,QAAAC,KAAA,EAXQC,SAAA,CAAAL,CAAA,CAAAM,EAAA,SAAAC,YAAA,CAAAP,CAAA,GAAAQ,GAAA,UAAAC,KAAA,CAIA,SAAAC,MAAAA,CAAAA,CAAAA,CACL,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,+FAKZ,CAAA,KAAAL,GAAA,UAAAM,GAAA,CAVM,SAAAA,IAAA,CAAWC,CAChB,MAAO,CAACA,CAAAA,CACT,EAEM,MAXmCC,CAArC,GAEsCC,CAAA,CAAA,CAA1CC,CAAS,CAAA,CAAEC,IAAMC,CAAAA,MAAAA,CAAQC,OAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAkBtB,CAAAuB,CAAAA,SAAAA,CAAA,MAAA,CAAA,IAAA,EAAA,CAAA,CAGTL,CAAA,CAAA,CAA3CC,CAAS,CAAA,CAAEC,IAAMI,CAAAA,OAAAA,CAASF,OAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAuBtB,CAAAuB,CAAAA,SAAAA,CAAA,QAAA,CAAA,IAAA,EAAA,CAAA,CAAAE,OAAA,KALhDzB,CAAsBkB,CAAAA,CAAAA,CAAA,CADlCQ,CAAAA,CAAc,8BACF1B"}
@@ -0,0 +1,2 @@
1
+ System.register(["lit"],function(_export,_context){"use strict";var e,_templateObject,o;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){e=_lit.css;}],execute:function execute(){_export("s",o=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: none;\n height: 100%;\n min-width: 0;\n overflow: hidden;\n }\n\n :host([active]) {\n display: flex;\n flex: 1;\n }\n\n .panel {\n flex: 1;\n height: 100%;\n overflow: auto;\n }\n"]))));}};});
2
+ //# sourceMappingURL=nile-inline-sidebar-panel.css.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-inline-sidebar-panel.css.cjs.js","sources":["../../../src/nile-inline-sidebar-panel/nile-inline-sidebar-panel.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\nexport const styles = css`\n :host {\n display: none;\n height: 100%;\n min-width: 0;\n overflow: hidden;\n }\n\n :host([active]) {\n display: flex;\n flex: 1;\n }\n\n .panel {\n flex: 1;\n height: 100%;\n overflow: auto;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTASaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}