Skip to content

Commit 2a3934f

Browse files
Release Tracking (#4098)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 6733f3c commit 2a3934f

10 files changed

Lines changed: 39 additions & 25 deletions

File tree

.changeset/classnames-export.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fast-pumas-juggle.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# CHANGELOG
22

3+
## 0.52.0
4+
5+
### Minor Changes
6+
7+
- [#4096](https://github.com/primer/view_components/pull/4096) [`3ba48a2`](https://github.com/primer/view_components/commit/3ba48a24494e2bb2bb4ed1aff5c612b55c237980) Thanks [@jonrohan](https://github.com/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.
8+
9+
### Patch Changes
10+
11+
- [#4095](https://github.com/primer/view_components/pull/4095) [`6733f3c`](https://github.com/primer/view_components/commit/6733f3c0e902523dd23e5b94d3cd8fab7443aea2) Thanks [@copilot-swe-agent](https://github.com/apps/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.
12+
313
## 0.51.6
414

515
### Patch Changes

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
primer_view_components (0.51.6)
4+
primer_view_components (0.52.0)
55
actionview (>= 7.2.0)
66
activesupport (>= 7.2.0)
77
octicons (>= 18.0.0)

demo/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
primer_view_components (0.51.6)
4+
primer_view_components (0.52.0)
55
actionview (>= 7.2.0)
66
activesupport (>= 7.2.0)
77
octicons (>= 18.0.0)

lib/primer/view_components/version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ module Primer
55
module ViewComponents
66
module VERSION
77
MAJOR = 0
8-
MINOR = 51
9-
PATCH = 6
8+
MINOR = 52
9+
PATCH = 0
1010

1111
STRING = [MAJOR, MINOR, PATCH].join(".")
1212
end

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@primer/view-components",
3-
"version": "0.51.6",
3+
"version": "0.52.0",
44
"description": "ViewComponents for the Primer Design System",
55
"main": "app/assets/javascripts/primer_view_components.js",
66
"module": "app/components/primer/primer.js",

static/classnames.cjs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ module.exports = new Set([
9191
'Button--labelWrap',
9292
'Button--large',
9393
'Button--link',
94-
'Button--medium',
9594
'Button--primary',
9695
'Button--secondary',
9796
'Button--small',
@@ -199,6 +198,7 @@ module.exports = new Set([
199198
'Overlay',
200199
'Overlay--full',
201200
'Overlay--full-whenNarrow',
201+
'Overlay--fullscreen-whenNarrow',
202202
'Overlay--height-auto',
203203
'Overlay--height-large',
204204
'Overlay--height-medium',
@@ -248,10 +248,17 @@ module.exports = new Set([
248248
'Overlay-titleWrap',
249249
'Popover',
250250
'Popover-message',
251+
'Popover-message--bottom',
251252
'Popover-message--bottom-left',
252253
'Popover-message--bottom-right',
253254
'Popover-message--large',
255+
'Popover-message--left',
256+
'Popover-message--left-bottom',
257+
'Popover-message--left-top',
254258
'Popover-message--no-caret',
259+
'Popover-message--right',
260+
'Popover-message--right-bottom',
261+
'Popover-message--right-top',
255262
'Popover-message--top-left',
256263
'Popover-message--top-right',
257264
'Progress',
@@ -358,6 +365,7 @@ module.exports = new Set([
358365
'blankslate-capped',
359366
'blankslate-clean-background',
360367
'blankslate-container',
368+
'blankslate-description',
361369
'blankslate-heading',
362370
'blankslate-icon',
363371
'blankslate-image',
@@ -377,9 +385,6 @@ module.exports = new Set([
377385
'btn-small-mktg',
378386
'btn-subtle-mktg',
379387
'close-button',
380-
'container-lg',
381-
'container-md',
382-
'container-xl',
383388
'css-truncate',
384389
'css-truncate-overflow',
385390
'css-truncate-target',
@@ -409,6 +414,8 @@ module.exports = new Set([
409414
'flash-success',
410415
'flash-warn',
411416
'form-control',
417+
'has-modal',
418+
'has-modal-disable-scroll',
412419
'is-dragging',
413420
'label',
414421
'labels',

static/classnames.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ const classNames = new Set([
9191
'Button--labelWrap',
9292
'Button--large',
9393
'Button--link',
94-
'Button--medium',
9594
'Button--primary',
9695
'Button--secondary',
9796
'Button--small',
@@ -199,6 +198,7 @@ const classNames = new Set([
199198
'Overlay',
200199
'Overlay--full',
201200
'Overlay--full-whenNarrow',
201+
'Overlay--fullscreen-whenNarrow',
202202
'Overlay--height-auto',
203203
'Overlay--height-large',
204204
'Overlay--height-medium',
@@ -248,10 +248,17 @@ const classNames = new Set([
248248
'Overlay-titleWrap',
249249
'Popover',
250250
'Popover-message',
251+
'Popover-message--bottom',
251252
'Popover-message--bottom-left',
252253
'Popover-message--bottom-right',
253254
'Popover-message--large',
255+
'Popover-message--left',
256+
'Popover-message--left-bottom',
257+
'Popover-message--left-top',
254258
'Popover-message--no-caret',
259+
'Popover-message--right',
260+
'Popover-message--right-bottom',
261+
'Popover-message--right-top',
255262
'Popover-message--top-left',
256263
'Popover-message--top-right',
257264
'Progress',
@@ -358,6 +365,7 @@ const classNames = new Set([
358365
'blankslate-capped',
359366
'blankslate-clean-background',
360367
'blankslate-container',
368+
'blankslate-description',
361369
'blankslate-heading',
362370
'blankslate-icon',
363371
'blankslate-image',
@@ -377,9 +385,6 @@ const classNames = new Set([
377385
'btn-small-mktg',
378386
'btn-subtle-mktg',
379387
'close-button',
380-
'container-lg',
381-
'container-md',
382-
'container-xl',
383388
'css-truncate',
384389
'css-truncate-overflow',
385390
'css-truncate-target',
@@ -409,6 +414,8 @@ const classNames = new Set([
409414
'flash-success',
410415
'flash-warn',
411416
'form-control',
417+
'has-modal',
418+
'has-modal-disable-scroll',
412419
'is-dragging',
413420
'label',
414421
'labels',

0 commit comments

Comments
 (0)