@miso.ai/client-sdk-ui 1.9.0-beta.6 → 1.9.0-beta.8

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.
@@ -18,8 +18,7 @@ const root = options => `
18
18
  ${options.templates.answer(options)}
19
19
  ${options.templates.sources(options)}
20
20
  </section>
21
- <div id="${_constants.PREFIX}__follow-ups" class="${_constants.PREFIX}__follow-ups">
22
- </div>
21
+ <div id="${_constants.PREFIX}__follow-ups" class="${_constants.PREFIX}__follow-ups"></div>
23
22
  <section id="${_constants.PREFIX}__related-resources" class="${_constants.PREFIX}__section ${_constants.PREFIX}__related-resources">
24
23
  <miso-ask visible-when="nonempty" logo="true">
25
24
  <h2 class="${_constants.PREFIX}__phrase ${_constants.PREFIX}__related-resources-phrase"></h2>
@@ -34,7 +33,7 @@ const followUp = (options, _ref) => {
34
33
  } = _ref;
35
34
  return `
36
35
  <section class="${_constants.PREFIX}__section ${_constants.PREFIX}__follow-up">
37
- <miso-ask class="${_constants.PREFIX}__query-suggestions-container" visible-when="nonempty" parent-question-id="${parentQuestionId}">
36
+ <miso-ask class="${_constants.PREFIX}__query-suggestions-container" visible-when="initial" parent-question-id="${parentQuestionId}">
38
37
  <h3 class="${_constants.PREFIX}__phrase ${_constants.PREFIX}__related-questions-phrase"></h3>
39
38
  <miso-query-suggestions></miso-query-suggestions>
40
39
  </miso-ask>
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = exports.default = '1.9.0-beta.6';
7
+ var _default = exports.default = '1.9.0-beta.8';
package/package.json CHANGED
@@ -26,7 +26,7 @@
26
26
  "url": "https://github.com/MisoAI/miso-client-js-sdk/issues"
27
27
  },
28
28
  "dependencies": {
29
- "@miso.ai/commons": "1.9.0-beta.6"
29
+ "@miso.ai/commons": "1.9.0-beta.8"
30
30
  },
31
- "version": "1.9.0-beta.6"
31
+ "version": "1.9.0-beta.8"
32
32
  }
@@ -13,8 +13,7 @@ export const root = (options) => `
13
13
  ${options.templates.answer(options)}
14
14
  ${options.templates.sources(options)}
15
15
  </section>
16
- <div id="${PREFIX}__follow-ups" class="${PREFIX}__follow-ups">
17
- </div>
16
+ <div id="${PREFIX}__follow-ups" class="${PREFIX}__follow-ups"></div>
18
17
  <section id="${PREFIX}__related-resources" class="${PREFIX}__section ${PREFIX}__related-resources">
19
18
  <miso-ask visible-when="nonempty" logo="true">
20
19
  <h2 class="${PREFIX}__phrase ${PREFIX}__related-resources-phrase"></h2>
@@ -25,7 +24,7 @@ export const root = (options) => `
25
24
 
26
25
  export const followUp = (options, { parentQuestionId }) => `
27
26
  <section class="${PREFIX}__section ${PREFIX}__follow-up">
28
- <miso-ask class="${PREFIX}__query-suggestions-container" visible-when="nonempty" parent-question-id="${parentQuestionId}">
27
+ <miso-ask class="${PREFIX}__query-suggestions-container" visible-when="initial" parent-question-id="${parentQuestionId}">
29
28
  <h3 class="${PREFIX}__phrase ${PREFIX}__related-questions-phrase"></h3>
30
29
  <miso-query-suggestions></miso-query-suggestions>
31
30
  </miso-ask>
package/src/version.js CHANGED
@@ -1 +1 @@
1
- export default '1.9.0-beta.6';
1
+ export default '1.9.0-beta.8';