@aquera/nile-elements 2.0.6 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/index.js +23 -18
- package/dist/nile-chip/nile-chip.css.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.css.cjs.js.map +1 -1
- package/dist/nile-chip/nile-chip.css.esm.js +4 -8
- package/dist/nile-input/nile-input.css.cjs.js +1 -1
- package/dist/nile-input/nile-input.css.cjs.js.map +1 -1
- package/dist/nile-input/nile-input.css.esm.js +4 -5
- package/dist/nile-side-bar-footer/nile-side-bar-footer.cjs.js +1 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.cjs.js.map +1 -1
- 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 +5 -0
- package/dist/nile-side-bar-footer/nile-side-bar-footer.esm.js +2 -2
- package/dist/nile-side-bar-header/nile-side-bar-header.cjs.js +1 -1
- package/dist/nile-side-bar-header/nile-side-bar-header.cjs.js.map +1 -1
- 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 +5 -0
- package/dist/nile-side-bar-header/nile-side-bar-header.esm.js +2 -2
- package/dist/src/nile-chip/nile-chip.css.js +4 -8
- package/dist/src/nile-chip/nile-chip.css.js.map +1 -1
- package/dist/src/nile-input/nile-input.css.js +4 -5
- package/dist/src/nile-input/nile-input.css.js.map +1 -1
- package/dist/src/nile-input/nile-input.test.js +5 -0
- package/dist/src/nile-input/nile-input.test.js.map +1 -1
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js +5 -0
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js.map +1 -1
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.d.ts +10 -0
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.js +17 -1
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.js.map +1 -1
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.test.d.ts +1 -0
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.test.js +42 -0
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.test.js.map +1 -0
- package/dist/src/nile-side-bar-header/nile-side-bar-app-shell.test.d.ts +4 -0
- package/dist/src/nile-side-bar-header/nile-side-bar-app-shell.test.js +68 -0
- package/dist/src/nile-side-bar-header/nile-side-bar-app-shell.test.js.map +1 -0
- package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js +5 -0
- package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js.map +1 -1
- package/dist/src/nile-side-bar-header/nile-side-bar-header.d.ts +9 -0
- package/dist/src/nile-side-bar-header/nile-side-bar-header.js +17 -1
- package/dist/src/nile-side-bar-header/nile-side-bar-header.js.map +1 -1
- package/dist/src/nile-side-bar-header/nile-side-bar-header.test.d.ts +1 -0
- package/dist/src/nile-side-bar-header/nile-side-bar-header.test.js +42 -0
- package/dist/src/nile-side-bar-header/nile-side-bar-header.test.js.map +1 -0
- 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.css.ts +4 -8
- package/src/nile-input/nile-input.css.ts +4 -5
- package/src/nile-input/nile-input.test.ts +6 -0
- package/src/nile-side-bar-footer/nile-side-bar-footer.css.ts +5 -0
- package/src/nile-side-bar-footer/nile-side-bar-footer.test.ts +55 -0
- package/src/nile-side-bar-footer/nile-side-bar-footer.ts +12 -1
- package/src/nile-side-bar-header/nile-side-bar-app-shell.test.ts +78 -0
- package/src/nile-side-bar-header/nile-side-bar-header.css.ts +5 -0
- package/src/nile-side-bar-header/nile-side-bar-header.test.ts +55 -0
- package/src/nile-side-bar-header/nile-side-bar-header.ts +10 -0
- package/vscode-html-custom-data.json +30 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-header.cjs.js","sources":["../../../src/nile-side-bar-header/nile-side-bar-header.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-header.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile side-bar-header component.\n *\n * @tag nile-side-bar-header\n *\n */\n@customElement('nile-side-bar-header')\nexport class NileSideBarHeader extends NileElement {\n\n\t/**\n\t * The styles for nile-side-bar-header\n\t * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n\t */\n\tpublic static get styles(): CSSResultArray {\n\t\treturn [styles];\n\t}\n\n\t/* #endregion */\n\n\t/* #region Methods */\n\n\t/**\n\t * Render method\n\t * @slot This is a slot test\n\t */\n\tpublic render(): TemplateResult {\n\t\treturn html`\n\t\t <div class=\"header-content\" part=\"header-content\">\n <slot name=\"logo\" part=\"logo\"></slot>\n <slot name=\"expand\" part=\"expand\"></slot>\n </div>\n\t\t\t`;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileSideBarHeader;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-header': NileSideBarHeader;\n }\n}"],"names":["NileSideBarHeader","
|
|
1
|
+
{"version":3,"file":"nile-side-bar-header.cjs.js","sources":["../../../src/nile-side-bar-header/nile-side-bar-header.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-header.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile side-bar-header component.\n *\n * @tag nile-side-bar-header\n *\n * @attr background - Background treatment of the header (\"default\" | \"transparent\").\n * Defaults to \"default\", which paints the sidebar surface color. Set to\n * \"transparent\" to drop the background so whatever sits behind the header shows\n * through.\n */\n@customElement('nile-side-bar-header')\nexport class NileSideBarHeader extends NileElement {\n\n\t/**\n\t * Background treatment of the header. `default` keeps the sidebar surface\n\t * color; `transparent` removes it.\n\t */\n\t@property({ type: String, reflect: true, attribute: true }) background: 'default' | 'transparent' = 'default';\n\n\t/**\n\t * The styles for nile-side-bar-header\n\t * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n\t */\n\tpublic static get styles(): CSSResultArray {\n\t\treturn [styles];\n\t}\n\n\t/* #endregion */\n\n\t/* #region Methods */\n\n\t/**\n\t * Render method\n\t * @slot This is a slot test\n\t */\n\tpublic render(): TemplateResult {\n\t\treturn html`\n\t\t <div class=\"header-content\" part=\"header-content\">\n <slot name=\"logo\" part=\"logo\"></slot>\n <slot name=\"expand\" part=\"expand\"></slot>\n </div>\n\t\t\t`;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileSideBarHeader;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-header': NileSideBarHeader;\n }\n}"],"names":["NileSideBarHeader","o","constructor","this","background","_this","_inherits","_a","_createClass","key","value","render","html","_templateObject","_taggedTemplateLiteral","get","styles","NileElement","__decorate","property","type","String","reflect","attribute","prototype","customElement"],"mappings":"q8GAwBaA,4BAAN,SAAAC,EAAA,CAAAC,KAAAA,KAAAA,CAAAA,eAAAA,MAAAA,CAAAA,qCAMsDC,KAAAA,CAAUC,UAAAA,CAA8B,SA4BpG,QAAAC,KAAA,EAtBOC,SAAA,CAAAL,CAAA,CAAAM,EAAA,SAAAC,YAAA,CAAAP,CAAA,GAAAQ,GAAA,UAAAC,KAAA,CAYA,SAAAC,MAAAA,CAAAA,CAAAA,CACN,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,iMAMX,CAAA,KAAAL,GAAA,UAAAM,GAAA,CAnBM,SAAAA,IAAA,CACN,CAAA,MAAO,CAACC,CACR,CAAA,EAUM,MAxB+BC,CAAAA,GAMsBC,EAAA,CAA3DC,CAAAA,CAAS,CAAEC,IAAMC,CAAAA,MAAAA,CAAQC,SAAS,CAAMC,CAAAA,SAAAA,CAAAA,CAAW,KAA0DvB,CAAAwB,CAAAA,SAAAA,CAAA,iBAAA,EANlGxB,CAAAA,CAAAA,OAAAA,KAAAA,CAAAA,CAAiBkB,EAAA,CAD7BO,CAAAA,CAAc,yBACFzB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var n,_templateObject,e;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){n=_lit.css;}],execute:function execute(){_export("s",e=n(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-top: var(--nile-spacing-xl, var(--ng-spacing-3xl));\n padding-bottom: var(--nile-spacing-lg, var(--ng-spacing-xl));\n padding-left: var(--nile-spacing-xl, var(--ng-spacing-2xl));\n padding-right: var(--nile-spacing-xl, var(--ng-spacing-2xl));\n top: 0;\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));\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([collapsed]) .header-content {\n flex-direction: column;\n justify-content: center;\n gap: var(--nile-spacing-lg, var(--ng-spacing-md));\n}\n\n\n\n \n \n::slotted([slot='logo']) {\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n font-weight: var(--nile-font-weight-bold, var(--ng-font-weight-bold));\n letter-spacing: -0.02em;\n color: var(--nile-colors-dark-900, var(--ng-colors-graylightmode-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"]))));}};});
|
|
1
|
+
System.register(["lit"],function(_export,_context){"use strict";var n,_templateObject,e;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){n=_lit.css;}],execute:function execute(){_export("s",e=n(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-top: var(--nile-spacing-xl, var(--ng-spacing-3xl));\n padding-bottom: var(--nile-spacing-lg, var(--ng-spacing-xl));\n padding-left: var(--nile-spacing-xl, var(--ng-spacing-2xl));\n padding-right: var(--nile-spacing-xl, var(--ng-spacing-2xl));\n top: 0;\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));\n}\n\n/* Opt-in: drop the surface color so the header sits on whatever is behind it. */\n:host([background='transparent']) {\n background: transparent;\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([collapsed]) .header-content {\n flex-direction: column;\n justify-content: center;\n gap: var(--nile-spacing-lg, var(--ng-spacing-md));\n}\n\n\n\n \n \n::slotted([slot='logo']) {\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n font-weight: var(--nile-font-weight-bold, var(--ng-font-weight-bold));\n letter-spacing: -0.02em;\n color: var(--nile-colors-dark-900, var(--ng-colors-graylightmode-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"]))));}};});
|
|
2
2
|
//# sourceMappingURL=nile-side-bar-header.css.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-header.css.cjs.js","sources":["../../../src/nile-side-bar-header/nile-side-bar-header.css.ts"],"sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\n/**\n * 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, var(--ng-spacing-3xl));\n padding-bottom: var(--nile-spacing-lg, var(--ng-spacing-xl));\n padding-left: var(--nile-spacing-xl, var(--ng-spacing-2xl));\n padding-right: var(--nile-spacing-xl, var(--ng-spacing-2xl));\n top: 0;\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));\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([collapsed]) .header-content {\n flex-direction: column;\n justify-content: center;\n gap: var(--nile-spacing-lg, var(--ng-spacing-md));\n}\n\n\n\n \n \n::slotted([slot='logo']) {\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n font-weight: var(--nile-font-weight-bold, var(--ng-font-weight-bold));\n letter-spacing: -0.02em;\n color: var(--nile-colors-dark-900, var(--ng-colors-graylightmode-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];"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
1
|
+
{"version":3,"file":"nile-side-bar-header.css.cjs.js","sources":["../../../src/nile-side-bar-header/nile-side-bar-header.css.ts"],"sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\n/**\n * 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, var(--ng-spacing-3xl));\n padding-bottom: var(--nile-spacing-lg, var(--ng-spacing-xl));\n padding-left: var(--nile-spacing-xl, var(--ng-spacing-2xl));\n padding-right: var(--nile-spacing-xl, var(--ng-spacing-2xl));\n top: 0;\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));\n}\n\n/* Opt-in: drop the surface color so the header sits on whatever is behind it. */\n:host([background='transparent']) {\n background: transparent;\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([collapsed]) .header-content {\n flex-direction: column;\n justify-content: center;\n gap: var(--nile-spacing-lg, var(--ng-spacing-md));\n}\n\n\n\n \n \n::slotted([slot='logo']) {\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n font-weight: var(--nile-font-weight-bold, var(--ng-font-weight-bold));\n letter-spacing: -0.02em;\n color: var(--nile-colors-dark-900, var(--ng-colors-graylightmode-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];"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -11,6 +11,11 @@ import{css as n}from"lit";const e=n`
|
|
|
11
11
|
background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
/* Opt-in: drop the surface color so the header sits on whatever is behind it. */
|
|
15
|
+
:host([background='transparent']) {
|
|
16
|
+
background: transparent;
|
|
17
|
+
}
|
|
18
|
+
|
|
14
19
|
.header-content {
|
|
15
20
|
display: flex;
|
|
16
21
|
align-items: center;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{__decorate as e}from"tslib";import{html as t}from"lit";import{customElement as s}from"lit/decorators.js";import{s as
|
|
1
|
+
import{__decorate as e}from"tslib";import{html as t}from"lit";import{property as r,customElement as s}from"lit/decorators.js";import{s as i}from"./nile-side-bar-header.css.esm.js";import{N as a}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let o=class extends a{constructor(){super(...arguments),this.background="default"}static get styles(){return[i]}render(){return t`
|
|
2
2
|
<div class="header-content" part="header-content">
|
|
3
3
|
<slot name="logo" part="logo"></slot>
|
|
4
4
|
<slot name="expand" part="expand"></slot>
|
|
5
5
|
</div>
|
|
6
|
-
`}};
|
|
6
|
+
`}};e([r({type:String,reflect:!0,attribute:!0})],o.prototype,"background",void 0),o=e([s("nile-side-bar-header")],o);export{o as N};
|
|
@@ -121,7 +121,7 @@ export const styles = css `
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.nile-chip--disabled {
|
|
124
|
-
|
|
124
|
+
|
|
125
125
|
/* opacity: 0.5; */
|
|
126
126
|
cursor: not-allowed;
|
|
127
127
|
border-radius: var(--nile-radius-radius-xs,var(--ng-radius-md));
|
|
@@ -176,7 +176,7 @@ export const styles = css `
|
|
|
176
176
|
nile-auto-complete::part(base) {
|
|
177
177
|
height: auto;
|
|
178
178
|
}
|
|
179
|
-
|
|
179
|
+
|
|
180
180
|
.nile-chip:hover:not(.nile-chip--disabled) {
|
|
181
181
|
border-color: var(--nile-colors-neutral-500, var(--ng-colors-border-neutral));
|
|
182
182
|
box-shadow: var(--nile-box-shadow-10);
|
|
@@ -187,8 +187,8 @@ export const styles = css `
|
|
|
187
187
|
box-shadow: none;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
|
|
191
|
-
.nile-chip
|
|
190
|
+
.nile-chip.nile-chip--open:hover,
|
|
191
|
+
:host(:not([disabled])) .nile-chip:focus-within {
|
|
192
192
|
border-color: var(--nile-colors-neutral-500, var(--ng-colors-border-brand));
|
|
193
193
|
box-shadow: var(--nile-box-shadow-10, 0 0 0 1px var(--ng-colors-border-brand) inset ); /* Need to create token for it */
|
|
194
194
|
}
|
|
@@ -198,10 +198,6 @@ export const styles = css `
|
|
|
198
198
|
gap: 2px;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
nile-auto-complete::part(base)::before {
|
|
202
|
-
box-shadow: none;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
201
|
:host([required]) .form-control--has-label .form-control__label::after {
|
|
206
202
|
content: '*';
|
|
207
203
|
margin-inline-start: -2px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-chip.css.js","sourceRoot":"","sources":["../../../src/nile-chip/nile-chip.css.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"nile-chip.css.js","sourceRoot":"","sources":["../../../src/nile-chip/nile-chip.css.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4MxB,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 * Chip CSS\n */\nexport const styles = css`\n :host {\n box-sizing: border-box;\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 :host *,\n :host *::before,\n :host *::after {\n box-sizing: inherit;\n }\n\n [hidden] {\n display: none !important;\n }\n\n .form-control .form-control__label {\n display: none;\n }\n\n .form-control .form-control__help-text {\n display: none;\n }\n\n /* Label */\n .form-control--has-label .form-control__label {\n display: inline-block;\n color: inherit;\n margin-bottom: var(--nile-spacing-sm,var( --ng-spacing-sm));\n color: var(--nile-colors-dark-900,var(--ng-colors-text-secondary-700));\n font-family: var(--nile-font-family-serif,var( --ng-font-family-body));\n font-size: var(--nile-type-scale-3,var(--ng-font-size-text-sm));\n font-style: normal;\n font-weight: var(--nile-font-weight-regular,var(--ng-font-weight-medium));\n line-height: var(--nile-type-scale-3,var( --ng-line-height-text-sm));\n letter-spacing: 0.2px;\n }\n\n .form-control--has-label.form-control--medium .form-control__label {\n font-size: var(--nile-type-scale-3,var(--ng-font-size-text-sm));\n }\n\n :host([required]) .form-control--has-label .form-control__label::after {\n content: '*';\n margin-inline-start: -2px;\n }\n\n /* Help text */\n .form-control--has-help-text .form-control__help-text {\n display: block;\n color: var(--nile-colors-neutral-700,var( --ng-colors-text-primary-900));\n margin-top: var(--nile-spacing-xxxxsmall);\n }\n\n .form-control--has-help-text.form-control--small .form-control__help-text {\n font-size: var(--nile-spacing-xsmall,var(--ng-font-size-text-md));\n }\n\n .form-control--has-help-text.form-control--medium .form-control__help-text {\n font-size: var(--nile-font-size-rem-medium,var(--ng-font-size-text-md));\n }\n\n .form-control--has-help-text.form-control--large .form-control__help-text {\n font-size: var(--nile-font-size-rem-large,var(--ng-font-size-text-md));\n }\n\n .form-control--has-help-text.form-control--radio-group\n .form-control__help-text {\n margin-top: var(--nile-spacing-xxxsmall);\n }\n\n :host {\n display: block;\n font-family: var(--nile-font-family-inherit,var(--ng-font-family-body));\n }\n\n .nile-chip {\n padding: var(--nile-spacing-5px,var(--ng-spacing-xs)) var(--nile-spacing-10px,var(--ng-spacing-lg));\n min-height: var(--ng-height-40px);\n background-color: var(--nile-colors-white-base,var( --ng-colors-bg-primary));\n border-radius: var(--nile-radius-radius-xs,var(--ng-radius-md));\n border: solid 1px var(--nile-colors-neutral-500,var(--ng-colors-border-primary));\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n width: 100%;\n overflow-x: hidden;\n gap : var(--nile-gap-unset, var(--ng-spacing-md));\n }\n\n nile-input::part(base) {\n padding: 0px !important;\n height: auto;\n }\n\n .nile-chip--no-wrap {\n flex-wrap: nowrap;\n overflow-x: scroll;\n }\n\n .nile-chip::-webkit-scrollbar {\n height: 2px;\n }\n\n .nile-chip::-webkit-scrollbar-thumb {\n background: var(\n --nile-colors-primary-600\n );\n }\n\n .nile-chip--disabled {\n\n /* opacity: 0.5; */\n cursor: not-allowed;\n border-radius: var(--nile-radius-radius-xs,var(--ng-radius-md));\n border-color: var(--nile-colors-neutral-500,var(--ng-colors-border-disabled));\n }\n\n :host([disabled]) nile-tag::part(base) {\n background-color: var(--nile-colors-dark-200, var(--ng-colors-bg-primary));\n color: var(--nile-colors-dark-500, var(--ng-colors-text-disabled));\n }\n\n :host([disabled]) .nile-chip {\n background-color: var(--nile-colors-dark-200 , var(--ng-colors-bg-disabled-subtle));\n pointer-events: none;\n }\n\n .input--standard.input--disabled {\n background-color: var(--nile-colors-dark-200,var(--ng-colors-bg-disabled-subtle));\n }\n\n .nile-chip.nile-chip--disabled {\n background-color: var(--nile-colors-dark-200,var(--ng-colors-bg-disabled-subtle));\n border-color: var(--nile-colors-neutral-400,var(--ng-colors-border-disabled));\n opacity: 0.5;\n cursor: not-allowed;\n box-shadow: var(--nile-box-shadow-10,var(--ng-shadow-xs));\n }\n\n .nile-chip.nile-chip--warning {\n border-color: var(--nile-colors-yellow-500,var( --ng-componentcolors-utility-warning-500));\n }\n\n .nile-chip.nile-chip--error {\n border-color: var(--nile-colors-red-500,var(--ng-colors-border-error));\n }\n\n .nile-chip.nile-chip--success {\n border-color: var(--nile-colors-green-500);\n }\n\n .nile-chip__auto-complete {\n flex: 1;\n }\n .nile-chip__tags {\n margin: var(--nile-margin-size-rem-small);\n }\n\n nile-auto-complete::part(input) {\n padding: var(--nile-spacing-lg, var(--ng-spacing-none));\n }\n\n nile-auto-complete::part(base) {\n height: auto;\n }\n\n .nile-chip:hover:not(.nile-chip--disabled) {\n border-color: var(--nile-colors-neutral-500, var(--ng-colors-border-neutral));\n box-shadow: var(--nile-box-shadow-10);\n }\n\n :host([disabled]) .nile-chip:hover {\n border-color: var(--nile-colors-neutral-500, var(--ng-colors-border-disabled));\n box-shadow: none;\n }\n\n .nile-chip.nile-chip--open:hover,\n :host(:not([disabled])) .nile-chip:focus-within {\n border-color: var(--nile-colors-neutral-500, var(--ng-colors-border-brand));\n box-shadow: var(--nile-box-shadow-10, 0 0 0 1px var(--ng-colors-border-brand) inset ); /* Need to create token for it */\n }\n\n .nile-chip__tags--focused::part(base) {\n border: 1px solid var(--nile-colors-primary-600, var(--ng-colors-border-brand));\n gap: 2px;\n }\n\n :host([required]) .form-control--has-label .form-control__label::after {\n content: '*';\n margin-inline-start: -2px;\n color: var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600));\n }\n\n :host([disabled]) {\n cursor: not-allowed;\n }\n\n :host([disabled]) nile-auto-complete::part(base) {\n background-color: var(--nile-colors-dark-200, var(--ng-colors-bg-disabled-subtle));\n color: var(--nile-colors-dark-500, var(--ng-colors-text-disabled));\n }\n`;\n\nexport default [styles];\n"]}
|
|
@@ -192,7 +192,7 @@ export const styles = css `
|
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
.input--standard.input--focused:not(.input--disabled) .input__control {
|
|
195
|
-
color: var(--nile-colors-primary-900);
|
|
195
|
+
color: var(--nile-colors-primary-900, var(--ng-colors-text-primary-900));
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
.input--standard.input--disabled {
|
|
@@ -347,7 +347,7 @@ export const styles = css `
|
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
.input:hover:not(.input--disabled) .input__control {
|
|
350
|
-
color: var(--nile-colors-dark-900);
|
|
350
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
.input__control:focus {
|
|
@@ -559,9 +559,8 @@ export const styles = css `
|
|
|
559
559
|
box-shadow: 0 0 0 0;
|
|
560
560
|
}
|
|
561
561
|
|
|
562
|
-
:host([no-border]) .input--standard.input--focused:not(.input--disabled) {
|
|
563
|
-
|
|
564
|
-
box-shadow: 0 0 0 0;
|
|
562
|
+
:host([no-border]) .input--standard.input--focused:not(.input--disabled)::before {
|
|
563
|
+
box-shadow: none;
|
|
565
564
|
}
|
|
566
565
|
|
|
567
566
|
.input__password {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-input.css.js","sourceRoot":"","sources":["../../../src/nile-input/nile-input.css.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmlBxB,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 * Input CSS\n */\nexport const styles = css`\n :host {\n display: block;\n --ng-nxt-gen-outline: var(--ng-border-width-1) solid var(--ng-colors-border-brand);\n --ng-nxt-gen-outline-error: var(--ng-border-width-1) solid var(--ng-colors-border-error);\n --ng-private-outline-transparent: var(--ng-border-width-1) solid transparent;\n --ng-box-shadow-1: 0px 1px 2px 0px var(--ng-colors-effects-shadow-xs);\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\n /* To Hide Safari's AutoFill icon */\n input::-webkit-contacts-auto-fill-button {\n visibility: hidden;\n width: 0;\n margin: var(--nile-spacing-none);\n padding: var(--nile-spacing-none);\n }\n\n /* To Hide Safari's AutoFill icon */\n input::-webkit-contacts-auto-fill-button {\n visibility: hidden;\n width: 0;\n margin: 0;\n padding: 0;\n }\n\n /* To Hide Safari's AutoFill icon */\n input::-webkit-contacts-auto-fill-button {\n visibility: hidden;\n width: 0;\n margin: 0;\n padding: 0;\n }\n\n .form-control .form-control__label {\n display: none;\n }\n\n .form-control .form-control__help-text {\n display: none;\n }\n\n /* Label */\n .form-control--has-label .form-control__label {\n display: inline-block;\n color: inherit;\n margin-bottom: var(--nile-spacing-sm, var(--ng-spacing-sm));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-secondary-700));\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n font-style: normal;\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));\n line-height: var(--nile-type-scale-6, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n }\n\n .form-control--has-label.form-control--medium .form-control__label {\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n }\n :host([disabled]) .form-control--has-label .form-control__label {\n user-select: none;\n -webkit-user-select: none;\n }\n\n :host([required]) .form-control--has-label .form-control__label::after {\n content: '*';\n margin-inline-start: -2px;\n color: var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600));\n }\n\n /* Help text */\n .form-control--has-help-text .form-control__help-text {\n display: block;\n color: var(--nile-colors-dark-500);\n margin-top: var(--nile-spacing-sm);\n }\n\n /* Error message */\n .form-control__error-message {\n display: block;\n color: var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600));\n margin-top: var(--nile-spacing-lg, var(--ng-spacing-sm));\n font-size: var(--nile-type-scale-2);\n font-style: normal;\n line-height: var( --nile-form-error-text-line-height, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n }\n\n .form-control--has-help-text.form-control--medium .form-control__help-text {\n font-size: var(--nile-type-scale-1);\n }\n\n .form-control--has-help-text.form-control--radio-group\n .form-control__help-text {\n margin-top: var(--nile-spacing-xxxsmall);\n }\n\n .input {\n flex: 1 1 auto;\n display: inline-flex;\n align-items: stretch;\n justify-content: start;\n position: relative;\n width: 100%;\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n vertical-align: middle;\n overflow: hidden;\n cursor: text;\n transition: 150ms color, 150ms border, 150ms box-shadow,\n 150ms background-color, 150ms outline;\n box-sizing: border-box;\n color: var(--nile-colors-dark-900);\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n font-size: var(--nile-type-scale-3);\n font-style: normal;\n line-height: 14px;\n letter-spacing: 0.2px;\n }\n\n\n /* Standard inputs */\n .input--standard {\n background-color: var(--nile-input-standard-background-color, var(--ng-colors-bg-primary));\n border: solid 1px var(--nile-input-standard-border-color, var(--ng-colors-border-primary));\n box-shadow: var(--nile-input-shadow-standard, var(--ng-shadow-xs));\n outline:var(--nile-outline-none, var(--ng-private-outline-transparent));\n }\n\n .input--standard:hover {\n border-color: var(--nile-colors-dark-900, var(--ng-colors-border-neutral));\n }\n\n .input--standard.input--error:hover:not(.input--disabled) {\n border-color: var(--nile-colors-dark-900, var(--ng-colors-border-error));\n }\n\n .input--standard.input--focused:not(.input--disabled) {\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n border-color: var(--nile-colors-primary-500, var(--ng-colors-border-brand));\n box-shadow: var(--nile-input-shadow-standard-focused-not-disabled, var(--ng-box-shadow-2));\n }\n .input--standard.input--focused:not(.input--disabled) {\n position: relative; \n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n box-shadow: var(--nile-input-shadow-standard-focused-not-disabled, var(--ng-box-shadow-2));\n border-color: var(--nile-colors-primary-500, var(--ng-colors-border-brand));\n /* border-width: var(--nile-border-width-1, var(--ng-border-width-2)); */\n}\n\n/* Added to apply the hover effect in nxtgen */\n.input--standard.input--focused:not(.input--disabled)::before {\n content: \"\";\n position: absolute;\n inset: 0; \n pointer-events: none; \n border-radius: 6.5px;\n box-shadow: inset 0 0 0 1px var(--ng-colors-border-brand);\n}\n\n .input--standard.input--focused.input--warning:not(.input--disabled) {\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n border-color: var(--nile-colors-primary-500, var(--ng-colors-border-warning));\n box-shadow: var(--nile-input-shadow-standard-focused-not-disabled, var(--ng-box-shadow-2));\n outline: var(--nile-border-width-1, var(--ng-border-width-1)) solid var(--nile-outline-none, var(--ng-colors-border-warning));\n }\n\n .input--standard.input--focused.input--success:not(.input--disabled) {\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n border-color: var(--nile-colors-primary-500, var(--ng-colors-border-success));\n box-shadow: var(--nile-input-shadow-standard-focused-not-disabled, var(--ng-box-shadow-2));\n outline: var(--nile-border-width-1, var(--ng-border-width-1)) solid var(--nile-outline-none, var(--ng-colors-border-success));\n }\n \n .input--standard.input--focused.input--error:not(.input--disabled) {\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n border-color: var(--nile-colors-primary-500, var(--ng-colors-border-error));\n box-shadow: var(--nile-input-shadow-standard-focused-not-disabled, var(--ng-box-shadow-2));\n outline: var(--nile-border-width-1, var(--ng-border-width-1)) solid var(--nile-outline-none, var(--ng-colors-border-error));\n }\n\n .input--standard.input--focused:not(.input--disabled) .input__control {\n color: var(--nile-colors-primary-900);\n }\n\n .input--standard.input--disabled {\n background-color: var(--nile-colors-dark-200, var(--ng-colors-bg-disabled-subtle));\n border-color: var(--nile-colors-neutral-500,var(--ng-colors-border-disabled));\n /* opacity: 0.5; */\n cursor: not-allowed;\n user-select: none;\n -webkit-user-select: none;\n }\n\n .input--standard.input--disabled .input__control {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-disabled));\n user-select: none;\n -webkit-user-select: none;\n pointer-events: none;\n \n }\n\n .input--standard.input--disabled .input__control::placeholder {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-disabled));\n background:var(--nile-colors-dark-200, var(--ng-colors-bg-disabled-subtle));\n }\n\n .input--standard.input--warning {\n border-color: var(--nile-colors-yellow-500, var(--ng-colors-border-warning-subtle));\n }\n\n .input--standard.input--warning:hover {\n border-color: var(--nile-colors-dark-900, var(--ng-colors-border-warning));\n }\n\n .input--standard.input--error {\n border-color: var(--nile-colors-red-500, var(--ng-colors-border-error-subtle));\n }\n\n .input--standard.input--success {\n border-color: var(--nile-colors-green-500, var(--ng-colors-border-success-subtle));\n }\n\n .input--standard.input--success:hover {\n border-color: var(--nile-colors-dark-900, var(--ng-colors-border-success));\n }\n\n .input--standard.input--destructive {\n border-color: var(--nile-colors-red-400);\n }\n\n .input--standard.input--focused.input--destructive:not(.input--disabled) {\n border: 1px solid var(--nile-colors-red-400);\n box-shadow: var(--nile-input-shadow-destructive-active);\n }\n\n .input--destructive:active {\n border: 1px solid var(--nile-colors-red-400);\n box-shadow: var(--nile-input-shadow-destructive-active);\n }\n\n /* Filled inputs */\n .input--filled {\n border: none;\n background-color: var(--nile-colors-dark-100);\n color: hsl(240 5.3% 26.1%);\n }\n\n .input--filled:hover:not(.input--disabled) {\n background-color: var(--nile-colors-dark-100);\n }\n\n .input--filled.input--focused:not(.input--disabled) {\n background-color: var(--nile-colors-dark-100);\n outline: solid 3px hsl(200.4 98% 39.4%);\n outline-offset: 1px;\n }\n\n .input--filled.input--disabled {\n background-color: var(--nile-colors-dark-100);\n cursor: not-allowed;\n }\n\n .input__control {\n flex: 1 1 auto;\n min-width: 0;\n height: 100%;\n border: none;\n background: none;\n box-shadow: none;\n padding: var(--nile-spacing-none, var(--ng-spacing-md)) var(--nile-spacing-none, var(--ng-spacing-lg));\n margin: var(--nile-spacing-none, var(--ng-spacing-none));\n cursor: inherit;\n -webkit-appearance: none;\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n font-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-md));\n font-style: normal;\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n line-height: var(--nile-type-scale-4, var(--ng-line-height-text-md));\n letter-spacing: 0.2px;\n }\n\n .input__control::-webkit-search-decoration,\n .input__control::-webkit-search-cancel-button,\n .input__control::-webkit-search-results-button,\n .input__control::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n\n .input__control:-webkit-autofill {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-white-base, var(--ng-colors-bg-primary)) inset !important;\n /* -webkit-text-fill-color: hsl(198.6 88.7% 48.4%); */\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:hover {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-white-base, var(--ng-colors-bg-primary)) inset !important;\n /* -webkit-text-fill-color: hsl(198.6 88.7% 48.4%); */\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:focus {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-white-base, var(--ng-colors-bg-primary)) inset !important;\n /* -webkit-text-fill-color: hsl(198.6 88.7% 48.4%); */\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:active {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-white-base, var(--ng-colors-bg-primary)) inset !important;\n /* -webkit-text-fill-color: hsl(198.6 88.7% 48.4%); */\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input--filled .input__control:-webkit-autofill {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-dark-100) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:hover {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-dark-100) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:focus {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-dark-100) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:active {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-dark-100) inset !important;\n }\n\n .input__control::placeholder {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-placeholder));\n user-select: none;\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n }\n\n .input:hover:not(.input--disabled) .input__control {\n color: var(--nile-colors-dark-900);\n }\n\n .input__control:focus {\n outline: none;\n }\n\n .input__prefix,\n .input__suffix {\n display: inline-flex;\n flex: 0 0 auto;\n align-items: center;\n cursor: default;\n }\n\n .input__prefix::slotted(nile-icon) {\n color: var(--nile-colors-neutral-700);\n }\n\n .input__suffix::slotted(nile-icon) {\n color: var(--nile-colors-neutral-700);\n }\n\n .input--standard:focus {\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n border: 1px solid var(--nile-colors-primary-500);\n box-shadow: var(--nile-box-shadow-1, var(--ng-shadow-xs));\n }\n\n /*\n * Size modifiers\n */\n\n .input--small {\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n font-size: var(--nile-input-font-size-small);\n height: 1.875rem;\n }\n\n .input--small .input__control {\n height: calc(1.875rem);\n padding: var(--nile-spacing-none, var(--ng-spacing-none)) var(--nile-spacing-xsmall, var(--ng-spacing-lg));\n }\n\n .input--small .input__clear {\n width: calc(1em + 0.75rem * 2);\n }\n\n .input--small .input__password-toggle {\n width: calc(1em + 0.75rem * 2);\n }\n\n .input--small .input__prefix::slotted(*) {\n margin-inline-start: var(--nile-spacing-xsmall, var(--ng-spacing-lg));\n }\n\n .input--small .input__suffix::slotted(*) {\n margin-inline-end: var(--nile-spacing-xsmall, var(--ng-spacing-lg));\n }\n\n .input--medium {\n font-size: var(--nile-font-size-rem-large);\n height: var(--nile-height-40px, var(--ng-height-40px));\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n }\n\n .input--medium .input__control {\n height: var(--nile-type-scale-3, var(--ng-height-auto));\n padding: var(--nile-spacing-lg, var(--ng-spacing-md)) var(--nile-spacing-lg, var(--ng-spacing-lg));\n }\n\n .input--medium .input__clear {\n width: calc(1em + 1rem * 2);\n }\n\n .input--medium .input__password-toggle {\n width: calc(1em + 1rem * 2);\n }\n\n .input--medium .input__prefix::slotted(*) {\n margin-inline-start: var(--nile-spacing-lg, var(--ng-spacing-lg));\n }\n\n .input--medium .input__suffix::slotted(*) {\n margin-inline-end: var(--nile-spacing-lg, var(--ng-spacing-lg));\n }\n\n .input--large {\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n font-size: var(--nile-type-scale-6);\n height: 3.125rem;\n }\n\n .input--large .input__control {\n height: calc(3.125rem - 1px * 2);\n padding: var(--nile-spacing-none) var(--nile-spacing-xl);\n }\n\n .input--large .input__clear {\n width: calc(1em + 1.25rem * 2);\n }\n\n .input--large .input__password-toggle {\n width: calc(1em + 1.25rem * 2);\n }\n\n .input--large .input__prefix::slotted(*) {\n margin-inline-start: var(--nile-spacing-small, var(--ng-spacing-lg));\n }\n\n .input--large .input__suffix::slotted(*) {\n margin-inline-end: var(--nile-spacing-small, var(--ng-spacing-lg));\n }\n\n /*\n * Pill modifier\n */\n\n .input--pill.input--small {\n border-radius:var(--nile-radius-3xl, var(--ng-spacing-lg));\n }\n\n .input--pill.input--medium {\n border-radius: var(--nile-radius-4xl, var(--ng-spacing-lg));\n }\n\n .input--pill.input--large {\n border-radius: var(--nile-radius-4xl, var(--ng-spacing-lg));\n }\n\n /*\n * Clearable + Password Toggle\n */\n\n .input__clear {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n color: var(--nile-colors-neutral-700);\n border: none;\n background: none;\n padding: var(--nile-spacing-none);\n transition: 150ms color;\n cursor: pointer;\n }\n\n .input__password-toggle {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n color: var(--nile-colors-neutral-700);\n border: none;\n background: none;\n padding: var(--nile-spacing-none);\n transition: 150ms color;\n cursor: pointer;\n }\n\n .input__clear:hover {\n color: var(--nile-colors-neutral-700);\n }\n\n .input__password-toggle:hover {\n color: var(--nile-colors-neutral-700);\n }\n\n .input__clear:focus,\n .input__password-toggle:focus {\n outline: none;\n }\n\n .input--empty .input__clear {\n visibility: hidden;\n }\n\n /* Don't show the browser's password toggle in Edge */\n ::-ms-reveal {\n display: none;\n }\n\n /* Hide the built-in number spinner */\n .input--no-spin-buttons input[type='number']::-webkit-outer-spin-button,\n .input--no-spin-buttons input[type='number']::-webkit-inner-spin-button {\n -webkit-appearance: none;\n display: none;\n }\n\n .input--no-spin-buttons input[type='number'] {\n -moz-appearance: textfield;\n }\n\n :host([no-border]) .input--standard {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-outline]) .input--standard {\n outline: var(--nile-outline-unset, var(--ng-outline-none));\n }\n\n :host([no-border]) .input--standard:hover:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard.input--focused:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard.input--focused:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n .input__password {\n font-family: var(--nile-font-family-disc, var(--ng-font-family-body));\n letter-spacing: var(--nile-spacing-xxs, var(--ng-spacing-none));\n }\n\n .input__non-printable {\n border-radius: var(--nile-radius-sm);\n max-width: 400px;\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n border: 1px solid var(--nile-colors-red-500);\n color: var(--nile-colors-red-500);\n padding: var(--nile-spacing-10px);\n font-size: var(--nile-type-scale-2);\n max-height: 300px;\n overflow-y: scroll;\n line-height: var(--nile-type-scale-4);\n }\n\n .input__remove-non-printable {\n color: var(--nile-colors-red-500);\n margin-left: var(--nile-spacing-10px);\n font-size: var(--nile-type-scale-3);\n color: var(--nile-colors-dark-900);\n cursor: pointer;\n }\n\n .input__srtiked-text-container {\n margin-top: var(--nile-spacing-xs);\n color: var(--nile-colors-dark-900);\n word-break: break-all;\n line-height: var(--nile-type-scale-4);\n }\n\n .input__srtiked-text {\n text-decoration: line-through;\n text-decoration-color: var(--nile-colors-white-base);\n color: var(--nile-colors-white-base);\n background-color: var(--nile-colors-red-500);\n }\n`;\n\nexport default [styles];\n"]}
|
|
1
|
+
{"version":3,"file":"nile-input.css.js","sourceRoot":"","sources":["../../../src/nile-input/nile-input.css.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAklBxB,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 * Input CSS\n */\nexport const styles = css`\n :host {\n display: block;\n --ng-nxt-gen-outline: var(--ng-border-width-1) solid var(--ng-colors-border-brand);\n --ng-nxt-gen-outline-error: var(--ng-border-width-1) solid var(--ng-colors-border-error);\n --ng-private-outline-transparent: var(--ng-border-width-1) solid transparent;\n --ng-box-shadow-1: 0px 1px 2px 0px var(--ng-colors-effects-shadow-xs);\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\n /* To Hide Safari's AutoFill icon */\n input::-webkit-contacts-auto-fill-button {\n visibility: hidden;\n width: 0;\n margin: var(--nile-spacing-none);\n padding: var(--nile-spacing-none);\n }\n\n /* To Hide Safari's AutoFill icon */\n input::-webkit-contacts-auto-fill-button {\n visibility: hidden;\n width: 0;\n margin: 0;\n padding: 0;\n }\n\n /* To Hide Safari's AutoFill icon */\n input::-webkit-contacts-auto-fill-button {\n visibility: hidden;\n width: 0;\n margin: 0;\n padding: 0;\n }\n\n .form-control .form-control__label {\n display: none;\n }\n\n .form-control .form-control__help-text {\n display: none;\n }\n\n /* Label */\n .form-control--has-label .form-control__label {\n display: inline-block;\n color: inherit;\n margin-bottom: var(--nile-spacing-sm, var(--ng-spacing-sm));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-secondary-700));\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n font-style: normal;\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-medium));\n line-height: var(--nile-type-scale-6, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n }\n\n .form-control--has-label.form-control--medium .form-control__label {\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n }\n :host([disabled]) .form-control--has-label .form-control__label {\n user-select: none;\n -webkit-user-select: none;\n }\n\n :host([required]) .form-control--has-label .form-control__label::after {\n content: '*';\n margin-inline-start: -2px;\n color: var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600));\n }\n\n /* Help text */\n .form-control--has-help-text .form-control__help-text {\n display: block;\n color: var(--nile-colors-dark-500);\n margin-top: var(--nile-spacing-sm);\n }\n\n /* Error message */\n .form-control__error-message {\n display: block;\n color: var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600));\n margin-top: var(--nile-spacing-lg, var(--ng-spacing-sm));\n font-size: var(--nile-type-scale-2);\n font-style: normal;\n line-height: var( --nile-form-error-text-line-height, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n }\n\n .form-control--has-help-text.form-control--medium .form-control__help-text {\n font-size: var(--nile-type-scale-1);\n }\n\n .form-control--has-help-text.form-control--radio-group\n .form-control__help-text {\n margin-top: var(--nile-spacing-xxxsmall);\n }\n\n .input {\n flex: 1 1 auto;\n display: inline-flex;\n align-items: stretch;\n justify-content: start;\n position: relative;\n width: 100%;\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n vertical-align: middle;\n overflow: hidden;\n cursor: text;\n transition: 150ms color, 150ms border, 150ms box-shadow,\n 150ms background-color, 150ms outline;\n box-sizing: border-box;\n color: var(--nile-colors-dark-900);\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n font-size: var(--nile-type-scale-3);\n font-style: normal;\n line-height: 14px;\n letter-spacing: 0.2px;\n }\n\n\n /* Standard inputs */\n .input--standard {\n background-color: var(--nile-input-standard-background-color, var(--ng-colors-bg-primary));\n border: solid 1px var(--nile-input-standard-border-color, var(--ng-colors-border-primary));\n box-shadow: var(--nile-input-shadow-standard, var(--ng-shadow-xs));\n outline:var(--nile-outline-none, var(--ng-private-outline-transparent));\n }\n\n .input--standard:hover {\n border-color: var(--nile-colors-dark-900, var(--ng-colors-border-neutral));\n }\n\n .input--standard.input--error:hover:not(.input--disabled) {\n border-color: var(--nile-colors-dark-900, var(--ng-colors-border-error));\n }\n\n .input--standard.input--focused:not(.input--disabled) {\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n border-color: var(--nile-colors-primary-500, var(--ng-colors-border-brand));\n box-shadow: var(--nile-input-shadow-standard-focused-not-disabled, var(--ng-box-shadow-2));\n }\n .input--standard.input--focused:not(.input--disabled) {\n position: relative; \n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n box-shadow: var(--nile-input-shadow-standard-focused-not-disabled, var(--ng-box-shadow-2));\n border-color: var(--nile-colors-primary-500, var(--ng-colors-border-brand));\n /* border-width: var(--nile-border-width-1, var(--ng-border-width-2)); */\n}\n\n/* Added to apply the hover effect in nxtgen */\n.input--standard.input--focused:not(.input--disabled)::before {\n content: \"\";\n position: absolute;\n inset: 0; \n pointer-events: none; \n border-radius: 6.5px;\n box-shadow: inset 0 0 0 1px var(--ng-colors-border-brand);\n}\n\n .input--standard.input--focused.input--warning:not(.input--disabled) {\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n border-color: var(--nile-colors-primary-500, var(--ng-colors-border-warning));\n box-shadow: var(--nile-input-shadow-standard-focused-not-disabled, var(--ng-box-shadow-2));\n outline: var(--nile-border-width-1, var(--ng-border-width-1)) solid var(--nile-outline-none, var(--ng-colors-border-warning));\n }\n\n .input--standard.input--focused.input--success:not(.input--disabled) {\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n border-color: var(--nile-colors-primary-500, var(--ng-colors-border-success));\n box-shadow: var(--nile-input-shadow-standard-focused-not-disabled, var(--ng-box-shadow-2));\n outline: var(--nile-border-width-1, var(--ng-border-width-1)) solid var(--nile-outline-none, var(--ng-colors-border-success));\n }\n \n .input--standard.input--focused.input--error:not(.input--disabled) {\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n border-color: var(--nile-colors-primary-500, var(--ng-colors-border-error));\n box-shadow: var(--nile-input-shadow-standard-focused-not-disabled, var(--ng-box-shadow-2));\n outline: var(--nile-border-width-1, var(--ng-border-width-1)) solid var(--nile-outline-none, var(--ng-colors-border-error));\n }\n\n .input--standard.input--focused:not(.input--disabled) .input__control {\n color: var(--nile-colors-primary-900, var(--ng-colors-text-primary-900));\n }\n\n .input--standard.input--disabled {\n background-color: var(--nile-colors-dark-200, var(--ng-colors-bg-disabled-subtle));\n border-color: var(--nile-colors-neutral-500,var(--ng-colors-border-disabled));\n /* opacity: 0.5; */\n cursor: not-allowed;\n user-select: none;\n -webkit-user-select: none;\n }\n\n .input--standard.input--disabled .input__control {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-disabled));\n user-select: none;\n -webkit-user-select: none;\n pointer-events: none;\n \n }\n\n .input--standard.input--disabled .input__control::placeholder {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-disabled));\n background:var(--nile-colors-dark-200, var(--ng-colors-bg-disabled-subtle));\n }\n\n .input--standard.input--warning {\n border-color: var(--nile-colors-yellow-500, var(--ng-colors-border-warning-subtle));\n }\n\n .input--standard.input--warning:hover {\n border-color: var(--nile-colors-dark-900, var(--ng-colors-border-warning));\n }\n\n .input--standard.input--error {\n border-color: var(--nile-colors-red-500, var(--ng-colors-border-error-subtle));\n }\n\n .input--standard.input--success {\n border-color: var(--nile-colors-green-500, var(--ng-colors-border-success-subtle));\n }\n\n .input--standard.input--success:hover {\n border-color: var(--nile-colors-dark-900, var(--ng-colors-border-success));\n }\n\n .input--standard.input--destructive {\n border-color: var(--nile-colors-red-400);\n }\n\n .input--standard.input--focused.input--destructive:not(.input--disabled) {\n border: 1px solid var(--nile-colors-red-400);\n box-shadow: var(--nile-input-shadow-destructive-active);\n }\n\n .input--destructive:active {\n border: 1px solid var(--nile-colors-red-400);\n box-shadow: var(--nile-input-shadow-destructive-active);\n }\n\n /* Filled inputs */\n .input--filled {\n border: none;\n background-color: var(--nile-colors-dark-100);\n color: hsl(240 5.3% 26.1%);\n }\n\n .input--filled:hover:not(.input--disabled) {\n background-color: var(--nile-colors-dark-100);\n }\n\n .input--filled.input--focused:not(.input--disabled) {\n background-color: var(--nile-colors-dark-100);\n outline: solid 3px hsl(200.4 98% 39.4%);\n outline-offset: 1px;\n }\n\n .input--filled.input--disabled {\n background-color: var(--nile-colors-dark-100);\n cursor: not-allowed;\n }\n\n .input__control {\n flex: 1 1 auto;\n min-width: 0;\n height: 100%;\n border: none;\n background: none;\n box-shadow: none;\n padding: var(--nile-spacing-none, var(--ng-spacing-md)) var(--nile-spacing-none, var(--ng-spacing-lg));\n margin: var(--nile-spacing-none, var(--ng-spacing-none));\n cursor: inherit;\n -webkit-appearance: none;\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n font-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-md));\n font-style: normal;\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n line-height: var(--nile-type-scale-4, var(--ng-line-height-text-md));\n letter-spacing: 0.2px;\n }\n\n .input__control::-webkit-search-decoration,\n .input__control::-webkit-search-cancel-button,\n .input__control::-webkit-search-results-button,\n .input__control::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n\n .input__control:-webkit-autofill {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-white-base, var(--ng-colors-bg-primary)) inset !important;\n /* -webkit-text-fill-color: hsl(198.6 88.7% 48.4%); */\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:hover {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-white-base, var(--ng-colors-bg-primary)) inset !important;\n /* -webkit-text-fill-color: hsl(198.6 88.7% 48.4%); */\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:focus {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-white-base, var(--ng-colors-bg-primary)) inset !important;\n /* -webkit-text-fill-color: hsl(198.6 88.7% 48.4%); */\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:active {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-white-base, var(--ng-colors-bg-primary)) inset !important;\n /* -webkit-text-fill-color: hsl(198.6 88.7% 48.4%); */\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input--filled .input__control:-webkit-autofill {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-dark-100) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:hover {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-dark-100) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:focus {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-dark-100) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:active {\n box-shadow: 0 0 0 3.125rem var(--nile-colors-dark-100) inset !important;\n }\n\n .input__control::placeholder {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-placeholder));\n user-select: none;\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n }\n\n .input:hover:not(.input--disabled) .input__control {\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n }\n\n .input__control:focus {\n outline: none;\n }\n\n .input__prefix,\n .input__suffix {\n display: inline-flex;\n flex: 0 0 auto;\n align-items: center;\n cursor: default;\n }\n\n .input__prefix::slotted(nile-icon) {\n color: var(--nile-colors-neutral-700);\n }\n\n .input__suffix::slotted(nile-icon) {\n color: var(--nile-colors-neutral-700);\n }\n\n .input--standard:focus {\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n border: 1px solid var(--nile-colors-primary-500);\n box-shadow: var(--nile-box-shadow-1, var(--ng-shadow-xs));\n }\n\n /*\n * Size modifiers\n */\n\n .input--small {\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n font-size: var(--nile-input-font-size-small);\n height: 1.875rem;\n }\n\n .input--small .input__control {\n height: calc(1.875rem);\n padding: var(--nile-spacing-none, var(--ng-spacing-none)) var(--nile-spacing-xsmall, var(--ng-spacing-lg));\n }\n\n .input--small .input__clear {\n width: calc(1em + 0.75rem * 2);\n }\n\n .input--small .input__password-toggle {\n width: calc(1em + 0.75rem * 2);\n }\n\n .input--small .input__prefix::slotted(*) {\n margin-inline-start: var(--nile-spacing-xsmall, var(--ng-spacing-lg));\n }\n\n .input--small .input__suffix::slotted(*) {\n margin-inline-end: var(--nile-spacing-xsmall, var(--ng-spacing-lg));\n }\n\n .input--medium {\n font-size: var(--nile-font-size-rem-large);\n height: var(--nile-height-40px, var(--ng-height-40px));\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n }\n\n .input--medium .input__control {\n height: var(--nile-type-scale-3, var(--ng-height-auto));\n padding: var(--nile-spacing-lg, var(--ng-spacing-md)) var(--nile-spacing-lg, var(--ng-spacing-lg));\n }\n\n .input--medium .input__clear {\n width: calc(1em + 1rem * 2);\n }\n\n .input--medium .input__password-toggle {\n width: calc(1em + 1rem * 2);\n }\n\n .input--medium .input__prefix::slotted(*) {\n margin-inline-start: var(--nile-spacing-lg, var(--ng-spacing-lg));\n }\n\n .input--medium .input__suffix::slotted(*) {\n margin-inline-end: var(--nile-spacing-lg, var(--ng-spacing-lg));\n }\n\n .input--large {\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n font-size: var(--nile-type-scale-6);\n height: 3.125rem;\n }\n\n .input--large .input__control {\n height: calc(3.125rem - 1px * 2);\n padding: var(--nile-spacing-none) var(--nile-spacing-xl);\n }\n\n .input--large .input__clear {\n width: calc(1em + 1.25rem * 2);\n }\n\n .input--large .input__password-toggle {\n width: calc(1em + 1.25rem * 2);\n }\n\n .input--large .input__prefix::slotted(*) {\n margin-inline-start: var(--nile-spacing-small, var(--ng-spacing-lg));\n }\n\n .input--large .input__suffix::slotted(*) {\n margin-inline-end: var(--nile-spacing-small, var(--ng-spacing-lg));\n }\n\n /*\n * Pill modifier\n */\n\n .input--pill.input--small {\n border-radius:var(--nile-radius-3xl, var(--ng-spacing-lg));\n }\n\n .input--pill.input--medium {\n border-radius: var(--nile-radius-4xl, var(--ng-spacing-lg));\n }\n\n .input--pill.input--large {\n border-radius: var(--nile-radius-4xl, var(--ng-spacing-lg));\n }\n\n /*\n * Clearable + Password Toggle\n */\n\n .input__clear {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n color: var(--nile-colors-neutral-700);\n border: none;\n background: none;\n padding: var(--nile-spacing-none);\n transition: 150ms color;\n cursor: pointer;\n }\n\n .input__password-toggle {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n color: var(--nile-colors-neutral-700);\n border: none;\n background: none;\n padding: var(--nile-spacing-none);\n transition: 150ms color;\n cursor: pointer;\n }\n\n .input__clear:hover {\n color: var(--nile-colors-neutral-700);\n }\n\n .input__password-toggle:hover {\n color: var(--nile-colors-neutral-700);\n }\n\n .input__clear:focus,\n .input__password-toggle:focus {\n outline: none;\n }\n\n .input--empty .input__clear {\n visibility: hidden;\n }\n\n /* Don't show the browser's password toggle in Edge */\n ::-ms-reveal {\n display: none;\n }\n\n /* Hide the built-in number spinner */\n .input--no-spin-buttons input[type='number']::-webkit-outer-spin-button,\n .input--no-spin-buttons input[type='number']::-webkit-inner-spin-button {\n -webkit-appearance: none;\n display: none;\n }\n\n .input--no-spin-buttons input[type='number'] {\n -moz-appearance: textfield;\n }\n\n :host([no-border]) .input--standard {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-outline]) .input--standard {\n outline: var(--nile-outline-unset, var(--ng-outline-none));\n }\n\n :host([no-border]) .input--standard:hover:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard.input--focused:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard.input--focused:not(.input--disabled)::before {\n box-shadow: none;\n }\n\n .input__password {\n font-family: var(--nile-font-family-disc, var(--ng-font-family-body));\n letter-spacing: var(--nile-spacing-xxs, var(--ng-spacing-none));\n }\n\n .input__non-printable {\n border-radius: var(--nile-radius-sm);\n max-width: 400px;\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n border: 1px solid var(--nile-colors-red-500);\n color: var(--nile-colors-red-500);\n padding: var(--nile-spacing-10px);\n font-size: var(--nile-type-scale-2);\n max-height: 300px;\n overflow-y: scroll;\n line-height: var(--nile-type-scale-4);\n }\n\n .input__remove-non-printable {\n color: var(--nile-colors-red-500);\n margin-left: var(--nile-spacing-10px);\n font-size: var(--nile-type-scale-3);\n color: var(--nile-colors-dark-900);\n cursor: pointer;\n }\n\n .input__srtiked-text-container {\n margin-top: var(--nile-spacing-xs);\n color: var(--nile-colors-dark-900);\n word-break: break-all;\n line-height: var(--nile-type-scale-4);\n }\n\n .input__srtiked-text {\n text-decoration: line-through;\n text-decoration-color: var(--nile-colors-white-base);\n color: var(--nile-colors-white-base);\n background-color: var(--nile-colors-red-500);\n }\n`;\n\nexport default [styles];\n"]}
|
|
@@ -109,5 +109,10 @@ describe('NileInput', () => {
|
|
|
109
109
|
it('98. type tel', async () => { const el = await fixture(html `<nile-input type="tel"></nile-input>`); expect(el.type).to.equal('tel'); });
|
|
110
110
|
it('99. type url', async () => { const el = await fixture(html `<nile-input type="url"></nile-input>`); expect(el.type).to.equal('url'); });
|
|
111
111
|
it('100. full integration', async () => { const el = await fixture(html `<nile-input type="email" name="email" value="test@test.com" size="large" filled pill class="inp" id="i1"></nile-input>`); expect(el.type).to.equal('email'); expect(el.name).to.equal('email'); expect(el.value).to.equal('test@test.com'); expect(el.size).to.equal('large'); expect(el.filled).to.be.true; expect(el.pill).to.be.true; expect(el.id).to.equal('i1'); });
|
|
112
|
+
// UIF-1350 — nile-chip / nile-auto-complete render a borderless nile-input; the
|
|
113
|
+
// nxtgen focus ring is an inset box-shadow on ::before, so `no-border` has to
|
|
114
|
+
// suppress it too or a blue border shows up inside the chip on focus.
|
|
115
|
+
it('101. no-border paints no focus ring', async () => { const el = await fixture(html `<nile-input no-border no-outline style="--ng-colors-border-brand: rgb(0, 0, 255)"></nile-input>`); el.input.focus(); await el.updateComplete; const base = el.shadowRoot.querySelector('[part="base"]'); expect(base.classList.contains('input--focused')).to.be.true; expect(getComputedStyle(base, '::before').boxShadow).to.equal('none'); });
|
|
116
|
+
it('102. focus ring still paints without no-border', async () => { const el = await fixture(html `<nile-input style="--ng-colors-border-brand: rgb(0, 0, 255)"></nile-input>`); el.input.focus(); await el.updateComplete; const base = el.shadowRoot.querySelector('[part="base"]'); expect(getComputedStyle(base, '::before').boxShadow).to.contain('inset'); });
|
|
112
117
|
});
|
|
113
118
|
//# sourceMappingURL=nile-input.test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-input.test.js","sourceRoot":"","sources":["../../../src/nile-input/nile-input.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,M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":["import { expect, fixture, html } from '@open-wc/testing';\nimport './nile-input';\nimport type { NileInput } from './nile-input';\n\ndescribe('NileInput', () => {\n it('1. renders', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el).to.exist; });\n it('2. shadow root', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot).to.not.be.null; });\n it('3. tag name', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.tagName.toLowerCase()).to.equal('nile-input'); });\n it('4. type defaults text', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.type).to.equal('text'); });\n it('5. name defaults empty', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.name).to.equal(''); });\n it('6. value defaults empty', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.value).to.equal(''); });\n it('7. size defaults medium', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.size).to.equal('medium'); });\n it('8. filled defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.filled).to.equal(false); });\n it('9. pill defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.pill).to.equal(false); });\n it('10. disabled defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.disabled).to.equal(false); });\n it('11. set type password', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"password\"></nile-input>`); expect(el.type).to.equal('password'); });\n it('12. set name', async () => { const el = await fixture<NileInput>(html`<nile-input name=\"email\"></nile-input>`); expect(el.name).to.equal('email'); });\n it('13. set value', async () => { const el = await fixture<NileInput>(html`<nile-input value=\"test\"></nile-input>`); expect(el.value).to.equal('test'); });\n it('14. set size small', async () => { const el = await fixture<NileInput>(html`<nile-input size=\"small\"></nile-input>`); expect(el.size).to.equal('small'); });\n it('15. set filled', async () => { const el = await fixture<NileInput>(html`<nile-input filled></nile-input>`); expect(el.filled).to.be.true; });\n it('16. set pill', async () => { const el = await fixture<NileInput>(html`<nile-input pill></nile-input>`); expect(el.pill).to.be.true; });\n it('17. set disabled', async () => { const el = await fixture<NileInput>(html`<nile-input disabled></nile-input>`); expect(el.disabled).to.be.true; });\n it('18. input__control class', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('.input__control')).to.exist; });\n it('19. native input', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('input')).to.exist; });\n it('20. has styles', async () => { expect((await import('./nile-input')).NileInput.styles).to.exist; });\n it('21. is defined', async () => { expect(customElements.get('nile-input')).to.exist; });\n it('22. shadow mode', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.mode).to.equal('open'); });\n it('23. isConnected', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.isConnected).to.be.true; });\n it('24. removal', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.remove(); expect(el.isConnected).to.be.false; });\n it('25. outerHTML', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.outerHTML).to.contain('nile-input'); });\n it('26. matches', async () => { const el = await fixture<NileInput>(html`<nile-input class=\"x\"></nile-input>`); expect(el.matches('.x')).to.be.true; });\n it('27. closest', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.closest('nile-input')).to.equal(el); });\n it('28. cloneNode', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect((el.cloneNode(true) as Element).tagName.toLowerCase()).to.equal('nile-input'); });\n it('29. dispatchEvent', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); let f = false; el.addEventListener('c', () => (f = true)); el.dispatchEvent(new Event('c')); expect(f).to.be.true; });\n it('30. updateComplete', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); const r = await el.updateComplete; expect(r).to.not.be.undefined; });\n it('31. render method', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.render).to.be.a('function'); });\n it('32. shadowRoot host', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.host).to.equal(el); });\n it('33. class attr', async () => { const el = await fixture<NileInput>(html`<nile-input class=\"inp\"></nile-input>`); expect(el.classList.contains('inp')).to.be.true; });\n it('34. id attr', async () => { const el = await fixture<NileInput>(html`<nile-input id=\"i1\"></nile-input>`); expect(el.id).to.equal('i1'); });\n it('35. hidden', async () => { const el = await fixture<NileInput>(html`<nile-input hidden></nile-input>`); expect(el.hidden).to.be.true; });\n it('36. nodeType', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.nodeType).to.equal(1); });\n it('37. localName', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.localName).to.equal('nile-input'); });\n it('38. namespaceURI', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.namespaceURI).to.equal('http://www.w3.org/1999/xhtml'); });\n it('39. ownerDocument', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.ownerDocument).to.equal(document); });\n it('40. dynamic value', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.value = 'new'; await el.updateComplete; expect(el.value).to.equal('new'); });\n it('41. dynamic type', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.type = 'email'; await el.updateComplete; expect(el.type).to.equal('email'); });\n it('42. multiple instances', async () => { const c = await fixture(html`<div><nile-input></nile-input><nile-input></nile-input></div>`); expect(c.querySelectorAll('nile-input').length).to.equal(2); });\n it('43. parent-child', async () => { const c = await fixture(html`<div><nile-input></nile-input></div>`); expect(c.querySelector('nile-input')!.parentElement).to.equal(c); });\n it('44. createElement', async () => { const el = document.createElement('nile-input') as NileInput; document.body.appendChild(el); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; document.body.removeChild(el); });\n it('45. dataset', async () => { const el = await fixture<NileInput>(html`<nile-input data-idx=\"0\"></nile-input>`); expect(el.dataset.idx).to.equal('0'); });\n it('46. classList add', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.classList.add('z'); expect(el.classList.contains('z')).to.be.true; });\n it('47. getBoundingClientRect', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.getBoundingClientRect()).to.exist; });\n it('48. no form', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('form')).to.be.null; });\n it('49. no anchor', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('a')).to.be.null; });\n it('50. no img', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('img')).to.be.null; });\n it('51. style attr', async () => { const el = await fixture<NileInput>(html`<nile-input style=\"color:red\"></nile-input>`); expect(el.style.color).to.equal('red'); });\n it('52. aria-label', async () => { const el = await fixture<NileInput>(html`<nile-input aria-label=\"Input\"></nile-input>`); expect(el.getAttribute('aria-label')).to.equal('Input'); });\n it('53. dir', async () => { const el = await fixture<NileInput>(html`<nile-input dir=\"rtl\"></nile-input>`); expect(el.dir).to.equal('rtl'); });\n it('54. lang attr', async () => { const el = await fixture<NileInput>(html`<nile-input lang=\"en\"></nile-input>`); expect(el.lang).to.equal('en'); });\n it('55. tabindex', async () => { const el = await fixture<NileInput>(html`<nile-input tabindex=\"0\"></nile-input>`); expect(el.getAttribute('tabindex')).to.equal('0'); });\n it('56. requestUpdate', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });\n it('57. shadow childNodes', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.childNodes.length).to.be.greaterThan(0); });\n it('58. scrollIntoView', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.scrollIntoView).to.be.a('function'); });\n it('59. class toggle', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.classList.toggle('a'); expect(el.classList.contains('a')).to.be.true; });\n it('60. toggle hidden', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.hidden = true; expect(el.hidden).to.be.true; });\n it('61. dispatchCustomEvent', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); let d: any; el.addEventListener('t', ((e: CustomEvent) => { d = e.detail; }) as EventListener); el.dispatchEvent(new CustomEvent('t', { detail: 'x' })); expect(d).to.equal('x'); });\n it('62. nested in div', async () => { const c = await fixture(html`<div><nile-input></nile-input></div>`); expect(c.querySelector('nile-input')).to.exist; });\n it('63. no table', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('table')).to.be.null; });\n it('64. no ul', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('ul')).to.be.null; });\n it('65. no canvas', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('canvas')).to.be.null; });\n it('66. no video', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('video')).to.be.null; });\n it('67. no audio', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('audio')).to.be.null; });\n it('68. setAttribute data', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.setAttribute('data-test', '1'); expect(el.dataset.test).to.equal('1'); });\n it('69. removeAttribute hidden', async () => { const el = await fixture<NileInput>(html`<nile-input hidden></nile-input>`); el.removeAttribute('hidden'); expect(el.hidden).to.be.false; });\n it('70. setAttribute class', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.setAttribute('class', 'test'); expect(el.classList.contains('test')).to.be.true; });\n it('71. aria-describedby', async () => { const el = await fixture<NileInput>(html`<nile-input aria-describedby=\"d\"></nile-input>`); expect(el.getAttribute('aria-describedby')).to.equal('d'); });\n it('72. multiple re-renders', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); for (let i = 0; i < 3; i++) { el.requestUpdate(); await el.updateComplete; } expect(el.shadowRoot).to.not.be.null; });\n it('73. warning defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.warning).to.equal(false); });\n it('74. error defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.error).to.equal(false); });\n it('75. success defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.success).to.equal(false); });\n it('76. destructive defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.destructive).to.equal(false); });\n it('77. prefix slot', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('slot[name=\"prefix\"]')).to.exist; });\n it('78. suffix slot', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('slot[name=\"suffix\"]')).to.exist; });\n it('79. label slot', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('slot[name=\"label\"]')).to.exist; });\n it('80. help-text slot', async () => { const el = await fixture<NileInput>(html`<nile-input help-text=\"Help\"></nile-input>`); await el.updateComplete; const slot = el.shadowRoot!.querySelector('slot[name=\"help-text\"]'); if (!slot) { expect(el.shadowRoot!.querySelector('slot[name=\"label\"]')).to.exist; } else { expect(slot).to.exist; } });\n it('81. type reflects', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"email\"></nile-input>`); expect(el.getAttribute('type')).to.equal('email'); });\n it('82. size reflects', async () => { const el = await fixture<NileInput>(html`<nile-input size=\"large\"></nile-input>`); expect(el.getAttribute('size')).to.equal('large'); });\n it('83. filled reflects', async () => { const el = await fixture<NileInput>(html`<nile-input filled></nile-input>`); expect(el.hasAttribute('filled')).to.be.true; });\n it('84. pill reflects', async () => { const el = await fixture<NileInput>(html`<nile-input pill></nile-input>`); expect(el.hasAttribute('pill')).to.be.true; });\n it('85. disabled reflects', async () => { const el = await fixture<NileInput>(html`<nile-input disabled></nile-input>`); expect(el.hasAttribute('disabled')).to.be.true; });\n it('86. no svg', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('svg')).to.be.null; });\n it('87. no textarea', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('textarea')).to.be.null; });\n it('88. no select', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('select')).to.be.null; });\n it('89. title attr', async () => { const el = await fixture<NileInput>(html`<nile-input title=\"IN\"></nile-input>`); expect(el.title).to.equal('IN'); });\n it('90. no h1', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('h1')).to.be.null; });\n it('91. no p', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('p')).to.be.null; });\n it('92. no hr', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('hr')).to.be.null; });\n it('93. no pre', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('pre')).to.be.null; });\n it('94. no code', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('code')).to.be.null; });\n it('95. type number', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"number\"></nile-input>`); expect(el.type).to.equal('number'); });\n it('96. type email', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"email\"></nile-input>`); expect(el.type).to.equal('email'); });\n it('97. type search', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"search\"></nile-input>`); expect(el.type).to.equal('search'); });\n it('98. type tel', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"tel\"></nile-input>`); expect(el.type).to.equal('tel'); });\n it('99. type url', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"url\"></nile-input>`); expect(el.type).to.equal('url'); });\n it('100. full integration', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"email\" name=\"email\" value=\"test@test.com\" size=\"large\" filled pill class=\"inp\" id=\"i1\"></nile-input>`); expect(el.type).to.equal('email'); expect(el.name).to.equal('email'); expect(el.value).to.equal('test@test.com'); expect(el.size).to.equal('large'); expect(el.filled).to.be.true; expect(el.pill).to.be.true; expect(el.id).to.equal('i1'); });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"nile-input.test.js","sourceRoot":"","sources":["../../../src/nile-input/nile-input.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,cAAc,CAAC;AAGtB,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,YAAY,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAY,IAAI,CAAA,2BAA2B,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7H,EAAE,CAAC,gBAAgB,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAY,IAAI,CAAA,2BAA2B,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAClJ,EAAE,CAAC,aAAa,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAY,IAAI,CAAA,2BAA2B,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAClK,EAAE,CAAC,uBAAuB,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,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/X,CAAC,CAAC,CAAC","sourcesContent":["import { expect, fixture, html } from '@open-wc/testing';\nimport './nile-input';\nimport type { NileInput } from './nile-input';\n\ndescribe('NileInput', () => {\n it('1. renders', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el).to.exist; });\n it('2. shadow root', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot).to.not.be.null; });\n it('3. tag name', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.tagName.toLowerCase()).to.equal('nile-input'); });\n it('4. type defaults text', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.type).to.equal('text'); });\n it('5. name defaults empty', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.name).to.equal(''); });\n it('6. value defaults empty', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.value).to.equal(''); });\n it('7. size defaults medium', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.size).to.equal('medium'); });\n it('8. filled defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.filled).to.equal(false); });\n it('9. pill defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.pill).to.equal(false); });\n it('10. disabled defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.disabled).to.equal(false); });\n it('11. set type password', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"password\"></nile-input>`); expect(el.type).to.equal('password'); });\n it('12. set name', async () => { const el = await fixture<NileInput>(html`<nile-input name=\"email\"></nile-input>`); expect(el.name).to.equal('email'); });\n it('13. set value', async () => { const el = await fixture<NileInput>(html`<nile-input value=\"test\"></nile-input>`); expect(el.value).to.equal('test'); });\n it('14. set size small', async () => { const el = await fixture<NileInput>(html`<nile-input size=\"small\"></nile-input>`); expect(el.size).to.equal('small'); });\n it('15. set filled', async () => { const el = await fixture<NileInput>(html`<nile-input filled></nile-input>`); expect(el.filled).to.be.true; });\n it('16. set pill', async () => { const el = await fixture<NileInput>(html`<nile-input pill></nile-input>`); expect(el.pill).to.be.true; });\n it('17. set disabled', async () => { const el = await fixture<NileInput>(html`<nile-input disabled></nile-input>`); expect(el.disabled).to.be.true; });\n it('18. input__control class', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('.input__control')).to.exist; });\n it('19. native input', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('input')).to.exist; });\n it('20. has styles', async () => { expect((await import('./nile-input')).NileInput.styles).to.exist; });\n it('21. is defined', async () => { expect(customElements.get('nile-input')).to.exist; });\n it('22. shadow mode', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.mode).to.equal('open'); });\n it('23. isConnected', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.isConnected).to.be.true; });\n it('24. removal', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.remove(); expect(el.isConnected).to.be.false; });\n it('25. outerHTML', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.outerHTML).to.contain('nile-input'); });\n it('26. matches', async () => { const el = await fixture<NileInput>(html`<nile-input class=\"x\"></nile-input>`); expect(el.matches('.x')).to.be.true; });\n it('27. closest', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.closest('nile-input')).to.equal(el); });\n it('28. cloneNode', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect((el.cloneNode(true) as Element).tagName.toLowerCase()).to.equal('nile-input'); });\n it('29. dispatchEvent', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); let f = false; el.addEventListener('c', () => (f = true)); el.dispatchEvent(new Event('c')); expect(f).to.be.true; });\n it('30. updateComplete', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); const r = await el.updateComplete; expect(r).to.not.be.undefined; });\n it('31. render method', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.render).to.be.a('function'); });\n it('32. shadowRoot host', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.host).to.equal(el); });\n it('33. class attr', async () => { const el = await fixture<NileInput>(html`<nile-input class=\"inp\"></nile-input>`); expect(el.classList.contains('inp')).to.be.true; });\n it('34. id attr', async () => { const el = await fixture<NileInput>(html`<nile-input id=\"i1\"></nile-input>`); expect(el.id).to.equal('i1'); });\n it('35. hidden', async () => { const el = await fixture<NileInput>(html`<nile-input hidden></nile-input>`); expect(el.hidden).to.be.true; });\n it('36. nodeType', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.nodeType).to.equal(1); });\n it('37. localName', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.localName).to.equal('nile-input'); });\n it('38. namespaceURI', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.namespaceURI).to.equal('http://www.w3.org/1999/xhtml'); });\n it('39. ownerDocument', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.ownerDocument).to.equal(document); });\n it('40. dynamic value', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.value = 'new'; await el.updateComplete; expect(el.value).to.equal('new'); });\n it('41. dynamic type', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.type = 'email'; await el.updateComplete; expect(el.type).to.equal('email'); });\n it('42. multiple instances', async () => { const c = await fixture(html`<div><nile-input></nile-input><nile-input></nile-input></div>`); expect(c.querySelectorAll('nile-input').length).to.equal(2); });\n it('43. parent-child', async () => { const c = await fixture(html`<div><nile-input></nile-input></div>`); expect(c.querySelector('nile-input')!.parentElement).to.equal(c); });\n it('44. createElement', async () => { const el = document.createElement('nile-input') as NileInput; document.body.appendChild(el); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; document.body.removeChild(el); });\n it('45. dataset', async () => { const el = await fixture<NileInput>(html`<nile-input data-idx=\"0\"></nile-input>`); expect(el.dataset.idx).to.equal('0'); });\n it('46. classList add', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.classList.add('z'); expect(el.classList.contains('z')).to.be.true; });\n it('47. getBoundingClientRect', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.getBoundingClientRect()).to.exist; });\n it('48. no form', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('form')).to.be.null; });\n it('49. no anchor', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('a')).to.be.null; });\n it('50. no img', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('img')).to.be.null; });\n it('51. style attr', async () => { const el = await fixture<NileInput>(html`<nile-input style=\"color:red\"></nile-input>`); expect(el.style.color).to.equal('red'); });\n it('52. aria-label', async () => { const el = await fixture<NileInput>(html`<nile-input aria-label=\"Input\"></nile-input>`); expect(el.getAttribute('aria-label')).to.equal('Input'); });\n it('53. dir', async () => { const el = await fixture<NileInput>(html`<nile-input dir=\"rtl\"></nile-input>`); expect(el.dir).to.equal('rtl'); });\n it('54. lang attr', async () => { const el = await fixture<NileInput>(html`<nile-input lang=\"en\"></nile-input>`); expect(el.lang).to.equal('en'); });\n it('55. tabindex', async () => { const el = await fixture<NileInput>(html`<nile-input tabindex=\"0\"></nile-input>`); expect(el.getAttribute('tabindex')).to.equal('0'); });\n it('56. requestUpdate', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });\n it('57. shadow childNodes', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.childNodes.length).to.be.greaterThan(0); });\n it('58. scrollIntoView', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.scrollIntoView).to.be.a('function'); });\n it('59. class toggle', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.classList.toggle('a'); expect(el.classList.contains('a')).to.be.true; });\n it('60. toggle hidden', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.hidden = true; expect(el.hidden).to.be.true; });\n it('61. dispatchCustomEvent', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); let d: any; el.addEventListener('t', ((e: CustomEvent) => { d = e.detail; }) as EventListener); el.dispatchEvent(new CustomEvent('t', { detail: 'x' })); expect(d).to.equal('x'); });\n it('62. nested in div', async () => { const c = await fixture(html`<div><nile-input></nile-input></div>`); expect(c.querySelector('nile-input')).to.exist; });\n it('63. no table', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('table')).to.be.null; });\n it('64. no ul', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('ul')).to.be.null; });\n it('65. no canvas', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('canvas')).to.be.null; });\n it('66. no video', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('video')).to.be.null; });\n it('67. no audio', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('audio')).to.be.null; });\n it('68. setAttribute data', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.setAttribute('data-test', '1'); expect(el.dataset.test).to.equal('1'); });\n it('69. removeAttribute hidden', async () => { const el = await fixture<NileInput>(html`<nile-input hidden></nile-input>`); el.removeAttribute('hidden'); expect(el.hidden).to.be.false; });\n it('70. setAttribute class', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); el.setAttribute('class', 'test'); expect(el.classList.contains('test')).to.be.true; });\n it('71. aria-describedby', async () => { const el = await fixture<NileInput>(html`<nile-input aria-describedby=\"d\"></nile-input>`); expect(el.getAttribute('aria-describedby')).to.equal('d'); });\n it('72. multiple re-renders', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); for (let i = 0; i < 3; i++) { el.requestUpdate(); await el.updateComplete; } expect(el.shadowRoot).to.not.be.null; });\n it('73. warning defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.warning).to.equal(false); });\n it('74. error defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.error).to.equal(false); });\n it('75. success defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.success).to.equal(false); });\n it('76. destructive defaults false', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.destructive).to.equal(false); });\n it('77. prefix slot', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('slot[name=\"prefix\"]')).to.exist; });\n it('78. suffix slot', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('slot[name=\"suffix\"]')).to.exist; });\n it('79. label slot', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('slot[name=\"label\"]')).to.exist; });\n it('80. help-text slot', async () => { const el = await fixture<NileInput>(html`<nile-input help-text=\"Help\"></nile-input>`); await el.updateComplete; const slot = el.shadowRoot!.querySelector('slot[name=\"help-text\"]'); if (!slot) { expect(el.shadowRoot!.querySelector('slot[name=\"label\"]')).to.exist; } else { expect(slot).to.exist; } });\n it('81. type reflects', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"email\"></nile-input>`); expect(el.getAttribute('type')).to.equal('email'); });\n it('82. size reflects', async () => { const el = await fixture<NileInput>(html`<nile-input size=\"large\"></nile-input>`); expect(el.getAttribute('size')).to.equal('large'); });\n it('83. filled reflects', async () => { const el = await fixture<NileInput>(html`<nile-input filled></nile-input>`); expect(el.hasAttribute('filled')).to.be.true; });\n it('84. pill reflects', async () => { const el = await fixture<NileInput>(html`<nile-input pill></nile-input>`); expect(el.hasAttribute('pill')).to.be.true; });\n it('85. disabled reflects', async () => { const el = await fixture<NileInput>(html`<nile-input disabled></nile-input>`); expect(el.hasAttribute('disabled')).to.be.true; });\n it('86. no svg', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('svg')).to.be.null; });\n it('87. no textarea', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('textarea')).to.be.null; });\n it('88. no select', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('select')).to.be.null; });\n it('89. title attr', async () => { const el = await fixture<NileInput>(html`<nile-input title=\"IN\"></nile-input>`); expect(el.title).to.equal('IN'); });\n it('90. no h1', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('h1')).to.be.null; });\n it('91. no p', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('p')).to.be.null; });\n it('92. no hr', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('hr')).to.be.null; });\n it('93. no pre', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('pre')).to.be.null; });\n it('94. no code', async () => { const el = await fixture<NileInput>(html`<nile-input></nile-input>`); expect(el.shadowRoot!.querySelector('code')).to.be.null; });\n it('95. type number', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"number\"></nile-input>`); expect(el.type).to.equal('number'); });\n it('96. type email', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"email\"></nile-input>`); expect(el.type).to.equal('email'); });\n it('97. type search', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"search\"></nile-input>`); expect(el.type).to.equal('search'); });\n it('98. type tel', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"tel\"></nile-input>`); expect(el.type).to.equal('tel'); });\n it('99. type url', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"url\"></nile-input>`); expect(el.type).to.equal('url'); });\n it('100. full integration', async () => { const el = await fixture<NileInput>(html`<nile-input type=\"email\" name=\"email\" value=\"test@test.com\" size=\"large\" filled pill class=\"inp\" id=\"i1\"></nile-input>`); expect(el.type).to.equal('email'); expect(el.name).to.equal('email'); expect(el.value).to.equal('test@test.com'); expect(el.size).to.equal('large'); expect(el.filled).to.be.true; expect(el.pill).to.be.true; expect(el.id).to.equal('i1'); });\n\n // UIF-1350 — nile-chip / nile-auto-complete render a borderless nile-input; the\n // nxtgen focus ring is an inset box-shadow on ::before, so `no-border` has to\n // suppress it too or a blue border shows up inside the chip on focus.\n it('101. no-border paints no focus ring', async () => { const el = await fixture<NileInput>(html`<nile-input no-border no-outline style=\"--ng-colors-border-brand: rgb(0, 0, 255)\"></nile-input>`); el.input.focus(); await el.updateComplete; const base = el.shadowRoot!.querySelector('[part=\"base\"]') as HTMLElement; expect(base.classList.contains('input--focused')).to.be.true; expect(getComputedStyle(base, '::before').boxShadow).to.equal('none'); });\n it('102. focus ring still paints without no-border', async () => { const el = await fixture<NileInput>(html`<nile-input style=\"--ng-colors-border-brand: rgb(0, 0, 255)\"></nile-input>`); el.input.focus(); await el.updateComplete; const base = el.shadowRoot!.querySelector('[part=\"base\"]') as HTMLElement; expect(getComputedStyle(base, '::before').boxShadow).to.contain('inset'); });\n});\n"]}
|
|
@@ -15,6 +15,11 @@ export const styles = css `
|
|
|
15
15
|
background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
/* Opt-in: drop the surface color so the footer sits on whatever is behind it. */
|
|
19
|
+
:host([background='transparent']) {
|
|
20
|
+
background: transparent;
|
|
21
|
+
}
|
|
22
|
+
|
|
18
23
|
.footer {
|
|
19
24
|
display: flex;
|
|
20
25
|
flex-direction: column;
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CxB,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, var(--ng-spacing-3xl));\n\tpadding-left: var(--nile-spacing-xl, var(--ng-spacing-xl));\n\tpadding-right: var(--nile-spacing-xl, var(--ng-spacing-xl));\n padding-top: var(--nile-spacing-xs, var(--ng-spacing-xs));\n gap: var(--nile-spacing-md, var(--ng-spacing-xl));\n bottom: 0;\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-primary));\n}\n\n/* Opt-in: drop the surface color so the footer sits on whatever is behind it. */\n:host([background='transparent']) {\n background: transparent;\n}\n\n.footer {\n display: flex;\n flex-direction: column; \n align-items: stretch; \n gap: var(--nile-spacing-md, var(--ng-spacing-lg)); \n}\n\n::slotted(nile-side-bar-footer-item) {\n display: flex;\n align-items: center;\n gap: var(--nile-spacing-md, var(--ng-spacing-xs));\n justify-content: center;\n \n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n cursor: pointer;\n border-radius: var(--nile-radius-sm, var(--ng-radius-sm));\n transition: background 0.2s ease;\n}\n\n\n\n\n \n`;\n\nexport default [styles];\n"]}
|
|
@@ -13,8 +13,18 @@ import NileElement from '../internal/nile-element';
|
|
|
13
13
|
*
|
|
14
14
|
* @slot icon - Slot for footer icon
|
|
15
15
|
* @slot text - Slot for footer text
|
|
16
|
+
*
|
|
17
|
+
* @attr background - Background treatment of the footer ("default" | "transparent").
|
|
18
|
+
* Defaults to "default", which paints the sidebar surface color. Set to
|
|
19
|
+
* "transparent" to drop the background so whatever sits behind the footer shows
|
|
20
|
+
* through.
|
|
16
21
|
*/
|
|
17
22
|
export declare class NileSideBarFooter extends NileElement {
|
|
23
|
+
/**
|
|
24
|
+
* Background treatment of the footer. `default` keeps the sidebar surface
|
|
25
|
+
* color; `transparent` removes it.
|
|
26
|
+
*/
|
|
27
|
+
background: 'default' | 'transparent';
|
|
18
28
|
static get styles(): CSSResultArray;
|
|
19
29
|
render(): TemplateResult;
|
|
20
30
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { __decorate } from "tslib";
|
|
8
8
|
import { html } from 'lit';
|
|
9
|
-
import { customElement } from 'lit/decorators.js';
|
|
9
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
10
10
|
import { styles } from './nile-side-bar-footer.css';
|
|
11
11
|
import NileElement from '../internal/nile-element';
|
|
12
12
|
/**
|
|
@@ -16,8 +16,21 @@ import NileElement from '../internal/nile-element';
|
|
|
16
16
|
*
|
|
17
17
|
* @slot icon - Slot for footer icon
|
|
18
18
|
* @slot text - Slot for footer text
|
|
19
|
+
*
|
|
20
|
+
* @attr background - Background treatment of the footer ("default" | "transparent").
|
|
21
|
+
* Defaults to "default", which paints the sidebar surface color. Set to
|
|
22
|
+
* "transparent" to drop the background so whatever sits behind the footer shows
|
|
23
|
+
* through.
|
|
19
24
|
*/
|
|
20
25
|
let NileSideBarFooter = class NileSideBarFooter extends NileElement {
|
|
26
|
+
constructor() {
|
|
27
|
+
super(...arguments);
|
|
28
|
+
/**
|
|
29
|
+
* Background treatment of the footer. `default` keeps the sidebar surface
|
|
30
|
+
* color; `transparent` removes it.
|
|
31
|
+
*/
|
|
32
|
+
this.background = 'default';
|
|
33
|
+
}
|
|
21
34
|
static get styles() {
|
|
22
35
|
return [styles];
|
|
23
36
|
}
|
|
@@ -29,6 +42,9 @@ let NileSideBarFooter = class NileSideBarFooter extends NileElement {
|
|
|
29
42
|
`;
|
|
30
43
|
}
|
|
31
44
|
};
|
|
45
|
+
__decorate([
|
|
46
|
+
property({ type: String, reflect: true, attribute: true })
|
|
47
|
+
], NileSideBarFooter.prototype, "background", void 0);
|
|
32
48
|
NileSideBarFooter = __decorate([
|
|
33
49
|
customElement('nile-side-bar-footer')
|
|
34
50
|
], NileSideBarFooter);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-footer.js","sourceRoot":"","sources":["../../../src/nile-side-bar-footer/nile-side-bar-footer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAAE,IAAI,EAAkC,MAAM,KAAK,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"nile-side-bar-footer.js","sourceRoot":"","sources":["../../../src/nile-side-bar-footer/nile-side-bar-footer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,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;;;;;;;;;;;;GAYG;AAEI,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,WAAW;IAA3C;;QACL;;;WAGG;QACyD,eAAU,GAA8B,SAAS,CAAC;IAahH,CAAC;IAXQ,MAAM,KAAK,MAAM;QACtB,OAAO,CAAC,MAAM,CAAC,CAAC;IAClB,CAAC;IAEM,MAAM;QACX,OAAO,IAAI,CAAA;;;;KAIV,CAAC;IACJ,CAAC;CACF,CAAA;AAb6D;IAA3D,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;qDAAmD;AALnG,iBAAiB;IAD7B,aAAa,CAAC,sBAAsB,CAAC;GACzB,iBAAiB,CAkB7B;;AAED,eAAe,iBAAiB,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 { html, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { styles } from './nile-side-bar-footer.css';\nimport NileElement from '../internal/nile-element';\n\n/**\n * Nile side-bar-footer component.\n *\n * @tag nile-side-bar-footer\n *\n * @slot icon - Slot for footer icon\n * @slot text - Slot for footer text\n *\n * @attr background - Background treatment of the footer (\"default\" | \"transparent\").\n * Defaults to \"default\", which paints the sidebar surface color. Set to\n * \"transparent\" to drop the background so whatever sits behind the footer shows\n * through.\n */\n@customElement('nile-side-bar-footer')\nexport class NileSideBarFooter extends NileElement {\n /**\n * Background treatment of the footer. `default` keeps the sidebar surface\n * color; `transparent` removes it.\n */\n @property({ type: String, reflect: true, attribute: true }) background: 'default' | 'transparent' = 'default';\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n public render(): TemplateResult {\n return html`\n <div part=\"base\" class=\"footer\">\n <slot> </slot>\n </div>\n `;\n }\n}\n\nexport default NileSideBarFooter;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-footer': NileSideBarFooter;\n }\n}\n"]}
|