Skip to content

Commit 8196cd6

Browse files
committed
Update blueprint and add note in README to set the namespace
1 parent cd8c0cc commit 8196cd6

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ By default, Mosaic renders with the `mosaic-blueprint-theme` class.
3434
This uses the excellent [Blueprint](http://blueprintjs.com/) React UI Toolkit to provide a good starting state.
3535
It is recommended to at least start developing with this theme.
3636
To use it install Blueprint `yarn add @blueprintjs/core @blueprintjs/icons` and add their CSS to your page.
37+
Don't forget to set `blueprintNamespace` in `Mosaic` to the correct value for the version of Blueprint you are using.
3738

3839
See [blueprint-theme.less](./styles/blueprint-theme.less) for an example of creating a theme.
3940

@@ -249,6 +250,10 @@ export interface MosaicWindowProps<T extends MosaicKey> {
249250
* Label for the button that expands the drawer
250251
*/
251252
additionalControlButtonText?: string;
253+
/**
254+
* A callback that triggers when a user toggles the additional controls
255+
*/
256+
onAdditionalControlsToggle?: (toggle: boolean) => void;
252257
/**
253258
* Whether or not a user should be able to drag windows around
254259
*/

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"version": "yarn run bundle && git add -A docs/"
3232
},
3333
"devDependencies": {
34-
"@blueprintjs/core": "^4.6.0",
35-
"@blueprintjs/icons": "^4.3.1",
34+
"@blueprintjs/core": "^4.7.0",
35+
"@blueprintjs/icons": "^4.4.0",
3636
"@types/chai": "^4.3.0",
3737
"@types/classnames": "^2.3.1",
3838
"@types/dom4": "^2.0.2",

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
resolved "https://registry.yarnpkg.com/@blueprintjs/colors/-/colors-4.1.4.tgz#13ef8fd91dc7973ddaf0e98d58f7032193aeb04e"
3131
integrity sha512-jggWTpazxg6ifWnaAiug9REsWUeMtkkuaWOFg5CjAiH6YtvMPU4ykWmQc9NnKAkabpKoXfZuR1V1KPAz79iYXQ==
3232

33-
"@blueprintjs/core@^4.6.0":
34-
version "4.6.0"
35-
resolved "https://registry.yarnpkg.com/@blueprintjs/core/-/core-4.6.0.tgz#89a6e4463f61ff8dd18a2e252f50e120c1e2be81"
36-
integrity sha512-f8Sbsd2JUrhsxPjXLHyXTS6gi9QuULtIK4MlyoTyBc1yHb3GzQNq9L8stnKQgWOgNFl/u7wOEiXDlrSVrqfYaA==
33+
"@blueprintjs/core@^4.7.0":
34+
version "4.7.0"
35+
resolved "https://registry.yarnpkg.com/@blueprintjs/core/-/core-4.7.0.tgz#9c777fe6ea170b5b029102bf06f48d7764c8fd78"
36+
integrity sha512-13JaVk2Ds5cC6IRC332MZ/3dLDDmQ8op7aHCC9VMZP9Xlq4GcglP+QJfJrHk+q3JLFYWmH0Zoa8CdnQGQbCd0Q==
3737
dependencies:
3838
"@blueprintjs/colors" "^4.1.4"
39-
"@blueprintjs/icons" "^4.3.1"
39+
"@blueprintjs/icons" "^4.4.0"
4040
"@juggle/resize-observer" "^3.3.1"
4141
"@types/dom4" "^2.0.1"
4242
classnames "^2.2"
@@ -47,10 +47,10 @@
4747
react-transition-group "^4.4.1"
4848
tslib "~2.3.1"
4949

50-
"@blueprintjs/icons@^4.3.1":
51-
version "4.3.1"
52-
resolved "https://registry.yarnpkg.com/@blueprintjs/icons/-/icons-4.3.1.tgz#dfcdd1e8feedcc0c951e3b14e0d8e80472c1854b"
53-
integrity sha512-XVXFWfvqq/sFSi8FN0Y8mzApD3vQxrPUtmbqp/q1B8mXVdYQLrUwmXICxzUNSvztHqXaRVrApA5jkjDBTAwSJg==
50+
"@blueprintjs/icons@^4.4.0":
51+
version "4.4.0"
52+
resolved "https://registry.yarnpkg.com/@blueprintjs/icons/-/icons-4.4.0.tgz#a08c3047a2d82c60ec2b3abe4a93355ef0ba24ea"
53+
integrity sha512-cZmqXnQ+wMJ48c4J+JHqQ6ZGhCgUzWQnYy0FjgXqBSUeR5iERRVrUC24pDead3ASfENRttEqigFukhP3px3bnQ==
5454
dependencies:
5555
change-case "^4.1.2"
5656
classnames "^2.2"

0 commit comments

Comments
 (0)