@acorex/styles 18.16.0-next.9 → 19.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/icons/fontawesome/fontawesome.scss +1 -1
- package/icons/huge/huge-bulk/_variables.scss +6 -0
- package/icons/huge/huge-bulk/bulk-rounded.scss +1 -1
- package/icons/huge/huge-duotone/_variables.scss +6 -0
- package/icons/huge/huge-duotone/duotone-rounded.scss +1 -1
- package/icons/huge/huge-solid/solid-rounded.scss +1 -1
- package/icons/huge/huge-solid/solid-sharp.scss +1 -1
- package/icons/huge/huge-solid/solid-standard.scss +1 -1
- package/icons/huge/huge-solid/variables/_rounded-variables.scss +6 -0
- package/icons/huge/huge-solid/variables/_sharp-variables.scss +6 -0
- package/icons/huge/huge-solid/variables/_standard-variables.scss +6 -0
- package/icons/huge/huge-stroke/stroke-rounded.scss +1 -1
- package/icons/huge/huge-stroke/stroke-sharp.scss +1 -1
- package/icons/huge/huge-stroke/stroke-standard.scss +1 -1
- package/icons/huge/huge-stroke/variables/_rounded-variables.scss +6 -0
- package/icons/huge/huge-stroke/variables/_sharp-variables.scss +6 -0
- package/icons/huge/huge-stroke/variables/_standard-variables.scss +6 -0
- package/icons/huge/huge-twotone/_variables.scss +6 -0
- package/icons/huge/huge-twotone/twotone-rounded.scss +1 -1
- package/icons/index.scss +130 -128
- package/icons/material/material.scss +1 -1
- package/index.css +54 -0
- package/index.min.css +1 -1
- package/index.scss +7 -7
- package/package.json +2 -2
- package/src/base/index.scss +1 -1
- package/src/mixins/index.scss +3 -3
- package/src/shared/_check-box.scss +1 -1
- package/src/shared/_color-look.scss +17 -6
- package/src/shared/_drop-down.scss +4 -4
- package/src/shared/_editor-container.scss +7 -6
- package/src/shared/_list.scss +4 -4
- package/src/shared/_radio.scss +1 -1
- package/src/shared/_table.scss +3 -3
- package/src/shared/_utils.scss +3 -2
- package/src/shared/index.scss +12 -12
- package/src/variables/index.scss +2 -2
package/index.scss
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
@
|
1
|
+
@forward './src/base/preflight';
|
2
|
+
@forward './src/variables/colors';
|
2
3
|
|
3
|
-
@
|
4
|
-
@
|
4
|
+
@forward './src/base/index.scss';
|
5
|
+
@forward './src/mixins/index.scss';
|
6
|
+
@forward './src/shared/index.scss';
|
7
|
+
@forward './src/utility/index.scss';
|
5
8
|
|
6
|
-
@import '
|
7
|
-
@import './src/mixins/index.scss';
|
8
|
-
@import './src/shared/index.scss';
|
9
|
-
@import './src/utility/index.scss';
|
9
|
+
@import '@angular/cdk/overlay-prebuilt.css';
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/styles",
|
3
|
-
"version": "
|
3
|
+
"version": "19.0.0",
|
4
4
|
"main": "index.js",
|
5
5
|
"author": "Ali Safari",
|
6
6
|
"license": "ISC",
|
7
7
|
"peerDependencies": {
|
8
8
|
"animated-tailwindcss": ">=4.0.0",
|
9
|
-
"tailwindcss": ">=3.4.
|
9
|
+
"tailwindcss": ">=3.4.13"
|
10
10
|
}
|
11
11
|
}
|
package/src/base/index.scss
CHANGED
package/src/mixins/index.scss
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
@
|
2
|
-
@
|
3
|
-
@
|
1
|
+
@forward './look';
|
2
|
+
@forward './media';
|
3
|
+
@forward './util';
|
@@ -1,7 +1,8 @@
|
|
1
|
-
@
|
1
|
+
@use '../variables/colors';
|
2
|
+
@use '../mixins/util';
|
2
3
|
|
3
|
-
@each $color in
|
4
|
-
@each $look in
|
4
|
+
@each $color in colors.$color_names {
|
5
|
+
@each $look in colors.$look_names {
|
5
6
|
@if ($look == 'solid') {
|
6
7
|
.ax-el-#{$color}-#{$look} {
|
7
8
|
// @apply ax-bg-#{$color}-500 ax-text-#{$color}-fore ax-border-#{$color}-500;
|
@@ -463,8 +464,8 @@
|
|
463
464
|
}
|
464
465
|
|
465
466
|
@mixin color-look-dark-mode {
|
466
|
-
@each $color in
|
467
|
-
@each $look in
|
467
|
+
@each $color in colors.$color_names {
|
468
|
+
@each $look in colors.$look_names {
|
468
469
|
@if ($look == 'solid') {
|
469
470
|
.ax-el-#{$color}-#{$look} {
|
470
471
|
// @apply ax-bg-#{$color}-200 ax-text-#{$color}-fore-tint ax-border-#{$color}-200;
|
@@ -472,6 +473,10 @@
|
|
472
473
|
color: rgba(var(--ax-color-#{$color}-fore-tint));
|
473
474
|
border-color: rgba(var(--ax-color-#{$color}-200));
|
474
475
|
&.ax-el-interactive {
|
476
|
+
.ax-action-item-suffix ax-text {
|
477
|
+
color: rgba(var(--ax-color-#{$color}-800));
|
478
|
+
}
|
479
|
+
|
475
480
|
&:hover {
|
476
481
|
&:not(.ax-state-disabled) {
|
477
482
|
// @apply ax-bg-#{$color}-300 ax-text-#{$color}-fore-tint;
|
@@ -561,6 +566,9 @@
|
|
561
566
|
// @apply ax-text-#{$color}-500;
|
562
567
|
background-color: rgba(var(--ax-color-#{$color}-200));
|
563
568
|
color: rgba(var(--ax-color-#{$color}-fore-tint));
|
569
|
+
.ax-action-item-suffix ax-text {
|
570
|
+
color: rgba(var(--ax-color-#{$color}-800));
|
571
|
+
}
|
564
572
|
}
|
565
573
|
}
|
566
574
|
}
|
@@ -590,6 +598,9 @@
|
|
590
598
|
}
|
591
599
|
@if ($look == 'twotone') {
|
592
600
|
.ax-el-#{$color}-#{$look} {
|
601
|
+
.ax-action-item-suffix ax-text {
|
602
|
+
color: rgba(var(--ax-color-#{$color}-800));
|
603
|
+
}
|
593
604
|
// @apply ax-bg-#{$color}-200 ax-text-#{$color}-fore-tint ax-border-#{$color}-200;
|
594
605
|
|
595
606
|
background-color: rgba(var(--ax-color-#{$color}-200));
|
@@ -806,6 +817,6 @@
|
|
806
817
|
}
|
807
818
|
}
|
808
819
|
|
809
|
-
@include darkMode() {
|
820
|
+
@include util.darkMode() {
|
810
821
|
@include color-look-dark-mode();
|
811
822
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
@
|
2
|
-
@
|
1
|
+
@use '../variables/index.scss';
|
2
|
+
@use '../mixins/index.scss' as mixins;
|
3
3
|
.ax-drop-down {
|
4
4
|
// @apply ax-contents;
|
5
5
|
display: contents;
|
@@ -37,10 +37,10 @@
|
|
37
37
|
--ax-shadow-colored: 0 4px 6px -1px var(--ax-shadow-color), 0 2px 4px -2px var(--ax-shadow-color);
|
38
38
|
box-shadow: var(--ax-ring-offset-shadow, 0 0 #0000), var(--ax-ring-shadow, 0 0 #0000), var(--ax-shadow);
|
39
39
|
|
40
|
-
@include media('md') {
|
40
|
+
@include mixins.media('md') {
|
41
41
|
border-radius: var(--ax-rounded-border-default);
|
42
42
|
}
|
43
|
-
@include media('xs') {
|
43
|
+
@include mixins.media('xs') {
|
44
44
|
margin: 0;
|
45
45
|
}
|
46
46
|
ax-header,
|
@@ -1,6 +1,7 @@
|
|
1
|
-
@
|
1
|
+
@use '../mixins/look';
|
2
|
+
@use '../mixins/util';
|
2
3
|
|
3
|
-
@include darkMode() {
|
4
|
+
@include util.darkMode() {
|
4
5
|
.ax-editor-container {
|
5
6
|
&.ax-look-fill {
|
6
7
|
&.ax-state-error {
|
@@ -39,16 +40,16 @@
|
|
39
40
|
}
|
40
41
|
&.ax-look-solid,
|
41
42
|
&.ax-look-outline {
|
42
|
-
@include solid-look();
|
43
|
+
@include look.solid-look();
|
43
44
|
}
|
44
45
|
&.ax-look-flat {
|
45
|
-
@include flat-look();
|
46
|
+
@include look.flat-look();
|
46
47
|
}
|
47
48
|
&.ax-look-outline {
|
48
|
-
@include outline-look();
|
49
|
+
@include look.outline-look();
|
49
50
|
}
|
50
51
|
&.ax-look-fill {
|
51
|
-
@include fill-look();
|
52
|
+
@include look.fill-look();
|
52
53
|
}
|
53
54
|
|
54
55
|
.ax-editor-input {
|
package/src/shared/_list.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
@
|
2
|
-
@include darkMode() {
|
1
|
+
@use '../mixins/index.scss' as mixins;
|
2
|
+
@include mixins.darkMode() {
|
3
3
|
.ax-list-item {
|
4
4
|
&.ax-state-selected {
|
5
5
|
// @apply ax-bg-primary-800 ax-text-primary-fore #{!important};
|
@@ -22,7 +22,7 @@
|
|
22
22
|
background-color: rgba(var(--ax-color-surface));
|
23
23
|
font-size: 0.875rem /* 14px */;
|
24
24
|
line-height: 1.25rem /* 20px */;
|
25
|
-
@include media('md') {
|
25
|
+
@include mixins.media('md') {
|
26
26
|
max-height: 20rem /* 320px */;
|
27
27
|
}
|
28
28
|
ax-header,
|
@@ -42,7 +42,7 @@
|
|
42
42
|
font-size: 1rem /* 16px */;
|
43
43
|
line-height: 1.5rem /* 24px */;
|
44
44
|
font-weight: 500;
|
45
|
-
@include media('md') {
|
45
|
+
@include mixins.media('md') {
|
46
46
|
font-size: 1.125rem /* 18px */;
|
47
47
|
line-height: 1.75rem /* 28px */;
|
48
48
|
}
|
package/src/shared/_radio.scss
CHANGED
package/src/shared/_table.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
@
|
2
|
-
@include darkMode() {
|
1
|
+
@use '../mixins/index.scss' as mixins;
|
2
|
+
@include mixins.darkMode() {
|
3
3
|
.ax-table {
|
4
4
|
thead {
|
5
5
|
// @apply ax-bg-on-surface;
|
@@ -94,7 +94,7 @@
|
|
94
94
|
}
|
95
95
|
}
|
96
96
|
}
|
97
|
-
@include mediaLessThan('xs') {
|
97
|
+
@include mixins.mediaLessThan('xs') {
|
98
98
|
&.ax-table-responsive {
|
99
99
|
// @apply ax-block ax-break-words ax-border-0;
|
100
100
|
display: block;
|
package/src/shared/_utils.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
@
|
1
|
+
@use '../variables/index.scss';
|
2
|
+
@use '../mixins/util';
|
2
3
|
|
3
4
|
[class*=' ax-icon-'],
|
4
5
|
[class^='ax-icon-'] {
|
@@ -74,7 +75,7 @@
|
|
74
75
|
.ax-select-none * {
|
75
76
|
user-select: none !important;
|
76
77
|
}
|
77
|
-
@include darkMode() {
|
78
|
+
@include util.darkMode() {
|
78
79
|
.ax-uploader-overlay-state {
|
79
80
|
// @apply ax-bg-primary-800/75 ax-text-primary-fore ax-outline-primary-fore;
|
80
81
|
background-color: rgba(var(--ax-color-primary-800), 0.75);
|
package/src/shared/index.scss
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
@
|
2
|
-
@
|
3
|
-
@
|
4
|
-
@
|
5
|
-
@
|
6
|
-
@
|
7
|
-
@
|
8
|
-
@
|
9
|
-
@
|
10
|
-
@
|
11
|
-
@
|
12
|
-
@
|
1
|
+
@forward './action-item';
|
2
|
+
@forward './actionsheet';
|
3
|
+
@forward './check-box';
|
4
|
+
@forward './color-look';
|
5
|
+
@forward './drop-down';
|
6
|
+
@forward './editor-container';
|
7
|
+
@forward './general-button';
|
8
|
+
@forward './inputs';
|
9
|
+
@forward './list';
|
10
|
+
@forward './radio';
|
11
|
+
@forward './table';
|
12
|
+
@forward './utils';
|
package/src/variables/index.scss
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
@
|
2
|
-
@
|
1
|
+
@forward './colors';
|
2
|
+
@forward './degrees';
|