Releases: primer/view_components
Releases · primer/view_components
Release list
v0.53.2
v0.53.1
v0.53.0
Minor Changes
- #4110
bf92d87Thanks @dylanatsmith! -Blankslate: The heading and body text now use the smaller compact sizes by default, and the redundant responsive@containerblock has been removed since the compact typography it produced is now the default
Patch Changes
-
#3696
8b8d542Thanks @myabc! - Fix incorrect labelforattribute value whenscope_id_to_model: false -
#4113
7c52375Thanks @liuliu-dev! - Rejectjavascript:andvbscript:URI schemes inhref(defense in depth). When a component (e.g.Primer::Beta::Label,Primer::Beta::Button,Primer::Beta::Link) is rendered as an anchor with an unsafehref, the value is now rejected — raising in non-production environments and silently dropped (rendered as an anchor with nohref) in production. -
#4107
222a846Thanks @dylanatsmith! - FixToggleSwitchknob spacing and border-radius to matchprimer/react
v0.52.2
v0.52.1
v0.52.0
Minor Changes
- #4096
3ba48a2Thanks @jonrohan! - Addstatic/classnames.js, which default-exports aSetof every unique CSS class name in the library for consumers and tooling. It is available via the@primer/view-components/classnamesimport subpath.
Patch Changes
- #4095
6733f3cThanks @copilot-swe-agent! - Improve CSS style-recalc performance by removing selectors with universal subjects and expanding merged:is()selector lists so the browser can fast-reject them. Affectsautocomplete-item,Popover-message--*,breadcrumb-item, andFormControl-checkbox-wrap/FormControl-radio-wrapstyles.