Skip to content

Commit

Permalink
fix(widgets): export @deck.gl/widgets/stylesheet.css (#8863)
Browse files Browse the repository at this point in the history
* remove container from zoom-widget docs

* add export for @deck.gl/widgets stylesheet
  • Loading branch information
atmorling committed May 2, 2024
1 parent a9acdf8 commit 44e971d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/api-reference/widgets/zoom-widget.md
Expand Up @@ -28,12 +28,6 @@ Default: `'vertical'`

Widget button orientation. Valid options are `vertical` or `horizontal`.

#### `container` (HTMLElement, optional) {#container}

Default: `undefined`

A [compatible DOM element](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen#Compatible_elements) which should be made full screen. By default, the map container element will be made full screen.

#### `zoomInLabel` (string, optional) {#zoominlabel}

Tooltip message displayed while hovering a mouse over the zoom in button.
Expand Down
4 changes: 4 additions & 0 deletions modules/widgets/package.json
Expand Up @@ -25,6 +25,10 @@
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./stylesheet.css": {
"import": "./dist/stylesheet.css",
"style": "./dist/stylesheet.css"
}
},
"files": [
Expand Down

0 comments on commit 44e971d

Please sign in to comment.