@obolnetwork/obol-ui 1.0.39 → 1.0.40-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.
@@ -1,6 +1,35 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="node" />
2
3
  import type * as Stitches from "@stitches/react";
3
- export declare const Link: import("@stitches/react/types/styled-component").StyledComponent<"a", {
4
+ export declare const Link: import("@stitches/react/types/styled-component").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof {
5
+ href: string | import("url").UrlObject;
6
+ as?: (string | import("url").UrlObject) | undefined;
7
+ replace?: boolean | undefined;
8
+ scroll?: boolean | undefined;
9
+ shallow?: boolean | undefined;
10
+ passHref?: boolean | undefined;
11
+ prefetch?: boolean | undefined;
12
+ locale?: string | false | undefined;
13
+ legacyBehavior?: boolean | undefined;
14
+ onMouseEnter?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
15
+ onTouchStart?: import("react").TouchEventHandler<HTMLAnchorElement> | undefined;
16
+ onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
17
+ }> & {
18
+ href: string | import("url").UrlObject;
19
+ as?: (string | import("url").UrlObject) | undefined;
20
+ replace?: boolean | undefined;
21
+ scroll?: boolean | undefined;
22
+ shallow?: boolean | undefined;
23
+ passHref?: boolean | undefined;
24
+ prefetch?: boolean | undefined;
25
+ locale?: string | false | undefined;
26
+ legacyBehavior?: boolean | undefined;
27
+ onMouseEnter?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
28
+ onTouchStart?: import("react").TouchEventHandler<HTMLAnchorElement> | undefined;
29
+ onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
30
+ } & {
31
+ children?: import("react").ReactNode;
32
+ } & import("react").RefAttributes<HTMLAnchorElement>>, {
4
33
  variant?: "default" | "docs" | undefined;
5
34
  disabled?: boolean | "true" | undefined;
6
35
  }, {
package/dist/index.es.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { createStitches } from '@stitches/react';
2
+ import NextLink from 'next/link';
2
3
  import * as TabsPrimitive from '@radix-ui/react-tabs';
3
4
  import { jsx, jsxs } from 'react/jsx-runtime';
4
5
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
@@ -624,7 +625,7 @@ var Button = styled("button", {
624
625
  var ButtonStory = modifyVariantsForStory(Button);
625
626
  // export const WalletButton =
626
627
 
627
- var Link = styled("a", {
628
+ var Link = styled(NextLink, {
628
629
  display: "flex",
629
630
  gap: "$xxs",
630
631
  alignItems: "center",
package/dist/index.js CHANGED
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var react = require('@stitches/react');
6
+ var NextLink = require('next/link');
6
7
  var TabsPrimitive = require('@radix-ui/react-tabs');
7
8
  var jsxRuntime = require('react/jsx-runtime');
8
9
  var ToggleGroupPrimitive = require('@radix-ui/react-toggle-group');
@@ -36,6 +37,7 @@ function _interopNamespace(e) {
36
37
  return Object.freeze(n);
37
38
  }
38
39
 
40
+ var NextLink__default = /*#__PURE__*/_interopDefaultLegacy(NextLink);
39
41
  var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
40
42
  var ToggleGroupPrimitive__namespace = /*#__PURE__*/_interopNamespace(ToggleGroupPrimitive);
41
43
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
@@ -658,7 +660,7 @@ var Button = styled("button", {
658
660
  var ButtonStory = modifyVariantsForStory(Button);
659
661
  // export const WalletButton =
660
662
 
661
- var Link = styled("a", {
663
+ var Link = styled(NextLink__default["default"], {
662
664
  display: "flex",
663
665
  gap: "$xxs",
664
666
  alignItems: "center",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obolnetwork/obol-ui",
3
- "version": "1.0.39",
3
+ "version": "1.0.40-0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.es.js",
6
6
  "license": "MIT",
@@ -33,9 +33,9 @@
33
33
  "@radix-ui/react-toggle-group": "^0.1.5",
34
34
  "@radix-ui/react-tooltip": "^0.1.7",
35
35
  "@stitches/react": "~1.2.8",
36
- "next": "12.1.0",
37
- "react": "17.0.2",
38
- "react-dom": "17.0.2",
36
+ "next": "^13.3.0",
37
+ "react": "^18.2.0",
38
+ "react-dom": "^18.2.0",
39
39
  "uuidv4": "^6.2.13"
40
40
  },
41
41
  "devDependencies": {
@@ -55,7 +55,7 @@
55
55
  "babel-loader": "^8.2.4",
56
56
  "cross-env": "^7.0.3",
57
57
  "eslint": "8.11.0",
58
- "eslint-config-next": "12.1.0",
58
+ "eslint-config-next": "^13.3.1-canary.6",
59
59
  "eslint-config-prettier": "^8.6.0",
60
60
  "eslint-plugin-storybook": "^0.6.4",
61
61
  "figma-api": "^1.10.1",
@@ -69,7 +69,8 @@
69
69
  "rollup-plugin-typescript2": "^0.31.2",
70
70
  "storybook-addon-designs": "^6.3.1",
71
71
  "tslib": "^2.3.1",
72
- "typescript": "^4.6.3"
72
+ "typescript": "^4.6.3",
73
+ "use": "^3.1.1"
73
74
  },
74
75
  "publishConfig": {
75
76
  "registry": "https://registry.npmjs.org/",