@telia/teddy 0.6.10 → 0.6.12
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/components/circle-bar/css.cjs +9 -9
- package/dist/components/circle-bar/css.js +9 -9
- package/dist/components/index.cjs +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/main.cjs +2 -0
- package/dist/main.js +2 -0
- package/dist/style.css +46 -45
- package/package.json +1 -1
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const clsx = require("clsx");
|
|
4
4
|
const styles = {
|
|
5
|
-
"teddy-circle-bar": "_teddy-circle-
|
|
6
|
-
"teddy-circle-bar__tooltip": "_teddy-circle-
|
|
7
|
-
"teddy-circle-bar__tooltip-left": "_teddy-circle-bar__tooltip-
|
|
8
|
-
"teddy-circle-bar__tooltip-right": "_teddy-circle-bar__tooltip-
|
|
9
|
-
"teddy-circle-bar__tooltip-content": "_teddy-circle-bar__tooltip-
|
|
10
|
-
"teddy-circle-bar__svg-container": "_teddy-circle-bar__svg-
|
|
11
|
-
"teddy-circle-bar__svg": "_teddy-circle-
|
|
12
|
-
"teddy-circle-bar__info-box": "_teddy-circle-bar__info-
|
|
13
|
-
"teddy-circle-bar__value-label": "_teddy-circle-bar__value-
|
|
5
|
+
"teddy-circle-bar": "_teddy-circle-bar_1533l_1",
|
|
6
|
+
"teddy-circle-bar__tooltip": "_teddy-circle-bar__tooltip_1533l_6",
|
|
7
|
+
"teddy-circle-bar__tooltip-left": "_teddy-circle-bar__tooltip-left_1533l_12",
|
|
8
|
+
"teddy-circle-bar__tooltip-right": "_teddy-circle-bar__tooltip-right_1533l_15",
|
|
9
|
+
"teddy-circle-bar__tooltip-content": "_teddy-circle-bar__tooltip-content_1533l_18",
|
|
10
|
+
"teddy-circle-bar__svg-container": "_teddy-circle-bar__svg-container_1533l_21",
|
|
11
|
+
"teddy-circle-bar__svg": "_teddy-circle-bar__svg_1533l_21",
|
|
12
|
+
"teddy-circle-bar__info-box": "_teddy-circle-bar__info-box_1533l_32",
|
|
13
|
+
"teddy-circle-bar__value-label": "_teddy-circle-bar__value-label_1533l_38"
|
|
14
14
|
};
|
|
15
15
|
const rootClassName = "teddy-circle-bar";
|
|
16
16
|
const css = (suffix) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import clsx from "clsx";
|
|
2
2
|
const styles = {
|
|
3
|
-
"teddy-circle-bar": "_teddy-circle-
|
|
4
|
-
"teddy-circle-bar__tooltip": "_teddy-circle-
|
|
5
|
-
"teddy-circle-bar__tooltip-left": "_teddy-circle-bar__tooltip-
|
|
6
|
-
"teddy-circle-bar__tooltip-right": "_teddy-circle-bar__tooltip-
|
|
7
|
-
"teddy-circle-bar__tooltip-content": "_teddy-circle-bar__tooltip-
|
|
8
|
-
"teddy-circle-bar__svg-container": "_teddy-circle-bar__svg-
|
|
9
|
-
"teddy-circle-bar__svg": "_teddy-circle-
|
|
10
|
-
"teddy-circle-bar__info-box": "_teddy-circle-bar__info-
|
|
11
|
-
"teddy-circle-bar__value-label": "_teddy-circle-bar__value-
|
|
3
|
+
"teddy-circle-bar": "_teddy-circle-bar_1533l_1",
|
|
4
|
+
"teddy-circle-bar__tooltip": "_teddy-circle-bar__tooltip_1533l_6",
|
|
5
|
+
"teddy-circle-bar__tooltip-left": "_teddy-circle-bar__tooltip-left_1533l_12",
|
|
6
|
+
"teddy-circle-bar__tooltip-right": "_teddy-circle-bar__tooltip-right_1533l_15",
|
|
7
|
+
"teddy-circle-bar__tooltip-content": "_teddy-circle-bar__tooltip-content_1533l_18",
|
|
8
|
+
"teddy-circle-bar__svg-container": "_teddy-circle-bar__svg-container_1533l_21",
|
|
9
|
+
"teddy-circle-bar__svg": "_teddy-circle-bar__svg_1533l_21",
|
|
10
|
+
"teddy-circle-bar__info-box": "_teddy-circle-bar__info-box_1533l_32",
|
|
11
|
+
"teddy-circle-bar__value-label": "_teddy-circle-bar__value-label_1533l_38"
|
|
12
12
|
};
|
|
13
13
|
const rootClassName = "teddy-circle-bar";
|
|
14
14
|
const css = (suffix) => {
|
|
@@ -57,6 +57,7 @@ const components_textSpacing_textSpacing = require("./text-spacing/text-spacing.
|
|
|
57
57
|
const components_container_container = require("./container/container.cjs");
|
|
58
58
|
const components_carousel_carouselRoot = require("./carousel/carousel-root.cjs");
|
|
59
59
|
const components_slider_slider = require("./slider/slider.cjs");
|
|
60
|
+
const components_circleBar_circleBar = require("./circle-bar/circle-bar.cjs");
|
|
60
61
|
const sonner = require("sonner");
|
|
61
62
|
const components_input_inputGroup = require("./input/input-group.cjs");
|
|
62
63
|
exports.Avatar = components_avatar_index.Avatar;
|
|
@@ -120,6 +121,7 @@ exports.TextSpacing = components_textSpacing_textSpacing.TextSpacing;
|
|
|
120
121
|
exports.Container = components_container_container.Container;
|
|
121
122
|
exports.Carousel = components_carousel_carouselRoot.Carousel;
|
|
122
123
|
exports.Slider = components_slider_slider.Slider;
|
|
124
|
+
exports.CircleBar = components_circleBar_circleBar.CircleBar;
|
|
123
125
|
Object.defineProperty(exports, "toast", {
|
|
124
126
|
enumerable: true,
|
|
125
127
|
get: () => sonner.toast
|
package/dist/components/index.js
CHANGED
|
@@ -55,6 +55,7 @@ import { TextSpacing } from "./text-spacing/text-spacing.js";
|
|
|
55
55
|
import { Container } from "./container/container.js";
|
|
56
56
|
import { Carousel } from "./carousel/carousel-root.js";
|
|
57
57
|
import { Slider } from "./slider/slider.js";
|
|
58
|
+
import { CircleBar } from "./circle-bar/circle-bar.js";
|
|
58
59
|
import { toast } from "sonner";
|
|
59
60
|
import { I } from "./input/input-group.js";
|
|
60
61
|
export {
|
|
@@ -72,6 +73,7 @@ export {
|
|
|
72
73
|
Checkbox,
|
|
73
74
|
CheckboxGroup,
|
|
74
75
|
Chip,
|
|
76
|
+
CircleBar,
|
|
75
77
|
Collapsible,
|
|
76
78
|
ColorDot,
|
|
77
79
|
Container,
|
package/dist/main.cjs
CHANGED
|
@@ -57,6 +57,7 @@ const components_textSpacing_textSpacing = require("./components/text-spacing/te
|
|
|
57
57
|
const components_container_container = require("./components/container/container.cjs");
|
|
58
58
|
const components_carousel_carouselRoot = require("./components/carousel/carousel-root.cjs");
|
|
59
59
|
const components_slider_slider = require("./components/slider/slider.cjs");
|
|
60
|
+
const components_circleBar_circleBar = require("./components/circle-bar/circle-bar.cjs");
|
|
60
61
|
const tokens_border_variables = require("./tokens/border/variables.cjs");
|
|
61
62
|
const tokens_breakpoint_variables = require("./tokens/breakpoint/variables.cjs");
|
|
62
63
|
const tokens_color_variables = require("./tokens/color/variables.cjs");
|
|
@@ -127,6 +128,7 @@ exports.TextSpacing = components_textSpacing_textSpacing.TextSpacing;
|
|
|
127
128
|
exports.Container = components_container_container.Container;
|
|
128
129
|
exports.Carousel = components_carousel_carouselRoot.Carousel;
|
|
129
130
|
exports.Slider = components_slider_slider.Slider;
|
|
131
|
+
exports.CircleBar = components_circleBar_circleBar.CircleBar;
|
|
130
132
|
exports.border = tokens_border_variables.variables;
|
|
131
133
|
exports.breakpoint = tokens_breakpoint_variables.variables;
|
|
132
134
|
exports.color = tokens_color_variables.variables;
|
package/dist/main.js
CHANGED
|
@@ -55,6 +55,7 @@ import { TextSpacing } from "./components/text-spacing/text-spacing.js";
|
|
|
55
55
|
import { Container } from "./components/container/container.js";
|
|
56
56
|
import { Carousel } from "./components/carousel/carousel-root.js";
|
|
57
57
|
import { Slider } from "./components/slider/slider.js";
|
|
58
|
+
import { CircleBar } from "./components/circle-bar/circle-bar.js";
|
|
58
59
|
import { v } from "./tokens/border/variables.js";
|
|
59
60
|
import { v as v2 } from "./tokens/breakpoint/variables.js";
|
|
60
61
|
import { v as v3 } from "./tokens/color/variables.js";
|
|
@@ -79,6 +80,7 @@ export {
|
|
|
79
80
|
Checkbox,
|
|
80
81
|
CheckboxGroup,
|
|
81
82
|
Chip,
|
|
83
|
+
CircleBar,
|
|
82
84
|
Collapsible,
|
|
83
85
|
ColorDot,
|
|
84
86
|
Container,
|
package/dist/style.css
CHANGED
|
@@ -6202,6 +6202,52 @@
|
|
|
6202
6202
|
._metricmeter__speed-unit-label_1wov3_70 {
|
|
6203
6203
|
font-size: var(--teddy-typography-scale-75);
|
|
6204
6204
|
font-weight: var(--teddy-typography-weight-normal);
|
|
6205
|
+
}._teddy-circle-bar_1533l_1 {
|
|
6206
|
+
position: relative;
|
|
6207
|
+
width: max-content;
|
|
6208
|
+
padding: 17px;
|
|
6209
|
+
}
|
|
6210
|
+
._teddy-circle-bar__tooltip_1533l_6 {
|
|
6211
|
+
width: max-content;
|
|
6212
|
+
position: absolute;
|
|
6213
|
+
top: -2px;
|
|
6214
|
+
z-index: 1;
|
|
6215
|
+
}
|
|
6216
|
+
._teddy-circle-bar__tooltip-left_1533l_12 {
|
|
6217
|
+
left: -2px;
|
|
6218
|
+
}
|
|
6219
|
+
._teddy-circle-bar__tooltip-right_1533l_15 {
|
|
6220
|
+
right: -2px;
|
|
6221
|
+
}
|
|
6222
|
+
._teddy-circle-bar__tooltip-content_1533l_18 {
|
|
6223
|
+
max-width: 300px;
|
|
6224
|
+
}
|
|
6225
|
+
._teddy-circle-bar__svg-container_1533l_21 {
|
|
6226
|
+
width: 155px;
|
|
6227
|
+
height: 155px;
|
|
6228
|
+
position: relative;
|
|
6229
|
+
}
|
|
6230
|
+
._teddy-circle-bar__svg_1533l_21 {
|
|
6231
|
+
transform-origin: center center;
|
|
6232
|
+
fill: transparent;
|
|
6233
|
+
stroke-linecap: round;
|
|
6234
|
+
stroke: #c4c4c4;
|
|
6235
|
+
}
|
|
6236
|
+
._teddy-circle-bar__info-box_1533l_32 {
|
|
6237
|
+
position: absolute;
|
|
6238
|
+
width: 100%;
|
|
6239
|
+
top: 47px;
|
|
6240
|
+
text-align: center;
|
|
6241
|
+
}
|
|
6242
|
+
._teddy-circle-bar__value-label_1533l_38 {
|
|
6243
|
+
font-size: 28px;
|
|
6244
|
+
font-weight: 700;
|
|
6245
|
+
margin-bottom: 6px;
|
|
6246
|
+
}
|
|
6247
|
+
._teddy-circle-bar_1533l_1 h3 {
|
|
6248
|
+
margin: 0;
|
|
6249
|
+
font-size: 14px;
|
|
6250
|
+
font-weight: 400;
|
|
6205
6251
|
}:root {
|
|
6206
6252
|
--teddy-border-radius-xs: 2px;
|
|
6207
6253
|
--teddy-border-radius-sm: 4px;
|
|
@@ -7675,49 +7721,4 @@
|
|
|
7675
7721
|
:root {
|
|
7676
7722
|
--teddy-scale: var(--teddy-rescale, 1);
|
|
7677
7723
|
interpolate-size: allow-keywords;
|
|
7678
|
-
}._teddy-circle-bar_40j64_1 {
|
|
7679
|
-
position: relative;
|
|
7680
|
-
width: max-content;
|
|
7681
|
-
padding: 17px;
|
|
7682
|
-
}
|
|
7683
|
-
._teddy-circle-bar__tooltip_40j64_6 {
|
|
7684
|
-
width: max-content;
|
|
7685
|
-
position: absolute;
|
|
7686
|
-
top: -2px;
|
|
7687
|
-
z-index: 1;
|
|
7688
|
-
}
|
|
7689
|
-
._teddy-circle-bar__tooltip-left_40j64_12 {
|
|
7690
|
-
left: -2px;
|
|
7691
|
-
}
|
|
7692
|
-
._teddy-circle-bar__tooltip-right_40j64_15 {
|
|
7693
|
-
right: -2px;
|
|
7694
|
-
}
|
|
7695
|
-
._teddy-circle-bar__tooltip-content_40j64_18 {
|
|
7696
|
-
max-width: 300px;
|
|
7697
|
-
}
|
|
7698
|
-
._teddy-circle-bar__svg-container_40j64_21 {
|
|
7699
|
-
width: 155px;
|
|
7700
|
-
position: relative;
|
|
7701
|
-
}
|
|
7702
|
-
._teddy-circle-bar__svg_40j64_21 {
|
|
7703
|
-
transform-origin: center center;
|
|
7704
|
-
fill: transparent;
|
|
7705
|
-
stroke-linecap: round;
|
|
7706
|
-
stroke: #c4c4c4;
|
|
7707
|
-
}
|
|
7708
|
-
._teddy-circle-bar__info-box_40j64_31 {
|
|
7709
|
-
position: absolute;
|
|
7710
|
-
width: 100%;
|
|
7711
|
-
top: 47px;
|
|
7712
|
-
text-align: center;
|
|
7713
|
-
}
|
|
7714
|
-
._teddy-circle-bar__value-label_40j64_37 {
|
|
7715
|
-
font-size: 28px;
|
|
7716
|
-
font-weight: 700;
|
|
7717
|
-
margin-bottom: 6px;
|
|
7718
|
-
}
|
|
7719
|
-
._teddy-circle-bar_40j64_1 h3 {
|
|
7720
|
-
margin: 0;
|
|
7721
|
-
font-size: 14px;
|
|
7722
|
-
font-weight: 400;
|
|
7723
7724
|
}
|