@decidables/decidables-elements 0.2.0 → 0.3.2
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/CHANGELOG.md +30 -0
- package/lib/decidablesElements.esm.js +6 -3
- package/lib/decidablesElements.esm.js.map +1 -1
- package/lib/decidablesElements.esm.min.js +4 -2
- package/lib/decidablesElements.esm.min.js.map +1 -1
- package/lib/decidablesElements.umd.js +6 -3
- package/lib/decidablesElements.umd.js.map +1 -1
- package/lib/decidablesElements.umd.min.js +4 -2
- package/lib/decidablesElements.umd.min.js.map +1 -1
- package/package.json +4 -4
- package/src/button.js +1 -1
- package/src/decidables-element.js +5 -3
|
@@ -3580,7 +3580,8 @@
|
|
|
3580
3580
|
}
|
|
3581
3581
|
|
|
3582
3582
|
static get svgFilters() {
|
|
3583
|
-
const shadows = DecidablesElement.shadows;
|
|
3583
|
+
const shadows = DecidablesElement.shadows;
|
|
3584
|
+
/* eslint-disable-line prefer-destructuring */
|
|
3584
3585
|
|
|
3585
3586
|
const filters = shadows.elevations.map(z => {
|
|
3586
3587
|
return y(_t$6 || (_t$6 = _$6`
|
|
@@ -3647,6 +3648,8 @@
|
|
|
3647
3648
|
---font-family-base: var(--font-family-base, "Source Sans", sans-serif);
|
|
3648
3649
|
---font-family-math: var(--font-family-math, "Source Serif", serif);
|
|
3649
3650
|
|
|
3651
|
+
---border: var(--border, 1px solid var(---color-border));
|
|
3652
|
+
---border-radius: var(--border-radius, 0.25rem);
|
|
3650
3653
|
---transition-duration: var(--transition-duration, 500ms);
|
|
3651
3654
|
|
|
3652
3655
|
font-family: var(---font-family-base);
|
|
@@ -3680,7 +3683,7 @@
|
|
|
3680
3683
|
width: 0;
|
|
3681
3684
|
height: 0;
|
|
3682
3685
|
}
|
|
3683
|
-
`), o$3(this.cssBoxShadow(0)), o$3(this.cssBoxShadow(2)), o$3(this.cssBoxShadow(4)), o$3(this.cssBoxShadow(8)), o$3(this.greys.white), o$3(this.greys.light75), o$3(this.greys.dark75), o$3(this.greys.white), o$3(this.greys.dark25), o$3(this.greys.light75), o$3(this.greys.light50), o$3(this.greys.
|
|
3686
|
+
`), o$3(this.cssBoxShadow(0)), o$3(this.cssBoxShadow(2)), o$3(this.cssBoxShadow(4)), o$3(this.cssBoxShadow(8)), o$3(this.greys.white), o$3(this.greys.light75), o$3(this.greys.dark75), o$3(this.greys.white), o$3(this.greys.dark25), o$3(this.greys.light75), o$3(this.greys.light50), o$3(this.greys.dark25), o$3(this.greys.grey), o$3(this.greys.dark50), o$3(this.greys.dark75));
|
|
3684
3687
|
}
|
|
3685
3688
|
|
|
3686
3689
|
}
|
|
@@ -3722,7 +3725,7 @@
|
|
|
3722
3725
|
color: var(---color-text-inverse);
|
|
3723
3726
|
|
|
3724
3727
|
border: 0;
|
|
3725
|
-
border-radius:
|
|
3728
|
+
border-radius: var(---border-radius);
|
|
3726
3729
|
outline: none;
|
|
3727
3730
|
}
|
|
3728
3731
|
|