All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
8.2.0 (2024-10-27)
- minor fix (c78dd96)
-
noPolyfill
options is true by default now -
Removed getPrevItem and getNextItem and code related to separators
-
chore: update eslint plugin
-
refactor(imports): fix imports with eslint
-
- Removed visibleElements, isFirstItemVisible and isLastItemVisible. Can use api.useIsVisible hook, api.isItemVisible, and api.items.getVisibleElements to get visible items.
-
Removed initComplete
-
ci(lint-staged): ignore stories folder in lint-staged
-
docs(readme): update docs
-
docs(storybook): performance example
-
docs(storybook): save/restore position example
-
refactor: remove stack and flush updates logic
-
style(eslint): eslint/ts config for stories
-
ci: add webkit for storybook tests
-
Changed type of package to module, upgrade your NPM version
-
fix(ts): fix publicApiType type export
-
chore: cRA example
-
chore(update): update smooth-scroll-into-view-if-needed to v2
-
Possible new behavior, test after update
-
ci(github actions): action to publish lib to npm
-
ci(github action): refactore test/release action
-
chore(release): 5.0.0
-
styles: Need to import styles in your code - example "import 'react-horizontal-scrolling-menu/dist/styles.css'"
-
Removed Arrows prop
-
fix: removed globalThis
-
test: test for Header and Footer
-
chore: updated example and README
-
chore(release): 3.0.0
useLeftArrowVisible
anduseRightArrowVisible
hooks (#292) (5ae82a8)- apiref: apiRef object for access VisibilityContext from outside of Menu component (32012f6)
- arrows prop for use arrows with additional content (e222381), closes #197
- classname: className for Item, Separator and ScrollContainer (4cb0a3f)
- containerRef prop to make it work with formkit/auto-animate (#273) (44b13b4)
- getItemElementById and getItemElementByIndex helpers (f0a0475), closes #167
- header and footer initial implementation (#200) (7aaac71), closes #197
- onmouseleave: onMouseLeave prop (57ad4cb)
- onupdate: onUpdate cb that called every time visibleItems changed (010f5ff)
- rtl: rtl support (7d7740b)
- slidingWindow and getItemsPos helpers (0bc0839)
- touch events (b0baa6c)
- transition and animations (40e9201)
- use key prop if itemId not provided, getItemId helper (5d700f2)
- use smooth-scroll-into-view-if-needed library as polyfill (28b2a9c), closes #174
-
change mjs to be browser and main entries (1dc5ebd)
-
changed target to es2015(es6) since some uglifiers don't support newer (a557987)
-
don't fire updates if Menu is hidden (95aa22e)
-
don't use labeled tuple for support TS < 4 (61fbe8a)
-
fix dependencies array for transitions (5b61bb6)
-
fix if prev/next group of items in slidingWindow smaller than current one (292d581)
-
fix visibility issue (7f71b1c)
-
fixed Arrows props can't pass as component (219b58b)
-
fixed onInit cb and example (d24278b)
-
fixed situation when items added at start, need to handle when items removed (210f8d4), closes #164
-
fixed styles for wrapper (66006e3)
-
fixed useOnUpdate staled value (8a7386f)
-
getelementorconstructor: fix for React.memo elements as arrows/footer (b398ad5)
-
noPolyfill=true by default (dad3dab)
-
remove separators too when remove items (fccd6a6), closes #171
-
scripts: fix release script (e763c9e)
-
scroll by 1 item: fns for scroll by 1 item (bdd4e68)
-
scrolltoitem: scrollToItem accepts IOItem as an argument (f1732e2), closes #157
-
styles.css import: fixed exports field for /dist/styles.css (c7dc811), closes #231
-
styles: bundle styles to styles.css file (6b298f1), closes #227
-
ts types on same level as index, codesandbox doesn't see it otherwise (d2a7249)
-
yarn/vite: polyfill to dependencies, issues with yarn/vite (e60faf4), closes #269
8.0.2 (2024-10-07)
8.0.1 (2024-10-07)
8.0.0 (2024-10-04)
noPolyfill
options is true by default now
- noPolyfill=true by default (ddbe715)
7.1.8 (2024-09-19)
7.1.7 (2024-08-28)
7.1.5 (2024-08-28)
7.1.4 (2024-08-27)
- fix visibility issue (dc86f16)
7.1.3 (2024-08-21)
7.1.2 (2024-08-19)
- don't fire updates if Menu is hidden (8aae6ef)
7.1.1 (2024-06-13)
7.1.0 (2024-05-28)
- onmouseleave: onMouseLeave prop (661ba27)
7.0.0 (2024-03-26)
-
Removed getPrevItem and getNextItem and code related to separators
-
chore: update eslint plugin
-
refactor(imports): fix imports with eslint
6.1.0 (2024-03-23)
6.0.2 (2024-02-21)
6.0.1 (2024-02-20)
- fix dependencies array for transitions (d066024)
6.0.0 (2024-02-20)
-
- Removed visibleElements, isFirstItemVisible and isLastItemVisible. Can use api.useIsVisible hook, api.isItemVisible, and api.items.getVisibleElements to get visible items.
-
Removed initComplete
-
ci(lint-staged): ignore stories folder in lint-staged
-
docs(readme): update docs
-
docs(storybook): performance example
-
docs(storybook): save/restore position example
-
refactor: remove stack and flush updates logic
-
style(eslint): eslint/ts config for stories
-
ci: add webkit for storybook tests
5.0.2 (2024-02-13)
- getelementorconstructor: fix for React.memo elements as arrows/footer (e5b3dc4)
- scripts: fix release script (0e3a4bb)
5.0.1 (2024-02-09)
5.0.0 (2024-02-05)
-
Changed type of package to module, upgrade your NPM version
-
fix(ts): fix publicApiType type export
-
chore: cRA example
-
chore(update): update smooth-scroll-into-view-if-needed to v2
-
Possible new behavior, test after update
-
ci(github actions): action to publish lib to npm
-
ci(github action): refactore test/release action
-
chore(release): 5.0.0
5.0.0-beta.3 (2024-02-04)
5.0.0-beta.2 (2024-02-04)
-
update: Possible new behavior, test after update
-
update: update smooth-scroll-into-view-if-needed to v2 (b30cf83)
5.0.0-beta.1 (2024-02-04)
- package.json: Changed type of package to module, upgrade your NPM version
4.1.4 (2024-01-29)
4.1.3 (2024-01-29)
4.1.2 (2024-01-11)
4.1.1 (2023-10-04)
4.1.0 (2023-06-11)
- touch events (032d57d)
4.0.4 (2023-04-14)
4.0.4-beta.1 (2023-04-14)
4.0.3 (2023-04-11)
- removed copy package.json (ce9699b)
4.0.2 (2023-04-11)
4.0.1 (2023-03-21)
- styles: Need to import styles in your code - example "import 'react-horizontal-scrolling-menu/dist/styles.css'"
- styles.css import: fixed exports field for /dist/styles.css (2c47f89), closes #231
- styles: bundle styles to styles.css file (142dde6), closes #227
4.0.0 (2023-03-12)
- styles: Need to import styles in your code - example "import 'react-horizontal-scrolling-menu/dist/styles.css'"
227
- styles: bundle styles to styles.css file (314b894)
3.2.5 (2023-02-19)
3.2.4 (2023-02-19)
3.2.4-0 (2023-02-19)
3.2.3 (2022-10-30)
- scroll by 1 item: fns for scroll by 1 item (679914c)
3.2.1 (2022-10-23)
3.2.0 (2022-08-07)
- rtl: rtl support (c727e1b)
3.1.1 (2022-07-23)
3.1.0 (2022-06-26)
- use key prop if itemId not provided, getItemId helper (29967d2)
3.0.1 (2022-06-19)
- fixed styles for wrapper (5755c1d)
3.0.0 (2022-06-19)
- Removed Arrows prop
2.8.2 (2022-05-17)
2.8.1 (2022-05-17)
- fixed Arrows props can't pass as component (4a24803)
2.8.0 (2022-05-17)
- changed target to es2015(es6) since some uglifiers don't support newer (a6b42e5)
2.7.2 (2022-05-04)
2.7.1 (2022-02-23)
2.7.0 (2021-11-28)
- transition and animations (0e9b5b9)
2.6.1 (2021-11-21)
- fixed useOnUpdate staled value (0c9a77b)
2.6.0 (2021-11-21)
2.5.2 (2021-11-10)
2.5.1 (2021-11-03)
- don't use labeled tuple for support TS < 4 (05e67ea)
2.5.0 (2021-10-16)
2.4.4 (2021-10-14)
2.4.3 (2021-10-13)
2.4.2 (2021-10-12)
2.4.1 (2021-10-08)
2.4.0 (2021-10-06)
- apiref: apiRef object for access VisibilityContext from outside of Menu component (ef9a281)
2.3.3 (2021-09-26)
2.3.2 (2021-09-24)
2.3.1 (2021-09-24)
- ts types on same level as index, codesandbox doesn't see it otherwise (27cc26f)
2.3.0 (2021-09-24)
- onupdate: onUpdate cb that called every time visibleItems changed (f4f5dd5)
2.2.1 (2021-09-23)
2.2.0 (2021-09-20)
- classname: className for Item, Separator and ScrollContainer (0e925a2)
2.1.1 (2021-09-14)
- fix if prev/next group of items in slidingWindow smaller than current one (93c43c5)
2.1.0 (2021-09-13)
- slidingWindow and getItemsPos helpers (eeae101)
2.0.10 (2021-09-11)
2.0.9 (2021-09-02)
2.0.8 (2021-09-02)
- fixed onInit cb and example (2955f42)