@yoobic/yobi 7.7.89 → 7.7.90
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/dist/cjs/{form-helpers-71b62854.js → form-helpers-0502fee8.js} +3 -0
- package/dist/cjs/{form-helpers-0b6c3054.js → form-helpers-a5c25eed.js} +1 -1
- package/dist/cjs/{grid-renderers-f5edc87d.js → grid-renderers-267d1c4b.js} +2 -2
- package/dist/cjs/{index-4e7dd1d7.js → index-8bd0f481.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/yoo-action-sheet-controller_15.cjs.entry.js +5 -5
- package/dist/cjs/yoo-ag-grid_96.cjs.entry.js +3 -4
- package/dist/cjs/yoo-alert.cjs.entry.js +1 -1
- package/dist/cjs/yoo-camera-preview-dialog_7.cjs.entry.js +2 -2
- package/dist/cjs/yoo-card-list-image_12.cjs.entry.js +3 -3
- package/dist/cjs/yoo-form-choice_4.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-creator-block-expandable.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-creator-block-simple_4.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-creator-card_2.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-creator-field-selector_8.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-creator-translate-dialog.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-creator.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-json.cjs.entry.js +2 -2
- package/dist/cjs/yoo-lesson-question-result.cjs.entry.js +1 -1
- package/dist/collection/components/form/form-choice/form-choice.js +2 -2
- package/dist/collection/components/form/form-input/form-input.css +43 -62
- package/dist/collection/components/form/form-input/form-input.js +1 -1
- package/dist/collection/components/form/form-number-picker/form-number-picker.js +0 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/p-0c6722b2.entry.js +1 -0
- package/dist/design-system/p-162863e1.js +1 -0
- package/dist/design-system/{p-16951157.entry.js → p-1bdec8f9.entry.js} +1 -1
- package/dist/design-system/{p-41e155f7.entry.js → p-225955a0.entry.js} +2 -2
- package/dist/design-system/{p-4f7b5084.entry.js → p-22e60fbb.entry.js} +1 -1
- package/dist/design-system/{p-27145597.entry.js → p-5b4236d7.entry.js} +1 -1
- package/dist/design-system/{p-466a2e4b.entry.js → p-84f195e7.entry.js} +1 -1
- package/dist/design-system/{p-2ede5c0e.entry.js → p-9d398089.entry.js} +1 -1
- package/dist/design-system/{p-57f5b030.entry.js → p-a0e90dbc.entry.js} +1 -1
- package/dist/design-system/{p-9d8da4a0.entry.js → p-a24d3b2d.entry.js} +1 -1
- package/dist/design-system/{p-db36fb06.js → p-b4a5082b.js} +1 -1
- package/dist/design-system/{p-2a056ca7.entry.js → p-c15153ae.entry.js} +1 -1
- package/dist/design-system/{p-e8327344.entry.js → p-c889ea5f.entry.js} +1 -1
- package/dist/design-system/{p-2f6b3544.js → p-cee65dce.js} +1 -1
- package/dist/design-system/p-d40ba5d3.entry.js +1 -0
- package/dist/design-system/{p-bab8cef4.entry.js → p-d99c971f.entry.js} +1 -1
- package/dist/design-system/{p-ef754e66.js → p-dc0ffca9.js} +1 -1
- package/dist/design-system/{p-1fbf2bdc.entry.js → p-f2b30788.entry.js} +1 -1
- package/dist/esm/{form-helpers-1b9c9641.js → form-helpers-493c6572.js} +3 -0
- package/dist/esm/{form-helpers-63173698.js → form-helpers-4d1f67ff.js} +1 -1
- package/dist/esm/{grid-renderers-1dd42472.js → grid-renderers-caf8ca7e.js} +2 -2
- package/dist/esm/{index-6f7890f4.js → index-83d04081.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/yoo-action-sheet-controller_15.entry.js +5 -5
- package/dist/esm/yoo-ag-grid_96.entry.js +3 -4
- package/dist/esm/yoo-alert.entry.js +1 -1
- package/dist/esm/yoo-camera-preview-dialog_7.entry.js +2 -2
- package/dist/esm/yoo-card-list-image_12.entry.js +3 -3
- package/dist/esm/yoo-form-choice_4.entry.js +4 -4
- package/dist/esm/yoo-form-creator-block-expandable.entry.js +2 -2
- package/dist/esm/yoo-form-creator-block-simple_4.entry.js +2 -2
- package/dist/esm/yoo-form-creator-card_2.entry.js +2 -2
- package/dist/esm/yoo-form-creator-field-selector_8.entry.js +2 -2
- package/dist/esm/yoo-form-creator-translate-dialog.entry.js +2 -2
- package/dist/esm/yoo-form-creator.entry.js +2 -2
- package/dist/esm/yoo-form-json.entry.js +2 -2
- package/dist/esm/yoo-lesson-question-result.entry.js +1 -1
- package/package.json +1 -1
- package/dist/design-system/p-41bd35bc.entry.js +0 -1
- package/dist/design-system/p-b038a7bd.js +0 -1
- package/dist/design-system/p-db225b69.entry.js +0 -1
|
@@ -224,9 +224,9 @@ export class YooFormChoiceComponent {
|
|
|
224
224
|
values = values.filter(({ text }) => answers.some((answer) => answer === text));
|
|
225
225
|
}
|
|
226
226
|
return (h("div", { class: { 'images-container': true, readonly: this.readonly } }, values.map((value, index) => {
|
|
227
|
-
var _a;
|
|
228
227
|
const { text, image } = value || {};
|
|
229
|
-
const
|
|
228
|
+
const answer = this.type === 'image' ? [].concat(this.answer).map(a => a.text ? a.text : a) : this.answer;
|
|
229
|
+
const isCorrect = (answer === null || answer === void 0 ? void 0 : answer.length) <= 0 ? null : answer.includes(text);
|
|
230
230
|
return image && (h("div", { class: "image-container", onClick: () => this.isHistory && onOpenImage(values, index), style: this.animated ? { '--choice-index': index.toString() } : {} },
|
|
231
231
|
h("div", { class: { 'image-content': true, 'correct-answer': this.readonly && isCorrect === true, 'wrong-answer': this.readonly && isCorrect === false } },
|
|
232
232
|
image && h("yoo-img", { cloudinaryOptions: { pad: true }, scaledUp: this.isPdf, src: image, onClick: () => !readonly && this.onItemSelect(text) }),
|
|
@@ -865,23 +865,20 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
865
865
|
box-sizing: border-box;
|
|
866
866
|
direction: ltr;
|
|
867
867
|
background: var(--input-background-color);
|
|
868
|
-
border: 0.0625rem solid var(--stable-alt-to-light-60, #d0d0d0);
|
|
868
|
+
border: var(--border-width-01, 0.0625rem) solid var(--stable-alt-to-light-60, #d0d0d0);
|
|
869
869
|
border-radius: var(--border-radius-08, 0.5rem);
|
|
870
870
|
}
|
|
871
871
|
:host .input-container.noborder {
|
|
872
872
|
border: none !important;
|
|
873
873
|
}
|
|
874
874
|
:host .input-container.valid {
|
|
875
|
-
border: 0.0625rem solid var(--app-color);
|
|
875
|
+
border: var(--border-width-01, 0.0625rem) solid var(--app-color);
|
|
876
876
|
}
|
|
877
877
|
:host .input-container.invalid {
|
|
878
|
-
border: 0.0625rem solid var(--danger, #d44333);
|
|
879
|
-
}
|
|
880
|
-
:host .input-container.invalid .valid-icon yoo-icon {
|
|
881
|
-
fill: var(--danger, #d44333);
|
|
878
|
+
border: var(--border-width-01, 0.0625rem) solid var(--danger, #d44333);
|
|
882
879
|
}
|
|
883
880
|
:host .input-container.focused {
|
|
884
|
-
border: 0.0625rem solid var(--input-border-color);
|
|
881
|
+
border: var(--border-width-01, 0.0625rem) solid var(--input-border-color);
|
|
885
882
|
}
|
|
886
883
|
:host .input-container.focused .valid-icon {
|
|
887
884
|
display: none;
|
|
@@ -891,7 +888,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
891
888
|
display: flex;
|
|
892
889
|
flex-direction: row;
|
|
893
890
|
align-items: center;
|
|
894
|
-
padding: 0.5rem;
|
|
891
|
+
padding: var(--spacing-08, 0.5rem);
|
|
895
892
|
color: inherit;
|
|
896
893
|
}
|
|
897
894
|
:host .input-container .icon-prefix {
|
|
@@ -909,7 +906,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
909
906
|
display: flex;
|
|
910
907
|
flex-direction: row;
|
|
911
908
|
align-items: center;
|
|
912
|
-
padding: 0.5rem;
|
|
909
|
+
padding: var(--spacing-08, 0.5rem);
|
|
913
910
|
color: inherit;
|
|
914
911
|
display: none;
|
|
915
912
|
padding-right: var(--spacing-10-deprecated, 0.625rem);
|
|
@@ -918,9 +915,6 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
918
915
|
display: flex;
|
|
919
916
|
flex-direction: row;
|
|
920
917
|
}
|
|
921
|
-
:host .input-container .valid-icon yoo-icon {
|
|
922
|
-
fill: var(--app-color);
|
|
923
|
-
}
|
|
924
918
|
:host .input-container .valid-icon.valid {
|
|
925
919
|
color: var(--app-color);
|
|
926
920
|
}
|
|
@@ -931,7 +925,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
931
925
|
display: flex;
|
|
932
926
|
flex-direction: row;
|
|
933
927
|
align-items: center;
|
|
934
|
-
padding: 0.5rem;
|
|
928
|
+
padding: var(--spacing-08, 0.5rem);
|
|
935
929
|
color: inherit;
|
|
936
930
|
}
|
|
937
931
|
:host .input-container .icon-suffix-focus {
|
|
@@ -965,7 +959,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
965
959
|
flex: 1;
|
|
966
960
|
width: 100%;
|
|
967
961
|
min-width: 0;
|
|
968
|
-
padding: 0.5rem;
|
|
962
|
+
padding: var(--spacing-08, 0.5rem);
|
|
969
963
|
color: inherit;
|
|
970
964
|
font-weight: var(--font-weight-400, 400);
|
|
971
965
|
font-size: var(--input-font-size);
|
|
@@ -975,7 +969,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
975
969
|
background: transparent;
|
|
976
970
|
border: none;
|
|
977
971
|
border-radius: var(--border-radius-08, 0.5rem);
|
|
978
|
-
box-shadow: transparent
|
|
972
|
+
box-shadow: transparent 0 0 0 62.5rem inset;
|
|
979
973
|
-webkit-appearance: none;
|
|
980
974
|
caret-color: var(--caret-color);
|
|
981
975
|
}
|
|
@@ -1009,34 +1003,34 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
1009
1003
|
padding-left: 0;
|
|
1010
1004
|
}
|
|
1011
1005
|
:host .placeholderlabel {
|
|
1012
|
-
margin-top: 0.5rem;
|
|
1006
|
+
margin-top: var(--spacing-08, 0.5rem);
|
|
1013
1007
|
}
|
|
1014
1008
|
:host .placeholderlabel.active {
|
|
1015
|
-
margin-top:
|
|
1009
|
+
margin-top: 0;
|
|
1016
1010
|
}
|
|
1017
1011
|
:host .label {
|
|
1018
|
-
margin-bottom: 0.25rem;
|
|
1019
|
-
padding-left: 0.5rem;
|
|
1012
|
+
margin-bottom: var(--spacing-04, 0.25rem);
|
|
1013
|
+
padding-left: var(--spacing-08, 0.5rem);
|
|
1020
1014
|
color: var(--input-text-color);
|
|
1021
1015
|
font-size: var(--font-size-16, 1rem);
|
|
1022
1016
|
line-height: 1.5;
|
|
1023
|
-
letter-spacing:
|
|
1017
|
+
letter-spacing: var(--spacing-02, 0.125rem);
|
|
1024
1018
|
text-align: left;
|
|
1025
1019
|
transform: translateY(1.875rem);
|
|
1026
1020
|
transition: transform 0.2s ease-in;
|
|
1027
1021
|
}
|
|
1028
1022
|
:host .label.active {
|
|
1029
|
-
margin-top: 0.25rem;
|
|
1023
|
+
margin-top: var(--spacing-04, 0.25rem);
|
|
1030
1024
|
transform: translateY(0rem);
|
|
1031
1025
|
}
|
|
1032
1026
|
:host .label .label-required {
|
|
1033
|
-
margin-left: 0.25rem;
|
|
1027
|
+
margin-left: var(--spacing-04, 0.25rem);
|
|
1034
1028
|
color: var(--danger, #d44333);
|
|
1035
1029
|
}
|
|
1036
1030
|
:host .invalid-message {
|
|
1037
1031
|
display: none;
|
|
1038
|
-
min-height:
|
|
1039
|
-
padding-top: 0.125rem;
|
|
1032
|
+
min-height: 0.9375rem;
|
|
1033
|
+
padding-top: var(--spacing-02, 0.125rem);
|
|
1040
1034
|
color: var(--danger, #d44333);
|
|
1041
1035
|
font-size: var(--font-size-12, 0.75rem);
|
|
1042
1036
|
letter-spacing: initial;
|
|
@@ -1124,37 +1118,29 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
1124
1118
|
|
|
1125
1119
|
:host(.simple) .input-container {
|
|
1126
1120
|
border: none;
|
|
1127
|
-
border-bottom: 0.0625rem solid var(--stable-alt, #d0d0d0);
|
|
1121
|
+
border-bottom: var(--border-width-01, 0.0625rem) solid var(--stable-alt, #d0d0d0);
|
|
1128
1122
|
}
|
|
1129
1123
|
:host(.simple) .input-container input {
|
|
1130
|
-
padding: 0.5rem 0;
|
|
1124
|
+
padding: var(--spacing-08, 0.5rem) 0;
|
|
1131
1125
|
}
|
|
1132
1126
|
:host(.simple) .input-container .icon-suffix {
|
|
1133
|
-
padding:
|
|
1134
|
-
padding-right: 0.5rem;
|
|
1135
|
-
padding-left: 0.5rem;
|
|
1127
|
+
padding: 0 var(--spacing-08, 0.5rem);
|
|
1136
1128
|
background: var(--light-to-dark, #ffffff);
|
|
1137
1129
|
border: none;
|
|
1138
1130
|
}
|
|
1139
1131
|
:host(.simple) .input-container .icon-prefix {
|
|
1140
|
-
padding:
|
|
1141
|
-
padding-right: 0.5rem;
|
|
1142
|
-
padding-left: 0.5rem;
|
|
1132
|
+
padding: 0 var(--spacing-08, 0.5rem);
|
|
1143
1133
|
background: var(--light-to-dark, #ffffff);
|
|
1144
1134
|
border: none;
|
|
1145
1135
|
}
|
|
1146
1136
|
|
|
1147
1137
|
:host(.simple-icon) .input-container .icon-suffix {
|
|
1148
|
-
padding:
|
|
1149
|
-
padding-right: 0.5rem;
|
|
1150
|
-
padding-left: 0.5rem;
|
|
1138
|
+
padding: 0 var(--spacing-08, 0.5rem);
|
|
1151
1139
|
background: var(--light-to-dark, #ffffff);
|
|
1152
1140
|
border: none;
|
|
1153
1141
|
}
|
|
1154
1142
|
:host(.simple-icon) .input-container .icon-prefix {
|
|
1155
|
-
padding:
|
|
1156
|
-
padding-right: 0.5rem;
|
|
1157
|
-
padding-left: 0.5rem;
|
|
1143
|
+
padding: 0 var(--spacing-08, 0.5rem);
|
|
1158
1144
|
background: var(--light-to-dark, #ffffff);
|
|
1159
1145
|
border: none;
|
|
1160
1146
|
}
|
|
@@ -1181,36 +1167,33 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
1181
1167
|
max-height: 2.25rem;
|
|
1182
1168
|
overflow: hidden;
|
|
1183
1169
|
background: var(--light-to-dark, #ffffff);
|
|
1184
|
-
border:
|
|
1185
|
-
border:
|
|
1186
|
-
border-radius: 0.5rem;
|
|
1170
|
+
border: var(--border-width-01, 0.0625rem) solid var(--stable-alt, #d0d0d0);
|
|
1171
|
+
border-radius: var(--spacing-08, 0.5rem);
|
|
1187
1172
|
transition: all 0.3s;
|
|
1188
1173
|
animation: fadeIn 0.6s forwards;
|
|
1189
1174
|
}
|
|
1190
1175
|
:host(.search) .input-container.focused {
|
|
1191
|
-
border: 0.0625rem solid var(--dark-to-light, #000000);
|
|
1176
|
+
border: var(--border-width-01, 0.0625rem) solid var(--dark-to-light, #000000);
|
|
1192
1177
|
}
|
|
1193
1178
|
:host(.search) .input-container .icon-prefix {
|
|
1194
1179
|
border-right: none;
|
|
1195
|
-
border-top-left-radius: 0.5rem;
|
|
1196
|
-
border-bottom-left-radius: 0.5rem;
|
|
1180
|
+
border-top-left-radius: var(--spacing-08, 0.5rem);
|
|
1181
|
+
border-bottom-left-radius: var(--spacing-08, 0.5rem);
|
|
1197
1182
|
transition: all 0.3s;
|
|
1198
1183
|
}
|
|
1199
1184
|
:host(.search) .input-container .icon-prefix yoo-icon {
|
|
1200
1185
|
fill: var(--stable-to-light, #adadad);
|
|
1201
1186
|
}
|
|
1202
1187
|
:host(.search) .input-container .icon-suffix {
|
|
1203
|
-
border-top-right-radius: 0.5rem;
|
|
1204
|
-
border-bottom-right-radius: 0.5rem;
|
|
1188
|
+
border-top-right-radius: var(--spacing-08, 0.5rem);
|
|
1189
|
+
border-bottom-right-radius: var(--spacing-08, 0.5rem);
|
|
1205
1190
|
transition: all 0.3s;
|
|
1206
1191
|
}
|
|
1207
1192
|
:host(.search) .input-container input {
|
|
1208
1193
|
padding: 0.1875rem var(--spacing-10-deprecated, 0.625rem);
|
|
1209
1194
|
background: var(--light-to-dark, #ffffff);
|
|
1210
|
-
border-radius: 0.5rem;
|
|
1211
|
-
|
|
1212
|
-
border-bottom-left-radius: 0rem;
|
|
1213
|
-
box-shadow: var(--light-to-dark, #ffffff) 0px 0px 0px 1000px inset;
|
|
1195
|
+
border-radius: 0 var(--spacing-08, 0.5rem) var(--spacing-08, 0.5rem) 0;
|
|
1196
|
+
box-shadow: var(--light-to-dark, #ffffff) 0 0 0 62.5rem inset;
|
|
1214
1197
|
transition: all 0.3s;
|
|
1215
1198
|
}
|
|
1216
1199
|
:host(.search) .input-container input::-webkit-input-placeholder {
|
|
@@ -1231,8 +1214,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
1231
1214
|
}
|
|
1232
1215
|
:host(.search) .input-container .icon-prefix,
|
|
1233
1216
|
:host(.search) .input-container .icon-suffix {
|
|
1234
|
-
padding: 0.1875rem 0;
|
|
1235
|
-
padding-left: 0.75rem;
|
|
1217
|
+
padding: 0.1875rem 0 0.1875rem 0.75rem;
|
|
1236
1218
|
background: var(--light-to-dark, #ffffff);
|
|
1237
1219
|
}
|
|
1238
1220
|
:host(.search) .input-container .valid-icon {
|
|
@@ -1247,7 +1229,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
1247
1229
|
}
|
|
1248
1230
|
|
|
1249
1231
|
:host(.search.disabled) .input-container {
|
|
1250
|
-
border: 0.0625rem solid var(--stable-ultralight-to-light-10, #fafafa);
|
|
1232
|
+
border: var(--border-width-01, 0.0625rem) solid var(--stable-ultralight-to-light-10, #fafafa);
|
|
1251
1233
|
}
|
|
1252
1234
|
:host(.search.disabled) .input-container .icon-prefix,
|
|
1253
1235
|
:host(.search.disabled) .input-container .icon-suffix {
|
|
@@ -1270,11 +1252,11 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
1270
1252
|
}
|
|
1271
1253
|
|
|
1272
1254
|
:host(.grid-search.web) {
|
|
1255
|
+
--input-font-size: var(--font-size-14);
|
|
1273
1256
|
flex: unset;
|
|
1274
1257
|
width: 100%;
|
|
1275
1258
|
min-width: 6rem;
|
|
1276
1259
|
max-width: 12.5rem;
|
|
1277
|
-
--input-font-size: var(--font-size-14);
|
|
1278
1260
|
}
|
|
1279
1261
|
:host(.grid-search.web) .input-container {
|
|
1280
1262
|
background: var(--stable-light-60-to-light-20, rgba(241, 241, 241, 0.6));
|
|
@@ -1285,7 +1267,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
1285
1267
|
}
|
|
1286
1268
|
:host(.grid-search.web) .input-container input {
|
|
1287
1269
|
background: transparent;
|
|
1288
|
-
box-shadow: transparent
|
|
1270
|
+
box-shadow: transparent 0 0 0 62.5rem inset;
|
|
1289
1271
|
}
|
|
1290
1272
|
|
|
1291
1273
|
:host(.drop-down.web) .input-container {
|
|
@@ -1315,8 +1297,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
1315
1297
|
|
|
1316
1298
|
:host(.drop-down) .input-container {
|
|
1317
1299
|
background: transparent;
|
|
1318
|
-
border: none;
|
|
1319
|
-
border-color: var(--light, #ffffff);
|
|
1300
|
+
border: none var(--light, #ffffff);
|
|
1320
1301
|
}
|
|
1321
1302
|
:host(.drop-down) .input-container .icon-prefix {
|
|
1322
1303
|
padding-left: 0;
|
|
@@ -1324,8 +1305,8 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
1324
1305
|
|
|
1325
1306
|
:host(.web-menu) .input-container {
|
|
1326
1307
|
width: 100%;
|
|
1327
|
-
max-width:
|
|
1328
|
-
height:
|
|
1308
|
+
max-width: 15.625rem;
|
|
1309
|
+
height: 1.5rem;
|
|
1329
1310
|
color: var(--stable, #adadad);
|
|
1330
1311
|
background: var(--stable-light, #f1f1f1);
|
|
1331
1312
|
border: none;
|
|
@@ -1342,7 +1323,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
1342
1323
|
}
|
|
1343
1324
|
|
|
1344
1325
|
:host(.photos-tab) {
|
|
1345
|
-
padding-left: 2.5rem !important;
|
|
1326
|
+
padding-left: var(--spacing-40, 2.5rem) !important;
|
|
1346
1327
|
}
|
|
1347
1328
|
|
|
1348
1329
|
:host(.full-width) {
|
|
@@ -1362,7 +1343,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
1362
1343
|
border-color: var(--stable-alt, #d0d0d0);
|
|
1363
1344
|
}
|
|
1364
1345
|
:host(.has-checkbox) .input-container input {
|
|
1365
|
-
border-radius:
|
|
1346
|
+
border-radius: 0.3125rem 0 0.3125rem 0;
|
|
1366
1347
|
}
|
|
1367
1348
|
:host(.has-checkbox) .input-container .icon-suffix-focus.hide {
|
|
1368
1349
|
display: none;
|
|
@@ -1419,7 +1400,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
1419
1400
|
:host(.accordion-search) .input-container {
|
|
1420
1401
|
height: 1.875rem;
|
|
1421
1402
|
background-color: var(--stable-ultralight-to-light-10, #fafafa);
|
|
1422
|
-
border: 0.0625rem solid var(--stable-light, #f1f1f1);
|
|
1403
|
+
border: var(--border-width-01, 0.0625rem) solid var(--stable-light, #f1f1f1);
|
|
1423
1404
|
}
|
|
1424
1405
|
:host(.accordion-search) .input-container input,
|
|
1425
1406
|
:host(.accordion-search) .input-container .icon-prefix {
|
|
@@ -363,7 +363,7 @@ export class YooFormInputComponent {
|
|
|
363
363
|
this.host.classList.contains('warning') && h("div", { class: "warning-icon" }),
|
|
364
364
|
(hasValue && !isNullOrUndefined(this.validity) && this.uiValidation && this.uiValidation.valid && this.validity) ||
|
|
365
365
|
(this.uiValidation.invalid && this.validity === false && (h("div", { class: 'valid-icon ' + (this.validity ? 'valid' : 'invalid' + (this.clearable && hasValue && this.type === 'password' && this.showPasswordToggle ? '' : ' last')) },
|
|
366
|
-
h("yoo-icon", { name: this.validity ? 'check' : 'rejected', size: this.getIconSize() })))),
|
|
366
|
+
h("yoo-icon", { color: this.validity ? 'app-color' : 'danger', name: this.validity ? 'check' : 'rejected', size: this.getIconSize() })))),
|
|
367
367
|
this.type === 'password' && this.showPasswordToggle && (h("div", { class: 'icon-suffix-focus' + (this.clearable && hasValue ? '' : ' last'), onClick: this.onShowPassword.bind(this) }, hasValue && h("yoo-icon", { size: this.getIconSize(), name: "eye", color: this.inputType === 'password' ? 'stable-alt' : 'light' }))),
|
|
368
368
|
this.clearable && !((_b = this.checkboxParams) === null || _b === void 0 ? void 0 : _b.value) && (h("div", { class: { 'icon-suffix-focus last icon-close': true }, style: { display: hasValue ? undefined : 'none' }, onClick: () => (hasValue ? this.clearInput() : null) },
|
|
369
369
|
h("yoo-icon", { size: this.getIconSize(), name: "cross" }))),
|