@aquera/nile-elements 1.8.8 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/index.js +29 -19
- package/dist/nile-button-toggle/nile-button-toggle.css.cjs.js +1 -1
- package/dist/nile-button-toggle/nile-button-toggle.css.cjs.js.map +1 -1
- package/dist/nile-button-toggle/nile-button-toggle.css.esm.js +5 -5
- package/dist/nile-filter-chip/nile-filter-chip.css.cjs.js +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.css.cjs.js.map +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.css.esm.js +5 -5
- package/dist/nile-grid/nile-grid.css.cjs.js +1 -1
- package/dist/nile-grid/nile-grid.css.cjs.js.map +1 -1
- package/dist/nile-grid/nile-grid.css.esm.js +1 -1
- package/dist/nile-list-item/nile-list-item.css.cjs.js +1 -1
- package/dist/nile-list-item/nile-list-item.css.cjs.js.map +1 -1
- package/dist/nile-list-item/nile-list-item.css.esm.js +9 -3
- package/dist/nile-menu-item/nile-menu-item.css.cjs.js +1 -1
- package/dist/nile-menu-item/nile-menu-item.css.cjs.js.map +1 -1
- package/dist/nile-menu-item/nile-menu-item.css.esm.js +5 -5
- package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js +1 -1
- package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js.map +1 -1
- package/dist/nile-nav-tab/nile-nav-tab.css.esm.js +4 -0
- package/dist/nile-option/nile-option.css.cjs.js +1 -1
- package/dist/nile-option/nile-option.css.cjs.js.map +1 -1
- package/dist/nile-option/nile-option.css.esm.js +3 -3
- package/dist/src/nile-button-toggle/nile-button-toggle.css.js +5 -5
- package/dist/src/nile-button-toggle/nile-button-toggle.css.js.map +1 -1
- package/dist/src/nile-filter-chip/nile-filter-chip.css.js +3 -3
- package/dist/src/nile-filter-chip/nile-filter-chip.css.js.map +1 -1
- package/dist/src/nile-grid/nile-grid.css.js +1 -1
- package/dist/src/nile-grid/nile-grid.css.js.map +1 -1
- package/dist/src/nile-list-item/nile-list-item.css.js +7 -1
- package/dist/src/nile-list-item/nile-list-item.css.js.map +1 -1
- package/dist/src/nile-menu-item/nile-menu-item.css.js +5 -5
- package/dist/src/nile-menu-item/nile-menu-item.css.js.map +1 -1
- package/dist/src/nile-nav-tab/nile-nav-tab.css.js +4 -0
- package/dist/src/nile-nav-tab/nile-nav-tab.css.js.map +1 -1
- package/dist/src/nile-option/nile-option.css.js +3 -3
- package/dist/src/nile-option/nile-option.css.js.map +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-button-toggle/nile-button-toggle.css.ts +5 -5
- package/src/nile-filter-chip/nile-filter-chip.css.ts +3 -3
- package/src/nile-grid/nile-grid.css.ts +1 -1
- package/src/nile-list-item/nile-list-item.css.ts +7 -1
- package/src/nile-menu-item/nile-menu-item.css.ts +5 -5
- package/src/nile-nav-tab/nile-nav-tab.css.ts +4 -0
- package/src/nile-option/nile-option.css.ts +3 -3
package/README.md
CHANGED
|
@@ -79,6 +79,13 @@ To run a local development server that serves the basic demo located in `demo/in
|
|
|
79
79
|
|
|
80
80
|
In this section, you can find the updates for each release of `nile-elements`. It's a good practice to maintain detailed release notes to help users and developers understand what changes have been made from one version to another and how these changes might affect their projects.
|
|
81
81
|
|
|
82
|
+
#### Version 1.9.0 (June 15, 2026)
|
|
83
|
+
- Nile Nav Tab: displayed an unintended border on hover in Safari, ensuring consistent visual behavior across supported browsers. (UIF-1268).
|
|
84
|
+
- Nile Grid: borders were not rendering correctly in Firefox (UIF-1268).
|
|
85
|
+
|
|
86
|
+
#### Version 1.8.9 (June 15, 2026)
|
|
87
|
+
- NxtGen Updates: Updated color contrast implementation across Nile Menu, Button Toggle, Nile Select, Nile Auto Complete, Nile Chip, Nile Dropdown, Filter Chip, Inline Edit, and Nile List to align with new NxtGen guidelines and standardized design tokens for hover and selection states. (UIF-1267)
|
|
88
|
+
|
|
82
89
|
#### Version 1.8.8 (June 12, 2026)
|
|
83
90
|
- Nile Sidebar: Added Overlay Variant (UIF-1266)
|
|
84
91
|
|
package/dist/index.js
CHANGED
|
@@ -6358,15 +6358,15 @@ class no{constructor(e){this._element=null;const t=e??window;this._node=t,e&&(th
|
|
|
6358
6358
|
}
|
|
6359
6359
|
|
|
6360
6360
|
.option--hover:not(.option--current):not(.option--disabled) {
|
|
6361
|
-
background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-
|
|
6361
|
+
background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-secondary-hover));
|
|
6362
6362
|
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
|
|
6363
6363
|
border-radius: var(--nile-radius-none, var(--ng-radius-sm));
|
|
6364
6364
|
}
|
|
6365
6365
|
|
|
6366
6366
|
.option--current,
|
|
6367
6367
|
.option--current.option--disabled {
|
|
6368
|
-
background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-
|
|
6369
|
-
color: var(--nile-colors-primary-600, var(--ng-colors-
|
|
6368
|
+
background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary));
|
|
6369
|
+
color: var(--nile-colors-primary-600, var(--ng-colors-bg-brand-solid));
|
|
6370
6370
|
opacity: 1;
|
|
6371
6371
|
border-radius: var(--nile-radius-none, var(--ng-radius-sm));
|
|
6372
6372
|
}
|
|
@@ -6570,8 +6570,8 @@ class no{constructor(e){this._element=null;const t=e??window;this._node=t,e&&(th
|
|
|
6570
6570
|
}
|
|
6571
6571
|
|
|
6572
6572
|
.menu-item.menu-item--active {
|
|
6573
|
-
background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-
|
|
6574
|
-
color: var(--nile-colors-primary-600, var(--ng-colors-
|
|
6573
|
+
background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary));
|
|
6574
|
+
color: var(--nile-colors-primary-600, var(--ng-colors-bg-brand-solid));
|
|
6575
6575
|
}
|
|
6576
6576
|
|
|
6577
6577
|
.menu-item.menu-item--disabled {
|
|
@@ -6610,13 +6610,13 @@ class no{constructor(e){this._element=null;const t=e??window;this._node=t,e&&(th
|
|
|
6610
6610
|
}
|
|
6611
6611
|
|
|
6612
6612
|
:host(:hover:not([active], [aria-disabled='true'], :focus-visible)) .menu-item {
|
|
6613
|
-
background-color: var(--nile-colors-neutral-100,var(--ng-colors-bg-
|
|
6613
|
+
background-color: var(--nile-colors-neutral-100,var(--ng-colors-bg-secondary-hover));
|
|
6614
6614
|
color: var(--nile-colors-dark-900,var(--ng-colors-text-secondary-hover));
|
|
6615
6615
|
}
|
|
6616
6616
|
|
|
6617
6617
|
:host([active]:hover:not([aria-disabled='true'], :focus-visible)) .menu-item {
|
|
6618
|
-
background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-
|
|
6619
|
-
color: var(--nile-colors-primary-600, var(--ng-colors-
|
|
6618
|
+
background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary));
|
|
6619
|
+
color: var(--nile-colors-primary-600, var(--ng-colors-bg-brand-solid));
|
|
6620
6620
|
}
|
|
6621
6621
|
|
|
6622
6622
|
:host(:focus-visible) .menu-item {
|
|
@@ -9833,7 +9833,7 @@ ${this.showMonthDropdown||this.showYearDropdown?_`
|
|
|
9833
9833
|
}
|
|
9834
9834
|
|
|
9835
9835
|
.nile-button-toggle:hover {
|
|
9836
|
-
background: var(--nile-colors-neutral-100, var(--ng-colors-bg-
|
|
9836
|
+
background: var(--nile-colors-neutral-100, var(--ng-colors-bg-secondary-hover));
|
|
9837
9837
|
}
|
|
9838
9838
|
|
|
9839
9839
|
.nile-button-toggle:active {
|
|
@@ -9865,13 +9865,13 @@ ${this.showMonthDropdown||this.showYearDropdown?_`
|
|
|
9865
9865
|
}
|
|
9866
9866
|
|
|
9867
9867
|
.nile-button-toggle__active {
|
|
9868
|
-
background-color: var( --nile-colors-neutral-500, var(--ng-colors-bg-primary
|
|
9869
|
-
color: var(--nile-colors-dark-900, var(--ng-colors-
|
|
9868
|
+
background-color: var( --nile-colors-neutral-500, var(--ng-colors-bg-brand-primary) );
|
|
9869
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-bg-brand-solid));
|
|
9870
9870
|
}
|
|
9871
9871
|
|
|
9872
9872
|
.nile-button-toggle__active:hover {
|
|
9873
|
-
background-color: var(--nile-colors-neutral-500, var(--ng-colors-bg-primary
|
|
9874
|
-
color: var(--nile-colors-dark-900, var(--ng-colors-
|
|
9873
|
+
background-color: var(--nile-colors-neutral-500, var(--ng-colors-bg-brand-primary));
|
|
9874
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-bg-brand-solid));
|
|
9875
9875
|
}
|
|
9876
9876
|
|
|
9877
9877
|
.nile-button-toggle__disabled {
|
|
@@ -13732,7 +13732,13 @@ function*(e,t){if(void 0!==e){let i=0;for(const n of e)yield t(n,i++)}}
|
|
|
13732
13732
|
}
|
|
13733
13733
|
|
|
13734
13734
|
:host(:hover) {
|
|
13735
|
-
background-color: var(--nile-colors-neutral-400, var(
|
|
13735
|
+
background-color: var(--nile-colors-neutral-400, var(--ng-colors-bg-secondary-hover)); /* Change background color on hover */
|
|
13736
|
+
}
|
|
13737
|
+
|
|
13738
|
+
:host([selected]),
|
|
13739
|
+
:host([active]) {
|
|
13740
|
+
background-color: var(--ng-colors-bg-brand-primary); /* Selection background */
|
|
13741
|
+
color: var(--ng-colors-bg-brand-solid); /* Selection text and elements */
|
|
13736
13742
|
}
|
|
13737
13743
|
|
|
13738
13744
|
.preffix__icon {
|
|
@@ -14316,14 +14322,14 @@ function*(e,t){if(void 0!==e){let i=0;for(const n of e)yield t(n,i++)}}
|
|
|
14316
14322
|
}
|
|
14317
14323
|
|
|
14318
14324
|
.chip:hover {
|
|
14319
|
-
background-color: var(--nile-filter-chip-hover-background, var(--ng-colors-bg-
|
|
14325
|
+
background-color: var(--nile-filter-chip-hover-background, var(--ng-colors-bg-secondary-hover));
|
|
14320
14326
|
}
|
|
14321
14327
|
.chip:active {
|
|
14322
|
-
background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-
|
|
14328
|
+
background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));
|
|
14323
14329
|
border-color: var(--nile-filter-chip-active-border-color-stroke);
|
|
14324
14330
|
}
|
|
14325
14331
|
:host([active]) .chip {
|
|
14326
|
-
background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-
|
|
14332
|
+
background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));
|
|
14327
14333
|
border-color: var(--nile-filter-chip-active-border-color-stroke);
|
|
14328
14334
|
}
|
|
14329
14335
|
|
|
@@ -17050,7 +17056,7 @@ nile-badge::part(content) {
|
|
|
17050
17056
|
inline-size: 100%;
|
|
17051
17057
|
position: relative;
|
|
17052
17058
|
box-sizing: border-box;
|
|
17053
|
-
border: 1px solid var(--nile-colors-neutral-400,
|
|
17059
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));
|
|
17054
17060
|
border-radius: var(--nile-radius-md, var(--ng-radius-xl));
|
|
17055
17061
|
background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
|
|
17056
17062
|
max-height: 100%;
|
|
@@ -17885,7 +17891,7 @@ nile-rich-text-editor[disabled] .editor a {
|
|
|
17885
17891
|
</span>
|
|
17886
17892
|
`:B}
|
|
17887
17893
|
</button>
|
|
17888
|
-
`}};e([ue({type:String,reflect:!0})],qS.prototype,"color",void 0),e([ue({type:Boolean,reflect:!0})],qS.prototype,"active",void 0),qS=e([ge("nile-color-swatch")],qS);"undefined"!=typeof window&&(window.nileElementsVersion='"1.
|
|
17894
|
+
`}};e([ue({type:String,reflect:!0})],qS.prototype,"color",void 0),e([ue({type:Boolean,reflect:!0})],qS.prototype,"active",void 0),qS=e([ge("nile-color-swatch")],qS);"undefined"!=typeof window&&(window.nileElementsVersion='"1.9.0"',window.nileVersion="__NILE_VERSION__",window.process=window.process||{env:{NODE_ENV:"production"}});const KS=r`
|
|
17889
17895
|
:host {
|
|
17890
17896
|
|
|
17891
17897
|
top: 0;
|
|
@@ -20173,6 +20179,10 @@ a {
|
|
|
20173
20179
|
}
|
|
20174
20180
|
|
|
20175
20181
|
/* Hover */
|
|
20182
|
+
.nav-tab:hover:not(.nav-tab--disabled)::part(base),
|
|
20183
|
+
.nav-tab:hover:not(.nav-tab--disabled)::part(label) {
|
|
20184
|
+
text-decoration: none;
|
|
20185
|
+
}
|
|
20176
20186
|
.nav-tab:hover:not(.nav-tab--disabled)::part(base) {
|
|
20177
20187
|
color: var(--nile-colors-dark-500, var(--ng-colors-text-brand-secondary-700));
|
|
20178
20188
|
background-color: var(--tab-hover-background-color);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var r,_templateObject,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){r=_lit.css;}],execute:function execute(){_export("s",n=r(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .nile-button-toggle {\n display: flex;\n padding: var(--nile-spacing-sm, var(--ng-spacing-md))\n var(--nile-spacing-xl, var(--ng-spacing-xl))\n var(--nile-spacing-sm, var(--ng-spacing-md))\n var(--nile-spacing-14px, var(--ng-spacing-xl));\n border: 1px solid var(--nile-colors-neutral-500, var(--ng-colors-border-primary));\n cursor: pointer;\n border-radius: var(--nile-radius-radius-xs, var(--ng-radius-md));\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-semibold));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-secondary-700));\n text-align: center;\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 line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n justify-content: center;\n align-items: center;\n gap: var(--nile-spacing-md, var(--ng-spacing-md));\n height: 40px;\n box-sizing: border-box;\n }\n\n .nile-button-toggle:hover {\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-
|
|
1
|
+
System.register(["lit"],function(_export,_context){"use strict";var r,_templateObject,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){r=_lit.css;}],execute:function execute(){_export("s",n=r(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .nile-button-toggle {\n display: flex;\n padding: var(--nile-spacing-sm, var(--ng-spacing-md))\n var(--nile-spacing-xl, var(--ng-spacing-xl))\n var(--nile-spacing-sm, var(--ng-spacing-md))\n var(--nile-spacing-14px, var(--ng-spacing-xl));\n border: 1px solid var(--nile-colors-neutral-500, var(--ng-colors-border-primary));\n cursor: pointer;\n border-radius: var(--nile-radius-radius-xs, var(--ng-radius-md));\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-semibold));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-secondary-700));\n text-align: center;\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 line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n justify-content: center;\n align-items: center;\n gap: var(--nile-spacing-md, var(--ng-spacing-md));\n height: 40px;\n box-sizing: border-box;\n }\n\n .nile-button-toggle:hover {\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-secondary-hover));\n }\n\n .nile-button-toggle:active {\n background: var(--nile-colors-neutral-400, var(--ng-colors-bg-primary-hover));\n }\n\n .nile-button-toggle__initial {\n border-radius: \n var(--nile-radius-radius-xs, var(--ng-radius-md)) \n var(--nile-radius-radius-none, var(--ng-radius-none)) \n var(--nile-radius-radius-none, var(--ng-radius-none)) \n var(--nile-radius-radius-xs, var(--ng-radius-md));\n }\n\n .nile-button-toggle__end {\n border-radius: \n var(--nile-radius-radius-none, var(--ng-radius-none))\n var(--nile-radius-radius-xs, var(--ng-radius-md))\n var(--nile-radius-radius-xs, var(--ng-radius-md))\n var(--nile-radius-radius-none, var(--ng-radius-none));\n border-left: var(--nile-radius-radius-none, var(--ng-radius-none));\n }\n\n .nile-button-toggle__middle {\n border-width: 1px 1px 1px 0;\n border-style: solid;\n border-color: var(--nile-colors-neutral-500, var(--ng-colors-border-primary));\n border-radius: var(--nile-radius-radius-none, var(--ng-radius-none));\n }\n\n .nile-button-toggle__active {\n background-color: var( --nile-colors-neutral-500, var(--ng-colors-bg-brand-primary) );\n color: var(--nile-colors-dark-900, var(--ng-colors-bg-brand-solid));\n }\n\n .nile-button-toggle__active:hover {\n background-color: var(--nile-colors-neutral-500, var(--ng-colors-bg-brand-primary));\n color: var(--nile-colors-dark-900, var(--ng-colors-bg-brand-solid));\n }\n\n .nile-button-toggle__disabled {\n cursor: not-allowed;\n }\n"]))));}};});
|
|
2
2
|
//# sourceMappingURL=nile-button-toggle.css.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-button-toggle.css.cjs.js","sources":["../../../src/nile-button-toggle/nile-button-toggle.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 * ButtonToggle CSS\n */\nexport const styles = css`\n :host {\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .nile-button-toggle {\n display: flex;\n padding: var(--nile-spacing-sm, var(--ng-spacing-md))\n var(--nile-spacing-xl, var(--ng-spacing-xl))\n var(--nile-spacing-sm, var(--ng-spacing-md))\n var(--nile-spacing-14px, var(--ng-spacing-xl));\n border: 1px solid var(--nile-colors-neutral-500, var(--ng-colors-border-primary));\n cursor: pointer;\n border-radius: var(--nile-radius-radius-xs, var(--ng-radius-md));\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-semibold));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-secondary-700));\n text-align: center;\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 line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n justify-content: center;\n align-items: center;\n gap: var(--nile-spacing-md, var(--ng-spacing-md));\n height: 40px;\n box-sizing: border-box;\n }\n\n .nile-button-toggle:hover {\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-
|
|
1
|
+
{"version":3,"file":"nile-button-toggle.css.cjs.js","sources":["../../../src/nile-button-toggle/nile-button-toggle.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 * ButtonToggle CSS\n */\nexport const styles = css`\n :host {\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n }\n\n .nile-button-toggle {\n display: flex;\n padding: var(--nile-spacing-sm, var(--ng-spacing-md))\n var(--nile-spacing-xl, var(--ng-spacing-xl))\n var(--nile-spacing-sm, var(--ng-spacing-md))\n var(--nile-spacing-14px, var(--ng-spacing-xl));\n border: 1px solid var(--nile-colors-neutral-500, var(--ng-colors-border-primary));\n cursor: pointer;\n border-radius: var(--nile-radius-radius-xs, var(--ng-radius-md));\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-semibold));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-secondary-700));\n text-align: center;\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 line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n justify-content: center;\n align-items: center;\n gap: var(--nile-spacing-md, var(--ng-spacing-md));\n height: 40px;\n box-sizing: border-box;\n }\n\n .nile-button-toggle:hover {\n background: var(--nile-colors-neutral-100, var(--ng-colors-bg-secondary-hover));\n }\n\n .nile-button-toggle:active {\n background: var(--nile-colors-neutral-400, var(--ng-colors-bg-primary-hover));\n }\n\n .nile-button-toggle__initial {\n border-radius: \n var(--nile-radius-radius-xs, var(--ng-radius-md)) \n var(--nile-radius-radius-none, var(--ng-radius-none)) \n var(--nile-radius-radius-none, var(--ng-radius-none)) \n var(--nile-radius-radius-xs, var(--ng-radius-md));\n }\n\n .nile-button-toggle__end {\n border-radius: \n var(--nile-radius-radius-none, var(--ng-radius-none))\n var(--nile-radius-radius-xs, var(--ng-radius-md))\n var(--nile-radius-radius-xs, var(--ng-radius-md))\n var(--nile-radius-radius-none, var(--ng-radius-none));\n border-left: var(--nile-radius-radius-none, var(--ng-radius-none));\n }\n\n .nile-button-toggle__middle {\n border-width: 1px 1px 1px 0;\n border-style: solid;\n border-color: var(--nile-colors-neutral-500, var(--ng-colors-border-primary));\n border-radius: var(--nile-radius-radius-none, var(--ng-radius-none));\n }\n\n .nile-button-toggle__active {\n background-color: var( --nile-colors-neutral-500, var(--ng-colors-bg-brand-primary) );\n color: var(--nile-colors-dark-900, var(--ng-colors-bg-brand-solid));\n }\n\n .nile-button-toggle__active:hover {\n background-color: var(--nile-colors-neutral-500, var(--ng-colors-bg-brand-primary));\n color: var(--nile-colors-dark-900, var(--ng-colors-bg-brand-solid));\n }\n\n .nile-button-toggle__disabled {\n cursor: not-allowed;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -29,7 +29,7 @@ import{css as r}from"lit";const n=r`
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.nile-button-toggle:hover {
|
|
32
|
-
background: var(--nile-colors-neutral-100, var(--ng-colors-bg-
|
|
32
|
+
background: var(--nile-colors-neutral-100, var(--ng-colors-bg-secondary-hover));
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.nile-button-toggle:active {
|
|
@@ -61,13 +61,13 @@ import{css as r}from"lit";const n=r`
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.nile-button-toggle__active {
|
|
64
|
-
background-color: var( --nile-colors-neutral-500, var(--ng-colors-bg-primary
|
|
65
|
-
color: var(--nile-colors-dark-900, var(--ng-colors-
|
|
64
|
+
background-color: var( --nile-colors-neutral-500, var(--ng-colors-bg-brand-primary) );
|
|
65
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-bg-brand-solid));
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.nile-button-toggle__active:hover {
|
|
69
|
-
background-color: var(--nile-colors-neutral-500, var(--ng-colors-bg-primary
|
|
70
|
-
color: var(--nile-colors-dark-900, var(--ng-colors-
|
|
69
|
+
background-color: var(--nile-colors-neutral-500, var(--ng-colors-bg-brand-primary));
|
|
70
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-bg-brand-solid));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.nile-button-toggle__disabled {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var r,_templateObject,
|
|
1
|
+
System.register(["lit"],function(_export,_context){"use strict";var r,_templateObject,o;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){r=_lit.css;}],execute:function execute(){_export("s",o=r(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\n :host{\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 .filter-chips {\n display: flex;\n align-items: center;\n }\n\n\n .chip {\n display: inline-flex;\n align-items: center;\n height: 30px;\n padding: 8px;\n border: 1px solid var(--nile-filter-chip-chip-border-color-stroke, var(--ng-colors-border-primary));\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n font-size: 14px;\n background-color: var(--nile-filter-chip-background-default, var(--ng-colors-bg-primary));\n color: var(--nile-filter-chip-text-default, var(--ng-colors-text-secondary-700));\n transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;\n cursor: pointer;\n box-sizing: border-box;\n }\n\n .chip:hover {\n background-color: var(--nile-filter-chip-hover-background, var(--ng-colors-bg-secondary-hover));\n }\n .chip:active {\n background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));\n border-color: var(--nile-filter-chip-active-border-color-stroke);\n}\n:host([active]) .chip {\n background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));\n border-color: var(--nile-filter-chip-active-border-color-stroke);\n}\n\n\n .icon {\n color: var(--nile-filter-chip-icon-color-default, var(--ng-colors-text-primary-900));\n display: flex;\n align-items: center;\n justify-content: center;\n vertical-align: middle;\n position: relative;\n top: 12px;\n }\n\n .label {\n font-weight: 500;\n color: var(--nile-filter-chip-label-color-default, var(--ng-colors-text-primary-900));\n }\n\n nile-badge::part(base) {\n width: auto;\n height: 14px;\n border-radius: 100px;\n padding: 6px;\n gap: 10px;\n font-size: 8px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n }\n\n .chip-container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n }\n\n .clear-all-container {\n margin-left: 18px;\n white-space: nowrap;\n cursor: pointer;\n }\n\n\n .value {\n color: var(--nile-filter-chip-values-color-default, var(--ng-colors-text-brand-secondary-700));\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 140px;\n vertical-align: bottom;\n}\n\n\n .close-icon {\n color: var(--nile-filter-chip-close-icon-color-default, var(--ng-componentcolors-utility-gray-400));\n cursor: pointer;\n display: flex;\n align-items: center;\n border-radius: 50%;\n transition: background-color 0.2s;\n }\n\n .close-icon:hover {\n background-color: var(--nile-filter-chip-close-icon-hover-background, var(--ng-colors-bg-primary-hover));\n color: var(--nile-filter-chip-close-icon-hover-color, var(--ng-componentcolors-utility-gray-500));\n }\n\n.label-wrapper {\n margin-right: 4px;\n}\n\n::slotted([slot=\"icon\"]) {\n margin-right: 6px;\n}\n\n.value-wrapper {\n margin-right: 4px; \n}\n\n.badge-wrapper {\n margin-right: 12px; \n}\n\n.badge{\n display: inline-flex;\n align-items: center;\n height: 20px; \n}\n\nnile-badge::part(content) {\n line-height: 20px;\n}\n\n:host([disabled]) .chip {\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-disabled-subtle));\n border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-disabled));\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-secondary-700));\n cursor: not-allowed;\n opacity: var(--nile-opacity-100, var(--ng-opacity-50));\n}\n\n:host([disabled]) .label {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-secondary-700));\n font-family:colfax-regular;\n user-select: none;\n -webkit-user-select: none;\n}\n\n:host([disabled]) .value {\n color: var(--nile-colors-primary-500, var(--ng-colors-text-brand-secondary-700));\n user-select: none;\n -webkit-user-select: none;\n}\n\n:host([disabled]) nile-badge::part(base) {\n background-color: var(--nile-colors-primary-500,var(--ng-colors-text-brand-secondary-700));\n color: var(--nile-colors-white-base, var(--ng-colors-text-white));\n user-select: none;\n -webkit-user-select: none;\n}\n\n"]))));}};});
|
|
2
2
|
//# sourceMappingURL=nile-filter-chip.css.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-filter-chip.css.cjs.js","sources":["../../../src/nile-filter-chip/nile-filter-chip.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 * FilterChip CSS\n */\n\nexport const styles = css`\n\n :host{\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 .filter-chips {\n display: flex;\n align-items: center;\n }\n\n\n .chip {\n display: inline-flex;\n align-items: center;\n height: 30px;\n padding: 8px;\n border: 1px solid var(--nile-filter-chip-chip-border-color-stroke, var(--ng-colors-border-primary));\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n font-size: 14px;\n background-color: var(--nile-filter-chip-background-default, var(--ng-colors-bg-primary));\n color: var(--nile-filter-chip-text-default, var(--ng-colors-text-secondary-700));\n transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;\n cursor: pointer;\n box-sizing: border-box;\n }\n\n .chip:hover {\n background-color: var(--nile-filter-chip-hover-background, var(--ng-colors-bg-
|
|
1
|
+
{"version":3,"file":"nile-filter-chip.css.cjs.js","sources":["../../../src/nile-filter-chip/nile-filter-chip.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 * FilterChip CSS\n */\n\nexport const styles = css`\n\n :host{\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 .filter-chips {\n display: flex;\n align-items: center;\n }\n\n\n .chip {\n display: inline-flex;\n align-items: center;\n height: 30px;\n padding: 8px;\n border: 1px solid var(--nile-filter-chip-chip-border-color-stroke, var(--ng-colors-border-primary));\n border-radius: var(--nile-radius-sm, var(--ng-radius-md));\n font-size: 14px;\n background-color: var(--nile-filter-chip-background-default, var(--ng-colors-bg-primary));\n color: var(--nile-filter-chip-text-default, var(--ng-colors-text-secondary-700));\n transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;\n cursor: pointer;\n box-sizing: border-box;\n }\n\n .chip:hover {\n background-color: var(--nile-filter-chip-hover-background, var(--ng-colors-bg-secondary-hover));\n }\n .chip:active {\n background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));\n border-color: var(--nile-filter-chip-active-border-color-stroke);\n}\n:host([active]) .chip {\n background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));\n border-color: var(--nile-filter-chip-active-border-color-stroke);\n}\n\n\n .icon {\n color: var(--nile-filter-chip-icon-color-default, var(--ng-colors-text-primary-900));\n display: flex;\n align-items: center;\n justify-content: center;\n vertical-align: middle;\n position: relative;\n top: 12px;\n }\n\n .label {\n font-weight: 500;\n color: var(--nile-filter-chip-label-color-default, var(--ng-colors-text-primary-900));\n }\n\n nile-badge::part(base) {\n width: auto;\n height: 14px;\n border-radius: 100px;\n padding: 6px;\n gap: 10px;\n font-size: 8px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n }\n\n .chip-container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n }\n\n .clear-all-container {\n margin-left: 18px;\n white-space: nowrap;\n cursor: pointer;\n }\n\n\n .value {\n color: var(--nile-filter-chip-values-color-default, var(--ng-colors-text-brand-secondary-700));\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 140px;\n vertical-align: bottom;\n}\n\n\n .close-icon {\n color: var(--nile-filter-chip-close-icon-color-default, var(--ng-componentcolors-utility-gray-400));\n cursor: pointer;\n display: flex;\n align-items: center;\n border-radius: 50%;\n transition: background-color 0.2s;\n }\n\n .close-icon:hover {\n background-color: var(--nile-filter-chip-close-icon-hover-background, var(--ng-colors-bg-primary-hover));\n color: var(--nile-filter-chip-close-icon-hover-color, var(--ng-componentcolors-utility-gray-500));\n }\n\n.label-wrapper {\n margin-right: 4px;\n}\n\n::slotted([slot=\"icon\"]) {\n margin-right: 6px;\n}\n\n.value-wrapper {\n margin-right: 4px; \n}\n\n.badge-wrapper {\n margin-right: 12px; \n}\n\n.badge{\n display: inline-flex;\n align-items: center;\n height: 20px; \n}\n\nnile-badge::part(content) {\n line-height: 20px;\n}\n\n:host([disabled]) .chip {\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-disabled-subtle));\n border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-disabled));\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-secondary-700));\n cursor: not-allowed;\n opacity: var(--nile-opacity-100, var(--ng-opacity-50));\n}\n\n:host([disabled]) .label {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-secondary-700));\n font-family:colfax-regular;\n user-select: none;\n -webkit-user-select: none;\n}\n\n:host([disabled]) .value {\n color: var(--nile-colors-primary-500, var(--ng-colors-text-brand-secondary-700));\n user-select: none;\n -webkit-user-select: none;\n}\n\n:host([disabled]) nile-badge::part(base) {\n background-color: var(--nile-colors-primary-500,var(--ng-colors-text-brand-secondary-700));\n color: var(--nile-colors-white-base, var(--ng-colors-text-white));\n user-select: none;\n -webkit-user-select: none;\n}\n\n`;\n\nexport default [styles];\n\n "],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAaaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{css as r}from"lit";const
|
|
1
|
+
import{css as r}from"lit";const o=r`
|
|
2
2
|
|
|
3
3
|
:host{
|
|
4
4
|
-webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));
|
|
@@ -28,14 +28,14 @@ import{css as r}from"lit";const e=r`
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.chip:hover {
|
|
31
|
-
background-color: var(--nile-filter-chip-hover-background, var(--ng-colors-bg-
|
|
31
|
+
background-color: var(--nile-filter-chip-hover-background, var(--ng-colors-bg-secondary-hover));
|
|
32
32
|
}
|
|
33
33
|
.chip:active {
|
|
34
|
-
background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-
|
|
34
|
+
background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));
|
|
35
35
|
border-color: var(--nile-filter-chip-active-border-color-stroke);
|
|
36
36
|
}
|
|
37
37
|
:host([active]) .chip {
|
|
38
|
-
background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-
|
|
38
|
+
background-color: var(--nile-filter-chip-active-background, var(--ng-colors-bg-brand-primary));
|
|
39
39
|
border-color: var(--nile-filter-chip-active-border-color-stroke);
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -161,4 +161,4 @@ nile-badge::part(content) {
|
|
|
161
161
|
-webkit-user-select: none;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
`;export{
|
|
164
|
+
`;export{o as s};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var o,_templateObject,r;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){o=_lit.css;}],execute:function execute(){_export("s",r=o(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n --min-width: 180px;\n display: grid;\n grid-template-rows: auto;\n overflow: auto;\n inline-size: 100%;\n position: relative;\n box-sizing: border-box;\n border: 1px solid var(--nile-colors-neutral-400,
|
|
1
|
+
System.register(["lit"],function(_export,_context){"use strict";var o,_templateObject,r;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){o=_lit.css;}],execute:function execute(){_export("s",r=o(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n --min-width: 180px;\n display: grid;\n grid-template-rows: auto;\n overflow: auto;\n inline-size: 100%;\n position: relative;\n box-sizing: border-box;\n border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));\n border-radius: var(--nile-radius-md, var(--ng-radius-xl));\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n max-height: 100%;\n width: 100%;\n min-width: var(--min-width);\n box-shadow: var(--nile-box-shadow-3, var(--ng-shadow-xs));\n }\n\n ::slotted(nile-grid-head),\n ::slotted(nile-grid-body) {\n inline-size: 100%;\n }\n\n .nile-resize-start,\n .nile-resize-end {\n position: absolute;\n z-index: 4;\n background-color: var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));\n width: 2px;\n height: 100%;\n top: 0;\n display: none;\n bottom: 0;\n }\n"]))));}};});
|
|
2
2
|
//# sourceMappingURL=nile-grid.css.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-grid.css.cjs.js","sources":["../../../src/nile-grid/nile-grid.css.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2025\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit';\n\nexport const styles = css`\n :host {\n --min-width: 180px;\n display: grid;\n grid-template-rows: auto;\n overflow: auto;\n inline-size: 100%;\n position: relative;\n box-sizing: border-box;\n border: 1px solid var(--nile-colors-neutral-400,
|
|
1
|
+
{"version":3,"file":"nile-grid.css.cjs.js","sources":["../../../src/nile-grid/nile-grid.css.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2025\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit';\n\nexport const styles = css`\n :host {\n --min-width: 180px;\n display: grid;\n grid-template-rows: auto;\n overflow: auto;\n inline-size: 100%;\n position: relative;\n box-sizing: border-box;\n border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));\n border-radius: var(--nile-radius-md, var(--ng-radius-xl));\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n max-height: 100%;\n width: 100%;\n min-width: var(--min-width);\n box-shadow: var(--nile-box-shadow-3, var(--ng-shadow-xs));\n }\n\n ::slotted(nile-grid-head),\n ::slotted(nile-grid-body) {\n inline-size: 100%;\n }\n\n .nile-resize-start,\n .nile-resize-end {\n position: absolute;\n z-index: 4;\n background-color: var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));\n width: 2px;\n height: 100%;\n top: 0;\n display: none;\n bottom: 0;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTASaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -7,7 +7,7 @@ import{css as o}from"lit";const r=o`
|
|
|
7
7
|
inline-size: 100%;
|
|
8
8
|
position: relative;
|
|
9
9
|
box-sizing: border-box;
|
|
10
|
-
border: 1px solid var(--nile-colors-neutral-400,
|
|
10
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));
|
|
11
11
|
border-radius: var(--nile-radius-md, var(--ng-radius-xl));
|
|
12
12
|
background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
|
|
13
13
|
max-height: 100%;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var
|
|
1
|
+
System.register(["lit"],function(_export,_context){"use strict";var n,_templateObject,i;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){n=_lit.css;}],execute:function execute(){_export("s",i=n(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: flex;\n padding: \n var(--nile-spacing-lg, var(--ng-spacing-lg)) \n var(--nile-spacing-xl, var(--ng-spacing-xl));\n flex-direction: row;\n align-items: flex-start;\n justify-content: start;\n position: relative;\n height: 100%;\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(:hover) {\n background-color: var(--nile-colors-neutral-400, var(--ng-colors-bg-secondary-hover)); /* Change background color on hover */\n }\n\n :host([selected]),\n :host([active]) {\n background-color: var(--ng-colors-bg-brand-primary); /* Selection background */\n color: var(--ng-colors-bg-brand-solid); /* Selection text and elements */\n }\n\n .preffix__icon {\n display: inline-block;\n margin-right: var(--nile-spacing-lg, var(--ng-spacing-lg));\n }\n\n .list__item {\n cursor: pointer;\n height: 100%;\n display: block;\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-md));\n }\n\n .content__wrapper {\n display: flex;\n flex-direction: column;\n gap: var(--nile-spacing-3px, var(--ng-spacing-xs));\n height: 100%;\n box-sizing: border-box;\n }\n\n .heading {\n display: inline-block;\n font-size: var(--nile-type-scale-5, var(--ng-font-size-text-lg));\n font-weight: var(--nile-font-weight-semi-bold, var(--ng-font-weight-semibold));\n }\n\n .subheading {\n display: inline-block;\n font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n }\n\n .list-item__suffix {\n display: inline-block;\n position: absolute;\n right: 16px;\n cursor: pointer;\n }\n"]))));}};});
|
|
2
2
|
//# sourceMappingURL=nile-list-item.css.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-list-item.css.cjs.js","sources":["../../../src/nile-list-item/nile-list-item.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 * ListItem CSS\n */\nexport const styles = css`\n :host {\n display: flex;\n padding: \n var(--nile-spacing-lg, var(--ng-spacing-lg)) \n var(--nile-spacing-xl, var(--ng-spacing-xl));\n flex-direction: row;\n align-items: flex-start;\n justify-content: start;\n position: relative;\n height: 100%;\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(:hover) {\n background-color: var(--nile-colors-neutral-400, var(
|
|
1
|
+
{"version":3,"file":"nile-list-item.css.cjs.js","sources":["../../../src/nile-list-item/nile-list-item.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 * ListItem CSS\n */\nexport const styles = css`\n :host {\n display: flex;\n padding: \n var(--nile-spacing-lg, var(--ng-spacing-lg)) \n var(--nile-spacing-xl, var(--ng-spacing-xl));\n flex-direction: row;\n align-items: flex-start;\n justify-content: start;\n position: relative;\n height: 100%;\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(:hover) {\n background-color: var(--nile-colors-neutral-400, var(--ng-colors-bg-secondary-hover)); /* Change background color on hover */\n }\n\n :host([selected]),\n :host([active]) {\n background-color: var(--ng-colors-bg-brand-primary); /* Selection background */\n color: var(--ng-colors-bg-brand-solid); /* Selection text and elements */\n }\n\n .preffix__icon {\n display: inline-block;\n margin-right: var(--nile-spacing-lg, var(--ng-spacing-lg));\n }\n\n .list__item {\n cursor: pointer;\n height: 100%;\n display: block;\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-md));\n }\n\n .content__wrapper {\n display: flex;\n flex-direction: column;\n gap: var(--nile-spacing-3px, var(--ng-spacing-xs));\n height: 100%;\n box-sizing: border-box;\n }\n\n .heading {\n display: inline-block;\n font-size: var(--nile-type-scale-5, var(--ng-font-size-text-lg));\n font-weight: var(--nile-font-weight-semi-bold, var(--ng-font-weight-semibold));\n }\n\n .subheading {\n display: inline-block;\n font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));\n }\n\n .list-item__suffix {\n display: inline-block;\n position: absolute;\n right: 16px;\n cursor: pointer;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{css as
|
|
1
|
+
import{css as n}from"lit";const i=n`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
padding:
|
|
@@ -15,7 +15,13 @@ import{css as i}from"lit";const n=i`
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
:host(:hover) {
|
|
18
|
-
background-color: var(--nile-colors-neutral-400, var(
|
|
18
|
+
background-color: var(--nile-colors-neutral-400, var(--ng-colors-bg-secondary-hover)); /* Change background color on hover */
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host([selected]),
|
|
22
|
+
:host([active]) {
|
|
23
|
+
background-color: var(--ng-colors-bg-brand-primary); /* Selection background */
|
|
24
|
+
color: var(--ng-colors-bg-brand-solid); /* Selection text and elements */
|
|
19
25
|
}
|
|
20
26
|
|
|
21
27
|
.preffix__icon {
|
|
@@ -56,4 +62,4 @@ import{css as i}from"lit";const n=i`
|
|
|
56
62
|
right: 16px;
|
|
57
63
|
cursor: pointer;
|
|
58
64
|
}
|
|
59
|
-
`;export{
|
|
65
|
+
`;export{i as s};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var e,_templateObject,i;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){e=_lit.css;}],execute:function execute(){_export("s",i=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\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 :host {\n display: block;\n }\n\n :host([inert]) {\n display: none;\n }\n\n .menu-item {\n position: relative;\n display: flex;\n align-items: stretch;\n font-size: var(--nile-font-size-rem-large ,var(--ng-font-size-text-sm));\n font-weight: var(--nile-font-weight-regular,var(--ng-font-weight-semibold));\n line-height: var(--nile-line-height-1-8,var(--ng-line-height-text-md));\n letter-spacing: normal;\n color: var(--nile-color-dark-1, var(--ng-colors-text-secondary-700));\n min-height:40px;\n transition: 150ms fill;\n user-select: none;\n white-space: nowrap;\n cursor: pointer;\n padding: var(--nile-spacing-none, var(--ng-spacing-md)) var(--nile-spacing-xl, var(--ng-spacing-xl));\n }\n\n .menu-item.menu-item--active {\n background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-
|
|
1
|
+
System.register(["lit"],function(_export,_context){"use strict";var e,_templateObject,i;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){e=_lit.css;}],execute:function execute(){_export("s",i=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\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 :host {\n display: block;\n }\n\n :host([inert]) {\n display: none;\n }\n\n .menu-item {\n position: relative;\n display: flex;\n align-items: stretch;\n font-size: var(--nile-font-size-rem-large ,var(--ng-font-size-text-sm));\n font-weight: var(--nile-font-weight-regular,var(--ng-font-weight-semibold));\n line-height: var(--nile-line-height-1-8,var(--ng-line-height-text-md));\n letter-spacing: normal;\n color: var(--nile-color-dark-1, var(--ng-colors-text-secondary-700));\n min-height:40px;\n transition: 150ms fill;\n user-select: none;\n white-space: nowrap;\n cursor: pointer;\n padding: var(--nile-spacing-none, var(--ng-spacing-md)) var(--nile-spacing-xl, var(--ng-spacing-xl));\n }\n\n .menu-item.menu-item--active {\n background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary));\n color: var(--nile-colors-primary-600, var(--ng-colors-bg-brand-solid));\n }\n\n .menu-item.menu-item--disabled {\n outline: none;\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .menu-item .menu-item__label {\n margin: auto var(--nile-spacing-none,var(--ng-spacing-none));\n display: inline-flex;\n }\n\n .menu-item .menu-item__prefix {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n }\n\n .menu-item .menu-item__prefix::slotted(*) {\n margin-inline-end: var(--nile-font-size-rem-xsmall,var(--ng-spacing-md));\n }\n\n .menu-item .menu-item__suffix {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n }\n\n .menu-item .menu-item__suffix::slotted(*) {\n margin-inline-start: var(--nile-font-size-rem-xsmall,var(--ng-spacing-md));\n }\n\n :host(:focus-visible) {\n outline: none;\n }\n\n :host(:hover:not([active], [aria-disabled='true'], :focus-visible)) .menu-item {\n background-color: var(--nile-colors-neutral-100,var(--ng-colors-bg-secondary-hover));\n color: var(--nile-colors-dark-900,var(--ng-colors-text-secondary-hover));\n }\n\n :host([active]:hover:not([aria-disabled='true'], :focus-visible)) .menu-item {\n background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary));\n color: var(--nile-colors-primary-600, var(--ng-colors-bg-brand-solid));\n }\n\n :host(:focus-visible) .menu-item {\n outline: none;\n background-color: var(--nile-colors-blue-500,var(--ng-colors-bg-active));\n color: var(--nile-colors-white-base,var(--ng-colors-text-primary-900));\n opacity: 1;\n }\n\n .menu-item .menu-item__check,\n .menu-item .menu-item__chevron {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 1.5em;\n visibility: hidden;\n }\n\n .menu-item--checked .menu-item__check,\n .menu-item--has-submenu .menu-item__chevron {\n visibility: visible;\n }\n\n @media (forced-colors: active) {\n :host(:hover:not([aria-disabled='true'])) .menu-item,\n :host(:focus-visible) .menu-item {\n outline: dashed 1px SelectedItem;\n outline-offset: -1px;\n }\n }\n"]))));}};});
|
|
2
2
|
//# sourceMappingURL=nile-menu-item.css.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-menu-item.css.cjs.js","sources":["../../../src/nile-menu-item/nile-menu-item.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 * MenuItem 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 :host {\n display: block;\n }\n\n :host([inert]) {\n display: none;\n }\n\n .menu-item {\n position: relative;\n display: flex;\n align-items: stretch;\n font-size: var(--nile-font-size-rem-large ,var(--ng-font-size-text-sm));\n font-weight: var(--nile-font-weight-regular,var(--ng-font-weight-semibold));\n line-height: var(--nile-line-height-1-8,var(--ng-line-height-text-md));\n letter-spacing: normal;\n color: var(--nile-color-dark-1, var(--ng-colors-text-secondary-700));\n min-height:40px;\n transition: 150ms fill;\n user-select: none;\n white-space: nowrap;\n cursor: pointer;\n padding: var(--nile-spacing-none, var(--ng-spacing-md)) var(--nile-spacing-xl, var(--ng-spacing-xl));\n }\n\n .menu-item.menu-item--active {\n background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-
|
|
1
|
+
{"version":3,"file":"nile-menu-item.css.cjs.js","sources":["../../../src/nile-menu-item/nile-menu-item.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 * MenuItem 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 :host {\n display: block;\n }\n\n :host([inert]) {\n display: none;\n }\n\n .menu-item {\n position: relative;\n display: flex;\n align-items: stretch;\n font-size: var(--nile-font-size-rem-large ,var(--ng-font-size-text-sm));\n font-weight: var(--nile-font-weight-regular,var(--ng-font-weight-semibold));\n line-height: var(--nile-line-height-1-8,var(--ng-line-height-text-md));\n letter-spacing: normal;\n color: var(--nile-color-dark-1, var(--ng-colors-text-secondary-700));\n min-height:40px;\n transition: 150ms fill;\n user-select: none;\n white-space: nowrap;\n cursor: pointer;\n padding: var(--nile-spacing-none, var(--ng-spacing-md)) var(--nile-spacing-xl, var(--ng-spacing-xl));\n }\n\n .menu-item.menu-item--active {\n background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary));\n color: var(--nile-colors-primary-600, var(--ng-colors-bg-brand-solid));\n }\n\n .menu-item.menu-item--disabled {\n outline: none;\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .menu-item .menu-item__label {\n margin: auto var(--nile-spacing-none,var(--ng-spacing-none));\n display: inline-flex;\n }\n\n .menu-item .menu-item__prefix {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n }\n\n .menu-item .menu-item__prefix::slotted(*) {\n margin-inline-end: var(--nile-font-size-rem-xsmall,var(--ng-spacing-md));\n }\n\n .menu-item .menu-item__suffix {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n }\n\n .menu-item .menu-item__suffix::slotted(*) {\n margin-inline-start: var(--nile-font-size-rem-xsmall,var(--ng-spacing-md));\n }\n\n :host(:focus-visible) {\n outline: none;\n }\n\n :host(:hover:not([active], [aria-disabled='true'], :focus-visible)) .menu-item {\n background-color: var(--nile-colors-neutral-100,var(--ng-colors-bg-secondary-hover));\n color: var(--nile-colors-dark-900,var(--ng-colors-text-secondary-hover));\n }\n\n :host([active]:hover:not([aria-disabled='true'], :focus-visible)) .menu-item {\n background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary));\n color: var(--nile-colors-primary-600, var(--ng-colors-bg-brand-solid));\n }\n\n :host(:focus-visible) .menu-item {\n outline: none;\n background-color: var(--nile-colors-blue-500,var(--ng-colors-bg-active));\n color: var(--nile-colors-white-base,var(--ng-colors-text-primary-900));\n opacity: 1;\n }\n\n .menu-item .menu-item__check,\n .menu-item .menu-item__chevron {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 1.5em;\n visibility: hidden;\n }\n\n .menu-item--checked .menu-item__check,\n .menu-item--has-submenu .menu-item__chevron {\n visibility: visible;\n }\n\n @media (forced-colors: active) {\n :host(:hover:not([aria-disabled='true'])) .menu-item,\n :host(:focus-visible) .menu-item {\n outline: dashed 1px SelectedItem;\n outline-offset: -1px;\n }\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -42,8 +42,8 @@ import{css as e}from"lit";const i=e`
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.menu-item.menu-item--active {
|
|
45
|
-
background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-
|
|
46
|
-
color: var(--nile-colors-primary-600, var(--ng-colors-
|
|
45
|
+
background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary));
|
|
46
|
+
color: var(--nile-colors-primary-600, var(--ng-colors-bg-brand-solid));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.menu-item.menu-item--disabled {
|
|
@@ -82,13 +82,13 @@ import{css as e}from"lit";const i=e`
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
:host(:hover:not([active], [aria-disabled='true'], :focus-visible)) .menu-item {
|
|
85
|
-
background-color: var(--nile-colors-neutral-100,var(--ng-colors-bg-
|
|
85
|
+
background-color: var(--nile-colors-neutral-100,var(--ng-colors-bg-secondary-hover));
|
|
86
86
|
color: var(--nile-colors-dark-900,var(--ng-colors-text-secondary-hover));
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
:host([active]:hover:not([aria-disabled='true'], :focus-visible)) .menu-item {
|
|
90
|
-
background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-
|
|
91
|
-
color: var(--nile-colors-primary-600, var(--ng-colors-
|
|
90
|
+
background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary));
|
|
91
|
+
color: var(--nile-colors-primary-600, var(--ng-colors-bg-brand-solid));
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
:host(:focus-visible) .menu-item {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var a,_templateObject,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){a=_lit.css;}],execute:function execute(){_export("s",n=a(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n \n [hidden] {\n display: none;\n }\n\n :host {\n display: flex;\n flex-direction: column;\n align-self: stretch;\n position: relative;\n\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 cursor: pointer;\n }\n\n :host([centered]) {\n flex: 1;\n text-align: center;\n }\n\n /* --------------------------------------------------------------------------\n * Tab shell (list item)\n * -------------------------------------------------------------------------- */\n\n .nav-tab-container {\n flex: 1 1 auto;\n width: var(--nav-tab-item-width);\n padding: 0;\n box-sizing: border-box;\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-transparent-border);\n transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;\n position: relative;\n display: flex;\n align-items: stretch;\n list-style: none;\n overflow: var(--nile-nav-tab-container-overflow);\n margin-top: var(--nile-nav-tab-margin);\n margin-bottom: var(--nile-nav-tab-margin);\n \n }\n\n /* --------------------------------------------------------------------------\n * nile-link wrapper + internal <a> (part base)\n * -------------------------------------------------------------------------- */\n\n .nav-tab {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-width: 0;\n min-height: 0;\n align-items: center;\n box-sizing: border-box;\n }\n\n .nav-tab::part(base) {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-height: 100%;\n height: 100%;\n align-items: center;\n justify-content: var(--justify-content);\n white-space: var(--white-space, nowrap);\n user-select: none;\n transition: 0.2s box-shadow, 0.2s color;\n gap: var(--nile-spacing-md, var(--ng-spacing-md));\n box-sizing: border-box;\n text-decoration: none;\n font-family: var(--nile-font-family-medium, 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-semibold));\n line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n word-break: var(--word-break);\n overflow-wrap: var(--overflow-wrap);\n text-align: var(--text-align);\n padding: var(--nile-nav-tab-padding);\n }\n\n /* --------------------------------------------------------------------------\n * Host: active / hover (container + link color)\n * -------------------------------------------------------------------------- */\n\n :host([active]) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-active);\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-hover);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container ::part(base) {\n color: var(--nile-nav-tab-text-color-hover, var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700)));\n }\n\n /* --------------------------------------------------------------------------\n * nile-link part: label inherits anchor\n * -------------------------------------------------------------------------- */\n\n .nav-tab::part(label) {\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n }\n\n /* --------------------------------------------------------------------------\n * Interaction states (::part base)\n * -------------------------------------------------------------------------- */\n\n /* Default (inactive) */\n .nav-tab:not(.nav-tab--active):not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-secondary-700));\n }\n\n /* Hover */\n .nav-tab:hover:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-brand-secondary-700));\n background-color: var(--tab-hover-background-color);\n }\n\n /* Focus \u2014 roving tabindex is on :host; inner link stays tabindex=-1 */\n :host(:focus-visible:not([disabled])) .nav-tab::part(base) {\n color: var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700));\n }\n\n /* Active */\n .nav-tab.nav-tab--active:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-nav-tab-active-color, var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700)));\n background-color: var(--tab-active-background-color);\n }\n\n /* --------------------------------------------------------------------------\n * Disabled\n * -------------------------------------------------------------------------- */\n\n .nav-tab.nav-tab--disabled {\n cursor: not-allowed;\n }\n\n :host([disabled]) .nav-tab-container {\n cursor: not-allowed;\n }\n\n .nav-tab.nav-tab--disabled::part(base) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n cursor: not-allowed;\n pointer-events: none;\n }\n\n .nav-tab.nav-tab--disabled::part(label) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n }\n\n .nav-tab.nav-tab--disabled:hover::part(base),\n :host([disabled]:focus-visible) .nav-tab::part(base) {\n background-color: transparent;\n }\n\n /* --------------------------------------------------------------------------\n * Closable: close button\n * -------------------------------------------------------------------------- */\n\n .nav-tab__close-button {\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n margin-inline-start: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n .nav-tab__close-button::part(base) {\n padding: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n \n"]))));}};});
|
|
1
|
+
System.register(["lit"],function(_export,_context){"use strict";var a,_templateObject,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){a=_lit.css;}],execute:function execute(){_export("s",n=a(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n \n [hidden] {\n display: none;\n }\n\n :host {\n display: flex;\n flex-direction: column;\n align-self: stretch;\n position: relative;\n\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 cursor: pointer;\n }\n\n :host([centered]) {\n flex: 1;\n text-align: center;\n }\n\n /* --------------------------------------------------------------------------\n * Tab shell (list item)\n * -------------------------------------------------------------------------- */\n\n .nav-tab-container {\n flex: 1 1 auto;\n width: var(--nav-tab-item-width);\n padding: 0;\n box-sizing: border-box;\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-transparent-border);\n transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;\n position: relative;\n display: flex;\n align-items: stretch;\n list-style: none;\n overflow: var(--nile-nav-tab-container-overflow);\n margin-top: var(--nile-nav-tab-margin);\n margin-bottom: var(--nile-nav-tab-margin);\n \n }\n\n /* --------------------------------------------------------------------------\n * nile-link wrapper + internal <a> (part base)\n * -------------------------------------------------------------------------- */\n\n .nav-tab {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-width: 0;\n min-height: 0;\n align-items: center;\n box-sizing: border-box;\n }\n\n .nav-tab::part(base) {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-height: 100%;\n height: 100%;\n align-items: center;\n justify-content: var(--justify-content);\n white-space: var(--white-space, nowrap);\n user-select: none;\n transition: 0.2s box-shadow, 0.2s color;\n gap: var(--nile-spacing-md, var(--ng-spacing-md));\n box-sizing: border-box;\n text-decoration: none;\n font-family: var(--nile-font-family-medium, 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-semibold));\n line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n word-break: var(--word-break);\n overflow-wrap: var(--overflow-wrap);\n text-align: var(--text-align);\n padding: var(--nile-nav-tab-padding);\n }\n\n /* --------------------------------------------------------------------------\n * Host: active / hover (container + link color)\n * -------------------------------------------------------------------------- */\n\n :host([active]) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-active);\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-hover);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container ::part(base) {\n color: var(--nile-nav-tab-text-color-hover, var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700)));\n }\n\n /* --------------------------------------------------------------------------\n * nile-link part: label inherits anchor\n * -------------------------------------------------------------------------- */\n\n .nav-tab::part(label) {\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n }\n\n /* --------------------------------------------------------------------------\n * Interaction states (::part base)\n * -------------------------------------------------------------------------- */\n\n /* Default (inactive) */\n .nav-tab:not(.nav-tab--active):not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-secondary-700));\n }\n\n /* Hover */\n .nav-tab:hover:not(.nav-tab--disabled)::part(base),\n .nav-tab:hover:not(.nav-tab--disabled)::part(label) {\n text-decoration: none;\n }\n .nav-tab:hover:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-brand-secondary-700));\n background-color: var(--tab-hover-background-color);\n }\n\n /* Focus \u2014 roving tabindex is on :host; inner link stays tabindex=-1 */\n :host(:focus-visible:not([disabled])) .nav-tab::part(base) {\n color: var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700));\n }\n\n /* Active */\n .nav-tab.nav-tab--active:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-nav-tab-active-color, var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700)));\n background-color: var(--tab-active-background-color);\n }\n\n /* --------------------------------------------------------------------------\n * Disabled\n * -------------------------------------------------------------------------- */\n\n .nav-tab.nav-tab--disabled {\n cursor: not-allowed;\n }\n\n :host([disabled]) .nav-tab-container {\n cursor: not-allowed;\n }\n\n .nav-tab.nav-tab--disabled::part(base) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n cursor: not-allowed;\n pointer-events: none;\n }\n\n .nav-tab.nav-tab--disabled::part(label) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n }\n\n .nav-tab.nav-tab--disabled:hover::part(base),\n :host([disabled]:focus-visible) .nav-tab::part(base) {\n background-color: transparent;\n }\n\n /* --------------------------------------------------------------------------\n * Closable: close button\n * -------------------------------------------------------------------------- */\n\n .nav-tab__close-button {\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n margin-inline-start: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n .nav-tab__close-button::part(base) {\n padding: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n \n"]))));}};});
|
|
2
2
|
//# sourceMappingURL=nile-nav-tab.css.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-nav-tab.css.cjs.js","sources":["../../../src/nile-nav-tab/nile-nav-tab.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\nexport const styles = css`\n \n [hidden] {\n display: none;\n }\n\n :host {\n display: flex;\n flex-direction: column;\n align-self: stretch;\n position: relative;\n\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 cursor: pointer;\n }\n\n :host([centered]) {\n flex: 1;\n text-align: center;\n }\n\n /* --------------------------------------------------------------------------\n * Tab shell (list item)\n * -------------------------------------------------------------------------- */\n\n .nav-tab-container {\n flex: 1 1 auto;\n width: var(--nav-tab-item-width);\n padding: 0;\n box-sizing: border-box;\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-transparent-border);\n transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;\n position: relative;\n display: flex;\n align-items: stretch;\n list-style: none;\n overflow: var(--nile-nav-tab-container-overflow);\n margin-top: var(--nile-nav-tab-margin);\n margin-bottom: var(--nile-nav-tab-margin);\n \n }\n\n /* --------------------------------------------------------------------------\n * nile-link wrapper + internal <a> (part base)\n * -------------------------------------------------------------------------- */\n\n .nav-tab {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-width: 0;\n min-height: 0;\n align-items: center;\n box-sizing: border-box;\n }\n\n .nav-tab::part(base) {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-height: 100%;\n height: 100%;\n align-items: center;\n justify-content: var(--justify-content);\n white-space: var(--white-space, nowrap);\n user-select: none;\n transition: 0.2s box-shadow, 0.2s color;\n gap: var(--nile-spacing-md, var(--ng-spacing-md));\n box-sizing: border-box;\n text-decoration: none;\n font-family: var(--nile-font-family-medium, 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-semibold));\n line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n word-break: var(--word-break);\n overflow-wrap: var(--overflow-wrap);\n text-align: var(--text-align);\n padding: var(--nile-nav-tab-padding);\n }\n\n /* --------------------------------------------------------------------------\n * Host: active / hover (container + link color)\n * -------------------------------------------------------------------------- */\n\n :host([active]) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-active);\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-hover);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container ::part(base) {\n color: var(--nile-nav-tab-text-color-hover, var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700)));\n }\n\n /* --------------------------------------------------------------------------\n * nile-link part: label inherits anchor\n * -------------------------------------------------------------------------- */\n\n .nav-tab::part(label) {\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n }\n\n /* --------------------------------------------------------------------------\n * Interaction states (::part base)\n * -------------------------------------------------------------------------- */\n\n /* Default (inactive) */\n .nav-tab:not(.nav-tab--active):not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-secondary-700));\n }\n\n /* Hover */\n .nav-tab:hover:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-brand-secondary-700));\n background-color: var(--tab-hover-background-color);\n }\n\n /* Focus — roving tabindex is on :host; inner link stays tabindex=-1 */\n :host(:focus-visible:not([disabled])) .nav-tab::part(base) {\n color: var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700));\n }\n\n /* Active */\n .nav-tab.nav-tab--active:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-nav-tab-active-color, var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700)));\n background-color: var(--tab-active-background-color);\n }\n\n /* --------------------------------------------------------------------------\n * Disabled\n * -------------------------------------------------------------------------- */\n\n .nav-tab.nav-tab--disabled {\n cursor: not-allowed;\n }\n\n :host([disabled]) .nav-tab-container {\n cursor: not-allowed;\n }\n\n .nav-tab.nav-tab--disabled::part(base) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n cursor: not-allowed;\n pointer-events: none;\n }\n\n .nav-tab.nav-tab--disabled::part(label) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n }\n\n .nav-tab.nav-tab--disabled:hover::part(base),\n :host([disabled]:focus-visible) .nav-tab::part(base) {\n background-color: transparent;\n }\n\n /* --------------------------------------------------------------------------\n * Closable: close button\n * -------------------------------------------------------------------------- */\n\n .nav-tab__close-button {\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n margin-inline-start: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n .nav-tab__close-button::part(base) {\n padding: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n \n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTASaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
1
|
+
{"version":3,"file":"nile-nav-tab.css.cjs.js","sources":["../../../src/nile-nav-tab/nile-nav-tab.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\nexport const styles = css`\n \n [hidden] {\n display: none;\n }\n\n :host {\n display: flex;\n flex-direction: column;\n align-self: stretch;\n position: relative;\n\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 cursor: pointer;\n }\n\n :host([centered]) {\n flex: 1;\n text-align: center;\n }\n\n /* --------------------------------------------------------------------------\n * Tab shell (list item)\n * -------------------------------------------------------------------------- */\n\n .nav-tab-container {\n flex: 1 1 auto;\n width: var(--nav-tab-item-width);\n padding: 0;\n box-sizing: border-box;\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-transparent-border);\n transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;\n position: relative;\n display: flex;\n align-items: stretch;\n list-style: none;\n overflow: var(--nile-nav-tab-container-overflow);\n margin-top: var(--nile-nav-tab-margin);\n margin-bottom: var(--nile-nav-tab-margin);\n \n }\n\n /* --------------------------------------------------------------------------\n * nile-link wrapper + internal <a> (part base)\n * -------------------------------------------------------------------------- */\n\n .nav-tab {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-width: 0;\n min-height: 0;\n align-items: center;\n box-sizing: border-box;\n }\n\n .nav-tab::part(base) {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-height: 100%;\n height: 100%;\n align-items: center;\n justify-content: var(--justify-content);\n white-space: var(--white-space, nowrap);\n user-select: none;\n transition: 0.2s box-shadow, 0.2s color;\n gap: var(--nile-spacing-md, var(--ng-spacing-md));\n box-sizing: border-box;\n text-decoration: none;\n font-family: var(--nile-font-family-medium, 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-semibold));\n line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n word-break: var(--word-break);\n overflow-wrap: var(--overflow-wrap);\n text-align: var(--text-align);\n padding: var(--nile-nav-tab-padding);\n }\n\n /* --------------------------------------------------------------------------\n * Host: active / hover (container + link color)\n * -------------------------------------------------------------------------- */\n\n :host([active]) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-active);\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-hover);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container ::part(base) {\n color: var(--nile-nav-tab-text-color-hover, var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700)));\n }\n\n /* --------------------------------------------------------------------------\n * nile-link part: label inherits anchor\n * -------------------------------------------------------------------------- */\n\n .nav-tab::part(label) {\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n }\n\n /* --------------------------------------------------------------------------\n * Interaction states (::part base)\n * -------------------------------------------------------------------------- */\n\n /* Default (inactive) */\n .nav-tab:not(.nav-tab--active):not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-secondary-700));\n }\n\n /* Hover */\n .nav-tab:hover:not(.nav-tab--disabled)::part(base),\n .nav-tab:hover:not(.nav-tab--disabled)::part(label) {\n text-decoration: none;\n }\n .nav-tab:hover:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-brand-secondary-700));\n background-color: var(--tab-hover-background-color);\n }\n\n /* Focus — roving tabindex is on :host; inner link stays tabindex=-1 */\n :host(:focus-visible:not([disabled])) .nav-tab::part(base) {\n color: var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700));\n }\n\n /* Active */\n .nav-tab.nav-tab--active:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-nav-tab-active-color, var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700)));\n background-color: var(--tab-active-background-color);\n }\n\n /* --------------------------------------------------------------------------\n * Disabled\n * -------------------------------------------------------------------------- */\n\n .nav-tab.nav-tab--disabled {\n cursor: not-allowed;\n }\n\n :host([disabled]) .nav-tab-container {\n cursor: not-allowed;\n }\n\n .nav-tab.nav-tab--disabled::part(base) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n cursor: not-allowed;\n pointer-events: none;\n }\n\n .nav-tab.nav-tab--disabled::part(label) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n }\n\n .nav-tab.nav-tab--disabled:hover::part(base),\n :host([disabled]:focus-visible) .nav-tab::part(base) {\n background-color: transparent;\n }\n\n /* --------------------------------------------------------------------------\n * Closable: close button\n * -------------------------------------------------------------------------- */\n\n .nav-tab__close-button {\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n margin-inline-start: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n .nav-tab__close-button::part(base) {\n padding: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n \n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTASaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -130,6 +130,10 @@ import{css as a}from"lit";const n=a`
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
/* Hover */
|
|
133
|
+
.nav-tab:hover:not(.nav-tab--disabled)::part(base),
|
|
134
|
+
.nav-tab:hover:not(.nav-tab--disabled)::part(label) {
|
|
135
|
+
text-decoration: none;
|
|
136
|
+
}
|
|
133
137
|
.nav-tab:hover:not(.nav-tab--disabled)::part(base) {
|
|
134
138
|
color: var(--nile-colors-dark-500, var(--ng-colors-text-brand-secondary-700));
|
|
135
139
|
background-color: var(--tab-hover-background-color);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var i,_templateObject,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){i=_lit.css;}],execute:function execute(){_export("s",n=i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n user-select: none;\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(:focus) {\n outline: none;\n }\n\n .option {\n position: relative;\n display: flex;\n align-items: center;\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-md));\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-medium));\n line-height: var(--nile-line-height-1-8, var(--ng-line-height-text-md));\n letter-spacing: normal;\n color: var(--nile-color-dark-1, var(--ng-colors-text-primary-900));\n padding: var(--nile-spacing-sm, var(--ng-spacing-md)) var(--nile-spacing-none, var(--ng-spacing-none));\n transition: 150ms fill;\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n cursor: pointer;\n margin-bottom: var(--nile-spacing-none, var(--ng-spacing-xxs) )\n }\n :host([legacy]) .option {\n padding: var(--nile-spacing-sm, var(--ng-spacing-md)) var(--nile-spacing-none, var(--ng-spacing-md));\n }\n\n .option--single-select {\n padding: var(--nile-spacing-9px, var(--ng-spacing-md)) var(--nile-spacing-lg, var(--ng-spacing-md));\n }\n\n .option--hover:not(.option--current):not(.option--disabled) {\n background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-
|
|
1
|
+
System.register(["lit"],function(_export,_context){"use strict";var i,_templateObject,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){i=_lit.css;}],execute:function execute(){_export("s",n=i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n user-select: none;\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(:focus) {\n outline: none;\n }\n\n .option {\n position: relative;\n display: flex;\n align-items: center;\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-md));\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-medium));\n line-height: var(--nile-line-height-1-8, var(--ng-line-height-text-md));\n letter-spacing: normal;\n color: var(--nile-color-dark-1, var(--ng-colors-text-primary-900));\n padding: var(--nile-spacing-sm, var(--ng-spacing-md)) var(--nile-spacing-none, var(--ng-spacing-none));\n transition: 150ms fill;\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n cursor: pointer;\n margin-bottom: var(--nile-spacing-none, var(--ng-spacing-xxs) )\n }\n :host([legacy]) .option {\n padding: var(--nile-spacing-sm, var(--ng-spacing-md)) var(--nile-spacing-none, var(--ng-spacing-md));\n }\n\n .option--single-select {\n padding: var(--nile-spacing-9px, var(--ng-spacing-md)) var(--nile-spacing-lg, var(--ng-spacing-md));\n }\n\n .option--hover:not(.option--current):not(.option--disabled) {\n background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-secondary-hover));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n border-radius: var(--nile-radius-none, var(--ng-radius-sm));\n }\n\n .option--current,\n .option--current.option--disabled {\n background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary));\n color: var(--nile-colors-primary-600, var(--ng-colors-bg-brand-solid));\n opacity: 1;\n border-radius: var(--nile-radius-none, var(--ng-radius-sm));\n }\n\n .option--disabled {\n outline: none;\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .option__label {\n flex: 1 1 auto;\n display: inline-block;\n line-height: 1.4;\n word-break: break-all;\n }\n\n .option .option__check {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n visibility: hidden;\n padding-inline-end: var(--nile-spacing-xs);\n color: var(--nile-colors-primary-600, var(--ng-colors-fg-brand-primary-600));\n }\n\n .option--selected .option__check {\n visibility: visible;\n }\n\n :host([tickonselect][selected]) .option__check {\n visibility: visible;\n }\n\n .option__prefix,\n .option__suffix {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n }\n\n .option__prefix::slotted(*) {\n margin-inline-end: var(--nile-font-size-rem-xsmall, var(--ng-spacing-md));\n }\n\n .option__suffix::slotted(*) {\n margin-inline-start: var(--nile-font-size-rem-xsmall, var(--ng-spacing-md));\n }\n\n :host(:not([aria-selected='true'])) .option .option__suffix{\n display: var(--nile-display-block, var(--ng-display-none));\n }\n\n .option--checkbox{\n pointer-events: none;\n margin-left: var(--nile-spacing-lg, var(--ng-spacing-lg));\n margin-right: var(--nile-spacing-lg, var(--ng-spacing-lg));\n width:auto;\n display:var(--nile-display-inline-block, var(--ng-display-inline-block));\n }\n :host([legacy]) .option--checkbox{\n display:var(--nile-display-inline-block, var(--ng-display-none));\n }\n\n \n :host([tickonselect]) .option--checkbox{\n display: none;\n }\n\n :host([tickonselect]) .option{\n padding-left: var(--nile-spacing-lg, var(--ng-spacing-lg));\n padding-right: var(--nile-spacing-lg, var(--ng-spacing-lg));\n }\n\n\n @media (forced-colors: active) {\n :host(:hover:not([aria-disabled='true'])) .option {\n outline: dashed 1px SelectedItem;\n outline-offset: -1px;\n }\n }\n\n .option__label-container {\n display: flex;\n flex-direction: column;\n }\n\n .option__description {\n font-size: var(--nile-type-scale-2, var(--ng-font-size-text-sm));\n color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));\n }\n\n .text-ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: inline-block;\n width: 99%;\n }\n\n .option__label-text-ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: inline-block;\n width: 99%;\n }\n"]))));}};});
|
|
2
2
|
//# sourceMappingURL=nile-option.css.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-option.css.cjs.js","sources":["../../../src/nile-option/nile-option.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 * Option_2 CSS\n */\nexport const styles = css`\n :host {\n display: block;\n user-select: none;\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(:focus) {\n outline: none;\n }\n\n .option {\n position: relative;\n display: flex;\n align-items: center;\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-md));\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-medium));\n line-height: var(--nile-line-height-1-8, var(--ng-line-height-text-md));\n letter-spacing: normal;\n color: var(--nile-color-dark-1, var(--ng-colors-text-primary-900));\n padding: var(--nile-spacing-sm, var(--ng-spacing-md)) var(--nile-spacing-none, var(--ng-spacing-none));\n transition: 150ms fill;\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n cursor: pointer;\n margin-bottom: var(--nile-spacing-none, var(--ng-spacing-xxs) )\n }\n :host([legacy]) .option {\n padding: var(--nile-spacing-sm, var(--ng-spacing-md)) var(--nile-spacing-none, var(--ng-spacing-md));\n }\n\n .option--single-select {\n padding: var(--nile-spacing-9px, var(--ng-spacing-md)) var(--nile-spacing-lg, var(--ng-spacing-md));\n }\n\n .option--hover:not(.option--current):not(.option--disabled) {\n background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-
|
|
1
|
+
{"version":3,"file":"nile-option.css.cjs.js","sources":["../../../src/nile-option/nile-option.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 * Option_2 CSS\n */\nexport const styles = css`\n :host {\n display: block;\n user-select: none;\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(:focus) {\n outline: none;\n }\n\n .option {\n position: relative;\n display: flex;\n align-items: center;\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-md));\n font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-medium));\n line-height: var(--nile-line-height-1-8, var(--ng-line-height-text-md));\n letter-spacing: normal;\n color: var(--nile-color-dark-1, var(--ng-colors-text-primary-900));\n padding: var(--nile-spacing-sm, var(--ng-spacing-md)) var(--nile-spacing-none, var(--ng-spacing-none));\n transition: 150ms fill;\n font-family: var(--nile-font-family-serif, var(--ng-font-family-body));\n cursor: pointer;\n margin-bottom: var(--nile-spacing-none, var(--ng-spacing-xxs) )\n }\n :host([legacy]) .option {\n padding: var(--nile-spacing-sm, var(--ng-spacing-md)) var(--nile-spacing-none, var(--ng-spacing-md));\n }\n\n .option--single-select {\n padding: var(--nile-spacing-9px, var(--ng-spacing-md)) var(--nile-spacing-lg, var(--ng-spacing-md));\n }\n\n .option--hover:not(.option--current):not(.option--disabled) {\n background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-secondary-hover));\n color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));\n border-radius: var(--nile-radius-none, var(--ng-radius-sm));\n }\n\n .option--current,\n .option--current.option--disabled {\n background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary));\n color: var(--nile-colors-primary-600, var(--ng-colors-bg-brand-solid));\n opacity: 1;\n border-radius: var(--nile-radius-none, var(--ng-radius-sm));\n }\n\n .option--disabled {\n outline: none;\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .option__label {\n flex: 1 1 auto;\n display: inline-block;\n line-height: 1.4;\n word-break: break-all;\n }\n\n .option .option__check {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n visibility: hidden;\n padding-inline-end: var(--nile-spacing-xs);\n color: var(--nile-colors-primary-600, var(--ng-colors-fg-brand-primary-600));\n }\n\n .option--selected .option__check {\n visibility: visible;\n }\n\n :host([tickonselect][selected]) .option__check {\n visibility: visible;\n }\n\n .option__prefix,\n .option__suffix {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n }\n\n .option__prefix::slotted(*) {\n margin-inline-end: var(--nile-font-size-rem-xsmall, var(--ng-spacing-md));\n }\n\n .option__suffix::slotted(*) {\n margin-inline-start: var(--nile-font-size-rem-xsmall, var(--ng-spacing-md));\n }\n\n :host(:not([aria-selected='true'])) .option .option__suffix{\n display: var(--nile-display-block, var(--ng-display-none));\n }\n\n .option--checkbox{\n pointer-events: none;\n margin-left: var(--nile-spacing-lg, var(--ng-spacing-lg));\n margin-right: var(--nile-spacing-lg, var(--ng-spacing-lg));\n width:auto;\n display:var(--nile-display-inline-block, var(--ng-display-inline-block));\n }\n :host([legacy]) .option--checkbox{\n display:var(--nile-display-inline-block, var(--ng-display-none));\n }\n\n \n :host([tickonselect]) .option--checkbox{\n display: none;\n }\n\n :host([tickonselect]) .option{\n padding-left: var(--nile-spacing-lg, var(--ng-spacing-lg));\n padding-right: var(--nile-spacing-lg, var(--ng-spacing-lg));\n }\n\n\n @media (forced-colors: active) {\n :host(:hover:not([aria-disabled='true'])) .option {\n outline: dashed 1px SelectedItem;\n outline-offset: -1px;\n }\n }\n\n .option__label-container {\n display: flex;\n flex-direction: column;\n }\n\n .option__description {\n font-size: var(--nile-type-scale-2, var(--ng-font-size-text-sm));\n color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));\n }\n\n .text-ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: inline-block;\n width: 99%;\n }\n\n .option__label-text-ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: inline-block;\n width: 99%;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|