@ldmjs/ui 2.1.5 → 2.1.7
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/components/ld-button.js +1 -1
- package/dist/components/ld-calendar.js +1 -1
- package/dist/components/ld-combobox.js +1 -1
- package/dist/components/ld-datepicker.js +1 -1
- package/dist/components/ld-dialog.js +1 -1
- package/dist/components/ld-edit-list-box.js +1 -1
- package/dist/components/ld-edit-masked-text.js +1 -1
- package/dist/components/ld-expansion-panel.js +1 -1
- package/dist/components/ld-expansion-panels.js +1 -1
- package/dist/components/ld-page-toolbar.js +1 -1
- package/dist/components/ld-radiogroup.js +1 -1
- package/dist/components/ld-select-list-box.js +1 -1
- package/dist/components/ld-select.js +1 -1
- package/dist/components/ld-tabs.js +1 -1
- package/dist/components/ld-text-viewer.js +1 -1
- package/dist/index.js +1 -1
- package/dist/scss/_buttons.scss +3 -1
- package/dist/scss/_dialogs.scss +8 -5
- package/dist/scss/_expansions.scss +1 -0
- package/dist/scss/_inputs.scss +87 -5
- package/dist/scss/_tabs.scss +120 -152
- package/dist/scss/_textviewer.scss +22 -4
- package/dist/scss/index.scss +6 -0
- package/dist/types/dialogs.d.ts +79 -128
- package/package.json +4 -4
package/dist/scss/_inputs.scss
CHANGED
|
@@ -581,6 +581,54 @@ body {
|
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
+
|
|
585
|
+
$index: 0;
|
|
586
|
+
@each $color, $values in $colors {
|
|
587
|
+
$index: $index + 1;
|
|
588
|
+
$prefix: #{selector.append('--', $color)};
|
|
589
|
+
|
|
590
|
+
&:not(.ld-datepicker--readonly) {
|
|
591
|
+
.ld-datepicker-time-field {
|
|
592
|
+
.ld-timepicker {
|
|
593
|
+
$parent: utils.getParent(&);
|
|
594
|
+
&#{utils.getSelector($parent, $prefix)} {
|
|
595
|
+
$default: '';
|
|
596
|
+
$hover : '';
|
|
597
|
+
@each $key, $value in $values {
|
|
598
|
+
@if $key == "default" {
|
|
599
|
+
$default: $value;
|
|
600
|
+
}
|
|
601
|
+
@if $key == "hover" {
|
|
602
|
+
$hover: $value;
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.v-input.v-input--readonly {
|
|
607
|
+
.v-field.v-field--variant-outlined {
|
|
608
|
+
.v-field__outline__start {
|
|
609
|
+
border-color: $default !important;
|
|
610
|
+
}
|
|
611
|
+
.v-field__outline__end {
|
|
612
|
+
border-color: $default !important;
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
&:hover {
|
|
617
|
+
.v-field.v-field--variant-outlined {
|
|
618
|
+
.v-field__outline__start {
|
|
619
|
+
border-color: $hover !important;
|
|
620
|
+
}
|
|
621
|
+
.v-field__outline__end {
|
|
622
|
+
border-color: $hover !important;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}
|
|
584
632
|
}
|
|
585
633
|
|
|
586
634
|
.ld-daterange {
|
|
@@ -757,6 +805,18 @@ body {
|
|
|
757
805
|
}
|
|
758
806
|
}
|
|
759
807
|
}
|
|
808
|
+
|
|
809
|
+
&.ld-select-list-box--grey {
|
|
810
|
+
.v-input {
|
|
811
|
+
&.v-input--readonly {
|
|
812
|
+
.v-input__append {
|
|
813
|
+
&:after {
|
|
814
|
+
border-color: var(--grey-l-6);
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
}
|
|
760
820
|
}
|
|
761
821
|
|
|
762
822
|
.ld-textarea {
|
|
@@ -838,6 +898,7 @@ body {
|
|
|
838
898
|
|
|
839
899
|
.v-field {
|
|
840
900
|
position: relative;
|
|
901
|
+
background-color: var(--white);
|
|
841
902
|
|
|
842
903
|
.v-field__clearable {
|
|
843
904
|
position: absolute;
|
|
@@ -1044,19 +1105,23 @@ body {
|
|
|
1044
1105
|
}
|
|
1045
1106
|
}
|
|
1046
1107
|
|
|
1047
|
-
input::placeholder
|
|
1108
|
+
input::placeholder,
|
|
1109
|
+
textarea::placeholder {
|
|
1048
1110
|
color: var(--grey-d-1) !important;
|
|
1049
1111
|
}
|
|
1050
1112
|
|
|
1051
|
-
input::-ms-input-placeholder
|
|
1113
|
+
input::-ms-input-placeholder,
|
|
1114
|
+
textarea::-ms-input-placeholder {
|
|
1052
1115
|
color: var(--grey-d-1) !important;
|
|
1053
1116
|
}
|
|
1054
1117
|
|
|
1055
|
-
input::-webkit-input-placeholder
|
|
1118
|
+
input::-webkit-input-placeholder,
|
|
1119
|
+
textarea::-webkit-input-placeholder {
|
|
1056
1120
|
color: var(--grey-d-1) !important;
|
|
1057
1121
|
}
|
|
1058
1122
|
|
|
1059
|
-
input:-moz-placeholder
|
|
1123
|
+
input:-moz-placeholder,
|
|
1124
|
+
textarea:-moz-placeholder {
|
|
1060
1125
|
color: var(--grey-d-1) !important;
|
|
1061
1126
|
}
|
|
1062
1127
|
|
|
@@ -1066,21 +1131,38 @@ input[disabled] {
|
|
|
1066
1131
|
color: var(--grey-l-2);
|
|
1067
1132
|
}
|
|
1068
1133
|
|
|
1134
|
+
textarea.disabled,
|
|
1135
|
+
textarea[disabled] {
|
|
1136
|
+
background-color: var(--grey-l-6);
|
|
1137
|
+
color: var(--grey-l-2);
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1069
1140
|
input {
|
|
1070
1141
|
outline: none;
|
|
1071
1142
|
}
|
|
1072
1143
|
|
|
1144
|
+
textarea {
|
|
1145
|
+
outline: none;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1073
1148
|
input:focus {
|
|
1074
1149
|
outline: none;
|
|
1075
1150
|
}
|
|
1076
1151
|
|
|
1152
|
+
textarea:focus {
|
|
1153
|
+
outline: none;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1077
1156
|
input:-webkit-autofill,
|
|
1078
1157
|
input:-webkit-autofill:hover,
|
|
1079
1158
|
input:-webkit-autofill:focus textarea:-webkit-autofill,
|
|
1080
1159
|
textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
|
|
1081
1160
|
select:-webkit-autofill,
|
|
1082
1161
|
select:-webkit-autofill:hover,
|
|
1083
|
-
select:-webkit-autofill:focus
|
|
1162
|
+
select:-webkit-autofill:focus,
|
|
1163
|
+
textarea:-webkit-autofill,
|
|
1164
|
+
textarea:-webkit-autofill:hover,
|
|
1165
|
+
textarea:-webkit-autofill:focus {
|
|
1084
1166
|
-webkit-background-clip: text;
|
|
1085
1167
|
background-clip: text;
|
|
1086
1168
|
}
|
package/dist/scss/_tabs.scss
CHANGED
|
@@ -48,15 +48,66 @@ body {
|
|
|
48
48
|
flex: 1 1 auto;
|
|
49
49
|
|
|
50
50
|
.v-tabs {
|
|
51
|
+
.v-btn.v-tab {
|
|
52
|
+
width: 100%;
|
|
53
|
+
.v-btn__content {
|
|
54
|
+
justify-content: flex-start;
|
|
55
|
+
width: 100%;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
51
58
|
.v-slide-group__prev {
|
|
52
59
|
display: none;
|
|
53
60
|
}
|
|
54
61
|
.v-slide-group__next {
|
|
55
62
|
display: none;
|
|
56
63
|
}
|
|
64
|
+
.v-slide-group__content {
|
|
65
|
+
flex-flow: column nowrap;
|
|
66
|
+
height: 100% !important;
|
|
67
|
+
width: 100% !important;
|
|
68
|
+
|
|
69
|
+
.v-btn__content {
|
|
70
|
+
text-overflow: ellipsis;
|
|
71
|
+
display: inline-flex;
|
|
72
|
+
justify-content: flex-start;
|
|
73
|
+
gap: 4px;
|
|
74
|
+
white-space: nowrap;
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ld-tab-header {
|
|
81
|
+
font-family: var(--medium);
|
|
57
82
|
}
|
|
58
83
|
}
|
|
59
84
|
}
|
|
85
|
+
|
|
86
|
+
// --------- small
|
|
87
|
+
|
|
88
|
+
&.ld-tabs--small {
|
|
89
|
+
.ld-tab-header {
|
|
90
|
+
font-size: var(--text-body-s);
|
|
91
|
+
height: var(--tabs-s) !important;
|
|
92
|
+
}
|
|
93
|
+
.v-btn.v-tab {
|
|
94
|
+
font-size: var(--text-body-s);
|
|
95
|
+
height: var(--tabs-s) !important;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// --------- large
|
|
100
|
+
|
|
101
|
+
&.ld-tabs--large {
|
|
102
|
+
.ld-tab-header {
|
|
103
|
+
font-size: var(--text-body-m);
|
|
104
|
+
height: var(--tabs-l) !important;
|
|
105
|
+
}
|
|
106
|
+
.v-btn.v-tab {
|
|
107
|
+
font-size: var(--text-body-m);
|
|
108
|
+
height: var(--tabs-l) !important;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
60
111
|
}
|
|
61
112
|
|
|
62
113
|
// --------- horizontal
|
|
@@ -73,6 +124,42 @@ body {
|
|
|
73
124
|
.v-slide-group__next {
|
|
74
125
|
display: flex;
|
|
75
126
|
}
|
|
127
|
+
|
|
128
|
+
.v-tab {
|
|
129
|
+
&.v-btn {
|
|
130
|
+
border-width: 0 0 2px 0;
|
|
131
|
+
border-style: solid;
|
|
132
|
+
border-color: transparent;
|
|
133
|
+
min-width: 80px;
|
|
134
|
+
padding: 0 12px;
|
|
135
|
+
|
|
136
|
+
&:hover {
|
|
137
|
+
border-color: var(--grey-l-3);
|
|
138
|
+
color: var(--text);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&.v-tab--selected {
|
|
142
|
+
border-color: var(--primary);
|
|
143
|
+
color: var(--primary);
|
|
144
|
+
|
|
145
|
+
&.v-btn--disabled {
|
|
146
|
+
border-color: var(--grey-l-2);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&:after {
|
|
151
|
+
content: '';
|
|
152
|
+
position: absolute;
|
|
153
|
+
top: 0;
|
|
154
|
+
left: 0;
|
|
155
|
+
display: block;
|
|
156
|
+
width: 100%;
|
|
157
|
+
border-radius: var(--border-radius);
|
|
158
|
+
border: 2px solid var(--focus);
|
|
159
|
+
opacity: 0;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
76
163
|
}
|
|
77
164
|
}
|
|
78
165
|
}
|
|
@@ -135,43 +222,12 @@ body {
|
|
|
135
222
|
display: flex !important;
|
|
136
223
|
font-family: var(--medium);
|
|
137
224
|
letter-spacing: 0 !important;
|
|
138
|
-
min-width: 80px;
|
|
139
|
-
padding: 0 12px;
|
|
140
225
|
|
|
141
226
|
&.v-btn {
|
|
142
227
|
position: relative;
|
|
143
|
-
border-width: 0 0 2px 0;
|
|
144
|
-
border-style: solid;
|
|
145
|
-
border-color: transparent;
|
|
146
228
|
color: var(--grey-d-3);
|
|
147
229
|
transition: all 0.1s;
|
|
148
230
|
|
|
149
|
-
&:after {
|
|
150
|
-
content: '';
|
|
151
|
-
position: absolute;
|
|
152
|
-
top: 0;
|
|
153
|
-
left: 0;
|
|
154
|
-
display: block;
|
|
155
|
-
width: 100%;
|
|
156
|
-
border-radius: var(--border-radius);
|
|
157
|
-
border: 2px solid var(--focus);
|
|
158
|
-
opacity: 0;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&:hover {
|
|
162
|
-
border-color: var(--grey-l-3);
|
|
163
|
-
color: var(--text);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
&.v-tab--selected {
|
|
167
|
-
border-color: var(--primary);
|
|
168
|
-
color: var(--primary);
|
|
169
|
-
|
|
170
|
-
&.v-btn--disabled {
|
|
171
|
-
border-color: var(--grey-l-2);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
231
|
&.v-btn--disabled {
|
|
176
232
|
color: var(--grey-l-2);
|
|
177
233
|
}
|
|
@@ -187,128 +243,40 @@ body {
|
|
|
187
243
|
width: 100%;
|
|
188
244
|
}
|
|
189
245
|
|
|
190
|
-
.
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
246
|
+
.v-tabs-bar {
|
|
247
|
+
flex: none;
|
|
248
|
+
height: fit-content;
|
|
249
|
+
height: -moz-max-content;
|
|
250
|
+
max-height: fit-content;
|
|
251
|
+
max-height: -moz-max-content;
|
|
252
|
+
z-index: 1;
|
|
253
|
+
}
|
|
195
254
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}
|
|
255
|
+
.v-window-item {
|
|
256
|
+
height: 100%;
|
|
199
257
|
}
|
|
200
258
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
// }
|
|
225
|
-
|
|
226
|
-
// .v-slide-group__content {
|
|
227
|
-
// flex-flow: column nowrap;
|
|
228
|
-
// height: 100% !important;
|
|
229
|
-
// width: 100% !important;
|
|
230
|
-
|
|
231
|
-
// .v-btn__content {
|
|
232
|
-
// text-overflow: ellipsis;
|
|
233
|
-
// display: inline-flex;
|
|
234
|
-
// justify-content: flex-start;
|
|
235
|
-
// gap: 4px;
|
|
236
|
-
// white-space: nowrap;
|
|
237
|
-
// overflow: hidden;
|
|
238
|
-
// }
|
|
239
|
-
// }
|
|
240
|
-
// }
|
|
241
|
-
// }
|
|
242
|
-
|
|
243
|
-
// .v-tabs.v-tabs--vertical.no-header {
|
|
244
|
-
// .v-tab:first-child {
|
|
245
|
-
// border-top: none;
|
|
246
|
-
// }
|
|
247
|
-
// }
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
// }
|
|
251
|
-
// .v-window {
|
|
252
|
-
// &.mobile {
|
|
253
|
-
// .tg-field {
|
|
254
|
-
// & > .v-row {
|
|
255
|
-
// & > .v-col {
|
|
256
|
-
// flex: 1 0 0 !important;
|
|
257
|
-
// }
|
|
258
|
-
// }
|
|
259
|
-
// .text-viewer-wrapper {
|
|
260
|
-
// .v-col {
|
|
261
|
-
// flex: 1 0 0 !important;
|
|
262
|
-
// }
|
|
263
|
-
// }
|
|
264
|
-
// }
|
|
265
|
-
// }
|
|
266
|
-
// }
|
|
267
|
-
|
|
268
|
-
// .v-slide-group--vertical {
|
|
269
|
-
// border-color: var(--grey-l-5);
|
|
270
|
-
// border: 1px;
|
|
271
|
-
// }
|
|
272
|
-
|
|
273
|
-
// .v-slide-group--vertical .v-tab__slider {
|
|
274
|
-
// width: 0px;
|
|
275
|
-
// }
|
|
276
|
-
|
|
277
|
-
// .v-tabs-bar {
|
|
278
|
-
// flex: none;
|
|
279
|
-
// height: fit-content;
|
|
280
|
-
// height: -moz-max-content;
|
|
281
|
-
// max-height: fit-content;
|
|
282
|
-
// max-height: -moz-max-content;
|
|
283
|
-
// z-index: 1;
|
|
284
|
-
// }
|
|
285
|
-
|
|
286
|
-
// .v-window-item {
|
|
287
|
-
// height: 100%;
|
|
288
|
-
// }
|
|
289
|
-
|
|
290
|
-
// .ld-tabs-mobile {
|
|
291
|
-
// &.hide-tabs {
|
|
292
|
-
// .v-tab {
|
|
293
|
-
// display: none !important;
|
|
294
|
-
// }
|
|
295
|
-
// }
|
|
296
|
-
|
|
297
|
-
// &.hide-body {
|
|
298
|
-
// .v-slide-group {
|
|
299
|
-
// width: 100% !important;
|
|
300
|
-
// }
|
|
301
|
-
// .v-window {
|
|
302
|
-
// display: none !important;
|
|
303
|
-
// }
|
|
304
|
-
// }
|
|
305
|
-
// }
|
|
306
|
-
// .v-tabs-mobile {
|
|
307
|
-
// .v-slide-group__content {
|
|
308
|
-
// .v-btn__content {
|
|
309
|
-
// display: block !important;
|
|
310
|
-
// }
|
|
311
|
-
// }
|
|
312
|
-
// }
|
|
313
|
-
// }
|
|
259
|
+
.ld-tabs-mobile {
|
|
260
|
+
&.hide-tabs {
|
|
261
|
+
.v-tab {
|
|
262
|
+
display: none !important;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
&.hide-body {
|
|
267
|
+
.v-slide-group {
|
|
268
|
+
width: 100% !important;
|
|
269
|
+
}
|
|
270
|
+
.v-window {
|
|
271
|
+
display: none !important;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
.v-tabs-mobile {
|
|
276
|
+
.v-slide-group__content {
|
|
277
|
+
.v-btn__content {
|
|
278
|
+
display: block !important;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
314
282
|
}
|
|
@@ -1,13 +1,31 @@
|
|
|
1
1
|
body {
|
|
2
2
|
.ld-text-viewer {
|
|
3
|
-
min-width: 100%;
|
|
4
3
|
display: flex;
|
|
5
4
|
flex-direction: column;
|
|
5
|
+
max-width: 100%;
|
|
6
|
+
min-width: 100%;
|
|
7
|
+
height: fit-content;
|
|
6
8
|
white-space: break-spaces;
|
|
7
|
-
font-size: var(--
|
|
9
|
+
font-size: var(--text-body-s);
|
|
10
|
+
overflow-y: hidden;
|
|
11
|
+
|
|
12
|
+
& > .v-row {
|
|
13
|
+
flex-basis: 100%;
|
|
14
|
+
overflow-y: hidden;
|
|
15
|
+
|
|
16
|
+
& > .v-col {
|
|
17
|
+
min-height: var(--input-s);
|
|
18
|
+
max-height: calc(var(--input-s) * 4);
|
|
19
|
+
|
|
20
|
+
&.scrollable {
|
|
21
|
+
overflow-y: auto;
|
|
22
|
+
}
|
|
8
23
|
|
|
9
|
-
|
|
10
|
-
|
|
24
|
+
&:not(.scrollable) {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
11
29
|
}
|
|
12
30
|
}
|
|
13
31
|
}
|
package/dist/scss/index.scss
CHANGED
|
@@ -46,6 +46,10 @@
|
|
|
46
46
|
body {
|
|
47
47
|
.v-card {
|
|
48
48
|
background-color: var(--white);
|
|
49
|
+
|
|
50
|
+
.v-card-title {
|
|
51
|
+
font-size: inherit;
|
|
52
|
+
}
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
.v-menu {
|
|
@@ -87,6 +91,7 @@ body {
|
|
|
87
91
|
.v-list-item {
|
|
88
92
|
color: var(--grey-d-3);
|
|
89
93
|
transition: all 0.1s;
|
|
94
|
+
min-height: var(--input-s);
|
|
90
95
|
&:hover {
|
|
91
96
|
background-color: var(--grey-l-6);
|
|
92
97
|
color: var(--text);
|
|
@@ -102,6 +107,7 @@ body {
|
|
|
102
107
|
.v-list-item__content {
|
|
103
108
|
.v-list-item-title {
|
|
104
109
|
font-family: var(--regular);
|
|
110
|
+
font-size: var(--text-body-s);
|
|
105
111
|
font-weight: 500;
|
|
106
112
|
}
|
|
107
113
|
.v-list-item-subtitle {
|