@mmb-digital/ds-lilly 0.7.0 → 0.7.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/dist/ds-lilly.js CHANGED
@@ -80309,6 +80309,7 @@ __webpack_require__.d(__webpack_exports__, "formatMonthDate", function() { retur
80309
80309
  __webpack_require__.d(__webpack_exports__, "ucfirst", function() { return /* reexport */ ucfirst; });
80310
80310
  __webpack_require__.d(__webpack_exports__, "MOBILE_PANEL_WIDTH", function() { return /* reexport */ MOBILE_PANEL_WIDTH; });
80311
80311
  __webpack_require__.d(__webpack_exports__, "BREAKPOINTS_VALUES", function() { return /* reexport */ BREAKPOINTS_VALUES; });
80312
+ __webpack_require__.d(__webpack_exports__, "CARD_WIDTH_BREAKPOINT", function() { return /* reexport */ CARD_WIDTH_BREAKPOINT; });
80312
80313
  __webpack_require__.d(__webpack_exports__, "CardContext", function() { return /* reexport */ contexts_CardContext; });
80313
80314
  __webpack_require__.d(__webpack_exports__, "FormGroupContext", function() { return /* reexport */ contexts_FormGroupContext; });
80314
80315
  __webpack_require__.d(__webpack_exports__, "ModalContext", function() { return /* reexport */ contexts_ModalContext; });
@@ -84386,6 +84387,10 @@ var BREAKPOINTS_VALUES = {
84386
84387
  xl: 1200,
84387
84388
  xxl: 1600
84388
84389
  };
84390
+ var CARD_WIDTH_BREAKPOINT = {
84391
+ MOBILE: 320,
84392
+ TABLET: 575
84393
+ };
84389
84394
 
84390
84395
  // CONCATENATED MODULE: ./src/constants/index.ts
84391
84396
 
@@ -96181,7 +96186,7 @@ var CollapseHeader = function (_a) {
96181
96186
  var handleOnToggle = function (event) { return !hasCustomTrigger && onToggle(event); };
96182
96187
  return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { "aria-controls": isCollapsible && !hasCustomTrigger ? identification + "_content" : undefined, "aria-expanded": isCollapsible && !hasCustomTrigger ? isOpened : undefined, className: classBinder_cx('c-card__header', {
96183
96188
  'c-card__collapseTrigger': !hasCustomTrigger && isCollapsible
96184
- }), onClick: handleOnToggle },
96189
+ }), role: isCollapsible && !hasCustomTrigger ? 'button' : undefined, onClick: handleOnToggle },
96185
96190
  iconName && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: classBinder_cx('c-card__icon', {
96186
96191
  'c-card__icon--alignTop': isIconAlignTop,
96187
96192
  'c-card__icon--right': isIconRight
@@ -96202,7 +96207,7 @@ var CollapseHeader = function (_a) {
96202
96207
 
96203
96208
  var Card = function (_a) {
96204
96209
  var _b;
96205
- var allowEventPropagation = _a.allowEventPropagation, backgroundColor = _a.backgroundColor, borderColor = _a.borderColor, children = _a.children, disabledTooltip = _a.disabledTooltip, disabledTooltipType = _a.disabledTooltipType, _c = _a.hasCustomTrigger, hasCustomTrigger = _c === void 0 ? false : _c, collapseHeader = _a.header, iconBackgroundColor = _a.iconBackgroundColor, iconBadge = _a.iconBadge, _d = _a.iconBadgePosition, iconBadgePosition = _d === void 0 ? 'bottomRight' : _d, iconName = _a.iconName, iconSize = _a.iconSize, isCollapsible = _a.isCollapsible, isDisabled = _a.isDisabled, isIconAlignTop = _a.isIconAlignTop, isIconRight = _a.isIconRight, isInteractive = _a.isInteractive, _e = _a.isOpen, isOpen = _e === void 0 ? false : _e, isSelected = _a.isSelected, onClick = _a.onClick, onToggle = _a.onToggle, shadowSize = _a.shadowSize, size = _a.size, testId = _a.testId, theme = _a.theme, _f = _a.withoutOpener, withoutOpener = _f === void 0 ? false : _f, _g = _a.withoutRole, withoutRole = _g === void 0 ? false : _g;
96210
+ var allowEventPropagation = _a.allowEventPropagation, backgroundColor = _a.backgroundColor, borderColor = _a.borderColor, children = _a.children, disabledTooltip = _a.disabledTooltip, disabledTooltipType = _a.disabledTooltipType, _c = _a.hasCustomTrigger, hasCustomTrigger = _c === void 0 ? false : _c, collapseHeader = _a.header, iconBackgroundColor = _a.iconBackgroundColor, iconBadge = _a.iconBadge, _d = _a.iconBadgePosition, iconBadgePosition = _d === void 0 ? 'bottomRight' : _d, iconName = _a.iconName, iconSize = _a.iconSize, isCollapsible = _a.isCollapsible, isDisabled = _a.isDisabled, isIconAlignTop = _a.isIconAlignTop, isIconRight = _a.isIconRight, isInteractive = _a.isInteractive, _e = _a.isOpen, isOpen = _e === void 0 ? false : _e, isSelected = _a.isSelected, onClick = _a.onClick, onRef = _a.onRef, onToggle = _a.onToggle, shadowSize = _a.shadowSize, size = _a.size, testId = _a.testId, theme = _a.theme, _f = _a.withoutOpener, withoutOpener = _f === void 0 ? false : _f, _g = _a.withoutRole, withoutRole = _g === void 0 ? false : _g;
96206
96211
  var identification = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useMemo"])(function () { return "card_" + cuid_default()(); }, []);
96207
96212
  var _h = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useState"])(isOpen), isOpened = _h[0], setIsOpened = _h[1];
96208
96213
  var cardRef = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useRef"])(null);
@@ -96245,7 +96250,8 @@ var Card = function (_a) {
96245
96250
  };
96246
96251
  var setRef = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useCallback"])(function (ref) {
96247
96252
  cardRef.current = ref;
96248
- }, []);
96253
+ onRef && onRef(ref);
96254
+ }, [onRef]);
96249
96255
  return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(contexts_CardContext.Provider, { value: cardContext }, withDisabledTooltip({
96250
96256
  isDisabled: isDisabled,
96251
96257
  disabledTooltip: disabledTooltip,
@@ -96580,38 +96586,45 @@ var Tag = function (_a) {
96580
96586
 
96581
96587
 
96582
96588
 
96589
+
96583
96590
  var ContentCard = function (_a) {
96584
- var amount = _a.amount, amountSubtitle = _a.amountSubtitle, _b = _a.amountSubtitleType, amountSubtitleType = _b === void 0 ? 'secondary' : _b, _c = _a.buttons, buttons = _c === void 0 ? [] : _c, currencyCode = _a.currencyCode, customIcon = _a.customIcon, children = _a.children, isCollapsible = _a.isCollapsible, isCompact = _a.isCompact, isInteractive = _a.isInteractive, _d = _a.isOpen, isOpen = _d === void 0 ? false : _d, iconBackgroundColor = _a.iconBackgroundColor, _e = _a.iconBadgePosition, iconBadgePosition = _e === void 0 ? 'bottomRight' : _e, iconName = _a.iconName, iconSize = _a.iconSize, _f = _a.parameters, parameters = _f === void 0 ? [] : _f, size = _a.size, _g = _a.subtitles, subtitles = _g === void 0 ? [] : _g, subtitleTagBackgroundColor = _a.subtitleTagBackgroundColor, subtitleTagIcon = _a.subtitleTagIcon, subtitleTagImageUrl = _a.subtitleTagImageUrl, subtitleTagText = _a.subtitleTagText, theme = _a.theme, title = _a.title, _h = _a.titleSize, titleSize = _h === void 0 ? 'h2' : _h, _j = _a.titleVisual, titleVisual = _j === void 0 ? 'h6' : _j, _k = _a.withoutOpener, withoutOpener = _k === void 0 ? false : _k, onToggle = _a.onToggle;
96591
+ var amount = _a.amount, amountSubtitle = _a.amountSubtitle, _b = _a.amountSubtitleType, amountSubtitleType = _b === void 0 ? 'secondary' : _b, _c = _a.buttons, buttons = _c === void 0 ? [] : _c, currencyCode = _a.currencyCode, customIcon = _a.customIcon, children = _a.children, isCollapsible = _a.isCollapsible, isCompact = _a.isCompact, isInteractive = _a.isInteractive, _d = _a.isOpen, isOpen = _d === void 0 ? false : _d, iconBackgroundColor = _a.iconBackgroundColor, _e = _a.iconBadgePosition, iconBadgePosition = _e === void 0 ? 'bottomRight' : _e, iconName = _a.iconName, _f = _a.parameters, parameters = _f === void 0 ? [] : _f, size = _a.size, _g = _a.subtitles, subtitles = _g === void 0 ? [] : _g, subtitleTagBackgroundColor = _a.subtitleTagBackgroundColor, subtitleTagIcon = _a.subtitleTagIcon, subtitleTagImageUrl = _a.subtitleTagImageUrl, subtitleTagText = _a.subtitleTagText, theme = _a.theme, title = _a.title, _h = _a.titleSize, titleSize = _h === void 0 ? 'h2' : _h, _j = _a.titleVisual, titleVisual = _j === void 0 ? 'h6' : _j, _k = _a.withoutOpener, withoutOpener = _k === void 0 ? false : _k, onToggle = _a.onToggle;
96592
+ var ref = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useRef"])(null);
96585
96593
  var _l = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useState"])(isOpen), isOpened = _l[0], setIsOpened = _l[1];
96586
96594
  var handleOnToggle = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useCallback"])(function (state, event) {
96587
96595
  isCollapsible && onToggle && onToggle(state, event);
96588
96596
  setIsOpened(state);
96589
96597
  }, [isCollapsible, onToggle]);
96590
96598
  Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useEffect"])(function () { return setIsOpened(isOpen); }, [isOpen]);
96599
+ var width = useContainerDimensions(ref).width;
96600
+ var isMobileDeviceView = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useMemo"])(function () { return width <= CARD_WIDTH_BREAKPOINT.TABLET; }, [width]);
96601
+ var setRef = function (cardRef) {
96602
+ ref.current = cardRef;
96603
+ };
96591
96604
  var hasSubtitleTag = (subtitleTagIcon || subtitleTagImageUrl) && subtitleTagText;
96592
96605
  var badgeIcon = hasSubtitleTag
96593
96606
  ? (subtitleTagIcon ? (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Icon, { backgroundColor: subtitleTagBackgroundColor, name: subtitleTagIcon, size: "small" })) : (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Avatar, { background: "transparent", imageUrl: subtitleTagImageUrl, size: "small" })))
96594
96607
  : undefined;
96595
- return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Card, { header: external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: "c-contentCardHeader" },
96596
- customIcon && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: classBinder_cx('c-contentCardHeader__customIcon', "c-contentCardHeader__customIcon" + ucfirst(iconBadgePosition)) },
96608
+ return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Card, { header: external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: "c-contentCard__header" },
96609
+ customIcon && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: classBinder_cx('c-contentCard__header__customIcon', "c-contentCard__header__customIcon" + ucfirst(iconBadgePosition)) },
96597
96610
  customIcon,
96598
- isOpened && hasSubtitleTag && badgeIcon)),
96599
- external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: "c-contentCardHeader__content" },
96600
- external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Title, { size: titleSize, theme: "c-contentCardHeader__content__header", visual: titleVisual }, title),
96601
- !isOpened && (subtitles.length > 0 || hasSubtitleTag) && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: "c-contentCardHeader__content__subtitles" },
96602
- external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Text, { size: "xSmall", theme: "u-mb--0 u-mr--xxSmall", type: "secondary" }, subtitles.map(function (subtitle, i) { return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["Fragment"], { key: subtitle === null || subtitle === void 0 ? void 0 : subtitle.toString() },
96611
+ hasSubtitleTag && isMobileDeviceView && badgeIcon)),
96612
+ external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: "c-contentCard__header__content" },
96613
+ external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Title, { size: titleSize, theme: "c-contentCard__header__title", visual: titleVisual }, title),
96614
+ !isOpened && (subtitles.length > 0 || hasSubtitleTag) && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: "c-contentCard__header__subtitle" },
96615
+ subtitles.length > 0 && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Text, { component: "div", size: "xSmall", theme: "u-mr--xxSmall", type: "secondary" }, subtitles.map(function (subtitle, i) { return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["Fragment"], { key: subtitle === null || subtitle === void 0 ? void 0 : subtitle.toString() },
96603
96616
  i > 0 && ' | ',
96604
- subtitle)); })),
96605
- hasSubtitleTag && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Tag, { iconBackground: subtitleTagBackgroundColor, iconName: subtitleTagIcon, imageUrl: subtitleTagImageUrl }, subtitleTagText))))),
96606
- !isOpened && parameters.length > 0 && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: "c-contentCardHeader__params" }, parameters.map(function (param) { return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Text, { key: param === null || param === void 0 ? void 0 : param.toString(), size: "xSmall", theme: "c-contentCardHeader__param", type: "secondary" }, param)); }))),
96607
- (amount !== undefined || amountSubtitle) && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: "c-contentCardHeader__amount" },
96608
- amount !== undefined && external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(AmountWithUnit, { isBold: true, amount: amount, unitAfter: currencyCode }),
96609
- amountSubtitle && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Text, { isTextRight: true, size: "xSmall", type: amountSubtitleType }, amountSubtitle)))),
96610
- buttons.length > 0 && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: "c-contentCardHeader__buttons" }, buttons.map(function (button) {
96617
+ subtitle)); }))),
96618
+ hasSubtitleTag && !isMobileDeviceView && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Tag, { iconBackground: subtitleTagBackgroundColor, iconName: subtitleTagIcon, imageUrl: subtitleTagImageUrl }, subtitleTagText))))),
96619
+ !isOpened && !isMobileDeviceView && parameters.length > 0 && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: "c-contentCard__header__params" }, parameters.map(function (param) { return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Text, { key: param === null || param === void 0 ? void 0 : param.toString(), component: "div", size: "xSmall", theme: "c-contentCard__header__param", type: "secondary" }, param)); }))),
96620
+ (amount !== undefined || amountSubtitle) && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: "c-contentCard__header__amount" },
96621
+ amount !== undefined && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(AmountWithUnit, { isBold: true, amount: amount, theme: "u-textRight", unitAfter: currencyCode })),
96622
+ amountSubtitle && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Text, { isTextRight: true, component: "div", size: "xSmall", type: amountSubtitleType }, amountSubtitle)))),
96623
+ buttons.length > 0 && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: "c-contentCard__header__buttons" }, buttons.map(function (button) {
96611
96624
  return Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["cloneElement"])(button, {
96612
- theme: classBinder_cx(button.props.theme, 'c-contentCardHeader__button')
96625
+ theme: classBinder_cx(button.props.theme, 'c-contentCard__header__button')
96613
96626
  });
96614
- })))), iconBackgroundColor: iconBackgroundColor, iconBadge: isOpened && hasSubtitleTag ? badgeIcon : undefined, iconBadgePosition: iconBadgePosition, iconName: iconName, iconSize: iconSize, isCollapsible: isCollapsible, isInteractive: isInteractive, isOpen: isOpened, shadowSize: isCompact ? 'no' : 'small', size: size, theme: classBinder_cx('c-contentCard', { 'c-contentCardCompact': isCompact, 'c-contentCardCompact--interactive': isInteractive }, theme), withoutOpener: withoutOpener, onToggle: handleOnToggle }, children));
96627
+ })))), iconBackgroundColor: iconBackgroundColor, iconBadge: isMobileDeviceView && hasSubtitleTag ? badgeIcon : undefined, iconBadgePosition: iconBadgePosition, iconName: iconName, iconSize: "xLarge", isCollapsible: isCollapsible, isInteractive: isInteractive, isOpen: isOpened, shadowSize: isCompact ? 'no' : 'small', size: size, theme: classBinder_cx('c-contentCard', { 'c-contentCardCompact': isCompact, 'c-contentCardCompact--interactive': isInteractive }, theme), withoutOpener: withoutOpener, onRef: setRef, onToggle: handleOnToggle }, children));
96615
96628
  };
96616
96629
 
96617
96630
  // CONCATENATED MODULE: ./src/components/Components/ContentCard/ContentCardGroup.tsx
@@ -96647,7 +96660,7 @@ var ContentCardGroup_spreadArray = (undefined && undefined.__spreadArray) || fun
96647
96660
 
96648
96661
 
96649
96662
  var ContentCardGroup = function (_a) {
96650
- var accordion = _a.accordion, items = _a.items, theme = _a.theme;
96663
+ var accordion = _a.accordion, items = _a.items, theme = _a.theme, withoutShadow = _a.withoutShadow;
96651
96664
  var _b = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useState"])([]), opened = _b[0], setOpened = _b[1];
96652
96665
  // a copy of opened cards array to enable open/close animation
96653
96666
  var _c = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useState"])([]), openedCards = _c[0], setOpenedCards = _c[1];
@@ -96680,7 +96693,7 @@ var ContentCardGroup = function (_a) {
96680
96693
  return acc;
96681
96694
  }, [[]]);
96682
96695
  }, [opened, items]);
96683
- return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: classBinder_cx(theme) }, openedCardsGroups.map(function (group) { return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Card, { key: group.join(''), shadowSize: "small", theme: "c-contentCardGroup u-p--0" }, group.map(function (itemIndex) {
96696
+ return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: classBinder_cx({ 'c-contentCards': withoutShadow }, theme) }, openedCardsGroups.map(function (group) { return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Card, { key: group.join(''), shadowSize: withoutShadow ? 'no' : 'small', size: "zero", theme: "c-contentCard--group" }, group.map(function (itemIndex) {
96684
96697
  var _a = items[itemIndex], key = _a.key, props = ContentCardGroup_rest(_a, ["key"]);
96685
96698
  return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(ContentCard, ContentCardGroup_assign({ key: key, isCompact: true, isOpen: openedCards.includes(itemIndex) }, props, { onToggle: onToggle(itemIndex) })));
96686
96699
  }))); })));
@@ -111432,7 +111445,7 @@ var AreaChart = function (_a) {
111432
111445
 
111433
111446
 
111434
111447
  var numberWithSpaces = function (num) {
111435
- return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ' ');
111448
+ return Intl.NumberFormat('cs-CZ', { style: 'decimal', maximumFractionDigits: 2 }).format(num);
111436
111449
  };
111437
111450
  var ChartLegendRow = function (_a) {
111438
111451
  var _b;
@@ -52,9 +52,11 @@ export interface CardPropsType extends ComponentPropsType, DisabledTooltipPropsT
52
52
  withoutOpener?: boolean;
53
53
  /** disable default `role=button` and `tab-index` attributes when `isInteractive` is `true` */
54
54
  withoutRole?: boolean;
55
+ /** Callback to obtain a ref */
56
+ onRef?: (ref: HTMLDivElement) => void;
55
57
  }
56
58
  export declare type ShadowSizeType = 'small' | 'medium' | 'large' | 'no';
57
59
  declare type CardBackgroundColorType = 'cloud' | 'grey' | 'gold' | 'primaryDark' | 'transparent';
58
- export declare const Card: ({ allowEventPropagation, backgroundColor, borderColor, children, disabledTooltip, disabledTooltipType, hasCustomTrigger, header: collapseHeader, iconBackgroundColor, iconBadge, iconBadgePosition, iconName, iconSize, isCollapsible, isDisabled, isIconAlignTop, isIconRight, isInteractive, isOpen, isSelected, onClick, onToggle, shadowSize, size, testId, theme, withoutOpener, withoutRole }: CardPropsType) => JSX.Element;
60
+ export declare const Card: ({ allowEventPropagation, backgroundColor, borderColor, children, disabledTooltip, disabledTooltipType, hasCustomTrigger, header: collapseHeader, iconBackgroundColor, iconBadge, iconBadgePosition, iconName, iconSize, isCollapsible, isDisabled, isIconAlignTop, isIconRight, isInteractive, isOpen, isSelected, onClick, onRef, onToggle, shadowSize, size, testId, theme, withoutOpener, withoutRole }: CardPropsType) => JSX.Element;
59
61
  export {};
60
62
  //# sourceMappingURL=Card.d.ts.map
@@ -2,7 +2,7 @@ import { KeyboardEvent, ReactElement, ReactNode, SyntheticEvent } from 'react';
2
2
  import { BackgroundColorType, IconNameType } from '../../..';
3
3
  import { ComponentPropsType } from '../../../utils';
4
4
  import { TextType, TitleSize } from '../../Typography';
5
- import { CardSize, IconBadgePosition, IconSizeType } from '..';
5
+ import { CardSize, IconBadgePosition } from '..';
6
6
  export interface ContentCardPropsType extends ComponentPropsType {
7
7
  amount?: number;
8
8
  amountSubtitle?: ReactNode;
@@ -14,7 +14,6 @@ export interface ContentCardPropsType extends ComponentPropsType {
14
14
  iconBackgroundColor?: BackgroundColorType;
15
15
  iconBadgePosition?: IconBadgePosition;
16
16
  iconName?: IconNameType;
17
- iconSize?: IconSizeType;
18
17
  isCollapsible?: boolean;
19
18
  isCompact?: boolean;
20
19
  isInteractive?: boolean;
@@ -32,5 +31,5 @@ export interface ContentCardPropsType extends ComponentPropsType {
32
31
  withoutOpener?: boolean;
33
32
  onToggle?: (state: boolean, event: SyntheticEvent | KeyboardEvent) => void;
34
33
  }
35
- export declare const ContentCard: ({ amount, amountSubtitle, amountSubtitleType, buttons, currencyCode, customIcon, children, isCollapsible, isCompact, isInteractive, isOpen, iconBackgroundColor, iconBadgePosition, iconName, iconSize, parameters, size, subtitles, subtitleTagBackgroundColor, subtitleTagIcon, subtitleTagImageUrl, subtitleTagText, theme, title, titleSize, titleVisual, withoutOpener, onToggle }: ContentCardPropsType) => JSX.Element;
34
+ export declare const ContentCard: ({ amount, amountSubtitle, amountSubtitleType, buttons, currencyCode, customIcon, children, isCollapsible, isCompact, isInteractive, isOpen, iconBackgroundColor, iconBadgePosition, iconName, parameters, size, subtitles, subtitleTagBackgroundColor, subtitleTagIcon, subtitleTagImageUrl, subtitleTagText, theme, title, titleSize, titleVisual, withoutOpener, onToggle }: ContentCardPropsType) => JSX.Element;
36
35
  //# sourceMappingURL=ContentCard.d.ts.map
@@ -5,6 +5,7 @@ export interface ContentCardGroupPropsType extends ComponentPropsType {
5
5
  key: string;
6
6
  })[];
7
7
  accordion?: boolean;
8
+ withoutShadow?: boolean;
8
9
  }
9
- export declare const ContentCardGroup: ({ accordion, items, theme }: ContentCardGroupPropsType) => JSX.Element;
10
+ export declare const ContentCardGroup: ({ accordion, items, theme, withoutShadow }: ContentCardGroupPropsType) => JSX.Element;
10
11
  //# sourceMappingURL=ContentCardGroup.d.ts.map
@@ -6,4 +6,8 @@ export declare const BREAKPOINTS_VALUES: {
6
6
  xl: number;
7
7
  xxl: number;
8
8
  };
9
+ export declare const CARD_WIDTH_BREAKPOINT: {
10
+ MOBILE: number;
11
+ TABLET: number;
12
+ };
9
13
  //# sourceMappingURL=global.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmb-digital/ds-lilly",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "MMB LILLY design system",
5
5
  "license": "UNLICENSED",
6
6
  "sideEffects": false,