@mmb-digital/ds-lilly 1.0.53 → 1.0.54
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/Tag/Tag.d.ts +3 -1
- package/cjs/components/Components/Tag/Tag.d.ts.map +1 -1
- package/cjs/components/Components/Tag/Tag.js +1 -1
- package/cjs/components/Components/Tag/Tag.js.map +1 -1
- package/cjs/components/Graphs/ChartLegend/ChartLegend.d.ts +6 -3
- package/cjs/components/Graphs/ChartLegend/ChartLegend.d.ts.map +1 -1
- package/cjs/components/Graphs/ChartLegend/ChartLegend.js +1 -1
- package/cjs/components/Graphs/ChartLegend/ChartLegend.js.map +1 -1
- package/cjs/components/Graphs/ChartLegend/_elements_/ChartLegendRow.d.ts +2 -2
- package/cjs/components/Graphs/ChartLegend/_elements_/ChartLegendRow.d.ts.map +1 -1
- package/cjs/components/Graphs/ChartLegend/_elements_/ChartLegendRow.js +1 -1
- package/cjs/components/Graphs/ChartLegend/_elements_/ChartLegendRow.js.map +1 -1
- package/cjs/ds-lilly.css +9 -6
- package/components/Components/Tag/Tag.d.ts +3 -1
- package/components/Components/Tag/Tag.d.ts.map +1 -1
- package/components/Components/Tag/Tag.js +1 -1
- package/components/Components/Tag/Tag.js.map +1 -1
- package/components/Graphs/ChartLegend/ChartLegend.d.ts +6 -3
- package/components/Graphs/ChartLegend/ChartLegend.d.ts.map +1 -1
- package/components/Graphs/ChartLegend/ChartLegend.js +1 -1
- package/components/Graphs/ChartLegend/ChartLegend.js.map +1 -1
- package/components/Graphs/ChartLegend/_elements_/ChartLegendRow.d.ts +2 -2
- package/components/Graphs/ChartLegend/_elements_/ChartLegendRow.d.ts.map +1 -1
- package/components/Graphs/ChartLegend/_elements_/ChartLegendRow.js +1 -1
- package/components/Graphs/ChartLegend/_elements_/ChartLegendRow.js.map +1 -1
- package/ds-lilly.css +9 -6
- package/package.json +1 -1
- /package/assets/{4fb2aa054438e3548adb.eot → 1fbc5f4778163c1e997c.eot} +0 -0
- /package/assets/{073d26104845d3e2b24c.gif → 1fdfd9976f0bebc0f4e4.gif} +0 -0
- /package/assets/{544d7631471a5fce0e62.eot → 2803ae993abc66a8280a.eot} +0 -0
- /package/assets/{592d1c53d949527b3433.eot → 40f7b671388a923c9146.eot} +0 -0
- /package/assets/{361208191e3967bc98e9.woff → 4a1c503b46cb7df321cf.woff} +0 -0
- /package/assets/{6faf29bba060718c774a.woff → 4fc354f8ede618485e24.woff} +0 -0
- /package/assets/{2fc3a6c6bf6ed1d148d0.svg → b16f18454473e97eade0.svg} +0 -0
- /package/assets/{cb5ffcbfaa36a8789ca1.ttf → ba7afd8feee3c109bccc.ttf} +0 -0
- /package/assets/{74e0788bcc26fba642c6.eot → c6d469eba830e772450a.eot} +0 -0
- /package/assets/{e62e4f55249feb0d125e.ttf → db508e2691a007568b52.ttf} +0 -0
- /package/assets/{28b803179864969924fa.gif → e05da36f16ae8d2f91e3.gif} +0 -0
- /package/assets/{dddf4a438b51fe9ee906.svg → eab0102ef47f11f3a8c1.svg} +0 -0
|
@@ -6,6 +6,8 @@ export interface TagPropsType extends ComponentPropsType {
|
|
|
6
6
|
background?: BackgroundColorType | CategoryColorType | GradientColorType;
|
|
7
7
|
/** Color of tag color */
|
|
8
8
|
color?: ForegroundColorType;
|
|
9
|
+
/** Tag type */
|
|
10
|
+
type?: 'success' | 'error' | 'warning' | 'brand' | 'promo';
|
|
9
11
|
/** Tag icon name */
|
|
10
12
|
iconName?: IconNameType;
|
|
11
13
|
/** Tag icon background color */
|
|
@@ -17,5 +19,5 @@ export interface TagPropsType extends ComponentPropsType {
|
|
|
17
19
|
/** Tag content (text) */
|
|
18
20
|
children: ReactNode;
|
|
19
21
|
}
|
|
20
|
-
export declare const Tag: ({ background, children, color, iconBackground, iconColor, iconName, imageUrl, testId, theme }: TagPropsType) => JSX.Element;
|
|
22
|
+
export declare const Tag: ({ background, children, color, iconBackground, iconColor, iconName, imageUrl, testId, theme, type }: TagPropsType) => JSX.Element;
|
|
21
23
|
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACb,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAGvD,MAAM,WAAW,YAAa,SAAQ,kBAAkB;IACtD,8BAA8B;IAC9B,UAAU,CAAC,EAAE,mBAAmB,GAAG,iBAAiB,GAAG,iBAAiB,CAAA;IACxE,yBAAyB;IACzB,KAAK,CAAC,EAAE,mBAAmB,CAAA;IAC3B,oBAAoB;IACpB,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,gCAAgC;IAChC,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,mEAAmE;IACnE,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yBAAyB;IACzB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACb,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAGvD,MAAM,WAAW,YAAa,SAAQ,kBAAkB;IACtD,8BAA8B;IAC9B,UAAU,CAAC,EAAE,mBAAmB,GAAG,iBAAiB,GAAG,iBAAiB,CAAA;IACxE,yBAAyB;IACzB,KAAK,CAAC,EAAE,mBAAmB,CAAA;IAC3B,eAAe;IACf,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAA;IAC1D,oBAAoB;IACpB,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,gCAAgC;IAChC,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,mEAAmE;IACnE,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yBAAyB;IACzB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,GAAG,wGAWb,YAAY,KAAG,WAoCjB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=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");require('./../../../ext/text-mask-addons/dist/textMaskAddons.js');var
|
|
1
|
+
"use strict";var e=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");require('./../../../ext/text-mask-addons/dist/textMaskAddons.js');var a=require("../Avatar/Avatar.js");exports.Tag=function(t){var u,i=t.background,s=t.children,o=t.color,g=t.iconBackground,l=t.iconColor,c=t.iconName,n=t.imageUrl,d=t.testId,f=t.theme,m=t.type;return e.createElement("div",{className:r.cx("c-tag",(u={"c-tag--withIcon":!!c,"c-tag--withImage":!!n},u["u-bg--".concat(i)]=i,u["u-fg--".concat(o)]=o,u["u-bg--bgSuccessDefault"]="success"===m,u["u-fg--fgSuccessDefault"]="success"===m,u["u-bg--bgErrorDefault"]="error"===m,u["u-fg--fgErrorDefault"]="error"===m,u["u-bg--bgWarningDefault"]="warning"===m,u["u-fg--fgWarningDefault"]="warning"===m,u["u-bg--bgBrandDefault"]="brand"===m,u["u-fg--fgBrandDefault"]="brand"===m,u["u-bg--bgPromoDefault"]="promo"===m,u["u-fg--fgPromoDefault"]="promo"===m,u),f),"data-testid":d},(c||n)&&e.createElement(a.Avatar,{backgroundColor:c?g:"bgNeutralSubtlest",color:l,iconName:c,imageUrl:n,size:"xSmall"}),s)};
|
|
2
2
|
//# sourceMappingURL=Tag.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.js","sources":["../../../../../../src/components/Components/Tag/Tag.tsx"],"sourcesContent":[null],"names":["_a","background","children","color","iconBackground","iconColor","iconName","imageUrl","testId","theme","React","createElement","className","cx","_b","concat","Avatar","backgroundColor","size"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tag.js","sources":["../../../../../../src/components/Components/Tag/Tag.tsx"],"sourcesContent":[null],"names":["_a","background","children","color","iconBackground","iconColor","iconName","imageUrl","testId","theme","type","React","createElement","className","cx","_b","concat","Avatar","backgroundColor","size"],"mappings":"2dAgCmB,SAACA,SAClBC,EAAUD,EAAAC,WACVC,EAAQF,EAAAE,SACRC,EAAKH,EAAAG,MACLC,EAAcJ,EAAAI,eACdC,EAASL,EAAAK,UACTC,EAAQN,EAAAM,SACRC,EAAQP,EAAAO,SACRC,EAAMR,EAAAQ,OACNC,EAAKT,EAAAS,MACLC,EAAIV,EAAAU,KAC2B,OAC/BC,EACEC,cAAA,MAAA,CAAAC,UAAWC,EAAEA,GACX,SAAOC,EAAA,CAEL,oBAAqBT,EACrB,qBAAsBC,GACtBQ,EAAC,SAASC,OAAAf,IAAeA,EACzBc,EAAC,SAASC,OAAAb,IAAUA,EACpBY,EAAwB,0BAAW,YAATL,EAC1BK,EAAwB,0BAAW,YAATL,EAC1BK,EAAsB,wBAAW,UAATL,EACxBK,EAAsB,wBAAW,UAATL,EACxBK,EAAwB,0BAAW,YAATL,EAC1BK,EAAwB,0BAAW,YAATL,EAC1BK,EAAsB,wBAAW,UAATL,EACxBK,EAAsB,wBAAW,UAATL,EACxBK,EAAsB,wBAAW,UAATL,EACxBK,EAAsB,wBAAW,UAATL,KAE1BD,iBAEWD,IAEXF,GAAYC,IACZI,EAACC,cAAAK,EAAAA,OACC,CAAAC,gBAAiBZ,EAAWF,EAAiB,oBAC7CD,MAAOE,EACPC,SAAUA,EACVC,SAAUA,EACVY,KAAK,WAIRjB,EAlC4B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { BackgroundColorType, CategoryColorType, GradientColorType } from '../../../types';
|
|
2
|
+
import { BackgroundColorType, CategoryColorType, ColorType, GradientColorType } from '../../../types';
|
|
3
3
|
import { ComponentPropsType } from '../../../utils';
|
|
4
4
|
export interface ChartLegendPropsType extends ComponentPropsType {
|
|
5
5
|
/** Data for the interpretation */
|
|
@@ -12,17 +12,20 @@ export interface ChartLegendPropsType extends ComponentPropsType {
|
|
|
12
12
|
summaryLabel?: string;
|
|
13
13
|
/** Tooltip of summary label */
|
|
14
14
|
summaryLabelTooltip?: ReactNode;
|
|
15
|
+
/** Unit after value for summary row (default is 'CZK') */
|
|
16
|
+
summaryUnitAfter?: string;
|
|
15
17
|
/** Show value from data for every row (default is 'true') */
|
|
16
18
|
showValue?: boolean;
|
|
17
19
|
}
|
|
18
20
|
interface Data {
|
|
21
|
+
background?: ColorType;
|
|
19
22
|
label: string;
|
|
20
23
|
labelTooltip?: ReactNode;
|
|
21
24
|
value: number;
|
|
22
|
-
color
|
|
25
|
+
color?: BackgroundColorType | CategoryColorType | GradientColorType;
|
|
23
26
|
percentage?: string;
|
|
24
27
|
unitAfter?: string;
|
|
25
28
|
}
|
|
26
|
-
export declare const ChartLegend: ({ data, emptySummaryColor, hasSummaryRow, showValue, summaryLabel, summaryLabelTooltip, theme }: ChartLegendPropsType) => JSX.Element;
|
|
29
|
+
export declare const ChartLegend: ({ data, emptySummaryColor, hasSummaryRow, showValue, summaryLabel, summaryLabelTooltip, summaryUnitAfter, theme }: ChartLegendPropsType) => JSX.Element;
|
|
27
30
|
export {};
|
|
28
31
|
//# sourceMappingURL=ChartLegend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graphs/ChartLegend/ChartLegend.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graphs/ChartLegend/ChartLegend.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACrG,OAAO,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAGvD,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB;IAC9D,kCAAkC;IAClC,IAAI,EAAE,IAAI,EAAE,CAAA;IACZ,wDAAwD;IACxD,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,+FAA+F;IAC/F,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,+BAA+B;IAC/B,mBAAmB,CAAC,EAAE,SAAS,CAAA;IAC/B,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,UAAU,IAAI;IACZ,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,mBAAmB,GAAG,iBAAiB,GAAG,iBAAiB,CAAA;IACnE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,WAAW,sHASrB,oBAAoB,KAAG,WA8BzB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=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");require('./../../../ext/text-mask-addons/dist/textMaskAddons.js');var t=require("./_elements_/ChartLegendRow.js");exports.ChartLegend=function(a){var
|
|
1
|
+
"use strict";var e=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");require('./../../../ext/text-mask-addons/dist/textMaskAddons.js');var t=require("./_elements_/ChartLegendRow.js");exports.ChartLegend=function(a){var i=a.data,l=a.emptySummaryColor,u=a.hasSummaryRow,s=a.showValue,o=void 0===s||s,n=a.summaryLabel,m=a.summaryLabelTooltip,d=a.summaryUnitAfter,c=void 0===d?"CZK":d,p=a.theme,g=i.map((function(e){return e.value})).reduce((function(e,r){return e+r}),0);return e.createElement("div",{className:r.cx("c-chartLegend",p)},i.map((function(r,a){return e.createElement(t.ChartLegendRow,{key:a,background:r.background,color:r.color,label:r.label,labelTooltip:r.labelTooltip,percentage:r.percentage,showValue:o,unitAfter:r.unitAfter,value:r.value})})),u&&e.createElement(t.ChartLegendRow,{hasSeparationLine:!0,emptySummaryColor:l,label:n,labelTooltip:m,showValue:o,unitAfter:c,value:g}))};
|
|
2
2
|
//# sourceMappingURL=ChartLegend.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegend.js","sources":["../../../../../../src/components/Graphs/ChartLegend/ChartLegend.tsx"],"sourcesContent":[null],"names":["_a","data","emptySummaryColor","hasSummaryRow","_b","showValue","summaryLabel","summaryLabelTooltip","theme","sum","map","item","value","reduce","prev","curr","React","className","cx","entry","i","createElement","ChartLegendRow","key","color","label","labelTooltip","percentage","unitAfter","hasSeparationLine"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChartLegend.js","sources":["../../../../../../src/components/Graphs/ChartLegend/ChartLegend.tsx"],"sourcesContent":[null],"names":["_a","data","emptySummaryColor","hasSummaryRow","_b","showValue","summaryLabel","summaryLabelTooltip","_c","summaryUnitAfter","theme","sum","map","item","value","reduce","prev","curr","React","className","cx","entry","i","createElement","ChartLegendRow","key","background","color","label","labelTooltip","percentage","unitAfter","hasSeparationLine"],"mappings":"8eAiC2B,SAACA,GAC1B,IAAAC,EAAID,EAAAC,KACJC,EAAiBF,EAAAE,kBACjBC,EAAaH,EAAAG,cACbC,EAAgBJ,EAAAK,UAAhBA,OAAS,IAAAD,GAAOA,EAChBE,EAAYN,EAAAM,aACZC,EAAmBP,EAAAO,oBACnBC,EAAAR,EAAAS,iBAAAA,OAAmB,IAAAD,EAAA,MAAKA,EACxBE,EAAKV,EAAAU,MAECC,EAAMV,EAAKW,KAAI,SAACC,GAAS,OAAAA,EAAKC,KAAK,IAAEC,QAAO,SAACC,EAAMC,GAAS,OAAAD,EAAOC,CAAP,GAAa,GAC/E,OACEC,uBAAKC,UAAWC,KAAG,gBAAiBV,IACjCT,EAAKW,KAAI,SAACS,EAAOC,GAAM,OACtBJ,EAACK,cAAAC,EAAAA,gBACCC,IAAKH,EACLI,WAAYL,EAAMK,WAClBC,MAAON,EAAMM,MACbC,MAAOP,EAAMO,MACbC,aAAcR,EAAMQ,aACpBC,WAAYT,EAAMS,WAClBzB,UAAWA,EACX0B,UAAWV,EAAMU,UACjBjB,MAAOO,EAAMP,WAGhBX,GACCe,EAACK,cAAAC,kBACCQ,mBAAiB,EACjB9B,kBAAmBA,EACnB0B,MAAOtB,EACPuB,aAActB,EACdF,UAAWA,EACX0B,UAAWtB,EACXK,MAAOH,IAKjB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { BackgroundColorType, CategoryColorType, GradientColorType } from '../../../../types';
|
|
2
|
+
import { BackgroundColorType, CategoryColorType, ColorType, GradientColorType } from '../../../../types';
|
|
3
3
|
import { ComponentPropsType } from '../../../../utils';
|
|
4
4
|
export interface ChartLegendRowPropsType extends ComponentPropsType {
|
|
5
5
|
color?: BackgroundColorType | CategoryColorType | GradientColorType;
|
|
6
|
-
background?:
|
|
6
|
+
background?: ColorType;
|
|
7
7
|
emptySummaryColor?: boolean;
|
|
8
8
|
label?: string;
|
|
9
9
|
labelTooltip?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegendRow.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Graphs/ChartLegend/_elements_/ChartLegendRow.tsx"],"names":[],"mappings":"AAAA,OAAc,
|
|
1
|
+
{"version":3,"file":"ChartLegendRow.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Graphs/ChartLegend/_elements_/ChartLegendRow.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAY,SAAS,EAAE,MAAM,OAAO,CAAA;AAElD,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AACxG,OAAO,EAAE,kBAAkB,EAAM,MAAM,mBAAmB,CAAA;AAK1D,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB;IAEjE,KAAK,CAAC,EAAE,mBAAmB,GAAG,iBAAiB,GAAG,iBAAiB,CAAA;IACnE,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;CACd;AAMD,eAAO,MAAM,cAAc,uHAUxB,uBAAuB,KAAG,WAwB5B,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=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 t=require("../../../../utils/classBinder.js");require('./../../../../ext/text-mask-addons/dist/textMaskAddons.js');var r=require("../../../Typography/Amount/Amount.js");require('./../../../../ext/tslib/tslib.es6.js'),require("../../../Components/Button/Button.js");var o=require("../../../Components/Avatar/Avatar.js");require("../../../Components/ButtonTooltip/ButtonTooltip.js"),require('./../../../../ext/cuid/index.js'),require("../../../../contexts/CardContext.js"),require("../../../../contexts/FormGroupContext.js"),require("../../../../contexts/ModalContext.js"),require("../../../../contexts/Select2Context.js"),require("../../../../contexts/TabsContext.js");var
|
|
1
|
+
"use strict";var e=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 t=require("../../../../utils/classBinder.js");require('./../../../../ext/text-mask-addons/dist/textMaskAddons.js');var r=require("../../../Typography/Amount/Amount.js");require('./../../../../ext/tslib/tslib.es6.js'),require("../../../Components/Button/Button.js");var o=require("../../../Components/Avatar/Avatar.js");require("../../../Components/ButtonTooltip/ButtonTooltip.js"),require('./../../../../ext/cuid/index.js'),require("../../../../contexts/CardContext.js"),require("../../../../contexts/FormGroupContext.js"),require("../../../../contexts/ModalContext.js"),require("../../../../contexts/Select2Context.js"),require("../../../../contexts/TabsContext.js");var n=require("../../../Components/Tooltip/Tooltip.js");require("react-slick"),require("../../../Components/Collapse/Collapse.js"),require('./../../../../ext/lodash/_baseToString.js'),require('./../../../../ext/react-text-mask/dist/reactTextMask.js'),require("../../../Components/Dropdown/_elements_/DropdownDivider.js"),require("../../../Components/Dropdown/_elements_/DropdownItem.js"),require("../../../Components/Dropdown/_elements_/DropdownMenu.js"),require("../../../Components/Dropdown/_elements_/DropdownInfoText.js"),require("../../../Components/Dropdown/_elements_/DropdownLoading.js"),require("../../../../contexts/ContentTableContext.js"),require("../../../Components/ContentTable/ContentTableRow.js"),require("../../../Components/DataTable/DataTable.js"),require("../../../Components/Link/Link.js"),require("react-dom"),require("react-router-dom"),require("../../../../contexts/MobilePanelContext.js"),require("../../../Components/SuperModal/SuperModal.context.js"),require("../../../Form/Autocomplete/Autocomplete.js"),require('./../../../../ext/react-device-detect/dist/lib.js'),require("../../../Form/Select/_elements_/Select2CategorisedOptions.js"),require("../../../Form/Select/_elements_/Select2Options.js"),require("../../../Form/Slider/Slider.js");exports.ChartLegendRow=function(s){var i=s.background,a=s.emptySummaryColor,l=s.hasSeparationLine,u=s.label,c=s.labelTooltip,d=s.percentage,m=s.showValue,p=s.unitAfter,_=void 0===p?"CZK":p,q=s.value;return e.createElement("div",{className:t.cx("c-chartLegend__row",l&&"c-chartLegend__row--separator")},e.createElement("div",{className:t.cx("c-chartLegend__row__label")},!a&&e.createElement(e.Fragment,null,e.createElement(o.Avatar,{isIconSizing:!0,backgroundColor:i,className:"c-chartLegend__row__avatar",size:"xSmall"})),u,c&&e.createElement(n.Tooltip,{content:c},e.createElement("span",{className:t.cx("f-label__tooltip2")},e.createElement(o.Avatar,{backgroundColor:"bgInfoBold",iconName:"info",size:"xSmall"})))),d&&e.createElement("div",{className:t.cx("c-chartLegend__row__percentage")},d),m&&e.createElement("div",{className:t.cx("c-chartLegend__row__value")},e.createElement(r.Amount,{isBold:!0,isInline:!0,amount:q,unitAfter:_})))};
|
|
2
2
|
//# sourceMappingURL=ChartLegendRow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegendRow.js","sources":["../../../../../../../src/components/Graphs/ChartLegend/_elements_/ChartLegendRow.tsx"],"sourcesContent":[null],"names":["_a","background","emptySummaryColor","hasSeparationLine","label","labelTooltip","percentage","showValue","
|
|
1
|
+
{"version":3,"file":"ChartLegendRow.js","sources":["../../../../../../../src/components/Graphs/ChartLegend/_elements_/ChartLegendRow.tsx"],"sourcesContent":[null],"names":["_a","background","emptySummaryColor","hasSeparationLine","label","labelTooltip","percentage","showValue","_b","unitAfter","value","React","createElement","className","cx","Fragment","Avatar","isIconSizing","backgroundColor","size","Tooltip","content","iconName","Amount","isBold","isInline","amount"],"mappings":"0xEA0B8B,SAACA,GAC7B,IAAAC,EAAUD,EAAAC,WACVC,EAAiBF,EAAAE,kBACjBC,EAAiBH,EAAAG,kBACjBC,EAAKJ,EAAAI,MACLC,EAAYL,EAAAK,aACZC,EAAUN,EAAAM,WACVC,EAASP,EAAAO,UACTC,EAAiBR,EAAAS,UAAjBA,OAAS,IAAAD,EAAG,MAAKA,EACjBE,EAAKV,EAAAU,MACqC,OAC1CC,EAAKC,cAAA,MAAA,CAAAC,UAAWC,EAAAA,GAAG,qBAAsBX,GAAqB,kCAC5DQ,EAAAC,cAAA,MAAA,CAAKC,UAAWC,EAAAA,GAAG,+BACfZ,GACAS,EAAAC,cAACG,EAAQA,SAAA,KACPJ,EAAAC,cAACI,EAAAA,OAAO,CAAAC,cAAa,EAAAC,gBAAiBjB,EAAYY,UAAU,6BAA6BM,KAAK,YAGjGf,EACAC,GACCM,EAAAC,cAACQ,EAAOA,QAAC,CAAAC,QAAShB,GAChBM,EAAAC,cAAA,OAAA,CAAMC,UAAWC,EAAAA,GAAG,sBAClBH,EAAAC,cAACI,SAAO,CAAAE,gBAAgB,aAAaI,SAAS,OAAOH,KAAK,cAKjEb,GAAcK,EAAKC,cAAA,MAAA,CAAAC,UAAWC,KAAG,mCAAoCR,GACrEC,GACCI,EAAKC,cAAA,MAAA,CAAAC,UAAWC,EAAAA,GAAG,8BACjBH,EAAAC,cAACW,EAAAA,OAAO,CAAAC,QAAO,EAAAC,YAASC,OAAQhB,EAAOD,UAAWA,KApBd"}
|
package/cjs/ds-lilly.css
CHANGED
|
@@ -1448,9 +1448,9 @@ body {
|
|
|
1448
1448
|
--colorPill: var(--fgNeutralDefault);
|
|
1449
1449
|
--fontSizePill: var(--fontSizeSmall);
|
|
1450
1450
|
--fontWeightPill: var(--fontWeightNormal);
|
|
1451
|
-
--lineHeightPill: var(--
|
|
1451
|
+
--lineHeightPill: var(--lineHeightMedium);
|
|
1452
1452
|
--gapPill: var(--spaceXXSmall);
|
|
1453
|
-
--paddingPill: var(--
|
|
1453
|
+
--paddingPill: var(--spaceXXSmall) var(--spaceSmall);
|
|
1454
1454
|
--backgroundHoverPill: var(--bgNeutralSubtlestHover);
|
|
1455
1455
|
--colorHoverPill: var(--fgNeutralDefault);
|
|
1456
1456
|
--backgroundActivePill: var(--bgNeutralDefault);
|
|
@@ -5109,6 +5109,10 @@ body.dark .l-header .c-logo__img--dark {
|
|
|
5109
5109
|
overflow: hidden;
|
|
5110
5110
|
width: var(--spaceMedium);
|
|
5111
5111
|
}
|
|
5112
|
+
.c-chartLegend__row__avatar {
|
|
5113
|
+
margin-right: var(--spaceXSmall);
|
|
5114
|
+
border: 1px solid var(--borderNeutralSubtlest);
|
|
5115
|
+
}
|
|
5112
5116
|
.c-chartLegend__row__percentage {
|
|
5113
5117
|
flex: 0 20%;
|
|
5114
5118
|
min-width: var(--spaceXXXLarge);
|
|
@@ -5754,7 +5758,6 @@ body.dark .l-header .c-logo__img--dark {
|
|
|
5754
5758
|
display: flex;
|
|
5755
5759
|
flex: 1 0 auto;
|
|
5756
5760
|
flex-wrap: nowrap;
|
|
5757
|
-
font-size: var(--fontSizeListTabs);
|
|
5758
5761
|
list-style: none;
|
|
5759
5762
|
overflow-x: auto;
|
|
5760
5763
|
padding: 0 0 var(--spaceSmall) 0;
|
|
@@ -9795,7 +9798,7 @@ body.dark .u-fg--fgWhiteDefault {
|
|
|
9795
9798
|
/* Slider */
|
|
9796
9799
|
.slick-loading .slick-list
|
|
9797
9800
|
{
|
|
9798
|
-
background: #fff url('assets/
|
|
9801
|
+
background: #fff url('assets/1fdfd9976f0bebc0f4e4.gif') center center no-repeat;
|
|
9799
9802
|
}
|
|
9800
9803
|
|
|
9801
9804
|
/* Icons */
|
|
@@ -9805,8 +9808,8 @@ body.dark .u-fg--fgWhiteDefault {
|
|
|
9805
9808
|
font-weight: normal;
|
|
9806
9809
|
font-style: normal;
|
|
9807
9810
|
|
|
9808
|
-
src: url('assets/
|
|
9809
|
-
src: url('assets/
|
|
9811
|
+
src: url('assets/c6d469eba830e772450a.eot');
|
|
9812
|
+
src: url('assets/2803ae993abc66a8280a.eot') format('embedded-opentype'), url('assets/4a1c503b46cb7df321cf.woff') format('woff'), url('assets/ba7afd8feee3c109bccc.ttf') format('truetype'), url('assets/eab0102ef47f11f3a8c1.svg') format('svg');
|
|
9810
9813
|
}
|
|
9811
9814
|
/* Arrows */
|
|
9812
9815
|
.slick-prev,
|
|
@@ -6,6 +6,8 @@ export interface TagPropsType extends ComponentPropsType {
|
|
|
6
6
|
background?: BackgroundColorType | CategoryColorType | GradientColorType;
|
|
7
7
|
/** Color of tag color */
|
|
8
8
|
color?: ForegroundColorType;
|
|
9
|
+
/** Tag type */
|
|
10
|
+
type?: 'success' | 'error' | 'warning' | 'brand' | 'promo';
|
|
9
11
|
/** Tag icon name */
|
|
10
12
|
iconName?: IconNameType;
|
|
11
13
|
/** Tag icon background color */
|
|
@@ -17,5 +19,5 @@ export interface TagPropsType extends ComponentPropsType {
|
|
|
17
19
|
/** Tag content (text) */
|
|
18
20
|
children: ReactNode;
|
|
19
21
|
}
|
|
20
|
-
export declare const Tag: ({ background, children, color, iconBackground, iconColor, iconName, imageUrl, testId, theme }: TagPropsType) => JSX.Element;
|
|
22
|
+
export declare const Tag: ({ background, children, color, iconBackground, iconColor, iconName, imageUrl, testId, theme, type }: TagPropsType) => JSX.Element;
|
|
21
23
|
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/Components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACb,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAGvD,MAAM,WAAW,YAAa,SAAQ,kBAAkB;IACtD,8BAA8B;IAC9B,UAAU,CAAC,EAAE,mBAAmB,GAAG,iBAAiB,GAAG,iBAAiB,CAAA;IACxE,yBAAyB;IACzB,KAAK,CAAC,EAAE,mBAAmB,CAAA;IAC3B,oBAAoB;IACpB,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,gCAAgC;IAChC,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,mEAAmE;IACnE,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yBAAyB;IACzB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/Components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACb,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAGvD,MAAM,WAAW,YAAa,SAAQ,kBAAkB;IACtD,8BAA8B;IAC9B,UAAU,CAAC,EAAE,mBAAmB,GAAG,iBAAiB,GAAG,iBAAiB,CAAA;IACxE,yBAAyB;IACzB,KAAK,CAAC,EAAE,mBAAmB,CAAA;IAC3B,eAAe;IACf,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAA;IAC1D,oBAAoB;IACpB,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,gCAAgC;IAChC,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,mEAAmE;IACnE,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yBAAyB;IACzB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,GAAG,wGAWb,YAAY,KAAG,WAoCjB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t 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
|
|
1
|
+
import t 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 r}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import{Avatar as e}from"../Avatar/Avatar.js";var a=function(a){var o,i=a.background,s=a.children,u=a.color,g=a.iconBackground,l=a.iconColor,c=a.iconName,n=a.imageUrl,m=a.testId,d=a.theme,f=a.type;return t.createElement("div",{className:r("c-tag",(o={"c-tag--withIcon":!!c,"c-tag--withImage":!!n},o["u-bg--".concat(i)]=i,o["u-fg--".concat(u)]=u,o["u-bg--bgSuccessDefault"]="success"===f,o["u-fg--fgSuccessDefault"]="success"===f,o["u-bg--bgErrorDefault"]="error"===f,o["u-fg--fgErrorDefault"]="error"===f,o["u-bg--bgWarningDefault"]="warning"===f,o["u-fg--fgWarningDefault"]="warning"===f,o["u-bg--bgBrandDefault"]="brand"===f,o["u-fg--fgBrandDefault"]="brand"===f,o["u-bg--bgPromoDefault"]="promo"===f,o["u-fg--fgPromoDefault"]="promo"===f,o),d),"data-testid":m},(c||n)&&t.createElement(e,{backgroundColor:c?g:"bgNeutralSubtlest",color:l,iconName:c,imageUrl:n,size:"xSmall"}),s)};export{a as Tag};
|
|
2
2
|
//# sourceMappingURL=Tag.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.js","sources":["../../../../src/components/Components/Tag/Tag.tsx"],"sourcesContent":[null],"names":["Tag","_a","background","children","color","iconBackground","iconColor","iconName","imageUrl","testId","theme","React","createElement","className","cx","_b","concat","Avatar","backgroundColor","size"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tag.js","sources":["../../../../src/components/Components/Tag/Tag.tsx"],"sourcesContent":[null],"names":["Tag","_a","background","children","color","iconBackground","iconColor","iconName","imageUrl","testId","theme","type","React","createElement","className","cx","_b","concat","Avatar","backgroundColor","size"],"mappings":"ubAgCO,IAAMA,EAAM,SAACC,SAClBC,EAAUD,EAAAC,WACVC,EAAQF,EAAAE,SACRC,EAAKH,EAAAG,MACLC,EAAcJ,EAAAI,eACdC,EAASL,EAAAK,UACTC,EAAQN,EAAAM,SACRC,EAAQP,EAAAO,SACRC,EAAMR,EAAAQ,OACNC,EAAKT,EAAAS,MACLC,EAAIV,EAAAU,KAC2B,OAC/BC,EACEC,cAAA,MAAA,CAAAC,UAAWC,EACT,SAAOC,EAAA,CAEL,oBAAqBT,EACrB,qBAAsBC,GACtBQ,EAAC,SAASC,OAAAf,IAAeA,EACzBc,EAAC,SAASC,OAAAb,IAAUA,EACpBY,EAAwB,0BAAW,YAATL,EAC1BK,EAAwB,0BAAW,YAATL,EAC1BK,EAAsB,wBAAW,UAATL,EACxBK,EAAsB,wBAAW,UAATL,EACxBK,EAAwB,0BAAW,YAATL,EAC1BK,EAAwB,0BAAW,YAATL,EAC1BK,EAAsB,wBAAW,UAATL,EACxBK,EAAsB,wBAAW,UAATL,EACxBK,EAAsB,wBAAW,UAATL,EACxBK,EAAsB,wBAAW,UAATL,KAE1BD,iBAEWD,IAEXF,GAAYC,IACZI,EAACC,cAAAK,EACC,CAAAC,gBAAiBZ,EAAWF,EAAiB,oBAC7CD,MAAOE,EACPC,SAAUA,EACVC,SAAUA,EACVY,KAAK,WAIRjB,EAlC4B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { BackgroundColorType, CategoryColorType, GradientColorType } from '../../../types';
|
|
2
|
+
import { BackgroundColorType, CategoryColorType, ColorType, GradientColorType } from '../../../types';
|
|
3
3
|
import { ComponentPropsType } from '../../../utils';
|
|
4
4
|
export interface ChartLegendPropsType extends ComponentPropsType {
|
|
5
5
|
/** Data for the interpretation */
|
|
@@ -12,17 +12,20 @@ export interface ChartLegendPropsType extends ComponentPropsType {
|
|
|
12
12
|
summaryLabel?: string;
|
|
13
13
|
/** Tooltip of summary label */
|
|
14
14
|
summaryLabelTooltip?: ReactNode;
|
|
15
|
+
/** Unit after value for summary row (default is 'CZK') */
|
|
16
|
+
summaryUnitAfter?: string;
|
|
15
17
|
/** Show value from data for every row (default is 'true') */
|
|
16
18
|
showValue?: boolean;
|
|
17
19
|
}
|
|
18
20
|
interface Data {
|
|
21
|
+
background?: ColorType;
|
|
19
22
|
label: string;
|
|
20
23
|
labelTooltip?: ReactNode;
|
|
21
24
|
value: number;
|
|
22
|
-
color
|
|
25
|
+
color?: BackgroundColorType | CategoryColorType | GradientColorType;
|
|
23
26
|
percentage?: string;
|
|
24
27
|
unitAfter?: string;
|
|
25
28
|
}
|
|
26
|
-
export declare const ChartLegend: ({ data, emptySummaryColor, hasSummaryRow, showValue, summaryLabel, summaryLabelTooltip, theme }: ChartLegendPropsType) => JSX.Element;
|
|
29
|
+
export declare const ChartLegend: ({ data, emptySummaryColor, hasSummaryRow, showValue, summaryLabel, summaryLabelTooltip, summaryUnitAfter, theme }: ChartLegendPropsType) => JSX.Element;
|
|
27
30
|
export {};
|
|
28
31
|
//# sourceMappingURL=ChartLegend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../../src/components/Graphs/ChartLegend/ChartLegend.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../../src/components/Graphs/ChartLegend/ChartLegend.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACrG,OAAO,EAAE,kBAAkB,EAAM,MAAM,gBAAgB,CAAA;AAGvD,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB;IAC9D,kCAAkC;IAClC,IAAI,EAAE,IAAI,EAAE,CAAA;IACZ,wDAAwD;IACxD,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,+FAA+F;IAC/F,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,+BAA+B;IAC/B,mBAAmB,CAAC,EAAE,SAAS,CAAA;IAC/B,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,UAAU,IAAI;IACZ,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,mBAAmB,GAAG,iBAAiB,GAAG,iBAAiB,CAAA;IACnE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,WAAW,sHASrB,oBAAoB,KAAG,WA8BzB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e 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 t}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import{ChartLegendRow as
|
|
1
|
+
import e 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 t}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import{ChartLegendRow as r}from"./_elements_/ChartLegendRow.js";var o=function(o){var a=o.data,l=o.emptySummaryColor,i=o.hasSummaryRow,s=o.showValue,m=void 0===s||s,u=o.summaryLabel,n=o.summaryLabelTooltip,p=o.summaryUnitAfter,c=void 0===p?"CZK":p,d=o.theme,f=a.map((function(e){return e.value})).reduce((function(e,t){return e+t}),0);return e.createElement("div",{className:t("c-chartLegend",d)},a.map((function(t,o){return e.createElement(r,{key:o,background:t.background,color:t.color,label:t.label,labelTooltip:t.labelTooltip,percentage:t.percentage,showValue:m,unitAfter:t.unitAfter,value:t.value})})),i&&e.createElement(r,{hasSeparationLine:!0,emptySummaryColor:l,label:u,labelTooltip:n,showValue:m,unitAfter:c,value:f}))};export{o as ChartLegend};
|
|
2
2
|
//# sourceMappingURL=ChartLegend.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegend.js","sources":["../../../../src/components/Graphs/ChartLegend/ChartLegend.tsx"],"sourcesContent":[null],"names":["ChartLegend","_a","data","emptySummaryColor","hasSummaryRow","_b","showValue","summaryLabel","summaryLabelTooltip","theme","sum","map","item","value","reduce","prev","curr","React","className","cx","entry","i","createElement","ChartLegendRow","key","color","label","labelTooltip","percentage","unitAfter","hasSeparationLine"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChartLegend.js","sources":["../../../../src/components/Graphs/ChartLegend/ChartLegend.tsx"],"sourcesContent":[null],"names":["ChartLegend","_a","data","emptySummaryColor","hasSummaryRow","_b","showValue","summaryLabel","summaryLabelTooltip","_c","summaryUnitAfter","theme","sum","map","item","value","reduce","prev","curr","React","className","cx","entry","i","createElement","ChartLegendRow","key","background","color","label","labelTooltip","percentage","unitAfter","hasSeparationLine"],"mappings":"0cAiCO,IAAMA,EAAc,SAACC,GAC1B,IAAAC,EAAID,EAAAC,KACJC,EAAiBF,EAAAE,kBACjBC,EAAaH,EAAAG,cACbC,EAAgBJ,EAAAK,UAAhBA,OAAS,IAAAD,GAAOA,EAChBE,EAAYN,EAAAM,aACZC,EAAmBP,EAAAO,oBACnBC,EAAAR,EAAAS,iBAAAA,OAAmB,IAAAD,EAAA,MAAKA,EACxBE,EAAKV,EAAAU,MAECC,EAAMV,EAAKW,KAAI,SAACC,GAAS,OAAAA,EAAKC,KAAK,IAAEC,QAAO,SAACC,EAAMC,GAAS,OAAAD,EAAOC,CAAP,GAAa,GAC/E,OACEC,uBAAKC,UAAWC,EAAG,gBAAiBV,IACjCT,EAAKW,KAAI,SAACS,EAAOC,GAAM,OACtBJ,EAACK,cAAAC,GACCC,IAAKH,EACLI,WAAYL,EAAMK,WAClBC,MAAON,EAAMM,MACbC,MAAOP,EAAMO,MACbC,aAAcR,EAAMQ,aACpBC,WAAYT,EAAMS,WAClBzB,UAAWA,EACX0B,UAAWV,EAAMU,UACjBjB,MAAOO,EAAMP,WAGhBX,GACCe,EAACK,cAAAC,GACCQ,mBAAiB,EACjB9B,kBAAmBA,EACnB0B,MAAOtB,EACPuB,aAActB,EACdF,UAAWA,EACX0B,UAAWtB,EACXK,MAAOH,IAKjB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { BackgroundColorType, CategoryColorType, GradientColorType } from '../../../../types';
|
|
2
|
+
import { BackgroundColorType, CategoryColorType, ColorType, GradientColorType } from '../../../../types';
|
|
3
3
|
import { ComponentPropsType } from '../../../../utils';
|
|
4
4
|
export interface ChartLegendRowPropsType extends ComponentPropsType {
|
|
5
5
|
color?: BackgroundColorType | CategoryColorType | GradientColorType;
|
|
6
|
-
background?:
|
|
6
|
+
background?: ColorType;
|
|
7
7
|
emptySummaryColor?: boolean;
|
|
8
8
|
label?: string;
|
|
9
9
|
labelTooltip?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegendRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graphs/ChartLegend/_elements_/ChartLegendRow.tsx"],"names":[],"mappings":"AAAA,OAAc,
|
|
1
|
+
{"version":3,"file":"ChartLegendRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graphs/ChartLegend/_elements_/ChartLegendRow.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAY,SAAS,EAAE,MAAM,OAAO,CAAA;AAElD,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AACxG,OAAO,EAAE,kBAAkB,EAAM,MAAM,mBAAmB,CAAA;AAK1D,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB;IAEjE,KAAK,CAAC,EAAE,mBAAmB,GAAG,iBAAiB,GAAG,iBAAiB,CAAA;IACnE,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;CACd;AAMD,eAAO,MAAM,cAAc,uHAUxB,uBAAuB,KAAG,WAwB5B,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t 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{Amount as
|
|
1
|
+
import t,{Fragment as e}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{Amount as n}from"../../../Typography/Amount/Amount.js";import'./../../../../ext/tslib/tslib.es6.js';import"../../../Components/Button/Button.js";import{Avatar as r}from"../../../Components/Avatar/Avatar.js";import"../../../Components/ButtonTooltip/ButtonTooltip.js";import'./../../../../ext/cuid/index.js';import"../../../../contexts/CardContext.js";import"../../../../contexts/FormGroupContext.js";import"../../../../contexts/ModalContext.js";import"../../../../contexts/Select2Context.js";import"../../../../contexts/TabsContext.js";import{Tooltip as s}from"../../../Components/Tooltip/Tooltip.js";import"react-slick";import"../../../Components/Collapse/Collapse.js";import'./../../../../ext/lodash/_baseToString.js';import'./../../../../ext/react-text-mask/dist/reactTextMask.js';import"../../../Components/Dropdown/_elements_/DropdownDivider.js";import"../../../Components/Dropdown/_elements_/DropdownItem.js";import"../../../Components/Dropdown/_elements_/DropdownMenu.js";import"../../../Components/Dropdown/_elements_/DropdownInfoText.js";import"../../../Components/Dropdown/_elements_/DropdownLoading.js";import"../../../../contexts/ContentTableContext.js";import"../../../Components/ContentTable/ContentTableRow.js";import"../../../Components/DataTable/DataTable.js";import"../../../Components/Link/Link.js";import"react-dom";import"react-router-dom";import"../../../../contexts/MobilePanelContext.js";import"../../../Components/SuperModal/SuperModal.context.js";import"../../../Form/Autocomplete/Autocomplete.js";import'./../../../../ext/react-device-detect/dist/lib.js';import"../../../Form/Select/_elements_/Select2CategorisedOptions.js";import"../../../Form/Select/_elements_/Select2Options.js";import"../../../Form/Slider/Slider.js";var m=function(m){var i=m.background,a=m.emptySummaryColor,l=m.hasSeparationLine,p=m.label,c=m.labelTooltip,d=m.percentage,_=m.showValue,u=m.unitAfter,j=void 0===u?"CZK":u,C=m.value;return t.createElement("div",{className:o("c-chartLegend__row",l&&"c-chartLegend__row--separator")},t.createElement("div",{className:o("c-chartLegend__row__label")},!a&&t.createElement(e,null,t.createElement(r,{isIconSizing:!0,backgroundColor:i,className:"c-chartLegend__row__avatar",size:"xSmall"})),p,c&&t.createElement(s,{content:c},t.createElement("span",{className:o("f-label__tooltip2")},t.createElement(r,{backgroundColor:"bgInfoBold",iconName:"info",size:"xSmall"})))),d&&t.createElement("div",{className:o("c-chartLegend__row__percentage")},d),_&&t.createElement("div",{className:o("c-chartLegend__row__value")},t.createElement(n,{isBold:!0,isInline:!0,amount:C,unitAfter:j})))};export{m as ChartLegendRow};
|
|
2
2
|
//# sourceMappingURL=ChartLegendRow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegendRow.js","sources":["../../../../../src/components/Graphs/ChartLegend/_elements_/ChartLegendRow.tsx"],"sourcesContent":[null],"names":["ChartLegendRow","_a","background","emptySummaryColor","hasSeparationLine","label","labelTooltip","percentage","showValue","
|
|
1
|
+
{"version":3,"file":"ChartLegendRow.js","sources":["../../../../../src/components/Graphs/ChartLegend/_elements_/ChartLegendRow.tsx"],"sourcesContent":[null],"names":["ChartLegendRow","_a","background","emptySummaryColor","hasSeparationLine","label","labelTooltip","percentage","showValue","_b","unitAfter","value","React","createElement","className","cx","Fragment","Avatar","isIconSizing","backgroundColor","size","Tooltip","content","iconName","Amount","isBold","isInline","amount"],"mappings":"8qEA0BO,IAAMA,EAAiB,SAACC,GAC7B,IAAAC,EAAUD,EAAAC,WACVC,EAAiBF,EAAAE,kBACjBC,EAAiBH,EAAAG,kBACjBC,EAAKJ,EAAAI,MACLC,EAAYL,EAAAK,aACZC,EAAUN,EAAAM,WACVC,EAASP,EAAAO,UACTC,EAAiBR,EAAAS,UAAjBA,OAAS,IAAAD,EAAG,MAAKA,EACjBE,EAAKV,EAAAU,MACqC,OAC1CC,EAAKC,cAAA,MAAA,CAAAC,UAAWC,EAAG,qBAAsBX,GAAqB,kCAC5DQ,EAAAC,cAAA,MAAA,CAAKC,UAAWC,EAAG,+BACfZ,GACAS,EAAAC,cAACG,EAAQ,KACPJ,EAAAC,cAACI,EAAO,CAAAC,cAAa,EAAAC,gBAAiBjB,EAAYY,UAAU,6BAA6BM,KAAK,YAGjGf,EACAC,GACCM,EAAAC,cAACQ,EAAQ,CAAAC,QAAShB,GAChBM,EAAAC,cAAA,OAAA,CAAMC,UAAWC,EAAG,sBAClBH,EAAAC,cAACI,EAAO,CAAAE,gBAAgB,aAAaI,SAAS,OAAOH,KAAK,cAKjEb,GAAcK,EAAKC,cAAA,MAAA,CAAAC,UAAWC,EAAG,mCAAoCR,GACrEC,GACCI,EAAKC,cAAA,MAAA,CAAAC,UAAWC,EAAG,8BACjBH,EAAAC,cAACW,EAAO,CAAAC,QAAO,EAAAC,YAASC,OAAQhB,EAAOD,UAAWA,KApBd"}
|
package/ds-lilly.css
CHANGED
|
@@ -1448,9 +1448,9 @@ body {
|
|
|
1448
1448
|
--colorPill: var(--fgNeutralDefault);
|
|
1449
1449
|
--fontSizePill: var(--fontSizeSmall);
|
|
1450
1450
|
--fontWeightPill: var(--fontWeightNormal);
|
|
1451
|
-
--lineHeightPill: var(--
|
|
1451
|
+
--lineHeightPill: var(--lineHeightMedium);
|
|
1452
1452
|
--gapPill: var(--spaceXXSmall);
|
|
1453
|
-
--paddingPill: var(--
|
|
1453
|
+
--paddingPill: var(--spaceXXSmall) var(--spaceSmall);
|
|
1454
1454
|
--backgroundHoverPill: var(--bgNeutralSubtlestHover);
|
|
1455
1455
|
--colorHoverPill: var(--fgNeutralDefault);
|
|
1456
1456
|
--backgroundActivePill: var(--bgNeutralDefault);
|
|
@@ -5109,6 +5109,10 @@ body.dark .l-header .c-logo__img--dark {
|
|
|
5109
5109
|
overflow: hidden;
|
|
5110
5110
|
width: var(--spaceMedium);
|
|
5111
5111
|
}
|
|
5112
|
+
.c-chartLegend__row__avatar {
|
|
5113
|
+
margin-right: var(--spaceXSmall);
|
|
5114
|
+
border: 1px solid var(--borderNeutralSubtlest);
|
|
5115
|
+
}
|
|
5112
5116
|
.c-chartLegend__row__percentage {
|
|
5113
5117
|
flex: 0 20%;
|
|
5114
5118
|
min-width: var(--spaceXXXLarge);
|
|
@@ -5754,7 +5758,6 @@ body.dark .l-header .c-logo__img--dark {
|
|
|
5754
5758
|
display: flex;
|
|
5755
5759
|
flex: 1 0 auto;
|
|
5756
5760
|
flex-wrap: nowrap;
|
|
5757
|
-
font-size: var(--fontSizeListTabs);
|
|
5758
5761
|
list-style: none;
|
|
5759
5762
|
overflow-x: auto;
|
|
5760
5763
|
padding: 0 0 var(--spaceSmall) 0;
|
|
@@ -9795,7 +9798,7 @@ body.dark .u-fg--fgWhiteDefault {
|
|
|
9795
9798
|
/* Slider */
|
|
9796
9799
|
.slick-loading .slick-list
|
|
9797
9800
|
{
|
|
9798
|
-
background: #fff url('assets/
|
|
9801
|
+
background: #fff url('assets/e05da36f16ae8d2f91e3.gif') center center no-repeat;
|
|
9799
9802
|
}
|
|
9800
9803
|
|
|
9801
9804
|
/* Icons */
|
|
@@ -9805,8 +9808,8 @@ body.dark .u-fg--fgWhiteDefault {
|
|
|
9805
9808
|
font-weight: normal;
|
|
9806
9809
|
font-style: normal;
|
|
9807
9810
|
|
|
9808
|
-
src: url('assets/
|
|
9809
|
-
src: url('assets/
|
|
9811
|
+
src: url('assets/40f7b671388a923c9146.eot');
|
|
9812
|
+
src: url('assets/1fbc5f4778163c1e997c.eot') format('embedded-opentype'), url('assets/4fc354f8ede618485e24.woff') format('woff'), url('assets/db508e2691a007568b52.ttf') format('truetype'), url('assets/b16f18454473e97eade0.svg') format('svg');
|
|
9810
9813
|
}
|
|
9811
9814
|
/* Arrows */
|
|
9812
9815
|
.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
|