@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
### [0.3.2](https://github.com/decidables/decidables/compare/@decidables/decidables-elements@0.3.1...@decidables/decidables-elements@0.3.2) (2022-04-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @decidables/decidables-elements
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### [0.3.1](https://github.com/decidables/decidables/compare/@decidables/decidables-elements@0.3.0...@decidables/decidables-elements@0.3.1) (2022-04-07)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @decidables/decidables-elements
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [0.3.0](https://github.com/decidables/decidables/compare/@decidables/decidables-elements@0.2.0...@decidables/decidables-elements@0.3.0) (2022-03-31)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **decidables-elements:** add border and border-radius as core styling variables ([a719f5a](https://github.com/decidables/decidables/commit/a719f5ad191dc9bd3e3ec7f41bc1156c8902f933))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* **all:** improve contrast for UI controls ([4a97725](https://github.com/decidables/decidables/commit/4a9772558c569bf18c92c36731c6b05f9630ac2c))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [0.2.0](https://github.com/decidables/decidables/compare/@decidables/decidables-elements@0.1.1...@decidables/decidables-elements@0.2.0) (2022-03-24)
|
|
7
37
|
|
|
8
38
|
|
|
@@ -3574,7 +3574,8 @@ class DecidablesElement extends s {
|
|
|
3574
3574
|
}
|
|
3575
3575
|
|
|
3576
3576
|
static get svgFilters() {
|
|
3577
|
-
const shadows = DecidablesElement.shadows;
|
|
3577
|
+
const shadows = DecidablesElement.shadows;
|
|
3578
|
+
/* eslint-disable-line prefer-destructuring */
|
|
3578
3579
|
|
|
3579
3580
|
const filters = shadows.elevations.map(z => {
|
|
3580
3581
|
return y(_t$6 || (_t$6 = _$6`
|
|
@@ -3641,6 +3642,8 @@ class DecidablesElement extends s {
|
|
|
3641
3642
|
---font-family-base: var(--font-family-base, "Source Sans", sans-serif);
|
|
3642
3643
|
---font-family-math: var(--font-family-math, "Source Serif", serif);
|
|
3643
3644
|
|
|
3645
|
+
---border: var(--border, 1px solid var(---color-border));
|
|
3646
|
+
---border-radius: var(--border-radius, 0.25rem);
|
|
3644
3647
|
---transition-duration: var(--transition-duration, 500ms);
|
|
3645
3648
|
|
|
3646
3649
|
font-family: var(---font-family-base);
|
|
@@ -3674,7 +3677,7 @@ class DecidablesElement extends s {
|
|
|
3674
3677
|
width: 0;
|
|
3675
3678
|
height: 0;
|
|
3676
3679
|
}
|
|
3677
|
-
`), 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.
|
|
3680
|
+
`), 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));
|
|
3678
3681
|
}
|
|
3679
3682
|
|
|
3680
3683
|
}
|
|
@@ -3716,7 +3719,7 @@ class DecidablesButton extends DecidablesElement {
|
|
|
3716
3719
|
color: var(---color-text-inverse);
|
|
3717
3720
|
|
|
3718
3721
|
border: 0;
|
|
3719
|
-
border-radius:
|
|
3722
|
+
border-radius: var(---border-radius);
|
|
3720
3723
|
outline: none;
|
|
3721
3724
|
}
|
|
3722
3725
|
|