@versini/ui-main 4.0.1 → 4.0.2
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/components/Main/Main.js +23 -4
- package/dist/index.js +5 -25
- package/package.json +4 -4
|
@@ -1,6 +1,25 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "clsx";
|
|
3
|
-
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import n from "clsx";
|
|
3
|
+
const x = "av-main", r = ({
|
|
4
|
+
children: s,
|
|
5
|
+
className: l,
|
|
6
|
+
raw: m = !1,
|
|
7
|
+
noMargin: a = !1,
|
|
8
|
+
noPadding: o = !1,
|
|
9
|
+
...t
|
|
10
|
+
}) => {
|
|
11
|
+
const e = n(
|
|
12
|
+
x,
|
|
13
|
+
{
|
|
14
|
+
"mt-2 sm:mt-3": !m && !a,
|
|
15
|
+
"p-2": !m && !o,
|
|
16
|
+
"flex w-full flex-col md:mx-auto md:max-w-4xl": !m
|
|
17
|
+
},
|
|
18
|
+
l
|
|
19
|
+
);
|
|
20
|
+
return /* @__PURE__ */ f("main", { className: e, ...t, children: s });
|
|
21
|
+
};
|
|
4
22
|
export {
|
|
5
|
-
|
|
23
|
+
x as MAIN_CLASSNAME,
|
|
24
|
+
r as Main
|
|
6
25
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,38 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import l from "clsx";
|
|
1
|
+
import { MAIN_CLASSNAME as o, Main as I } from "./components/Main/Main.js";
|
|
3
2
|
/*!
|
|
4
|
-
@versini/ui-main v4.0.
|
|
3
|
+
@versini/ui-main v4.0.2
|
|
5
4
|
© 2025 gizmette.com
|
|
6
5
|
*/
|
|
7
6
|
try {
|
|
8
7
|
window.__VERSINI_UI_MAIN__ || (window.__VERSINI_UI_MAIN__ = {
|
|
9
|
-
version: "4.0.
|
|
10
|
-
buildTime: "04/
|
|
8
|
+
version: "4.0.2",
|
|
9
|
+
buildTime: "04/12/2025 09:18 AM EDT",
|
|
11
10
|
homepage: "https://github.com/aversini/ui-components",
|
|
12
11
|
license: "MIT"
|
|
13
12
|
});
|
|
14
13
|
} catch {
|
|
15
14
|
}
|
|
16
|
-
const _ = "av-main", I = ({
|
|
17
|
-
children: o,
|
|
18
|
-
className: s,
|
|
19
|
-
raw: m = !1,
|
|
20
|
-
noMargin: e = !1,
|
|
21
|
-
noPadding: i = !1,
|
|
22
|
-
...t
|
|
23
|
-
}) => {
|
|
24
|
-
const n = l(
|
|
25
|
-
_,
|
|
26
|
-
{
|
|
27
|
-
"mt-2 sm:mt-3": !m && !e,
|
|
28
|
-
"p-2": !m && !i,
|
|
29
|
-
"flex w-full flex-col md:mx-auto md:max-w-4xl": !m
|
|
30
|
-
},
|
|
31
|
-
s
|
|
32
|
-
);
|
|
33
|
-
return /* @__PURE__ */ a("main", { className: n, ...t, children: o });
|
|
34
|
-
};
|
|
35
15
|
export {
|
|
36
|
-
|
|
16
|
+
o as MAIN_CLASSNAME,
|
|
37
17
|
I as Main
|
|
38
18
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-main",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"react-dom": "^18.3.1 || ^19.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@versini/ui-types": "5.0.
|
|
42
|
+
"@versini/ui-types": "5.0.2"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@tailwindcss/typography": "0.5.16",
|
|
46
|
-
"tailwindcss": "4.1.
|
|
46
|
+
"tailwindcss": "4.1.3"
|
|
47
47
|
},
|
|
48
48
|
"sideEffects": [
|
|
49
49
|
"**/*.css"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "1bc09c4f0904bd8c01a22b1a32299fdd7598ae32"
|
|
52
52
|
}
|