@acorex/styles 7.0.5 → 7.0.7

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 (54) hide show
  1. package/index.scss +0 -1
  2. package/package.json +1 -1
  3. package/src/shared/_utils.scss +0 -1
  4. package/src/utility/_mixins.scss +0 -67
  5. package/src/components/_action-sheet.scss +0 -24
  6. package/src/components/_avatar.scss +0 -124
  7. package/src/components/_badge.scss +0 -184
  8. package/src/components/_breadcrumbs.scss +0 -30
  9. package/src/components/_button copy.scss +0 -924
  10. package/src/components/_button.scss +0 -0
  11. package/src/components/_calendar.scss +0 -182
  12. package/src/components/_carousel.scss +0 -44
  13. package/src/components/_checkbox.scss +0 -58
  14. package/src/components/_collapse.scss +0 -51
  15. package/src/components/_color-palette.scss +0 -126
  16. package/src/components/_color-picker.scss +0 -28
  17. package/src/components/_context-menu.scss +0 -3
  18. package/src/components/_data-table.scss +0 -41
  19. package/src/components/_datapager.scss +0 -49
  20. package/src/components/_datepicker.scss +0 -5
  21. package/src/components/_decoration.scss +0 -0
  22. package/src/components/_dialog.scss +0 -83
  23. package/src/components/_drawer.scss +0 -113
  24. package/src/components/_dropdown.scss +0 -162
  25. package/src/components/_editor-container.scss +0 -0
  26. package/src/components/_fieldset.scss +0 -3
  27. package/src/components/_form.scss +0 -8
  28. package/src/components/_image.scss +0 -24
  29. package/src/components/_input.scss +0 -14
  30. package/src/components/_label.scss +0 -7
  31. package/src/components/_list.scss +0 -0
  32. package/src/components/_loading.scss +0 -3
  33. package/src/components/_menu copy.scss +0 -96
  34. package/src/components/_menu.scss +0 -117
  35. package/src/components/_numberbox.scss +0 -15
  36. package/src/components/_popup.scss +0 -106
  37. package/src/components/_progress.scss +0 -60
  38. package/src/components/_radio.scss +0 -32
  39. package/src/components/_range-slider.scss +0 -232
  40. package/src/components/_rating.scss +0 -14
  41. package/src/components/_result.scss +0 -24
  42. package/src/components/_selectbox.scss +0 -16
  43. package/src/components/_selection-list.scss +0 -54
  44. package/src/components/_skeleton.scss +0 -22
  45. package/src/components/_switch.scss +0 -0
  46. package/src/components/_table.scss +0 -0
  47. package/src/components/_tabs copy.scss +0 -235
  48. package/src/components/_tabs.scss +0 -235
  49. package/src/components/_textarea.scss +0 -31
  50. package/src/components/_toast.scss +0 -8
  51. package/src/components/_tooltip.scss +0 -44
  52. package/src/components/_treeview.scss +0 -0
  53. package/src/components/_uploader.scss +0 -0
  54. package/src/components/index.scss +0 -1
@@ -1,106 +0,0 @@
1
- // @layer components {
2
-
3
- // .ax-popup {
4
- // @apply ax-flex ax-flex-col ax-bg-white ax-w-6/12 ax-shadow-lg ax-border ax-border-solid ax-border-neutral-300 ax-rounded ax-outline-none ax-p-0 ax-max-h-[98vh] ax-min-h-fit ax-mx-auto;
5
- // @include control-states("surface");
6
- // background-color: #fff;
7
- // ax-header,
8
- // ax-footer {
9
- // @apply ax-bg-white ax-p-3 ax-border-neutral-300 dark:ax-border-neutral-700 ax-flex ax-justify-between ax-items-center;
10
- // @include control-states("editor");
11
- // }
12
-
13
- // &:focus
14
- // {
15
- // @apply ax-ring-1 ax-ring-primary-500 ax-outline-none;
16
- // }
17
-
18
- // ax-footer
19
- // {
20
- // @apply ax-border-t;
21
- // }
22
- // .ax-popup-main-container {
23
- // @apply ax-overflow-auto ax-flex-1;
24
- // }
25
- // .ax-popup-footer-container {
26
- // }
27
- // &.ax-popup-full {
28
- // @apply ax-w-screen;
29
- // height: calc(100 * var(--ax-vh));
30
- // max-height: calc(100 * var(--ax-vh));
31
- // }
32
-
33
- // &.ax-fit {
34
- // width: fit-content;
35
- // }
36
-
37
- // @media all and (min-width: 1280px) {
38
- // &.ax-popup-sm {
39
- // width: 420px !important;
40
- // }
41
-
42
- // &.ax-popup-md {
43
- // width: 680px !important;
44
- // }
45
-
46
- // &.ax-popup-lg {
47
- // width: 1024px !important;
48
- // }
49
- // }
50
-
51
- // @media all and (min-width: 1024px) and (max-width: 1279px) {
52
- // &.ax-popup-sm {
53
- // width: 100vw;
54
- // max-height: calc(100 * var(--ax-vh));
55
- // .ax-popup-main {
56
- // @apply ax-h-screen;
57
- // }
58
- // }
59
-
60
- // &.ax-popup-md {
61
- // width: 500px !important;
62
- // }
63
-
64
- // &.ax-popup-lg {
65
- // width: 900px !important;
66
- // }
67
- // }
68
-
69
- // @media all and (min-width: 768px) and (max-width: 1023px) {
70
- // &.ax-popup-md {
71
- // width: 500px !important;
72
- // }
73
- // &.ax-popup-lg {
74
- // width: 700px !important;
75
- // }
76
- // }
77
-
78
- // @media all and (min-width: 425px) and (max-width: 767px) {
79
- // &.ax-popup-sm {
80
- // width: 100vw;
81
- // height: calc(100 * var(--ax-vh));
82
- // max-height: calc(100 * var(--ax-vh));
83
- // .ax-popup-main {
84
- // @apply ax-h-screen;
85
- // }
86
- // }
87
-
88
- // &.ax-popup-md,
89
- // &.ax-popup-lg {
90
- // width: 460px !important;
91
- // }
92
- // }
93
-
94
- // @media all and (min-width: 0px) and (max-width: 424px) {
95
- // &.ax-popup-md,
96
- // &.ax-popup-lg {
97
- // width: calc(var(--ax-overlay-full-width) * 1vw);
98
- // height: calc(var(--ax-overlay-full-width) * var(--ax-vh));
99
- // max-height: calc(var(--ax-overlay-full-width) * var(--ax-vh));
100
- // .ax-popup-main {
101
- // @apply ax-h-screen;
102
- // }
103
- // }
104
- // }
105
- // }
106
- // }
@@ -1,60 +0,0 @@
1
- // @layer components {
2
- // .ax-progress-bar {
3
- // @apply ax-flex ax-justify-between ax-items-center ax-text-sm;
4
- // .ax-prefix{
5
- // @apply ax-pe-2;
6
- // }
7
- // .ax-suffix{
8
- // @apply ax-ps-2;
9
- // }
10
- // .ax-progress-bar-container {
11
- // @apply ax-w-full ax-h-2 ax-relative ax-bg-neutral-200 dark:ax-bg-white/10 ax-flex ax-rounded-full;
12
- // .ax-progress-bar-rise {
13
- // max-width: 100%;
14
- // transition: width 1s;
15
- // @apply ax-bg-primary-500 ax-h-full ax-absolute ax-start-0 ax-rounded-full;
16
- // }
17
- // }
18
-
19
- // &.ax-primary-default {
20
- // .ax-progress-bar-rise {
21
- // @apply ax-bg-primary-500 dark:ax-bg-primary-800;
22
- // }
23
- // }
24
- // &.ax-secondary-default {
25
- // .ax-progress-bar-rise {
26
- // @apply ax-bg-secondary-500 dark:ax-bg-secondary-800;
27
- // }
28
- // }
29
- // &.ax-success-default {
30
- // .ax-progress-bar-rise {
31
- // @apply ax-bg-success-500 dark:ax-bg-success-800;
32
- // }
33
- // }
34
- // &.ax-warning-default {
35
- // .ax-progress-bar-rise {
36
- // @apply ax-bg-warning-500 dark:ax-bg-warning-800;
37
- // }
38
- // }
39
- // &.ax-danger-default {
40
- // .ax-progress-bar-rise {
41
- // @apply ax-bg-danger-500 dark:ax-bg-danger-800;
42
- // }
43
- // }
44
- // &.ax-primary-default {
45
- // .ax-progress-bar-rise {
46
- // @apply ax-bg-primary-500 dark:ax-bg-primary-800;
47
- // }
48
- // }
49
- // &.ax-neutral-default {
50
- // .ax-progress-bar-rise {
51
- // @apply ax-bg-neutral-300 dark:ax-border-neutral-500;
52
- // }
53
- // }
54
- // &.ax-neutral-default {
55
- // .ax-progress-bar-rise {
56
- // @apply ax-bg-neutral-500 dark:ax-bg-neutral-200;
57
- // }
58
- // }
59
- // }
60
- // }
@@ -1,32 +0,0 @@
1
- // @layer components {
2
- // .ax-radio {
3
- // @apply ax-text-sm ax-font-medium ax-text-neutral-700;
4
-
5
- // .ax-radio {
6
- // @apply ax-w-4 ax-h-4 ax-border-solid ax-border ax-border-neutral-300 ax-rounded-full ax-bg-white ax-text-primary-500 ax-m-0 ax-outline-none ax-align-middle ax-appearance-none;
7
- // @include control-states('editor');
8
-
9
- // &:checked {
10
- // @apply ax-border-primary-500 ax-bg-no-repeat ax-bg-current ax-bg-contain;
11
- // background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
12
- // }
13
- // &:focus {
14
- // @apply ax-ring-2 ax-ring-primary-500 ax-ring-offset-2;
15
- // }
16
- // &.ax-state-disabled{
17
- // @apply ax-opacity-70;
18
- // }
19
- // &.ax-state-disabled{
20
- // @apply ax-opacity-60;
21
- // }
22
- // &.ax-state-error{
23
- // @apply ax-border-danger-500;
24
- // }
25
- // }
26
- // ax-label {
27
- // label {
28
- // @apply ax-mb-0;
29
- // }
30
- // }
31
- // }
32
- // }
@@ -1,232 +0,0 @@
1
- @layer components {
2
- // .ax-dark {
3
- // .ax-range-slider {
4
- // &.ax-primary-default {
5
- // input {
6
- // background: linear-gradient(
7
- // to right,
8
- // rgb(var(--ax-color-primary-800)) 0%,
9
- // rgb(var(--ax-color-primary-800)) var(--ax-current-value),
10
- // rgba(255, 255, 255, 0.1) var(--ax-current-value),
11
- // rgba(255, 255, 255, 0.1) 100%
12
- // );
13
- // }
14
- // }
15
- // &.ax-secondary-default {
16
- // input {
17
- // background: linear-gradient(
18
- // to right,
19
- // rgb(var(--ax-color-secondary-800)) 0%,
20
- // rgb(var(--ax-color-secondary-800)) var(--ax-current-value),
21
- // rgba(255, 255, 255, 0.1) var(--ax-current-value),
22
- // rgba(255, 255, 255, 0.1) 100%
23
- // );
24
- // }
25
- // }
26
- // &.ax-success-default {
27
- // input {
28
- // background: linear-gradient(
29
- // to right,
30
- // rgb(var(--ax-color-success-800)) 0%,
31
- // rgb(var(--ax-color-success-800)) var(--ax-current-value),
32
- // rgba(255, 255, 255, 0.1) var(--ax-current-value),
33
- // rgba(255, 255, 255, 0.1) 100%
34
- // );
35
- // }
36
- // }
37
- // &.ax-warning-default {
38
- // input {
39
- // background: linear-gradient(
40
- // to right,
41
- // rgb(var(--ax-color-warning-800)) 0%,
42
- // rgb(var(--ax-color-warning-800)) var(--ax-current-value),
43
- // rgba(255, 255, 255, 0.1) var(--ax-current-value),
44
- // rgba(255, 255, 255, 0.1) 100%
45
- // );
46
- // }
47
- // }
48
- // &.ax-danger-default {
49
- // input {
50
- // background: linear-gradient(
51
- // to right,
52
- // rgb(var(--ax-color-danger-800)) 0%,
53
- // rgb(var(--ax-color-danger-800)) var(--ax-current-value),
54
- // rgba(255, 255, 255, 0.1) var(--ax-current-value),
55
- // rgba(255, 255, 255, 0.1) 100%
56
- // );
57
- // }
58
- // }
59
- // &.ax-primary-default {
60
- // input {
61
- // background: linear-gradient(
62
- // to right,
63
- // rgb(var(--ax-color-primary-800)) 0%,
64
- // rgb(var(--ax-color-primary-800)) var(--ax-current-value),
65
- // rgba(255, 255, 255, 0.1) var(--ax-current-value),
66
- // rgba(255, 255, 255, 0.1) 100%
67
- // );
68
- // }
69
- // }
70
- // &.ax-neutral-default {
71
- // input {
72
- // background: linear-gradient(
73
- // to right,
74
- // rgb(var(--ax-color-neutral-600)) 0%,
75
- // rgb(var(--ax-color-neutral-600)) var(--ax-current-value),
76
- // rgba(255, 255, 255, 0.1) var(--ax-current-value),
77
- // rgba(255, 255, 255, 0.1) 100%
78
- // );
79
- // }
80
- // }
81
- // &.ax-neutral-default {
82
- // input {
83
- // background: linear-gradient(
84
- // to right,
85
- // rgb(var(--ax-color-neutral-200)) 0%,
86
- // rgb(var(--ax-color-neutral-200)) var(--ax-current-value),
87
- // rgba(255, 255, 255, 0.1) var(--ax-current-value),
88
- // rgba(255, 255, 255, 0.1) 100%
89
- // );
90
- // }
91
- // }
92
- // }
93
- // }
94
- .ax-range-slider {
95
- width: 100%;
96
- --ax-current-value: 0%;
97
- input {
98
- appearance: none;
99
- width: 100%;
100
- height: 0.5rem;
101
- background: rgba(var(--ax-color-ghost), 0.05);
102
- transition-property: all;
103
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
104
- transition-duration: 150ms;
105
- border-radius: 999rem;
106
- &::-webkit-slider-thumb{
107
- width: 1.25rem;
108
- height: 1.25rem;
109
- background: rgb(var(--ax-color-background-default));
110
- border: 1px solid;
111
- border-color: rgb(var(--ax-color-border-default));
112
- cursor: pointer;
113
- border-radius: 999rem;
114
- appearance: none;
115
- -webkit-appearance: none;
116
- }
117
- &::-moz-range-thumb {
118
- width: 1.25rem;
119
- height: 1.25rem;
120
- background: rgb(var(--ax-color-background-default));
121
- border: 1px solid;
122
- border-color: rgb(var(--ax-color-border-default));
123
- cursor: pointer;
124
- border-radius: 999rem;
125
- }
126
-
127
- }
128
-
129
- &.ax-vertical {
130
- @apply ax-rotate-90 ax-block;
131
- input[type="range"] {
132
- -webkit-appearance: slider-vertical;
133
- }
134
- }
135
-
136
- &.ax-primary-default {
137
- input {
138
- background: linear-gradient(
139
- to right,
140
- rgb(var(--ax-color-primary-500)) 0%,
141
- rgb(var(--ax-color-primary-500)) var(--ax-current-value),
142
- rgb(var(--ax-color-neutral-200)) var(--ax-current-value),
143
- rgb(var(--ax-color-neutral-200)) 100%
144
- );
145
- }
146
- }
147
-
148
- &.ax-secondary-default {
149
- input {
150
- background: linear-gradient(
151
- to right,
152
- rgb(var(--ax-color-secondary-500)) 0%,
153
- rgb(var(--ax-color-secondary-500)) var(--ax-current-value),
154
- rgb(var(--ax-color-neutral-200)) var(--ax-current-value),
155
- rgb(var(--ax-color-neutral-200)) 100%
156
- );
157
- }
158
- }
159
-
160
- &.ax-danger-default {
161
- input {
162
- background: linear-gradient(
163
- to right,
164
- rgb(var(--ax-color-danger-500)) 0%,
165
- rgb(var(--ax-color-danger-500)) var(--ax-current-value),
166
- rgb(var(--ax-color-neutral-200)) var(--ax-current-value),
167
- rgb(var(--ax-color-neutral-200)) 100%
168
- );
169
- }
170
- }
171
-
172
- &.ax-success-default {
173
- input {
174
- background: linear-gradient(
175
- to right,
176
- rgb(var(--ax-color-success-500)) 0%,
177
- rgb(var(--ax-color-success-500)) var(--ax-current-value),
178
- rgb(var(--ax-color-neutral-200)) var(--ax-current-value),
179
- rgb(var(--ax-color-neutral-200)) 100%
180
- );
181
- }
182
- }
183
-
184
- &.ax-warning-default {
185
- input {
186
- background: linear-gradient(
187
- to right,
188
- rgb(var(--ax-color-warning-500)) 0%,
189
- rgb(var(--ax-color-warning-500)) var(--ax-current-value),
190
- rgb(var(--ax-color-neutral-200)) var(--ax-current-value),
191
- rgb(var(--ax-color-neutral-200)) 100%
192
- );
193
- }
194
- }
195
-
196
- &.ax-primary-default {
197
- input {
198
- background: linear-gradient(
199
- to right,
200
- rgb(var(--ax-color-primary-500)) 0%,
201
- rgb(var(--ax-color-primary-500)) var(--ax-current-value),
202
- rgb(var(--ax-color-neutral-200)) var(--ax-current-value),
203
- rgb(var(--ax-color-neutral-200)) 100%
204
- );
205
- }
206
- }
207
-
208
- &.ax-neutral-default {
209
- input {
210
- background: linear-gradient(
211
- to right,
212
- rgb(var(--ax-color-neutral-500)) 0%,
213
- rgb(var(--ax-color-neutral-500)) var(--ax-current-value),
214
- rgb(var(--ax-color-neutral-200)) var(--ax-current-value),
215
- rgb(var(--ax-color-neutral-200)) 100%
216
- );
217
- }
218
- }
219
-
220
- &.ax-neutral-default {
221
- input {
222
- background: linear-gradient(
223
- to right,
224
- rgb(var(--ax-color-neutral-500)) 0%,
225
- rgb(var(--ax-color-neutral-500)) var(--ax-current-value),
226
- rgb(var(--ax-color-neutral-200)) var(--ax-current-value),
227
- rgb(var(--ax-color-neutral-200)) 100%
228
- );
229
- }
230
- }
231
- }
232
- }
@@ -1,14 +0,0 @@
1
- @layer components {
2
- .ax-rating-start {
3
- &:hover {
4
- &::before {
5
- content: "\e91f" !important; // half filled
6
- }
7
- }
8
- &.ax-state-selected{
9
- &::before {
10
- content: "\e91e" !important;
11
- }
12
- }
13
- }
14
- }
@@ -1,24 +0,0 @@
1
- @layer components {
2
- ax-result,.ax-result {
3
- @apply ax-flex ax-flex-col;
4
- .ax-result-icon {
5
- @apply ax-text-5xl ax-text-center;
6
- }
7
- .ax-result-title,
8
- .ax-result-description {
9
- @apply ax-mt-2 ax-text-center;
10
- }
11
- .ax-result-title {
12
- @apply ax-text-base ax-font-semibold ax-text-neutral-700 dark:ax-text-neutral-50;
13
- }
14
- .ax-result-description {
15
- @apply ax-text-sm ax-text-neutral-500 dark:ax-text-neutral-100;
16
- }
17
- .ax-custom-icon,.ax-custom-image{
18
- @apply ax-flex ax-items-center ax-justify-center;
19
- }
20
- .ax-result-content {
21
- @apply ax-mt-4;
22
- }
23
- }
24
- }
@@ -1,16 +0,0 @@
1
- // @layer components {
2
- // .ax-select-box {
3
- // .ax-select-box-selection {
4
- // display: flex;
5
- // justify-content: center;
6
- // align-items: center;
7
- // outline-color: transparent;
8
- // padding: 0 0.5rem;
9
-
10
- // .ax-selectbox-input {
11
- // opacity: 0;
12
- // width: 0;
13
- // }
14
- // }
15
- // }
16
- // }
@@ -1,54 +0,0 @@
1
- @layer components {
2
- .ax-selection-list {
3
- @apply ax-flex ax-flex-wrap;
4
-
5
- &.ax-vertical {
6
- @apply ax-flex-col;
7
-
8
- .ax-checkbox-container,
9
- .ax-radio-container {
10
- @apply ax-mb-4;
11
- }
12
- }
13
-
14
- &.ax-horizontal {
15
- @apply ax-flex-row;
16
- .ax-checkbox-container,
17
- .ax-radio-container {
18
- @apply ax-pe-3;
19
- }
20
- }
21
-
22
- &.ax-state-error {
23
- @apply ax-text-danger-500;
24
- .ax-checkbox-checkmark {
25
- @apply ax-border-danger-500;
26
- }
27
-
28
- .ax-radio-checkmark {
29
- @apply ax-border-danger-500;
30
- }
31
- }
32
- }
33
- .ax-separate-style {
34
- .ax-selection-list {
35
- &.ax-vertical {
36
- & > div {
37
- @apply ax-pb-3.5 ax-border-b ax-border-neutral-300 dark:ax-border-white/[0.09] last:ax-border-0;
38
- }
39
- }
40
- }
41
- }
42
- .ax-card-style {
43
- .ax-selection-list {
44
- &.ax-vertical,&.ax-horizontal {
45
- & > div {
46
- @apply ax-p-4 ax-border ax-border-neutral-300 dark:ax-border-white/[0.09] ax-rounded-default ax-shadow-sm;
47
- &.ax-state-selected {
48
- @apply ax-border-primary-500 ax-ring-1 ax-ring-primary-500 ax-shadow-primary-500;
49
- }
50
- }
51
- }
52
- }
53
- }
54
- }
@@ -1,22 +0,0 @@
1
- @layer utilities {
2
- .ax-skeleton {
3
- @apply ax-relative ax-overflow-hidden ax-bg-neutral-200 dark:ax-bg-neutral-700;
4
- &.ax-skeleton-animate {
5
- &::before {
6
- content: "";
7
- @apply ax-block ax-absolute ax-top-0 ax-h-full ax-w-52;
8
- left: -200px;
9
- background: linear-gradient(to right, transparent 0%, rgb(var(--ax-color-neutral-300)) 50%, transparent 100%);
10
- animation: load 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
11
- }
12
- }
13
- }
14
- @keyframes load {
15
- from {
16
- left: -200px;
17
- }
18
- to {
19
- left: 100%;
20
- }
21
- }
22
- }
File without changes
File without changes