openproject-primer_view_components 0.39.0 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3ebb419d4e20f0975a1f77b6c75b135d9852a2604f876e2585f096065284faf
4
- data.tar.gz: 4912b1756dfd9729abac0940fce6916f330fb26e673bf29b17da7a584e5be51f
3
+ metadata.gz: ff9f0c72e9e37305fe52894e785773c8608e6c6716483145ebbb12874d1c7e57
4
+ data.tar.gz: b8b5b507657c7824aa5eb714d51194f8c2273275c100f8000f06fa18e8f019da
5
5
  SHA512:
6
- metadata.gz: 86be7a5639c3f53d1c3ecd54f1b948446c82d0a5a6fb8503809bb9197faf1943d9786ee9ea18545897be45e76cbb44ba0f44f3760401fee16de8d25d9e32edb4
7
- data.tar.gz: bf4421a4f6ed01236c31fbf0c64371eff19032ed63fd88505324109328b0388b17be2ae4b09924d65b0b7559829ee2179381e0cbe5f346967d56920552b8f5ab
6
+ metadata.gz: 943eb81e21e077dab36f19896866d95b91f612b022339aa54844341238616c4845002851cce92c0aad68f88209b4d7ab53563378ea7eeb82fe82003b5b28a9aa
7
+ data.tar.gz: 800f37b7ad626d74ad1cc4aea0376170afb9f8d6e8629e6f9193ed3a1de05a8c19efcf46618b516114f6b95b56435eb0a45c79acca6a7e8f85b6d66e280d036a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.40.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2964](https://github.com/primer/view_components/pull/2964) [`91f5a57`](https://github.com/opf/primer_view_components/commit/91f5a57e1b2df25844b96971b08d2a5a8370255f) Thanks [@klaustopher](https://github.com/klaustopher)! - Add `turbo: true` as an parameter for the `ToggleSwitch` component and treat the respoonse (when it has the correct MIME type) as a [Turbo Stream](https://turbo.hotwired.dev/handbook/streams). The new `turbo` paramater defaults to false
8
+ and with that the HTTP response is simply ignored as is the current behavior.
9
+
10
+ - [#2966](https://github.com/primer/view_components/pull/2966) [`05172fa`](https://github.com/opf/primer_view_components/commit/05172fa681df5a65c14e4f4a863c22eef7f28970) Thanks [@camertron](https://github.com/camertron)! - Ensure Down, Home, and End behave as expected when a SelectPanel's input field has focus
11
+
12
+ ### Patch Changes
13
+
14
+ - [#2972](https://github.com/primer/view_components/pull/2972) [`9b675a7`](https://github.com/opf/primer_view_components/commit/9b675a78408e1e262850029ee730ad0cd6ac0d23) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Replace `align-items` with `align-self` and apply it on `ActionList` group headings directly.
15
+
16
+ ## 0.39.1
17
+
18
+ ### Patch Changes
19
+
20
+ - [#154](https://github.com/opf/primer_view_components/pull/154) [`8bf5ac3`](https://github.com/opf/primer_view_components/commit/8bf5ac30202c291af00334faf0b7f7cd28a10849) Thanks [@HDinger](https://github.com/HDinger)! - Update previews for Primer::OpenProject::PageHeader
21
+
3
22
  ## 0.39.0
4
23
 
5
24
  ### Minor Changes
@@ -2,6 +2,7 @@ declare class ToggleSwitchElement extends HTMLElement {
2
2
  switch: HTMLElement;
3
3
  loadingSpinner: HTMLElement;
4
4
  errorIcon: HTMLElement;
5
+ turbo: boolean;
5
6
  private toggling;
6
7
  get src(): string | null;
7
8
  get csrf(): string | null;
@@ -25,6 +26,9 @@ declare class ToggleSwitchElement extends HTMLElement {
25
26
  declare global {
26
27
  interface Window {
27
28
  ToggleSwitchElement: typeof ToggleSwitchElement;
29
+ Turbo: {
30
+ renderStreamMessage: (message: string) => void;
31
+ };
28
32
  }
29
33
  }
30
34
  export {};