@abgov/web-components 1.33.0-alpha.1 → 1.33.0-alpha.2
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 +50 -32
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -19067,7 +19067,7 @@ class V1 extends ve {
|
|
|
19067
19067
|
}
|
|
19068
19068
|
customElements.define("goa-input", me(V1, { type: {}, name: {}, value: {}, autocapitalize: {}, placeholder: {}, leadingicon: {}, trailingicon: {}, variant: {}, disabled: {}, handletrailingiconclick: {}, focused: {}, readonly: {}, error: {}, testid: {}, width: {}, arialabel: {}, arialabelledby: {}, min: {}, max: {}, step: {}, prefix: {}, suffix: {}, debounce: {}, maxlength: {}, id: {}, mt: {}, mr: {}, mb: {}, ml: {}, trailingiconarialabel: {} }, ["leadingContent", "trailingContent"], [], !0));
|
|
19069
19069
|
function I1(t) {
|
|
19070
|
-
ke(t, "svelte-
|
|
19070
|
+
ke(t, "svelte-qnql3r", "::slotted(a){color:var(--goa-color-interactive-default)}.link.svelte-qnql3r{display:inline-flex;align-items:center;color:var(--goa-color-interactive-default);padding:0;border:none;background:none;cursor:pointer;font:var(--goa-typography-body-m);text-decoration:underline;gap:8px}.link.svelte-qnql3r:hover{color:var(--goa-color-interactive-hover)}");
|
|
19071
19071
|
}
|
|
19072
19072
|
function zo(t) {
|
|
19073
19073
|
let e;
|
|
@@ -19132,12 +19132,12 @@ function B1(t) {
|
|
|
19132
19132
|
);
|
|
19133
19133
|
const a = (
|
|
19134
19134
|
/*#slots*/
|
|
19135
|
-
t[
|
|
19135
|
+
t[8].default
|
|
19136
19136
|
), s = oe(
|
|
19137
19137
|
a,
|
|
19138
19138
|
t,
|
|
19139
19139
|
/*$$scope*/
|
|
19140
|
-
t[
|
|
19140
|
+
t[7],
|
|
19141
19141
|
null
|
|
19142
19142
|
);
|
|
19143
19143
|
let d = (
|
|
@@ -19146,16 +19146,21 @@ function B1(t) {
|
|
|
19146
19146
|
);
|
|
19147
19147
|
return {
|
|
19148
19148
|
c() {
|
|
19149
|
-
e = C("div"), r && r.c(), i = V(), s && s.c(), n = V(), d && d.c(), f(e, "class", Me("link") + " svelte-
|
|
19149
|
+
e = C("div"), r && r.c(), i = V(), s && s.c(), n = V(), d && d.c(), f(e, "class", Me("link") + " svelte-qnql3r"), f(e, "style", l = Ue(_e(
|
|
19150
19150
|
/*mt*/
|
|
19151
|
-
t[2],
|
|
19152
|
-
/*mr*/
|
|
19153
19151
|
t[3],
|
|
19154
|
-
/*
|
|
19152
|
+
/*mr*/
|
|
19155
19153
|
t[4],
|
|
19154
|
+
/*mb*/
|
|
19155
|
+
t[5],
|
|
19156
19156
|
/*ml*/
|
|
19157
|
-
t[
|
|
19158
|
-
)))
|
|
19157
|
+
t[6]
|
|
19158
|
+
))), f(
|
|
19159
|
+
e,
|
|
19160
|
+
"data-testid",
|
|
19161
|
+
/*testid*/
|
|
19162
|
+
t[2]
|
|
19163
|
+
);
|
|
19159
19164
|
},
|
|
19160
19165
|
m(u, c) {
|
|
19161
19166
|
D(u, e, c), r && r.m(e, null), w(e, i), s && s.m(e, null), w(e, n), d && d.m(e, null), o = !0;
|
|
@@ -19163,35 +19168,41 @@ function B1(t) {
|
|
|
19163
19168
|
p(u, [c]) {
|
|
19164
19169
|
/*leadingicon*/
|
|
19165
19170
|
u[0] ? r ? r.p(u, c) : (r = zo(u), r.c(), r.m(e, i)) : r && (r.d(1), r = null), s && s.p && (!o || c & /*$$scope*/
|
|
19166
|
-
|
|
19171
|
+
128) && ae(
|
|
19167
19172
|
s,
|
|
19168
19173
|
a,
|
|
19169
19174
|
u,
|
|
19170
19175
|
/*$$scope*/
|
|
19171
|
-
u[
|
|
19176
|
+
u[7],
|
|
19172
19177
|
o ? re(
|
|
19173
19178
|
a,
|
|
19174
19179
|
/*$$scope*/
|
|
19175
|
-
u[
|
|
19180
|
+
u[7],
|
|
19176
19181
|
c,
|
|
19177
19182
|
null
|
|
19178
19183
|
) : se(
|
|
19179
19184
|
/*$$scope*/
|
|
19180
|
-
u[
|
|
19185
|
+
u[7]
|
|
19181
19186
|
),
|
|
19182
19187
|
null
|
|
19183
19188
|
), /*trailingicon*/
|
|
19184
19189
|
u[1] ? d ? d.p(u, c) : (d = jo(u), d.c(), d.m(e, null)) : d && (d.d(1), d = null), (!o || c & /*mt, mr, mb, ml*/
|
|
19185
|
-
|
|
19190
|
+
120 && l !== (l = Ue(_e(
|
|
19186
19191
|
/*mt*/
|
|
19187
|
-
u[2],
|
|
19188
|
-
/*mr*/
|
|
19189
19192
|
u[3],
|
|
19190
|
-
/*
|
|
19193
|
+
/*mr*/
|
|
19191
19194
|
u[4],
|
|
19195
|
+
/*mb*/
|
|
19196
|
+
u[5],
|
|
19192
19197
|
/*ml*/
|
|
19193
|
-
u[
|
|
19194
|
-
)))) && f(e, "style", l)
|
|
19198
|
+
u[6]
|
|
19199
|
+
)))) && f(e, "style", l), (!o || c & /*testid*/
|
|
19200
|
+
4) && f(
|
|
19201
|
+
e,
|
|
19202
|
+
"data-testid",
|
|
19203
|
+
/*testid*/
|
|
19204
|
+
u[2]
|
|
19205
|
+
);
|
|
19195
19206
|
},
|
|
19196
19207
|
i(u) {
|
|
19197
19208
|
o || (N(s, u), o = !0);
|
|
@@ -19205,10 +19216,10 @@ function B1(t) {
|
|
|
19205
19216
|
};
|
|
19206
19217
|
}
|
|
19207
19218
|
function N1(t, e, i) {
|
|
19208
|
-
let { $$slots: n = {}, $$scope: l } = e, { leadingicon: o } = e, { trailingicon: r } = e, {
|
|
19209
|
-
return t.$$set = (
|
|
19210
|
-
"leadingicon" in
|
|
19211
|
-
}, [o, r, a, s, d, u, l, n];
|
|
19219
|
+
let { $$slots: n = {}, $$scope: l } = e, { leadingicon: o = null } = e, { trailingicon: r = null } = e, { testid: a = "" } = e, { mt: s = null } = e, { mr: d = null } = e, { mb: u = null } = e, { ml: c = null } = e;
|
|
19220
|
+
return t.$$set = (g) => {
|
|
19221
|
+
"leadingicon" in g && i(0, o = g.leadingicon), "trailingicon" in g && i(1, r = g.trailingicon), "testid" in g && i(2, a = g.testid), "mt" in g && i(3, s = g.mt), "mr" in g && i(4, d = g.mr), "mb" in g && i(5, u = g.mb), "ml" in g && i(6, c = g.ml), "$$scope" in g && i(7, l = g.$$scope);
|
|
19222
|
+
}, [o, r, a, s, d, u, c, l, n];
|
|
19212
19223
|
}
|
|
19213
19224
|
class W1 extends ve {
|
|
19214
19225
|
constructor(e) {
|
|
@@ -19221,10 +19232,11 @@ class W1 extends ve {
|
|
|
19221
19232
|
{
|
|
19222
19233
|
leadingicon: 0,
|
|
19223
19234
|
trailingicon: 1,
|
|
19224
|
-
|
|
19225
|
-
|
|
19226
|
-
|
|
19227
|
-
|
|
19235
|
+
testid: 2,
|
|
19236
|
+
mt: 3,
|
|
19237
|
+
mr: 4,
|
|
19238
|
+
mb: 5,
|
|
19239
|
+
ml: 6
|
|
19228
19240
|
},
|
|
19229
19241
|
I1
|
|
19230
19242
|
);
|
|
@@ -19241,32 +19253,38 @@ class W1 extends ve {
|
|
|
19241
19253
|
set trailingicon(e) {
|
|
19242
19254
|
this.$$set({ trailingicon: e }), k();
|
|
19243
19255
|
}
|
|
19244
|
-
get
|
|
19256
|
+
get testid() {
|
|
19245
19257
|
return this.$$.ctx[2];
|
|
19246
19258
|
}
|
|
19259
|
+
set testid(e) {
|
|
19260
|
+
this.$$set({ testid: e }), k();
|
|
19261
|
+
}
|
|
19262
|
+
get mt() {
|
|
19263
|
+
return this.$$.ctx[3];
|
|
19264
|
+
}
|
|
19247
19265
|
set mt(e) {
|
|
19248
19266
|
this.$$set({ mt: e }), k();
|
|
19249
19267
|
}
|
|
19250
19268
|
get mr() {
|
|
19251
|
-
return this.$$.ctx[
|
|
19269
|
+
return this.$$.ctx[4];
|
|
19252
19270
|
}
|
|
19253
19271
|
set mr(e) {
|
|
19254
19272
|
this.$$set({ mr: e }), k();
|
|
19255
19273
|
}
|
|
19256
19274
|
get mb() {
|
|
19257
|
-
return this.$$.ctx[
|
|
19275
|
+
return this.$$.ctx[5];
|
|
19258
19276
|
}
|
|
19259
19277
|
set mb(e) {
|
|
19260
19278
|
this.$$set({ mb: e }), k();
|
|
19261
19279
|
}
|
|
19262
19280
|
get ml() {
|
|
19263
|
-
return this.$$.ctx[
|
|
19281
|
+
return this.$$.ctx[6];
|
|
19264
19282
|
}
|
|
19265
19283
|
set ml(e) {
|
|
19266
19284
|
this.$$set({ ml: e }), k();
|
|
19267
19285
|
}
|
|
19268
19286
|
}
|
|
19269
|
-
customElements.define("goa-link", me(W1, { leadingicon: {}, trailingicon: {}, mt: {}, mr: {}, mb: {}, ml: {} }, ["default"], [], !0));
|
|
19287
|
+
customElements.define("goa-link", me(W1, { leadingicon: {}, trailingicon: {}, testid: {}, mt: {}, mr: {}, mb: {}, ml: {} }, ["default"], [], !0));
|
|
19270
19288
|
function R1(t) {
|
|
19271
19289
|
ke(t, "svelte-p8neaq", ".link-button.svelte-p8neaq{display:inline-flex;align-items:center;color:var(--goa-color-interactive-default);padding:0;border:none;background:none;cursor:pointer;font:var(--goa-typography-body-m);text-decoration:underline}::slotted(a){color:var(--goa-color-interactive-default)}");
|
|
19272
19290
|
}
|