@decidables/discountable-elements 0.1.0 → 0.2.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 +17 -0
- package/README.md +418 -996
- package/lib/discountableElements.esm.js +8 -6
- package/lib/discountableElements.esm.js.map +1 -1
- package/lib/discountableElements.esm.min.js +5 -3
- package/lib/discountableElements.esm.min.js.map +1 -1
- package/lib/discountableElements.umd.js +8 -6
- package/lib/discountableElements.umd.js.map +1 -1
- package/lib/discountableElements.umd.min.js +5 -3
- package/lib/discountableElements.umd.min.js.map +1 -1
- package/package.json +3 -3
- package/src/components/discountable-response.js +4 -4
- package/src/components/itc-choice.js +4 -2
|
@@ -11710,13 +11710,13 @@ customElements.define('discountable-control', DiscountableControl);
|
|
|
11710
11710
|
class DiscountableResponse extends DiscountableElement {
|
|
11711
11711
|
static get properties() {
|
|
11712
11712
|
return {
|
|
11713
|
-
|
|
11714
|
-
attribute: '
|
|
11713
|
+
feedback: {
|
|
11714
|
+
attribute: 'feedback',
|
|
11715
11715
|
type: Boolean,
|
|
11716
11716
|
reflect: true
|
|
11717
11717
|
},
|
|
11718
|
-
|
|
11719
|
-
attribute: '
|
|
11718
|
+
trial: {
|
|
11719
|
+
attribute: 'trial',
|
|
11720
11720
|
type: Boolean,
|
|
11721
11721
|
reflect: true
|
|
11722
11722
|
},
|
|
@@ -22537,7 +22537,8 @@ class ITCChoice extends DiscountableElement {
|
|
|
22537
22537
|
render() {
|
|
22538
22538
|
return x$2`
|
|
22539
22539
|
<div class="holder">
|
|
22540
|
-
<itc-option
|
|
22540
|
+
<itc-option
|
|
22541
|
+
class="ss"
|
|
22541
22542
|
state=${this.state}
|
|
22542
22543
|
?interactive=${this.interactive}
|
|
22543
22544
|
amount="${this.as}"
|
|
@@ -22545,7 +22546,8 @@ class ITCChoice extends DiscountableElement {
|
|
|
22545
22546
|
@itc-option-change=${this.ssChange.bind(this)}>
|
|
22546
22547
|
</itc-option><span class="query"
|
|
22547
22548
|
>${this.state === 'choice' ? '?' : this.state === 'fixation' ? '+' : x$2`∙`}</span
|
|
22548
|
-
><itc-option
|
|
22549
|
+
><itc-option
|
|
22550
|
+
class="ll"
|
|
22549
22551
|
state=${this.state}
|
|
22550
22552
|
?interactive=${this.interactive}
|
|
22551
22553
|
amount="${this.al}"
|