@linzjs/lui 11.10.0 → 11.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [11.10.1](https://github.com/linz/lui/compare/v11.10.0...v11.10.1) (2022-01-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * forgot to export LuiBadge 😅 ([#509](https://github.com/linz/lui/issues/509)) ([e347919](https://github.com/linz/lui/commit/e3479192c579e1316c4b7c8e7234fad1bd8ee0f0))
7
+
1
8
  # [11.10.0](https://github.com/linz/lui/compare/v11.9.0...v11.10.0) (2022-01-11)
2
9
 
3
10
 
package/dist/index.d.ts CHANGED
@@ -48,3 +48,4 @@ export { LOLAuthorisedLink } from './components/lol/LOLAuthorisedLink';
48
48
  export { LOLCommonDrawerMenu, LOLCommonDrawerMenuAfterLinks, LOLDrawerMenu, } from './components/lol/LOLCommonDrawerMenu';
49
49
  export { LuiTooltip, ILuiTooltipProperties, } from './components/LuiTooltip/LuiTooltip';
50
50
  export * from './hooks';
51
+ export { LuiBadge } from './components/LuiBadge/LuiBadge';
@@ -20393,6 +20393,12 @@ function useClickedOutsideElement(refElement, handleClickOutside) {
20393
20393
  }, []);
20394
20394
  }
20395
20395
 
20396
+ var LuiBadge = function LuiBadge(props) {
20397
+ return React__default.createElement("p", {
20398
+ className: clsx('LuiBadge', props.size === 'sm' && 'LuiBadge--sm', props.size === 'lg' && 'LuiBadge--lg', props.backgroundFill && 'LuiBadge--fill', props.variation === 'warning' && 'LuiBadge--warning')
20399
+ }, props.children);
20400
+ };
20401
+
20396
20402
  exports.FIRM_KEY = FIRM_KEY;
20397
20403
  exports.FIRM_NAME_KEY = FIRM_NAME_KEY;
20398
20404
  exports.GLOBAL_CLIENT_REFERENCE_KEY = GLOBAL_CLIENT_REFERENCE_KEY;
@@ -20410,6 +20416,7 @@ exports.LOLUserContextProvider = LOLUserContextProvider;
20410
20416
  exports.LOLUserLastLogin = LOLUserLastLogin;
20411
20417
  exports.LuiAlertModal = LuiAlertModal;
20412
20418
  exports.LuiAlertModalButtons = LuiAlertModalButtons;
20419
+ exports.LuiBadge = LuiBadge;
20413
20420
  exports.LuiBanner = LuiBanner;
20414
20421
  exports.LuiBannerContent = LuiBannerContent;
20415
20422
  exports.LuiBearingFormikInput = LuiBearingFormikInput;