mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
Updates
This commit is contained in:
parent
f3c9acc406
commit
a405ac630d
208 changed files with 483 additions and 3184 deletions
1
assets/ModalPreventOutsideClick.0e7b8a84.js
Normal file
1
assets/ModalPreventOutsideClick.0e7b8a84.js
Normal file
|
@ -0,0 +1 @@
|
|||
let t=document.createElement("style");t.innerHTML="",document.head.appendChild(t);import{S as e,i as a,s as n,c as o,a as s,m as r,t as c,b as i,d,g as u,h as l,k as f,l as m,n as $,o as p,q as C,r as h,G as b}from"./index.cb5ffa4a.js";import"./Button.f57ba194.js";import"./Close20.f2d6eda2.js";import{M as g}from"./Modal.4f257ca7.js";function x(t){let e,a;return{c(){e=u("p"),a=l("Create a new Cloudant database in the US South region.")},l(t){e=f(t,"P",{});var n=m(e);a=$(n,"Create a new Cloudant database in the US South region."),n.forEach(p)},m(t,n){C(t,e,n),h(e,a)},d(t){t&&p(e)}}}function y(t){let e,a;return e=new g({props:{preventCloseOnClickOutside:!0,open:!0,modalHeading:"Create database",primaryButtonText:"Confirm",secondaryButtonText:"Cancel",$$slots:{default:[x]},$$scope:{ctx:t}}}),e.$on("click:button--secondary",t[0]),e.$on("open",t[1]),e.$on("close",t[2]),e.$on("submit",t[3]),{c(){o(e.$$.fragment)},l(t){s(e.$$.fragment,t)},m(t,n){r(e,t,n),a=!0},p(t,[a]){const n={};16&a&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){a||(c(e.$$.fragment,t),a=!0)},o(t){i(e.$$.fragment,t),a=!1},d(t){d(e,t)}}}function S(t){return[function(e){b(t,e)},function(e){b(t,e)},function(e){b(t,e)},function(e){b(t,e)}]}export default class extends e{constructor(t){super(),a(this,t,S,y,n,{})}}
|
Loading…
Add table
Add a link
Reference in a new issue