@digipair/skill-web-chatbot 0.5.11 → 0.5.13

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.
package/index.cjs2.js CHANGED
@@ -51882,14 +51882,14 @@ function indent(str, spaces) {
51882
51882
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
51883
51883
  // match is required
51884
51884
  if (!match) {
51885
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
51885
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
51886
51886
  v: nextMatch1
51887
51887
  };
51888
51888
  }
51889
51889
  var token = match.token, offset = match.offset;
51890
51890
  i1 += offset;
51891
51891
  if (token === " ") {
51892
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
51892
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
51893
51893
  }
51894
51894
  tokens1 = _to_consumable_array$9(tokens1).concat([
51895
51895
  token
@@ -51908,7 +51908,7 @@ function indent(str, spaces) {
51908
51908
  if (contextKeys.some(function(el) {
51909
51909
  return el.startsWith(name);
51910
51910
  })) {
51911
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
51911
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
51912
51912
  }
51913
51913
  if (dateTimeIdentifiers.some(function(el) {
51914
51914
  return el === name;
@@ -51927,9 +51927,9 @@ function indent(str, spaces) {
51927
51927
  if (dateTimeIdentifiers.some(function(el) {
51928
51928
  return el.startsWith(name);
51929
51929
  })) {
51930
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
51930
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
51931
51931
  }
51932
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
51932
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
51933
51933
  v: nextMatch1
51934
51934
  };
51935
51935
  };
@@ -56126,7 +56126,7 @@ ChatElement.styles = [
56126
56126
  ); /* Couleur de fond des messages de l'assistant */
56127
56127
  color: var(
56128
56128
  --digipair-color-text-primary,
56129
- #ffffff
56129
+ #242e3b
56130
56130
  ); /* Couleur du texte des messages de l'assistant */
56131
56131
  align-self: flex-start;
56132
56132
  margin-right: auto;
@@ -56136,18 +56136,18 @@ ChatElement.styles = [
56136
56136
  background-color: var(--digipair-color-secondary, #242e3b);
56137
56137
  color: var(
56138
56138
  --digipair-color-text-secondary,
56139
- #52dfdb
56139
+ #FFFFFF
56140
56140
  ); /* Couleur du texte des messages de l'utilisateur */
56141
56141
  align-self: flex-end;
56142
56142
  margin-left: auto;
56143
56143
  }
56144
56144
 
56145
56145
  .assistant a {
56146
- color: var(--digipair-color-text-primary, #ffffff);
56146
+ color: var(--digipair-color-text-primary, #242e3b);
56147
56147
  }
56148
56148
 
56149
56149
  .user a {
56150
- color: var(--digipair-color-text-secondary, #52dfdb);
56150
+ color: var(--digipair-color-text-secondary, #FFFFFF);
56151
56151
  }
56152
56152
 
56153
56153
  .input-container {
@@ -56326,8 +56326,8 @@ const styles$1 = i$5`
56326
56326
  width: 70px;
56327
56327
  height: 70px;
56328
56328
  position: absolute;
56329
- right: -5px;
56330
- top: -55px;
56329
+ right: -10px;
56330
+ top: -58px;
56331
56331
  transition: scale 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s;
56332
56332
  }
56333
56333
 
@@ -57972,9 +57972,9 @@ class ChatbotElement extends s$3 {
57972
57972
  return x`
57973
57973
  <style>
57974
57974
  --digipair-color-primary: ${this.metadata.primary};
57975
- --digipair-color-primary: ${this.metadata.secondary};
57976
57975
  --digipair-color-text-primary: ${this.metadata.textPrimary};
57977
- --digipair-color-text-primary: ${this.metadata.textSecondary};
57976
+ --digipair-color-secondary: ${this.metadata.secondary};
57977
+ --digipair-color-text-secondary: ${this.metadata.textSecondary};
57978
57978
  </style>
57979
57979
 
57980
57980
  <section class="container result-${this.resultState}">
@@ -58008,7 +58008,10 @@ class ChatbotElement extends s$3 {
58008
58008
  `}
58009
58009
  </section>
58010
58010
 
58011
- <section class="panel" style="border: 1px solid var(--digipair-color-primary, #52DFDB)"></section>
58011
+ <section
58012
+ class="panel"
58013
+ style="border: 1px solid var(--digipair-color-primary, #52DFDB)"
58014
+ ></section>
58012
58015
  <img
58013
58016
  @click=${()=>this.resultState !== 'closed' ? this.closeResult() : this.openResult()}
58014
58017
  class="logo ${this.loading ? 'loading' : ''}"
@@ -58120,9 +58123,9 @@ const styles = i$5`
58120
58123
  bottom: 20px;
58121
58124
  right: 20px;
58122
58125
  left: 20px;
58123
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
58124
- 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
58125
- 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
58126
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
58127
+ 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
58128
+ 'Noto Color Emoji';
58126
58129
  line-height: 0.8;
58127
58130
  font-size: 0.8rem;
58128
58131
  }
@@ -58148,7 +58151,7 @@ const styles = i$5`
58148
58151
  width: 70px;
58149
58152
  height: 70px;
58150
58153
  position: absolute;
58151
- right: -5px;
58154
+ right: -15px;
58152
58155
  top: -15px;
58153
58156
  transition: scale 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s;
58154
58157
  }
package/index.esm2.js CHANGED
@@ -51862,14 +51862,14 @@ function indent(str, spaces) {
51862
51862
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
51863
51863
  // match is required
51864
51864
  if (!match) {
51865
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
51865
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
51866
51866
  v: nextMatch1
51867
51867
  };
51868
51868
  }
51869
51869
  var token = match.token, offset = match.offset;
51870
51870
  i1 += offset;
51871
51871
  if (token === " ") {
51872
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
51872
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
51873
51873
  }
51874
51874
  tokens1 = _to_consumable_array$9(tokens1).concat([
51875
51875
  token
@@ -51888,7 +51888,7 @@ function indent(str, spaces) {
51888
51888
  if (contextKeys.some(function(el) {
51889
51889
  return el.startsWith(name);
51890
51890
  })) {
51891
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
51891
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
51892
51892
  }
51893
51893
  if (dateTimeIdentifiers.some(function(el) {
51894
51894
  return el === name;
@@ -51907,9 +51907,9 @@ function indent(str, spaces) {
51907
51907
  if (dateTimeIdentifiers.some(function(el) {
51908
51908
  return el.startsWith(name);
51909
51909
  })) {
51910
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
51910
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
51911
51911
  }
51912
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
51912
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
51913
51913
  v: nextMatch1
51914
51914
  };
51915
51915
  };
@@ -56106,7 +56106,7 @@ ChatElement.styles = [
56106
56106
  ); /* Couleur de fond des messages de l'assistant */
56107
56107
  color: var(
56108
56108
  --digipair-color-text-primary,
56109
- #ffffff
56109
+ #242e3b
56110
56110
  ); /* Couleur du texte des messages de l'assistant */
56111
56111
  align-self: flex-start;
56112
56112
  margin-right: auto;
@@ -56116,18 +56116,18 @@ ChatElement.styles = [
56116
56116
  background-color: var(--digipair-color-secondary, #242e3b);
56117
56117
  color: var(
56118
56118
  --digipair-color-text-secondary,
56119
- #52dfdb
56119
+ #FFFFFF
56120
56120
  ); /* Couleur du texte des messages de l'utilisateur */
56121
56121
  align-self: flex-end;
56122
56122
  margin-left: auto;
56123
56123
  }
56124
56124
 
56125
56125
  .assistant a {
56126
- color: var(--digipair-color-text-primary, #ffffff);
56126
+ color: var(--digipair-color-text-primary, #242e3b);
56127
56127
  }
56128
56128
 
56129
56129
  .user a {
56130
- color: var(--digipair-color-text-secondary, #52dfdb);
56130
+ color: var(--digipair-color-text-secondary, #FFFFFF);
56131
56131
  }
56132
56132
 
56133
56133
  .input-container {
@@ -56306,8 +56306,8 @@ const styles$1 = i$5`
56306
56306
  width: 70px;
56307
56307
  height: 70px;
56308
56308
  position: absolute;
56309
- right: -5px;
56310
- top: -55px;
56309
+ right: -10px;
56310
+ top: -58px;
56311
56311
  transition: scale 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s;
56312
56312
  }
56313
56313
 
@@ -57952,9 +57952,9 @@ class ChatbotElement extends s$3 {
57952
57952
  return x`
57953
57953
  <style>
57954
57954
  --digipair-color-primary: ${this.metadata.primary};
57955
- --digipair-color-primary: ${this.metadata.secondary};
57956
57955
  --digipair-color-text-primary: ${this.metadata.textPrimary};
57957
- --digipair-color-text-primary: ${this.metadata.textSecondary};
57956
+ --digipair-color-secondary: ${this.metadata.secondary};
57957
+ --digipair-color-text-secondary: ${this.metadata.textSecondary};
57958
57958
  </style>
57959
57959
 
57960
57960
  <section class="container result-${this.resultState}">
@@ -57988,7 +57988,10 @@ class ChatbotElement extends s$3 {
57988
57988
  `}
57989
57989
  </section>
57990
57990
 
57991
- <section class="panel" style="border: 1px solid var(--digipair-color-primary, #52DFDB)"></section>
57991
+ <section
57992
+ class="panel"
57993
+ style="border: 1px solid var(--digipair-color-primary, #52DFDB)"
57994
+ ></section>
57992
57995
  <img
57993
57996
  @click=${()=>this.resultState !== 'closed' ? this.closeResult() : this.openResult()}
57994
57997
  class="logo ${this.loading ? 'loading' : ''}"
@@ -58100,9 +58103,9 @@ const styles = i$5`
58100
58103
  bottom: 20px;
58101
58104
  right: 20px;
58102
58105
  left: 20px;
58103
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
58104
- 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
58105
- 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
58106
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
58107
+ 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
58108
+ 'Noto Color Emoji';
58106
58109
  line-height: 0.8;
58107
58110
  font-size: 0.8rem;
58108
58111
  }
@@ -58128,7 +58131,7 @@ const styles = i$5`
58128
58131
  width: 70px;
58129
58132
  height: 70px;
58130
58133
  position: absolute;
58131
- right: -5px;
58134
+ right: -15px;
58132
58135
  top: -15px;
58133
58136
  transition: scale 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s;
58134
58137
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-chatbot",
3
- "version": "0.5.11",
3
+ "version": "0.5.13",
4
4
  "dependencies": {},
5
5
  "typings": "./index.d.ts",
6
6
  "main": "./index.cjs.js",