@aquera/nile-elements 1.3.8-beta-1.2 → 1.3.9-beta-1.0
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/demo/index.css +3 -0
- package/demo/index.html +184 -25
- package/demo/nxtgen.css +2 -0
- package/demo/variables.css +2 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +151 -124
- package/dist/nile-inline-sidebar/nile-inline-sidebar.cjs.js +1 -1
- package/dist/nile-inline-sidebar/nile-inline-sidebar.cjs.js.map +1 -1
- package/dist/nile-inline-sidebar/nile-inline-sidebar.css.cjs.js +1 -1
- package/dist/nile-inline-sidebar/nile-inline-sidebar.css.cjs.js.map +1 -1
- package/dist/nile-inline-sidebar/nile-inline-sidebar.css.esm.js +8 -2
- package/dist/nile-inline-sidebar/nile-inline-sidebar.esm.js +10 -6
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.cjs.js +1 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.cjs.js.map +1 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js +1 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js.map +1 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.esm.js +8 -2
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.esm.js +2 -2
- package/dist/nile-side-bar/nile-side-bar.cjs.js +1 -1
- package/dist/nile-side-bar/nile-side-bar.cjs.js.map +1 -1
- package/dist/nile-side-bar/nile-side-bar.css.cjs.js +1 -1
- package/dist/nile-side-bar/nile-side-bar.css.cjs.js.map +1 -1
- package/dist/nile-side-bar/nile-side-bar.css.esm.js +25 -30
- package/dist/nile-side-bar/nile-side-bar.esm.js +7 -1
- package/dist/nile-side-bar-expand/nile-side-bar-expand.cjs.js +1 -1
- package/dist/nile-side-bar-expand/nile-side-bar-expand.cjs.js.map +1 -1
- package/dist/nile-side-bar-expand/nile-side-bar-expand.css.cjs.js +1 -1
- package/dist/nile-side-bar-expand/nile-side-bar-expand.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-expand/nile-side-bar-expand.css.esm.js +3 -5
- package/dist/nile-side-bar-expand/nile-side-bar-expand.esm.js +8 -8
- package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js +1 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.css.esm.js +4 -4
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js.map +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.esm.js +11 -6
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.esm.js +3 -3
- package/dist/nile-side-bar-group/nile-side-bar-group.css.cjs.js +1 -1
- package/dist/nile-side-bar-group/nile-side-bar-group.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-group/nile-side-bar-group.css.esm.js +4 -7
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.cjs.js +1 -1
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.esm.js +58 -56
- package/dist/nile-side-bar-header/nile-side-bar-header.css.cjs.js +1 -1
- package/dist/nile-side-bar-header/nile-side-bar-header.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-header/nile-side-bar-header.css.esm.js +2 -4
- package/dist/nile-side-bar-panel/index.cjs.js +2 -0
- package/dist/nile-side-bar-panel/index.cjs.js.map +1 -0
- package/dist/nile-side-bar-panel/index.esm.js +1 -0
- package/dist/nile-side-bar-panel/nile-side-bar-panel.cjs.js +2 -0
- package/dist/nile-side-bar-panel/nile-side-bar-panel.cjs.js.map +1 -0
- package/dist/nile-side-bar-panel/nile-side-bar-panel.css.cjs.js +2 -0
- package/dist/nile-side-bar-panel/nile-side-bar-panel.css.cjs.js.map +1 -0
- package/dist/nile-side-bar-panel/nile-side-bar-panel.css.esm.js +8 -0
- package/dist/nile-side-bar-panel/nile-side-bar-panel.esm.js +3 -0
- package/dist/nile-slide-toggle/nile-slide-toggle.cjs.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.cjs.js.map +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.esm.js +9 -8
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/nile-inline-sidebar/nile-inline-sidebar.css.js +8 -2
- package/dist/src/nile-inline-sidebar/nile-inline-sidebar.css.js.map +1 -1
- package/dist/src/nile-inline-sidebar/nile-inline-sidebar.js +10 -3
- package/dist/src/nile-inline-sidebar/nile-inline-sidebar.js.map +1 -1
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js +6 -0
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js.map +1 -1
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.d.ts +1 -0
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.js +4 -0
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.js.map +1 -1
- package/dist/src/nile-side-bar/nile-side-bar.css.js +23 -28
- package/dist/src/nile-side-bar/nile-side-bar.css.js.map +1 -1
- package/dist/src/nile-side-bar/nile-side-bar.js +7 -1
- package/dist/src/nile-side-bar/nile-side-bar.js.map +1 -1
- package/dist/src/nile-side-bar-expand/nile-side-bar-expand.css.js +3 -5
- package/dist/src/nile-side-bar-expand/nile-side-bar-expand.css.js.map +1 -1
- package/dist/src/nile-side-bar-expand/nile-side-bar-expand.d.ts +2 -0
- package/dist/src/nile-side-bar-expand/nile-side-bar-expand.js +12 -4
- package/dist/src/nile-side-bar-expand/nile-side-bar-expand.js.map +1 -1
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js +2 -2
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js.map +1 -1
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js +9 -4
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js.map +1 -1
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.d.ts +1 -0
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.js +8 -1
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.js.map +1 -1
- package/dist/src/nile-side-bar-group/nile-side-bar-group.css.js +2 -5
- package/dist/src/nile-side-bar-group/nile-side-bar-group.css.js.map +1 -1
- package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.css.js +48 -46
- package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.css.js.map +1 -1
- package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js +2 -4
- package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js.map +1 -1
- package/dist/src/nile-side-bar-panel/index.d.ts +1 -0
- package/dist/src/nile-side-bar-panel/index.js +2 -0
- package/dist/src/nile-side-bar-panel/index.js.map +1 -0
- package/dist/src/nile-side-bar-panel/nile-side-bar-panel.css.d.ts +12 -0
- package/dist/src/nile-side-bar-panel/nile-side-bar-panel.css.js +20 -0
- package/dist/src/nile-side-bar-panel/nile-side-bar-panel.css.js.map +1 -0
- package/dist/src/nile-side-bar-panel/nile-side-bar-panel.d.ts +32 -0
- package/dist/src/nile-side-bar-panel/nile-side-bar-panel.js +43 -0
- package/dist/src/nile-side-bar-panel/nile-side-bar-panel.js.map +1 -0
- package/dist/src/nile-slide-toggle/nile-slide-toggle.js +6 -5
- package/dist/src/nile-slide-toggle/nile-slide-toggle.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 +4 -3
- package/src/index.ts +2 -0
- package/src/nile-inline-sidebar/nile-inline-sidebar.css.ts +8 -2
- package/src/nile-inline-sidebar/nile-inline-sidebar.ts +16 -5
- package/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.ts +6 -0
- package/src/nile-inline-sidebar-item/nile-inline-sidebar-item.ts +1 -0
- package/src/nile-side-bar/nile-side-bar.css.ts +23 -28
- package/src/nile-side-bar/nile-side-bar.ts +8 -1
- package/src/nile-side-bar-expand/nile-side-bar-expand.css.ts +3 -5
- package/src/nile-side-bar-expand/nile-side-bar-expand.ts +6 -4
- package/src/nile-side-bar-footer/nile-side-bar-footer.css.ts +2 -2
- package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.ts +9 -4
- package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.ts +9 -1
- package/src/nile-side-bar-group/nile-side-bar-group.css.ts +2 -5
- package/src/nile-side-bar-group-item/nile-side-bar-group-item.css.ts +49 -47
- package/src/nile-side-bar-header/nile-side-bar-header.css.ts +2 -4
- package/src/nile-side-bar-panel/index.ts +1 -0
- package/src/nile-side-bar-panel/nile-side-bar-panel.css.ts +22 -0
- package/src/nile-side-bar-panel/nile-side-bar-panel.ts +54 -0
- package/src/nile-slide-toggle/nile-slide-toggle.ts +6 -5
- package/vscode-html-custom-data.json +25 -3
|
@@ -13,6 +13,8 @@ let NileSideBarExpand = class NileSideBarExpand extends NileElement {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
this.collapsed = false;
|
|
16
|
+
this.expandTooltipText = 'Expand Sidebar';
|
|
17
|
+
this.collapseTooltipText = 'Collapse Sidebar';
|
|
16
18
|
}
|
|
17
19
|
static get styles() {
|
|
18
20
|
return [styles];
|
|
@@ -44,14 +46,14 @@ let NileSideBarExpand = class NileSideBarExpand extends NileElement {
|
|
|
44
46
|
<button class="expand-btn" @click=${this.toggleSidebar}>
|
|
45
47
|
${this.collapsed
|
|
46
48
|
? html `
|
|
47
|
-
<nile-tooltip placement="right" hoist content
|
|
49
|
+
<nile-lite-tooltip placement="right" hoist content=${this.expandTooltipText}>
|
|
48
50
|
<span part="icon"><nile-icon name="moveright"></nile-icon></span>
|
|
49
|
-
</nile-tooltip>
|
|
51
|
+
</nile-lite-tooltip>
|
|
50
52
|
`
|
|
51
53
|
: html `
|
|
52
|
-
<nile-tooltip placement="right" hoist content
|
|
54
|
+
<nile-lite-tooltip placement="right" hoist content=${this.collapseTooltipText}>
|
|
53
55
|
<span part="icon"><nile-icon name="moveleft"></nile-icon></span>
|
|
54
|
-
</nile-tooltip>
|
|
56
|
+
</nile-lite-tooltip>
|
|
55
57
|
`}
|
|
56
58
|
</button>
|
|
57
59
|
`;
|
|
@@ -60,6 +62,12 @@ let NileSideBarExpand = class NileSideBarExpand extends NileElement {
|
|
|
60
62
|
__decorate([
|
|
61
63
|
property({ type: Boolean, reflect: true })
|
|
62
64
|
], NileSideBarExpand.prototype, "collapsed", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
property({ type: String, reflect: true, attribute: true })
|
|
67
|
+
], NileSideBarExpand.prototype, "expandTooltipText", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
property({ type: String, reflect: true, attribute: true })
|
|
70
|
+
], NileSideBarExpand.prototype, "collapseTooltipText", void 0);
|
|
63
71
|
NileSideBarExpand = __decorate([
|
|
64
72
|
customElement('nile-side-bar-expand')
|
|
65
73
|
], NileSideBarExpand);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-expand.js","sourceRoot":"","sources":["../../../src/nile-side-bar-expand/nile-side-bar-expand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkC,MAAM,KAAK,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,WAAW,MAAM,0BAA0B,CAAC;AAEnD;;;;;GAKG;AAEI,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,WAAW;IAA3C;;QAEL,cAAS,GAAY,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"nile-side-bar-expand.js","sourceRoot":"","sources":["../../../src/nile-side-bar-expand/nile-side-bar-expand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkC,MAAM,KAAK,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,WAAW,MAAM,0BAA0B,CAAC;AAEnD;;;;;GAKG;AAEI,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,WAAW;IAA3C;;QAEL,cAAS,GAAY,KAAK,CAAC;QAC6B,sBAAiB,GAAW,gBAAgB,CAAC;QAC7C,wBAAmB,GAAW,kBAAkB,CAAC;IA8C3G,CAAC;IA5CQ,MAAM,KAAK,MAAM;QACtB,OAAO,CAAC,MAAM,CAAC,CAAC;IAClB,CAAC;IAED,iBAAiB;QACf,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,wCAAwC;QACxC,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;QAC9C,IAAI,OAAO,EAAE,CAAC;YACZ,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;QACrD,CAAC;IACH,CAAC;IAEO,aAAa;QACnB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,MAAM,WAAW,GAAG,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;QACtD,IAAI,WAAW,EAAE,CAAC;YAChB,OAAO,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;YACrC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QACzB,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,YAAY,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;YACtC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACxB,CAAC;IACH,CAAC;IAEM,MAAM;QACX,OAAO,IAAI,CAAA;0CAC2B,IAAI,CAAC,aAAa;UAClD,IAAI,CAAC,SAAS;YACd,CAAC,CAAC,IAAI,CAAA;mEACmD,IAAI,CAAC,iBAAiB;;;aAG5E;YACH,CAAC,CAAC,IAAI,CAAA;mEACmD,IAAI,CAAC,mBAAmB;;;aAG9E;;KAER,CAAC;IACJ,CAAC;CACF,CAAA;AAhDC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;oDAChB;AAC6B;IAAvD,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAC,IAAI,EAAE,SAAS,EAAC,IAAI,EAAC,CAAC;4DAA8C;AAC7C;IAAvD,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAC,IAAI,EAAE,SAAS,EAAC,IAAI,EAAC,CAAC;8DAAkD;AAJ9F,iBAAiB;IAD7B,aAAa,CAAC,sBAAsB,CAAC;GACzB,iBAAiB,CAkD7B;;AAED,eAAe,iBAAiB,CAAC","sourcesContent":["import { html, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { styles } from './nile-side-bar-expand.css';\nimport NileElement from '../internal/nile-element';\n\n/**\n * Nile side-bar-expand component.\n *\n * @tag nile-side-bar-expand\n *\n */\n@customElement('nile-side-bar-expand')\nexport class NileSideBarExpand extends NileElement {\n @property({ type: Boolean, reflect: true })\n collapsed: boolean = false;\n @property({type: String, reflect:true, attribute:true}) expandTooltipText: string = 'Expand Sidebar';\n @property({type: String, reflect:true, attribute:true}) collapseTooltipText: string = 'Collapse Sidebar';\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n connectedCallback() {\n super.connectedCallback();\n // Sync with parent sidebar if it exists\n const sidebar = this.closest('nile-side-bar');\n if (sidebar) {\n this.collapsed = sidebar.hasAttribute('collapsed');\n }\n }\n\n private toggleSidebar() {\n const sidebar = this.closest('nile-side-bar');\n if (!sidebar) return;\n\n const isCollapsed = sidebar.hasAttribute('collapsed');\n if (isCollapsed) {\n sidebar.removeAttribute('collapsed');\n this.collapsed = false;\n } else {\n sidebar.setAttribute('collapsed', '');\n this.collapsed = true;\n }\n }\n\n public render(): TemplateResult {\n return html`\n <button class=\"expand-btn\" @click=${this.toggleSidebar}>\n ${this.collapsed\n ? html`\n <nile-lite-tooltip placement=\"right\" hoist content=${this.expandTooltipText}>\n <span part=\"icon\"><nile-icon name=\"moveright\"></nile-icon></span>\n </nile-lite-tooltip>\n `\n : html`\n <nile-lite-tooltip placement=\"right\" hoist content=${this.collapseTooltipText}>\n <span part=\"icon\"><nile-icon name=\"moveleft\"></nile-icon></span>\n </nile-lite-tooltip>\n `}\n </button>\n `;\n }\n}\n\nexport default NileSideBarExpand;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-expand': NileSideBarExpand;\n }\n}\n"]}
|
|
@@ -5,13 +5,13 @@ import { css } from 'lit';
|
|
|
5
5
|
export const styles = css `
|
|
6
6
|
:host {
|
|
7
7
|
display: block;
|
|
8
|
-
position: sticky;
|
|
9
8
|
bottom: var(--nile-spacing-md);
|
|
10
9
|
padding-bottom: var(--nile-spacing-xl);
|
|
11
10
|
padding-left: var(--nile-spacing-xl);
|
|
12
11
|
padding-right: var(--nile-spacing-xl);
|
|
12
|
+
padding-top: var(--nile-spacing-xs);
|
|
13
13
|
gap: var(--nile-spacing-md);
|
|
14
|
-
|
|
14
|
+
bottom: 0;
|
|
15
15
|
background: var(--nile-colors-neutral-100);
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-footer.css.js","sourceRoot":"","sources":["../../../src/nile-side-bar-footer/nile-side-bar-footer.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["import { css } from 'lit';\n\n/**\n * SideBarFooter CSS\n */\nexport const styles = css`\n :host {\n display: block;\n
|
|
1
|
+
{"version":3,"file":"nile-side-bar-footer.css.js","sourceRoot":"","sources":["../../../src/nile-side-bar-footer/nile-side-bar-footer.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["import { css } from 'lit';\n\n/**\n * SideBarFooter CSS\n */\nexport const styles = css`\n :host {\n display: block;\n bottom: var(--nile-spacing-md);\n padding-bottom: var(--nile-spacing-xl);\n\tpadding-left: var(--nile-spacing-xl);\n\tpadding-right: var(--nile-spacing-xl);\n padding-top: var(--nile-spacing-xs);\n gap: var(--nile-spacing-md);\n bottom: 0;\n background: var(--nile-colors-neutral-100);\n}\n\n.footer {\n display: flex;\n flex-direction: column; \n align-items: stretch; \n gap: 8px; \n}\n\n::slotted(nile-side-bar-footer-item) {\n display: flex;\n align-items: center;\n gap: var(--nile-spacing-md);\n justify-content: center;\n \n font-size: var(--nile-type-scale-3);\n color: var(--nile-colors-dark-900);\n cursor: pointer;\n border-radius: var(--nile-radius-sm);\n transition: background 0.2s ease;\n}\n\n\n\n\n \n`;\n\nexport default [styles];\n"]}
|
|
@@ -9,8 +9,11 @@ export const styles = css `
|
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
justify-content: flex-start;
|
|
12
|
-
padding:
|
|
13
|
-
|
|
12
|
+
padding-top: var(--nile-spacing-md);
|
|
13
|
+
padding-bottom: var(--nile-spacing-md);
|
|
14
|
+
padding-left: var(--nile-spacing-lg);
|
|
15
|
+
padding-right: var(--nile-spacing-lg);
|
|
16
|
+
font-size: var(--nile-type-scale-3);
|
|
14
17
|
color: var(--nile-side-bar-footer-color, #374151);
|
|
15
18
|
cursor: pointer;
|
|
16
19
|
border-radius: var(--nile-side-bar-footer-radius, 0.375rem);
|
|
@@ -52,8 +55,11 @@ export const styles = css `
|
|
|
52
55
|
|
|
53
56
|
:host([type='support']) .footer-item {
|
|
54
57
|
background: var(--nile-colors-neutral-400);
|
|
55
|
-
|
|
58
|
+
height: 38px;
|
|
56
59
|
}
|
|
60
|
+
:host([type='support'][active]) .footer-item {
|
|
61
|
+
background: var(--nile-colors-neutral-500);
|
|
62
|
+
}
|
|
57
63
|
|
|
58
64
|
:host([collapsed][type='avatar']) .footer-item {
|
|
59
65
|
padding: 3px;
|
|
@@ -69,7 +75,6 @@ export const styles = css `
|
|
|
69
75
|
height: 38px;
|
|
70
76
|
width: 38px;
|
|
71
77
|
}
|
|
72
|
-
|
|
73
78
|
`;
|
|
74
79
|
export default [styles];
|
|
75
80
|
//# sourceMappingURL=nile-side-bar-footer-item.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-footer-item.css.js","sourceRoot":"","sources":["../../../src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"nile-side-bar-footer-item.css.js","sourceRoot":"","sources":["../../../src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ExB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`\n :host {\n display: block;\n width: 100%;\n }\n\n .footer-item {\n display: flex;\n align-items: center;\n\tjustify-content: flex-start;\n padding-top: var(--nile-spacing-md);\n padding-bottom: var(--nile-spacing-md);\n padding-left: var(--nile-spacing-lg);\n padding-right: var(--nile-spacing-lg);\n font-size: var(--nile-type-scale-3);\n color: var(--nile-side-bar-footer-color, #374151);\n cursor: pointer;\n border-radius: var(--nile-side-bar-footer-radius, 0.375rem);\n transition: background 0.2s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: hidden;\n line-height: 0;\n }\n\n .footer-item:hover {\n background: var(--nile-side-bar-footer-hover-bg, #f3f4f6);\n }\n\n /* left: icon */\n ::slotted([slot='icon']) {\n flex-shrink: 0;\n font-size: 1.25rem;\n margin-right: 0.5rem;\n }\n\n /* middle: text */\n ::slotted([slot='text']) {\n flex-grow: 1;\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n /* right: action */\n ::slotted([slot='action']) {\n flex-shrink: 0;\n font-size: 1.25rem;\n color: var(--nile-side-bar-footer-icon-color, #6b7280);\n margin-left: auto;\n }\n\n \n :host([type='support']) .footer-item {\n background: var(--nile-colors-neutral-400);\n height: 38px;\n }\n :host([type='support'][active]) .footer-item {\n background: var(--nile-colors-neutral-500);\n}\n \n :host([collapsed][type='avatar']) .footer-item {\n padding: 3px;\n \n}\n \n:host([collapsed][type='avatar']) ::slotted([slot='text']),\n:host([collapsed][type='avatar']) ::slotted([slot='action']) {\n display: none;\n}\n\n:host([collapsed]) .footer-item{\n height: 38px;\n width: 38px;\n}\n`;\n\nexport default [styles];\n"]}
|
|
@@ -17,6 +17,7 @@ import NileElement from '../internal/nile-element';
|
|
|
17
17
|
export declare class NileSideBarFooterItem extends NileElement {
|
|
18
18
|
type: string | null;
|
|
19
19
|
static get styles(): CSSResultArray;
|
|
20
|
+
private handleClick;
|
|
20
21
|
render(): TemplateResult;
|
|
21
22
|
}
|
|
22
23
|
export default NileSideBarFooterItem;
|
|
@@ -25,9 +25,16 @@ let NileSideBarFooterItem = class NileSideBarFooterItem extends NileElement {
|
|
|
25
25
|
static get styles() {
|
|
26
26
|
return [styles];
|
|
27
27
|
}
|
|
28
|
+
handleClick() {
|
|
29
|
+
this.dispatchEvent(new CustomEvent('nile-click', {
|
|
30
|
+
detail: { type: this.type },
|
|
31
|
+
bubbles: true,
|
|
32
|
+
composed: true
|
|
33
|
+
}));
|
|
34
|
+
}
|
|
28
35
|
render() {
|
|
29
36
|
return html `
|
|
30
|
-
<div part="base" class="footer-item">
|
|
37
|
+
<div part="base" class="footer-item" @click=${this.handleClick}>
|
|
31
38
|
<slot name="icon" part="icon"></slot>
|
|
32
39
|
<slot name="text" part="text"></slot>
|
|
33
40
|
<slot name="action" part="action"></slot>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-footer-item.js","sourceRoot":"","sources":["../../../src/nile-side-bar-footer-item/nile-side-bar-footer-item.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkC,MAAM,KAAK,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,WAAW,MAAM,0BAA0B,CAAC;AAEnD;;;;;;;;;;;;;GAaG;AAEI,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,WAAW;IAA/C;;QACsC,SAAI,GAAkB,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"nile-side-bar-footer-item.js","sourceRoot":"","sources":["../../../src/nile-side-bar-footer-item/nile-side-bar-footer-item.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkC,MAAM,KAAK,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,WAAW,MAAM,0BAA0B,CAAC;AAEnD;;;;;;;;;;;;;GAaG;AAEI,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,WAAW;IAA/C;;QACsC,SAAI,GAAkB,IAAI,CAAC;IAuBxE,CAAC;IArBQ,MAAM,KAAK,MAAM;QACtB,OAAO,CAAC,MAAM,CAAC,CAAC;IAClB,CAAC;IAEO,WAAW;QACjB,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,YAAY,EAAE;YAC/C,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;YAC3B,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,IAAI;SACf,CAAC,CAAC,CAAC;IACN,CAAC;IAEM,MAAM;QACX,OAAO,IAAI,CAAA;oDACqC,IAAI,CAAC,WAAW;;;;;KAK/D,CAAC;IACJ,CAAC;CACF,CAAA;AAvB4C;IAA1C,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDAA4B;AAD3D,qBAAqB;IADjC,aAAa,CAAC,2BAA2B,CAAC;GAC9B,qBAAqB,CAwBjC;;AAED,eAAe,qBAAqB,CAAC","sourcesContent":["import { html, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { styles } from './nile-side-bar-footer-item.css';\nimport NileElement from '../internal/nile-element';\n\n/**\n * Nile side-bar-footer-item component.\n *\n * @tag nile-side-bar-footer-item\n *\n * @slot icon - Slot for footer item icon\n * @slot text - Slot for footer item text\n * @slot action - Slot for footer item action\n *\n * @csspart base - Wrapper for the footer item\n * @csspart icon - Wrapper for the icon slot\n * @csspart text - Wrapper for the text slot\n * @csspart action - Wrapper for the action slot\n */\n@customElement('nile-side-bar-footer-item')\nexport class NileSideBarFooterItem extends NileElement {\n @property({ type: String, reflect: true }) type: string | null = null;\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n private handleClick(): void {\n this.dispatchEvent(new CustomEvent('nile-click', {\n detail: { type: this.type },\n bubbles: true,\n composed: true\n }));\n }\n\n public render(): TemplateResult {\n return html`\n <div part=\"base\" class=\"footer-item\" @click=${this.handleClick}>\n <slot name=\"icon\" part=\"icon\"></slot>\n <slot name=\"text\" part=\"text\"></slot>\n <slot name=\"action\" part=\"action\"></slot>\n </div>\n `;\n }\n}\n\nexport default NileSideBarFooterItem;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-footer-item': NileSideBarFooterItem;\n }\n}\n"]}
|
|
@@ -7,9 +7,8 @@ export const styles = css `
|
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
padding-bottom: var(--nile-spacing-xs);
|
|
10
|
-
padding-left: var(--nile-spacing-
|
|
11
|
-
padding-right: var(--nile-spacing-
|
|
12
|
-
gap: var(--nile-spacing-lg);
|
|
10
|
+
padding-left: var(--nile-spacing-xl);
|
|
11
|
+
padding-right: var(--nile-spacing-xl);
|
|
13
12
|
}
|
|
14
13
|
|
|
15
14
|
|
|
@@ -29,10 +28,8 @@ export const styles = css `
|
|
|
29
28
|
display: block;
|
|
30
29
|
height: 1px;
|
|
31
30
|
background: var(--nile-colors-neutral-400);
|
|
32
|
-
margin-top: var(--nile-spacing-xs);
|
|
33
31
|
margin-left: var(--nile-spacing-md);
|
|
34
32
|
margin-right: var(--nile-spacing-md);
|
|
35
|
-
|
|
36
33
|
}
|
|
37
34
|
|
|
38
35
|
.side-bar-group {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-group.css.js","sourceRoot":"","sources":["../../../src/nile-side-bar-group/nile-side-bar-group.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"nile-side-bar-group.css.js","sourceRoot":"","sources":["../../../src/nile-side-bar-group/nile-side-bar-group.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["import { css } from 'lit';\n\n/**\n * SideBarGroup CSS\n */\nexport const styles = css`\n :host {\n display: flex;\n flex-direction: column;\n padding-bottom: var(--nile-spacing-xs);\n padding-left: var(--nile-spacing-xl);\n padding-right: var(--nile-spacing-xl);\n }\n\n\n :host([footer]) {\n margin-top: auto;\n margin-bottom: var(--nile-spacing-md);\n }\n\n .group-label {\n font-weight: var(--nile-font-weight-semibold);\n text-transform: uppercase;\n letter-spacing: 1px;\n margin-bottom: var(--nile-spacing-xs);\n }\n :host([divider])::before {\n content: \"\";\n display: block;\n height: 1px;\n background: var(--nile-colors-neutral-400);\n margin-left: var(--nile-spacing-md);\n margin-right: var(--nile-spacing-md);\n}\n \n.side-bar-group {\n display: flex;\n flex-direction: column;\n gap: var(--nile-spacing-xs)\n}\n\n\n:host ::slotted(nile-side-bar-group-item:first-child) {\n margin-top: var(--nile-spacing-xs);\n}\n\n:host([collapsed]) .side-bar-group {\nalign-items: center;\njustify-content: center;\n}\n`;\n\nexport default [styles];\n"]}
|
|
@@ -9,60 +9,62 @@ import { css } from 'lit';
|
|
|
9
9
|
* SideBarGroupItem CSS
|
|
10
10
|
*/
|
|
11
11
|
export const styles = css `
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
12
|
+
:host {
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
15
|
|
|
16
|
-
.group-item {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
.group-item {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
height: 38px;
|
|
20
|
+
width: 208px;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
}
|
|
20
23
|
|
|
21
|
-
.item-link {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
padding
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
.item-link {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: flex-start;
|
|
28
|
+
height: 100%;
|
|
29
|
+
width: 100%;
|
|
30
|
+
padding: var(--nile-spacing-lg) var(--nile-spacing-md);
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
color: var(--nile-colors-dark-900);
|
|
33
|
+
text-decoration: none;
|
|
34
|
+
font-size: var(--nile-type-scale-3);
|
|
35
|
+
line-height: 1.4;
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
}
|
|
34
38
|
|
|
35
|
-
.item-link:hover {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
+
.item-link:hover {
|
|
40
|
+
background: var(--nile-colors-neutral-400);
|
|
41
|
+
border-radius: var(--nile-radius-sm);
|
|
42
|
+
}
|
|
39
43
|
|
|
44
|
+
::slotted(nile-side-bar-group-item-icon) {
|
|
45
|
+
flex-shrink: 0;
|
|
46
|
+
}
|
|
40
47
|
|
|
48
|
+
::slotted(nile-side-bar-group-item-text) {
|
|
49
|
+
flex-grow: 1;
|
|
50
|
+
}
|
|
41
51
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
flex-grow: 1;
|
|
48
|
-
}
|
|
49
|
-
:host([active]) [part="link"] {
|
|
50
|
-
background: var(--nile-colors-primary-100);
|
|
51
|
-
border-radius: var(--nile-radius-sm);
|
|
52
|
-
font-weight: var(--nile-font-weight-semibold);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
:host([collapsed]) .group-item {
|
|
56
|
-
height: 38px;
|
|
57
|
-
width: 38px;
|
|
58
|
-
}
|
|
59
|
-
:host([disabled]) .item-link {
|
|
60
|
-
opacity: 0.5;
|
|
61
|
-
pointer-events: none;
|
|
62
|
-
cursor: not-allowed;
|
|
63
|
-
}
|
|
52
|
+
:host([active]) [part="link"] {
|
|
53
|
+
background: var(--nile-colors-primary-100);
|
|
54
|
+
border-radius: var(--nile-radius-sm);
|
|
55
|
+
font-weight: var(--nile-font-weight-semibold);
|
|
56
|
+
}
|
|
64
57
|
|
|
58
|
+
:host([collapsed]) .group-item {
|
|
59
|
+
height: 38px;
|
|
60
|
+
width: 38px;
|
|
61
|
+
}
|
|
65
62
|
|
|
63
|
+
:host([disabled]) .item-link {
|
|
64
|
+
opacity: 0.5;
|
|
65
|
+
pointer-events: none;
|
|
66
|
+
cursor: not-allowed;
|
|
67
|
+
}
|
|
66
68
|
`;
|
|
67
69
|
export default [styles];
|
|
68
70
|
//# sourceMappingURL=nile-side-bar-group-item.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-group-item.css.js","sourceRoot":"","sources":["../../../src/nile-side-bar-group-item/nile-side-bar-group-item.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"nile-side-bar-group-item.css.js","sourceRoot":"","sources":["../../../src/nile-side-bar-group-item/nile-side-bar-group-item.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\n/**\n * SideBarGroupItem CSS\n */\nexport const styles = css`\n :host {\n display: block;\n }\n\n .group-item {\n display: flex;\n flex-direction: column;\n height: 38px;\n width: 208px;\n overflow: hidden;\n }\n\n .item-link {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n height: 100%;\n width: 100%;\n padding: var(--nile-spacing-lg) var(--nile-spacing-md);\n cursor: pointer;\n color: var(--nile-colors-dark-900);\n text-decoration: none;\n font-size: var(--nile-type-scale-3);\n line-height: 1.4;\n box-sizing: border-box;\n }\n\n .item-link:hover {\n background: var(--nile-colors-neutral-400);\n border-radius: var(--nile-radius-sm);\n }\n\n ::slotted(nile-side-bar-group-item-icon) {\n flex-shrink: 0;\n }\n\n ::slotted(nile-side-bar-group-item-text) {\n flex-grow: 1;\n }\n\n :host([active]) [part=\"link\"] {\n background: var(--nile-colors-primary-100);\n border-radius: var(--nile-radius-sm);\n font-weight: var(--nile-font-weight-semibold);\n }\n\n :host([collapsed]) .group-item {\n height: 38px;\n width: 38px;\n }\n\n :host([disabled]) .item-link {\n opacity: 0.5;\n pointer-events: none;\n cursor: not-allowed;\n }\n`;\n\nexport default [styles];\n"]}
|
|
@@ -17,10 +17,8 @@ export const styles = css `
|
|
|
17
17
|
padding-bottom: var(--nile-spacing-lg);
|
|
18
18
|
padding-left: var(--nile-spacing-xl);
|
|
19
19
|
padding-right: var(--nile-spacing-xl);
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
z-index: 10;
|
|
23
|
-
background: var(--nile-colors-neutral-100);
|
|
20
|
+
top: 0;
|
|
21
|
+
background: var(--nile-colors-neutral-100);
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
.header-content {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-header.css.js","sourceRoot":"","sources":["../../../src/nile-side-bar-header/nile-side-bar-header.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"nile-side-bar-header.css.js","sourceRoot":"","sources":["../../../src/nile-side-bar-header/nile-side-bar-header.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\n/**\n * SideBarHeader CSS\n */\nexport const styles = css`\n :host {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-top: var(--nile-spacing-xl);\n padding-bottom: var(--nile-spacing-lg);\n padding-left: var(--nile-spacing-xl);\n padding-right: var(--nile-spacing-xl);\n top: 0;\n background: var(--nile-colors-neutral-100);\n}\n\n.header-content {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n}\n\n\n:host-context(nile-side-bar[collapsed]) .header-content {\n flex-direction: column;\n justify-content: center;\n gap: var(--nile-spacing-lg);\n}\n\n\n \n \n::slotted([slot='logo']) {\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-bold);\n letter-spacing: -0.02em;\n color: var(--nile-colors-dark-900);\n text-transform: none;\n}\n\n::slotted([slot='actions']) {\n display: flex;\n align-items: center;\n gap: var(--nile-spacing-md);\n}\n\n`;\n\nexport default [styles];"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NileSideBarPanel } from './nile-side-bar-panel';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/nile-side-bar-panel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["export { NileSideBarPanel } from './nile-side-bar-panel';"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Aquera Inc 2025
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the BSD-3-Clause license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* SideBarPanel CSS
|
|
9
|
+
*/
|
|
10
|
+
export declare const styles: import("lit").CSSResult;
|
|
11
|
+
declare const _default: import("lit").CSSResult[];
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Aquera Inc 2025
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the BSD-3-Clause license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import { css } from 'lit';
|
|
8
|
+
/**
|
|
9
|
+
* SideBarPanel CSS
|
|
10
|
+
*/
|
|
11
|
+
export const styles = css `
|
|
12
|
+
:host {
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
overflow-y: auto;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
`;
|
|
19
|
+
export default [styles];
|
|
20
|
+
//# sourceMappingURL=nile-side-bar-panel.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nile-side-bar-panel.css.js","sourceRoot":"","sources":["../../../src/nile-side-bar-panel/nile-side-bar-panel.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;CAOxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2025\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\n/**\n * SideBarPanel CSS\n */\nexport const styles = css`\n\t:host {\n\t\twidth: 100%; \n\t\theight: 100%;\n\t\toverflow-y: auto;\n\t}\n\n`;\n\nexport default [styles];"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Aquera Inc 2025
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the BSD-3-Clause license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import { CSSResultArray, TemplateResult } from 'lit';
|
|
8
|
+
import NileElement from '../internal/nile-element';
|
|
9
|
+
/**
|
|
10
|
+
* Nile side-bar-panel component.
|
|
11
|
+
*
|
|
12
|
+
* @tag nile-side-bar-panel
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare class NileSideBarPanel extends NileElement {
|
|
16
|
+
/**
|
|
17
|
+
* The styles for nile-side-bar-panel
|
|
18
|
+
* @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`
|
|
19
|
+
*/
|
|
20
|
+
static get styles(): CSSResultArray;
|
|
21
|
+
/**
|
|
22
|
+
* Render method
|
|
23
|
+
* @slot This is a slot test
|
|
24
|
+
*/
|
|
25
|
+
render(): TemplateResult;
|
|
26
|
+
}
|
|
27
|
+
export default NileSideBarPanel;
|
|
28
|
+
declare global {
|
|
29
|
+
interface HTMLElementTagNameMap {
|
|
30
|
+
'nile-side-bar-panel': NileSideBarPanel;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Aquera Inc 2025
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the BSD-3-Clause license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import { __decorate } from "tslib";
|
|
8
|
+
import { html } from 'lit';
|
|
9
|
+
import { customElement } from 'lit/decorators.js';
|
|
10
|
+
import { styles } from './nile-side-bar-panel.css';
|
|
11
|
+
import NileElement from '../internal/nile-element';
|
|
12
|
+
/**
|
|
13
|
+
* Nile side-bar-panel component.
|
|
14
|
+
*
|
|
15
|
+
* @tag nile-side-bar-panel
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
let NileSideBarPanel = class NileSideBarPanel extends NileElement {
|
|
19
|
+
/**
|
|
20
|
+
* The styles for nile-side-bar-panel
|
|
21
|
+
* @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`
|
|
22
|
+
*/
|
|
23
|
+
static get styles() {
|
|
24
|
+
return [styles];
|
|
25
|
+
}
|
|
26
|
+
/* #endregion */
|
|
27
|
+
/* #region Methods */
|
|
28
|
+
/**
|
|
29
|
+
* Render method
|
|
30
|
+
* @slot This is a slot test
|
|
31
|
+
*/
|
|
32
|
+
render() {
|
|
33
|
+
return html `
|
|
34
|
+
<slot> </slot>
|
|
35
|
+
`;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
NileSideBarPanel = __decorate([
|
|
39
|
+
customElement('nile-side-bar-panel')
|
|
40
|
+
], NileSideBarPanel);
|
|
41
|
+
export { NileSideBarPanel };
|
|
42
|
+
export default NileSideBarPanel;
|
|
43
|
+
//# sourceMappingURL=nile-side-bar-panel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nile-side-bar-panel.js","sourceRoot":"","sources":["../../../src/nile-side-bar-panel/nile-side-bar-panel.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAAa,IAAI,EAAiC,MAAM,KAAK,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAC,MAAM,EAAC,MAAM,2BAA2B,CAAC;AACjD,OAAO,WAAW,MAAM,0BAA0B,CAAC;AAGnD;;;;;GAKG;AAEI,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,WAAW;IAEhD;;;OAGG;IACI,MAAM,KAAK,MAAM;QACvB,OAAO,CAAC,MAAM,CAAC,CAAC;IACjB,CAAC;IAED,gBAAgB;IAEhB,qBAAqB;IAErB;;;OAGG;IACI,MAAM;QACZ,OAAO,IAAI,CAAA;;IAET,CAAC;IACJ,CAAC;CAGD,CAAA;AAzBY,gBAAgB;IAD5B,aAAa,CAAC,qBAAqB,CAAC;GACxB,gBAAgB,CAyB5B;;AAED,eAAe,gBAAgB,CAAC","sourcesContent":["/**\n * Copyright Aquera Inc 2025\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {LitElement, html, CSSResultArray, TemplateResult} from 'lit';\nimport { customElement, property} from 'lit/decorators.js';\nimport {styles} from './nile-side-bar-panel.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile side-bar-panel component.\n *\n * @tag nile-side-bar-panel\n *\n */\n@customElement('nile-side-bar-panel')\nexport class NileSideBarPanel extends NileElement {\n\n\t/**\n\t * The styles for nile-side-bar-panel\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 NileSideBarPanel;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-panel': NileSideBarPanel;\n }\n}"]}
|
|
@@ -40,6 +40,7 @@ let NileSlideToggle = class NileSlideToggle extends NileElement {
|
|
|
40
40
|
'nile-slide--disabled': this.disabled,
|
|
41
41
|
'nile-slide-toggle--reverse': this.textPosition == 'left'
|
|
42
42
|
})}
|
|
43
|
+
part="base"
|
|
43
44
|
>
|
|
44
45
|
<label
|
|
45
46
|
class="${classMap({
|
|
@@ -47,17 +48,17 @@ let NileSlideToggle = class NileSlideToggle extends NileElement {
|
|
|
47
48
|
'nile-slide-toggle__switch--left': this.textPosition == 'right',
|
|
48
49
|
'nile-slide-toggle__switch--right': this.textPosition == 'left',
|
|
49
50
|
})}"
|
|
50
|
-
class="nile-slide-toggle__switch">
|
|
51
|
+
class="nile-slide-toggle__switch" part="slide-toggle-switch">
|
|
51
52
|
<input
|
|
52
53
|
type="checkbox"
|
|
53
54
|
.checked=${this.isChecked}
|
|
54
55
|
@change=${this.toggleValue}
|
|
55
56
|
/>
|
|
56
|
-
<span class="nile-slide-toggle__slider"></span>
|
|
57
|
+
<span class="nile-slide-toggle__slider" part="slide-toggle-slider"></span>
|
|
57
58
|
</label>
|
|
58
|
-
<span class="nile-slide-toggle__label">
|
|
59
|
-
<span>${this.label}</span>
|
|
60
|
-
<span class="nile-slide-toggle__sublabel">${this.sublabel}</span>
|
|
59
|
+
<span class="nile-slide-toggle__label" part="slide-toggle-label-container">
|
|
60
|
+
<span part="slide-toggle-label">${this.label}</span>
|
|
61
|
+
<span class="nile-slide-toggle__sublabel" part="slide-toggle-sublabel">${this.sublabel}</span>
|
|
61
62
|
</span>
|
|
62
63
|
</div>
|
|
63
64
|
${hasHelpText
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-slide-toggle.js","sourceRoot":"","sources":["../../../src/nile-slide-toggle/nile-slide-toggle.ts"],"names":[],"mappings":";AACA,OAAO,EAAc,IAAI,EAAC,MAAM,KAAK,CAAC;AACtC,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGrD,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,WAAW;IAAzC;;QAGuB,UAAK,GAAG,EAAE,CAAC;QAEX,aAAQ,GAAG,EAAE,CAAC;QAEb,iBAAY,GAAoB,OAAO,CAAC;QAEzB,cAAS,GAAG,KAAK,CAAC;QAElB,cAAS,GAAG,KAAK,CAAC;QAElB,aAAQ,GAAG,KAAK,CAAC;QAER,aAAQ,GAAG,EAAE,CAAC;QAEV,iBAAY,GAAG,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"nile-slide-toggle.js","sourceRoot":"","sources":["../../../src/nile-slide-toggle/nile-slide-toggle.ts"],"names":[],"mappings":";AACA,OAAO,EAAc,IAAI,EAAC,MAAM,KAAK,CAAC;AACtC,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGrD,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,WAAW;IAAzC;;QAGuB,UAAK,GAAG,EAAE,CAAC;QAEX,aAAQ,GAAG,EAAE,CAAC;QAEb,iBAAY,GAAoB,OAAO,CAAC;QAEzB,cAAS,GAAG,KAAK,CAAC;QAElB,cAAS,GAAG,KAAK,CAAC;QAElB,aAAQ,GAAG,KAAK,CAAC;QAER,aAAQ,GAAG,EAAE,CAAC;QAEV,iBAAY,GAAG,EAAE,CAAC;IA+D7E,CAAC;IA7DC,iBAAiB;QACf,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACvB,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,sBAAsB,EAAC,IAAI,CAAC,SAAS,CAAA,CAAC,CAAA,MAAM,CAAA,CAAC,CAAA,MAAM,CAAC,CAAA;IAC7E,CAAC;IAED,oBAAoB;QAClB,KAAK,CAAC,oBAAoB,EAAE,CAAC;QAC7B,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC5B,CAAC;IAED,WAAW;QACT,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;QACjC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAC,EAAE,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;QACvE,IAAI,CAAC,IAAI,CAAC,aAAa,EAAC,EAAE,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,SAAS,EAAG,CAAC,CAAC;IAC/E,CAAC;IAEM,MAAM;QACX,MAAM,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;QACjD,MAAM,eAAe,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;QAEzD,OAAO,IAAI,CAAA;;gBAEC,QAAQ,CAAC;YACf,mBAAmB,EAAE,IAAI;YACzB,sBAAsB,EAAE,IAAI,CAAC,QAAQ;YACrC,4BAA4B,EAAC,IAAI,CAAC,YAAY,IAAE,MAAM;SACvD,CAAC;;;;iBAIO,QAAQ,CAAC;YAChB,2BAA2B,EAAC,IAAI;YAChC,iCAAiC,EAAC,IAAI,CAAC,YAAY,IAAE,OAAO;YAC5D,kCAAkC,EAAC,IAAI,CAAC,YAAY,IAAE,MAAM;SAC7D,CAAC;;;;uBAIa,IAAI,CAAC,SAAS;sBACf,IAAI,CAAC,WAAW;;;;;4CAKM,IAAI,CAAC,KAAK;mFAC6B,IAAI,CAAC,QAAQ;;;QAGxF,WAAW;YACX,CAAC,CAAC,IAAI,CAAA,yBAAyB,IAAI,CAAC,QAAQ,yBAAyB;YACrE,CAAC,CAAC,EAAE;QACJ,eAAe;YACf,CAAC,CAAC,IAAI,CAAA;;iBAEG,IAAI,CAAC,YAAY;;WAEvB;YACH,CAAC,CAAC,EAAE;KACP,CAAC;IACJ,CAAC;;AA9Ea,sBAAM,GAAmB,MAAM,AAAzB,CAA0B;AAElB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8CAAY;AAEX;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;iDAAe;AAEb;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;qDAAyC;AAEzB;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDAAmB;AAElB;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDAAmB;AAElB;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iDAAkB;AAER;IAApD,QAAQ,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iDAAe;AAEV;IAAxD,QAAQ,CAAC,EAAE,SAAS,EAAE,eAAe,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;qDAAmB;AAjBhE,eAAe;IAD3B,aAAa,CAAC,mBAAmB,CAAC;GACtB,eAAe,CAgF3B","sourcesContent":["import { CSSResultGroup,PropertyValues } from 'lit';\nimport { LitElement, html} from 'lit';\nimport styles from './nile-slide-toggle.css';\nimport NileElement from '../internal/nile-element';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { customElement, property } from 'lit/decorators.js';\n\n@customElement('nile-slide-toggle')\nexport class NileSlideToggle extends NileElement {\n public static styles: CSSResultGroup = styles;\n\n @property({ type: String }) label = '';\n\n @property({ type: String }) sublabel = '';\n\n @property({ type: String, }) textPosition:'left' | 'right' = 'right';\n\n @property({ type: Boolean, reflect: true }) isChecked = false;\n\n @property({ type: Boolean, reflect: true }) fullWidth = false;\n\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n @property({ attribute: 'help-text', reflect: true }) helpText = '';\n\n @property({ attribute: 'error-message', reflect: true }) errorMessage = '';\n\n connectedCallback() {\n super.connectedCallback();\n this.emit('nile-init');\n this.style.setProperty('--slide-toggle-width',this.fullWidth?'100%':'auto')\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.emit('nile-destroy');\n }\n\n toggleValue() {\n this.isChecked = !this.isChecked;\n this.emit('change',{ checked: this.isChecked, value: this.isChecked });\n this.emit('nile-change',{ checked: this.isChecked, value: this.isChecked });\n }\n\n public render() {\n const hasHelpText = this.helpText ? true : false;\n const hasErrorMessage = this.errorMessage ? true : false;\n\n return html`\n <div\n class=${classMap({\n 'nile-slide-toggle': true,\n 'nile-slide--disabled': this.disabled,\n 'nile-slide-toggle--reverse':this.textPosition=='left'\n })}\n part=\"base\"\n >\n <label \n class=\"${classMap({\n 'nile-slide-toggle__switch':true,\n 'nile-slide-toggle__switch--left':this.textPosition=='right',\n 'nile-slide-toggle__switch--right':this.textPosition=='left',\n })}\"\n class=\"nile-slide-toggle__switch\" part=\"slide-toggle-switch\">\n <input\n type=\"checkbox\"\n .checked=${this.isChecked}\n @change=${this.toggleValue}\n />\n <span class=\"nile-slide-toggle__slider\" part=\"slide-toggle-slider\"></span>\n </label>\n <span class=\"nile-slide-toggle__label\" part=\"slide-toggle-label-container\">\n <span part=\"slide-toggle-label\">${this.label}</span>\n <span class=\"nile-slide-toggle__sublabel\" part=\"slide-toggle-sublabel\">${this.sublabel}</span>\n </span>\n </div>\n ${hasHelpText\n ? html` <nile-form-help-text>${this.helpText}</nile-form-help-text> `\n : ``}\n ${hasErrorMessage\n ? html`\n <nile-form-error-message\n >${this.errorMessage}</nile-form-error-message\n >\n `\n : ``}\n `;\n }\n}\n"]}
|
package/dist/src/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Version utility - placeholders will be replaced during build
|
|
2
|
-
export const NILE_ELEMENTS_VERSION = '1.3.
|
|
2
|
+
export const NILE_ELEMENTS_VERSION = '1.3.9-beta-1.0';
|
|
3
3
|
export const NILE_VERSION = '1.1.2';
|
|
4
4
|
// Set global versions for runtime access
|
|
5
5
|
if (typeof window !== 'undefined') {
|
package/dist/src/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,MAAM,CAAC,MAAM,qBAAqB,GAAG,2BAA2B,CAAC;AACjE,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC;AAE/C,yCAAyC;AACzC,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;IACjC,MAAc,CAAC,mBAAmB,GAAG,qBAAqB,CAAC;IAC3D,MAAc,CAAC,WAAW,GAAG,YAAY,CAAC;IAC3C,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,IAAI,EAAE,GAAG,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,CAAC;AACzE,CAAC","sourcesContent":["// Version utility - placeholders will be replaced during build\nexport const NILE_ELEMENTS_VERSION = '1.3.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,MAAM,CAAC,MAAM,qBAAqB,GAAG,2BAA2B,CAAC;AACjE,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC;AAE/C,yCAAyC;AACzC,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;IACjC,MAAc,CAAC,mBAAmB,GAAG,qBAAqB,CAAC;IAC3D,MAAc,CAAC,WAAW,GAAG,YAAY,CAAC;IAC3C,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,IAAI,EAAE,GAAG,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,CAAC;AACzE,CAAC","sourcesContent":["// Version utility - placeholders will be replaced during build\nexport const NILE_ELEMENTS_VERSION = '1.3.9-beta-1.0';\nexport const NILE_VERSION = '1.1.2';\n\n// Set global versions for runtime access\nif (typeof window !== 'undefined') {\n (window as any).nileElementsVersion = NILE_ELEMENTS_VERSION;\n (window as any).nileVersion = NILE_VERSION;\n window.process = window.process || { env: { NODE_ENV: 'production' } };\n}\n"]}
|