Skip to content

Commit 1c74c03

Browse files
authored
Merge branch 'main' into test/update-theme-provider
2 parents bc5fddd + ee77141 commit 1c74c03

19 files changed

+1323
-673
lines changed

.changeset/breezy-cars-hear.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
UnderlineNav2: Prevent item width calculation when they are null

.changeset/flat-cars-type.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
UnderlineNav2: Only run overflow layout function when nav item has a width

.storybook/main.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ module.exports = {
66
'@storybook/addon-interactions',
77
'@storybook/addon-a11y',
88
'@storybook/addon-links',
9-
'storybook-addon-performance/register',
109
{
1110
name: 'storybook-addon-turbo-build',
1211
options: {
@@ -30,5 +29,9 @@ module.exports = {
3029
interactionsDebugger: true,
3130
storyStoreV7: true
3231
},
33-
framework: '@storybook/react'
32+
framework: '@storybook/react',
33+
reactOptions: {
34+
fastRefresh: true,
35+
strictMode: true
36+
}
3437
}

.storybook/preview.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import {addons} from '@storybook/addons'
2-
import {withPerformance} from 'storybook-addon-performance'
32
import {withThemeProvider, toolbarTypes} from '../src/utils/story-helpers'
43

54
export const globalTypes = toolbarTypes
6-
export const decorators = [withThemeProvider, withPerformance]
5+
export const decorators = [withThemeProvider]
76

87
addons.setConfig({
98
// Some stories may set up keyboard event handlers, which can be interfered

0 commit comments

Comments
 (0)