Skip to content

Commit 1b6694c

Browse files
authored
Updating to Primer View Components v0.0.117 (#2351)
* Updating to primer view components 0.0.117 * Create strange-tables-repeat.md * Move Link import to pvc
1 parent 07d8f58 commit 1b6694c

File tree

7 files changed

+17
-71
lines changed

7 files changed

+17
-71
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": patch
3+
---
4+
5+
Updating to primer view components 0.0.117

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
},
4444
"dependencies": {
4545
"@primer/primitives": "^7.9.0",
46-
"@primer/view-components": "^0.0.115"
46+
"@primer/view-components": "^0.0.117"
4747
},
4848
"devDependencies": {
4949
"@changesets/changelog-github": "0.4.6",

src/labels/states.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import '@primer/view-components/app/components/primer/state_component';
1+
@import '@primer/view-components/app/components/primer/beta/state';

src/links/link.scss

Lines changed: 1 addition & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1 @@
1-
// Links
2-
3-
.Link {
4-
color: var(--color-accent-fg);
5-
6-
&:hover {
7-
text-decoration: underline;
8-
cursor: pointer;
9-
}
10-
11-
&:focus,
12-
&:focus-visible {
13-
outline-offset: 0;
14-
}
15-
}
16-
17-
.Link--primary {
18-
color: var(--color-fg-default) !important;
19-
20-
&:hover {
21-
color: var(--color-accent-fg) !important;
22-
}
23-
}
24-
25-
.Link--secondary {
26-
color: var(--color-fg-muted) !important;
27-
28-
&:hover {
29-
color: var(--color-accent-fg) !important;
30-
}
31-
}
32-
33-
.Link--muted {
34-
color: var(--color-fg-muted) !important;
35-
36-
&:hover {
37-
color: var(--color-accent-fg) !important;
38-
text-decoration: none;
39-
}
40-
}
41-
42-
// Set the link color only on hover
43-
// Useful when you want only part of a link to turn blue on hover
44-
.Link--onHover {
45-
&:hover {
46-
color: var(--color-accent-fg) !important;
47-
text-decoration: underline;
48-
cursor: pointer;
49-
}
50-
}
51-
52-
// When using a color utility class inside of a link class,
53-
// color should change with link on hover.
54-
.Link--secondary,
55-
.Link--primary,
56-
.Link--muted {
57-
&:hover [class*='color-fg'] {
58-
color: inherit !important;
59-
}
60-
}
1+
@import '@primer/view-components/app/components/primer/beta/link';

src/subhead/subhead.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import '@primer/view-components/app/components/primer/subhead_component';
1+
@import '@primer/view-components/app/components/primer/beta/subhead';

src/timeline/timeline-item.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import '@primer/view-components/app/components/primer/timeline_item_component';
1+
@import '@primer/view-components/app/components/primer/beta/timeline_item';

yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -838,9 +838,9 @@
838838
integrity sha512-ZOJ+U771Mw68qp2GPbcqPt2Xg0LEl0YwiIFHXwVLAFm2TgDnsgcCHhXO8PIxOWPqSFO4S7xIMD9CBobfaWGASA==
839839

840840
"@github/relative-time-element@^4.0.0":
841-
version "4.0.0"
842-
resolved "https://registry.yarnpkg.com/@github/relative-time-element/-/relative-time-element-4.0.0.tgz#18ca051f0385142e8c13096cd57e8637012c99ef"
843-
integrity sha512-A//nGe6GFciGP0GxSZZKZbULwSZuENZ19cTaAkvRU3Ptqgdpo95VF6YS5TPi54NVM/zt8q6KtDTOMyjdFQHj0g==
841+
version "4.1.5"
842+
resolved "https://registry.yarnpkg.com/@github/relative-time-element/-/relative-time-element-4.1.5.tgz#4eaa3707568696661eae1dbe1d134fa2ffde1121"
843+
integrity sha512-WAf1EQV5Sn6jGuAIQur/ztKlEV9R+VHDNwqEbeaOb6s9fiwM5z7+ujlWNZtgFkDp3lF0H8D/f0vdiPlfHz0ZTQ==
844844

845845
"@github/tab-container-element@^3.1.2":
846846
version "3.2.0"
@@ -1210,10 +1210,10 @@
12101210
stylelint-scss "^4.0.0"
12111211
tap-map "^1.0.0"
12121212

1213-
"@primer/view-components@^0.0.115":
1214-
version "0.0.115"
1215-
resolved "https://registry.yarnpkg.com/@primer/view-components/-/view-components-0.0.115.tgz#79f36c14327742c6eac1b73ff2eb3bb5206984fa"
1216-
integrity sha512-Qo6vNE0/UK6azsu9wTpb9AneHpM2FkA/saZ6UB1kvRttD5M0d/xto8sqq6b45QkKukqIlS4MhzyyvLIvC6rI1g==
1213+
"@primer/view-components@^0.0.117":
1214+
version "0.0.117"
1215+
resolved "https://registry.yarnpkg.com/@primer/view-components/-/view-components-0.0.117.tgz#bb077f8233b5e6562ea8617f7e90b92559896012"
1216+
integrity sha512-srCp6BeSaCSELxvD6P+xp8/NGtiHoj9iY4y9duI1SS5wdc11JtaCXm5Iq/8SQaFZ9ONaIQnyeAveSuUCE7Jb8A==
12171217
dependencies:
12181218
"@github/auto-check-element" "^5.2.0"
12191219
"@github/auto-complete-element" "^3.3.4"

0 commit comments

Comments
 (0)