@robertlinde/react-tour-kit 0.8.7 → 0.8.9

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.
@@ -5,4 +5,6 @@ export { TourOverlay, TourTooltip } from './react-native-platform';
5
5
  export type { TourStep, TourContextType, TourTooltipProps, TourOverlayProps, TourTheme, TourI18n, TourEndReason, TourEndInfo, TourEndCallback, StartTourOptions, } from './shared';
6
6
  export type { Rect, TourTarget } from './shared';
7
7
  export { calculateTooltipPosition } from './shared';
8
+ export { getTruncatedDots, MAX_VISIBLE_DOTS, DOT_SIZE, DOT_GAP, DOTS_CONTAINER_WIDTH } from './shared';
9
+ export type { DotItem } from './shared';
8
10
  export { nativePlatformAdapter, targetRegistry } from './react-native-platform';
@@ -3,5 +3,6 @@ export { TourContext, useTour } from './shared';
3
3
  export { useTourTarget } from './react-native-platform';
4
4
  export { TourOverlay, TourTooltip } from './react-native-platform';
5
5
  export { calculateTooltipPosition } from './shared';
6
+ export { getTruncatedDots, MAX_VISIBLE_DOTS, DOT_SIZE, DOT_GAP, DOTS_CONTAINER_WIDTH } from './shared';
6
7
  export { nativePlatformAdapter, targetRegistry } from './react-native-platform';
7
8
  //# sourceMappingURL=react-native.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-native.js","sourceRoot":"","sources":["../src/react-native.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,YAAY,EAAyB,MAAM,yBAAyB,CAAC;AAE7E,OAAO,EAAC,WAAW,EAAE,OAAO,EAAC,MAAM,UAAU,CAAC;AAE9C,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAItD,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,yBAAyB,CAAC;AAqBjE,OAAO,EAAC,wBAAwB,EAAC,MAAM,UAAU,CAAC;AAIlD,OAAO,EAAC,qBAAqB,EAAE,cAAc,EAAC,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"react-native.js","sourceRoot":"","sources":["../src/react-native.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,YAAY,EAAyB,MAAM,yBAAyB,CAAC;AAE7E,OAAO,EAAC,WAAW,EAAE,OAAO,EAAC,MAAM,UAAU,CAAC;AAE9C,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAItD,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,yBAAyB,CAAC;AAqBjE,OAAO,EAAC,wBAAwB,EAAC,MAAM,UAAU,CAAC;AAElD,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,OAAO,EAAE,oBAAoB,EAAC,MAAM,UAAU,CAAC;AAMrG,OAAO,EAAC,qBAAqB,EAAE,cAAc,EAAC,MAAM,yBAAyB,CAAC"}
package/dist/react.d.ts CHANGED
@@ -4,5 +4,7 @@ export { TourOverlay, TourTooltip } from './react-platform';
4
4
  export type { TourStep, TourContextType, TourTooltipProps, TourOverlayProps, TourTheme, TourI18n, TourEndReason, TourEndInfo, TourEndCallback, StartTourOptions, } from './shared';
5
5
  export type { Rect, TourTarget } from './shared';
6
6
  export { calculateTooltipPosition } from './shared';
7
+ export { getTruncatedDots, MAX_VISIBLE_DOTS, DOT_SIZE, DOT_GAP, DOTS_CONTAINER_WIDTH } from './shared';
8
+ export type { DotItem } from './shared';
7
9
  export { findVisibleElement } from './react-platform';
8
10
  export { webPlatformAdapter } from './react-platform';
package/dist/react.js CHANGED
@@ -2,6 +2,7 @@ export { TourProvider } from './react-platform';
2
2
  export { TourContext, useTour } from './shared';
3
3
  export { TourOverlay, TourTooltip } from './react-platform';
4
4
  export { calculateTooltipPosition } from './shared';
5
+ export { getTruncatedDots, MAX_VISIBLE_DOTS, DOT_SIZE, DOT_GAP, DOTS_CONTAINER_WIDTH } from './shared';
5
6
  export { findVisibleElement } from './react-platform';
6
7
  export { webPlatformAdapter } from './react-platform';
7
8
  //# sourceMappingURL=react.js.map
package/dist/react.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"react.js","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,YAAY,EAAyB,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAC,WAAW,EAAE,OAAO,EAAC,MAAM,UAAU,CAAC;AAI9C,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAqB1D,OAAO,EAAC,wBAAwB,EAAC,MAAM,UAAU,CAAC;AAElD,OAAO,EAAC,kBAAkB,EAAC,MAAM,kBAAkB,CAAC;AAIpD,OAAO,EAAC,kBAAkB,EAAC,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"react.js","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,YAAY,EAAyB,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAC,WAAW,EAAE,OAAO,EAAC,MAAM,UAAU,CAAC;AAI9C,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAqB1D,OAAO,EAAC,wBAAwB,EAAC,MAAM,UAAU,CAAC;AAElD,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,OAAO,EAAE,oBAAoB,EAAC,MAAM,UAAU,CAAC;AAIrG,OAAO,EAAC,kBAAkB,EAAC,MAAM,kBAAkB,CAAC;AAIpD,OAAO,EAAC,kBAAkB,EAAC,MAAM,kBAAkB,CAAC"}
@@ -3,3 +3,5 @@ export { defaultTheme, resolveTheme } from './types';
3
3
  export { TourContext, defaultTourContext } from './context';
4
4
  export { useTour } from './hooks';
5
5
  export { calculateTooltipPosition } from './utils';
6
+ export { getTruncatedDots, MAX_VISIBLE_DOTS, DOT_SIZE, DOT_GAP, DOTS_CONTAINER_WIDTH } from './utils';
7
+ export type { DotItem } from './utils';
@@ -2,4 +2,5 @@ export { defaultTheme, resolveTheme } from './types';
2
2
  export { TourContext, defaultTourContext } from './context';
3
3
  export { useTour } from './hooks';
4
4
  export { calculateTooltipPosition } from './utils';
5
+ export { getTruncatedDots, MAX_VISIBLE_DOTS, DOT_SIZE, DOT_GAP, DOTS_CONTAINER_WIDTH } from './utils';
5
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAC,YAAY,EAAE,YAAY,EAAC,MAAM,SAAS,CAAC;AAInD,OAAO,EAAC,WAAW,EAAE,kBAAkB,EAAC,MAAM,WAAW,CAAC;AAI1D,OAAO,EAAC,OAAO,EAAC,MAAM,SAAS,CAAC;AAIhC,OAAO,EAAC,wBAAwB,EAAC,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAC,YAAY,EAAE,YAAY,EAAC,MAAM,SAAS,CAAC;AAInD,OAAO,EAAC,WAAW,EAAE,kBAAkB,EAAC,MAAM,WAAW,CAAC;AAI1D,OAAO,EAAC,OAAO,EAAC,MAAM,SAAS,CAAC;AAIhC,OAAO,EAAC,wBAAwB,EAAC,MAAM,SAAS,CAAC;AAEjD,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,OAAO,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robertlinde/react-tour-kit",
3
- "version": "0.8.7",
3
+ "version": "0.8.9",
4
4
  "type": "module",
5
5
  "description": "Cross-platform guided tour library for React and React Native. Build interactive onboarding experiences with customizable tooltips, smart positioning, cross-page navigation, and async step actions. Fully themeable with TypeScript support.",
6
6
  "author": "Robert Linde",
@@ -64,18 +64,18 @@
64
64
  }
65
65
  },
66
66
  "devDependencies": {
67
- "@commitlint/cli": "21.2.0",
67
+ "@commitlint/cli": "21.2.1",
68
68
  "@commitlint/config-conventional": "21.2.0",
69
69
  "@estruyf/github-actions-reporter": "1.12.0",
70
- "@playwright/test": "1.61.1",
71
- "@types/react": "19.2.17",
72
- "@types/react-dom": "19.2.3",
70
+ "@playwright/test": "1.62.1",
71
+ "@types/react": "19.2.18",
72
+ "@types/react-dom": "19.2.4",
73
73
  "@types/react-native": "0.73.0",
74
74
  "husky": "9.1.7",
75
- "lint-staged": "17.0.8",
76
- "prettier": "3.9.4",
77
- "react": "19.2.7",
78
- "react-dom": "19.2.7",
75
+ "lint-staged": "17.3.0",
76
+ "prettier": "3.9.6",
77
+ "react": "19.2.8",
78
+ "react-dom": "19.2.8",
79
79
  "react-native-svg": "15.15.5",
80
80
  "typescript": "6.0.3",
81
81
  "xo": "2.0.2"