Skip to content

Commit

Permalink
chore: upgrade pakcages (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhuignoto authored Jul 17, 2023
1 parent ba91860 commit 2e74584
Show file tree
Hide file tree
Showing 18 changed files with 1,105 additions and 1,095 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,30 @@
"documentation": "documentation"
},
"dependencies": {
"@babel/core": "^7.22.8",
"@babel/core": "^7.22.9",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-transform-classes": "^7.22.6",
"@babel/plugin-transform-runtime": "^7.22.7",
"@babel/preset-env": "^7.22.7",
"@babel/plugin-transform-runtime": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@relative-ci/agent": "^4.1.5",
"@sentry/react": "^7.57.0",
"@sentry/tracing": "^7.57.0",
"@sentry/react": "^7.58.1",
"@sentry/tracing": "^7.58.1",
"@types/bluebird": "^3.5.38",
"@types/node": "^20.4.1",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@types/node": "^20.4.2",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"autoprefixer": "^10.4.14",
"cssnano": "^6.0.1",
"esbuild": "^0.18.11",
"eslint": "^8.44.0",
"esbuild": "^0.18.13",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "^27.2.2",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.1.1",
Expand All @@ -40,7 +40,7 @@
"fork-ts-checker-webpack-plugin": "^8.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"postcss": "^8.4.25",
"postcss": "^8.4.26",
"postcss-bem-linter": "^4.0.0",
"postcss-import": "^15.1.0",
"postcss-preset-env": "^9.0.0",
Expand All @@ -51,7 +51,7 @@
"react-dom": "^18.2.0",
"remove-files-webpack-plugin": "^1.5.0",
"sass": "^1.63.6",
"snyk": "^1.1187.0",
"snyk": "^1.1190.0",
"stylelint": "15.10.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-sass-guidelines": "^10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/components/alert/alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Alert: React.FunctionComponent<AlertProps> = ({
() =>
({
'--height': `${height}px`,
} as CSSProperties),
}) as CSSProperties,
[state]
);

Expand Down
2 changes: 1 addition & 1 deletion packages/lib/components/button/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Button = React.forwardRef<HTMLDivElement, ButtonProps>((props, ref) => {
focus: () => {
buttonRef.current?.focus();
},
} as HTMLDivElement)
}) as HTMLDivElement
);

useFocusNew(focusable ? buttonRef : null);
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/components/carousel/carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ const Carousel: React.FunctionComponent<CarouselProps> = ({
({
'--min-height': `${height}px`,
'--transition': transition,
} as CSSProperties),
}) as CSSProperties,
[]
);

Expand Down
2 changes: 1 addition & 1 deletion packages/lib/components/gallery/gallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Gallery: FunctionComponent<GalleryProps> = ({
'--rc-gallery-grid-dimension-cols': gridDimension[0],
'--rc-gallery-grid-dimension-rows': gridDimension[1],
'--rc-gallery-image-dimension': `${imageDimension}px`,
} as CSSProperties),
}) as CSSProperties,
[]
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const GlobalNotification: React.FunctionComponent<GlobalNotificationProps> = ({
() =>
({
'--height': `${height}px`,
} as CSSProperties),
}) as CSSProperties,
[]
);

Expand Down
2 changes: 1 addition & 1 deletion packages/lib/components/image/image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const Image: React.FunctionComponent<ImageProps> = ({
({
'--height': Number.isInteger(height) ? `${height}px` : '100%',
'--width': Number.isInteger(width) ? `${width}px` : '100%',
} as CSSProperties),
}) as CSSProperties,
[]
);

Expand Down
2 changes: 1 addition & 1 deletion packages/lib/components/kbd/kbd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Kbd: FunctionComponent<KbdProps> = memo(
() =>
({
'--rc-kbd-thickness': `${thickness}px`,
} as CSSProperties),
}) as CSSProperties,
[]
);

Expand Down
2 changes: 1 addition & 1 deletion packages/lib/components/notification/notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const NotificationComponent: React.FunctionComponent<NotificationProps> = ({
({
'--min-height': `${height}px`,
'--min-width': `${width}px`,
} as CSSProperties),
}) as CSSProperties,
[]
);

Expand Down
4 changes: 2 additions & 2 deletions packages/lib/components/progress/progress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Progress: React.FunctionComponent<ProgressProps> = ({
() =>
({
'--width': type === 'determinate' ? `${fillWidth}px` : '50%',
} as CSSProperties),
}) as CSSProperties,
[fillWidth]
);

Expand Down Expand Up @@ -83,7 +83,7 @@ const Progress: React.FunctionComponent<ProgressProps> = ({
'--height':
size === 'lg' ? `${40}px` : size === 'md' ? `${20}px` : `${10}px`,
'--width': `${width}px`,
} as CSSProperties),
}) as CSSProperties,
[]
);

Expand Down
2 changes: 1 addition & 1 deletion packages/lib/components/scroll-spy/scroll-spy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const ScrollSpy: React.FC<ScrollSpyProps> = ({
prev.map(content => {
const found = ids.find(id => id[0] === content.id) as [
string,
boolean
boolean,
];

return found
Expand Down
4 changes: 2 additions & 2 deletions packages/lib/components/section/section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Section: React.FC<SectionProps> = ({
() =>
({
minHeight: `${height}px`,
} as CSSProperties),
}) as CSSProperties,
[height]
);

Expand All @@ -33,7 +33,7 @@ const Section: React.FC<SectionProps> = ({
({
alignItems: layout === 'column' ? 'center' : 'stretch',
flexDirection: layout === 'column' ? 'row' : 'column',
} as CSSProperties),
}) as CSSProperties,
[]
);

Expand Down
2 changes: 1 addition & 1 deletion packages/lib/components/skeleton/skeleton-row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const SkeletonRow: FunctionComponent<
() =>
({
'--height': `${rowHeight}px`,
} as CSSProperties),
}) as CSSProperties,
[rowHeight]
);

Expand Down
2 changes: 1 addition & 1 deletion packages/lib/components/switch/switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const Switch: React.FunctionComponent<SwitchProps> = ({
({
'--min-width': `${width}px`,
...style,
} as React.CSSProperties),
}) as React.CSSProperties,
[]
);

Expand Down
2 changes: 1 addition & 1 deletion packages/lib/components/tabs/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const Tabs: React.FunctionComponent<TabsProps> = ({
'--icons-color': iconsColor,
'--rc-tabs-min-height': `${minHeight}px`,
'--rc-tabs-min-width': Number.isInteger(width) ? `${width}px` : width,
} as CSSProperties),
}) as CSSProperties,
[]
);

Expand Down
2 changes: 1 addition & 1 deletion packages/lib/components/tags/tag-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const TagItem: FunctionComponent<TagItemViewProps> = React.memo(
() =>
({
'--width': `${tagWidth}px`,
} as CSSProperties),
}) as CSSProperties,
[]
);

Expand Down
2 changes: 1 addition & 1 deletion packages/lib/components/tooltip/tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const Tooltip: React.FunctionComponent<TooltipProps> = ({
({
'--bg-color': bgColor,
'--fore-color': foreColor,
} as CSSProperties),
}) as CSSProperties,
[]
);

Expand Down
Loading

1 comment on commit 2e74584

@vercel
Copy link

@vercel vercel bot commented on 2e74584 Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.