Skip to content

Commit

Permalink
Update dependencies (#238)
Browse files Browse the repository at this point in the history
* Update dependencies

* TS update

* Assets build

* Doc

* Update @primer/css to 21.5.1

* Update upstream dependencies

* Update GH workflow
  • Loading branch information
ArthurClemens authored Dec 31, 2024
1 parent a6db4c9 commit c47d74a
Show file tree
Hide file tree
Showing 17 changed files with 572 additions and 505 deletions.
4 changes: 2 additions & 2 deletions .github/github_workflows.ex
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ defmodule GithubWorkflows do
matrix: [
versions: [
[
elixir: "1.17",
otp: "27.0",
elixir: "1.18",
otp: "27.2",
"runner-image": "ubuntu-22.04"
]
]
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
elixir-version: ${{ matrix.versions.elixir }}
otp-version: ${{ matrix.versions.otp }}
- uses: actions/cache@v4
- uses: actions/cache@v3
with:
path: |
_build
Expand All @@ -38,8 +38,8 @@ jobs:
fail-fast: false
matrix:
versions:
- elixir: 1.17
otp: 27.0
- elixir: 1.18
otp: 27.2
runner-image: ubuntu-22.04
credo:
needs: compile
Expand All @@ -51,7 +51,7 @@ jobs:
with:
elixir-version: ${{ matrix.versions.elixir }}
otp-version: ${{ matrix.versions.otp }}
- uses: actions/cache@v4
- uses: actions/cache@v3
with:
path: |
_build
Expand All @@ -69,8 +69,8 @@ jobs:
fail-fast: false
matrix:
versions:
- elixir: 1.17
otp: 27.0
- elixir: 1.18
otp: 27.2
runner-image: ubuntu-22.04
deps_audit:
needs: compile
Expand All @@ -82,7 +82,7 @@ jobs:
with:
elixir-version: ${{ matrix.versions.elixir }}
otp-version: ${{ matrix.versions.otp }}
- uses: actions/cache@v4
- uses: actions/cache@v3
with:
path: |
_build
Expand All @@ -100,8 +100,8 @@ jobs:
fail-fast: false
matrix:
versions:
- elixir: 1.17
otp: 27.0
- elixir: 1.18
otp: 27.2
runner-image: ubuntu-22.04
format:
needs: compile
Expand All @@ -113,7 +113,7 @@ jobs:
with:
elixir-version: ${{ matrix.versions.elixir }}
otp-version: ${{ matrix.versions.otp }}
- uses: actions/cache@v4
- uses: actions/cache@v3
with:
path: |
_build
Expand All @@ -131,8 +131,8 @@ jobs:
fail-fast: false
matrix:
versions:
- elixir: 1.17
otp: 27.0
- elixir: 1.18
otp: 27.2
runner-image: ubuntu-22.04
hex_audit:
needs: compile
Expand All @@ -144,7 +144,7 @@ jobs:
with:
elixir-version: ${{ matrix.versions.elixir }}
otp-version: ${{ matrix.versions.otp }}
- uses: actions/cache@v4
- uses: actions/cache@v3
with:
path: |
_build
Expand All @@ -162,8 +162,8 @@ jobs:
fail-fast: false
matrix:
versions:
- elixir: 1.17
otp: 27.0
- elixir: 1.18
otp: 27.2
runner-image: ubuntu-22.04
test:
needs: compile
Expand All @@ -175,7 +175,7 @@ jobs:
with:
elixir-version: ${{ matrix.versions.elixir }}
otp-version: ${{ matrix.versions.otp }}
- uses: actions/cache@v4
- uses: actions/cache@v3
with:
path: |
_build
Expand All @@ -193,8 +193,8 @@ jobs:
fail-fast: false
matrix:
versions:
- elixir: 1.17
otp: 27.0
- elixir: 1.18
otp: 27.2
runner-image: ubuntu-22.04
unused_deps:
needs: compile
Expand All @@ -206,7 +206,7 @@ jobs:
with:
elixir-version: ${{ matrix.versions.elixir }}
otp-version: ${{ matrix.versions.otp }}
- uses: actions/cache@v4
- uses: actions/cache@v3
with:
path: |
_build
Expand All @@ -224,8 +224,8 @@ jobs:
fail-fast: false
matrix:
versions:
- elixir: 1.17
otp: 27.0
- elixir: 1.18
otp: 27.2
runner-image: ubuntu-22.04
ci_status:
needs:
Expand All @@ -243,7 +243,7 @@ jobs:
with:
elixir-version: ${{ matrix.versions.elixir }}
otp-version: ${{ matrix.versions.otp }}
- uses: actions/cache@v4
- uses: actions/cache@v3
with:
path: |
_build
Expand All @@ -257,6 +257,6 @@ jobs:
fail-fast: false
matrix:
versions:
- elixir: 1.17
otp: 27.0
- elixir: 1.18
otp: 27.2
runner-image: ubuntu-22.04
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
erlang 27.2
elixir 1.18.0
nodejs 18.18.0
elixir 1.18.1
nodejs 22.12.0
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@

## 0.10.0

### LiveView 1.0

- Support for Phoenix.LiveView 1.0.
- See [Installation](doc-extra/installation.md) for using PrimerLive with Phoenix.LiveView 0.20.

See [Installation](doc-extra/installation.md) for using PrimerLive with Phoenix.LiveView 0.20.

### Other changes

- Improve disabled [Toggle switch](`PrimerLive.Component.toggle_switch/1`) styles.
- Updated upstream dependency `@primer/css` to `21.5.1`.
- Updated upstream dependency `@primer/view-components` to `0.36.1`.

## 0.9.1

Expand Down
5 changes: 4 additions & 1 deletion assets/javascript/prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ import { ViewHook, LiveSocket } from "phoenix_live_view";
/**
Prompt Hook handles status callbacks.
*/
export type TPrompt = Partial<ViewHook> & {
interface IPrompt extends ViewHook<TPrompt> {
handlePromptOpen?: (evt: CustomEvent) => void;
handlePromptClose?: (evt: CustomEvent) => void;
handlePromptToggle?: (evt: CustomEvent) => void;
}

export type TPrompt = IPrompt & {
liveSocket?: LiveSocket;
};

Expand Down
84 changes: 60 additions & 24 deletions assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c47d74a

Please sign in to comment.