@asd20/ui-next 2.12.1 → 2.12.3

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,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.12.3](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.12.2...ui-next-v2.12.3) (2026-05-27)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * fix background display when search flyout is opened ([4483b69](https://github.com/academydistrict20/asd20-ui-next/commit/4483b693a070d0d67c56b9caf1396eb174419777))
9
+
10
+ ## [2.12.2](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.12.1...ui-next-v2.12.2) (2026-05-27)
11
+
3
12
  ## [2.12.1](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.12.0...ui-next-v2.12.1) (2026-05-26)
4
13
 
5
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asd20/ui-next",
3
- "version": "2.12.1",
3
+ "version": "2.12.3",
4
4
  "private": false,
5
5
  "description": "ASD20 UI component library for Vue 3.",
6
6
  "license": "MIT",
@@ -121,13 +121,29 @@ export default {
121
121
  border-bottom-right-radius: 1rem;
122
122
  }
123
123
  &--no-label {
124
+ width: 2.75rem;
125
+ min-width: 2.75rem;
126
+ max-width: 2.75rem;
127
+ flex: 0 0 2.75rem;
128
+ overflow: hidden;
124
129
  border-radius: 50%;
125
130
  & :deep(.asd20-select-input) {
131
+ width: 100%;
132
+ height: 100%;
126
133
  padding: 0.375rem;
134
+ padding-right: 0.375rem;
127
135
  .asd20-icon {
128
136
  margin-left: 0;
129
137
  }
130
138
  }
139
+ & :deep(.asd20-select-input__field-wrapper) {
140
+ width: 100%;
141
+ height: 100%;
142
+ padding: 0;
143
+ }
144
+ & :deep(.asd20-select-input__select-wrapper) {
145
+ flex: 0 0 0;
146
+ }
131
147
  & :deep(.asd20-select-input__overlay-label) {
132
148
  display: none;
133
149
  }
@@ -2067,27 +2067,7 @@ export default {
2067
2067
  return
2068
2068
  }
2069
2069
  if (this.bodyScrollLock) return
2070
- const docEl = document.documentElement
2071
- const body = document.body
2072
- const scrollY =
2073
- window.pageYOffset || docEl.scrollTop || body.scrollTop || 0
2074
-
2075
- this.bodyScrollLock = {
2076
- scrollY,
2077
- bodyOverflow: body.style.overflow,
2078
- bodyPosition: body.style.position,
2079
- bodyTop: body.style.top,
2080
- bodyWidth: body.style.width,
2081
- docOverflow: docEl.style.overflow,
2082
- }
2083
-
2084
- body.classList.add('asd20-site-search--scroll-locked')
2085
- docEl.classList.add('asd20-site-search--scroll-locked')
2086
- body.style.position = 'fixed'
2087
- body.style.top = `-${scrollY}px`
2088
- body.style.width = '100%'
2089
- body.style.overflow = 'hidden'
2090
- docEl.style.overflow = 'hidden'
2070
+ this.bodyScrollLock = true
2091
2071
  },
2092
2072
 
2093
2073
  unlockBodyScroll() {
@@ -2095,20 +2075,7 @@ export default {
2095
2075
  return
2096
2076
  }
2097
2077
  if (!this.bodyScrollLock) return
2098
- const { scrollY } = this.bodyScrollLock
2099
- const docEl = document.documentElement
2100
- const body = document.body
2101
-
2102
- body.classList.remove('asd20-site-search--scroll-locked')
2103
- docEl.classList.remove('asd20-site-search--scroll-locked')
2104
- body.style.overflow = this.bodyScrollLock.bodyOverflow || ''
2105
- body.style.position = this.bodyScrollLock.bodyPosition || ''
2106
- body.style.top = this.bodyScrollLock.bodyTop || ''
2107
- body.style.width = this.bodyScrollLock.bodyWidth || ''
2108
- docEl.style.overflow = this.bodyScrollLock.docOverflow || ''
2109
2078
  this.bodyScrollLock = null
2110
-
2111
- window.scrollTo(0, scrollY || 0)
2112
2079
  },
2113
2080
 
2114
2081
  scrollResultsToTop() {