Skip to content

Commit e9b3b0c

Browse files
authored
update ds and fix console errors (#1379)
1 parent 41f79e1 commit e9b3b0c

File tree

5 files changed

+25
-18
lines changed

5 files changed

+25
-18
lines changed

www/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"dependencies": {
3535
"@absinthe/socket": "0.2.1",
3636
"@apollo/client": "3.10.3",
37+
"@emotion/is-prop-valid": "1.3.1",
3738
"@emotion/react": "11.11.1",
3839
"@emotion/styled": "11.11.0",
3940
"@fireworks-js/react": "2.10.5",
@@ -44,7 +45,7 @@
4445
"@nivo/geo": "0.83.0",
4546
"@nivo/line": "0.83.0",
4647
"@octokit/core": "4.2.1",
47-
"@pluralsh/design-system": "3.74.4",
48+
"@pluralsh/design-system": "3.75.0",
4849
"@react-spring/web": "9.7.3",
4950
"@stripe/react-stripe-js": "2.1.0",
5051
"@stripe/stripe-js": "1.54.0",

www/src/App.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ import {
1414
useThemeColorMode,
1515
} from '@pluralsh/design-system'
1616
import { MarkdocContextProvider } from '@pluralsh/design-system/dist/markdoc'
17-
import { CssBaseline, ThemeProvider, mergeTheme } from 'honorable'
17+
import {
18+
CssBaseline,
19+
ThemeProvider as HonorableThemeProvider,
20+
mergeTheme,
21+
} from 'honorable'
1822
import styled, {
1923
StyleSheetManager,
2024
ThemeProvider as StyledThemeProvider,
@@ -176,8 +180,8 @@ function App() {
176180
<Suspense>
177181
<ApolloProvider client={client}>
178182
<IntercomProvider appId={INTERCOM_APP_ID}>
179-
<ThemeProvider theme={honorableTheme}>
180-
<StyleSheetManager shouldForwardProp={shouldForwardProp}>
183+
<StyleSheetManager shouldForwardProp={shouldForwardProp}>
184+
<HonorableThemeProvider theme={honorableTheme}>
181185
<StyledThemeProvider theme={mergedStyledTheme}>
182186
<GrowthBookProvider
183187
growthbook={growthbook as any as GrowthBook}
@@ -205,8 +209,8 @@ function App() {
205209
</CursorPositionProvider>
206210
</GrowthBookProvider>
207211
</StyledThemeProvider>
208-
</StyleSheetManager>
209-
</ThemeProvider>
212+
</HonorableThemeProvider>
213+
</StyleSheetManager>
210214
</IntercomProvider>
211215
</ApolloProvider>
212216
</Suspense>

www/src/components/marketplace/RepoCardList.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ export function RepoCardList({
2323
to={`/repository/${repository.name}${
2424
urlParams ? `?${urlParams}` : ''
2525
}`}
26-
color="text"
27-
textDecoration="none"
28-
width="100%"
2926
title={repository.name}
3027
imageUrl={getRepoIcon(repository, theme.mode)}
3128
publisher={repository.publisher?.name}
@@ -50,4 +47,5 @@ const FixedRepositoryCard = styled(RepositoryCard)(({ theme }) => ({
5047
width: '100%',
5148
position: 'relative',
5249
textDecoration: 'none',
50+
color: theme.colors.text,
5351
}))

www/src/components/utils/layout/ResponsiveLayoutContentContainer.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { Flex } from 'honorable'
22

3-
export function ResponsiveLayoutContentContainer(props: any) {
4-
return (
3+
import { forwardRef } from 'react'
4+
5+
export const ResponsiveLayoutContentContainer = forwardRef(
6+
(props: any, ref) => (
57
<Flex
68
direction="column"
79
flexGrow={1}
@@ -15,7 +17,8 @@ export function ResponsiveLayoutContentContainer(props: any) {
1517
width-desktopLarge-up={896}
1618
overflowY="auto"
1719
overflowX="hidden"
20+
ref={ref}
1821
{...props}
1922
/>
2023
)
21-
}
24+
)

www/yarn.lock

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1911,7 +1911,7 @@ __metadata:
19111911
languageName: node
19121912
linkType: hard
19131913

1914-
"@emotion/is-prop-valid@npm:^1.1.0, @emotion/is-prop-valid@npm:^1.2.0, @emotion/is-prop-valid@npm:^1.2.1":
1914+
"@emotion/is-prop-valid@npm:1.3.1, @emotion/is-prop-valid@npm:^1.1.0, @emotion/is-prop-valid@npm:^1.2.0, @emotion/is-prop-valid@npm:^1.2.1":
19151915
version: 1.3.1
19161916
resolution: "@emotion/is-prop-valid@npm:1.3.1"
19171917
dependencies:
@@ -4025,9 +4025,9 @@ __metadata:
40254025
languageName: node
40264026
linkType: hard
40274027

4028-
"@pluralsh/design-system@npm:3.74.4":
4029-
version: 3.74.4
4030-
resolution: "@pluralsh/design-system@npm:3.74.4"
4028+
"@pluralsh/design-system@npm:3.75.0":
4029+
version: 3.75.0
4030+
resolution: "@pluralsh/design-system@npm:3.75.0"
40314031
dependencies:
40324032
"@floating-ui/react-dom-interactions": 0.13.3
40334033
"@loomhq/loom-embed": 1.5.0
@@ -4073,7 +4073,7 @@ __metadata:
40734073
react-dom: ">=18.3.1"
40744074
react-transition-group: ">=4.4.5"
40754075
styled-components: ">=6.1.13"
4076-
checksum: b50d9b7f2fda9e769911de1895ed83318771e7fae74fb6c4c3ce8ca88562f4890d4859e806af1bf8fc3175841ca1639e7b64376d1e6d7966d980a8c2e5fcd01a
4076+
checksum: 5097f1502fa1fa5e0cffa7bcc572068cf856572542bfd22aab12524261b1a99571c4c20ab012719d50b34b3f27d01b3632227d9a70d9831fdfa91582139e6b72
40774077
languageName: node
40784078
linkType: hard
40794079

@@ -20073,6 +20073,7 @@ __metadata:
2007320073
dependencies:
2007420074
"@absinthe/socket": 0.2.1
2007520075
"@apollo/client": 3.10.3
20076+
"@emotion/is-prop-valid": 1.3.1
2007620077
"@emotion/react": 11.11.1
2007720078
"@emotion/styled": 11.11.0
2007820079
"@esbuild-plugins/node-globals-polyfill": 0.2.3
@@ -20092,7 +20093,7 @@ __metadata:
2009220093
"@nivo/geo": 0.83.0
2009320094
"@nivo/line": 0.83.0
2009420095
"@octokit/core": 4.2.1
20095-
"@pluralsh/design-system": 3.74.4
20096+
"@pluralsh/design-system": 3.75.0
2009620097
"@pluralsh/eslint-config-typescript": 2.5.150
2009720098
"@pluralsh/stylelint-config": 2.0.10
2009820099
"@react-spring/web": 9.7.3

0 commit comments

Comments
 (0)