@aivenio/aquarium 2.10.1 → 2.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atoms.cjs +1124 -1243
- package/dist/atoms.mjs +1124 -1243
- package/dist/charts.cjs +153 -197
- package/dist/charts.mjs +153 -197
- package/dist/src/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/dist/src/atoms/Navigation/Navigation.d.ts +11 -0
- package/dist/src/atoms/Navigation/Navigation.js +16 -4
- package/dist/src/atoms/RadioButton/RadioButton.d.ts +1 -1
- package/dist/src/atoms/Switch/Switch.d.ts +1 -1
- package/dist/src/icons/caretDownFilled.d.ts +9 -0
- package/dist/src/icons/caretDownFilled.js +11 -0
- package/dist/src/icons/caretUpFilled.d.ts +9 -0
- package/dist/src/icons/caretUpFilled.js +11 -0
- package/dist/src/icons/index.d.ts +2 -0
- package/dist/src/icons/index.js +3 -1
- package/dist/src/molecules/Button/Button.d.ts +9 -9
- package/dist/src/molecules/MultiInput/InputChip.js +1 -1
- package/dist/src/molecules/Navigation/Navigation.d.ts +14 -0
- package/dist/src/molecules/Navigation/Navigation.js +19 -1
- package/dist/styles.css +14 -2
- package/dist/system.cjs +3365 -4041
- package/dist/system.mjs +3356 -4032
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/tailwindGenerated.d.ts +1 -1
- package/package.json +58 -55
- package/dist/src/test/config.d.ts +0 -5
- package/dist/src/test/config.js +0 -8
package/dist/charts.mjs
CHANGED
@@ -87,24 +87,37 @@ var ResponsiveContainer = (_a) => {
|
|
87
87
|
"minHeight",
|
88
88
|
"maxHeight"
|
89
89
|
]);
|
90
|
-
return /* @__PURE__ */ React.createElement(
|
91
|
-
"
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
90
|
+
return /* @__PURE__ */ React.createElement(
|
91
|
+
"div",
|
92
|
+
{
|
93
|
+
"aria-busy": isBusy,
|
94
|
+
className: classNames(className, tw("relative")),
|
95
|
+
style: __spreadProps(__spreadValues({}, style), { width, height, minWidth, minHeight, maxHeight })
|
96
|
+
},
|
97
|
+
/* @__PURE__ */ React.createElement(
|
98
|
+
"div",
|
99
|
+
{
|
100
|
+
className: classNames(
|
101
|
+
tw("absolute inset-0 transition-colors flex items-center justify-center", {
|
102
|
+
"delay-300 z-40": isBusy
|
103
|
+
})
|
104
|
+
),
|
105
|
+
style: isBusy ? { backgroundColor: "rgba(255, 255, 255, 0.5)" } : {}
|
106
|
+
},
|
107
|
+
/* @__PURE__ */ React.createElement(
|
108
|
+
"span",
|
109
|
+
{
|
110
|
+
"aria-hidden": !isBusy,
|
111
|
+
className: tw("rounded-full text-white bg-black typography-caption py-2 px-4 transition-all", {
|
112
|
+
"opacity-100 delay-300": isBusy,
|
113
|
+
"mb-[-20px] opacity-0": !isBusy
|
114
|
+
})
|
115
|
+
},
|
116
|
+
isBusy && busyLabel
|
117
|
+
)
|
99
118
|
),
|
100
|
-
|
101
|
-
|
102
|
-
"aria-hidden": !isBusy,
|
103
|
-
className: tw("rounded-full text-white bg-black typography-caption py-2 px-4 transition-all", {
|
104
|
-
"opacity-100 delay-300": isBusy,
|
105
|
-
"mb-[-20px] opacity-0": !isBusy
|
106
|
-
})
|
107
|
-
}, isBusy && busyLabel)), /* @__PURE__ */ React.createElement(_ResponsiveContainer, __spreadValues({}, props)));
|
119
|
+
/* @__PURE__ */ React.createElement(_ResponsiveContainer, __spreadValues({}, props))
|
120
|
+
);
|
108
121
|
};
|
109
122
|
|
110
123
|
// src/charts/DefaultPalette/DefaultPalette.tsx
|
@@ -878,20 +891,14 @@ var DefaultPalette = ({ palette = "primary", children }) => {
|
|
878
891
|
},
|
879
892
|
[colors]
|
880
893
|
);
|
881
|
-
return /* @__PURE__ */ React2.createElement(DefaultPaletteContext.Provider, {
|
882
|
-
value: { getDefaultColor }
|
883
|
-
}, children);
|
894
|
+
return /* @__PURE__ */ React2.createElement(DefaultPaletteContext.Provider, { value: { getDefaultColor } }, children);
|
884
895
|
};
|
885
896
|
|
886
897
|
// src/charts/Grid/Grid.tsx
|
887
898
|
import React3 from "react";
|
888
899
|
import { CartesianGrid as _CartesianGrid } from "recharts";
|
889
900
|
var CartesianGrid = Object.assign(
|
890
|
-
(props) => /* @__PURE__ */ React3.createElement(_CartesianGrid, __spreadProps(__spreadValues({
|
891
|
-
strokeDasharray: "3 3"
|
892
|
-
}, props), {
|
893
|
-
vertical: false
|
894
|
-
})),
|
901
|
+
(props) => /* @__PURE__ */ React3.createElement(_CartesianGrid, __spreadProps(__spreadValues({ strokeDasharray: "3 3" }, props), { vertical: false })),
|
895
902
|
_CartesianGrid
|
896
903
|
);
|
897
904
|
|
@@ -2739,11 +2746,7 @@ YAxis.displayName = "Axis.YAxis";
|
|
2739
2746
|
var renderXAxis = (child, chartProps) => {
|
2740
2747
|
const _a = child.props, { tickLine = false, ticks: ticks2, domain } = _a, props = __objRest(_a, ["tickLine", "ticks", "domain"]);
|
2741
2748
|
const xticks = getXAxisTicks(__spreadValues({ domain }, child.props), chartProps);
|
2742
|
-
return /* @__PURE__ */ React5.createElement(_XAxis, __spreadValues({
|
2743
|
-
tickLine,
|
2744
|
-
ticks: xticks,
|
2745
|
-
domain
|
2746
|
-
}, props));
|
2749
|
+
return /* @__PURE__ */ React5.createElement(_XAxis, __spreadValues({ tickLine, ticks: xticks, domain }, props));
|
2747
2750
|
};
|
2748
2751
|
var renderXTimeAxis = (child, chartProps) => {
|
2749
2752
|
const _a = child.props, { tickLine = false, ticks: ticks2, domain, utc = true } = _a, props = __objRest(_a, ["tickLine", "ticks", "domain", "utc"]);
|
@@ -2751,21 +2754,21 @@ var renderXTimeAxis = (child, chartProps) => {
|
|
2751
2754
|
const normalizedDomain = normalizeAxisDomain(domain);
|
2752
2755
|
const [min, max] = getXAxisExtent(chartProps.data, child.props.dataKey);
|
2753
2756
|
const effectiveDomain = normalizedDomain != null ? normalizedDomain : min !== void 0 && max !== void 0 ? [Number(min), Number(max)] : ["auto", "auto"];
|
2754
|
-
return /* @__PURE__ */ React5.createElement(
|
2755
|
-
|
2756
|
-
|
2757
|
-
|
2758
|
-
|
2759
|
-
|
2760
|
-
|
2761
|
-
|
2757
|
+
return /* @__PURE__ */ React5.createElement(
|
2758
|
+
_XAxis,
|
2759
|
+
__spreadValues({
|
2760
|
+
scale: utc ? "utc" : "time",
|
2761
|
+
type: "number",
|
2762
|
+
allowDataOverflow: true,
|
2763
|
+
domain: effectiveDomain,
|
2764
|
+
tickLine,
|
2765
|
+
ticks: xticks
|
2766
|
+
}, props)
|
2767
|
+
);
|
2762
2768
|
};
|
2763
2769
|
var renderYAxis = (child, _props) => {
|
2764
2770
|
const _a = child.props, { axisLine = false, tickLine = false } = _a, props = __objRest(_a, ["axisLine", "tickLine"]);
|
2765
|
-
return /* @__PURE__ */ React5.createElement(_YAxis, __spreadValues({
|
2766
|
-
axisLine,
|
2767
|
-
tickLine
|
2768
|
-
}, props));
|
2771
|
+
return /* @__PURE__ */ React5.createElement(_YAxis, __spreadValues({ axisLine, tickLine }, props));
|
2769
2772
|
};
|
2770
2773
|
var Axis = {
|
2771
2774
|
XAxis,
|
@@ -2823,9 +2826,7 @@ var TooltipContentWrapper = (_a) => {
|
|
2823
2826
|
if (isFunction(content)) {
|
2824
2827
|
return React6.createElement(content, propsWithPayload);
|
2825
2828
|
}
|
2826
|
-
return /* @__PURE__ */ React6.createElement(Tooltip.DefaultContent, __spreadProps(__spreadValues({}, props), {
|
2827
|
-
payload
|
2828
|
-
}));
|
2829
|
+
return /* @__PURE__ */ React6.createElement(Tooltip.DefaultContent, __spreadProps(__spreadValues({}, props), { payload }));
|
2829
2830
|
};
|
2830
2831
|
|
2831
2832
|
// src/charts/lib/utils.tsx
|
@@ -2864,9 +2865,7 @@ var renderChartChildren = (child, chartProps) => {
|
|
2864
2865
|
return renderYAxis(child, chartProps);
|
2865
2866
|
}
|
2866
2867
|
case Tooltip.displayName: {
|
2867
|
-
return React7.cloneElement(child, { content: /* @__PURE__ */ React7.createElement(TooltipContentWrapper, {
|
2868
|
-
content: child.props.content
|
2869
|
-
}) });
|
2868
|
+
return React7.cloneElement(child, { content: /* @__PURE__ */ React7.createElement(TooltipContentWrapper, { content: child.props.content }) });
|
2870
2869
|
}
|
2871
2870
|
default: {
|
2872
2871
|
return child;
|
@@ -2927,34 +2926,35 @@ var AreaChart = (_a) => {
|
|
2927
2926
|
"palette"
|
2928
2927
|
]);
|
2929
2928
|
const [tooltip] = extractChildByDisplayName(props.children, Tooltip.displayName);
|
2930
|
-
return /* @__PURE__ */ React8.createElement(DefaultPalette, {
|
2931
|
-
|
2932
|
-
|
2933
|
-
|
2934
|
-
|
2935
|
-
|
2936
|
-
|
2937
|
-
|
2938
|
-
|
2939
|
-
|
2940
|
-
|
2941
|
-
margin
|
2942
|
-
}, /* @__PURE__ */ React8.createElement(CartesianGrid, null), React8.Children.map(props.children, (child) => renderChartChildren(child, props)))));
|
2929
|
+
return /* @__PURE__ */ React8.createElement(DefaultPalette, { palette }, /* @__PURE__ */ React8.createElement(ResponsiveContainer, { width: props.width, height: props.height, isBusy, busyLabel }, /* @__PURE__ */ React8.createElement(
|
2930
|
+
_AreaChart,
|
2931
|
+
{
|
2932
|
+
accessibilityLayer: tooltip !== void 0,
|
2933
|
+
data: props.data,
|
2934
|
+
style: { stroke: "#fff", strokeWidth: 1 },
|
2935
|
+
margin
|
2936
|
+
},
|
2937
|
+
/* @__PURE__ */ React8.createElement(CartesianGrid, null),
|
2938
|
+
React8.Children.map(props.children, (child) => renderChartChildren(child, props))
|
2939
|
+
)));
|
2943
2940
|
};
|
2944
2941
|
var Area = Object.assign((props) => {
|
2945
2942
|
var _a;
|
2946
2943
|
const stroke = useDefaultColor(props.dataKey.toString(), props.stroke);
|
2947
2944
|
const fill = useDefaultColor(props.dataKey.toString(), (_a = props.fill) != null ? _a : stroke);
|
2948
|
-
return /* @__PURE__ */ React8.createElement(
|
2949
|
-
|
2950
|
-
|
2951
|
-
|
2952
|
-
|
2953
|
-
|
2954
|
-
|
2955
|
-
|
2956
|
-
|
2957
|
-
|
2945
|
+
return /* @__PURE__ */ React8.createElement(
|
2946
|
+
_Area,
|
2947
|
+
__spreadProps(__spreadValues({
|
2948
|
+
type: "linear",
|
2949
|
+
strokeWidth: 2,
|
2950
|
+
dot: false
|
2951
|
+
}, props), {
|
2952
|
+
stroke,
|
2953
|
+
fill,
|
2954
|
+
fillOpacity: 0.1,
|
2955
|
+
isAnimationActive: false
|
2956
|
+
})
|
2957
|
+
);
|
2958
2958
|
}, _Area);
|
2959
2959
|
Area.defaultProps = Object.assign({}, _Area.defaultProps, {
|
2960
2960
|
fillOpacity: 0.1,
|
@@ -2988,19 +2988,17 @@ var BarChart = (_a) => {
|
|
2988
2988
|
switch (getDisplayName(child.type)) {
|
2989
2989
|
case _Bar.displayName: {
|
2990
2990
|
return React9.cloneElement(child, {
|
2991
|
-
shape: (props3) => /* @__PURE__ */ React9.createElement(Rectangle, __spreadProps(__spreadValues({}, props3), {
|
2992
|
-
className: activeIndex !== void 0 ? "inactive" : void 0
|
2993
|
-
}))
|
2991
|
+
shape: (props3) => /* @__PURE__ */ React9.createElement(Rectangle, __spreadProps(__spreadValues({}, props3), { className: activeIndex !== void 0 ? "inactive" : void 0 }))
|
2994
2992
|
});
|
2995
2993
|
}
|
2996
2994
|
case Tooltip.displayName: {
|
2997
|
-
return /* @__PURE__ */ React9.createElement(
|
2998
|
-
|
2999
|
-
|
3000
|
-
tooltipColor: "fill"
|
3001
|
-
|
3002
|
-
|
3003
|
-
|
2995
|
+
return /* @__PURE__ */ React9.createElement(
|
2996
|
+
Tooltip,
|
2997
|
+
__spreadProps(__spreadValues({}, child.props), {
|
2998
|
+
content: /* @__PURE__ */ React9.createElement(TooltipContentWrapper, { content: child.props.content, tooltipColor: "fill" }),
|
2999
|
+
cursor: false
|
3000
|
+
})
|
3001
|
+
);
|
3004
3002
|
}
|
3005
3003
|
default: {
|
3006
3004
|
return renderChartChildren(child, props2);
|
@@ -3008,28 +3006,23 @@ var BarChart = (_a) => {
|
|
3008
3006
|
}
|
3009
3007
|
});
|
3010
3008
|
};
|
3011
|
-
return /* @__PURE__ */ React9.createElement(DefaultPalette, {
|
3012
|
-
|
3013
|
-
|
3014
|
-
|
3015
|
-
|
3016
|
-
|
3017
|
-
|
3018
|
-
|
3019
|
-
|
3020
|
-
|
3021
|
-
|
3022
|
-
|
3023
|
-
|
3024
|
-
margin
|
3025
|
-
}), /* @__PURE__ */ React9.createElement(CartesianGrid, null), renderChildren(props))));
|
3009
|
+
return /* @__PURE__ */ React9.createElement(DefaultPalette, { palette }, /* @__PURE__ */ React9.createElement(ResponsiveContainer, { width: props.width, height: props.height, isBusy, busyLabel }, /* @__PURE__ */ React9.createElement(
|
3010
|
+
_BarChart,
|
3011
|
+
__spreadProps(__spreadValues({}, props), {
|
3012
|
+
accessibilityLayer: tooltip !== void 0,
|
3013
|
+
barCategoryGap: "5%",
|
3014
|
+
style: { stroke: "#fff", strokeWidth: 1 },
|
3015
|
+
onMouseMove: (state) => setActiveIndex(state.isTooltipActive ? state.activeTooltipIndex : void 0),
|
3016
|
+
onMouseLeave: () => setActiveIndex(void 0),
|
3017
|
+
margin
|
3018
|
+
}),
|
3019
|
+
/* @__PURE__ */ React9.createElement(CartesianGrid, null),
|
3020
|
+
renderChildren(props)
|
3021
|
+
)));
|
3026
3022
|
};
|
3027
3023
|
var Bar = Object.assign((props) => {
|
3028
3024
|
const fill = useDefaultColor(props.dataKey.toString(), props.fill);
|
3029
|
-
return /* @__PURE__ */ React9.createElement(_Bar, __spreadProps(__spreadValues({}, props), {
|
3030
|
-
fill,
|
3031
|
-
isAnimationActive: false
|
3032
|
-
}));
|
3025
|
+
return /* @__PURE__ */ React9.createElement(_Bar, __spreadProps(__spreadValues({}, props), { fill, isAnimationActive: false }));
|
3033
3026
|
}, _Bar);
|
3034
3027
|
BarChart.Bar = Bar;
|
3035
3028
|
BarChart.Tooltip = Tooltip;
|
@@ -3042,18 +3035,11 @@ import {} from "recharts";
|
|
3042
3035
|
import React10 from "react";
|
3043
3036
|
import { Label as _Label, LabelList as _LabelList } from "recharts";
|
3044
3037
|
var XLabel = Object.assign(
|
3045
|
-
(props) => /* @__PURE__ */ React10.createElement(_Label, __spreadValues({
|
3046
|
-
position: "insideBottom",
|
3047
|
-
offset: CHART_XLABEL_DEFAULT_OFFSET
|
3048
|
-
}, props)),
|
3038
|
+
(props) => /* @__PURE__ */ React10.createElement(_Label, __spreadValues({ position: "insideBottom", offset: CHART_XLABEL_DEFAULT_OFFSET }, props)),
|
3049
3039
|
_Label
|
3050
3040
|
);
|
3051
3041
|
var YLabel = Object.assign(
|
3052
|
-
(props) => /* @__PURE__ */ React10.createElement(_Label, __spreadValues({
|
3053
|
-
position: "insideLeft",
|
3054
|
-
angle: -90,
|
3055
|
-
offset: CHART_YLABEL_DEFAULT_OFFSET
|
3056
|
-
}, props)),
|
3042
|
+
(props) => /* @__PURE__ */ React10.createElement(_Label, __spreadValues({ position: "insideLeft", angle: -90, offset: CHART_YLABEL_DEFAULT_OFFSET }, props)),
|
3057
3043
|
_Label
|
3058
3044
|
);
|
3059
3045
|
var Label = {
|
@@ -3069,12 +3055,13 @@ import {
|
|
3069
3055
|
Legend as _Legend
|
3070
3056
|
} from "recharts";
|
3071
3057
|
var Legend = React11.forwardRef((props, _ref) => {
|
3072
|
-
return /* @__PURE__ */ React11.createElement(
|
3073
|
-
|
3074
|
-
|
3075
|
-
|
3058
|
+
return /* @__PURE__ */ React11.createElement(
|
3059
|
+
_Legend,
|
3060
|
+
__spreadProps(__spreadValues({}, props), {
|
3061
|
+
margin: __spreadProps(__spreadValues({}, props.margin), { top: 0 }),
|
3062
|
+
content: /* @__PURE__ */ React11.createElement(LegendContentWrapper, { content: props.content })
|
3076
3063
|
})
|
3077
|
-
|
3064
|
+
);
|
3078
3065
|
});
|
3079
3066
|
Legend.displayName = "Legend";
|
3080
3067
|
Legend.defaultProps = {
|
@@ -3101,9 +3088,7 @@ var LegendContentWrapper = (_a) => {
|
|
3101
3088
|
color: (_a3 = entry.color) != null ? _a3 : getDefaultColor("dataKey" in entry && typeof entry.dataKey === "string" ? entry.dataKey : "unknown")
|
3102
3089
|
});
|
3103
3090
|
});
|
3104
|
-
return /* @__PURE__ */ React11.createElement(DefaultLegendContent, __spreadProps(__spreadValues({}, props), {
|
3105
|
-
payload
|
3106
|
-
}));
|
3091
|
+
return /* @__PURE__ */ React11.createElement(DefaultLegendContent, __spreadProps(__spreadValues({}, props), { payload }));
|
3107
3092
|
};
|
3108
3093
|
|
3109
3094
|
// src/charts/LineChart/LineChart.tsx
|
@@ -3122,31 +3107,22 @@ var LineChart = (_a) => {
|
|
3122
3107
|
"palette"
|
3123
3108
|
]);
|
3124
3109
|
const [tooltip] = extractChildByDisplayName(props.children, Tooltip2.displayName);
|
3125
|
-
return /* @__PURE__ */ React12.createElement(DefaultPalette, {
|
3126
|
-
|
3127
|
-
|
3128
|
-
|
3129
|
-
|
3130
|
-
|
3131
|
-
|
3132
|
-
|
3133
|
-
|
3134
|
-
|
3135
|
-
|
3136
|
-
accessibilityLayer: tooltip !== void 0
|
3137
|
-
}, /* @__PURE__ */ React12.createElement(CartesianGrid, null), React12.Children.map(props.children, (child) => renderChartChildren(child, props)))));
|
3110
|
+
return /* @__PURE__ */ React12.createElement(DefaultPalette, { palette }, /* @__PURE__ */ React12.createElement(ResponsiveContainer, { width: props.width, height: props.height, isBusy, busyLabel }, /* @__PURE__ */ React12.createElement(
|
3111
|
+
_LineChart,
|
3112
|
+
{
|
3113
|
+
data: props.data,
|
3114
|
+
style: { stroke: "#fff", strokeWidth: 1 },
|
3115
|
+
margin,
|
3116
|
+
accessibilityLayer: tooltip !== void 0
|
3117
|
+
},
|
3118
|
+
/* @__PURE__ */ React12.createElement(CartesianGrid, null),
|
3119
|
+
React12.Children.map(props.children, (child) => renderChartChildren(child, props))
|
3120
|
+
)));
|
3138
3121
|
};
|
3139
3122
|
var Line = Object.assign((props) => {
|
3140
3123
|
var _a, _b;
|
3141
3124
|
const stroke = useDefaultColor((_b = (_a = props.dataKey) == null ? void 0 : _a.toString()) != null ? _b : "unknown", props.stroke);
|
3142
|
-
return /* @__PURE__ */ React12.createElement(_Line, __spreadProps(__spreadValues({
|
3143
|
-
type: "linear"
|
3144
|
-
}, props), {
|
3145
|
-
stroke,
|
3146
|
-
strokeWidth: 2,
|
3147
|
-
isAnimationActive: false,
|
3148
|
-
dot: false
|
3149
|
-
}));
|
3125
|
+
return /* @__PURE__ */ React12.createElement(_Line, __spreadProps(__spreadValues({ type: "linear" }, props), { stroke, strokeWidth: 2, isAnimationActive: false, dot: false }));
|
3150
3126
|
}, _Line);
|
3151
3127
|
Line.defaultProps = Object.assign({}, _Line.defaultProps, { stroke: void 0, fill: void 0 });
|
3152
3128
|
LineChart.Line = Line;
|
@@ -3160,13 +3136,17 @@ import { Cell as Cell2, Customized, Pie as _Pie, PieChart as _PieChart } from "r
|
|
3160
3136
|
import React13 from "react";
|
3161
3137
|
var ChartValue = (props) => {
|
3162
3138
|
const { value, unit: unit2, caption } = props;
|
3163
|
-
return /* @__PURE__ */ React13.createElement(
|
3164
|
-
|
3165
|
-
|
3166
|
-
|
3167
|
-
|
3168
|
-
|
3169
|
-
|
3139
|
+
return /* @__PURE__ */ React13.createElement(
|
3140
|
+
"p",
|
3141
|
+
{
|
3142
|
+
className: tw(
|
3143
|
+
"typography-large-heading text-intense text-center leading-tight absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"
|
3144
|
+
)
|
3145
|
+
},
|
3146
|
+
value,
|
3147
|
+
unit2,
|
3148
|
+
caption && /* @__PURE__ */ React13.createElement("span", { className: tw("block", "typography-small text-default") }, caption)
|
3149
|
+
);
|
3170
3150
|
};
|
3171
3151
|
|
3172
3152
|
// src/charts/PieChart/renderPieChildren.tsx
|
@@ -3180,10 +3160,7 @@ var renderPieChildren = (children, opts = {}) => {
|
|
3180
3160
|
switch (getDisplayName(child.type)) {
|
3181
3161
|
case Tooltip.displayName: {
|
3182
3162
|
return React14.cloneElement(child, {
|
3183
|
-
content: /* @__PURE__ */ React14.createElement(TooltipContentWrapper, {
|
3184
|
-
content: child.props.content,
|
3185
|
-
tooltipColor: opts.tooltipColor
|
3186
|
-
}),
|
3163
|
+
content: /* @__PURE__ */ React14.createElement(TooltipContentWrapper, { content: child.props.content, tooltipColor: opts.tooltipColor }),
|
3187
3164
|
labelStyle: { paddingBottom: 0 }
|
3188
3165
|
});
|
3189
3166
|
}
|
@@ -3205,9 +3182,7 @@ var DoughnutChart = (_a) => {
|
|
3205
3182
|
} = _b, props = __objRest(_b, [
|
3206
3183
|
"palette"
|
3207
3184
|
]);
|
3208
|
-
return /* @__PURE__ */ React15.createElement(DefaultPalette, {
|
3209
|
-
palette
|
3210
|
-
}, /* @__PURE__ */ React15.createElement(DoughnutChartWrapper, __spreadValues({}, props)));
|
3185
|
+
return /* @__PURE__ */ React15.createElement(DefaultPalette, { palette }, /* @__PURE__ */ React15.createElement(DoughnutChartWrapper, __spreadValues({}, props)));
|
3211
3186
|
};
|
3212
3187
|
var DoughnutChartWrapper = (_a) => {
|
3213
3188
|
var _b = _a, { isBusy, busyLabel } = _b, props = __objRest(_b, ["isBusy", "busyLabel"]);
|
@@ -3238,31 +3213,30 @@ var DoughnutChartWrapper = (_a) => {
|
|
3238
3213
|
const yMargin = (containerHeight - refSize * scale) / 2;
|
3239
3214
|
const x = cx - refSize / 2 * scale;
|
3240
3215
|
const y = (yOffset + yMargin) / scale;
|
3241
|
-
return /* @__PURE__ */ React15.createElement("foreignObject", {
|
3242
|
-
width: refSize,
|
3243
|
-
height: refSize,
|
3244
|
-
x,
|
3245
|
-
y,
|
3246
|
-
transform: `scale(${scale})`
|
3247
|
-
}, chartValue);
|
3216
|
+
return /* @__PURE__ */ React15.createElement("foreignObject", { width: refSize, height: refSize, x, y, transform: `scale(${scale})` }, chartValue);
|
3248
3217
|
};
|
3249
3218
|
const highlightActive = activeIndex !== null && tooltip;
|
3250
|
-
return /* @__PURE__ */ React15.createElement(
|
3251
|
-
|
3252
|
-
|
3253
|
-
|
3254
|
-
|
3255
|
-
|
3256
|
-
|
3257
|
-
|
3258
|
-
|
3259
|
-
|
3260
|
-
|
3261
|
-
|
3262
|
-
|
3263
|
-
|
3264
|
-
|
3265
|
-
|
3219
|
+
return /* @__PURE__ */ React15.createElement(
|
3220
|
+
ResponsiveContainer,
|
3221
|
+
{
|
3222
|
+
width: props.width,
|
3223
|
+
height: props.height,
|
3224
|
+
isBusy,
|
3225
|
+
busyLabel,
|
3226
|
+
onResize
|
3227
|
+
},
|
3228
|
+
/* @__PURE__ */ React15.createElement(_PieChart, null, chartValue && /* @__PURE__ */ React15.createElement(Customized, { component: renderChartValue }), doughnut && /* @__PURE__ */ React15.createElement(
|
3229
|
+
_Pie,
|
3230
|
+
__spreadProps(__spreadValues({}, doughnut.props), {
|
3231
|
+
fill: (_a2 = doughnut.props.fill) != null ? _a2 : getDefaultColor(doughnut.props.dataKey),
|
3232
|
+
onMouseEnter: (_, index) => setActiveIndex(index),
|
3233
|
+
onMouseLeave: () => setActiveIndex(null),
|
3234
|
+
activeIndex,
|
3235
|
+
inactiveShape: { className: highlightActive ? "inactive" : void 0 },
|
3236
|
+
activeShape: { className: highlightActive ? "active" : void 0 }
|
3237
|
+
})
|
3238
|
+
), renderPieChildren(children, { tooltipColor: "fill" }))
|
3239
|
+
);
|
3266
3240
|
};
|
3267
3241
|
var Doughnut = Object.assign((props) => /* @__PURE__ */ React15.createElement(_Pie, __spreadValues({}, props)), _Pie);
|
3268
3242
|
Doughnut.defaultProps = Object.assign({}, _Pie.defaultProps, {
|
@@ -3281,26 +3255,14 @@ import React16 from "react";
|
|
3281
3255
|
import { Cell as Cell3, Pie as _Pie2, PieChart as _PieChart2 } from "recharts";
|
3282
3256
|
var PieChart = (_a) => {
|
3283
3257
|
var _b = _a, { palette } = _b, props = __objRest(_b, ["palette"]);
|
3284
|
-
return /* @__PURE__ */ React16.createElement(DefaultPalette, {
|
3285
|
-
palette
|
3286
|
-
}, /* @__PURE__ */ React16.createElement(PieChartWrapper, __spreadValues({}, props)));
|
3258
|
+
return /* @__PURE__ */ React16.createElement(DefaultPalette, { palette }, /* @__PURE__ */ React16.createElement(PieChartWrapper, __spreadValues({}, props)));
|
3287
3259
|
};
|
3288
3260
|
var PieChartWrapper = (_a) => {
|
3289
3261
|
var _b = _a, { isBusy, busyLabel } = _b, props = __objRest(_b, ["isBusy", "busyLabel"]);
|
3290
3262
|
var _a2;
|
3291
3263
|
const [pie, children] = extractChildByDisplayName(props.children, PieChart.Pie.displayName);
|
3292
3264
|
const { getDefaultColor } = React16.useContext(DefaultPaletteContext);
|
3293
|
-
return /* @__PURE__ */ React16.createElement(ResponsiveContainer, {
|
3294
|
-
width: props.width,
|
3295
|
-
height: props.height,
|
3296
|
-
isBusy,
|
3297
|
-
busyLabel
|
3298
|
-
}, /* @__PURE__ */ React16.createElement(_PieChart2, {
|
3299
|
-
width: 500,
|
3300
|
-
height: 500
|
3301
|
-
}, renderPieChildren(children, { tooltipColor: "fill" }), pie && /* @__PURE__ */ React16.createElement(_Pie2, __spreadProps(__spreadValues({}, pie.props), {
|
3302
|
-
fill: (_a2 = pie.props.fill) != null ? _a2 : getDefaultColor(pie.props.dataKey)
|
3303
|
-
}))));
|
3265
|
+
return /* @__PURE__ */ React16.createElement(ResponsiveContainer, { width: props.width, height: props.height, isBusy, busyLabel }, /* @__PURE__ */ React16.createElement(_PieChart2, { width: 500, height: 500 }, renderPieChildren(children, { tooltipColor: "fill" }), pie && /* @__PURE__ */ React16.createElement(_Pie2, __spreadProps(__spreadValues({}, pie.props), { fill: (_a2 = pie.props.fill) != null ? _a2 : getDefaultColor(pie.props.dataKey) }))));
|
3304
3266
|
};
|
3305
3267
|
var Pie = Object.assign((props) => /* @__PURE__ */ React16.createElement(_Pie2, __spreadValues({}, props)), _Pie2);
|
3306
3268
|
Pie.defaultProps = Object.assign({}, _Pie2.defaultProps, {
|
@@ -3319,17 +3281,11 @@ import {
|
|
3319
3281
|
ReferenceLine as _ReferenceLine
|
3320
3282
|
} from "recharts";
|
3321
3283
|
var ReferenceLine = Object.assign(
|
3322
|
-
(props) => /* @__PURE__ */ React17.createElement(_ReferenceLine, __spreadProps(__spreadValues({}, props), {
|
3323
|
-
strokeDasharray: "9 3",
|
3324
|
-
strokeWidth: 2
|
3325
|
-
})),
|
3284
|
+
(props) => /* @__PURE__ */ React17.createElement(_ReferenceLine, __spreadProps(__spreadValues({}, props), { strokeDasharray: "9 3", strokeWidth: 2 })),
|
3326
3285
|
_ReferenceLine
|
3327
3286
|
);
|
3328
3287
|
var ReferenceArea = Object.assign(
|
3329
|
-
(props) => /* @__PURE__ */ React17.createElement(_ReferenceArea, __spreadProps(__spreadValues({}, props), {
|
3330
|
-
strokeWidth: 0,
|
3331
|
-
fillOpacity: 0.1
|
3332
|
-
})),
|
3288
|
+
(props) => /* @__PURE__ */ React17.createElement(_ReferenceArea, __spreadProps(__spreadValues({}, props), { strokeWidth: 0, fillOpacity: 0.1 })),
|
3333
3289
|
_ReferenceLine
|
3334
3290
|
);
|
3335
3291
|
var Reference = {
|
@@ -5,7 +5,7 @@ export type CheckboxProps = Omit<React.DetailedHTMLProps<React.InputHTMLAttribut
|
|
5
5
|
value?: string;
|
6
6
|
indeterminate?: boolean;
|
7
7
|
};
|
8
|
-
export declare const Checkbox: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "
|
8
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "id" | "name" | "type" | "ref" | "value"> & {
|
9
9
|
id?: string;
|
10
10
|
name?: string;
|
11
11
|
value?: string;
|
@@ -9,6 +9,7 @@ type ComposedNavigationProps = {
|
|
9
9
|
Footer: typeof Footer;
|
10
10
|
Section: typeof Section;
|
11
11
|
Item: typeof Item;
|
12
|
+
Submenu: typeof Submenu;
|
12
13
|
Divider: typeof Divider;
|
13
14
|
};
|
14
15
|
export declare const Navigation: ComposedNavigationProps & React.FC<UListProps>;
|
@@ -19,4 +20,14 @@ declare const Divider: React.FC<LIProp>;
|
|
19
20
|
declare const Item: React.FC<LinkProps & {
|
20
21
|
active?: boolean;
|
21
22
|
}>;
|
23
|
+
type ComposedSubMenuProps = {
|
24
|
+
Item: typeof SubmenuItem;
|
25
|
+
};
|
26
|
+
declare const Submenu: ComposedSubMenuProps & React.FC<Omit<LinkProps, 'title'> & {
|
27
|
+
title: React.ReactNode;
|
28
|
+
id: string;
|
29
|
+
}>;
|
30
|
+
declare const SubmenuItem: React.FC<LinkProps & {
|
31
|
+
active?: boolean;
|
32
|
+
}>;
|
22
33
|
export {};
|
@@ -12,8 +12,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
12
12
|
import React from 'react';
|
13
13
|
import { classNames, tw } from '../../../src/utils/tailwind';
|
14
14
|
export const Navigation = (_a) => {
|
15
|
-
var { className, children } = _a, rest = __rest(_a, ["className", "children"]);
|
16
|
-
return (React.createElement("nav", { className: classNames(tw('bg-muted h-full')) },
|
15
|
+
var { className, children, 'aria-label': ariaLabel } = _a, rest = __rest(_a, ["className", "children", 'aria-label']);
|
16
|
+
return (React.createElement("nav", { className: classNames(tw('bg-muted h-full')), "aria-label": ariaLabel },
|
17
17
|
React.createElement("ul", Object.assign({}, rest, { className: classNames(tw('flex flex-col h-full'), className), role: "menubar" }), children)));
|
18
18
|
};
|
19
19
|
const Header = (_a) => {
|
@@ -32,7 +32,7 @@ const Section = (_a) => {
|
|
32
32
|
};
|
33
33
|
const Divider = (_a) => {
|
34
34
|
var { className } = _a, rest = __rest(_a, ["className"]);
|
35
|
-
return (React.createElement("li", Object.assign({
|
35
|
+
return (React.createElement("li", Object.assign({ "aria-hidden": true }, rest, { className: classNames(tw('border-t-2 border-muted'), className) })));
|
36
36
|
};
|
37
37
|
const Item = (_a) => {
|
38
38
|
var { className, active } = _a, rest = __rest(_a, ["className", "active"]);
|
@@ -42,9 +42,21 @@ const Item = (_a) => {
|
|
42
42
|
'text-primary-intense': !!active,
|
43
43
|
}), className) }))));
|
44
44
|
};
|
45
|
+
const Submenu = (_a) => {
|
46
|
+
var { children, className, title, id } = _a, rest = __rest(_a, ["children", "className", "title", "id"]);
|
47
|
+
return (React.createElement("li", { role: "presentation" },
|
48
|
+
React.createElement("a", Object.assign({ role: "menuitem", "aria-haspopup": "true", href: "#", id: id, className: classNames(tw('py-3 pr-6 pl-3 hover:bg-default cursor-pointer typography-small focusable flex items-center w-full'), className) }, rest), title),
|
49
|
+
React.createElement("ul", { role: "menu", className: classNames(tw('flex flex-col')), "aria-labelledby": id }, children)));
|
50
|
+
};
|
51
|
+
const SubmenuItem = (_a) => {
|
52
|
+
var { className, active } = _a, rest = __rest(_a, ["className", "active"]);
|
53
|
+
return (React.createElement(Navigation.Item, Object.assign({}, rest, { active: active, className: classNames(className, tw('pl-[56px]')) })));
|
54
|
+
};
|
55
|
+
Submenu.Item = SubmenuItem;
|
45
56
|
Navigation.Header = Header;
|
46
57
|
Navigation.Footer = Footer;
|
47
58
|
Navigation.Section = Section;
|
48
59
|
Navigation.Item = Item;
|
60
|
+
Navigation.Submenu = Submenu;
|
49
61
|
Navigation.Divider = Divider;
|
50
|
-
//# sourceMappingURL=data:application/json;base64,
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTmF2aWdhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hdG9tcy9OYXZpZ2F0aW9uL05hdmlnYXRpb24udHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUEsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBRTFCLE9BQU8sRUFBRSxVQUFVLEVBQUUsRUFBRSxFQUFFLE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VUFBVSxDQUFDLElBQUksb0JBQUssSUFBSSxJQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsU0FBUyxFQUFFLFVBQVUsQ0FBQyxTQUFTLEVBQUUsRUFBRSxDQUFDLFdBQVcsQ0FBQyxDQUFDLElBQUksQ0FDakcsQ0FBQTtDQUFBLENBQUM7QUFFRixPQUFPLENBQUMsSUFBSSxHQUFHLFdBQVcsQ0FBQztBQUMzQixVQUFVLENBQUMsTUFBTSxHQUFHLE1BQU0sQ0FBQztBQUMzQixVQUFVLENBQUMsTUFBTSxHQUFHLE1BQU0sQ0FBQztBQUMzQixVQUFVLENBQUMsT0FBTyxHQUFHLE9BQU8sQ0FBQztBQUM3QixVQUFVLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztBQUN2QixVQUFVLENBQUMsT0FBTyxHQUFHLE9BQU8sQ0FBQztBQUM3QixVQUFVLENBQUMsT0FBTyxHQUFHLE9BQU8sQ0FBQyJ9
|
@@ -4,7 +4,7 @@ export type RadioButtonProps = Omit<React.DetailedHTMLProps<React.InputHTMLAttri
|
|
4
4
|
name?: string;
|
5
5
|
value: string;
|
6
6
|
};
|
7
|
-
export declare const RadioButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "
|
7
|
+
export declare const RadioButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "id" | "name" | "type" | "ref" | "value"> & {
|
8
8
|
id?: string;
|
9
9
|
name?: string;
|
10
10
|
value: string;
|
@@ -4,7 +4,7 @@ export type SwitchProps = Omit<React.DetailedHTMLProps<React.InputHTMLAttributes
|
|
4
4
|
name?: string;
|
5
5
|
value?: string;
|
6
6
|
};
|
7
|
-
export declare const Switch: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "
|
7
|
+
export declare const Switch: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "id" | "name" | "type" | "ref" | "value"> & {
|
8
8
|
id?: string;
|
9
9
|
name?: string;
|
10
10
|
value?: string;
|