@dust-tt/sparkle 0.1.32 → 0.1.34

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,5 @@
1
1
  import React, { ComponentType, MouseEvent, ReactNode } from "react";
2
2
  export type SparkleContextLinkType = ComponentType<{
3
- key?: React.Key | null;
4
3
  href: string;
5
4
  className?: string;
6
5
  children: ReactNode;
package/dist/cjs/index.js CHANGED
@@ -52,12 +52,12 @@ var css_248z = ".s-absolute {\n position: absolute\n}\n.s-relative {\n pos
52
52
  styleInject(css_248z);
53
53
 
54
54
  var aLink = function (_a) {
55
- var key = _a.key, href = _a.href, className = _a.className, ariaCurrent = _a.ariaCurrent, ariaLabel = _a.ariaLabel, onClick = _a.onClick, children = _a.children;
56
- return (React.createElement("a", { key: key, href: href, className: className, "aria-current": ariaCurrent, "aria-label": ariaLabel, onClick: onClick }, children));
55
+ var href = _a.href, className = _a.className, ariaCurrent = _a.ariaCurrent, ariaLabel = _a.ariaLabel, onClick = _a.onClick, children = _a.children;
56
+ return (React.createElement("a", { href: href, className: className, "aria-current": ariaCurrent, "aria-label": ariaLabel, onClick: onClick }, children));
57
57
  };
58
58
  var noHrefLink = function (_a) {
59
- var key = _a.key, className = _a.className, ariaCurrent = _a.ariaCurrent, ariaLabel = _a.ariaLabel, onClick = _a.onClick, children = _a.children;
60
- return (React.createElement("a", { key: key, className: className, "aria-current": ariaCurrent, "arria-label": ariaLabel, onClick: onClick }, children));
59
+ var className = _a.className, ariaCurrent = _a.ariaCurrent, ariaLabel = _a.ariaLabel, onClick = _a.onClick, children = _a.children;
60
+ return (React.createElement("a", { className: className, "aria-current": ariaCurrent, "arria-label": ariaLabel, onClick: onClick }, children));
61
61
  };
62
62
  var SparkleContext = React.createContext({
63
63
  components: {