keystone_ui 0.105.0 → 0.106.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cfb077126af852866bf6e1574bb34c82663b439336f3d74caf69ff10a7502498
|
|
4
|
+
data.tar.gz: 246f71aab3805d94747e1ca7e212f74bcf5f24c1e8b31e0edd9b6472497bb509
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 317b165856f48ac0df3a55f67e21f22ee5fb14b0a22ddefee880978e01173119a71efcaa7c7a9528afa801a1533b2e644b94c1ae2338ddd39a22d5137ebe3856
|
|
7
|
+
data.tar.gz: 7621203b169d49357d10ab93ae66e0dc905a824c1e19e9ca409c1dfdfd13a6c7a824a697b5d3324a87cfb00e0d456b1de6551b9d15f62a67a22599f11479f18c
|
|
@@ -7,6 +7,7 @@ export default class extends Controller {
|
|
|
7
7
|
connect() {
|
|
8
8
|
this.secondsLeft = Math.max(this.secondsValue - this.elapsedValue, 0)
|
|
9
9
|
this.endReached = !this.requireEndValue
|
|
10
|
+
this.buttonTarget.setAttribute("aria-describedby", this.statusTarget.id)
|
|
10
11
|
if (this.secondsLeft > 0) this.timer = setInterval(() => this.tick(), 1000)
|
|
11
12
|
this.attachEndReport()
|
|
12
13
|
if (this.requireEndValue) this.watchEnd()
|
data/lib/keystone_ui/version.rb
CHANGED
|
@@ -821,7 +821,8 @@ two exceptions: `ui_page`'s `padding:` treats any value other than `:none` as
|
|
|
821
821
|
its `summary` slot with the header, and the rest of the block is the body.
|
|
822
822
|
- `ui_reading_hold(seconds: 0, elapsed: 0, require_end: false, waiting:, end_waiting:, ready:, field_prefix: "reading")`
|
|
823
823
|
takes a block yielding the component. Fill its `action` slot with the
|
|
824
|
-
button, given `**hold.button_options
|
|
824
|
+
button, given `**hold.button_options` or, for a `ui_button`,
|
|
825
|
+
`data: { reading_hold_target: "button" }`, and the rest of the block is the
|
|
825
826
|
content. The button's form sends `<field_prefix>[end_reached]` and
|
|
826
827
|
`<field_prefix>[end_in_view_on_load]`, and the app checks the time and the
|
|
827
828
|
end again on its server.
|