@uva-glass/component-library 3.53.9 → 3.53.11

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.
Files changed (71) hide show
  1. package/dist/{chunk-MDLQUVZN-BSRMHXbx.js → chunk-MDLQUVZN-Dk02kWJ8.js} +2 -5
  2. package/dist/{chunk-MDLQUVZN-BSRMHXbx.js.map → chunk-MDLQUVZN-Dk02kWJ8.js.map} +1 -1
  3. package/dist/{client-DdSuZDnt.js → client-3XNwBsl7.js} +43 -111
  4. package/dist/{client-DdSuZDnt.js.map → client-3XNwBsl7.js.map} +1 -1
  5. package/dist/components/Accordion/Accordion.test.js +3 -3
  6. package/dist/components/AccordionCard/AccordionCard.test.js +3 -3
  7. package/dist/components/ActionList/ActionList.test.js +3 -3
  8. package/dist/components/AppStatusBar/AppStatusBar.test.js +2 -2
  9. package/dist/components/Attention/Attention.test.js +2 -2
  10. package/dist/components/Backdrop/Backdrop.test.js +2 -2
  11. package/dist/components/Buttons/Button.stories.js +1 -1
  12. package/dist/components/Buttons/Button.test.js +2 -2
  13. package/dist/components/Buttons/LinkButton.stories.js +1 -1
  14. package/dist/components/Buttons/LinkButton.test.js +2 -2
  15. package/dist/components/Buttons/MenuButton.stories.js +1 -1
  16. package/dist/components/Buttons/MenuButton.test.js +2 -2
  17. package/dist/components/Card/Card.test.js +2 -2
  18. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  19. package/dist/components/Checkbox/Checkbox.test.js +3 -3
  20. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
  21. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +2 -2
  22. package/dist/components/CheckboxTree/CheckboxTree.stories.js +2 -2
  23. package/dist/components/Chip/Chip.stories.js +1 -1
  24. package/dist/components/ControlsButton/ControlsButton.stories.js +1 -1
  25. package/dist/components/Drawer/Drawer.stories.js +1 -1
  26. package/dist/components/FeedbackBar/FeedbackBar.test.js +2 -2
  27. package/dist/components/FormInput/FormInput.stories.js +1 -1
  28. package/dist/components/IconButton/IconButton.stories.js +1 -1
  29. package/dist/components/InputField/InputField.stories.js +1 -1
  30. package/dist/components/Label/Label.test.js +2 -2
  31. package/dist/components/MetaDataBar/MetaDataBar.test.js +1 -1
  32. package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
  33. package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
  34. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
  35. package/dist/components/MultiSelectBox/MultiSelectBox.test.js +2 -2
  36. package/dist/components/Notification/Notification.stories.js +1 -1
  37. package/dist/components/Notification/Notification.test.js +2 -2
  38. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
  39. package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
  40. package/dist/components/ProgrammeCard/ProgrammeCard.js.map +1 -1
  41. package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
  42. package/dist/components/RadioGroup/Radiogroup.test.js +2 -2
  43. package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +1 -1
  44. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +135 -125
  45. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js.map +1 -1
  46. package/dist/components/RteEditor/RteEditor.js +215 -238
  47. package/dist/components/RteEditor/RteEditor.js.map +1 -1
  48. package/dist/components/RteEditor/translations.js +4 -4
  49. package/dist/components/RteEditor/translations.js.map +1 -1
  50. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  51. package/dist/components/Sortable/Sortable.stories.js +1 -1
  52. package/dist/components/StatusBadge/StatusBadge.test.js +2 -2
  53. package/dist/components/TextArea/TextArea.stories.js +1 -1
  54. package/dist/components/TextArea/TextArea.test.js +3 -3
  55. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
  56. package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
  57. package/dist/components/VarIndicator/VarIndicator.test.js +3 -3
  58. package/dist/{index-DcECbqp4.js → index-CLNHDZVV.js} +2 -2
  59. package/dist/{index-DcECbqp4.js.map → index-CLNHDZVV.js.map} +1 -1
  60. package/dist/{index-ApPj4mI1.js → index-CULNJwuI.js} +5 -13
  61. package/dist/{index-ApPj4mI1.js.map → index-CULNJwuI.js.map} +1 -1
  62. package/dist/{index-Cfzi-sRQ.js → index-CdPMY4ux.js} +8 -19
  63. package/dist/{index-Cfzi-sRQ.js.map → index-CdPMY4ux.js.map} +1 -1
  64. package/dist/{react-18-plvLTuyc.js → react-18-D3e2aqkg.js} +2 -2
  65. package/dist/{react-18-plvLTuyc.js.map → react-18-D3e2aqkg.js.map} +1 -1
  66. package/dist/{react.esm-BpII5CMY.js → react.esm-QW7uOFDD.js} +5 -8
  67. package/dist/{react.esm-BpII5CMY.js.map → react.esm-QW7uOFDD.js.map} +1 -1
  68. package/dist/setupTests.js +1 -1
  69. package/dist/storybook__react.d.js +6 -9
  70. package/dist/storybook__react.d.js.map +1 -1
  71. package/package.json +10 -10
@@ -4974,22 +4974,14 @@ Error generating stack: ` + i.message + `
4974
4974
  u
4975
4975
  );
4976
4976
  break t;
4977
- } else {
4978
- switch (l = n.stateNode.containerInfo, l.nodeType) {
4979
- case 9:
4980
- l = l.body;
4981
- break;
4982
- default:
4983
- l = l.nodeName === "HTML" ? l.ownerDocument.body : l;
4984
- }
4985
- for (ue = $l(l.firstChild), el = n, Ot = !0, $n = null, Le = !0, u = Km(
4977
+ } else
4978
+ for (l = n.stateNode.containerInfo, l.nodeType === 9 ? l = l.body : l = l.nodeName === "HTML" ? l.ownerDocument.body : l, ue = $l(l.firstChild), el = n, Ot = !0, $n = null, Le = !0, u = Km(
4986
4979
  n,
4987
4980
  null,
4988
4981
  i,
4989
4982
  u
4990
4983
  ), n.child = u; u; )
4991
4984
  u.flags = u.flags & -3 | 4096, u = u.sibling;
4992
- }
4993
4985
  else {
4994
4986
  if (bc(), i === s) {
4995
4987
  n = Ua(
@@ -8620,14 +8612,7 @@ Error generating stack: ` + i.message + `
8620
8612
  return;
8621
8613
  case "option":
8622
8614
  for (T in u)
8623
- if (u.hasOwnProperty(T) && (i = u[T], i != null))
8624
- switch (T) {
8625
- case "selected":
8626
- l.selected = i && typeof i != "function" && typeof i != "symbol";
8627
- break;
8628
- default:
8629
- te(l, n, T, i, u, null);
8630
- }
8615
+ u.hasOwnProperty(T) && (i = u[T], i != null) && (T === "selected" ? l.selected = i && typeof i != "function" && typeof i != "symbol" : te(l, n, T, i, u, null));
8631
8616
  return;
8632
8617
  case "dialog":
8633
8618
  Dt("beforetoggle", l), Dt("toggle", l), Dt("cancel", l), Dt("close", l);
@@ -8840,37 +8825,23 @@ Error generating stack: ` + i.message + `
8840
8825
  return;
8841
8826
  case "option":
8842
8827
  for (var W in u)
8843
- if (C = u[W], u.hasOwnProperty(W) && C != null && !i.hasOwnProperty(W))
8844
- switch (W) {
8845
- case "selected":
8846
- l.selected = !1;
8847
- break;
8848
- default:
8849
- te(
8850
- l,
8851
- n,
8852
- W,
8853
- null,
8854
- i,
8855
- C
8856
- );
8857
- }
8828
+ C = u[W], u.hasOwnProperty(W) && C != null && !i.hasOwnProperty(W) && (W === "selected" ? l.selected = !1 : te(
8829
+ l,
8830
+ n,
8831
+ W,
8832
+ null,
8833
+ i,
8834
+ C
8835
+ ));
8858
8836
  for (T in i)
8859
- if (C = i[T], q = u[T], i.hasOwnProperty(T) && C !== q && (C != null || q != null))
8860
- switch (T) {
8861
- case "selected":
8862
- l.selected = C && typeof C != "function" && typeof C != "symbol";
8863
- break;
8864
- default:
8865
- te(
8866
- l,
8867
- n,
8868
- T,
8869
- C,
8870
- i,
8871
- q
8872
- );
8873
- }
8837
+ C = i[T], q = u[T], i.hasOwnProperty(T) && C !== q && (C != null || q != null) && (T === "selected" ? l.selected = C && typeof C != "function" && typeof C != "symbol" : te(
8838
+ l,
8839
+ n,
8840
+ T,
8841
+ C,
8842
+ i,
8843
+ q
8844
+ ));
8874
8845
  return;
8875
8846
  case "img":
8876
8847
  case "link":
@@ -9544,12 +9515,7 @@ Error generating stack: ` + i.message + `
9544
9515
  case "link":
9545
9516
  if (typeof n.rel != "string" || typeof n.href != "string" || n.href === "" || n.onLoad || n.onError)
9546
9517
  break;
9547
- switch (n.rel) {
9548
- case "stylesheet":
9549
- return l = n.disabled, typeof n.precedence == "string" && l == null;
9550
- default:
9551
- return !0;
9552
- }
9518
+ return n.rel === "stylesheet" ? (l = n.disabled, typeof n.precedence == "string" && l == null) : !0;
9553
9519
  case "script":
9554
9520
  if (n.async && typeof n.async != "function" && typeof n.async != "symbol" && !n.onLoad && !n.onError && n.src && typeof n.src == "string")
9555
9521
  return !0;
@@ -17353,22 +17319,14 @@ https://react.dev/link/unsafe-component-lifecycles`,
17353
17319
  a
17354
17320
  );
17355
17321
  break t;
17356
- } else {
17357
- switch (t = e.stateNode.containerInfo, t.nodeType) {
17358
- case 9:
17359
- t = t.body;
17360
- break;
17361
- default:
17362
- t = t.nodeName === "HTML" ? t.ownerDocument.body : t;
17363
- }
17364
- for (ve = _a(t.firstChild), Fl = e, Ct = !0, zf = null, wc = !1, Hn = null, Eu = !0, a = eb(
17322
+ } else
17323
+ for (t = e.stateNode.containerInfo, t.nodeType === 9 ? t = t.body : t = t.nodeName === "HTML" ? t.ownerDocument.body : t, ve = _a(t.firstChild), Fl = e, Ct = !0, zf = null, wc = !1, Hn = null, Eu = !0, a = eb(
17365
17324
  e,
17366
17325
  null,
17367
17326
  c,
17368
17327
  a
17369
17328
  ), e.child = a; a; )
17370
17329
  a.flags = a.flags & -3 | 4096, a = a.sibling;
17371
- }
17372
17330
  else {
17373
17331
  if (vc(), c === o) {
17374
17332
  e = Tn(
@@ -22578,14 +22536,7 @@ This ensures that you're testing the behavior the user would see in the browser.
22578
22536
  case "option":
22579
22537
  sp(t, a);
22580
22538
  for (y in a)
22581
- if (a.hasOwnProperty(y) && (c = a[y], c != null))
22582
- switch (y) {
22583
- case "selected":
22584
- t.selected = c && typeof c != "function" && typeof c != "symbol";
22585
- break;
22586
- default:
22587
- Vt(t, e, y, c, a, null);
22588
- }
22539
+ a.hasOwnProperty(y) && (c = a[y], c != null) && (y === "selected" ? t.selected = c && typeof c != "function" && typeof c != "symbol" : Vt(t, e, y, c, a, null));
22589
22540
  return;
22590
22541
  case "dialog":
22591
22542
  ut("beforetoggle", t), ut("toggle", t), ut("cancel", t), ut("close", t);
@@ -22816,37 +22767,23 @@ This ensures that you're testing the behavior the user would see in the browser.
22816
22767
  return;
22817
22768
  case "option":
22818
22769
  for (var Z in a)
22819
- if (S = a[Z], a.hasOwnProperty(Z) && S != null && !c.hasOwnProperty(Z))
22820
- switch (Z) {
22821
- case "selected":
22822
- t.selected = !1;
22823
- break;
22824
- default:
22825
- Vt(
22826
- t,
22827
- e,
22828
- Z,
22829
- null,
22830
- c,
22831
- S
22832
- );
22833
- }
22770
+ S = a[Z], a.hasOwnProperty(Z) && S != null && !c.hasOwnProperty(Z) && (Z === "selected" ? t.selected = !1 : Vt(
22771
+ t,
22772
+ e,
22773
+ Z,
22774
+ null,
22775
+ c,
22776
+ S
22777
+ ));
22834
22778
  for (y in c)
22835
- if (S = c[y], _ = a[y], c.hasOwnProperty(y) && S !== _ && (S != null || _ != null))
22836
- switch (y) {
22837
- case "selected":
22838
- t.selected = S && typeof S != "function" && typeof S != "symbol";
22839
- break;
22840
- default:
22841
- Vt(
22842
- t,
22843
- e,
22844
- y,
22845
- S,
22846
- c,
22847
- _
22848
- );
22849
- }
22779
+ S = c[y], _ = a[y], c.hasOwnProperty(y) && S !== _ && (S != null || _ != null) && (y === "selected" ? t.selected = S && typeof S != "function" && typeof S != "symbol" : Vt(
22780
+ t,
22781
+ e,
22782
+ y,
22783
+ S,
22784
+ c,
22785
+ _
22786
+ ));
22850
22787
  return;
22851
22788
  case "img":
22852
22789
  case "link":
@@ -24227,14 +24164,9 @@ This ensures that you're testing the behavior the user would see in the browser.
24227
24164
  ));
24228
24165
  break;
24229
24166
  }
24230
- switch (e.rel) {
24231
- case "stylesheet":
24232
- return t = e.precedence, e = e.disabled, typeof t != "string" && c && console.error(
24233
- 'Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'
24234
- ), typeof t == "string" && e == null;
24235
- default:
24236
- return !0;
24237
- }
24167
+ return e.rel === "stylesheet" ? (t = e.precedence, e = e.disabled, typeof t != "string" && c && console.error(
24168
+ 'Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'
24169
+ ), typeof t == "string" && e == null) : !0;
24238
24170
  case "script":
24239
24171
  if (t = e.async && typeof e.async != "function" && typeof e.async != "symbol", !t || e.onLoad || e.onError || !e.src || typeof e.src != "string") {
24240
24172
  c && (t ? e.onLoad || e.onError ? console.error(
@@ -27287,4 +27219,4 @@ var lT = P3();
27287
27219
  export {
27288
27220
  lT as c
27289
27221
  };
27290
- //# sourceMappingURL=client-DdSuZDnt.js.map
27222
+ //# sourceMappingURL=client-3XNwBsl7.js.map