@aquera/nile-elements 1.8.3 → 1.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "1.8.3",
6
+ "version": "1.8.5",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -115,7 +115,7 @@ export class NileFilterChip extends NileElement {
115
115
 
116
116
  public render(): TemplateResult {
117
117
  return html`
118
- <div class="chip" @click="${this.handleClick}">
118
+ <div class="chip" part="base" @click="${this.handleClick}">
119
119
  <slot name="icon">
120
120
  ${this.icon ? html`<span class="icon">${this.icon}</span>` : html``}
121
121
  </slot>
@@ -37,7 +37,7 @@ export const styles = css`
37
37
  --indent-guide-offset: 0;
38
38
  --indent-guide-style: solid;
39
39
  --indent-guide-width: 0;
40
- --indent-size: var(--nile-spacing-2xl);
40
+ --indent-size: var(--nile-spacing-2xl, var(--ng-spacing-2xl));
41
41
 
42
42
  display: block;
43
43
  isolation: isolate;
@@ -39,7 +39,7 @@ export const styles = css`
39
39
  }
40
40
 
41
41
  slot:not([name])::slotted(nile-icon) {
42
- margin-inline-end: var(--nile-spacing-md);
42
+ margin-inline-end: var(--nile-spacing-md, var(--ng-spacing-md));
43
43
  }
44
44
 
45
45
  .tree-item {
@@ -47,7 +47,7 @@ export const styles = css`
47
47
  display: flex;
48
48
  align-items: stretch;
49
49
  flex-direction: column;
50
- color: var(--nile-colors-dark-900);
50
+ color: var(--nile-colors-dark-900, var(--ng-colors-text-secondary-700));
51
51
  cursor: pointer;
52
52
  user-select: none;
53
53
  }
@@ -59,9 +59,9 @@ export const styles = css`
59
59
  .tree-item__expand-button,
60
60
  .tree-item__checkbox,
61
61
  .tree-item__label {
62
- font-family: var(--nile-font-family-serif);
63
- font-size: var(--nile-type-scale-4);
64
- font-weight: var(--nile-font-weight-regular);
62
+ font-family: var(--nile-font-family-serif, var(--ng-font-family-body));
63
+ font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));
64
+ font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-medium));
65
65
  }
66
66
 
67
67
  .tree-item__checkbox::part(base) {
@@ -80,8 +80,8 @@ export const styles = css`
80
80
  align-items: center;
81
81
  justify-content: center;
82
82
  box-sizing: content-box;
83
- color: var(--nile-colors-neutral-500);
84
- padding: var(--nile-spacing-md);
83
+ color: var(--nile-colors-neutral-500, var(--ng-colors-fg-tertiary-600));
84
+ padding: var(--nile-spacing-md, var(--ng-spacing-md));
85
85
  width: 1rem;
86
86
  height: 1rem;
87
87
  flex-shrink: 0;
@@ -132,12 +132,12 @@ export const styles = css`
132
132
  }
133
133
 
134
134
  :host(:not([aria-disabled='true'])) .tree-item--selected .tree-item__item {
135
- background-color: var(--nile-colors-primary-100);
136
- border-inline-start-color: var(--nile-colors-primary-700);
135
+ background-color: var(--nile-colors-primary-100, var(--ng-colors-bg-brand-primary));
136
+ border-inline-start-color: var(--nile-colors-primary-700, var(--ng-colors-border-brand));
137
137
  }
138
138
 
139
139
  :host(:not([aria-disabled='true'])) .tree-item__expand-button {
140
- color: var(--nile-colors-dark-900);
140
+ color: var(--nile-colors-dark-900, var(--ng-colors-fg-tertiary-600));
141
141
  }
142
142
 
143
143
  .tree-item__label {