Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Added missing MouseEvent coordinates #560

Merged
merged 2 commits into from
Dec 2, 2023

Conversation

toddharrison
Copy link
Contributor

Specifically pageX, pageY, offsetX, and offsetY.

@toddharrison
Copy link
Contributor Author

This is needed for identifying the point clicked on a canvas, for example.

val map = canvas(width = 200, height = 200) { it["class"] = "map" }
val label = span().text("No selection")
map.on.click { event ->
    label.text("Clicked (${event.offsetX}, ${event.offsetY}) on the Canvas")
}

@sanity sanity added this pull request to the merge queue Dec 2, 2023
Merged via the queue into kwebio:master with commit 5cf7751 Dec 2, 2023
1 check failed
sanity added a commit that referenced this pull request Dec 2, 2023
…ated dependencies, fixes related to selenium API changes.

Squashed commit of the following:

commit a756018
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Dec 2 10:46:46 2023 -0600

    Bump org.seleniumhq.selenium:selenium-chrome-driver from 4.10.0 to 4.15.0 (#554)

    Bump org.seleniumhq.selenium:selenium-chrome-driver

    Bumps [org.seleniumhq.selenium:selenium-chrome-driver](https://github.com/SeleniumHQ/selenium) from 4.10.0 to 4.15.0.
    - [Release notes](https://github.com/SeleniumHQ/selenium/releases)
    - [Commits](SeleniumHQ/selenium@selenium-4.10.0...selenium-4.15.0)

    ---
    updated-dependencies:
    - dependency-name: org.seleniumhq.selenium:selenium-chrome-driver
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Ian Clarke <[email protected]>

commit b4ff7bc
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Dec 2 10:45:09 2023 -0600

    Bump org.jetbrains.kotlin:kotlin-serialization from 1.8.21 to 1.9.21 (#559)

    Bumps [org.jetbrains.kotlin:kotlin-serialization](https://github.com/JetBrains/kotlin) from 1.8.21 to 1.9.21.
    - [Release notes](https://github.com/JetBrains/kotlin/releases)
    - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
    - [Commits](JetBrains/kotlin@v1.8.21...v1.9.21)

    ---
    updated-dependencies:
    - dependency-name: org.jetbrains.kotlin:kotlin-serialization
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Ian Clarke <[email protected]>

commit 823fd09
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Dec 2 10:43:07 2023 -0600

    Bump ch.qos.logback:logback-classic from 1.4.9 to 1.4.14 (#563)

    Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) from 1.4.9 to 1.4.14.
    - [Commits](qos-ch/logback@v_1.4.9...v_1.4.14)

    ---
    updated-dependencies:
    - dependency-name: ch.qos.logback:logback-classic
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Ian Clarke <[email protected]>

commit cf2ecfc
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Dec 2 10:42:30 2023 -0600

    Bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.6.0-RC to 1.6.2 (#562)

    Bump org.jetbrains.kotlinx:kotlinx-serialization-json

    Bumps [org.jetbrains.kotlinx:kotlinx-serialization-json](https://github.com/Kotlin/kotlinx.serialization) from 1.6.0-RC to 1.6.2.
    - [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
    - [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
    - [Commits](Kotlin/kotlinx.serialization@v1.6.0-RC...v1.6.2)

    ---
    updated-dependencies:
    - dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-json
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Ian Clarke <[email protected]>

commit 03e399e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Dec 2 10:42:05 2023 -0600

    Bump com.codeborne:selenide from 6.13.1 to 7.0.3 (#561)

    Bumps [com.codeborne:selenide](https://github.com/selenide/selenide) from 6.13.1 to 7.0.3.
    - [Release notes](https://github.com/selenide/selenide/releases)
    - [Changelog](https://github.com/selenide/selenide/blob/main/CHANGELOG.md)
    - [Commits](selenide/selenide@v6.13.1...v7.0.3)

    ---
    updated-dependencies:
    - dependency-name: com.codeborne:selenide
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Ian Clarke <[email protected]>

commit 5cf7751
Author: Todd Harrison <[email protected]>
Date:   Sat Dec 2 09:40:25 2023 -0700

    Added missing MouseEvent coordinates (#560)

    * Added missing MouseEvent coordinates, specifically pageX, pageY, offsetX, and offsetY.

    * Added JavascriptPlugin and DynamicImagePlugin.

commit 7a08079
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Oct 21 13:36:09 2023 -0500

    Bump io.ktor:ktor-server-default-headers from 2.3.3 to 2.3.5 (#548)

    Bumps [io.ktor:ktor-server-default-headers](https://github.com/ktorio/ktor) from 2.3.3 to 2.3.5.
    - [Release notes](https://github.com/ktorio/ktor/releases)
    - [Changelog](https://github.com/ktorio/ktor/blob/2.3.5/CHANGELOG.md)
    - [Commits](ktorio/ktor@2.3.3...2.3.5)

    ---
    updated-dependencies:
    - dependency-name: io.ktor:ktor-server-default-headers
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit feeb29e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Oct 21 13:35:02 2023 -0500

    Bump io.ktor:ktor-server-compression from 2.3.4 to 2.3.5 (#547)

    Bumps [io.ktor:ktor-server-compression](https://github.com/ktorio/ktor) from 2.3.4 to 2.3.5.
    - [Release notes](https://github.com/ktorio/ktor/releases)
    - [Changelog](https://github.com/ktorio/ktor/blob/2.3.5/CHANGELOG.md)
    - [Commits](ktorio/ktor@2.3.4...2.3.5)

    ---
    updated-dependencies:
    - dependency-name: io.ktor:ktor-server-compression
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Ian Clarke <[email protected]>

commit 65f7a9b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Oct 21 13:34:39 2023 -0500

    Bump org.jsoup:jsoup from 1.16.1 to 1.16.2 (#546)

    Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.16.1 to 1.16.2.
    - [Release notes](https://github.com/jhy/jsoup/releases)
    - [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES)
    - [Commits](jhy/jsoup@jsoup-1.16.1...jsoup-1.16.2)

    ---
    updated-dependencies:
    - dependency-name: org.jsoup:jsoup
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit f4729a5
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Oct 21 13:34:31 2023 -0500

    Bump com.github.ben-manes.versions from 0.48.0 to 0.49.0 (#545)

    Bumps com.github.ben-manes.versions from 0.48.0 to 0.49.0.

    ---
    updated-dependencies:
    - dependency-name: com.github.ben-manes.versions
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 626f192
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Oct 21 13:34:22 2023 -0500

    Bump io.ktor:ktor-server-jetty from 2.3.0 to 2.3.5 (#544)

    Bumps [io.ktor:ktor-server-jetty](https://github.com/ktorio/ktor) from 2.3.0 to 2.3.5.
    - [Release notes](https://github.com/ktorio/ktor/releases)
    - [Changelog](https://github.com/ktorio/ktor/blob/2.3.5/CHANGELOG.md)
    - [Commits](ktorio/ktor@2.3.0...2.3.5)

    ---
    updated-dependencies:
    - dependency-name: io.ktor:ktor-server-jetty
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit ae818c3
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sun Oct 15 20:15:22 2023 -0500

    Bump org.jetbrains.kotlinx.kover from 0.7.2 to 0.7.4 (#543)

    Bumps [org.jetbrains.kotlinx.kover](https://github.com/Kotlin/kotlinx-kover) from 0.7.2 to 0.7.4.
    - [Release notes](https://github.com/Kotlin/kotlinx-kover/releases)
    - [Changelog](https://github.com/Kotlin/kotlinx-kover/blob/main/CHANGELOG.md)
    - [Commits](Kotlin/kotlinx-kover@v0.7.2...0.7.4)

    ---
    updated-dependencies:
    - dependency-name: org.jetbrains.kotlinx.kover
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 9aeed15
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sun Oct 15 20:15:17 2023 -0500

    Bump io.ktor:ktor-server-caching-headers from 2.3.2 to 2.3.5 (#542)

    Bumps [io.ktor:ktor-server-caching-headers](https://github.com/ktorio/ktor) from 2.3.2 to 2.3.5.
    - [Release notes](https://github.com/ktorio/ktor/releases)
    - [Changelog](https://github.com/ktorio/ktor/blob/2.3.5/CHANGELOG.md)
    - [Commits](ktorio/ktor@2.3.2...2.3.5)

    ---
    updated-dependencies:
    - dependency-name: io.ktor:ktor-server-caching-headers
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Ian Clarke <[email protected]>

commit bbd99d6
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sun Oct 15 20:13:51 2023 -0500

    Bump io.ktor:ktor-network-tls-certificates from 2.3.2 to 2.3.5 (#541)

    Bumps [io.ktor:ktor-network-tls-certificates](https://github.com/ktorio/ktor) from 2.3.2 to 2.3.5.
    - [Release notes](https://github.com/ktorio/ktor/releases)
    - [Changelog](https://github.com/ktorio/ktor/blob/2.3.5/CHANGELOG.md)
    - [Commits](ktorio/ktor@2.3.2...2.3.5)

    ---
    updated-dependencies:
    - dependency-name: io.ktor:ktor-network-tls-certificates
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit ea12d85
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sun Oct 15 20:13:39 2023 -0500

    Bump io.kotest:kotest-bom from 5.6.2 to 5.7.2 (#538)

    Bumps [io.kotest:kotest-bom](https://github.com/kotest/kotest) from 5.6.2 to 5.7.2.
    - [Release notes](https://github.com/kotest/kotest/releases)
    - [Commits](https://github.com/kotest/kotest/commits)

    ---
    updated-dependencies:
    - dependency-name: io.kotest:kotest-bom
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 1333d8b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sun Oct 15 20:13:31 2023 -0500

    Bump io.github.bonigarcia:selenium-jupiter from 4.3.5 to 4.3.7 (#537)

    Bumps [io.github.bonigarcia:selenium-jupiter](https://github.com/bonigarcia/selenium-jupiter) from 4.3.5 to 4.3.7.
    - [Release notes](https://github.com/bonigarcia/selenium-jupiter/releases)
    - [Changelog](https://github.com/bonigarcia/selenium-jupiter/blob/master/CHANGELOG.md)
    - [Commits](bonigarcia/selenium-jupiter@selenium-jupiter-4.3.5...selenium-jupiter-4.3.7)

    ---
    updated-dependencies:
    - dependency-name: io.github.bonigarcia:selenium-jupiter
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit f0dd10b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Sep 14 13:03:43 2023 -0500

    Bump org.seleniumhq.selenium:selenium-http-jdk-client from 4.10.0 to 4.12.1 (#534)

    Bump org.seleniumhq.selenium:selenium-http-jdk-client

    Bumps [org.seleniumhq.selenium:selenium-http-jdk-client](https://github.com/SeleniumHQ/selenium) from 4.10.0 to 4.12.1.
    - [Release notes](https://github.com/SeleniumHQ/selenium/releases)
    - [Commits](https://github.com/SeleniumHQ/selenium/commits)

    ---
    updated-dependencies:
    - dependency-name: org.seleniumhq.selenium:selenium-http-jdk-client
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 4395a63
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Sep 14 13:03:31 2023 -0500

    Bump com.github.ben-manes.versions from 0.46.0 to 0.48.0 (#535)

    Bumps com.github.ben-manes.versions from 0.46.0 to 0.48.0.

    ---
    updated-dependencies:
    - dependency-name: com.github.ben-manes.versions
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit db680bc
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Sep 14 13:03:08 2023 -0500

    Bump io.ktor:ktor-server-compression from 2.3.2 to 2.3.4 (#532)

    Bumps [io.ktor:ktor-server-compression](https://github.com/ktorio/ktor) from 2.3.2 to 2.3.4.
    - [Release notes](https://github.com/ktorio/ktor/releases)
    - [Changelog](https://github.com/ktorio/ktor/blob/2.3.4/CHANGELOG.md)
    - [Commits](ktorio/ktor@2.3.2...2.3.4)

    ---
    updated-dependencies:
    - dependency-name: io.ktor:ktor-server-compression
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit b710497
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Sep 14 13:02:56 2023 -0500

    Bump dev.forkhandles:result4k from 2.5.0.0 to 2.7.1.0 (#530)

    Bumps [dev.forkhandles:result4k](https://github.com/fork-handles/forkhandles) from 2.5.0.0 to 2.7.1.0.
    - [Changelog](https://github.com/fork-handles/forkhandles/blob/trunk/CHANGELOG.md)
    - [Commits](fork-handles/forkhandles@2.5.0.0...2.7.1.0)

    ---
    updated-dependencies:
    - dependency-name: dev.forkhandles:result4k
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants