@spark-ui/link-box 9.0.2 → 9.0.4
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 +8 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
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.4](https://github.com/adevinta/spark/compare/v9.0.3...v9.0.4) (2025-02-09)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @spark-ui/link-box
|
9
|
+
|
10
|
+
## [9.0.3](https://github.com/adevinta/spark/compare/v9.0.2...v9.0.3) (2025-02-06)
|
11
|
+
|
12
|
+
**Note:** Version bump only for package @spark-ui/link-box
|
13
|
+
|
6
14
|
## [9.0.2](https://github.com/adevinta/spark/compare/v9.0.1...v9.0.2) (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
|
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:
|
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
|
+
"version": "9.0.4",
|
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.
|
26
|
+
"@spark-ui/slot": "^9.0.4",
|
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": "
|
48
|
+
"gitHead": "a0d610b1b05ed87ae6661ddf5df9cf9b95c25f03"
|
49
49
|
}
|