@acorex/styles 21.0.0-next.66 → 21.0.0-next.67

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 (82) hide show
  1. package/components/{_action-item.scss → _action-item.css} +12 -37
  2. package/components/{_actionsheet.scss → _actionsheet.css} +13 -9
  3. package/components/{_check-box.scss → _check-box.css} +8 -24
  4. package/components/{_drop-down.scss → _drop-down.css} +18 -17
  5. package/components/_editor-container copy.css +267 -0
  6. package/components/_editor-container.css +82 -0
  7. package/components/_general-button.css +62 -0
  8. package/components/{_list.scss → _list.css} +25 -56
  9. package/components/_radio.css +33 -0
  10. package/components/{_ripple.scss → _ripple.css} +8 -8
  11. package/components/{_table.scss → _table.css} +20 -23
  12. package/components/{_uploader.scss → _uploader.css} +1 -20
  13. package/components/index.css +11 -0
  14. package/icons/fontawesome/_variables.css +229 -0
  15. package/icons/fontawesome/index.css +557 -0
  16. package/icons/huge/huge-bulk/_variables.css +211 -0
  17. package/icons/huge/huge-bulk/index.css +522 -0
  18. package/icons/huge/huge-duotone/_variables.css +211 -0
  19. package/icons/huge/huge-duotone/index.css +519 -0
  20. package/icons/huge/huge-solid-rounded/_variables.css +211 -0
  21. package/icons/huge/huge-solid-rounded/index.css +519 -0
  22. package/icons/huge/huge-solid-sharp/_variables.css +213 -0
  23. package/icons/huge/huge-solid-sharp/index.css +519 -0
  24. package/icons/huge/huge-solid-standard/_variables.css +211 -0
  25. package/icons/huge/huge-solid-standard/index.css +518 -0
  26. package/icons/huge/huge-stroke-rounded/_variables.css +211 -0
  27. package/icons/huge/huge-stroke-rounded/index.css +517 -0
  28. package/icons/huge/huge-stroke-sharp/_variables.css +142 -0
  29. package/icons/huge/huge-stroke-sharp/index.css +517 -0
  30. package/icons/huge/huge-stroke-standard/_variables.css +141 -0
  31. package/icons/huge/huge-stroke-standard/index.css +517 -0
  32. package/icons/huge/huge-twotone/_variables.css +211 -0
  33. package/icons/huge/huge-twotone/index.css +518 -0
  34. package/icons/material/_variables.css +229 -0
  35. package/icons/material/index.css +575 -0
  36. package/index.css +2 -0
  37. package/package.json +7 -4
  38. package/tailwind-base.js +0 -4
  39. package/themes/default.css +3067 -0
  40. package/base/_preflight.scss +0 -421
  41. package/base/index.scss +0 -15
  42. package/components/_editor-container.scss +0 -293
  43. package/components/_general-button.scss +0 -75
  44. package/components/_radio.scss +0 -51
  45. package/components/index.scss +0 -11
  46. package/generators/index.js +0 -1
  47. package/generators/tailwind-class-generator.js +0 -68
  48. package/icons/fontawesome/_variables.scss +0 -227
  49. package/icons/fontawesome/index.scss +0 -714
  50. package/icons/huge/huge-bulk/_variables.scss +0 -209
  51. package/icons/huge/huge-bulk/index.scss +0 -656
  52. package/icons/huge/huge-duotone/_variables.scss +0 -209
  53. package/icons/huge/huge-duotone/index.scss +0 -657
  54. package/icons/huge/huge-solid-rounded/_variables.scss +0 -209
  55. package/icons/huge/huge-solid-rounded/index.scss +0 -643
  56. package/icons/huge/huge-solid-sharp/_variables.scss +0 -209
  57. package/icons/huge/huge-solid-sharp/index.scss +0 -656
  58. package/icons/huge/huge-solid-standard/_variables.scss +0 -209
  59. package/icons/huge/huge-solid-standard/index.scss +0 -656
  60. package/icons/huge/huge-stroke-rounded/_variables.scss +0 -209
  61. package/icons/huge/huge-stroke-rounded/index.scss +0 -656
  62. package/icons/huge/huge-stroke-sharp/_variables.scss +0 -209
  63. package/icons/huge/huge-stroke-sharp/index.scss +0 -656
  64. package/icons/huge/huge-stroke-standard/_variables.scss +0 -209
  65. package/icons/huge/huge-stroke-standard/index.scss +0 -656
  66. package/icons/huge/huge-twotone/_variables.scss +0 -209
  67. package/icons/huge/huge-twotone/index.scss +0 -656
  68. package/icons/material/_variables.scss +0 -227
  69. package/icons/material/index.scss +0 -718
  70. package/index.scss +0 -7
  71. package/mixins/_editor-looks.scss +0 -32
  72. package/mixins/_media.scss +0 -73
  73. package/mixins/_scroll-bar.scss +0 -35
  74. package/mixins/_util.scss +0 -19
  75. package/mixins/index.scss +0 -4
  76. package/themes/default.scss +0 -74
  77. package/utils/_theme-generator.scss +0 -238
  78. package/utils/_utils.scss +0 -278
  79. package/utils/index.scss +0 -2
  80. package/variables/_colors.scss +0 -14
  81. package/variables/_looks.scss +0 -1
  82. package/variables/index.scss +0 -2
@@ -1,75 +0,0 @@
1
- .ax-general-button {
2
- display: inline-flex;
3
- height: var(--ax-sys-size-base);
4
- cursor: pointer;
5
- align-items: center;
6
- justify-content: center;
7
- border-radius: var(--ax-sys-border-radius);
8
- padding-left: var(--ax-comp-general-button-padding-left, 1rem);
9
- padding-right: var(--ax-comp-general-button-padding-right, 1rem);
10
- font-size: 0.875rem;
11
- line-height: 1.25rem;
12
- color: rgb(var(--ax-sys-color-on-surface), 0.75);
13
-
14
- &:hover {
15
- &:not(&:disabled, .ax-state-disabled) {
16
- color: rgba(var(--ax-sys-color-primary-500), var(--tw-text-opacity));
17
- }
18
- }
19
-
20
- &:focus,
21
- &:focus-visible {
22
- &:not(&:disabled, .ax-state-disabled) {
23
- color: rgba(var(--ax-sys-color-primary-700), var(--tw-text-opacity));
24
- }
25
- }
26
-
27
- &:active {
28
- &:not(&:disabled, .ax-state-disabled) {
29
- color: rgba(var(--ax-sys-color-primary-300), var(--tw-text-opacity));
30
- }
31
- }
32
-
33
- &.ax-button-icon {
34
- padding-left: var(--ax-comp-general-button-padding-left, 0.5rem);
35
- padding-right: var(--ax-comp-general-button-padding-right, 0.5rem);
36
- font-size: 100%;
37
- > button {
38
- display: flex;
39
- }
40
- }
41
- &.ax-button-rounded {
42
- border-radius: var(--ax-sys-border-radius);
43
- }
44
- &:disabled,
45
- &.ax-state-disabled {
46
- cursor: not-allowed;
47
- opacity: 0.5;
48
- }
49
- }
50
- .ax-clear-button {
51
- display: inline-flex;
52
- height: var(--ax-sys-size-base);
53
- align-items: center;
54
- justify-content: center;
55
- margin-left: 0.25rem;
56
- margin-right: 0.25rem;
57
- font-size: 1rem /* 16px */;
58
- line-height: 1.5rem /* 24px */;
59
- color: rgb(var(--ax-sys-color-on-surface), 0.75);
60
-
61
- > button {
62
- display: flex;
63
- }
64
- &:hover {
65
- &:not(&:disabled, .ax-state-disabled) {
66
- color: rgb(var(--ax-sys-color-on-surface), 0.5);
67
- }
68
- }
69
- &:focus,
70
- &:focus-visible {
71
- &:not(&:disabled, .ax-state-disabled) {
72
- color: rgb(var(--ax-sys-color-on-surface));
73
- }
74
- }
75
- }
@@ -1,51 +0,0 @@
1
- @use '../mixins/index.scss';
2
-
3
- .ax-radio {
4
- margin: 0px;
5
- height: 1rem /* 16px */;
6
- min-height: 1rem /* 16px */;
7
- min-width: 1rem /* 16px */;
8
- width: 1rem /* 16px */;
9
- cursor: pointer;
10
- appearance: none;
11
- border-radius: 9999px /* 4px */;
12
- border-width: 1px;
13
- border-color: rgba(var(--ax-sys-color-border-surface));
14
- background-color: rgba(var(--ax-sys-color-input-surface));
15
- vertical-align: middle;
16
- outline: 2px solid transparent;
17
- outline-offset: 2px;
18
-
19
- &:checked {
20
- border-color: rgba(var(--ax-sys-color-primary-500)) !important;
21
- background-color: rgba(var(--ax-sys-color-primary-500)) !important;
22
- background-size: contain;
23
- background-repeat: no-repeat;
24
- }
25
-
26
- &:checked {
27
- 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");
28
- }
29
-
30
- &:focus-visible,
31
- &:focus {
32
- box-shadow:
33
- 0px 0px 0px 2px rgba(var(--ax-sys-color-surface)),
34
- 0px 0px 0px 4px rgba(var(--ax-sys-color-primary-500));
35
- }
36
-
37
- &:disabled {
38
- cursor: not-allowed;
39
- opacity: 0.5;
40
- }
41
- }
42
-
43
- // @include darkMode() {
44
- // .ax-checkbox {
45
- // &:checked {
46
- // border-color: rgba(var(--ax-sys-color-primary-200)) !important;
47
- // background-color: rgba(var(--ax-sys-color-primary-200)) !important;
48
- // background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='black' 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");
49
- // }
50
- // }
51
- // }
@@ -1,11 +0,0 @@
1
- @forward './action-item';
2
- @forward './actionsheet';
3
- @forward './check-box';
4
- @forward './drop-down';
5
- @forward './editor-container';
6
- @forward './general-button';
7
- @forward './list';
8
- @forward './radio';
9
- @forward './ripple';
10
- @forward './table';
11
- @forward './uploader';
@@ -1 +0,0 @@
1
- export * from './tailwind-class-generator';
@@ -1,68 +0,0 @@
1
- /**
2
- * You can give it the variable name you added in the theme file as input and generate color range classes from 50 to 950.
3
- */
4
- const variations = ['lightest', 'lighter', 'light', 'surface', 'dark', 'darker', 'darkest'];
5
-
6
- export const createPalette = function (colorName) {
7
- const shades = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950];
8
- const palette = {
9
- DEFAULT: `rgba(var(--ax-sys-color-${colorName}-500), <alpha-value>)`,
10
- default: `rgba(var(--ax-sys-color-${colorName}-500), <alpha-value>)`,
11
- };
12
-
13
- shades.forEach((shade) => {
14
- palette[shade] = `rgba(var(--ax-sys-color-${colorName}-${shade}), <alpha-value>)`;
15
- });
16
-
17
- return palette;
18
- };
19
-
20
- /**
21
- * To be able to create additional color classes you need to use the createSurface.
22
- * This function generates seven surface colors. Also, if you want to have surfaces in all Tailwind properties, you can put them in colors.
23
- */
24
- export const createSurfaces = function (colorName) {
25
- return variations.reduce((surfaces, variation) => {
26
- const surfaceVariant = variation === 'surface' ? '' : '-surface';
27
- surfaces[variation] = `rgba(var(--ax-sys-color-${colorName}-${variation}${surfaceVariant}), <alpha-value>)`;
28
- return surfaces;
29
- }, {});
30
- };
31
-
32
- /**
33
- * The on surface color is based on the surface color of the same name,
34
- * so you can generate it with createOnSurface for both text and other colors.
35
- */
36
- export const createOnSurfaces = function (colorName) {
37
- return variations.reduce((onSurfaces, variation) => {
38
- const surfaceVariant = variation === 'surface' ? '' : '-surface';
39
- const key = variation === 'contrast' ? `on-${variation}` : `on-${variation}`;
40
- onSurfaces[key] = `rgba(var(--ax-sys-color-on-${colorName}-${variation}${surfaceVariant}), <alpha-value>)`;
41
- return onSurfaces;
42
- }, {});
43
- };
44
-
45
- /**
46
- * The board color is only used for border colors, which you can generate with the createBorderSurfaces function.
47
- */
48
- export const createBorderSurfaces = function (colorName) {
49
- return variations.reduce((borderSurfaces, variation) => {
50
- const surfaceVariant = variation === 'surface' ? '' : '-surface';
51
- borderSurfaces[variation] =
52
- `rgba(var(--ax-sys-color-border-${colorName}-${variation}${surfaceVariant}), <alpha-value>)`;
53
- return borderSurfaces;
54
- }, {});
55
- };
56
-
57
- export function createColoredSurfaces(colorName) {
58
- return variations.reduce((classes, variation) => {
59
- const surfaceVariant = variation === 'surface' ? '' : '-surface';
60
-
61
- classes[`.${colorName}-${variation}`] = {
62
- backgroundColor: `rgb(var(--ax-sys-color-${colorName}-${variation}${surfaceVariant}))`,
63
- color: `rgb(var(--ax-sys-color-on-${colorName}-${variation}${surfaceVariant}))`,
64
- borderColor: `rgb(var(--ax-sys-color-border-${colorName}-${variation}${surfaceVariant}))`,
65
- };
66
- return classes;
67
- }, {});
68
- }
@@ -1,227 +0,0 @@
1
- $ax-icon-more-horizontal: '\f141';
2
- $ax-icon-more-horizontal-after: '';
3
-
4
- $ax-icon-more-vertical: '\f142';
5
- $ax-icon-more-vertical-after: '';
6
-
7
- $ax-icon-arrow-long-up: '\f176';
8
- $ax-icon-arrow-long-up-after: '';
9
-
10
- $ax-icon-arrow-long-down: '\f175';
11
- $ax-icon-arrow-long-down-after: '';
12
-
13
- $ax-icon-color-palette: '\f53f';
14
- $ax-icon-color-palette-after: '';
15
-
16
- $ax-icon-arrow-left: '\f0d9';
17
- $ax-icon-arrow-left-after: '';
18
-
19
- $ax-icon-arrow-down: '\f0d7';
20
- $ax-icon-arrow-down-after: '';
21
-
22
- $ax-icon-arrow-up: '\f0d8';
23
- $ax-icon-arrow-up-after: '';
24
-
25
- $ax-icon-arrow-right: '\f0da';
26
- $ax-icon-arrow-right-after: '';
27
-
28
- $ax-icon-chevron-left: '\f053';
29
- $ax-icon-chevron-left-after: '';
30
-
31
- $ax-icon-chevron-down: '\f078';
32
- $ax-icon-chevron-down-after: '';
33
-
34
- $ax-icon-chevron-up: '\f077';
35
- $ax-icon-chevron-up-after: '';
36
-
37
- $ax-icon-chevron-right: '\f054';
38
- $ax-icon-chevron-right-after: '';
39
-
40
- $ax-icon-chevron-double-right: '\f324';
41
- $ax-icon-chevron-double-right-after: '';
42
-
43
- $ax-icon-chevron-double-left: '\f323';
44
- $ax-icon-chevron-double-left-after: '';
45
-
46
- $ax-icon-first-page: '\f33e';
47
- $ax-icon-first-page-after: '';
48
-
49
- $ax-icon-last-page: '\f340';
50
- $ax-icon-last-page-after: '';
51
-
52
- $ax-icon-calendar: '\f133';
53
- $ax-icon-calendar-after: '';
54
-
55
- $ax-icon-info: '\f05a';
56
- $ax-icon-info-after: '';
57
-
58
- $ax-icon-error: '\f06a';
59
- $ax-icon-error-after: '';
60
-
61
- $ax-icon-warning: '\f071';
62
- $ax-icon-warning-after: '';
63
-
64
- $ax-icon-check: '\f00c';
65
- $ax-icon-check-after: '';
66
-
67
- $ax-icon-check-circle: '\f058';
68
- $ax-icon-check-circle-after: '';
69
-
70
- $ax-icon-dobble-check: '\f560';
71
- $ax-icon-dobble-check-after: '';
72
-
73
- $ax-icon-close: '\f00d';
74
- $ax-icon-close-after: '';
75
-
76
- $ax-icon-clear: '\f057';
77
- $ax-icon-clear-after: '';
78
-
79
- $ax-icon-visibility-off: '\f070';
80
- $ax-icon-visibility-off-after: '';
81
-
82
- $ax-icon-visibility: '\f06e';
83
- $ax-icon-visibility-after: '';
84
-
85
- $ax-icon-unfold-more: '\f0dc';
86
- $ax-icon-unfold-more-after: '';
87
-
88
- $ax-icon-download: '\f019';
89
- $ax-icon-download-after: '';
90
-
91
- $ax-icon-upload: '\e09a';
92
- $ax-icon-upload-after: '';
93
-
94
- $ax-icon-search: '\f002';
95
- $ax-icon-search-after: '';
96
-
97
- $ax-icon-copy: '\f0c5';
98
- $ax-icon-copy-after: '';
99
-
100
- $ax-icon-refresh: '\f021';
101
- $ax-icon-refresh-after: '';
102
-
103
- $ax-icon-inbox: '\f01c';
104
- $ax-icon-inbox-after: '';
105
-
106
- $ax-icon-emoji: '\f118';
107
- $ax-icon-emoji-after: '';
108
-
109
- $ax-icon-attach: '\f0c6';
110
- $ax-icon-attach-after: '';
111
-
112
- $ax-icon-mic: '\f130';
113
- $ax-icon-mic-after: '';
114
-
115
- $ax-icon-send: '\f1d8';
116
- $ax-icon-send-after: '';
117
-
118
- $ax-icon-play: '\f04b';
119
- $ax-icon-play-after: '';
120
-
121
- $ax-icon-pause: '\f04c';
122
- $ax-icon-pause-after: '';
123
-
124
- $ax-icon-reload: '\f2f9';
125
- $ax-icon-reload-after: '';
126
-
127
- $ax-icon-heart: '\f004';
128
- $ax-icon-heart-after: '';
129
-
130
- $ax-icon-comment: '\f075';
131
- $ax-icon-comment-after: '';
132
-
133
- $ax-icon-bold: '\f032';
134
- $ax-icon-bold-after: '';
135
-
136
- $ax-icon-italic: '\f033';
137
- $ax-icon-italic-after: '';
138
-
139
- $ax-icon-strike: '\f0cc';
140
- $ax-icon-strike-after: '';
141
-
142
- $ax-icon-under-line: '\f0cd';
143
- $ax-icon-under-line-after: '';
144
-
145
- $ax-icon-order-list: '\f0cb';
146
- $ax-icon-order-list-after: '';
147
-
148
- $ax-icon-un-order-list: '\f0ca';
149
- $ax-icon-un-order-list-after: '';
150
-
151
- $ax-icon-align-left: '\f036';
152
- $ax-icon-align-left-after: '';
153
-
154
- $ax-icon-align-right: '\f038';
155
- $ax-icon-align-right-after: '';
156
-
157
- $ax-icon-align-center: '\f037';
158
- $ax-icon-align-center-after: '';
159
-
160
- $ax-icon-align-justify: '\f039';
161
- $ax-icon-align-justify-after: '';
162
-
163
- $ax-icon-undo: '\f0e2';
164
- $ax-icon-undo-after: '';
165
-
166
- $ax-icon-redo: '\f01e';
167
- $ax-icon-redo-after: '';
168
-
169
- $ax-icon-highlight: '\f591';
170
- $ax-icon-highlight-after: '';
171
-
172
- $ax-icon-link: '\f0c1';
173
- $ax-icon-link-after: '';
174
-
175
- $ax-icon-image: '\f03e';
176
- $ax-icon-image-after: '';
177
-
178
- $ax-icon-pen: '\f304';
179
- $ax-icon-pen-after: '';
180
-
181
- $ax-icon-eraser: '\f12d';
182
- $ax-icon-eraser-after: '';
183
-
184
- $ax-icon-pen-ruler: '\f5ae';
185
- $ax-icon-pen-ruler-after: '';
186
-
187
- $ax-icon-crop: '\f125';
188
- $ax-icon-crop-after: '';
189
-
190
- $ax-icon-full-screen: '\f065';
191
- $ax-icon-full-screen-after: '';
192
-
193
- $ax-icon-up-folder: '\e632';
194
- $ax-icon-up-folder-after: '';
195
-
196
- $ax-icon-sort: '\e0ae';
197
- $ax-icon-sort-after: '';
198
-
199
- $ax-icon-menu: '\f0c9';
200
- $ax-icon-menu-after: '';
201
-
202
- $ax-icon-plus: '\2b';
203
- $ax-icon-plus-after: '';
204
-
205
- $ax-icon-trash: '\f1f8';
206
- $ax-icon-trash-after: '';
207
-
208
- $ax-icon-arrow-turn-right: '\e635';
209
- $ax-icon-arrow-turn-right-after: '';
210
-
211
- $ax-icon-arrow-turn-left: '\e632';
212
- $ax-icon-arrow-turn-left-after: '';
213
-
214
- $ax-icon-save: '\f0c7';
215
- $ax-icon-save-after: '';
216
-
217
- $ax-icon-minimize: '\f068';
218
- $ax-icon-minimize-after: '';
219
-
220
- $ax-icon-maximize: '\f31d';
221
- $ax-icon-maximize-after: '';
222
-
223
- $ax-icon-code: '\f121';
224
- $ax-icon-code-after: '';
225
-
226
- $ax-icon-paragraph: '\f1dd';
227
- $ax-icon-paragraph-after: '';