@lendi/navbar 5.4.4 → 5.4.6
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,5 +1,24 @@
|
|
|
1
1
|
# Changelog - @lendi/navbar
|
|
2
2
|
|
|
3
|
+
## 5.4.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b7a02133: Updating the comm-panel to latest patch
|
|
8
|
+
|
|
9
|
+
## 5.4.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [ebf79cd4]
|
|
14
|
+
- @lendi/comm-panel@9.3.2
|
|
15
|
+
|
|
16
|
+
## 5.4.4
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- 44c17c2c: Remove session.logout from Navbar and let the consume to do that
|
|
21
|
+
|
|
3
22
|
## 5.4.3
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lendi/navbar",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.6",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@lendi-ui/transition": "^4.0.2",
|
|
41
41
|
"@lendi-ui/typography": "^5.0.0",
|
|
42
42
|
"@lendi-ui/utils": "^4.0.1",
|
|
43
|
-
"@lendi/comm-panel": "9.3.
|
|
43
|
+
"@lendi/comm-panel": "^9.3.2",
|
|
44
44
|
"@lendi/lala-utils": "^9.2.0",
|
|
45
45
|
"@lendi/segment-tracking": "0.10.0",
|
|
46
46
|
"@sentry/browser": "^5.15.0",
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var breakpoint_1 = require("@lendi-ui/breakpoint");
|
|
8
|
-
var button_1 = require("@lendi-ui/button");
|
|
9
|
-
var color_1 = require("@lendi-ui/color");
|
|
10
|
-
var depth_1 = require("@lendi-ui/depth");
|
|
11
|
-
var ExitToApp_1 = require("@lendi-ui/icon/ExitToApp");
|
|
12
|
-
var UnreadMessage_1 = require("@lendi-ui/icon/UnreadMessage");
|
|
13
|
-
var spacing_1 = require("@lendi-ui/spacing");
|
|
14
|
-
var theme_1 = require("@lendi-ui/theme");
|
|
15
|
-
var typography_1 = require("@lendi-ui/typography");
|
|
16
|
-
var utils_1 = require("@lendi-ui/utils");
|
|
17
|
-
var styled_components_1 = require("styled-components");
|
|
18
|
-
exports.MobileActions = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n ", ";\n .noHover {\n ", " :hover {\n box-shadow: none;\n }\n }\n"], ["\n display: flex;\n ",
|
|
19
|
-
";\n .noHover {\n ", " :hover {\n box-shadow: none;\n }\n }\n"])), breakpoint_1.gte('desktop')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: none;\n "], ["\n display: none;\n "]))), spacing_1.mr('nil'));
|
|
20
|
-
exports.DesktopActions = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: flex;\n ", ";\n"], ["\n display: flex;\n ",
|
|
21
|
-
";\n"])), breakpoint_1.between('mobile', 'desktop')(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: none;\n "], ["\n display: none;\n "]))));
|
|
22
|
-
exports.TalkExpertAction = styled_components_1.default(button_1.Button)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width: 100%;\n ", " ", ";\n min-width: 180px;\n ", "\n"], ["\n width: 100%;\n ", " ",
|
|
23
|
-
";\n min-width: 180px;\n ",
|
|
24
|
-
"\n"])), spacing_1.mr('sm'), breakpoint_1.between('mobile', 'desktop')(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n border: none;\n "], ["\n border: none;\n "]))), function (_a) {
|
|
25
|
-
var bigLabelAccomodate = _a.bigLabelAccomodate;
|
|
26
|
-
return bigLabelAccomodate && styled_components_1.css(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n min-width: 202px;\n "], ["\n min-width: 202px;\n "])));
|
|
27
|
-
});
|
|
28
|
-
exports.TalkExpertActionMobile = styled_components_1.default(button_1.Button)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n ", "\n ", ";\n min-width: 102px;\n padding: 0;\n line-height: 1.33;\n ", "\n"], ["\n ", "\n ",
|
|
29
|
-
";\n min-width: 102px;\n padding: 0;\n line-height: 1.33;\n ",
|
|
30
|
-
"\n"])), spacing_1.mr('sm'), breakpoint_1.between('mobile', 'desktop')(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n border: none;\n "], ["\n border: none;\n "]))), function (_a) {
|
|
31
|
-
var isContinue = _a.isContinue;
|
|
32
|
-
return isContinue && styled_components_1.css(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n min-width: 90px;\n "], ["\n min-width: 90px;\n "])));
|
|
33
|
-
});
|
|
34
|
-
exports.SecondaryAction = styled_components_1.default(button_1.Button)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n min-width: 180px;\n ", "\n word-wrap: break-word;\n"], ["\n min-width: 180px;\n ",
|
|
35
|
-
"\n word-wrap: break-word;\n"])), function (_a) {
|
|
36
|
-
var bigLabelAccomodate = _a.bigLabelAccomodate;
|
|
37
|
-
return bigLabelAccomodate && styled_components_1.css(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n min-width: 202px;\n "], ["\n min-width: 202px;\n "])));
|
|
38
|
-
});
|
|
39
|
-
exports.SecondaryActionMobile = styled_components_1.default(button_1.Button)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n width: 90px;\n padding: 0;\n"], ["\n width: 90px;\n padding: 0;\n"])));
|
|
40
|
-
exports.LogoutWrapper = styled_components_1.default.div(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n position: absolute;\n right: 5px;\n top: 56px;\n ", "\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: ", ";\n ", " ", " ", " ", "\n"], ["\n position: absolute;\n right: 5px;\n top: 56px;\n ", "\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: ", ";\n ", " ", " ", " ", "\n"])), breakpoint_1.gte('desktop')(templateObject_14 || (templateObject_14 = __makeTemplateObject(["top: 70px;"], ["top: 70px;"]))), theme_1.select('borderRadius'), spacing_1.px('md'), spacing_1.py('sm'), depth_1.depth(2), color_1.bg('shade.0'));
|
|
41
|
-
exports.ExitToAppWrapper = styled_components_1.default(ExitToApp_1.default)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), spacing_1.mr('sm'));
|
|
42
|
-
exports.LogoutLinkWrapper = styled_components_1.default(typography_1.Link)(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n overflow: hidden;\n text-decoration: none;\n font-weight: normal;\n margin-right: 0;\n"], ["\n overflow: hidden;\n text-decoration: none;\n font-weight: normal;\n margin-right: 0;\n"])));
|
|
43
|
-
exports.DesktopLogoutWrapper = styled_components_1.default.div(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), utils_1.display({ mobile: 'none', desktop: 'block' }));
|
|
44
|
-
exports.KebabMenu = styled_components_1.default(button_1.IconButton)(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), spacing_1.ml('xxxs'));
|
|
45
|
-
exports.UnreadMessageWrapper = styled_components_1.default(UnreadMessage_1.default)(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n margin-top: -0.4em;\n margin-right: 0.5em;\n margin-left: -0.5em;\n"], ["\n margin-top: -0.4em;\n margin-right: 0.5em;\n margin-left: -0.5em;\n"])));
|
|
46
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20;
|
|
47
|
-
//# sourceMappingURL=index.style.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.style.js","sourceRoot":"","sources":["../../../../../src/shared/components/CTA/index.style.tsx"],"names":[],"mappings":";;;;;;AAAA,mDAAoD;AACpD,2CAAsD;AACtD,yCAAqC;AACrC,yCAAwC;AACxC,sDAAiD;AACjD,8DAAyD;AACzD,6CAAmD;AACnD,yCAAyC;AACzC,mDAA4C;AAC5C,yCAA0C;AAC1C,uDAAgD;AAMnC,QAAA,aAAa,GAAG,2BAAM,CAAC,GAAG,wKAAA,wBAEnC;IAED,uBAEG,EAAS,kDAId,KARG,gBAAG,CAAC,SAAS,CAAC,6FAAA,0BAEf,MAEG,YAAE,CAAC,KAAK,CAAC,EAIb;AAEW,QAAA,cAAc,GAAG,2BAAM,CAAC,GAAG,kGAAA,wBAEpC;IAED,KACF,KAHG,oBAAO,CAAC,QAAQ,EAAE,SAAS,CAAC,6FAAA,0BAE7B,MACD;AAEW,QAAA,gBAAgB,GAAG,2BAAM,CAAC,eAAM,CAAC,kIAAoB,sBAE9D,EAAQ,GAAI;IAEb,4BAEC;IAIC,IACJ,KATG,YAAE,CAAC,IAAI,CAAC,EAAI,oBAAO,CAAC,QAAQ,EAAE,SAAS,CAAC,4FAAA,yBAEzC,MAEC,UAAC,EAAsB;QAApB,0CAAkB;IACrB,OAAA,kBAAkB,IAClB,uBAAG,oGAAA,iCAEF,IAAA;AAHD,CAGC,EACH;AAMW,QAAA,sB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AS,GAAG,2BAAM,CAAC,mBAAU,CAAC,iFAAA,MACvC,EAAU,IACb,KADG,YAAE,CAAC,MAAM,CAAC,EACZ;AAEW,QAAA,oBAAoB,GAAG,2BAAM,CAAC,uBAAa,CAAC,gJAAA,2EAIxD,KAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Button } from '@lendi-ui/button';
|
|
2
|
-
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export declare const ButtonWrapper: import("styled-components").StyledComponent<typeof Button, any, {}, never>;
|
|
4
|
-
export declare const ButtonSection: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Button, IconButton } from '@lendi-ui/button';
|
|
3
|
-
import ExitToApp from '@lendi-ui/icon/ExitToApp';
|
|
4
|
-
import UnreadMessage from '@lendi-ui/icon/UnreadMessage';
|
|
5
|
-
interface AccomodateBigLabel {
|
|
6
|
-
bigLabelAccomodate?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const MobileActions: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
-
export declare const DesktopActions: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
-
export declare const TalkExpertAction: import("styled-components").StyledComponent<typeof Button, any, AccomodateBigLabel, never>;
|
|
11
|
-
interface TalkExpertActionMobileProp {
|
|
12
|
-
isContinue?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const TalkExpertActionMobile: import("styled-components").StyledComponent<typeof Button, any, TalkExpertActionMobileProp, never>;
|
|
15
|
-
export declare const SecondaryAction: import("styled-components").StyledComponent<typeof Button, any, AccomodateBigLabel, never>;
|
|
16
|
-
export declare const SecondaryActionMobile: import("styled-components").StyledComponent<typeof Button, any, {}, never>;
|
|
17
|
-
export declare const LogoutWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
18
|
-
export declare const ExitToAppWrapper: import("styled-components").StyledComponent<typeof ExitToApp, any, {}, never>;
|
|
19
|
-
export declare const LogoutLinkWrapper: import("styled-components").StyledComponent<(props: import("@lendi-ui/typography").LinkProps) => JSX.Element, any, {}, never>;
|
|
20
|
-
export declare const DesktopLogoutWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
21
|
-
export declare const KebabMenu: import("styled-components").StyledComponent<typeof IconButton, any, {}, never>;
|
|
22
|
-
export declare const UnreadMessageWrapper: import("styled-components").StyledComponent<typeof UnreadMessage, any, {}, never>;
|
|
23
|
-
export {};
|