@gooddata/sdk-ui-gen-ai 11.56.0-alpha.7 → 11.56.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.
@@ -20,7 +20,7 @@ export function ConversationClarifyingQuestionsContent(props) {
20
20
  if (message.filled) {
21
21
  return null;
22
22
  }
23
- return (_jsxs("div", { className: cx("gd-gen-ai-chat__conversation__item__content", bem.b()), tabIndex: 0, onKeyDown: keyboardHandler, ref: ref.ref, "aria-activedescendant": `${labelId}-option-${index}`, children: [_jsx("div", { className: bem.e("header"), id: labelId, children: question.text }), question.control.options.map((option, i) => (_jsxs("div", { id: `${labelId}-option-${i}`, className: bem.e("option", { focused: index === i }), "aria-selected": index === i, "aria-label": option.label, "aria-describedby": labelId, onClick: () => onSelectOption(question, i), children: [_jsx("div", { className: bem.e("option-index"), children: i + 1 }), _jsx("div", { className: bem.e("option-content"), children: _jsx(MarkdownComponent, { allowMarkdown: useMarkdown, references: objects, children: option.label }) }), _jsx("div", { className: bem.e("option-select"), children: _jsx(UiIcon, { type: "arrowRight", color: "complementary-7", size: 14 }) })] }, i))), _jsxs("div", { className: bem.e("footer"), children: [_jsx("div", { children: _jsx(FormattedMessage, { id: "gd.gen-ai.clarification-question.of", values: {
23
+ return (_jsxs("div", { className: cx("gd-gen-ai-chat__conversation__item__content", bem.b()), tabIndex: 0, onKeyDown: keyboardHandler, ref: ref.ref, "aria-activedescendant": `${labelId}-option-${index}`, children: [_jsx("div", { className: bem.e("header"), id: labelId, children: question.text }), question.control.options.map((option, i) => (_jsxs("div", { id: `${labelId}-option-${i}`, className: bem.e("option", { focused: index === i }), "aria-selected": index === i, "aria-label": option.text, "aria-describedby": labelId, onClick: () => onSelectOption(question, i), children: [_jsx("div", { className: bem.e("option-index"), children: i + 1 }), _jsx("div", { className: bem.e("option-content"), children: _jsx(MarkdownComponent, { allowMarkdown: useMarkdown, references: objects, children: option.text }) }), _jsx("div", { className: bem.e("option-select"), children: _jsx(UiIcon, { type: "arrowRight", color: "complementary-7", size: 14 }) })] }, i))), _jsxs("div", { className: bem.e("footer"), children: [_jsx("div", { children: _jsx(FormattedMessage, { id: "gd.gen-ai.clarification-question.of", values: {
24
24
  index: currentStep,
25
25
  total: totalSteps,
26
26
  } }) }), _jsx(UiButton, { dataId: SKIP_BUTTON_ID, label: intl.formatMessage({ id: "gd.gen-ai.clarification-question.skip-button" }), onClick: () => {
@@ -36,7 +36,7 @@ export function useConversationClarifyingQuestions(props) {
36
36
  ...(option === -1
37
37
  ? {}
38
38
  : {
39
- [question.text]: question.control.options[option].label,
39
+ [question.text]: question.control.options[option].text,
40
40
  }),
41
41
  };
42
42
  setAnswers(newAnswers);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-gen-ai",
3
- "version": "11.56.0-alpha.7",
3
+ "version": "11.56.0",
4
4
  "description": "GoodData GenAI SDK",
5
5
  "license": "MIT",
6
6
  "author": "GoodData Corporation",
@@ -57,18 +57,18 @@
57
57
  "reselect": "5.1.1",
58
58
  "tslib": "2.8.1",
59
59
  "uuid": "11.1.1",
60
- "@gooddata/api-client-tiger": "11.56.0-alpha.7",
61
- "@gooddata/sdk-backend-spi": "11.56.0-alpha.7",
62
- "@gooddata/sdk-model": "11.56.0-alpha.7",
63
- "@gooddata/sdk-ui": "11.56.0-alpha.7",
64
- "@gooddata/sdk-ui-charts": "11.56.0-alpha.7",
65
- "@gooddata/sdk-ui-dashboard": "11.56.0-alpha.7",
66
- "@gooddata/sdk-ui-filters": "11.56.0-alpha.7",
67
- "@gooddata/sdk-ui-kit": "11.56.0-alpha.7",
68
- "@gooddata/sdk-ui-semantic-search": "11.56.0-alpha.7",
69
- "@gooddata/sdk-ui-theme-provider": "11.56.0-alpha.7",
70
- "@gooddata/sdk-ui-pivot": "11.56.0-alpha.7",
71
- "@gooddata/util": "11.56.0-alpha.7"
60
+ "@gooddata/api-client-tiger": "11.56.0",
61
+ "@gooddata/sdk-model": "11.56.0",
62
+ "@gooddata/sdk-ui": "11.56.0",
63
+ "@gooddata/sdk-ui-charts": "11.56.0",
64
+ "@gooddata/sdk-backend-spi": "11.56.0",
65
+ "@gooddata/sdk-ui-dashboard": "11.56.0",
66
+ "@gooddata/sdk-ui-filters": "11.56.0",
67
+ "@gooddata/sdk-ui-kit": "11.56.0",
68
+ "@gooddata/sdk-ui-semantic-search": "11.56.0",
69
+ "@gooddata/sdk-ui-pivot": "11.56.0",
70
+ "@gooddata/sdk-ui-theme-provider": "11.56.0",
71
+ "@gooddata/util": "11.56.0"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@microsoft/api-documenter": "7.30.10",
@@ -107,12 +107,12 @@
107
107
  "typescript": "7.0.2",
108
108
  "vitest": "4.1.8",
109
109
  "vitest-dom": "0.1.1",
110
- "@gooddata/eslint-config": "11.56.0-alpha.7",
111
- "@gooddata/i18n-toolkit": "11.56.0-alpha.7",
112
- "@gooddata/oxlint-config": "11.56.0-alpha.7",
113
- "@gooddata/reference-workspace": "11.56.0-alpha.7",
114
- "@gooddata/sdk-backend-mockingbird": "11.56.0-alpha.7",
115
- "@gooddata/stylelint-config": "11.56.0-alpha.7"
110
+ "@gooddata/eslint-config": "11.56.0",
111
+ "@gooddata/i18n-toolkit": "11.56.0",
112
+ "@gooddata/reference-workspace": "11.56.0",
113
+ "@gooddata/oxlint-config": "11.56.0",
114
+ "@gooddata/stylelint-config": "11.56.0",
115
+ "@gooddata/sdk-backend-mockingbird": "11.56.0"
116
116
  },
117
117
  "peerDependencies": {
118
118
  "react": "^18.0.0 || ^19.0.0",