react-jupiter 6.1.6 → 6.1.8

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/button/index.js +3 -3
  2. package/package.json +1 -1
package/button/index.js CHANGED
@@ -3,15 +3,15 @@
3
3
 
4
4
 
5
5
 
6
- base="inline-flex items-center justify-center border box-border rounded font-semibold transition-all duration-250 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed active:scale-[0.98]",
6
+ base="inline-flex items-center justify-center border box-border rounded-sm font-semibold transition-all duration-250 focus:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed active:scale-[0.98]",
7
7
 
8
8
 
9
9
  getStyleClasses=(a,b)=>{var c;
10
10
  const d={
11
11
  darkBlue:{
12
- primary:"bg-main border-main text-white hover:bg-opacity-80 active:bg-opacity-95 focus-visible:ring-main",
12
+ primary:"bg-main border-main text-white hover:bg-main/80 active:bg-main/95 focus-visible:ring-main",
13
13
  secondary:"bg-transparent border-main text-main hover:bg-blue-50 active:bg-blue-100 focus-visible:ring-main",
14
- tertiary:"bg-transparent border-transparent text-main hover:bg-opacity-10 active:bg-opacity-20 focus-visible:ring-main"
14
+ tertiary:"bg-transparent border-transparent text-main hover:bg-main/10 active:bg-main/20 focus-visible:ring-main"
15
15
  },
16
16
  red:{
17
17
  primary:"bg-red-600 border-red-600 text-white hover:bg-red-700 active:bg-red-800 focus-visible:ring-red-600",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-jupiter",
3
- "version": "6.1.6",
3
+ "version": "6.1.8",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "keywords": [