@acorex/styles 6.1.12 → 6.5.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 (118) hide show
  1. package/fonts/font-awesome/fa-brands-400.eot +0 -0
  2. package/fonts/font-awesome/fa-brands-400.svg +3570 -0
  3. package/fonts/font-awesome/fa-brands-400.ttf +0 -0
  4. package/fonts/font-awesome/fa-brands-400.woff +0 -0
  5. package/fonts/font-awesome/fa-brands-400.woff2 +0 -0
  6. package/fonts/font-awesome/fa-duotone-900.eot +0 -0
  7. package/fonts/font-awesome/fa-duotone-900.svg +15055 -0
  8. package/fonts/font-awesome/fa-duotone-900.ttf +0 -0
  9. package/fonts/font-awesome/fa-duotone-900.woff +0 -0
  10. package/fonts/font-awesome/fa-duotone-900.woff2 +0 -0
  11. package/fonts/font-awesome/fa-light-300.eot +0 -0
  12. package/fonts/font-awesome/fa-light-300.svg +12330 -0
  13. package/fonts/font-awesome/fa-light-300.ttf +0 -0
  14. package/fonts/font-awesome/fa-light-300.woff +0 -0
  15. package/fonts/font-awesome/fa-light-300.woff2 +0 -0
  16. package/fonts/font-awesome/fa-regular-400.eot +0 -0
  17. package/fonts/font-awesome/fa-regular-400.svg +11256 -0
  18. package/fonts/font-awesome/fa-regular-400.ttf +0 -0
  19. package/fonts/font-awesome/fa-regular-400.woff +0 -0
  20. package/fonts/font-awesome/fa-regular-400.woff2 +0 -0
  21. package/fonts/font-awesome/fa-solid-900.eot +0 -0
  22. package/fonts/font-awesome/fa-solid-900.svg +9588 -0
  23. package/fonts/font-awesome/fa-solid-900.ttf +0 -0
  24. package/fonts/font-awesome/fa-solid-900.woff +0 -0
  25. package/fonts/font-awesome/fa-solid-900.woff2 +0 -0
  26. package/fonts/font-awesome/font-awesome.css +16960 -0
  27. package/package.json +3 -10
  28. package/scss/buttons.scss +69 -0
  29. package/scss/calendar.scss +144 -0
  30. package/scss/checkbox.scss +46 -0
  31. package/scss/context-menu.scss +75 -0
  32. package/scss/data-grid.scss +117 -0
  33. package/scss/drawer.scss +138 -0
  34. package/scss/fieldset.scss +23 -0
  35. package/scss/forms.scss +515 -0
  36. package/scss/list.scss +47 -0
  37. package/scss/master.scss +259 -0
  38. package/scss/menu.scss +130 -0
  39. package/scss/mixin.scss +12 -0
  40. package/scss/page.scss +54 -0
  41. package/scss/progress.scss +11 -0
  42. package/scss/selection-list.scss +104 -0
  43. package/scss/style.scss +47 -0
  44. package/scss/tab-strip.scss +31 -0
  45. package/scss/tab.scss +36 -0
  46. package/scss/toast.scss +46 -0
  47. package/scss/tooltip.scss +55 -0
  48. package/scss/treeview.scss +122 -0
  49. package/scss/upload.scss +170 -0
  50. package/scss/variables.scss +139 -0
  51. package/index.js +0 -185
  52. package/index.scss +0 -10
  53. package/src/base/index.scss +0 -45
  54. package/src/components/_action-sheet.scss +0 -24
  55. package/src/components/_alert.scss +0 -276
  56. package/src/components/_avatar.scss +0 -124
  57. package/src/components/_badge.scss +0 -184
  58. package/src/components/_breadcrumbs.scss +0 -29
  59. package/src/components/_button.scss +0 -924
  60. package/src/components/_calendar.scss +0 -182
  61. package/src/components/_carousel.scss +0 -44
  62. package/src/components/_checkbox.scss +0 -58
  63. package/src/components/_collapse.scss +0 -51
  64. package/src/components/_color-palette.scss +0 -126
  65. package/src/components/_color-picker.scss +0 -28
  66. package/src/components/_context-menu.scss +0 -19
  67. package/src/components/_data-table.scss +0 -41
  68. package/src/components/_datapager.scss +0 -49
  69. package/src/components/_datepicker.scss +0 -5
  70. package/src/components/_decoration.scss +0 -39
  71. package/src/components/_dialog.scss +0 -82
  72. package/src/components/_drawer.scss +0 -113
  73. package/src/components/_dropdown.scss +0 -216
  74. package/src/components/_editor-container.scss +0 -155
  75. package/src/components/_fieldset.scss +0 -8
  76. package/src/components/_form.scss +0 -8
  77. package/src/components/_image.scss +0 -24
  78. package/src/components/_input.scss +0 -14
  79. package/src/components/_label.scss +0 -7
  80. package/src/components/_list.scss +0 -83
  81. package/src/components/_loading.scss +0 -52
  82. package/src/components/_menu copy.scss +0 -96
  83. package/src/components/_menu.scss +0 -117
  84. package/src/components/_numberbox.scss +0 -15
  85. package/src/components/_popup.scss +0 -105
  86. package/src/components/_progress.scss +0 -60
  87. package/src/components/_radio.scss +0 -32
  88. package/src/components/_range-slider.scss +0 -210
  89. package/src/components/_rating.scss +0 -14
  90. package/src/components/_result.scss +0 -24
  91. package/src/components/_selectbox.scss +0 -18
  92. package/src/components/_selection-list.scss +0 -54
  93. package/src/components/_skeleton.scss +0 -22
  94. package/src/components/_switch.scss +0 -186
  95. package/src/components/_table.scss +0 -81
  96. package/src/components/_tabs copy.scss +0 -235
  97. package/src/components/_tabs.scss +0 -235
  98. package/src/components/_textarea.scss +0 -35
  99. package/src/components/_toast.scss +0 -8
  100. package/src/components/_tooltip.scss +0 -44
  101. package/src/components/_treeview.scss +0 -54
  102. package/src/components/_uploader.scss +0 -18
  103. package/src/components/index.scss +0 -47
  104. package/src/icons/Read Me.txt +0 -7
  105. package/src/icons/demo-files/demo.css +0 -152
  106. package/src/icons/demo-files/demo.js +0 -30
  107. package/src/icons/demo.html +0 -738
  108. package/src/icons/fonts/acorex-icon.eot +0 -0
  109. package/src/icons/fonts/acorex-icon.svg +0 -60
  110. package/src/icons/fonts/acorex-icon.ttf +0 -0
  111. package/src/icons/fonts/acorex-icon.woff +0 -0
  112. package/src/icons/selection.json +0 -1
  113. package/src/icons/style.css +0 -177
  114. package/src/icons/style.scss +0 -280
  115. package/src/icons/variables.scss +0 -54
  116. package/src/utility/_mixins.scss +0 -152
  117. package/src/utility/index.scss +0 -26
  118. package/src/variables/_colors.scss +0 -122
@@ -1,152 +0,0 @@
1
- @mixin screen($breakpoint) {
2
- // $breakpoint is simply a variable that can have several values
3
-
4
- @if $breakpoint == extraSmall {
5
- // Media query for 320px and less
6
- @media (max-width: 320px) {
7
- @content;
8
- }
9
- @media (min-width: 321px) and (max-width: 480px) {
10
- @content;
11
- }
12
- }
13
-
14
- @if $breakpoint == tablet {
15
- // here `laptop` is the value of $breakpoint
16
- // when call laptop, we mean the following piece of code
17
-
18
- @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
19
- @content;
20
- }
21
- }
22
-
23
- @if $breakpoint == mobile {
24
- @media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
25
- @content;
26
- }
27
- }
28
-
29
- @if $breakpoint == laptop {
30
- @media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
31
- @content;
32
- }
33
- }
34
- }
35
-
36
-
37
- @mixin responsive($media){
38
- @if $media == 'phone'{
39
- @media (max-width: 599px) { @content; }
40
- }
41
- @if $media == 'tablet'{
42
- @media (min-width: 600px) { @content; }
43
- }
44
- @if $media == 'tablet-landscape'{
45
- @media (min-width: 900px) { @content; }
46
- }
47
- @if $media == 'desktop'{
48
- @media (min-width: 1200px) { @content; }
49
- }
50
- @if $media == 'desktop-large'{
51
- @media (min-width: 1800px) { @content; }
52
- }
53
- }
54
-
55
- @mixin colors($array) {
56
- @each $name, $color in $array {
57
- @if (type-of($color) == "map") {
58
- @each $subname, $variant in $color {
59
- @if ($subname != "") {
60
- --ax-color-#{$name}-#{$subname}: #{$variant};
61
- } @else {
62
- --ax-color-#{$name}: #{$variant};
63
- }
64
- }
65
- } @else {
66
- --ax-color-#{$name}: #{$color};
67
- }
68
- }
69
- }
70
-
71
- @mixin control-states($type) {
72
- @if ($type == "editor") {
73
- @apply dark:ax-border-white/10 dark:ax-bg-white/10 dark:ax-backdrop-blur-3xl;
74
- }
75
- @if ($type == "editor-disabled") {
76
- @apply ax-bg-light-100 ax-text-light-fore dark:ax-border-white/10 dark:ax-bg-white/[0.-04] dark:ax-text-opacity-60 ax-cursor-not-allowed #{!important};
77
- }
78
- @if ($type == "surface") {
79
- @apply dark:ax-bg-default-background dark:ax-border-white/10 ;
80
- }
81
- }
82
-
83
- @mixin color-look($color, $look) {
84
- @if ($look == "default") {
85
- @if ($color == "light") {
86
- @apply ax-bg-#{$color}-100 ax-text-#{$color}-fore;
87
- } @else {
88
- @apply ax-bg-#{$color}-500 ax-text-#{$color}-fore;
89
- }
90
- .ax-alert-progress{
91
- @apply ax-bg-#{$color}-800;
92
- }
93
- }
94
- @if ($look == "outline") {
95
- @apply ax-bg-transparent ax-text-#{$color}-500 ax-border ax-rounded-default ax-border-#{$color}-500;
96
- .ax-header {
97
- @apply ax-bg-#{$color}-50;
98
- }
99
- .ax-alert-progress{
100
- @apply ax-bg-#{$color}-100;
101
- }
102
- }
103
- @if ($look == "twotone") {
104
- @apply ax-bg-#{$color}-100 ax-text-#{$color}-500;
105
- .ax-alert-progress{
106
- @apply ax-bg-#{$color}-500;
107
- }
108
- }
109
- @if ($look == "blank") {
110
- @apply ax-bg-transparent ax-text-#{$color}-500;
111
- .ax-alert-progress{
112
- @apply ax-bg-#{$color}-100;
113
- }
114
-
115
- }
116
- }
117
-
118
- @mixin color-look-generator() {
119
- $colors: ("primary", "secondary", "success", "warning", "danger", "info", "light", "dark");
120
- $looks: ("default", "outline", "twotone", "blank");
121
- @each $c in $colors {
122
- @each $l in $looks {
123
- &.ax-#{$c}-#{$l} {
124
- @include color-look($c, $l);
125
- }
126
- }
127
- }
128
- }
129
-
130
- // @mixin button-on-colorful-bg {
131
- // .ax-button {
132
- // @apply ax-bg-black/20 ax-text-sm ax-border-0 ax-outline-0 ax-ring-0 ax-ring-transparent ax-h-auto ax-shadow-none ax-font-semibold #{!important};
133
- // & > button {
134
- // @apply ax-py-1.5 ax-px-2;
135
- // }
136
- // &:focus,
137
- // &:focus-within,
138
- // &:active,
139
- // &:hover {
140
- // @apply ax-bg-black/30 ax-ring-0 ax-border-0 ax-outline-0 ax-shadow-none ax-ring-transparent ax-ring-offset-0 #{!important};
141
- // }
142
- // &:active {
143
- // @apply ax-bg-black/40 #{!important};
144
- // }
145
- // }
146
- // }
147
-
148
- @mixin rtl {
149
- .ax-rtl {
150
- @content;
151
- }
152
- }
@@ -1,26 +0,0 @@
1
- @layer utilities {
2
- .ax-sm {
3
- --ax-base-size: calc(var(--ax-size) - 2px);
4
- font-size: 0.75rem;
5
- * {
6
- font-size: 0.75rem;
7
- }
8
- }
9
- .ax-md {
10
- --ax-base-size: var(--ax-size);
11
- font-size: 0.875rem;
12
- * {
13
- font-size: 0.875rem;
14
- }
15
- }
16
- .ax-lg {
17
- --ax-base-size: calc(var(--ax-size) + 2px);
18
- font-size: 1rem;
19
- * {
20
- font-size: 1rem;
21
- }
22
- }
23
- .ax-filp {
24
- transform: scale(-1, 1);
25
- }
26
- }
@@ -1,122 +0,0 @@
1
- $theme-colors: (
2
- "white": "255 255 255",
3
- "black": "0 0 0",
4
- "placeholder": "156 163 175",
5
- "border": "209 213 219",
6
- "disabled": "224 224 224",
7
- "disabled-fore": "117 117 117",
8
- "disabled-border": "191 191 191",
9
- "primary": (
10
- "": "59 130 246",
11
- "fore": "255 255 255",
12
- "50": "239 246 255",
13
- "100": "219 234 254",
14
- "200": "191 219 254",
15
- "300": "147 197 253",
16
- "400": "96 165 250",
17
- "500": "59 130 246",
18
- "600": "37 99 235",
19
- "700": "29 78 216",
20
- "800": "30 64 175",
21
- "900": "30 58 138",
22
- ),
23
- "secondary": (
24
- "": "236 72 153",
25
- "fore": "255 255 255",
26
- "50": "253 242 248",
27
- "100": "252 231 243",
28
- "200": "251 207 232",
29
- "300": "249 168 212",
30
- "400": "244 114 182",
31
- "500": "236 72 153",
32
- "600": "219 39 119",
33
- "700": "190 24 93",
34
- "800": "157 23 77",
35
- "900": "131 24 67",
36
- ),
37
- "success": (
38
- "": "76 175 80",
39
- "fore": "255 255 255",
40
- "50": "236 253 245",
41
- "100": "209 250 229",
42
- "200": "167 243 208",
43
- "300": "110 231 183",
44
- "400": "52 211 153",
45
- "500": "16 185 129",
46
- "600": "5 150 105",
47
- "700": "4 120 87",
48
- "800": "6 95 70",
49
- "900": "6 78 59",
50
- ),
51
- "danger": (
52
- "": "244 63 94",
53
- "fore": "255 241 242",
54
- "50": "255 241 242",
55
- "100": "255 228 230",
56
- "200": "254 205 211",
57
- "300": "253 164 175",
58
- "400": "251 113 133",
59
- "500": "244 63 94",
60
- "600": "225 29 72",
61
- "700": "190 18 60",
62
- "800": "159 18 57",
63
- "900": "136 19 55",
64
- ),
65
- "warning": (
66
- "": "255 193 7",
67
- "fore": "33 37 41",
68
- "50": "255 248 225",
69
- "100": "255 236 181",
70
- "200": "255 224 131",
71
- "300": "255 212 81",
72
- "400": "255 202 44",
73
- "500": "255 193 7",
74
- "600": "255 187 6",
75
- "700": "255 179 5",
76
- "800": "255 171 4",
77
- "900": "255 158 2",
78
- ),
79
- "info": (
80
- "": "139 92 246",
81
- "fore": "255 255 255",
82
- "50": "245 243 255",
83
- "100": "237 233 254",
84
- "200": "221 214 254",
85
- "300": "196 181 253",
86
- "400": "167 139 250",
87
- "500": "139 92 246",
88
- "600": "124 58 237",
89
- "700": "109 40 217",
90
- "800": "91 33 182",
91
- "900": "76 29 149",
92
- ),
93
- "light": (
94
- "": "100 116 139",
95
- "fore": "15 23 42",
96
- "50": "248 250 252",
97
- "100": "241 245 249",
98
- "200": "226 232 240",
99
- "300": "203 213 225",
100
- "400": "148 163 184",
101
- "500": "100 116 139",
102
- "600": "71 85 105",
103
- "700": "51 65 85",
104
- "800": "30 41 59",
105
- "900": "15 23 42",
106
- ),
107
- "dark": (
108
- "": "21 21 21",
109
- "fore": "255 255 255",
110
- "50": "227 227 227",
111
- "100": "185 185 185",
112
- "200": "138 138 138",
113
- "300": "91 91 91",
114
- "400": "56 56 56",
115
- "500": "21 21 21",
116
- "600": "18 18 18",
117
- "700": "15 15 15",
118
- "800": "12 12 12",
119
- "900": "6 6 6",
120
- )
121
-
122
- );