@pocketprep/ui-kit 3.0.7 → 3.0.8
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.
|
@@ -12428,7 +12428,7 @@ let be = class extends Mt {
|
|
|
12428
12428
|
keyPressedItem(s) {
|
|
12429
12429
|
if (s.key === "Enter" || s.key === " ") {
|
|
12430
12430
|
s.preventDefault();
|
|
12431
|
-
const o = s.target.getAttribute("value"), e = this.data.find((l) => String(l.value) === o);
|
|
12431
|
+
const o = s.target.getAttribute("data-value"), e = this.data.find((l) => String(l.value) === o);
|
|
12432
12432
|
e && this.selectItem(e);
|
|
12433
12433
|
}
|
|
12434
12434
|
}
|
|
@@ -12464,7 +12464,7 @@ be = He([
|
|
|
12464
12464
|
}
|
|
12465
12465
|
})
|
|
12466
12466
|
], be);
|
|
12467
|
-
const lh = ["id", "innerHTML"], hh = ["aria-labelledby"], dh = ["value", "tabindex", "aria-checked", "aria-label", "onClick"], ch = {
|
|
12467
|
+
const lh = ["id", "innerHTML"], hh = ["aria-labelledby"], dh = ["data-value", "tabindex", "aria-checked", "aria-label", "onClick"], ch = {
|
|
12468
12468
|
class: "uikit-radio__item-text",
|
|
12469
12469
|
"aria-hidden": "true"
|
|
12470
12470
|
}, uh = ["innerHTML"], ph = ["innerHTML"];
|
|
@@ -12500,7 +12500,7 @@ function gh(t, i, s, o, e, l) {
|
|
|
12500
12500
|
"uikit-radio__item--disabled": t.disabled,
|
|
12501
12501
|
"uikit-radio__item--has-helper-text": !!O.helperText
|
|
12502
12502
|
}]),
|
|
12503
|
-
value: O.value,
|
|
12503
|
+
"data-value": O.value,
|
|
12504
12504
|
tabindex: t.disabled ? -1 : 0,
|
|
12505
12505
|
role: "radio",
|
|
12506
12506
|
"aria-checked": t.modelValue && O.value === t.modelValue.value,
|