@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/README.md +3 -0
- package/dist/index.js +7 -7
- package/dist/nile-icon/index.cjs.js +1 -1
- package/dist/nile-icon/index.cjs.js.map +1 -1
- package/dist/nile-icon/index.esm.js +3 -3
- package/dist/nile-select/nile-select.css.cjs.js +1 -1
- package/dist/nile-select/nile-select.css.cjs.js.map +1 -1
- package/dist/nile-select/nile-select.css.esm.js +2 -2
- package/dist/nile-tooltip/nile-tooltip.css.cjs.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.cjs.js.map +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.esm.js +2 -2
- package/dist/src/nile-icon/index.js +3 -3
- package/dist/src/nile-icon/index.js.map +1 -1
- package/dist/src/nile-select/nile-select.css.js +2 -2
- package/dist/src/nile-select/nile-select.css.js.map +1 -1
- package/dist/src/nile-tooltip/nile-tooltip.css.js +2 -2
- package/dist/src/nile-tooltip/nile-tooltip.css.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-icon/index.ts +3 -3
- package/src/nile-select/nile-select.css.ts +2 -2
- package/src/nile-tooltip/nile-tooltip.css.ts +2 -2
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.
|
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",
|
package/src/nile-icon/index.ts
CHANGED
@@ -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
|
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
|
-
|
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-
|
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-
|
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
|
|