@ims360/svelte-ivory 0.3.4 → 0.3.6
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/dist/components/inputs/select/Select.svelte +1 -0
- package/dist/components/inputs/select/Select.svelte.d.ts.map +1 -1
- package/dist/components/table/Column.svelte +1 -1
- package/dist/components/table/columnController.svelte.js +1 -1
- package/package.json +1 -1
- package/src/lib/components/inputs/select/Select.svelte +1 -0
- package/src/lib/components/table/Column.svelte +1 -1
- package/src/lib/components/table/columnController.svelte.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/inputs/select/Select.svelte.ts"],"names":[],"mappings":"AAKI,OAAO,EAAiB,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AACrD,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEzD,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAClD,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;CACpC;AAED,eAAO,MAAO,gBAAgB,uBAAE,gBAAgB,2CAAkC,CAAC;AAEnF,UAAU,KAAM,SAAQ,UAAU,CAAC,MAAM,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACrB;
|
|
1
|
+
{"version":3,"file":"Select.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/inputs/select/Select.svelte.ts"],"names":[],"mappings":"AAKI,OAAO,EAAiB,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AACrD,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEzD,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAClD,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;CACpC;AAED,eAAO,MAAO,gBAAgB,uBAAE,gBAAgB,2CAAkC,CAAC;AAEnF,UAAU,KAAM,SAAQ,UAAU,CAAC,MAAM,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACrB;AAgDL,QAAA,MAAM,MAAM,2CAAwC,CAAC;AACrD,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AACxC,eAAe,MAAM,CAAC"}
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
|
|
55
55
|
// this must be separate to the above effect, since otherwise the width would be reset on every scroll
|
|
56
56
|
$effect(() => {
|
|
57
|
-
if (!resizable && typeof width !== 'undefined') column.width
|
|
57
|
+
if (!resizable && typeof width !== 'undefined') column.resize(width);
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
const widthStyle = $derived(
|
|
@@ -27,7 +27,7 @@ export class ColumnController {
|
|
|
27
27
|
this.minWidth = conf.minWidth;
|
|
28
28
|
}
|
|
29
29
|
else {
|
|
30
|
-
this.minWidth =
|
|
30
|
+
this.minWidth = (conf.width ?? DEFAULT_WIDTH) * MINIMAL_WIDTH_MULTIPLIER;
|
|
31
31
|
}
|
|
32
32
|
const newResizable = conf.resizable ?? false;
|
|
33
33
|
if (newResizable !== this.resizable) {
|
package/package.json
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
|
|
55
55
|
// this must be separate to the above effect, since otherwise the width would be reset on every scroll
|
|
56
56
|
$effect(() => {
|
|
57
|
-
if (!resizable && typeof width !== 'undefined') column.width
|
|
57
|
+
if (!resizable && typeof width !== 'undefined') column.resize(width);
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
const widthStyle = $derived(
|
|
@@ -40,7 +40,7 @@ export class ColumnController {
|
|
|
40
40
|
if (typeof conf.minWidth !== 'undefined') {
|
|
41
41
|
this.minWidth = conf.minWidth;
|
|
42
42
|
} else {
|
|
43
|
-
this.minWidth =
|
|
43
|
+
this.minWidth = (conf.width ?? DEFAULT_WIDTH) * MINIMAL_WIDTH_MULTIPLIER;
|
|
44
44
|
}
|
|
45
45
|
const newResizable = conf.resizable ?? false;
|
|
46
46
|
if (newResizable !== this.resizable) {
|