@versini/ui-header 3.0.9 → 3.0.11
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 +2 -2
- package/dist/index.js +12 -11
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -45,8 +45,8 @@ type HeaderProps = {
|
|
|
45
45
|
* @default false
|
|
46
46
|
*/
|
|
47
47
|
noPadding?: boolean;
|
|
48
|
-
}
|
|
48
|
+
} & React.HTMLAttributes<HTMLElement>;
|
|
49
49
|
|
|
50
|
-
declare const Header: ({ children, className, raw, mode, noColors, sticky, noBorder, noMargin, noPadding, }: HeaderProps) => react_jsx_runtime.JSX.Element;
|
|
50
|
+
declare const Header: ({ children, className, raw, mode, noColors, sticky, noBorder, noMargin, noPadding, ...otherProps }: HeaderProps) => react_jsx_runtime.JSX.Element;
|
|
51
51
|
|
|
52
52
|
export { HEADER_CLASSNAME, Header };
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import d from "clsx";
|
|
3
3
|
/*!
|
|
4
|
-
@versini/ui-header v3.0.
|
|
4
|
+
@versini/ui-header v3.0.11
|
|
5
5
|
© 2025 gizmette.com
|
|
6
6
|
*/
|
|
7
7
|
try {
|
|
8
8
|
window.__VERSINI_UI_HEADER__ || (window.__VERSINI_UI_HEADER__ = {
|
|
9
|
-
version: "3.0.
|
|
10
|
-
buildTime: "
|
|
9
|
+
version: "3.0.11",
|
|
10
|
+
buildTime: "02/16/2025 07:04 PM EST",
|
|
11
11
|
homepage: "https://github.com/aversini/ui-components",
|
|
12
12
|
license: "MIT"
|
|
13
13
|
});
|
|
14
14
|
} catch {
|
|
15
15
|
}
|
|
16
|
-
const
|
|
16
|
+
const g = "av-header", E = ({
|
|
17
17
|
children: t,
|
|
18
18
|
className: i,
|
|
19
19
|
raw: e = !1,
|
|
@@ -22,10 +22,11 @@ const h = "av-header", k = ({
|
|
|
22
22
|
sticky: b = !1,
|
|
23
23
|
noBorder: s = !1,
|
|
24
24
|
noMargin: l = !1,
|
|
25
|
-
noPadding: m = !1
|
|
25
|
+
noPadding: m = !1,
|
|
26
|
+
...f
|
|
26
27
|
}) => {
|
|
27
|
-
const
|
|
28
|
-
|
|
28
|
+
const u = d(
|
|
29
|
+
g,
|
|
29
30
|
{
|
|
30
31
|
"border-border-accent": a === "dark" && !e && !r && !s,
|
|
31
32
|
"border-border-medium": a === "light" && !e && !r && !s,
|
|
@@ -40,14 +41,14 @@ const h = "av-header", k = ({
|
|
|
40
41
|
"sticky top-0 z-50": b
|
|
41
42
|
},
|
|
42
43
|
i
|
|
43
|
-
),
|
|
44
|
+
), h = d({
|
|
44
45
|
"mt-0": !l,
|
|
45
46
|
"p-2": !m,
|
|
46
47
|
"flex flex-col w-full md:mx-auto md:max-w-4xl": !e
|
|
47
48
|
});
|
|
48
|
-
return /* @__PURE__ */ c("header", { className: f, children: /* @__PURE__ */ c("div", { className:
|
|
49
|
+
return /* @__PURE__ */ c("header", { className: u, ...f, children: /* @__PURE__ */ c("div", { className: h, children: t }) });
|
|
49
50
|
};
|
|
50
51
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
g as HEADER_CLASSNAME,
|
|
53
|
+
E as Header
|
|
53
54
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-header",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"react-dom": "^18.3.1 || ^19.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@versini/ui-types": "4.5.
|
|
42
|
+
"@versini/ui-types": "4.5.1"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@tailwindcss/typography": "0.5.16",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"sideEffects": [
|
|
50
50
|
"**/*.css"
|
|
51
51
|
],
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "a03b615012e909f72e982877a58e52359fbeb9a7"
|
|
53
53
|
}
|