@uva-glass/component-library 3.35.0 → 3.36.0

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 (119) hide show
  1. package/dist/{Lexical.prod-C7FcGFd7.js → Lexical.prod-7x3WP3vd.js} +562 -563
  2. package/dist/Lexical.prod-7x3WP3vd.js.map +1 -0
  3. package/dist/{LexicalClipboard.prod-CeOlk1NB.js → LexicalClipboard.prod-BMLLh6JL.js} +11 -11
  4. package/dist/{LexicalClipboard.prod-CeOlk1NB.js.map → LexicalClipboard.prod-BMLLh6JL.js.map} +1 -1
  5. package/dist/{LexicalLink.prod-CSI9BSPD.js → LexicalLink.prod-Dr6L083o.js} +3 -3
  6. package/dist/{LexicalLink.prod-CSI9BSPD.js.map → LexicalLink.prod-Dr6L083o.js.map} +1 -1
  7. package/dist/{LexicalList.prod-TMA2LN4v.js → LexicalList.prod-nl__pKjG.js} +11 -11
  8. package/dist/{LexicalList.prod-TMA2LN4v.js.map → LexicalList.prod-nl__pKjG.js.map} +1 -1
  9. package/dist/{LexicalSelection.prod-DDwSrdAV.js → LexicalSelection.prod-CB_xP0pP.js} +24 -22
  10. package/dist/{LexicalSelection.prod-DDwSrdAV.js.map → LexicalSelection.prod-CB_xP0pP.js.map} +1 -1
  11. package/dist/{LexicalTable.prod-DYP5JQC0.js → LexicalTable.prod-CwkGGOke.js} +4 -4
  12. package/dist/{LexicalTable.prod-DYP5JQC0.js.map → LexicalTable.prod-CwkGGOke.js.map} +1 -1
  13. package/dist/{LexicalUtils.prod-D_SPJ6vo.js → LexicalUtils.prod-CtYaCJNB.js} +25 -25
  14. package/dist/LexicalUtils.prod-CtYaCJNB.js.map +1 -0
  15. package/dist/{TablePlugin-CI_6HCsd.js → TablePlugin-C38z2r5y.js} +4 -4
  16. package/dist/{TablePlugin-CI_6HCsd.js.map → TablePlugin-C38z2r5y.js.map} +1 -1
  17. package/dist/assets/VarIndicator.css +1 -1
  18. package/dist/{client-D0KlBcsm.js → client-BIzWgcD3.js} +766 -758
  19. package/dist/{client-D0KlBcsm.js.map → client-BIzWgcD3.js.map} +1 -1
  20. package/dist/components/Accordion/Accordion.test.js +3 -3
  21. package/dist/components/AccordionCard/AccordionCard.test.js +3 -3
  22. package/dist/components/ActionList/ActionList.test.js +3 -3
  23. package/dist/components/AppStatusBar/AppStatusBar.test.js +2 -2
  24. package/dist/components/Attention/Attention.test.js +2 -2
  25. package/dist/components/Backdrop/Backdrop.test.js +2 -2
  26. package/dist/components/Buttons/Button.stories.js +1 -1
  27. package/dist/components/Buttons/Button.test.js +2 -2
  28. package/dist/components/Buttons/LinkButton.stories.js +1 -1
  29. package/dist/components/Buttons/LinkButton.test.js +2 -2
  30. package/dist/components/Buttons/MenuButton.stories.js +1 -1
  31. package/dist/components/Buttons/MenuButton.test.js +2 -2
  32. package/dist/components/Card/Card.test.js +2 -2
  33. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  34. package/dist/components/Checkbox/Checkbox.test.js +3 -3
  35. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
  36. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +2 -2
  37. package/dist/components/CheckboxTree/CheckboxTree.js +1 -1
  38. package/dist/components/CheckboxTree/CheckboxTree.stories.js +7 -7
  39. package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -1
  40. package/dist/components/Chip/Chip.stories.js +1 -1
  41. package/dist/components/ControlsButton/ControlsButton.stories.js +1 -1
  42. package/dist/components/Drawer/Drawer.stories.js +1 -1
  43. package/dist/components/FeedbackBar/FeedbackBar.test.js +2 -2
  44. package/dist/components/FormInput/FormInput.js +1 -1
  45. package/dist/components/FormInput/FormInput.stories.js +1 -1
  46. package/dist/components/IconButton/IconButton.stories.js +1 -1
  47. package/dist/components/InputField/InputField.stories.js +2 -2
  48. package/dist/components/Label/Label.test.js +2 -2
  49. package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
  50. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  51. package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
  52. package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
  53. package/dist/components/MultiSelect/index.js +1 -1
  54. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
  55. package/dist/components/MultiSelectBox/MultiSelectBox.test.js +2 -2
  56. package/dist/components/Notification/Notification.stories.js +1 -1
  57. package/dist/components/Notification/Notification.test.js +2 -2
  58. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
  59. package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
  60. package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
  61. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +1 -1
  62. package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
  63. package/dist/components/RadioGroup/Radiogroup.test.js +2 -2
  64. package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -1
  65. package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +1 -1
  66. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
  67. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +5 -5
  68. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +2 -2
  69. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +2 -2
  70. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
  71. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +4 -4
  72. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
  73. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +3 -3
  74. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +3 -3
  75. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
  76. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +3 -3
  77. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +2 -2
  78. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  79. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +3 -3
  80. package/dist/components/RteEditor/Plugins/index.js +1 -1
  81. package/dist/components/RteEditor/RteEditor.js +41 -41
  82. package/dist/components/RteEditor/helpers.js +4 -4
  83. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  84. package/dist/components/Sortable/Sortable.stories.js +1 -1
  85. package/dist/components/StatusBadge/StatusBadge.test.js +2 -2
  86. package/dist/components/TextArea/TextArea.stories.js +1 -1
  87. package/dist/components/TextArea/TextArea.test.js +3 -3
  88. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
  89. package/dist/components/VarIndicator/VarIndicator.d.ts +7 -1
  90. package/dist/components/VarIndicator/VarIndicator.js +54 -24
  91. package/dist/components/VarIndicator/VarIndicator.js.map +1 -1
  92. package/dist/components/VarIndicator/VarIndicator.stories.js +8 -8
  93. package/dist/components/VarIndicator/VarIndicator.stories.js.map +1 -1
  94. package/dist/components/VarIndicator/VarIndicator.test.js +3 -3
  95. package/dist/components/index.js +1 -1
  96. package/dist/{helpers-CYiLlioz.js → helpers-B0VCD9f3.js} +4 -4
  97. package/dist/{helpers-CYiLlioz.js.map → helpers-B0VCD9f3.js.map} +1 -1
  98. package/dist/{index-Ccsg2cb2.js → index-D1fbc4P-.js} +7584 -6612
  99. package/dist/index-D1fbc4P-.js.map +1 -0
  100. package/dist/{index-Ds1dMTvJ.js → index-DDN7R-oN.js} +2 -2
  101. package/dist/{index-Ds1dMTvJ.js.map → index-DDN7R-oN.js.map} +1 -1
  102. package/dist/{index-C2E9FY6V.js → index-DFu0GqDc.js} +59 -39
  103. package/dist/index-DFu0GqDc.js.map +1 -0
  104. package/dist/{index-Br0QepD6.js → index-DzN3R4wD.js} +2894 -3784
  105. package/dist/index-DzN3R4wD.js.map +1 -0
  106. package/dist/index.js +1 -1
  107. package/dist/{react-18-inmoTCp-.js → react-18-CbXtwYTX.js} +2 -2
  108. package/dist/{react-18-inmoTCp-.js.map → react-18-CbXtwYTX.js.map} +1 -1
  109. package/dist/{react.esm-BKjCIfbB.js → react.esm-DMlPLy-4.js} +3 -3
  110. package/dist/{react.esm-BKjCIfbB.js.map → react.esm-DMlPLy-4.js.map} +1 -1
  111. package/dist/setupTests.js +1 -1
  112. package/dist/storybook__react.d.js +8079 -8042
  113. package/dist/storybook__react.d.js.map +1 -1
  114. package/package.json +34 -34
  115. package/dist/Lexical.prod-C7FcGFd7.js.map +0 -1
  116. package/dist/LexicalUtils.prod-D_SPJ6vo.js.map +0 -1
  117. package/dist/index-Br0QepD6.js.map +0 -1
  118. package/dist/index-C2E9FY6V.js.map +0 -1
  119. package/dist/index-Ccsg2cb2.js.map +0 -1
@@ -2717,7 +2717,7 @@ var St = {
2717
2717
  return {};
2718
2718
  }
2719
2719
  }, "construct"), ts = /* @__PURE__ */ q(() => ({
2720
- renderPhase: void 0,
2720
+ renderPhase: "preparing",
2721
2721
  isDebugging: !1,
2722
2722
  isPlaying: !1,
2723
2723
  isLocked: !1,
@@ -2755,18 +2755,20 @@ var St = {
2755
2755
  }, "updateParentWindowState"), this.loadParentWindowState();
2756
2756
  let t = /* @__PURE__ */ q(({
2757
2757
  storyId: c,
2758
- isPlaying: u = !0,
2759
- isDebugging: d = !1
2758
+ renderPhase: u,
2759
+ isPlaying: d = !0,
2760
+ isDebugging: p = !1
2760
2761
  }) => {
2761
- let p = this.getState(c);
2762
+ let m = this.getState(c);
2762
2763
  this.setState(c, {
2763
2764
  ...ts(),
2764
- ...gm(p, d),
2765
- shadowCalls: d ? p.shadowCalls : [],
2766
- chainedCallIds: d ? p.chainedCallIds : /* @__PURE__ */ new Set(),
2767
- playUntil: d ? p.playUntil : void 0,
2768
- isPlaying: u,
2769
- isDebugging: d
2765
+ ...gm(m, p),
2766
+ renderPhase: u || m.renderPhase,
2767
+ shadowCalls: p ? m.shadowCalls : [],
2768
+ chainedCallIds: p ? m.chainedCallIds : /* @__PURE__ */ new Set(),
2769
+ playUntil: p ? m.playUntil : void 0,
2770
+ isPlaying: d,
2771
+ isDebugging: p
2770
2772
  }), this.sync(c);
2771
2773
  }, "resetState"), r = /* @__PURE__ */ q((c) => ({ storyId: u, playUntil: d }) => {
2772
2774
  this.getState(u).isDebugging || this.setState(u, ({ calls: m }) => ({
@@ -2803,16 +2805,31 @@ var St = {
2803
2805
  }
2804
2806
  }, "next"), i = /* @__PURE__ */ q(({ storyId: c }) => {
2805
2807
  this.setState(c, { playUntil: void 0, isDebugging: !1 }), Object.values(this.getState(c).resolvers).forEach((u) => u());
2806
- }, "end"), s = /* @__PURE__ */ q(({ storyId: c, newPhase: u }) => {
2808
+ }, "end"), s = /* @__PURE__ */ q(({
2809
+ storyId: c,
2810
+ newPhase: u
2811
+ }) => {
2807
2812
  let { isDebugging: d } = this.getState(c);
2808
- this.setState(c, { renderPhase: u }), u === "preparing" && d && t({ storyId: c }), u === "playing" && t({ storyId: c, isDebugging: d }), u === "played" && this.setState(c, {
2813
+ if (u === "preparing" && d)
2814
+ return t({ storyId: c, renderPhase: u });
2815
+ if (u === "playing")
2816
+ return t({ storyId: c, renderPhase: u, isDebugging: d });
2817
+ u === "played" ? this.setState(c, {
2818
+ renderPhase: u,
2809
2819
  isLocked: !1,
2810
2820
  isPlaying: !1,
2811
2821
  isDebugging: !1
2812
- }), u === "errored" && this.setState(c, {
2822
+ }) : u === "errored" ? this.setState(c, {
2823
+ renderPhase: u,
2813
2824
  isLocked: !1,
2814
2825
  isPlaying: !1
2815
- });
2826
+ }) : u === "aborted" ? this.setState(c, {
2827
+ renderPhase: u,
2828
+ isLocked: !0,
2829
+ isPlaying: !1
2830
+ }) : this.setState(c, {
2831
+ renderPhase: u
2832
+ }), this.sync(c);
2816
2833
  }, "renderPhaseChanged");
2817
2834
  es && es.ready().then(() => {
2818
2835
  this.channel = es.getChannel(), this.channel.on(ms, t), this.channel.on(vh, s), this.channel.on(gh, () => {
@@ -2824,8 +2841,10 @@ var St = {
2824
2841
  return this.state[t] || ts();
2825
2842
  }
2826
2843
  setState(t, r) {
2827
- let n = this.getState(t), a = typeof r == "function" ? r(n) : r;
2828
- this.state = { ...this.state, [t]: { ...n, ...a } }, this.updateParentWindowState();
2844
+ if (t) {
2845
+ let n = this.getState(t), a = typeof r == "function" ? r(n) : r;
2846
+ this.state = { ...this.state, [t]: { ...n, ...a } }, this.updateParentWindowState();
2847
+ }
2829
2848
  }
2830
2849
  cleanup() {
2831
2850
  this.state = Object.entries(this.state).reduce(
@@ -33994,19 +34013,20 @@ const A2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
33994
34013
  within: HD
33995
34014
  }, Symbol.toStringTag, { value: "Module" }));
33996
34015
  export {
33997
- VD as A,
34016
+ T1 as A,
33998
34017
  vh as B,
33999
- Fr as C,
34018
+ A1 as C,
34000
34019
  r1 as D,
34001
- Kw as E,
34002
- A2 as F,
34020
+ N1 as E,
34021
+ De as F,
34003
34022
  d1 as G,
34004
34023
  c1 as H,
34005
34024
  n1 as I,
34006
34025
  zD as J,
34007
- N1 as K,
34026
+ HD as K,
34008
34027
  ms as L,
34009
34028
  _1 as M,
34029
+ A2 as N,
34010
34030
  Y1 as O,
34011
34031
  i1 as P,
34012
34032
  ri as Q,
@@ -34017,31 +34037,31 @@ export {
34017
34037
  l1 as Y,
34018
34038
  B1 as Z,
34019
34039
  JO as _,
34020
- u1 as a,
34021
- j1 as b,
34022
- R1 as c,
34023
- QO as d,
34024
- v1 as e,
34025
- gh as f,
34026
- D1 as g,
34040
+ VD as a,
34041
+ Fr as b,
34042
+ Qw as c,
34043
+ Zw as d,
34044
+ Kw as e,
34045
+ u1 as f,
34046
+ j1 as g,
34027
34047
  GD as h,
34028
34048
  ps as i,
34029
- f1 as j,
34030
- I1 as k,
34049
+ R1 as j,
34050
+ k1 as k,
34031
34051
  Yw as l,
34032
- T1 as m,
34052
+ v1 as m,
34033
34053
  Et as n,
34034
- De as o,
34054
+ QO as o,
34035
34055
  h1 as p,
34036
- $1 as q,
34037
- t1 as r,
34056
+ gh as q,
34057
+ D1 as r,
34038
34058
  ze as s,
34039
- Qw as t,
34059
+ $1 as t,
34040
34060
  Xw as u,
34041
- Zw as v,
34042
- A1 as w,
34061
+ t1 as v,
34062
+ f1 as w,
34043
34063
  S1 as x,
34044
- HD as y,
34064
+ I1 as y,
34045
34065
  L1 as z
34046
34066
  };
34047
- //# sourceMappingURL=index-C2E9FY6V.js.map
34067
+ //# sourceMappingURL=index-DFu0GqDc.js.map