@dub/ui 0.0.68 → 0.0.69

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.ts CHANGED
@@ -13,7 +13,7 @@ export { Switch } from './switch.js';
13
13
  export { BadgeTooltip, InfoTooltip, LinkifyTooltipContent, NumberTooltip, SimpleTooltipContent, Tooltip, TooltipContent, TooltipProvider } from './tooltip.js';
14
14
  import Cookies from 'js-cookie';
15
15
  import { RefObject } from 'react';
16
- import * as next_navigation from 'next/navigation';
16
+ import * as next_dist_client_components_navigation_react_server from 'next/dist/client/components/navigation.react-server';
17
17
  import * as next_dist_shared_lib_app_router_context_shared_runtime from 'next/dist/shared/lib/app-router-context.shared-runtime';
18
18
  export { default as useToastWithUndo } from './hooks/use-toast-with-undo.js';
19
19
  export { default as Copy } from './icons/copy.js';
@@ -92,7 +92,7 @@ declare function useOptimisticUpdate<T>(url: string, toastCopy?: {
92
92
  declare function useRouterStuff(): {
93
93
  pathname: string;
94
94
  router: next_dist_shared_lib_app_router_context_shared_runtime.AppRouterInstance;
95
- searchParams: next_navigation.ReadonlyURLSearchParams;
95
+ searchParams: next_dist_client_components_navigation_react_server.ReadonlyURLSearchParams;
96
96
  searchParamsObj: {
97
97
  [k: string]: string;
98
98
  };
package/dist/tooltip.d.ts CHANGED
@@ -34,7 +34,7 @@ declare function NumberTooltip({ value, unit, children, lastClicked, }: {
34
34
  unit?: string;
35
35
  children: ReactNode;
36
36
  lastClicked?: Date | null;
37
- }): string | number | boolean | Iterable<ReactNode> | React.PromiseLikeOfReactNode | react_jsx_runtime.JSX.Element | null | undefined;
37
+ }): string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<ReactNode> | React.PromiseLikeOfReactNode | null | undefined;
38
38
  declare function BadgeTooltip({ children, content, side, }: TooltipProps): react_jsx_runtime.JSX.Element;
39
39
 
40
40
  export { BadgeTooltip, InfoTooltip, LinkifyTooltipContent, NumberTooltip, SimpleTooltipContent, Tooltip, TooltipContent, TooltipProvider };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dub/ui",
3
3
  "description": "UI components for Dub.co",
4
- "version": "0.0.68",
4
+ "version": "0.0.69",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "peerDependencies": {
19
19
  "@vercel/analytics": "^1.0.0",
20
- "next": "13.5.4",
20
+ "next": "14.2.0-canary.47",
21
21
  "react": "^18.2.0"
22
22
  },
23
23
  "devDependencies": {
@@ -26,7 +26,7 @@
26
26
  "@types/js-cookie": "^3.0.6",
27
27
  "@types/react": "^18.2.47",
28
28
  "autoprefixer": "^10.4.16",
29
- "next": "13.5.4",
29
+ "next": "14.2.0-canary.47",
30
30
  "postcss": "^8.4.31",
31
31
  "react": "^18.2.0",
32
32
  "tailwindcss": "^3.3.3",