@evoke-tech/stencil-ui-kit 0.1.0 → 0.2.1

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 (131) hide show
  1. package/README.md +142 -26
  2. package/dist/cjs/evoke-alert_20.cjs.entry.js +1047 -0
  3. package/dist/cjs/evoke-ui.cjs.js +2 -2
  4. package/dist/cjs/{index-B8xS0y1i.js → index-BpJ5gu8f.js} +146 -5
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/collection/collection-manifest.json +13 -1
  7. package/dist/collection/components/evoke-alert/evoke-alert.css +17 -6
  8. package/dist/collection/components/evoke-alert/evoke-alert.js +25 -1
  9. package/dist/collection/components/evoke-app-bar/evoke-app-bar.css +13 -0
  10. package/dist/collection/components/evoke-app-bar/evoke-app-bar.js +94 -0
  11. package/dist/collection/components/evoke-badge/evoke-badge.css +13 -0
  12. package/dist/collection/components/evoke-badge/evoke-badge.js +162 -0
  13. package/dist/collection/components/evoke-button/evoke-button.css +16 -2
  14. package/dist/collection/components/evoke-button/evoke-button.js +117 -5
  15. package/dist/collection/components/evoke-card/evoke-card.css +9 -1
  16. package/dist/collection/components/evoke-card/evoke-card.js +75 -1
  17. package/dist/collection/components/evoke-checkbox/evoke-checkbox.css +7 -1
  18. package/dist/collection/components/evoke-checkbox/evoke-checkbox.js +31 -2
  19. package/dist/collection/components/evoke-chip/evoke-chip.css +16 -0
  20. package/dist/collection/components/evoke-chip/evoke-chip.js +149 -0
  21. package/dist/collection/components/evoke-input/evoke-input.css +11 -3
  22. package/dist/collection/components/evoke-input/evoke-input.js +103 -13
  23. package/dist/collection/components/evoke-modal/evoke-modal.css +21 -5
  24. package/dist/collection/components/evoke-modal/evoke-modal.js +129 -4
  25. package/dist/collection/components/evoke-pagination/evoke-pagination.css +12 -0
  26. package/dist/collection/components/evoke-pagination/evoke-pagination.js +156 -0
  27. package/dist/collection/components/evoke-progress/evoke-progress.css +12 -0
  28. package/dist/collection/components/evoke-progress/evoke-progress.js +146 -0
  29. package/dist/collection/components/evoke-quantity-stepper/evoke-quantity-stepper.css +20 -0
  30. package/dist/collection/components/evoke-quantity-stepper/evoke-quantity-stepper.js +201 -0
  31. package/dist/collection/components/evoke-radio-group/evoke-radio-group.css +14 -1
  32. package/dist/collection/components/evoke-radio-group/evoke-radio-group.js +34 -8
  33. package/dist/collection/components/evoke-select/evoke-select.css +25 -4
  34. package/dist/collection/components/evoke-select/evoke-select.js +245 -15
  35. package/dist/collection/components/evoke-switch/evoke-switch.css +16 -0
  36. package/dist/collection/components/evoke-switch/evoke-switch.js +151 -0
  37. package/dist/collection/components/evoke-table/evoke-table.css +20 -0
  38. package/dist/collection/components/evoke-table/evoke-table.js +222 -0
  39. package/dist/collection/components/evoke-tabs/evoke-tabs.css +20 -0
  40. package/dist/collection/components/evoke-tabs/evoke-tabs.js +179 -0
  41. package/dist/collection/components/evoke-textarea/evoke-textarea.css +19 -0
  42. package/dist/collection/components/evoke-textarea/evoke-textarea.js +328 -0
  43. package/dist/collection/components/evoke-toast/evoke-toast.css +24 -0
  44. package/dist/collection/components/evoke-toast/evoke-toast.js +225 -0
  45. package/dist/collection/components/evoke-tooltip/evoke-tooltip.css +22 -0
  46. package/dist/collection/components/evoke-tooltip/evoke-tooltip.js +119 -0
  47. package/dist/collection/utils/icons.js +29 -0
  48. package/dist/components/evoke-alert.js +1 -1
  49. package/dist/components/evoke-app-bar.d.ts +11 -0
  50. package/dist/components/evoke-app-bar.js +1 -0
  51. package/dist/components/evoke-badge.d.ts +11 -0
  52. package/dist/components/evoke-badge.js +1 -0
  53. package/dist/components/evoke-button.js +1 -1
  54. package/dist/components/evoke-card.js +1 -1
  55. package/dist/components/evoke-checkbox.js +1 -1
  56. package/dist/components/evoke-chip.d.ts +11 -0
  57. package/dist/components/evoke-chip.js +1 -0
  58. package/dist/components/evoke-input.js +1 -1
  59. package/dist/components/evoke-modal.js +1 -1
  60. package/dist/components/evoke-pagination.d.ts +11 -0
  61. package/dist/components/evoke-pagination.js +1 -0
  62. package/dist/components/evoke-progress.d.ts +11 -0
  63. package/dist/components/evoke-progress.js +1 -0
  64. package/dist/components/evoke-quantity-stepper.d.ts +11 -0
  65. package/dist/components/evoke-quantity-stepper.js +1 -0
  66. package/dist/components/evoke-radio-group.js +1 -1
  67. package/dist/components/evoke-select.js +1 -1
  68. package/dist/components/evoke-switch.d.ts +11 -0
  69. package/dist/components/evoke-switch.js +1 -0
  70. package/dist/components/evoke-table.d.ts +11 -0
  71. package/dist/components/evoke-table.js +1 -0
  72. package/dist/components/evoke-tabs.d.ts +11 -0
  73. package/dist/components/evoke-tabs.js +1 -0
  74. package/dist/components/evoke-textarea.d.ts +11 -0
  75. package/dist/components/evoke-textarea.js +1 -0
  76. package/dist/components/evoke-toast.d.ts +11 -0
  77. package/dist/components/evoke-toast.js +1 -0
  78. package/dist/components/evoke-tooltip.d.ts +11 -0
  79. package/dist/components/evoke-tooltip.js +1 -0
  80. package/dist/components/icons.js +1 -0
  81. package/dist/esm/evoke-alert_20.entry.js +1026 -0
  82. package/dist/esm/evoke-ui.js +3 -3
  83. package/dist/esm/{index-BtM1wZ-I.js → index-C-5sEjU8.js} +146 -6
  84. package/dist/esm/loader.js +3 -3
  85. package/dist/evoke-ui/evoke-ui.css +1 -1
  86. package/dist/evoke-ui/evoke-ui.esm.js +1 -1
  87. package/dist/evoke-ui/p-0841be89.entry.js +1 -0
  88. package/dist/evoke-ui/p-C-5sEjU8.js +3 -0
  89. package/dist/themes/bootstrap.css +3 -0
  90. package/dist/themes/material.css +5 -2
  91. package/dist/themes/tailwind.css +3 -0
  92. package/dist/themes/tokens.css +4 -1
  93. package/dist/types/components/evoke-alert/evoke-alert.d.ts +2 -0
  94. package/dist/types/components/evoke-app-bar/evoke-app-bar.d.ts +14 -0
  95. package/dist/types/components/evoke-badge/evoke-badge.d.ts +17 -0
  96. package/dist/types/components/evoke-button/evoke-button.d.ts +12 -2
  97. package/dist/types/components/evoke-card/evoke-card.d.ts +9 -0
  98. package/dist/types/components/evoke-checkbox/evoke-checkbox.d.ts +5 -0
  99. package/dist/types/components/evoke-chip/evoke-chip.d.ts +14 -0
  100. package/dist/types/components/evoke-input/evoke-input.d.ts +9 -1
  101. package/dist/types/components/evoke-modal/evoke-modal.d.ts +19 -1
  102. package/dist/types/components/evoke-pagination/evoke-pagination.d.ts +15 -0
  103. package/dist/types/components/evoke-progress/evoke-progress.d.ts +13 -0
  104. package/dist/types/components/evoke-quantity-stepper/evoke-quantity-stepper.d.ts +18 -0
  105. package/dist/types/components/evoke-radio-group/evoke-radio-group.d.ts +4 -2
  106. package/dist/types/components/evoke-select/evoke-select.d.ts +31 -6
  107. package/dist/types/components/evoke-switch/evoke-switch.d.ts +15 -0
  108. package/dist/types/components/evoke-table/evoke-table.d.ts +29 -0
  109. package/dist/types/components/evoke-tabs/evoke-tabs.d.ts +21 -0
  110. package/dist/types/components/evoke-textarea/evoke-textarea.d.ts +28 -0
  111. package/dist/types/components/evoke-toast/evoke-toast.d.ts +24 -0
  112. package/dist/types/components/evoke-tooltip/evoke-tooltip.d.ts +17 -0
  113. package/dist/types/components.d.ts +1237 -18
  114. package/dist/types/utils/icons.d.ts +25 -0
  115. package/dist/vue/components.d.ts +22 -0
  116. package/dist/vue/components.js +220 -0
  117. package/dist/vue/index.d.ts +2 -0
  118. package/dist/vue/index.js +2 -0
  119. package/dist/vue/plugin.d.ts +3 -0
  120. package/dist/vue/plugin.js +7 -0
  121. package/package.json +30 -6
  122. package/dist/cjs/evoke-alert_6.cjs.entry.js +0 -172
  123. package/dist/cjs/evoke-card.cjs.entry.js +0 -20
  124. package/dist/cjs/evoke-modal.cjs.entry.js +0 -34
  125. package/dist/esm/evoke-alert_6.entry.js +0 -165
  126. package/dist/esm/evoke-card.entry.js +0 -18
  127. package/dist/esm/evoke-modal.entry.js +0 -32
  128. package/dist/evoke-ui/p-243075cd.entry.js +0 -1
  129. package/dist/evoke-ui/p-605d4757.entry.js +0 -1
  130. package/dist/evoke-ui/p-9a6eaeb6.entry.js +0 -1
  131. package/dist/evoke-ui/p-BtM1wZ-I.js +0 -3
@@ -0,0 +1,3 @@
1
+ function t(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var n=(n,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=n[o],s=t(Object.getPrototypeOf(n),o,!0)||Object.getOwnPropertyDescriptor(n,o);s&&Object.defineProperty(n,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),e.l.has(o)?n[o]=e.l.get(o):void 0!==l&&(n[o]=l)}}))},e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},o=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.i=t,512&e.o.u&&n(t,e))},l=(t,n)=>n in t,s=(t,n)=>(0,console.error)(t,n),i=new Map,r=new Map,c=new Map,u="slot-fb{display:contents}slot-fb[hidden]{display:none}",f="http://www.w3.org/1999/xlink",a="undefined"!=typeof window?window:{},d={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},p=t=>Promise.resolve(t),h=(()=>{try{return!!a.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),v=!!h&&(()=>!!a.document&&Object.getOwnPropertyDescriptor(a.document.adoptedStyleSheets,"length").writable)(),m=!1,y=[],b=[],$=()=>{var t;return(null==(t=a.document)?void 0:t.hidden)?setTimeout(j,16):d.raf(j)},w=(t,n)=>e=>{t.push(e),m||(m=!0,n&&4&d.u?O(j):$())},g=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){s(t)}t.length=0},j=()=>{g(y),g(b),(m=y.length>0)&&$()},O=t=>p().then(t),S=w(b,!0),k=t=>{const n=T(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&N(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!C(t,M(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&T(t,"childNodes").length&&k(t)}};function N(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||M(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...N(T(o,"childNodes"),n,e)]}return s}var C=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)M(l)!==n||!e&&l["s-sr"]||o.push(l);return o},E=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,M=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function T(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function L(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var R,x,A=new WeakMap,F=t=>"sc-"+t.h,D=t=>"object"==(t=typeof t)||"function"===t,P=(t,n,...e)=>{let o=null,l=null,i=null,r=!1,c=!1;const u=[],f=n=>{for(let e=0;e<n.length;e++)if(o=n[e],Array.isArray(o))f(o);else if(null!=o&&"boolean"!=typeof o){if(r="function"!=typeof t&&!D(o))o+="";else if("function"!=typeof t&&void 0===o.u){s("Invalid vNode child");continue}r&&c?u[u.length-1].v+=o:u.push(r?H(null,o):o),c=r}};if(f(e),n){n.key&&(l=n.key),n.name&&(i=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}const a=H(t,null);return a.m=n,u.length>0&&(a.$=u),a.j=l,a.O=i,a},H=(t,n)=>({u:0,S:t,v:null!=n?n:null,k:null,$:null,m:null,j:null,O:null}),_={},B=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},U=(t,n)=>null==t||D(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,W=t=>{var n;return null==(n=e(t))?void 0:n.$hostElement$},z=(t,n)=>{const e=W(t);return{emit:t=>V(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},V=(t,n,e)=>{const o=d.ce(n,e);return t.dispatchEvent(o),o},q=(t,n,o,s,i,r)=>{if(o===s)return;let c=l(t,n),u=n.toLowerCase();if("class"===n){const n=t.classList,e=Z(o);let l=Z(s);{let t=e.filter((t=>t&&!l.includes(t)));n.remove(...t),n.add(...l.filter((t=>t&&!e.includes(t))))}}else if("style"===n){for(const n in o)s&&null!=s[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if("key"===n);else if("ref"===n)s&&yt(s,t);else if(c||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let l;{const n=e(t);if(n&&n.o&&n.o.t){const t=n.o.t[o];t&&t[1]&&(l=t[1])}}return l||(l=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===s?"":s))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}{const e=D(s);if((c||e&&null!==s)&&!i)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}let l=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(n=u,l=!0),null==s||!1===s?(!1!==s||""===t.getAttribute(n)||4&r&&!Y(n))&&(l?t.removeAttributeNS(f,n):t.removeAttribute(n)):(!c||4&r||i)&&!e&&1===t.nodeType&&(s=!0===s?"":s,l?t.setAttributeNS(f,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):l(a,u)?u.slice(2):u[2]+n.slice(3),o||s){const e=n.endsWith(J);n=n.replace(K,""),o&&d.rel(t,n,o,e),s&&d.ael(t,n,s,e)}},I=new Set(["draggable","contenteditable","spellcheck"]),Y=t=>I.has(t)||t.startsWith("aria-"),G=/\s/,Z=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(G):[]),J="Capture",K=RegExp(J+"$"),Q=(t,n,e)=>{const o=11===n.k.nodeType&&n.k.host?n.k.host:n.k,l=t&&t.m||{},s=n.m||{};for(const t of X(Object.keys(l)))t in s||q(o,t,l[t],void 0,e,n.u);for(const t of X(Object.keys(s)))q(o,t,l[t],s[t],e,n.u)};function X(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var tt=!1,nt=!1,et=!1,ot=!1,lt=[],st=[],it=(t,n,e)=>{var o;const l=n.$[e];let s,i,r,c=0;if(tt||(et=!0,"slot"===l.S&&(l.u|=l.$?2:1)),null!=l.v)s=l.k=a.document.createTextNode(l.v);else if(1&l.u)s=l.k=a.document.createTextNode(""),Q(null,l,ot);else{if(ot||(ot="svg"===l.S),!a.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.k=a.document.createElementNS(ot?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!tt&&2&l.u?"slot-fb":l.S),ot&&"foreignObject"===l.S&&(ot=!1),Q(null,l,ot),l.$){const n="template"===l.S?s.content:s;for(c=0;c<l.$.length;++c)i=it(t,l,c),i&&n.appendChild(i)}"svg"===l.S?ot=!1:"foreignObject"===s.tagName&&(ot=!0)}return s["s-hn"]=x,3&l.u&&(s["s-sr"]=!0,s["s-cr"]=R,s["s-sn"]=l.O||"",s["s-rf"]=null==(o=l.m)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===M(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(s),r=t&&t.$&&t.$[e],r&&r.S===l.S&&t.k&&rt(t.k)),s},rt=t=>{d.u|=1;const n=t.closest(x.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(bt(n,t,null!=e?e:null),t["s-sh"]=void 0,et=!0)}d.u&=-2},ct=(t,n)=>{d.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===x&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==x&&o["s-ol"]&&(bt(dt(o).parentNode,o,dt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,et=!0),n&&ct(o,n)}d.u&=-2},ut=(t,n,e,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.S&&(r=r.content);l<=s;++l)o[l]&&(i=it(null,e,l),i&&(o[l].k=i,bt(r,i,dt(n))))},ft=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.k;mt(n),t&&(nt=!0,t["s-ol"]?t["s-ol"].remove():ct(t,!0),t.remove())}}},at=(t,n,e=!1)=>t.S===n.S&&("slot"===t.S?t.O===n.O:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),dt=t=>t&&t["s-ol"]||t,pt=(t,n,e=!1)=>{const o=n.k=t.k,l=t.$,s=n.$,i=n.S,r=n.v;let c;null==r?(ot="svg"===i||"foreignObject"!==i&&ot,"slot"!==i||tt||t.O!==n.O&&(n.k["s-sn"]=n.O||"",rt(n.k.parentElement)),Q(t,n,ot),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],h=o.length-1,v=o[0],m=o[h];const y="template"===e.S?t.content:t;for(;r<=a&&c<=h;)if(null==d)d=n[++r];else if(null==p)p=n[--a];else if(null==v)v=o[++c];else if(null==m)m=o[--h];else if(at(d,v,l))pt(d,v,l),d=n[++r],v=o[++c];else if(at(p,m,l))pt(p,m,l),p=n[--a],m=o[--h];else if(at(d,m,l))"slot"!==d.S&&"slot"!==m.S||ct(d.k.parentNode,!1),pt(d,m,l),bt(y,d.k,p.k.nextSibling),d=n[++r],m=o[--h];else if(at(p,v,l))"slot"!==d.S&&"slot"!==m.S||ct(p.k.parentNode,!1),pt(p,v,l),bt(y,p.k,d.k),p=n[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].j&&n[f].j===v.j){u=f;break}u>=0?(i=n[u],i.S!==v.S?s=it(n&&n[c],e,c):(pt(i,v,l),n[u]=void 0,s=i.k),v=o[++c]):(s=it(n&&n[c],e,c),v=o[++c]),s&&bt(dt(d.k).parentNode,s,dt(d.k))}r>a?ut(t,null==o[h+1]?null:o[h+1].k,e,o,c,h):c>h&&ft(n,r,a)})(o,l,n,s,e):null!==s?(null!==t.v&&(o.textContent=""),ut(o,null,n,s,0,s.length-1)):!e&&null!==l&&ft(l,0,l.length-1),ot&&"svg"===i&&(ot=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.v!==r&&(o.data=r)},ht=[],vt=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]&&(!n["s-sh"]||n["s-sh"]!==t["s-hn"]||""!==l&&M(n)===l))if(E(n,l)){let e=ht.find((t=>t.N===n));nt=!0,n["s-sn"]=n["s-sn"]||l,e?(e.N["s-sh"]=t["s-hn"],e.C=t):(n["s-sh"]=t["s-hn"],ht.push({C:t,N:n})),n["s-sr"]&&ht.map((t=>{E(t.N,n["s-sn"])&&(e=ht.find((t=>t.N===n)),e&&!t.C&&(t.C=e.C))}))}else ht.some((t=>t.N===n))||ht.push({N:n})}1===t.nodeType&&vt(t)}},mt=t=>{t.m&&t.m.ref&&lt.push((()=>t.m.ref(null))),t.$&&t.$.map(mt)},yt=(t,n)=>{st.push((()=>t(n)))},bt=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=M(t)||"";return{slotNode:N(T(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(l),n}return(null==t?void 0:t.__insertBefore)?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},$t=(t,n)=>{if(n&&!t.M&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.M=()=>{n["s-p"].splice(e-1,1),o()})))}},wt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);$t(t,t.T);const e=()=>gt(t,n);if(!n)return S(e);queueMicrotask((()=>{e()}))},gt=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return n?(t.L&&(t.L=!1,Et(o,"connectedCallback",void 0,e)),t.u|=256,t.R&&(t.R.map((([t,n])=>Et(o,t,n,e))),t.R=void 0),t.A.length&&t.A.forEach((t=>t(e))),l=Et(o,"componentWillLoad",void 0,e)):l=Et(o,"componentWillUpdate",void 0,e),l=jt(l,(()=>Et(o,"componentWillRender",void 0,e))),jt(l,(()=>St(t,o,n)))},jt=(t,n)=>Ot(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Ot=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,St=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o;((t,n)=>{var e,o,l;const s=F(n),i=c.get(s);if(!a.document)return s;if(t=11===t.nodeType?t:a.document,i)if("string"==typeof i){let l,r=A.get(t=t.head||t);if(r||A.set(t,r=new Set),!r.has(s)){l=a.document.createElement("style"),l.textContent=i;const c=null!=(e=d.F)?e:L(a.document);if(null!=c&&l.setAttribute("nonce",c),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(h){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(i),v?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=i+n.textContent:t.prepend(l)}else t.append(l);1&n.u&&t.insertBefore(l,null),4&n.u&&(l.textContent+=u),r&&r.add(s)}}else{let n=A.get(t);if(n||A.set(t,n=new Set),!n.has(s)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(i.constructor===e.CSSStyleSheet)o=i;else{o=new e.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}v?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(s)}}})(t.$hostElement$.getRootNode(),n)})(t);kt(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>Nt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},kt=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,l,s,i,r;const c=t.$hostElement$,u=t.o,f=t.D||H(null,null),p=(t=>t&&t.S===_)(n)?n:P(null,null,n);if(x=c.tagName,u.P&&(p.m=p.m||{},u.P.forEach((([t,n])=>{p.m[n]=c[t]}))),e&&p.m)for(const t of Object.keys(p.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(p.m[t]=c[t]);if(p.S=null,p.u|=4,t.D=p,p.k=f.k=c,tt=!1,R=c["s-cr"],nt=!1,pt(f,p,e),d.u|=1,et){vt(p.k);for(const t of ht){const n=t.N;if(!n["s-ol"]&&a.document){const t=a.document.createTextNode("");t["s-nr"]=n,bt(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of ht){const n=t.N,r=t.C;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(bt(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=a.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,bt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(nt&&k(p.k),d.u&=-2,ht.length=0,!tt&&!(1&u.u)&&c["s-cr"]){const t=p.k.__childNodes||p.k.childNodes;for(const n of t)if(n["s-hn"]!==x&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=a.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],bt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}R=void 0,lt.forEach((t=>t())),lt.length=0,st.forEach((t=>t())),st.length=0})(t,n,o)}catch(n){s(n,t.$hostElement$)}return null},Nt=t=>{const n=t.$hostElement$,e=t.i,o=t.T;Et(e,"componentDidRender",void 0,n),64&t.u?Et(e,"componentDidUpdate",void 0,n):(t.u|=64,Mt(n),Et(e,"componentDidLoad",void 0,n),t.H(n),o||Ct()),t.M&&(t.M(),t.M=void 0),512&t.u&&O((()=>wt(t,!1))),t.u&=-517},Ct=()=>{O((()=>V(a,"appload",{detail:{namespace:"evoke-ui"}})))},Et=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){s(t,o)}},Mt=t=>t.classList.add("hydrated"),Tt=(t,n)=>e(t).l.get(n),Lt=(t,n,o,l)=>{const i=e(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.h}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=i.$hostElement$,c=i.l.get(n),u=i.u,f=i.i;if(o=U(o,l.t[n][0]),!(8&u&&void 0!==c||o===c||Number.isNaN(c)&&Number.isNaN(o))){if(i.l.set(n,o),l._){const t=l._[n];t&&t.map((t=>{try{const[[e,l]]=Object.entries(t);(128&u||1&l)&&(f?f[e](o,c,n):i.A.push((()=>{i.i[e](o,c,n)})))}catch(t){s(t,r)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,n)&&!(16&u))return;16&u||wt(i,!1)}}},Rt=(n,o,l)=>{var s,i;const r=n.prototype;{n.watchers&&!o._&&(o._=B(n.watchers)),n.deserializers&&!o.B&&(o.B=n.deserializers),n.serializers&&!o.U&&(o.U=n.serializers);const c=Object.entries(null!=(s=o.t)?s:{});if(c.map((([n,[s]])=>{if(31&s||2&l&&32&s){const{get:i,set:c}=t(r,n)||{};i&&(o.t[n][0]|=2048),c&&(o.t[n][0]|=4096),(1&l||!i)&&Object.defineProperty(r,n,{get(){{if(!(2048&o.t[n][0]))return Tt(this,n);const t=e(this);return t?t.i?t.i[n]:Tt(this,n):r[n]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,n,{set(t){const i=e(this);if(i){if(c)return void 0===(32&s?this[n]:i.$hostElement$[n])&&i.l.get(n)&&(t=i.l.get(n)),c.call(this,U(t,s)),void Lt(this,n,t=32&s?this[n]:i.$hostElement$[n],o);{if(!(1&l&&4096&o.t[n][0]))return void Lt(this,n,t,o);const e=U(t,s);if(i.i){const t=i.i[n];!i.l.get(n)&&t&&i.l.set(n,t),i.i[n]=e,Lt(this,n,i.i[n],o)}else i.l.set(n,e)}}}})}})),1&l){const t=new Map;r.attributeChangedCallback=function(n,l,s){d.jmp((()=>{var i;const u=t.get(n),f=e(this);if(this.hasOwnProperty(u)&&(s=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==s)return;if(null==u){const t=null==f?void 0:f.u;if(f&&t&&!(8&t)&&s!==l){const e=f.i,r=null==(i=o._)?void 0:i[n];null==r||r.forEach((o=>{const[[i,r]]=Object.entries(o);null!=e[i]&&(128&t||1&r)&&e[i].call(e,s,l,n)}))}return}const a=c.find((([t])=>t===u)),d=a?a[1][0]:0,p=4&d;if(512&d&&8&d&&!D(this[u])&&(t=>null==t||!1===t?null:!0===t?"":t+"")(this[u])===s)return;const h=p&&null===s&&void 0===this[u];p&&(s=null!==s&&"false"!==s);const v=Object.getOwnPropertyDescriptor(r,u);h||s==this[u]||v.get&&!v.set||(this[u]=s)}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=o._)?i:{}),...c.filter((([t,n])=>31&n[0])).map((([n,e])=>{var l;const s=e[1]||n;return t.set(s,n),512&e[0]&&(null==(l=o.P)||l.push([n,s])),s}))]))}}return n},xt=async(t,n,e)=>{var o;let l;try{if(!(32&n.u)){if(n.u|=32,n.u&=-1025,e.W){const c=((t,n)=>{var e;const o=t.h.replace(/-/g,"_"),l=t.W;if(!l)return;const c=i.get(l);if(c)return c[o];const u=null!=(e=r.get(l))?e:0,f=[u>0?"s-retry="+u:"",""].filter(Boolean).join("&");
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
3
+ return import(`./${l}.entry.js${f?"?"+f:""}`).then((t=>(r.delete(l),i.set(l,t),t[o])),(t=>{r.set(l,u+1),s(t,n.$hostElement$)}))})(e,n);if(c&&"then"in c){const t=()=>{};l=await c,t()}else l=c;if(!l)throw n.u&=-33,n.V=(null!=(o=n.V)?o:0)+1,n.V<3&&(n.u|=1024),Error(`Constructor for "${e.h}#${n.q}" was not found`);l.isProxied||(e._=B(l.watchers),e.U=l.serializers,e.B=l.deserializers,Rt(l,e,2),l.isProxied=!0);const u=()=>{};n.u|=8;try{new l(n)}catch(n){s(n,t)}n.u&=-9,((t,n)=>{var e;const o=t.i;if(o)for(const[l,[s]]of Object.entries(null!=(e=n.t)?e:{}))if(4096&s&&t.l.has(l)){const n=t.l.get(l);o[l]!==n&&(o[l]=n)}})(n,e),n.u|=128,u(),4&e.u?n.L=!0:At(n.i,t)}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(l&&l.style){let t;"string"==typeof l.style&&(t=l.style);const n=F(e);if(!c.has(n)){const o=()=>{};((t,n,e)=>{let o=c.get(t);h&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,c.set(t,o)})(n,t,!!(1&e.u)),o()}}}const u=n.T,f=()=>wt(n,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(e){s(e,t),n.M&&(n.M(),n.M=void 0),!n.H||1024&n.u||n.H(t)}},At=(t,n)=>{Et(t,"connectedCallback",void 0,n)},Ft=(t,n)=>{Et(t,"disconnectedCallback",void 0,n||t)},Dt=(t,n={})=>{var o;if(!a.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const l=[],s=n.exclude||[],i=a.customElements,r=a.document.head,c=r.querySelector("meta[charset]"),f=a.document.createElement("style"),p=[];let h,v=!0;Object.assign(d,n),d.p=new URL(n.resourcesUrl||"./",a.document.baseURI).href;let m=!1;if(t.map((t=>{t[1].map((n=>{var o,r;const c={u:n[0],h:n[1],t:n[2],I:n[3]};4&c.u&&(m=!0),c.t=n[2],c.I=n[3],c.P=[],c._=B(n[4]),c.U=null!=(o=n[5])?o:{},c.B=null!=(r=n[6])?r:{};const u=c.h,f=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,Y:new Map};e.G=new Promise((t=>e.H=t)),t["s-p"]=[],t["s-rc"]=[],e.A=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,c)}connectedCallback(){const t=e(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Pt(this,t,c.I)),h&&(clearTimeout(h),h=null),v?p.push(this):d.jmp((()=>(t=>{if(!(1&d.u)){const n=e(t);if(!n)return;const o=n.o,l=()=>{};if(1&n.u)Pt(t,n,o.I),(null==n?void 0:n.i)?At(n.i,t):1024&n.u?setTimeout((()=>xt(t,n,o)),1e3):(null==n?void 0:n.G)&&n.G.then((()=>At(n.i,t)));else{n.u|=1,12&o.u&&(t=>{if(!a.document)return;const n=t["s-cr"]=a.document.createComment("");n["s-cn"]=!0,bt(t,n,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){$t(n,n.T=e);break}}o.t&&Object.entries(o.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),xt(t,n,o)}l()}})(this))))}disconnectedCallback(){d.jmp((()=>(async t=>{if(!(1&d.u)){const n=e(t);(null==n?void 0:n.Z)&&(n.Z.map((t=>t())),n.Z=void 0),(null==n?void 0:n.i)?Ft(n.i,t):(null==n?void 0:n.G)&&n.G.then((()=>Ft(n.i,t)))}A.has(t)&&A.delete(t),t.shadowRoot&&A.has(t.shadowRoot)&&A.delete(t.shadowRoot)})(this))),O((()=>{var t;const n=e(this);if(!n)return;const o=p.findIndex((t=>t===this));o>-1&&p.splice(o,1),(null==(t=null==n?void 0:n.D)?void 0:t.k)instanceof Node&&!n.D.k.isConnected&&delete n.D.k}))}componentOnReady(){var t;return null==(t=e(this))?void 0:t.G}};c.W=t[0],s.includes(u)||i.get(u)||(l.push(u),i.define(u,Rt(f,c,1)))}))})),l.length>0&&(m&&(f.textContent+=u),f.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",f.innerHTML.length)){f.setAttribute("data-styles","");const t=null!=(o=d.F)?o:L(a.document);null!=t&&f.setAttribute("nonce",t),r.insertBefore(f,c?c.nextSibling:r.firstChild)}v=!1,p.length?p.map((t=>t.connectedCallback())):d.jmp((()=>h=setTimeout(Ct,30)))},Pt=(t,n,e)=>{e&&a.document&&e.map((([e,o,l])=>{const s=_t(a.document,t,e),i=Ht(n,l),r=Bt(e);d.ael(s,o,i,r),(n.Z=n.Z||[]).push((()=>d.rel(s,o,i,r)))}))},Ht=(t,n)=>e=>{var o;try{256&t.u?null==(o=t.i)||o[n](e):(t.R=t.R||[]).push([n,e])}catch(n){s(n,t.$hostElement$)}},_t=(t,n,e)=>4&e?t:8&e?a:n,Bt=t=>({passive:!!(1&t),capture:!!(2&t)}),Ut=t=>d.F=t;export{Dt as b,z as c,W as g,P as h,p,o as r,Ut as s}
@@ -20,4 +20,7 @@
20
20
  --evoke-control-height: 38px;
21
21
  --evoke-button-padding-x: 0.75rem;
22
22
  --evoke-font-size: 1rem;
23
+ --evoke-surface-muted: var(--bs-tertiary-bg, #f8f9fa);
24
+ --evoke-shadow: var(--bs-box-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.15));
25
+ --evoke-primary-text: color-mix(in srgb, var(--bs-primary, #0d6efd) 85%, #000);
23
26
  }
@@ -7,9 +7,9 @@
7
7
  --evoke-surface: var(--mat-sys-surface, #fef7ff);
8
8
  --evoke-text: var(--mat-sys-on-surface, #1d1b20);
9
9
  --evoke-border: var(--mat-sys-outline, #79747e);
10
- --evoke-radius: var(--mat-sys-corner-full, 20px);
10
+ --evoke-radius: var(--mat-sys-corner-medium, 12px);
11
11
  --evoke-radius-field: var(--mat-sys-corner-extra-small, 4px);
12
- --evoke-font: var(--mat-sys-body-large-font, Roboto, 'Helvetica Neue', sans-serif);
12
+ --evoke-font: var(--mat-sys-body-large-font, Roboto), 'Helvetica Neue', sans-serif;
13
13
  --evoke-focus-ring: 0 0 0 2px var(--mat-sys-primary, #6750a4);
14
14
  --evoke-secondary: var(--mat-sys-secondary, #625b71);
15
15
  --evoke-secondary-contrast: var(--mat-sys-on-secondary, #ffffff);
@@ -18,4 +18,7 @@
18
18
  --evoke-control-height: 40px;
19
19
  --evoke-button-padding-x: 24px;
20
20
  --evoke-font-size: 1rem;
21
+ --evoke-surface-muted: var(--mat-sys-surface-container-highest, #e6e0e9);
22
+ --evoke-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.3);
23
+ --evoke-primary-text: var(--mat-sys-primary, #6750a4);
21
24
  }
@@ -21,4 +21,7 @@
21
21
  --evoke-control-height: 2.5rem;
22
22
  --evoke-button-padding-x: 1rem;
23
23
  --evoke-font-size: 1rem;
24
+ --evoke-surface-muted: var(--color-gray-100, #f3f4f6);
25
+ --evoke-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1));
26
+ --evoke-primary-text: var(--color-blue-700, #1d4ed8);
24
27
  }
@@ -13,7 +13,7 @@
13
13
  --evoke-info: #0891b2;
14
14
  --evoke-surface: #ffffff;
15
15
  --evoke-text: #1a1a1a;
16
- --evoke-text-muted: #7a7a7a;
16
+ --evoke-text-muted: #6b6b6b;
17
17
  --evoke-border: #dedede;
18
18
  --evoke-radius: 8px;
19
19
  --evoke-radius-field: 8px;
@@ -23,4 +23,7 @@
23
23
  --evoke-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
24
24
  --evoke-font-size: 16px;
25
25
  --evoke-focus-ring: 0 0 0 3px rgba(11, 21, 96, 0.15);
26
+ --evoke-surface-muted: #f5f5f5;
27
+ --evoke-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
28
+ --evoke-primary-text: #cc3d0d;
26
29
  }
@@ -1,6 +1,8 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  export declare class EvokeAlert {
3
3
  type: 'info' | 'success' | 'warning' | 'danger';
4
+ /** Subtle (tinted background) or solid (filled colour) */
5
+ appearance: 'subtle' | 'solid';
4
6
  dismissible: boolean;
5
7
  /** Fired when the dismiss button is clicked */
6
8
  evokeDismiss: EventEmitter<void>;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @slot logo - brand/logo on the left
3
+ * @slot nav - navigation links in the middle (wrapped in a <nav>)
4
+ * @slot actions - buttons, badges or icons on the right
5
+ */
6
+ export declare class EvokeAppBar {
7
+ /** Light surface, or dark / brand-coloured (navy) */
8
+ appearance: 'light' | 'dark';
9
+ /** Stick to the top of the viewport while scrolling */
10
+ sticky: boolean;
11
+ /** Accessible name for the navigation landmark */
12
+ navLabel: string;
13
+ render(): any;
14
+ }
@@ -0,0 +1,17 @@
1
+ export declare class EvokeBadge {
2
+ el: HTMLElement;
3
+ /** Number to show (count badge) */
4
+ count: number;
5
+ /** Counts above this show as "max+" (e.g. 99+) */
6
+ max: number;
7
+ /** Show a small status dot instead of a number */
8
+ dot: boolean;
9
+ /** Show the badge even when the count is 0 */
10
+ showZero: boolean;
11
+ color: 'primary' | 'secondary' | 'danger' | 'success' | 'warning' | 'info';
12
+ /** Screen-reader text, e.g. "3 items in cart". A dot without a label is treated as decorative. */
13
+ label: string;
14
+ private hasContent;
15
+ componentWillLoad(): void;
16
+ render(): any;
17
+ }
@@ -1,8 +1,18 @@
1
+ import { EvokeIcon } from '../../utils/icons';
1
2
  export declare class EvokeButton {
2
- /** Visual variant */
3
- variant: 'primary' | 'secondary' | 'danger' | 'outline';
3
+ /** Solid variants (primary, secondary, danger), outline, or ghost (text only, no border) */
4
+ variant: 'primary' | 'secondary' | 'danger' | 'outline' | 'ghost';
5
+ size: 'sm' | 'md' | 'lg';
4
6
  type: 'button' | 'submit' | 'reset';
5
7
  disabled: boolean;
8
+ /** Shows a spinner and blocks clicks while true */
9
+ loading: boolean;
10
+ /** Optional leading icon */
11
+ icon?: EvokeIcon;
12
+ /** Square button for icon-only use; set `accessible-label` too */
13
+ iconOnly: boolean;
14
+ /** aria-label for the inner button (required when `icon-only`) */
15
+ accessibleLabel?: string;
6
16
  /** Stretch to the full width of the container */
7
17
  block: boolean;
8
18
  /** Extra classes for the inner <button>, e.g. "btn btn-lg" (Bootstrap) or "shadow-lg" (Tailwind) */
@@ -1,6 +1,15 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
1
2
  export declare class EvokeCard {
2
3
  heading: string;
4
+ /** Outlined (border) or elevated (shadow, no border) */
5
+ appearance: 'outlined' | 'elevated';
6
+ /** Makes the whole card a button (hover/active/focus states, Enter/Space) */
7
+ clickable: boolean;
3
8
  /** Extra classes for the card container, e.g. "shadow-md" (Tailwind) or "card" (Bootstrap) */
4
9
  cardClass: string;
10
+ /** Fired when a `clickable` card is activated */
11
+ evokeClick: EventEmitter<void>;
12
+ private activate;
13
+ private onKeyDown;
5
14
  render(): any;
6
15
  }
@@ -2,6 +2,8 @@ import { EventEmitter } from '../../stencil-public-runtime';
2
2
  export declare class EvokeCheckbox {
3
3
  label: string;
4
4
  checked: boolean;
5
+ /** Mixed state, e.g. a "select all" box when only some items are selected. Cleared on click. */
6
+ indeterminate: boolean;
5
7
  disabled: boolean;
6
8
  /** Error message shown below the checkbox */
7
9
  error: string;
@@ -9,5 +11,8 @@ export declare class EvokeCheckbox {
9
11
  inputClass: string;
10
12
  /** Emits the new checked state */
11
13
  evokeChange: EventEmitter<boolean>;
14
+ private inputEl?;
15
+ private uid;
16
+ componentDidRender(): void;
12
17
  render(): any;
13
18
  }
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class EvokeChip {
3
+ label: string;
4
+ /** Selected state (filter chip) */
5
+ selected: boolean;
6
+ /** Shows a remove button instead of toggling selection */
7
+ removable: boolean;
8
+ disabled: boolean;
9
+ /** Emits the new selected state (filter chip) */
10
+ evokeChange: EventEmitter<boolean>;
11
+ /** Fired when the remove button is clicked (removable chip) */
12
+ evokeRemove: EventEmitter<void>;
13
+ render(): any;
14
+ }
@@ -1,13 +1,21 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { EvokeIcon } from '../../utils/icons';
2
3
  export declare class EvokeInput {
3
4
  label: string;
4
5
  value: string;
5
6
  type: string;
7
+ name: string;
6
8
  placeholder: string;
7
9
  disabled: boolean;
10
+ required: boolean;
11
+ /** Outlined (default) or filled (tinted background, bottom border) */
12
+ appearance: 'outlined' | 'filled';
13
+ /** Error message shown below the field (replaces the hint) */
8
14
  error: string;
15
+ /** Helper text shown below the field */
16
+ hint: string;
9
17
  /** Optional leading icon */
10
- icon?: 'mail' | 'lock' | 'user' | 'search';
18
+ icon?: EvokeIcon;
11
19
  /** Extra classes for the inner <input>, e.g. "form-control" (Bootstrap) */
12
20
  inputClass: string;
13
21
  /** Emits the new value on every keystroke */
@@ -1,14 +1,32 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  export declare class EvokeModal {
3
+ el: HTMLElement;
3
4
  /** Whether the modal is visible */
4
5
  open: boolean;
5
6
  heading: string;
7
+ /** Centred dialog, or a drawer sliding in from the right */
8
+ position: 'center' | 'right';
9
+ size: 'sm' | 'md' | 'lg';
6
10
  closeOnBackdrop: boolean;
7
11
  /** Extra classes for the dialog panel */
8
12
  modalClass: string;
9
13
  /** Fired when the modal requests to close (backdrop, Esc, or close button) */
10
14
  evokeClose: EventEmitter<void>;
11
- onKeydown(e: KeyboardEvent): void;
15
+ private panel?;
16
+ private previouslyFocused;
17
+ private previousOverflow;
18
+ private pendingFocus;
19
+ private locked;
20
+ private uid;
21
+ onOpenChange(next: boolean, prev: boolean): void;
22
+ componentDidLoad(): void;
23
+ disconnectedCallback(): void;
24
+ componentDidRender(): void;
25
+ private onOpened;
26
+ private onClosed;
27
+ private unlockScroll;
28
+ private focusables;
12
29
  private close;
30
+ onKeydown(e: KeyboardEvent): void;
13
31
  render(): any;
14
32
  }
@@ -0,0 +1,15 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class EvokePagination {
3
+ /** Current page (1-based) */
4
+ page: number;
5
+ /** Total number of pages */
6
+ total: number;
7
+ /** Numbered pages, or compact (Prev, "2 of 10", Next) */
8
+ appearance: 'numbered' | 'compact';
9
+ disabled: boolean;
10
+ /** Emits the new page number */
11
+ evokeChange: EventEmitter<number>;
12
+ private go;
13
+ private pages;
14
+ render(): any;
15
+ }
@@ -0,0 +1,13 @@
1
+ export declare class EvokeProgress {
2
+ /** Linear bar, or circular spinner / ring */
3
+ type: 'linear' | 'circular';
4
+ /** Progress from 0 to 100 */
5
+ value: number;
6
+ /** Unknown duration: animates continuously and ignores `value` */
7
+ indeterminate: boolean;
8
+ /** Accessible name, e.g. "Uploading" */
9
+ label: string;
10
+ /** Diameter in px for the circular type */
11
+ size: number;
12
+ render(): any;
13
+ }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class EvokeQuantityStepper {
3
+ value: number;
4
+ min: number;
5
+ max: number;
6
+ /** Inline (minus, value, plus) or compact with a quantity dropdown */
7
+ appearance: 'inline' | 'compact';
8
+ disabled: boolean;
9
+ /** Accessible name for the control */
10
+ label: string;
11
+ /** Emits the new quantity */
12
+ evokeChange: EventEmitter<number>;
13
+ private inputEl?;
14
+ private clamp;
15
+ private set;
16
+ private onKeyDown;
17
+ render(): any;
18
+ }
@@ -7,12 +7,14 @@ export declare class EvokeRadioGroup {
7
7
  value: string;
8
8
  name: string;
9
9
  disabled: boolean;
10
- /** Lay options out in a row instead of a column */
10
+ /** Classic radio circles, or a segmented button group */
11
+ appearance: 'classic' | 'segmented';
12
+ /** Lay classic options out in a row instead of a column */
11
13
  inline: boolean;
12
14
  /** Error message shown below the group */
13
15
  error: string;
14
16
  /** Emits the selected value */
15
17
  evokeChange: EventEmitter<string>;
16
- private groupName;
18
+ private uid;
17
19
  render(): any;
18
20
  }
@@ -1,18 +1,43 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { EvokeOption } from '../../utils/options';
3
3
  export declare class EvokeSelect {
4
+ el: HTMLElement;
4
5
  label: string;
5
6
  /** Options as an array of { label, value, disabled? } or a JSON string of the same */
6
7
  options: EvokeOption[] | string;
7
- value: string;
8
+ /** Selected value (string), or an array of values when `multiple` */
9
+ value: string | string[];
8
10
  placeholder: string;
11
+ /** Multi-select: selected values are shown as removable chips */
12
+ multiple: boolean;
13
+ /** Adds a search box that filters the options */
14
+ searchable: boolean;
9
15
  disabled: boolean;
10
- /** Error message shown below the field */
16
+ /** Error message shown below the field (replaces the hint) */
11
17
  error: string;
12
- /** Extra classes for the inner <select>, e.g. "form-select" (Bootstrap) */
18
+ hint: string;
19
+ /** Extra classes for the inner <select> (single, non-searchable mode), e.g. "form-select" */
13
20
  selectClass: string;
14
- /** Emits the selected value */
15
- evokeChange: EventEmitter<string>;
16
- private selectId;
21
+ /** Emits the selected value (string) or the selected values (string[]) when `multiple` */
22
+ evokeChange: EventEmitter<string | string[]>;
23
+ isOpen: boolean;
24
+ query: string;
25
+ activeIndex: number;
26
+ private uid;
27
+ private triggerEl?;
28
+ private searchEl?;
29
+ private focusSearch;
30
+ private get selected();
31
+ private get filtered();
32
+ onDocClick(e: MouseEvent): void;
33
+ componentDidRender(): void;
34
+ private openPanel;
35
+ private closePanel;
36
+ private commit;
37
+ private toggle;
38
+ private removeChip;
39
+ private onKeyDown;
40
+ private renderNative;
41
+ private renderCustom;
17
42
  render(): any;
18
43
  }
@@ -0,0 +1,15 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class EvokeSwitch {
3
+ checked: boolean;
4
+ /** Optional visible label. Without a label or description it is a plain toggle. */
5
+ label: string;
6
+ /** Secondary text under the label */
7
+ description: string;
8
+ disabled: boolean;
9
+ /** aria-label for a plain toggle that has no visible label */
10
+ accessibleLabel?: string;
11
+ /** Emits the new checked state */
12
+ evokeChange: EventEmitter<boolean>;
13
+ private uid;
14
+ render(): any;
15
+ }
@@ -0,0 +1,29 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class EvokeTable {
3
+ /** Columns as an array of { key, label, sortable?, align? } or a JSON string of the same */
4
+ columns: {
5
+ key: string;
6
+ label: string;
7
+ sortable?: boolean;
8
+ align?: 'left' | 'center' | 'right';
9
+ }[] | string;
10
+ /** Rows as an array of objects keyed by column key, or a JSON string of the same */
11
+ rows: Record<string, string | number | boolean | null>[] | string;
12
+ /** Alternate row shading */
13
+ striped: boolean;
14
+ /** Allow sorting on columns marked `sortable` (or all columns if none are marked) */
15
+ sortable: boolean;
16
+ /** Visually hidden/visible table caption for screen readers */
17
+ caption: string;
18
+ emptyText: string;
19
+ /** Fired after a header is sorted: { key, direction } where direction is 'asc' or 'desc' */
20
+ evokeSort: EventEmitter<{
21
+ key: string;
22
+ direction: 'asc' | 'desc';
23
+ }>;
24
+ sortKey: string;
25
+ sortDir: 'asc' | 'desc';
26
+ private parse;
27
+ private toggleSort;
28
+ render(): any;
29
+ }
@@ -0,0 +1,21 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { EvokeOption } from '../../utils/options';
3
+ export declare class EvokeTabs {
4
+ el: HTMLElement;
5
+ /** Tabs as an array of { label, value, disabled? } or a JSON string of the same */
6
+ options: EvokeOption[] | string;
7
+ /** Value of the active tab. Defaults to the first enabled tab. */
8
+ value: string;
9
+ /** Underline tabs or pill tabs */
10
+ appearance: 'underline' | 'pill';
11
+ /** Accessible name for the tab list */
12
+ label: string;
13
+ /** Emits the value of the newly selected tab */
14
+ evokeChange: EventEmitter<string>;
15
+ private uid;
16
+ private get tabs();
17
+ private get activeValue();
18
+ private select;
19
+ private onKeyDown;
20
+ render(): any;
21
+ }
@@ -0,0 +1,28 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class EvokeTextarea {
3
+ label: string;
4
+ value: string;
5
+ name: string;
6
+ placeholder: string;
7
+ /** Visible rows (the minimum height when `auto-grow` is on) */
8
+ rows: number;
9
+ /** Grow with the content instead of scrolling */
10
+ autoGrow: boolean;
11
+ /** Max characters; also shows a live "n / max" counter */
12
+ maxLength?: number;
13
+ disabled: boolean;
14
+ required: boolean;
15
+ error: string;
16
+ hint: string;
17
+ /** Extra classes for the inner <textarea> */
18
+ textareaClass: string;
19
+ /** Emits the new value on every keystroke */
20
+ evokeInput: EventEmitter<string>;
21
+ /** Emits the new value on commit (blur) */
22
+ evokeChange: EventEmitter<string>;
23
+ private el?;
24
+ private uid;
25
+ componentDidRender(): void;
26
+ private resize;
27
+ render(): any;
28
+ }
@@ -0,0 +1,24 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class EvokeToast {
3
+ open: boolean;
4
+ /** Message text (or use the default slot) */
5
+ message: string;
6
+ type: 'info' | 'success' | 'warning' | 'danger';
7
+ /** Label of an action button, e.g. "View cart". Leave empty for a simple message. */
8
+ action: string;
9
+ /** Auto-dismiss after this many ms; 0 keeps it open until closed */
10
+ duration: number;
11
+ position: 'bottom' | 'top';
12
+ /** Fired when the action button is clicked */
13
+ evokeAction: EventEmitter<void>;
14
+ /** Fired when the toast closes (button, action or timeout) */
15
+ evokeClose: EventEmitter<void>;
16
+ private timer?;
17
+ onOpen(next: boolean): void;
18
+ componentDidLoad(): void;
19
+ disconnectedCallback(): void;
20
+ private startTimer;
21
+ private clearTimer;
22
+ private close;
23
+ render(): any;
24
+ }
@@ -0,0 +1,17 @@
1
+ export declare class EvokeTooltip {
2
+ el: HTMLElement;
3
+ text: string;
4
+ placement: 'top' | 'bottom' | 'left' | 'right';
5
+ /** Dark, or light with an arrow */
6
+ theme: 'dark' | 'light';
7
+ visible: boolean;
8
+ private id;
9
+ private observer?;
10
+ componentDidLoad(): void;
11
+ disconnectedCallback(): void;
12
+ /** Point every focusable element inside the trigger at the tooltip text (aria-describedby) */
13
+ private link;
14
+ private show;
15
+ private hide;
16
+ render(): any;
17
+ }