File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## Unreleased
4+
5+ - fix: restore proper icon sizes for the slug sync button and the slug-change info banner after the Geist icon standardization
6+
37## 0.7.0
48
59- feat: add request-scoped ancestor caching to avoid redundant DB queries when computing virtual fields for sibling pages
Original file line number Diff line number Diff line change @@ -174,13 +174,12 @@ export const SlugFieldClient = (clientProps: SlugFieldProps & TextFieldClientPro
174174 onMouseEnter = { ( _ ) => setShowSyncButtonTooltip ( true ) }
175175 onMouseLeave = { ( _ ) => setShowSyncButtonTooltip ( false ) }
176176 style = { {
177+ alignItems : 'center' ,
177178 background : 'none' ,
178179 border : 'none' ,
179- color : 'var(--theme-elevation-500)' ,
180180 cursor : 'pointer' ,
181+ display : 'flex' ,
181182 padding : 0 ,
182- transform : 'scale(0.5)' ,
183- transition : 'color 0.2s' ,
184183 } }
185184 type = "button"
186185 >
@@ -252,11 +251,11 @@ export const SlugFieldClient = (clientProps: SlugFieldProps & TextFieldClientPro
252251const InfoIcon = ( ) => (
253252 < svg
254253 data-testid = "geist-icon"
255- height = "16 "
254+ height = "20 "
256255 strokeLinejoin = "round"
257- style = { { color : 'currentcolor' } }
258- viewBox = "0 0 16 16 "
259- width = "16 "
256+ style = { { color : 'var(--theme-elevation-800)' , flexShrink : 0 } }
257+ viewBox = "-4 -4 24 24 "
258+ width = "20 "
260259 >
261260 < path
262261 clipRule = "evenodd"
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ export const BreadcrumbsIcon: React.FC<{
44 readonly ariaLabel ?: string
55 readonly className ?: string
66 readonly size ?: number
7- } > = ( { ariaLabel, className, size = 16 } ) => {
7+ } > = ( { ariaLabel, className, size = 20 } ) => {
88 return (
99 < svg
1010 aria-label = { ariaLabel }
1111 className = { className }
1212 data-testid = "geist-icon"
1313 height = { size }
1414 strokeLinejoin = "round"
15- style = { { color : 'currentcolor ' } }
15+ style = { { color : 'var(--theme-elevation-800) ' } }
1616 viewBox = "0 0 16 16"
1717 width = { size }
1818 >
Original file line number Diff line number Diff line change @@ -4,16 +4,16 @@ export const HomeIcon: React.FC<{
44 readonly ariaLabel ?: string
55 readonly className ?: string
66 readonly size ?: number
7- } > = ( { ariaLabel, className, size = 16 } ) => {
7+ } > = ( { ariaLabel, className, size = 20 } ) => {
88 return (
99 < svg
1010 aria-label = { ariaLabel }
1111 className = { className }
1212 data-testid = "geist-icon"
1313 height = { size }
1414 strokeLinejoin = "round"
15- style = { { color : 'currentcolor ' } }
16- viewBox = "0 0 16 16 "
15+ style = { { color : 'var(--theme-elevation-800) ' } }
16+ viewBox = "-2 -2 20 20 "
1717 width = { size }
1818 >
1919 < path
Original file line number Diff line number Diff line change @@ -4,16 +4,16 @@ export const RefreshIcon: React.FC<{
44 readonly ariaLabel ?: string
55 readonly className ?: string
66 readonly size ?: number
7- } > = ( { ariaLabel, className, size = 16 } ) => {
7+ } > = ( { ariaLabel, className, size = 20 } ) => {
88 return (
99 < svg
1010 aria-label = { ariaLabel }
1111 className = { className }
1212 data-testid = "geist-icon"
1313 height = { size }
1414 strokeLinejoin = "round"
15- style = { { color : 'currentcolor ' } }
16- viewBox = "0 0 16 16 "
15+ style = { { color : 'var(--theme-elevation-800) ' } }
16+ viewBox = "-4 -4 24 24 "
1717 width = { size }
1818 >
1919 < path
You can’t perform that action at this time.
0 commit comments