@uva-glass/component-library 3.55.2 → 3.55.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.
Files changed (141) hide show
  1. package/dist/{Lexical.prod-DCGjHGxG.js → Lexical.prod-DIglXatJ.js} +958 -947
  2. package/dist/Lexical.prod-DIglXatJ.js.map +1 -0
  3. package/dist/LexicalClipboard.prod-Bnzu0sh_.js +248 -0
  4. package/dist/{LexicalClipboard.prod-CGG14aoP.js.map → LexicalClipboard.prod-Bnzu0sh_.js.map} +1 -1
  5. package/dist/{LexicalExtension.prod-DWt1IjPF.js → LexicalExtension.prod-COPHoPpX.js} +320 -288
  6. package/dist/LexicalExtension.prod-COPHoPpX.js.map +1 -0
  7. package/dist/{LexicalLink.prod-Dy1gE75H.js → LexicalLink.prod-Bf9JUdMv.js} +216 -198
  8. package/dist/LexicalLink.prod-Bf9JUdMv.js.map +1 -0
  9. package/dist/{LexicalList.prod-D9R0L7cu.js → LexicalList.prod-DRz8vsM9.js} +247 -241
  10. package/dist/LexicalList.prod-DRz8vsM9.js.map +1 -0
  11. package/dist/{LexicalTable.prod-C2FP47Lm.js → LexicalTable.prod-D16GW-aZ.js} +741 -729
  12. package/dist/LexicalTable.prod-D16GW-aZ.js.map +1 -0
  13. package/dist/LexicalUtils.prod-BBTLliac.js +360 -0
  14. package/dist/LexicalUtils.prod-BBTLliac.js.map +1 -0
  15. package/dist/{LinkContextMenu-DZlKfbg1.js → LinkContextMenu-m_CGQEiX.js} +2 -2
  16. package/dist/{LinkContextMenu-DZlKfbg1.js.map → LinkContextMenu-m_CGQEiX.js.map} +1 -1
  17. package/dist/{PasteHandlerPlugin-DUdocSHB.js → PasteHandlerPlugin-DjD1wryY.js} +4 -4
  18. package/dist/{PasteHandlerPlugin-DUdocSHB.js.map → PasteHandlerPlugin-DjD1wryY.js.map} +1 -1
  19. package/dist/{TableCellResizerPlugin-BGolbi44.js → TableCellResizerPlugin-CgYsYsuY.js} +41 -41
  20. package/dist/{TableCellResizerPlugin-BGolbi44.js.map → TableCellResizerPlugin-CgYsYsuY.js.map} +1 -1
  21. package/dist/{chunk-OPOZOKLO-CXKdjnjn.js → chunk-SZQXB3JV-D0XG4Tlp.js} +5 -5
  22. package/dist/chunk-SZQXB3JV-D0XG4Tlp.js.map +1 -0
  23. package/dist/{client-C0JVBgoR.js → client-UU-mS47K.js} +6 -6
  24. package/dist/{client-C0JVBgoR.js.map → client-UU-mS47K.js.map} +1 -1
  25. package/dist/components/Accordion/Accordion.test.js +4 -4
  26. package/dist/components/AccordionCard/AccordionCard.test.js +4 -4
  27. package/dist/components/ActionList/ActionList.test.js +4 -4
  28. package/dist/components/AppStatusBar/AppStatusBar.test.js +3 -3
  29. package/dist/components/Attention/Attention.test.js +3 -3
  30. package/dist/components/Backdrop/Backdrop.test.js +3 -3
  31. package/dist/components/Buttons/Button.stories.js +1 -1
  32. package/dist/components/Buttons/Button.test.js +3 -3
  33. package/dist/components/Buttons/LinkButton.stories.js +1 -1
  34. package/dist/components/Buttons/LinkButton.test.js +3 -3
  35. package/dist/components/Buttons/MenuButton.stories.js +1 -1
  36. package/dist/components/Buttons/MenuButton.test.js +3 -3
  37. package/dist/components/Card/Card.test.js +3 -3
  38. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  39. package/dist/components/Checkbox/Checkbox.test.js +4 -4
  40. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
  41. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +3 -3
  42. package/dist/components/CheckboxTree/CheckboxTree.js +2 -2
  43. package/dist/components/CheckboxTree/CheckboxTree.stories.js +4 -4
  44. package/dist/components/CheckboxTree/index.js +2 -2
  45. package/dist/components/Chip/Chip.stories.js +1 -1
  46. package/dist/components/ControlsButton/ControlsButton.stories.js +1 -1
  47. package/dist/components/Drawer/Drawer.stories.js +1 -1
  48. package/dist/components/FeedbackBar/FeedbackBar.test.js +3 -3
  49. package/dist/components/FormInput/FormInput.js +2 -2
  50. package/dist/components/FormInput/FormInput.stories.js +3 -3
  51. package/dist/components/FormInput/index.js +2 -2
  52. package/dist/components/IconButton/IconButton.stories.js +1 -1
  53. package/dist/components/InputField/InputField.stories.js +3 -3
  54. package/dist/components/Label/Label.test.js +3 -3
  55. package/dist/components/MetaDataBar/MetaDataBar.test.js +2 -2
  56. package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
  57. package/dist/components/MultiSelect/MultiSelect.js +2 -2
  58. package/dist/components/MultiSelect/MultiSelect.stories.js +3 -3
  59. package/dist/components/MultiSelect/components/MultiSelectHeader.js +2 -2
  60. package/dist/components/MultiSelect/index.js +2 -2
  61. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
  62. package/dist/components/MultiSelectBox/MultiSelectBox.test.js +3 -3
  63. package/dist/components/Notification/Notification.stories.js +1 -1
  64. package/dist/components/Notification/Notification.test.js +3 -3
  65. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
  66. package/dist/components/PeriodSelector/PeriodSelector.js +2 -2
  67. package/dist/components/PeriodSelector/PeriodSelector.stories.js +3 -3
  68. package/dist/components/PeriodSelector/index.js +2 -2
  69. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +2 -2
  70. package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
  71. package/dist/components/RadioGroup/Radiogroup.test.js +3 -3
  72. package/dist/components/RadioTabSelector/RadioTabSelector.js +2 -2
  73. package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +3 -3
  74. package/dist/components/RadioTabSelector/index.js +2 -2
  75. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +2 -2
  76. package/dist/components/RteEditor/EditorHeader/index.js +2 -2
  77. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +3 -3
  78. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +32 -32
  79. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +2 -2
  80. package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js +2 -2
  81. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +2 -2
  82. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
  83. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +2 -2
  84. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
  85. package/dist/components/RteEditor/Plugins/LinkPlugin/index.js +2 -2
  86. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +15 -15
  87. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +1 -1
  88. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js +1 -1
  89. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +1 -1
  90. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
  91. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +2 -2
  92. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +2 -2
  93. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +32 -32
  94. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +2 -2
  95. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +2 -2
  96. package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js +2 -2
  97. package/dist/components/RteEditor/Plugins/index.js +3 -3
  98. package/dist/components/RteEditor/RteEditor.js +2 -2
  99. package/dist/components/RteEditor/RteEditor.stories.js +2 -2
  100. package/dist/components/RteEditor/helpers.js +4 -4
  101. package/dist/components/RteEditor/index.js +2 -2
  102. package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +17 -17
  103. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +13 -13
  104. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  105. package/dist/components/Sortable/Sortable.stories.js +1 -1
  106. package/dist/components/StatusBadge/StatusBadge.test.js +3 -3
  107. package/dist/components/TextArea/TextArea.stories.js +1 -1
  108. package/dist/components/TextArea/TextArea.test.js +4 -4
  109. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
  110. package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
  111. package/dist/components/VarIndicator/VarIndicator.test.js +4 -4
  112. package/dist/components/index.js +2 -2
  113. package/dist/{components-DVUYdcHS.js → components-C4MCdrDH.js} +456 -453
  114. package/dist/components-C4MCdrDH.js.map +1 -0
  115. package/dist/{dist-D6qYwmKD.js → dist-2TKCXdYZ.js} +315 -315
  116. package/dist/{dist-D6qYwmKD.js.map → dist-2TKCXdYZ.js.map} +1 -1
  117. package/dist/{esm-Cmy7DlsJ.js → esm-UNe_gmRA.js} +2 -2
  118. package/dist/{esm-Cmy7DlsJ.js.map → esm-UNe_gmRA.js.map} +1 -1
  119. package/dist/{helpers-DcFTH1J1.js → helpers-BBSxTGRl.js} +7 -7
  120. package/dist/{helpers-DcFTH1J1.js.map → helpers-BBSxTGRl.js.map} +1 -1
  121. package/dist/index.js +2 -2
  122. package/dist/{react-18-PI4Gvl2f.js → react-18-CRbkdI-3.js} +2 -2
  123. package/dist/{react-18-PI4Gvl2f.js.map → react-18-CRbkdI-3.js.map} +1 -1
  124. package/dist/{react.esm-Cev8dB-E.js → react.esm-CzIhAqlo.js} +479 -479
  125. package/dist/{react.esm-Cev8dB-E.js.map → react.esm-CzIhAqlo.js.map} +1 -1
  126. package/dist/setupTests.js +1 -1
  127. package/dist/storybook__react.d.js +3 -3
  128. package/dist/{test-CPFNM-bL.js → test-DQruvi8i.js} +3704 -5824
  129. package/dist/test-DQruvi8i.js.map +1 -0
  130. package/package.json +16 -16
  131. package/dist/Lexical.prod-DCGjHGxG.js.map +0 -1
  132. package/dist/LexicalClipboard.prod-CGG14aoP.js +0 -248
  133. package/dist/LexicalExtension.prod-DWt1IjPF.js.map +0 -1
  134. package/dist/LexicalLink.prod-Dy1gE75H.js.map +0 -1
  135. package/dist/LexicalList.prod-D9R0L7cu.js.map +0 -1
  136. package/dist/LexicalTable.prod-C2FP47Lm.js.map +0 -1
  137. package/dist/LexicalUtils.prod-BzrjMu6t.js +0 -242
  138. package/dist/LexicalUtils.prod-BzrjMu6t.js.map +0 -1
  139. package/dist/chunk-OPOZOKLO-CXKdjnjn.js.map +0 -1
  140. package/dist/components-DVUYdcHS.js.map +0 -1
  141. package/dist/test-CPFNM-bL.js.map +0 -1
@@ -8588,7 +8588,7 @@ var n = /* @__PURE__ */ t(((e) => {
8588
8588
  for (nm[n] = e, e === "onDoubleClick" && (nm.ondblclick = e), e = 0; e < t.length; e++) em.add(t[e]);
8589
8589
  }
8590
8590
  function at(e, t) {
8591
- rm[t.type] || t.onChange || t.onInput || t.readOnly || t.disabled || t.value == null || (e === "select" ? console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.") : console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")), t.onChange || t.readOnly || t.disabled || t.checked == null || console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.");
8591
+ rm[t.type] || t.onChange || t.onInput || t.readOnly || t.disabled || t.value == null || console.error(e === "select" ? "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`." : "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."), t.onChange || t.readOnly || t.disabled || t.checked == null || console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.");
8592
8592
  }
8593
8593
  function ot(e) {
8594
8594
  return _p.call(om, e) ? !0 : _p.call(am, e) ? !1 : im.test(e) ? om[e] = !0 : (am[e] = !0, console.error("Invalid attribute name: `%s`", e), !1);
@@ -12203,7 +12203,7 @@ var n = /* @__PURE__ */ t(((e) => {
12203
12203
  l = r.stck;
12204
12204
  var p = r.cstck;
12205
12205
  }
12206
- a = f, r = s, i = l, d = p, s = a, l = d, s = s ? Error(s) : Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."), s.stack = i || "", s.digest = r, r = l === void 0 ? null : l, i = {
12206
+ a = f, r = s, i = l, d = p, s = a, l = d, s = Error(s || "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."), s.stack = i || "", s.digest = r, r = l === void 0 ? null : l, i = {
12207
12207
  value: s,
12208
12208
  source: null,
12209
12209
  stack: r
@@ -14966,7 +14966,7 @@ var n = /* @__PURE__ */ t(((e) => {
14966
14966
  case "src":
14967
14967
  case "href":
14968
14968
  if (r === "" && (t !== "a" || n !== "href")) {
14969
- n === "src" ? console.error("An empty string (\"\") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.", n, n) : console.error("An empty string (\"\") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.", n, n), e.removeAttribute(n);
14969
+ console.error(n === "src" ? "An empty string (\"\") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string." : "An empty string (\"\") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.", n, n), e.removeAttribute(n);
14970
14970
  break;
14971
14971
  }
14972
14972
  if (r == null || typeof r == "function" || typeof r == "symbol" || typeof r == "boolean") {
@@ -14977,7 +14977,7 @@ var n = /* @__PURE__ */ t(((e) => {
14977
14977
  break;
14978
14978
  case "action":
14979
14979
  case "formAction":
14980
- if (r != null && (t === "form" ? n === "formAction" ? console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>.") : typeof r == "function" && (i.encType == null && i.method == null || bS || (bS = !0, console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")), i.target == null || yS || (yS = !0, console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))) : t === "input" || t === "button" ? n === "action" ? console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>.") : t !== "input" || i.type === "submit" || i.type === "image" || _S ? t !== "button" || i.type == null || i.type === "submit" || _S ? typeof r == "function" && (i.name == null || vS || (vS = !0, console.error("Cannot specify a \"name\" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.")), i.formEncType == null && i.formMethod == null || bS || (bS = !0, console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")), i.formTarget == null || yS || (yS = !0, console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))) : (_S = !0, console.error("A button can only specify a formAction along with type=\"submit\" or no type.")) : (_S = !0, console.error("An input can only specify a formAction along with type=\"submit\" or type=\"image\".")) : n === "action" ? console.error("You can only pass the action prop to <form>.") : console.error("You can only pass the formAction prop to <input> or <button>.")), typeof r == "function") {
14980
+ if (r != null && (t === "form" ? n === "formAction" ? console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>.") : typeof r == "function" && (i.encType == null && i.method == null || bS || (bS = !0, console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")), i.target == null || yS || (yS = !0, console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))) : t === "input" || t === "button" ? n === "action" ? console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>.") : t !== "input" || i.type === "submit" || i.type === "image" || _S ? t !== "button" || i.type == null || i.type === "submit" || _S ? typeof r == "function" && (i.name == null || vS || (vS = !0, console.error("Cannot specify a \"name\" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.")), i.formEncType == null && i.formMethod == null || bS || (bS = !0, console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")), i.formTarget == null || yS || (yS = !0, console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))) : (_S = !0, console.error("A button can only specify a formAction along with type=\"submit\" or no type.")) : (_S = !0, console.error("An input can only specify a formAction along with type=\"submit\" or type=\"image\".")) : console.error(n === "action" ? "You can only pass the action prop to <form>." : "You can only pass the formAction prop to <input> or <button>.")), typeof r == "function") {
14981
14981
  e.setAttribute(n, "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");
14982
14982
  break;
14983
14983
  } else typeof a == "function" && (n === "formAction" ? (t !== "input" && wu(e, t, "name", i.name, i, null), wu(e, t, "formEncType", i.formEncType, i, null), wu(e, t, "formMethod", i.formMethod, i, null), wu(e, t, "formTarget", i.formTarget, i, null)) : (wu(e, t, "encType", i.encType, i, null), wu(e, t, "method", i.method, i, null), wu(e, t, "target", i.target, i, null)));
@@ -15625,7 +15625,7 @@ var n = /* @__PURE__ */ t(((e) => {
15625
15625
  case "src":
15626
15626
  case "href":
15627
15627
  if (!(c !== "" || t === "a" && l === "href" || t === "object" && l === "data")) {
15628
- l === "src" ? console.error("An empty string (\"\") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.", l, l) : console.error("An empty string (\"\") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.", l, l);
15628
+ console.error(l === "src" ? "An empty string (\"\") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string." : "An empty string (\"\") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.", l, l);
15629
15629
  continue;
15630
15630
  }
15631
15631
  Fu(e, l, l, c, a, i);
@@ -18950,4 +18950,4 @@ var n = /* @__PURE__ */ t(((e) => {
18950
18950
  //#endregion
18951
18951
  export { s as t };
18952
18952
 
18953
- //# sourceMappingURL=client-C0JVBgoR.js.map
18953
+ //# sourceMappingURL=client-UU-mS47K.js.map