@qaecy/cue-ui 0.0.5 → 0.0.6

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.
@@ -273,7 +273,7 @@
273
273
  overflow: auto;
274
274
  }
275
275
 
276
- cue-document-list-wc {
276
+ cue-document-list {
277
277
  display: block;
278
278
  width: 100%;
279
279
  min-height: 480px;
@@ -350,7 +350,7 @@
350
350
  <main id="list-area">
351
351
  <div id="toolbar">Select a project to load documents.</div>
352
352
  <div id="list-wrapper">
353
- <cue-document-list-wc id="doc-list"></cue-document-list-wc>
353
+ <cue-document-list id="doc-list"></cue-document-list>
354
354
  </div>
355
355
  </main>
356
356
  </div>
@@ -358,11 +358,11 @@
358
358
  <script type="module">
359
359
  window.addEventListener('load', () => {
360
360
  setTimeout(() => {
361
- if (customElements.get('cue-document-list-wc')) {
362
- console.log('[demo] cue-document-list-wc registered OK');
361
+ if (customElements.get('cue-document-list')) {
362
+ console.log('[demo] cue-document-list registered OK');
363
363
  } else {
364
364
  console.error(
365
- '[demo] cue-document-list-wc NOT registered after 4 s. Check runtime.js/polyfills.js/main.js loads.'
365
+ '[demo] cue-document-list NOT registered after 4 s. Check runtime.js/polyfills.js/main.js loads.'
366
366
  );
367
367
  }
368
368
  }, 4000);
@@ -423,7 +423,7 @@
423
423
  const list = $('doc-list');
424
424
  if (!list || !activeProjectId) return;
425
425
 
426
- await customElements.whenDefined('cue-document-list-wc');
426
+ await customElements.whenDefined('cue-document-list');
427
427
  list.projectId = activeProjectId;
428
428
  list.uuids = shownDocs.map((doc) => doc.uuid);
429
429
  list.sdkState = { cue, language: cue.api.language || 'en' };