@asd20/ui-next 2.0.21 → 2.0.23

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.0.23](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.0.22...ui-next-v2.0.23) (2026-04-03)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * ensure search result urls are accurate ([0684303](https://github.com/academydistrict20/asd20-ui-next/commit/06843037c47bdb7b7ee4adee215c118695a1e2dc))
9
+
10
+ ## [2.0.22](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.0.21...ui-next-v2.0.22) (2026-04-02)
11
+
3
12
  ## [2.0.21](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.0.20...ui-next-v2.0.21) (2026-04-02)
4
13
 
5
14
  ## [2.0.20](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.0.19...ui-next-v2.0.20) (2026-04-02)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asd20/ui-next",
3
- "version": "2.0.21",
3
+ "version": "2.0.23",
4
4
  "private": false,
5
5
  "description": "ASD20 UI component library for Vue 3.",
6
6
  "license": "MIT",
@@ -640,7 +640,9 @@ export default {
640
640
  }
641
641
 
642
642
  &__top {
643
- display: none;
643
+ .asd20-organization-picker {
644
+ display: none !important;
645
+ }
644
646
  }
645
647
 
646
648
  &__tools {
@@ -1790,46 +1790,7 @@ export default {
1790
1790
 
1791
1791
  appendSearchContextToUrl(rawUrl) {
1792
1792
  if (!rawUrl || typeof rawUrl !== 'string') return rawUrl
1793
- if (typeof window === 'undefined' || !window.location) return rawUrl
1794
-
1795
- const searchState = this.getCurrentSearchStateForRoute()
1796
- if (!searchState) return rawUrl
1797
- if (/^(mailto:|tel:|javascript:|#)/i.test(rawUrl)) return rawUrl
1798
-
1799
- try {
1800
- const parsed = new URL(rawUrl, window.location.origin)
1801
- const currentHost = window.location.hostname || ''
1802
- const targetHost = parsed.hostname || ''
1803
- const sameOrigin = parsed.origin === window.location.origin
1804
- const currentIsLocal = this.isLocalDevelopmentHost(currentHost)
1805
- const currentIsAsd20 =
1806
- currentHost === 'asd20.org' || currentHost.endsWith('.asd20.org')
1807
- const targetIsAsd20 =
1808
- targetHost === 'asd20.org' || targetHost.endsWith('.asd20.org')
1809
- const sameAsd20Domain = currentIsAsd20 && targetIsAsd20
1810
- const mapAsd20ToLocal = currentIsLocal && targetIsAsd20
1811
- if (!sameOrigin && !sameAsd20Domain && !mapAsd20ToLocal) return rawUrl
1812
-
1813
- const resolved = mapAsd20ToLocal
1814
- ? new URL(
1815
- `${parsed.pathname}${parsed.search}${parsed.hash}`,
1816
- window.location.origin
1817
- )
1818
- : parsed
1819
-
1820
- const queryValues = this.buildRouteSearchQueryValues(searchState)
1821
- Object.keys(queryValues).forEach(key => {
1822
- resolved.searchParams.set(key, queryValues[key])
1823
- })
1824
-
1825
- if (mapAsd20ToLocal) {
1826
- return `${resolved.pathname}${resolved.search}${resolved.hash}`
1827
- }
1828
- if (/^https?:\/\//i.test(rawUrl)) return resolved.toString()
1829
- return `${resolved.pathname}${resolved.search}${resolved.hash}`
1830
- } catch (error) {
1831
- return rawUrl
1832
- }
1793
+ return rawUrl
1833
1794
  },
1834
1795
 
1835
1796
  async restoreSearchStateFromRoute() {
@@ -400,7 +400,7 @@ export default {
400
400
  .asd20-notification-group--floating {
401
401
  position: absolute;
402
402
  top: space(2);
403
- right: space(0.75);
403
+ right: space(0.5);
404
404
  }
405
405
  .notification-group--inline {
406
406
  margin: space(2) space(1) space(1) space(1);
@@ -493,7 +493,7 @@ export default {
493
493
  margin-top: 0;
494
494
  .asd20-notification-group--floating {
495
495
  position: absolute;
496
- top: space(0.75);
496
+ top: 1rem;
497
497
  }
498
498
  .notification-group--inline {
499
499
  margin: space(2) space(3) space(1) space(3);
@@ -414,7 +414,7 @@ export default {
414
414
  .asd20-notification-group--floating {
415
415
  position: absolute;
416
416
  top: space(2);
417
- right: space(0.75);
417
+ right: space(0.5);
418
418
  }
419
419
  .notification-group--inline {
420
420
  margin: space(2) space(1) space(1) space(1);
@@ -506,7 +506,7 @@ export default {
506
506
  margin-top: 0;
507
507
  .asd20-notification-group--floating {
508
508
  position: absolute;
509
- top: space(0.75);
509
+ top: 1rem;
510
510
  }
511
511
  .notification-group--inline {
512
512
  margin: space(2) space(3) space(1) space(3);
@@ -460,7 +460,7 @@ export default {
460
460
  .asd20-notification-group--floating {
461
461
  position: absolute;
462
462
  top: space(2);
463
- right: space(0.75);
463
+ right: space(0.5);
464
464
  }
465
465
  .feed-title {
466
466
  margin: space(1) 0 0 0;
@@ -576,7 +576,7 @@ export default {
576
576
  margin-top: 0;
577
577
  .asd20-notification-group--floating {
578
578
  position: absolute;
579
- top: space(0.75);
579
+ top: 1rem;
580
580
  }
581
581
  .feed-title {
582
582
  margin-left: 0;
@@ -188,7 +188,7 @@ export default {
188
188
  .asd20-notification-group--floating {
189
189
  position: absolute;
190
190
  top: space(2);
191
- right: space(0.75);
191
+ right: space(0.5);
192
192
  }
193
193
  }
194
194
 
@@ -199,7 +199,7 @@ export default {
199
199
  margin-top: 0;
200
200
  .asd20-notification-group--floating {
201
201
  position: absolute;
202
- top: space(0.75);
202
+ top: 1rem;
203
203
  }
204
204
  .notification-group--inline {
205
205
  margin: space(2) space(3) space(1) space(3);
@@ -408,7 +408,7 @@ export default {
408
408
  .asd20-notification-group--floating {
409
409
  position: absolute;
410
410
  top: space(2);
411
- right: space(0.75);
411
+ right: space(0.5);
412
412
  }
413
413
  .asd20-page-content {
414
414
  display: block;
@@ -498,7 +498,7 @@ export default {
498
498
  margin-top: 0;
499
499
  .asd20-notification-group--floating {
500
500
  position: absolute;
501
- top: space(0.75);
501
+ top: 1rem;
502
502
  }
503
503
  .feed-title-wrapper {
504
504
  margin-left: 0;
@@ -277,7 +277,7 @@ export default {
277
277
  margin-top: 0;
278
278
  .asd20-notification-group--floating {
279
279
  position: absolute;
280
- top: space(0.75);
280
+ top: 1rem;
281
281
  }
282
282
  .notification-group--inline {
283
283
  flex-basis: 100%;
@@ -241,7 +241,7 @@ export default {
241
241
  .asd20-notification-group--floating {
242
242
  position: absolute;
243
243
  top: space(2);
244
- right: space(0.75);
244
+ right: space(0.5);
245
245
  }
246
246
  }
247
247
 
@@ -261,7 +261,7 @@ export default {
261
261
  margin-top: 0;
262
262
  .asd20-notification-group--floating {
263
263
  position: absolute;
264
- top: space(0.75);
264
+ top: 1rem;
265
265
  }
266
266
  .notification-group--inline {
267
267
  margin: space(2) space(3) space(1) space(3);
@@ -234,7 +234,7 @@ export default {
234
234
  .asd20-notification-group--floating {
235
235
  position: absolute;
236
236
  top: space(2);
237
- right: space(0.75);
237
+ right: space(0.5);
238
238
  }
239
239
  }
240
240
 
@@ -254,7 +254,7 @@ export default {
254
254
  margin-top: 0;
255
255
  .asd20-notification-group--floating {
256
256
  position: absolute;
257
- top: space(0.75);
257
+ top: 1rem;
258
258
  }
259
259
  .notification-group--inline {
260
260
  margin: space(2) space(3) space(1) space(3);
@@ -237,7 +237,7 @@ export default {
237
237
  .asd20-notification-group--floating {
238
238
  position: absolute;
239
239
  top: space(2);
240
- right: space(0.75);
240
+ right: space(0.5);
241
241
  }
242
242
  }
243
243
 
@@ -248,7 +248,7 @@ export default {
248
248
  margin-top: 0;
249
249
  .asd20-notification-group--floating {
250
250
  position: absolute;
251
- top: space(0.75);
251
+ top: 1rem;
252
252
  }
253
253
  .notification-group--inline {
254
254
  margin: space(2) space(3) space(1) space(3);
@@ -222,7 +222,7 @@ export default {
222
222
  margin-top: 0;
223
223
  .asd20-notification-group--floating {
224
224
  position: absolute;
225
- top: space(0.75);
225
+ top: 1rem;
226
226
  }
227
227
  .notification-group--inline {
228
228
  margin: space(2) space(3) space(1) space(3);
@@ -368,7 +368,7 @@ export default {
368
368
  }
369
369
  .notification-group--floating {
370
370
  position: absolute;
371
- right: space(0.75);
371
+ right: space(0.5);
372
372
  top: space(1);
373
373
  z-index: 101;
374
374
  }
@@ -416,7 +416,7 @@ export default {
416
416
  .notification-group--floating {
417
417
  position: absolute;
418
418
  right: space(1.85);
419
- top: space(0.75);
419
+ top: 1rem;
420
420
  }
421
421
  .notification-group--inline {
422
422
  margin: space(2) space(3) space(1) space(3);
@@ -240,7 +240,7 @@ export default {
240
240
  .asd20-notification-group--floating {
241
241
  position: absolute;
242
242
  top: space(2);
243
- right: space(0.75);
243
+ right: space(0.5);
244
244
  }
245
245
  .asd20-notification-group--inline {
246
246
  margin-top: space(2) !important;
@@ -281,7 +281,7 @@ export default {
281
281
  .asd20-template-wayfinding-accessibility {
282
282
  .asd20-notification-group--floating {
283
283
  position: absolute;
284
- top: space(0.75);
284
+ top: 1rem;
285
285
  }
286
286
  @include template-desktop;
287
287
  margin-left: space(3);
@@ -216,7 +216,7 @@ export default {
216
216
  .asd20-notification-group--floating {
217
217
  position: absolute;
218
218
  top: space(2);
219
- right: space(0.75);
219
+ right: space(0.5);
220
220
  }
221
221
  .asd20-notification-group--inline {
222
222
  margin-top: space(2) !important;
@@ -277,7 +277,7 @@ export default {
277
277
  .asd20-template-wayfinding-alternate {
278
278
  .asd20-notification-group--floating {
279
279
  position: absolute;
280
- top: space(0.75);
280
+ top: 1rem;
281
281
  }
282
282
  @include template-desktop;
283
283
  margin-left: space(3);
@@ -217,7 +217,7 @@ export default {
217
217
  .asd20-notification-group--floating {
218
218
  position: absolute;
219
219
  top: space(2);
220
- right: space(0.75);
220
+ right: space(0.5);
221
221
  }
222
222
  .asd20-notification-group--inline {
223
223
  margin-top: space(2) !important;
@@ -298,7 +298,7 @@ export default {
298
298
  margin-top: space(0);
299
299
  .asd20-notification-group--floating {
300
300
  position: absolute;
301
- top: space(0.75);
301
+ top: 1rem;
302
302
  }
303
303
  .asd20-page-content {
304
304
  padding: space(1);
@@ -214,7 +214,7 @@ export default {
214
214
  .asd20-notification-group--floating {
215
215
  position: absolute;
216
216
  top: space(2);
217
- right: space(0.75);
217
+ right: space(0.5);
218
218
  }
219
219
  .asd20-notification-group--inline {
220
220
  margin-top: space(2) !important;
@@ -255,7 +255,7 @@ export default {
255
255
  .asd20-template-wayfinding {
256
256
  .asd20-notification-group--floating {
257
257
  position: absolute;
258
- top: space(0.75);
258
+ top: 1rem;
259
259
  }
260
260
  @include template-desktop;
261
261
  margin-left: space(3);