@acorex/styles 4.0.24 → 5.0.4

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 (107) hide show
  1. package/index.scss +2 -48
  2. package/package.json +11 -11
  3. package/src/base/_colors.scss +16 -0
  4. package/src/base/index.scss +7 -0
  5. package/src/components/_alert.scss +148 -0
  6. package/src/components/_badge.scss +39 -0
  7. package/src/components/_button.scss +652 -0
  8. package/src/components/_calendar.scss +97 -0
  9. package/src/components/_carousel.scss +61 -0
  10. package/src/components/_checkbox.scss +25 -0
  11. package/src/components/_datapager.scss +40 -0
  12. package/src/components/_datepicker.scss +5 -0
  13. package/src/components/_dialog.scss +62 -0
  14. package/src/components/_drawer.scss +79 -0
  15. package/src/components/_dropdown.scss +178 -0
  16. package/src/components/_editor-container.scss +70 -0
  17. package/src/components/_form.scss +8 -0
  18. package/src/components/_input.scss +16 -0
  19. package/src/components/_label.scss +5 -0
  20. package/src/components/_list.scss +49 -0
  21. package/src/components/_loading.scss +54 -0
  22. package/src/components/_popup.scss +87 -0
  23. package/src/components/_radio.scss +30 -0
  24. package/src/components/_range-slider.scss +14 -0
  25. package/src/components/_selectbox.scss +15 -0
  26. package/src/components/_selection-list.scss +28 -0
  27. package/src/components/_side-menu.scss +46 -0
  28. package/src/components/_skeleton.scss +25 -0
  29. package/src/components/_switch.scss +200 -0
  30. package/src/components/_table.scss +22 -0
  31. package/src/components/_tabs.scss +117 -0
  32. package/src/components/_toast.scss +94 -0
  33. package/src/components/_tooltip.scss +44 -0
  34. package/src/components/index.scss +29 -0
  35. package/{variables/bases/_color.scss → src/variables/_colors.scss} +135 -135
  36. package/src/variables/_mixins.scss +18 -0
  37. package/scss/ax-icon/fonts/acorex.eot +0 -0
  38. package/scss/ax-icon/fonts/acorex.svg +0 -1434
  39. package/scss/ax-icon/fonts/acorex.ttf +0 -0
  40. package/scss/ax-icon/fonts/acorex.woff +0 -0
  41. package/scss/ax-icon/selection.json +0 -1
  42. package/scss/ax-icon/style.scss +0 -7218
  43. package/scss/ax-icon/variables.scss +0 -1428
  44. package/scss/bases/accessiblity.scss +0 -38
  45. package/scss/bases/background.scss +0 -76
  46. package/scss/bases/border.scss +0 -453
  47. package/scss/bases/effects.scss +0 -56
  48. package/scss/bases/filter.scss +0 -184
  49. package/scss/bases/flexbox-and-grid.scss +0 -254
  50. package/scss/bases/interactivity.scss +0 -42
  51. package/scss/bases/layout.scss +0 -207
  52. package/scss/bases/root.scss +0 -53
  53. package/scss/bases/sizing.scss +0 -43
  54. package/scss/bases/skeleton.scss +0 -30
  55. package/scss/bases/spacing.scss +0 -245
  56. package/scss/bases/svg.scss +0 -18
  57. package/scss/bases/table.scss +0 -15
  58. package/scss/bases/transform.scss +0 -114
  59. package/scss/bases/transition-and-animation.scss +0 -116
  60. package/scss/bases/typography.scss +0 -210
  61. package/scss/components/alert.scss +0 -131
  62. package/scss/components/badge.scss +0 -6
  63. package/scss/components/button.scss +0 -264
  64. package/scss/components/calendar.scss +0 -120
  65. package/scss/components/carousel.scss +0 -67
  66. package/scss/components/checkbox.scss +0 -36
  67. package/scss/components/datapager.scss +0 -80
  68. package/scss/components/datepicker.scss +0 -8
  69. package/scss/components/dialog.scss +0 -61
  70. package/scss/components/drawer.scss +0 -78
  71. package/scss/components/dropdown.scss +0 -35
  72. package/scss/components/editor-container.scss +0 -105
  73. package/scss/components/input.scss +0 -47
  74. package/scss/components/label.scss +0 -6
  75. package/scss/components/list.scss +0 -55
  76. package/scss/components/loading.scss +0 -47
  77. package/scss/components/popup.scss +0 -103
  78. package/scss/components/radio.scss +0 -36
  79. package/scss/components/selectbox.scss +0 -39
  80. package/scss/components/selection-list.scss +0 -22
  81. package/scss/components/side-menu.scss +0 -44
  82. package/scss/components/switch.scss +0 -178
  83. package/scss/components/table.scss +0 -22
  84. package/scss/components/tabs.scss +0 -115
  85. package/scss/components/text-box.scss +0 -4
  86. package/scss/components/toast.scss +0 -82
  87. package/scss/components/tooltip.scss +0 -42
  88. package/variables/bases/_accessiblity.scss +0 -22
  89. package/variables/bases/_background.scss +0 -57
  90. package/variables/bases/_border.scss +0 -106
  91. package/variables/bases/_common.scss +0 -6
  92. package/variables/bases/_effects.scss +0 -36
  93. package/variables/bases/_filter.scss +0 -62
  94. package/variables/bases/_flexbox-and-grid.scss +0 -138
  95. package/variables/bases/_interactivity.scss +0 -31
  96. package/variables/bases/_layout.scss +0 -102
  97. package/variables/bases/_root.scss +0 -70
  98. package/variables/bases/_sizing.scss +0 -322
  99. package/variables/bases/_spacing.scss +0 -38
  100. package/variables/bases/_svg.scss +0 -1
  101. package/variables/bases/_table.scss +0 -2
  102. package/variables/bases/_transform.scss +0 -88
  103. package/variables/bases/_transition-and-animation.scss +0 -26
  104. package/variables/bases/_typography.scss +0 -191
  105. package/variables/components/_button.scss +0 -0
  106. package/variables/components/_editor-container.scss +0 -5
  107. package/variables/components/_input.scss +0 -0
@@ -1,120 +0,0 @@
1
- .ax-calendar {
2
- @extend .ax-bg-white,
3
- .ax-text-black,
4
- .ax-border,
5
- .ax-border-color,
6
- .ax-border-solid,
7
- .ax-border-opacity-50,
8
- .ax-bg-white,
9
- .ax-rounded,
10
- .ax-shadow-md;
11
- width: fit-content;
12
- header {
13
- @extend .ax-flex, .ax-justify-between, .ax-border-b, .ax-border-color, .ax-border-solid, .ax-py-1\.5, .ax-mx-2;
14
- }
15
- footer {
16
- @extend .ax-flex, .ax-justify-between, .ax-border-t, .ax-border-color, .ax-border-solid, .ax-py-1\.5, .ax-mx-2;
17
- }
18
- > .ax-calendar-body {
19
- @extend .ax-flex, .ax-flex-col, .ax-items-center, .ax-px-2\.5, .ax-py-1\.5;
20
- }
21
- .ax-calendar-time-picker {
22
- @extend .ax-flex, .ax-justify-center, .ax-items-center, .ax-pb-2;
23
- > div {
24
- @extend .ax-border, .ax-border-color, .ax-border-solid, .ax-rounded, .ax-overflow-hidden;
25
- span {
26
- width: 10px;
27
- }
28
- input {
29
- @extend .ax-text-center, .ax-text-black, .ax-font-light;
30
- border: none;
31
- width: calc(var(--ax-base-size) * 5);
32
- height: calc(var(--ax-base-size) * 5);
33
- }
34
- }
35
- }
36
- .ax-calendar-row {
37
- @extend .ax-flex, .ax-mb-0\.5;
38
- > span {
39
- @extend .ax-relative, .ax-rounded, .ax-font-light;
40
- width: calc(var(--ax-base-size) * 5);
41
- height: calc(var(--ax-base-size) * 5);
42
- line-height: calc(var(--ax-base-size) * 5);
43
- &:not(.ax-thead, .ax-state-active, .ax-state-disabled) {
44
- &:hover {
45
- @extend .ax-bg-gray-100, .ax-cursor-pointer;
46
- }
47
- }
48
- &.ax-state-active {
49
- @extend .ax-bg-primary, .ax-text-primary-fore;
50
- }
51
- &.ax-state-holiday {
52
- @extend .ax-text-danger;
53
- }
54
- &.ax-state-eventday {
55
- &::after {
56
- @extend .ax-absolute;
57
- content: "•";
58
- bottom: 0;
59
- left: 0;
60
- right: 0;
61
- margin: auto;
62
- height: calc((var(--ax-base-size) * 2) + (var(--ax-base-size) / 2));
63
- }
64
- &.ax-state-eventday-primary {
65
- &::after {
66
- @extend .ax-text-primary;
67
- }
68
- }
69
- &.ax-state-eventday-secondary {
70
- &::after {
71
- @extend .ax-text-secondary;
72
- }
73
- }
74
- &.ax-state-eventday-success {
75
- &::after {
76
- @extend .ax-text-success;
77
- }
78
- }
79
- &.ax-state-eventday-danger {
80
- &::after {
81
- @extend .ax-text-danger;
82
- }
83
- }
84
- &.ax-state-eventday-warning {
85
- &::after {
86
- @extend .ax-text-warning;
87
- }
88
- }
89
- &.ax-state-eventday-info {
90
- &::after {
91
- @extend .ax-text-info;
92
- }
93
- }
94
- }
95
- &.ax-state-disabled {
96
- @extend .ax-opacity-50, .ax-cursor-not-allowed;
97
- }
98
- }
99
- }
100
- .ax-calendar-navbar {
101
- .ax-thead {
102
- @extend .ax-font-medium;
103
- }
104
- }
105
- .ax-calendar-body {
106
- @extend .ax-w-full, .ax-text-center;
107
- .ax-months,
108
- .ax-years {
109
- @extend .ax-flex, .ax-flex-wrap, .ax-max-h-60, .ax-overflow-auto;
110
- > div {
111
- min-width: calc(var(--ax-base-size) * 2);
112
- min-height: calc(var(--ax-base-size) * 2);
113
- @extend .ax-text-center, .ax-mb-1, .ax-rounded;
114
- &:hover {
115
- @extend .ax-bg-gray-100, .ax-cursor-pointer;
116
- }
117
- }
118
- }
119
- }
120
- }
@@ -1,67 +0,0 @@
1
- .ax-carousel {
2
- text-align: center;
3
- overflow: hidden;
4
- width: 100%;
5
- display: block;
6
- position: relative;
7
-
8
-
9
- .ax-carousel-list-container {
10
- .ax-carousel-list {
11
- .ax-carousel-item {}
12
- }
13
- }
14
-
15
- .ax-carousel-arrows {
16
- @extend .ax-flex,
17
- .ax-absolute,
18
- .ax-justify-between,
19
- .ax-justify-items-center,
20
- .ax-cursor-pointer,
21
- .ax-bg-transparent,
22
- .ax-text-white,
23
- .ax-invisible;
24
- top: 0;
25
- left: 0;
26
- right: 0;
27
- bottom: 0;
28
-
29
- button {
30
- @extend .ax-border-none,
31
- .ax-cursor-pointer,
32
- .ax-bg-transparent,
33
- .ax-text-white,
34
- .ax-visible;
35
-
36
- .ax-ic {
37
- font-size: 2.5rem
38
- }
39
- }
40
- }
41
-
42
- .ax-carousel-pager {
43
- @extend .ax-flex,
44
- .ax-py-2,
45
- .ax-justify-center;
46
-
47
- button {
48
- @extend .ax-p-1,
49
- .ax-mx-1,
50
- .ax-cursor-pointer,
51
- .ax-border-none,
52
- .ax-rounded-full,
53
- .ax-bg-gray-300;
54
- width: calc(var(--ax-base-size) * 1.5);
55
- height: calc(var(--ax-base-size) * 1.5);
56
-
57
- &:hover {
58
- @extend .ax-bg-primary-600;
59
- }
60
-
61
- &.ax-state-active {
62
- @extend .ax-bg-primary-400;
63
- }
64
- }
65
-
66
- }
67
- }
@@ -1,36 +0,0 @@
1
- .ax-checkbox-label {
2
- @extend .ax-text-base, .ax-font-medium;
3
- span {
4
- vertical-align: middle;
5
- @extend .ax-px-1\.5;
6
- }
7
- .ax-checkbox {
8
- vertical-align: middle;
9
- @extend .ax-w-4,
10
- .ax-h-4,
11
- .ax-border,
12
- .ax-border-solid,
13
- .ax-border-color,
14
- .ax-rounded-sm,
15
- .ax-bg-white,
16
- .ax-text-primary,
17
- .ax-shadow-sm,
18
- .ax-m-0,
19
- .ax-outline-none;
20
- &:checked {
21
- @extend .ax-border-color-primary;
22
- background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
23
- border-color: transparent;
24
- background-color: currentColor;
25
- background-size: 100% 100%;
26
- background-position: center;
27
- background-repeat: no-repeat;
28
- }
29
- &:focus {
30
- @extend .ax-ring-1, .ax-ring-color-primary, .ax-ring-offset-2;
31
- }
32
- -moz-appearance: none;
33
- -webkit-appearance: none;
34
- -o-appearance: none;
35
- }
36
- }
@@ -1,80 +0,0 @@
1
- .ax-datapager {
2
- @extend .ax-flex,
3
- .ax-flex-row,
4
- .ax-items-center,
5
- .ax-px-1,
6
- .ax-py-1,
7
- .ax-text-black,
8
- .ax-border,
9
- .ax-border-color,
10
- .ax-border-solid,
11
- .ax-border-opacity-50,
12
- .ax-bg-light-50,
13
- .ax-rounded,
14
- .ax-shadow-md,
15
- .ax-max-w-full;
16
-
17
- .ax-button-group {
18
- @extend .ax-border-none;
19
-
20
- .ax-button {
21
- @extend .ax-border-none,
22
- .ax-rounded,
23
- .ax-mr-1;
24
- }
25
- }
26
-
27
- .ax-wrapper {
28
- @extend .ax-flex,
29
- .ax-flex-1,
30
- .ax-flex-row,
31
- .ax-items-center,
32
- .ax-max-w-full;
33
- .ax-datapager-nav-buttons,
34
- .ax-datapager-numeric-selector,
35
- .ax-datapager-page-sizes {
36
- @extend .ax-flex-initial;
37
- }
38
-
39
- .ax-datapager-info {
40
- @extend .ax-flex,
41
- .ax-justify-end,
42
- .ax-flex-1,
43
- .ax-order-last,
44
- .ax-px-2\.5;
45
- }
46
-
47
- .ax-button {
48
- &.ax-state-disabled {
49
- @extend .ax-border-none;
50
- }
51
- }
52
-
53
- .ax-datapager-nav-buttons {
54
- .ax-button {
55
- @extend .ax-p-1;
56
- }
57
- }
58
-
59
- }
60
-
61
- .ax-datapager-input-selector {
62
- @extend .ax-px-1;
63
- --ax-base-ratio: 4;
64
-
65
- .ax-input {
66
- width: calc(var(--ax-base-size) * var(--ax-base-ratio)*1.5);
67
- text-align: center;
68
- }
69
- }
70
-
71
- &.ax-md {
72
- .ax-button {
73
- @extend .ax-md;
74
- }
75
-
76
- .ax-input {
77
- @extend .ax-md;
78
- }
79
- }
80
- }
@@ -1,8 +0,0 @@
1
- .ax-datepicker-body {
2
- .ax-calendar {
3
- margin: auto;
4
- box-shadow: none;
5
- width: 100%;
6
- border: none !important;
7
- }
8
- }
@@ -1,61 +0,0 @@
1
- @import "../../variables/bases/accessiblity";
2
-
3
- .ax-dialog {
4
- max-width: 512px;
5
- @extend .ax-relative,
6
- .ax-bg-white,
7
- .ax-shadow-md,
8
- .ax-border,
9
- .ax-border-color,
10
- .ax-border-solid,
11
- .ax-rounded,
12
- .ax-outline-none;
13
-
14
- &:focus {
15
- @extend .ax-ring-2, .ax-ring-color-primary, .ax-ring-opacity-100, .ax-border-color-transparent;
16
- }
17
-
18
- @include media-sm {
19
- width: 98vw;
20
- }
21
-
22
- @include media-md {
23
- width: 35vw;
24
- }
25
-
26
- @include media-lg {
27
- width: 25vw;
28
- }
29
-
30
- .ax-dialog-header {
31
- @extend .ax-flex, .ax-items-start, .ax-justify-between;
32
- }
33
-
34
- .ax-icon {
35
- @extend .ax-w-12, .ax-h-12, .ax-flex, .ax-justify-center, .ax-items-center, .ax-text-xl, .ax-rounded-full;
36
- }
37
-
38
- &.ax-success {
39
- .ax-icon {
40
- @extend .ax-text-success, .ax-bg-success-100;
41
- }
42
- }
43
-
44
- &.ax-danger {
45
- .ax-icon {
46
- @extend .ax-text-danger, .ax-bg-danger-100;
47
- }
48
- }
49
-
50
- &.ax-warning {
51
- .ax-icon {
52
- @extend .ax-text-warning, .ax-bg-warning-100;
53
- }
54
- }
55
-
56
- &.ax-info {
57
- .ax-icon {
58
- @extend .ax-text-info, .ax-bg-info-100;
59
- }
60
- }
61
- }
@@ -1,78 +0,0 @@
1
- .ax-drawer-container {
2
- @extend .ax-flex,
3
- .ax-relative,
4
- .ax-w-full,
5
- .ax-h-full,
6
- .ax-overflow-hidden;
7
-
8
- .ax-drawer-backdrop
9
- {
10
- @extend .ax-absolute,.ax-w-full,.ax-h-full;
11
- z-index: 9998;
12
- top: 0;
13
- right:0;
14
- top: 0;
15
- bottom: 0;
16
- background-color: rgba($color: #000000, $alpha: 0.3)
17
- }
18
-
19
- .ax-drawer {
20
- @extend .ax-h-full;
21
-
22
- &.ax-animated{
23
- transition: all 500ms;
24
- }
25
-
26
- &.ax-drawer-overlay {
27
- @extend .ax-absolute;
28
- z-index: 9999;
29
- }
30
-
31
- &.ax-drawer-start {
32
- &.ax-hide {
33
- position: absolute;
34
- left: -9999px;
35
- }
36
-
37
- &.ax-collapsed {
38
- margin-inline-start: calc(-1 * var(--attr-width));
39
- }
40
-
41
- &.ax-expanded {
42
- margin-inline-start: 0;
43
- }
44
- }
45
-
46
- &.ax-drawer-end {
47
- &.ax-hide {
48
- position: absolute;
49
- right: -9999px;
50
- }
51
-
52
- &.ax-drawer-overlay {
53
- &.ax-collapsed {
54
- right: calc(-1 * var(--attr-width));
55
- }
56
-
57
- &.ax-expanded {
58
- right: calc(-1 * var(--attr-diff));
59
- }
60
- }
61
-
62
- &.ax-drawer-push {
63
- &.ax-collapsed {
64
- margin-inline-end: calc(-1 * var(--attr-width));
65
- }
66
-
67
- &.ax-expanded {
68
- margin-inline-end: 0;
69
- }
70
- }
71
- }
72
- }
73
-
74
- .ax-drawer-content {
75
- @extend .ax-flex-1;
76
- width: var(--attr-content-width);
77
- }
78
- }
@@ -1,35 +0,0 @@
1
- .ax-dropdown {
2
- display: contents;
3
- .ax-dropdown-content {
4
- @extend .ax-text-sm, .ax-flex-1;
5
- }
6
- }
7
-
8
- .ax-overlay-pane {
9
- &.ax-dropdown-list {
10
- @extend .ax-border, .ax-border-color, .ax-border-solid;
11
-
12
- .ax-data-list-items-container {
13
- max-height: 300px;
14
- overflow-y: auto;
15
- }
16
-
17
- .ax-dropdown-item {
18
- @include components-sizing(
19
- var(--ax-base-size) calc(var(--ax-base-size) * 1.5),
20
- var(--ax-font-size-text-base),
21
- var(--ax-line-height-text-base),
22
- 0
23
- );
24
- @extend .ax-cursor-pointer;
25
-
26
- &.ax-divide {
27
- @extend .ax-border-t, .ax-border-color, .ax-border-solid;
28
- }
29
-
30
- &:hover {
31
- @extend .ax-bg-light-200;
32
- }
33
- }
34
- }
35
- }
@@ -1,105 +0,0 @@
1
- @import "../../variables/components/editor-container";
2
- .ax-editor-container {
3
- height: calc(var(--ax-base-size) * var(--ax-base-ratio));
4
-
5
- @extend .ax-flex,
6
- .ax-rounded,
7
- .ax-bg-white,
8
- .ax-overflow-hidden,
9
- .ax-shadow-sm,
10
- .ax-px-3,
11
- .ax-border,
12
- .ax-border-solid,
13
- .ax-border-color;
14
- .ax-input {
15
- @extend .ax-text-base, .ax-flex-1;
16
- height: calc(var(--ax-base-size) * var(--ax-base-ratio));
17
- background: transparent;
18
- border: none !important;
19
- &:focus {
20
- box-shadow: none;
21
- }
22
- }
23
- .ax-button {
24
- .ax-ic {
25
- @extend .ax-text-sm;
26
- }
27
- }
28
-
29
- &:focus-within {
30
- @extend .ax-ring-2, .ax-ring-color-primary, .ax-ring-opacity-100, .ax-border-color-transparent;
31
- }
32
-
33
- .ax-suffix,
34
- .ax-prefix {
35
- * {
36
- min-width: calc(var(--ax-base-size) * var(--ax-base-ratio));
37
- @extend .ax-h-full, .ax-flex, .ax-justify-center, .ax-items-center, .ax-rounded-none;
38
- }
39
- }
40
- * {
41
- border-radius: 0 !important;
42
- }
43
- }
44
- // .ax-editor-container {
45
- // @extend .ax-flex,
46
- // .ax-flex-1,
47
- // .ax-block,
48
- // .ax-w-full,
49
- // .ax-rounded,
50
- // .ax-py-2,
51
- // .ax-shadow-sm,
52
- // .ax-px-3,
53
- // .ax-border,
54
- // .ax-border-solid,
55
- // .ax-border-color,
56
- // .ax-bg-white,
57
- // .ax-overflow-hidden;
58
- // font-size: var(--ax-font-size-text-sm);
59
- // .ax-button {
60
- // padding: 0;
61
- // }
62
-
63
- // &:focus-within {
64
- // @extend .ax-ring-2, .ax-ring-color-primary, .ax-ring-opacity-100, .ax-border-color-transparent;
65
- // }
66
-
67
- // &.ax-state-error {
68
- // @extend .ax-ring-2, .ax-ring-color-danger, .ax-ring-opacity-100, .ax-border-color-transparent;
69
- // }
70
-
71
- // &.ax-state-success {
72
- // @extend .ax-ring-2, .ax-ring-color-success, .ax-ring-opacity-100, .ax-border-color-transparent;
73
- // }
74
-
75
- // * {
76
- // border: none !important;
77
- // box-shadow: none !important;
78
- // }
79
- // .ax-button {
80
- // width: 1.1rem;
81
- // height: 1.1rem;
82
- // @extend .ax-border-none;
83
- // .ax-ic {
84
- // @extend .ax-text-sm;
85
- // }
86
- // }
87
- // .ax-input {
88
- // @extend .ax-flex-1;
89
- // &:hover {
90
- // @extend .ax-ring-0;
91
- // }
92
- // &:focus {
93
- // @extend .ax-ring-0;
94
- // }
95
- // }
96
-
97
- // > div {
98
- // @extend .ax-flex-1;
99
- // }
100
- // }
101
- // .ax-aligned-row {
102
- // @extend .ax-flex, .ax-items-end;
103
- // @include media-sm {
104
- // }
105
- // }
@@ -1,47 +0,0 @@
1
- @import "../../variables/bases/typography";
2
- @import "../../variables/bases/accessiblity";
3
-
4
- .ax-input-wrapper {
5
- }
6
- .ax-input {
7
- @extend .ax-outline-none, .ax-text-base, .ax-p-0;
8
- line-height: 20px;
9
- // @extend .ax-flex-1, .ax-block, .ax-w-full, .ax-rounded, .ax-py-2, .ax-px-4, .ax-text-sm;
10
-
11
- // outline: transparent;
12
- // font-family: inherit;
13
- // font-weight: inherit;
14
- // @extend .ax-rounded,
15
- // .ax-border,
16
- // .ax-border-color,
17
- // .ax-border-solid,
18
- // .ax-bg-white,
19
- // .ax-text-black,
20
- // .ax-shadow,
21
- // .ax-placeholder-placeholder,
22
- // .ax-overflow-hidden;
23
- // @include components-sizing(
24
- // var(--ax-base-size) var(--ax-base-size),
25
- // var(--ax-font-size-text-base),
26
- // var(--ax-line-height-text-base),
27
- // var(--ax-border-rounded)
28
- // );
29
- &:focus {
30
- @extend .ax-ring-2, .ax-ring-color-primary, .ax-ring-opacity-100, .ax-border-color-transparent;
31
- }
32
- // &:hover {
33
- // @extend .ax-ring-2, .ax-ring-color-primary, .ax-ring-opacity-100, .ax-border-color-transparent;
34
- // }
35
- &.ax-state-disabled {
36
- @extend .ax-bg-disabled, .ax-text-disabled-fore, .ax-cursor-not-allowed, .ax-border-color-disabled;
37
- &:hover {
38
- @extend .ax-border-color-disabled;
39
- }
40
- }
41
- }
42
- // .ax-suffix,
43
- // .ax-prefix {
44
- // width: 1.1rem;
45
- // height: 1.1rem;
46
- // @extend .ax-text-gray-500;
47
- // }
@@ -1,6 +0,0 @@
1
- .ax-label {
2
- @extend .ax-block, .ax-text-base, .ax-font-medium, .ax-mb-2;
3
- &.ax-state-error {
4
- @extend .ax-text-danger;
5
- }
6
- }
@@ -1,55 +0,0 @@
1
- .ax-list {
2
- display: block;
3
- }
4
-
5
- .ax-list-container {
6
- .ax-list-items-container {
7
- @extend .ax-py-2, .ax-rounded, .ax-shadow, .ax-overflow-y-auto, .ax-h-full;
8
-
9
- &.ax-vertical {
10
- @extend .ax-grid, .ax-grid-cols-1;
11
-
12
- &.ax-divide {
13
- @extend .ax-divide-y, .ax-divide-x-0, .ax-divide-color, .ax-divide-opacity-30, .ax-divide-solid;
14
- }
15
- }
16
-
17
- &.ax-default {
18
- @extend .ax-cursor-pointer;
19
-
20
- .ax-list-item {
21
- @extend .ax-p-3, .ax-text-sm;
22
- &:focus,
23
- &:focus-visible {
24
- @extend .ax-outline-none;
25
- }
26
- &:hover {
27
- &:not(.ax-state-selected) {
28
- @extend .ax-bg-primary-50, .ax-text-primary;
29
- }
30
- }
31
-
32
- &.ax-state-selected {
33
- @extend .ax-bg-primary-100, .ax-text-primary;
34
- }
35
-
36
- &:focus,
37
- &.ax-state-focus {
38
- &:not(.ax-state-selected) {
39
- @extend .ax-outline-none, .ax-bg-primary-50, .ax-text-primary;
40
- }
41
- }
42
- }
43
- }
44
- }
45
-
46
- .ax-list-loading-container {
47
- @extend .ax-flex, .ax-justify-center, .ax-p-2;
48
- }
49
- }
50
-
51
- .cdk-overlay-container {
52
- .ax-list-items-container {
53
- max-height: 25vh;
54
- }
55
- }