@aquera/nile-elements 1.3.8-beta-1.1 → 1.3.8-beta-1.2

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 (358) hide show
  1. package/demo/index.html +12 -1
  2. package/dist/index.cjs.js +1 -1
  3. package/dist/index.esm.js +1 -1
  4. package/dist/index.js +27 -13
  5. package/dist/nile-avatar/nile-avatar.test.cjs.js +1 -1
  6. package/dist/nile-avatar/nile-avatar.test.cjs.js.map +1 -1
  7. package/dist/nile-avatar/nile-avatar.test.esm.js +1 -1
  8. package/dist/nile-badge/index.cjs.js +1 -1
  9. package/dist/nile-badge/index.esm.js +1 -1
  10. package/dist/nile-badge/nile-badge.cjs.js +1 -1
  11. package/dist/nile-badge/nile-badge.cjs.js.map +1 -1
  12. package/dist/nile-badge/nile-badge.esm.js +1 -1
  13. package/dist/nile-badge/nile-badge.test.cjs.js +1 -1
  14. package/dist/nile-badge/nile-badge.test.cjs.js.map +1 -1
  15. package/dist/nile-badge/nile-badge.test.esm.js +1 -1
  16. package/dist/nile-button/index.cjs.js +1 -1
  17. package/dist/nile-button/index.esm.js +1 -1
  18. package/dist/nile-button/nile-button.cjs.js +1 -1
  19. package/dist/nile-button/nile-button.cjs.js.map +1 -1
  20. package/dist/nile-button/nile-button.esm.js +1 -1
  21. package/dist/nile-button/nile-button.test.cjs.js +1 -1
  22. package/dist/nile-button/nile-button.test.cjs.js.map +1 -1
  23. package/dist/nile-button/nile-button.test.esm.js +1 -1
  24. package/dist/nile-calendar/nile-calendar.cjs.js +1 -1
  25. package/dist/nile-calendar/nile-calendar.cjs.js.map +1 -1
  26. package/dist/nile-calendar/nile-calendar.esm.js +1 -1
  27. package/dist/nile-calendar/nile-calendar.test.cjs.js +1 -1
  28. package/dist/nile-calendar/nile-calendar.test.cjs.js.map +1 -1
  29. package/dist/nile-calendar/nile-calendar.test.esm.js +1 -1
  30. package/dist/nile-chip/nile-chip.test.cjs.js +1 -1
  31. package/dist/nile-chip/nile-chip.test.cjs.js.map +1 -1
  32. package/dist/nile-chip/nile-chip.test.esm.js +1 -1
  33. package/dist/nile-code-editor/nile-code-editor.cjs.js +2 -2
  34. package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
  35. package/dist/nile-code-editor/nile-code-editor.css.cjs.js +1 -1
  36. package/dist/nile-code-editor/nile-code-editor.css.cjs.js.map +1 -1
  37. package/dist/nile-code-editor/nile-code-editor.css.esm.js +17 -2
  38. package/dist/nile-code-editor/nile-code-editor.esm.js +4 -4
  39. package/dist/nile-dialog/index.cjs.js +1 -1
  40. package/dist/nile-dialog/index.esm.js +1 -1
  41. package/dist/nile-dialog/nile-dialog.cjs.js +1 -1
  42. package/dist/nile-dialog/nile-dialog.cjs.js.map +1 -1
  43. package/dist/nile-dialog/nile-dialog.esm.js +1 -1
  44. package/dist/nile-dialog/nile-dialog.test.cjs.js +1 -1
  45. package/dist/nile-dialog/nile-dialog.test.cjs.js.map +1 -1
  46. package/dist/nile-dialog/nile-dialog.test.esm.js +1 -1
  47. package/dist/nile-drawer/index.cjs.js +1 -1
  48. package/dist/nile-drawer/index.esm.js +1 -1
  49. package/dist/nile-drawer/nile-drawer.cjs.js +1 -1
  50. package/dist/nile-drawer/nile-drawer.cjs.js.map +1 -1
  51. package/dist/nile-drawer/nile-drawer.esm.js +1 -1
  52. package/dist/nile-drawer/nile-drawer.test.cjs.js +1 -1
  53. package/dist/nile-drawer/nile-drawer.test.cjs.js.map +1 -1
  54. package/dist/nile-drawer/nile-drawer.test.esm.js +1 -1
  55. package/dist/nile-icon/icons/svg/index.cjs.js +1 -1
  56. package/dist/nile-icon/icons/svg/index.esm.js +1 -1
  57. package/dist/nile-icon/icons/svg/ng-alert-triangle.cjs.js +2 -0
  58. package/dist/nile-icon/icons/svg/ng-alert-triangle.cjs.js.map +1 -0
  59. package/dist/nile-icon/icons/svg/ng-alert-triangle.esm.js +1 -0
  60. package/dist/nile-icon/index.cjs.js +1 -1
  61. package/dist/nile-icon/index.cjs.js.map +1 -1
  62. package/dist/nile-icon/index.esm.js +1 -1
  63. package/dist/nile-icon/nile-icon.test.cjs.js +1 -1
  64. package/dist/nile-icon/nile-icon.test.cjs.js.map +1 -1
  65. package/dist/nile-icon/nile-icon.test.esm.js +1 -1
  66. package/dist/nile-icon-button/index.cjs.js +1 -1
  67. package/dist/nile-icon-button/index.esm.js +1 -1
  68. package/dist/nile-icon-button/nile-icon-button.cjs.js +1 -1
  69. package/dist/nile-icon-button/nile-icon-button.cjs.js.map +1 -1
  70. package/dist/nile-icon-button/nile-icon-button.esm.js +1 -1
  71. package/dist/nile-input/index.cjs.js +1 -1
  72. package/dist/nile-input/index.esm.js +1 -1
  73. package/dist/nile-input/nile-input.cjs.js +1 -1
  74. package/dist/nile-input/nile-input.cjs.js.map +1 -1
  75. package/dist/nile-input/nile-input.esm.js +1 -1
  76. package/dist/nile-input/nile-input.test.cjs.js +1 -1
  77. package/dist/nile-input/nile-input.test.cjs.js.map +1 -1
  78. package/dist/nile-input/nile-input.test.esm.js +1 -1
  79. package/dist/nile-menu-item/index.cjs.js +1 -1
  80. package/dist/nile-menu-item/index.esm.js +1 -1
  81. package/dist/nile-menu-item/nile-menu-item.cjs.js +1 -1
  82. package/dist/nile-menu-item/nile-menu-item.cjs.js.map +1 -1
  83. package/dist/nile-menu-item/nile-menu-item.esm.js +1 -1
  84. package/dist/nile-option/index.cjs.js +1 -1
  85. package/dist/nile-option/index.esm.js +1 -1
  86. package/dist/nile-option/nile-option.cjs.js +1 -1
  87. package/dist/nile-option/nile-option.cjs.js.map +1 -1
  88. package/dist/nile-option/nile-option.esm.js +1 -1
  89. package/dist/nile-select/index.cjs.js +1 -1
  90. package/dist/nile-select/index.esm.js +1 -1
  91. package/dist/nile-select/nile-select.cjs.js +1 -1
  92. package/dist/nile-select/nile-select.cjs.js.map +1 -1
  93. package/dist/nile-select/nile-select.esm.js +1 -1
  94. package/dist/nile-select/nile-select.test.cjs.js +1 -1
  95. package/dist/nile-select/nile-select.test.cjs.js.map +1 -1
  96. package/dist/nile-select/nile-select.test.esm.js +1 -1
  97. package/dist/nile-side-bar-action-menu-item/index.cjs.js +1 -1
  98. package/dist/nile-side-bar-action-menu-item/index.esm.js +1 -1
  99. package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.cjs.js +1 -1
  100. package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.cjs.js.map +1 -1
  101. package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.esm.js +1 -1
  102. package/dist/nile-slide-toggle/nile-slide-toggle.cjs.js +1 -1
  103. package/dist/nile-slide-toggle/nile-slide-toggle.cjs.js.map +1 -1
  104. package/dist/nile-slide-toggle/nile-slide-toggle.esm.js +8 -9
  105. package/dist/nile-tab/index.cjs.js +1 -1
  106. package/dist/nile-tab/index.esm.js +1 -1
  107. package/dist/nile-tab/nile-tab.cjs.js +1 -1
  108. package/dist/nile-tab/nile-tab.cjs.js.map +1 -1
  109. package/dist/nile-tab/nile-tab.esm.js +2 -2
  110. package/dist/nile-tab-group/index.cjs.js +1 -1
  111. package/dist/nile-tab-group/index.esm.js +1 -1
  112. package/dist/nile-tab-group/nile-tab-group.cjs.js +1 -1
  113. package/dist/nile-tab-group/nile-tab-group.cjs.js.map +1 -1
  114. package/dist/nile-tab-group/nile-tab-group.esm.js +1 -1
  115. package/dist/nile-tab-group/nile-tab-group.test.cjs.js +1 -1
  116. package/dist/nile-tab-group/nile-tab-group.test.cjs.js.map +1 -1
  117. package/dist/nile-tab-group/nile-tab-group.test.esm.js +1 -1
  118. package/dist/nile-tag/index.cjs.js +1 -1
  119. package/dist/nile-tag/index.esm.js +1 -1
  120. package/dist/nile-tag/nile-tag.cjs.js +1 -1
  121. package/dist/nile-tag/nile-tag.cjs.js.map +1 -1
  122. package/dist/nile-tag/nile-tag.esm.js +1 -1
  123. package/dist/nile-toast/index.cjs.js +1 -1
  124. package/dist/nile-toast/index.esm.js +1 -1
  125. package/dist/nile-toast/nile-toast.cjs.js +1 -1
  126. package/dist/nile-toast/nile-toast.cjs.js.map +1 -1
  127. package/dist/nile-toast/nile-toast.esm.js +1 -1
  128. package/dist/nile-tree/index.cjs.js +1 -1
  129. package/dist/nile-tree/index.esm.js +1 -1
  130. package/dist/nile-tree/nile-tree.cjs.js +1 -1
  131. package/dist/nile-tree/nile-tree.cjs.js.map +1 -1
  132. package/dist/nile-tree/nile-tree.esm.js +1 -1
  133. package/dist/nile-tree-item/index.cjs.js +1 -1
  134. package/dist/nile-tree-item/index.esm.js +1 -1
  135. package/dist/nile-tree-item/nile-tree-item.cjs.js +1 -1
  136. package/dist/nile-tree-item/nile-tree-item.cjs.js.map +1 -1
  137. package/dist/nile-tree-item/nile-tree-item.esm.js +1 -1
  138. package/dist/nile-virtual-select/index.cjs.js +1 -1
  139. package/dist/nile-virtual-select/index.esm.js +1 -1
  140. package/dist/nile-virtual-select/nile-virtual-select.cjs.js +1 -1
  141. package/dist/nile-virtual-select/nile-virtual-select.esm.js +1 -1
  142. package/dist/src/nile-calendar/nile-calendar.js +0 -6
  143. package/dist/src/nile-calendar/nile-calendar.js.map +1 -1
  144. package/dist/src/nile-code-editor/nile-code-editor.css.js +15 -0
  145. package/dist/src/nile-code-editor/nile-code-editor.css.js.map +1 -1
  146. package/dist/src/nile-code-editor/nile-code-editor.d.ts +1 -0
  147. package/dist/src/nile-code-editor/nile-code-editor.js +15 -3
  148. package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
  149. package/dist/src/nile-icon/icons/svg/index.d.ts +1 -0
  150. package/dist/src/nile-icon/icons/svg/index.js +1 -0
  151. package/dist/src/nile-icon/icons/svg/index.js.map +1 -1
  152. package/dist/src/nile-icon/icons/svg/ng-alert-triangle.d.ts +5 -0
  153. package/dist/src/nile-icon/icons/svg/ng-alert-triangle.js +5 -0
  154. package/dist/src/nile-icon/icons/svg/ng-alert-triangle.js.map +1 -0
  155. package/dist/src/nile-slide-toggle/nile-slide-toggle.js +5 -6
  156. package/dist/src/nile-slide-toggle/nile-slide-toggle.js.map +1 -1
  157. package/dist/src/version.js +1 -1
  158. package/dist/src/version.js.map +1 -1
  159. package/dist/tsconfig.tsbuildinfo +1 -1
  160. package/package.json +1 -1
  161. package/src/nile-calendar/nile-calendar.ts +0 -9
  162. package/src/nile-code-editor/nile-code-editor.css.ts +15 -0
  163. package/src/nile-code-editor/nile-code-editor.ts +13 -3
  164. package/src/nile-icon/icons/svg/index.ts +1 -0
  165. package/src/nile-icon/icons/svg/ng-alert-triangle.ts +5 -0
  166. package/src/nile-slide-toggle/nile-slide-toggle.ts +5 -6
  167. package/vscode-html-custom-data.json +6 -1
  168. package/dist/axe.min-2b379f29.cjs.js +0 -12
  169. package/dist/axe.min-2b379f29.cjs.js.map +0 -1
  170. package/dist/axe.min-c2cd8733.esm.js +0 -12
  171. package/dist/fixture-2b5b3aba.esm.js +0 -569
  172. package/dist/fixture-3bfb4490.cjs.js +0 -395
  173. package/dist/fixture-3bfb4490.cjs.js.map +0 -1
  174. package/dist/fixture-7bfb866e.cjs.js +0 -395
  175. package/dist/fixture-7bfb866e.cjs.js.map +0 -1
  176. package/dist/fixture-8edec91c.esm.js +0 -569
  177. package/dist/fixture-d1470b58.cjs.js +0 -395
  178. package/dist/fixture-d1470b58.cjs.js.map +0 -1
  179. package/dist/fixture-dff65c89.cjs.js +0 -395
  180. package/dist/fixture-dff65c89.cjs.js.map +0 -1
  181. package/dist/fixture-e7023246.esm.js +0 -569
  182. package/dist/fixture-fe6c932e.cjs.js +0 -395
  183. package/dist/fixture-fe6c932e.cjs.js.map +0 -1
  184. package/dist/nile-grid-body/index.cjs.js +0 -2
  185. package/dist/nile-grid-body/index.cjs.js.map +0 -1
  186. package/dist/nile-grid-body/index.esm.js +0 -1
  187. package/dist/nile-grid-body/nile-grid-body.cjs.js +0 -2
  188. package/dist/nile-grid-body/nile-grid-body.cjs.js.map +0 -1
  189. package/dist/nile-grid-body/nile-grid-body.css.cjs.js +0 -2
  190. package/dist/nile-grid-body/nile-grid-body.css.cjs.js.map +0 -1
  191. package/dist/nile-grid-body/nile-grid-body.css.esm.js +0 -15
  192. package/dist/nile-grid-body/nile-grid-body.esm.js +0 -5
  193. package/dist/nile-grid-cell/index.cjs.js +0 -2
  194. package/dist/nile-grid-cell/index.cjs.js.map +0 -1
  195. package/dist/nile-grid-cell/index.esm.js +0 -1
  196. package/dist/nile-grid-cell/nile-grid-cell.cjs.js +0 -2
  197. package/dist/nile-grid-cell/nile-grid-cell.cjs.js.map +0 -1
  198. package/dist/nile-grid-cell/nile-grid-cell.css.cjs.js +0 -2
  199. package/dist/nile-grid-cell/nile-grid-cell.css.cjs.js.map +0 -1
  200. package/dist/nile-grid-cell/nile-grid-cell.css.esm.js +0 -23
  201. package/dist/nile-grid-cell/nile-grid-cell.esm.js +0 -5
  202. package/dist/nile-grid-header/index.cjs.js +0 -2
  203. package/dist/nile-grid-header/index.cjs.js.map +0 -1
  204. package/dist/nile-grid-header/index.esm.js +0 -1
  205. package/dist/nile-grid-header/nile-grid-header.cjs.js +0 -2
  206. package/dist/nile-grid-header/nile-grid-header.cjs.js.map +0 -1
  207. package/dist/nile-grid-header/nile-grid-header.css.cjs.js +0 -2
  208. package/dist/nile-grid-header/nile-grid-header.css.cjs.js.map +0 -1
  209. package/dist/nile-grid-header/nile-grid-header.css.esm.js +0 -31
  210. package/dist/nile-grid-header/nile-grid-header.esm.js +0 -12
  211. package/dist/nile-grid-row/index.cjs.js +0 -2
  212. package/dist/nile-grid-row/index.cjs.js.map +0 -1
  213. package/dist/nile-grid-row/index.esm.js +0 -1
  214. package/dist/nile-grid-row/nile-grid-row.cjs.js +0 -2
  215. package/dist/nile-grid-row/nile-grid-row.cjs.js.map +0 -1
  216. package/dist/nile-grid-row/nile-grid-row.css.cjs.js +0 -2
  217. package/dist/nile-grid-row/nile-grid-row.css.cjs.js.map +0 -1
  218. package/dist/nile-grid-row/nile-grid-row.css.esm.js +0 -10
  219. package/dist/nile-grid-row/nile-grid-row.esm.js +0 -5
  220. package/dist/nile-sidebar/index.cjs.js +0 -2
  221. package/dist/nile-sidebar/index.cjs.js.map +0 -1
  222. package/dist/nile-sidebar/index.esm.js +0 -72
  223. package/dist/nile-sidebar-menu/index.cjs.js +0 -2
  224. package/dist/nile-sidebar-menu/index.cjs.js.map +0 -1
  225. package/dist/nile-sidebar-menu/index.esm.js +0 -1
  226. package/dist/nile-sidebar-menu/nile-sidebar-menu.cjs.js +0 -2
  227. package/dist/nile-sidebar-menu/nile-sidebar-menu.cjs.js.map +0 -1
  228. package/dist/nile-sidebar-menu/nile-sidebar-menu.css.cjs.js +0 -2
  229. package/dist/nile-sidebar-menu/nile-sidebar-menu.css.cjs.js.map +0 -1
  230. package/dist/nile-sidebar-menu/nile-sidebar-menu.css.esm.js +0 -35
  231. package/dist/nile-sidebar-menu/nile-sidebar-menu.esm.js +0 -10
  232. package/dist/nile-sidebar-menu-items/index.cjs.js +0 -2
  233. package/dist/nile-sidebar-menu-items/index.cjs.js.map +0 -1
  234. package/dist/nile-sidebar-menu-items/index.esm.js +0 -1
  235. package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.cjs.js +0 -2
  236. package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.cjs.js.map +0 -1
  237. package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.css.cjs.js +0 -2
  238. package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.css.cjs.js.map +0 -1
  239. package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.css.esm.js +0 -33
  240. package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.esm.js +0 -14
  241. package/dist/nile-sidebar-wrapper/index.cjs.js +0 -2
  242. package/dist/nile-sidebar-wrapper/index.cjs.js.map +0 -1
  243. package/dist/nile-sidebar-wrapper/index.esm.js +0 -1
  244. package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.cjs.js +0 -2
  245. package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.cjs.js.map +0 -1
  246. package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.css.cjs.js +0 -2
  247. package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.css.cjs.js.map +0 -1
  248. package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.css.esm.js +0 -102
  249. package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.esm.js +0 -16
  250. package/dist/scopedElementsWrapper-1bff26ef.cjs.js +0 -2
  251. package/dist/scopedElementsWrapper-1bff26ef.cjs.js.map +0 -1
  252. package/dist/scopedElementsWrapper-4c29be11.esm.js +0 -7
  253. package/dist/scopedElementsWrapper-a112fc73.cjs.js +0 -6
  254. package/dist/scopedElementsWrapper-a112fc73.cjs.js.map +0 -1
  255. package/dist/scopedElementsWrapper-c815042c.cjs.js +0 -2
  256. package/dist/scopedElementsWrapper-c815042c.cjs.js.map +0 -1
  257. package/dist/src/nile-grid-body/index.d.ts +0 -1
  258. package/dist/src/nile-grid-body/index.js +0 -2
  259. package/dist/src/nile-grid-body/index.js.map +0 -1
  260. package/dist/src/nile-grid-body/nile-grid-body.css.d.ts +0 -12
  261. package/dist/src/nile-grid-body/nile-grid-body.css.js +0 -27
  262. package/dist/src/nile-grid-body/nile-grid-body.css.js.map +0 -1
  263. package/dist/src/nile-grid-body/nile-grid-body.d.ts +0 -33
  264. package/dist/src/nile-grid-body/nile-grid-body.js +0 -47
  265. package/dist/src/nile-grid-body/nile-grid-body.js.map +0 -1
  266. package/dist/src/nile-grid-cell/index.d.ts +0 -1
  267. package/dist/src/nile-grid-cell/index.js +0 -2
  268. package/dist/src/nile-grid-cell/index.js.map +0 -1
  269. package/dist/src/nile-grid-cell/nile-grid-cell.css.d.ts +0 -12
  270. package/dist/src/nile-grid-cell/nile-grid-cell.css.js +0 -35
  271. package/dist/src/nile-grid-cell/nile-grid-cell.css.js.map +0 -1
  272. package/dist/src/nile-grid-cell/nile-grid-cell.d.ts +0 -37
  273. package/dist/src/nile-grid-cell/nile-grid-cell.js +0 -65
  274. package/dist/src/nile-grid-cell/nile-grid-cell.js.map +0 -1
  275. package/dist/src/nile-grid-cell-item/index.d.ts +0 -1
  276. package/dist/src/nile-grid-cell-item/index.js +0 -2
  277. package/dist/src/nile-grid-cell-item/index.js.map +0 -1
  278. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.css.d.ts +0 -12
  279. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.css.js +0 -47
  280. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.css.js.map +0 -1
  281. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.d.ts +0 -36
  282. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.js +0 -93
  283. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.js.map +0 -1
  284. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.utils.d.ts +0 -10
  285. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.utils.js +0 -34
  286. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.utils.js.map +0 -1
  287. package/dist/src/nile-grid-head/index.d.ts +0 -1
  288. package/dist/src/nile-grid-head/index.js +0 -2
  289. package/dist/src/nile-grid-head/index.js.map +0 -1
  290. package/dist/src/nile-grid-head/nile-grid-head.css.d.ts +0 -12
  291. package/dist/src/nile-grid-head/nile-grid-head.css.js +0 -19
  292. package/dist/src/nile-grid-head/nile-grid-head.css.js.map +0 -1
  293. package/dist/src/nile-grid-head/nile-grid-head.d.ts +0 -28
  294. package/dist/src/nile-grid-head/nile-grid-head.js +0 -41
  295. package/dist/src/nile-grid-head/nile-grid-head.js.map +0 -1
  296. package/dist/src/nile-grid-head-item/index.d.ts +0 -1
  297. package/dist/src/nile-grid-head-item/index.js +0 -2
  298. package/dist/src/nile-grid-head-item/index.js.map +0 -1
  299. package/dist/src/nile-grid-head-item/nile-grid-head-item.css.d.ts +0 -12
  300. package/dist/src/nile-grid-head-item/nile-grid-head-item.css.js +0 -46
  301. package/dist/src/nile-grid-head-item/nile-grid-head-item.css.js.map +0 -1
  302. package/dist/src/nile-grid-head-item/nile-grid-head-item.d.ts +0 -37
  303. package/dist/src/nile-grid-head-item/nile-grid-head-item.js +0 -100
  304. package/dist/src/nile-grid-head-item/nile-grid-head-item.js.map +0 -1
  305. package/dist/src/nile-grid-head-item/nile-grid-head-item.utils.d.ts +0 -10
  306. package/dist/src/nile-grid-head-item/nile-grid-head-item.utils.js +0 -34
  307. package/dist/src/nile-grid-head-item/nile-grid-head-item.utils.js.map +0 -1
  308. package/dist/src/nile-grid-header/index.d.ts +0 -1
  309. package/dist/src/nile-grid-header/index.js +0 -2
  310. package/dist/src/nile-grid-header/index.js.map +0 -1
  311. package/dist/src/nile-grid-header/nile-grid-header.css.d.ts +0 -12
  312. package/dist/src/nile-grid-header/nile-grid-header.css.js +0 -43
  313. package/dist/src/nile-grid-header/nile-grid-header.css.js.map +0 -1
  314. package/dist/src/nile-grid-header/nile-grid-header.d.ts +0 -41
  315. package/dist/src/nile-grid-header/nile-grid-header.js +0 -118
  316. package/dist/src/nile-grid-header/nile-grid-header.js.map +0 -1
  317. package/dist/src/nile-grid-row/index.d.ts +0 -1
  318. package/dist/src/nile-grid-row/index.js +0 -2
  319. package/dist/src/nile-grid-row/index.js.map +0 -1
  320. package/dist/src/nile-grid-row/nile-grid-row.css.d.ts +0 -12
  321. package/dist/src/nile-grid-row/nile-grid-row.css.js +0 -22
  322. package/dist/src/nile-grid-row/nile-grid-row.css.js.map +0 -1
  323. package/dist/src/nile-grid-row/nile-grid-row.d.ts +0 -35
  324. package/dist/src/nile-grid-row/nile-grid-row.js +0 -59
  325. package/dist/src/nile-grid-row/nile-grid-row.js.map +0 -1
  326. package/dist/src/nile-rich-text-editor/utils.d.ts +0 -13
  327. package/dist/src/nile-rich-text-editor/utils.js +0 -538
  328. package/dist/src/nile-rich-text-editor/utils.js.map +0 -1
  329. package/dist/src/nile-sidebar/index.d.ts +0 -28
  330. package/dist/src/nile-sidebar/index.js +0 -116
  331. package/dist/src/nile-sidebar/index.js.map +0 -1
  332. package/dist/src/nile-sidebar-menu/index.d.ts +0 -1
  333. package/dist/src/nile-sidebar-menu/index.js +0 -2
  334. package/dist/src/nile-sidebar-menu/index.js.map +0 -1
  335. package/dist/src/nile-sidebar-menu/nile-sidebar-menu.css.d.ts +0 -12
  336. package/dist/src/nile-sidebar-menu/nile-sidebar-menu.css.js +0 -47
  337. package/dist/src/nile-sidebar-menu/nile-sidebar-menu.css.js.map +0 -1
  338. package/dist/src/nile-sidebar-menu/nile-sidebar-menu.d.ts +0 -37
  339. package/dist/src/nile-sidebar-menu/nile-sidebar-menu.js +0 -84
  340. package/dist/src/nile-sidebar-menu/nile-sidebar-menu.js.map +0 -1
  341. package/dist/src/nile-sidebar-menu-items/index.d.ts +0 -1
  342. package/dist/src/nile-sidebar-menu-items/index.js +0 -2
  343. package/dist/src/nile-sidebar-menu-items/index.js.map +0 -1
  344. package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.css.d.ts +0 -12
  345. package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.css.js +0 -45
  346. package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.css.js.map +0 -1
  347. package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.d.ts +0 -35
  348. package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.js +0 -78
  349. package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.js.map +0 -1
  350. package/dist/src/nile-sidebar-wrapper/index.d.ts +0 -1
  351. package/dist/src/nile-sidebar-wrapper/index.js +0 -2
  352. package/dist/src/nile-sidebar-wrapper/index.js.map +0 -1
  353. package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.css.d.ts +0 -12
  354. package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.css.js +0 -114
  355. package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.css.js.map +0 -1
  356. package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.d.ts +0 -35
  357. package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.js +0 -89
  358. package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.js.map +0 -1
@@ -1,2 +0,0 @@
1
- System.register(["./nile-grid-body.cjs.js","tslib","lit","lit/decorators.js","./nile-grid-body.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileGridBodyCjsJs){_export("NileGridBody",_nileGridBodyCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileGridBodyCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){}};});
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export{N as NileGridBody}from"./nile-grid-body.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-grid-body.css.esm.js";import"../internal/nile-element.esm.js";
@@ -1,2 +0,0 @@
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-grid-body.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var t,r,s,e,o,_templateObject,i;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){r=_lit.html;},function(_litDecoratorsJs){s=_litDecoratorsJs.customElement;},function(_nileGridBodyCssCjsJs){e=_nileGridBodyCssCjsJs.s;},function(_internalNileElementCjsJs){o=_internalNileElementCjsJs.N;}],execute:function execute(){_export("N",i=/*#__PURE__*/function(_o){function i(){_classCallCheck(this,i);return _callSuper(this,i,arguments);}_inherits(i,_o);return _createClass(i,[{key:"connectedCallback",value:function connectedCallback(){_superPropGet(i,"connectedCallback",this,3)([]),this.setAttribute("role","rowgroup");}},{key:"render",value:function render(){return r(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t\t\t<div style=\"display: contents;\">\n\t\t\t\t<slot></slot>\n\t\t\t</div>\n\t\t"])));}}],[{key:"styles",get:function get(){return[e];}}]);}(o));_export("N",i=t([s("nile-grid-body")],i));}};});
2
- //# sourceMappingURL=nile-grid-body.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nile-grid-body.cjs.js","sources":["../../../src/nile-grid-body/nile-grid-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 {LitElement, html, CSSResultArray, TemplateResult} from 'lit';\nimport { customElement, property} from 'lit/decorators.js';\nimport {styles} from './nile-grid-body.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile grid-body component.\n *\n * @tag nile-grid-body\n *\n */\n@customElement('nile-grid-body')\nexport class NileGridBody extends NileElement {\n\n\t/**\n\t * The styles for nile-grid-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\t\n\tconnectedCallback() {\n\t\tsuper.connectedCallback();\n\t\tthis.setAttribute('role', 'rowgroup');\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\t<div style=\"display: contents;\">\n\t\t\t\t<slot></slot>\n\t\t\t</div>\n\t\t`;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileGridBody;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-grid-body': NileGridBody;\n }\n}"],"names":["NileGridBody","_o","i","_classCallCheck","_callSuper","arguments","_inherits","_createClass","key","value","connectedCallback","super","this","setAttribute","render","html","_templateObject","_taggedTemplateLiteral","get","styles","NileElement","__decorate","customElement"],"mappings":"inHAoBaA,CAAN,uBAAAC,EAAA,WAAAC,EAAA,EAAAC,eAAA,MAAAD,CAAA,SAAAE,UAAA,MAAAF,CAAA,CAAAG,SAAA,GAAAC,SAAA,CAAAJ,CAAA,CAAAD,EAAA,SAAAM,YAAA,CAAAL,CAAA,GAAAM,GAAA,qBAAAC,KAAA,CAUN,SAAAC,iBAAAA,CAAAA,CAAAA,CACCC,aAAAA,CAAAA,CAAAA,iCACAC,IAAAA,CAAKC,YAAa,CAAA,MAAA,CAAQ,UAC1B,CAAA,EAMM,GAAAL,GAAA,UAAAC,KAAA,UAAAK,MAAAA,CAAAA,CAAAA,CACN,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,8FAKX,CAAA,KAAAT,GAAA,UAAAU,GAAA,CAnBM,SAAAA,IAAA,CAAWC,CACjB,MAAO,CAACA,CACR,CAAA,EAED,MAViCC,IAArBpB,OAAAA,KAAAA,CAAYqB,CAAAA,CAAAA,CAAA,CADxBC,CAAAA,CAAc,mBACFtB"}
@@ -1,2 +0,0 @@
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\t:host{\n\t\tdisplay: grid;\n\t\toverflow:auto;\n\t\tbox-sizing:border-box;\n\t\tborder: 1px solid #eaecf0;\n\t\tborder-radius: 8px;\n\t\tbackground-color: var(--nile-colors-white-base);\n\t\tborder: 1pc solid var(--nile-colors-neutral-400);\n\t}\n\t\n\t::slotted(*) {\n\t\tbox-sizing:border-box;\n\t}\n"]))));}};});
2
- //# sourceMappingURL=nile-grid-body.css.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nile-grid-body.css.cjs.js","sources":["../../../src/nile-grid-body/nile-grid-body.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 * GridBody CSS\n */\nexport const styles = css`\n\t:host{\n\t\tdisplay: grid;\n\t\toverflow:auto;\n\t\tbox-sizing:border-box;\n\t\tborder: 1px solid #eaecf0;\n\t\tborder-radius: 8px;\n\t\tbackground-color: var(--nile-colors-white-base);\n\t\tborder: 1pc solid var(--nile-colors-neutral-400);\n\t}\n\t\n\t::slotted(*) {\n\t\tbox-sizing:border-box;\n\t}\n`;\n\nexport default [styles];"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -1,15 +0,0 @@
1
- import{css as o}from"lit";const r=o`
2
- :host{
3
- display: grid;
4
- overflow:auto;
5
- box-sizing:border-box;
6
- border: 1px solid #eaecf0;
7
- border-radius: 8px;
8
- background-color: var(--nile-colors-white-base);
9
- border: 1pc solid var(--nile-colors-neutral-400);
10
- }
11
-
12
- ::slotted(*) {
13
- box-sizing:border-box;
14
- }
15
- `;export{r as s};
@@ -1,5 +0,0 @@
1
- import{__decorate as t}from"tslib";import{html as e}from"lit";import{customElement as r}from"lit/decorators.js";import{s}from"./nile-grid-body.css.esm.js";import{N as o}from"../internal/nile-element.esm.js";let i=class extends o{static get styles(){return[s]}connectedCallback(){super.connectedCallback(),this.setAttribute("role","rowgroup")}render(){return e`
2
- <div style="display: contents;">
3
- <slot></slot>
4
- </div>
5
- `}};i=t([r("nile-grid-body")],i);export{i as N};
@@ -1,2 +0,0 @@
1
- System.register(["./nile-grid-cell.cjs.js","tslib","lit","lit/decorators.js","./nile-grid-cell.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileGridCellCjsJs){_export("NileGridCell",_nileGridCellCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileGridCellCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){}};});
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export{N as NileGridCell}from"./nile-grid-cell.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-grid-cell.css.esm.js";import"../internal/nile-element.esm.js";
@@ -1,2 +0,0 @@
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-grid-cell.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var t,e,r,i,s,l,_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 _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){e=_lit.html;},function(_litDecoratorsJs){r=_litDecoratorsJs.property;i=_litDecoratorsJs.customElement;},function(_nileGridCellCssCjsJs){s=_nileGridCellCssCjsJs.s;},function(_internalNileElementCjsJs){l=_internalNileElementCjsJs.N;}],execute:function execute(){_export("N",o=/*#__PURE__*/function(_l){function o(){var _this;_classCallCheck(this,o);_this=_callSuper(this,o,arguments),_this.colspan=1,_this.rowspan=1;return _this;}_inherits(o,_l);return _createClass(o,[{key:"connectedCallback",value:function connectedCallback(){_superPropGet(o,"connectedCallback",this,3)([]),this.setAttribute("role","cell");}},{key:"render",value:function render(){return e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div style=\"display: contents;\">\n\t\t\t\t<slot></slot>\n\t\t\t</div>\n "])));}}],[{key:"styles",get:function get(){return[s];}}]);}(l));t([r({type:Number,reflect:!0,attribute:!0})],o.prototype,"colspan",void 0),t([r({type:Number,reflect:!0,attribute:!0})],o.prototype,"rowspan",void 0),t([r({type:String,reflect:!0,attribute:!0})],o.prototype,"align",void 0),t([r({type:String,reflect:!0,attribute:!0})],o.prototype,"valign",void 0),_export("N",o=t([i("nile-grid-cell")],o));}};});
2
- //# sourceMappingURL=nile-grid-cell.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nile-grid-cell.cjs.js","sources":["../../../src/nile-grid-cell/nile-grid-cell.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 {LitElement, html, CSSResultArray, TemplateResult} from 'lit';\nimport { customElement, property} from 'lit/decorators.js';\nimport {styles} from './nile-grid-cell.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile grid-cell component.\n *\n * @tag nile-grid-cell\n *\n */\n@customElement('nile-grid-cell')\nexport class NileGridCell extends NileElement {\n\n\t/**\n\t * The styles for nile-grid-cell\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@property({ type: Number, reflect: true, attribute: true }) colspan = 1;\n\t@property({ type: Number, reflect: true, attribute: true }) rowspan = 1;\n\t\n\t// optional alignment hooks (table may map to CSS)\n\t@property({ type: String, reflect: true, attribute: true }) align?: 'start' | 'center' | 'end';\n\t@property({ type: String, reflect: true, attribute: true }) valign?: 'top' | 'middle' | 'bottom';\n\n\n\tconnectedCallback() {\n\t\tsuper.connectedCallback();\n\t\tthis.setAttribute('role', 'cell');\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 <div style=\"display: contents;\">\n\t\t\t\t<slot></slot>\n\t\t\t</div>\n `;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileGridCell;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-grid-cell': NileGridCell;\n }\n}"],"names":["NileGridCell","o","this","colspan","rowspan","_this","_inherits","_l","_createClass","key","value","connectedCallback","super","setAttribute","render","html","_templateObject","_taggedTemplateLiteral","get","styles","NileElement","__decorate","property","type","Number","reflect","attribute","prototype","String","_export","customElement"],"mappings":"+oHAoBaA,CAAAA,uBAAAA,EAAAA,EAAN,SAAAC,EAAA,uEAUsDC,KAAAA,CAAOC,OAAG,CAAA,CAAA,CACVD,KAAAA,CAAOE,OAAG,CAAA,CAyBtE,QAAAC,KAAA,EA9BOC,SAAA,CAAAL,CAAA,CAAAM,EAAA,SAAAC,YAAA,CAAAP,CAAA,GAAAQ,GAAA,qBAAAC,KAAA,CAYP,SAAAC,iBAAAA,CAAAA,CAAAA,CACCC,aAAAA,CAAAA,CAAAA,iCACAV,IAAAA,CAAKW,aAAa,MAAQ,CAAA,MAAA,CAC1B,EAMM,GAAAJ,GAAA,UAAAC,KAAA,UAAAI,MAAAA,CAAAA,CAAAA,CACN,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,8FAKX,CAAA,KAAAR,GAAA,UAAAS,GAAA,CA3BM,SAAAA,IAAA,CAAWC,CACjB,MAAO,CAACA,CAAAA,CACR,EAUD,MAlBiCC,CAA3B,GAUsDC,CAAA,CAAA,CAA3DC,CAAS,CAAA,CAAEC,IAAMC,CAAAA,MAAAA,CAAQC,OAAS,CAAA,CAAA,CAAA,CAAMC,SAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAoB1B,CAAA2B,CAAAA,SAAAA,CAAA,SAAA,CAAA,IAAA,EAAA,CAAA,CACZN,CAAA,CAAA,CAA3DC,CAAS,CAAA,CAAEC,IAAMC,CAAAA,MAAAA,CAAQC,OAAS,CAAA,CAAA,CAAA,CAAMC,SAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAoB1B,CAAA2B,CAAAA,SAAAA,CAAA,SAAA,CAAA,IAAA,EAAA,CAAA,CAGZN,CAAA,CAAA,CAA3DC,CAAS,CAAA,CAAEC,IAAMK,CAAAA,MAAAA,CAAQH,OAAS,CAAA,CAAA,CAAA,CAAMC,SAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA2C1B,CAAA2B,CAAAA,SAAAA,CAAA,OAAA,CAAA,IAAA,EAAA,CAAA,CACnCN,CAAA,CAAA,CAA3DC,CAAS,CAAA,CAAEC,IAAMK,CAAAA,MAAAA,CAAQH,OAAS,CAAA,CAAA,CAAA,CAAMC,SAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA6C1B,CAAA2B,CAAAA,SAAAA,CAAA,QAAA,CAAA,IAAA,EAAA,CAAA,CAAAE,OAAA,KAfrF7B,CAAYqB,CAAAA,CAAAA,CAAA,CADxBS,CAAAA,CAAc,mBACF9B"}
@@ -1,2 +0,0 @@
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\t:host{\n box-sizing:border-box;\n min-width:0; /* check once */\n white-space: nowrap;\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n\t\tpadding: 16px 24px;\n height: auto;\n /* border: 1px solid black; */\n }\n \n ::slotted(*) {\n overflow:hidden;\n text-overflow:ellipsis;\n white-space:nowrap;\n width: min-content;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"]))));}};});
2
- //# sourceMappingURL=nile-grid-cell.css.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nile-grid-cell.css.cjs.js","sources":["../../../src/nile-grid-cell/nile-grid-cell.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 * Grid Cell CSS\n */\nexport const styles = css`\n\t:host{\n box-sizing:border-box;\n min-width:0; /* check once */\n white-space: nowrap;\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n\t\tpadding: 16px 24px;\n height: auto;\n /* border: 1px solid black; */\n }\n \n ::slotted(*) {\n overflow:hidden;\n text-overflow:ellipsis;\n white-space:nowrap;\n width: min-content;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n`;\n\nexport default [styles];"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -1,23 +0,0 @@
1
- import{css as e}from"lit";const o=e`
2
- :host{
3
- box-sizing:border-box;
4
- min-width:0; /* check once */
5
- white-space: nowrap;
6
- width: 100%;
7
- overflow: hidden;
8
- text-overflow: ellipsis;
9
- padding: 16px 24px;
10
- height: auto;
11
- /* border: 1px solid black; */
12
- }
13
-
14
- ::slotted(*) {
15
- overflow:hidden;
16
- text-overflow:ellipsis;
17
- white-space:nowrap;
18
- width: min-content;
19
- overflow: hidden;
20
- text-overflow: ellipsis;
21
- white-space: nowrap;
22
- }
23
- `;export{o as s};
@@ -1,5 +0,0 @@
1
- import{__decorate as t}from"tslib";import{html as e}from"lit";import{property as r,customElement as i}from"lit/decorators.js";import{s}from"./nile-grid-cell.css.esm.js";import{N as l}from"../internal/nile-element.esm.js";let o=class extends l{constructor(){super(...arguments),this.colspan=1,this.rowspan=1}static get styles(){return[s]}connectedCallback(){super.connectedCallback(),this.setAttribute("role","cell")}render(){return e`
2
- <div style="display: contents;">
3
- <slot></slot>
4
- </div>
5
- `}};t([r({type:Number,reflect:!0,attribute:!0})],o.prototype,"colspan",void 0),t([r({type:Number,reflect:!0,attribute:!0})],o.prototype,"rowspan",void 0),t([r({type:String,reflect:!0,attribute:!0})],o.prototype,"align",void 0),t([r({type:String,reflect:!0,attribute:!0})],o.prototype,"valign",void 0),o=t([i("nile-grid-cell")],o);export{o as N};
@@ -1,2 +0,0 @@
1
- System.register(["./nile-grid-header.cjs.js","tslib","lit","lit/decorators.js","./nile-grid-header.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileGridHeaderCjsJs){_export("NileGridHeader",_nileGridHeaderCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileGridHeaderCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){}};});
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export{N as NileGridHeader}from"./nile-grid-header.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-grid-header.css.esm.js";import"../internal/nile-element.esm.js";
@@ -1,2 +0,0 @@
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-grid-header.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var t,e,s,i,r,o,_templateObject,_templateObject2,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _superPropGet(t,o,e,r){var p=_get(_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},_get.apply(null,arguments);}function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=_getPrototypeOf(t)););return t;}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_lit){e=_lit.html;},function(_litDecoratorsJs){s=_litDecoratorsJs.property;i=_litDecoratorsJs.customElement;},function(_nileGridHeaderCssCjsJs){r=_nileGridHeaderCssCjsJs.s;},function(_internalNileElementCjsJs){o=_internalNileElementCjsJs.N;}],execute:function execute(){_export("N",n=/*#__PURE__*/function(_o){function n(){var _this;_classCallCheck(this,n);_this=_callSuper(this,n,arguments),_this.colspan=1,_this.rowspan=1,_this.scope="col",_this.resizable=!0,_this._downX=0,_this._startW=0,_this.onHandlePointerDown=function(t){t.preventDefault(),t.stopPropagation();var e=Number(_this.dataset.cStart);if(!e)return;var s=Number(_this.getAttribute("colspan"))||1,i=Math.max(0,e+s-1-1);_this._downX=t.clientX,_this._startW=_this.getBoundingClientRect().width;var r=t.currentTarget;r.setPointerCapture(t.pointerId);var o=function o(t){var e=Math.max(40,Math.round(_this._startW+(t.clientX-_this._downX)));_this.dispatchEvent(new CustomEvent("nile:resize",{detail:{col:i,widthPx:e},bubbles:!0,composed:!0}));},_n=function _n(){r.releasePointerCapture(t.pointerId),r.removeEventListener("pointermove",o);};r.addEventListener("pointermove",o),r.addEventListener("pointerup",_n,{once:!0}),r.addEventListener("pointercancel",_n,{once:!0});};return _this;}_inherits(n,_o);return _createClass(n,[{key:"connectedCallback",value:function connectedCallback(){_superPropGet(n,"connectedCallback",this,3)([]),this.setAttribute("role","row"===this.scope?"rowheader":"columnheader");}},{key:"updated",value:function updated(t){t.has("scope")&&this.setAttribute("role","row"===this.scope?"rowheader":"columnheader");}},{key:"render",value:function render(){return e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div style=\"display: contents;\">\n\t\t\t\t<slot></slot>\n\t\t\t\t","\n\t\t\t</div>\t\n "])),this.resizable?e(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\tclass=\"resize-handle\"\n\t\t\t\t\t\t\t@pointerdown=","\n\t\t\t\t\t\t></div>\n\t\t\t\t\t"])),this.onHandlePointerDown):null);}}],[{key:"styles",get:function get(){return[r];}}]);}(o));t([s({type:Number,reflect:!0,attribute:!0})],n.prototype,"colspan",void 0),t([s({type:Number,reflect:!0,attribute:!0})],n.prototype,"rowspan",void 0),t([s({type:String,reflect:!0,attribute:!0})],n.prototype,"scope",void 0),t([s({type:Boolean,reflect:!0,attribute:!0})],n.prototype,"resizable",void 0),_export("N",n=t([i("nile-grid-header")],n));}};});
2
- //# sourceMappingURL=nile-grid-header.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nile-grid-header.cjs.js","sources":["../../../src/nile-grid-header/nile-grid-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 {LitElement, html, CSSResultArray, TemplateResult} from 'lit';\nimport { customElement, property} from 'lit/decorators.js';\nimport {styles} from './nile-grid-header.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile grid-header component.\n *\n * @tag nile-grid-header\n *\n */\n@customElement('nile-grid-header')\nexport class NileGridHeader extends NileElement {\n\n\t/**\n\t * The styles for nile-grid-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@property({ type: Number, reflect: true, attribute: true }) colspan = 1;\n\t@property({ type: Number, reflect: true, attribute: true }) rowspan = 1;\n\t@property({ type: String, reflect: true, attribute: true }) scope: 'col' | 'row' = 'col';\n\t@property({ type: Boolean, reflect: true, attribute: true }) resizable = true;\n\n\tprivate _downX = 0;\n\tprivate _startW = 0;\n\n\tconnectedCallback() {\n\t\tsuper.connectedCallback();\n\t\tthis.setAttribute('role', this.scope === 'row' ? 'rowheader' : 'columnheader');\n\t}\n\n\tprivate onHandlePointerDown = (ev: PointerEvent) => {\n\t\tev.preventDefault();\n\t\tev.stopPropagation();\n\t\tconst el = this as HTMLElement;\n\n\t\tconst cStart = Number(el.dataset.cStart);\n\t\tif (!cStart) return;\n\n\t\tconst span = Number(this.getAttribute('colspan')) || 1;\n\t\tconst col = Math.max(0, (cStart + span - 1) - 1); // zero-based target column\n\n\t\tthis._downX = ev.clientX;\n\t\tthis._startW = el.getBoundingClientRect().width;\n\n\t\tconst target = ev.currentTarget as HTMLElement;\n\t\ttarget.setPointerCapture(ev.pointerId);\n\n\t\tconst move = (e: PointerEvent) => {\n\t\t\tconst widthPx = Math.max(40, Math.round(this._startW + (e.clientX - this._downX)));\n\t\t\tthis.dispatchEvent(new CustomEvent('nile:resize', {\n\t\t\t\tdetail: { col, widthPx }, bubbles: true, composed: true\n\t\t\t}));\n\t\t};\n\n\t\tconst done = () => {\n\t\t\ttarget.releasePointerCapture(ev.pointerId);\n\t\t\ttarget.removeEventListener('pointermove', move);\n\t\t};\n\n\t\ttarget.addEventListener('pointermove', move);\n\t\ttarget.addEventListener('pointerup', done, { once: true });\n\t\ttarget.addEventListener('pointercancel', done, { once: true });\n\t};\n\n\n\t// private onAutoFit = () => {\n\t// \tconst el = this as HTMLElement;\n\t// \tconst cStart = Number(el.dataset.cStart); if (!cStart) return;\n\t// \tconsole.log(\"el.dataset: \", el.dataset);\n\t\t\n\t// \tconst span = Number(this.getAttribute('colspan')) || 1;\n\t// \tconst col = cStart + span - 2; // zero-based last covered col\n\t// \tthis.dispatchEvent(new CustomEvent('nile:autofit', { detail: { col }, bubbles: true, composed: true }));\n\t// };\n\n\tprotected updated(changed: Map<string, unknown>) {\n\t\tif (changed.has('scope')) {\n\t\t\tthis.setAttribute('role', this.scope === 'row' ? 'rowheader' : 'columnheader');\n\t\t}\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 <div style=\"display: contents;\">\n\t\t\t\t<slot></slot>\n\t\t\t\t${this.resizable ?\n\t\t\t\t\thtml`\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\tclass=\"resize-handle\"\n\t\t\t\t\t\t\t@pointerdown=${this.onHandlePointerDown}\n\t\t\t\t\t\t></div>\n\t\t\t\t\t` :\n\t\t\t\t\t\tnull\n\t\t\t\t}\n\t\t\t</div>\t\n `;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileGridHeader;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-grid-header': NileGridHeader;\n }\n}"],"names":["NileGridHeader","n","this","colspan","rowspan","scope","resizable","_downX","_startW","onHandlePointerDown","ev","preventDefault","stopPropagation","cStart","Number","dataset","span","getAttribute","col","Math","max","clientX","getBoundingClientRect","width","target","currentTarget","setPointerCapture","pointerId","move","e","widthPx","round","dispatchEvent","CustomEvent","detail","bubbles","composed","done","releasePointerCapture","removeEventListener","addEventListener","once","_this","_inherits","_o","_createClass","key","value","connectedCallback","super","setAttribute","updated","changed","has","render","html","_templateObject","_taggedTemplateLiteral","_templateObject2","get","styles","NileElement","__decorate","property","type","reflect","attribute","prototype","String","Boolean","_export","customElement"],"mappings":"sqHAoBaA,CAAAA,uBAAAA,EAAAA,EAAN,SAAAC,EAAA,uEAUsDC,KAAAA,CAAOC,OAAG,CAAA,CAAA,CACVD,KAAAA,CAAOE,OAAAA,CAAG,EACVF,KAAAA,CAAKG,KAAAA,CAAkB,MACtBH,KAAAA,CAASI,SAAAA,CAAAA,CAAG,EAEjEJ,KAAAA,CAAMK,MAAAA,CAAG,EACTL,KAAAA,CAAOM,OAAAA,CAAG,EAOVN,KAAAA,CAAAO,mBAAAA,CAAuBC,SAAAA,GAC9BA,CAAGC,CAAAA,cAAAA,CAAAA,CAAAA,CACHD,EAAGE,eACH,CAAA,CAAA,CAAA,GAEMC,CAAAA,CAASC,CAAAA,MAAAA,CAFJZ,KAAAA,CAEca,OAAQF,CAAAA,MAAAA,CAAAA,CACjC,IAAKA,CAAQ,CAAA,OAEb,GAAMG,CAAAA,CAAOF,CAAAA,MAAAA,CAAOZ,KAAAA,CAAKe,YAAa,CAAA,SAAA,CAAA,CAAA,EAAe,EAC/CC,CAAMC,CAAAA,IAAAA,CAAKC,IAAI,CAAIP,CAAAA,CAAAA,CAASG,EAAO,CAAK,CAAA,CAAA,CAAA,CAE9Cd,KAAAA,CAAKK,MAASG,CAAAA,CAAAA,CAAGW,QACjBnB,KAAAA,CAAKM,OAAAA,CATMN,KAAAA,CASOoB,qBAAwBC,CAAAA,CAAAA,CAAAA,KAAAA,CAE1C,GAAMC,CAAAA,CAASd,CAAAA,CAAAA,CAAGe,cAClBD,CAAOE,CAAAA,iBAAAA,CAAkBhB,EAAGiB,SAE5B,CAAA,CAAA,GAAMC,CAAAA,EAAQC,QAARD,CAAAA,EAAQC,CACb,CAAA,CAAA,GAAMC,CAAAA,EAAUX,IAAKC,CAAAA,GAAAA,CAAI,EAAID,CAAAA,IAAAA,CAAKY,MAAM7B,KAAAA,CAAKM,OAAAA,EAAWqB,EAAER,OAAUnB,CAAAA,KAAAA,CAAKK,UACzEL,KAAAA,CAAK8B,aAAAA,CAAc,GAAIC,CAAAA,WAAY,CAAA,aAAA,CAAe,CACjDC,MAAQ,CAAA,CAAEhB,MAAKY,OAAWK,CAAAA,CAAAA,CAAAA,CAAAA,OAAAA,CAAAA,CAAS,EAAMC,QAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CACjD,GAGEC,EAAO,CAAA,QAAPA,CAAAA,EAAOpC,CAAA,CAAA,CACZuB,EAAOc,qBAAsB5B,CAAAA,CAAAA,CAAGiB,WAChCH,CAAOe,CAAAA,mBAAAA,CAAoB,cAAeX,CAAK,CAAA,EAAA,CAGhDJ,EAAOgB,gBAAiB,CAAA,aAAA,CAAeZ,GACvCJ,CAAOgB,CAAAA,gBAAAA,CAAiB,YAAaH,EAAM,CAAA,CAAEI,MAAM,CACnDjB,CAAAA,CAAAA,CAAAA,CAAAA,CAAOgB,gBAAiB,CAAA,eAAA,CAAiBH,GAAM,CAAEI,IAAAA,CAAAA,CAAM,GAAO,EA2C/D,QAAAC,KAAA,EA3FOC,SAAA,CAAA1C,CAAA,CAAA2C,EAAA,SAAAC,YAAA,CAAA5C,CAAA,GAAA6C,GAAA,qBAAAC,KAAA,CAYP,SAAAC,iBAAAA,CAAAA,CACCC,CAAAA,aAAAA,CAAAA,CAAAA,iCACA/C,IAAKgD,CAAAA,YAAAA,CAAa,OAAuB,KAAfhD,GAAAA,IAAAA,CAAKG,MAAkB,WAAc,CAAA,cAAA,CAC/D,EA+CS,GAAAyC,GAAA,WAAAC,KAAA,UAAAI,OAAAA,CAAQC,GACbA,CAAQC,CAAAA,GAAAA,CAAI,UACfnD,IAAKgD,CAAAA,YAAAA,CAAa,OAAuB,KAAfhD,GAAAA,IAAAA,CAAKG,MAAkB,WAAc,CAAA,cAAA,CAEhE,EAMM,GAAAyC,GAAA,UAAAC,KAAA,UAAAO,MAAAA,CAAAA,CAAAA,CACN,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,4GAGPvD,IAAAA,CAAKI,UACNiD,CAAI,CAAAG,gBAAA,GAAAA,gBAAA,CAAAD,sBAAA,sKAIavD,IAAKO,CAAAA,mBAAAA,EAGrB,IAAA,EAIJ,CAAA,KAAAqC,GAAA,UAAAa,GAAA,CAxFM,SAAAA,IAAA,CACN,CAAA,MAAO,CAACC,CACR,CAAA,EAUD,MAlBmCC,CAA7B,GAUsDC,CAAA,CAAA,CAA3DC,CAAS,CAAA,CAAEC,IAAMlD,CAAAA,MAAAA,CAAQmD,OAAS,CAAA,CAAA,CAAA,CAAMC,SAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAoBlE,CAAAmE,CAAAA,SAAAA,CAAA,SAAA,CAAA,IAAA,EAAA,CAAA,CACZL,CAAA,CAAA,CAA3DC,CAAS,CAAA,CAAEC,IAAMlD,CAAAA,MAAAA,CAAQmD,OAAS,CAAA,CAAA,CAAA,CAAMC,SAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAoBlE,CAAAmE,CAAAA,SAAAA,CAAA,SAAA,CAAA,IAAA,EAAA,CAAA,CACZL,CAAA,CAAA,CAA3DC,CAAS,CAAA,CAAEC,IAAMI,CAAAA,MAAAA,CAAQH,OAAS,CAAA,CAAA,CAAA,CAAMC,SAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAqClE,CAAAmE,CAAAA,SAAAA,CAAA,OAAA,CAAA,IAAA,EAAA,CAAA,CAC5BL,CAAA,CAAA,CAA5DC,CAAS,CAAA,CAAEC,IAAMK,CAAAA,OAAAA,CAASJ,OAAS,CAAA,CAAA,CAAA,CAAMC,SAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAyBlE,CAAAmE,CAAAA,SAAAA,CAAA,WAAA,CAAA,IAAA,EAAA,CAAA,CAAAG,OAAA,KAblEtE,CAAc8D,CAAAA,CAAAA,CAAA,CAD1BS,CAAAA,CAAc,qBACFvE"}
@@ -1,2 +0,0 @@
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\t:host{ \n position:relative;\n box-sizing:border-box; \n user-select:none;\n white-space: nowrap;\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n\t\tpadding: 16px 24px;\n background-color: var(--nile-colors-neutral-100);\n }\n\n ::slotted(*) {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n \n .resize-handle{\n position:absolute; \n top:0; \n right:0; \n height:100%;\n cursor: col-resize; \n touch-action:none;\n z-index: 1;\n width: 8px;\n border-right: 1px solid #eae9ed;\n }\n"]))));}};});
2
- //# sourceMappingURL=nile-grid-header.css.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nile-grid-header.css.cjs.js","sources":["../../../src/nile-grid-header/nile-grid-header.css.ts"],"sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\n/**\n * SpannableTableHeader CSS\n */\nexport const styles = css`\n\t:host{ \n position:relative;\n box-sizing:border-box; \n user-select:none;\n white-space: nowrap;\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n\t\tpadding: 16px 24px;\n background-color: var(--nile-colors-neutral-100);\n }\n\n ::slotted(*) {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n \n .resize-handle{\n position:absolute; \n top:0; \n right:0; \n height:100%;\n cursor: col-resize; \n touch-action:none;\n z-index: 1;\n width: 8px;\n border-right: 1px solid #eae9ed;\n }\n`;\n\nexport default [styles];"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -1,31 +0,0 @@
1
- import{css as e}from"lit";const o=e`
2
- :host{
3
- position:relative;
4
- box-sizing:border-box;
5
- user-select:none;
6
- white-space: nowrap;
7
- width: 100%;
8
- overflow: hidden;
9
- text-overflow: ellipsis;
10
- padding: 16px 24px;
11
- background-color: var(--nile-colors-neutral-100);
12
- }
13
-
14
- ::slotted(*) {
15
- overflow: hidden;
16
- text-overflow: ellipsis;
17
- white-space: nowrap;
18
- }
19
-
20
- .resize-handle{
21
- position:absolute;
22
- top:0;
23
- right:0;
24
- height:100%;
25
- cursor: col-resize;
26
- touch-action:none;
27
- z-index: 1;
28
- width: 8px;
29
- border-right: 1px solid #eae9ed;
30
- }
31
- `;export{o as s};
@@ -1,12 +0,0 @@
1
- import{__decorate as e}from"tslib";import{html as t}from"lit";import{property as s,customElement as i}from"lit/decorators.js";import{s as r}from"./nile-grid-header.css.esm.js";import{N as o}from"../internal/nile-element.esm.js";let n=class extends o{constructor(){super(...arguments),this.colspan=1,this.rowspan=1,this.scope="col",this.resizable=!0,this._downX=0,this._startW=0,this.onHandlePointerDown=e=>{e.preventDefault(),e.stopPropagation();const t=Number(this.dataset.cStart);if(!t)return;const s=Number(this.getAttribute("colspan"))||1,i=Math.max(0,t+s-1-1);this._downX=e.clientX,this._startW=this.getBoundingClientRect().width;const r=e.currentTarget;r.setPointerCapture(e.pointerId);const o=e=>{const t=Math.max(40,Math.round(this._startW+(e.clientX-this._downX)));this.dispatchEvent(new CustomEvent("nile:resize",{detail:{col:i,widthPx:t},bubbles:!0,composed:!0}))},n=()=>{r.releasePointerCapture(e.pointerId),r.removeEventListener("pointermove",o)};r.addEventListener("pointermove",o),r.addEventListener("pointerup",n,{once:!0}),r.addEventListener("pointercancel",n,{once:!0})}}static get styles(){return[r]}connectedCallback(){super.connectedCallback(),this.setAttribute("role","row"===this.scope?"rowheader":"columnheader")}updated(e){e.has("scope")&&this.setAttribute("role","row"===this.scope?"rowheader":"columnheader")}render(){return t`
2
- <div style="display: contents;">
3
- <slot></slot>
4
- ${this.resizable?t`
5
- <div
6
- aria-hidden="true"
7
- class="resize-handle"
8
- @pointerdown=${this.onHandlePointerDown}
9
- ></div>
10
- `:null}
11
- </div>
12
- `}};e([s({type:Number,reflect:!0,attribute:!0})],n.prototype,"colspan",void 0),e([s({type:Number,reflect:!0,attribute:!0})],n.prototype,"rowspan",void 0),e([s({type:String,reflect:!0,attribute:!0})],n.prototype,"scope",void 0),e([s({type:Boolean,reflect:!0,attribute:!0})],n.prototype,"resizable",void 0),n=e([i("nile-grid-header")],n);export{n as N};
@@ -1,2 +0,0 @@
1
- System.register(["./nile-grid-row.cjs.js","tslib","lit","lit/decorators.js","./nile-grid-row.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileGridRowCjsJs){_export("NileGridRow",_nileGridRowCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileGridRowCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){}};});
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export{N as NileGridRow}from"./nile-grid-row.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-grid-row.css.esm.js";import"../internal/nile-element.esm.js";
@@ -1,2 +0,0 @@
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-grid-row.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var t,e,r,s,o,i,_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 _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){e=_lit.html;},function(_litDecoratorsJs){r=_litDecoratorsJs.property;s=_litDecoratorsJs.customElement;},function(_nileGridRowCssCjsJs){o=_nileGridRowCssCjsJs.s;},function(_internalNileElementCjsJs){i=_internalNileElementCjsJs.N;}],execute:function execute(){_export("N",l=/*#__PURE__*/function(_i){function l(){var _this;_classCallCheck(this,l);_this=_callSuper(this,l,arguments),_this.sticky=!1,_this.selected=!1;return _this;}_inherits(l,_i);return _createClass(l,[{key:"connectedCallback",value:function connectedCallback(){_superPropGet(l,"connectedCallback",this,3)([]),this.setAttribute("role","row");}},{key:"render",value:function render(){return e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t\t\t<div style=\"display: contents;\">\n\t\t\t\t<slot></slot>\n\t\t\t</div>\n\t\t"])));}}],[{key:"styles",get:function get(){return[o];}}]);}(i));t([r({type:Boolean,reflect:!0,attribute:!0})],l.prototype,"sticky",void 0),t([r({type:Boolean,reflect:!0,attribute:!0})],l.prototype,"selected",void 0),_export("N",l=t([s("nile-grid-row")],l));}};});
2
- //# sourceMappingURL=nile-grid-row.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nile-grid-row.cjs.js","sources":["../../../src/nile-grid-row/nile-grid-row.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 {LitElement, html, CSSResultArray, TemplateResult} from 'lit';\nimport { customElement, property} from 'lit/decorators.js';\nimport {styles} from './nile-grid-row.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile grid-row component.\n *\n * @tag nile-grid-row\n *\n */\n@customElement('nile-grid-row')\nexport class NileGridRow extends NileElement {\n\n\t/**\n\t * The styles for nile-grid-row\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@property({ type: Boolean, reflect: true, attribute: true }) sticky = false;\n\t@property({ type: Boolean, reflect: true, attribute: true }) selected = false;\n\n\tconnectedCallback() {\n\t\tsuper.connectedCallback();\n\t\tthis.setAttribute('role', 'row');\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\t<div style=\"display: contents;\">\n\t\t\t\t<slot></slot>\n\t\t\t</div>\n\t\t`;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileGridRow;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-grid-row': NileGridRow;\n }\n}"],"names":["NileGridRow","l","this","sticky","selected","_this","_inherits","_i","_createClass","key","value","connectedCallback","super","setAttribute","render","html","_templateObject","_taggedTemplateLiteral","get","styles","NileElement","__decorate","property","type","Boolean","reflect","attribute","prototype","customElement"],"mappings":"4oHAoBaA,CAAAA,uBAAAA,EAAAA,EAAN,SAAAC,EAAA,uEAUuDC,KAAAA,CAAMC,MAAG,CAAA,CAAA,CAAA,CACTD,KAAAA,CAAQE,QAAG,CAAA,CAAA,CAoBxE,QAAAC,KAAA,EAzBOC,SAAA,CAAAL,CAAA,CAAAM,EAAA,SAAAC,YAAA,CAAAP,CAAA,GAAAQ,GAAA,qBAAAC,KAAA,CAOP,SAAAC,iBAAAA,CAAAA,CAAAA,CACCC,aAAAA,CAAAA,CAAAA,iCACAV,IAAAA,CAAKW,aAAa,MAAQ,CAAA,KAAA,CAC1B,EAMM,GAAAJ,GAAA,UAAAC,KAAA,UAAAI,MAAAA,CAAAA,CAAAA,CACN,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,8FAKX,CAAA,KAAAR,GAAA,UAAAS,GAAA,CAtBM,SAAAA,IAAA,CAAWC,CACjB,MAAO,CAACA,CAAAA,CACR,EAKD,MAbgCC,CAA1B,GAUuDC,CAAA,CAAA,CAA5DC,CAAS,CAAA,CAAEC,KAAMC,OAASC,CAAAA,OAAAA,CAAAA,CAAS,CAAMC,CAAAA,SAAAA,CAAAA,CAAW,CAAuB1B,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAA2B,SAAA,CAAA,QAAA,CAAA,IAAA,IACfN,CAAA,CAAA,CAA5DC,CAAS,CAAA,CAAEC,IAAMC,CAAAA,OAAAA,CAASC,OAAS,CAAA,CAAA,CAAA,CAAMC,WAAW,CAAyB1B,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAA2B,SAAA,CAAA,UAAA,CAAA,IAAA,gBAXlE3B,CAAWqB,CAAAA,CAAAA,CAAA,CADvBO,CAAAA,CAAc,kBACF5B"}
@@ -1,2 +0,0 @@
1
- System.register(["lit"],function(_export,_context){"use strict";var o,_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){o=_lit.css;}],execute:function execute(){_export("s",t=o(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t:host {\n display: contents;\n\t\tborder-bottom: 10px solid red;\n\t}\n\n\t::slotted(nile-grid-header) {\n\t\tbackground-color: #fafafa;\n\t}\n"]))));}};});
2
- //# sourceMappingURL=nile-grid-row.css.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nile-grid-row.css.cjs.js","sources":["../../../src/nile-grid-row/nile-grid-row.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 * SpannableTableRow CSS\n */\nexport const styles = css`\n\t:host {\n display: contents;\n\t\tborder-bottom: 10px solid red;\n\t}\n\n\t::slotted(nile-grid-header) {\n\t\tbackground-color: #fafafa;\n\t}\n`;\n\nexport default [styles];"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -1,10 +0,0 @@
1
- import{css as o}from"lit";const t=o`
2
- :host {
3
- display: contents;
4
- border-bottom: 10px solid red;
5
- }
6
-
7
- ::slotted(nile-grid-header) {
8
- background-color: #fafafa;
9
- }
10
- `;export{t as s};
@@ -1,5 +0,0 @@
1
- import{__decorate as t}from"tslib";import{html as e}from"lit";import{property as r,customElement as s}from"lit/decorators.js";import{s as o}from"./nile-grid-row.css.esm.js";import{N as i}from"../internal/nile-element.esm.js";let l=class extends i{constructor(){super(...arguments),this.sticky=!1,this.selected=!1}static get styles(){return[o]}connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}render(){return e`
2
- <div style="display: contents;">
3
- <slot></slot>
4
- </div>
5
- `}};t([r({type:Boolean,reflect:!0,attribute:!0})],l.prototype,"sticky",void 0),t([r({type:Boolean,reflect:!0,attribute:!0})],l.prototype,"selected",void 0),l=t([s("nile-grid-row")],l);export{l as N};
@@ -1,2 +0,0 @@
1
- function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","lit/directives/class-map.js"],function(_export,_context){"use strict";var o,r,i,e,t,s,a,_templateObject,_templateObject2,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _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){o=_tslib.__decorate;},function(_lit){r=_lit.css;i=_lit.LitElement;e=_lit.html;},function(_litDecoratorsJs){t=_litDecoratorsJs.property;s=_litDecoratorsJs.customElement;},function(_litDirectivesClassMapJs){a=_litDirectivesClassMapJs.classMap;}],execute:function execute(){n=/*#__PURE__*/function(_i){function n(){var _this;_classCallCheck(this,n);_this=_callSuper(this,n,arguments),_this.title="",_this.showSidebar=!1;return _this;}_inherits(n,_i);return _createClass(n,[{key:"buttonClassMap",get:function get(){return{"nds-menu--active":this.showSidebar};}},{key:"render",value:function render(){return e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div class=\"nile-menu--wrapper ","\" >\n <div class=\"nile-menu-group\">\n <a class=\"nile-logo\" href=\"/\">\n <img\n src=\"https://assets.aquera.io/img/aquera-logo-blue.svg\"\n alt=\"Aquera\"\n width=\"112.94px\"\n height=\"31.06px\"\n tabindex=\"1\"\n />\n </a> \n <div class=\"menu-group\">\n <slot name=\"menu\"></slot>\n </div>\n </div>\n <div class=\"\">\n <div class=\"nds-menu--bottom\">\n <slot name=\"bottom\"></slot>\n </div>\n </div>\n </div>\n "])),a(this.buttonClassMap));}}]);}(i);n.styles=r(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n :host {\n background-color: var(--nile-alert-color-background-base);\n border-right: 1px solid var(--nile-colors-neutral-400); \n min-height: 100vh;\n background: var(--nile-colors-neutral-100);\n border: 1px solid var(--nile-colors-neutral-400);\n }\n :host([showSidebar=true]) {\n min-width: 240px;\n }\n .nile-logo {\n margin: 24px;\n display: block;\n margin-bottom: 12px;\n }\n\n .menu-group {\n margin-left: 24px;\n margin-right: 24px;\n }\n\n .view-component {\n background-color: var(--nile-colors-white-base);\n min-width: 240px;\n }\n // padding: 3rem;\n .view-component__item {\n background-color: var(--nile-colors-white-base);\n // padding: 1rem;\n border-radius: 3px;\n border: solid 1px #eee;\n }\n\n .nile-menu__hr {\n border-bottom: solid 1px rgba(0, 0, 0, 0.1);\n margin-top: 12px !important;\n margin-bottom: 12px !important;\n background-color: rgba(0, 0, 0, 0.1);\n }\n\n .nds-menu--bottom {\n position: absolute;\n bottom: 0;\n }\n\n .nds-menu--active .nile-logo {\n display: none;\n }\n "]))),o([t()],n.prototype,"title",void 0),o([t()],n.prototype,"showSidebar",void 0),n=o([s("nile-sidebar")],n);}};});
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":["../../../src/nile-sidebar/index.ts"],"sourcesContent":["import { LitElement, html, css } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\n\n/**\n * An nile-menu element.\n */\n\ninterface MenuItem {\n name: string;\n icon: string;\n href: string;\n}\n\ninterface MenuItemList {\n [key: string]: MenuItem;\n}\n\n/**\n * An nile-sidebar element.\n *\n * @fires count-changed - Indicates when the count changes\n * @slot - This element has a slot\n * @csspart button - The button\n */\n@customElement('nile-sidebar')\nexport class NileSidebar extends LitElement {\n static override styles = css`\n :host {\n background-color: var(--nile-alert-color-background-base);\n border-right: 1px solid var(--nile-colors-neutral-400); \n min-height: 100vh;\n background: var(--nile-colors-neutral-100);\n border: 1px solid var(--nile-colors-neutral-400);\n }\n :host([showSidebar=true]) {\n min-width: 240px;\n }\n .nile-logo {\n margin: 24px;\n display: block;\n margin-bottom: 12px;\n }\n\n .menu-group {\n margin-left: 24px;\n margin-right: 24px;\n }\n\n .view-component {\n background-color: var(--nile-colors-white-base);\n min-width: 240px;\n }\n // padding: 3rem;\n .view-component__item {\n background-color: var(--nile-colors-white-base);\n // padding: 1rem;\n border-radius: 3px;\n border: solid 1px #eee;\n }\n\n .nile-menu__hr {\n border-bottom: solid 1px rgba(0, 0, 0, 0.1);\n margin-top: 12px !important;\n margin-bottom: 12px !important;\n background-color: rgba(0, 0, 0, 0.1);\n }\n\n .nds-menu--bottom {\n position: absolute;\n bottom: 0;\n }\n\n .nds-menu--active .nile-logo {\n display: none;\n }\n `;\n\n /**\n * Button Lab\n */\n @property()\n title = '';\n\n /**\n * Hide Sidebar\n */\n @property()\n showSidebar = false;\n\n get buttonClassMap() {\n return {\n 'nds-menu--active': this.showSidebar\n };\n }\n\n // class=\"nds-menu ${classMap(this.buttonClassMap)}\"\n \n override render() {\n return html`\n <div class=\"nile-menu--wrapper ${classMap(this.buttonClassMap)}\" >\n <div class=\"nile-menu-group\">\n <a class=\"nile-logo\" href=\"/\">\n <img\n src=\"https://assets.aquera.io/img/aquera-logo-blue.svg\"\n alt=\"Aquera\"\n width=\"112.94px\"\n height=\"31.06px\"\n tabindex=\"1\"\n />\n </a> \n <div class=\"menu-group\">\n <slot name=\"menu\"></slot>\n </div>\n </div>\n <div class=\"\">\n <div class=\"nds-menu--bottom\">\n <slot name=\"bottom\"></slot>\n </div>\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-sidebar': NileSidebar;\n }\n}\n"],"names":["NileSidebar","_i","n","this","title","showSidebar","_this","_inherits","_createClass","key","get","value","render","html","_templateObject","_taggedTemplateLiteral","classMap","buttonClassMap","LitElement","styles","css","_templateObject2","__decorate","property","prototype","customElement"],"mappings":"6kGA0BaA,CAAN,uBAAAC,EAAA,EAAA,SAAAC,EAAA,uEAwDLC,KAAAA,CAAKC,KAAAA,CAAG,GAMRD,KAAAA,CAAWE,WAAAA,CAAAA,CAAG,CAmCf,QAAAC,KAAA,EAjCCC,SAAA,CAAAL,CAAA,CAAAD,EAAA,SAAAO,YAAA,CAAAN,CAAA,GAAAO,GAAA,kBAAAC,GAAA,UAAAA,IAAA,CACE,CAAA,MAAO,CACL,kBAAA,CAAoBP,KAAKE,WAE5B,CAAA,EAIQ,GAAAI,GAAA,UAAAE,KAAA,UAAAC,MAAAA,CAAAA,CAAAA,CACP,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,4qBACyBC,CAAAA,CAASb,IAAKc,CAAAA,cAAAA,CAAAA,EAsBnD,CA/FejB,MADekB,CAA1B,EACWlB,CAAAA,CAAMmB,OAAGC,CAAG,CAAAC,gBAAA,GAAAA,gBAAA,CAAAN,sBAAA,orCAuD5BO,CAAAA,CAAAA,CAAA,CADCC,CACUvB,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAwB,SAAA,CAAA,OAAA,CAAA,IAAA,IAMXF,CAAA,CAAA,CADCC,CACmBvB,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAwB,UAAA,aAAA,CAAA,IAAA,EAAA,CAAA,CA9DTxB,EAAWsB,CAAA,CAAA,CADvBG,EAAc,cACFzB,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA"}
@@ -1,72 +0,0 @@
1
- import{__decorate as o}from"tslib";import{css as r,LitElement as i,html as e}from"lit";import{property as t,customElement as s}from"lit/decorators.js";import{classMap as a}from"lit/directives/class-map.js";let n=class extends i{constructor(){super(...arguments),this.title="",this.showSidebar=!1}get buttonClassMap(){return{"nds-menu--active":this.showSidebar}}render(){return e`
2
- <div class="nile-menu--wrapper ${a(this.buttonClassMap)}" >
3
- <div class="nile-menu-group">
4
- <a class="nile-logo" href="/">
5
- <img
6
- src="https://assets.aquera.io/img/aquera-logo-blue.svg"
7
- alt="Aquera"
8
- width="112.94px"
9
- height="31.06px"
10
- tabindex="1"
11
- />
12
- </a>
13
- <div class="menu-group">
14
- <slot name="menu"></slot>
15
- </div>
16
- </div>
17
- <div class="">
18
- <div class="nds-menu--bottom">
19
- <slot name="bottom"></slot>
20
- </div>
21
- </div>
22
- </div>
23
- `}};n.styles=r`
24
- :host {
25
- background-color: var(--nile-alert-color-background-base);
26
- border-right: 1px solid var(--nile-colors-neutral-400);
27
- min-height: 100vh;
28
- background: var(--nile-colors-neutral-100);
29
- border: 1px solid var(--nile-colors-neutral-400);
30
- }
31
- :host([showSidebar=true]) {
32
- min-width: 240px;
33
- }
34
- .nile-logo {
35
- margin: 24px;
36
- display: block;
37
- margin-bottom: 12px;
38
- }
39
-
40
- .menu-group {
41
- margin-left: 24px;
42
- margin-right: 24px;
43
- }
44
-
45
- .view-component {
46
- background-color: var(--nile-colors-white-base);
47
- min-width: 240px;
48
- }
49
- // padding: 3rem;
50
- .view-component__item {
51
- background-color: var(--nile-colors-white-base);
52
- // padding: 1rem;
53
- border-radius: 3px;
54
- border: solid 1px #eee;
55
- }
56
-
57
- .nile-menu__hr {
58
- border-bottom: solid 1px rgba(0, 0, 0, 0.1);
59
- margin-top: 12px !important;
60
- margin-bottom: 12px !important;
61
- background-color: rgba(0, 0, 0, 0.1);
62
- }
63
-
64
- .nds-menu--bottom {
65
- position: absolute;
66
- bottom: 0;
67
- }
68
-
69
- .nds-menu--active .nile-logo {
70
- display: none;
71
- }
72
- `,o([t()],n.prototype,"title",void 0),o([t()],n.prototype,"showSidebar",void 0),n=o([s("nile-sidebar")],n);
@@ -1,2 +0,0 @@
1
- System.register(["./nile-sidebar-menu.cjs.js","tslib","lit","lit/decorators.js","./nile-sidebar-menu.css.cjs.js","../internal/nile-element.cjs.js","lit/directives/class-map.js"],function(_export,_context){"use strict";return{setters:[function(_nileSidebarMenuCjsJs){_export("NileSidebarMenu",_nileSidebarMenuCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSidebarMenuCssCjsJs){},function(_internalNileElementCjsJs){},function(_litDirectivesClassMapJs){}],execute:function execute(){}};});
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export{N as NileSidebarMenu}from"./nile-sidebar-menu.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-sidebar-menu.css.esm.js";import"../internal/nile-element.esm.js";import"lit/directives/class-map.js";
@@ -1,2 +0,0 @@
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-sidebar-menu.css.cjs.js","../internal/nile-element.cjs.js","lit/directives/class-map.js"],function(_export,_context){"use strict";var s,e,t,i,r,l,o,_templateObject,a;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){s=_tslib.__decorate;},function(_lit){e=_lit.html;},function(_litDecoratorsJs){t=_litDecoratorsJs.property;i=_litDecoratorsJs.customElement;},function(_nileSidebarMenuCssCjsJs){r=_nileSidebarMenuCssCjsJs.s;},function(_internalNileElementCjsJs){l=_internalNileElementCjsJs.N;},function(_litDirectivesClassMapJs){o=_litDirectivesClassMapJs.classMap;}],execute:function execute(){_export("N",a=/*#__PURE__*/function(_l){function a(){var _this;_classCallCheck(this,a);_this=_callSuper(this,a,arguments),_this.sidemenucollapsed=!1;return _this;}_inherits(a,_l);return _createClass(a,[{key:"connectedCallback",value:function connectedCallback(){_superPropGet(a,"connectedCallback",this,3)([]),this.addEventListener("click",this.handleSidebarMenuCollapsed.bind(this));}},{key:"disconnectedCallback",value:function disconnectedCallback(){_superPropGet(a,"disconnectedCallback",this,3)([]),this.removeEventListener("click",this.handleSidebarMenuCollapsed);}},{key:"firstUpdated",value:function firstUpdated(){var _this2=this;if(this.sidemenucollapsed){this.querySelectorAll("nile-sidebar-menu-items").forEach(function(s){s.collapsed=_this2.sidemenucollapsed;});}}},{key:"handleSidebarMenuCollapsed",value:function handleSidebarMenuCollapsed(){var _this3=this;this.sidemenucollapsed=!this.sidemenucollapsed;this.querySelectorAll("nile-sidebar-menu-items").forEach(function(s){s.collapsed=_this3.sidemenucollapsed;});}},{key:"render",value:function render(){return e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <slot name=\"header\" class=\"header\"></slot>\n <div class=\"submenu__box\">\n <slot\n class=","\n >\n </slot>\n <slot name=\"footer\" part=\"footer\" class=\"footer\"></slot>\n </div>\n "])),o({"sidemenu__items-list":!0}));}}],[{key:"styles",get:function get(){return[r];}}]);}(l));s([t({type:Boolean,reflect:!0})],a.prototype,"sidemenucollapsed",void 0),_export("N",a=s([i("nile-sidebar-menu")],a));}};});
2
- //# sourceMappingURL=nile-sidebar-menu.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nile-sidebar-menu.cjs.js","sources":["../../../src/nile-sidebar-menu/nile-sidebar-menu.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n LitElement,\n html,\n CSSResultArray,\n TemplateResult,\n} from 'lit';\nimport { customElement, query, property } from 'lit/decorators.js';\nimport { styles } from './nile-sidebar-menu.css';\nimport NileElement from '../internal/nile-element';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { foreach, log } from '../nile-icon/icons/svg';\n\n/**\n * Nile sidebar-menu component.\n *\n * @tag nile-sidebar-menu\n *\n */\n@customElement('nile-sidebar-menu')\nexport class NileSidebarMenu extends NileElement {\n /**\n * The styles for nile-sidebar-menu\n * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n */\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n @property({ type: Boolean, reflect: true }) sidemenucollapsed = false;\n\n connectedCallback() {\n super.connectedCallback();\n this.addEventListener('click', this.handleSidebarMenuCollapsed.bind(this));\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.removeEventListener('click', this.handleSidebarMenuCollapsed);\n }\n firstUpdated() {\n if (this.sidemenucollapsed) {\n const items = this.querySelectorAll('nile-sidebar-menu-items');\n items.forEach(curr_item => {\n curr_item.collapsed = this.sidemenucollapsed;\n });\n }\n }\n\n handleSidebarMenuCollapsed() {\n this.sidemenucollapsed = !this.sidemenucollapsed;\n const items = this.querySelectorAll('nile-sidebar-menu-items');\n items.forEach(curr_item => {\n curr_item.collapsed = this.sidemenucollapsed;\n });\n }\n\n\n /* #endregion */\n\n /* #region Methods */\n\n /**\n * Render method\n * @slot This is a slot test\n */\n public render(): TemplateResult {\n return html`\n <slot name=\"header\" class=\"header\"></slot>\n <div class=\"submenu__box\">\n <slot\n class=${classMap({\n 'sidemenu__items-list': true,\n })}\n >\n </slot>\n <slot name=\"footer\" part=\"footer\" class=\"footer\"></slot>\n </div>\n `;\n }\n\n /* #endregion */\n}\n\nexport default NileSidebarMenu;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-sidebar-menu': NileSidebarMenu;\n }\n}\n"],"names":["NileSidebarMenu","_l","a","constructor","this","sidemenucollapsed","_this","_inherits","_createClass","key","value","connectedCallback","super","addEventListener","handleSidebarMenuCollapsed","bind","disconnectedCallback","removeEventListener","firstUpdated","querySelectorAll","forEach","curr_item","collapsed","render","html","_templateObject","_taggedTemplateLiteral","classMap","get","styles","NileElement","__decorate","property","type","Boolean","reflect","prototype","customElement"],"mappings":"iwHA0BaA,CAAN,uBAAAC,EAAA,EAAA,SAAAC,EAAA,CAAAC,KAAAA,KAAAA,CAAAA,eAAAA,MAAAA,CAAAA,mCASuCC,EAAAA,KAAAA,CAAiBC,mBAAG,CAqDjE,QAAAC,KAAA,EAzDQC,SAAA,CAAAL,CAAA,CAAAD,EAAA,SAAAO,YAAA,CAAAN,CAAA,GAAAO,GAAA,qBAAAC,KAAA,CAMP,SAAAC,iBAAAA,CAAAA,CACEC,CAAAA,aAAAA,CAAAA,CAAAA,iCACAR,IAAKS,CAAAA,gBAAAA,CAAiB,QAAST,IAAKU,CAAAA,0BAAAA,CAA2BC,KAAKX,IACrE,CAAA,CAAA,EAED,GAAAK,GAAA,wBAAAC,KAAA,UAAAM,oBAAAA,CAAAA,CACEJ,CAAAA,aAAAA,CAAAA,CAAAA,oCACAR,IAAAA,CAAKa,oBAAoB,OAASb,CAAAA,IAAAA,CAAKU,2BACxC,EACD,GAAAL,GAAA,gBAAAC,KAAA,UAAAQ,YAAAA,CAAAA,kBACE,GAAId,IAAAA,CAAKC,kBAAmB,CACZD,IAAAA,CAAKe,iBAAiB,yBAC9BC,CAAAA,CAAAA,OAAAA,CAAQC,SAAAA,GACZA,CAAUC,CAAAA,SAAAA,CAAYlB,OAAKC,iBAAiB,EAAA,CAE/C,EACF,CAED,GAAAI,GAAA,8BAAAC,KAAA,UAAAI,0BAAAA,CAAAA,kBACEV,IAAKC,CAAAA,iBAAAA,CAAAA,CAAqBD,KAAKC,iBACjBD,CAAAA,IAAAA,CAAKe,iBAAiB,yBAC9BC,CAAAA,CAAAA,OAAAA,CAAQC,SAAAA,GACZA,CAAUC,CAAAA,SAAAA,CAAYlB,OAAKC,iBAAiB,EAAA,CAE/C,EAWM,GAAAI,GAAA,UAAAC,KAAA,UAAAa,MAAAA,CAAAA,CAAAA,CACL,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,8PAIGC,CAAAA,CAAS,CACf,sBAAwB,CAAA,CAAA,CAAA,CAAA,CAAA,EAOjC,CAAA,KAAAlB,GAAA,UAAAmB,GAAA,CAtDM,SAAAA,IAAA,CACL,CAAA,MAAO,CAACC,CACT,CAAA,EAID,MAXmCC,IASSC,EAAA,CAA3CC,CAAAA,CAAS,CAAEC,IAAAA,CAAMC,QAASC,OAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAkCnC,CAAAoC,CAAAA,SAAAA,CAAA,wBAAA,EAT3DpC,CAAAA,CAAAA,OAAAA,KAAAA,CAAAA,CAAe+B,EAAA,CAD3BM,CAAAA,CAAc,sBACFrC"}
@@ -1,2 +0,0 @@
1
- System.register(["lit"],function(_export,_context){"use strict";var i,_templateObject,e;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){i=_lit.css;}],execute:function execute(){_export("s",e=i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n background-color: var(--nile-sidebar-menu-background-color);\n --min-width: 80px;\n min-width: var(--min-width);\n width: max-content;\n height: 100%;\n box-sizing: border-box;\n display: flex;\n padding: 0 16px;\n flex-direction: column;\n }\n\n .submenu__box {\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n padding:12px 0;\n }\n\n .sidemenu__items-list {\n display:flex;\n flex-direction: column;\n gap: 8px;\n }\n\n .footer {\n display:flex;\n flex-direction: column;\n gap: 8px;\n }\n\n"]))));}};});
2
- //# sourceMappingURL=nile-sidebar-menu.css.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nile-sidebar-menu.css.cjs.js","sources":["../../../src/nile-sidebar-menu/nile-sidebar-menu.css.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit';\n\n/**\n * SidebarMenu CSS\n */\nexport const styles = css`\n :host {\n background-color: var(--nile-sidebar-menu-background-color);\n --min-width: 80px;\n min-width: var(--min-width);\n width: max-content;\n height: 100%;\n box-sizing: border-box;\n display: flex;\n padding: 0 16px;\n flex-direction: column;\n }\n\n .submenu__box {\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n padding:12px 0;\n }\n\n .sidemenu__items-list {\n display:flex;\n flex-direction: column;\n gap: 8px;\n }\n\n .footer {\n display:flex;\n flex-direction: column;\n gap: 8px;\n }\n\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -1,35 +0,0 @@
1
- import{css as i}from"lit";const e=i`
2
- :host {
3
- background-color: var(--nile-sidebar-menu-background-color);
4
- --min-width: 80px;
5
- min-width: var(--min-width);
6
- width: max-content;
7
- height: 100%;
8
- box-sizing: border-box;
9
- display: flex;
10
- padding: 0 16px;
11
- flex-direction: column;
12
- }
13
-
14
- .submenu__box {
15
- box-sizing: border-box;
16
- display: flex;
17
- flex-direction: column;
18
- justify-content: space-between;
19
- height: 100%;
20
- padding:12px 0;
21
- }
22
-
23
- .sidemenu__items-list {
24
- display:flex;
25
- flex-direction: column;
26
- gap: 8px;
27
- }
28
-
29
- .footer {
30
- display:flex;
31
- flex-direction: column;
32
- gap: 8px;
33
- }
34
-
35
- `;export{e as s};
@@ -1,10 +0,0 @@
1
- import{__decorate as s}from"tslib";import{html as e}from"lit";import{property as t,customElement as i}from"lit/decorators.js";import{s as r}from"./nile-sidebar-menu.css.esm.js";import{N as l}from"../internal/nile-element.esm.js";import{classMap as o}from"lit/directives/class-map.js";let a=class extends l{constructor(){super(...arguments),this.sidemenucollapsed=!1}static get styles(){return[r]}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleSidebarMenuCollapsed.bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleSidebarMenuCollapsed)}firstUpdated(){if(this.sidemenucollapsed){this.querySelectorAll("nile-sidebar-menu-items").forEach((s=>{s.collapsed=this.sidemenucollapsed}))}}handleSidebarMenuCollapsed(){this.sidemenucollapsed=!this.sidemenucollapsed;this.querySelectorAll("nile-sidebar-menu-items").forEach((s=>{s.collapsed=this.sidemenucollapsed}))}render(){return e`
2
- <slot name="header" class="header"></slot>
3
- <div class="submenu__box">
4
- <slot
5
- class=${o({"sidemenu__items-list":!0})}
6
- >
7
- </slot>
8
- <slot name="footer" part="footer" class="footer"></slot>
9
- </div>
10
- `}};s([t({type:Boolean,reflect:!0})],a.prototype,"sidemenucollapsed",void 0),a=s([i("nile-sidebar-menu")],a);export{a as N};
@@ -1,2 +0,0 @@
1
- System.register(["./nile-sidebar-menu-items.cjs.js","tslib","lit","lit/decorators.js","./nile-sidebar-menu-items.css.cjs.js","../internal/nile-element.cjs.js","lit/directives/class-map.js"],function(_export,_context){"use strict";return{setters:[function(_nileSidebarMenuItemsCjsJs){_export("NileSidebarMenuItems",_nileSidebarMenuItemsCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSidebarMenuItemsCssCjsJs){},function(_internalNileElementCjsJs){},function(_litDirectivesClassMapJs){}],execute:function execute(){}};});
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export{N as NileSidebarMenuItems}from"./nile-sidebar-menu-items.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-sidebar-menu-items.css.esm.js";import"../internal/nile-element.esm.js";import"lit/directives/class-map.js";
@@ -1,2 +0,0 @@
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-sidebar-menu-items.css.cjs.js","../internal/nile-element.cjs.js","lit/directives/class-map.js"],function(_export,_context){"use strict";var i,e,s,t,r,o,l,m,_templateObject,_templateObject2,a;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){i=_tslib.__decorate;},function(_lit){e=_lit.html;},function(_litDecoratorsJs){s=_litDecoratorsJs.property;t=_litDecoratorsJs.state;r=_litDecoratorsJs.customElement;},function(_nileSidebarMenuItemsCssCjsJs){o=_nileSidebarMenuItemsCssCjsJs.s;},function(_internalNileElementCjsJs){l=_internalNileElementCjsJs.N;},function(_litDirectivesClassMapJs){m=_litDirectivesClassMapJs.classMap;}],execute:function execute(){_export("N",a=/*#__PURE__*/function(_l){function a(){var _this;_classCallCheck(this,a);_this=_callSuper(this,a,arguments),_this.iconValue="",_this.active=!1,_this.collapsed=!1;return _this;}_inherits(a,_l);return _createClass(a,[{key:"render",value:function render(){return e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div\n class=","\n >\n ","\n <slot\n class=","\n ></slot>\n </div>\n "])),m({"nile__sidebar-menu-item":!0,"hide-sidebar-menu-items":this.collapsed}),this.iconValue?e(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-icon\n name=\"","\"\n aria-label=\"","\"\n size=\"24\"\n ></nile-icon>"])),this.iconValue,this.iconValue):"",m({"hide-items":this.collapsed}));}}],[{key:"styles",get:function get(){return[o];}}]);}(l));i([s()],a.prototype,"iconValue",void 0),i([s({type:Boolean,reflect:!0})],a.prototype,"active",void 0),i([t()],a.prototype,"collapsed",void 0),_export("N",a=i([r("nile-sidebar-menu-items")],a));}};});
2
- //# sourceMappingURL=nile-sidebar-menu-items.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nile-sidebar-menu-items.cjs.js","sources":["../../../src/nile-sidebar-menu-items/nile-sidebar-menu-items.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n LitElement,\n html,\n CSSResultArray,\n TemplateResult,\n} from 'lit';\nimport { customElement, state, property } from 'lit/decorators.js';\nimport { styles } from './nile-sidebar-menu-items.css';\nimport NileElement from '../internal/nile-element';\nimport { classMap } from 'lit/directives/class-map.js';\n\n/**\n * Nile sidebar-menu-items component.\n *\n * @tag nile-sidebar-menu-items\n *\n */\n@customElement('nile-sidebar-menu-items')\nexport class NileSidebarMenuItems extends NileElement {\n /**\n * The styles for nile-sidebar-menu-items\n * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n */\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n @property() iconValue = ''; // name of the icon we are using\n @property({ type: Boolean, reflect: true }) active = false;\n\n @state() collapsed = false;\n /* #endregion */\n\n /* #region Methods */\n\n /**\n * Render method\n * @slot This is a slot test\n */\n public render(): TemplateResult {\n return html`\n <div\n class=${classMap({\n 'nile__sidebar-menu-item': true,\n 'hide-sidebar-menu-items': this.collapsed,\n })}\n >\n ${this.iconValue\n ? html`<nile-icon\n name=\"${this.iconValue}\"\n aria-label=\"${this.iconValue}\"\n size=\"24\"\n ></nile-icon>`\n : ``}\n <slot\n class=${classMap({\n 'hide-items': this.collapsed,\n })}\n ></slot>\n </div>\n `;\n }\n\n /* #endregion */\n}\n\nexport default NileSidebarMenuItems;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-sidebar-menu-items': NileSidebarMenuItems;\n }\n}\n"],"names":["NileSidebarMenuItems","a","this","iconValue","active","collapsed","_this","_inherits","_l","_createClass","key","value","render","html","_templateObject","_taggedTemplateLiteral","classMap","_templateObject2","get","styles","NileElement","__decorate","property","prototype","type","Boolean","reflect","state","_export","customElement"],"mappings":"gzGAyBaA,4BAAN,SAAAC,EAAA,qEASOC,EAAAA,KAAAA,CAAAC,UAAY,EACoBD,CAAAA,KAAAA,CAAME,QAAG,CAE5CF,CAAAA,KAAAA,CAASG,WAAG,CAkCtB,QAAAC,KAAA,EAzCQC,SAAA,CAAAN,CAAA,CAAAO,EAAA,SAAAC,YAAA,CAAAR,CAAA,GAAAS,GAAA,UAAAC,KAAA,CAgBA,SAAAC,MAAAA,CAAAA,CAAAA,CACL,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,uIAECC,CAAAA,CAAS,CACf,yBAAA,CAAA,CAA2B,CAC3B,CAAA,yBAAA,CAA2Bd,IAAKG,CAAAA,SAAAA,CAAAA,CAAAA,CAGhCH,IAAAA,CAAKC,UACHU,CAAI,CAAAI,gBAAA,GAAAA,gBAAA,CAAAF,sBAAA,sIACMb,IAAKC,CAAAA,SAAAA,CACCD,IAAKC,CAAAA,SAAAA,EAGrB,EAAA,CAEMa,CAAS,CAAA,CACf,aAAcd,IAAKG,CAAAA,SAAAA,CAAAA,CAAAA,EAK5B,CAAA,KAAAK,GAAA,UAAAQ,GAAA,CAtCM,SAAAA,IAAA,CAAWC,CAChB,MAAO,CAACA,CAAAA,CACT,EAcM,MArBiCC,CAAAA,GAS5BC,CAAA,CAAA,CAAXC,CAA0BtB,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAuB,SAAA,CAAA,WAAA,CAAA,IAAA,EACiBF,CAAAA,CAAAA,CAAAA,CAAA,CAA3CC,CAAAA,CAAS,CAAEE,IAAAA,CAAMC,QAASC,OAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAuB1B,CAAAuB,CAAAA,SAAAA,CAAA,QAAA,CAAA,IAAA,EAAA,CAAA,CAElDF,CAAA,CAAA,CAARM,KAA0B3B,CAAAuB,CAAAA,SAAAA,CAAA,WAAA,CAAA,IAAA,EAAA,CAAA,CAAAK,OAAA,KAZhB5B,CAAoBqB,CAAAA,CAAAA,CAAA,CADhCQ,CAAAA,CAAc,4BACF7B"}
@@ -1,2 +0,0 @@
1
- System.register(["lit"],function(_export,_context){"use strict";var i,_templateObject,e;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){i=_lit.css;}],execute:function execute(){_export("s",e=i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n --min-width: 280px;\n }\n\n .nile__sidebar-menu-item {\n display: flex;\n align-items: center;\n padding: 12px;\n gap: 15px;\n min-width: var(--min-width);\n width: max-content;\n box-sizing: border-box;\n\n font-family: var(--nile-font-family-serif);\n font-size: var(--nile-type-scale-4);\n font-weight: 500;\n line-height: var(--nile-line-height-medium);\n }\n\n .nile__sidebar-menu-item:hover {\n background-color: var(--nile-colors-neutral-100);\n border-radius: 6px;\n }\n\n .hide-sidebar-menu-items{\n min-width:48px;\n }\n\n .hide-items {\n display: none;\n }\n"]))));}};});
2
- //# sourceMappingURL=nile-sidebar-menu-items.css.cjs.js.map