@alfalab/core-components-page-indicator 2.0.0 → 2.1.0-snapshot-92b8690
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/components/bullet/default.css +2 -2
- package/components/bullet/default.module.css.js +1 -1
- package/components/bullet/index.css +7 -7
- package/components/bullet/index.module.css.js +1 -1
- package/components/bullet/inverted.css +2 -2
- package/components/bullet/inverted.module.css.js +1 -1
- package/components/bullet/static-inverted.css +2 -2
- package/components/bullet/static-inverted.module.css.js +1 -1
- package/components/bullet/static.css +2 -2
- package/components/bullet/static.module.css.js +1 -1
- package/components/dynamic/default.css +3 -3
- package/components/dynamic/default.module.css.js +1 -1
- package/components/dynamic/index.css +6 -6
- package/components/dynamic/index.module.css.js +1 -1
- package/components/dynamic/inverted.css +3 -3
- package/components/dynamic/inverted.module.css.js +1 -1
- package/components/dynamic/static-inverted.css +3 -3
- package/components/dynamic/static-inverted.module.css.js +1 -1
- package/components/dynamic/static.css +3 -3
- package/components/dynamic/static.module.css.js +1 -1
- package/components/runner/default.css +2 -2
- package/components/runner/default.module.css.js +1 -1
- package/components/runner/index.css +1 -1
- package/components/runner/index.module.css.js +1 -1
- package/components/runner/inverted.css +2 -2
- package/components/runner/inverted.module.css.js +1 -1
- package/components/runner/static-inverted.css +2 -2
- package/components/runner/static-inverted.module.css.js +1 -1
- package/components/runner/static.css +2 -2
- package/components/runner/static.module.css.js +1 -1
- package/components/step/default.css +2 -2
- package/components/step/default.module.css.js +1 -1
- package/components/step/index.css +2 -2
- package/components/step/index.module.css.js +1 -1
- package/components/step/inverted.css +2 -2
- package/components/step/inverted.module.css.js +1 -1
- package/components/step/static-inverted.css +2 -2
- package/components/step/static-inverted.module.css.js +1 -1
- package/components/step/static.css +2 -2
- package/components/step/static.module.css.js +1 -1
- package/dynamic-mixins/Component.d.ts +5 -0
- package/dynamic-mixins/Component.js +16 -0
- package/dynamic-mixins/Component.js.map +1 -0
- package/dynamic-mixins/components/bullet/Component.d.ts +3 -0
- package/dynamic-mixins/components/bullet/Component.js +55 -0
- package/dynamic-mixins/components/bullet/Component.js.map +1 -0
- package/dynamic-mixins/components/bullet/default.css +11 -0
- package/dynamic-mixins/components/bullet/default.module.css.js +8 -0
- package/dynamic-mixins/components/bullet/default.module.css.js.map +1 -0
- package/dynamic-mixins/components/bullet/index.css +34 -0
- package/dynamic-mixins/components/bullet/index.d.ts +1 -0
- package/dynamic-mixins/components/bullet/index.js +10 -0
- package/dynamic-mixins/components/bullet/index.js.map +1 -0
- package/dynamic-mixins/components/bullet/index.module.css.js +8 -0
- package/dynamic-mixins/components/bullet/index.module.css.js.map +1 -0
- package/dynamic-mixins/components/bullet/inverted.css +11 -0
- package/dynamic-mixins/components/bullet/inverted.module.css.js +8 -0
- package/dynamic-mixins/components/bullet/inverted.module.css.js.map +1 -0
- package/dynamic-mixins/components/bullet/static-inverted.css +11 -0
- package/dynamic-mixins/components/bullet/static-inverted.module.css.js +8 -0
- package/dynamic-mixins/components/bullet/static-inverted.module.css.js.map +1 -0
- package/dynamic-mixins/components/bullet/static.css +11 -0
- package/dynamic-mixins/components/bullet/static.module.css.js +8 -0
- package/dynamic-mixins/components/bullet/static.module.css.js.map +1 -0
- package/dynamic-mixins/components/bullet/utils/index.d.ts +1 -0
- package/dynamic-mixins/components/bullet/utils/index.js +10 -0
- package/dynamic-mixins/components/bullet/utils/index.js.map +1 -0
- package/dynamic-mixins/components/bullet/utils/utils.d.ts +8 -0
- package/dynamic-mixins/components/bullet/utils/utils.js +121 -0
- package/dynamic-mixins/components/bullet/utils/utils.js.map +1 -0
- package/dynamic-mixins/components/dynamic/Component.d.ts +3 -0
- package/dynamic-mixins/components/dynamic/Component.js +84 -0
- package/dynamic-mixins/components/dynamic/Component.js.map +1 -0
- package/dynamic-mixins/components/dynamic/default.css +13 -0
- package/dynamic-mixins/components/dynamic/default.module.css.js +8 -0
- package/dynamic-mixins/components/dynamic/default.module.css.js.map +1 -0
- package/dynamic-mixins/components/dynamic/index.css +22 -0
- package/dynamic-mixins/components/dynamic/index.d.ts +1 -0
- package/dynamic-mixins/components/dynamic/index.js +10 -0
- package/dynamic-mixins/components/dynamic/index.js.map +1 -0
- package/dynamic-mixins/components/dynamic/index.module.css.js +8 -0
- package/dynamic-mixins/components/dynamic/index.module.css.js.map +1 -0
- package/dynamic-mixins/components/dynamic/inverted.css +13 -0
- package/dynamic-mixins/components/dynamic/inverted.module.css.js +8 -0
- package/dynamic-mixins/components/dynamic/inverted.module.css.js.map +1 -0
- package/dynamic-mixins/components/dynamic/static-inverted.css +13 -0
- package/dynamic-mixins/components/dynamic/static-inverted.module.css.js +8 -0
- package/dynamic-mixins/components/dynamic/static-inverted.module.css.js.map +1 -0
- package/dynamic-mixins/components/dynamic/static.css +13 -0
- package/dynamic-mixins/components/dynamic/static.module.css.js +8 -0
- package/dynamic-mixins/components/dynamic/static.module.css.js.map +1 -0
- package/dynamic-mixins/components/runner/Component.d.ts +3 -0
- package/dynamic-mixins/components/runner/Component.js +36 -0
- package/dynamic-mixins/components/runner/Component.js.map +1 -0
- package/dynamic-mixins/components/runner/default.css +11 -0
- package/dynamic-mixins/components/runner/default.module.css.js +8 -0
- package/dynamic-mixins/components/runner/default.module.css.js.map +1 -0
- package/dynamic-mixins/components/runner/index.css +6 -0
- package/dynamic-mixins/components/runner/index.d.ts +1 -0
- package/dynamic-mixins/components/runner/index.js +10 -0
- package/dynamic-mixins/components/runner/index.js.map +1 -0
- package/dynamic-mixins/components/runner/index.module.css.js +8 -0
- package/dynamic-mixins/components/runner/index.module.css.js.map +1 -0
- package/dynamic-mixins/components/runner/inverted.css +11 -0
- package/dynamic-mixins/components/runner/inverted.module.css.js +8 -0
- package/dynamic-mixins/components/runner/inverted.module.css.js.map +1 -0
- package/dynamic-mixins/components/runner/static-inverted.css +11 -0
- package/dynamic-mixins/components/runner/static-inverted.module.css.js +8 -0
- package/dynamic-mixins/components/runner/static-inverted.module.css.js.map +1 -0
- package/dynamic-mixins/components/runner/static.css +11 -0
- package/dynamic-mixins/components/runner/static.module.css.js +8 -0
- package/dynamic-mixins/components/runner/static.module.css.js.map +1 -0
- package/dynamic-mixins/components/step/Component.d.ts +3 -0
- package/dynamic-mixins/components/step/Component.js +35 -0
- package/dynamic-mixins/components/step/Component.js.map +1 -0
- package/dynamic-mixins/components/step/default.css +11 -0
- package/dynamic-mixins/components/step/default.module.css.js +8 -0
- package/dynamic-mixins/components/step/default.module.css.js.map +1 -0
- package/dynamic-mixins/components/step/index.css +13 -0
- package/dynamic-mixins/components/step/index.d.ts +1 -0
- package/dynamic-mixins/components/step/index.js +10 -0
- package/dynamic-mixins/components/step/index.js.map +1 -0
- package/dynamic-mixins/components/step/index.module.css.js +8 -0
- package/dynamic-mixins/components/step/index.module.css.js.map +1 -0
- package/dynamic-mixins/components/step/inverted.css +11 -0
- package/dynamic-mixins/components/step/inverted.module.css.js +8 -0
- package/dynamic-mixins/components/step/inverted.module.css.js.map +1 -0
- package/dynamic-mixins/components/step/static-inverted.css +11 -0
- package/dynamic-mixins/components/step/static-inverted.module.css.js +8 -0
- package/dynamic-mixins/components/step/static-inverted.module.css.js.map +1 -0
- package/dynamic-mixins/components/step/static.css +11 -0
- package/dynamic-mixins/components/step/static.module.css.js +8 -0
- package/dynamic-mixins/components/step/static.module.css.js.map +1 -0
- package/dynamic-mixins/index.d.ts +1 -0
- package/dynamic-mixins/index.js +16 -0
- package/dynamic-mixins/index.js.map +1 -0
- package/dynamic-mixins/types.d.ts +128 -0
- package/dynamic-mixins/types.js +3 -0
- package/dynamic-mixins/types.js.map +1 -0
- package/esm/components/bullet/default.css +2 -2
- package/esm/components/bullet/default.module.css.js +1 -1
- package/esm/components/bullet/index.css +7 -7
- package/esm/components/bullet/index.module.css.js +1 -1
- package/esm/components/bullet/inverted.css +2 -2
- package/esm/components/bullet/inverted.module.css.js +1 -1
- package/esm/components/bullet/static-inverted.css +2 -2
- package/esm/components/bullet/static-inverted.module.css.js +1 -1
- package/esm/components/bullet/static.css +2 -2
- package/esm/components/bullet/static.module.css.js +1 -1
- package/esm/components/dynamic/default.css +3 -3
- package/esm/components/dynamic/default.module.css.js +1 -1
- package/esm/components/dynamic/index.css +6 -6
- package/esm/components/dynamic/index.module.css.js +1 -1
- package/esm/components/dynamic/inverted.css +3 -3
- package/esm/components/dynamic/inverted.module.css.js +1 -1
- package/esm/components/dynamic/static-inverted.css +3 -3
- package/esm/components/dynamic/static-inverted.module.css.js +1 -1
- package/esm/components/dynamic/static.css +3 -3
- package/esm/components/dynamic/static.module.css.js +1 -1
- package/esm/components/runner/default.css +2 -2
- package/esm/components/runner/default.module.css.js +1 -1
- package/esm/components/runner/index.css +1 -1
- package/esm/components/runner/index.module.css.js +1 -1
- package/esm/components/runner/inverted.css +2 -2
- package/esm/components/runner/inverted.module.css.js +1 -1
- package/esm/components/runner/static-inverted.css +2 -2
- package/esm/components/runner/static-inverted.module.css.js +1 -1
- package/esm/components/runner/static.css +2 -2
- package/esm/components/runner/static.module.css.js +1 -1
- package/esm/components/step/default.css +2 -2
- package/esm/components/step/default.module.css.js +1 -1
- package/esm/components/step/index.css +2 -2
- package/esm/components/step/index.module.css.js +1 -1
- package/esm/components/step/inverted.css +2 -2
- package/esm/components/step/inverted.module.css.js +1 -1
- package/esm/components/step/static-inverted.css +2 -2
- package/esm/components/step/static-inverted.module.css.js +1 -1
- package/esm/components/step/static.css +2 -2
- package/esm/components/step/static.module.css.js +1 -1
- package/modern/components/bullet/default.css +2 -2
- package/modern/components/bullet/default.module.css.js +1 -1
- package/modern/components/bullet/index.css +7 -7
- package/modern/components/bullet/index.module.css.js +1 -1
- package/modern/components/bullet/inverted.css +2 -2
- package/modern/components/bullet/inverted.module.css.js +1 -1
- package/modern/components/bullet/static-inverted.css +2 -2
- package/modern/components/bullet/static-inverted.module.css.js +1 -1
- package/modern/components/bullet/static.css +2 -2
- package/modern/components/bullet/static.module.css.js +1 -1
- package/modern/components/dynamic/default.css +3 -3
- package/modern/components/dynamic/default.module.css.js +1 -1
- package/modern/components/dynamic/index.css +6 -6
- package/modern/components/dynamic/index.module.css.js +1 -1
- package/modern/components/dynamic/inverted.css +3 -3
- package/modern/components/dynamic/inverted.module.css.js +1 -1
- package/modern/components/dynamic/static-inverted.css +3 -3
- package/modern/components/dynamic/static-inverted.module.css.js +1 -1
- package/modern/components/dynamic/static.css +3 -3
- package/modern/components/dynamic/static.module.css.js +1 -1
- package/modern/components/runner/default.css +2 -2
- package/modern/components/runner/default.module.css.js +1 -1
- package/modern/components/runner/index.css +1 -1
- package/modern/components/runner/index.module.css.js +1 -1
- package/modern/components/runner/inverted.css +2 -2
- package/modern/components/runner/inverted.module.css.js +1 -1
- package/modern/components/runner/static-inverted.css +2 -2
- package/modern/components/runner/static-inverted.module.css.js +1 -1
- package/modern/components/runner/static.css +2 -2
- package/modern/components/runner/static.module.css.js +1 -1
- package/modern/components/step/default.css +2 -2
- package/modern/components/step/default.module.css.js +1 -1
- package/modern/components/step/index.css +2 -2
- package/modern/components/step/index.module.css.js +1 -1
- package/modern/components/step/inverted.css +2 -2
- package/modern/components/step/inverted.module.css.js +1 -1
- package/modern/components/step/static-inverted.css +2 -2
- package/modern/components/step/static-inverted.module.css.js +1 -1
- package/modern/components/step/static.css +2 -2
- package/modern/components/step/static.module.css.js +1 -1
- package/moderncssm/components/bullet/default.module.css +2 -0
- package/moderncssm/components/bullet/index.module.css +2 -0
- package/moderncssm/components/bullet/inverted.module.css +2 -0
- package/moderncssm/components/bullet/static-inverted.module.css +2 -0
- package/moderncssm/components/bullet/static.module.css +2 -0
- package/moderncssm/components/dynamic/default.module.css +2 -0
- package/moderncssm/components/dynamic/index.module.css +2 -0
- package/moderncssm/components/dynamic/inverted.module.css +2 -0
- package/moderncssm/components/dynamic/static-inverted.module.css +2 -0
- package/moderncssm/components/dynamic/static.module.css +2 -0
- package/moderncssm/components/runner/default.module.css +2 -0
- package/moderncssm/components/runner/index.module.css +2 -0
- package/moderncssm/components/runner/inverted.module.css +2 -0
- package/moderncssm/components/runner/static-inverted.module.css +2 -0
- package/moderncssm/components/runner/static.module.css +2 -0
- package/moderncssm/components/step/default.module.css +2 -0
- package/moderncssm/components/step/index.module.css +2 -0
- package/moderncssm/components/step/inverted.module.css +2 -0
- package/moderncssm/components/step/static-inverted.module.css +2 -0
- package/moderncssm/components/step/static.module.css +2 -0
- package/package.json +4 -4
- package/src/vars.css +1 -1
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color: var(--color-light-neutral-translucent-300);
|
|
6
6
|
--page-indicator-active-color: var(--color-light-neutral-translucent-1300);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__element_1vzr8 {
|
|
8
8
|
background: var(--page-indicator-color)
|
|
9
|
-
} .page-
|
|
9
|
+
} .page-indicator__element_1vzr8.page-indicator__active_1vzr8 {
|
|
10
10
|
background: var(--page-indicator-active-color);
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./default.css');
|
|
4
4
|
|
|
5
|
-
var defaultColors = {"element":"page-
|
|
5
|
+
var defaultColors = {"element":"page-indicator__element_1vzr8","active":"page-indicator__active_1vzr8"};
|
|
6
6
|
|
|
7
7
|
module.exports = defaultColors;
|
|
8
8
|
//# sourceMappingURL=default.module.css.js.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
} :root {
|
|
4
4
|
--page-indicator-animation-duration: 0.2s;
|
|
5
5
|
--page-indicator-animation-timing-function: ease-in-out;
|
|
6
|
-
} .page-
|
|
6
|
+
} .page-indicator__pageIndicator_njn6x.page-indicator__bullet_njn6x {
|
|
7
7
|
overflow: hidden;
|
|
8
|
-
} .page-
|
|
8
|
+
} .page-indicator__elementsList_njn6x {
|
|
9
9
|
margin: 0;
|
|
10
10
|
padding: 0;
|
|
11
11
|
display: flex;
|
|
@@ -13,22 +13,22 @@
|
|
|
13
13
|
will-change: transform;
|
|
14
14
|
transition: transform var(--page-indicator-animation-duration)
|
|
15
15
|
var(--page-indicator-animation-timing-function);
|
|
16
|
-
} .page-
|
|
16
|
+
} .page-indicator__element_njn6x {
|
|
17
17
|
list-style-type: none;
|
|
18
18
|
flex-shrink: 0;
|
|
19
19
|
transition: background var(--page-indicator-animation-duration)
|
|
20
20
|
var(--page-indicator-animation-timing-function);
|
|
21
21
|
border-radius: var(--border-radius-circle)
|
|
22
|
-
} .page-
|
|
22
|
+
} .page-indicator__element_njn6x.page-indicator__entering_njn6x {
|
|
23
23
|
opacity: 0;
|
|
24
|
-
} .page-
|
|
24
|
+
} .page-indicator__element_njn6x.page-indicator__entered_njn6x {
|
|
25
25
|
opacity: 1;
|
|
26
26
|
transition: background var(--page-indicator-animation-duration)
|
|
27
27
|
var(--page-indicator-animation-timing-function),
|
|
28
28
|
opacity var(--page-indicator-animation-duration)
|
|
29
29
|
var(--page-indicator-animation-timing-function);
|
|
30
|
-
} .page-
|
|
30
|
+
} .page-indicator__element_njn6x.page-indicator__exiting_njn6x {
|
|
31
31
|
opacity: 0;
|
|
32
|
-
} .page-
|
|
32
|
+
} .page-indicator__element_njn6x.page-indicator__exited_njn6x {
|
|
33
33
|
opacity: 0;
|
|
34
34
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"pageIndicator":"page-
|
|
5
|
+
var styles = {"pageIndicator":"page-indicator__pageIndicator_njn6x","bullet":"page-indicator__bullet_njn6x","elementsList":"page-indicator__elementsList_njn6x","element":"page-indicator__element_njn6x","entering":"page-indicator__entering_njn6x","entered":"page-indicator__entered_njn6x","exiting":"page-indicator__exiting_njn6x","exited":"page-indicator__exited_njn6x"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color-inverted: var(--color-light-neutral-translucent-300-inverted);
|
|
6
6
|
--page-indicator-active-color-inverted: var(--color-light-neutral-translucent-1300-inverted);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__element_4a7ue {
|
|
8
8
|
background: var(--page-indicator-color-inverted)
|
|
9
|
-
} .page-
|
|
9
|
+
} .page-indicator__element_4a7ue.page-indicator__active_4a7ue {
|
|
10
10
|
background: var(--page-indicator-active-color-inverted);
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./inverted.css');
|
|
4
4
|
|
|
5
|
-
var invertedColors = {"element":"page-
|
|
5
|
+
var invertedColors = {"element":"page-indicator__element_4a7ue","active":"page-indicator__active_4a7ue"};
|
|
6
6
|
|
|
7
7
|
module.exports = invertedColors;
|
|
8
8
|
//# sourceMappingURL=inverted.module.css.js.map
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color-static-inverted: var(--color-static-neutral-translucent-300-inverted);
|
|
6
6
|
--page-indicator-active-color-static-inverted: var(--color-static-neutral-1300-inverted);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__element_ovghj {
|
|
8
8
|
background: var(--page-indicator-color-static-inverted)
|
|
9
|
-
} .page-
|
|
9
|
+
} .page-indicator__element_ovghj.page-indicator__active_ovghj {
|
|
10
10
|
background: var(--page-indicator-active-color-static-inverted);
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./static-inverted.css');
|
|
4
4
|
|
|
5
|
-
var staticInvertedColors = {"element":"page-
|
|
5
|
+
var staticInvertedColors = {"element":"page-indicator__element_ovghj","active":"page-indicator__active_ovghj"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticInvertedColors;
|
|
8
8
|
//# sourceMappingURL=static-inverted.module.css.js.map
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color-static: var(--color-static-neutral-translucent-300);
|
|
6
6
|
--page-indicator-active-color-static: var(--color-static-neutral-1300);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__element_14pcw {
|
|
8
8
|
background: var(--page-indicator-color-static)
|
|
9
|
-
} .page-
|
|
9
|
+
} .page-indicator__element_14pcw.page-indicator__active_14pcw {
|
|
10
10
|
background: var(--page-indicator-active-color-static);
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./static.css');
|
|
4
4
|
|
|
5
|
-
var staticColors = {"element":"page-
|
|
5
|
+
var staticColors = {"element":"page-indicator__element_14pcw","active":"page-indicator__active_14pcw"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticColors;
|
|
8
8
|
//# sourceMappingURL=static.module.css.js.map
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color: var(--color-light-neutral-translucent-300);
|
|
6
6
|
--page-indicator-active-color: var(--color-light-neutral-translucent-1300);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__element_i0lj0 {
|
|
8
8
|
background: var(--page-indicator-color)
|
|
9
|
-
} .page-
|
|
10
|
-
.page-
|
|
9
|
+
} .page-indicator__element_i0lj0.page-indicator__active_i0lj0 {
|
|
10
|
+
.page-indicator__progress_i0lj0 {
|
|
11
11
|
background: var(--page-indicator-active-color);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./default.css');
|
|
4
4
|
|
|
5
|
-
var defaultColors = {"element":"page-
|
|
5
|
+
var defaultColors = {"element":"page-indicator__element_i0lj0","active":"page-indicator__active_i0lj0","progress":"page-indicator__progress_i0lj0"};
|
|
6
6
|
|
|
7
7
|
module.exports = defaultColors;
|
|
8
8
|
//# sourceMappingURL=default.module.css.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--page-indicator-animation-duration: 0.2s;
|
|
3
|
-
} .page-
|
|
3
|
+
} .page-indicator__pageIndicator_2wroe {
|
|
4
4
|
margin: 0;
|
|
5
5
|
padding: 0;
|
|
6
6
|
display: flex;
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__element_2wroe {
|
|
8
8
|
list-style-type: none;
|
|
9
9
|
overflow: hidden;
|
|
10
10
|
transition: width var(--page-indicator-animation-duration) linear
|
|
11
|
-
} .page-
|
|
12
|
-
.page-
|
|
11
|
+
} .page-indicator__element_2wroe:not(.page-indicator__active_2wroe) {
|
|
12
|
+
.page-indicator__progress_2wroe {
|
|
13
13
|
display: none;
|
|
14
14
|
}
|
|
15
|
-
} .page-
|
|
15
|
+
} .page-indicator__element_2wroe {
|
|
16
16
|
|
|
17
|
-
.page-
|
|
17
|
+
.page-indicator__progress_2wroe {
|
|
18
18
|
width: 100%;
|
|
19
19
|
height: 100%;
|
|
20
20
|
will-change: transform;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"pageIndicator":"page-
|
|
5
|
+
var styles = {"pageIndicator":"page-indicator__pageIndicator_2wroe","element":"page-indicator__element_2wroe","active":"page-indicator__active_2wroe","progress":"page-indicator__progress_2wroe"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color-inverted: var(--color-light-neutral-translucent-300-inverted);
|
|
6
6
|
--page-indicator-active-color-inverted: var(--color-light-neutral-translucent-1300-inverted);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__element_1fubh {
|
|
8
8
|
background: var(--page-indicator-color-inverted)
|
|
9
|
-
} .page-
|
|
10
|
-
.page-
|
|
9
|
+
} .page-indicator__element_1fubh.page-indicator__active_1fubh {
|
|
10
|
+
.page-indicator__progress_1fubh {
|
|
11
11
|
background: var(--page-indicator-active-color-inverted);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./inverted.css');
|
|
4
4
|
|
|
5
|
-
var invertedColors = {"element":"page-
|
|
5
|
+
var invertedColors = {"element":"page-indicator__element_1fubh","active":"page-indicator__active_1fubh","progress":"page-indicator__progress_1fubh"};
|
|
6
6
|
|
|
7
7
|
module.exports = invertedColors;
|
|
8
8
|
//# sourceMappingURL=inverted.module.css.js.map
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color-static-inverted: var(--color-static-neutral-translucent-300-inverted);
|
|
6
6
|
--page-indicator-active-color-static-inverted: var(--color-static-neutral-1300-inverted);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__element_pcvzh {
|
|
8
8
|
background: var(--page-indicator-color-static-inverted)
|
|
9
|
-
} .page-
|
|
10
|
-
.page-
|
|
9
|
+
} .page-indicator__element_pcvzh.page-indicator__active_pcvzh {
|
|
10
|
+
.page-indicator__progress_pcvzh {
|
|
11
11
|
background: var(--page-indicator-active-color-static-inverted);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./static-inverted.css');
|
|
4
4
|
|
|
5
|
-
var staticInvertedColors = {"element":"page-
|
|
5
|
+
var staticInvertedColors = {"element":"page-indicator__element_pcvzh","active":"page-indicator__active_pcvzh","progress":"page-indicator__progress_pcvzh"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticInvertedColors;
|
|
8
8
|
//# sourceMappingURL=static-inverted.module.css.js.map
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color-static: var(--color-static-neutral-translucent-300);
|
|
6
6
|
--page-indicator-active-color-static: var(--color-static-neutral-1300);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__element_psa9s {
|
|
8
8
|
background: var(--page-indicator-color-static)
|
|
9
|
-
} .page-
|
|
10
|
-
.page-
|
|
9
|
+
} .page-indicator__element_psa9s.page-indicator__active_psa9s {
|
|
10
|
+
.page-indicator__progress_psa9s {
|
|
11
11
|
background: var(--page-indicator-active-color-static);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./static.css');
|
|
4
4
|
|
|
5
|
-
var staticColors = {"element":"page-
|
|
5
|
+
var staticColors = {"element":"page-indicator__element_psa9s","active":"page-indicator__active_psa9s","progress":"page-indicator__progress_psa9s"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticColors;
|
|
8
8
|
//# sourceMappingURL=static.module.css.js.map
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color: var(--color-light-neutral-translucent-300);
|
|
6
6
|
--page-indicator-active-color: var(--color-light-neutral-translucent-1300);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__pageIndicator_1igae {
|
|
8
8
|
background: var(--page-indicator-color);
|
|
9
|
-
} .page-
|
|
9
|
+
} .page-indicator__element_1igae {
|
|
10
10
|
background: var(--page-indicator-active-color);
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./default.css');
|
|
4
4
|
|
|
5
|
-
var defaultColors = {"pageIndicator":"page-
|
|
5
|
+
var defaultColors = {"pageIndicator":"page-indicator__pageIndicator_1igae","element":"page-indicator__element_1igae"};
|
|
6
6
|
|
|
7
7
|
module.exports = defaultColors;
|
|
8
8
|
//# sourceMappingURL=default.module.css.js.map
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color-inverted: var(--color-light-neutral-translucent-300-inverted);
|
|
6
6
|
--page-indicator-active-color-inverted: var(--color-light-neutral-translucent-1300-inverted);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__pageIndicator_vyemm {
|
|
8
8
|
background: var(--page-indicator-color-inverted);
|
|
9
|
-
} .page-
|
|
9
|
+
} .page-indicator__element_vyemm {
|
|
10
10
|
background: var(--page-indicator-active-color-inverted);
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./inverted.css');
|
|
4
4
|
|
|
5
|
-
var invertedColors = {"pageIndicator":"page-
|
|
5
|
+
var invertedColors = {"pageIndicator":"page-indicator__pageIndicator_vyemm","element":"page-indicator__element_vyemm"};
|
|
6
6
|
|
|
7
7
|
module.exports = invertedColors;
|
|
8
8
|
//# sourceMappingURL=inverted.module.css.js.map
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color-static-inverted: var(--color-static-neutral-translucent-300-inverted);
|
|
6
6
|
--page-indicator-active-color-static-inverted: var(--color-static-neutral-1300-inverted);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__pageIndicator_vnxuf {
|
|
8
8
|
background: var(--page-indicator-color-static-inverted);
|
|
9
|
-
} .page-
|
|
9
|
+
} .page-indicator__element_vnxuf {
|
|
10
10
|
background: var(--page-indicator-active-color-static-inverted);
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./static-inverted.css');
|
|
4
4
|
|
|
5
|
-
var staticInvertedColors = {"pageIndicator":"page-
|
|
5
|
+
var staticInvertedColors = {"pageIndicator":"page-indicator__pageIndicator_vnxuf","element":"page-indicator__element_vnxuf"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticInvertedColors;
|
|
8
8
|
//# sourceMappingURL=static-inverted.module.css.js.map
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color-static: var(--color-static-neutral-translucent-300);
|
|
6
6
|
--page-indicator-active-color-static: var(--color-static-neutral-1300);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__pageIndicator_1hakt {
|
|
8
8
|
background: var(--page-indicator-color-static);
|
|
9
|
-
} .page-
|
|
9
|
+
} .page-indicator__element_1hakt {
|
|
10
10
|
background: var(--page-indicator-active-color-static);
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./static.css');
|
|
4
4
|
|
|
5
|
-
var staticColors = {"pageIndicator":"page-
|
|
5
|
+
var staticColors = {"pageIndicator":"page-indicator__pageIndicator_1hakt","element":"page-indicator__element_1hakt"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticColors;
|
|
8
8
|
//# sourceMappingURL=static.module.css.js.map
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color: var(--color-light-neutral-translucent-300);
|
|
6
6
|
--page-indicator-active-color: var(--color-light-neutral-translucent-1300);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__element_uekm2 {
|
|
8
8
|
background: var(--page-indicator-color)
|
|
9
|
-
} .page-
|
|
9
|
+
} .page-indicator__element_uekm2.page-indicator__active_uekm2 {
|
|
10
10
|
background: var(--page-indicator-active-color);
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./default.css');
|
|
4
4
|
|
|
5
|
-
var defaultColors = {"element":"page-
|
|
5
|
+
var defaultColors = {"element":"page-indicator__element_uekm2","active":"page-indicator__active_uekm2"};
|
|
6
6
|
|
|
7
7
|
module.exports = defaultColors;
|
|
8
8
|
//# sourceMappingURL=default.module.css.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--page-indicator-animation-duration: 0.2s;
|
|
3
3
|
--page-indicator-animation-timing-function: ease-in-out;
|
|
4
|
-
} .page-
|
|
4
|
+
} .page-indicator__pageIndicator_3kxjq {
|
|
5
5
|
margin: 0;
|
|
6
6
|
padding: 0;
|
|
7
7
|
display: flex;
|
|
8
|
-
} .page-
|
|
8
|
+
} .page-indicator__element_3kxjq {
|
|
9
9
|
list-style-type: none;
|
|
10
10
|
flex-grow: 1;
|
|
11
11
|
transition: backgroud var(--page-indicator-animation-duration)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"pageIndicator":"page-
|
|
5
|
+
var styles = {"pageIndicator":"page-indicator__pageIndicator_3kxjq","element":"page-indicator__element_3kxjq"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color-inverted: var(--color-light-neutral-translucent-300-inverted);
|
|
6
6
|
--page-indicator-active-color-inverted: var(--color-light-neutral-translucent-1300-inverted);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__element_le4lr {
|
|
8
8
|
background: var(--page-indicator-color-inverted)
|
|
9
|
-
} .page-
|
|
9
|
+
} .page-indicator__element_le4lr.page-indicator__active_le4lr {
|
|
10
10
|
background: var(--page-indicator-active-color-inverted);
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./inverted.css');
|
|
4
4
|
|
|
5
|
-
var invertedColors = {"element":"page-
|
|
5
|
+
var invertedColors = {"element":"page-indicator__element_le4lr","active":"page-indicator__active_le4lr"};
|
|
6
6
|
|
|
7
7
|
module.exports = invertedColors;
|
|
8
8
|
//# sourceMappingURL=inverted.module.css.js.map
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color-static-inverted: var(--color-static-neutral-translucent-300-inverted);
|
|
6
6
|
--page-indicator-active-color-static-inverted: var(--color-static-neutral-1300-inverted);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__element_1isff {
|
|
8
8
|
background: var(--page-indicator-color-static-inverted)
|
|
9
|
-
} .page-
|
|
9
|
+
} .page-indicator__element_1isff.page-indicator__active_1isff {
|
|
10
10
|
background: var(--page-indicator-active-color-static-inverted);
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./static-inverted.css');
|
|
4
4
|
|
|
5
|
-
var staticInvertedColors = {"element":"page-
|
|
5
|
+
var staticInvertedColors = {"element":"page-indicator__element_1isff","active":"page-indicator__active_1isff"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticInvertedColors;
|
|
8
8
|
//# sourceMappingURL=static-inverted.module.css.js.map
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
} :root {
|
|
5
5
|
--page-indicator-color-static: var(--color-static-neutral-translucent-300);
|
|
6
6
|
--page-indicator-active-color-static: var(--color-static-neutral-1300);
|
|
7
|
-
} .page-
|
|
7
|
+
} .page-indicator__element_1ivs4 {
|
|
8
8
|
background: var(--page-indicator-color-static)
|
|
9
|
-
} .page-
|
|
9
|
+
} .page-indicator__element_1ivs4.page-indicator__active_1ivs4 {
|
|
10
10
|
background: var(--page-indicator-active-color-static);
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./static.css');
|
|
4
4
|
|
|
5
|
-
var staticColors = {"element":"page-
|
|
5
|
+
var staticColors = {"element":"page-indicator__element_1ivs4","active":"page-indicator__active_1ivs4"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticColors;
|
|
8
8
|
//# sourceMappingURL=static.module.css.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Component = require('./components/bullet/Component.js');
|
|
6
|
+
var Component$1 = require('./components/dynamic/Component.js');
|
|
7
|
+
var Component$2 = require('./components/runner/Component.js');
|
|
8
|
+
var Component$3 = require('./components/step/Component.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.PageIndicatorBullet = Component.PageIndicatorBullet;
|
|
13
|
+
exports.PageIndicatorDynamic = Component$1.PageIndicatorDynamic;
|
|
14
|
+
exports.PageIndicatorRunner = Component$2.PageIndicatorRunner;
|
|
15
|
+
exports.PageIndicatorStep = Component$3.PageIndicatorStep;
|
|
16
|
+
//# sourceMappingURL=Component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Component.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var reactTransitionGroup = require('react-transition-group');
|
|
7
|
+
var cn = require('classnames');
|
|
8
|
+
var utils = require('./utils/utils.js');
|
|
9
|
+
var default_module = require('./default.module.css.js');
|
|
10
|
+
var index_module = require('./index.module.css.js');
|
|
11
|
+
var inverted_module = require('./inverted.module.css.js');
|
|
12
|
+
var static_module = require('./static.module.css.js');
|
|
13
|
+
var staticInverted_module = require('./static-inverted.module.css.js');
|
|
14
|
+
|
|
15
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
16
|
+
|
|
17
|
+
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
18
|
+
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
19
|
+
|
|
20
|
+
var colorsStyle = {
|
|
21
|
+
inverted: inverted_module,
|
|
22
|
+
default: default_module,
|
|
23
|
+
static: static_module,
|
|
24
|
+
'static-inverted': staticInverted_module,
|
|
25
|
+
};
|
|
26
|
+
var transitionClassess = {};
|
|
27
|
+
var PageIndicatorBullet = function (_a) {
|
|
28
|
+
var _b = _a.elements, count = _b === void 0 ? 10 : _b, activeElementIndex = _a.activeElement, _c = _a.size, size = _c === void 0 ? 8 : _c, _d = _a.gap, gap = _d === void 0 ? 8 : _d, _e = _a.colors, colors = _e === void 0 ? 'default' : _e;
|
|
29
|
+
var refs = React.useMemo(function () { return Array.from({ length: count }, function () { return React.createRef(); }); }, [count]);
|
|
30
|
+
var _f = React.useMemo(function () { return utils.calcParams(size, gap, activeElementIndex, count); }, [activeElementIndex, count, gap, size]), height = _f[0], width = _f[1], offset = _f[2], elementSize = _f[3], firstVisibleElementIndex = _f[4], lastVisibleElementIndex = _f[5];
|
|
31
|
+
return (React__default.default.createElement("div", { className: cn__default.default(index_module.pageIndicator, index_module.bullet), style: { height: height, width: width } },
|
|
32
|
+
React__default.default.createElement("ol", { className: index_module.elementsList, style: { gap: gap, transform: "translate(".concat(offset, "px)") } }, refs.map(function (ref, index) {
|
|
33
|
+
var sizeOfElement = elementSize(index);
|
|
34
|
+
var isActive = activeElementIndex === index;
|
|
35
|
+
var isVisible = firstVisibleElementIndex <= index && index <= lastVisibleElementIndex;
|
|
36
|
+
var addListTransitionEndListener = function (done) {
|
|
37
|
+
var _a;
|
|
38
|
+
var parentElement = (_a = ref.current) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
39
|
+
parentElement === null || parentElement === void 0 ? void 0 : parentElement.addEventListener('transitionend', done, { once: true });
|
|
40
|
+
};
|
|
41
|
+
return (React__default.default.createElement(reactTransitionGroup.CSSTransition
|
|
42
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
43
|
+
, {
|
|
44
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
45
|
+
key: index, nodeRef: ref, addEndListener: addListTransitionEndListener, in: isVisible,
|
|
46
|
+
// passed empty object so any classes aren't added
|
|
47
|
+
classNames: transitionClassess }, function (status) {
|
|
48
|
+
var _a;
|
|
49
|
+
return (React__default.default.createElement("li", { ref: ref, "data-index": index, className: cn__default.default(index_module.element, colorsStyle[colors].element, (_a = {}, _a[colorsStyle[colors].active] = isActive, _a), index_module[status]), style: { height: sizeOfElement, width: sizeOfElement } }));
|
|
50
|
+
}));
|
|
51
|
+
}))));
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
exports.PageIndicatorBullet = PageIndicatorBullet;
|
|
55
|
+
//# sourceMappingURL=Component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["../../../src/components/bullet/Component.tsx"],"sourcesContent":["import React, { createRef, FC, useMemo } from 'react';\nimport { CSSTransition } from 'react-transition-group';\nimport cn from 'classnames';\n\nimport { PageIndicatorBulletProps } from '../../types';\n\nimport { calcParams } from './utils';\n\nimport defaultColors from './default.module.css';\nimport styles from './index.module.css';\nimport invertedColors from './inverted.module.css';\nimport staticColors from './static.module.css';\nimport staticInvertedColors from './static-inverted.module.css';\n\nconst colorsStyle = {\n inverted: invertedColors,\n default: defaultColors,\n static: staticColors,\n 'static-inverted': staticInvertedColors,\n} as const;\n\nconst transitionClassess = {} as const;\n\nexport const PageIndicatorBullet: FC<PageIndicatorBulletProps> = ({\n elements: count = 10,\n activeElement: activeElementIndex,\n size = 8,\n gap = 8,\n colors = 'default',\n}) => {\n const refs = useMemo(\n () => Array.from({ length: count }, () => createRef<HTMLLIElement>()),\n [count],\n );\n const [height, width, offset, elementSize, firstVisibleElementIndex, lastVisibleElementIndex] =\n useMemo(\n () => calcParams(size, gap, activeElementIndex, count),\n [activeElementIndex, count, gap, size],\n );\n\n return (\n <div className={cn(styles.pageIndicator, styles.bullet)} style={{ height, width }}>\n <ol\n className={styles.elementsList}\n style={{ gap, transform: `translate(${offset}px)` }}\n >\n {refs.map((ref, index) => {\n const sizeOfElement = elementSize(index);\n const isActive = activeElementIndex === index;\n const isVisible =\n firstVisibleElementIndex <= index && index <= lastVisibleElementIndex;\n const addListTransitionEndListener = (done: () => void) => {\n const parentElement = ref.current?.parentElement;\n\n parentElement?.addEventListener('transitionend', done, { once: true });\n };\n\n return (\n <CSSTransition\n // eslint-disable-next-line react/no-array-index-key\n key={index}\n nodeRef={ref}\n addEndListener={addListTransitionEndListener}\n in={isVisible}\n // passed empty object so any classes aren't added\n classNames={transitionClassess}\n >\n {(status) => (\n <li\n ref={ref}\n data-index={index}\n className={cn(\n styles.element,\n colorsStyle[colors].element,\n { [colorsStyle[colors].active]: isActive },\n styles[status],\n )}\n style={{ height: sizeOfElement, width: sizeOfElement }}\n />\n )}\n </CSSTransition>\n );\n })}\n </ol>\n </div>\n );\n};\n"],"names":["invertedColors","defaultColors","staticColors","staticInvertedColors","useMemo","createRef","calcParams","React","cn","styles","CSSTransition"],"mappings":";;;;;;;;;;;;;;;;;;;AAcA,IAAM,WAAW,GAAG;AAChB,IAAA,QAAQ,EAAEA,eAAc;AACxB,IAAA,OAAO,EAAEC,cAAa;AACtB,IAAA,MAAM,EAAEC,aAAY;AACpB,IAAA,iBAAiB,EAAEC,qBAAoB;CACjC;AAEV,IAAM,kBAAkB,GAAG,EAAW;AAE/B,IAAM,mBAAmB,GAAiC,UAAC,EAMjE,EAAA;AALG,IAAA,IAAA,EAAA,GAAA,EAAA,CAAA,QAAoB,EAAV,KAAK,GAAG,EAAA,KAAA,MAAA,GAAA,EAAE,GAAA,EAAA,EACL,kBAAkB,GAAA,EAAA,CAAA,aAAA,EACjC,EAAA,GAAA,EAAA,CAAA,IAAQ,EAAR,IAAI,GAAG,EAAA,KAAA,MAAA,GAAA,CAAC,GAAA,EAAA,EACR,EAAO,GAAA,EAAA,CAAA,GAAA,EAAP,GAAG,GAAA,EAAA,KAAA,MAAA,GAAG,CAAC,GAAA,EAAA,EACP,EAAA,GAAA,EAAA,CAAA,MAAkB,EAAlB,MAAM,GAAG,EAAA,KAAA,MAAA,GAAA,SAAS,GAAA,EAAA;AAElB,IAAA,IAAM,IAAI,GAAGC,aAAO,CAChB,YAAM,EAAA,OAAA,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,YAAA,EAAM,OAAAC,eAAS,EAAiB,CAAA,EAAA,CAAC,CAA/D,EAA+D,EACrE,CAAC,KAAK,CAAC,CACV;IACK,IAAA,EAAA,GACFD,aAAO,CACH,YAAA,EAAM,OAAAE,gBAAU,CAAC,IAAI,EAAE,GAAG,EAAE,kBAAkB,EAAE,KAAK,CAAC,CAAA,EAAA,EACtD,CAAC,kBAAkB,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,CACzC,EAJE,MAAM,GAAA,EAAA,CAAA,CAAA,CAAA,EAAE,KAAK,GAAA,EAAA,CAAA,CAAA,CAAA,EAAE,MAAM,GAAA,EAAA,CAAA,CAAA,CAAA,EAAE,WAAW,GAAA,EAAA,CAAA,CAAA,CAAA,EAAE,wBAAwB,GAAA,EAAA,CAAA,CAAA,CAAA,EAAE,uBAAuB,GAAA,EAAA,CAAA,CAAA,CAIvF;IAEL,QACIC,8CAAK,SAAS,EAAEC,mBAAE,CAACC,YAAM,CAAC,aAAa,EAAEA,YAAM,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,EAAE,MAAM,EAAA,MAAA,EAAE,KAAK,EAAA,KAAA,EAAE,EAAA;QAC7EF,sBACI,CAAA,aAAA,CAAA,IAAA,EAAA,EAAA,SAAS,EAAEE,YAAM,CAAC,YAAY,EAC9B,KAAK,EAAE,EAAE,GAAG,EAAA,GAAA,EAAE,SAAS,EAAE,YAAa,CAAA,MAAA,CAAA,MAAM,EAAK,KAAA,CAAA,EAAE,EAElD,EAAA,IAAI,CAAC,GAAG,CAAC,UAAC,GAAG,EAAE,KAAK,EAAA;AACjB,YAAA,IAAM,aAAa,GAAG,WAAW,CAAC,KAAK,CAAC;AACxC,YAAA,IAAM,QAAQ,GAAG,kBAAkB,KAAK,KAAK;YAC7C,IAAM,SAAS,GACX,wBAAwB,IAAI,KAAK,IAAI,KAAK,IAAI,uBAAuB;YACzE,IAAM,4BAA4B,GAAG,UAAC,IAAgB,EAAA;;gBAClD,IAAM,aAAa,GAAG,CAAA,EAAA,GAAA,GAAG,CAAC,OAAO,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,aAAa;AAEhD,gBAAA,aAAa,aAAb,aAAa,KAAA,MAAA,GAAA,MAAA,GAAb,aAAa,CAAE,gBAAgB,CAAC,eAAe,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAC1E,aAAC;YAED,QACIF,qCAACG;;;;AAEG,gBAAA,GAAG,EAAE,KAAK,EACV,OAAO,EAAE,GAAG,EACZ,cAAc,EAAE,4BAA4B,EAC5C,EAAE,EAAE,SAAS;;AAEb,gBAAA,UAAU,EAAE,kBAAkB,EAE7B,EAAA,UAAC,MAAM,EAAA;;gBAAK,QACTH,6CACI,GAAG,EAAE,GAAG,EACI,YAAA,EAAA,KAAK,EACjB,SAAS,EAAEC,mBAAE,CACTC,YAAM,CAAC,OAAO,EACd,WAAW,CAAC,MAAM,CAAC,CAAC,OAAO,GAAA,EAAA,GAAA,EAAA,EACzB,EAAC,CAAA,WAAW,CAAC,MAAM,CAAC,CAAC,MAAM,CAAG,GAAA,QAAQ,OACxCA,YAAM,CAAC,MAAM,CAAC,CACjB,EACD,KAAK,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,EAAA,CACxD;aACL,CACW;AAExB,SAAC,CAAC,CACD,CACH;AAEd;;;;"}
|