@lendi/navbar 7.13.3 → 7.13.5

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.
@@ -43,7 +43,6 @@ var Layout = require('@lendi/ui/Layout');
43
43
  var ArrowForward = require('@lendi-ui/icon/ArrowForward');
44
44
  var Typography = require('@lendi/ui/Typography');
45
45
  var Button = require('@lendi/ui/Button');
46
- var src = require('@lendi-ui/breakpoint/src');
47
46
 
48
47
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
49
48
 
@@ -3119,7 +3118,7 @@ var HamburgerCtaBlock = _ref => {
3119
3118
  var StyledWrapperForButtonHack = styled__default["default"].div.withConfig({
3120
3119
  displayName: "HamburgerMenu__StyledWrapperForButtonHack",
3121
3120
  componentId: "lui__sc-302min-0"
3122
- })(["button{padding:0;margin-left:0.75rem;", "}"], src.gte('sm')(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-left: .25rem; // Make sure focus outline doesn't get cut off by preceding links with bg colour\n "]))));
3121
+ })(["button{padding:0;margin-left:0.75rem;", "}"], breakpoint.gte('sm')(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-left: .25rem; // Make sure focus outline doesn't get cut off by preceding links with bg colour\n "]))));
3123
3122
  var HamburgerMenu = _ref2 => {
3124
3123
  var {
3125
3124
  isRestricted
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
5
  });
6
6
 
7
- var React = require("react"), NavbarBase = require("@lendi-ui/navbar-base"), analytics$1 = require("@lendi/analytics"), breakpoint = require("@lendi-ui/breakpoint"), Logo = require("@lendi-ui/logo"), spacing = require("@lendi-ui/spacing"), Theme = require("@lendi/ui/Theme"), styled = require("styled-components"), jsxRuntime = require("react/jsx-runtime"), button = require("@lendi-ui/button"), UnreadMessage = require("@lendi-ui/icon/UnreadMessage"), utils = require("@lendi-ui/utils"), MoreVert = require("@lendi-ui/icon/MoreVert"), borders = require("@lendi-ui/commons/borders"), getColour = require("@lendi-ui/commons/colours"), depth = require("@lendi-ui/depth"), Launch = require("@lendi-ui/icon/Launch"), typography = require("@lendi-ui/typography"), lalaUtils = require("@lendi/lala-utils"), launchdarkly = require("@lendi/launchdarkly"), lalaReact = require("@lendi/lala-react"), commPanel = require("@lendi/comm-panel"), axios = require("axios"), utils$1 = require("@lendi-ui/commons/utils"), FocusLock = require("react-focus-lock"), Menu = require("@lendi-ui/icon/Menu"), Close = require("@lendi-ui/icon/Close"), Sidebar = require("@lendi-ui/sidebar"), color = require("@lendi-ui/color"), ArrowDropDown = require("@lendi-ui/icon/ArrowDropDown"), ExitToApp = require("@lendi-ui/icon/ExitToApp"), KeyboardArrowRight = require("@lendi-ui/icon/KeyboardArrowRight"), ExpandMore = require("@lendi-ui/icon/ExpandMore"), grid = require("@lendi-ui/grid"), ChevronDown = require("@lendi-ui/icon/ChevronDown"), ChevronUp = require("@lendi-ui/icon/ChevronUp"), getTypography = require("@lendi-ui/commons/typography"), Layout = require("@lendi/ui/Layout"), ArrowForward = require("@lendi-ui/icon/ArrowForward"), Typography = require("@lendi/ui/Typography"), Button = require("@lendi/ui/Button"), src = require("@lendi-ui/breakpoint/src");
7
+ var React = require("react"), NavbarBase = require("@lendi-ui/navbar-base"), analytics$1 = require("@lendi/analytics"), breakpoint = require("@lendi-ui/breakpoint"), Logo = require("@lendi-ui/logo"), spacing = require("@lendi-ui/spacing"), Theme = require("@lendi/ui/Theme"), styled = require("styled-components"), jsxRuntime = require("react/jsx-runtime"), button = require("@lendi-ui/button"), UnreadMessage = require("@lendi-ui/icon/UnreadMessage"), utils = require("@lendi-ui/utils"), MoreVert = require("@lendi-ui/icon/MoreVert"), borders = require("@lendi-ui/commons/borders"), getColour = require("@lendi-ui/commons/colours"), depth = require("@lendi-ui/depth"), Launch = require("@lendi-ui/icon/Launch"), typography = require("@lendi-ui/typography"), lalaUtils = require("@lendi/lala-utils"), launchdarkly = require("@lendi/launchdarkly"), lalaReact = require("@lendi/lala-react"), commPanel = require("@lendi/comm-panel"), axios = require("axios"), utils$1 = require("@lendi-ui/commons/utils"), FocusLock = require("react-focus-lock"), Menu = require("@lendi-ui/icon/Menu"), Close = require("@lendi-ui/icon/Close"), Sidebar = require("@lendi-ui/sidebar"), color = require("@lendi-ui/color"), ArrowDropDown = require("@lendi-ui/icon/ArrowDropDown"), ExitToApp = require("@lendi-ui/icon/ExitToApp"), KeyboardArrowRight = require("@lendi-ui/icon/KeyboardArrowRight"), ExpandMore = require("@lendi-ui/icon/ExpandMore"), grid = require("@lendi-ui/grid"), ChevronDown = require("@lendi-ui/icon/ChevronDown"), ChevronUp = require("@lendi-ui/icon/ChevronUp"), getTypography = require("@lendi-ui/commons/typography"), Layout = require("@lendi/ui/Layout"), ArrowForward = require("@lendi-ui/icon/ArrowForward"), Typography = require("@lendi/ui/Typography"), Button = require("@lendi/ui/Button");
8
8
 
9
9
  function _interopDefault(e) {
10
10
  return e && e.__esModule ? e : {
@@ -2003,7 +2003,7 @@ var _templateObject$3, _templateObject2$1, _templateObject$2, _templateObject$1,
2003
2003
  }, StyledWrapperForButtonHack = styled__default.default.div.withConfig({
2004
2004
  displayName: "HamburgerMenu__StyledWrapperForButtonHack",
2005
2005
  componentId: "lui__sc-302min-0"
2006
- })([ "button{padding:0;margin-left:0.75rem;", "}" ], src.gte("sm")(_templateObject || (_templateObject = _taggedTemplateLiteral([ "\n margin-left: .25rem; // Make sure focus outline doesn't get cut off by preceding links with bg colour\n " ])))), HamburgerMenu = _ref2 => {
2006
+ })([ "button{padding:0;margin-left:0.75rem;", "}" ], breakpoint.gte("sm")(_templateObject || (_templateObject = _taggedTemplateLiteral([ "\n margin-left: .25rem; // Make sure focus outline doesn't get cut off by preceding links with bg colour\n " ])))), HamburgerMenu = _ref2 => {
2007
2007
  var {isRestricted: isRestricted} = _ref2, props = _objectWithoutProperties(_ref2, _excluded), {showMenu: showMenu, toggleMenu: toggleMenu} = useSlideoutMenu();
2008
2008
  return jsxRuntime.jsxs(jsxRuntime.Fragment, {
2009
2009
  children: [ jsxRuntime.jsx(StyledWrapperForButtonHack, {
@@ -40,7 +40,6 @@ import { Wrapper, Spacer } from '@lendi/ui/Layout';
40
40
  import ArrowForward from '@lendi-ui/icon/ArrowForward';
41
41
  import { Text } from '@lendi/ui/Typography';
42
42
  import { Button as Button$1, AnchorButton } from '@lendi/ui/Button';
43
- import { gte as gte$1 } from '@lendi-ui/breakpoint/src';
44
43
 
45
44
  function _defineProperty(obj, key, value) {
46
45
  if (key in obj) {
@@ -3092,7 +3091,7 @@ var HamburgerCtaBlock = _ref => {
3092
3091
  var StyledWrapperForButtonHack = styled.div.withConfig({
3093
3092
  displayName: "HamburgerMenu__StyledWrapperForButtonHack",
3094
3093
  componentId: "lui__sc-302min-0"
3095
- })(["button{padding:0;margin-left:0.75rem;", "}"], gte$1('sm')(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-left: .25rem; // Make sure focus outline doesn't get cut off by preceding links with bg colour\n "]))));
3094
+ })(["button{padding:0;margin-left:0.75rem;", "}"], gte('sm')(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-left: .25rem; // Make sure focus outline doesn't get cut off by preceding links with bg colour\n "]))));
3096
3095
  var HamburgerMenu = _ref2 => {
3097
3096
  var {
3098
3097
  isRestricted
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lendi/navbar",
3
3
  "access": "restricted",
4
- "version": "7.13.3",
4
+ "version": "7.13.5",
5
5
  "license": "ISC",
6
6
  "source": "src/index.tsx",
7
7
  "main": "dist/navbar.cjs.js",
@@ -40,7 +40,7 @@
40
40
  "@lendi-ui/typography": "^5.13.4-beta.0",
41
41
  "@lendi-ui/utils": "^6.0.2-beta.1",
42
42
  "@lendi/analytics": "^4.0.0",
43
- "@lendi/comm-panel": "10.12.1",
43
+ "@lendi/comm-panel": "^10.13.0",
44
44
  "@lendi/lala-utils": "^9.13.0",
45
45
  "@lendi/launchdarkly": "0.1.4",
46
46
  "@lendi/ui": "^0.2.7-beta.0",