@kadoui/tailwindcss 1.2.3 → 1.2.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kadoui/tailwindcss",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "description": "Kadoui TailwindCSS styles",
5
5
  "author": "FarzadVav",
6
6
  "license": "MIT",
@@ -8,12 +8,12 @@
8
8
  width: var(--element-size);
9
9
  height: var(--element-size);
10
10
 
11
- &[data-state="false"]>.choice-radio-trigger {
11
+ &[data-state="false"]>.choice-radio-thumb {
12
12
  @apply opacity-0 scale-0;
13
13
  }
14
14
  }
15
15
 
16
- @utility choice-radio-trigger {
16
+ @utility choice-radio-thumb {
17
17
  @apply bg-palette rounded-full transition-all flex items-center justify-center text-brush;
18
18
 
19
19
  width: calc(var(--element-size) - 0.5rem);
@@ -26,12 +26,12 @@
26
26
  width: var(--element-size);
27
27
  height: var(--element-size);
28
28
 
29
- &[data-state="false"]>.choice-checkbox-trigger {
29
+ &[data-state="false"]>.choice-checkbox-thumb {
30
30
  @apply opacity-0 scale-0;
31
31
  }
32
32
  }
33
33
 
34
- @utility choice-checkbox-trigger {
34
+ @utility choice-checkbox-thumb {
35
35
  @apply bg-palette rounded-[calc(var(--element-rounded)-0.25rem)] transition-all flex items-center justify-center text-brush;
36
36
 
37
37
  width: calc(var(--element-size) - 0.5rem);
@@ -47,21 +47,21 @@
47
47
  &[data-state="true"] {
48
48
  @apply bg-palette text-brush;
49
49
 
50
- &>.choice-switch-trigger {
50
+ &>.choice-switch-thumb {
51
51
  @apply bg-brush text-palette;
52
52
 
53
53
  left: calc(var(--element-size) + 0.25rem);
54
54
  }
55
55
  }
56
56
 
57
- &[data-state="false"]>.choice-switch-trigger {
57
+ &[data-state="false"]>.choice-switch-thumb {
58
58
  @apply bg-palette text-brush;
59
59
 
60
60
  left: 0.25rem;
61
61
  }
62
62
  }
63
63
 
64
- @utility choice-switch-trigger {
64
+ @utility choice-switch-thumb {
65
65
  @apply absolute rounded-full transition-all flex items-center justify-center;
66
66
 
67
67
  width: calc(var(--element-size) - 0.5rem);
@@ -3,7 +3,7 @@
3
3
  @utility input {
4
4
  --element-w: auto;
5
5
 
6
- @apply text-palette flex cursor-text relative transition-all outline-solid outline-2 outline-transparent focus-within:outline-palette disabled:opacity-50 disabled:cursor-not-allowed has-[[type=file]]:cursor-pointer;
6
+ @apply text-palette flex cursor-text relative transition-all outline-solid outline-2 outline-transparent focus-within:outline-palette has-[input:disabled]:opacity-50 has-[input:disabled]:cursor-not-allowed has-[[type=file]]:cursor-pointer;
7
7
 
8
8
  width: var(--element-w);
9
9
  height: var(--element-size);
@@ -25,7 +25,7 @@
25
25
  }
26
26
 
27
27
  @utility input-field {
28
- @apply bg-transparent placeholder:text-palette/50 flex-1 not-[[type=file]]:h-full max-w-full [[type=file]]:cursor-pointer disabled:cursor-not-allowed;
28
+ @apply bg-transparent placeholder:text-palette/50 flex-1 not-[[type=file]]:h-full max-w-full [[type=file]]:cursor-pointer;
29
29
 
30
30
  &:where(select) {
31
31
  @apply cursor-pointer;