primer_view_components 0.52.2 → 0.53.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 +4 -4
- data/CHANGELOG.md +14 -0
- data/app/assets/javascripts/primer_view_components.js +1 -1
- data/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/app/assets/styles/primer_view_components.css +1 -1
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/toggle_switch.css +1 -1
- data/app/components/primer/alpha/toggle_switch.css.map +1 -1
- data/app/components/primer/alpha/toggle_switch.pcss +8 -6
- data/app/components/primer/base_component.rb +1 -0
- data/app/components/primer/beta/blankslate.css +1 -1
- data/app/components/primer/beta/blankslate.css.map +1 -1
- data/app/components/primer/beta/blankslate.pcss +2 -53
- data/app/components/primer/component.rb +16 -0
- data/app/lib/primer/forms/dsl/input.rb +5 -1
- data/app/lib/primer/safe_href_helper.rb +36 -0
- data/lib/primer/view_components/version.rb +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54df9c31542ee9f7fc4e84609a843d7f17739c2e6b652c66a582a2e3212dd685
|
|
4
|
+
data.tar.gz: c3b276156b483cb8858c2182c4e46250503673c8d057acdc19db7857f83f1cfc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a67e297875fec6169abf35b0543051305543c0c86614327be7e042f437728e7a2888abe964ce9f7efea58b0d3a40b163392ba84b9a73c32e7ec5f332c78e52af
|
|
7
|
+
data.tar.gz: 47b768c6c47dcc12abafe43bae4baae5c6f81cc86b48117360fa33970ca06084bd9a744c77a86bd09b39a7db7f3050639b85f0037bcf550414134784d7ea5608
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 0.53.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#4110](https://github.com/primer/view_components/pull/4110) [`bf92d87`](https://github.com/primer/view_components/commit/bf92d870743b8d683867e376379e67ebc79220cc) Thanks [@dylanatsmith](https://github.com/dylanatsmith)! - `Blankslate`: The heading and body text now use the smaller compact sizes by default, and the redundant responsive `@container` block has been removed since the compact typography it produced is now the default
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#3696](https://github.com/primer/view_components/pull/3696) [`8b8d542`](https://github.com/primer/view_components/commit/8b8d54286d10f90b52030e9100f27f401121fe1f) Thanks [@myabc](https://github.com/myabc)! - Fix incorrect label `for` attribute value when `scope_id_to_model: false`
|
|
12
|
+
|
|
13
|
+
- [#4113](https://github.com/primer/view_components/pull/4113) [`7c52375`](https://github.com/primer/view_components/commit/7c523756a4edf46ce490da48c74f2c35ffb57f79) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Reject `javascript:` and `vbscript:` URI schemes in `href` (defense in depth). When a component (e.g. `Primer::Beta::Label`, `Primer::Beta::Button`, `Primer::Beta::Link`) is rendered as an anchor with an unsafe `href`, the value is now rejected — raising in non-production environments and silently dropped (rendered as an anchor with no `href`) in production.
|
|
14
|
+
|
|
15
|
+
- [#4107](https://github.com/primer/view_components/pull/4107) [`222a846`](https://github.com/primer/view_components/commit/222a846247905892afd0f26c4410924a6450647d) Thanks [@dylanatsmith](https://github.com/dylanatsmith)! - Fix `ToggleSwitch` knob spacing and border-radius to match `primer/react`
|
|
16
|
+
|
|
3
17
|
## 0.52.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|