@orderly.network/markets 2.1.0 → 2.1.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.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import react__default, { FC, PropsWithChildren, ReactNode } from 'react';
3
+ import * as embla_carousel_react from 'embla-carousel-react';
3
4
  import * as _orderly_network_types from '@orderly.network/types';
4
5
  import { API } from '@orderly.network/types';
5
6
  import * as _orderly_network_hooks from '@orderly.network/hooks';
@@ -76,7 +77,7 @@ declare const useMarketsHeaderScript: () => {
76
77
  };
77
78
  scrollIndex: number;
78
79
  setScrollIndex: react.Dispatch<react.SetStateAction<number>>;
79
- emblaRef: <ViewportElement extends HTMLElement>(instance: ViewportElement | null) => void;
80
+ emblaRef: embla_carousel_react.EmblaViewportRefType;
80
81
  emblaApi: TEmblaApi;
81
82
  enableScroll: boolean;
82
83
  };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import react__default, { FC, PropsWithChildren, ReactNode } from 'react';
3
+ import * as embla_carousel_react from 'embla-carousel-react';
3
4
  import * as _orderly_network_types from '@orderly.network/types';
4
5
  import { API } from '@orderly.network/types';
5
6
  import * as _orderly_network_hooks from '@orderly.network/hooks';
@@ -76,7 +77,7 @@ declare const useMarketsHeaderScript: () => {
76
77
  };
77
78
  scrollIndex: number;
78
79
  setScrollIndex: react.Dispatch<react.SetStateAction<number>>;
79
- emblaRef: <ViewportElement extends HTMLElement>(instance: ViewportElement | null) => void;
80
+ emblaRef: embla_carousel_react.EmblaViewportRefType;
80
81
  emblaApi: TEmblaApi;
81
82
  enableScroll: boolean;
82
83
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderly.network/markets",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -13,12 +13,12 @@
13
13
  "access": "public"
14
14
  },
15
15
  "dependencies": {
16
- "embla-carousel-react": "8.1.5",
17
- "@orderly.network/utils": "2.1.0",
18
- "@orderly.network/hooks": "2.1.0",
19
- "@orderly.network/i18n": "2.1.0",
20
- "@orderly.network/ui": "2.1.0",
21
- "@orderly.network/types": "2.1.0"
16
+ "embla-carousel-react": "^8.2.0",
17
+ "@orderly.network/hooks": "2.1.1",
18
+ "@orderly.network/i18n": "2.1.1",
19
+ "@orderly.network/ui": "2.1.1",
20
+ "@orderly.network/utils": "2.1.1",
21
+ "@orderly.network/types": "2.1.1"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@babel/core": "^7.22.9",
@@ -31,7 +31,7 @@
31
31
  "tailwindcss": "^3.4.4",
32
32
  "tsup": "^7.1.0",
33
33
  "typescript": "^5.1.6",
34
- "tsconfig": "0.4.0"
34
+ "tsconfig": "0.4.1"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "react": ">=18",