@splunk/visualizations 28.2.0 → 28.2.2
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/Area.js +11 -12
- package/Area.js.map +2 -2
- package/Bar.js +11 -12
- package/Bar.js.map +2 -2
- package/Bubble.js +11 -12
- package/Bubble.js.map +2 -2
- package/CHANGELOG.external.md +36 -0
- package/ChoroplethSvg.js +11 -12
- package/ChoroplethSvg.js.map +2 -2
- package/Column.js +11 -12
- package/Column.js.map +2 -2
- package/Ellipse.js +11 -12
- package/Ellipse.js.map +2 -2
- package/Events.js +11 -12
- package/Events.js.map +2 -2
- package/FillerGauge.js +11 -12
- package/FillerGauge.js.map +2 -2
- package/Image.js +11 -12
- package/Image.js.map +2 -2
- package/Line.js +11 -12
- package/Line.js.map +2 -2
- package/LinkGraph.js +11 -12
- package/LinkGraph.js.map +2 -2
- package/Map.js +11 -12
- package/Map.js.map +2 -2
- package/Markdown.js +11 -12
- package/Markdown.js.map +2 -2
- package/MarkerGauge.js +11 -12
- package/MarkerGauge.js.map +2 -2
- package/ParallelCoordinates.js +11 -12
- package/ParallelCoordinates.js.map +2 -2
- package/Pie.js +11 -12
- package/Pie.js.map +2 -2
- package/Punchcard.js +11 -12
- package/Punchcard.js.map +2 -2
- package/Rectangle.js +11 -12
- package/Rectangle.js.map +2 -2
- package/Sankey.js +11 -12
- package/Sankey.js.map +2 -2
- package/Scatter.js +11 -12
- package/Scatter.js.map +2 -2
- package/SingleValue.js +11 -12
- package/SingleValue.js.map +2 -2
- package/SingleValueIcon.js +11 -12
- package/SingleValueIcon.js.map +2 -2
- package/SingleValueRadial.js +11 -12
- package/SingleValueRadial.js.map +2 -2
- package/Table.js +105 -43
- package/Table.js.map +3 -3
- package/Timeline.js +11 -12
- package/Timeline.js.map +2 -2
- package/common/withDashboardViz.js +11 -12
- package/common/withDashboardViz.js.map +2 -2
- package/dist/types/Table/PureTable.d.ts.map +1 -1
- package/dist/types/Table/cells/ArrayCell.d.ts.map +1 -1
- package/dist/types/Table/cells/TextCell.d.ts.map +1 -1
- package/dist/types/Table/hooks.d.ts +2 -1
- package/dist/types/Table/hooks.d.ts.map +1 -1
- package/dist/types/common/components/IconPlaceholder.d.ts.map +1 -1
- package/dist/types/common/hocs/FixedSizeContainer.d.ts.map +1 -1
- package/package.json +15 -15
package/LinkGraph.js
CHANGED
|
@@ -3038,7 +3038,7 @@ var Cover = styled_components_default.div`
|
|
|
3038
3038
|
bottom: 0;
|
|
3039
3039
|
`;
|
|
3040
3040
|
var Blocker = styled_components_default.div.attrs({
|
|
3041
|
-
"data-splunk-visualization-version": "28.2.
|
|
3041
|
+
"data-splunk-visualization-version": "28.2.2 - b595a32f1"
|
|
3042
3042
|
})`
|
|
3043
3043
|
position: relative;
|
|
3044
3044
|
width: 100%;
|
|
@@ -3107,14 +3107,18 @@ var FixSizeItem = styled_components_default.div.attrs(
|
|
|
3107
3107
|
({
|
|
3108
3108
|
width,
|
|
3109
3109
|
height
|
|
3110
|
-
}) =>
|
|
3111
|
-
|
|
3112
|
-
|
|
3110
|
+
}) => {
|
|
3111
|
+
const validHeight = typeof height === "number" ? Math.max(height, 1) : height;
|
|
3112
|
+
return {
|
|
3113
|
+
style: __spreadValues(__spreadValues({}, width && { width: (0, style_exports.toPx)(width) }), validHeight && { height: (0, style_exports.toPx)(validHeight) })
|
|
3114
|
+
};
|
|
3115
|
+
}
|
|
3113
3116
|
)`
|
|
3114
3117
|
position: relative;
|
|
3115
3118
|
flex-direction: column;
|
|
3116
3119
|
flex: 1;
|
|
3117
3120
|
display: flex;
|
|
3121
|
+
overflow: hidden !important;
|
|
3118
3122
|
background-color: ${(props) => (0, colorUtils_exports.isColor)(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor}};
|
|
3119
3123
|
`;
|
|
3120
3124
|
var ItemContent = styled_components_default.div`
|
|
@@ -3127,6 +3131,7 @@ var FixSizeItemContent = styled_components_default.div`
|
|
|
3127
3131
|
flex: 1;
|
|
3128
3132
|
position: relative;
|
|
3129
3133
|
box-sizing: border-box;
|
|
3134
|
+
overflow: hidden !important;
|
|
3130
3135
|
`;
|
|
3131
3136
|
var withFixedSizeContainer = (Viz) => {
|
|
3132
3137
|
const FixedSizeContainer = (props) => {
|
|
@@ -3144,7 +3149,7 @@ var withFixedSizeContainer = (Viz) => {
|
|
|
3144
3149
|
FixSizeItem,
|
|
3145
3150
|
{
|
|
3146
3151
|
"data-test": "fix-size-item",
|
|
3147
|
-
"data-splunk-visualization-version": "28.2.
|
|
3152
|
+
"data-splunk-visualization-version": "28.2.2 - b595a32f1",
|
|
3148
3153
|
width,
|
|
3149
3154
|
height,
|
|
3150
3155
|
backgroundColor
|
|
@@ -3173,12 +3178,6 @@ var IconPlaceholder = (props) => {
|
|
|
3173
3178
|
iconColor,
|
|
3174
3179
|
backgroundColor
|
|
3175
3180
|
} = props;
|
|
3176
|
-
const cachedHandleResize = react_exports.useCallback((w, h) => {
|
|
3177
|
-
setContainerWidth(w);
|
|
3178
|
-
setContainerHeight(h);
|
|
3179
|
-
}, []);
|
|
3180
|
-
const [containerWidth, setContainerWidth] = react_exports.useState(Number(width));
|
|
3181
|
-
const [containerHeight, setContainerHeight] = react_exports.useState(Number(height));
|
|
3182
3181
|
let content = /* @__PURE__ */ react_exports.createElement(Message_default, { width, height, level: "warning", message: (0, i18n_exports._)("No DataSource Connected") });
|
|
3183
3182
|
if (icon) {
|
|
3184
3183
|
content = react_exports.createElement(icon, {
|
|
@@ -3195,7 +3194,7 @@ var IconPlaceholder = (props) => {
|
|
|
3195
3194
|
"data-test": "icon-placeholder"
|
|
3196
3195
|
});
|
|
3197
3196
|
}
|
|
3198
|
-
return /* @__PURE__ */ react_exports.createElement("div", { style: { width
|
|
3197
|
+
return /* @__PURE__ */ react_exports.createElement("div", { style: { width, height, background: backgroundColor } }, content);
|
|
3199
3198
|
};
|
|
3200
3199
|
var IconPlaceholder_default = FixedSizeContainer_default(IconPlaceholder);
|
|
3201
3200
|
|