@asd20/ui-next 2.34.0 → 2.34.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.34.1](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.34.0...ui-next-v2.34.1) (2026-10-28)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * edit order of records on student records request form ([6880af6](https://github.com/academydistrict20/asd20-ui-next/commit/6880af607ab042d62f59b4b10da770f99e573cba))
9
+
3
10
  # [2.34.0](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.33.3...ui-next-v2.34.0) (2026-10-28)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asd20/ui-next",
3
- "version": "2.34.0",
3
+ "version": "2.34.1",
4
4
  "private": false,
5
5
  "description": "ASD20 UI component library for Vue 3.",
6
6
  "license": "MIT",
@@ -161,6 +161,7 @@
161
161
  <label
162
162
  v-for="option in field.options"
163
163
  :key="option.value"
164
+ :class="{ 'asd20-public-form-field__option--separated': option.separatorAfter }"
164
165
  :for="`${inputId}-${option.value}`"
165
166
  >
166
167
  <input
@@ -439,6 +440,12 @@ export default {
439
440
  align-items: flex-start;
440
441
  }
441
442
 
443
+ &__choices label.asd20-public-form-field__option--separated {
444
+ border-bottom: 1px solid #d9d9d9;
445
+ margin-bottom: space(0.25);
446
+ padding-bottom: space(0.25);
447
+ }
448
+
442
449
  &__choices input[type='radio'],
443
450
  &__choices input[type='checkbox'] {
444
451
  flex: 0 0 auto;
@@ -72,7 +72,13 @@ function normalizeOptions(field) {
72
72
  'Option description',
73
73
  1000
74
74
  )
75
- return description ? { label, value, description } : { label, value }
75
+ const separatorAfter = optionalBoolean(option?.separatorAfter, 'Option separator')
76
+ return {
77
+ label,
78
+ value,
79
+ ...(description ? { description } : {}),
80
+ ...(separatorAfter ? { separatorAfter: true } : {}),
81
+ }
76
82
  })
77
83
  }
78
84