Skip to content

Releases: primer/view_components

v0.53.2

Choose a tag to compare

@primer primer released this 05 Aug 04:00
8e262ec

Patch Changes

  • #4152 0c0462d Thanks @gabrielhl! - Reserve height as well as width in .ToggleSwitch-statusIcon so the switch doesn't jump when the loading spinner is shown

v0.53.1

Choose a tag to compare

@primer primer released this 02 Jul 03:04
ebd973d

Patch Changes

  • #4133 0098814 Thanks @jonrohan! - Downgrade @oddbird/popover-polyfill to ^0.5.2 and pin it via Dependabot ignore so it won't get bumped again.

v0.53.0

Choose a tag to compare

@primer primer released this 02 Jul 02:07
b7c8e21

Minor Changes

  • #4110 bf92d87 Thanks @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

Patch Changes

  • #3696 8b8d542 Thanks @myabc! - Fix incorrect label for attribute value when scope_id_to_model: false

  • #4113 7c52375 Thanks @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.

  • #4107 222a846 Thanks @dylanatsmith! - Fix ToggleSwitch knob spacing and border-radius to match primer/react

v0.52.2

Choose a tag to compare

@primer primer released this 19 Jun 03:17
82f215b

Patch Changes

v0.52.1

Choose a tag to compare

@primer primer released this 19 Jun 00:12
aed5157

Patch Changes

v0.52.0

Choose a tag to compare

@primer primer released this 18 Jun 23:02
2a3934f

Minor Changes

  • #4096 3ba48a2 Thanks @jonrohan! - Add static/classnames.js, which default-exports a Set of every unique CSS class name in the library for consumers and tooling. It is available via the @primer/view-components/classnames import subpath.

Patch Changes

  • #4095 6733f3c Thanks @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. Affects autocomplete-item, Popover-message--*, breadcrumb-item, and FormControl-checkbox-wrap/FormControl-radio-wrap styles.

v0.51.6

Choose a tag to compare

@primer primer released this 16 Jun 13:57
61b1307

Patch Changes

v0.51.5

Choose a tag to compare

@primer primer released this 11 May 19:58
7bf6dbf

Patch Changes

v0.51.4

Choose a tag to compare

@primer primer released this 18 Apr 01:13
b677f82

Patch Changes

  • 2771507 Thanks @jonrohan! - Replace deprecated --control-medium-lineBoxHeight with --base-size-20

v0.51.3

Choose a tag to compare

@primer primer released this 31 Mar 04:35
3e53c55

Patch Changes

  • #3997 35c30b2 Thanks @siddharthkp! - Add tmp- prefixed duplicate classes for margin and padding utilities. System arguments like mb: 3 now output both mb-3 and tmp-mb-3 classes to support CSS namespace migration.