@aquera/nile-elements 0.1.40-beta-1.2 → 0.1.40-beta-1.6

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": "0.1.40-beta-1.2",
6
+ "version": "0.1.40-beta-1.6",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -68,7 +68,7 @@ export class NileIcon extends LitElement {
68
68
  @property({ type: String, reflect: true })
69
69
  public size = SMALL_ICON_SIZE;
70
70
 
71
- @property({ type: String })
71
+ @property({ type: String, reflect: true })
72
72
  public size_token = `${SMALL_ICON_SIZE}px`;
73
73
 
74
74
  @state()
@@ -117,7 +117,7 @@ export class NileIcon extends LitElement {
117
117
  stroke: var(--nile-svg-stroke);
118
118
  }
119
119
 
120
- .nds-icon svg path {
120
+ .nds-icon svg * {
121
121
  fill: var(--nile-svg-fill);
122
122
  }
123
123
 
@@ -147,7 +147,7 @@ export class NileIcon extends LitElement {
147
147
  this.style.setProperty('--nile-svg-height', `${this.size}px`);
148
148
  this.style.setProperty('--nile-svg-width', `${this.size}px`);
149
149
  }
150
- else if (changedProperties.has('size_token')) {
150
+ if (changedProperties.has('size_token')) {
151
151
  this.style.setProperty('--nile-svg-height', `${this.size_token}`);
152
152
  this.style.setProperty('--nile-svg-width', `${this.size_token}`);
153
153
  }
@@ -371,8 +371,8 @@ export const styles = css`
371
371
  .select__listbox {
372
372
  display: block;
373
373
  position: relative;
374
- font-size: var(--nile-type-scale-4, var(--ng-font-size-text-md));
375
- font-weight: var(--nile-font-weight-regular);
374
+ font-size: var(--nile-type-scale-3, var(--ng-font-size-text-md));
375
+ font-weight: var(--nile-font-weight-regular, --ng-font-weight-regular);
376
376
  background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
377
377
  border: solid 1px var(--nile-colors-neutral-500, var(--ng-colors-border-secondary-alt));
378
378
  border-radius: var(--nile-radius-sm, var(--ng-radius-md));
@@ -22,7 +22,7 @@ export const styles = css`
22
22
  }
23
23
 
24
24
  .tooltip {
25
- --arrow-size: 5px;
25
+ --arrow-size: var(--nile-height-6px, var(--ng-height-5px));
26
26
  --arrow-color: var(--nile-tooltip-color-background, var(--ng-colors-bg-primary-solid));
27
27
  }
28
28
 
@@ -60,7 +60,7 @@ export const styles = css`
60
60
  color: var(--nile-colors-white-base, var(--ng-colors-text-white));
61
61
  pointer-events: none;
62
62
  word-break: break-word;
63
- font-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));
63
+ font-family: var(--nile-font-family-medium, var(--ng-font-family-body));
64
64
  box-shadow:var(--nile-box-shadow-none, var(--ng-shadow-lg));
65
65
  }
66
66