@stonecrop/aform 0.60.0 → 0.60.1
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/aform.js +79 -45
- package/dist/aform.js.map +1 -1
- package/dist/assets/index.css +127 -127
- package/dist/src/components/AForm.vue.d.ts.map +1 -1
- package/dist/src/components/form/ACurrencyInput.vue.d.ts.map +1 -1
- package/dist/src/components/form/ADate.vue.d.ts.map +1 -1
- package/dist/src/components/form/ADatePicker.vue.d.ts.map +1 -1
- package/dist/src/components/form/ADateTime.vue.d.ts.map +1 -1
- package/dist/src/components/form/ADropdown.vue.d.ts.map +1 -1
- package/dist/src/components/form/AFormLink.vue.d.ts.map +1 -1
- package/dist/src/components/form/ANumericInput.vue.d.ts.map +1 -1
- package/dist/src/components/form/AQuantityInput.vue.d.ts.map +1 -1
- package/dist/src/components/form/ASegmentedControl.vue.d.ts.map +1 -1
- package/dist/src/components/form/ATextboxInput.vue.d.ts.map +1 -1
- package/dist/src/composables/fieldErrorA11y.d.ts +7 -0
- package/dist/src/composables/fieldErrorA11y.d.ts.map +1 -1
- package/dist/src/types/index.d.ts +4 -2
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/utils/fieldErrors.d.ts +16 -0
- package/dist/src/utils/fieldErrors.d.ts.map +1 -0
- package/package.json +5 -5
package/dist/assets/index.css
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
.aform_checkbox[data-v-
|
|
2
|
+
.aform_checkbox[data-v-fd79e86d] {
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
width: auto;
|
|
5
5
|
margin-top: 0;
|
|
6
6
|
display: block;
|
|
7
7
|
}
|
|
8
|
-
.aform_checkbox[data-v-
|
|
8
|
+
.aform_checkbox[data-v-fd79e86d]:checked {
|
|
9
9
|
accent-color: var(--sc-primary-color);
|
|
10
10
|
border: 1px solid var(--sc-input-active-border-color);
|
|
11
11
|
}
|
|
12
|
-
.aform_checkbox-container[data-v-
|
|
12
|
+
.aform_checkbox-container[data-v-fd79e86d] {
|
|
13
13
|
width: 100%;
|
|
14
14
|
display: inline-block;
|
|
15
15
|
text-align: left;
|
|
16
16
|
}
|
|
17
|
-
.aform_checkbox-container input[data-v-
|
|
17
|
+
.aform_checkbox-container input[data-v-fd79e86d] {
|
|
18
18
|
width: auto;
|
|
19
19
|
}
|
|
20
|
-
.aform_form-element:has(> .aform_checkbox-container:hover) > .aform_field-label[data-v-
|
|
20
|
+
.aform_form-element:has(> .aform_checkbox-container:hover) > .aform_field-label[data-v-fd79e86d] {
|
|
21
21
|
color: var(--sc-input-active-label-color);
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -79,26 +79,26 @@
|
|
|
79
79
|
border-left-color: var(--sc-dropdown-option-selected-accent);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.autocomplete[data-v-
|
|
82
|
+
.autocomplete[data-v-486dd9d1] {
|
|
83
83
|
position: relative;
|
|
84
84
|
}
|
|
85
|
-
.aform_form-element--embedded[data-v-
|
|
85
|
+
.aform_form-element--embedded[data-v-486dd9d1] {
|
|
86
86
|
min-width: 0;
|
|
87
87
|
flex: 1 1 auto;
|
|
88
88
|
width: 100%;
|
|
89
89
|
padding-top: 0;
|
|
90
90
|
}
|
|
91
|
-
.aform_form-element--embedded .autocomplete[data-v-
|
|
91
|
+
.aform_form-element--embedded .autocomplete[data-v-486dd9d1] {
|
|
92
92
|
display: flex;
|
|
93
93
|
flex: 1;
|
|
94
94
|
min-width: 0;
|
|
95
95
|
min-height: 0;
|
|
96
96
|
width: 100%;
|
|
97
97
|
}
|
|
98
|
-
.aform_dropdown--anchor-group .autocomplete[data-v-
|
|
98
|
+
.aform_dropdown--anchor-group .autocomplete[data-v-486dd9d1] {
|
|
99
99
|
position: static;
|
|
100
100
|
}
|
|
101
|
-
.aform_input-field--embedded[data-v-
|
|
101
|
+
.aform_input-field--embedded[data-v-486dd9d1] {
|
|
102
102
|
box-sizing: border-box;
|
|
103
103
|
width: 100%;
|
|
104
104
|
min-width: 0;
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
background: transparent;
|
|
107
107
|
padding: 0.5rem 1ch;
|
|
108
108
|
}
|
|
109
|
-
.aform_dropdown-button[data-v-
|
|
109
|
+
.aform_dropdown-button[data-v-486dd9d1] {
|
|
110
110
|
display: flex;
|
|
111
111
|
align-items: center;
|
|
112
112
|
gap: 0.75ch;
|
|
@@ -127,30 +127,30 @@
|
|
|
127
127
|
cursor: pointer;
|
|
128
128
|
-webkit-tap-highlight-color: transparent;
|
|
129
129
|
}
|
|
130
|
-
.aform_dropdown-button[data-v-
|
|
131
|
-
.aform_dropdown-button[data-v-
|
|
130
|
+
.aform_dropdown-button[data-v-486dd9d1]:focus,
|
|
131
|
+
.aform_dropdown-button[data-v-486dd9d1]:focus-visible {
|
|
132
132
|
outline: none;
|
|
133
133
|
box-shadow: none;
|
|
134
134
|
}
|
|
135
|
-
.aform_dropdown-button[data-v-
|
|
135
|
+
.aform_dropdown-button[data-v-486dd9d1]::-moz-focus-inner {
|
|
136
136
|
border: 0;
|
|
137
137
|
padding: 0;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/* Merged fields (quantity UOM): same surface as the sibling input, not a nested addon chip. */
|
|
141
|
-
.aform_form-element--embedded .aform_dropdown-button[data-v-
|
|
141
|
+
.aform_form-element--embedded .aform_dropdown-button[data-v-486dd9d1] {
|
|
142
142
|
background: transparent;
|
|
143
143
|
}
|
|
144
|
-
.aform_dropdown-button[data-v-
|
|
144
|
+
.aform_dropdown-button[data-v-486dd9d1]:disabled {
|
|
145
145
|
cursor: not-allowed;
|
|
146
146
|
color: var(--sc-gray-50);
|
|
147
147
|
}
|
|
148
|
-
.aform_dropdown-button-value[data-v-
|
|
148
|
+
.aform_dropdown-button-value[data-v-486dd9d1] {
|
|
149
149
|
flex: 1;
|
|
150
150
|
min-width: 0;
|
|
151
151
|
text-align: left;
|
|
152
152
|
}
|
|
153
|
-
.aform_dropdown-button-caret[data-v-
|
|
153
|
+
.aform_dropdown-button-caret[data-v-486dd9d1] {
|
|
154
154
|
display: inline-block;
|
|
155
155
|
width: 0;
|
|
156
156
|
height: 0;
|
|
@@ -159,16 +159,16 @@
|
|
|
159
159
|
border-top: 0.3em solid currentColor;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
.acurrency__row[data-v-
|
|
162
|
+
.acurrency__row[data-v-2aebb435] {
|
|
163
163
|
display: flex;
|
|
164
164
|
gap: 1ch;
|
|
165
165
|
}
|
|
166
|
-
.acurrency__field[data-v-
|
|
166
|
+
.acurrency__field[data-v-2aebb435] {
|
|
167
167
|
position: relative;
|
|
168
168
|
flex: 1;
|
|
169
169
|
min-width: 0;
|
|
170
170
|
}
|
|
171
|
-
.acurrency__field--base-currency[data-v-
|
|
171
|
+
.acurrency__field--base-currency[data-v-2aebb435] {
|
|
172
172
|
position: absolute;
|
|
173
173
|
width: 1px;
|
|
174
174
|
height: 1px;
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
white-space: nowrap;
|
|
180
180
|
border: 0;
|
|
181
181
|
}
|
|
182
|
-
.acurrency__group[data-v-
|
|
182
|
+
.acurrency__group[data-v-2aebb435] {
|
|
183
183
|
position: relative;
|
|
184
184
|
display: flex;
|
|
185
185
|
align-items: stretch;
|
|
@@ -189,20 +189,20 @@
|
|
|
189
189
|
border: 1px solid var(--sc-input-border-color);
|
|
190
190
|
border-radius: var(--sc-border-radius);
|
|
191
191
|
}
|
|
192
|
-
.acurrency__group[data-v-
|
|
192
|
+
.acurrency__group[data-v-2aebb435]:focus-within {
|
|
193
193
|
border-color: var(--sc-input-active-border-color);
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
/* Solid form surface behind long labels; the shared gradient only masks the top half and reads
|
|
197
197
|
poorly over the merged prefix + amount backgrounds. Matches the field's page/form parent. */
|
|
198
|
-
.acurrency__group > .aform_field-label[data-v-
|
|
198
|
+
.acurrency__group > .aform_field-label[data-v-2aebb435] {
|
|
199
199
|
background: var(--sc-form-background);
|
|
200
200
|
}
|
|
201
|
-
.acurrency__amount-wrap[data-v-
|
|
201
|
+
.acurrency__amount-wrap[data-v-2aebb435] {
|
|
202
202
|
flex: 1;
|
|
203
203
|
min-width: 0;
|
|
204
204
|
}
|
|
205
|
-
.acurrency__amount[data-v-
|
|
205
|
+
.acurrency__amount[data-v-2aebb435] {
|
|
206
206
|
width: 100%;
|
|
207
207
|
box-sizing: border-box;
|
|
208
208
|
border: none;
|
|
@@ -217,8 +217,8 @@
|
|
|
217
217
|
appearance: textfield;
|
|
218
218
|
-moz-appearance: textfield;
|
|
219
219
|
}
|
|
220
|
-
.acurrency__amount[data-v-
|
|
221
|
-
.acurrency__amount[data-v-
|
|
220
|
+
.acurrency__amount[data-v-2aebb435]::-webkit-outer-spin-button,
|
|
221
|
+
.acurrency__amount[data-v-2aebb435]::-webkit-inner-spin-button {
|
|
222
222
|
appearance: none;
|
|
223
223
|
-webkit-appearance: none;
|
|
224
224
|
margin: 0;
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
tinted background, left-rounded to match the group's own
|
|
230
230
|
corner so the tint doesn't overhang the border. The dropdown itself isn't bound by this
|
|
231
231
|
width — ADropdown list spans the group — so search results still show full names. */
|
|
232
|
-
.acurrency__currency[data-v-
|
|
232
|
+
.acurrency__currency[data-v-2aebb435] {
|
|
233
233
|
/* Fixed minimum prefix: 3rem content band + 1ch inset each side (fits NZD without shifting). */
|
|
234
234
|
flex: 0 0 calc(3rem + 2ch);
|
|
235
235
|
width: calc(3rem + 2ch);
|
|
@@ -241,16 +241,16 @@
|
|
|
241
241
|
border-right: 1px solid var(--sc-input-border-color);
|
|
242
242
|
border-radius: var(--sc-border-radius) 0 0 var(--sc-border-radius);
|
|
243
243
|
}
|
|
244
|
-
.acurrency__currency[data-v-
|
|
244
|
+
.acurrency__currency[data-v-2aebb435] .aform_input-field--embedded {
|
|
245
245
|
padding-left: 1ch;
|
|
246
246
|
padding-right: 1ch;
|
|
247
247
|
text-align: right;
|
|
248
248
|
}
|
|
249
|
-
.acurrency__currency[data-v-
|
|
250
|
-
.acurrency__currency[data-v-
|
|
249
|
+
.acurrency__currency[data-v-2aebb435] .aform_form-element--embedded,
|
|
250
|
+
.acurrency__currency[data-v-2aebb435] .autocomplete {
|
|
251
251
|
position: static;
|
|
252
252
|
}
|
|
253
|
-
.acurrency__group[data-v-
|
|
253
|
+
.acurrency__group[data-v-2aebb435] .autocomplete-results--anchor-group {
|
|
254
254
|
left: -1px;
|
|
255
255
|
right: -1px;
|
|
256
256
|
box-sizing: border-box;
|
|
@@ -258,23 +258,23 @@
|
|
|
258
258
|
min-width: unset;
|
|
259
259
|
max-width: none;
|
|
260
260
|
}
|
|
261
|
-
.acurrency__helper[data-v-
|
|
261
|
+
.acurrency__helper[data-v-2aebb435] {
|
|
262
262
|
margin: 0.5rem 0 0;
|
|
263
263
|
font-size: 0.85rem;
|
|
264
264
|
color: var(--sc-cell-text-color);
|
|
265
265
|
opacity: 0.75;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
.adatepicker[data-v-
|
|
269
|
-
.adatepicker table[data-v-
|
|
270
|
-
.adatepicker tr[data-v-
|
|
271
|
-
.adatepicker td[data-v-
|
|
272
|
-
.adatepicker th[data-v-
|
|
268
|
+
.adatepicker[data-v-2d02eab2],
|
|
269
|
+
.adatepicker table[data-v-2d02eab2],
|
|
270
|
+
.adatepicker tr[data-v-2d02eab2],
|
|
271
|
+
.adatepicker td[data-v-2d02eab2],
|
|
272
|
+
.adatepicker th[data-v-2d02eab2] {
|
|
273
273
|
-webkit-user-select: none;
|
|
274
274
|
-moz-user-select: none;
|
|
275
275
|
user-select: none;
|
|
276
276
|
}
|
|
277
|
-
.adatepicker[data-v-
|
|
277
|
+
.adatepicker[data-v-2d02eab2] {
|
|
278
278
|
font-size: var(--sc-table-font-size);
|
|
279
279
|
display: inline-table;
|
|
280
280
|
color: var(--sc-cell-text-color);
|
|
@@ -283,28 +283,28 @@
|
|
|
283
283
|
margin-bottom: 10px;
|
|
284
284
|
/* width: calc(100% - 4px); */
|
|
285
285
|
}
|
|
286
|
-
.adatepicker tr[data-v-
|
|
286
|
+
.adatepicker tr[data-v-2d02eab2] {
|
|
287
287
|
height: 1.15rem;
|
|
288
288
|
height: 1.15rem;
|
|
289
289
|
text-align: center;
|
|
290
290
|
vertical-align: middle;
|
|
291
291
|
}
|
|
292
|
-
.adatepicker td[data-v-
|
|
292
|
+
.adatepicker td[data-v-2d02eab2] {
|
|
293
293
|
border: 2px solid transparent;
|
|
294
294
|
outline: 2px solid transparent;
|
|
295
295
|
min-width: 3ch;
|
|
296
296
|
max-width: 3ch;
|
|
297
297
|
cursor: pointer;
|
|
298
298
|
}
|
|
299
|
-
.adatepicker td.date-cell[data-v-
|
|
299
|
+
.adatepicker td.date-cell[data-v-2d02eab2]:hover {
|
|
300
300
|
background: var(--sc-gray-10);
|
|
301
301
|
}
|
|
302
|
-
.adatepicker td.date-cell[data-v-
|
|
302
|
+
.adatepicker td.date-cell[data-v-2d02eab2]:focus-visible {
|
|
303
303
|
outline: 1px solid var(--sc-input-active-border-color);
|
|
304
304
|
outline-offset: -1px;
|
|
305
305
|
}
|
|
306
|
-
.adatepicker td[data-v-
|
|
307
|
-
.adatepicker td[data-v-
|
|
306
|
+
.adatepicker td[data-v-2d02eab2]:focus,
|
|
307
|
+
.adatepicker td[data-v-2d02eab2]:focus-within {
|
|
308
308
|
/* outline: 1px dashed black; */
|
|
309
309
|
box-shadow: none;
|
|
310
310
|
overflow: hidden;
|
|
@@ -312,48 +312,48 @@
|
|
|
312
312
|
max-height: 1.15em;
|
|
313
313
|
overflow: hidden;
|
|
314
314
|
}
|
|
315
|
-
.adatepicker .selectedDate[data-v-
|
|
316
|
-
.adatepicker .startDate[data-v-
|
|
317
|
-
.adatepicker .endDate[data-v-
|
|
315
|
+
.adatepicker .selectedDate[data-v-2d02eab2],
|
|
316
|
+
.adatepicker .startDate[data-v-2d02eab2],
|
|
317
|
+
.adatepicker .endDate[data-v-2d02eab2] {
|
|
318
318
|
/* outline: 1px solid black; */
|
|
319
319
|
background: var(--sc-gray-20);
|
|
320
320
|
font-weight: bolder;
|
|
321
321
|
}
|
|
322
|
-
.adatepicker .startDate[data-v-
|
|
322
|
+
.adatepicker .startDate[data-v-2d02eab2] {
|
|
323
323
|
/* border-radius: 5px 0px 0px 5px; */
|
|
324
324
|
border-left: 1px solid var(--sc-gray-50);
|
|
325
325
|
background: var(--sc-gray-20) !important;
|
|
326
326
|
}
|
|
327
|
-
.adatepicker .endDate[data-v-
|
|
327
|
+
.adatepicker .endDate[data-v-2d02eab2] {
|
|
328
328
|
border-right: 1px solid var(--sc-gray-50);
|
|
329
329
|
/* border-radius: 0px 5px 5px 0px; */
|
|
330
330
|
background: var(--sc-gray-20) !important;
|
|
331
331
|
}
|
|
332
|
-
.adatepicker .withinRange[data-v-
|
|
332
|
+
.adatepicker .withinRange[data-v-2d02eab2] {
|
|
333
333
|
background: var(--sc-gray-5);
|
|
334
334
|
}
|
|
335
|
-
.adatepicker .todaysDate[data-v-
|
|
335
|
+
.adatepicker .todaysDate[data-v-2d02eab2] {
|
|
336
336
|
font-weight: bolder;
|
|
337
337
|
/* text-decoration: underline; */
|
|
338
338
|
color: var(--sc-cell-text-color);
|
|
339
339
|
}
|
|
340
|
-
.days-header > td[data-v-
|
|
340
|
+
.days-header > td[data-v-2d02eab2] {
|
|
341
341
|
font-weight: bold;
|
|
342
342
|
}
|
|
343
|
-
.prev-date[data-v-
|
|
343
|
+
.prev-date[data-v-2d02eab2] {
|
|
344
344
|
color: var(--sc-gray-20);
|
|
345
345
|
}
|
|
346
|
-
.adatepicker .date-input[data-v-
|
|
346
|
+
.adatepicker .date-input[data-v-2d02eab2] {
|
|
347
347
|
display: flex;
|
|
348
348
|
width: 100%;
|
|
349
349
|
gap: 5px;
|
|
350
350
|
align-items: center;
|
|
351
351
|
}
|
|
352
352
|
/* The boxes' row widens the calendar past its 3ch day columns, so each box fits a day such as `04/09/2026`. */
|
|
353
|
-
.adatepicker td.range-inputs[data-v-
|
|
353
|
+
.adatepicker td.range-inputs[data-v-2d02eab2] {
|
|
354
354
|
max-width: none;
|
|
355
355
|
}
|
|
356
|
-
.adatepicker .date-input > input[data-v-
|
|
356
|
+
.adatepicker .date-input > input[data-v-2d02eab2] {
|
|
357
357
|
flex: none;
|
|
358
358
|
width: 11ch;
|
|
359
359
|
box-sizing: border-box;
|
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
|
|
363
363
|
/* Keep the field error in-flow below the calendar. The shared .aform_error is absolutely
|
|
364
364
|
positioned against a .aform_form-element anchor, which this grid component does not use. */
|
|
365
|
-
p.aform_error[data-v-
|
|
365
|
+
p.aform_error[data-v-2d02eab2] {
|
|
366
366
|
position: static;
|
|
367
367
|
display: block;
|
|
368
368
|
color: var(--sc-brand-danger);
|
|
@@ -454,7 +454,7 @@ p.aform_error[data-v-d0133599] {
|
|
|
454
454
|
border: 1px solid var(--sc-input-border-color);
|
|
455
455
|
}
|
|
456
456
|
|
|
457
|
-
.adate-picker[data-v-
|
|
457
|
+
.adate-picker[data-v-ea25d026] {
|
|
458
458
|
position: absolute;
|
|
459
459
|
top: 100%;
|
|
460
460
|
left: 0;
|
|
@@ -529,15 +529,15 @@ p.aform_error[data-v-d0133599] {
|
|
|
529
529
|
--sc-badge-accent: var(--sc-badge-brand-accent);
|
|
530
530
|
}
|
|
531
531
|
|
|
532
|
-
.aform_segmented-control--xs.aform_form-element[data-v-
|
|
532
|
+
.aform_segmented-control--xs.aform_form-element[data-v-07144f65] {
|
|
533
533
|
min-width: 0;
|
|
534
534
|
padding-top: 0;
|
|
535
535
|
max-width: none;
|
|
536
536
|
}
|
|
537
|
-
.aform_segmented-control--xs[data-v-
|
|
537
|
+
.aform_segmented-control--xs[data-v-07144f65]:not(:has(.aform_segmented-sr-label)) {
|
|
538
538
|
padding-top: 0.5rem;
|
|
539
539
|
}
|
|
540
|
-
.aform_segmented-sr-label[data-v-
|
|
540
|
+
.aform_segmented-sr-label[data-v-07144f65] {
|
|
541
541
|
position: absolute;
|
|
542
542
|
width: 1px;
|
|
543
543
|
height: 1px;
|
|
@@ -548,7 +548,7 @@ p.aform_error[data-v-d0133599] {
|
|
|
548
548
|
white-space: nowrap;
|
|
549
549
|
border: 0;
|
|
550
550
|
}
|
|
551
|
-
.aform_segmented-track[data-v-
|
|
551
|
+
.aform_segmented-track[data-v-07144f65] {
|
|
552
552
|
display: inline-flex;
|
|
553
553
|
flex-wrap: wrap;
|
|
554
554
|
align-items: stretch;
|
|
@@ -564,15 +564,15 @@ p.aform_error[data-v-d0133599] {
|
|
|
564
564
|
background: var(--sc-input-addon-background);
|
|
565
565
|
font-family: var(--sc-font-family);
|
|
566
566
|
}
|
|
567
|
-
.aform_segmented-control--xs .aform_segmented-track[data-v-
|
|
567
|
+
.aform_segmented-control--xs .aform_segmented-track[data-v-07144f65] {
|
|
568
568
|
min-height: 1.5rem;
|
|
569
569
|
font-size: 0.875rem;
|
|
570
570
|
}
|
|
571
|
-
.aform_segmented-control--equal .aform_segmented-track[data-v-
|
|
571
|
+
.aform_segmented-control--equal .aform_segmented-track[data-v-07144f65] {
|
|
572
572
|
display: flex;
|
|
573
573
|
width: 100%;
|
|
574
574
|
}
|
|
575
|
-
.aform_segmented-segment[data-v-
|
|
575
|
+
.aform_segmented-segment[data-v-07144f65] {
|
|
576
576
|
position: relative;
|
|
577
577
|
display: inline-flex;
|
|
578
578
|
align-items: center;
|
|
@@ -591,15 +591,15 @@ p.aform_error[data-v-d0133599] {
|
|
|
591
591
|
user-select: none;
|
|
592
592
|
box-sizing: border-box;
|
|
593
593
|
}
|
|
594
|
-
.aform_segmented-control--sm .aform_segmented-segment[data-v-
|
|
594
|
+
.aform_segmented-control--sm .aform_segmented-segment[data-v-07144f65] {
|
|
595
595
|
min-height: 1.75rem;
|
|
596
596
|
padding: 0.125rem 0.75rem;
|
|
597
597
|
font-size: var(--sc-font-size);
|
|
598
598
|
}
|
|
599
|
-
.aform_segmented-control--equal .aform_segmented-segment[data-v-
|
|
599
|
+
.aform_segmented-control--equal .aform_segmented-segment[data-v-07144f65] {
|
|
600
600
|
flex: 1 1 0;
|
|
601
601
|
}
|
|
602
|
-
.aform_segmented-input[data-v-
|
|
602
|
+
.aform_segmented-input[data-v-07144f65] {
|
|
603
603
|
position: absolute;
|
|
604
604
|
inline-size: 1px;
|
|
605
605
|
block-size: 1px;
|
|
@@ -610,75 +610,75 @@ p.aform_error[data-v-d0133599] {
|
|
|
610
610
|
white-space: nowrap;
|
|
611
611
|
border: 0;
|
|
612
612
|
}
|
|
613
|
-
.aform_segmented-label[data-v-
|
|
613
|
+
.aform_segmented-label[data-v-07144f65] {
|
|
614
614
|
pointer-events: none;
|
|
615
615
|
}
|
|
616
|
-
.aform_segmented-segment[data-v-
|
|
616
|
+
.aform_segmented-segment[data-v-07144f65]:not(.aform_segmented-segment--badge):has(.aform_segmented-input:checked) {
|
|
617
617
|
background: var(--sc-form-background);
|
|
618
618
|
color: var(--sc-cell-text-color);
|
|
619
619
|
font-weight: 500;
|
|
620
620
|
}
|
|
621
|
-
.aform_segmented-segment--badge[data-v-
|
|
621
|
+
.aform_segmented-segment--badge[data-v-07144f65]:has(.aform_segmented-input:checked) {
|
|
622
622
|
font-weight: 500;
|
|
623
623
|
}
|
|
624
|
-
.aform_segmented-segment--badge:has(.aform_segmented-input:checked).aform_segmented-segment--neutral[data-v-
|
|
624
|
+
.aform_segmented-segment--badge:has(.aform_segmented-input:checked).aform_segmented-segment--neutral[data-v-07144f65] {
|
|
625
625
|
background: var(--sc-badge-neutral-bg);
|
|
626
626
|
color: var(--sc-badge-neutral-text);
|
|
627
627
|
}
|
|
628
|
-
.aform_segmented-segment--badge:has(.aform_segmented-input:checked).aform_segmented-segment--success[data-v-
|
|
628
|
+
.aform_segmented-segment--badge:has(.aform_segmented-input:checked).aform_segmented-segment--success[data-v-07144f65] {
|
|
629
629
|
background: var(--sc-badge-success-bg);
|
|
630
630
|
color: var(--sc-badge-success-text);
|
|
631
631
|
}
|
|
632
|
-
.aform_segmented-segment--badge:has(.aform_segmented-input:checked).aform_segmented-segment--warning[data-v-
|
|
632
|
+
.aform_segmented-segment--badge:has(.aform_segmented-input:checked).aform_segmented-segment--warning[data-v-07144f65] {
|
|
633
633
|
background: var(--sc-badge-warning-bg);
|
|
634
634
|
color: var(--sc-badge-warning-text);
|
|
635
635
|
}
|
|
636
|
-
.aform_segmented-segment--badge:has(.aform_segmented-input:checked).aform_segmented-segment--danger[data-v-
|
|
636
|
+
.aform_segmented-segment--badge:has(.aform_segmented-input:checked).aform_segmented-segment--danger[data-v-07144f65] {
|
|
637
637
|
background: var(--sc-badge-danger-bg);
|
|
638
638
|
color: var(--sc-badge-danger-text);
|
|
639
639
|
}
|
|
640
|
-
.aform_segmented-segment--badge:has(.aform_segmented-input:checked).aform_segmented-segment--brand[data-v-
|
|
640
|
+
.aform_segmented-segment--badge:has(.aform_segmented-input:checked).aform_segmented-segment--brand[data-v-07144f65] {
|
|
641
641
|
background: var(--sc-badge-brand-bg);
|
|
642
642
|
color: var(--sc-badge-brand-text);
|
|
643
643
|
}
|
|
644
|
-
.aform_segmented-segment--badge:has(.aform_segmented-input:checked)[style*='--sc-badge-bg'][data-v-
|
|
644
|
+
.aform_segmented-segment--badge:has(.aform_segmented-input:checked)[style*='--sc-badge-bg'][data-v-07144f65] {
|
|
645
645
|
background: var(--sc-badge-bg);
|
|
646
646
|
color: var(--sc-badge-text);
|
|
647
647
|
}
|
|
648
|
-
.aform_segmented-segment[data-v-
|
|
648
|
+
.aform_segmented-segment[data-v-07144f65]:has(.aform_segmented-input:focus-visible) {
|
|
649
649
|
outline: 1px solid var(--sc-input-active-border-color);
|
|
650
650
|
outline-offset: -1px;
|
|
651
651
|
}
|
|
652
|
-
.aform_segmented-segment[data-v-
|
|
652
|
+
.aform_segmented-segment[data-v-07144f65]:hover:has(.aform_segmented-input:not(:disabled):not(:checked)) {
|
|
653
653
|
background: color-mix(in srgb, var(--sc-form-background) 50%, transparent);
|
|
654
654
|
}
|
|
655
|
-
.aform_segmented-segment[data-v-
|
|
655
|
+
.aform_segmented-segment[data-v-07144f65]:has(.aform_segmented-input:disabled) {
|
|
656
656
|
cursor: not-allowed;
|
|
657
657
|
opacity: 0.5;
|
|
658
658
|
}
|
|
659
|
-
.aform_segmented-track[data-v-
|
|
659
|
+
.aform_segmented-track[data-v-07144f65]:has(.aform_segmented-input:focus-visible) {
|
|
660
660
|
outline-color: var(--sc-input-active-border-color);
|
|
661
661
|
}
|
|
662
|
-
.aform_segmented-display-badge[data-v-
|
|
662
|
+
.aform_segmented-display-badge[data-v-07144f65] {
|
|
663
663
|
display: block;
|
|
664
664
|
padding: 0.5rem;
|
|
665
665
|
min-height: 2rem;
|
|
666
666
|
box-sizing: border-box;
|
|
667
667
|
}
|
|
668
668
|
@media (prefers-reduced-motion: no-preference) {
|
|
669
|
-
.aform_segmented-segment[data-v-
|
|
669
|
+
.aform_segmented-segment[data-v-07144f65] {
|
|
670
670
|
transition:
|
|
671
671
|
background-color 0.1s ease-out,
|
|
672
672
|
color 0.1s ease-out;
|
|
673
673
|
}
|
|
674
674
|
}
|
|
675
675
|
@media (prefers-reduced-motion: reduce) {
|
|
676
|
-
.aform_segmented-segment[data-v-
|
|
676
|
+
.aform_segmented-segment[data-v-07144f65] {
|
|
677
677
|
transition: none;
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
680
|
|
|
681
|
-
.adatetime-picker[data-v-
|
|
681
|
+
.adatetime-picker[data-v-e0566056] {
|
|
682
682
|
position: absolute;
|
|
683
683
|
top: 100%;
|
|
684
684
|
left: 0;
|
|
@@ -716,7 +716,7 @@ p.aform_error[data-v-d0133599] {
|
|
|
716
716
|
margin-top: 8px;
|
|
717
717
|
}
|
|
718
718
|
|
|
719
|
-
.adaterange-picker[data-v-
|
|
719
|
+
.adaterange-picker[data-v-0e870cba] {
|
|
720
720
|
position: absolute;
|
|
721
721
|
top: 100%;
|
|
722
722
|
left: 0;
|
|
@@ -835,7 +835,7 @@ p.aform_error {
|
|
|
835
835
|
margin: 0;
|
|
836
836
|
}
|
|
837
837
|
|
|
838
|
-
.aform[data-v-
|
|
838
|
+
.aform[data-v-33120a88] {
|
|
839
839
|
display: flex;
|
|
840
840
|
flex-wrap: wrap;
|
|
841
841
|
gap: 1rem;
|
|
@@ -847,27 +847,27 @@ p.aform_error {
|
|
|
847
847
|
max-width: 100%;
|
|
848
848
|
}
|
|
849
849
|
@media screen and (max-width: 400px) {
|
|
850
|
-
.aform[data-v-
|
|
850
|
+
.aform[data-v-33120a88] {
|
|
851
851
|
flex-direction: column;
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
854
|
|
|
855
855
|
/* Nested form section */
|
|
856
|
-
.aform-nested-section[data-v-
|
|
856
|
+
.aform-nested-section[data-v-33120a88] {
|
|
857
857
|
width: 100%;
|
|
858
858
|
padding: 0.5rem 0;
|
|
859
859
|
}
|
|
860
|
-
.aform-nested-label[data-v-
|
|
860
|
+
.aform-nested-label[data-v-33120a88] {
|
|
861
861
|
font-size: 0.9rem;
|
|
862
862
|
font-weight: 600;
|
|
863
863
|
margin: 0 0 0.5rem 0;
|
|
864
864
|
color: var(--sc-input-label-color);
|
|
865
865
|
}
|
|
866
|
-
.aform-nested-section .aform[data-v-
|
|
866
|
+
.aform-nested-section .aform[data-v-33120a88] {
|
|
867
867
|
border-left-width: 2px;
|
|
868
868
|
margin-left: 0.5rem;
|
|
869
869
|
}
|
|
870
|
-
.aform-table-expansion[data-v-
|
|
870
|
+
.aform-table-expansion[data-v-33120a88] {
|
|
871
871
|
margin-bottom: 0;
|
|
872
872
|
border: none;
|
|
873
873
|
border-left: none;
|
|
@@ -971,20 +971,20 @@ legend[data-v-45ea7837] {
|
|
|
971
971
|
background-color: var(--sc-gray-5);
|
|
972
972
|
}
|
|
973
973
|
|
|
974
|
-
.aform_form-link-wrapper[data-v-
|
|
974
|
+
.aform_form-link-wrapper[data-v-cca04ca2] {
|
|
975
975
|
position: relative;
|
|
976
976
|
}
|
|
977
|
-
.input-group[data-v-
|
|
977
|
+
.input-group[data-v-cca04ca2] {
|
|
978
978
|
display: flex;
|
|
979
979
|
align-items: stretch;
|
|
980
980
|
}
|
|
981
|
-
.aform_form-link-field[data-v-
|
|
981
|
+
.aform_form-link-field[data-v-cca04ca2] {
|
|
982
982
|
position: relative;
|
|
983
983
|
display: flex;
|
|
984
984
|
flex: 1;
|
|
985
985
|
min-width: 0;
|
|
986
986
|
}
|
|
987
|
-
.aform_input-field[data-v-
|
|
987
|
+
.aform_input-field[data-v-cca04ca2] {
|
|
988
988
|
flex: 1;
|
|
989
989
|
min-width: 0;
|
|
990
990
|
}
|
|
@@ -992,12 +992,12 @@ legend[data-v-45ea7837] {
|
|
|
992
992
|
/* The shared rule offsets the error from the field's top, past the label's padding; here it is placed
|
|
993
993
|
against the input itself, whose top border is this box's top. Its right edge is the input's, so the
|
|
994
994
|
message ends before the navigate button. */
|
|
995
|
-
.aform_form-link-field > p.aform_error[data-v-
|
|
995
|
+
.aform_form-link-field > p.aform_error[data-v-cca04ca2] {
|
|
996
996
|
top: 0;
|
|
997
997
|
}
|
|
998
998
|
|
|
999
999
|
/* No top padding: the shared rule reserves it for a floating label, which embedded mode never renders. */
|
|
1000
|
-
.aform_form-element--embedded[data-v-
|
|
1000
|
+
.aform_form-element--embedded[data-v-cca04ca2] {
|
|
1001
1001
|
min-width: 0;
|
|
1002
1002
|
flex: 1 1 auto;
|
|
1003
1003
|
width: 100%;
|
|
@@ -1006,7 +1006,7 @@ legend[data-v-45ea7837] {
|
|
|
1006
1006
|
|
|
1007
1007
|
/* Embedded mode: the host component's own container supplies the border, so this input goes
|
|
1008
1008
|
borderless. Its vertical padding stays the standalone field's, so its text lines up with the host's. */
|
|
1009
|
-
.aform_input-field--embedded[data-v-
|
|
1009
|
+
.aform_input-field--embedded[data-v-cca04ca2] {
|
|
1010
1010
|
box-sizing: border-box;
|
|
1011
1011
|
width: 100%;
|
|
1012
1012
|
min-width: 0;
|
|
@@ -1018,14 +1018,14 @@ legend[data-v-45ea7837] {
|
|
|
1018
1018
|
/* Only in embedded mode is the trigger deliberately narrower than its options (e.g. a currency
|
|
1019
1019
|
symbol box): let the dropdown grow past it rather than truncate. Standalone pickers keep the
|
|
1020
1020
|
dropdown flush with the input, so a long display text can't overhang a narrow form column. */
|
|
1021
|
-
.aform_form-element--embedded .autocomplete-results[data-v-
|
|
1021
|
+
.aform_form-element--embedded .autocomplete-results[data-v-cca04ca2] {
|
|
1022
1022
|
min-width: 100%;
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
1025
|
/* Give the button the same outline as the input, then slide it 2px left so the outlines
|
|
1026
1026
|
overlap exactly at the join: input right outline sits at (input_right - 1px),
|
|
1027
1027
|
button left outline also sits at (button_left + 1px) = (input_right - 2px + 1px) = same pixel. */
|
|
1028
|
-
.aform_form-btn[data-v-
|
|
1028
|
+
.aform_form-btn[data-v-cca04ca2] {
|
|
1029
1029
|
appearance: none;
|
|
1030
1030
|
border: none;
|
|
1031
1031
|
outline: 1px solid var(--sc-input-border-color);
|
|
@@ -1043,7 +1043,7 @@ legend[data-v-45ea7837] {
|
|
|
1043
1043
|
|
|
1044
1044
|
/* Drawn rather than a text glyph, but set on the text's baseline at capital height: text sits
|
|
1045
1045
|
above its box's centre, so an icon centred in the box reads low beside the input's text. */
|
|
1046
|
-
.aform_form-btn-icon[data-v-
|
|
1046
|
+
.aform_form-btn-icon[data-v-cca04ca2] {
|
|
1047
1047
|
height: 0.716em;
|
|
1048
1048
|
width: auto;
|
|
1049
1049
|
vertical-align: baseline;
|
|
@@ -1056,7 +1056,7 @@ legend[data-v-45ea7837] {
|
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
1058
|
/* The glyph stays as the button's spoken name, hidden from sight. */
|
|
1059
|
-
.aform_form-btn-name[data-v-
|
|
1059
|
+
.aform_form-btn-name[data-v-cca04ca2] {
|
|
1060
1060
|
position: absolute;
|
|
1061
1061
|
width: 1px;
|
|
1062
1062
|
height: 1px;
|
|
@@ -1065,33 +1065,33 @@ legend[data-v-45ea7837] {
|
|
|
1065
1065
|
clip: rect(0, 0, 0, 0);
|
|
1066
1066
|
white-space: nowrap;
|
|
1067
1067
|
}
|
|
1068
|
-
.aform_form-btn[data-v-
|
|
1069
|
-
.input-group:focus-within .aform_form-btn[data-v-
|
|
1068
|
+
.aform_form-btn[data-v-cca04ca2]:focus,
|
|
1069
|
+
.input-group:focus-within .aform_form-btn[data-v-cca04ca2] {
|
|
1070
1070
|
outline-color: var(--sc-input-active-border-color);
|
|
1071
1071
|
}
|
|
1072
1072
|
|
|
1073
1073
|
/* A number is typed, not stepped: the spinner offers nothing here. */
|
|
1074
|
-
.anumeric__input[data-v-
|
|
1074
|
+
.anumeric__input[data-v-21f65960] {
|
|
1075
1075
|
appearance: textfield;
|
|
1076
1076
|
-moz-appearance: textfield;
|
|
1077
1077
|
}
|
|
1078
|
-
.anumeric__input[data-v-
|
|
1079
|
-
.anumeric__input[data-v-
|
|
1078
|
+
.anumeric__input[data-v-21f65960]::-webkit-outer-spin-button,
|
|
1079
|
+
.anumeric__input[data-v-21f65960]::-webkit-inner-spin-button {
|
|
1080
1080
|
appearance: none;
|
|
1081
1081
|
-webkit-appearance: none;
|
|
1082
1082
|
margin: 0;
|
|
1083
1083
|
}
|
|
1084
1084
|
|
|
1085
|
-
.aquantity__row[data-v-
|
|
1085
|
+
.aquantity__row[data-v-c08ba0bf] {
|
|
1086
1086
|
display: flex;
|
|
1087
1087
|
gap: 1ch;
|
|
1088
1088
|
}
|
|
1089
|
-
.aquantity__field[data-v-
|
|
1089
|
+
.aquantity__field[data-v-c08ba0bf] {
|
|
1090
1090
|
position: relative;
|
|
1091
1091
|
flex: 1;
|
|
1092
1092
|
min-width: 0;
|
|
1093
1093
|
}
|
|
1094
|
-
.aquantity__group[data-v-
|
|
1094
|
+
.aquantity__group[data-v-c08ba0bf] {
|
|
1095
1095
|
position: relative;
|
|
1096
1096
|
display: flex;
|
|
1097
1097
|
align-items: stretch;
|
|
@@ -1101,20 +1101,20 @@ legend[data-v-45ea7837] {
|
|
|
1101
1101
|
border: 1px solid var(--sc-input-border-color);
|
|
1102
1102
|
border-radius: var(--sc-border-radius);
|
|
1103
1103
|
}
|
|
1104
|
-
.aquantity__group[data-v-
|
|
1104
|
+
.aquantity__group[data-v-c08ba0bf]:focus-within {
|
|
1105
1105
|
border-color: var(--sc-input-active-border-color);
|
|
1106
1106
|
}
|
|
1107
|
-
.aquantity__group > .aform_field-label[data-v-
|
|
1107
|
+
.aquantity__group > .aform_field-label[data-v-c08ba0bf] {
|
|
1108
1108
|
background: var(--sc-form-background);
|
|
1109
1109
|
}
|
|
1110
1110
|
|
|
1111
1111
|
/* Focus ring lives on the merged group only (see AForm :focus-within label + group border). */
|
|
1112
|
-
.aquantity__group[data-v-
|
|
1113
|
-
.aquantity__group[data-v-
|
|
1112
|
+
.aquantity__group[data-v-c08ba0bf] .aform_dropdown-button:focus,
|
|
1113
|
+
.aquantity__group[data-v-c08ba0bf] .aform_dropdown-button:focus-visible {
|
|
1114
1114
|
outline: none;
|
|
1115
1115
|
box-shadow: none;
|
|
1116
1116
|
}
|
|
1117
|
-
.aquantity__qty[data-v-
|
|
1117
|
+
.aquantity__qty[data-v-c08ba0bf] {
|
|
1118
1118
|
flex: 1 1 50%;
|
|
1119
1119
|
min-width: 0;
|
|
1120
1120
|
border: none;
|
|
@@ -1129,13 +1129,13 @@ legend[data-v-45ea7837] {
|
|
|
1129
1129
|
appearance: textfield;
|
|
1130
1130
|
-moz-appearance: textfield;
|
|
1131
1131
|
}
|
|
1132
|
-
.aquantity__qty[data-v-
|
|
1133
|
-
.aquantity__qty[data-v-
|
|
1132
|
+
.aquantity__qty[data-v-c08ba0bf]::-webkit-outer-spin-button,
|
|
1133
|
+
.aquantity__qty[data-v-c08ba0bf]::-webkit-inner-spin-button {
|
|
1134
1134
|
appearance: none;
|
|
1135
1135
|
-webkit-appearance: none;
|
|
1136
1136
|
margin: 0;
|
|
1137
1137
|
}
|
|
1138
|
-
.aquantity__uom[data-v-
|
|
1138
|
+
.aquantity__uom[data-v-c08ba0bf] {
|
|
1139
1139
|
position: static;
|
|
1140
1140
|
flex: 1 1 50%;
|
|
1141
1141
|
min-width: 0;
|
|
@@ -1145,12 +1145,12 @@ legend[data-v-45ea7837] {
|
|
|
1145
1145
|
}
|
|
1146
1146
|
|
|
1147
1147
|
/* ADropdown list: anchor to merged group, not the UOM trigger column (see dropdowns.browser.spec). */
|
|
1148
|
-
.aquantity__group[data-v-
|
|
1149
|
-
.aquantity__group[data-v-
|
|
1148
|
+
.aquantity__group[data-v-c08ba0bf] .aform_form-element--embedded,
|
|
1149
|
+
.aquantity__group[data-v-c08ba0bf] .autocomplete {
|
|
1150
1150
|
position: static;
|
|
1151
1151
|
align-self: stretch;
|
|
1152
1152
|
}
|
|
1153
|
-
.aquantity__group[data-v-
|
|
1153
|
+
.aquantity__group[data-v-c08ba0bf] .autocomplete-results--anchor-group {
|
|
1154
1154
|
left: -1px;
|
|
1155
1155
|
right: -1px;
|
|
1156
1156
|
box-sizing: border-box;
|
|
@@ -1158,20 +1158,20 @@ legend[data-v-45ea7837] {
|
|
|
1158
1158
|
min-width: unset;
|
|
1159
1159
|
max-width: none;
|
|
1160
1160
|
}
|
|
1161
|
-
.aquantity__helper[data-v-
|
|
1161
|
+
.aquantity__helper[data-v-c08ba0bf] {
|
|
1162
1162
|
margin: 0.5rem 0 0;
|
|
1163
1163
|
font-size: 0.85rem;
|
|
1164
1164
|
color: var(--sc-cell-text-color);
|
|
1165
1165
|
opacity: 0.75;
|
|
1166
1166
|
}
|
|
1167
1167
|
|
|
1168
|
-
.aform_textbox[data-v-
|
|
1168
|
+
.aform_textbox[data-v-14b32545] {
|
|
1169
1169
|
resize: vertical;
|
|
1170
1170
|
line-height: 1.5;
|
|
1171
1171
|
min-height: 4rem;
|
|
1172
1172
|
font-family: inherit;
|
|
1173
1173
|
}
|
|
1174
|
-
.aform_textbox-display[data-v-
|
|
1174
|
+
.aform_textbox-display[data-v-14b32545] {
|
|
1175
1175
|
white-space: pre-wrap;
|
|
1176
1176
|
}
|
|
1177
1177
|
|