@agnos-ui/core 0.9.0-next.0 → 0.9.0

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.
@@ -156,11 +156,11 @@ const createCarousel = utils_widget.createWidgetFactory("carousel", (config) =>
156
156
  const {
157
157
  stores: { slideNodes$, ...emblaStores }
158
158
  } = emblaCarousel;
159
- const { directive: navDirective, refreshElements, focusPrevious, focusNext, focusFirst, focusLast } = services_navManager.createNavManager();
159
+ const { directive: navDirective, refreshElements, focusLeft, focusRight, focusFirst, focusLast } = services_navManager.createNavManager();
160
160
  const navManagerConfig = {
161
161
  keys: {
162
- ArrowLeft: focusPrevious,
163
- ArrowRight: focusNext,
162
+ ArrowLeft: focusLeft,
163
+ ArrowRight: focusRight,
164
164
  Home: focusFirst,
165
165
  End: focusLast
166
166
  },
@@ -154,11 +154,11 @@ const createCarousel = createWidgetFactory("carousel", (config) => {
154
154
  const {
155
155
  stores: { slideNodes$, ...emblaStores }
156
156
  } = emblaCarousel;
157
- const { directive: navDirective, refreshElements, focusPrevious, focusNext, focusFirst, focusLast } = createNavManager();
157
+ const { directive: navDirective, refreshElements, focusLeft, focusRight, focusFirst, focusLast } = createNavManager();
158
158
  const navManagerConfig = {
159
159
  keys: {
160
- ArrowLeft: focusPrevious,
161
- ArrowRight: focusNext,
160
+ ArrowLeft: focusLeft,
161
+ ArrowRight: focusRight,
162
162
  Home: focusFirst,
163
163
  End: focusLast
164
164
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agnos-ui/core",
3
3
  "description": "Framework-agnostic headless component library.",
4
- "version": "0.9.0-next.0",
4
+ "version": "0.9.0",
5
5
  "type": "module",
6
6
  "main": "./index.cjs",
7
7
  "module": "./index.js",