dap-design-system 0.58.2 → 0.58.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.
@@ -17080,6 +17080,8 @@ let qt = class extends wt(T) {
17080
17080
  t.preventDefault(), this.handleKeyCodes(t.key, t.code);
17081
17081
  }
17082
17082
  scrollToActiveOption() {
17083
+ if (!this.currentOption)
17084
+ return;
17083
17085
  const t = this.getAllRenderedOptions().find(
17084
17086
  (e) => e.value === this.currentOption.value
17085
17087
  );
@@ -17189,7 +17191,7 @@ let qt = class extends wt(T) {
17189
17191
  (this.isAutoComplete || this.searchMode === "none") && (this.handleKeyCodes(t), this.setCurrentOption(this.availableOptions[this.selectedIndex], !1), this.setSelectedOption(this.availableOptions[this.selectedIndex])), this.searchMode === "typehead" && this.buildQueryString(t);
17190
17192
  }
17191
17193
  captureFocus(t) {
17192
- this.focused = !0, this.focus(), t ? this.handleKeyFocus(t) : this.handleInitialFocus();
17194
+ this.focused = !0, this.focus(), t ? this.handleKeyFocus(t) : this.handleInitialFocus(), typeof requestAnimationFrame == "function" && requestAnimationFrame(() => this.scrollToActiveOption());
17193
17195
  }
17194
17196
  removeFocus() {
17195
17197
  this.focused = !1, this.clearItemFocusStates();
@@ -21829,45 +21831,45 @@ di = Gi([
21829
21831
  O("dap-ds-typography")
21830
21832
  ], di);
21831
21833
  export {
21832
- Pr as $,
21834
+ qt as $,
21833
21835
  Mi as A,
21834
21836
  Ro as B,
21835
21837
  Lr as C,
21836
- Gs as D,
21838
+ eo as D,
21837
21839
  Ar as E,
21838
- X as F,
21839
- ao as G,
21840
- xt as H,
21841
- Jt as I,
21842
- G as J,
21843
- K,
21844
- Ri as L,
21845
- qe as M,
21846
- Fa as N,
21847
- Ha as O,
21848
- Tt as P,
21849
- ie as Q,
21850
- At as R,
21851
- un as S,
21852
- rt as T,
21853
- ai as U,
21854
- oe as V,
21855
- ue as W,
21856
- Na as X,
21857
- Vo as Y,
21858
- re as Z,
21859
- qt as _,
21840
+ K as F,
21841
+ X as G,
21842
+ ao as H,
21843
+ Fa as I,
21844
+ xt as J,
21845
+ Jt as K,
21846
+ G as L,
21847
+ Ri as M,
21848
+ qe as N,
21849
+ Tt as O,
21850
+ pn as P,
21851
+ Ha as Q,
21852
+ ie as R,
21853
+ At as S,
21854
+ un as T,
21855
+ rt as U,
21856
+ ai as V,
21857
+ oe as W,
21858
+ ue as X,
21859
+ Na as Y,
21860
+ Vo as Z,
21861
+ re as _,
21860
21862
  Wt as a,
21861
- St as a0,
21862
- Bo as a1,
21863
- Pa as a2,
21864
- Pe as a3,
21865
- Rt as a4,
21866
- si as a5,
21867
- Tr as a6,
21868
- lo as a7,
21869
- hn as a8,
21870
- pn as a9,
21863
+ Pr as a0,
21864
+ St as a1,
21865
+ Bo as a2,
21866
+ Pa as a3,
21867
+ Pe as a4,
21868
+ Rt as a5,
21869
+ si as a6,
21870
+ Tr as a7,
21871
+ lo as a8,
21872
+ hn as a9,
21871
21873
  di as aA,
21872
21874
  so as aB,
21873
21875
  Er as aC,
@@ -21903,24 +21905,24 @@ export {
21903
21905
  po as ax,
21904
21906
  we as ay,
21905
21907
  Mr as az,
21906
- je as b,
21907
- Po as c,
21908
- eo as d,
21909
- io as e,
21910
- Oe as f,
21911
- yi as g,
21908
+ Gs as b,
21909
+ je as c,
21910
+ yi as d,
21911
+ Oe as e,
21912
+ Po as f,
21913
+ io as g,
21912
21914
  ri as h,
21913
21915
  Ot as i,
21914
21916
  Yt as j,
21915
21917
  Lt as k,
21916
21918
  Zt as l,
21917
- Oa as m,
21918
- zr as n,
21919
- Ei as o,
21920
- Cr as p,
21921
- To as q,
21922
- ye as r,
21923
- Gt as s,
21919
+ Gt as m,
21920
+ Oa as n,
21921
+ zr as o,
21922
+ Ei as p,
21923
+ Cr as q,
21924
+ To as r,
21925
+ ye as s,
21924
21926
  xe as t,
21925
21927
  Pi as u,
21926
21928
  Le as v,
@@ -21929,4 +21931,4 @@ export {
21929
21931
  ee as y,
21930
21932
  ki as z
21931
21933
  };
21932
- //# sourceMappingURL=components-D6jorS84.js.map
21934
+ //# sourceMappingURL=components-C1PeiTAk.js.map