@spark-ui/link-box 9.0.3 → 9.0.5

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [9.0.5](https://github.com/adevinta/spark/compare/v9.0.4...v9.0.5) (2025-02-11)
7
+
8
+ **Note:** Version bump only for package @spark-ui/link-box
9
+
10
+ ## [9.0.4](https://github.com/adevinta/spark/compare/v9.0.3...v9.0.4) (2025-02-09)
11
+
12
+ **Note:** Version bump only for package @spark-ui/link-box
13
+
6
14
  ## [9.0.3](https://github.com/adevinta/spark/compare/v9.0.2...v9.0.3) (2025-02-06)
7
15
 
8
16
  **Note:** Version bump only for package @spark-ui/link-box
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),r=require("@spark-ui/slot"),l=require("class-variance-authority"),c=({className:e,asChild:a,ref:i,...o})=>{const n=a?r.Slot:"div";return t.createElement(n,{ref:i,"data-spark-component":"link-box",className:l.cx("relative",e),...o})};c.displayName="LinkBox";const d=({className:e,asChild:a,ref:i,...o})=>{const n=a?r.Slot:"a";return t.createElement(n,{ref:i,"data-spark-component":"link-box-link",className:l.cx("static before:absolute before:left-none before:top-none before:z-base before:block before:size-full before:content-['']",e),...o})};d.displayName="LinkBox.Link";const m=({className:e,...a})=>t.createElement(r.Slot,{className:l.cx("relative z-raised",e),...a});m.displayName="LinkBox.Raised";const s=Object.assign(c,{Link:d,Raised:m});s.displayName="LinkBox",s.Link.displayName="LinkBox.Link",s.Raised.displayName="LinkBox.Raised",exports.LinkBox=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),n=require("@spark-ui/slot"),r=require("class-variance-authority"),c=({className:e,asChild:a,ref:i,...o})=>{const t=a?n.Slot:"div";return l.createElement(t,{ref:i,"data-spark-component":"link-box",className:r.cx("relative",e),...o})};c.displayName="LinkBox";const d=({className:e,asChild:a,ref:i,...o})=>{const t=a?n.Slot:"a";return l.createElement(t,{ref:i,"data-spark-component":"link-box-link",className:r.cx("before:z-base static before:absolute before:top-0 before:left-0 before:block before:size-full before:content-['']",e),...o})};d.displayName="LinkBox.Link";const m=({className:e,...a})=>l.createElement(n.Slot,{className:r.cx("relative z-raised",e),...a});m.displayName="LinkBox.Raised";const s=Object.assign(c,{Link:d,Raised:m});s.displayName="LinkBox",s.Link.displayName="LinkBox.Link",s.Raised.displayName="LinkBox.Raised",exports.LinkBox=s;
package/dist/index.mjs CHANGED
@@ -8,7 +8,7 @@ const m = ({ className: e, asChild: a, ref: s, ...o }) => {
8
8
  m.displayName = "LinkBox";
9
9
  const c = ({ className: e, asChild: a, ref: s, ...o }) => {
10
10
  const i = a ? r : "a";
11
- return t.createElement(i, { ref: s, "data-spark-component": "link-box-link", className: l("static before:absolute before:left-none before:top-none before:z-base before:block before:size-full before:content-['']", e), ...o });
11
+ return t.createElement(i, { ref: s, "data-spark-component": "link-box-link", className: l("before:z-base static before:absolute before:top-0 before:left-0 before:block before:size-full before:content-['']", e), ...o });
12
12
  };
13
13
  c.displayName = "LinkBox.Link";
14
14
  const k = ({ className: e, ...a }) => t.createElement(r, { className: l("relative z-raised", e), ...a });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/link-box",
3
- "version": "9.0.3",
3
+ "version": "9.0.5",
4
4
  "description": "Semantic component used to wrap elements (cards, blog posts, articles, etc.) in a link.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -23,7 +23,7 @@
23
23
  "build": "vite build"
24
24
  },
25
25
  "dependencies": {
26
- "@spark-ui/slot": "^9.0.3",
26
+ "@spark-ui/slot": "^9.0.5",
27
27
  "class-variance-authority": "0.7.0"
28
28
  },
29
29
  "peerDependencies": {
@@ -45,5 +45,5 @@
45
45
  },
46
46
  "homepage": "https://sparkui.vercel.app",
47
47
  "license": "MIT",
48
- "gitHead": "e0203e8e853267c3e622d203e3ea9dc3821f49c7"
48
+ "gitHead": "45581170ca1d5d443478eda2b586f069d4200bd5"
49
49
  }