crayon-design-system-ui 0.0.4 → 0.0.5
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as F,c as Q,p as U,l as j,s as R,d as o,g as h,a as X,b as B,e as I,r as H,t as Y,f as $,i as W,j as ee,m as V,k as A,n as r,o as te}from"../../assets/custom-element-BNCemaCE.js";import{i as M}from"../../assets/if-BVwKToaK.js";import{s as T}from"../../assets/slot-DvkFfIlK.js";import{t as re,a as ne,i as oe,s as ae,c as le}from"../../assets/lifecycle-8krACzSO.js";import{s as se}from"../../assets/attributes-D-TnEoSs.js";import{p as n}from"../../assets/props-CFmog5h1.js";function ie(a,t,i,k){var m=a.__style;if(F||m!==t){var l=re(t);(!F||l!==a.getAttribute("style"))&&(l==null?a.removeAttribute("style"):a.style.cssText=l),a.__style=t}return k}var ce=A('<span class="spinner svelte-kv8yyl"></span>'),ve=te('<svg class="btn-icon-svg svelte-kv8yyl" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="12" fill="currentColor" opacity="0.12" class="svelte-kv8yyl"></circle><path d="M12 6.75c.414 0 .75.336.75.75v3.75H16.5a.75.75 0 1 1 0 1.5H12.75V16.5a.75.75 0 1 1-1.5 0v-3.75H7.5a.75.75 0 1 1 0-1.5h3.75V7.5c0-.414.336-.75.75-.75Z" fill="currentColor" class="svelte-kv8yyl"></path></svg>'),de=A('<span class="btn-icon svelte-kv8yyl"><!></span>'),ye=A('<button><!> <span class="btn-content svelte-kv8yyl"><!> <!></span></button>');const ge={hash:"svelte-kv8yyl",code:`:host {display:inline-block;}.btn-inner.svelte-kv8yyl {border:none;border-radius:var(--crayon-radius-md, 10px);cursor:pointer;font-weight:500;transition:all 0.2s ease;display:inline-flex;align-items:center;justify-content:center;}.btn-content.svelte-kv8yyl {display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;}.btn-icon.svelte-kv8yyl {display:inline-flex;align-items:center;justify-content:center;}.btn-icon-svg.svelte-kv8yyl {width:22px;margin-right:8px;}.svelte-kv8yyl::slotted(img
|
|
1
|
+
import{h as F,c as Q,p as U,l as j,s as R,d as o,g as h,a as X,b as B,e as I,r as H,t as Y,f as $,i as W,j as ee,m as V,k as A,n as r,o as te}from"../../assets/custom-element-BNCemaCE.js";import{i as M}from"../../assets/if-BVwKToaK.js";import{s as T}from"../../assets/slot-DvkFfIlK.js";import{t as re,a as ne,i as oe,s as ae,c as le}from"../../assets/lifecycle-8krACzSO.js";import{s as se}from"../../assets/attributes-D-TnEoSs.js";import{p as n}from"../../assets/props-CFmog5h1.js";function ie(a,t,i,k){var m=a.__style;if(F||m!==t){var l=re(t);(!F||l!==a.getAttribute("style"))&&(l==null?a.removeAttribute("style"):a.style.cssText=l),a.__style=t}return k}var ce=A('<span class="spinner svelte-kv8yyl"></span>'),ve=te('<svg class="btn-icon-svg svelte-kv8yyl" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="12" fill="currentColor" opacity="0.12" class="svelte-kv8yyl"></circle><path d="M12 6.75c.414 0 .75.336.75.75v3.75H16.5a.75.75 0 1 1 0 1.5H12.75V16.5a.75.75 0 1 1-1.5 0v-3.75H7.5a.75.75 0 1 1 0-1.5h3.75V7.5c0-.414.336-.75.75-.75Z" fill="currentColor" class="svelte-kv8yyl"></path></svg>'),de=A('<span class="btn-icon svelte-kv8yyl"><!></span>'),ye=A('<button><!> <span class="btn-content svelte-kv8yyl"><!> <!></span></button>');const ge={hash:"svelte-kv8yyl",code:`:host {display:inline-block;}.btn-inner.svelte-kv8yyl {border:none;border-radius:var(--crayon-radius-md, 10px);cursor:pointer;font-weight:500;transition:all 0.2s ease;display:inline-flex;align-items:center;justify-content:center;}.btn-content.svelte-kv8yyl {display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;}.btn-icon.svelte-kv8yyl {display:inline-flex;align-items:center;justify-content:center;}.btn-icon-svg.svelte-kv8yyl {width:22px;margin-right:8px;}.svelte-kv8yyl::slotted(img) {width:22px;margin-right:8px;}\r
|
|
2
2
|
\r
|
|
3
3
|
/* Shape: pill (full rounded) for icon + text */.shape-pill.svelte-kv8yyl {border-radius:999px;}\r
|
|
4
4
|
\r
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as F,l as j,a as Q,t as U,e as X,b as W,p as Y,f as A,c as $,d as o,g as h,s as I,i as ee,m as R,j as B,k as r,n as H,r as V,o as te}from"./custom-element-CXejdDHX.js";import{i as M}from"./if-B4dDWEPO.js";import{s as T}from"./slot-BMp_Pzk-.js";import{t as re,a as ne,i as oe,s as ae,c as le}from"./lifecycle-DybWhkay.js";import{s as se}from"./attributes-BB78Zt3j.js";import{p as n}from"./props-FXCOeMRa.js";function ie(a,t,i,k){var m=a.__style;if(F||m!==t){var l=re(t);(!F||l!==a.getAttribute("style"))&&(l==null?a.removeAttribute("style"):a.style.cssText=l),a.__style=t}return k}var ce=A('<span class="spinner svelte-kv8yyl"></span>'),ve=te('<svg class="btn-icon-svg svelte-kv8yyl" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="12" fill="currentColor" opacity="0.12" class="svelte-kv8yyl"></circle><path d="M12 6.75c.414 0 .75.336.75.75v3.75H16.5a.75.75 0 1 1 0 1.5H12.75V16.5a.75.75 0 1 1-1.5 0v-3.75H7.5a.75.75 0 1 1 0-1.5h3.75V7.5c0-.414.336-.75.75-.75Z" fill="currentColor" class="svelte-kv8yyl"></path></svg>'),de=A('<span class="btn-icon svelte-kv8yyl"><!></span>'),ye=A('<button><!> <span class="btn-content svelte-kv8yyl"><!> <!></span></button>');const ge={hash:"svelte-kv8yyl",code:`:host {display:inline-block;}.btn-inner.svelte-kv8yyl {border:none;border-radius:var(--crayon-radius-md, 10px);cursor:pointer;font-weight:500;transition:all 0.2s ease;display:inline-flex;align-items:center;justify-content:center;}.btn-content.svelte-kv8yyl {display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;}.btn-icon.svelte-kv8yyl {display:inline-flex;align-items:center;justify-content:center;}.btn-icon-svg.svelte-kv8yyl {width:22px;margin-right:8px;}.svelte-kv8yyl::slotted(img
|
|
1
|
+
import{h as F,l as j,a as Q,t as U,e as X,b as W,p as Y,f as A,c as $,d as o,g as h,s as I,i as ee,m as R,j as B,k as r,n as H,r as V,o as te}from"./custom-element-CXejdDHX.js";import{i as M}from"./if-B4dDWEPO.js";import{s as T}from"./slot-BMp_Pzk-.js";import{t as re,a as ne,i as oe,s as ae,c as le}from"./lifecycle-DybWhkay.js";import{s as se}from"./attributes-BB78Zt3j.js";import{p as n}from"./props-FXCOeMRa.js";function ie(a,t,i,k){var m=a.__style;if(F||m!==t){var l=re(t);(!F||l!==a.getAttribute("style"))&&(l==null?a.removeAttribute("style"):a.style.cssText=l),a.__style=t}return k}var ce=A('<span class="spinner svelte-kv8yyl"></span>'),ve=te('<svg class="btn-icon-svg svelte-kv8yyl" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="12" fill="currentColor" opacity="0.12" class="svelte-kv8yyl"></circle><path d="M12 6.75c.414 0 .75.336.75.75v3.75H16.5a.75.75 0 1 1 0 1.5H12.75V16.5a.75.75 0 1 1-1.5 0v-3.75H7.5a.75.75 0 1 1 0-1.5h3.75V7.5c0-.414.336-.75.75-.75Z" fill="currentColor" class="svelte-kv8yyl"></path></svg>'),de=A('<span class="btn-icon svelte-kv8yyl"><!></span>'),ye=A('<button><!> <span class="btn-content svelte-kv8yyl"><!> <!></span></button>');const ge={hash:"svelte-kv8yyl",code:`:host {display:inline-block;}.btn-inner.svelte-kv8yyl {border:none;border-radius:var(--crayon-radius-md, 10px);cursor:pointer;font-weight:500;transition:all 0.2s ease;display:inline-flex;align-items:center;justify-content:center;}.btn-content.svelte-kv8yyl {display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;}.btn-icon.svelte-kv8yyl {display:inline-flex;align-items:center;justify-content:center;}.btn-icon-svg.svelte-kv8yyl {width:22px;margin-right:8px;}.svelte-kv8yyl::slotted(img) {width:22px;margin-right:8px;}\r
|
|
2
2
|
\r
|
|
3
3
|
/* Shape: pill (full rounded) for icon + text */.shape-pill.svelte-kv8yyl {border-radius:999px;}\r
|
|
4
4
|
\r
|
package/dist-browser/bundle.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./assets/Button-
|
|
2
|
-
const P="modulepreload",h=function(a,u){return new URL(a,u).href},p={},t=function(u,m,c){let d=Promise.resolve();if(m&&m.length>0){let f=function(e){return Promise.all(e.map(n=>Promise.resolve(n).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};const i=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),E=r?.nonce||r?.getAttribute("nonce");d=f(m.map(e=>{if(e=h(e,c),e in p)return;p[e]=!0;const n=e.endsWith(".css"),_=n?'[rel="stylesheet"]':"";if(c)for(let l=i.length-1;l>=0;l--){const s=i[l];if(s.href===e&&(!n||s.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${_}`))return;const o=document.createElement("link");if(o.rel=n?"stylesheet":P,n||(o.as="script"),o.crossOrigin="",o.href=e,E&&o.setAttribute("nonce",E),document.head.appendChild(o),n)return new Promise((l,s)=>{o.addEventListener("load",l),o.addEventListener("error",()=>s(new Error(`Unable to preload CSS for ${e}`)))})}))}function v(i){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i}return d.then(i=>{for(const r of i||[])r.status==="rejected"&&v(r.reason);return u().catch(v)})};t(()=>import("./assets/Button-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./assets/Button-Ba9iLwpw.js","./assets/custom-element-CXejdDHX.js","./assets/if-B4dDWEPO.js","./assets/slot-BMp_Pzk-.js","./assets/lifecycle-DybWhkay.js","./assets/attributes-BB78Zt3j.js","./assets/props-FXCOeMRa.js","./assets/Accordion-4FnaG9Y5.js","./assets/each-DNRJ3yhh.js","./assets/this-CHrKM9Ea.js","./assets/AccordionItem-MWAfy7EJ.js","./assets/index-client-D3Q8Zdf-.js","./assets/Input-DTmtSwFl.js","./assets/Textarea-DDTph5tQ.js","./assets/FormSelect-savXS0S1.js","./assets/FormSelectOption-BEHQwEkg.js","./assets/Checkbox-Bt7fzawE.js","./assets/Radio-B0hST10q.js","./assets/Label-Dk_VP__P.js","./assets/Form-CxYboW1j.js","./assets/Avatar-Cr-67Tpk.js","./assets/Card-CUlg_7ny.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
const P="modulepreload",h=function(a,u){return new URL(a,u).href},p={},t=function(u,m,c){let d=Promise.resolve();if(m&&m.length>0){let f=function(e){return Promise.all(e.map(n=>Promise.resolve(n).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};const i=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),E=r?.nonce||r?.getAttribute("nonce");d=f(m.map(e=>{if(e=h(e,c),e in p)return;p[e]=!0;const n=e.endsWith(".css"),_=n?'[rel="stylesheet"]':"";if(c)for(let l=i.length-1;l>=0;l--){const s=i[l];if(s.href===e&&(!n||s.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${_}`))return;const o=document.createElement("link");if(o.rel=n?"stylesheet":P,n||(o.as="script"),o.crossOrigin="",o.href=e,E&&o.setAttribute("nonce",E),document.head.appendChild(o),n)return new Promise((l,s)=>{o.addEventListener("load",l),o.addEventListener("error",()=>s(new Error(`Unable to preload CSS for ${e}`)))})}))}function v(i){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i}return d.then(i=>{for(const r of i||[])r.status==="rejected"&&v(r.reason);return u().catch(v)})};t(()=>import("./assets/Button-Ba9iLwpw.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);t(()=>import("./assets/Accordion-4FnaG9Y5.js"),__vite__mapDeps([7,1,2,8,3,4,5,9]),import.meta.url);t(()=>import("./assets/AccordionItem-MWAfy7EJ.js"),__vite__mapDeps([10,1,11,3,4,5,9]),import.meta.url);t(()=>import("./assets/Input-DTmtSwFl.js"),__vite__mapDeps([12,1,2,3,4,5,6]),import.meta.url);t(()=>import("./assets/Textarea-DDTph5tQ.js"),__vite__mapDeps([13,1,5,4,6]),import.meta.url);t(()=>import("./assets/FormSelect-savXS0S1.js"),__vite__mapDeps([14,1,11,2,8,3,4,5,9,6]),import.meta.url);t(()=>import("./assets/FormSelectOption-BEHQwEkg.js"),__vite__mapDeps([15,1,3,6]),import.meta.url);t(()=>import("./assets/Checkbox-Bt7fzawE.js"),__vite__mapDeps([16,1,11,3,4,5,9,6]),import.meta.url);t(()=>import("./assets/Radio-B0hST10q.js"),__vite__mapDeps([17,1,3,4,5,6]),import.meta.url);t(()=>import("./assets/Label-Dk_VP__P.js"),__vite__mapDeps([18,1,2,3,4,5,6]),import.meta.url);t(()=>import("./assets/Form-CxYboW1j.js"),__vite__mapDeps([19,1,3,4,5,9,6]),import.meta.url);t(()=>import("./assets/Avatar-Cr-67Tpk.js"),__vite__mapDeps([20,1,2,3,4,5,6]),import.meta.url);t(()=>import("./assets/Card-CUlg_7ny.js"),__vite__mapDeps([21,1,11,3,4,9,6]),import.meta.url);
|