@acorex/styles 6.1.10 → 7.0.0
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/index.scss +3 -1
- package/package.json +1 -1
- package/src/base/index.scss +44 -30
- package/src/components/_avatar.scss +122 -122
- package/src/components/_badge.scss +178 -178
- package/src/components/_breadcrumbs.scss +30 -29
- package/src/components/_button copy.scss +924 -0
- package/src/components/_button.scss +0 -924
- package/src/components/_calendar.scss +180 -180
- package/src/components/_carousel.scss +44 -44
- package/src/components/_checkbox.scss +58 -58
- package/src/components/_collapse.scss +48 -48
- package/src/components/_color-palette.scss +5 -5
- package/src/components/_color-picker.scss +23 -23
- package/src/components/_context-menu.scss +0 -16
- package/src/components/_data-table.scss +1 -1
- package/src/components/_datepicker.scss +5 -5
- package/src/components/_decoration.scss +0 -39
- package/src/components/_dialog.scss +80 -79
- package/src/components/_drawer.scss +112 -112
- package/src/components/_dropdown.scss +162 -216
- package/src/components/_editor-container.scss +0 -155
- package/src/components/_fieldset.scss +1 -6
- package/src/components/_image.scss +1 -1
- package/src/components/_label.scss +1 -1
- package/src/components/_list.scss +0 -83
- package/src/components/_loading.scss +1 -50
- package/src/components/_menu copy.scss +5 -5
- package/src/components/_menu.scss +114 -114
- package/src/components/_popup.scss +92 -91
- package/src/components/_progress.scss +59 -59
- package/src/components/_radio.scss +30 -30
- package/src/components/_range-slider.scss +147 -125
- package/src/components/_result.scss +2 -2
- package/src/components/_selectbox.scss +15 -17
- package/src/components/_selection-list.scss +2 -2
- package/src/components/_skeleton.scss +2 -2
- package/src/components/_switch.scss +0 -186
- package/src/components/_table.scss +0 -81
- package/src/components/_tabs copy.scss +18 -18
- package/src/components/_tabs.scss +235 -235
- package/src/components/_textarea.scss +27 -31
- package/src/components/_toast.scss +1 -1
- package/src/components/_treeview.scss +0 -54
- package/src/components/_uploader.scss +0 -18
- package/src/components/index.scss +1 -47
- package/src/icons/demo.html +892 -738
- package/src/icons/fonts/acorex-icons.eot +0 -0
- package/src/icons/fonts/acorex-icons.svg +71 -0
- package/src/icons/fonts/acorex-icons.ttf +0 -0
- package/src/icons/fonts/acorex-icons.woff +0 -0
- package/src/icons/selection.json +1 -1
- package/src/icons/style.css +210 -177
- package/src/icons/style.scss +335 -280
- package/src/icons/variables.scss +65 -54
- package/src/mixins/_media.scss +27 -0
- package/src/mixins/index.scss +1 -0
- package/src/shared/_check-box.scss +45 -0
- package/src/shared/_decoration.scss +56 -0
- package/src/shared/_drop-down.scss +163 -0
- package/src/shared/_editor-container.scss +130 -0
- package/src/shared/_general-button.scss +42 -0
- package/src/shared/_icon-control.scss +0 -0
- package/src/shared/_inputs.scss +12 -0
- package/src/shared/_list.scss +134 -0
- package/src/shared/_radio.scss +37 -0
- package/src/shared/_skeleton.scss +26 -0
- package/src/shared/_table.scss +116 -0
- package/src/shared/_utils.scss +46 -0
- package/src/shared/index.scss +12 -0
- package/src/utility/_mixins.scss +3 -3
- package/src/utility/index.scss +16 -22
- package/src/variables/_colors.scss +76 -107
- package/src/variables/_degrees.scss +1 -0
- package/src/variables/index.scss +2 -0
- package/{index.js → tailwind.config.js} +14 -63
- package/src/components/_alert.scss +0 -276
- package/src/icons/fonts/acorex-icon.eot +0 -0
- package/src/icons/fonts/acorex-icon.svg +0 -60
- package/src/icons/fonts/acorex-icon.ttf +0 -0
- package/src/icons/fonts/acorex-icon.woff +0 -0
@@ -1,105 +1,106 @@
|
|
1
|
-
@layer components {
|
1
|
+
// @layer components {
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
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
|
+
// }
|
11
12
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
// &:focus
|
14
|
+
// {
|
15
|
+
// @apply ax-ring-1 ax-ring-primary-500 ax-outline-none;
|
16
|
+
// }
|
16
17
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
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
|
+
// }
|
31
32
|
|
32
|
-
|
33
|
-
|
34
|
-
|
33
|
+
// &.ax-fit {
|
34
|
+
// width: fit-content;
|
35
|
+
// }
|
35
36
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
37
|
+
// @media all and (min-width: 1280px) {
|
38
|
+
// &.ax-popup-sm {
|
39
|
+
// width: 420px !important;
|
40
|
+
// }
|
40
41
|
|
41
|
-
|
42
|
-
|
43
|
-
|
42
|
+
// &.ax-popup-md {
|
43
|
+
// width: 680px !important;
|
44
|
+
// }
|
44
45
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
46
|
+
// &.ax-popup-lg {
|
47
|
+
// width: 1024px !important;
|
48
|
+
// }
|
49
|
+
// }
|
49
50
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
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
|
+
// }
|
58
59
|
|
59
|
-
|
60
|
-
|
61
|
-
|
60
|
+
// &.ax-popup-md {
|
61
|
+
// width: 500px !important;
|
62
|
+
// }
|
62
63
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
64
|
+
// &.ax-popup-lg {
|
65
|
+
// width: 900px !important;
|
66
|
+
// }
|
67
|
+
// }
|
67
68
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
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
|
+
// }
|
76
77
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
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
|
+
// }
|
86
87
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
88
|
+
// &.ax-popup-md,
|
89
|
+
// &.ax-popup-lg {
|
90
|
+
// width: 460px !important;
|
91
|
+
// }
|
92
|
+
// }
|
92
93
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
}
|
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 +1,60 @@
|
|
1
|
-
@layer components {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
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
18
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
}
|
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 +1,32 @@
|
|
1
|
-
@layer components {
|
2
|
-
|
3
|
-
|
1
|
+
// @layer components {
|
2
|
+
// .ax-radio {
|
3
|
+
// @apply ax-text-sm ax-font-medium ax-text-neutral-700;
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
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
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
}
|
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
|
+
// }
|