@telia/teddy 0.7.12 → 0.7.13
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.
|
@@ -95,7 +95,7 @@ const MetricMeter = React.forwardRef(
|
|
|
95
95
|
"data-focusable": !disabled,
|
|
96
96
|
children: [
|
|
97
97
|
title && /* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { as: "h2", variant: "title-200", children: title }),
|
|
98
|
-
/* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { align: "center",
|
|
98
|
+
/* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { align: "center", children: [
|
|
99
99
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx(fadeClass, hideButtons && hiddenFadeClass), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
100
100
|
components_button_button.Button,
|
|
101
101
|
{
|
|
@@ -125,7 +125,7 @@ const MetricMeter = React.forwardRef(
|
|
|
125
125
|
)
|
|
126
126
|
] }),
|
|
127
127
|
/* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { direction: "column", align: "center", justify: "center", style: { position: "absolute", inset: 0 }, children: [
|
|
128
|
-
/* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { as: "h4", variant: "title-
|
|
128
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { as: "h4", variant: "title-200", children: String(value) }),
|
|
129
129
|
/* @__PURE__ */ jsxRuntime.jsx(components_text_text.Text, { children: unit })
|
|
130
130
|
] })
|
|
131
131
|
] }),
|
|
@@ -93,7 +93,7 @@ const MetricMeter = React__default.forwardRef(
|
|
|
93
93
|
"data-focusable": !disabled,
|
|
94
94
|
children: [
|
|
95
95
|
title && /* @__PURE__ */ jsx(Heading, { as: "h2", variant: "title-200", children: title }),
|
|
96
|
-
/* @__PURE__ */ jsxs(Flex, { align: "center",
|
|
96
|
+
/* @__PURE__ */ jsxs(Flex, { align: "center", children: [
|
|
97
97
|
/* @__PURE__ */ jsx("div", { className: clsx(fadeClass, hideButtons && hiddenFadeClass), children: /* @__PURE__ */ jsx(
|
|
98
98
|
Button,
|
|
99
99
|
{
|
|
@@ -123,7 +123,7 @@ const MetricMeter = React__default.forwardRef(
|
|
|
123
123
|
)
|
|
124
124
|
] }),
|
|
125
125
|
/* @__PURE__ */ jsxs(Flex, { direction: "column", align: "center", justify: "center", style: { position: "absolute", inset: 0 }, children: [
|
|
126
|
-
/* @__PURE__ */ jsx(Heading, { as: "h4", variant: "title-
|
|
126
|
+
/* @__PURE__ */ jsx(Heading, { as: "h4", variant: "title-200", children: String(value) }),
|
|
127
127
|
/* @__PURE__ */ jsx(Text, { children: unit })
|
|
128
128
|
] })
|
|
129
129
|
] }),
|