@telia/teddy 0.2.9 → 0.2.10
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.
|
@@ -21,12 +21,12 @@ function _interopNamespaceDefault(e) {
|
|
|
21
21
|
return Object.freeze(n);
|
|
22
22
|
}
|
|
23
23
|
const ProgressPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(ProgressPrimitive);
|
|
24
|
-
const slideInFromLeft = "
|
|
24
|
+
const slideInFromLeft = "_slideInFromLeft_j1bq2_1";
|
|
25
25
|
const styles = {
|
|
26
|
-
"teddy-progress-bar": "_teddy-progress-
|
|
27
|
-
"teddy-progress-bar__indicator": "_teddy-progress-
|
|
26
|
+
"teddy-progress-bar": "_teddy-progress-bar_j1bq2_1",
|
|
27
|
+
"teddy-progress-bar__indicator": "_teddy-progress-bar__indicator_j1bq2_10",
|
|
28
28
|
slideInFromLeft,
|
|
29
|
-
"teddy-progress-bar--dark": "_teddy-progress-bar--
|
|
29
|
+
"teddy-progress-bar--dark": "_teddy-progress-bar--dark_j1bq2_17"
|
|
30
30
|
};
|
|
31
31
|
const rootClassName = "teddy-progress-bar";
|
|
32
32
|
const ProgressBar = React.forwardRef(
|
|
@@ -2,12 +2,12 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
5
|
-
const slideInFromLeft = "
|
|
5
|
+
const slideInFromLeft = "_slideInFromLeft_j1bq2_1";
|
|
6
6
|
const styles = {
|
|
7
|
-
"teddy-progress-bar": "_teddy-progress-
|
|
8
|
-
"teddy-progress-bar__indicator": "_teddy-progress-
|
|
7
|
+
"teddy-progress-bar": "_teddy-progress-bar_j1bq2_1",
|
|
8
|
+
"teddy-progress-bar__indicator": "_teddy-progress-bar__indicator_j1bq2_10",
|
|
9
9
|
slideInFromLeft,
|
|
10
|
-
"teddy-progress-bar--dark": "_teddy-progress-bar--
|
|
10
|
+
"teddy-progress-bar--dark": "_teddy-progress-bar--dark_j1bq2_17"
|
|
11
11
|
};
|
|
12
12
|
const rootClassName = "teddy-progress-bar";
|
|
13
13
|
const ProgressBar = React__default.forwardRef(
|
package/dist/style.css
CHANGED
|
@@ -1954,7 +1954,7 @@
|
|
|
1954
1954
|
}
|
|
1955
1955
|
._teddy-color-dot--wide_d66ui_26 {
|
|
1956
1956
|
width: calc(2 * var(--size));
|
|
1957
|
-
}._teddy-progress-
|
|
1957
|
+
}._teddy-progress-bar_j1bq2_1 {
|
|
1958
1958
|
background: var(--teddy-color-transparent-black-100);
|
|
1959
1959
|
overflow: hidden;
|
|
1960
1960
|
border-radius: var(--teddy-border-radius-full);
|
|
@@ -1963,19 +1963,20 @@
|
|
|
1963
1963
|
/* https://gist.github.com/domske/b66047671c780a238b51c51ffde8d3a0 */
|
|
1964
1964
|
transform: translateZ(0);
|
|
1965
1965
|
}
|
|
1966
|
-
._teddy-progress-
|
|
1966
|
+
._teddy-progress-bar_j1bq2_1 ._teddy-progress-bar__indicator_j1bq2_10 {
|
|
1967
1967
|
background-color: var(--teddy-color-purple-800);
|
|
1968
1968
|
width: 100%;
|
|
1969
1969
|
height: 100%;
|
|
1970
|
-
animation:
|
|
1970
|
+
animation: _slideInFromLeft_j1bq2_1 1s cubic-bezier(0.65, 0, 0.35, 1);
|
|
1971
|
+
transition: transform 660ms cubic-bezier(0.65, 0, 0.35, 1);
|
|
1971
1972
|
}
|
|
1972
|
-
._teddy-progress-bar--
|
|
1973
|
+
._teddy-progress-bar--dark_j1bq2_17 {
|
|
1973
1974
|
background: var(--teddy-color-transparent-white-100);
|
|
1974
1975
|
}
|
|
1975
|
-
._teddy-progress-bar--
|
|
1976
|
+
._teddy-progress-bar--dark_j1bq2_17 ._teddy-progress-bar__indicator_j1bq2_10 {
|
|
1976
1977
|
background-color: var(--teddy-color-purple-300);
|
|
1977
1978
|
}
|
|
1978
|
-
@keyframes
|
|
1979
|
+
@keyframes _slideInFromLeft_j1bq2_1 {
|
|
1979
1980
|
0% {
|
|
1980
1981
|
transform: translateX(-100%);
|
|
1981
1982
|
}
|