@decidables/detectable-elements 0.1.2 → 0.1.3
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 +12 -0
- package/lib/detectableElements.esm.js +15 -8
- package/lib/detectableElements.esm.js.map +1 -1
- package/lib/detectableElements.esm.min.js +15 -8
- package/lib/detectableElements.esm.min.js.map +1 -1
- package/lib/detectableElements.umd.js +15 -8
- package/lib/detectableElements.umd.js.map +1 -1
- package/lib/detectableElements.umd.min.js +15 -8
- package/lib/detectableElements.umd.min.js.map +1 -1
- package/package.json +3 -3
- package/src/components/detectable-table.js +2 -2
- package/src/components/roc-space.js +1 -1
- package/src/equations/hmfacr2acc.js +1 -1
- package/src/equations/sdt-equation.js +6 -0
- package/src/examples/sdt-example.js +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.1.3](https://github.com/decidables/decidables/compare/@decidables/detectable-elements@0.1.2...@decidables/detectable-elements@0.1.3) (2022-03-31)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **detectable-elements:** better label alignment in ROC space points ([5c3a8c0](https://github.com/decidables/decidables/commit/5c3a8c0657160e4f1a4bf31c88f939f6ab9829c9))
|
|
12
|
+
* **detectable-elements:** fix quotes around 'present' and 'absent' in table ([b1467a8](https://github.com/decidables/decidables/commit/b1467a8e58bdd8f6c3fef2cfaca43b241e3efc59))
|
|
13
|
+
* **detectable-elements:** make use of new border-radius styling variable ([4453e4a](https://github.com/decidables/decidables/commit/4453e4a1a135906808f8e74cbb14396a31d31b8a))
|
|
14
|
+
* **detectable-elements:** reorder accuracy equation to make structure clearer ([9c0926a](https://github.com/decidables/decidables/commit/9c0926ae73af94005e18b0dab3459632209b6331))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
### [0.1.2](https://github.com/decidables/decidables/compare/@decidables/detectable-elements@0.1.1...@decidables/detectable-elements@0.1.2) (2022-03-24)
|
|
7
19
|
|
|
8
20
|
|
|
@@ -6716,6 +6716,8 @@ class DecidablesElement extends s {
|
|
|
6716
6716
|
---font-family-base: var(--font-family-base, "Source Sans", sans-serif);
|
|
6717
6717
|
---font-family-math: var(--font-family-math, "Source Serif", serif);
|
|
6718
6718
|
|
|
6719
|
+
---border: var(--border, 1px solid var(---color-border));
|
|
6720
|
+
---border-radius: var(--border-radius, 0.25rem);
|
|
6719
6721
|
---transition-duration: var(--transition-duration, 500ms);
|
|
6720
6722
|
|
|
6721
6723
|
font-family: var(---font-family-base);
|
|
@@ -6749,7 +6751,7 @@ class DecidablesElement extends s {
|
|
|
6749
6751
|
width: 0;
|
|
6750
6752
|
height: 0;
|
|
6751
6753
|
}
|
|
6752
|
-
`), 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.
|
|
6754
|
+
`), 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));
|
|
6753
6755
|
}
|
|
6754
6756
|
|
|
6755
6757
|
}
|
|
@@ -6791,7 +6793,7 @@ class DecidablesButton extends DecidablesElement {
|
|
|
6791
6793
|
color: var(---color-text-inverse);
|
|
6792
6794
|
|
|
6793
6795
|
border: 0;
|
|
6794
|
-
border-radius:
|
|
6796
|
+
border-radius: var(---border-radius);
|
|
6795
6797
|
outline: none;
|
|
6796
6798
|
}
|
|
6797
6799
|
|
|
@@ -13574,7 +13576,7 @@ class ROCSpace extends DetectableElement {
|
|
|
13574
13576
|
.point .label {
|
|
13575
13577
|
font-size: 0.75rem;
|
|
13576
13578
|
|
|
13577
|
-
dominant-baseline:
|
|
13579
|
+
dominant-baseline: central;
|
|
13578
13580
|
text-anchor: middle;
|
|
13579
13581
|
|
|
13580
13582
|
fill: var(---color-text-inverse);
|
|
@@ -16787,10 +16789,10 @@ class DetectableTable extends DetectableElement {
|
|
|
16787
16789
|
</tr>
|
|
16788
16790
|
<tr>
|
|
16789
16791
|
<th class="th th-sub" scope="col">
|
|
16790
|
-
|
|
16792
|
+
‘Present’
|
|
16791
16793
|
</th>
|
|
16792
16794
|
<th class="th th-sub" scope="col">
|
|
16793
|
-
|
|
16795
|
+
‘Absent’
|
|
16794
16796
|
</th>
|
|
16795
16797
|
</tr>
|
|
16796
16798
|
</thead>
|
|
@@ -16913,6 +16915,10 @@ class SDTEquation extends DetectableElement {
|
|
|
16913
16915
|
font-style: normal;
|
|
16914
16916
|
}
|
|
16915
16917
|
|
|
16918
|
+
var {
|
|
16919
|
+
border-radius: var(---border-radius);
|
|
16920
|
+
}
|
|
16921
|
+
|
|
16916
16922
|
.tight {
|
|
16917
16923
|
padding: 0;
|
|
16918
16924
|
}
|
|
@@ -16938,6 +16944,8 @@ class SDTEquation extends DetectableElement {
|
|
|
16938
16944
|
padding: 0.125rem 0.375rem 0.375rem;
|
|
16939
16945
|
|
|
16940
16946
|
vertical-align: middle;
|
|
16947
|
+
|
|
16948
|
+
border-radius: var(---border-radius);
|
|
16941
16949
|
}
|
|
16942
16950
|
|
|
16943
16951
|
.bottom {
|
|
@@ -17791,7 +17799,7 @@ class SDTEquationHMFaCr2Acc extends SDTEquation {
|
|
|
17791
17799
|
</tr>
|
|
17792
17800
|
</tbody>
|
|
17793
17801
|
</table>
|
|
17794
|
-
</div>`), acc, h, cr, h, m, fa
|
|
17802
|
+
</div>`), acc, h, cr, h, cr, m, fa);
|
|
17795
17803
|
}
|
|
17796
17804
|
|
|
17797
17805
|
}
|
|
@@ -18168,7 +18176,6 @@ class SDTExample extends DetectableElement {
|
|
|
18168
18176
|
static get styles() {
|
|
18169
18177
|
return [super.styles, r$2(_t || (_t = _`
|
|
18170
18178
|
:host {
|
|
18171
|
-
---border: var(--border, 1px solid var(---color-border));
|
|
18172
18179
|
display: inline-block;
|
|
18173
18180
|
|
|
18174
18181
|
margin-bottom: 1rem;
|
|
@@ -18189,7 +18196,7 @@ class SDTExample extends DetectableElement {
|
|
|
18189
18196
|
padding: 0.625rem;
|
|
18190
18197
|
|
|
18191
18198
|
border: var(---border);
|
|
18192
|
-
border-radius:
|
|
18199
|
+
border-radius: var(---border-radius);
|
|
18193
18200
|
}
|
|
18194
18201
|
|
|
18195
18202
|
.body ::slotted(*) {
|