@decidables/decidables-elements 0.2.0 → 0.3.0
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 +14 -0
- package/lib/decidablesElements.esm.js +4 -2
- 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 +4 -2
- 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 +2 -2
- package/src/button.js +1 -1
- package/src/decidables-element.js +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
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.0](https://github.com/decidables/decidables/compare/@decidables/decidables-elements@0.2.0...@decidables/decidables-elements@0.3.0) (2022-03-31)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **decidables-elements:** add border and border-radius as core styling variables ([a719f5a](https://github.com/decidables/decidables/commit/a719f5ad191dc9bd3e3ec7f41bc1156c8902f933))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **all:** improve contrast for UI controls ([4a97725](https://github.com/decidables/decidables/commit/4a9772558c569bf18c92c36731c6b05f9630ac2c))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
6
20
|
## [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
21
|
|
|
8
22
|
|
|
@@ -3641,6 +3641,8 @@ class DecidablesElement extends s {
|
|
|
3641
3641
|
---font-family-base: var(--font-family-base, "Source Sans", sans-serif);
|
|
3642
3642
|
---font-family-math: var(--font-family-math, "Source Serif", serif);
|
|
3643
3643
|
|
|
3644
|
+
---border: var(--border, 1px solid var(---color-border));
|
|
3645
|
+
---border-radius: var(--border-radius, 0.25rem);
|
|
3644
3646
|
---transition-duration: var(--transition-duration, 500ms);
|
|
3645
3647
|
|
|
3646
3648
|
font-family: var(---font-family-base);
|
|
@@ -3674,7 +3676,7 @@ class DecidablesElement extends s {
|
|
|
3674
3676
|
width: 0;
|
|
3675
3677
|
height: 0;
|
|
3676
3678
|
}
|
|
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.
|
|
3679
|
+
`), 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
3680
|
}
|
|
3679
3681
|
|
|
3680
3682
|
}
|
|
@@ -3716,7 +3718,7 @@ class DecidablesButton extends DecidablesElement {
|
|
|
3716
3718
|
color: var(---color-text-inverse);
|
|
3717
3719
|
|
|
3718
3720
|
border: 0;
|
|
3719
|
-
border-radius:
|
|
3721
|
+
border-radius: var(---border-radius);
|
|
3720
3722
|
outline: none;
|
|
3721
3723
|
}
|
|
3722
3724
|
|