Skip to content

Commit

Permalink
PREAPPS-5505: Added more block components to shims to export
Browse files Browse the repository at this point in the history
  • Loading branch information
lavegupta authored and silentsakky committed Jan 29, 2021
1 parent 3ab2ea3 commit 4282a77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build-shims.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ mockery.registerMock('@zimbra-client/blocks', {
FontAwesome: 1,
Spinner: 1,
ClickOutsideDetector: 1,
CloseOnClickOrKeydown: 1,
ContainerSize: 1,
Popover: 1,
Tooltip: 1,
Expand All @@ -128,7 +129,9 @@ mockery.registerMock('@zimbra-client/blocks', {
KeyCodes: 1,
Label: 1,
ChoiceInput: 1,
LoaderBar: 1
LoaderBar: 1,
AnimatedButton: 1,
ProgressButton: 1
});

mockery.registerMock('@zimbra-client/components', {
Expand Down
3 changes: 3 additions & 0 deletions src/shims/@zimbra-client/blocks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const Icon = wrap('Icon');
export const FontAwesome = wrap('FontAwesome');
export const Spinner = wrap('Spinner');
export const ClickOutsideDetector = wrap('ClickOutsideDetector');
export const CloseOnClickOrKeydown = wrap('CloseOnClickOrKeydown');
export const ContainerSize = wrap('ContainerSize');
export const Popover = wrap('Popover');
export const Tooltip = wrap('Tooltip');
Expand All @@ -29,5 +30,7 @@ export const KeyCodes = wrap('KeyCodes');
export const Label = wrap('Label');
export const ChoiceInput = wrap('ChoiceInput');
export const LoaderBar = wrap('LoaderBar');
export const AnimatedButton = wrap('AnimatedButton');
export const ProgressButton = wrap('ProgressButton');

export default global.shims['@zimbra-client/blocks'];

0 comments on commit 4282a77

Please sign in to comment.