@acorex/styles 6.1.12 → 7.0.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 (81) hide show
  1. package/index.scss +3 -1
  2. package/package.json +1 -1
  3. package/src/base/index.scss +44 -30
  4. package/src/components/_avatar.scss +122 -122
  5. package/src/components/_badge.scss +178 -178
  6. package/src/components/_breadcrumbs.scss +30 -29
  7. package/src/components/_button copy.scss +924 -0
  8. package/src/components/_button.scss +0 -924
  9. package/src/components/_calendar.scss +180 -180
  10. package/src/components/_carousel.scss +44 -44
  11. package/src/components/_checkbox.scss +58 -58
  12. package/src/components/_collapse.scss +48 -48
  13. package/src/components/_color-palette.scss +5 -5
  14. package/src/components/_color-picker.scss +23 -23
  15. package/src/components/_context-menu.scss +0 -16
  16. package/src/components/_data-table.scss +1 -1
  17. package/src/components/_datepicker.scss +5 -5
  18. package/src/components/_decoration.scss +0 -39
  19. package/src/components/_dialog.scss +80 -79
  20. package/src/components/_drawer.scss +112 -112
  21. package/src/components/_dropdown.scss +162 -216
  22. package/src/components/_editor-container.scss +0 -155
  23. package/src/components/_fieldset.scss +1 -6
  24. package/src/components/_image.scss +1 -1
  25. package/src/components/_label.scss +1 -1
  26. package/src/components/_list.scss +0 -83
  27. package/src/components/_loading.scss +1 -50
  28. package/src/components/_menu copy.scss +5 -5
  29. package/src/components/_menu.scss +114 -114
  30. package/src/components/_popup.scss +92 -91
  31. package/src/components/_progress.scss +59 -59
  32. package/src/components/_radio.scss +30 -30
  33. package/src/components/_range-slider.scss +147 -125
  34. package/src/components/_result.scss +2 -2
  35. package/src/components/_selectbox.scss +15 -17
  36. package/src/components/_selection-list.scss +2 -2
  37. package/src/components/_skeleton.scss +2 -2
  38. package/src/components/_switch.scss +0 -186
  39. package/src/components/_table.scss +0 -81
  40. package/src/components/_tabs copy.scss +18 -18
  41. package/src/components/_tabs.scss +235 -235
  42. package/src/components/_textarea.scss +27 -31
  43. package/src/components/_toast.scss +1 -1
  44. package/src/components/_treeview.scss +0 -54
  45. package/src/components/_uploader.scss +0 -18
  46. package/src/components/index.scss +1 -47
  47. package/src/icons/demo.html +892 -738
  48. package/src/icons/fonts/acorex-icons.eot +0 -0
  49. package/src/icons/fonts/acorex-icons.svg +71 -0
  50. package/src/icons/fonts/acorex-icons.ttf +0 -0
  51. package/src/icons/fonts/acorex-icons.woff +0 -0
  52. package/src/icons/selection.json +1 -1
  53. package/src/icons/style.css +210 -177
  54. package/src/icons/style.scss +335 -280
  55. package/src/icons/variables.scss +65 -54
  56. package/src/mixins/_media.scss +27 -0
  57. package/src/mixins/index.scss +1 -0
  58. package/src/shared/_check-box.scss +45 -0
  59. package/src/shared/_decoration.scss +56 -0
  60. package/src/shared/_drop-down.scss +163 -0
  61. package/src/shared/_editor-container.scss +130 -0
  62. package/src/shared/_general-button.scss +42 -0
  63. package/src/shared/_icon-control.scss +0 -0
  64. package/src/shared/_inputs.scss +12 -0
  65. package/src/shared/_list.scss +134 -0
  66. package/src/shared/_radio.scss +37 -0
  67. package/src/shared/_skeleton.scss +26 -0
  68. package/src/shared/_table.scss +116 -0
  69. package/src/shared/_utils.scss +46 -0
  70. package/src/shared/index.scss +12 -0
  71. package/src/utility/_mixins.scss +3 -3
  72. package/src/utility/index.scss +16 -22
  73. package/src/variables/_colors.scss +76 -107
  74. package/src/variables/_degrees.scss +1 -0
  75. package/src/variables/index.scss +2 -0
  76. package/{index.js → tailwind.config.js} +14 -63
  77. package/src/components/_alert.scss +0 -276
  78. package/src/icons/fonts/acorex-icon.eot +0 -0
  79. package/src/icons/fonts/acorex-icon.svg +0 -60
  80. package/src/icons/fonts/acorex-icon.ttf +0 -0
  81. package/src/icons/fonts/acorex-icon.woff +0 -0
@@ -1,51 +1,51 @@
1
- @layer components {
2
- .ax-collapse {
3
- @apply ax-border ax-border-light-200 dark:ax-border-white/10 ax-block ax-text-sm ax-rounded-default ax-overflow-hidden;
1
+ // @layer components {
2
+ // .ax-collapse {
3
+ // @apply ax-border ax-border-neutral-200 dark:ax-border-white/10 ax-block ax-text-sm ax-rounded-default ax-overflow-hidden;
4
4
 
5
- .ax-collapse-header {
6
- @apply ax-cursor-pointer ax-select-none;
5
+ // .ax-collapse-header {
6
+ // @apply ax-cursor-pointer ax-select-none;
7
7
 
8
- &.ax-state-collapsed {
9
- .ax-collapse-header-container {
10
- @apply ax-border-b-0;
11
- .ax-collapse-arrow {
12
- @apply -ax-rotate-90;
13
- }
14
- }
15
- .ax-collapse-custom-header-container {
16
- @apply ax-border-b-0;
17
- }
18
- }
19
- .ax-collapse-custom-header-container,.ax-collapse-header-container {
20
- @apply ax-bg-light-100 dark:ax-bg-white/10 ax-border-b ax-border-light-100 dark:ax-border-white/10;
21
- }
22
- .ax-collapse-header-container {
23
- @apply ax-flex ax-justify-between ax-p-3 ;
24
- .ax-collapse-arrow {
25
- @apply ax-inline-block ax-text-xl ax-me-2 ax-rotate-90;
26
- }
27
- }
28
- }
29
- .ax-collapse-body {
30
- @apply ax-p-3;
31
- }
32
- }
33
- .ax-collapse-group {
34
- @apply ax-block ax-border ax-border-light-200 dark:ax-border-white/10 ax-rounded-default ax-overflow-hidden;
8
+ // &.ax-state-collapsed {
9
+ // .ax-collapse-header-container {
10
+ // @apply ax-border-b-0;
11
+ // .ax-collapse-arrow {
12
+ // @apply -ax-rotate-90;
13
+ // }
14
+ // }
15
+ // .ax-collapse-custom-header-container {
16
+ // @apply ax-border-b-0;
17
+ // }
18
+ // }
19
+ // .ax-collapse-custom-header-container,.ax-collapse-header-container {
20
+ // @apply ax-bg-neutral-100 dark:ax-bg-white/10 ax-border-b ax-border-neutral-100 dark:ax-border-white/10;
21
+ // }
22
+ // .ax-collapse-header-container {
23
+ // @apply ax-flex ax-justify-between ax-p-3 ;
24
+ // .ax-collapse-arrow {
25
+ // @apply ax-inline-block ax-text-xl ax-me-2 ax-rotate-90;
26
+ // }
27
+ // }
28
+ // }
29
+ // .ax-collapse-body {
30
+ // @apply ax-p-3;
31
+ // }
32
+ // }
33
+ // .ax-collapse-group {
34
+ // @apply ax-block ax-border ax-border-neutral-200 dark:ax-border-white/10 ax-rounded-default ax-overflow-hidden;
35
35
 
36
- ax-collpase,
37
- .ax-collapse {
38
- @apply ax-rounded-none ax-border-none;
39
- .ax-collapse-header-container {
40
- @apply ax-border-t ax-border-light-100;
41
- }
42
- }
43
- ax-collapse {
44
- &:first-child {
45
- .ax-collapse-header-container {
46
- @apply ax-border-t-0;
47
- }
48
- }
49
- }
50
- }
51
- }
36
+ // ax-collpase,
37
+ // .ax-collapse {
38
+ // @apply ax-rounded-none ax-border-none;
39
+ // .ax-collapse-header-container {
40
+ // @apply ax-border-t ax-border-neutral-100;
41
+ // }
42
+ // }
43
+ // ax-collapse {
44
+ // &:first-child {
45
+ // .ax-collapse-header-container {
46
+ // @apply ax-border-t-0;
47
+ // }
48
+ // }
49
+ // }
50
+ // }
51
+ // }
@@ -1,6 +1,6 @@
1
1
  @layer components {
2
2
  .ax-color-palette {
3
- @apply ax-flex ax-flex-col ax-w-72 ax-border ax-border-light-200 ax-rounded ax-gap-2;
3
+ @apply ax-flex ax-flex-col ax-w-72 ax-border ax-border-neutral-200 ax-rounded ax-gap-2;
4
4
  @include control-states("surface");
5
5
  --ax-base-ratio: 4;
6
6
 
@@ -19,11 +19,11 @@
19
19
 
20
20
  .ax-header,
21
21
  .ax-footer {
22
- @apply ax-border-t ax-bg-white ax-p-3 ax-border-light-300 dark:ax-border-light-700 ax-flex;
22
+ @apply ax-border-t ax-bg-white ax-p-3 ax-border-neutral-300 dark:ax-border-neutral-700 ax-flex;
23
23
  @include control-states("editor");
24
24
  }
25
25
  ax-color-palette-preview {
26
- @apply ax-relative ax-h-20 ax-w-full ax-rounded-t ax-bg-primary-50 ax-flex ax-justify-center ax-items-center ax-font-semibold ax-shadow-sm ax-border-b ax-border-light-200 dark:ax-border-white/10 ax-transition-all;
26
+ @apply ax-relative ax-h-20 ax-w-full ax-rounded-t ax-bg-primary-50 ax-flex ax-justify-center ax-items-center ax-font-semibold ax-shadow-sm ax-border-b ax-border-neutral-200 dark:ax-border-white/10 ax-transition-all;
27
27
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADFJREFUOE9jZGBgEGHAD97gk2YcNYBhmIQBgWSAP52AwoAQwJvQRg1gACckQoC2gQgAIF8IscwEtKYAAAAASUVORK5CYII=")
28
28
  left center;
29
29
  .palette-preview-overlay {
@@ -32,14 +32,14 @@
32
32
  }
33
33
 
34
34
  ax-color-palette-favorite {
35
- @apply ax-border-t ax-border-light-200 dark:ax-border-white/10 ax-block;
35
+ @apply ax-border-t ax-border-neutral-200 dark:ax-border-white/10 ax-block;
36
36
  }
37
37
 
38
38
  ax-color-palette-swatches,
39
39
  ax-color-palette-favorite {
40
40
  @apply ax-p-2 ax-grid-cols-8 ax-gap-0.5 ax-grid ax-max-h-36 ax-overflow-y-auto ax-overflow-x-hidden;
41
41
  div {
42
- @apply ax-relative ax-bg-dark-100 ax-flex ax-items-center ax-justify-center ax-cursor-pointer ax-m-0.5 ax-rounded ax-shadow-sm ax-border ax-border-light-200 dark:ax-border-white/10;
42
+ @apply ax-relative ax-bg-neutral-100 ax-flex ax-items-center ax-justify-center ax-cursor-pointer ax-m-0.5 ax-rounded ax-shadow-sm ax-border ax-border-neutral-200 dark:ax-border-white/10;
43
43
 
44
44
  &::before {
45
45
  content: "";
@@ -1,28 +1,28 @@
1
- @layer components {
2
- ax-color-picker {
3
- .ax-dropdown-content {
4
- @apply ax-mx-2 ax-flex ax-items-center;
1
+ // @layer components {
2
+ // ax-color-picker {
3
+ // .ax-dropdown-content {
4
+ // @apply ax-mx-2 ax-flex ax-items-center;
5
5
 
6
- .color-badge {
7
- @apply ax-block ax-rounded ax-me-2 ax-shadow-sm ax-border ax-border-light-200 dark:ax-border-white/10;
8
- width: calc(var(--ax-base-size) * var(--ax-base-ratio) / 2);
9
- height: calc(var(--ax-base-size) * var(--ax-base-ratio) / 2);
10
- }
11
- }
12
- }
6
+ // .color-badge {
7
+ // @apply ax-block ax-rounded ax-me-2 ax-shadow-sm ax-border ax-border-neutral-200 dark:ax-border-white/10;
8
+ // width: calc(var(--ax-base-size) * var(--ax-base-ratio) / 2);
9
+ // height: calc(var(--ax-base-size) * var(--ax-base-ratio) / 2);
10
+ // }
11
+ // }
12
+ // }
13
13
 
14
- .ax-overlay-pane {
15
- ax-color-palette {
16
- @apply ax-border-none;
14
+ // .ax-overlay-pane {
15
+ // ax-color-palette {
16
+ // @apply ax-border-none;
17
17
 
18
- @include screen(mobile) {
19
- @apply ax-w-full;
20
- .palette-items {
21
- @apply ax-max-h-[30vh] #{!important};
22
- }
23
- }
18
+ // @include screen(mobile) {
19
+ // @apply ax-w-full;
20
+ // .palette-items {
21
+ // @apply ax-max-h-[30vh] #{!important};
22
+ // }
23
+ // }
24
24
 
25
- }
25
+ // }
26
26
 
27
- }
28
- }
27
+ // }
28
+ // }
@@ -1,19 +1,3 @@
1
1
  @layer components {
2
- .ax-context-menu {
3
- @apply ax-min-w-[12rem] ax-max-w-xs ax-bg-white ax-border ax-border-light-200 dark:ax-border-dark-500 ax-sm ax-rounded-default ax-py-2 ax-px-1;
4
- @include control-states("surface");
5
- > ul {
6
- @apply ax-space-y-2 #{!important};
7
2
 
8
- > li {
9
- &:not(.ax-state-disabled, .ax-divider) {
10
- @apply ax-p-1;
11
- &:hover {
12
- @apply ax-bg-light-200 dark:ax-bg-white/10 dark:ax-text-light-50;
13
- }
14
- }
15
-
16
- }
17
- }
18
- }
19
3
  }
@@ -1,6 +1,6 @@
1
1
  @layer components {
2
2
  .ax-data-table {
3
- @apply ax-flex ax-flex-col ax-rounded-default ax-border ax-border-light-200 dark:ax-border-white/10;
3
+ @apply ax-flex ax-flex-col ax-rounded-default ax-border ax-border-neutral-200 dark:ax-border-white/10;
4
4
 
5
5
  .ax-wrapper
6
6
  {
@@ -1,5 +1,5 @@
1
- @layer components {
2
- .ax-datepicker-body {
3
- @apply ax-m-auto ax-shadow-sm ax-w-full ax-rounded ax-border ax-border-light-300 ax-border-none;
4
- }
5
- }
1
+ // @layer components {
2
+ // .ax-datepicker-body {
3
+ // @apply ax-m-auto ax-shadow-sm ax-w-full ax-rounded ax-border ax-border-neutral-300 ax-border-none;
4
+ // }
5
+ // }
@@ -1,39 +0,0 @@
1
- @layer components {
2
- .ax-decoration-container,
3
- .ax-header,
4
- .ax-footer {
5
- @apply ax-flex ax-justify-between ax-items-center ax-gap-2 ax-bg-white;
6
- @include control-states("surface");
7
- & > .ax-prefix,
8
- & > .ax-suffix {
9
- @apply ax-flex ax-flex-auto ax-flex-row ax-gap-2 ax-items-center;
10
- }
11
- & > .ax-prefix {
12
- @apply ax-order-first ax-justify-start ax-items-center;
13
- }
14
- & > .ax-suffix {
15
- @apply ax-order-last ax-justify-end ax-items-center;
16
- }
17
- }
18
-
19
- .ax-title,
20
- .ax-icon {
21
- @apply ax-font-medium;
22
- }
23
-
24
- .ax-title{
25
- @apply ax-text-base ax-text-black/[0.87] dark:ax-text-white;
26
- }
27
- .ax-sub-title {
28
- @apply ax-text-sm ax-font-normal ax-text-black/60 dark:ax-text-white;
29
- }
30
- .ax-close-button {
31
- @apply ax-w-6 ax-h-6 ax-grid ax-place-items-center ax-cursor-pointer;
32
- .ax-icon {
33
- @apply ax-text-black/50 dark:ax-text-white ax-text-xl;
34
- &:hover {
35
- @apply ax-text-black/75 dark:ax-text-white;
36
- }
37
- }
38
- }
39
- }
@@ -1,82 +1,83 @@
1
- @layer components {
2
- .ax-dialog {
3
- @apply ax-grid ax-grid-cols-12 ax-gap-4 ax-px-6 ax-py-5 ax-relative ax-bg-white ax-shadow-md ax-border ax-border-solid ax-border-light-300 ax-rounded-lg ax-outline-none ax-overflow-hidden;
4
- width: 25vw;
5
- @include control-states("surface");
6
- // @include screen("mobile"){
7
- // width: calc(var(--ax-overlay-full-width) * 1vw);
8
- // }
9
- // @include screen("tablet"){
10
- // width: 60vw;
11
- // }
12
- // @include screen("laptop"){
13
- // width: 25vw;
14
- // }
15
- // @include screen("extraSmall"){
16
- // width: 95vw;
17
- // }
1
+ // @layer components {
2
+ // .ax-dialog {
3
+ // @apply ax-grid ax-grid-cols-12 ax-gap-4 ax-px-6 ax-py-5 ax-relative ax-bg-white ax-shadow-md ax-border ax-border-solid ax-border-neutral-300 ax-rounded-lg ax-outline-none ax-overflow-hidden;
4
+ // width: 25vw;
5
+ // background-color: #fff;
6
+ // @include control-states("surface");
7
+ // // @include screen("mobile"){
8
+ // // width: calc(var(--ax-overlay-full-width) * 1vw);
9
+ // // }
10
+ // // @include screen("tablet"){
11
+ // // width: 60vw;
12
+ // // }
13
+ // // @include screen("laptop"){
14
+ // // width: 25vw;
15
+ // // }
16
+ // // @include screen("extraSmall"){
17
+ // // width: 95vw;
18
+ // // }
18
19
 
19
- @include responsive('phone'){
20
- width: 98vw;
21
- }
22
- @include responsive('tablet'){
23
- width: 75vw;
24
- }
25
- @include responsive('desktop'){
26
- width: 30vw;
27
- }
28
- @include responsive('desktop-large'){
29
- width: 33vw;
30
- }
20
+ // @include media('phone'){
21
+ // width: 98vw;
22
+ // }
23
+ // @include media('tablet'){
24
+ // width: 75vw;
25
+ // }
26
+ // @include media('desktop'){
27
+ // width: 30vw;
28
+ // }
29
+ // @include media('desktop-large'){
30
+ // width: 33vw;
31
+ // }
31
32
 
32
- .ax-dialog-icon-side {
33
- @apply ax-flex ax-justify-center ax-col-span-2;
34
- .ax-dialog-icon {
35
- min-width: 3rem;
36
- @apply ax-w-12 ax-h-12 ax-flex ax-justify-center ax-items-center ax-rounded-full ax-cursor-move ax-text-2xl;
37
- }
38
- }
39
- .ax-dialog-content-side {
40
- @apply ax-col-span-9;
41
- .ax-dialog-title {
42
- @apply ax-text-lg ax-font-bold ax-text-light-700 dark:ax-text-light-100;
43
- }
44
- .ax-dialog-content {
45
- @apply ax-text-sm ax-my-1.5 ax-text-light-500 dark:ax-text-light-200;
46
- }
47
- }
48
- .ax-dialog-dismiss-icon {
49
- @apply ax-col-span-1;
50
- @apply ax-cursor-pointer ax-text-light-400 ax--mt-2.5;
51
- }
52
- .ax-footer {
53
- @apply ax-flex ax-gap-2 ax-col-span-12 ax-justify-end;
54
- }
55
- &.ax-primary-default {
56
- .ax-dialog-icon {
57
- @apply ax-text-primary-500 ax-bg-primary-50 dark:ax-bg-primary-500 dark:ax-text-primary-fore;
58
- }
59
- }
60
- &.ax-success-default {
61
- .ax-dialog-icon {
62
- @apply ax-text-success-500 ax-bg-success-50 dark:ax-bg-success-500 dark:ax-text-success-fore;
63
- }
64
- }
65
- &.ax-danger-default {
66
- .ax-dialog-icon {
67
- @apply ax-text-danger-500 ax-bg-danger-50 dark:ax-bg-danger-500 dark:ax-text-danger-fore;
68
- }
69
- }
70
- &.ax-warning-default {
71
- .ax-dialog-icon {
72
- @apply ax-text-warning-500 ax-bg-warning-50 dark:ax-bg-warning-500 dark:ax-text-warning-fore;
73
- }
74
- }
75
- &.ax-info-default {
76
- .ax-dialog-icon {
77
- @apply ax-text-info-500 ax-bg-info-50 dark:ax-bg-info-500 dark:ax-text-info-fore;
78
- }
79
- }
80
- }
33
+ // .ax-dialog-icon-side {
34
+ // @apply ax-flex ax-justify-center ax-col-span-2;
35
+ // .ax-dialog-icon {
36
+ // min-width: 3rem;
37
+ // @apply ax-w-12 ax-h-12 ax-flex ax-justify-center ax-items-center ax-rounded-full ax-cursor-move ax-text-2xl;
38
+ // }
39
+ // }
40
+ // .ax-dialog-content-side {
41
+ // @apply ax-col-span-9;
42
+ // .ax-dialog-title {
43
+ // @apply ax-text-lg ax-font-bold ax-text-neutral-700 dark:ax-text-neutral-100;
44
+ // }
45
+ // .ax-dialog-content {
46
+ // @apply ax-text-sm ax-my-1.5 ax-text-neutral-500 dark:ax-text-neutral-200;
47
+ // }
48
+ // }
49
+ // .ax-dialog-dismiss-icon {
50
+ // @apply ax-col-span-1;
51
+ // @apply ax-cursor-pointer ax-text-neutral-400 ax--mt-2.5;
52
+ // }
53
+ // .ax-footer {
54
+ // @apply ax-flex ax-gap-2 ax-col-span-12 ax-justify-end;
55
+ // }
56
+ // &.ax-primary-default {
57
+ // .ax-dialog-icon {
58
+ // @apply ax-text-primary-500 ax-bg-primary-50 dark:ax-bg-primary-500 dark:ax-text-primary-fore;
59
+ // }
60
+ // }
61
+ // &.ax-success-default {
62
+ // .ax-dialog-icon {
63
+ // @apply ax-text-success-500 ax-bg-success-50 dark:ax-bg-success-500 dark:ax-text-success-fore;
64
+ // }
65
+ // }
66
+ // &.ax-danger-default {
67
+ // .ax-dialog-icon {
68
+ // @apply ax-text-danger-500 ax-bg-danger-50 dark:ax-bg-danger-500 dark:ax-text-danger-fore;
69
+ // }
70
+ // }
71
+ // &.ax-warning-default {
72
+ // .ax-dialog-icon {
73
+ // @apply ax-text-warning-500 ax-bg-warning-50 dark:ax-bg-warning-500 dark:ax-text-warning-fore;
74
+ // }
75
+ // }
76
+ // &.ax-primary-default {
77
+ // .ax-dialog-icon {
78
+ // @apply ax-text-primary-500 ax-bg-primary-50 dark:ax-bg-primary-500 dark:ax-text-primary-fore;
79
+ // }
80
+ // }
81
+ // }
81
82
 
82
- }
83
+ // }