@mmb-digital/ds-lilly 1.0.77 → 1.0.79
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/ProductCard/ProductCard.d.ts +31 -6
- package/cjs/components/Components/ProductCard/ProductCard.d.ts.map +1 -1
- package/cjs/components/Components/ProductCard/ProductCard.js +1 -1
- package/cjs/components/Components/ProductCard/ProductCard.js.map +1 -1
- package/cjs/components/Components/ProductHeader/ProductHeader.d.ts +30 -15
- package/cjs/components/Components/ProductHeader/ProductHeader.d.ts.map +1 -1
- package/cjs/components/Components/ProductHeader/ProductHeader.js +1 -1
- package/cjs/components/Components/ProductHeader/ProductHeader.js.map +1 -1
- package/cjs/ds-lilly.css +61 -103
- package/components/Components/ProductCard/ProductCard.d.ts +31 -6
- package/components/Components/ProductCard/ProductCard.d.ts.map +1 -1
- package/components/Components/ProductCard/ProductCard.js +1 -1
- package/components/Components/ProductCard/ProductCard.js.map +1 -1
- package/components/Components/ProductHeader/ProductHeader.d.ts +30 -15
- package/components/Components/ProductHeader/ProductHeader.d.ts.map +1 -1
- package/components/Components/ProductHeader/ProductHeader.js +1 -1
- package/components/Components/ProductHeader/ProductHeader.js.map +1 -1
- package/ds-lilly.css +61 -103
- package/package.json +1 -1
- /package/assets/{15c83ccec23f44995d89.eot → 147f4898a5bacb81f81b.eot} +0 -0
- /package/assets/{2b9addbd9d8b43f96558.gif → 1f40e1dc500d1c56a79e.gif} +0 -0
- /package/assets/{278d1a7aeb81041df9f2.woff → 2ab0ddeba09a1cb0022d.woff} +0 -0
- /package/assets/{4375f6256df09cee9c23.eot → 3274a3154b84281a5ead.eot} +0 -0
- /package/assets/{4178508cb1f09f304fb5.ttf → 586997b905382fe5007d.ttf} +0 -0
- /package/assets/{58e34a40ae2cd2b00864.ttf → 58aceb567f77555a7d1f.ttf} +0 -0
- /package/assets/{e5ad963b4ac8cab03f9c.svg → 6da120f8d145cf1398d2.svg} +0 -0
- /package/assets/{64fe6a6798d593380df1.gif → 7d584f10dcb4db1b16bc.gif} +0 -0
- /package/assets/{64efe70dc79b9360410c.eot → 95ebeabd54cb87a45b1c.eot} +0 -0
- /package/assets/{7da875641bec0fa9a9dd.woff → d463a68d9280d48bc701.woff} +0 -0
- /package/assets/{ea040cdfef0f6cf69545.svg → ebd63907e848d55bdffe.svg} +0 -0
- /package/assets/{c2fc3c27acae80c61f71.eot → f4e9b614f43a8d4a7bf2.eot} +0 -0
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { CardSize } from '../Card';
|
|
3
3
|
import { ProductHeaderPropTypes, ProductHeaderSizeProps } from '../ProductHeader';
|
|
4
|
+
type ProductCardClickBehavior = {
|
|
5
|
+
/** Makes the whole header area clickable without using the collapse arrow. */
|
|
6
|
+
isHeaderClickable: true;
|
|
7
|
+
/** Click handler for the header area. */
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
/** Makes the whole card interactive. */
|
|
10
|
+
isInteractive?: boolean;
|
|
11
|
+
} | {
|
|
12
|
+
/** Makes the whole header area clickable without using the collapse arrow. */
|
|
13
|
+
isHeaderClickable?: false;
|
|
14
|
+
/** Click handler for the interactive card. */
|
|
15
|
+
onClick?: () => void;
|
|
16
|
+
/** Makes the whole card interactive with hover and click styles. */
|
|
17
|
+
isInteractive: true;
|
|
18
|
+
} | {
|
|
19
|
+
/** Makes the whole header area clickable without using the collapse arrow. */
|
|
20
|
+
isHeaderClickable?: false;
|
|
21
|
+
/** Cannot be used without `isInteractive` or `isHeaderClickable`. */
|
|
22
|
+
onClick?: never;
|
|
23
|
+
/** Makes the whole card interactive with hover and click styles. */
|
|
24
|
+
isInteractive?: false;
|
|
25
|
+
};
|
|
4
26
|
type ProductCardTableRow = {
|
|
5
27
|
label: ReactNode;
|
|
6
28
|
perex?: string;
|
|
@@ -10,22 +32,24 @@ type ProductCardTableRow = {
|
|
|
10
32
|
firstColumnSecondary?: boolean;
|
|
11
33
|
isBold?: boolean;
|
|
12
34
|
};
|
|
13
|
-
export type ProductCardPropTypes = ProductHeaderPropTypes & {
|
|
35
|
+
export type ProductCardPropTypes = Omit<ProductHeaderPropTypes, 'isHeaderClickable' | 'onHeaderClick'> & ProductCardClickBehavior & {
|
|
14
36
|
/** Children rendered inside the collapsible content area. */
|
|
15
37
|
children?: ReactNode | false;
|
|
16
38
|
/** Defines if card is open or closed on first render. */
|
|
17
39
|
initialState?: boolean;
|
|
18
40
|
/** Determines if the card is collapsible. */
|
|
19
41
|
isCollapsible?: boolean;
|
|
20
|
-
/** Determines if the card is clickable. */
|
|
21
|
-
isInteractive?: boolean;
|
|
22
|
-
/** Click event handler for the card wrapper / header (depending on config). */
|
|
23
|
-
onClick?: () => void;
|
|
24
42
|
/** Optional custom theme for the Card wrapper. */
|
|
25
43
|
theme?: string;
|
|
26
44
|
/** Optional testId for Card wrapper. */
|
|
27
45
|
cardTestId?: string;
|
|
46
|
+
/** Changes size of card paddings. */
|
|
28
47
|
size?: CardSize;
|
|
48
|
+
/**
|
|
49
|
+
* ProductHeader size variant that sets default sizing for the whole header (title, subtitle, amounts, icon and actions).
|
|
50
|
+
* You can still override any individual size via `titleSize`, `subtitleSize`, `amountSize`, `secondaryAmountSize`,
|
|
51
|
+
* `titleIconSize` or `actionsSize`.
|
|
52
|
+
*/
|
|
29
53
|
headerSize?: ProductHeaderSizeProps;
|
|
30
54
|
/** Extra content rendered under ProductHeader (still in Card header). */
|
|
31
55
|
customContent?: ReactNode;
|
|
@@ -47,8 +71,9 @@ export type ProductCardPropTypes = ProductHeaderPropTypes & {
|
|
|
47
71
|
tableIsBold?: boolean;
|
|
48
72
|
/** Additional classes applied to the table wrapper. */
|
|
49
73
|
tableTheme?: string;
|
|
74
|
+
/** Additional classes applied to divider. */
|
|
50
75
|
dividerTheme?: string;
|
|
51
76
|
};
|
|
52
|
-
export declare const ProductCard: ({ cardTestId, children, customContent, dividerTheme, headerSize, initialState, isCollapsible, isInteractive, onClick, size, tableContentAlignment, tableDisableStackingOnMobile, tableFirstColumnSecondary, tableGaps, tableIsBold, tableRows, tableTheme, tableWiderContent, theme, withDivider, ...productHeaderProps }: ProductCardPropTypes) => React.JSX.Element;
|
|
77
|
+
export declare const ProductCard: ({ cardTestId, children, customContent, dividerTheme, headerSize, initialState, isCollapsible, isHeaderClickable, isInteractive, onClick, size, tableContentAlignment, tableDisableStackingOnMobile, tableFirstColumnSecondary, tableGaps, tableIsBold, tableRows, tableTheme, tableWiderContent, theme, withDivider, ...productHeaderProps }: ProductCardPropTypes) => React.JSX.Element;
|
|
53
78
|
export {};
|
|
54
79
|
//# sourceMappingURL=ProductCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/ProductCard/ProductCard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProductCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/ProductCard/ProductCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAY,SAAS,EAAkC,MAAM,OAAO,CAAA;AAKlF,OAAO,EAA2B,QAAQ,EAAE,MAAM,SAAS,CAAA;AAG3D,OAAO,EAAiB,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AAEhG,KAAK,wBAAwB,GACzB;IACE,8EAA8E;IAC9E,iBAAiB,EAAE,IAAI,CAAA;IACvB,yCAAyC;IACzC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,wCAAwC;IACxC,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,GACD;IACE,8EAA8E;IAC9E,iBAAiB,CAAC,EAAE,KAAK,CAAA;IACzB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,oEAAoE;IACpE,aAAa,EAAE,IAAI,CAAA;CACpB,GACD;IACE,8EAA8E;IAC9E,iBAAiB,CAAC,EAAE,KAAK,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;IAC3C,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;IACnD,gFAAgF;IAChF,yBAAyB,CAAC,EAAE,OAAO,CAAA;IACnC,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,6CAA6C;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAEH,eAAO,MAAM,WAAW,iVAuBrB,oBAAoB,sBA8NtB,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
|
|
1
|
+
"use strict";var e=require('./../../../ext/tslib/tslib.es6.js'),t=require("react"),r=require("react-router-dom");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 a=require("../../../utils/classBinder.js");require('./../../../ext/text-mask-addons/dist/textMaskAddons.js');var i=require("../Avatar/Avatar.js"),l=require("../Card/Card.js"),n=require("../Card/_elements_/CardCustomTrigger.js"),o=require("../DataTable/DataTable.js"),d=require("../DataTable/DataTableItem.js"),s=require("../Divider/Divider.js"),c=require("../ProductHeader/ProductHeader.js");exports.ProductCard=function(u){var m=u.cardTestId,C=u.children,b=u.customContent,p=u.dividerTheme,v=u.headerSize,_=void 0===v?"medium":v,g=u.initialState,k=void 0!==g&&g,h=u.isCollapsible,I=void 0!==h&&h,E=u.isHeaderClickable,f=void 0!==E&&E,T=u.isInteractive,q=void 0!==T&&T,D=u.onClick,j=u.size,y=void 0===j?"large":j,S=u.tableContentAlignment,w=void 0===S?"left":S,x=u.tableDisableStackingOnMobile,A=void 0!==x&&x,N=u.tableFirstColumnSecondary,B=void 0===N||N,z=u.tableGaps,H=void 0===z?"small":z,P=u.tableIsBold,M=void 0!==P&&P,F=u.tableRows,O=u.tableTheme,L=u.tableWiderContent,R=void 0!==L&&L,G=u.theme,W=u.withDivider,K=void 0!==W&&W,U=e.__rest(u,["cardTestId","children","customContent","dividerTheme","headerSize","initialState","isCollapsible","isHeaderClickable","isInteractive","onClick","size","tableContentAlignment","tableDisableStackingOnMobile","tableFirstColumnSecondary","tableGaps","tableIsBold","tableRows","tableTheme","tableWiderContent","theme","withDivider"]),J=r.useHistory(),Q=t.useState(k),V=Q[0],X=Q[1],Y=Array.isArray(F)&&F.length>0,Z=t.Children.count(b)>0,$=Y||Z,ee=Boolean(U.linkTo||U.externalLink),te=Boolean(D||ee),re=f&&te,ae=Boolean(I&&q&&D&&!re),ie=t.useMemo((function(){return null!=m?m:U.testId?"productCard-".concat(U.testId):"productCard"}),[m,U.testId]),le=function(){return X((function(e){return!e}))},ne=U.externalLink,oe=U.linkTo,de=t.useCallback((function(){ne?window.open(ne,"_blank","noopener,noreferrer"):"function"!=typeof oe?oe&&J.push(oe):oe()}),[ne,J,oe]),se=t.useCallback((function(){re&&(D?D():ee&&de())}),[de,ee,re,D]),ce=t.useCallback((function(e){re&&("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),se()))}),[se,re]),ue=function(){I&&le(),D&&D()},me=function(e){e.stopPropagation(),le()},Ce=function(){return $?t.createElement("div",{className:"c-productCard__headerExtra"},K&&t.createElement(s.Divider,{theme:a.cx("c-productCard__divider",p)}),Y?t.createElement("div",{className:a.cx("c-productCard__table",O)},t.createElement(o.DataTable,{contentAlignment:w,disableStackingOnMobile:A,firstColumnSecondary:B,gaps:H,isBold:M,widerContent:R},F.map((function(e,r){return t.createElement(d.DataTableItem,{key:"productCard-tableRow-".concat(r),firstColumnSecondary:e.firstColumnSecondary,isBold:e.isBold,label:e.label,perex:e.perex,testId:e.testId,theme:e.theme},e.content)})))):null,Z&&t.createElement("div",{className:"c-productCard__customContent"},b)):null},be=function(){var r=re?{onClick:se,onKeyDown:ce,role:"button",tabIndex:0}:{};return t.createElement("div",e.__assign({},r,{className:a.cx("c-productCard__headerArea",{"c-productCard__headerArea--clickable":re,"c-productCard__headerArea--withSharedTitleLink":re&&ee&&!D})}),t.createElement(c.ProductHeader,e.__assign({},U,{size:_})),Ce())};return I?t.createElement(l.Card,{hasCustomTrigger:!0,isCollapsible:!0,header:t.createElement(t.Fragment,null,re?be():t.createElement("div",{onClick:function(e){e.stopPropagation(),ae?null==D||D():ue()}},t.createElement(c.ProductHeader,e.__assign({},U,{size:_})),Ce()),!V&&t.createElement(n.CardCustomTrigger,null,t.createElement("div",{className:"c-productCard__collapsible--trigger",id:U.testId?"productCard-".concat(U.testId,"-collapsible-closed"):"productCard-collapsible-closed",onClick:me},t.createElement(i.Avatar,{iconName:"arrowDown"})))),isInteractive:q,isOpen:V,size:y,testId:ie,theme:a.cx("c-productCard__position",{"c-card--interactive--open":V},G),onClick:re||ae?void 0:ue},t.createElement("div",null,C,V&&t.createElement(n.CardCustomTrigger,null,t.createElement("div",{className:"c-productCard__collapsible--trigger",id:U.testId?"productCard-".concat(U.testId,"-collapsible-opened"):"productCard-collapsible-opened",onClick:me},t.createElement(i.Avatar,{iconName:"arrowUp"}))))):t.createElement(l.Card,{isInteractive:q,size:y,testId:null!=m?m:U.testId,theme:G,onClick:re?void 0:ue},be())};
|
|
2
2
|
//# sourceMappingURL=ProductCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductCard.js","sources":["../../../../../../src/components/Components/ProductCard/ProductCard.tsx"],"sourcesContent":[null],"names":["_a","cardTestId","children","customContent","dividerTheme","_b","headerSize","_c","initialState","_d","isCollapsible","_e","isInteractive","onClick","
|
|
1
|
+
{"version":3,"file":"ProductCard.js","sources":["../../../../../../src/components/Components/ProductCard/ProductCard.tsx"],"sourcesContent":[null],"names":["_a","cardTestId","children","customContent","dividerTheme","_b","headerSize","_c","initialState","_d","isCollapsible","_e","isHeaderClickable","_f","isInteractive","onClick","_g","size","_h","tableContentAlignment","_j","tableDisableStackingOnMobile","_k","tableFirstColumnSecondary","_l","tableGaps","_m","tableIsBold","tableRows","tableTheme","_o","tableWiderContent","theme","_p","withDivider","productHeaderProps","__rest","history","useHistory","_q","useState","isOpen","setIsOpen","hasTable","Array","isArray","length","hasCustomContent","React","Children","count","hasExtraHeaderContent","hasTitleLink","Boolean","linkTo","externalLink","hasHeaderAction","isWholeHeaderClickable","separateHeaderAndCollapseClick","resolvedCardTestId","useMemo","testId","concat","toggleOpen","prev","executeHeaderNavigation","useCallback","window","open","push","handleWholeHeaderClick","handleWholeHeaderKeyDown","e","key","preventDefault","handleDefaultClick","handleArrowToggleClick","stopPropagation","renderExtraHeaderContent","createElement","className","Divider","cx","DataTable","contentAlignment","disableStackingOnMobile","firstColumnSecondary","gaps","isBold","widerContent","map","row","idx","DataTableItem","label","perex","content","renderHeaderArea","interactiveProps","onKeyDown","role","tabIndex","ProductHeader","__assign","Card","hasCustomTrigger","header","Fragment","CardCustomTrigger","id","Avatar","iconName","undefined"],"mappings":"6yBA2F2B,SAACA,GAC1B,IAAAC,EAAUD,EAAAC,WACVC,EAAQF,EAAAE,SACRC,EAAaH,EAAAG,cACbC,EAAYJ,EAAAI,aACZC,EAAAL,EAAAM,WAAAA,OAAU,IAAAD,EAAG,SAAQA,EACrBE,EAAAP,EAAAQ,aAAAA,OAAe,IAAAD,GAAKA,EACpBE,EAAqBT,EAAAU,cAArBA,OAAgB,IAAAD,GAAKA,EACrBE,EAAyBX,EAAAY,kBAAzBA,OAAiB,IAAAD,GAAQA,EACzBE,EAAAb,EAAAc,cAAAA,OAAgB,IAAAD,GAAKA,EACrBE,EAAOf,EAAAe,QACPC,EAAAhB,EAAAiB,KAAAA,OAAO,IAAAD,EAAA,QAAOA,EACdE,EAA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C,SAAS,gBAjEzB/D,gBAACwD,EAAIA,KAAA,CACH1F,cAAeA,EACfG,KAAMA,EACN4C,OAAQ5D,QAAAA,EAAckC,EAAmB0B,OACzC7B,MAAOA,EACPjB,QAAU0C,QAA8CuD,EAArBrC,IAElCsB,KAiET"}
|
|
@@ -5,7 +5,20 @@ import { AvatarSizeType } from '../Avatar';
|
|
|
5
5
|
import { ButtonSize } from '../Button';
|
|
6
6
|
import { CompactButtonsButtonType } from '../CompactButtons';
|
|
7
7
|
export type ProductHeaderSizeProps = 'small' | 'medium' | 'large' | 'xLarge';
|
|
8
|
-
|
|
8
|
+
type ProductHeaderClickableProps = {
|
|
9
|
+
/** Makes the whole header area clickable. */
|
|
10
|
+
isHeaderClickable: true;
|
|
11
|
+
/** Click handler for the header area. */
|
|
12
|
+
onHeaderClick?: () => void;
|
|
13
|
+
};
|
|
14
|
+
type ProductHeaderDefaultProps = {
|
|
15
|
+
/** Makes the whole header area clickable. */
|
|
16
|
+
isHeaderClickable?: false;
|
|
17
|
+
/** Cannot be used without `isHeaderClickable`. */
|
|
18
|
+
onHeaderClick?: never;
|
|
19
|
+
};
|
|
20
|
+
type ProductHeaderInteractionProps = ProductHeaderClickableProps | ProductHeaderDefaultProps;
|
|
21
|
+
type ProductHeaderBaseProps = {
|
|
9
22
|
/**
|
|
10
23
|
* ProductHeader size variant that sets default sizing for the whole header (title, subtitle, amounts, icon and actions).
|
|
11
24
|
* You can still override any individual size via `titleSize`, `subtitleSize`, `amountSize`, `secondaryAmountSize`,
|
|
@@ -36,9 +49,9 @@ export interface ProductHeaderPropTypes {
|
|
|
36
49
|
titleIconSize?: AvatarSizeType;
|
|
37
50
|
/** Visually hidden prefix rendered before the title (for screen readers). */
|
|
38
51
|
titleHiddenPrefix?: ReactElement;
|
|
39
|
-
/**
|
|
40
|
-
linkTo?: string;
|
|
41
|
-
/** External link
|
|
52
|
+
/** Internal link or callback used by the title. */
|
|
53
|
+
linkTo?: string | (() => void);
|
|
54
|
+
/** External link used by the title. */
|
|
42
55
|
externalLink?: string;
|
|
43
56
|
/** Secondary text shown under the title in the left column. */
|
|
44
57
|
subtitle?: string;
|
|
@@ -48,9 +61,9 @@ export interface ProductHeaderPropTypes {
|
|
|
48
61
|
subtitleSize?: TextSizeType;
|
|
49
62
|
/** Visually hidden prefix rendered before the subtitle (for screen readers). */
|
|
50
63
|
subtitleHiddenPrefix?: ReactElement;
|
|
51
|
-
/** Main amount value shown in the top-right
|
|
64
|
+
/** Main amount value shown in the top-right area. If amount is not defined, topRightButtons can be rendered instead. */
|
|
52
65
|
amount?: number;
|
|
53
|
-
/** Visually hidden prefix rendered before value shown in the top-right
|
|
66
|
+
/** Visually hidden prefix rendered before value shown in the top-right area - usually the main amount (for screen readers). */
|
|
54
67
|
amountHiddenPrefix?: ReactElement;
|
|
55
68
|
/** Main amount size. */
|
|
56
69
|
amountSize?: AmountSizeType;
|
|
@@ -72,13 +85,13 @@ export interface ProductHeaderPropTypes {
|
|
|
72
85
|
amountMaximumFractionDigits?: number;
|
|
73
86
|
/** Minimum fraction digits for main amount. */
|
|
74
87
|
amountMinimumFractionDigits?: number;
|
|
75
|
-
/** Buttons rendered in the top-right
|
|
88
|
+
/** Buttons rendered in the top-right area (alternative to `amount`). This area renders either `amount` OR `topRightButtons`, never both. */
|
|
76
89
|
topRightButtons?: ReactNode | ReactNode[];
|
|
77
|
-
/** Content rendered in the top-right
|
|
90
|
+
/** Content rendered in the top-right area (alternative to `amount` or `topRightButtons`). This area renders either `amount` OR `topRightButtons` OR `topRightCustomContent`. */
|
|
78
91
|
topRightCustomContent?: ReactNode;
|
|
79
|
-
/** Label rendered in the bottom-right
|
|
92
|
+
/** Label rendered in the bottom-right area. Can be rendered alone or before secondary amount. */
|
|
80
93
|
secondaryLabel?: ReactNode;
|
|
81
|
-
/** Size of label rendered in the bottom-right
|
|
94
|
+
/** Size of label rendered in the bottom-right area. Can be rendered alone or before secondary amount. */
|
|
82
95
|
secondaryLabelSize?: TextSizeType;
|
|
83
96
|
/** Secondary amount value rendered next to `secondaryLabel`. */
|
|
84
97
|
secondaryAmount?: number;
|
|
@@ -102,16 +115,18 @@ export interface ProductHeaderPropTypes {
|
|
|
102
115
|
secondaryAmountMaximumFractionDigits?: number;
|
|
103
116
|
/** Minimum fraction digits for secondary amount. */
|
|
104
117
|
secondaryAmountMinimumFractionDigits?: number;
|
|
105
|
-
/** Buttons rendered below the header
|
|
118
|
+
/** Buttons rendered below the header (full width). */
|
|
106
119
|
actions?: CompactButtonsButtonType[];
|
|
107
|
-
/** Size of buttons rendered below the header
|
|
120
|
+
/** Size of buttons rendered below the header (full width). */
|
|
108
121
|
actionsSize?: ButtonSize;
|
|
109
|
-
/** Content rendered below the header
|
|
122
|
+
/** Content rendered below the header (full width). Can contain any ReactNode, e.g. buttons, additional information, or custom components. */
|
|
110
123
|
belowHeaderContent?: ReactNode;
|
|
111
124
|
/** Locale for number formatting (e.g. 'cs-CZ', 'en-US'). Affects both main and secondary amounts. */
|
|
112
125
|
locale?: string;
|
|
113
126
|
/** Test ID for testing purposes. */
|
|
114
127
|
testId?: string;
|
|
115
|
-
}
|
|
116
|
-
export
|
|
128
|
+
};
|
|
129
|
+
export type ProductHeaderPropTypes = ProductHeaderBaseProps & ProductHeaderInteractionProps;
|
|
130
|
+
export declare const ProductHeader: ({ actions, actionsSize, amount, amountHiddenPrefix, amountHideIcon, amountIsBold, amountIsInline, amountMaximumFractionDigits, amountMinimumFractionDigits, amountSize, amountType, amountUnitAfter, amountUnitBefore, amountUnitTheme, belowHeaderContent, customSubtitle, customTitle, externalLink, isHeaderClickable, linkTo, locale, onHeaderClick, secondaryAmount, secondaryAmountHideIcon, secondaryAmountIsBold, secondaryAmountIsInline, secondaryAmountMaximumFractionDigits, secondaryAmountMinimumFractionDigits, secondaryAmountSize, secondaryAmountType, secondaryAmountUnitAfter, secondaryAmountUnitBefore, secondaryAmountUnitTheme, secondaryLabel, secondaryLabelSize, size, subtitle, subtitleHiddenPrefix, subtitleSize, testId, title, titleHiddenPrefix, titleIconBackgroundColor, titleIconBackgroundCustom, titleIconColor, titleIconName, titleIconSize, titleIconText, titleSize, titleVisual, titleWithoutMargin, topRightButtons, topRightCustomContent }: ProductHeaderPropTypes) => React.JSX.Element;
|
|
131
|
+
export {};
|
|
117
132
|
//# sourceMappingURL=ProductHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/ProductHeader/ProductHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAA;AAGnF,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAG/D,OAAO,EAAU,cAAc,EAAE,UAAU,EAAQ,YAAY,EAAS,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC3G,OAAO,EAAU,cAAc,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAgB,UAAU,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,EAAkB,wBAAwB,EAAE,MAAM,mBAAmB,CAAA;AAG5E,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"ProductHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/ProductHeader/ProductHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAA;AAGnF,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAG/D,OAAO,EAAU,cAAc,EAAE,UAAU,EAAQ,YAAY,EAAS,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC3G,OAAO,EAAU,cAAc,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAgB,UAAU,E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AC7B,mBAAmB,CAAC,EAAE,cAAc,CAAA;IACpC,6BAA6B;IAC7B,mBAAmB,CAAC,EAAE,UAAU,CAAA;IAChC,wEAAwE;IACxE,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,sCAAsC;IACtC,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,gDAAgD;IAChD,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,0CAA0C;IAC1C,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,yCAAyC;IACzC,wBAAwB,CAAC,EAAE,MAAM,CAAA;IACjC,uCAAuC;IACvC,wBAAwB,CAAC,EAAE,KAAK,CAAA;IAChC,oDAAoD;IACpD,oCAAoC,CAAC,EAAE,MAAM,CAAA;IAC7C,oDAAoD;IACpD,oCAAoC,CAAC,EAAE,MAAM,CAAA;IAI7C,sDAAsD;IACtD,OAAO,CAAC,EAAE,wBAAwB,EAAE,CAAA;IACpC,8DAA8D;IAC9D,WAAW,CAAC,EAAE,UAAU,CAAA;IACxB,6IAA6I;IAC7I,kBAAkB,CAAC,EAAE,SAAS,CAAA;IAI9B,qGAAqG;IACrG,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oCAAoC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,GAAG,6BAA6B,CAAA;AAE3F,eAAO,MAAM,aAAa,67BAuDvB,sBAAsB,sBAkTxB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react"),
|
|
1
|
+
"use strict";var e=require('./../../../ext/tslib/tslib.es6.js'),t=require("react"),r=require("react-router-dom");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 i=require("../../../utils/classBinder.js");require('./../../../ext/text-mask-addons/dist/textMaskAddons.js');var n=require("../../Layout/Flex/Flex.js");require("../Button/Button.js");var o=require("../Button/ButtonsGroup.js");require("../../../contexts/MobilePanelContext.js"),require('./../../../ext/cuid/index.js');var a=require("../../Typography/Amount/Amount.js"),l=require("../../Typography/Text/Text.js"),u=require("../../Typography/Title/Title.js"),c=require("../Avatar/Avatar.js");require("../ButtonTooltip/ButtonTooltip.js"),require("../../../contexts/CardContext.js"),require("../../../contexts/FormGroupContext.js"),require("../../../contexts/ModalContext.js"),require("../../../contexts/Select2Context.js"),require("../../../contexts/TabsContext.js"),require("react-slick"),require("../Collapse/Collapse.js");var s=require("../CompactButtons/CompactButtons.js");require("../../../contexts/ContentTableContext.js"),require("../ContentTable/ContentTableRow.js"),require("../DataTable/DataTable.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("../Dropdown/_elements_/DropdownInfoText.js"),require("../Dropdown/_elements_/DropdownLoading.js");var d=require("../Link/Link.js");require("react-dom"),require("../SuperModal/SuperModal.context.js"),require("../../Form/Autocomplete/Autocomplete.js"),require('./../../../ext/react-device-detect/dist/lib.js'),require("../../Form/FileUpload/_parts_/MergeImageCards.js"),require("../../Form/Select/_elements_/Select2CategorisedOptions.js"),require("../../Form/Select/_elements_/Select2Options.js"),require("../../Form/Slider/Slider.js");exports.ProductHeader=function(m){var p=m.actions,_=m.actionsSize,x=m.amount,v=m.amountHiddenPrefix,b=m.amountHideIcon,g=void 0!==b&&b,y=m.amountIsBold,H=void 0===y||y,q=m.amountIsInline,j=m.amountMaximumFractionDigits,S=void 0===j?2:j,C=m.amountMinimumFractionDigits,h=void 0===C?2:C,z=m.amountSize,f=m.amountType,k=m.amountUnitAfter,E=m.amountUnitBefore,T=m.amountUnitTheme,I=m.belowHeaderContent,A=m.customSubtitle,L=m.customTitle,D=m.externalLink,B=m.isHeaderClickable,N=void 0!==B&&B,F=m.linkTo,w=m.locale,M=m.onHeaderClick,U=m.secondaryAmount,V=m.secondaryAmountHideIcon,P=void 0!==V&&V,W=m.secondaryAmountIsBold,R=m.secondaryAmountIsInline,G=m.secondaryAmountMaximumFractionDigits,O=void 0===G?2:G,K=m.secondaryAmountMinimumFractionDigits,J=void 0===K?2:K,Q=m.secondaryAmountSize,X=m.secondaryAmountType,Y=m.secondaryAmountUnitAfter,Z=m.secondaryAmountUnitBefore,$=m.secondaryAmountUnitTheme,ee=m.secondaryLabel,te=m.secondaryLabelSize,re=m.size,ie=void 0===re?"medium":re,ne=m.subtitle,oe=m.subtitleHiddenPrefix,ae=m.subtitleSize,le=m.testId,ue=m.title,ce=m.titleHiddenPrefix,se=m.titleIconBackgroundColor,de=void 0===se?"bgBrandDefault":se,me=m.titleIconBackgroundCustom,pe=m.titleIconColor,_e=m.titleIconName,xe=m.titleIconSize,ve=m.titleIconText,be=m.titleSize,ge=void 0===be?"h2":be,ye=m.titleVisual,He=m.titleWithoutMargin,qe=void 0===He||He,je=m.topRightButtons,Se=m.topRightCustomContent,Ce=r.useHistory(),he=function(e){switch(e){case"small":return{amountSize:"small",secondaryAmountSize:"xSmall",titleIconSize:"medium",actionsSize:"small"};case"medium":default:return{titleVisual:"h5",subtitleSize:"small",amountSize:"large",secondaryAmountSize:"small",titleIconSize:"medium",actionsSize:"small",secondaryLabelSize:"small"};case"large":return{titleVisual:"h4",subtitleSize:"small",amountSize:"xLarge",secondaryAmountSize:"small",titleIconSize:"large",secondaryLabelSize:"small"};case"xLarge":return{titleVisual:"h3",amountSize:"xLarge",titleIconSize:"xLarge"}}}(ie),ze=null!=ye?ye:he.titleVisual,fe=null!=ae?ae:he.subtitleSize,ke=null!=te?te:he.secondaryLabelSize,Ee=null!=z?z:he.amountSize,Te=null!=Q?Q:he.secondaryAmountSize,Ie=null!=xe?xe:he.titleIconSize,Ae=null!=_?_:he.actionsSize,Le="small"===ie&&!z,De="small"===ie&&!Q,Be="xLarge"===ie&&!Q,Ne=L||ue,Fe=!!A||"string"==typeof ne,we=!!_e||!!ve,Me=t.Children.count(Se)>0,Ue=t.Children.count(je)>0,Ve=Me,Pe=!Ve&&Ue,We=!Ve&&!Pe&&"number"==typeof x,Re=Ve||Pe||We,Ge=!!ee||"number"==typeof U,Oe=!!(null==p?void 0:p.length),Ke=t.Children.count(I)>0,Je=!(we||Fe||Re||Ge||Oe||Ke),Qe=Boolean(F||D),Xe=Boolean(M||Qe),Ye=N&&Xe,Ze=t.useCallback((function(){"function"!=typeof F?F&&Ce.push(F):F()}),[Ce,F]),$e=t.useCallback((function(){D&&window.open(D,"_blank","noopener,noreferrer")}),[D]),et=t.useCallback((function(){D?$e():F&&Ze()}),[$e,Ze,D,F]),tt=t.useCallback((function(e){"preventDefault"in e&&e.preventDefault(),Ze()}),[Ze]),rt=t.useCallback((function(){Ye&&(M?M():Qe&&et())}),[et,Qe,Ye,M]),it=t.useCallback((function(e){Ye&&("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),rt()))}),[rt,Ye]),nt=function(){return F||D?t.createElement(d.Link,{allowEventPropagation:!1,ariaLabel:ue,"data-testid":le?"productHeader-link-".concat(le):void 0,linkUrl:D||("string"==typeof F?F:"#"),target:D?"_blank":void 0,theme:"c-productHeader__titleLink",onClick:D?void 0:tt},t.createElement(u.Title,{isWithoutMargin:qe,size:ge,theme:i.cx("c-productHeader__title",{"c-productHeader__title--customVisual":!!ye}),visual:ze},ce&&t.createElement("span",{className:"u-vHide"},ce),Ne)):t.createElement(u.Title,{isWithoutMargin:qe,size:ge,theme:i.cx("c-productHeader__title",{"c-productHeader__title--customVisual":!!ye}),visual:ze},ce&&t.createElement("span",{className:"u-vHide"},ce),Ne)},ot=Ye?{onClick:rt,onKeyDown:it,role:"button",tabIndex:0}:{};if(Je)return t.createElement("div",e.__assign({},ot,{className:i.cx("c-productHeader c-productHeader--titleOnly",{"c-productHeader--headerClickable":Ye,"c-productHeader--headerClickableWithTitleLink":Ye&&Qe}),"data-testid":le}),nt());var at=t.createElement(t.Fragment,null,t.createElement("div",{className:"c-productHeader__colTitle"},nt()),Fe?t.createElement("div",{className:"c-productHeader__colSubtitle"},A?t.createElement(t.Fragment,null,oe&&t.createElement("span",{className:"u-vHide"},oe),A):t.createElement(l.Text,{size:fe,theme:i.cx("c-productHeader__subtitle",{"c-productHeader__subtitle--customSize":!!ae}),type:"secondary"},oe&&t.createElement("span",{className:"u-vHide"},oe),ne)):null);return t.createElement("div",e.__assign({},ot,{className:i.cx("c-productHeader",{"c-productHeader--withTitleIcon":we,"c-productHeader--small":"small"===ie,"c-productHeader--xLarge":"xLarge"===ie,"c-productHeader--headerClickable":Ye,"c-productHeader--headerClickableWithTitleLink":Ye&&Qe}),"data-testid":le}),t.createElement("div",{className:"c-productHeader__layout"},we?t.createElement("div",{className:"c-productHeader__colLeft"},t.createElement("div",{className:"c-productHeader__colIcon"},t.createElement(c.Avatar,{backgroundColor:de,backgroundCustom:me,color:pe,iconName:_e,size:Ie,text:ve})),t.createElement("div",{className:"c-productHeader__colLeftInner"},at)):t.createElement("div",{className:"c-productHeader__colLeft"},at),Re||Ge?t.createElement("div",{className:"c-productHeader__colRight"},Re?t.createElement("div",null,Ve?Se:null,Pe?t.createElement(o.ButtonsGroup,null,je):null,We?t.createElement(t.Fragment,null,v&&t.createElement("span",{className:"u-vHide"},v),t.createElement(a.Amount,{amount:x,hideIcon:g,isBold:H,isInline:q,locale:w,maximumFractionDigits:S,minimumFractionDigits:h,size:Ee,theme:i.cx("c-productHeader__amount",{"c-productHeader__amount--small":Le}),type:f,unitAfter:k,unitBefore:E,unitTheme:T})):null):null,Ge?t.createElement("div",null,ee?t.createElement(n.Flex,{alignItems:"baseline",direction:"row",justifyContent:"end",theme:"c-productHeader__secondary"},t.createElement(l.Text,{component:"span",size:ke,theme:i.cx("c-productHeader__secondaryLabel",{"c-productHeader__secondaryLabel--customSize":!!te})},ee),"number"==typeof U?t.createElement(a.Amount,{amount:U,hideIcon:P,isBold:W,isInline:R,locale:w,maximumFractionDigits:O,minimumFractionDigits:J,size:Te,theme:i.cx("c-productHeader__amount",{"c-productHeader__amount--small":De,"c-productHeader__secondaryAmount--xLarge":Be}),type:X,unitAfter:Y,unitBefore:Z,unitTheme:i.cx($,{"c-productHeader__secondaryAmount--xLarge":Be})}):null):null):null):null),Oe?t.createElement("div",{className:"c-productHeader__actions"},t.createElement(s.CompactButtons,{buttons:p,size:Ae})):null,Ke?t.createElement("div",{className:"c-productHeader__below"},I):null)};
|
|
2
2
|
//# sourceMappingURL=ProductHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductHeader.js","sources":["../../../../../../src/components/Components/ProductHeader/ProductHeader.tsx"],"sourcesContent":[null],"names":["_a","actions","actionsSize","amount","amountHiddenPrefix","_b","amountHideIcon","_c","amountIsBold","amountIsInline","_d","amountMaximumFractionDigits","_e","amountMinimumFractionDigits","amountSize","amountType","amountUnitAfter","amountUnitBefore","amountUnitTheme","belowHeaderContent","customSubtitle","customTitle","externalLink","linkTo","locale","secondaryAmount","
|
|
1
|
+
{"version":3,"file":"ProductHeader.js","sources":["../../../../../../src/components/Components/ProductHeader/ProductHeader.tsx"],"sourcesContent":[null],"names":["_a","actions","actionsSize","amount","amountHiddenPrefix","_b","amountHideIcon","_c","amountIsBold","amountIsInline","_d","amountMaximumFractionDigits","_e","amountMinimumFractionDigits","amountSize","amountType","amountUnitAfter","amountUnitBefore","amountUnitTheme","belowHeaderContent","customSubtitle","customTitle","externalLink","_f","isHeaderClickable","linkTo","locale","onHeaderClick","secondaryAmount","_g","secondaryAmountHideIcon","secondaryAmountIsBold","secondaryAmountIsInline","_h","secondaryAmountMaximumFractionDigits","_j","secondaryAmountMinimumFractionDigits","secondaryAmountSize","secondaryAmountType","secondaryAmountUnitAfter","secondaryAmountUnitBefore","secondaryAmountUnitTheme","secondaryLabel","secondaryLabelSize","_k","size","subtitle","subtitleHiddenPrefix","subtitleSize","testId","title","titleHiddenPrefix","_l","titleIconBackgroundColor","titleIconBackgroundCustom","titleIconColor","titleIconName","titleIconSize","titleIconText","_m","titleSize","titleVisual","_o","titleWithoutMargin","topRightButtons","topRightCustomContent","history","useHistory","defaultSizes","getDefaultSizesByHeaderSize","resolvedTitleVisual","resolvedSubtitleSize","resolvedSecondaryLabelSize","resolvedAmountSize","resolvedSecondaryAmountSize","resolvedTitleIconSize","resolvedActionsSize","shouldUseSmallAmountTheme","shouldUseSmallSecondaryAmountTheme","shouldUseXLargeSecondaryAmountTheme","titleContent","hasSubtitle","hasIcon","hasTopRightCustomContent","React","Children","count","hasTopRightButtons","showTopRightCustomContent","showTopRightButtons","showAmount","hasTopRight","hasBottomRight","hasActions","length","hasBelowHeaderContent","isTitleOnly","hasTitleLink","Boolean","hasHeaderAction","isWholeHeaderClickable","executeInternalNavigation","useCallback","push","executeExternalNavigation","window","open","executeHeaderLinkAction","onInternalTitleClick","e","preventDefault","handleWholeHeaderClick","handleWholeHeaderKeyDown","key","renderTitle","createElement","Link","allowEventPropagation","ariaLabel","concat","undefined","linkUrl","target","theme","onClick","Title","isWithoutMargin","cx","visual","className","wrapperInteractiveProps","onKeyDown","role","tabIndex","leftContent","Fragment","Text","type","Avatar","backgroundColor","backgroundCustom","color","iconName","text","ButtonsGroup","Amount","hideIcon","isBold","isInline","maximumFractionDigits","minimumFractionDigits","unitAfter","unitBefore","unitTheme","Flex","alignItems","direction","justifyContent","component","CompactButtons","buttons"],"mappings":"8tEAqN6B,SAACA,OAC5BC,EAAOD,EAAAC,QAEPC,EAAWF,EAAAE,YACXC,EAAMH,EAAAG,OACNC,EAAkBJ,EAAAI,mBAClBC,mBAAAC,cAAsBD,EACtBE,EAAmBP,EAAAQ,aAAnBA,OAAY,IAAAD,GAAOA,EACnBE,EAAcT,EAAAS,eACdC,EAA+BV,EAAAW,4BAA/BA,OAA8B,IAAAD,EAAA,EAACA,EAC/BE,EAA+BZ,EAAAa,4BAA/BA,OAA8B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