cax-design-system 2.7.0 → 2.7.2
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/README.md +1 -1
- package/chips/chips.d.ts +2 -1
- package/esm2022/cascadeselect/cascadeselect.mjs +3 -3
- package/esm2022/chips/chips.mjs +6 -3
- package/esm2022/dropdown/dropdown.mjs +3 -3
- package/esm2022/navigation/navigation.mjs +9 -4
- package/esm2022/table/table.mjs +4 -4
- package/esm2022/upload/upload.component.mjs +52 -40
- package/fesm2022/cax-design-system-cascadeselect.mjs +2 -2
- package/fesm2022/cax-design-system-cascadeselect.mjs.map +1 -1
- package/fesm2022/cax-design-system-chips.mjs +5 -2
- package/fesm2022/cax-design-system-chips.mjs.map +1 -1
- package/fesm2022/cax-design-system-dropdown.mjs +2 -2
- package/fesm2022/cax-design-system-dropdown.mjs.map +1 -1
- package/fesm2022/cax-design-system-navigation.mjs +8 -3
- package/fesm2022/cax-design-system-navigation.mjs.map +1 -1
- package/fesm2022/cax-design-system-table.mjs +3 -3
- package/fesm2022/cax-design-system-table.mjs.map +1 -1
- package/fesm2022/cax-design-system-upload.mjs +51 -39
- package/fesm2022/cax-design-system-upload.mjs.map +1 -1
- package/navigation/navigation.d.ts +2 -1
- package/package.json +189 -189
- package/resources/cax.min.scss +1 -1
- package/resources/cax.scss +201 -176
- package/resources/components/cascadeselect/cascadeselect.scss +4 -3
- package/resources/components/chips/chips.scss +1 -0
- package/resources/components/table/table.scss +1 -1
- package/resources/components/upload/upload.component.scss +0 -2
- package/upload/upload.component.d.ts +10 -4
package/resources/cax.scss
CHANGED
|
@@ -978,140 +978,6 @@
|
|
|
978
978
|
background-color: transparent;
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
|
-
.cax-cascadeselect {
|
|
982
|
-
border: 1px solid var(--neutral-200);
|
|
983
|
-
transition:
|
|
984
|
-
background-color 0.2s,
|
|
985
|
-
color 0.2s,
|
|
986
|
-
border-color 0.2s,
|
|
987
|
-
box-shadow 0.2s,
|
|
988
|
-
outline-color 0.2s;
|
|
989
|
-
border-radius: 7px;
|
|
990
|
-
}
|
|
991
|
-
.cax-cascadeselect:not(.cax-disabled):hover {
|
|
992
|
-
border-color: #52525b;
|
|
993
|
-
}
|
|
994
|
-
.cax-cascadeselect:not(.cax-disabled).cax-focus {
|
|
995
|
-
outline: 1px solid var(--cax-focus-ring-color);
|
|
996
|
-
outline-offset: -1px;
|
|
997
|
-
box-shadow: none;
|
|
998
|
-
border-color: #52525b;
|
|
999
|
-
}
|
|
1000
|
-
.cax-cascadeselect .cax-cascadeselect-label {
|
|
1001
|
-
background: transparent;
|
|
1002
|
-
border: 0 none;
|
|
1003
|
-
padding: 0.65rem 0.75rem;
|
|
1004
|
-
}
|
|
1005
|
-
.cax-cascadeselect .cax-cascadeselect-label.cax-placeholder {
|
|
1006
|
-
color: var(--neutral-400);
|
|
1007
|
-
}
|
|
1008
|
-
.cax-cascadeselect .cax-cascadeselect-label:enabled:focus {
|
|
1009
|
-
outline: 0 none;
|
|
1010
|
-
box-shadow: none;
|
|
1011
|
-
}
|
|
1012
|
-
.cax-cascadeselect .cax-cascadeselect-trigger {
|
|
1013
|
-
background: transparent;
|
|
1014
|
-
color: #a1a1aa;
|
|
1015
|
-
width: 2.5rem;
|
|
1016
|
-
border-top-right-radius: 6px;
|
|
1017
|
-
border-bottom-right-radius: 6px;
|
|
1018
|
-
}
|
|
1019
|
-
.cax-cascadeselect.cax-invalid.cax-component {
|
|
1020
|
-
border-color: #fca5a5;
|
|
1021
|
-
}
|
|
1022
|
-
.cax-cascadeselect.cax-variant-filled {
|
|
1023
|
-
background-color: #27272a;
|
|
1024
|
-
}
|
|
1025
|
-
.cax-cascadeselect.cax-variant-filled:enabled:hover {
|
|
1026
|
-
background-color: #27272a;
|
|
1027
|
-
}
|
|
1028
|
-
.cax-cascadeselect.cax-variant-filled:enabled:focus {
|
|
1029
|
-
background-color: #27272a;
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
.cax-cascadeselect-panel {
|
|
1033
|
-
color: var(--neutral-900);
|
|
1034
|
-
border: 1px solid var(--neutral-200);
|
|
1035
|
-
border-radius: 7px;
|
|
1036
|
-
background: var(--white-100);
|
|
1037
|
-
}
|
|
1038
|
-
.cax-cascadeselect-panel .cax-cascadeselect-items {
|
|
1039
|
-
padding: 0.25rem 0.25rem;
|
|
1040
|
-
}
|
|
1041
|
-
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item {
|
|
1042
|
-
margin: 2px 0;
|
|
1043
|
-
border: 0 none;
|
|
1044
|
-
color: var(--neutral-900);
|
|
1045
|
-
background: var(--white-100);
|
|
1046
|
-
transition:
|
|
1047
|
-
background-color 0.2s,
|
|
1048
|
-
color 0.2s,
|
|
1049
|
-
border-color 0.2s,
|
|
1050
|
-
box-shadow 0.2s,
|
|
1051
|
-
outline-color 0.2s;
|
|
1052
|
-
border-radius: 4px;
|
|
1053
|
-
}
|
|
1054
|
-
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item:first-child {
|
|
1055
|
-
margin-top: 0;
|
|
1056
|
-
}
|
|
1057
|
-
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item.cax-highlight {
|
|
1058
|
-
color: var(--neutral-900);
|
|
1059
|
-
background: var(--neutral-200);
|
|
1060
|
-
}
|
|
1061
|
-
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item.cax-highlight.cax-focus {
|
|
1062
|
-
background: var(--neutral-200);
|
|
1063
|
-
}
|
|
1064
|
-
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item:not(.cax-highlight):not(.cax-disabled).cax-focus {
|
|
1065
|
-
color: var(--neutral-900);
|
|
1066
|
-
background: rgba(255, 255, 255, 0.08);
|
|
1067
|
-
}
|
|
1068
|
-
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item:not(.cax-highlight):not(.cax-disabled):hover {
|
|
1069
|
-
color: var(--neutral-900);
|
|
1070
|
-
background: var(--neutral-100);
|
|
1071
|
-
}
|
|
1072
|
-
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item .cax-cascadeselect-item-content {
|
|
1073
|
-
padding: 0.5rem 0.75rem;
|
|
1074
|
-
}
|
|
1075
|
-
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item .cax-cascadeselect-group-icon {
|
|
1076
|
-
font-size: 0.875rem;
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
.cax-input-filled .cax-cascadeselect {
|
|
1080
|
-
background: #27272a;
|
|
1081
|
-
}
|
|
1082
|
-
.cax-input-filled .cax-cascadeselect:not(.cax-disabled):hover {
|
|
1083
|
-
background-color: #27272a;
|
|
1084
|
-
}
|
|
1085
|
-
.cax-input-filled .cax-cascadeselect:not(.cax-disabled).cax-focus {
|
|
1086
|
-
background-color: #27272a;
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
cax-cascadeselect.ng-dirty.ng-invalid > .cax-cascadeselect {
|
|
1090
|
-
border-color: #fca5a5;
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
cax-cascadeselect.cax-cascadeselect-clearable .cax-cascadeselect-label {
|
|
1094
|
-
padding-right: 0.75rem;
|
|
1095
|
-
}
|
|
1096
|
-
cax-cascadeselect.cax-cascadeselect-clearable .cax-cascadeselect-clear-icon {
|
|
1097
|
-
color: #a1a1aa;
|
|
1098
|
-
right: 2.5rem;
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
.cax-overlay-modal .cax-cascadeselect-sublist .cax-cascadeselect-panel {
|
|
1102
|
-
box-shadow: none;
|
|
1103
|
-
border-radius: 0;
|
|
1104
|
-
padding: 0.25rem 0 0.25rem 0.5rem;
|
|
1105
|
-
}
|
|
1106
|
-
.cax-overlay-modal .cax-cascadeselect-item-active > .cax-cascadeselect-item-content .cax-cascadeselect-group-icon {
|
|
1107
|
-
transform: rotate(90deg);
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
|
-
.cax-overlay-scroll {
|
|
1111
|
-
max-height: 300px;
|
|
1112
|
-
overflow-y: auto;
|
|
1113
|
-
overflow-x: hidden;
|
|
1114
|
-
}
|
|
1115
981
|
|
|
1116
982
|
.cax-input-filled .cax-checkbox .cax-checkbox-box {
|
|
1117
983
|
background-color: #27272a;
|
|
@@ -4859,21 +4725,6 @@
|
|
|
4859
4725
|
background-color: #22d3ee;
|
|
4860
4726
|
}
|
|
4861
4727
|
|
|
4862
|
-
.cax-cascadeselect .cax-cascadeselect-label {
|
|
4863
|
-
box-shadow: none;
|
|
4864
|
-
}
|
|
4865
|
-
.cax-cascadeselect.cax-disabled {
|
|
4866
|
-
opacity: 1;
|
|
4867
|
-
}
|
|
4868
|
-
.cax-cascadeselect.cax-disabled .cax-cascadeselect-label {
|
|
4869
|
-
color: #a1a1aa;
|
|
4870
|
-
}
|
|
4871
|
-
|
|
4872
|
-
div.cax-cascadeselect-panel {
|
|
4873
|
-
border: 0 none;
|
|
4874
|
-
box-shadow: none;
|
|
4875
|
-
}
|
|
4876
|
-
|
|
4877
4728
|
// .cax-checkbox .cax-checkbox-box {
|
|
4878
4729
|
// box-shadow:
|
|
4879
4730
|
// 0 0 #0000,
|
|
@@ -7864,6 +7715,7 @@ cax-inputmask.cax-inputmask-clearable .cax-inputmask-clear-icon {
|
|
|
7864
7715
|
}
|
|
7865
7716
|
.cax-paginator .cax-paginator-page-input .cax-inputtext {
|
|
7866
7717
|
max-width: 3rem;
|
|
7718
|
+
height: 40px !important;
|
|
7867
7719
|
}
|
|
7868
7720
|
.cax-paginator .cax-paginator-current {
|
|
7869
7721
|
background-color: transparent;
|
|
@@ -9296,6 +9148,7 @@ cax-inputmask.cax-inputmask-clearable .cax-inputmask-clear-icon {
|
|
|
9296
9148
|
}
|
|
9297
9149
|
.cax-paginator .cax-paginator-page-input .cax-inputtext {
|
|
9298
9150
|
max-width: 3rem;
|
|
9151
|
+
height: 40px !important;
|
|
9299
9152
|
}
|
|
9300
9153
|
.cax-paginator .cax-paginator-current {
|
|
9301
9154
|
background-color: transparent;
|
|
@@ -10548,10 +10401,6 @@ cax-dropdown.ng-dirty.ng-invalid > .cax-dropdown {
|
|
|
10548
10401
|
padding-bottom: 1rem;
|
|
10549
10402
|
}
|
|
10550
10403
|
|
|
10551
|
-
.cax-timeline-event-content:hover {
|
|
10552
|
-
background: var(--neutral-75);
|
|
10553
|
-
}
|
|
10554
|
-
|
|
10555
10404
|
.cax-timeline.cax-timeline-vertical .cax-timeline-event-connector {
|
|
10556
10405
|
width: 1px;
|
|
10557
10406
|
}
|
|
@@ -11732,19 +11581,35 @@ cax-selectbutton.ng-dirty.ng-invalid > .cax-selectbutton > .cax-button {
|
|
|
11732
11581
|
}
|
|
11733
11582
|
}
|
|
11734
11583
|
|
|
11584
|
+
.cax-chips-label {
|
|
11585
|
+
margin-bottom: 8px;
|
|
11586
|
+
font-weight: 500;
|
|
11587
|
+
color: var(--neutral-900);
|
|
11588
|
+
line-height: 20px;
|
|
11589
|
+
}
|
|
11590
|
+
|
|
11735
11591
|
.cax-chips-size-sm .cax-chips-container {
|
|
11736
11592
|
min-height: 32px;
|
|
11737
11593
|
padding: 0px 8px;
|
|
11594
|
+
.cax-chips-label {
|
|
11595
|
+
font-size: 14px;
|
|
11596
|
+
}
|
|
11738
11597
|
}
|
|
11739
11598
|
|
|
11740
11599
|
.cax-chips-size-md .cax-chips-container {
|
|
11741
11600
|
min-height: 40px;
|
|
11742
11601
|
padding: 0px 8px;
|
|
11602
|
+
.cax-chips-label {
|
|
11603
|
+
font-size: 14px;
|
|
11604
|
+
}
|
|
11743
11605
|
}
|
|
11744
11606
|
|
|
11745
11607
|
.cax-chips-size-lg .cax-chips-container {
|
|
11746
11608
|
min-height: 48px;
|
|
11747
11609
|
padding: 0px 8px;
|
|
11610
|
+
.cax-chips-label {
|
|
11611
|
+
font-size: 16px !important;
|
|
11612
|
+
}
|
|
11748
11613
|
}
|
|
11749
11614
|
|
|
11750
11615
|
.cax-chips-list {
|
|
@@ -12118,6 +11983,102 @@ cax-chips.cax-chips-right-icon .cax-chips-icon-right {
|
|
|
12118
11983
|
color: var(--white-100);
|
|
12119
11984
|
text-decoration: underline;
|
|
12120
11985
|
}
|
|
11986
|
+
|
|
11987
|
+
.cax-cascadeselect {
|
|
11988
|
+
height: 40px;
|
|
11989
|
+
align-items: center;
|
|
11990
|
+
border: var(--border-100) solid var(--neutral-200);
|
|
11991
|
+
border-radius: var(--radius-100);
|
|
11992
|
+
padding: var(--space-100) 10px var(--space-100) 10px;
|
|
11993
|
+
}
|
|
11994
|
+
|
|
11995
|
+
.cax-cascadeselect:not(.cax-disabled):hover {
|
|
11996
|
+
border-color: var(--neutral-300);
|
|
11997
|
+
}
|
|
11998
|
+
.cax-cascadeselect:not(.cax-disabled).cax-focus {
|
|
11999
|
+
outline: none;
|
|
12000
|
+
outline-offset: -1px;
|
|
12001
|
+
box-shadow: none;
|
|
12002
|
+
border-color: var(--primary-500);
|
|
12003
|
+
}
|
|
12004
|
+
.cax-cascadeselect .cax-cascadeselect-label {
|
|
12005
|
+
background: transparent;
|
|
12006
|
+
border: 0 none;
|
|
12007
|
+
}
|
|
12008
|
+
.cax-cascadeselect .cax-cascadeselect-label.cax-placeholder {
|
|
12009
|
+
color: var(--neutral-300);
|
|
12010
|
+
}
|
|
12011
|
+
.cax-cascadeselect .cax-cascadeselect-label:enabled:focus {
|
|
12012
|
+
outline: 0 none;
|
|
12013
|
+
box-shadow: none;
|
|
12014
|
+
}
|
|
12015
|
+
.cax-cascadeselect .cax-cascadeselect-trigger {
|
|
12016
|
+
background: transparent;
|
|
12017
|
+
color: var(--neutral-750);
|
|
12018
|
+
width: 20px;
|
|
12019
|
+
border-top-right-radius: 6px;
|
|
12020
|
+
border-bottom-right-radius: 6px;
|
|
12021
|
+
}
|
|
12022
|
+
.cax-cascadeselect.cax-invalid.cax-component {
|
|
12023
|
+
border-color: #fca5a5;
|
|
12024
|
+
}
|
|
12025
|
+
.cax-cascadeselect.cax-variant-filled {
|
|
12026
|
+
background-color: #27272a;
|
|
12027
|
+
}
|
|
12028
|
+
.cax-cascadeselect.cax-variant-filled:enabled:hover {
|
|
12029
|
+
background-color: #27272a;
|
|
12030
|
+
}
|
|
12031
|
+
.cax-cascadeselect.cax-variant-filled:enabled:focus {
|
|
12032
|
+
background-color: #27272a;
|
|
12033
|
+
}
|
|
12034
|
+
|
|
12035
|
+
.cax-cascadeselect-panel {
|
|
12036
|
+
min-width: 14rem;
|
|
12037
|
+
color: var(--neutral-900);
|
|
12038
|
+
border: var(--border-100) solid var(--neutral-200);
|
|
12039
|
+
border-radius: var(--radius-100);
|
|
12040
|
+
background: var(--white-100);
|
|
12041
|
+
margin-top: var(--space-50);
|
|
12042
|
+
max-height: 300px;
|
|
12043
|
+
overflow-y: auto;
|
|
12044
|
+
overflow-x: hidden;
|
|
12045
|
+
}
|
|
12046
|
+
.cax-cascadeselect-panel .cax-cascadeselect-items {
|
|
12047
|
+
padding: var(--space-150) var(--space-50) var(--space-150) var(--space-50);
|
|
12048
|
+
}
|
|
12049
|
+
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item {
|
|
12050
|
+
margin: 2px 0;
|
|
12051
|
+
border: 0 none;
|
|
12052
|
+
color: var(--neutral-750);
|
|
12053
|
+
background: var(--white-100);
|
|
12054
|
+
}
|
|
12055
|
+
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item:first-child {
|
|
12056
|
+
margin-top: 0;
|
|
12057
|
+
}
|
|
12058
|
+
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item.cax-highlight {
|
|
12059
|
+
color: var(--primary-500);
|
|
12060
|
+
}
|
|
12061
|
+
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item.cax-highlight:hover {
|
|
12062
|
+
background: var(--primary-25);
|
|
12063
|
+
}
|
|
12064
|
+
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item.cax-highlight.cax-focus {
|
|
12065
|
+
// background: var(--neutral-200);
|
|
12066
|
+
}
|
|
12067
|
+
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item:not(.cax-highlight):not(.cax-disabled).cax-focus {
|
|
12068
|
+
color: var(--neutral-900);
|
|
12069
|
+
background: rgba(255, 255, 255, 0.08);
|
|
12070
|
+
}
|
|
12071
|
+
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item:not(.cax-highlight):not(.cax-disabled):hover {
|
|
12072
|
+
color: var(--neutral-900);
|
|
12073
|
+
background: var(--primary-25);
|
|
12074
|
+
}
|
|
12075
|
+
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item .cax-cascadeselect-item-content {
|
|
12076
|
+
padding: 0.5rem 0.75rem;
|
|
12077
|
+
}
|
|
12078
|
+
.cax-cascadeselect-panel .cax-cascadeselect-items .cax-cascadeselect-item .cax-cascadeselect-group-icon {
|
|
12079
|
+
font-size: 0.875rem;
|
|
12080
|
+
}
|
|
12081
|
+
|
|
12121
12082
|
.cax-card {
|
|
12122
12083
|
background: var(--white-900);
|
|
12123
12084
|
color: var(--neutral-900);
|
|
@@ -12171,10 +12132,13 @@ cax-chips.cax-chips-right-icon .cax-chips-icon-right {
|
|
|
12171
12132
|
.cax-column-filter-menu-button:hover {
|
|
12172
12133
|
color: var(--neutral-900);
|
|
12173
12134
|
border-color: transparent;
|
|
12135
|
+
background: var(--primary-100);
|
|
12136
|
+
border-radius: 6px;
|
|
12174
12137
|
}
|
|
12175
12138
|
.cax-column-filter-menu-button.cax-column-filter-menu-button-open,
|
|
12176
12139
|
.cax-column-filter-menu-button.cax-column-filter-menu-button-open:hover {
|
|
12177
12140
|
color: var(--neutral-900);
|
|
12141
|
+
background: var(--primary-100);
|
|
12178
12142
|
}
|
|
12179
12143
|
.cax-column-filter-menu-button.cax-column-filter-menu-button-active,
|
|
12180
12144
|
.cax-column-filter-menu-button.cax-column-filter-menu-button-active:hover {
|
|
@@ -12237,6 +12201,66 @@ cax-chips.cax-chips-right-icon .cax-chips-icon-right {
|
|
|
12237
12201
|
outline-color 0.2s;
|
|
12238
12202
|
border-radius: 4px;
|
|
12239
12203
|
}
|
|
12204
|
+
|
|
12205
|
+
.cax-input-filled .cax-cascadeselect {
|
|
12206
|
+
background: #27272a;
|
|
12207
|
+
}
|
|
12208
|
+
.cax-input-filled .cax-cascadeselect:not(.cax-disabled):hover {
|
|
12209
|
+
background-color: #27272a;
|
|
12210
|
+
}
|
|
12211
|
+
.cax-input-filled .cax-cascadeselect:not(.cax-disabled).cax-focus {
|
|
12212
|
+
background-color: #27272a;
|
|
12213
|
+
}
|
|
12214
|
+
|
|
12215
|
+
cax-cascadeselect.ng-dirty.ng-invalid > .cax-cascadeselect {
|
|
12216
|
+
border-color: #fca5a5;
|
|
12217
|
+
}
|
|
12218
|
+
|
|
12219
|
+
cax-cascadeselect.cax-cascadeselect-clearable .cax-cascadeselect-label {
|
|
12220
|
+
padding-right: 0.75rem;
|
|
12221
|
+
}
|
|
12222
|
+
cax-cascadeselect.cax-cascadeselect-clearable .cax-cascadeselect-clear-icon {
|
|
12223
|
+
color: #a1a1aa;
|
|
12224
|
+
right: 2.5rem;
|
|
12225
|
+
}
|
|
12226
|
+
|
|
12227
|
+
.cax-overlay-modal .cax-cascadeselect-sublist .cax-cascadeselect-panel {
|
|
12228
|
+
box-shadow: none;
|
|
12229
|
+
border-radius: 0;
|
|
12230
|
+
padding: 0.25rem 0 0.25rem 0.5rem;
|
|
12231
|
+
}
|
|
12232
|
+
.cax-overlay-modal .cax-cascadeselect-item-active > .cax-cascadeselect-item-content .cax-cascadeselect-group-icon {
|
|
12233
|
+
transform: rotate(90deg);
|
|
12234
|
+
}
|
|
12235
|
+
|
|
12236
|
+
.cax-cascadeselect .cax-cascadeselect-label {
|
|
12237
|
+
box-shadow: none;
|
|
12238
|
+
}
|
|
12239
|
+
.cax-cascadeselect.cax-disabled {
|
|
12240
|
+
opacity: 1;
|
|
12241
|
+
}
|
|
12242
|
+
.cax-cascadeselect.cax-disabled .cax-cascadeselect-label {
|
|
12243
|
+
color: #a1a1aa;
|
|
12244
|
+
}
|
|
12245
|
+
|
|
12246
|
+
.cax-cascadeselect-sublist {
|
|
12247
|
+
box-shadow:
|
|
12248
|
+
var(--shadow-lg-1) #16181d14,
|
|
12249
|
+
var(--shadow-lg-2) #16181d0f;
|
|
12250
|
+
}
|
|
12251
|
+
|
|
12252
|
+
div.cax-cascadeselect-panel {
|
|
12253
|
+
border: 0 none;
|
|
12254
|
+
box-shadow:
|
|
12255
|
+
var(--shadow-lg-1) #16181d14,
|
|
12256
|
+
var(--shadow-lg-2) #16181d0f;
|
|
12257
|
+
}
|
|
12258
|
+
|
|
12259
|
+
.cax-overlay-scroll {
|
|
12260
|
+
max-height: 300px;
|
|
12261
|
+
overflow-y: auto;
|
|
12262
|
+
overflow-x: hidden;
|
|
12263
|
+
}
|
|
12240
12264
|
.cax-column-filter-overlay .cax-column-filter-row-items .cax-column-filter-row-item:first-child {
|
|
12241
12265
|
margin-top: 0;
|
|
12242
12266
|
}
|
|
@@ -12377,47 +12401,48 @@ cax-chips.cax-chips-right-icon .cax-chips-icon-right {
|
|
|
12377
12401
|
}
|
|
12378
12402
|
.cax-upload-menu{
|
|
12379
12403
|
border: 1px solid var(--neutral-200);
|
|
12380
|
-
&:has(.cax-upload-status.uploading),
|
|
12381
|
-
&:has(.cax-upload-status.complete) {
|
|
12382
|
-
border: 1px solid var(--primary-500);
|
|
12383
|
-
}
|
|
12384
|
-
&:has(.cax-error-upload){
|
|
12385
|
-
border: 1px solid var(--error-600);
|
|
12386
|
-
}
|
|
12387
12404
|
}
|
|
12388
|
-
.cax-
|
|
12389
|
-
|
|
12405
|
+
.cax-upload-menu:has(.cax-upload-status.uploading){
|
|
12406
|
+
border: 1px solid var(--primary-500);
|
|
12407
|
+
}
|
|
12408
|
+
.cax-upload-menu:has(.cax-upload-status.complete){
|
|
12409
|
+
border: 1px solid var(--primary-500);
|
|
12410
|
+
}
|
|
12411
|
+
.cax-upload-menu:has(.cax-error-upload){
|
|
12412
|
+
border: 1px solid var(--error-600);
|
|
12390
12413
|
}
|
|
12391
|
-
.cax-upload
|
|
12392
|
-
|
|
12414
|
+
.cax-error-upload {
|
|
12415
|
+
color: var(--error-600);
|
|
12416
|
+
}
|
|
12417
|
+
.cax-upload-options {
|
|
12418
|
+
.hint-text {
|
|
12393
12419
|
color: var(--neutral-750);
|
|
12394
12420
|
}
|
|
12395
|
-
.drop-files{
|
|
12421
|
+
.drop-files {
|
|
12396
12422
|
color: var(--primary-500);
|
|
12397
12423
|
}
|
|
12398
|
-
.max-size{
|
|
12424
|
+
.max-size {
|
|
12399
12425
|
color: var(--neutral-750);
|
|
12400
12426
|
}
|
|
12401
12427
|
}
|
|
12402
12428
|
|
|
12403
|
-
.cax-upload-option{
|
|
12404
|
-
|
|
12405
|
-
.icon-container{
|
|
12429
|
+
.cax-upload-option {
|
|
12430
|
+
.icon-container {
|
|
12406
12431
|
background: var(--neutral-75);
|
|
12407
12432
|
}
|
|
12408
12433
|
}
|
|
12409
|
-
.cax-file-preview{
|
|
12410
|
-
background-color: var(--neutral-50)
|
|
12434
|
+
.cax-file-preview {
|
|
12435
|
+
background-color: var(--neutral-50);
|
|
12411
12436
|
&.canceled {
|
|
12412
12437
|
background-color: var(--error-50) !important;
|
|
12413
|
-
|
|
12438
|
+
}
|
|
12414
12439
|
}
|
|
12415
12440
|
.status-container {
|
|
12416
|
-
|
|
12417
|
-
background-color: var(
|
|
12441
|
+
.success-icon {
|
|
12442
|
+
background-color: var(--success-500);
|
|
12418
12443
|
|
|
12419
12444
|
i {
|
|
12420
12445
|
color: var(--white-100);
|
|
12421
12446
|
}
|
|
12422
|
-
|
|
12423
|
-
|
|
12447
|
+
}
|
|
12448
|
+
}
|
|
@@ -66,7 +66,8 @@
|
|
|
66
66
|
z-index: 1;
|
|
67
67
|
display: none;
|
|
68
68
|
max-height: 300px;
|
|
69
|
-
|
|
69
|
+
}
|
|
70
|
+
.cax-cascadeselect-items-wrapper {
|
|
70
71
|
overflow-x: hidden;
|
|
71
72
|
}
|
|
72
73
|
|
|
@@ -77,8 +78,8 @@
|
|
|
77
78
|
.cax-cascadeselect-item-active > .cax-cascadeselect-sublist {
|
|
78
79
|
display: block;
|
|
79
80
|
left: 100%;
|
|
80
|
-
top:
|
|
81
|
-
margin-left:
|
|
81
|
+
top: 4px;
|
|
82
|
+
margin-left: 8px;
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
.cax-cascadeselect-clear-icon {
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.cax-upload-menu {
|
|
9
|
-
width: 569px;
|
|
10
9
|
border-radius: 12px;
|
|
11
10
|
padding-top: 24px;
|
|
12
11
|
padding-left: 56px;
|
|
@@ -101,7 +100,6 @@
|
|
|
101
100
|
flex-direction: column;
|
|
102
101
|
gap: 10px;
|
|
103
102
|
margin-top: 1rem;
|
|
104
|
-
width: 569px;
|
|
105
103
|
}
|
|
106
104
|
|
|
107
105
|
.cax-file-preview {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export type UploadFileStatus = 'queued' | 'uploading' | 'complete' | 'canceled' | 'error';
|
|
4
4
|
export type UploadFile = {
|
|
@@ -7,7 +7,7 @@ export type UploadFile = {
|
|
|
7
7
|
progress?: number;
|
|
8
8
|
errorMessage?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare class UploadComponent {
|
|
10
|
+
export declare class UploadComponent implements OnInit {
|
|
11
11
|
invalid: boolean;
|
|
12
12
|
style: {
|
|
13
13
|
[klass: string]: any;
|
|
@@ -17,6 +17,8 @@ export declare class UploadComponent {
|
|
|
17
17
|
uploadString: string;
|
|
18
18
|
errorText: string;
|
|
19
19
|
allowMultiple: boolean;
|
|
20
|
+
componentId: string;
|
|
21
|
+
allowedFileTypes: string[];
|
|
20
22
|
fileSelected: EventEmitter<File>;
|
|
21
23
|
filesQueued: EventEmitter<File[]>;
|
|
22
24
|
uploadStarted: EventEmitter<File>;
|
|
@@ -33,11 +35,16 @@ export declare class UploadComponent {
|
|
|
33
35
|
uploadedFiles: UploadFile[];
|
|
34
36
|
uploadStatus: 'idle' | 'uploading' | 'complete';
|
|
35
37
|
isProcessingQueue: boolean;
|
|
38
|
+
uniqueId: string;
|
|
39
|
+
get acceptFileTypes(): string;
|
|
36
40
|
private get activeFilesCount();
|
|
41
|
+
ngOnInit(): void;
|
|
37
42
|
onDragOver(event: DragEvent): void;
|
|
38
43
|
onDragLeave(event: DragEvent): void;
|
|
39
44
|
onDrop(event: DragEvent): void;
|
|
40
45
|
handleFileInput(event: any): void;
|
|
46
|
+
private validateFile;
|
|
47
|
+
private getFileExtension;
|
|
41
48
|
private queueFile;
|
|
42
49
|
private updateUploadStatus;
|
|
43
50
|
private processQueue;
|
|
@@ -49,7 +56,6 @@ export declare class UploadComponent {
|
|
|
49
56
|
cancelAllUploads(): void;
|
|
50
57
|
removeFile(index: number): void;
|
|
51
58
|
removeAllFiles(): void;
|
|
52
|
-
retryUpload(index: number): void;
|
|
53
59
|
get hasUploading(): boolean;
|
|
54
60
|
get hasQueuedOrUploading(): boolean;
|
|
55
61
|
get hasErrors(): boolean;
|
|
@@ -57,5 +63,5 @@ export declare class UploadComponent {
|
|
|
57
63
|
get uploadingProgressText(): string;
|
|
58
64
|
get overallProgress(): number;
|
|
59
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UploadComponent, "cax-upload", never, { "invalid": { "alias": "invalid"; "required": false; }; "style": { "alias": "style"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "inputFiles": { "alias": "inputFiles"; "required": false; }; "uploadString": { "alias": "uploadString"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "allowMultiple": { "alias": "allowMultiple"; "required": false; }; }, { "fileSelected": "fileSelected"; "filesQueued": "filesQueued"; "uploadStarted": "uploadStarted"; "uploadCompleted": "uploadCompleted"; "uploadCanceled": "uploadCanceled"; "uploadError": "uploadError"; "fileRemoved": "fileRemoved"; "allFilesRemoved": "allFilesRemoved"; "uploadStatusChange": "uploadStatusChange"; }, never, never, false, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadComponent, "cax-upload", never, { "invalid": { "alias": "invalid"; "required": false; }; "style": { "alias": "style"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "inputFiles": { "alias": "inputFiles"; "required": false; }; "uploadString": { "alias": "uploadString"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "allowMultiple": { "alias": "allowMultiple"; "required": false; }; "componentId": { "alias": "componentId"; "required": false; }; "allowedFileTypes": { "alias": "allowedFileTypes"; "required": false; }; }, { "fileSelected": "fileSelected"; "filesQueued": "filesQueued"; "uploadStarted": "uploadStarted"; "uploadCompleted": "uploadCompleted"; "uploadCanceled": "uploadCanceled"; "uploadError": "uploadError"; "fileRemoved": "fileRemoved"; "allFilesRemoved": "allFilesRemoved"; "uploadStatusChange": "uploadStatusChange"; }, never, never, false, never>;
|
|
61
67
|
}
|