@versini/ui-main 3.0.9 → 3.0.10

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 CHANGED
@@ -28,6 +28,6 @@ type MainProps = {
28
28
  noPadding?: boolean;
29
29
  };
30
30
 
31
- declare const Main: ({ children, className, raw, noMargin, noPadding, }: MainProps) => react_jsx_runtime.JSX.Element;
31
+ declare const Main: ({ children, className, raw, noMargin, noPadding, ...otherProps }: MainProps) => react_jsx_runtime.JSX.Element;
32
32
 
33
33
  export { MAIN_CLASSNAME, Main };
package/dist/index.js CHANGED
@@ -1,27 +1,28 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import a from "clsx";
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import l from "clsx";
3
3
  /*!
4
- @versini/ui-main v3.0.9
4
+ @versini/ui-main v3.0.10
5
5
  © 2025 gizmette.com
6
6
  */
7
7
  try {
8
8
  window.__VERSINI_UI_MAIN__ || (window.__VERSINI_UI_MAIN__ = {
9
- version: "3.0.9",
10
- buildTime: "01/25/2025 10:54 PM EST",
9
+ version: "3.0.10",
10
+ buildTime: "02/16/2025 06:39 PM EST",
11
11
  homepage: "https://github.com/aversini/ui-components",
12
12
  license: "MIT"
13
13
  });
14
14
  } catch {
15
15
  }
16
- const l = "av-main", r = ({
16
+ const _ = "av-main", I = ({
17
17
  children: o,
18
18
  className: s,
19
19
  raw: m = !1,
20
20
  noMargin: e = !1,
21
- noPadding: i = !1
21
+ noPadding: i = !1,
22
+ ...t
22
23
  }) => {
23
- const t = a(
24
- l,
24
+ const n = l(
25
+ _,
25
26
  {
26
27
  "mt-2 sm:mt-3": !m && !e,
27
28
  "p-2": !m && !i,
@@ -29,9 +30,9 @@ const l = "av-main", r = ({
29
30
  },
30
31
  s
31
32
  );
32
- return /* @__PURE__ */ n("main", { className: t, children: o });
33
+ return /* @__PURE__ */ a("main", { className: n, ...t, children: o });
33
34
  };
34
35
  export {
35
- l as MAIN_CLASSNAME,
36
- r as Main
36
+ _ as MAIN_CLASSNAME,
37
+ I as Main
37
38
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-main",
3
- "version": "3.0.9",
3
+ "version": "3.0.10",
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.0"
42
+ "@versini/ui-types": "4.5.1"
43
43
  },
44
44
  "dependencies": {
45
45
  "@tailwindcss/typography": "0.5.16",
@@ -48,5 +48,5 @@
48
48
  "sideEffects": [
49
49
  "**/*.css"
50
50
  ],
51
- "gitHead": "95add63a475dc1307dd4ada55909553876a55b73"
51
+ "gitHead": "45b6ae437679028f6c1b791aa27f7b0a7fd66482"
52
52
  }