@aquera/nile-elements 1.1.5-beta-1.1 → 1.1.5
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.
- package/README.md +3 -0
- package/dist/index.js +43 -47
- package/dist/nile-chip/nile-chip.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.cjs.js.map +1 -1
- package/dist/nile-chip/nile-chip.esm.js +42 -46
- package/dist/src/nile-chip/nile-chip.js +42 -46
- package/dist/src/nile-chip/nile-chip.js.map +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-chip/nile-chip.ts +49 -57
- package/dist/axe.min-140df6c2.cjs.js +0 -2
- package/dist/axe.min-140df6c2.cjs.js.map +0 -1
- package/dist/axe.min-591c52c3.esm.js +0 -1
- package/dist/css-tag-3c4464f5.esm.js +0 -6
- package/dist/css-tag-b6258454.cjs.js +0 -6
- package/dist/css-tag-b6258454.cjs.js.map +0 -1
- package/dist/fixture-ba65262e.esm.js +0 -569
- package/dist/fixture-e3592de4.cjs.js +0 -395
- package/dist/fixture-e3592de4.cjs.js.map +0 -1
- package/dist/flow-3e83b6f4.esm.js +0 -17
- package/dist/flow-ca47f938.cjs.js +0 -14
- package/dist/flow-ca47f938.cjs.js.map +0 -1
- package/dist/lit-html-21bc9a48.cjs.js +0 -6
- package/dist/lit-html-21bc9a48.cjs.js.map +0 -1
- package/dist/lit-html-82603fd0.esm.js +0 -6
- package/dist/nile-inline-sidebar/index.cjs.js +0 -2
- package/dist/nile-inline-sidebar/index.cjs.js.map +0 -1
- package/dist/nile-inline-sidebar/index.esm.js +0 -1
- package/dist/nile-inline-sidebar/nile-inline-sidebar.cjs.js +0 -2
- package/dist/nile-inline-sidebar/nile-inline-sidebar.cjs.js.map +0 -1
- package/dist/nile-inline-sidebar/nile-inline-sidebar.css.cjs.js +0 -2
- package/dist/nile-inline-sidebar/nile-inline-sidebar.css.cjs.js.map +0 -1
- package/dist/nile-inline-sidebar/nile-inline-sidebar.css.esm.js +0 -58
- package/dist/nile-inline-sidebar/nile-inline-sidebar.esm.js +0 -48
- package/dist/nile-inline-sidebar-group/index.cjs.js +0 -2
- package/dist/nile-inline-sidebar-group/index.cjs.js.map +0 -1
- package/dist/nile-inline-sidebar-group/index.esm.js +0 -1
- package/dist/nile-inline-sidebar-group/nile-inline-sidebar-group.cjs.js +0 -2
- package/dist/nile-inline-sidebar-group/nile-inline-sidebar-group.cjs.js.map +0 -1
- package/dist/nile-inline-sidebar-group/nile-inline-sidebar-group.css.cjs.js +0 -2
- package/dist/nile-inline-sidebar-group/nile-inline-sidebar-group.css.cjs.js.map +0 -1
- package/dist/nile-inline-sidebar-group/nile-inline-sidebar-group.css.esm.js +0 -33
- package/dist/nile-inline-sidebar-group/nile-inline-sidebar-group.esm.js +0 -12
- package/dist/nile-inline-sidebar-item/index.cjs.js +0 -2
- package/dist/nile-inline-sidebar-item/index.cjs.js.map +0 -1
- package/dist/nile-inline-sidebar-item/index.esm.js +0 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.cjs.js +0 -2
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.cjs.js.map +0 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js +0 -2
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js.map +0 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.esm.js +0 -37
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.esm.js +0 -5
- package/dist/nile-inlinesidebar/index.cjs.js +0 -2
- package/dist/nile-inlinesidebar/index.cjs.js.map +0 -1
- package/dist/nile-inlinesidebar/index.esm.js +0 -1
- package/dist/nile-inlinesidebar/nile-inlinesidebar.cjs.js +0 -2
- package/dist/nile-inlinesidebar/nile-inlinesidebar.cjs.js.map +0 -1
- package/dist/nile-inlinesidebar/nile-inlinesidebar.css.cjs.js +0 -2
- package/dist/nile-inlinesidebar/nile-inlinesidebar.css.cjs.js.map +0 -1
- package/dist/nile-inlinesidebar/nile-inlinesidebar.css.esm.js +0 -62
- package/dist/nile-inlinesidebar/nile-inlinesidebar.esm.js +0 -46
- package/dist/nile-inlinesidebar-group/index.cjs.js +0 -2
- package/dist/nile-inlinesidebar-group/index.cjs.js.map +0 -1
- package/dist/nile-inlinesidebar-group/index.esm.js +0 -1
- package/dist/nile-inlinesidebar-group/nile-inlinesidebar-group.cjs.js +0 -2
- package/dist/nile-inlinesidebar-group/nile-inlinesidebar-group.cjs.js.map +0 -1
- package/dist/nile-inlinesidebar-group/nile-inlinesidebar-group.css.cjs.js +0 -2
- package/dist/nile-inlinesidebar-group/nile-inlinesidebar-group.css.cjs.js.map +0 -1
- package/dist/nile-inlinesidebar-group/nile-inlinesidebar-group.css.esm.js +0 -33
- package/dist/nile-inlinesidebar-group/nile-inlinesidebar-group.esm.js +0 -12
- package/dist/nile-inlinesidebar-item/index.cjs.js +0 -2
- package/dist/nile-inlinesidebar-item/index.cjs.js.map +0 -1
- package/dist/nile-inlinesidebar-item/index.esm.js +0 -1
- package/dist/nile-inlinesidebar-item/nile-inlinesidebar-item.cjs.js +0 -2
- package/dist/nile-inlinesidebar-item/nile-inlinesidebar-item.cjs.js.map +0 -1
- package/dist/nile-inlinesidebar-item/nile-inlinesidebar-item.css.cjs.js +0 -2
- package/dist/nile-inlinesidebar-item/nile-inlinesidebar-item.css.cjs.js.map +0 -1
- package/dist/nile-inlinesidebar-item/nile-inlinesidebar-item.css.esm.js +0 -37
- package/dist/nile-inlinesidebar-item/nile-inlinesidebar-item.esm.js +0 -5
- package/dist/nile-side-bar-content/index.cjs.js +0 -2
- package/dist/nile-side-bar-content/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-content/index.esm.js +0 -1
- package/dist/nile-side-bar-content/nile-side-bar-content.cjs.js +0 -2
- package/dist/nile-side-bar-content/nile-side-bar-content.cjs.js.map +0 -1
- package/dist/nile-side-bar-content/nile-side-bar-content.css.cjs.js +0 -2
- package/dist/nile-side-bar-content/nile-side-bar-content.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-content/nile-side-bar-content.css.esm.js +0 -5
- package/dist/nile-side-bar-content/nile-side-bar-content.esm.js +0 -3
- package/dist/nile-side-bar-footer-icon/index.cjs.js +0 -2
- package/dist/nile-side-bar-footer-icon/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer-icon/index.esm.js +0 -1
- package/dist/nile-side-bar-footer-icon/nile-side-bar-footer-icon.cjs.js +0 -2
- package/dist/nile-side-bar-footer-icon/nile-side-bar-footer-icon.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer-icon/nile-side-bar-footer-icon.css.cjs.js +0 -2
- package/dist/nile-side-bar-footer-icon/nile-side-bar-footer-icon.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer-icon/nile-side-bar-footer-icon.css.esm.js +0 -5
- package/dist/nile-side-bar-footer-icon/nile-side-bar-footer-icon.esm.js +0 -3
- package/dist/nile-side-bar-group-item-content/index.cjs.js +0 -2
- package/dist/nile-side-bar-group-item-content/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item-content/index.esm.js +0 -1
- package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.cjs.js +0 -2
- package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.cjs.js +0 -2
- package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.esm.js +0 -5
- package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.esm.js +0 -3
- package/dist/nile-sidebar/index.cjs.js +0 -2
- package/dist/nile-sidebar/index.cjs.js.map +0 -1
- package/dist/nile-sidebar/index.esm.js +0 -75
- package/dist/nile-sidebar-menu/index.cjs.js +0 -2
- package/dist/nile-sidebar-menu/index.cjs.js.map +0 -1
- package/dist/nile-sidebar-menu/index.esm.js +0 -1
- package/dist/nile-sidebar-menu/nile-sidebar-menu.cjs.js +0 -2
- package/dist/nile-sidebar-menu/nile-sidebar-menu.cjs.js.map +0 -1
- package/dist/nile-sidebar-menu/nile-sidebar-menu.css.cjs.js +0 -2
- package/dist/nile-sidebar-menu/nile-sidebar-menu.css.cjs.js.map +0 -1
- package/dist/nile-sidebar-menu/nile-sidebar-menu.css.esm.js +0 -38
- package/dist/nile-sidebar-menu/nile-sidebar-menu.esm.js +0 -10
- package/dist/nile-sidebar-menu-items/index.cjs.js +0 -2
- package/dist/nile-sidebar-menu-items/index.cjs.js.map +0 -1
- package/dist/nile-sidebar-menu-items/index.esm.js +0 -1
- package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.cjs.js +0 -2
- package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.cjs.js.map +0 -1
- package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.css.cjs.js +0 -2
- package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.css.cjs.js.map +0 -1
- package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.css.esm.js +0 -36
- package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.esm.js +0 -15
- package/dist/nile-sidebar-wrapper/index.cjs.js +0 -2
- package/dist/nile-sidebar-wrapper/index.cjs.js.map +0 -1
- package/dist/nile-sidebar-wrapper/index.esm.js +0 -1
- package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.cjs.js +0 -2
- package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.cjs.js.map +0 -1
- package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.css.cjs.js +0 -2
- package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.css.cjs.js.map +0 -1
- package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.css.esm.js +0 -105
- package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.esm.js +0 -16
- package/dist/scopedElementsWrapper-abad3c53.cjs.js +0 -2
- package/dist/scopedElementsWrapper-abad3c53.cjs.js.map +0 -1
- package/dist/scopedElementsWrapper-ef11f868.esm.js +0 -1
- package/dist/sinon-esm-283dcc9b.cjs.js +0 -2
- package/dist/sinon-esm-283dcc9b.cjs.js.map +0 -1
- package/dist/sinon-esm-abe9b0ec.esm.js +0 -1
- package/dist/src/nile-inline-sidebar/index.d.ts +0 -1
- package/dist/src/nile-inline-sidebar/index.js +0 -2
- package/dist/src/nile-inline-sidebar/index.js.map +0 -1
- package/dist/src/nile-inline-sidebar/nile-inline-sidebar.css.d.ts +0 -7
- package/dist/src/nile-inline-sidebar/nile-inline-sidebar.css.js +0 -66
- package/dist/src/nile-inline-sidebar/nile-inline-sidebar.css.js.map +0 -1
- package/dist/src/nile-inline-sidebar/nile-inline-sidebar.d.ts +0 -51
- package/dist/src/nile-inline-sidebar/nile-inline-sidebar.js +0 -199
- package/dist/src/nile-inline-sidebar/nile-inline-sidebar.js.map +0 -1
- package/dist/src/nile-inline-sidebar-group/index.d.ts +0 -1
- package/dist/src/nile-inline-sidebar-group/index.js +0 -2
- package/dist/src/nile-inline-sidebar-group/index.js.map +0 -1
- package/dist/src/nile-inline-sidebar-group/nile-inline-sidebar-group.css.d.ts +0 -9
- package/dist/src/nile-inline-sidebar-group/nile-inline-sidebar-group.css.js +0 -42
- package/dist/src/nile-inline-sidebar-group/nile-inline-sidebar-group.css.js.map +0 -1
- package/dist/src/nile-inline-sidebar-group/nile-inline-sidebar-group.d.ts +0 -32
- package/dist/src/nile-inline-sidebar-group/nile-inline-sidebar-group.js +0 -64
- package/dist/src/nile-inline-sidebar-group/nile-inline-sidebar-group.js.map +0 -1
- package/dist/src/nile-inline-sidebar-item/index.d.ts +0 -1
- package/dist/src/nile-inline-sidebar-item/index.js +0 -2
- package/dist/src/nile-inline-sidebar-item/index.js.map +0 -1
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.d.ts +0 -10
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js +0 -48
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js.map +0 -1
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.d.ts +0 -36
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.js +0 -80
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.js.map +0 -1
- package/dist/src/nile-inlinesidebar/index.d.ts +0 -1
- package/dist/src/nile-inlinesidebar/index.js +0 -2
- package/dist/src/nile-inlinesidebar/index.js.map +0 -1
- package/dist/src/nile-inlinesidebar/nile-inlinesidebar.css.d.ts +0 -1
- package/dist/src/nile-inlinesidebar/nile-inlinesidebar.css.js +0 -64
- package/dist/src/nile-inlinesidebar/nile-inlinesidebar.css.js.map +0 -1
- package/dist/src/nile-inlinesidebar/nile-inlinesidebar.d.ts +0 -28
- package/dist/src/nile-inlinesidebar/nile-inlinesidebar.js +0 -97
- package/dist/src/nile-inlinesidebar/nile-inlinesidebar.js.map +0 -1
- package/dist/src/nile-inlinesidebar-group/index.d.ts +0 -1
- package/dist/src/nile-inlinesidebar-group/index.js +0 -2
- package/dist/src/nile-inlinesidebar-group/index.js.map +0 -1
- package/dist/src/nile-inlinesidebar-group/nile-inlinesidebar-group.css.d.ts +0 -3
- package/dist/src/nile-inlinesidebar-group/nile-inlinesidebar-group.css.js +0 -36
- package/dist/src/nile-inlinesidebar-group/nile-inlinesidebar-group.css.js.map +0 -1
- package/dist/src/nile-inlinesidebar-group/nile-inlinesidebar-group.d.ts +0 -34
- package/dist/src/nile-inlinesidebar-group/nile-inlinesidebar-group.js +0 -67
- package/dist/src/nile-inlinesidebar-group/nile-inlinesidebar-group.js.map +0 -1
- package/dist/src/nile-inlinesidebar-item/index.d.ts +0 -1
- package/dist/src/nile-inlinesidebar-item/index.js +0 -2
- package/dist/src/nile-inlinesidebar-item/index.js.map +0 -1
- package/dist/src/nile-inlinesidebar-item/nile-inlinesidebar-item.css.d.ts +0 -4
- package/dist/src/nile-inlinesidebar-item/nile-inlinesidebar-item.css.js +0 -42
- package/dist/src/nile-inlinesidebar-item/nile-inlinesidebar-item.css.js.map +0 -1
- package/dist/src/nile-inlinesidebar-item/nile-inlinesidebar-item.d.ts +0 -37
- package/dist/src/nile-inlinesidebar-item/nile-inlinesidebar-item.js +0 -68
- package/dist/src/nile-inlinesidebar-item/nile-inlinesidebar-item.js.map +0 -1
- package/dist/src/nile-nile-side-bar-expand/index.d.ts +0 -1
- package/dist/src/nile-nile-side-bar-expand/index.js +0 -2
- package/dist/src/nile-nile-side-bar-expand/index.js.map +0 -1
- package/dist/src/nile-nile-side-bar-expand/nile-nile-side-bar-expand.css.d.ts +0 -12
- package/dist/src/nile-nile-side-bar-expand/nile-nile-side-bar-expand.css.js +0 -17
- package/dist/src/nile-nile-side-bar-expand/nile-nile-side-bar-expand.css.js.map +0 -1
- package/dist/src/nile-nile-side-bar-expand/nile-nile-side-bar-expand.d.ts +0 -32
- package/dist/src/nile-nile-side-bar-expand/nile-nile-side-bar-expand.js +0 -43
- package/dist/src/nile-nile-side-bar-expand/nile-nile-side-bar-expand.js.map +0 -1
- package/dist/src/nile-side-bar-content/index.d.ts +0 -1
- package/dist/src/nile-side-bar-content/index.js +0 -2
- package/dist/src/nile-side-bar-content/index.js.map +0 -1
- package/dist/src/nile-side-bar-content/nile-side-bar-content.css.d.ts +0 -12
- package/dist/src/nile-side-bar-content/nile-side-bar-content.css.js +0 -17
- package/dist/src/nile-side-bar-content/nile-side-bar-content.css.js.map +0 -1
- package/dist/src/nile-side-bar-content/nile-side-bar-content.d.ts +0 -32
- package/dist/src/nile-side-bar-content/nile-side-bar-content.js +0 -43
- package/dist/src/nile-side-bar-content/nile-side-bar-content.js.map +0 -1
- package/dist/src/nile-side-bar-footer-icon/index.d.ts +0 -1
- package/dist/src/nile-side-bar-footer-icon/index.js +0 -2
- package/dist/src/nile-side-bar-footer-icon/index.js.map +0 -1
- package/dist/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.css.d.ts +0 -12
- package/dist/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.css.js +0 -17
- package/dist/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.css.js.map +0 -1
- package/dist/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.d.ts +0 -32
- package/dist/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.js +0 -43
- package/dist/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.js.map +0 -1
- package/dist/src/nile-side-bar-group-item-content/index.d.ts +0 -1
- package/dist/src/nile-side-bar-group-item-content/index.js +0 -2
- package/dist/src/nile-side-bar-group-item-content/index.js.map +0 -1
- package/dist/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.d.ts +0 -12
- package/dist/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.js +0 -17
- package/dist/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.js.map +0 -1
- package/dist/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.d.ts +0 -32
- package/dist/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.js +0 -43
- package/dist/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.js.map +0 -1
- package/dist/src/nile-sidebar/index.d.ts +0 -28
- package/dist/src/nile-sidebar/index.js +0 -116
- package/dist/src/nile-sidebar/index.js.map +0 -1
- package/dist/src/nile-sidebar/nile-sidebar.css.d.ts +0 -12
- package/dist/src/nile-sidebar/nile-sidebar.css.js +0 -17
- package/dist/src/nile-sidebar/nile-sidebar.css.js.map +0 -1
- package/dist/src/nile-sidebar/nile-sidebar.d.ts +0 -32
- package/dist/src/nile-sidebar/nile-sidebar.js +0 -43
- package/dist/src/nile-sidebar/nile-sidebar.js.map +0 -1
- package/dist/src/nile-sidebar-menu/index.d.ts +0 -1
- package/dist/src/nile-sidebar-menu/index.js +0 -2
- package/dist/src/nile-sidebar-menu/index.js.map +0 -1
- package/dist/src/nile-sidebar-menu/nile-sidebar-menu.css.d.ts +0 -12
- package/dist/src/nile-sidebar-menu/nile-sidebar-menu.css.js +0 -47
- package/dist/src/nile-sidebar-menu/nile-sidebar-menu.css.js.map +0 -1
- package/dist/src/nile-sidebar-menu/nile-sidebar-menu.d.ts +0 -37
- package/dist/src/nile-sidebar-menu/nile-sidebar-menu.js +0 -84
- package/dist/src/nile-sidebar-menu/nile-sidebar-menu.js.map +0 -1
- package/dist/src/nile-sidebar-menu-items/index.d.ts +0 -1
- package/dist/src/nile-sidebar-menu-items/index.js +0 -2
- package/dist/src/nile-sidebar-menu-items/index.js.map +0 -1
- package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.css.d.ts +0 -12
- package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.css.js +0 -45
- package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.css.js.map +0 -1
- package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.d.ts +0 -35
- package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.js +0 -78
- package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.js.map +0 -1
- package/dist/src/nile-sidebar-wrapper/index.d.ts +0 -1
- package/dist/src/nile-sidebar-wrapper/index.js +0 -2
- package/dist/src/nile-sidebar-wrapper/index.js.map +0 -1
- package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.css.d.ts +0 -12
- package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.css.js +0 -114
- package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.css.js.map +0 -1
- package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.d.ts +0 -35
- package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.js +0 -89
- package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.js.map +0 -1
- package/dist/virtualize-73f68d08.esm.js +0 -22
- package/dist/virtualize-eb33a9a0.cjs.js +0 -18
- package/dist/virtualize-eb33a9a0.cjs.js.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["./nile-side-bar-content.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-content.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarContentCjsJs){_export("NileSideBarContent",_nileSideBarContentCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarContentCssCjsJs){},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 NileSideBarContent}from"./nile-side-bar-content.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-content.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-side-bar-content.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var t,s,e,r,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 _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){s=_lit.html;},function(_litDecoratorsJs){e=_litDecoratorsJs.customElement;},function(_nileSideBarContentCssCjsJs){r=_nileSideBarContentCssCjsJs.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:"render",value:function render(){return s(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t\t\t<slot> </slot>\n\t\t\t"])));}}],[{key:"styles",get:function get(){return[r];}}]);}(o));_export("N",i=t([e("nile-side-bar-content")],i));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-content.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-content.cjs.js","sources":["../../../src/nile-side-bar-content/nile-side-bar-content.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 {LitElement, html, CSSResultArray, TemplateResult} from 'lit';\nimport { customElement, property} from 'lit/decorators.js';\nimport {styles} from './nile-side-bar-content.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile side-bar-content component.\n *\n * @tag nile-side-bar-content\n *\n */\n@customElement('nile-side-bar-content')\nexport class NileSideBarContent extends NileElement {\n\n\t/**\n\t * The styles for nile-side-bar-content\n\t * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n\t */\n\tpublic static get styles(): CSSResultArray {\n\t\treturn [styles];\n\t}\n\n\t/* #endregion */\n\n\t/* #region Methods */\n\n\t/**\n\t * Render method\n\t * @slot This is a slot test\n\t */\n\tpublic render(): TemplateResult {\n\t\treturn html`\n\t\t\t<slot> </slot>\n\t\t\t`;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileSideBarContent;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-content': NileSideBarContent;\n }\n}"],"names":["NileSideBarContent","render","html","_templateObject","_taggedTemplateLiteral","key","get","styles","NileElement","__decorate","customElement"],"mappings":"unGAoBaA,CAAAA,uBAAAA,EAAAA,WAAAA,EAAAA,EAAAA,eAAAA,MAAAA,CAAAA,SAAAA,UAAAA,MAAAA,CAAAA,CAAAA,SAAAA,GAAAA,SAAAA,CAAAA,CAAAA,CAAAA,EAAAA,SAAAA,YAAAA,CAAAA,CAAAA,GAAAA,GAAAA,UAAAA,KAAAA,CAkBL,SAAAC,MAAAA,CAAAA,CACN,CAAA,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,uCAGX,CAAA,KAAAC,GAAA,UAAAC,GAAA,CAhBM,SAAAA,IAAA,EACN,MAAO,CAACC,EACR,EAUM,MAlBgCC,CAMhC,GANKR,OAAAA,KAAAA,CAAkBS,CAAAA,CAAAA,CAAA,CAD9BC,CAAAA,CAAc,0BACFV"}
|
|
@@ -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\n\t}\n"]))));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-content.css.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-content.css.cjs.js","sources":["../../../src/nile-side-bar-content/nile-side-bar-content.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 * SideBarContent CSS\n */\nexport const styles = css`\n\t:host {\n\n\t}\n`;\n\nexport default [styles];"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{__decorate as t}from"tslib";import{html as e}from"lit";import{customElement as s}from"lit/decorators.js";import{s as r}from"./nile-side-bar-content.css.esm.js";import{N as o}from"../internal/nile-element.esm.js";let i=class extends o{static get styles(){return[r]}render(){return e`
|
|
2
|
-
<slot> </slot>
|
|
3
|
-
`}};i=t([s("nile-side-bar-content")],i);export{i as N};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["./nile-side-bar-footer-icon.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-footer-icon.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarFooterIconCjsJs){_export("NileSideBarFooterIcon",_nileSideBarFooterIconCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarFooterIconCssCjsJs){},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 NileSideBarFooterIcon}from"./nile-side-bar-footer-icon.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-footer-icon.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-side-bar-footer-icon.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var r,t,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 _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){r=_tslib.__decorate;},function(_lit){t=_lit.html;},function(_litDecoratorsJs){s=_litDecoratorsJs.customElement;},function(_nileSideBarFooterIconCssCjsJs){e=_nileSideBarFooterIconCssCjsJs.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:"render",value:function render(){return t(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t\t\t<slot> </slot>\n\t\t\t"])));}}],[{key:"styles",get:function get(){return[e];}}]);}(o));_export("N",i=r([s("nile-side-bar-footer-icon")],i));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-footer-icon.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-footer-icon.cjs.js","sources":["../../../src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.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 {LitElement, html, CSSResultArray, TemplateResult} from 'lit';\nimport { customElement, property} from 'lit/decorators.js';\nimport {styles} from './nile-side-bar-footer-icon.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile side-bar-footer-icon component.\n *\n * @tag nile-side-bar-footer-icon\n *\n */\n@customElement('nile-side-bar-footer-icon')\nexport class NileSideBarFooterIcon extends NileElement {\n\n\t/**\n\t * The styles for nile-side-bar-footer-icon\n\t * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n\t */\n\tpublic static get styles(): CSSResultArray {\n\t\treturn [styles];\n\t}\n\n\t/* #endregion */\n\n\t/* #region Methods */\n\n\t/**\n\t * Render method\n\t * @slot This is a slot test\n\t */\n\tpublic render(): TemplateResult {\n\t\treturn html`\n\t\t\t<slot> </slot>\n\t\t\t`;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileSideBarFooterIcon;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-footer-icon': NileSideBarFooterIcon;\n }\n}"],"names":["NileSideBarFooterIcon","render","html","_templateObject","_taggedTemplateLiteral","key","get","styles","NileElement","__decorate","customElement"],"mappings":"ioGAoBaA,CAAAA,uBAAAA,EAAAA,WAAAA,EAAAA,EAAAA,eAAAA,MAAAA,CAAAA,SAAAA,UAAAA,MAAAA,CAAAA,CAAAA,SAAAA,GAAAA,SAAAA,CAAAA,CAAAA,CAAAA,EAAAA,SAAAA,YAAAA,CAAAA,CAAAA,GAAAA,GAAAA,UAAAA,KAAAA,CAkBL,SAAAC,MAAAA,CAAAA,CACN,CAAA,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,uCAGX,CAAA,KAAAC,GAAA,UAAAC,GAAA,CAhBM,SAAAA,IAAA,EACN,MAAO,CAACC,EACR,EAUM,MAlBmCC,CAMnC,GANKR,OAAAA,KAAAA,CAAqBS,CAAAA,CAAAA,CAAA,CADjCC,CAAAA,CAAc,8BACFV"}
|
|
@@ -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\n\t}\n"]))));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-footer-icon.css.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-footer-icon.css.cjs.js","sources":["../../../src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.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 * SideBarFooterIcon CSS\n */\nexport const styles = css`\n\t:host {\n\n\t}\n`;\n\nexport default [styles];"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{__decorate as e}from"tslib";import{html as r}from"lit";import{customElement as t}from"lit/decorators.js";import{s}from"./nile-side-bar-footer-icon.css.esm.js";import{N as o}from"../internal/nile-element.esm.js";let i=class extends o{static get styles(){return[s]}render(){return r`
|
|
2
|
-
<slot> </slot>
|
|
3
|
-
`}};i=e([t("nile-side-bar-footer-icon")],i);export{i as N};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["./nile-side-bar-group-item-content.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-group-item-content.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarGroupItemContentCjsJs){_export("NileSideBarGroupItemContent",_nileSideBarGroupItemContentCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarGroupItemContentCssCjsJs){},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 NileSideBarGroupItemContent}from"./nile-side-bar-group-item-content.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-group-item-content.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-side-bar-group-item-content.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var t,e,r,s,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 _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.customElement;},function(_nileSideBarGroupItemContentCssCjsJs){s=_nileSideBarGroupItemContentCssCjsJs.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:"render",value:function render(){return e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t\t\t<slot> </slot>\n\t\t\t"])));}}],[{key:"styles",get:function get(){return[s];}}]);}(o));_export("N",i=t([r("nile-side-bar-group-item-content")],i));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-group-item-content.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-group-item-content.cjs.js","sources":["../../../src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.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 {LitElement, html, CSSResultArray, TemplateResult} from 'lit';\nimport { customElement, property} from 'lit/decorators.js';\nimport {styles} from './nile-side-bar-group-item-content.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile side-bar-group-item-content component.\n *\n * @tag nile-side-bar-group-item-content\n *\n */\n@customElement('nile-side-bar-group-item-content')\nexport class NileSideBarGroupItemContent extends NileElement {\n\n\t/**\n\t * The styles for nile-side-bar-group-item-content\n\t * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n\t */\n\tpublic static get styles(): CSSResultArray {\n\t\treturn [styles];\n\t}\n\n\t/* #endregion */\n\n\t/* #region Methods */\n\n\t/**\n\t * Render method\n\t * @slot This is a slot test\n\t */\n\tpublic render(): TemplateResult {\n\t\treturn html`\n\t\t\t<slot> </slot>\n\t\t\t`;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileSideBarGroupItemContent;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-group-item-content': NileSideBarGroupItemContent;\n }\n}"],"names":["NileSideBarGroupItemContent","render","html","_templateObject","_taggedTemplateLiteral","key","get","styles","NileElement","__decorate","customElement"],"mappings":"opGAoBaA,CAAAA,uBAAAA,EAAAA,WAAAA,EAAAA,EAAAA,eAAAA,MAAAA,CAAAA,SAAAA,UAAAA,MAAAA,CAAAA,CAAAA,SAAAA,GAAAA,SAAAA,CAAAA,CAAAA,CAAAA,EAAAA,SAAAA,YAAAA,CAAAA,CAAAA,GAAAA,GAAAA,UAAAA,KAAAA,CAkBL,SAAAC,MAAAA,CAAAA,CACN,CAAA,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,uCAGX,CAAA,KAAAC,GAAA,UAAAC,GAAA,CAhBM,SAAAA,IAAA,EACN,MAAO,CAACC,EACR,EAUM,MAlByCC,CAMzC,GANKR,OAAAA,KAAAA,CAA2BS,CAAAA,CAAAA,CAAA,CADvCC,CAAAA,CAAc,qCACFV"}
|
|
@@ -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\n\t}\n"]))));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-group-item-content.css.cjs.js.map
|
package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.cjs.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-group-item-content.css.cjs.js","sources":["../../../src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.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 * SideBarGroupItemContent CSS\n */\nexport const styles = css`\n\t:host {\n\n\t}\n`;\n\nexport default [styles];"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -1,3 +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-side-bar-group-item-content.css.esm.js";import{N as o}from"../internal/nile-element.esm.js";let i=class extends o{static get styles(){return[s]}render(){return e`
|
|
2
|
-
<slot> </slot>
|
|
3
|
-
`}};i=t([r("nile-side-bar-group-item-content")],i);export{i 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,i,r,e,n,t,a,_templateObject,_templateObject2,s;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){i=_lit.css;r=_lit.LitElement;e=_lit.html;},function(_litDecoratorsJs){n=_litDecoratorsJs.property;t=_litDecoratorsJs.customElement;},function(_litDirectivesClassMapJs){a=_litDirectivesClassMapJs.classMap;}],execute:function execute(){s=/*#__PURE__*/function(_r){function s(){var _this;_classCallCheck(this,s);_this=_callSuper(this,s,arguments),_this.title="",_this.showSidebar=!1;return _this;}_inherits(s,_r);return _createClass(s,[{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));}}]);}(r);s.styles=i(_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 -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n :host([showSidebar=true]) {\n min-width: 240px;\n }\n .nile-logo {\n margin: var(--nile-spacing-2xl);\n display: block;\n margin-bottom: var(--nile-spacing-lg);\n }\n\n .menu-group {\n margin-left: var(--nile-spacing-2xl);\n margin-right: var(--nile-spacing-2xl);\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: var(--nile-radius-sm);\n border: solid 1px #eee;\n }\n\n .nile-menu__hr {\n border-bottom: solid 1px var(--nile-colors-dark-100);\n margin-top: var(--nile-spacing-lg) !important;\n margin-bottom: var(--nile-spacing-lg) !important;\n background-color: var(--nile-colors-dark-100);\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([n()],s.prototype,"title",void 0),o([n()],s.prototype,"showSidebar",void 0),s=o([t("nile-sidebar")],s);}};});
|
|
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 -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n :host([showSidebar=true]) {\n min-width: 240px;\n }\n .nile-logo {\n margin: var(--nile-spacing-2xl);\n display: block;\n margin-bottom: var(--nile-spacing-lg);\n }\n\n .menu-group {\n margin-left: var(--nile-spacing-2xl);\n margin-right: var(--nile-spacing-2xl);\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: var(--nile-radius-sm);\n border: solid 1px #eee;\n }\n\n .nile-menu__hr {\n border-bottom: solid 1px var(--nile-colors-dark-100);\n margin-top: var(--nile-spacing-lg) !important;\n margin-bottom: var(--nile-spacing-lg) !important;\n background-color: var(--nile-colors-dark-100);\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","_r","s","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,uEA2DLC,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,kqBACyBC,CAAAA,CAASb,IAAKc,CAAAA,cAAAA,CAAAA,EAsBnD,CAlGejB,MADekB,CAA1B,EACWlB,CAAAA,CAAMmB,OAAGC,CAAG,CAAAC,gBAAA,GAAAA,gBAAA,CAAAN,sBAAA,mlDA0D5BO,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,CAjETxB,EAAWsB,CAAA,CAAA,CADvBG,EAAc,cACFzB,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import{__decorate as o}from"tslib";import{css as i,LitElement as r,html as e}from"lit";import{property as n,customElement as t}from"lit/decorators.js";import{classMap as a}from"lit/directives/class-map.js";let s=class extends r{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
|
-
`}};s.styles=i`
|
|
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
|
-
-webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));
|
|
31
|
-
-moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));
|
|
32
|
-
text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));
|
|
33
|
-
}
|
|
34
|
-
:host([showSidebar=true]) {
|
|
35
|
-
min-width: 240px;
|
|
36
|
-
}
|
|
37
|
-
.nile-logo {
|
|
38
|
-
margin: var(--nile-spacing-2xl);
|
|
39
|
-
display: block;
|
|
40
|
-
margin-bottom: var(--nile-spacing-lg);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.menu-group {
|
|
44
|
-
margin-left: var(--nile-spacing-2xl);
|
|
45
|
-
margin-right: var(--nile-spacing-2xl);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.view-component {
|
|
49
|
-
background-color: var(--nile-colors-white-base);
|
|
50
|
-
min-width: 240px;
|
|
51
|
-
}
|
|
52
|
-
// padding: 3rem;
|
|
53
|
-
.view-component__item {
|
|
54
|
-
background-color: var(--nile-colors-white-base);
|
|
55
|
-
// padding: 1rem;
|
|
56
|
-
border-radius: var(--nile-radius-sm);
|
|
57
|
-
border: solid 1px #eee;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.nile-menu__hr {
|
|
61
|
-
border-bottom: solid 1px var(--nile-colors-dark-100);
|
|
62
|
-
margin-top: var(--nile-spacing-lg) !important;
|
|
63
|
-
margin-bottom: var(--nile-spacing-lg) !important;
|
|
64
|
-
background-color: var(--nile-colors-dark-100);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.nds-menu--bottom {
|
|
68
|
-
position: absolute;
|
|
69
|
-
bottom: 0;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.nds-menu--active .nile-logo {
|
|
73
|
-
display: none;
|
|
74
|
-
}
|
|
75
|
-
`,o([n()],s.prototype,"title",void 0),o([n()],s.prototype,"showSidebar",void 0),s=o([t("nile-sidebar")],s);
|
|
@@ -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 n,_templateObject,i;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){n=_lit.css;}],execute:function execute(){_export("s",i=n(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n 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: var(--nile-spacing-none) var(--nile-spacing-xl);\n flex-direction: column;\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .submenu__box {\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n padding: var(--nile-spacing-lg) var(--nile-spacing-none);\n }\n\n .sidemenu__items-list {\n display:flex;\n flex-direction: column;\n gap: var(--nile-spacing-md);\n }\n\n .footer {\n display:flex;\n flex-direction: column;\n gap: var(--nile-spacing-md);\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: var(--nile-spacing-none) var(--nile-spacing-xl);\n flex-direction: column;\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .submenu__box {\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n padding: var(--nile-spacing-lg) var(--nile-spacing-none);\n }\n\n .sidemenu__items-list {\n display:flex;\n flex-direction: column;\n gap: var(--nile-spacing-md);\n }\n\n .footer {\n display:flex;\n flex-direction: column;\n gap: var(--nile-spacing-md);\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,38 +0,0 @@
|
|
|
1
|
-
import{css as n}from"lit";const i=n`
|
|
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: var(--nile-spacing-none) var(--nile-spacing-xl);
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
-webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));
|
|
13
|
-
-moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));
|
|
14
|
-
text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.submenu__box {
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
justify-content: space-between;
|
|
22
|
-
height: 100%;
|
|
23
|
-
padding: var(--nile-spacing-lg) var(--nile-spacing-none);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.sidemenu__items-list {
|
|
27
|
-
display:flex;
|
|
28
|
-
flex-direction: column;
|
|
29
|
-
gap: var(--nile-spacing-md);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.footer {
|
|
33
|
-
display:flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
gap: var(--nile-spacing-md);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
`;export{i 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 e,i,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){e=_tslib.__decorate;},function(_lit){i=_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 i(_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?i(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-icon\n name=\"","\"\n aria-label=\"","\"\n size=\"24\"\n method=\"var(--nile-svg-method-fill, var(--ng-svg-method-stroke))\"\n ></nile-icon>"])),this.iconValue,this.iconValue):"",m({"hide-items":this.collapsed}));}}],[{key:"styles",get:function get(){return[o];}}]);}(l));e([s()],a.prototype,"iconValue",void 0),e([s({type:Boolean,reflect:!0})],a.prototype,"active",void 0),e([t()],a.prototype,"collapsed",void 0),_export("N",a=e([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 method=\"var(--nile-svg-method-fill, var(--ng-svg-method-stroke))\"\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,CAmCtB,QAAAC,KAAA,EA1CQC,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,yNACMb,IAAKC,CAAAA,SAAAA,CACCD,IAAKC,CAAAA,SAAAA,EAIrB,EAAA,CAEMa,CAAS,CAAA,CACf,aAAcd,IAAKG,CAAAA,SAAAA,CAAAA,CAAAA,EAK5B,CAAA,KAAAK,GAAA,UAAAQ,GAAA,CAvCM,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,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){i=_lit.css;}],execute:function execute(){_export("s",n=i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n --min-width: 280px;\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .nile__sidebar-menu-item {\n display: flex;\n align-items: center;\n padding: var(--nile-spacing-md);\n gap: var(--nile-spacing-xl);\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: var(--nile-font-weight-medium);\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: var(--nile-radius-sm);\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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-sidebar-menu-items.css.cjs.js","sources":["../../../src/nile-sidebar-menu-items/nile-sidebar-menu-items.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 * SidebarMenuItems CSS\n */\nexport const styles = css`\n :host {\n --min-width: 280px;\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .nile__sidebar-menu-item {\n display: flex;\n align-items: center;\n padding: var(--nile-spacing-md);\n gap: var(--nile-spacing-xl);\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: var(--nile-font-weight-medium);\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: var(--nile-radius-sm);\n }\n\n .hide-sidebar-menu-items{\n min-width:48px;\n }\n\n .hide-items {\n display: none;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import{css as i}from"lit";const n=i`
|
|
2
|
-
:host {
|
|
3
|
-
--min-width: 280px;
|
|
4
|
-
-webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));
|
|
5
|
-
-moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));
|
|
6
|
-
text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.nile__sidebar-menu-item {
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
padding: var(--nile-spacing-md);
|
|
13
|
-
gap: var(--nile-spacing-xl);
|
|
14
|
-
min-width: var(--min-width);
|
|
15
|
-
width: max-content;
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
|
|
18
|
-
font-family: var(--nile-font-family-serif);
|
|
19
|
-
font-size: var(--nile-type-scale-4);
|
|
20
|
-
font-weight: var(--nile-font-weight-medium);
|
|
21
|
-
line-height: var(--nile-line-height-medium);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.nile__sidebar-menu-item:hover {
|
|
25
|
-
background-color: var(--nile-colors-neutral-100);
|
|
26
|
-
border-radius: var(--nile-radius-sm);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.hide-sidebar-menu-items{
|
|
30
|
-
min-width:48px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.hide-items {
|
|
34
|
-
display: none;
|
|
35
|
-
}
|
|
36
|
-
`;export{n as s};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{__decorate as e}from"tslib";import{html as i}from"lit";import{property as s,state as t,customElement as r}from"lit/decorators.js";import{s as o}from"./nile-sidebar-menu-items.css.esm.js";import{N as l}from"../internal/nile-element.esm.js";import{classMap as m}from"lit/directives/class-map.js";let a=class extends l{constructor(){super(...arguments),this.iconValue="",this.active=!1,this.collapsed=!1}static get styles(){return[o]}render(){return i`
|
|
2
|
-
<div
|
|
3
|
-
class=${m({"nile__sidebar-menu-item":!0,"hide-sidebar-menu-items":this.collapsed})}
|
|
4
|
-
>
|
|
5
|
-
${this.iconValue?i`<nile-icon
|
|
6
|
-
name="${this.iconValue}"
|
|
7
|
-
aria-label="${this.iconValue}"
|
|
8
|
-
size="24"
|
|
9
|
-
method="var(--nile-svg-method-fill, var(--ng-svg-method-stroke))"
|
|
10
|
-
></nile-icon>`:""}
|
|
11
|
-
<slot
|
|
12
|
-
class=${m({"hide-items":this.collapsed})}
|
|
13
|
-
></slot>
|
|
14
|
-
</div>
|
|
15
|
-
`}};e([s()],a.prototype,"iconValue",void 0),e([s({type:Boolean,reflect:!0})],a.prototype,"active",void 0),e([t()],a.prototype,"collapsed",void 0),a=e([r("nile-sidebar-menu-items")],a);export{a as N};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["./nile-sidebar-wrapper.cjs.js","tslib","lit","lit/decorators.js","./nile-sidebar-wrapper.css.cjs.js","../internal/nile-element.cjs.js","lit/directives/class-map.js"],function(_export,_context){"use strict";return{setters:[function(_nileSidebarWrapperCjsJs){_export("NileSidebarWrapper",_nileSidebarWrapperCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSidebarWrapperCssCjsJs){},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 NileSidebarWrapper}from"./nile-sidebar-wrapper.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-sidebar-wrapper.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-wrapper.css.cjs.js","../internal/nile-element.cjs.js","lit/directives/class-map.js"],function(_export,_context){"use strict";var t,e,s,i,r,o,l,_templateObject,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){t=_tslib.__decorate;},function(_lit){e=_lit.html;},function(_litDecoratorsJs){s=_litDecoratorsJs.property;i=_litDecoratorsJs.customElement;},function(_nileSidebarWrapperCssCjsJs){r=_nileSidebarWrapperCssCjsJs.s;},function(_internalNileElementCjsJs){o=_internalNileElementCjsJs.N;},function(_litDirectivesClassMapJs){l=_litDirectivesClassMapJs.classMap;}],execute:function execute(){_export("N",n=/*#__PURE__*/function(_o){function n(){var _this;_classCallCheck(this,n);_this=_callSuper(this,n,arguments),_this.overlaysidebar=!1,_this.placement="left",_this.isopen=!1;return _this;}_inherits(n,_o);return _createClass(n,[{key:"render",value:function render(){return console.log(this.isopen),e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div\n class=","\n >\n <slot\n name=\"sidebar-content\"\n class=","\n >\n </slot>\n <slot\n name=\"body-content\"\n class=","\n >\n </slot>\n </div>\n "])),l({"wrapper-box":!0,"wrapper-box--right":"right"===this.placement&&!this.overlaysidebar}),l({"sidebar-content":!0,"sidebar__content--overlay":this.overlaysidebar,"sidebar__content--overlay--right":"right"===this.placement,"sidebar__content--overlay--left":"left"===this.placement,"sidebar__content--overlay-open-left":this.isopen&&"left"===this.placement&&this.overlaysidebar,"sidebar__content--overlay-closed-left":!this.isopen&&"left"===this.placement&&this.overlaysidebar,"sidebar__content--overlay-open-right":this.isopen&&"right"===this.placement&&this.overlaysidebar,"sidebar__content--overlay-closed-right":!this.isopen&&"right"===this.placement&&this.overlaysidebar}),l({"body-content":!0,"body__content--overlay":this.overlaysidebar&&this.isopen}));}}],[{key:"styles",get:function get(){return[r];}}]);}(o));t([s({type:Boolean,reflect:!0})],n.prototype,"overlaysidebar",void 0),t([s({reflect:!0})],n.prototype,"placement",void 0),t([s({type:Boolean,reflect:!0})],n.prototype,"isopen",void 0),_export("N",n=t([i("nile-sidebar-wrapper")],n));}};});
|
|
2
|
-
//# sourceMappingURL=nile-sidebar-wrapper.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-sidebar-wrapper.cjs.js","sources":["../../../src/nile-sidebar-wrapper/nile-sidebar-wrapper.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-wrapper.css';\nimport NileElement from '../internal/nile-element';\nimport { classMap } from 'lit/directives/class-map.js';\n\n/**\n * Nile sidebar-wrapper component.\n *\n * @tag nile-sidebar-wrapper\n *\n */\n@customElement('nile-sidebar-wrapper')\nexport class NileSidebarWrapper extends NileElement {\n /**\n * The styles for nile-sidebar-wrapper\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 }) overlaysidebar = false;\n @property({ reflect: true }) placement: 'left' | 'right' = 'left';\n @property({ type: Boolean, reflect: true }) isopen = false;\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 console.log(this.isopen);\n\n return html`\n <div\n class=${classMap({\n 'wrapper-box': true,\n 'wrapper-box--right':\n this.placement === 'right' && !this.overlaysidebar,\n })}\n >\n <slot\n name=\"sidebar-content\"\n class=${classMap({\n 'sidebar-content': true,\n 'sidebar__content--overlay': this.overlaysidebar,\n 'sidebar__content--overlay--right': this.placement === 'right',\n 'sidebar__content--overlay--left': this.placement === 'left',\n 'sidebar__content--overlay-open-left':\n this.isopen && this.placement === 'left' && this.overlaysidebar,\n 'sidebar__content--overlay-closed-left':\n !this.isopen && this.placement === 'left' && this.overlaysidebar,\n 'sidebar__content--overlay-open-right':\n this.isopen && this.placement === 'right'&& this.overlaysidebar,\n 'sidebar__content--overlay-closed-right':\n !this.isopen && this.placement === 'right' && this.overlaysidebar,\n })}\n >\n </slot>\n <slot\n name=\"body-content\"\n class=${classMap({\n 'body-content': true,\n 'body__content--overlay': this.overlaysidebar && this.isopen,\n })}\n >\n </slot>\n </div>\n `;\n }\n\n /* #endregion */\n}\n\nexport default NileSidebarWrapper;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-sidebar-wrapper': NileSidebarWrapper;\n }\n}\n"],"names":["NileSidebarWrapper","_o","n","constructor","this","overlaysidebar","placement","isopen","_this","_inherits","_createClass","key","value","render","console","log","html","_templateObject","_taggedTemplateLiteral","classMap","get","styles","NileElement","__decorate","property","type","Boolean","reflect","prototype","customElement"],"mappings":"6vGAyBaA,CAAN,uBAAAC,EAAA,EAAA,SAAAC,EAAA,CAAAC,KAAAA,KAAAA,CAAAA,eAAAA,MAAAA,CAAAA,mCASuCC,EAAAA,KAAAA,CAAcC,gBAAG,CAChCD,CAAAA,KAAAA,CAASE,UAAqB,MACfF,CAAAA,KAAAA,CAAMG,QAAG,CAoDtD,QAAAC,KAAA,EA1DQC,SAAA,CAAAP,CAAA,CAAAD,EAAA,SAAAS,YAAA,CAAAR,CAAA,GAAAS,GAAA,UAAAC,KAAA,CAgBA,SAAAC,MAAAA,CAAAA,CAGL,CAAA,MAFAC,CAAAA,QAAQC,GAAIX,CAAAA,IAAAA,CAAKG,QAEVS,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,yQAECC,CAAAA,CAAS,CACf,aAAe,CAAA,CAAA,CAAA,CACf,qBACqB,OAAnBf,GAAAA,IAAAA,CAAKE,YAA0BF,IAAKC,CAAAA,cAAAA,CAAAA,CAAAA,CAK9Bc,CAAS,CAAA,CACf,mBAAmB,CACnB,CAAA,2BAAA,CAA6Bf,KAAKC,cAClC,CAAA,kCAAA,CAAuD,UAAnBD,IAAKE,CAAAA,SAAAA,CACzC,kCAAsD,MAAnBF,GAAAA,IAAAA,CAAKE,UACxC,qCACEF,CAAAA,IAAAA,CAAKG,QAA6B,MAAnBH,GAAAA,IAAAA,CAAKE,WAAwBF,IAAKC,CAAAA,cAAAA,CACnD,yCACGD,IAAKG,CAAAA,MAAAA,EAA6B,SAAnBH,IAAKE,CAAAA,SAAAA,EAAwBF,KAAKC,cACpD,CAAA,sCAAA,CACED,KAAKG,MAA6B,EAAA,OAAA,GAAnBH,KAAKE,SAAwBF,EAAAA,IAAAA,CAAKC,eACnD,wCACGD,CAAAA,CAAAA,IAAAA,CAAKG,QAA6B,OAAnBH,GAAAA,IAAAA,CAAKE,WAAyBF,IAAKC,CAAAA,cAAAA,CAAAA,CAAAA,CAM/Cc,CAAAA,CAAS,CACf,cAAgB,CAAA,CAAA,CAAA,CAChB,wBAA0Bf,CAAAA,IAAAA,CAAKC,gBAAkBD,IAAKG,CAAAA,MAAAA,CAAAA,CAAAA,CAM/D,EAAA,KAAAI,GAAA,UAAAS,GAAA,CAvDM,SAAAA,IAAA,CACL,CAAA,MAAO,CAACC,CACT,CAAA,EAcM,MArB+BC,IASMC,EAAA,CAA3CC,CAAAA,CAAS,CAAEC,IAAAA,CAAMC,QAASC,OAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA+B3B,CAAA4B,CAAAA,SAAAA,CAAA,qBAAA,EACtCL,CAAAA,CAAAA,CAAAA,CAAA,CAA5BC,CAAS,CAAA,CAAEG,SAAS,CAA6C3B,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAA4B,SAAA,CAAA,WAAA,CAAA,IAAA,IACtBL,CAAA,CAAA,CAA3CC,EAAS,CAAEC,IAAAA,CAAMC,QAASC,OAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAuB3B,CAAA4B,CAAAA,SAAAA,CAAA,aAAA,EAXhD5B,CAAAA,CAAAA,OAAAA,KAAAA,CAAAA,CAAkBuB,EAAA,CAD9BM,CAAAA,CAAc,yBACF7B"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var e,_templateObject,t;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){e=_lit.css;}],execute:function execute(){_export("s",t=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .wrapper-box {\n display: flex;\n height: 100vh;\n width: 100%;\n }\n\n .wrapper-box--right {\n flex-direction: row-reverse;\n }\n\n .sidebar-content {\n display: flex;\n height: 100%;\n }\n\n .body-content {\n display: flex;\n height: 100%;\n background-color: var(--nile-colors-red-500);\n }\n\n .sidebar__content--overlay {\n position: absolute;\n z-index: 1000;\n }\n\n .sidebar__content--overlay--right {\n right: 0;\n }\n\n .sidebar__content--overlay--left {\n left: 0;\n }\n\n .body__content--overlay {\n position: absolute;\n left: 0;\n opacity:0.5;\n background-color:var(--nile-sidebar-wrapper-overlay-background-color);\n }\n\n /* For left side */\n .sidebar__content--overlay-open-left {\n animation: slide-in-left 0.3s ease-in-out forwards;\n }\n\n .sidebar__content--overlay-closed-left {\n animation: slide-out-left 0.3s ease-in-out forwards;\n }\n\n @keyframes slide-in-left {\n 0% {\n transform: translateX(-100%);\n }\n\n 100% {\n transform: translateX(0);\n }\n }\n\n @keyframes slide-out-left {\n 0% {\n transform: translateX(0);\n }\n\n 100% {\n transform: translateX(-100%);\n }\n }\n\n /* For right side */\n .sidebar__content--overlay-open-right {\n animation: slide-in-right 0.3s ease-in-out forwards;\n }\n\n .sidebar__content--overlay-closed-right {\n animation: slide-out-right 0.3s ease-in-out forwards;\n }\n\n @keyframes slide-in-right {\n 0% {\n transform: translateX(100%);\n }\n 100% {\n transform: translateX(0);\n }\n }\n\n @keyframes slide-out-right {\n 0% {\n transform: translateX(0);\n }\n 100% {\n transform: translateX(100%);\n }\n }\n"]))));}};});
|
|
2
|
-
//# sourceMappingURL=nile-sidebar-wrapper.css.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-sidebar-wrapper.css.cjs.js","sources":["../../../src/nile-sidebar-wrapper/nile-sidebar-wrapper.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 * SidebarWrapper CSS\n */\nexport const styles = css`\n :host {\n display: block;\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .wrapper-box {\n display: flex;\n height: 100vh;\n width: 100%;\n }\n\n .wrapper-box--right {\n flex-direction: row-reverse;\n }\n\n .sidebar-content {\n display: flex;\n height: 100%;\n }\n\n .body-content {\n display: flex;\n height: 100%;\n background-color: var(--nile-colors-red-500);\n }\n\n .sidebar__content--overlay {\n position: absolute;\n z-index: 1000;\n }\n\n .sidebar__content--overlay--right {\n right: 0;\n }\n\n .sidebar__content--overlay--left {\n left: 0;\n }\n\n .body__content--overlay {\n position: absolute;\n left: 0;\n opacity:0.5;\n background-color:var(--nile-sidebar-wrapper-overlay-background-color);\n }\n\n /* For left side */\n .sidebar__content--overlay-open-left {\n animation: slide-in-left 0.3s ease-in-out forwards;\n }\n\n .sidebar__content--overlay-closed-left {\n animation: slide-out-left 0.3s ease-in-out forwards;\n }\n\n @keyframes slide-in-left {\n 0% {\n transform: translateX(-100%);\n }\n\n 100% {\n transform: translateX(0);\n }\n }\n\n @keyframes slide-out-left {\n 0% {\n transform: translateX(0);\n }\n\n 100% {\n transform: translateX(-100%);\n }\n }\n\n /* For right side */\n .sidebar__content--overlay-open-right {\n animation: slide-in-right 0.3s ease-in-out forwards;\n }\n\n .sidebar__content--overlay-closed-right {\n animation: slide-out-right 0.3s ease-in-out forwards;\n }\n\n @keyframes slide-in-right {\n 0% {\n transform: translateX(100%);\n }\n 100% {\n transform: translateX(0);\n }\n }\n\n @keyframes slide-out-right {\n 0% {\n transform: translateX(0);\n }\n 100% {\n transform: translateX(100%);\n }\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|