File tree Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ By default, Mosaic renders with the `mosaic-blueprint-theme` class.
34
34
This uses the excellent [ Blueprint] ( http://blueprintjs.com/ ) React UI Toolkit to provide a good starting state.
35
35
It is recommended to at least start developing with this theme.
36
36
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.
37
38
38
39
See [ blueprint-theme.less] ( ./styles/blueprint-theme.less ) for an example of creating a theme.
39
40
@@ -249,6 +250,10 @@ export interface MosaicWindowProps<T extends MosaicKey> {
249
250
* Label for the button that expands the drawer
250
251
*/
251
252
additionalControlButtonText? : string ;
253
+ /**
254
+ * A callback that triggers when a user toggles the additional controls
255
+ */
256
+ onAdditionalControlsToggle? : (toggle : boolean ) => void ;
252
257
/**
253
258
* Whether or not a user should be able to drag windows around
254
259
*/
Original file line number Diff line number Diff line change 31
31
"version" : " yarn run bundle && git add -A docs/"
32
32
},
33
33
"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 " ,
36
36
"@types/chai" : " ^4.3.0" ,
37
37
"@types/classnames" : " ^2.3.1" ,
38
38
"@types/dom4" : " ^2.0.2" ,
Original file line number Diff line number Diff line change 30
30
resolved "https://registry.yarnpkg.com/@blueprintjs/colors/-/colors-4.1.4.tgz#13ef8fd91dc7973ddaf0e98d58f7032193aeb04e"
31
31
integrity sha512-jggWTpazxg6ifWnaAiug9REsWUeMtkkuaWOFg5CjAiH6YtvMPU4ykWmQc9NnKAkabpKoXfZuR1V1KPAz79iYXQ==
32
32
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 ==
37
37
dependencies :
38
38
" @blueprintjs/colors" " ^4.1.4"
39
- " @blueprintjs/icons" " ^4.3.1 "
39
+ " @blueprintjs/icons" " ^4.4.0 "
40
40
" @juggle/resize-observer" " ^3.3.1"
41
41
" @types/dom4" " ^2.0.1"
42
42
classnames "^2.2"
47
47
react-transition-group "^4.4.1"
48
48
tslib "~2.3.1"
49
49
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 ==
54
54
dependencies :
55
55
change-case "^4.1.2"
56
56
classnames "^2.2"
You can’t perform that action at this time.
0 commit comments