eat-js-sdk 1.0.20 → 1.0.21

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.
@@ -3951,6 +3951,7 @@
3951
3951
  let button_role_value;
3952
3952
  let button_tabindex_value;
3953
3953
  let button_aria_checked_value;
3954
+ let button_aria_disabled_value;
3954
3955
  let button_aria_label_value;
3955
3956
  let button_class_value;
3956
3957
  let current;
@@ -4060,6 +4061,9 @@
4060
4061
  ctx[24].id
4061
4062
  )
4062
4063
  ) : null);
4064
+ attr(button, "aria-disabled", button_aria_disabled_value = /*isFinished*/
4065
+ ctx[1] && !/*isPreviewModeInteractive*/
4066
+ ctx[3] ? "true" : null);
4063
4067
  attr(button, "aria-label", button_aria_label_value = `${(!/*isFinished*/
4064
4068
  ctx[1] || /*isPreviewModeInteractive*/
4065
4069
  ctx[3]) && /*selectedOptions*/
@@ -4348,6 +4352,12 @@
4348
4352
  ) : null)) {
4349
4353
  attr(button, "aria-checked", button_aria_checked_value);
4350
4354
  }
4355
+ if (!current || dirty & /*isFinished, isPreviewModeInteractive*/
4356
+ 10 && button_aria_disabled_value !== (button_aria_disabled_value = /*isFinished*/
4357
+ ctx[1] && !/*isPreviewModeInteractive*/
4358
+ ctx[3] ? "true" : null)) {
4359
+ attr(button, "aria-disabled", button_aria_disabled_value);
4360
+ }
4351
4361
  if (!current || dirty & /*isFinished, isPreviewModeInteractive, selectedOptions, isPreviewMode, correctAnswerIds, correctAnswersLength*/
4352
4362
  222 && button_aria_label_value !== (button_aria_label_value = `${(!/*isFinished*/
4353
4363
  ctx[1] || /*isPreviewModeInteractive*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eat-js-sdk",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "change version": "1.0.4",
5
5
  "description": "Authoring tool frontend SDK",
6
6
  "contributors": [