@mmb-digital/ds-lilly 1.0.18 → 1.0.20
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/cjs/components/Components/NotificationCard/NotificationCard.d.ts +1 -1
- package/cjs/components/Components/NotificationCard/NotificationCard.d.ts.map +1 -1
- package/cjs/components/Components/NotificationCard/NotificationCardHeader.d.ts.map +1 -1
- package/cjs/components/Components/NotificationCard/NotificationCardHeader.js +1 -1
- package/cjs/components/Components/NotificationCard/NotificationCardHeader.js.map +1 -1
- package/cjs/ds-lilly.css +15 -3
- package/components/Components/NotificationCard/NotificationCard.d.ts +1 -1
- package/components/Components/NotificationCard/NotificationCard.d.ts.map +1 -1
- package/components/Components/NotificationCard/NotificationCardHeader.d.ts.map +1 -1
- package/components/Components/NotificationCard/NotificationCardHeader.js +1 -1
- package/components/Components/NotificationCard/NotificationCardHeader.js.map +1 -1
- package/ds-lilly.css +15 -3
- package/package.json +1 -1
- /package/assets/{7373aed338045c699bd1.eot → 0a79f73d98e4fde0805e.eot} +0 -0
- /package/assets/{169af1430439e9500dfb.svg → 0bd958276de576aef400.svg} +0 -0
- /package/assets/{84a02415b6583a8f244c.svg → 1523e8a36b1a87d8cc7d.svg} +0 -0
- /package/assets/{53466586497e92ce68ab.gif → 18891ac602e3efecbf20.gif} +0 -0
- /package/assets/{fa7fb624c7e6931aa3ee.gif → 1d3def6cd18c8347d465.gif} +0 -0
- /package/assets/{5b1ad14279d447315f09.ttf → 47116d472b3a6cb5d338.ttf} +0 -0
- /package/assets/{9d4686f377714359e24d.woff → 8024f09e94b3c0c4c9fb.woff} +0 -0
- /package/assets/{78794fff267c87ae565b.eot → aaf8597b211eaf007778.eot} +0 -0
- /package/assets/{b7318c802d959e034fe2.eot → aedf73e9eac3e7cbdfaf.eot} +0 -0
- /package/assets/{691ef2b8eb3f1ddc429e.ttf → b88de8a2b92d48553a4a.ttf} +0 -0
- /package/assets/{c096cb49320ffca08f01.eot → eaa83cad7cee548b5eb9.eot} +0 -0
- /package/assets/{abca4cce4f3b3241d42d.woff → fde9785dcee4ae940a7a.woff} +0 -0
|
@@ -7,7 +7,7 @@ import { CardPropsType, CardSize } from '../Card';
|
|
|
7
7
|
export type IconAlignType = 'center' | 'top' | 'bottom';
|
|
8
8
|
export interface NotificationCardProps extends Omit<CardPropsType, 'children' | 'header' | 'backgroundColor'>, ComponentPropsType {
|
|
9
9
|
/** Notification title (required) */
|
|
10
|
-
title
|
|
10
|
+
title?: string | ReactNode;
|
|
11
11
|
/** Color of the title text */
|
|
12
12
|
titleColor?: ColorType;
|
|
13
13
|
/** Font weight for the title (default: bold)*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/NotificationCard/NotificationCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAExD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAQ,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAGvD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAA;AAEvD,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,QAAQ,GAAG,iBAAiB,CAAC,EACpE,kBAAkB;IACpB,oCAAoC;IACpC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"NotificationCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/NotificationCard/NotificationCard.tsx"],"names":[],"mappings":"AAAA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CAAmC;IACnC,eAAe,CAAC,EAAE,SAAS,CAAA;IAC3B,oCAAoC;IACpC,SAAS,CAAC,EAAE,aAAa,CAAA;IACzB,uDAAuD;IACvD,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,yCAAyC;IACzC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,cAAc,GAAG,aAAa,KAAK,IAAI,CAAA;IACtE,sDAAsD;IACtD,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED,eAAO,MAAM,gBAAgB,wPAsB1B,qBAAqB,sBAiCvB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationCardHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/NotificationCard/NotificationCardHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAMzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"NotificationCardHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/NotificationCard/NotificationCardHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAMzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,eAAO,MAAM,sBAAsB,mJAYhC,KACD,qBAAqB,EACnB,WAAW,GACX,qBAAqB,GACrB,UAAU,GACV,UAAU,GACV,cAAc,GACd,OAAO,GACP,YAAY,GACZ,aAAa,GACb,aAAa,GACb,cAAc,GACd,eAAe,CAClB,sBA8DA,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("../../../contexts/CardContext.js");require("../../../contexts/FormGroupContext.js"),require("../../../contexts/ModalContext.js"),require("../../../contexts/Select2Context.js"),require("../../../contexts/TabsContext.js"),require("../../../utils/getDisplayName.js"),require("../../../utils/getIntegerMask.js"),require("../../../utils/isFilled.js"),require("../../../utils/isNotFilled.js"),require("../../../utils/isNotNilNorEmpty.js"),require('./../../../ext/diacritic/diacritics.js');var r=require("../../../utils/classBinder.js");require('./../../../ext/text-mask-addons/dist/textMaskAddons.js'),require("../../Typography/Amount/Amount.js");var i=require("../../Typography/Text/Text.js");require('./../../../ext/tslib/tslib.es6.js');var o=require("../Avatar/Avatar.js");require("../Button/Button.js"),require("../ButtonTooltip/ButtonTooltip.js"),require('./../../../ext/cuid/index.js'),require("react-slick"),require("../Collapse/Collapse.js"),require('./../../../ext/lodash/_baseToString.js'),require('./../../../ext/react-text-mask/dist/reactTextMask.js'),require("../Dropdown/_elements_/DropdownDivider.js"),require("../Dropdown/_elements_/DropdownItem.js"),require("../Dropdown/_elements_/DropdownMenu.js"),require("../../../contexts/ContentTableContext.js"),require("../ContentTable/ContentTableRow.js"),require("../Link/Link.js"),require("react-dom"),require("react-router-dom"),require("../SuperModal/SuperModal.context.js"),require("../../Form/Autocomplete/Autocomplete.js"),require('./../../../ext/react-device-detect/dist/lib.js'),require("../../../contexts/MobilePanelContext.js"),require("../../Form/Select/_elements_/Select2CategorisedOptions.js"),require("../../Form/Select/_elements_/Select2Options.js"),require("../../Form/Slider/Slider.js"),require("../UserAuth/UserAuth.js"),require("../dataTable/DataTable.js");exports.NotificationCardHeader=function(n){var
|
|
1
|
+
"use strict";var e=require("react"),t=require("../../../contexts/CardContext.js");require("../../../contexts/FormGroupContext.js"),require("../../../contexts/ModalContext.js"),require("../../../contexts/Select2Context.js"),require("../../../contexts/TabsContext.js"),require("../../../utils/getDisplayName.js"),require("../../../utils/getIntegerMask.js"),require("../../../utils/isFilled.js"),require("../../../utils/isNotFilled.js"),require("../../../utils/isNotNilNorEmpty.js"),require('./../../../ext/diacritic/diacritics.js');var r=require("../../../utils/classBinder.js");require('./../../../ext/text-mask-addons/dist/textMaskAddons.js'),require("../../Typography/Amount/Amount.js");var i=require("../../Typography/Text/Text.js");require('./../../../ext/tslib/tslib.es6.js');var o=require("../Avatar/Avatar.js");require("../Button/Button.js"),require("../ButtonTooltip/ButtonTooltip.js"),require('./../../../ext/cuid/index.js'),require("react-slick"),require("../Collapse/Collapse.js"),require('./../../../ext/lodash/_baseToString.js'),require('./../../../ext/react-text-mask/dist/reactTextMask.js'),require("../Dropdown/_elements_/DropdownDivider.js"),require("../Dropdown/_elements_/DropdownItem.js"),require("../Dropdown/_elements_/DropdownMenu.js"),require("../../../contexts/ContentTableContext.js"),require("../ContentTable/ContentTableRow.js"),require("../Link/Link.js"),require("react-dom"),require("react-router-dom"),require("../SuperModal/SuperModal.context.js"),require("../../Form/Autocomplete/Autocomplete.js"),require('./../../../ext/react-device-detect/dist/lib.js'),require("../../../contexts/MobilePanelContext.js"),require("../../Form/Select/_elements_/Select2CategorisedOptions.js"),require("../../Form/Select/_elements_/Select2Options.js"),require("../../Form/Slider/Slider.js"),require("../UserAuth/UserAuth.js"),require("../dataTable/DataTable.js");exports.NotificationCardHeader=function(n){var a=n.contentTheme,s=n.description,l=n.iconAlign,c=void 0===l?"center":l,d=n.iconBackgroundColor,u=n.iconName,m=n.iconSize,_=void 0===m?"xLarge":m,q=n.isCollapsible,p=n.rightContent,j=n.title,C=n.titleColor,x=n.titleWeight,g=void 0===x?"bold":x,f=e.useContext(t.default).isOpened,v=!q||!f,T=!!("string"==typeof j&&j.trim().length>0||"string"!=typeof j&&j);return e.createElement("div",{className:r.cx("notificationCard__grid",u?"notificationCard__grid--withIcon":"notificationCard__grid--noIcon",!s&&"notificationCard__grid--noDescription",a&&a)},u&&e.createElement("div",{className:r.cx("notificationCard__icon","center"===c?"notificationCard__icon--alignCenter":"top"===c?"notificationCard__icon--alignStart":"notificationCard__icon--alignBottom")},e.createElement(o.Avatar,{backgroundColor:d,iconName:u,size:_})),T?e.createElement(e.Fragment,null,e.createElement("div",{className:"notificationCard__titleWrapper"},p?e.createElement("div",{className:"notificationCard__rightContentWrapper"},e.createElement(i.Text,{component:"h3",size:"small",theme:r.cx("notificationCard__title",C&&"u-fg--".concat(C)),weight:g},j),e.createElement("span",null,p)):e.createElement(i.Text,{component:"h3",size:"small",theme:r.cx("notificationCard__title",C&&"u-fg--".concat(C)),weight:g},j)),v&&s&&e.createElement("div",{className:"notificationCard__description"},s)):e.createElement("div",{className:"notificationCard__noTitle"},s))};
|
|
2
2
|
//# sourceMappingURL=NotificationCardHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationCardHeader.js","sources":["../../../../../../src/components/Components/NotificationCard/NotificationCardHeader.tsx"],"sourcesContent":[null],"names":["_a","contentTheme","description","_b","iconAlign","iconBackgroundColor","iconName","_c","iconSize","isCollapsible","rightContent","title","titleColor","_d","titleWeight","isOpened","useContext","CardContext","default","shouldRenderDescription","React","createElement","className","cx","Avatar","backgroundColor","size","Text","component","theme","concat","weight"],"mappings":"
|
|
1
|
+
{"version":3,"file":"NotificationCardHeader.js","sources":["../../../../../../src/components/Components/NotificationCard/NotificationCardHeader.tsx"],"sourcesContent":[null],"names":["_a","contentTheme","description","_b","iconAlign","iconBackgroundColor","iconName","_c","iconSize","isCollapsible","rightContent","title","titleColor","_d","titleWeight","isOpened","useContext","CardContext","default","shouldRenderDescription","hasTitle","trim","length","React","createElement","className","cx","Avatar","backgroundColor","size","Fragment","Text","component","theme","concat","weight"],"mappings":"q6DAOsC,SAACA,GACrC,IAAAC,iBACAC,gBACAC,EAAAH,EAAAI,UAAAA,OAAS,IAAAD,EAAG,SAAQA,EACpBE,EAAmBL,EAAAK,oBACnBC,EAAQN,EAAAM,SACRC,aAAAC,OAAW,IAAAD,EAAA,WACXE,kBACAC,iBACAC,UACAC,eACAC,EAAAb,EAAAc,YAAAA,OAAW,IAAAD,EAAG,OAAMA,EAeZE,EAAaC,EAAAA,WAAWC,EAAWC,kBACrCC,GAA2BV,IAAkBM,EAC7CK,KAAgC,iBAAVT,GAAsBA,EAAMU,OAAOC,OAAS,GAAwB,iBAAVX,GAAsBA,GAE5G,OACEY,EACEC,cAAA,MAAA,CAAAC,UAAWC,EAAEA,GACX,yBACApB,EAAW,mCAAqC,kCAC/CJ,GAAe,wCAChBD,GAAgBA,IAGjBK,GACCiB,EAAAC,cAAA,MAAA,CACEC,UAAWC,EAAEA,GACX,yBACc,WAAdtB,EACI,sCACc,QAAdA,EACE,qCACA,wCAGRmB,EAAAC,cAACG,SAAM,CAACC,gBAAiBvB,EAAqBC,SAAUA,EAAUuB,KAAMrB,KAG3EY,EACCG,EAACC,cAAAD,EAAMO,SAAQ,KACbP,EAAAC,cAAA,MAAA,CAAKC,UAAU,kCACZf,EACCa,EAAAC,cAAA,MAAA,CAAKC,UAAU,yCACbF,EAAAC,cAACO,EAAAA,KAAI,CACHC,UAAU,KACVH,KAAK,QACLI,MAAOP,EAAAA,GAAG,0BAA2Bd,GAAc,SAASsB,OAAAtB,IAC5DuB,OAAQrB,GAEPH,GAEHY,EAAAC,cAAA,OAAA,KAAOd,IAGTa,EAACC,cAAAO,EAAIA,MACHC,UAAU,KACVH,KAAK,QACLI,MAAOP,EAAAA,GAAG,0BAA2Bd,GAAc,gBAASA,IAC5DuB,OAAQrB,GAEPH,IAKNQ,GAA2BjB,GAAeqB,EAAKC,cAAA,MAAA,CAAAC,UAAU,iCAAiCvB,IAG7FqB,EAAKC,cAAA,MAAA,CAAAC,UAAU,6BAA6BvB,GAIpD"}
|
package/cjs/ds-lilly.css
CHANGED
|
@@ -6421,6 +6421,18 @@ body.dark .l-header .c-logo__img--dark {
|
|
|
6421
6421
|
justify-content: flex-start;
|
|
6422
6422
|
}
|
|
6423
6423
|
|
|
6424
|
+
.notificationCard__noTitle {
|
|
6425
|
+
display: grid;
|
|
6426
|
+
width: 100%;
|
|
6427
|
+
column-gap: var(--spaceMedium);
|
|
6428
|
+
grid-column: 2;
|
|
6429
|
+
grid-row: 1;
|
|
6430
|
+
align-self: center;
|
|
6431
|
+
align-items: flex-start;
|
|
6432
|
+
justify-content: start;
|
|
6433
|
+
justify-items: start;
|
|
6434
|
+
}
|
|
6435
|
+
|
|
6424
6436
|
.notificationCard__icon {
|
|
6425
6437
|
grid-column: 1;
|
|
6426
6438
|
grid-row: 1;
|
|
@@ -9698,7 +9710,7 @@ body.dark .u-fg--fgWhiteDefault {
|
|
|
9698
9710
|
/* Slider */
|
|
9699
9711
|
.slick-loading .slick-list
|
|
9700
9712
|
{
|
|
9701
|
-
background: #fff url('assets/
|
|
9713
|
+
background: #fff url('assets/1d3def6cd18c8347d465.gif') center center no-repeat;
|
|
9702
9714
|
}
|
|
9703
9715
|
|
|
9704
9716
|
/* Icons */
|
|
@@ -9708,8 +9720,8 @@ body.dark .u-fg--fgWhiteDefault {
|
|
|
9708
9720
|
font-weight: normal;
|
|
9709
9721
|
font-style: normal;
|
|
9710
9722
|
|
|
9711
|
-
src: url('assets/
|
|
9712
|
-
src: url('assets/
|
|
9723
|
+
src: url('assets/0a79f73d98e4fde0805e.eot');
|
|
9724
|
+
src: url('assets/aedf73e9eac3e7cbdfaf.eot') format('embedded-opentype'), url('assets/8024f09e94b3c0c4c9fb.woff') format('woff'), url('assets/47116d472b3a6cb5d338.ttf') format('truetype'), url('assets/0bd958276de576aef400.svg') format('svg');
|
|
9713
9725
|
}
|
|
9714
9726
|
/* Arrows */
|
|
9715
9727
|
.slick-prev,
|
|
@@ -7,7 +7,7 @@ import { CardPropsType, CardSize } from '../Card';
|
|
|
7
7
|
export type IconAlignType = 'center' | 'top' | 'bottom';
|
|
8
8
|
export interface NotificationCardProps extends Omit<CardPropsType, 'children' | 'header' | 'backgroundColor'>, ComponentPropsType {
|
|
9
9
|
/** Notification title (required) */
|
|
10
|
-
title
|
|
10
|
+
title?: string | ReactNode;
|
|
11
11
|
/** Color of the title text */
|
|
12
12
|
titleColor?: ColorType;
|
|
13
13
|
/** Font weight for the title (default: bold)*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationCard.d.ts","sourceRoot":"","sources":["../../../../src/components/Components/NotificationCard/NotificationCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAExD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAQ,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAGvD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAA;AAEvD,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,QAAQ,GAAG,iBAAiB,CAAC,EACpE,kBAAkB;IACpB,oCAAoC;IACpC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"NotificationCard.d.ts","sourceRoot":"","sources":["../../../../src/components/Components/NotificationCard/NotificationCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAExD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAQ,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAGvD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAA;AAEvD,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,Q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ardHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Components/NotificationCard/NotificationCardHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAMzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"NotificationCardHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Components/NotificationCard/NotificationCardHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAMzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,eAAO,MAAM,sBAAsB,mJAYhC,KACD,qBAAqB,EACnB,WAAW,GACX,qBAAqB,GACrB,UAAU,GACV,UAAU,GACV,cAAc,GACd,OAAO,GACP,YAAY,GACZ,aAAa,GACb,aAAa,GACb,cAAc,GACd,eAAe,CAClB,sBA8DA,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t,{useContext as
|
|
1
|
+
import t,{useContext as e}from"react";import o from"../../../contexts/CardContext.js";import"../../../contexts/FormGroupContext.js";import"../../../contexts/ModalContext.js";import"../../../contexts/Select2Context.js";import"../../../contexts/TabsContext.js";import"../../../utils/getDisplayName.js";import"../../../utils/getIntegerMask.js";import"../../../utils/isFilled.js";import"../../../utils/isNotFilled.js";import"../../../utils/isNotNilNorEmpty.js";import'./../../../ext/diacritic/diacritics.js';import{cx as i}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import"../../Typography/Amount/Amount.js";import{Text as n}from"../../Typography/Text/Text.js";import'./../../../ext/tslib/tslib.es6.js';import{Avatar as r}from"../Avatar/Avatar.js";import"../Button/Button.js";import"../ButtonTooltip/ButtonTooltip.js";import'./../../../ext/cuid/index.js';import"react-slick";import"../Collapse/Collapse.js";import'./../../../ext/lodash/_baseToString.js';import'./../../../ext/react-text-mask/dist/reactTextMask.js';import"../Dropdown/_elements_/DropdownDivider.js";import"../Dropdown/_elements_/DropdownItem.js";import"../Dropdown/_elements_/DropdownMenu.js";import"../../../contexts/ContentTableContext.js";import"../ContentTable/ContentTableRow.js";import"../Link/Link.js";import"react-dom";import"react-router-dom";import"../SuperModal/SuperModal.context.js";import"../../Form/Autocomplete/Autocomplete.js";import'./../../../ext/react-device-detect/dist/lib.js';import"../../../contexts/MobilePanelContext.js";import"../../Form/Select/_elements_/Select2CategorisedOptions.js";import"../../Form/Select/_elements_/Select2Options.js";import"../../Form/Slider/Slider.js";import"../UserAuth/UserAuth.js";import"../dataTable/DataTable.js";var s=function(s){var a=s.contentTheme,m=s.description,l=s.iconAlign,c=void 0===l?"center":l,d=s.iconBackgroundColor,p=s.iconName,_=s.iconSize,j=void 0===_?"xLarge":_,u=s.isCollapsible,C=s.rightContent,g=s.title,f=s.titleColor,x=s.titleWeight,h=void 0===x?"bold":x,T=e(o).isOpened,v=!u||!T,b=!!("string"==typeof g&&g.trim().length>0||"string"!=typeof g&&g);return t.createElement("div",{className:i("notificationCard__grid",p?"notificationCard__grid--withIcon":"notificationCard__grid--noIcon",!m&&"notificationCard__grid--noDescription",a&&a)},p&&t.createElement("div",{className:i("notificationCard__icon","center"===c?"notificationCard__icon--alignCenter":"top"===c?"notificationCard__icon--alignStart":"notificationCard__icon--alignBottom")},t.createElement(r,{backgroundColor:d,iconName:p,size:j})),b?t.createElement(t.Fragment,null,t.createElement("div",{className:"notificationCard__titleWrapper"},C?t.createElement("div",{className:"notificationCard__rightContentWrapper"},t.createElement(n,{component:"h3",size:"small",theme:i("notificationCard__title",f&&"u-fg--".concat(f)),weight:h},g),t.createElement("span",null,C)):t.createElement(n,{component:"h3",size:"small",theme:i("notificationCard__title",f&&"u-fg--".concat(f)),weight:h},g)),v&&m&&t.createElement("div",{className:"notificationCard__description"},m)):t.createElement("div",{className:"notificationCard__noTitle"},m))};export{s as NotificationCardHeader};
|
|
2
2
|
//# sourceMappingURL=NotificationCardHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationCardHeader.js","sources":["../../../../src/components/Components/NotificationCard/NotificationCardHeader.tsx"],"sourcesContent":[null],"names":["NotificationCardHeader","_a","contentTheme","description","_b","iconAlign","iconBackgroundColor","iconName","_c","iconSize","isCollapsible","rightContent","title","titleColor","_d","titleWeight","isOpened","useContext","CardContext","shouldRenderDescription","React","createElement","className","cx","Avatar","backgroundColor","size","Text","component","theme","concat","weight"],"mappings":"
|
|
1
|
+
{"version":3,"file":"NotificationCardHeader.js","sources":["../../../../src/components/Components/NotificationCard/NotificationCardHeader.tsx"],"sourcesContent":[null],"names":["NotificationCardHeader","_a","contentTheme","description","_b","iconAlign","iconBackgroundColor","iconName","_c","iconSize","isCollapsible","rightContent","title","titleColor","_d","titleWeight","isOpened","useContext","CardContext","shouldRenderDescription","hasTitle","trim","length","React","createElement","className","cx","Avatar","backgroundColor","size","Fragment","Text","component","theme","concat","weight"],"mappings":"6yDAOO,IAAMA,EAAyB,SAACC,GACrC,IAAAC,iBACAC,gBACAC,EAAAH,EAAAI,UAAAA,OAAS,IAAAD,EAAG,SAAQA,EACpBE,EAAmBL,EAAAK,oBACnBC,EAAQN,EAAAM,SACRC,aAAAC,OAAW,IAAAD,EAAA,WACXE,kBACAC,iBACAC,UACAC,eACAC,EAAAb,EAAAc,YAAAA,OAAW,IAAAD,EAAG,OAAMA,EAeZE,EAAaC,EAAWC,YAC1BC,GAA2BT,IAAkBM,EAC7CI,KAAgC,iBAAVR,GAAsBA,EAAMS,OAAOC,OAAS,GAAwB,iBAAVV,GAAsBA,GAE5G,OACEW,EACEC,cAAA,MAAA,CAAAC,UAAWC,EACT,yBACAnB,EAAW,mCAAqC,kCAC/CJ,GAAe,wCAChBD,GAAgBA,IAGjBK,GACCgB,EAAAC,cAAA,MAAA,CACEC,UAAWC,EACT,yBACc,WAAdrB,EACI,sCACc,QAAdA,EACE,qCACA,wCAGRkB,EAAAC,cAACG,EAAM,CAACC,gBAAiBtB,EAAqBC,SAAUA,EAAUsB,KAAMpB,KAG3EW,EACCG,EAACC,cAAAD,EAAMO,SAAQ,KACbP,EAAAC,cAAA,MAAA,CAAKC,UAAU,kCACZd,EACCY,EAAAC,cAAA,MAAA,CAAKC,UAAU,yCACbF,EAAAC,cAACO,EAAI,CACHC,UAAU,KACVH,KAAK,QACLI,MAAOP,EAAG,0BAA2Bb,GAAc,SAASqB,OAAArB,IAC5DsB,OAAQpB,GAEPH,GAEHW,EAAAC,cAAA,OAAA,KAAOb,IAGTY,EAACC,cAAAO,GACCC,UAAU,KACVH,KAAK,QACLI,MAAOP,EAAG,0BAA2Bb,GAAc,gBAASA,IAC5DsB,OAAQpB,GAEPH,IAKNO,GAA2BhB,GAAeoB,EAAKC,cAAA,MAAA,CAAAC,UAAU,iCAAiCtB,IAG7FoB,EAAKC,cAAA,MAAA,CAAAC,UAAU,6BAA6BtB,GAIpD"}
|
package/ds-lilly.css
CHANGED
|
@@ -6421,6 +6421,18 @@ body.dark .l-header .c-logo__img--dark {
|
|
|
6421
6421
|
justify-content: flex-start;
|
|
6422
6422
|
}
|
|
6423
6423
|
|
|
6424
|
+
.notificationCard__noTitle {
|
|
6425
|
+
display: grid;
|
|
6426
|
+
width: 100%;
|
|
6427
|
+
column-gap: var(--spaceMedium);
|
|
6428
|
+
grid-column: 2;
|
|
6429
|
+
grid-row: 1;
|
|
6430
|
+
align-self: center;
|
|
6431
|
+
align-items: flex-start;
|
|
6432
|
+
justify-content: start;
|
|
6433
|
+
justify-items: start;
|
|
6434
|
+
}
|
|
6435
|
+
|
|
6424
6436
|
.notificationCard__icon {
|
|
6425
6437
|
grid-column: 1;
|
|
6426
6438
|
grid-row: 1;
|
|
@@ -9698,7 +9710,7 @@ body.dark .u-fg--fgWhiteDefault {
|
|
|
9698
9710
|
/* Slider */
|
|
9699
9711
|
.slick-loading .slick-list
|
|
9700
9712
|
{
|
|
9701
|
-
background: #fff url('assets/
|
|
9713
|
+
background: #fff url('assets/18891ac602e3efecbf20.gif') center center no-repeat;
|
|
9702
9714
|
}
|
|
9703
9715
|
|
|
9704
9716
|
/* Icons */
|
|
@@ -9708,8 +9720,8 @@ body.dark .u-fg--fgWhiteDefault {
|
|
|
9708
9720
|
font-weight: normal;
|
|
9709
9721
|
font-style: normal;
|
|
9710
9722
|
|
|
9711
|
-
src: url('assets/
|
|
9712
|
-
src: url('assets/
|
|
9723
|
+
src: url('assets/aaf8597b211eaf007778.eot');
|
|
9724
|
+
src: url('assets/eaa83cad7cee548b5eb9.eot') format('embedded-opentype'), url('assets/fde9785dcee4ae940a7a.woff') format('woff'), url('assets/b88de8a2b92d48553a4a.ttf') format('truetype'), url('assets/1523e8a36b1a87d8cc7d.svg') format('svg');
|
|
9713
9725
|
}
|
|
9714
9726
|
/* Arrows */
|
|
9715
9727
|
.slick-prev,
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|