@versini/ui-card 5.1.2 → 5.2.1

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -6
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  /*!
2
- @versini/ui-card v5.1.2
2
+ @versini/ui-card v5.2.1
3
3
  © 2025 gizmette.com
4
4
  */
5
5
  try {
6
6
  if (!window.__VERSINI_UI_CARD__) {
7
7
  window.__VERSINI_UI_CARD__ = {
8
- version: "5.1.2",
9
- buildTime: "11/30/2025 06:53 PM EST",
10
- homepage: "https://github.com/aversini/ui-components",
8
+ version: "5.2.1",
9
+ buildTime: "12/10/2025 08:22 AM EST",
10
+ homepage: "https://www.npmjs.com/package/@versini/ui-card",
11
11
  license: "MIT",
12
12
  };
13
13
  }
@@ -34,7 +34,7 @@ const CARD_CLASSNAME = "av-card";
34
34
  const getCardClasses = ({ className, headerClassName, bodyClassName, footerClassName, mode, compact, noBorder })=>{
35
35
  const wrapper = clsx(CARD_CLASSNAME, "rounded-md", {
36
36
  "border-none": noBorder,
37
- "border-2": !noBorder,
37
+ border: !noBorder,
38
38
  "p-4": !compact,
39
39
  "p-1 sm:p-2": compact,
40
40
  "border-border-accent bg-surface-darker text-copy-light": mode === "darker",
@@ -43,7 +43,7 @@ const getCardClasses = ({ className, headerClassName, bodyClassName, footerClass
43
43
  "border-border-dark bg-surface-lighter text-copy-dark dark:border-border-accent dark:bg-surface-dark dark:text-copy-light": mode === "system",
44
44
  "border-border-accent bg-surface-dark text-copy-light dark:border-border-dark dark:bg-surface-lighter dark:text-copy-dark": mode === "alt-system"
45
45
  }, className);
46
- const header = headerClassName ? headerClassName : clsx(`${CARD_CLASSNAME}__header mt-0 border-b-2`, {
46
+ const header = headerClassName ? headerClassName : clsx(`${CARD_CLASSNAME}__header mt-0 border-b`, {
47
47
  "text-copy-light border-border-accent": mode === "darker",
48
48
  "border-border-accent": mode === "dark",
49
49
  "border-border-medium": mode === "light",
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@versini/ui-card",
3
- "version": "5.1.2",
3
+ "version": "5.2.1",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
- "homepage": "https://github.com/aversini/ui-components",
9
+ "homepage": "https://www.npmjs.com/package/@versini/ui-card",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "git@github.com:aversini/ui-components.git"
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@testing-library/jest-dom": "6.9.1",
41
- "@versini/ui-types": "7.0.0"
41
+ "@versini/ui-types": "7.1.0"
42
42
  },
43
43
  "dependencies": {
44
44
  "@tailwindcss/typography": "0.5.19",
@@ -49,5 +49,5 @@
49
49
  "sideEffects": [
50
50
  "**/*.css"
51
51
  ],
52
- "gitHead": "4795cf3239cceaf83dde13addc5254caa12dee6f"
52
+ "gitHead": "85fd31156888edce83b4b0ecf195ad613b7db699"
53
53
  }