primer_view_components 0.28.0 → 0.30.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: 47a02470c4fe098b7baa2f71f3f8fc598893619c0d56956eb3dadf1f91e3a2ea
4
- data.tar.gz: c2ae88ba493e0338ba35cf7a7b6b8649a6bf75d9d43ba93367616d45bfd6fed7
3
+ metadata.gz: df08f8b3592da5d14d7c7f499196a5b1c1898de05aa142549c6cae24e0be3510
4
+ data.tar.gz: c49357f994349d15acb41452eaeabbe2894af4cab2fbde1faa9a5d5cb56030f2
5
5
  SHA512:
6
- metadata.gz: 27f39a2d347dc2fe6014c3f0009a48576751731fb9e31d7f4bd63b61add42b8bad10905ef1d4bc251607fe545f89db817cdb9352ce73a335319064c842f1854d
7
- data.tar.gz: db1c076f178206af17404ca90e8e3b02fcc2fb87619742ebe0c927cfd52e24f732cf340716e45084857ecab3e93261f553b4252d88c8f5c201d80f38f268b20e
6
+ metadata.gz: b53813e3c073e678c72b674f72961168d1f541240ce7a23ab9066d1a8f8149674c587ef108a10cbdf0d071a6f6b2c963d8681434899294e8f76a7286ffd642c7
7
+ data.tar.gz: bee8c4d789c67332a6f1751209dd2155d9638212af2461344bbc2b6bc23e2bd6d3a90b64bd4dc1cc2b91f5f63878740a121db816a9d3b1e2e392047284131d19
data/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.30.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2964](https://github.com/primer/view_components/pull/2964) [`91f5a57`](https://github.com/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/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/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.29.0
17
+
18
+ ### Minor Changes
19
+
20
+ - [#2963](https://github.com/primer/view_components/pull/2963) [`37ee0f7`](https://github.com/primer/view_components/commit/37ee0f7b0ef2d0de95ac337e43c1382a7f19e103) Thanks [@camertron](https://github.com/camertron)! - Add defaults to SelectPanel::ItemLists; fix issue showing no results label for local fetch strategy
21
+
3
22
  ## 0.28.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 {};