@hh.ru/magritte-ui-scrollable-container 6.0.0 → 6.0.1

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.
@@ -11,7 +11,7 @@ import { ScrollableContainerGallery } from './ScrollableContainerGallery.js';
11
11
  import { ScrollableItem } from './ScrollableItem.js';
12
12
  import { useScrollableControlsWithState } from './useScrollableControls.js';
13
13
  import { getActualCorrection, useInitOnce } from './utils.js';
14
- import { s as styles } from './scrollableContainer-CsVTi8_Q.js';
14
+ import { s as styles } from './scrollableContainer-DSb3wQO4.js';
15
15
  import 'motion/react';
16
16
  import './ObservableValue.js';
17
17
  import '@hh.ru/magritte-ui-icon/icon';
@@ -8,7 +8,7 @@ import { ChevronLeftOutlinedSize24, ChevronRightOutlinedSize24 } from '@hh.ru/ma
8
8
  import { useScrollState } from './ScrollStateProvider.js';
9
9
  import { ScrollableContainerLeft, ScrollableContainerRight } from './ScrollableContainerButton.js';
10
10
  import { BREAKPOINTS_LIST, NO_BUTTONS_START_FROM_BREAKPOINT, useInitOnce } from './utils.js';
11
- import { s as styles } from './scrollableContainer-CsVTi8_Q.js';
11
+ import { s as styles } from './scrollableContainer-DSb3wQO4.js';
12
12
  import './ObservableValue.js';
13
13
  import './useScrollableControls.js';
14
14
  import '@hh.ru/magritte-internal-custom-scroll';
@@ -7,7 +7,7 @@ import { useScrollState } from './ScrollStateProvider.js';
7
7
  import { OFFSET_ATTR } from './types.js';
8
8
  import { useInitOnce, findIndexNearestToSnapPoint } from './utils.js';
9
9
  import { VSpacing } from '@hh.ru/magritte-ui-spacing';
10
- import { s as styles } from './scrollableContainer-CsVTi8_Q.js';
10
+ import { s as styles } from './scrollableContainer-DSb3wQO4.js';
11
11
  import 'motion/react';
12
12
  import './ObservableValue.js';
13
13
  import '@hh.ru/magritte-internal-custom-scroll';
@@ -6,7 +6,7 @@ import { clamp } from '@hh.ru/magritte-internal-custom-scroll/initScrollHandlers
6
6
  import { useScrollState } from './ScrollStateProvider.js';
7
7
  import { useScrollContainer } from './useScrollContainer.js';
8
8
  import { getDisableState, findIndexNearestToSnapPoint, computeScrollSnapBehavior } from './utils.js';
9
- import { s as styles } from './scrollableContainer-CsVTi8_Q.js';
9
+ import { s as styles } from './scrollableContainer-DSb3wQO4.js';
10
10
  import './ObservableValue.js';
11
11
  import '@hh.ru/magritte-common-func-utils';
12
12
  import '@hh.ru/magritte-internal-custom-scroll';
package/ScrollableItem.js CHANGED
@@ -13,7 +13,7 @@ import '@hh.ru/magritte-internal-custom-scroll';
13
13
  import './types.js';
14
14
  import './utils.js';
15
15
  import '@hh.ru/magritte-ui-breakpoint';
16
- import './scrollableContainer-CsVTi8_Q.js';
16
+ import './scrollableContainer-DSb3wQO4.js';
17
17
 
18
18
  const ScrollableItem = ({ children, ...props }) => {
19
19
  const ref = useRef(null);
package/index.css CHANGED
@@ -1,8 +1,8 @@
1
- .magritte-scroll-wrapper___vTdZl_6-0-0{
1
+ .magritte-scroll-wrapper___vTdZl_6-0-1{
2
2
  position:relative;
3
3
  touch-action:pan-y pinch-zoom;
4
4
  }
5
- .magritte-scrollable-container___AKIUp_6-0-0{
5
+ .magritte-scrollable-container___AKIUp_6-0-1{
6
6
  display:block;
7
7
  overflow-x:hidden;
8
8
  overflow-x:clip;
@@ -14,33 +14,33 @@
14
14
  margin-left:var(--magritte-ui-scrollabe-container-ml, -4px);
15
15
  margin-right:var(--magritte-ui-scrollabe-container-mr, -4px);
16
16
  }
17
- .magritte-scroll-buttons-container___ZeI5a_6-0-0{
17
+ .magritte-scroll-buttons-container___ZeI5a_6-0-1{
18
18
  position:relative;
19
19
  }
20
- .magritte-scroll-buttons___0SjoR_6-0-0{
20
+ .magritte-scroll-buttons___0SjoR_6-0-1{
21
21
  --right-fade-mask:linear-gradient(90deg, #000 0, #000 calc(100% - 100.50399999999999px), transparent calc(100% - 36px));
22
22
  --left-fade-mask:linear-gradient(90deg, transparent 0, transparent 36px, #000 100.504px);
23
23
  --both-sides-mask:linear-gradient(90deg, transparent 0, transparent 36px, #000 100.504px, #000 calc(100% - 100.50399999999999px), transparent calc(100% - 36px));
24
24
  -webkit-mask:'none';
25
25
  mask:'none';
26
26
  }
27
- .magritte-scroll-button___4GQu3_6-0-0{
27
+ .magritte-scroll-button___4GQu3_6-0-1{
28
28
  display:none;
29
29
  position:absolute;
30
30
  top:50%;
31
31
  transform:translateY(-50%);
32
32
  }
33
- .magritte-scroll-button-left___UueEY_6-0-0{
33
+ .magritte-scroll-button-left___UueEY_6-0-1{
34
34
  left:0;
35
35
  }
36
- .magritte-scroll-button-right___wZOn-_6-0-0{
36
+ .magritte-scroll-button-right___wZOn-_6-0-1{
37
37
  right:0;
38
38
  }
39
- .magritte-position-container___1A4Bv_6-0-0{
39
+ .magritte-position-container___1A4Bv_6-0-1{
40
40
  box-sizing:border-box;
41
41
  width:100%;
42
42
  }
43
- .magritte-dot-container___ahtlG_6-0-0{
43
+ .magritte-dot-container___ahtlG_6-0-1{
44
44
  display:flex;
45
45
  justify-content:center;
46
46
  }
package/index.js CHANGED
@@ -14,7 +14,7 @@ import '@hh.ru/magritte-ui-icon/icon';
14
14
  import './utils.js';
15
15
  import '@hh.ru/magritte-internal-custom-scroll';
16
16
  import './types.js';
17
- import './scrollableContainer-CsVTi8_Q.js';
17
+ import './scrollableContainer-DSb3wQO4.js';
18
18
  import './ScrollableContainerDotPages.js';
19
19
  import '@hh.ru/magritte-internal-custom-scroll/initScrollHandlers';
20
20
  import '@hh.ru/magritte-ui-dot-pages';
package/index.mock.js CHANGED
@@ -13,7 +13,7 @@ import 'react/jsx-runtime';
13
13
  import '@hh.ru/magritte-internal-custom-scroll/initScrollHandlers';
14
14
  import './useScrollContainer.js';
15
15
  import '@hh.ru/magritte-common-func-utils';
16
- import './scrollableContainer-CsVTi8_Q.js';
16
+ import './scrollableContainer-DSb3wQO4.js';
17
17
  import './ObservableValue.js';
18
18
 
19
19
  const staticProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-scrollable-container",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "2c6d085c7d33bd8dcd6022954683db83c23a91c8"
39
+ "gitHead": "804842d14ed7eaf72f6da2970970d8a1b03c476d"
40
40
  }
@@ -0,0 +1,5 @@
1
+ import './index.css';
2
+ var styles = {"scroll-wrapper":"magritte-scroll-wrapper___vTdZl_6-0-1","scrollWrapper":"magritte-scroll-wrapper___vTdZl_6-0-1","scrollable-container":"magritte-scrollable-container___AKIUp_6-0-1","scrollableContainer":"magritte-scrollable-container___AKIUp_6-0-1","scroll-buttons-container":"magritte-scroll-buttons-container___ZeI5a_6-0-1","scrollButtonsContainer":"magritte-scroll-buttons-container___ZeI5a_6-0-1","scroll-buttons":"magritte-scroll-buttons___0SjoR_6-0-1","scrollButtons":"magritte-scroll-buttons___0SjoR_6-0-1","scroll-button":"magritte-scroll-button___4GQu3_6-0-1","scrollButton":"magritte-scroll-button___4GQu3_6-0-1","scroll-button-left":"magritte-scroll-button-left___UueEY_6-0-1","scrollButtonLeft":"magritte-scroll-button-left___UueEY_6-0-1","scroll-button-right":"magritte-scroll-button-right___wZOn-_6-0-1","scrollButtonRight":"magritte-scroll-button-right___wZOn-_6-0-1","position-container":"magritte-position-container___1A4Bv_6-0-1","positionContainer":"magritte-position-container___1A4Bv_6-0-1","dot-container":"magritte-dot-container___ahtlG_6-0-1","dotContainer":"magritte-dot-container___ahtlG_6-0-1"};
3
+
4
+ export { styles as s };
5
+ //# sourceMappingURL=scrollableContainer-DSb3wQO4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scrollableContainer-DSb3wQO4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -2,7 +2,7 @@ import './index.css';
2
2
  import { useCallback } from 'react';
3
3
  import { clamp } from '@hh.ru/magritte-internal-custom-scroll';
4
4
  import { useScrollState } from './ScrollStateProvider.js';
5
- import { animateScrollToPosition, findIndexNearestToSnapPoint, computeScrollSnapBehavior, ensureItemReadyForScroll } from './utils.js';
5
+ import { animateScrollToPosition, findIndexNearestToSnapPoint, ensureItemReadyForScroll, computeScrollSnapBehavior } from './utils.js';
6
6
  import 'motion/react';
7
7
  import './ObservableValue.js';
8
8
  import '@hh.ru/magritte-ui-breakpoint';
@@ -19,6 +19,9 @@ const useScrollableControlsWithState = (scrollState) => {
19
19
  }
20
20
  const index = findIndexNearestToSnapPoint(scrollState);
21
21
  const nextIndex = clamp(toRight ? index + 1 : index - 1, 0, scrollState.items.get().length - 1);
22
+ if (!ensureItemReadyForScroll(scrollState, nextIndex)) {
23
+ return;
24
+ }
22
25
  const scrollSnapBehavior = computeScrollSnapBehavior(scrollState);
23
26
  const target = scrollSnapBehavior(scrollState, nextIndex);
24
27
  animateScrollToPosition(scrollState, target);
@@ -1 +1 @@
1
- {"version":3,"file":"useScrollableControls.js","sources":["../src/useScrollableControls.tsx"],"sourcesContent":["import { useCallback, type RefObject } from 'react';\n\nimport { clamp } from '@hh.ru/magritte-internal-custom-scroll';\nimport { useScrollState, type ScrollState } from '@hh.ru/magritte-ui-scrollable-container/ScrollStateProvider';\nimport type { ScrollableControls } from '@hh.ru/magritte-ui-scrollable-container/types';\nimport {\n findIndexNearestToSnapPoint,\n animateScrollToPosition,\n ensureItemReadyForScroll,\n computeScrollSnapBehavior,\n} from '@hh.ru/magritte-ui-scrollable-container/utils';\n\nexport const useScrollableControlsWithState: (scrollState: ScrollState) => ScrollableControls = (scrollState) => {\n const scrollSide = useCallback(\n (toRight: boolean = false) => {\n scrollState.wasContainerInteracted = true;\n if (scrollState.scrollSnapAlign === 'none') {\n const delta = toRight ? -scrollState.viewportWidth.get() : scrollState.viewportWidth.get();\n const position = scrollState.scrollPosition.get() + delta;\n animateScrollToPosition(scrollState, position);\n return;\n }\n const index = findIndexNearestToSnapPoint(scrollState);\n const nextIndex = clamp(toRight ? index + 1 : index - 1, 0, scrollState.items.get().length - 1);\n const scrollSnapBehavior = computeScrollSnapBehavior(scrollState);\n const target = scrollSnapBehavior(scrollState, nextIndex);\n animateScrollToPosition(scrollState, target);\n },\n [scrollState]\n );\n\n const scrollToIndex = useCallback(\n (index: number) => {\n scrollState.wasContainerInteracted = true;\n if (!ensureItemReadyForScroll(scrollState, index)) {\n return;\n }\n const scrollSnapBehavior = computeScrollSnapBehavior(scrollState);\n const target = scrollSnapBehavior(scrollState, index);\n animateScrollToPosition(scrollState, target);\n },\n [scrollState]\n );\n\n const scrollToFirstItem = useCallback(() => scrollToIndex(0), [scrollToIndex]);\n\n const scrollToLastItem = useCallback(\n () => scrollToIndex(scrollState.items.get().length - 1),\n [scrollState, scrollToIndex]\n );\n\n const scrollToItem = useCallback(\n (ref: RefObject<HTMLElement>) => {\n const index = scrollState.items.get().findIndex((item) => item.current && item.current === ref.current);\n index !== -1 && scrollToIndex(index);\n },\n [scrollState, scrollToIndex]\n );\n\n return {\n scrollLeft: () => scrollSide(),\n scrollRight: () => scrollSide(true),\n scrollToFirstItem,\n scrollToLastItem,\n scrollToIndex,\n scrollToItem,\n };\n};\n\nexport const useScrollableControls: () => ScrollableControls = () => {\n const scrollState = useScrollState();\n const controls = useScrollableControlsWithState(scrollState);\n return controls;\n};\n"],"names":[],"mappings":";;;;;;;;;AAYa,MAAA,8BAA8B,GAAqD,CAAC,WAAW,KAAI;IAC5G,MAAM,UAAU,GAAG,WAAW,CAC1B,CAAC,OAAmB,GAAA,KAAK,KAAI;AACzB,QAAA,WAAW,CAAC,sBAAsB,GAAG,IAAI,CAAC;AAC1C,QAAA,IAAI,WAAW,CAAC,eAAe,KAAK,MAAM,EAAE;YACxC,MAAM,KAAK,GAAG,OAAO,GAAG,CAAC,WAAW,CAAC,aAAa,CAAC,GAAG,EAAE,GAAG,WAAW,CAAC,aAAa,CAAC,GAAG,EAAE,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M,aAAa,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,EACvD,CAAC,WAAW,EAAE,aAAa,CAAC,CAC/B,CAAC;AAEF,IAAA,MAAM,YAAY,GAAG,WAAW,CAC5B,CAAC,GAA2B,KAAI;AAC5B,QAAA,MAAM,KAAK,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,KAAK,GAAG,CAAC,OAAO,CAAC,CAAC;QACxG,KAAK,KAAK,CAAC,CAAC,IAAI,aAAa,CAAC,KAAK,CAAC,CAAC;AACzC,KAAC,EACD,CAAC,WAAW,EAAE,aAAa,CAAC,CAC/B,CAAC;IAEF,OAAO;AACH,QAAA,UAAU,EAAE,MAAM,UAAU,EAAE;AAC9B,QAAA,WAAW,EAAE,MAAM,UAAU,CAAC,IAAI,CAAC;QACnC,iBAAiB;QACjB,gBAAgB;QAChB,aAAa;QACb,YAAY;KACf,CAAC;AACN,EAAE;AAEK,MAAM,qBAAqB,GAA6B,MAAK;AAChE,IAAA,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;AACrC,IAAA,MAAM,QAAQ,GAAG,8BAA8B,CAAC,WAAW,CAAC,CAAC;AAC7D,IAAA,OAAO,QAAQ,CAAC;AACpB;;;;"}
1
+ {"version":3,"file":"useScrollableControls.js","sources":["../src/useScrollableControls.tsx"],"sourcesContent":["import { useCallback, type RefObject } from 'react';\n\nimport { clamp } from '@hh.ru/magritte-internal-custom-scroll';\nimport { useScrollState, type ScrollState } from '@hh.ru/magritte-ui-scrollable-container/ScrollStateProvider';\nimport type { ScrollableControls } from '@hh.ru/magritte-ui-scrollable-container/types';\nimport {\n findIndexNearestToSnapPoint,\n animateScrollToPosition,\n ensureItemReadyForScroll,\n computeScrollSnapBehavior,\n} from '@hh.ru/magritte-ui-scrollable-container/utils';\n\nexport const useScrollableControlsWithState: (scrollState: ScrollState) => ScrollableControls = (scrollState) => {\n const scrollSide = useCallback(\n (toRight: boolean = false) => {\n scrollState.wasContainerInteracted = true;\n if (scrollState.scrollSnapAlign === 'none') {\n const delta = toRight ? -scrollState.viewportWidth.get() : scrollState.viewportWidth.get();\n const position = scrollState.scrollPosition.get() + delta;\n animateScrollToPosition(scrollState, position);\n return;\n }\n const index = findIndexNearestToSnapPoint(scrollState);\n const nextIndex = clamp(toRight ? index + 1 : index - 1, 0, scrollState.items.get().length - 1);\n if (!ensureItemReadyForScroll(scrollState, nextIndex)) {\n return;\n }\n const scrollSnapBehavior = computeScrollSnapBehavior(scrollState);\n const target = scrollSnapBehavior(scrollState, nextIndex);\n animateScrollToPosition(scrollState, target);\n },\n [scrollState]\n );\n\n const scrollToIndex = useCallback(\n (index: number) => {\n scrollState.wasContainerInteracted = true;\n if (!ensureItemReadyForScroll(scrollState, index)) {\n return;\n }\n const scrollSnapBehavior = computeScrollSnapBehavior(scrollState);\n const target = scrollSnapBehavior(scrollState, index);\n animateScrollToPosition(scrollState, target);\n },\n [scrollState]\n );\n\n const scrollToFirstItem = useCallback(() => scrollToIndex(0), [scrollToIndex]);\n\n const scrollToLastItem = useCallback(\n () => scrollToIndex(scrollState.items.get().length - 1),\n [scrollState, scrollToIndex]\n );\n\n const scrollToItem = useCallback(\n (ref: RefObject<HTMLElement>) => {\n const index = scrollState.items.get().findIndex((item) => item.current && item.current === ref.current);\n index !== -1 && scrollToIndex(index);\n },\n [scrollState, scrollToIndex]\n );\n\n return {\n scrollLeft: () => scrollSide(),\n scrollRight: () => scrollSide(true),\n scrollToFirstItem,\n scrollToLastItem,\n scrollToIndex,\n scrollToItem,\n };\n};\n\nexport const useScrollableControls: () => ScrollableControls = () => {\n const scrollState = useScrollState();\n const controls = useScrollableControlsWithState(scrollState);\n return controls;\n};\n"],"names":[],"mappings":";;;;;;;;;AAYa,MAAA,8BAA8B,GAAqD,CAAC,WAAW,KAAI;IAC5G,MAAM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"}
@@ -1,5 +0,0 @@
1
- import './index.css';
2
- var styles = {"scroll-wrapper":"magritte-scroll-wrapper___vTdZl_6-0-0","scrollWrapper":"magritte-scroll-wrapper___vTdZl_6-0-0","scrollable-container":"magritte-scrollable-container___AKIUp_6-0-0","scrollableContainer":"magritte-scrollable-container___AKIUp_6-0-0","scroll-buttons-container":"magritte-scroll-buttons-container___ZeI5a_6-0-0","scrollButtonsContainer":"magritte-scroll-buttons-container___ZeI5a_6-0-0","scroll-buttons":"magritte-scroll-buttons___0SjoR_6-0-0","scrollButtons":"magritte-scroll-buttons___0SjoR_6-0-0","scroll-button":"magritte-scroll-button___4GQu3_6-0-0","scrollButton":"magritte-scroll-button___4GQu3_6-0-0","scroll-button-left":"magritte-scroll-button-left___UueEY_6-0-0","scrollButtonLeft":"magritte-scroll-button-left___UueEY_6-0-0","scroll-button-right":"magritte-scroll-button-right___wZOn-_6-0-0","scrollButtonRight":"magritte-scroll-button-right___wZOn-_6-0-0","position-container":"magritte-position-container___1A4Bv_6-0-0","positionContainer":"magritte-position-container___1A4Bv_6-0-0","dot-container":"magritte-dot-container___ahtlG_6-0-0","dotContainer":"magritte-dot-container___ahtlG_6-0-0"};
3
-
4
- export { styles as s };
5
- //# sourceMappingURL=scrollableContainer-CsVTi8_Q.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scrollableContainer-CsVTi8_Q.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}