@stackshift-ui/swiper-pagination 6.0.11 → 7.0.0-beta.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackshift-ui/swiper-pagination",
3
3
  "description": "",
4
- "version": "6.0.11",
4
+ "version": "7.0.0-beta.0",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -29,20 +29,20 @@
29
29
  "typescript": "^5.6.2",
30
30
  "vite-tsconfig-paths": "^5.0.1",
31
31
  "vitest": "^2.1.1",
32
- "@stackshift-ui/typescript-config": "6.0.10",
33
- "@stackshift-ui/eslint-config": "6.0.10"
32
+ "@stackshift-ui/eslint-config": "6.0.10",
33
+ "@stackshift-ui/typescript-config": "6.0.10"
34
34
  },
35
35
  "dependencies": {
36
36
  "classnames": "^2.5.1",
37
- "@stackshift-ui/scripts": "6.0.10",
38
- "@stackshift-ui/system": "6.0.11"
37
+ "@stackshift-ui/system": "6.1.0-beta.0",
38
+ "@stackshift-ui/scripts": "6.1.0-beta.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@types/react": "16.8 - 19",
42
42
  "next": "10 - 14",
43
43
  "react": "16.8 - 19",
44
44
  "react-dom": "16.8 - 19",
45
- "@stackshift-ui/system": ">=6.0.11"
45
+ "@stackshift-ui/system": ">=6.1.0-beta.0"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "next": {
@@ -7,7 +7,7 @@ describe.concurrent("swiper-pagination", () => {
7
7
 
8
8
  test("Common: Swiper Pagination - test if renders without errors", ({ expect }) => {
9
9
  const clx = "swiperpgn-class";
10
- render(<SwiperPagination className={clx} />);
11
- expect(screen.getByTestId("button").classList).toContain(clx);
10
+ render(<SwiperPagination data-testid="swiper-pagination" className={clx} />);
11
+ expect(screen.getByTestId("swiper-pagination").classList).toContain(clx);
12
12
  });
13
13
  });
@@ -1,6 +1,6 @@
1
1
  import { DefaultComponent, useStackShiftUIComponents } from "@stackshift-ui/system";
2
- import type { ElementType, HTMLProps, ReactNode } from "react";
3
2
  import cn from "classnames";
3
+ import type { ElementType, HTMLProps, ReactNode } from "react";
4
4
 
5
5
  type ColorScheme = "blue" | "white";
6
6
 
@@ -44,7 +44,6 @@ export const SwiperPagination: React.FC<SwiperPaginationProps> = ({
44
44
  as={as}
45
45
  className={cn(classes, className)}
46
46
  {...props}
47
- data-testid={displayName}
48
47
  />
49
48
  );
50
49
  };