@mmb-digital/ds-lilly 1.0.0-alpha.6 → 1.0.0-alpha.7

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.
Files changed (25) hide show
  1. package/cjs/components/Components/List/ListItem.d.ts +2 -2
  2. package/cjs/components/Components/List/ListItem.d.ts.map +1 -1
  3. package/cjs/components/Typography/Text/Text.d.ts.map +1 -1
  4. package/cjs/components/Typography/Text/Text.js +1 -1
  5. package/cjs/components/Typography/Text/Text.js.map +1 -1
  6. package/cjs/ds-lilly.css +58 -8
  7. package/components/Components/List/ListItem.d.ts +2 -2
  8. package/components/Components/List/ListItem.d.ts.map +1 -1
  9. package/components/Typography/Text/Text.d.ts.map +1 -1
  10. package/components/Typography/Text/Text.js +1 -1
  11. package/components/Typography/Text/Text.js.map +1 -1
  12. package/ds-lilly.css +58 -8
  13. package/package.json +1 -1
  14. /package/assets/{0144096826fba60c6b42.ttf → 11c4039568983866e7fe.ttf} +0 -0
  15. /package/assets/{7cb188cf12d09151747a.gif → 19073d4ceebeaf2d3185.gif} +0 -0
  16. /package/assets/{46aada24ff89321385d2.svg → 1a68feef82f1accb1895.svg} +0 -0
  17. /package/assets/{23bb9886bdd0dc44dff6.eot → 1e08896fd858cdc68c78.eot} +0 -0
  18. /package/assets/{f71f0ecf662dfd59d6bb.gif → 22624ac920c768e3fa93.gif} +0 -0
  19. /package/assets/{7d9de53606f21f2f6c45.woff → 43d5ab7e0486014cd112.woff} +0 -0
  20. /package/assets/{7e361d8bd5c55bf6c21c.eot → 45aeb034417caca71f67.eot} +0 -0
  21. /package/assets/{f5385a37dd88672e239c.svg → 5df1a3c1abc0c3de499b.svg} +0 -0
  22. /package/assets/{d40c7e6631a0d677a706.eot → 665a648d5b0822c865f6.eot} +0 -0
  23. /package/assets/{d9c1330c1f1ced96701f.woff → 9ef5454b6e2cc4eb7fb3.woff} +0 -0
  24. /package/assets/{07397a2b6aafb84679e0.ttf → b4c4551de0fddce74dd1.ttf} +0 -0
  25. /package/assets/{ff96897ac09f3966a01a.eot → e2e88c75d01a691d19fb.eot} +0 -0
@@ -1,10 +1,10 @@
1
- import { ReactElement, ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  import { ComponentPropsType } from '../../../utils';
3
3
  export interface ListItemPropsType extends ComponentPropsType {
4
4
  /** Children to be rendered in the main container. */
5
5
  children?: ReactNode;
6
6
  /** Label for children */
7
- label?: ReactElement;
7
+ label?: ReactNode;
8
8
  }
9
9
  export declare const ListItem: ({ children, label, testId, theme }: ListItemPropsType) => JSX.Element;
10
10
  //# sourceMappingURL=ListItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/List/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtD,OAAO,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAEvD,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB;IAC3D,qDAAqD;IACrD,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,yBAAyB;IACzB,KAAK,CAAC,EAAE,YAAY,CAAA;CACrB;AAED,eAAO,MAAM,QAAQ,uCAAwC,iBAAiB,KAAG,WAKhF,CAAA"}
1
+ {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/List/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAEvD,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB;IAC3D,qDAAqD;IACrD,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,yBAAyB;IACzB,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB;AAED,eAAO,MAAM,QAAQ,uCAAwC,iBAAiB,KAAG,WAKhF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAEtE,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAA;AAC1F,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAA;AACtE,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAA;AAEvD,MAAM,WAAW,aAAc,SAAQ,kBAAkB,EAAE,aAAa;IACtE,gEAAgE;IAChE,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IAC7B,qDAAqD;IACrD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,yBAAyB;IACzB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,0CAA0C;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,yCAAyC;IACzC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gBAAgB;IAChB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,wBAAwB;IACxB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,kBAAkB;IAClB,MAAM,CAAC,EAAE,cAAc,CAAA;CACxB;AAED,eAAO,MAAM,IAAI,8GAWd,aAAa,KAAG,WA6BlB,CAAA"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAEtE,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAA;AAC1F,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAA;AACtE,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAA;AAEvD,MAAM,WAAW,aAAc,SAAQ,kBAAkB,EAAE,aAAa;IACtE,gEAAgE;IAChE,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IAC7B,qDAAqD;IACrD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,yBAAyB;IACzB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,0CAA0C;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,yCAAyC;IACzC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gBAAgB;IAChB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,wBAAwB;IACxB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,kBAAkB;IAClB,MAAM,CAAC,EAAE,cAAc,CAAA;CACxB;AAED,eAAO,MAAM,IAAI,8GAWd,aAAa,KAAG,WA8BlB,CAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require('./../../../ext/tslib/tslib.es6.js'),t=require("react");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");function i(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}require('./../../../ext/text-mask-addons/dist/textMaskAddons.js'),require('./../../../ext/moment/dist/locale/cs.js');var s=i(t);exports.Text=function(t){var i=t.children,l=t.component,o=void 0===l?"p":l,n=t.isTextCenter,u=t.isTextRight,a=t.size,c=t.testId,d=t.theme,m=t.type,g=void 0===m?"primary":m,x=t.weight,j=e.__rest(t,["children","component","isTextCenter","isTextRight","size","testId","theme","type","weight"]);return s.createElement(o,e.__assign({className:r.cx({"u-colorSecondary":"secondary"===g,"u-colorError":"error"===g,"u-colorWarning":"warning"===g,"u-colorSuccess":"success"===g,"u-textCenter":n,"u-textRight":u,"u-textLarge":"large"===a,"u-fontWeightNormal":"normal"===x,"u-fontWeightMedium":"medium"===x,"u-fontWeightSemiBold":"semiBold"===x,"u-fontWeightBold":"bold"===x},d),"data-testid":c||"TextComponent"},j),a&&["small","xSmall"].includes(a)?s.createElement("small",{className:r.cx({"u-textXSmall":"xSmall"===a})},i):i)};
1
+ "use strict";var e=require('./../../../ext/tslib/tslib.es6.js'),t=require("react");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");function i(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}require('./../../../ext/text-mask-addons/dist/textMaskAddons.js'),require('./../../../ext/moment/dist/locale/cs.js');var s=i(t);exports.Text=function(t){var i=t.children,o=t.component,l=void 0===o?"p":o,n=t.isTextCenter,u=t.isTextRight,a=t.size,c=t.testId,d=t.theme,m=t.type,g=void 0===m?"primary":m,x=t.weight,j=e.__rest(t,["children","component","isTextCenter","isTextRight","size","testId","theme","type","weight"]);return s.createElement(l,e.__assign({className:r.cx({"u-colorSecondary":"secondary"===g,"u-colorError":"error"===g,"u-colorWarning":"warning"===g,"u-colorSuccess":"success"===g,"u-colorBrand":"brand"===g,"u-textCenter":n,"u-textRight":u,"u-textLarge":"large"===a,"u-fontWeightNormal":"normal"===x,"u-fontWeightMedium":"medium"===x,"u-fontWeightSemiBold":"semiBold"===x,"u-fontWeightBold":"bold"===x},d),"data-testid":c||"TextComponent"},j),a&&["small","xSmall"].includes(a)?s.createElement("small",{className:r.cx({"u-textXSmall":"xSmall"===a})},i):i)};
2
2
  //# sourceMappingURL=Text.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Text.js","sources":["../../../../../../src/components/Typography/Text/Text.tsx"],"sourcesContent":[null],"names":["_a","children","_b","component","Component","isTextCenter","isTextRight","size","testId","theme","_c","type","weight","rest","__rest","React","createElement","__assign","className","cx","includes"],"mappings":"qzBA2BoB,SAACA,GACnB,IAAAC,EAAQD,EAAAC,SACRC,EAA0BF,EAAAG,UAAfC,OAAY,IAAAF,EAAA,IAAGA,EAC1BG,EAAYL,EAAAK,aACZC,EAAWN,EAAAM,YACXC,EAAIP,EAAAO,KACJC,EAAMR,EAAAQ,OACNC,EAAKT,EAAAS,MACLC,EAAAV,EAAAW,KAAAA,OAAI,IAAAD,EAAG,UAASA,EAChBE,EAAMZ,EAAAY,OACHC,EAAIC,EAAAA,OAAAd,EAVY,+FAWa,OAGhCe,EAAAC,cAACZ,EAASa,EAAAA,SAAA,CACRC,UAAWC,EAAAA,GACT,CACE,mBAA6B,cAATR,EACpB,eAAyB,UAATA,EAChB,iBAA2B,YAATA,EAClB,iBAA2B,YAATA,EAClB,eAAgBN,EAChB,cAAeC,EACf,cAAwB,UAATC,EACf,qBAAiC,WAAXK,EACtB,qBAAiC,WAAXA,EACtB,uBAAmC,aAAXA,EACxB,mBAA+B,SAAXA,GAEtBH,GAEW,cAAAD,GAAU,iBACnBK,GAEHN,GAAQ,CAAC,QAAS,UAAUa,SAASb,GACpCQ,yBAAOG,UAAWC,EAAAA,GAAG,CAAE,eAAyB,WAATZ,KAAuBN,GAE9D"}
1
+ {"version":3,"file":"Text.js","sources":["../../../../../../src/components/Typography/Text/Text.tsx"],"sourcesContent":[null],"names":["_a","children","_b","component","Component","isTextCenter","isTextRight","size","testId","theme","_c","type","weight","rest","__rest","React","createElement","__assign","className","cx","includes"],"mappings":"qzBA2BoB,SAACA,GACnB,IAAAC,EAAQD,EAAAC,SACRC,EAA0BF,EAAAG,UAAfC,OAAY,IAAAF,EAAA,IAAGA,EAC1BG,EAAYL,EAAAK,aACZC,EAAWN,EAAAM,YACXC,EAAIP,EAAAO,KACJC,EAAMR,EAAAQ,OACNC,EAAKT,EAAAS,MACLC,EAAAV,EAAAW,KAAAA,OAAI,IAAAD,EAAG,UAASA,EAChBE,EAAMZ,EAAAY,OACHC,EAAIC,EAAAA,OAAAd,EAVY,+FAWa,OAGhCe,EAAAC,cAACZ,EAASa,EAAAA,SAAA,CACRC,UAAWC,EAAAA,GACT,CACE,mBAA6B,cAATR,EACpB,eAAyB,UAATA,EAChB,iBAA2B,YAATA,EAClB,iBAA2B,YAATA,EAClB,eAAyB,UAATA,EAChB,eAAgBN,EAChB,cAAeC,EACf,cAAwB,UAATC,EACf,qBAAiC,WAAXK,EACtB,qBAAiC,WAAXA,EACtB,uBAAmC,aAAXA,EACxB,mBAA+B,SAAXA,GAEtBH,GAEW,cAAAD,GAAU,iBACnBK,GAEHN,GAAQ,CAAC,QAAS,UAAUa,SAASb,GACpCQ,yBAAOG,UAAWC,EAAAA,GAAG,CAAE,eAAyB,WAATZ,KAAuBN,GAE9D"}
package/cjs/ds-lilly.css CHANGED
@@ -978,7 +978,7 @@ body {
978
978
  --sizeLegendDotAreaChart: 16px;
979
979
  --sizeTooltipDotAreaChart: 16px;
980
980
  --backgroundAvatar: transparent;
981
- --colorAvatar: var(--whiteNormal);
981
+ --colorAvatar: var(--fgInverseDefault);
982
982
  --lineHeightAvatar: 1.1;
983
983
  --paddingAvatar: var(--spaceMedium);
984
984
  --heightXSmallAvatar: 16px;
@@ -1605,7 +1605,6 @@ img {
1605
1605
  }
1606
1606
 
1607
1607
  .t-amount {
1608
- color: var(--colorAmount);
1609
1608
  font-size: var(--fontSizeAmount);
1610
1609
  font-weight: var(--fontWeightAmount);
1611
1610
  line-height: var(--lineHeightAmount);
@@ -3914,13 +3913,12 @@ body.dark .l-mobilePanel--secondary .l-mobilePanel__close {
3914
3913
  }
3915
3914
 
3916
3915
  .c-avatar__icon {
3916
+ display: inline-block;
3917
3917
  fill: currentColor;
3918
3918
  height: var(--heightIcon);
3919
+ position: relative;
3919
3920
  vertical-align: middle;
3920
3921
  width: var(--widthIcon);
3921
- display: inline-block;
3922
- vertical-align: middle;
3923
- position: relative;
3924
3922
  }
3925
3923
 
3926
3924
  .c-avatar--xSmall {
@@ -4508,6 +4506,33 @@ body.dark .l-mobilePanel--secondary .l-mobilePanel__close {
4508
4506
  overflow: hidden;
4509
4507
  width: 100%;
4510
4508
  }
4509
+ .c-card--collapse .c-card__header {
4510
+ border-radius: var(--borderRadiusCard);
4511
+ }
4512
+ .c-card--collapse.c-card--neutral .c-card__header:hover, .c-card--collapse.c-card--neutral .c-card__header:focus {
4513
+ background: var(--backgroundNeutralHoverCard);
4514
+ }
4515
+ .c-card--collapse.c-card--neutral .c-card__header:active {
4516
+ background: var(--backgroundNeutralActiveCard);
4517
+ }
4518
+ .c-card--collapse.c-card--fresh .c-card__header:hover, .c-card--collapse.c-card--fresh .c-card__header:focus {
4519
+ background: var(--backgroundFreshHoverCard);
4520
+ }
4521
+ .c-card--collapse.c-card--fresh .c-card__header:active {
4522
+ background: var(--backgroundFreshActiveCard);
4523
+ }
4524
+ .c-card--collapse.c-card--promo .c-card__header:hover, .c-card--collapse.c-card--promo .c-card__header:focus {
4525
+ background: var(--backgroundPromoHoverCard);
4526
+ }
4527
+ .c-card--collapse.c-card--promo .c-card__header:active {
4528
+ background: var(--backgroundPromoActiveCard);
4529
+ }
4530
+ .c-card--collapse.c-card--brand .c-card__header:hover, .c-card--collapse.c-card--brand .c-card__header:focus {
4531
+ background: var(--backgroundBrandHoverCard);
4532
+ }
4533
+ .c-card--collapse.c-card--brand .c-card__header:active {
4534
+ background: var(--backgroundBrandActiveCard);
4535
+ }
4511
4536
 
4512
4537
  .c-card--collapse--bottom {
4513
4538
  flex-flow: column wrap;
@@ -8706,6 +8731,31 @@ body.dark .l-mobilePanel--secondary .l-mobilePanel__close {
8706
8731
  color: var(--fgNeutralSubtle);
8707
8732
  }
8708
8733
 
8734
+ .u-colorError,
8735
+ .u-colorRed,
8736
+ .u-colorRedDarker {
8737
+ color: var(--fgErrorDefault);
8738
+ }
8739
+
8740
+ .u-colorWarning,
8741
+ .u-colorOrange,
8742
+ .u-colorOrangeDarker {
8743
+ color: var(--fgWarningDefault);
8744
+ }
8745
+
8746
+ .u-colorSuccess,
8747
+ .u-colorGreen,
8748
+ .u-colorGreenDarker {
8749
+ color: var(--fgSuccessDefault);
8750
+ }
8751
+
8752
+ .u-colorBrand,
8753
+ .u-colorBlue,
8754
+ .u-colorBlueDarker {
8755
+ color: var(--fgBrandDefault);
8756
+ }
8757
+
8758
+ /****/
8709
8759
  .u-colorBrand {
8710
8760
  color: var(--fgBrandDefault);
8711
8761
  }
@@ -9319,7 +9369,7 @@ body.dark .l-mobilePanel--secondary .l-mobilePanel__close {
9319
9369
  /* Slider */
9320
9370
  .slick-loading .slick-list
9321
9371
  {
9322
- background: #fff url('assets/7cb188cf12d09151747a.gif') center center no-repeat;
9372
+ background: #fff url('assets/19073d4ceebeaf2d3185.gif') center center no-repeat;
9323
9373
  }
9324
9374
 
9325
9375
  /* Icons */
@@ -9329,8 +9379,8 @@ body.dark .l-mobilePanel--secondary .l-mobilePanel__close {
9329
9379
  font-weight: normal;
9330
9380
  font-style: normal;
9331
9381
 
9332
- src: url('assets/ff96897ac09f3966a01a.eot');
9333
- src: url('assets/23bb9886bdd0dc44dff6.eot') format('embedded-opentype'), url('assets/7d9de53606f21f2f6c45.woff') format('woff'), url('assets/07397a2b6aafb84679e0.ttf') format('truetype'), url('assets/46aada24ff89321385d2.svg') format('svg');
9382
+ src: url('assets/665a648d5b0822c865f6.eot');
9383
+ src: url('assets/45aeb034417caca71f67.eot') format('embedded-opentype'), url('assets/9ef5454b6e2cc4eb7fb3.woff') format('woff'), url('assets/b4c4551de0fddce74dd1.ttf') format('truetype'), url('assets/5df1a3c1abc0c3de499b.svg') format('svg');
9334
9384
  }
9335
9385
  /* Arrows */
9336
9386
  .slick-prev,
@@ -1,10 +1,10 @@
1
- import { ReactElement, ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  import { ComponentPropsType } from '../../../utils';
3
3
  export interface ListItemPropsType extends ComponentPropsType {
4
4
  /** Children to be rendered in the main container. */
5
5
  children?: ReactNode;
6
6
  /** Label for children */
7
- label?: ReactElement;
7
+ label?: ReactNode;
8
8
  }
9
9
  export declare const ListItem: ({ children, label, testId, theme }: ListItemPropsType) => JSX.Element;
10
10
  //# sourceMappingURL=ListItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Components/List/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtD,OAAO,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAEvD,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB;IAC3D,qDAAqD;IACrD,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,yBAAyB;IACzB,KAAK,CAAC,EAAE,YAAY,CAAA;CACrB;AAED,eAAO,MAAM,QAAQ,uCAAwC,iBAAiB,KAAG,WAKhF,CAAA"}
1
+ {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Components/List/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAEvD,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB;IAC3D,qDAAqD;IACrD,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,yBAAyB;IACzB,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB;AAED,eAAO,MAAM,QAAQ,uCAAwC,iBAAiB,KAAG,WAKhF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAEtE,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAA;AAC1F,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAA;AACtE,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAA;AAEvD,MAAM,WAAW,aAAc,SAAQ,kBAAkB,EAAE,aAAa;IACtE,gEAAgE;IAChE,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IAC7B,qDAAqD;IACrD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,yBAAyB;IACzB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,0CAA0C;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,yCAAyC;IACzC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gBAAgB;IAChB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,wBAAwB;IACxB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,kBAAkB;IAClB,MAAM,CAAC,EAAE,cAAc,CAAA;CACxB;AAED,eAAO,MAAM,IAAI,8GAWd,aAAa,KAAG,WA6BlB,CAAA"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAEtE,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAA;AAC1F,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAA;AACtE,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAA;AAEvD,MAAM,WAAW,aAAc,SAAQ,kBAAkB,EAAE,aAAa;IACtE,gEAAgE;IAChE,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IAC7B,qDAAqD;IACrD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,yBAAyB;IACzB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,0CAA0C;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,yCAAyC;IACzC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gBAAgB;IAChB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,wBAAwB;IACxB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,kBAAkB;IAClB,MAAM,CAAC,EAAE,cAAc,CAAA;CACxB;AAED,eAAO,MAAM,IAAI,8GAWd,aAAa,KAAG,WA8BlB,CAAA"}
@@ -1,2 +1,2 @@
1
- import{__rest as t,__assign as e}from'./../../../ext/tslib/tslib.es6.js';import*as i from"react";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 s}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import'./../../../ext/moment/dist/locale/cs.js';var o=function(o){var r=o.children,l=o.component,m=void 0===l?"p":l,n=o.isTextCenter,a=o.isTextRight,d=o.size,u=o.testId,c=o.theme,p=o.type,g=void 0===p?"primary":p,x=o.weight,h=t(o,["children","component","isTextCenter","isTextRight","size","testId","theme","type","weight"]);return i.createElement(m,e({className:s({"u-colorSecondary":"secondary"===g,"u-colorError":"error"===g,"u-colorWarning":"warning"===g,"u-colorSuccess":"success"===g,"u-textCenter":n,"u-textRight":a,"u-textLarge":"large"===d,"u-fontWeightNormal":"normal"===x,"u-fontWeightMedium":"medium"===x,"u-fontWeightSemiBold":"semiBold"===x,"u-fontWeightBold":"bold"===x},c),"data-testid":u||"TextComponent"},h),d&&["small","xSmall"].includes(d)?i.createElement("small",{className:s({"u-textXSmall":"xSmall"===d})},r):r)};export{o as Text};
1
+ import{__rest as t,__assign as e}from'./../../../ext/tslib/tslib.es6.js';import*as i from"react";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 o}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import'./../../../ext/moment/dist/locale/cs.js';var s=function(s){var r=s.children,l=s.component,m=void 0===l?"p":l,n=s.isTextCenter,a=s.isTextRight,d=s.size,u=s.testId,c=s.theme,p=s.type,g=void 0===p?"primary":p,x=s.weight,h=t(s,["children","component","isTextCenter","isTextRight","size","testId","theme","type","weight"]);return i.createElement(m,e({className:o({"u-colorSecondary":"secondary"===g,"u-colorError":"error"===g,"u-colorWarning":"warning"===g,"u-colorSuccess":"success"===g,"u-colorBrand":"brand"===g,"u-textCenter":n,"u-textRight":a,"u-textLarge":"large"===d,"u-fontWeightNormal":"normal"===x,"u-fontWeightMedium":"medium"===x,"u-fontWeightSemiBold":"semiBold"===x,"u-fontWeightBold":"bold"===x},c),"data-testid":u||"TextComponent"},h),d&&["small","xSmall"].includes(d)?i.createElement("small",{className:o({"u-textXSmall":"xSmall"===d})},r):r)};export{s as Text};
2
2
  //# sourceMappingURL=Text.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Text.js","sources":["../../../../src/components/Typography/Text/Text.tsx"],"sourcesContent":[null],"names":["Text","_a","children","_b","component","Component","isTextCenter","isTextRight","size","testId","theme","_c","type","weight","rest","__rest","React","createElement","__assign","className","cx","includes"],"mappings":"ohBA2BO,IAAMA,EAAO,SAACC,GACnB,IAAAC,EAAQD,EAAAC,SACRC,EAA0BF,EAAAG,UAAfC,OAAY,IAAAF,EAAA,IAAGA,EAC1BG,EAAYL,EAAAK,aACZC,EAAWN,EAAAM,YACXC,EAAIP,EAAAO,KACJC,EAAMR,EAAAQ,OACNC,EAAKT,EAAAS,MACLC,EAAAV,EAAAW,KAAAA,OAAI,IAAAD,EAAG,UAASA,EAChBE,EAAMZ,EAAAY,OACHC,EAAIC,EAAAd,EAVY,+FAWa,OAGhCe,EAAAC,cAACZ,EAASa,EAAA,CACRC,UAAWC,EACT,CACE,mBAA6B,cAATR,EACpB,eAAyB,UAATA,EAChB,iBAA2B,YAATA,EAClB,iBAA2B,YAATA,EAClB,eAAgBN,EAChB,cAAeC,EACf,cAAwB,UAATC,EACf,qBAAiC,WAAXK,EACtB,qBAAiC,WAAXA,EACtB,uBAAmC,aAAXA,EACxB,mBAA+B,SAAXA,GAEtBH,GAEW,cAAAD,GAAU,iBACnBK,GAEHN,GAAQ,CAAC,QAAS,UAAUa,SAASb,GACpCQ,yBAAOG,UAAWC,EAAG,CAAE,eAAyB,WAATZ,KAAuBN,GAE9D"}
1
+ {"version":3,"file":"Text.js","sources":["../../../../src/components/Typography/Text/Text.tsx"],"sourcesContent":[null],"names":["Text","_a","children","_b","component","Component","isTextCenter","isTextRight","size","testId","theme","_c","type","weight","rest","__rest","React","createElement","__assign","className","cx","includes"],"mappings":"ohBA2BO,IAAMA,EAAO,SAACC,GACnB,IAAAC,EAAQD,EAAAC,SACRC,EAA0BF,EAAAG,UAAfC,OAAY,IAAAF,EAAA,IAAGA,EAC1BG,EAAYL,EAAAK,aACZC,EAAWN,EAAAM,YACXC,EAAIP,EAAAO,KACJC,EAAMR,EAAAQ,OACNC,EAAKT,EAAAS,MACLC,EAAAV,EAAAW,KAAAA,OAAI,IAAAD,EAAG,UAASA,EAChBE,EAAMZ,EAAAY,OACHC,EAAIC,EAAAd,EAVY,+FAWa,OAGhCe,EAAAC,cAACZ,EAASa,EAAA,CACRC,UAAWC,EACT,CACE,mBAA6B,cAATR,EACpB,eAAyB,UAATA,EAChB,iBAA2B,YAATA,EAClB,iBAA2B,YAATA,EAClB,eAAyB,UAATA,EAChB,eAAgBN,EAChB,cAAeC,EACf,cAAwB,UAATC,EACf,qBAAiC,WAAXK,EACtB,qBAAiC,WAAXA,EACtB,uBAAmC,aAAXA,EACxB,mBAA+B,SAAXA,GAEtBH,GAEW,cAAAD,GAAU,iBACnBK,GAEHN,GAAQ,CAAC,QAAS,UAAUa,SAASb,GACpCQ,yBAAOG,UAAWC,EAAG,CAAE,eAAyB,WAATZ,KAAuBN,GAE9D"}
package/ds-lilly.css CHANGED
@@ -978,7 +978,7 @@ body {
978
978
  --sizeLegendDotAreaChart: 16px;
979
979
  --sizeTooltipDotAreaChart: 16px;
980
980
  --backgroundAvatar: transparent;
981
- --colorAvatar: var(--whiteNormal);
981
+ --colorAvatar: var(--fgInverseDefault);
982
982
  --lineHeightAvatar: 1.1;
983
983
  --paddingAvatar: var(--spaceMedium);
984
984
  --heightXSmallAvatar: 16px;
@@ -1605,7 +1605,6 @@ img {
1605
1605
  }
1606
1606
 
1607
1607
  .t-amount {
1608
- color: var(--colorAmount);
1609
1608
  font-size: var(--fontSizeAmount);
1610
1609
  font-weight: var(--fontWeightAmount);
1611
1610
  line-height: var(--lineHeightAmount);
@@ -3914,13 +3913,12 @@ body.dark .l-mobilePanel--secondary .l-mobilePanel__close {
3914
3913
  }
3915
3914
 
3916
3915
  .c-avatar__icon {
3916
+ display: inline-block;
3917
3917
  fill: currentColor;
3918
3918
  height: var(--heightIcon);
3919
+ position: relative;
3919
3920
  vertical-align: middle;
3920
3921
  width: var(--widthIcon);
3921
- display: inline-block;
3922
- vertical-align: middle;
3923
- position: relative;
3924
3922
  }
3925
3923
 
3926
3924
  .c-avatar--xSmall {
@@ -4508,6 +4506,33 @@ body.dark .l-mobilePanel--secondary .l-mobilePanel__close {
4508
4506
  overflow: hidden;
4509
4507
  width: 100%;
4510
4508
  }
4509
+ .c-card--collapse .c-card__header {
4510
+ border-radius: var(--borderRadiusCard);
4511
+ }
4512
+ .c-card--collapse.c-card--neutral .c-card__header:hover, .c-card--collapse.c-card--neutral .c-card__header:focus {
4513
+ background: var(--backgroundNeutralHoverCard);
4514
+ }
4515
+ .c-card--collapse.c-card--neutral .c-card__header:active {
4516
+ background: var(--backgroundNeutralActiveCard);
4517
+ }
4518
+ .c-card--collapse.c-card--fresh .c-card__header:hover, .c-card--collapse.c-card--fresh .c-card__header:focus {
4519
+ background: var(--backgroundFreshHoverCard);
4520
+ }
4521
+ .c-card--collapse.c-card--fresh .c-card__header:active {
4522
+ background: var(--backgroundFreshActiveCard);
4523
+ }
4524
+ .c-card--collapse.c-card--promo .c-card__header:hover, .c-card--collapse.c-card--promo .c-card__header:focus {
4525
+ background: var(--backgroundPromoHoverCard);
4526
+ }
4527
+ .c-card--collapse.c-card--promo .c-card__header:active {
4528
+ background: var(--backgroundPromoActiveCard);
4529
+ }
4530
+ .c-card--collapse.c-card--brand .c-card__header:hover, .c-card--collapse.c-card--brand .c-card__header:focus {
4531
+ background: var(--backgroundBrandHoverCard);
4532
+ }
4533
+ .c-card--collapse.c-card--brand .c-card__header:active {
4534
+ background: var(--backgroundBrandActiveCard);
4535
+ }
4511
4536
 
4512
4537
  .c-card--collapse--bottom {
4513
4538
  flex-flow: column wrap;
@@ -8706,6 +8731,31 @@ body.dark .l-mobilePanel--secondary .l-mobilePanel__close {
8706
8731
  color: var(--fgNeutralSubtle);
8707
8732
  }
8708
8733
 
8734
+ .u-colorError,
8735
+ .u-colorRed,
8736
+ .u-colorRedDarker {
8737
+ color: var(--fgErrorDefault);
8738
+ }
8739
+
8740
+ .u-colorWarning,
8741
+ .u-colorOrange,
8742
+ .u-colorOrangeDarker {
8743
+ color: var(--fgWarningDefault);
8744
+ }
8745
+
8746
+ .u-colorSuccess,
8747
+ .u-colorGreen,
8748
+ .u-colorGreenDarker {
8749
+ color: var(--fgSuccessDefault);
8750
+ }
8751
+
8752
+ .u-colorBrand,
8753
+ .u-colorBlue,
8754
+ .u-colorBlueDarker {
8755
+ color: var(--fgBrandDefault);
8756
+ }
8757
+
8758
+ /****/
8709
8759
  .u-colorBrand {
8710
8760
  color: var(--fgBrandDefault);
8711
8761
  }
@@ -9319,7 +9369,7 @@ body.dark .l-mobilePanel--secondary .l-mobilePanel__close {
9319
9369
  /* Slider */
9320
9370
  .slick-loading .slick-list
9321
9371
  {
9322
- background: #fff url('assets/f71f0ecf662dfd59d6bb.gif') center center no-repeat;
9372
+ background: #fff url('assets/22624ac920c768e3fa93.gif') center center no-repeat;
9323
9373
  }
9324
9374
 
9325
9375
  /* Icons */
@@ -9329,8 +9379,8 @@ body.dark .l-mobilePanel--secondary .l-mobilePanel__close {
9329
9379
  font-weight: normal;
9330
9380
  font-style: normal;
9331
9381
 
9332
- src: url('assets/7e361d8bd5c55bf6c21c.eot');
9333
- src: url('assets/d40c7e6631a0d677a706.eot') format('embedded-opentype'), url('assets/d9c1330c1f1ced96701f.woff') format('woff'), url('assets/0144096826fba60c6b42.ttf') format('truetype'), url('assets/f5385a37dd88672e239c.svg') format('svg');
9382
+ src: url('assets/e2e88c75d01a691d19fb.eot');
9383
+ src: url('assets/1e08896fd858cdc68c78.eot') format('embedded-opentype'), url('assets/43d5ab7e0486014cd112.woff') format('woff'), url('assets/11c4039568983866e7fe.ttf') format('truetype'), url('assets/1a68feef82f1accb1895.svg') format('svg');
9334
9384
  }
9335
9385
  /* Arrows */
9336
9386
  .slick-prev,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "module": "./index.js",
4
4
  "typings": "./index.d.ts",
5
5
  "name": "@mmb-digital/ds-lilly",
6
- "version": "1.0.0-alpha.6",
6
+ "version": "1.0.0-alpha.7",
7
7
  "description": "MMB LILLY design system",
8
8
  "license": "UNLICENSED",
9
9
  "sideEffects": [