@acorex/styles 5.0.60 → 5.1.2

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": "@acorex/styles",
3
- "version": "5.0.60",
3
+ "version": "5.1.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,36 +1,44 @@
1
1
  @layer components {
2
2
  .ax-carousel {
3
- text-align: center;
4
- overflow: hidden;
5
- width: 100%;
6
- display: block;
7
- position: relative;
3
+ @apply ax-text-center ax-overflow-hidden ax-w-full ax-block ax-relative;
8
4
  .ax-carousel-arrows {
9
- @apply ax-flex ax-absolute ax-justify-between ax-justify-items-center ax-cursor-pointer ax-bg-transparent ax-text-white ax-invisible;
10
- top: 0;
11
- left: 0;
12
- right: 0;
13
- bottom: 0;
5
+ @apply ax-flex ax-absolute ax-justify-between ax-justify-items-center ax-cursor-pointer ax-bg-transparent ax-text-white ax-invisible ax-left-0 ax-right-0 ax-top-0 ax-bottom-0;
14
6
  button {
15
7
  @apply ax-border-none ax-cursor-pointer ax-bg-transparent ax-text-white ax-visible;
16
8
  .ax-ic {
17
- font-size: 2.5rem;
9
+ @apply ax-text-4xl;
18
10
  }
19
11
  }
12
+ .ax-vertical-arrow{
13
+ @apply ax-absolute ax-left-1/2 ax-block;
14
+ transform: translate(-50%, -50%);
15
+ &.ax-top-arrow {
16
+ @apply ax-top-5;
17
+ .ax-ic {
18
+ @apply ax-block ax-rotate-90
19
+ }
20
+ }
21
+ &.ax-bottom-arrow {
22
+ @apply -ax-bottom-5;
23
+ transform: translate(-50%, -50%);
24
+ .ax-ic {
25
+ @apply ax-block -ax-rotate-90
26
+ }
27
+ }
28
+ }
29
+
20
30
  }
21
31
  .ax-carousel-pager {
22
- @apply ax-flex ax-py-2 ax-justify-center;
32
+ @apply ax-flex ax-my-3 ax-justify-center;
23
33
  button {
24
34
  @apply ax-p-1 ax-mx-1 ax-cursor-pointer ax-border-none ax-rounded-full ax-bg-light-300;
25
- width: calc(var(--ax-base-size) * 1.5);
26
- height: calc(var(--ax-base-size) * 1.5);
27
35
  &:hover {
28
- @apply ax-bg-primary-600;
36
+ @apply ax-bg-primary-500;
29
37
  }
30
38
  &.ax-state-active {
31
- @apply ax-bg-primary-400;
39
+ @apply ax-bg-primary-500;
32
40
  }
33
41
  }
34
42
  }
35
43
  }
36
- }
44
+ }
@@ -1,43 +1,50 @@
1
1
  @layer components {
2
-
3
2
  ax-menu,
4
3
  .ax-menu {
5
- >ul {
6
- @apply ax-border ax-border-solid ax-border-light-200 ax-flex ax-flex-col ax-text-sm;
4
+ > ul {
5
+ @apply ax-flex ax-flex-col ax-text-sm;
7
6
 
8
7
  li {
9
- @apply ax-cursor-pointer ax-p-1;
8
+ @apply ax-cursor-pointer;
9
+
10
+ &.ax-state-disabled {
11
+ @apply ax-cursor-not-allowed ax-opacity-60;
12
+ }
10
13
 
11
14
  a {
12
- @apply ax-no-underline ax-flex ax-justify-between ax-items-center ax-p-2 ax-animate-fadeIn ax-animate-faster;
15
+ @apply ax-no-underline ax-flex ax-justify-between ax-items-center ax-mb-2 ax-px-2.5 ax-py-3 ax-rounded-md;
13
16
 
14
17
  &.active {
15
- @apply ax-bg-primary-100 ax-text-primary-500;
16
- }
17
-
18
- .active-icon {
19
- @apply ax--rotate-90
18
+ @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-bg-primary-500 dark:ax-text-primary-fore;
20
19
  }
21
20
 
22
21
  &:hover {
23
- @apply ax-text-primary-500
22
+ @apply ax-bg-primary-50 ax-text-primary-500 dark:ax-bg-primary-500 dark:ax-text-primary-fore;
23
+
24
24
  }
25
-
26
25
  ax-icon {
27
- @apply ax--rotate-180
26
+ @apply ax-text-xl;
27
+ }
28
+ .ax-menu-start-side {
29
+ @apply ax-flex ax-items-center;
30
+ ax-icon {
31
+ @apply ax-me-1.5;
32
+ }
33
+ }
34
+ .ax-menu-end-side {
35
+ ax-icon {
36
+ @apply ax-block ax--rotate-180 ax-transition-all ;
37
+ &.active-icon {
38
+ @apply ax--rotate-90;
39
+ }
40
+ }
28
41
  }
29
42
  }
30
43
 
31
44
  ul {
32
45
  @apply ax-ps-3;
33
-
34
46
  }
35
47
  }
36
48
  }
37
-
38
49
  }
39
-
40
-
41
-
42
-
43
- }
50
+ }
@@ -0,0 +1,11 @@
1
+ @layer components {
2
+ ax-picker,
3
+ .ax-picker {
4
+ .ax-picker-item{
5
+ @apply ax-p-3 ax-text-sm;
6
+ &.ax-state-active{
7
+ @apply ax-text-base ax-text-primary-500;
8
+ }
9
+ }
10
+ }
11
+ }
@@ -20,6 +20,7 @@
20
20
  @import "./label";
21
21
  @import "./list";
22
22
  @import "./numberbox";
23
+ @import "./picker";
23
24
  @import "./loading";
24
25
  @import "./menu";
25
26
  @import "./popup";