Skip to content

Commit 9c471da

Browse files
committed
UXPT-10383: rounded Material SVGs from filled to unfilled
1 parent e88ce1a commit 9c471da

File tree

312 files changed

+468
-2573
lines changed

Some content is hidden

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

312 files changed

+468
-2573
lines changed

apps/storybook/.storybook/main.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import type { StorybookConfig } from '@storybook/react-vite'
2-
import turbosnap from 'vite-plugin-turbosnap'
3-
import { mergeConfig } from 'vite'
42

53
const packagesWithStories = [
64
'carousel',
@@ -31,19 +29,6 @@ const config: StorybookConfig = {
3129
typescript: {
3230
check: false,
3331
},
34-
async viteFinal(config, { configType }) {
35-
return mergeConfig(config, {
36-
plugins:
37-
configType === 'PRODUCTION'
38-
? [
39-
turbosnap({
40-
// This should be the base path of your storybook. In monorepos, you may only need process.cwd().
41-
rootDir: config.root ?? process.cwd(),
42-
}),
43-
]
44-
: [],
45-
})
46-
},
4732
}
4833

4934
export default config

apps/storybook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@storybook/testing-library": "^0.2.2",
4141
"@storybook/theming": "^8.3.0",
4242
"babel-plugin-react-docgen": "^4.2.1",
43-
"chromatic": "^10.9.6",
43+
"chromatic": "^13.1.2",
4444
"core-js": "^3.37.1",
4545
"eslint": "^8.55.0",
4646
"npm-run-all": "^4.1.5",
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "pcln-design-system",
5+
"comment": "update snapshots that depend on pcln-icons",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "pcln-design-system"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "pcln-icons",
5+
"comment": "UXPT-10383: rounded Material SVGs from filled to unfilled",
6+
"type": "major"
7+
}
8+
],
9+
"packageName": "pcln-icons"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "pcln-modal",
5+
"comment": "update snapshots that depend on pcln-icons",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "pcln-modal"
10+
}

common/config/rush/pnpm-lock.yaml

Lines changed: 33 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/src/Avatar/__snapshots__/Avatar.spec.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ exports[`Avatar renders default 1`] = `
7979
height="24"
8080
role="img"
8181
tabindex="-1"
82-
viewBox="0 0 24 24"
82+
viewBox="0 -960 960 960"
8383
width="24"
8484
xmlns="http://www.w3.org/2000/svg"
8585
>
8686
<path
87-
d="M12 12c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm0 2c-2.7 0-8 1.3-8 4v2h16v-2c0-2.7-5.3-4-8-4z"
87+
d="M480-480q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47zM160-240v-32q0-34 17.5-62.5T224-378q62-31 126-46.5T480-440q66 0 130 15.5T736-378q29 15 46.5 43.5T800-272v32q0 33-23.5 56.5T720-160H240q-33 0-56.5-23.5T160-240zm80 0h480v-32q0-11-5.5-20T700-306q-54-27-109-40.5T480-360q-56 0-111 13.5T260-306q-9 5-14.5 14t-5.5 20v32zm240-320q33 0 56.5-23.5T560-640q0-33-23.5-56.5T480-720q-33 0-56.5 23.5T400-640q0 33 23.5 56.5T480-560zm0-80zm0 400z"
8888
/>
8989
</svg>
9090
</div>

0 commit comments

Comments
 (0)