@abgov/web-components 1.17.0-alpha.129 → 1.17.0-alpha.130
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/index.js +23 -40
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/html.html-data.json +0 -1
package/index.js
CHANGED
|
@@ -9982,33 +9982,6 @@ function create_if_block_1$l(ctx) {
|
|
|
9982
9982
|
}
|
|
9983
9983
|
};
|
|
9984
9984
|
}
|
|
9985
|
-
function fallback_block$3(ctx) {
|
|
9986
|
-
let t;
|
|
9987
|
-
return {
|
|
9988
|
-
c() {
|
|
9989
|
-
t = text(
|
|
9990
|
-
/*text*/
|
|
9991
|
-
ctx[2]
|
|
9992
|
-
);
|
|
9993
|
-
},
|
|
9994
|
-
m(target, anchor) {
|
|
9995
|
-
insert(target, t, anchor);
|
|
9996
|
-
},
|
|
9997
|
-
p(ctx2, dirty) {
|
|
9998
|
-
if (dirty[0] & /*text*/
|
|
9999
|
-
4) set_data(
|
|
10000
|
-
t,
|
|
10001
|
-
/*text*/
|
|
10002
|
-
ctx2[2]
|
|
10003
|
-
);
|
|
10004
|
-
},
|
|
10005
|
-
d(detaching) {
|
|
10006
|
-
if (detaching) {
|
|
10007
|
-
detach(t);
|
|
10008
|
-
}
|
|
10009
|
-
}
|
|
10010
|
-
};
|
|
10011
|
-
}
|
|
10012
9985
|
function create_if_block$z(ctx) {
|
|
10013
9986
|
let div;
|
|
10014
9987
|
let t0;
|
|
@@ -10122,6 +10095,8 @@ function create_fragment$Y(ctx) {
|
|
|
10122
10095
|
let t1;
|
|
10123
10096
|
let div1;
|
|
10124
10097
|
let t2;
|
|
10098
|
+
let t3;
|
|
10099
|
+
let t4;
|
|
10125
10100
|
let div2_style_value;
|
|
10126
10101
|
let current;
|
|
10127
10102
|
let mounted;
|
|
@@ -10149,7 +10124,6 @@ function create_fragment$Y(ctx) {
|
|
|
10149
10124
|
ctx[25],
|
|
10150
10125
|
null
|
|
10151
10126
|
);
|
|
10152
|
-
const default_slot_or_fallback = default_slot || fallback_block$3(ctx);
|
|
10153
10127
|
let if_block1 = (
|
|
10154
10128
|
/*$$slots*/
|
|
10155
10129
|
(ctx[20].description || /*description*/
|
|
@@ -10165,8 +10139,13 @@ function create_fragment$Y(ctx) {
|
|
|
10165
10139
|
if (if_block0) if_block0.c();
|
|
10166
10140
|
t1 = space();
|
|
10167
10141
|
div1 = element("div");
|
|
10168
|
-
if (
|
|
10142
|
+
if (default_slot) default_slot.c();
|
|
10169
10143
|
t2 = space();
|
|
10144
|
+
t3 = text(
|
|
10145
|
+
/*text*/
|
|
10146
|
+
ctx[2]
|
|
10147
|
+
);
|
|
10148
|
+
t4 = space();
|
|
10170
10149
|
if (if_block1) if_block1.c();
|
|
10171
10150
|
attr(
|
|
10172
10151
|
input,
|
|
@@ -10259,10 +10238,12 @@ function create_fragment$Y(ctx) {
|
|
|
10259
10238
|
if (if_block0) if_block0.m(div0, null);
|
|
10260
10239
|
append(label, t1);
|
|
10261
10240
|
append(label, div1);
|
|
10262
|
-
if (
|
|
10263
|
-
|
|
10241
|
+
if (default_slot) {
|
|
10242
|
+
default_slot.m(div1, null);
|
|
10264
10243
|
}
|
|
10265
|
-
append(
|
|
10244
|
+
append(div1, t2);
|
|
10245
|
+
append(div1, t3);
|
|
10246
|
+
append(div2, t4);
|
|
10266
10247
|
if (if_block1) if_block1.m(div2, null);
|
|
10267
10248
|
ctx[28](div2);
|
|
10268
10249
|
current = true;
|
|
@@ -10377,12 +10358,13 @@ function create_fragment$Y(ctx) {
|
|
|
10377
10358
|
null
|
|
10378
10359
|
);
|
|
10379
10360
|
}
|
|
10380
|
-
} else {
|
|
10381
|
-
if (default_slot_or_fallback && default_slot_or_fallback.p && (!current || dirty[0] & /*text*/
|
|
10382
|
-
4)) {
|
|
10383
|
-
default_slot_or_fallback.p(ctx2, !current ? [-1, -1] : dirty);
|
|
10384
|
-
}
|
|
10385
10361
|
}
|
|
10362
|
+
if (!current || dirty[0] & /*text*/
|
|
10363
|
+
4) set_data(
|
|
10364
|
+
t3,
|
|
10365
|
+
/*text*/
|
|
10366
|
+
ctx2[2]
|
|
10367
|
+
);
|
|
10386
10368
|
if (!current || dirty[0] & /*testid*/
|
|
10387
10369
|
8) {
|
|
10388
10370
|
attr(
|
|
@@ -10463,12 +10445,12 @@ function create_fragment$Y(ctx) {
|
|
|
10463
10445
|
},
|
|
10464
10446
|
i(local) {
|
|
10465
10447
|
if (current) return;
|
|
10466
|
-
transition_in(
|
|
10448
|
+
transition_in(default_slot, local);
|
|
10467
10449
|
transition_in(if_block1);
|
|
10468
10450
|
current = true;
|
|
10469
10451
|
},
|
|
10470
10452
|
o(local) {
|
|
10471
|
-
transition_out(
|
|
10453
|
+
transition_out(default_slot, local);
|
|
10472
10454
|
transition_out(if_block1);
|
|
10473
10455
|
current = false;
|
|
10474
10456
|
},
|
|
@@ -10480,7 +10462,7 @@ function create_fragment$Y(ctx) {
|
|
|
10480
10462
|
if (if_block0) {
|
|
10481
10463
|
if_block0.d();
|
|
10482
10464
|
}
|
|
10483
|
-
if (
|
|
10465
|
+
if (default_slot) default_slot.d(detaching);
|
|
10484
10466
|
if (if_block1) if_block1.d();
|
|
10485
10467
|
ctx[28](null);
|
|
10486
10468
|
mounted = false;
|
|
@@ -11809,6 +11791,7 @@ function instance$W($$self, $$props, $$invalidate) {
|
|
|
11809
11791
|
onMount(async () => {
|
|
11810
11792
|
validateVariant(variant);
|
|
11811
11793
|
validateSize(size);
|
|
11794
|
+
await tick();
|
|
11812
11795
|
$$invalidate(3, spinnerSize = size === "small" ? "large" : "xlarge");
|
|
11813
11796
|
$$invalidate(4, fullscreen = variant === "fullscreen");
|
|
11814
11797
|
$$invalidate(5, inline = variant === "inline");
|