@carbon/charts-react 1.27.12 → 1.27.14
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/index.mjs +21 -21
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +3 -3
package/dist/index.umd.js
CHANGED
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
Copyright (c) 2018 Jed Watson.
|
|
76
76
|
Licensed under the MIT License (MIT), see
|
|
77
77
|
http://jedwatson.github.io/classnames
|
|
78
|
-
*/var Yv;function tB(){return Yv||(Yv=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var s="",a=0;a<arguments.length;a++){var o=arguments[a];o&&(s=i(s,r(o)))}return s}function r(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var a="";for(var o in s)t.call(s,o)&&s[o]&&(a=i(a,o));return a}function i(s,a){return a?s?s+" "+a:s+a:s}e.exports?(n.default=n,e.exports=n):window.classNames=n})()}(Ru)),Ru.exports}var eB=tB();const jn=J3(eB),Wn="cds",nB=({tag:e="div",className:t,children:n,color:r,href:i,position:s="static",stacked:a,...o})=>{const l=i?"a":o.onClick?"button":e,c=`${Wn}--cc--card-node`,u=jn(c,{[`${c}--stacked`]:a,[`${c}--${l}`]:l,[t]:t});return xt.createElement(l,{className:u,style:{borderColor:r,position:s},tabIndex:0,...o},n)},rB=({children:e,farsideColumn:t=!1,...n})=>{const r=`${Wn}--cc--card-node`,i=jn(`${r}__column`,{[`${r}__column--farside`]:t,...n.className?{[n.className]:!0}:{}});return xt.createElement("div",{className:i,...n},e)},iB=({children:e,...t})=>{const n=`${Wn}--cc--card-node`,r=jn(`${n}__label`,{...t.className?{[t.className]:!0}:{}});return xt.createElement("label",{className:r,...t},e)},sB=({children:e,...t})=>{const n=`${Wn}--cc--card-node`,r=jn(`${n}__subtitle`,{...t.className?{[t.className]:!0}:{}});return xt.createElement("div",{className:r,...t},e)},aB=({children:e,...t})=>{const n=`${Wn}--cc--card-node`,r=jn(`${n}__title`,{...t.className?{[t.className]:!0}:{}});return xt.createElement("div",{className:r,...t},e)},oB=({
|
|
78
|
+
*/var Yv;function tB(){return Yv||(Yv=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var s="",a=0;a<arguments.length;a++){var o=arguments[a];o&&(s=i(s,r(o)))}return s}function r(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var a="";for(var o in s)t.call(s,o)&&s[o]&&(a=i(a,o));return a}function i(s,a){return a?s?s+" "+a:s+a:s}e.exports?(n.default=n,e.exports=n):window.classNames=n})()}(Ru)),Ru.exports}var eB=tB();const jn=J3(eB),Wn="cds",nB=({tag:e="div",className:t,children:n,color:r,href:i,position:s="static",stacked:a,...o})=>{const l=i?"a":o.onClick?"button":e,c=`${Wn}--cc--card-node`,u=jn(c,{[`${c}--stacked`]:a,[`${c}--${l}`]:l,[t]:t});return xt.createElement(l,{className:u,style:{borderColor:r,position:s},tabIndex:0,...o},n)},rB=({children:e,farsideColumn:t=!1,...n})=>{const r=`${Wn}--cc--card-node`,i=jn(`${r}__column`,{[`${r}__column--farside`]:t,...n.className?{[n.className]:!0}:{}});return xt.createElement("div",{className:i,...n},e)},iB=({children:e,...t})=>{const n=`${Wn}--cc--card-node`,r=jn(`${n}__label`,{...t.className?{[t.className]:!0}:{}});return xt.createElement("label",{className:r,...t},e)},sB=({children:e,...t})=>{const n=`${Wn}--cc--card-node`,r=jn(`${n}__subtitle`,{...t.className?{[t.className]:!0}:{}});return xt.createElement("div",{className:r,...t},e)},aB=({children:e,...t})=>{const n=`${Wn}--cc--card-node`,r=jn(`${n}__title`,{...t.className?{[t.className]:!0}:{}});return xt.createElement("div",{className:r,...t},e)},oB=({className:e,color:t,markerEnd:n,markerStart:r,path:i,source:s,target:a,variant:o=null,...l})=>{const c=`${Wn}--cc--edge`,u=jn(c,e,{[`${c}--${o}`]:o});let d=i;if(!d&&s&&a&&(d=OD(s,a)),!d)throw Error("Missing parameters for Edge component: path or source and target.");return xt.createElement("g",{className:u,...l},xt.createElement("path",{d,className:`${c}__container`}),xt.createElement("path",{d,className:`${c}__outer`}),xt.createElement("path",{d,className:`${c}__inner`,markerEnd:`url(#${n})`,markerStart:`url(#${r})`,style:{stroke:t}}))},Er=({color:e,d:t,id:n,orient:r="auto",height:i,width:s,position:a="end",className:o,refX:l,refY:c,...u})=>{const d=`${Wn}--cc--marker`,h=jn(d,o),p=a==="end"?(s||0)/2+.5:.5,f=(i||0)/2;return xt.createElement("marker",{className:h,markerHeight:i,markerWidth:s,orient:r,id:n,refX:l||p,refY:c||f,markerUnits:"userSpaceOnUse",...u},xt.createElement("path",{d:t,style:{fill:e}}))},lB=e=>xt.createElement(Er,{d:SD.d,...e}),cB=e=>xt.createElement(Er,{d:wD.d,...e}),uB=e=>xt.createElement(Er,{d:$D.d,...e}),hB=e=>xt.createElement(Er,{d:MD.d,...e}),dB=e=>xt.createElement(Er,{d:CD.d,...e}),pB=e=>xt.createElement(Er,{d:AD.d,...e}),fB=({shape:e="circle",tag:t="div",title:n="Title",className:r,subtitle:i,description:s,renderIcon:a,href:o,size:l=48,stacked:c,position:u="fixed",bodyPosition:d="absolute",...h})=>{const p=o?"a":h.onClick?"button":t,f=`${Wn}--cc--shape-node`,g=jn(f,{[`${f}--stacked`]:c,[`${f}--${e}`]:e,[`${f}--${p}`]:p,[r]:r}),m=n?xt.createElement("div",{className:`${f}__title`},n):null,v=i?xt.createElement("div",{className:`${f}__subtitle`},i):null,x=s?xt.createElement("div",{className:`${f}__description`},s):null;return xt.createElement(p,{className:g,style:{height:l,width:l,position:u},tabIndex:0,...h},xt.createElement("div",{className:`${f}__icon`},a),xt.createElement("div",{className:`${f}__body`,style:{position:d}},m,v,x))};G.Alignments=jt,G.AlluvialChart=C3,G.AreaChart=A3,G.AreaEvent=ko,G.ArrowDirections=Ns,G.ArrowLeftMarker=lB,G.ArrowRightMarker=cB,G.AxisEvent=Lo,G.AxisFlavor=Si,G.AxisPositions=V,G.AxisTitleOrientations=Ps,G.BarEvent=No,G.BoxplotChart=L3,G.BoxplotEvent=Po,G.BubbleChart=k3,G.BulletChart=D3,G.CalloutDirections=_i,G.CanvasZoomEvent=Ao,G.CardNode=nB,G.CardNodeColumn=rB,G.CardNodeLabel=iB,G.CardNodeSubtitle=sB,G.CardNodeTitle=aB,G.CartesianOrientations=zt,G.ChartEvent=So,G.ChartTheme=zo,G.ChartTypes=Ee,G.ChoroplethChart=qv,G.CircleMarker=uB,G.CirclePackChart=R3,G.ColorClassNameTypes=st,G.ColorLegendType=Oi,G.ComboChart=I3,G.DiamondMarker=hB,G.DividerStatus=Cr,G.DominantBaseline=Je,G.DonutChart=N3,G.Edge=oB,G.ExperimentalChoroplethChart=qv,G.GaugeChart=P3,G.GaugeEvent=Io,G.GaugeTypes=Xn,G.GroupedBarChart=B3,G.HeatmapChart=U3,G.HistogramChart=H3,G.LayoutAlignItems=Yn,G.LayoutDirection=Ct,G.LayoutGrowth=ct,G.LegendItemType=qt,G.LegendOrientations=Mr,G.LegendPositions=$r,G.LineChart=V3,G.LineEvent=Uo,G.LollipopChart=G3,G.Marker=Er,G.MeterChart=F3,G.ModalEvent=wo,G.ModelEvent=$o,G.PieChart=z3,G.PieEvent=Ro,G.Projection=tn,G.RadarChart=j3,G.RadarEvent=Ho,G.RenderTypes=rt,G.ScaleTypes=nt,G.ScatterChart=W3,G.ScatterEvent=Bo,G.ShapeNode=fB,G.SimpleBarChart=q3,G.Skeletons=Wt,G.SquareMarker=dB,G.StackedAreaChart=Y3,G.StackedBarChart=X3,G.Statuses=Ei,G.TeeMarker=pB,G.TextAnchor=Qe,G.ThresholdEvent=Fo,G.TickRotations=Ti,G.ToolbarControlTypes=_t,G.TooltipEvent=Sr,G.TreeChart=Z3,G.TreeEvent=Vo,G.TreeTypes=Is,G.TreemapChart=K3,G.TreemapEvent=Go,G.TruncationTypes=Ae,G.WordCloudChart=Q3,G.WordCloudEvent=Do,G.ZoomBarTypes=Ve,G.ZoomDomainEvent=Co,G.ZoombarEvent=Mo,Object.defineProperty(G,Symbol.toStringTag,{value:"Module"})});
|
|
79
79
|
//# sourceMappingURL=index.umd.cjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/charts-react",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.14",
|
|
4
4
|
"description": "Carbon Charts component library for React",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"format": "prettier . --write --ignore-path ../../.prettierignore"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@carbon/charts": "1.27.
|
|
41
|
+
"@carbon/charts": "1.27.14",
|
|
42
42
|
"@carbon/icons-react": "^11.64.0",
|
|
43
43
|
"@ibm/telemetry-js": "^1.9.1"
|
|
44
44
|
},
|
|
@@ -120,5 +120,5 @@
|
|
|
120
120
|
"url": "https://github.com/theiliad"
|
|
121
121
|
}
|
|
122
122
|
],
|
|
123
|
-
"gitHead": "
|
|
123
|
+
"gitHead": "c397d67d68b51b818423383a8ca8e14d240f49c6"
|
|
124
124
|
}
|