@alfalab/core-components-page-indicator 3.0.3 → 3.0.4-alfasans
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/Component.js +4 -4
- package/components/bullet/Component.js.map +1 -1
- package/components/bullet/default.css +2 -2
- package/components/bullet/default.module.css.js +1 -1
- package/components/bullet/index.css +7 -9
- package/components/bullet/index.module.css.js +1 -1
- package/components/bullet/index.module.css.js.map +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/Component.js +3 -3
- package/components/dynamic/Component.js.map +1 -1
- package/components/dynamic/default.css +3 -3
- package/components/dynamic/default.module.css.js +1 -1
- package/components/dynamic/index.css +6 -8
- package/components/dynamic/index.module.css.js +1 -1
- package/components/dynamic/index.module.css.js.map +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/Component.js +2 -2
- package/components/runner/Component.js.map +1 -1
- package/components/runner/default.css +2 -2
- package/components/runner/default.module.css.js +1 -1
- package/components/runner/index.css +4 -1
- package/components/runner/index.module.css.js +1 -1
- package/components/runner/index.module.css.js.map +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/Component.js +3 -3
- package/components/step/Component.js.map +1 -1
- package/components/step/default.css +2 -2
- package/components/step/default.module.css.js +1 -1
- package/components/step/index.css +3 -4
- package/components/step/index.module.css.js +1 -1
- package/components/step/index.module.css.js.map +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/cssm/components/bullet/Component.js +4 -4
- package/cssm/components/bullet/Component.js.map +1 -1
- package/cssm/components/bullet/index.module.css +0 -2
- package/cssm/components/dynamic/Component.js +3 -3
- package/cssm/components/dynamic/Component.js.map +1 -1
- package/cssm/components/dynamic/index.module.css +0 -2
- package/cssm/components/runner/Component.js +2 -2
- package/cssm/components/runner/Component.js.map +1 -1
- package/cssm/components/runner/index.module.css +3 -0
- package/cssm/components/step/Component.js +3 -3
- package/cssm/components/step/Component.js.map +1 -1
- package/cssm/components/step/index.module.css +1 -2
- package/cssm/types.d.ts +15 -35
- package/esm/components/bullet/Component.js +4 -4
- package/esm/components/bullet/Component.js.map +1 -1
- 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 -9
- package/esm/components/bullet/index.module.css.js +1 -1
- package/esm/components/bullet/index.module.css.js.map +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/Component.js +3 -3
- package/esm/components/dynamic/Component.js.map +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 -8
- package/esm/components/dynamic/index.module.css.js +1 -1
- package/esm/components/dynamic/index.module.css.js.map +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/Component.js +2 -2
- package/esm/components/runner/Component.js.map +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 +4 -1
- package/esm/components/runner/index.module.css.js +1 -1
- package/esm/components/runner/index.module.css.js.map +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/Component.js +3 -3
- package/esm/components/step/Component.js.map +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 +3 -4
- package/esm/components/step/index.module.css.js +1 -1
- package/esm/components/step/index.module.css.js.map +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/esm/types.d.ts +15 -35
- package/modern/components/bullet/Component.js +4 -4
- package/modern/components/bullet/Component.js.map +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 -9
- package/modern/components/bullet/index.module.css.js +1 -1
- package/modern/components/bullet/index.module.css.js.map +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/Component.js +3 -3
- package/modern/components/dynamic/Component.js.map +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 -8
- package/modern/components/dynamic/index.module.css.js +1 -1
- package/modern/components/dynamic/index.module.css.js.map +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/Component.js +1 -1
- package/modern/components/runner/Component.js.map +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 +4 -1
- package/modern/components/runner/index.module.css.js +1 -1
- package/modern/components/runner/index.module.css.js.map +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/Component.js +1 -1
- package/modern/components/step/Component.js.map +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 +3 -4
- package/modern/components/step/index.module.css.js +1 -1
- package/modern/components/step/index.module.css.js.map +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/modern/types.d.ts +15 -35
- package/moderncssm/components/bullet/Component.js +4 -4
- package/moderncssm/components/bullet/Component.js.map +1 -1
- package/moderncssm/components/bullet/index.module.css +0 -2
- package/moderncssm/components/dynamic/Component.js +3 -3
- package/moderncssm/components/dynamic/Component.js.map +1 -1
- package/moderncssm/components/dynamic/index.module.css +0 -2
- package/moderncssm/components/runner/Component.js +1 -1
- package/moderncssm/components/runner/Component.js.map +1 -1
- package/moderncssm/components/runner/index.module.css +4 -0
- package/moderncssm/components/step/Component.js +1 -1
- package/moderncssm/components/step/Component.js.map +1 -1
- package/moderncssm/components/step/index.module.css +1 -2
- package/moderncssm/types.d.ts +15 -35
- package/package.json +7 -4
- package/src/components/bullet/Component.tsx +9 -5
- package/src/components/bullet/index.module.css +0 -2
- package/src/components/dynamic/Component.tsx +5 -4
- package/src/components/dynamic/index.module.css +0 -2
- package/src/components/runner/Component.tsx +2 -1
- package/src/components/runner/index.module.css +4 -0
- package/src/components/step/Component.tsx +4 -3
- package/src/components/step/index.module.css +1 -2
- package/src/types.ts +15 -35
- package/types.d.ts +15 -35
|
@@ -25,11 +25,11 @@ var colorsStyle = {
|
|
|
25
25
|
};
|
|
26
26
|
var transitionClassess = {};
|
|
27
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;
|
|
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, className = _a.className;
|
|
29
29
|
var refs = React.useMemo(function () { return Array.from({ length: count }, function () { return React.createRef(); }); }, [count]);
|
|
30
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("
|
|
31
|
+
return (React__default.default.createElement("div", { className: cn__default.default(index_module.pageIndicator, index_module.bullet, className), style: { height: height, width: width } },
|
|
32
|
+
React__default.default.createElement("div", { className: index_module.elementsList, style: { gap: gap, transform: "translate(".concat(offset, "px)") } }, refs.map(function (ref, index) {
|
|
33
33
|
var sizeOfElement = elementSize(index);
|
|
34
34
|
var isActive = activeElementIndex === index;
|
|
35
35
|
var isVisible = firstVisibleElementIndex <= index && index <= lastVisibleElementIndex;
|
|
@@ -46,7 +46,7 @@ var PageIndicatorBullet = function (_a) {
|
|
|
46
46
|
// passed empty object so any classes aren't added
|
|
47
47
|
classNames: transitionClassess }, function (status) {
|
|
48
48
|
var _a;
|
|
49
|
-
return (React__default.default.createElement("
|
|
49
|
+
return (React__default.default.createElement("div", { 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
50
|
}));
|
|
51
51
|
}))));
|
|
52
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.js","sources":["../../src/components/bullet/Component.tsx"],"sourcesContent":["import React, { createRef, type FC, useMemo } from 'react';\nimport { CSSTransition } from 'react-transition-group';\nimport cn from 'classnames';\n\nimport { type 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<
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["../../src/components/bullet/Component.tsx"],"sourcesContent":["import React, { createRef, type FC, useMemo } from 'react';\nimport { CSSTransition } from 'react-transition-group';\nimport cn from 'classnames';\n\nimport { type 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 className,\n}) => {\n const refs = useMemo(\n () => Array.from({ length: count }, () => createRef<HTMLDivElement>()),\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\n className={cn(styles.pageIndicator, styles.bullet, className)}\n style={{ height, width }}\n >\n <div\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 <div\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 </div>\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,EAOjE,EAAA;AANG,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,mBAAG,CAAC,GAAA,EAAA,EACR,EAAA,GAAA,EAAA,CAAA,GAAO,EAAP,GAAG,GAAG,EAAA,KAAA,MAAA,GAAA,CAAC,KAAA,EACP,EAAA,GAAA,EAAA,CAAA,MAAkB,EAAlB,MAAM,GAAG,EAAA,KAAA,MAAA,GAAA,SAAS,GAAA,EAAA,EAClB,SAAS,GAAA,EAAA,CAAA,SAAA;AAET,IAAA,IAAM,IAAI,GAAGC,aAAO,CAChB,YAAM,EAAA,OAAA,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,YAAA,EAAM,OAAAC,eAAS,EAAkB,CAAA,EAAA,CAAC,CAAhE,EAAgE,EACtE,CAAC,KAAK,CAAC,CACV;IACK,IAAA,EAAA,GACFD,aAAO,CACH,YAAA,EAAM,OAAAE,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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,8CACI,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,CACA,CACJ;AAEd;;;;"}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
--page-indicator-color: var(--color-light-neutral-translucent-300);
|
|
7
7
|
--page-indicator-active-color: var(--color-light-neutral-translucent-1300);
|
|
8
8
|
}
|
|
9
|
-
.page-
|
|
9
|
+
.page-indicator__element_p30ls {
|
|
10
10
|
background: var(--page-indicator-color);
|
|
11
11
|
}
|
|
12
|
-
.page-
|
|
12
|
+
.page-indicator__element_p30ls.page-indicator__active_p30ls {
|
|
13
13
|
background: var(--page-indicator-active-color);
|
|
14
14
|
}
|
|
@@ -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_p30ls","active":"page-indicator__active_p30ls"};
|
|
6
6
|
|
|
7
7
|
module.exports = defaultColors;
|
|
8
8
|
//# sourceMappingURL=default.module.css.js.map
|
|
@@ -5,29 +5,27 @@
|
|
|
5
5
|
--page-indicator-animation-duration: 0.2s;
|
|
6
6
|
--page-indicator-animation-timing-function: ease-in-out;
|
|
7
7
|
}
|
|
8
|
-
.page-
|
|
8
|
+
.page-indicator__pageIndicator_wp2vf.page-indicator__bullet_wp2vf {
|
|
9
9
|
overflow: hidden;
|
|
10
10
|
}
|
|
11
|
-
.page-
|
|
12
|
-
margin: 0;
|
|
13
|
-
padding: 0;
|
|
11
|
+
.page-indicator__elementsList_wp2vf {
|
|
14
12
|
display: flex;
|
|
15
13
|
align-items: center;
|
|
16
14
|
will-change: transform;
|
|
17
15
|
transition: transform var(--page-indicator-animation-duration)
|
|
18
16
|
var(--page-indicator-animation-timing-function);
|
|
19
17
|
}
|
|
20
|
-
.page-
|
|
18
|
+
.page-indicator__element_wp2vf {
|
|
21
19
|
list-style-type: none;
|
|
22
20
|
flex-shrink: 0;
|
|
23
21
|
transition: background var(--page-indicator-animation-duration)
|
|
24
22
|
var(--page-indicator-animation-timing-function);
|
|
25
23
|
border-radius: var(--border-radius-circle);
|
|
26
24
|
}
|
|
27
|
-
.page-
|
|
25
|
+
.page-indicator__element_wp2vf.page-indicator__entering_wp2vf {
|
|
28
26
|
opacity: 0;
|
|
29
27
|
}
|
|
30
|
-
.page-
|
|
28
|
+
.page-indicator__element_wp2vf.page-indicator__entered_wp2vf {
|
|
31
29
|
opacity: 1;
|
|
32
30
|
transition:
|
|
33
31
|
background var(--page-indicator-animation-duration)
|
|
@@ -35,9 +33,9 @@
|
|
|
35
33
|
opacity var(--page-indicator-animation-duration)
|
|
36
34
|
var(--page-indicator-animation-timing-function);
|
|
37
35
|
}
|
|
38
|
-
.page-
|
|
36
|
+
.page-indicator__element_wp2vf.page-indicator__exiting_wp2vf {
|
|
39
37
|
opacity: 0;
|
|
40
38
|
}
|
|
41
|
-
.page-
|
|
39
|
+
.page-indicator__element_wp2vf.page-indicator__exited_wp2vf {
|
|
42
40
|
opacity: 0;
|
|
43
41
|
}
|
|
@@ -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_wp2vf","bullet":"page-indicator__bullet_wp2vf","elementsList":"page-indicator__elementsList_wp2vf","element":"page-indicator__element_wp2vf","entering":"page-indicator__entering_wp2vf","entered":"page-indicator__entered_wp2vf","exiting":"page-indicator__exiting_wp2vf","exited":"page-indicator__exited_wp2vf"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../../src/components/bullet/index.module.css"],"sourcesContent":["@import '../../vars.css';\n\n.pageIndicator {\n &.bullet {\n overflow: hidden;\n }\n}\n\n.elementsList {\n
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/bullet/index.module.css"],"sourcesContent":["@import '../../vars.css';\n\n.pageIndicator {\n &.bullet {\n overflow: hidden;\n }\n}\n\n.elementsList {\n display: flex;\n align-items: center;\n will-change: transform;\n transition: transform var(--page-indicator-animation-duration)\n var(--page-indicator-animation-timing-function);\n}\n\n.element {\n list-style-type: none;\n flex-shrink: 0;\n transition: background var(--page-indicator-animation-duration)\n var(--page-indicator-animation-timing-function);\n border-radius: var(--border-radius-circle);\n\n &.entering {\n opacity: 0;\n }\n &.entered {\n opacity: 1;\n transition:\n background var(--page-indicator-animation-duration)\n var(--page-indicator-animation-timing-function),\n opacity var(--page-indicator-animation-duration)\n var(--page-indicator-animation-timing-function);\n }\n &.exiting {\n opacity: 0;\n }\n &.exited {\n opacity: 0;\n }\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,eAAe,CAAC,qCAAqC,CAAC,QAAQ,CAAC,8BAA8B,CAAC,cAAc,CAAC,oCAAoC,CAAC,SAAS,CAAC,+BAA+B,CAAC,UAAU,CAAC,gCAAgC,CAAC,SAAS,CAAC,+BAA+B,CAAC,SAAS,CAAC,+BAA+B,CAAC,QAAQ,CAAC,8BAA8B,CAAC;;;;"}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
--page-indicator-color-inverted: var(--color-light-neutral-translucent-300-inverted);
|
|
7
7
|
--page-indicator-active-color-inverted: var(--color-light-neutral-translucent-1300-inverted);
|
|
8
8
|
}
|
|
9
|
-
.page-
|
|
9
|
+
.page-indicator__element_jrt7t {
|
|
10
10
|
background: var(--page-indicator-color-inverted);
|
|
11
11
|
}
|
|
12
|
-
.page-
|
|
12
|
+
.page-indicator__element_jrt7t.page-indicator__active_jrt7t {
|
|
13
13
|
background: var(--page-indicator-active-color-inverted);
|
|
14
14
|
}
|
|
@@ -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_jrt7t","active":"page-indicator__active_jrt7t"};
|
|
6
6
|
|
|
7
7
|
module.exports = invertedColors;
|
|
8
8
|
//# sourceMappingURL=inverted.module.css.js.map
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
--page-indicator-color-static-inverted: var(--color-static-neutral-translucent-300-inverted);
|
|
7
7
|
--page-indicator-active-color-static-inverted: var(--color-static-neutral-1300-inverted);
|
|
8
8
|
}
|
|
9
|
-
.page-
|
|
9
|
+
.page-indicator__element_l4x8q {
|
|
10
10
|
background: var(--page-indicator-color-static-inverted);
|
|
11
11
|
}
|
|
12
|
-
.page-
|
|
12
|
+
.page-indicator__element_l4x8q.page-indicator__active_l4x8q {
|
|
13
13
|
background: var(--page-indicator-active-color-static-inverted);
|
|
14
14
|
}
|
|
@@ -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_l4x8q","active":"page-indicator__active_l4x8q"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticInvertedColors;
|
|
8
8
|
//# sourceMappingURL=static-inverted.module.css.js.map
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
--page-indicator-color-static: var(--color-static-neutral-translucent-300);
|
|
7
7
|
--page-indicator-active-color-static: var(--color-static-neutral-1300);
|
|
8
8
|
}
|
|
9
|
-
.page-
|
|
9
|
+
.page-indicator__element_1fl6e {
|
|
10
10
|
background: var(--page-indicator-color-static);
|
|
11
11
|
}
|
|
12
|
-
.page-
|
|
12
|
+
.page-indicator__element_1fl6e.page-indicator__active_1fl6e {
|
|
13
13
|
background: var(--page-indicator-active-color-static);
|
|
14
14
|
}
|
|
@@ -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_1fl6e","active":"page-indicator__active_1fl6e"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticColors;
|
|
8
8
|
//# sourceMappingURL=static.module.css.js.map
|
|
@@ -24,7 +24,7 @@ var colorsStyle = {
|
|
|
24
24
|
};
|
|
25
25
|
var FULL_PROGRESS = 100;
|
|
26
26
|
var PageIndicatorDynamic = function (props) {
|
|
27
|
-
var _a = props.size, height = _a === void 0 ? 8 : _a, _b = props.gap, gap = _b === void 0 ? 8 : _b, _c = props.activeElementWidth, activeElementWidth = _c === void 0 ? height * 7 : _c, _d = props.elements, count = _d === void 0 ? 10 : _d, indexFromProps = props.activeElement, onActiveElementChange = props.onActiveElementChange, _e = props.defaultActiveElement, defaultIndex = _e === void 0 ? 0 : _e, _f = props.active, active = _f === void 0 ? true : _f, _g = props.duration, durationFromProps = _g === void 0 ? 3000 : _g, _h = props.cycle, cycle = _h === void 0 ? false : _h, _j = props.colors, colors = _j === void 0 ? 'default' : _j;
|
|
27
|
+
var _a = props.size, height = _a === void 0 ? 8 : _a, _b = props.gap, gap = _b === void 0 ? 8 : _b, _c = props.activeElementWidth, activeElementWidth = _c === void 0 ? height * 7 : _c, _d = props.elements, count = _d === void 0 ? 10 : _d, indexFromProps = props.activeElement, onActiveElementChange = props.onActiveElementChange, _e = props.defaultActiveElement, defaultIndex = _e === void 0 ? 0 : _e, _f = props.active, active = _f === void 0 ? true : _f, _g = props.duration, durationFromProps = _g === void 0 ? 3000 : _g, _h = props.cycle, cycle = _h === void 0 ? false : _h, _j = props.colors, colors = _j === void 0 ? 'default' : _j, className = props.className;
|
|
28
28
|
var _k = React.useState(indexFromProps !== null && indexFromProps !== void 0 ? indexFromProps : defaultIndex), activeIndex = _k[0], setActiveIndex = _k[1];
|
|
29
29
|
var _l = React.useState(0), progress = _l[0], setProgress = _l[1];
|
|
30
30
|
var inProgress = progress < FULL_PROGRESS;
|
|
@@ -62,7 +62,7 @@ var PageIndicatorDynamic = function (props) {
|
|
|
62
62
|
setActiveIndex(nextActiveIndex);
|
|
63
63
|
setProgress(0);
|
|
64
64
|
}, [activeIndex, activeIndexInProps, count, cycle, inProgress, onActiveElementChange]);
|
|
65
|
-
return (React__default.default.createElement("
|
|
65
|
+
return (React__default.default.createElement("div", { className: cn__default.default(index_module.pageIndicator, className), style: { height: height, gap: gap } }, Array.from({ length: count }, function (_, index) {
|
|
66
66
|
var _a;
|
|
67
67
|
var isActive = index === activeIndex;
|
|
68
68
|
var style = {
|
|
@@ -72,7 +72,7 @@ var PageIndicatorDynamic = function (props) {
|
|
|
72
72
|
var progressStyle = isActive
|
|
73
73
|
? { transform: "translateX(".concat(progress - FULL_PROGRESS, "%)") }
|
|
74
74
|
: undefined;
|
|
75
|
-
return (React__default.default.createElement("
|
|
75
|
+
return (React__default.default.createElement("div", { key: index, style: style, className: cn__default.default(index_module.element, colorsStyle[colors].element, (_a = {},
|
|
76
76
|
_a[index_module.active] = isActive,
|
|
77
77
|
_a[colorsStyle[colors].active] = isActive,
|
|
78
78
|
_a)) },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.js","sources":["../../src/components/dynamic/Component.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport cn from 'classnames';\n\nimport {\n hasOwnProperty,\n isFn,\n isNonNullable,\n isNullable,\n noop,\n} from '@alfalab/core-components-shared';\n\nimport { type PageIndicatorDynamicProps } from '../../types';\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 FULL_PROGRESS = 100;\n\nexport const PageIndicatorDynamic: React.FC<PageIndicatorDynamicProps> = (props) => {\n const {\n size: height = 8,\n gap = 8,\n activeElementWidth = height * 7,\n elements: count = 10,\n activeElement: indexFromProps,\n onActiveElementChange,\n defaultActiveElement: defaultIndex = 0,\n active = true,\n duration: durationFromProps = 3000,\n cycle = false,\n colors = 'default',\n } = props;\n const [activeIndex, setActiveIndex] = useState<number | undefined>(\n indexFromProps ?? defaultIndex,\n );\n const [progress, setProgress] = useState(0);\n const inProgress = progress < FULL_PROGRESS;\n const activeIndexInProps = hasOwnProperty(props, 'activeElement');\n let duration: number;\n\n if (active && isNonNullable(activeIndex) && inProgress) {\n duration = isFn(durationFromProps) ? durationFromProps(activeIndex) : durationFromProps;\n } else {\n duration = -1;\n }\n\n // getDerivedStateFromProps\n if (activeIndexInProps && !(activeIndex === indexFromProps)) {\n setActiveIndex(indexFromProps);\n setProgress(0);\n }\n\n useEffect(() => {\n if (duration === -1) {\n return noop;\n }\n\n const interval = duration / FULL_PROGRESS;\n const timer = setInterval(\n () => setProgress((prevProgress) => Math.min(prevProgress + 1, FULL_PROGRESS)),\n interval,\n );\n\n return () => clearInterval(timer);\n }, [duration]);\n\n useEffect(() => {\n const isLast = activeIndex === count - 1;\n\n if (inProgress || isNullable(activeIndex) || (isLast && !cycle)) {\n return;\n }\n\n const nextActiveIndex = isLast && cycle ? 0 : activeIndex + 1;\n\n onActiveElementChange?.(nextActiveIndex);\n\n if (activeIndexInProps) {\n return;\n }\n\n setActiveIndex(nextActiveIndex);\n setProgress(0);\n }, [activeIndex, activeIndexInProps, count, cycle, inProgress, onActiveElementChange]);\n\n return (\n <
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["../../src/components/dynamic/Component.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport cn from 'classnames';\n\nimport {\n hasOwnProperty,\n isFn,\n isNonNullable,\n isNullable,\n noop,\n} from '@alfalab/core-components-shared';\n\nimport { type PageIndicatorDynamicProps } from '../../types';\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 FULL_PROGRESS = 100;\n\nexport const PageIndicatorDynamic: React.FC<PageIndicatorDynamicProps> = (props) => {\n const {\n size: height = 8,\n gap = 8,\n activeElementWidth = height * 7,\n elements: count = 10,\n activeElement: indexFromProps,\n onActiveElementChange,\n defaultActiveElement: defaultIndex = 0,\n active = true,\n duration: durationFromProps = 3000,\n cycle = false,\n colors = 'default',\n className,\n } = props;\n const [activeIndex, setActiveIndex] = useState<number | undefined>(\n indexFromProps ?? defaultIndex,\n );\n const [progress, setProgress] = useState(0);\n const inProgress = progress < FULL_PROGRESS;\n const activeIndexInProps = hasOwnProperty(props, 'activeElement');\n let duration: number;\n\n if (active && isNonNullable(activeIndex) && inProgress) {\n duration = isFn(durationFromProps) ? durationFromProps(activeIndex) : durationFromProps;\n } else {\n duration = -1;\n }\n\n // getDerivedStateFromProps\n if (activeIndexInProps && !(activeIndex === indexFromProps)) {\n setActiveIndex(indexFromProps);\n setProgress(0);\n }\n\n useEffect(() => {\n if (duration === -1) {\n return noop;\n }\n\n const interval = duration / FULL_PROGRESS;\n const timer = setInterval(\n () => setProgress((prevProgress) => Math.min(prevProgress + 1, FULL_PROGRESS)),\n interval,\n );\n\n return () => clearInterval(timer);\n }, [duration]);\n\n useEffect(() => {\n const isLast = activeIndex === count - 1;\n\n if (inProgress || isNullable(activeIndex) || (isLast && !cycle)) {\n return;\n }\n\n const nextActiveIndex = isLast && cycle ? 0 : activeIndex + 1;\n\n onActiveElementChange?.(nextActiveIndex);\n\n if (activeIndexInProps) {\n return;\n }\n\n setActiveIndex(nextActiveIndex);\n setProgress(0);\n }, [activeIndex, activeIndexInProps, count, cycle, inProgress, onActiveElementChange]);\n\n return (\n <div className={cn(styles.pageIndicator, className)} style={{ height, gap }}>\n {Array.from({ length: count }, (_, index) => {\n const isActive = index === activeIndex;\n const style: React.CSSProperties = {\n width: isActive ? activeElementWidth : height,\n borderRadius: height / 2,\n };\n const progressStyle: React.CSSProperties | undefined = isActive\n ? { transform: `translateX(${progress - FULL_PROGRESS}%)` }\n : undefined;\n\n return (\n <div\n key={index}\n style={style}\n className={cn(styles.element, colorsStyle[colors].element, {\n [styles.active]: isActive,\n [colorsStyle[colors].active]: isActive,\n })}\n >\n <div\n style={progressStyle}\n className={cn(styles.progress, colorsStyle[colors].progress)}\n />\n </div>\n );\n })}\n </div>\n );\n};\n"],"names":["invertedColors","defaultColors","staticColors","staticInvertedColors","useState","hasOwnProperty","isNonNullable","isFn","useEffect","noop","isNullable","React","cn","styles"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,IAAM,WAAW,GAAG;AAChB,IAAA,QAAQ,EAAEA,eAAc;AACxB,IAAA,OAAO,EAAEC,cAAa;AACtB,IAAA,MAAM,EAAEC,aAAY;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MAAM,CAAC,CAAC,MAAM,IAAG,QAAQ;AACxC,gBAAA,EAAA,EAAA,EAAA;YAEFF,sBACI,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE,aAAa,EACpB,SAAS,EAAEC,mBAAE,CAACC,YAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,EAAA,CAC9D,CACA;KAEb,CAAC,CACA;AAEd;;;;"}
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
--page-indicator-color: var(--color-light-neutral-translucent-300);
|
|
7
7
|
--page-indicator-active-color: var(--color-light-neutral-translucent-1300);
|
|
8
8
|
}
|
|
9
|
-
.page-
|
|
9
|
+
.page-indicator__element_o4ub7 {
|
|
10
10
|
background: var(--page-indicator-color);
|
|
11
11
|
}
|
|
12
|
-
.page-
|
|
13
|
-
.page-
|
|
12
|
+
.page-indicator__element_o4ub7.page-indicator__active_o4ub7 {
|
|
13
|
+
.page-indicator__progress_o4ub7 {
|
|
14
14
|
background: var(--page-indicator-active-color);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -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_o4ub7","active":"page-indicator__active_o4ub7","progress":"page-indicator__progress_o4ub7"};
|
|
6
6
|
|
|
7
7
|
module.exports = defaultColors;
|
|
8
8
|
//# sourceMappingURL=default.module.css.js.map
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--page-indicator-animation-duration: 0.2s;
|
|
3
3
|
}
|
|
4
|
-
.page-
|
|
5
|
-
margin: 0;
|
|
6
|
-
padding: 0;
|
|
4
|
+
.page-indicator__pageIndicator_h7ekc {
|
|
7
5
|
display: flex;
|
|
8
6
|
}
|
|
9
|
-
.page-
|
|
7
|
+
.page-indicator__element_h7ekc {
|
|
10
8
|
list-style-type: none;
|
|
11
9
|
overflow: hidden;
|
|
12
10
|
transition: width var(--page-indicator-animation-duration) linear;
|
|
13
11
|
}
|
|
14
|
-
.page-
|
|
15
|
-
.page-
|
|
12
|
+
.page-indicator__element_h7ekc:not(.page-indicator__active_h7ekc) {
|
|
13
|
+
.page-indicator__progress_h7ekc {
|
|
16
14
|
display: none;
|
|
17
15
|
}
|
|
18
16
|
}
|
|
19
|
-
.page-
|
|
17
|
+
.page-indicator__element_h7ekc {
|
|
20
18
|
|
|
21
|
-
.page-
|
|
19
|
+
.page-indicator__progress_h7ekc {
|
|
22
20
|
width: 100%;
|
|
23
21
|
height: 100%;
|
|
24
22
|
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_h7ekc","element":"page-indicator__element_h7ekc","active":"page-indicator__active_h7ekc","progress":"page-indicator__progress_h7ekc"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../../src/components/dynamic/index.module.css"],"sourcesContent":["@import '../../vars.css';\n\n.pageIndicator {\n
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/dynamic/index.module.css"],"sourcesContent":["@import '../../vars.css';\n\n.pageIndicator {\n display: flex;\n}\n\n.element {\n list-style-type: none;\n overflow: hidden;\n transition: width var(--page-indicator-animation-duration) linear;\n\n &:not(.active) {\n .progress {\n display: none;\n }\n }\n\n .progress {\n width: 100%;\n height: 100%;\n will-change: transform;\n }\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,eAAe,CAAC,qCAAqC,CAAC,SAAS,CAAC,+BAA+B,CAAC,QAAQ,CAAC,8BAA8B,CAAC,UAAU,CAAC,gCAAgC,CAAC;;;;"}
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
--page-indicator-color-inverted: var(--color-light-neutral-translucent-300-inverted);
|
|
7
7
|
--page-indicator-active-color-inverted: var(--color-light-neutral-translucent-1300-inverted);
|
|
8
8
|
}
|
|
9
|
-
.page-
|
|
9
|
+
.page-indicator__element_mqocy {
|
|
10
10
|
background: var(--page-indicator-color-inverted);
|
|
11
11
|
}
|
|
12
|
-
.page-
|
|
13
|
-
.page-
|
|
12
|
+
.page-indicator__element_mqocy.page-indicator__active_mqocy {
|
|
13
|
+
.page-indicator__progress_mqocy {
|
|
14
14
|
background: var(--page-indicator-active-color-inverted);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -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_mqocy","active":"page-indicator__active_mqocy","progress":"page-indicator__progress_mqocy"};
|
|
6
6
|
|
|
7
7
|
module.exports = invertedColors;
|
|
8
8
|
//# sourceMappingURL=inverted.module.css.js.map
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
--page-indicator-color-static-inverted: var(--color-static-neutral-translucent-300-inverted);
|
|
7
7
|
--page-indicator-active-color-static-inverted: var(--color-static-neutral-1300-inverted);
|
|
8
8
|
}
|
|
9
|
-
.page-
|
|
9
|
+
.page-indicator__element_6rxth {
|
|
10
10
|
background: var(--page-indicator-color-static-inverted);
|
|
11
11
|
}
|
|
12
|
-
.page-
|
|
13
|
-
.page-
|
|
12
|
+
.page-indicator__element_6rxth.page-indicator__active_6rxth {
|
|
13
|
+
.page-indicator__progress_6rxth {
|
|
14
14
|
background: var(--page-indicator-active-color-static-inverted);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -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_6rxth","active":"page-indicator__active_6rxth","progress":"page-indicator__progress_6rxth"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticInvertedColors;
|
|
8
8
|
//# sourceMappingURL=static-inverted.module.css.js.map
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
--page-indicator-color-static: var(--color-static-neutral-translucent-300);
|
|
7
7
|
--page-indicator-active-color-static: var(--color-static-neutral-1300);
|
|
8
8
|
}
|
|
9
|
-
.page-
|
|
9
|
+
.page-indicator__element_1u5rb {
|
|
10
10
|
background: var(--page-indicator-color-static);
|
|
11
11
|
}
|
|
12
|
-
.page-
|
|
13
|
-
.page-
|
|
12
|
+
.page-indicator__element_1u5rb.page-indicator__active_1u5rb {
|
|
13
|
+
.page-indicator__progress_1u5rb {
|
|
14
14
|
background: var(--page-indicator-active-color-static);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -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_1u5rb","active":"page-indicator__active_1u5rb","progress":"page-indicator__progress_1u5rb"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticColors;
|
|
8
8
|
//# sourceMappingURL=static.module.css.js.map
|
|
@@ -22,8 +22,8 @@ var colorsStyle = {
|
|
|
22
22
|
'static-inverted': staticInverted_module,
|
|
23
23
|
};
|
|
24
24
|
var PageIndicatorRunner = function (_a) {
|
|
25
|
-
var activeElement = _a.activeElement, _b = _a.elements, count = _b === void 0 ? 10 : _b, _c = _a.size, size = _c === void 0 ? 4 : _c, _d = _a.colors, colors = _d === void 0 ? 'default' : _d;
|
|
26
|
-
return (React__default.default.createElement("div", { className: cn__default.default(index_module.pageIndicator, colorsStyle[colors].pageIndicator), style: { height: size, borderRadius: size / 2 } },
|
|
25
|
+
var activeElement = _a.activeElement, _b = _a.elements, count = _b === void 0 ? 10 : _b, _c = _a.size, size = _c === void 0 ? 4 : _c, _d = _a.colors, colors = _d === void 0 ? 'default' : _d, className = _a.className;
|
|
26
|
+
return (React__default.default.createElement("div", { className: cn__default.default(index_module.pageIndicator, colorsStyle[colors].pageIndicator, className), style: { height: size, borderRadius: size / 2 } },
|
|
27
27
|
React__default.default.createElement("div", { style: {
|
|
28
28
|
transform: "translate(".concat(activeElement * 100, "%, 0)"),
|
|
29
29
|
height: size,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.js","sources":["../../src/components/runner/Component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { type PageIndicatorRunnerProps } from '../../types';\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\nexport const PageIndicatorRunner: React.FC<PageIndicatorRunnerProps> = ({\n activeElement,\n elements: count = 10,\n size = 4,\n colors = 'default',\n}) => (\n <div\n className={cn(styles.pageIndicator, colorsStyle[colors].pageIndicator)}\n style={{ height: size, borderRadius: size / 2 }}\n >\n <div\n style={{\n transform: `translate(${activeElement * 100}%, 0)`,\n height: size,\n width: `${100 / count}%`,\n borderRadius: size / 2,\n }}\n className={cn(styles.element, colorsStyle[colors].element)}\n />\n </div>\n);\n"],"names":["invertedColors","defaultColors","staticColors","staticInvertedColors","React","cn","styles"],"mappings":";;;;;;;;;;;;;;;;;AAWA,IAAM,WAAW,GAAG;AAChB,IAAA,QAAQ,EAAEA,eAAc;AACxB,IAAA,OAAO,EAAEC,cAAa;AACtB,IAAA,MAAM,EAAEC,aAAY;AACpB,IAAA,iBAAiB,EAAEC,qBAAoB;CACjC;AAEH,IAAM,mBAAmB,GAAuC,UAAC,
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["../../src/components/runner/Component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { type PageIndicatorRunnerProps } from '../../types';\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\nexport const PageIndicatorRunner: React.FC<PageIndicatorRunnerProps> = ({\n activeElement,\n elements: count = 10,\n size = 4,\n colors = 'default',\n className,\n}) => (\n <div\n className={cn(styles.pageIndicator, colorsStyle[colors].pageIndicator, className)}\n style={{ height: size, borderRadius: size / 2 }}\n >\n <div\n style={{\n transform: `translate(${activeElement * 100}%, 0)`,\n height: size,\n width: `${100 / count}%`,\n borderRadius: size / 2,\n }}\n className={cn(styles.element, colorsStyle[colors].element)}\n />\n </div>\n);\n"],"names":["invertedColors","defaultColors","staticColors","staticInvertedColors","React","cn","styles"],"mappings":";;;;;;;;;;;;;;;;;AAWA,IAAM,WAAW,GAAG;AAChB,IAAA,QAAQ,EAAEA,eAAc;AACxB,IAAA,OAAO,EAAEC,cAAa;AACtB,IAAA,MAAM,EAAEC,aAAY;AACpB,IAAA,iBAAiB,EAAEC,qBAAoB;CACjC;AAEH,IAAM,mBAAmB,GAAuC,UAAC,EAMvE,EAAA;QALG,aAAa,GAAA,EAAA,CAAA,aAAA,EACb,EAAA,GAAA,EAAA,CAAA,QAAoB,EAAV,KAAK,mBAAG,EAAE,GAAA,EAAA,EACpB,EAAA,GAAA,EAAA,CAAA,IAAQ,EAAR,IAAI,mBAAG,CAAC,GAAA,EAAA,EACR,EAAA,GAAA,EAAA,CAAA,MAAkB,EAAlB,MAAM,mBAAG,SAAS,GAAA,EAAA,EAClB,SAAS,GAAA,EAAA,CAAA,SAAA;AACP,IAAA,QACFC,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EACI,SAAS,EAAEC,mBAAE,CAACC,YAAM,CAAC,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,aAAa,EAAE,SAAS,CAAC,EACjF,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,GAAG,CAAC,EAAE,EAAA;AAE/C,QAAAF,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EACI,KAAK,EAAE;AACH,gBAAA,SAAS,EAAE,YAAA,CAAA,MAAA,CAAa,aAAa,GAAG,GAAG,EAAO,OAAA,CAAA;AAClD,gBAAA,MAAM,EAAE,IAAI;AACZ,gBAAA,KAAK,EAAE,EAAA,CAAA,MAAA,CAAG,GAAG,GAAG,KAAK,EAAG,GAAA,CAAA;gBACxB,YAAY,EAAE,IAAI,GAAG,CAAC;AACzB,aAAA,EACD,SAAS,EAAEC,mBAAE,CAACC,YAAM,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAA,CAC5D,CACA;AAdJ;;;;"}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
--page-indicator-color: var(--color-light-neutral-translucent-300);
|
|
7
7
|
--page-indicator-active-color: var(--color-light-neutral-translucent-1300);
|
|
8
8
|
}
|
|
9
|
-
.page-
|
|
9
|
+
.page-indicator__pageIndicator_wiz49 {
|
|
10
10
|
background: var(--page-indicator-color);
|
|
11
11
|
}
|
|
12
|
-
.page-
|
|
12
|
+
.page-indicator__element_wiz49 {
|
|
13
13
|
background: var(--page-indicator-active-color);
|
|
14
14
|
}
|
|
@@ -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_wiz49","element":"page-indicator__element_wiz49"};
|
|
6
6
|
|
|
7
7
|
module.exports = defaultColors;
|
|
8
8
|
//# sourceMappingURL=default.module.css.js.map
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--page-indicator-animation-duration: 0.2s;
|
|
3
3
|
}
|
|
4
|
-
.page-
|
|
4
|
+
.page-indicator__element_1nev8 {
|
|
5
5
|
transition: transform var(--page-indicator-animation-duration) linear;
|
|
6
6
|
will-change: transition;
|
|
7
7
|
}
|
|
8
|
+
.page-indicator__pageIndicator_1nev8 {
|
|
9
|
+
width: 100%;
|
|
10
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"element":"page-
|
|
5
|
+
var styles = {"element":"page-indicator__element_1nev8","pageIndicator":"page-indicator__pageIndicator_1nev8"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../../src/components/runner/index.module.css"],"sourcesContent":["@import '../../vars.css';\n\n.element {\n transition: transform var(--page-indicator-animation-duration) linear;\n will-change: transition;\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,SAAS,CAAC,+BAA+B,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/runner/index.module.css"],"sourcesContent":["@import '../../vars.css';\n\n.element {\n transition: transform var(--page-indicator-animation-duration) linear;\n will-change: transition;\n}\n\n.pageIndicator {\n width: 100%;\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,SAAS,CAAC,+BAA+B,CAAC,eAAe,CAAC,qCAAqC,CAAC;;;;"}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
--page-indicator-color-inverted: var(--color-light-neutral-translucent-300-inverted);
|
|
7
7
|
--page-indicator-active-color-inverted: var(--color-light-neutral-translucent-1300-inverted);
|
|
8
8
|
}
|
|
9
|
-
.page-
|
|
9
|
+
.page-indicator__pageIndicator_7wz43 {
|
|
10
10
|
background: var(--page-indicator-color-inverted);
|
|
11
11
|
}
|
|
12
|
-
.page-
|
|
12
|
+
.page-indicator__element_7wz43 {
|
|
13
13
|
background: var(--page-indicator-active-color-inverted);
|
|
14
14
|
}
|
|
@@ -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_7wz43","element":"page-indicator__element_7wz43"};
|
|
6
6
|
|
|
7
7
|
module.exports = invertedColors;
|
|
8
8
|
//# sourceMappingURL=inverted.module.css.js.map
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
--page-indicator-color-static-inverted: var(--color-static-neutral-translucent-300-inverted);
|
|
7
7
|
--page-indicator-active-color-static-inverted: var(--color-static-neutral-1300-inverted);
|
|
8
8
|
}
|
|
9
|
-
.page-
|
|
9
|
+
.page-indicator__pageIndicator_3tgal {
|
|
10
10
|
background: var(--page-indicator-color-static-inverted);
|
|
11
11
|
}
|
|
12
|
-
.page-
|
|
12
|
+
.page-indicator__element_3tgal {
|
|
13
13
|
background: var(--page-indicator-active-color-static-inverted);
|
|
14
14
|
}
|
|
@@ -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_3tgal","element":"page-indicator__element_3tgal"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticInvertedColors;
|
|
8
8
|
//# sourceMappingURL=static-inverted.module.css.js.map
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
--page-indicator-color-static: var(--color-static-neutral-translucent-300);
|
|
7
7
|
--page-indicator-active-color-static: var(--color-static-neutral-1300);
|
|
8
8
|
}
|
|
9
|
-
.page-
|
|
9
|
+
.page-indicator__pageIndicator_b9y6s {
|
|
10
10
|
background: var(--page-indicator-color-static);
|
|
11
11
|
}
|
|
12
|
-
.page-
|
|
12
|
+
.page-indicator__element_b9y6s {
|
|
13
13
|
background: var(--page-indicator-active-color-static);
|
|
14
14
|
}
|
|
@@ -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_b9y6s","element":"page-indicator__element_b9y6s"};
|
|
6
6
|
|
|
7
7
|
module.exports = staticColors;
|
|
8
8
|
//# sourceMappingURL=static.module.css.js.map
|