@ims360/svelte-ivory 0.0.55 → 0.0.56
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.
package/README.md
CHANGED
|
@@ -20,3 +20,8 @@ _You may need to adjust the path if your `app.css` is not located in `/src`_
|
|
|
20
20
|
- [x] Basic layout components (modal, tabs, popover, etc.)
|
|
21
21
|
- [x] Table
|
|
22
22
|
- [ ] Input components
|
|
23
|
+
|
|
24
|
+
## TODOs
|
|
25
|
+
|
|
26
|
+
- [ ] Bindings to exported functions
|
|
27
|
+
- [ ] Replace `<Portal>` with `<dialog>` element in Modal, Popover and Drawer
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
}: Props = $props();
|
|
54
54
|
|
|
55
55
|
function close() {
|
|
56
|
-
if (preventClosing) return;
|
|
57
56
|
b_open = false;
|
|
58
57
|
}
|
|
59
58
|
|
|
@@ -70,7 +69,10 @@
|
|
|
70
69
|
{#if b_open}
|
|
71
70
|
<Portal>
|
|
72
71
|
<HiddenBackground
|
|
73
|
-
onclose={
|
|
72
|
+
onclose={() => {
|
|
73
|
+
if (preventClosing) return;
|
|
74
|
+
close();
|
|
75
|
+
}}
|
|
74
76
|
class="flex h-full w-full flex-col items-center justify-start p-8 lg:p-12 xl:p-16"
|
|
75
77
|
>
|
|
76
78
|
{#if modal}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/layout/modal/Modal.svelte.ts"],"names":[],"mappings":"AAGI,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAGlD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKrE,sFAAsF;AACtF,MAAM,MAAM,UAAU,GAAG,eAAe,GAAG;IACvC,iEAAiE;IACjE,KAAK,CAA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M,GAAG,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAEpE,UAAU,KAAM,SAAQ,UAAU;IAC9B,sGAAsG;IACtG,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB;AAwFL,oFAAoF;AACpF,QAAA,MAAM,KAAK,iDAAwC,CAAC;AACpD,KAAK,KAAK,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC;AACtC,eAAe,KAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
}: Props = $props();
|
|
54
54
|
|
|
55
55
|
function close() {
|
|
56
|
-
if (preventClosing) return;
|
|
57
56
|
b_open = false;
|
|
58
57
|
}
|
|
59
58
|
|
|
@@ -70,7 +69,10 @@
|
|
|
70
69
|
{#if b_open}
|
|
71
70
|
<Portal>
|
|
72
71
|
<HiddenBackground
|
|
73
|
-
onclose={
|
|
72
|
+
onclose={() => {
|
|
73
|
+
if (preventClosing) return;
|
|
74
|
+
close();
|
|
75
|
+
}}
|
|
74
76
|
class="flex h-full w-full flex-col items-center justify-start p-8 lg:p-12 xl:p-16"
|
|
75
77
|
>
|
|
76
78
|
{#if modal}
|