Skip to content

Commit afff88c

Browse files
committed
released infobox 2.19.3
1 parent 2dfc73f commit afff88c

File tree

4 files changed

+1015
-961
lines changed

4 files changed

+1015
-961
lines changed

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@
4747
"resolutions": {
4848
"@babel/core": "7.22.9",
4949
"@types/jest": "29.5.3",
50-
"@types/node": "20.4.2",
51-
"@types/react": "18.2.15",
50+
"@types/node": "20.4.5",
51+
"@types/react": "18.2.16",
5252
"@types/react-dom": "18.2.7",
53-
"@typescript-eslint/eslint-plugin": "6.0.0",
54-
"@typescript-eslint/parser": "6.0.0"
53+
"@typescript-eslint/parser": "6.2.0",
54+
"@typescript-eslint/eslint-plugin": "6.2.0"
5555
},
5656
"devDependencies": {
5757
"@babel/core": "7.22.9",
@@ -79,31 +79,31 @@
7979
"@googlemaps/react-wrapper": "1.1.35",
8080
"@jest/types": "29.6.1",
8181
"@mdx-js/loader": "1.6.22",
82-
"@storybook/addon-actions": "7.0.27",
83-
"@storybook/addon-essentials": "7.0.27",
84-
"@storybook/addon-links": "7.0.27",
85-
"@storybook/builder-webpack5": "7.0.27",
86-
"@storybook/manager-webpack5": "6.5.13",
87-
"@storybook/react": "7.0.27",
82+
"@storybook/addon-actions": "7.1.1",
83+
"@storybook/addon-essentials": "7.1.1",
84+
"@storybook/addon-links": "7.1.1",
85+
"@storybook/builder-webpack5": "7.1.1",
86+
"@storybook/manager-webpack5": "6.5.16",
87+
"@storybook/react": "7.1.1",
8888
"@svgr/webpack": "8.0.1",
8989
"@testing-library/dom": "9.3.1",
90-
"@types/google.maps": "3.53.4",
90+
"@types/google.maps": "3.53.5",
9191
"@types/invariant": "2.2.35",
9292
"@types/jest": "29.5.3",
93-
"@types/node": "20.4.2",
94-
"@types/react": "18.2.15",
93+
"@types/node": "20.4.5",
94+
"@types/react": "18.2.16",
9595
"@types/react-dom": "18.2.7",
9696
"@types/supercluster": "7.1.0",
97-
"@typescript-eslint/eslint-plugin": "6.0.0",
98-
"@typescript-eslint/parser": "6.0.0",
97+
"@typescript-eslint/parser": "6.2.0",
98+
"@typescript-eslint/eslint-plugin": "6.2.0",
9999
"@typescript/lib-dom": "npm:@types/web",
100100
"acorn": "8.10.0",
101101
"acorn-jsx": "5.3.2",
102102
"autoprefixer": "10.4.14",
103103
"babel-loader": "9.1.3",
104104
"babel-plugin-macros": "3.1.0",
105-
"babel-plugin-polyfill-corejs3": "0.8.2",
106-
"babel-plugin-react-require": "4.0.0",
105+
"babel-plugin-polyfill-corejs3": "0.8.3",
106+
"babel-plugin-react-require": "4.0.1",
107107
"css-module-builder": "2.0.6",
108108
"eslint": "8.45.0",
109109
"eslint-config-prettier": "8.8.0",
@@ -128,7 +128,7 @@
128128
"eslint-plugin-prettier": "5.0.0",
129129
"eslint-plugin-promise": "6.1.1",
130130
"eslint-plugin-promiseparams": "1.0.8",
131-
"eslint-plugin-react": "7.32.2",
131+
"eslint-plugin-react": "7.33.0",
132132
"eslint-plugin-react-hooks": "4.6.0",
133133
"eslint-plugin-react-perf": "3.3.1",
134134
"eslint-plugin-security-node": "1.1.1",
@@ -138,9 +138,9 @@
138138
"jest": "29.6.1",
139139
"jest-environment-jsdom": "29.6.1",
140140
"jest-specific-snapshot": "8.0.0",
141-
"lerna": "7.1.3",
141+
"lerna": "7.1.4",
142142
"lint-staged": "13.2.3",
143-
"postcss": "8.4.26",
143+
"postcss": "8.4.27",
144144
"postcss-flexbugs-fixes": "5.0.2",
145145
"prettier": "3.0.0",
146146
"react": "18.2.0",
@@ -152,7 +152,7 @@
152152
"tsconfig-paths-webpack-plugin": "4.1.0",
153153
"typescript": "5.1.6",
154154
"url-loader": "4.1.1",
155-
"webpack": "5.88.1"
155+
"webpack": "5.88.2"
156156
},
157157
"husky": {
158158
"hooks": {

packages/react-google-maps-api-infobox/src/InfoBox.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class InfoBox {
1919
position: google.maps.LatLng
2020
zIndex: number | undefined | null
2121
boxClass: string
22-
boxStyle: CSSStyleDeclaration
22+
boxStyle: Partial<CSSStyleDeclaration>
2323

2424
closeBoxMargin: string
2525
closeBoxURL: string
@@ -74,7 +74,7 @@ export class InfoBox {
7474

7575
// Additional options (unique to InfoBox):
7676
this.boxClass = options.boxClass || 'infoBox'
77-
this.boxStyle = options.boxStyle || {} as CSSStyleDeclaration
77+
this.boxStyle = options.boxStyle || {} as Partial<CSSStyleDeclaration>
7878
this.closeBoxMargin = options.closeBoxMargin || '2px'
7979
this.closeBoxURL = options.closeBoxURL || 'http://www.google.com/intl/en_us/mapfiles/close.gif'
8080
if (options.closeBoxURL === '') {
@@ -334,7 +334,7 @@ export class InfoBox {
334334
this.div.style.cssText = ''
335335

336336
// Apply style values defined in the boxStyle parameter:
337-
const boxStyle: CSSStyleDeclaration = this.boxStyle
337+
const boxStyle: Partial<CSSStyleDeclaration> = this.boxStyle
338338

339339
for (const i in boxStyle) {
340340

packages/react-google-maps-api-infobox/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -585,10 +585,10 @@
585585
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
586586
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
587587

588-
"@rollup/[email protected].2":
589-
version "25.0.2"
590-
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-25.0.2.tgz#7ed37d00a12fc7fdd3aadba5fa0de52f2372bbbb"
591-
integrity sha512-NGTwaJxIO0klMs+WSFFtBP7b9TdTJ3K76HZkewT8/+yHzMiUGVQgaPtLQxNVYIgT5F7lxkEyVID+yS3K7bhCow==
588+
"@rollup/[email protected].3":
589+
version "25.0.3"
590+
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-25.0.3.tgz#eb5217ebae43d63a172b516655be270ed258bdcc"
591+
integrity sha512-uBdtWr/H3BVcgm97MUdq2oJmqBR23ny1hOrWe2PKo9FTbjsGqg32jfasJUKYAI5ouqacjRnj65mBB/S79F+GQA==
592592
dependencies:
593593
"@rollup/pluginutils" "^5.0.1"
594594
commondir "^1.0.1"

0 commit comments

Comments
 (0)