@xplortech/apollo-core 0.0.6 → 0.1.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.
Files changed (63) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +42 -1
  3. package/build/style.css +983 -380
  4. package/dist/apollo-core/apollo-core.css +23 -9
  5. package/dist/apollo-core/apollo-core.esm.js +1 -1
  6. package/dist/apollo-core/p-00996870.js +1 -0
  7. package/dist/apollo-core/{p-b9df8412.entry.js → p-1e6a342a.entry.js} +4 -3
  8. package/dist/apollo-core/{p-5d786409.entry.js → p-21872e0f.entry.js} +1 -1
  9. package/dist/apollo-core/p-d8ea7d80.entry.js +1 -0
  10. package/dist/cjs/apollo-core.cjs.js +3 -3
  11. package/dist/cjs/{index-d0d9877d.js → index-716d8f57.js} +106 -29
  12. package/dist/cjs/loader.cjs.js +3 -3
  13. package/dist/cjs/{xpl-button_2.cjs.entry.js → xpl-avatar_7.cjs.entry.js} +149 -8
  14. package/dist/cjs/xpl-choicelist.cjs.entry.js +16 -0
  15. package/dist/cjs/xpl-pagination.cjs.entry.js +1 -1
  16. package/dist/collection/collection-manifest.json +8 -2
  17. package/dist/collection/components/xpl-avatar/xpl-avatar.js +158 -0
  18. package/dist/collection/components/xpl-badge/xpl-badge.js +50 -0
  19. package/dist/collection/components/xpl-button/xpl-button.js +45 -13
  20. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +139 -0
  21. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +9 -0
  22. package/dist/collection/components/xpl-radio/xpl-radio.js +122 -0
  23. package/dist/collection/components/xpl-table/xpl-table.js +9 -5
  24. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +10 -0
  25. package/dist/custom-elements/index.d.ts +36 -0
  26. package/dist/custom-elements/index.js +176 -12
  27. package/dist/esm/apollo-core.js +3 -3
  28. package/dist/esm/{index-252a5f91.js → index-4c8962a5.js} +106 -29
  29. package/dist/esm/loader.js +3 -3
  30. package/dist/esm/{xpl-button_2.entry.js → xpl-avatar_7.entry.js} +145 -9
  31. package/dist/esm/xpl-choicelist.entry.js +12 -0
  32. package/dist/esm/xpl-pagination.entry.js +1 -1
  33. package/dist/stories/avatar.stories.js +173 -0
  34. package/dist/stories/badge.stories.js +48 -0
  35. package/dist/stories/button.stories.js +98 -0
  36. package/dist/stories/checkbox.stories.js +66 -0
  37. package/dist/stories/pagination.stories.js +84 -0
  38. package/dist/stories/radio.stories.js +56 -0
  39. package/dist/stories/table.stories.js +107 -0
  40. package/dist/stories/tabs.stories.js +24 -0
  41. package/dist/stories/utility-bar.stories.js +94 -0
  42. package/dist/types/components/xpl-avatar/xpl-avatar.d.ts +11 -0
  43. package/dist/types/components/xpl-badge/xpl-badge.d.ts +5 -0
  44. package/dist/types/{.stencil → components}/xpl-button/xpl-button.d.ts +4 -2
  45. package/dist/types/components/xpl-checkbox/xpl-checkbox.d.ts +11 -0
  46. package/dist/types/components/xpl-choicelist/xpl-choicelist.d.ts +3 -0
  47. package/dist/types/components/xpl-radio/xpl-radio.d.ts +10 -0
  48. package/dist/types/{.stencil → components}/xpl-table/xpl-table.d.ts +2 -2
  49. package/dist/types/components/xpl-utility-bar/xpl-utility-bar.d.ts +3 -0
  50. package/dist/types/components.d.ts +134 -6
  51. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/avatar.stories.d.ts +91 -0
  52. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/badge.stories.d.ts +48 -0
  53. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/button.stories.d.ts +74 -0
  54. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/checkbox.stories.d.ts +64 -0
  55. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/pagination.stories.d.ts +0 -0
  56. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/radio.stories.d.ts +56 -0
  57. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/table.stories.d.ts +50 -0
  58. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/tabs.stories.d.ts +0 -0
  59. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/utility-bar.stories.d.ts +20 -0
  60. package/dist/types/stencil-public-runtime.d.ts +183 -182
  61. package/package.json +42 -13
  62. package/dist/apollo-core/p-3f7da885.js +0 -1
  63. /package/dist/types/{.stencil → components}/xpl-pagination/xpl-pagination.d.ts +0 -0
@@ -1 +1 @@
1
- import{r as i,c as t,h as s,H as a}from"./p-3f7da885.js";const l=class{constructor(s){i(this,s),this.page=t(this,"page",7),this.current=1,this._goto=i=>{this.page.emit(i),this.waitForCallback||(this.current=i)},this.goPrev=()=>{this.current>1&&this._goto(this.current-1)},this.goNext=()=>{const i=Math.ceil(this.total/this.perPage);this.current<i&&this._goto(this.current+1)}}async goto(i){this.current=i}render(){const i=Math.ceil(this.total/this.perPage);let t=[1];i<7&&(t=[1,2,3,4,5,6]),t=this.current<=3||this.current>=i-2?[1,2,3,"...",i-2,i-1,i]:[1,"...",this.current-1,this.current,this.current+1,"...",i];const l=(this.current-1)*this.perPage+1,n=Math.min(l+this.perPage-1,this.total);return s(a,null,s("div",{class:"xpl-pagination"},s("div",null,s("p",null,"Showing ",s("span",null,l)," to ",s("span",null,n)," ","of ",s("span",null,this.total)," results")),s("div",null,s("nav",{"aria-label":"Pagination"},s("button",{onClick:this.goPrev,class:"xpl-pagination-prev"},s("span",null,"Previous"),s("svg",{viewBox:"0 0 20 20","aria-hidden":"true"},s("path",{"fill-rule":"evenodd",d:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z","clip-rule":"evenodd"}))),t.map((i=>"..."===i?s("span",{class:"xpl-pagination-ellipsis"},"..."):s("button",i===this.current?{"aria-current":"page",class:"xpl-pagination-current"}:{onClick:()=>this._goto(i)},i))),s("button",{onClick:this.goNext,class:"xpl-pagination-next"},s("span",null,"Next"),s("svg",{viewBox:"0 0 20 20","aria-hidden":"true"},s("path",{"fill-rule":"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"})))))))}};export{l as xpl_pagination}
1
+ import{r as i,c as t,h as s,H as a}from"./p-00996870.js";const l=class{constructor(s){i(this,s),this.page=t(this,"page",7),this.current=1,this._goto=i=>{this.page.emit(i),this.waitForCallback||(this.current=i)},this.goPrev=()=>{this.current>1&&this._goto(this.current-1)},this.goNext=()=>{const i=Math.ceil(this.total/this.perPage);this.current<i&&this._goto(this.current+1)}}async goto(i){this.current=i}render(){const i=Math.ceil(this.total/this.perPage);let t=[1];i<7&&(t=[1,2,3,4,5,6]),t=this.current<=3||this.current>=i-2?[1,2,3,"...",i-2,i-1,i]:[1,"...",this.current-1,this.current,this.current+1,"...",i];const l=(this.current-1)*this.perPage+1,n=Math.min(l+this.perPage-1,this.total);return s(a,null,s("div",{class:"xpl-pagination"},s("div",null,s("p",null,"Showing ",s("span",null,l)," to ",s("span",null,n)," ","of ",s("span",null,this.total)," results")),s("div",null,s("nav",{"aria-label":"Pagination"},s("button",{onClick:this.goPrev,class:"xpl-pagination-prev"},s("span",null,"Previous"),s("svg",{viewBox:"0 0 20 20","aria-hidden":"true"},s("path",{"fill-rule":"evenodd",d:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z","clip-rule":"evenodd"}))),t.map((i=>"..."===i?s("span",{class:"xpl-pagination-ellipsis"},"..."):s("button",i===this.current?{"aria-current":"page",class:"xpl-pagination-current"}:{onClick:()=>this._goto(i)},i))),s("button",{onClick:this.goNext,class:"xpl-pagination-next"},s("span",null,"Next"),s("svg",{viewBox:"0 0 20 20","aria-hidden":"true"},s("path",{"fill-rule":"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"})))))))}};export{l as xpl_pagination}
@@ -0,0 +1 @@
1
+ import{r as s,h as r,H as t}from"./p-00996870.js";const l=class{constructor(r){s(this,r)}render(){return r(t,null,r("slot",null))}};export{l as xpl_choicelist}
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-d0d9877d.js');
3
+ const index = require('./index-716d8f57.js');
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v2.6.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v2.8.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  const patchBrowser = () => {
9
9
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('apollo-core.cjs.js', document.baseURI).href));
@@ -15,5 +15,5 @@ const patchBrowser = () => {
15
15
  };
16
16
 
17
17
  patchBrowser().then(options => {
18
- return index.bootstrapLazy([["xpl-button_2.cjs",[[4,"xpl-button",{"disabled":[4],"href":[1],"icon":[1],"iconOnly":[4,"icon-only"],"iconTrailing":[4,"icon-trailing"],"size":[1],"type":[1],"variant":[1]}],[0,"xpl-table",{"columns":[16],"data":[16],"freeze":[4],"multiselect":[4],"striped":[4],"areAllSelected":[32],"rowData":[32],"hasScrolled":[32],"selected":[32]}]]],["xpl-pagination.cjs",[[0,"xpl-pagination",{"total":[2],"perPage":[2,"per-page"],"waitForCallback":[4,"wait-for-callback"],"current":[32],"goto":[64]}]]]], options);
18
+ return index.bootstrapLazy([["xpl-avatar_7.cjs",[[4,"xpl-avatar",{"color":[1],"disabled":[4],"href":[1],"name":[1],"size":[1],"src":[1],"status":[1],"target":[1]}],[4,"xpl-badge",{"dot":[4],"variant":[1]}],[4,"xpl-button",{"disabled":[4],"href":[1],"icon":[1],"iconOnly":[4,"icon-only"],"iconTrailing":[4,"icon-trailing"],"name":[1],"size":[1],"type":[1],"value":[1],"variant":[1]}],[4,"xpl-checkbox",{"checked":[4],"description":[1],"disabled":[4],"indeterminate":[4],"name":[1],"required":[4],"value":[1],"id":[32]}],[4,"xpl-radio",{"checked":[4],"description":[1],"disabled":[4],"name":[1],"required":[4],"value":[1],"id":[32]}],[0,"xpl-table",{"columns":[16],"data":[16],"freeze":[4],"multiselect":[4],"striped":[4],"areAllSelected":[32],"rowData":[32],"hasScrolled":[32],"selected":[32]}],[4,"xpl-utility-bar"]]],["xpl-choicelist.cjs",[[1,"xpl-choicelist"]]],["xpl-pagination.cjs",[[0,"xpl-pagination",{"total":[2],"perPage":[2,"per-page"],"waitForCallback":[4,"wait-for-callback"],"current":[32],"goto":[64]}]]]], options);
19
19
  });
@@ -22,6 +22,7 @@ function _interopNamespace(e) {
22
22
 
23
23
  const NAMESPACE = 'apollo-core';
24
24
 
25
+ let scopeId;
25
26
  let contentRef;
26
27
  let hostTagName;
27
28
  let useNativeShadowDom = false;
@@ -34,8 +35,8 @@ const doc = win.document || { head: {} };
34
35
  const plt = {
35
36
  $flags$: 0,
36
37
  $resourcesUrl$: '',
37
- jmp: h => h(),
38
- raf: h => requestAnimationFrame(h),
38
+ jmp: (h) => h(),
39
+ raf: (h) => requestAnimationFrame(h),
39
40
  ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
40
41
  rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
41
42
  ce: (eventName, opts) => new CustomEvent(eventName, opts),
@@ -69,6 +70,7 @@ const EMPTY_OBJ = {};
69
70
  */
70
71
  const SVG_NS = 'http://www.w3.org/2000/svg';
71
72
  const HTML_NS = 'http://www.w3.org/1999/xhtml';
73
+ const isDef = (v) => v != null;
72
74
  const isComplexType = (o) => {
73
75
  // https://jsperf.com/typeof-fn-object/5
74
76
  o = typeof o;
@@ -125,7 +127,7 @@ const h = (nodeName, vnodeData, ...children) => {
125
127
  typeof classData !== 'object'
126
128
  ? classData
127
129
  : Object.keys(classData)
128
- .filter(k => classData[k])
130
+ .filter((k) => classData[k])
129
131
  .join(' ');
130
132
  }
131
133
  }
@@ -174,8 +176,8 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
174
176
  const classList = elm.classList;
175
177
  const oldClasses = parseClassList(oldValue);
176
178
  const newClasses = parseClassList(newValue);
177
- classList.remove(...oldClasses.filter(c => c && !newClasses.includes(c)));
178
- classList.add(...newClasses.filter(c => c && !oldClasses.includes(c)));
179
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
180
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
179
181
  }
180
182
  else if (memberName === 'ref') {
181
183
  // minifier will clean this up
@@ -183,7 +185,9 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
183
185
  newValue(elm);
184
186
  }
185
187
  }
186
- else if ((!isProp ) && memberName[0] === 'o' && memberName[1] === 'n') {
188
+ else if ((!isProp ) &&
189
+ memberName[0] === 'o' &&
190
+ memberName[1] === 'n') {
187
191
  // Event Handlers
188
192
  // so if the member name starts with "on" and the 3rd characters is
189
193
  // a capital letter, and it's not already a member on the element,
@@ -264,7 +268,9 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
264
268
  // if the element passed in is a shadow root, which is a document fragment
265
269
  // then we want to be adding attrs/props to the shadow root's "host" element
266
270
  // if it's not a shadow root, then we add attrs/props to the same element
267
- const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
271
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
272
+ ? newVnode.$elm$.host
273
+ : newVnode.$elm$;
268
274
  const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
269
275
  const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
270
276
  {
@@ -291,6 +297,10 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
291
297
  // remember for later we need to check to relocate nodes
292
298
  checkSlotRelocate = true;
293
299
  if (newVNode.$tag$ === 'slot') {
300
+ if (scopeId) {
301
+ // scoped css needs to add its scoped id to the parent element
302
+ parentElm.classList.add(scopeId + '-s');
303
+ }
294
304
  newVNode.$flags$ |= newVNode.$children$
295
305
  ? // slot element has fallback content
296
306
  2 /* isSlotFallback */
@@ -304,14 +314,17 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
304
314
  }
305
315
  else if (newVNode.$flags$ & 1 /* isSlotReference */) {
306
316
  // create a slot reference node
307
- elm = newVNode.$elm$ = doc.createTextNode('');
317
+ elm = newVNode.$elm$ =
318
+ doc.createTextNode('');
308
319
  }
309
320
  else {
310
321
  if (!isSvgMode) {
311
322
  isSvgMode = newVNode.$tag$ === 'svg';
312
323
  }
313
324
  // create element
314
- elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */ ? 'slot-fb' : newVNode.$tag$)
325
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
326
+ ? 'slot-fb'
327
+ : newVNode.$tag$)
315
328
  );
316
329
  if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
317
330
  isSvgMode = false;
@@ -320,10 +333,15 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
320
333
  {
321
334
  updateElement(null, newVNode, isSvgMode);
322
335
  }
336
+ if (isDef(scopeId) && elm['s-si'] !== scopeId) {
337
+ // if there is a scopeId and this is the initial render
338
+ // then let's add the scopeId as a css class
339
+ elm.classList.add((elm['s-si'] = scopeId));
340
+ }
323
341
  if (newVNode.$children$) {
324
342
  for (i = 0; i < newVNode.$children$.length; ++i) {
325
343
  // create the node
326
- childNode = createElm(oldParentVNode, newVNode, i);
344
+ childNode = createElm(oldParentVNode, newVNode, i, elm);
327
345
  // return node could have been null
328
346
  if (childNode) {
329
347
  // append our new node
@@ -389,9 +407,12 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
389
407
  const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
390
408
  let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
391
409
  let childNode;
410
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
411
+ containerElm = containerElm.shadowRoot;
412
+ }
392
413
  for (; startIdx <= endIdx; ++startIdx) {
393
414
  if (vnodes[startIdx]) {
394
- childNode = createElm(null, parentVNode, startIdx);
415
+ childNode = createElm(null, parentVNode, startIdx, parentElm);
395
416
  if (childNode) {
396
417
  vnodes[startIdx].$elm$ = childNode;
397
418
  containerElm.insertBefore(childNode, referenceNode(before) );
@@ -480,7 +501,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
480
501
  else {
481
502
  {
482
503
  // new element
483
- node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx);
504
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
484
505
  newStartVnode = newCh[++newStartIdx];
485
506
  }
486
507
  if (node) {
@@ -643,7 +664,7 @@ const relocateSlotContent = (elm) => {
643
664
  // that is suppose to always represent the original content location
644
665
  if (isNodeLocatedInSlot(node, slotNameAttr)) {
645
666
  // it's possible we've already decided to relocate this node
646
- relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
667
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
647
668
  // made some changes to slots
648
669
  // let's make sure we also double check
649
670
  // fallbacks are correctly hidden or shown
@@ -662,9 +683,9 @@ const relocateSlotContent = (elm) => {
662
683
  });
663
684
  }
664
685
  if (node['s-sr']) {
665
- relocateNodes.map(relocateNode => {
686
+ relocateNodes.map((relocateNode) => {
666
687
  if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
667
- relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
688
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
668
689
  if (relocateNodeData && !relocateNode.$slotRefNode$) {
669
690
  relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
670
691
  }
@@ -672,7 +693,7 @@ const relocateSlotContent = (elm) => {
672
693
  });
673
694
  }
674
695
  }
675
- else if (!relocateNodes.some(r => r.$nodeToRelocate$ === node)) {
696
+ else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
676
697
  // so far this element does not have a slot home, not setting slotRefNode on purpose
677
698
  // if we never find a home for this element then we'll need to hide it
678
699
  relocateNodes.push({
@@ -717,7 +738,10 @@ const renderVdom = (hostRef, renderFnResults) => {
717
738
  rootVnode.$tag$ = null;
718
739
  rootVnode.$flags$ |= 4 /* isHost */;
719
740
  hostRef.$vnode$ = rootVnode;
720
- rootVnode.$elm$ = oldVNode.$elm$ = (hostElm);
741
+ rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
742
+ {
743
+ scopeId = hostElm['s-sc'];
744
+ }
721
745
  {
722
746
  contentRef = hostElm['s-cr'];
723
747
  useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
@@ -745,7 +769,8 @@ const renderVdom = (hostRef, renderFnResults) => {
745
769
  if (!nodeToRelocate['s-ol']) {
746
770
  // add a reference node marking this node's original location
747
771
  // keep a reference to this node for later lookups
748
- orgLocationNode = doc.createTextNode('');
772
+ orgLocationNode =
773
+ doc.createTextNode('');
749
774
  orgLocationNode['s-nr'] = nodeToRelocate;
750
775
  nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
751
776
  }
@@ -769,7 +794,8 @@ const renderVdom = (hostRef, renderFnResults) => {
769
794
  }
770
795
  }
771
796
  }
772
- if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) || nodeToRelocate.nextSibling !== insertBeforeNode) {
797
+ if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
798
+ nodeToRelocate.nextSibling !== insertBeforeNode) {
773
799
  // we've checked that it's worth while to relocate
774
800
  // since that the node to relocate
775
801
  // has a different next sibling or parent relocated
@@ -822,7 +848,7 @@ const emitEvent = (elm, name, opts) => {
822
848
  };
823
849
  const attachToAncestor = (hostRef, ancestorComponent) => {
824
850
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
825
- ancestorComponent['s-p'].push(new Promise(r => (hostRef.$onRenderResolve$ = r)));
851
+ ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
826
852
  }
827
853
  };
828
854
  const scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -865,7 +891,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
865
891
  // ok, so turns out there are some child host elements
866
892
  // waiting on this parent element to load
867
893
  // let's fire off all update callbacks waiting
868
- rc.map(cb => cb());
894
+ rc.map((cb) => cb());
869
895
  elm['s-rc'] = undefined;
870
896
  }
871
897
  endRender();
@@ -971,7 +997,8 @@ const safeCall = (instance, method, arg) => {
971
997
  const then = (promise, thenFn) => {
972
998
  return promise && promise.then ? promise.then(thenFn) : thenFn();
973
999
  };
974
- const addHydratedFlag = (elm) => (elm.classList.add('hydrated') );
1000
+ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1001
+ ;
975
1002
  const parsePropertyValue = (propValue, propType) => {
976
1003
  // ensure this value is of the correct prop type
977
1004
  if (propValue != null && !isComplexType(propValue)) {
@@ -1025,7 +1052,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1025
1052
  const members = Object.entries(cmpMeta.$members$);
1026
1053
  const prototype = Cstr.prototype;
1027
1054
  members.map(([memberName, [memberFlags]]) => {
1028
- if ((memberFlags & 31 /* Prop */ || ((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
1055
+ if ((memberFlags & 31 /* Prop */ ||
1056
+ ((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
1029
1057
  // proxyComponent - prop
1030
1058
  Object.defineProperty(prototype, memberName, {
1031
1059
  get() {
@@ -1040,7 +1068,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1040
1068
  enumerable: true,
1041
1069
  });
1042
1070
  }
1043
- else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
1071
+ else if (flags & 1 /* isElementConstructor */ &&
1072
+ memberFlags & 64 /* Method */) {
1044
1073
  // proxyComponent - method
1045
1074
  Object.defineProperty(prototype, memberName, {
1046
1075
  value(...args) {
@@ -1055,6 +1084,43 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1055
1084
  prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1056
1085
  plt.jmp(() => {
1057
1086
  const propName = attrNameToPropName.get(attrName);
1087
+ // In a webcomponent lifecyle the attributeChangedCallback runs prior to connectedCallback
1088
+ // in the case where an attribute was set inline.
1089
+ // ```html
1090
+ // <my-component some-attribute="some-value"></my-component>
1091
+ // ```
1092
+ //
1093
+ // There is an edge case where a developer sets the attribute inline on a custom element and then programatically
1094
+ // changes it before it has been upgraded as shown below:
1095
+ //
1096
+ // ```html
1097
+ // <!-- this component has _not_ been upgraded yet -->
1098
+ // <my-component id="test" some-attribute="some-value"></my-component>
1099
+ // <script>
1100
+ // // grab non-upgraded component
1101
+ // el = document.querySelector("#test");
1102
+ // el.someAttribute = "another-value";
1103
+ // // upgrade component
1104
+ // cutsomElements.define('my-component', MyComponent);
1105
+ // </script>
1106
+ // ```
1107
+ // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1108
+ // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1109
+ // to the value that was set inline i.e. "some-value" from above example. When
1110
+ // the connectedCallback attempts to unshadow it will use "some-value" as the intial value rather than "another-value"
1111
+ //
1112
+ // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1113
+ // by connectedCallback as this attributeChangedCallback will not fire.
1114
+ //
1115
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1116
+ //
1117
+ // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1118
+ // properties here given that this goes against best practices outlined here
1119
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1120
+ if (this.hasOwnProperty(propName)) {
1121
+ newValue = this[propName];
1122
+ delete this[propName];
1123
+ }
1058
1124
  this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1059
1125
  });
1060
1126
  };
@@ -1209,7 +1275,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1209
1275
  let isBootstrapping = true;
1210
1276
  Object.assign(plt, options);
1211
1277
  plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1212
- lazyBundles.map(lazyBundle => lazyBundle[1].map(compactMeta => {
1278
+ lazyBundles.map((lazyBundle) => lazyBundle[1].map((compactMeta) => {
1213
1279
  const cmpMeta = {
1214
1280
  $flags$: compactMeta[0],
1215
1281
  $tagName$: compactMeta[1],
@@ -1227,6 +1293,17 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1227
1293
  super(self);
1228
1294
  self = this;
1229
1295
  registerHost(self, cmpMeta);
1296
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1297
+ // this component is using shadow dom
1298
+ // and this browser supports shadow dom
1299
+ // add the read-only property "shadowRoot" to the host element
1300
+ // adding the shadow root build conditionals to minimize runtime
1301
+ {
1302
+ {
1303
+ self.attachShadow({ mode: 'open' });
1304
+ }
1305
+ }
1306
+ }
1230
1307
  }
1231
1308
  connectedCallback() {
1232
1309
  if (appLoadFallback) {
@@ -1262,7 +1339,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1262
1339
  // Process deferred connectedCallbacks now all components have been registered
1263
1340
  isBootstrapping = false;
1264
1341
  if (deferredConnectedCallbacks.length) {
1265
- deferredConnectedCallbacks.map(host => host.connectedCallback());
1342
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
1266
1343
  }
1267
1344
  else {
1268
1345
  {
@@ -1283,10 +1360,10 @@ const registerHost = (elm, cmpMeta) => {
1283
1360
  $instanceValues$: new Map(),
1284
1361
  };
1285
1362
  {
1286
- hostRef.$onInstancePromise$ = new Promise(r => (hostRef.$onInstanceResolve$ = r));
1363
+ hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));
1287
1364
  }
1288
1365
  {
1289
- hostRef.$onReadyPromise$ = new Promise(r => (hostRef.$onReadyResolve$ = r));
1366
+ hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1290
1367
  elm['s-p'] = [];
1291
1368
  elm['s-rc'] = [];
1292
1369
  }
@@ -1307,7 +1384,7 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1307
1384
  /* webpackInclude: /\.entry\.js$/ */
1308
1385
  /* webpackExclude: /\.system\.entry\.js$/ */
1309
1386
  /* webpackMode: "lazy" */
1310
- `./${bundleId}.entry.js${''}`)); }).then(importedModule => {
1387
+ `./${bundleId}.entry.js${''}`)); }).then((importedModule) => {
1311
1388
  {
1312
1389
  cmpModules.set(bundleId, importedModule);
1313
1390
  }
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-d0d9877d.js');
5
+ const index = require('./index-716d8f57.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Esm v2.6.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Esm v2.8.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchEsm = () => {
11
11
  return index.promiseResolve();
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["xpl-button_2.cjs",[[4,"xpl-button",{"disabled":[4],"href":[1],"icon":[1],"iconOnly":[4,"icon-only"],"iconTrailing":[4,"icon-trailing"],"size":[1],"type":[1],"variant":[1]}],[0,"xpl-table",{"columns":[16],"data":[16],"freeze":[4],"multiselect":[4],"striped":[4],"areAllSelected":[32],"rowData":[32],"hasScrolled":[32],"selected":[32]}]]],["xpl-pagination.cjs",[[0,"xpl-pagination",{"total":[2],"perPage":[2,"per-page"],"waitForCallback":[4,"wait-for-callback"],"current":[32],"goto":[64]}]]]], options);
17
+ return index.bootstrapLazy([["xpl-avatar_7.cjs",[[4,"xpl-avatar",{"color":[1],"disabled":[4],"href":[1],"name":[1],"size":[1],"src":[1],"status":[1],"target":[1]}],[4,"xpl-badge",{"dot":[4],"variant":[1]}],[4,"xpl-button",{"disabled":[4],"href":[1],"icon":[1],"iconOnly":[4,"icon-only"],"iconTrailing":[4,"icon-trailing"],"name":[1],"size":[1],"type":[1],"value":[1],"variant":[1]}],[4,"xpl-checkbox",{"checked":[4],"description":[1],"disabled":[4],"indeterminate":[4],"name":[1],"required":[4],"value":[1],"id":[32]}],[4,"xpl-radio",{"checked":[4],"description":[1],"disabled":[4],"name":[1],"required":[4],"value":[1],"id":[32]}],[0,"xpl-table",{"columns":[16],"data":[16],"freeze":[4],"multiselect":[4],"striped":[4],"areAllSelected":[32],"rowData":[32],"hasScrolled":[32],"selected":[32]}],[4,"xpl-utility-bar"]]],["xpl-choicelist.cjs",[[1,"xpl-choicelist"]]],["xpl-pagination.cjs",[[0,"xpl-pagination",{"total":[2],"perPage":[2,"per-page"],"waitForCallback":[4,"wait-for-callback"],"current":[32],"goto":[64]}]]]], options);
18
18
  });
19
19
  };
20
20
 
@@ -2,7 +2,37 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-d0d9877d.js');
5
+ const index = require('./index-716d8f57.js');
6
+
7
+ const XplAvatar = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.disabled = false;
11
+ }
12
+ render() {
13
+ let className = "xpl-avatar";
14
+ if (this.size)
15
+ className += ` xpl-avatar--${this.size}`;
16
+ if (this.color)
17
+ className += ` xpl-avatar--${this.color}`;
18
+ const inner = (index.h("div", null, this.src ? (index.h("img", { alt: this.name, src: this.src })) : (index.h("div", { class: "xpl-avatar__placeholder" }, index.h("slot", null))), this.status && index.h("div", { class: `xpl-avatar__dot--${this.status}` })));
19
+ return (index.h(index.Host, null, this.href && !this.disabled ? (index.h("a", { href: this.href, class: className, target: this.target }, inner)) : this.href && this.disabled ? (index.h("div", { class: className + " xpl-avatar--disabled" }, inner)) : (index.h("div", { class: className }, inner))));
20
+ }
21
+ };
22
+
23
+ const XplBadge = class {
24
+ constructor(hostRef) {
25
+ index.registerInstance(this, hostRef);
26
+ }
27
+ render() {
28
+ let className = "xpl-badge";
29
+ if (this.dot)
30
+ className += " xpl-badge--dot";
31
+ if (this.variant)
32
+ className += " xpl-badge--" + this.variant;
33
+ return (index.h(index.Host, null, index.h("div", { class: className }, index.h("slot", null))));
34
+ }
35
+ };
6
36
 
7
37
  /*!
8
38
  * Font Awesome Pro 5.15.3 by @fontawesome - https://fontawesome.com
@@ -16049,7 +16079,6 @@ const index = require('./index-d0d9877d.js');
16049
16079
  const XplButton = class {
16050
16080
  constructor(hostRef) {
16051
16081
  index.registerInstance(this, hostRef);
16052
- this.disabled = undefined;
16053
16082
  this.size = "default";
16054
16083
  this.variant = "primary";
16055
16084
  }
@@ -16059,8 +16088,8 @@ const XplButton = class {
16059
16088
  className += " xpl-button--secondary";
16060
16089
  if (this.variant === "subtle")
16061
16090
  className += " xpl-button--subtle";
16062
- if (this.variant === "error")
16063
- className += " xpl-button--error";
16091
+ if (this.variant === "warning")
16092
+ className += " xpl-button--warning";
16064
16093
  if (this.size === "sm")
16065
16094
  className += " xpl-button--sm";
16066
16095
  if (this.size === "xs")
@@ -16073,7 +16102,101 @@ const XplButton = class {
16073
16102
  * Conditionally render either an <a> or <button> element
16074
16103
  * depending on if there's an `href` or not
16075
16104
  */
16076
- this.href ? (index.h("a", { class: className, href: this.href, role: "button" }, !this.iconTrailing && icon, this.iconOnly ? index.h("span", { class: "sr-only" }, index.h("slot", null)) : index.h("slot", null), this.iconTrailing && icon)) : (index.h("button", { class: className, disabled: this.disabled, type: this.type }, !this.iconTrailing && icon, this.iconOnly ? index.h("span", { class: "sr-only" }, index.h("slot", null)) : index.h("slot", null), this.iconTrailing && icon))));
16105
+ this.href ? (index.h("a", { class: className, href: this.href, role: "button" }, !this.iconTrailing && icon, this.iconOnly ? (index.h("span", { class: "sr-only" }, index.h("slot", null))) : (index.h("slot", null)), this.iconTrailing && icon)) : (index.h("button", { class: className, disabled: this.disabled, name: this.name, type: this.type, value: this.value }, !this.iconTrailing && icon, this.iconOnly ? (index.h("span", { class: "sr-only" }, index.h("slot", null))) : (index.h("slot", null)), this.iconTrailing && icon))));
16106
+ }
16107
+ };
16108
+
16109
+ // Unique ID creation requires a high quality random # generator. In the browser we therefore
16110
+ // require the crypto API and do not support built-in fallback to lower quality random number
16111
+ // generators (like Math.random()).
16112
+ var getRandomValues;
16113
+ var rnds8 = new Uint8Array(16);
16114
+ function rng() {
16115
+ // lazy load so that environments that need to polyfill have a chance to do so
16116
+ if (!getRandomValues) {
16117
+ // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
16118
+ // find the complete implementation of crypto (msCrypto) on IE11.
16119
+ getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
16120
+
16121
+ if (!getRandomValues) {
16122
+ throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
16123
+ }
16124
+ }
16125
+
16126
+ return getRandomValues(rnds8);
16127
+ }
16128
+
16129
+ const REGEX = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
16130
+
16131
+ function validate(uuid) {
16132
+ return typeof uuid === 'string' && REGEX.test(uuid);
16133
+ }
16134
+
16135
+ /**
16136
+ * Convert array of 16 byte values to UUID string format of the form:
16137
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
16138
+ */
16139
+
16140
+ var byteToHex = [];
16141
+
16142
+ for (var i = 0; i < 256; ++i) {
16143
+ byteToHex.push((i + 0x100).toString(16).substr(1));
16144
+ }
16145
+
16146
+ function stringify(arr) {
16147
+ var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
16148
+ // Note: Be careful editing this code! It's been tuned for performance
16149
+ // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
16150
+ var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one
16151
+ // of the following:
16152
+ // - One or more input array values don't map to a hex octet (leading to
16153
+ // "undefined" in the uuid)
16154
+ // - Invalid input values for the RFC `version` or `variant` fields
16155
+
16156
+ if (!validate(uuid)) {
16157
+ throw TypeError('Stringified UUID is invalid');
16158
+ }
16159
+
16160
+ return uuid;
16161
+ }
16162
+
16163
+ function v4(options, buf, offset) {
16164
+ options = options || {};
16165
+ var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
16166
+
16167
+ rnds[6] = rnds[6] & 0x0f | 0x40;
16168
+ rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
16169
+
16170
+ if (buf) {
16171
+ offset = offset || 0;
16172
+
16173
+ for (var i = 0; i < 16; ++i) {
16174
+ buf[offset + i] = rnds[i];
16175
+ }
16176
+
16177
+ return buf;
16178
+ }
16179
+
16180
+ return stringify(rnds);
16181
+ }
16182
+
16183
+ const XplCheckbox = class {
16184
+ constructor(hostRef) {
16185
+ index.registerInstance(this, hostRef);
16186
+ this.id = v4();
16187
+ }
16188
+ render() {
16189
+ return (index.h(index.Host, { class: "xpl-checkbox-container" }, index.h("input", { class: "xpl-checkbox", type: "checkbox", checked: this.checked, disabled: this.disabled, id: this.id, indeterminate: this.indeterminate, name: this.name, required: this.required, value: this.value }), index.h("label", { htmlFor: this.id }, index.h("slot", null), this.description && index.h("small", null, this.description))));
16190
+ }
16191
+ };
16192
+
16193
+ const XplRadio = class {
16194
+ constructor(hostRef) {
16195
+ index.registerInstance(this, hostRef);
16196
+ this.id = v4();
16197
+ }
16198
+ render() {
16199
+ return (index.h(index.Host, { class: "xpl-radio-container" }, index.h("input", { class: "xpl-radio", type: "radio", checked: this.checked, disabled: this.disabled, id: this.id, name: this.name, required: this.required, value: this.value }), index.h("label", { htmlFor: this.id }, index.h("slot", null), this.description && index.h("small", null, this.description))));
16077
16200
  }
16078
16201
  };
16079
16202
 
@@ -16142,18 +16265,36 @@ const XplTable = class {
16142
16265
  if (this.hasScrolled)
16143
16266
  className += " xpl-table--has-scrolled";
16144
16267
  return (index.h(index.Host, null, index.h("div", { class: "xpl-table-container", onScroll: this.onScroll, ref: (el) => (this.container = el) }, index.h("table", { class: className }, this.columns && (index.h("thead", null, this.columns.map((column, i) => {
16145
- return (index.h("th", null, this.multiselect && i === 0 ? (index.h("label", { htmlFor: "__xpl-table-th" }, index.h("input", { id: "__xpl-table-th", type: "checkbox", onChange: (e) => {
16268
+ return (index.h("th", null, this.multiselect && i === 0 ? (index.h("label", { htmlFor: "__xpl-table-th" }, index.h("input", { checked: this.areAllSelected, id: "__xpl-table-th",
16269
+ // appear indeterminate when at least one but not all
16270
+ // are selected
16271
+ indeterminate: !this.areAllSelected &&
16272
+ this.selected.some((a) => a), onChange: (e) => {
16146
16273
  this.selectAll(e);
16147
- }, checked: this.areAllSelected }), column)) : (column)));
16274
+ }, type: "checkbox" }), column)) : (column)));
16148
16275
  }))), index.h("tbody", null, this.rowData.map((row, rowNum) => {
16149
16276
  return (index.h("tr", { class: this.selected && this.selected[rowNum]
16150
16277
  ? "xpl-table-row-selected"
16151
16278
  : "" }, row.map((cell, i) => {
16152
- return (index.h("td", null, this.multiselect && i === 0 ? (index.h("label", { htmlFor: "__xpl-table-row-" + rowNum }, index.h("input", { id: "__xpl-table-row-" + rowNum, checked: this.selected[rowNum], type: "checkbox", onChange: (e) => this.selectOne(e, rowNum) }), cell)) : (cell)));
16279
+ return (index.h("td", null, this.multiselect && i === 0 ? (index.h("label", { htmlFor: "__xpl-table-row-" + rowNum }, index.h("input", { id: "__xpl-table-row-" + rowNum, checked: this.selected[rowNum], type: "checkbox", onChange: (e) => this.selectOne(e, rowNum) }), index.h("div", { innerHTML: cell }))) : (index.h("div", { innerHTML: cell }))));
16153
16280
  })));
16154
16281
  }))))));
16155
16282
  }
16156
16283
  };
16157
16284
 
16285
+ const XplUtilityBar = class {
16286
+ constructor(hostRef) {
16287
+ index.registerInstance(this, hostRef);
16288
+ }
16289
+ render() {
16290
+ return (index.h(index.Host, null, index.h("nav", { "aria-label": "utility navigation bar", class: "xpl-utility-bar" }, index.h("slot", { name: "main" }), index.h("slot", { name: "aside" }))));
16291
+ }
16292
+ };
16293
+
16294
+ exports.xpl_avatar = XplAvatar;
16295
+ exports.xpl_badge = XplBadge;
16158
16296
  exports.xpl_button = XplButton;
16297
+ exports.xpl_checkbox = XplCheckbox;
16298
+ exports.xpl_radio = XplRadio;
16159
16299
  exports.xpl_table = XplTable;
16300
+ exports.xpl_utility_bar = XplUtilityBar;
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-716d8f57.js');
6
+
7
+ const XplChoicelist = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ render() {
12
+ return (index.h(index.Host, null, index.h("slot", null)));
13
+ }
14
+ };
15
+
16
+ exports.xpl_choicelist = XplChoicelist;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-d0d9877d.js');
5
+ const index = require('./index-716d8f57.js');
6
6
 
7
7
  const XplPagination = class {
8
8
  constructor(hostRef) {