@versini/ui-button 12.1.0 → 12.2.0

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/188.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-button v12.1.0
2
+ @versini/ui-button v12.2.0
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -64,12 +64,10 @@ const ACTIVE_BG_DANGER_DARK_DARK_LIGHT = "active:bg-action-danger-dark-active da
64
64
  const ACTIVE_BG_DANGER_LIGHT_DARK_DARK = "active:bg-action-danger-light-active dark:active:bg-action-danger-dark-active";
65
65
  // Border classes
66
66
  const BORDER_MEDIUM = "border-border-medium";
67
- const BORDER_ACCENT = "border-border-accent";
68
67
  const BORDER_DANGER_MEDIUM = "border-border-danger-medium";
69
68
  const BORDER_DANGER_DARK = "border-border-danger-dark";
70
69
  // System mode compound border classes
71
- const BORDER_MEDIUM_DARK_ACCENT = "border-border-medium dark:border-border-accent";
72
- const BORDER_ACCENT_DARK_MEDIUM = "border-border-accent dark:border-border-medium";
70
+ const BORDER_DARK_MEDIUM = "border-border-medium dark:border-border-medium";
73
71
  const BORDER_DANGER_DARK_DARK_MEDIUM = "border-border-danger-dark dark:border-border-danger-medium";
74
72
  const BORDER_DANGER_MEDIUM_DARK_DARK = "border-border-danger-medium dark:border-border-danger-dark";
75
73
  // Focus classes
@@ -319,18 +317,14 @@ const getButtonBorderClasses = ({ mode, noBorder, variant })=>{
319
317
  }
320
318
  if (isPrimary(variant)) {
321
319
  return clsx("border", {
322
- [BORDER_MEDIUM]: isLight(mode),
323
- [BORDER_ACCENT]: isDark(mode),
324
- [BORDER_MEDIUM_DARK_ACCENT]: isSystem(mode),
325
- [BORDER_ACCENT_DARK_MEDIUM]: isAltSystem(mode)
320
+ [BORDER_MEDIUM]: isLight(mode) || isDark(mode),
321
+ [BORDER_DARK_MEDIUM]: isAltSystem(mode) || isSystem(mode)
326
322
  });
327
323
  }
328
324
  if (isSecondary(variant)) {
329
325
  return clsx("border", {
330
- [BORDER_ACCENT]: isLight(mode),
331
- [BORDER_MEDIUM]: isDark(mode),
332
- [BORDER_ACCENT_DARK_MEDIUM]: isSystem(mode),
333
- [BORDER_MEDIUM_DARK_ACCENT]: isAltSystem(mode)
326
+ [BORDER_MEDIUM]: isDark(mode) || isLight(mode),
327
+ [BORDER_DARK_MEDIUM]: isSystem(mode) || isAltSystem(mode)
334
328
  });
335
329
  }
336
330
  if (isDanger(variant)) {
package/dist/370.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-button v12.1.0
2
+ @versini/ui-button v12.2.0
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
package/dist/795.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-button v12.1.0
2
+ @versini/ui-button v12.2.0
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-button v12.1.0
2
+ @versini/ui-button v12.2.0
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-button v12.1.0
2
+ @versini/ui-button v12.2.0
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-button v12.1.0
2
+ @versini/ui-button v12.2.0
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-button v12.1.0
2
+ @versini/ui-button v12.2.0
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-button",
3
- "version": "12.1.0",
3
+ "version": "12.2.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -63,12 +63,12 @@
63
63
  },
64
64
  "dependencies": {
65
65
  "@versini/ui-hooks": "6.1.1",
66
- "@versini/ui-icons": "4.19.2",
66
+ "@versini/ui-icons": "4.20.0",
67
67
  "clsx": "2.1.1",
68
68
  "tailwindcss": "4.2.1"
69
69
  },
70
70
  "sideEffects": [
71
71
  "**/*.css"
72
72
  ],
73
- "gitHead": "08f46d8b356d5cfbb4e58dca300428ed6bb03789"
73
+ "gitHead": "992cb83ea45b32a2c41fc024751d33922b4146e5"
74
74
  }