Skip to content

Commit bd8ba23

Browse files
committed
r19 wip
1 parent c96d68a commit bd8ba23

File tree

162 files changed

+5559
-5662
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+5559
-5662
lines changed

apps/docs/pages/_document.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ const BaseCSS = ({ css }) => (
1313
BaseCSS.propTypes = {
1414
css: PropTypes.any,
1515
}
16-
BaseCSS.defaultProps = {
17-
css: '*{box-sizing:border-box}body{margin:0}',
18-
}
1916

2017
export default class MyDocument extends Document {
2118
static getInitialProps({ renderPage }) {

apps/docs/src/NavLink.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ const Base = styled.a`
2525
2626
${(props) => compose(space, color)(props)}
2727
`
28-
Base.defaultProps = {
29-
pl: 3,
30-
pr: 2,
31-
py: 1,
32-
color: 'gray',
33-
}
3428

3529
export default withDocs(({ basepath, href, route, ...props }) => {
3630
if (isAbsoluteURL(href)) {

apps/docs/src/components.js

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ const RouterLink = ({ href, ...props }) => {
4646
}
4747
RouterLink.propTypes = { href: PropTypes.string }
4848

49-
RouterLink.defaultProps = {
50-
color: 'blue',
51-
}
52-
5349
// eslint-disable-next-line react/display-name
5450
const heading = (type) => (props) => {
5551
const Comp = Heading[type]
@@ -102,9 +98,6 @@ const Table = styled((props) => (
10298
border-bottom-color: ${theme.colors.borderGray};
10399
}
104100
`
105-
Table.defaultProps = {
106-
my: 3,
107-
}
108101

109102
export const PageTitle = (props) => <Heading.h1 fontSize={[5, 6]} bold mt={[2, 5]} mb={3} {...props} />
110103

@@ -116,11 +109,6 @@ export const Code = styled.code`
116109
${fontSize};
117110
`
118111

119-
Code.defaultProps = {
120-
fontSize: 2,
121-
color: 'blue',
122-
}
123-
124112
export const ButtonLink = ({ children, ...props }) => (
125113
<Button as='a' {...props}>
126114
{children}
@@ -185,39 +173,4 @@ const components = {
185173
TextDemo,
186174
}
187175

188-
components.h1.defaultProps = {
189-
fontSize: [5, 6],
190-
mt: 5,
191-
mb: 3,
192-
}
193-
components.h2.defaultProps = {
194-
fontSize: 5,
195-
mt: 5,
196-
mb: 3,
197-
}
198-
199-
components.h3.defaultProps = {
200-
fontSize: 4,
201-
mt: 4,
202-
mb: 3,
203-
style: {
204-
fontWeight: '700',
205-
},
206-
}
207-
208-
components.h4.defaultProps = {
209-
fontSize: 3,
210-
mt: 4,
211-
mb: 3,
212-
}
213-
214-
components.p.defaultProps = {
215-
fontSize: 2,
216-
mt: 0,
217-
mb: 3,
218-
style: {
219-
lineHeight: 1.6,
220-
},
221-
}
222-
223176
export default components

apps/storybook/package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,30 @@
3232
"@storybook/addon-viewport": "^8.3.0",
3333
"@storybook/components": "^8.3.0",
3434
"@storybook/jest": "^0.2.3",
35-
"@storybook/test": "^8.3.0",
3635
"@storybook/manager-api": "^8.3.0",
3736
"@storybook/preview-api": "^8.3.0",
3837
"@storybook/react": "^8.3.0",
3938
"@storybook/react-vite": "^8.3.0",
39+
"@storybook/test": "^8.3.0",
4040
"@storybook/testing-library": "^0.2.2",
4141
"@storybook/theming": "^8.3.0",
42+
"@types/react": "^19.1.6",
43+
"@types/react-dom": "^19.1.5",
4244
"babel-plugin-react-docgen": "^4.2.1",
4345
"chromatic": "^10.9.6",
4446
"core-js": "^3.37.1",
4547
"eslint": "^8.55.0",
48+
"framer-motion": "^12.15.0",
4649
"npm-run-all": "^4.1.5",
4750
"pcln-design-system": "workspace:*",
48-
"react": "^18.3.1",
49-
"react-dom": "^18.3.1",
50-
"react-is": "^18.3.1",
51+
"react": "^19.1.0",
52+
"react-dom": "^19.1.0",
53+
"react-is": "^19.1.0",
5154
"require-from-string": "2.0.2",
5255
"storybook": "^8.3.0",
5356
"styled-components": "^5.3.11",
5457
"typescript": "^5.3.3",
5558
"vite": "^4.5.3",
56-
"vite-plugin-turbosnap": "^1.0.3",
57-
"react-test-renderer": "^18.3.1"
59+
"vite-plugin-turbosnap": "^1.0.3"
5860
}
5961
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "React 19 ecosystem upgrade",
5+
"type": "major",
6+
"packageName": "heft-styled-components-plugin"
7+
}
8+
],
9+
"packageName": "heft-styled-components-plugin",
10+
"email": "steven.dalonzo@priceline.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "React 19 ecosystem upgrade",
5+
"type": "major",
6+
"packageName": "pcln-autocomplete"
7+
}
8+
],
9+
"packageName": "pcln-autocomplete",
10+
"email": "steven.dalonzo@priceline.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "React 19 ecosystem upgrade",
5+
"type": "major",
6+
"packageName": "pcln-carousel"
7+
}
8+
],
9+
"packageName": "pcln-carousel",
10+
"email": "steven.dalonzo@priceline.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "React 19 ecosystem upgrade",
5+
"type": "major",
6+
"packageName": "pcln-codemods"
7+
}
8+
],
9+
"packageName": "pcln-codemods",
10+
"email": "steven.dalonzo@priceline.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "React 19 ecosystem upgrade",
5+
"type": "major",
6+
"packageName": "pcln-design-system"
7+
}
8+
],
9+
"packageName": "pcln-design-system",
10+
"email": "steven.dalonzo@priceline.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "React 19 ecosystem upgrade",
5+
"type": "major",
6+
"packageName": "pcln-icons"
7+
}
8+
],
9+
"packageName": "pcln-icons",
10+
"email": "steven.dalonzo@priceline.com"
11+
}

0 commit comments

Comments
 (0)