ide-assi 0.531.0 → 0.533.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.
@@ -202707,7 +202707,7 @@ class IdeAssi extends HTMLElement
202707
202707
 
202708
202708
  setTimeout(() => {
202709
202709
  this.shadowRoot.querySelector("ide-tip-popup").close();
202710
- }, 3000);
202710
+ }, 9000);
202711
202711
 
202712
202712
  /**
202713
202713
  try {
@@ -203041,6 +203041,7 @@ class IdeLoadingTips extends HTMLElement {
203041
203041
  * @param {string} tipCategory - The key in the JSON file's data that corresponds to the desired tip array (e.g., 'componentTips').
203042
203042
  */
203043
203043
  async startTips(tipsUrl, tipCategory) {
203044
+
203044
203045
  if (!tipsUrl || !tipCategory) {
203045
203046
  console.error("Tips URL or category not provided for aiLoadingTips.");
203046
203047
  return;
@@ -203111,6 +203112,9 @@ class IdeLoadingTips extends HTMLElement {
203111
203112
  */
203112
203113
  showCurrentTip() {
203113
203114
  const currentTip = this.#tips[this.#currentTipIndex];
203115
+
203116
+ console.log(currentTip);
203117
+
203114
203118
  if (this.tipElement && currentTip) {
203115
203119
  this.tipElement.textContent = currentTip.text;
203116
203120
 
@@ -202703,7 +202703,7 @@ class IdeAssi extends HTMLElement
202703
202703
 
202704
202704
  setTimeout(() => {
202705
202705
  this.shadowRoot.querySelector("ide-tip-popup").close();
202706
- }, 3000);
202706
+ }, 9000);
202707
202707
 
202708
202708
  /**
202709
202709
  try {
@@ -203037,6 +203037,7 @@ class IdeLoadingTips extends HTMLElement {
203037
203037
  * @param {string} tipCategory - The key in the JSON file's data that corresponds to the desired tip array (e.g., 'componentTips').
203038
203038
  */
203039
203039
  async startTips(tipsUrl, tipCategory) {
203040
+
203040
203041
  if (!tipsUrl || !tipCategory) {
203041
203042
  console.error("Tips URL or category not provided for aiLoadingTips.");
203042
203043
  return;
@@ -203107,6 +203108,9 @@ class IdeLoadingTips extends HTMLElement {
203107
203108
  */
203108
203109
  showCurrentTip() {
203109
203110
  const currentTip = this.#tips[this.#currentTipIndex];
203111
+
203112
+ console.log(currentTip);
203113
+
203110
203114
  if (this.tipElement && currentTip) {
203111
203115
  this.tipElement.textContent = currentTip.text;
203112
203116
 
@@ -168,7 +168,7 @@ export class IdeAssi extends HTMLElement
168
168
 
169
169
  setTimeout(() => {
170
170
  this.shadowRoot.querySelector("ide-tip-popup").close();
171
- }, 3000);
171
+ }, 9000);
172
172
 
173
173
  /**
174
174
  try {
@@ -142,6 +142,7 @@ class IdeLoadingTips extends HTMLElement {
142
142
  * @param {string} tipCategory - The key in the JSON file's data that corresponds to the desired tip array (e.g., 'componentTips').
143
143
  */
144
144
  async startTips(tipsUrl, tipCategory) {
145
+
145
146
  if (!tipsUrl || !tipCategory) {
146
147
  console.error("Tips URL or category not provided for aiLoadingTips.");
147
148
  return;
@@ -212,6 +213,9 @@ class IdeLoadingTips extends HTMLElement {
212
213
  */
213
214
  showCurrentTip() {
214
215
  const currentTip = this.#tips[this.#currentTipIndex];
216
+
217
+ console.log(currentTip);
218
+
215
219
  if (this.tipElement && currentTip) {
216
220
  this.tipElement.textContent = currentTip.text;
217
221
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.531.0",
4
+ "version": "0.533.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -168,7 +168,7 @@ export class IdeAssi extends HTMLElement
168
168
 
169
169
  setTimeout(() => {
170
170
  this.shadowRoot.querySelector("ide-tip-popup").close();
171
- }, 3000);
171
+ }, 9000);
172
172
 
173
173
  /**
174
174
  try {
@@ -142,6 +142,7 @@ class IdeLoadingTips extends HTMLElement {
142
142
  * @param {string} tipCategory - The key in the JSON file's data that corresponds to the desired tip array (e.g., 'componentTips').
143
143
  */
144
144
  async startTips(tipsUrl, tipCategory) {
145
+
145
146
  if (!tipsUrl || !tipCategory) {
146
147
  console.error("Tips URL or category not provided for aiLoadingTips.");
147
148
  return;
@@ -212,6 +213,9 @@ class IdeLoadingTips extends HTMLElement {
212
213
  */
213
214
  showCurrentTip() {
214
215
  const currentTip = this.#tips[this.#currentTipIndex];
216
+
217
+ console.log(currentTip);
218
+
215
219
  if (this.tipElement && currentTip) {
216
220
  this.tipElement.textContent = currentTip.text;
217
221