@abgov/react-components 4.0.0-alpha.140 → 4.0.0-alpha.141
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/package.json +1 -1
- package/react-components.esm.js +10 -10
- package/react-components.umd.js +10 -10
package/package.json
CHANGED
package/react-components.esm.js
CHANGED
|
@@ -19072,7 +19072,7 @@ function create_else_block$1(ctx) {
|
|
|
19072
19072
|
}
|
|
19073
19073
|
|
|
19074
19074
|
};
|
|
19075
|
-
} // (
|
|
19075
|
+
} // (153:38)
|
|
19076
19076
|
|
|
19077
19077
|
|
|
19078
19078
|
function create_if_block_3$2(ctx) {
|
|
@@ -19094,7 +19094,7 @@ function create_if_block_3$2(ctx) {
|
|
|
19094
19094
|
}
|
|
19095
19095
|
|
|
19096
19096
|
};
|
|
19097
|
-
} // (
|
|
19097
|
+
} // (151:36)
|
|
19098
19098
|
|
|
19099
19099
|
|
|
19100
19100
|
function create_if_block_2$2(ctx) {
|
|
@@ -19117,7 +19117,7 @@ function create_if_block_2$2(ctx) {
|
|
|
19117
19117
|
}
|
|
19118
19118
|
|
|
19119
19119
|
};
|
|
19120
|
-
} // (
|
|
19120
|
+
} // (149:4) {#if _isCurrent}
|
|
19121
19121
|
|
|
19122
19122
|
|
|
19123
19123
|
function create_if_block_1$2(ctx) {
|
|
@@ -19139,7 +19139,7 @@ function create_if_block_1$2(ctx) {
|
|
|
19139
19139
|
}
|
|
19140
19140
|
|
|
19141
19141
|
};
|
|
19142
|
-
} // (
|
|
19142
|
+
} // (161:4) {#if status === "incomplete"}
|
|
19143
19143
|
|
|
19144
19144
|
|
|
19145
19145
|
function create_if_block$2(ctx) {
|
|
@@ -19166,7 +19166,7 @@ function create_if_block$2(ctx) {
|
|
|
19166
19166
|
function create_fragment$3(ctx) {
|
|
19167
19167
|
let label;
|
|
19168
19168
|
let input;
|
|
19169
|
-
let
|
|
19169
|
+
let input_aria_disabled_value;
|
|
19170
19170
|
let t0;
|
|
19171
19171
|
let div0;
|
|
19172
19172
|
let t1;
|
|
@@ -19219,9 +19219,9 @@ function create_fragment$3(ctx) {
|
|
|
19219
19219
|
input.checked =
|
|
19220
19220
|
/*_isCurrent*/
|
|
19221
19221
|
ctx[7];
|
|
19222
|
-
input
|
|
19222
|
+
attr(input, "aria-disabled", input_aria_disabled_value = !
|
|
19223
19223
|
/*_isEnabled*/
|
|
19224
|
-
ctx[6];
|
|
19224
|
+
ctx[6]);
|
|
19225
19225
|
attr(div0, "data-testid", "status");
|
|
19226
19226
|
attr(div0, "class", "status");
|
|
19227
19227
|
attr(div1, "class", "text");
|
|
@@ -19292,10 +19292,10 @@ function create_fragment$3(ctx) {
|
|
|
19292
19292
|
|
|
19293
19293
|
if (dirty &
|
|
19294
19294
|
/*_isEnabled*/
|
|
19295
|
-
64 &&
|
|
19295
|
+
64 && input_aria_disabled_value !== (input_aria_disabled_value = !
|
|
19296
19296
|
/*_isEnabled*/
|
|
19297
19297
|
ctx[6])) {
|
|
19298
|
-
input
|
|
19298
|
+
attr(input, "aria-disabled", input_aria_disabled_value);
|
|
19299
19299
|
}
|
|
19300
19300
|
|
|
19301
19301
|
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block0) {
|
|
@@ -19490,7 +19490,7 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
19490
19490
|
class FormStep extends SvelteElement {
|
|
19491
19491
|
constructor(options) {
|
|
19492
19492
|
super();
|
|
19493
|
-
this.shadowRoot.innerHTML = `<style>input[type=checkbox]{position:absolute;left:-9999px}[role="listitem"]{display:flex;box-sizing:border-box;height:100%;text-align:center;flex-direction:column;align-items:center;padding:var(--goa-space-l)}[role="listitem"]:not([aria-disabled="true"]):focus-within,[role="listitem"]:not([aria-disabled="true"]):focus,[role="listitem"]:not([aria-disabled="true"]):active{outline:var(--goa-color-interactive-focus) solid var(--goa-border-width-l)}[role="listitem"]:not([aria-disabled="true"]):hover{background-color:rgba(0,0,0,0.05);cursor:pointer}.status{flex:0 0 auto;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:999px;border:4px solid var(--goa-color-interactive-default);background:var(--goa-color-greyscale-white);height:2.5rem;width:2.5rem}[aria-current="step"] .text{font-weight:var(--goa-font-weight-bold)
|
|
19493
|
+
this.shadowRoot.innerHTML = `<style>input[type=checkbox]{position:absolute;left:-9999px}[role="listitem"]{display:flex;box-sizing:border-box;height:100%;text-align:center;flex-direction:column;align-items:center;padding:var(--goa-space-l)}[role="listitem"]:not([aria-disabled="true"]):not([aria-current="step"]):focus-within,[role="listitem"]:not([aria-disabled="true"]):not([aria-current="step"]):focus,[role="listitem"]:not([aria-disabled="true"]):not([aria-current="step"]):active{outline:var(--goa-color-interactive-focus) solid var(--goa-border-width-l)}[role="listitem"]:not([aria-disabled="true"]):not([aria-current="step"]):hover{background-color:rgba(0,0,0,0.05);cursor:pointer}.status{flex:0 0 auto;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:999px;border:4px solid var(--goa-color-interactive-default);background:var(--goa-color-greyscale-white);height:2.5rem;width:2.5rem}[aria-current="step"] .text{font-weight:var(--goa-font-weight-bold)
|
|
19494
19494
|
}[data-status=complete] .status{background:var(--goa-color-interactive-default)}[aria-current="step"][data-status=complete] .status{background:var(--goa-color-greyscale-white)}.step-number{margin-bottom:var(--font-valign-fix);font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-secondary)}[role="listitem"]:not(
|
|
19495
19495
|
[data-status=complete],
|
|
19496
19496
|
[data-status=incomplete],
|
package/react-components.umd.js
CHANGED
|
@@ -19123,7 +19123,7 @@
|
|
|
19123
19123
|
}
|
|
19124
19124
|
|
|
19125
19125
|
};
|
|
19126
|
-
} // (
|
|
19126
|
+
} // (153:38)
|
|
19127
19127
|
|
|
19128
19128
|
|
|
19129
19129
|
function create_if_block_3$2(ctx) {
|
|
@@ -19145,7 +19145,7 @@
|
|
|
19145
19145
|
}
|
|
19146
19146
|
|
|
19147
19147
|
};
|
|
19148
|
-
} // (
|
|
19148
|
+
} // (151:36)
|
|
19149
19149
|
|
|
19150
19150
|
|
|
19151
19151
|
function create_if_block_2$2(ctx) {
|
|
@@ -19168,7 +19168,7 @@
|
|
|
19168
19168
|
}
|
|
19169
19169
|
|
|
19170
19170
|
};
|
|
19171
|
-
} // (
|
|
19171
|
+
} // (149:4) {#if _isCurrent}
|
|
19172
19172
|
|
|
19173
19173
|
|
|
19174
19174
|
function create_if_block_1$2(ctx) {
|
|
@@ -19190,7 +19190,7 @@
|
|
|
19190
19190
|
}
|
|
19191
19191
|
|
|
19192
19192
|
};
|
|
19193
|
-
} // (
|
|
19193
|
+
} // (161:4) {#if status === "incomplete"}
|
|
19194
19194
|
|
|
19195
19195
|
|
|
19196
19196
|
function create_if_block$2(ctx) {
|
|
@@ -19217,7 +19217,7 @@
|
|
|
19217
19217
|
function create_fragment$3(ctx) {
|
|
19218
19218
|
let label;
|
|
19219
19219
|
let input;
|
|
19220
|
-
let
|
|
19220
|
+
let input_aria_disabled_value;
|
|
19221
19221
|
let t0;
|
|
19222
19222
|
let div0;
|
|
19223
19223
|
let t1;
|
|
@@ -19270,9 +19270,9 @@
|
|
|
19270
19270
|
input.checked =
|
|
19271
19271
|
/*_isCurrent*/
|
|
19272
19272
|
ctx[7];
|
|
19273
|
-
input
|
|
19273
|
+
attr(input, "aria-disabled", input_aria_disabled_value = !
|
|
19274
19274
|
/*_isEnabled*/
|
|
19275
|
-
ctx[6];
|
|
19275
|
+
ctx[6]);
|
|
19276
19276
|
attr(div0, "data-testid", "status");
|
|
19277
19277
|
attr(div0, "class", "status");
|
|
19278
19278
|
attr(div1, "class", "text");
|
|
@@ -19343,10 +19343,10 @@
|
|
|
19343
19343
|
|
|
19344
19344
|
if (dirty &
|
|
19345
19345
|
/*_isEnabled*/
|
|
19346
|
-
64 &&
|
|
19346
|
+
64 && input_aria_disabled_value !== (input_aria_disabled_value = !
|
|
19347
19347
|
/*_isEnabled*/
|
|
19348
19348
|
ctx[6])) {
|
|
19349
|
-
input
|
|
19349
|
+
attr(input, "aria-disabled", input_aria_disabled_value);
|
|
19350
19350
|
}
|
|
19351
19351
|
|
|
19352
19352
|
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block0) {
|
|
@@ -19541,7 +19541,7 @@
|
|
|
19541
19541
|
class FormStep extends SvelteElement {
|
|
19542
19542
|
constructor(options) {
|
|
19543
19543
|
super();
|
|
19544
|
-
this.shadowRoot.innerHTML = `<style>input[type=checkbox]{position:absolute;left:-9999px}[role="listitem"]{display:flex;box-sizing:border-box;height:100%;text-align:center;flex-direction:column;align-items:center;padding:var(--goa-space-l)}[role="listitem"]:not([aria-disabled="true"]):focus-within,[role="listitem"]:not([aria-disabled="true"]):focus,[role="listitem"]:not([aria-disabled="true"]):active{outline:var(--goa-color-interactive-focus) solid var(--goa-border-width-l)}[role="listitem"]:not([aria-disabled="true"]):hover{background-color:rgba(0,0,0,0.05);cursor:pointer}.status{flex:0 0 auto;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:999px;border:4px solid var(--goa-color-interactive-default);background:var(--goa-color-greyscale-white);height:2.5rem;width:2.5rem}[aria-current="step"] .text{font-weight:var(--goa-font-weight-bold)
|
|
19544
|
+
this.shadowRoot.innerHTML = `<style>input[type=checkbox]{position:absolute;left:-9999px}[role="listitem"]{display:flex;box-sizing:border-box;height:100%;text-align:center;flex-direction:column;align-items:center;padding:var(--goa-space-l)}[role="listitem"]:not([aria-disabled="true"]):not([aria-current="step"]):focus-within,[role="listitem"]:not([aria-disabled="true"]):not([aria-current="step"]):focus,[role="listitem"]:not([aria-disabled="true"]):not([aria-current="step"]):active{outline:var(--goa-color-interactive-focus) solid var(--goa-border-width-l)}[role="listitem"]:not([aria-disabled="true"]):not([aria-current="step"]):hover{background-color:rgba(0,0,0,0.05);cursor:pointer}.status{flex:0 0 auto;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:999px;border:4px solid var(--goa-color-interactive-default);background:var(--goa-color-greyscale-white);height:2.5rem;width:2.5rem}[aria-current="step"] .text{font-weight:var(--goa-font-weight-bold)
|
|
19545
19545
|
}[data-status=complete] .status{background:var(--goa-color-interactive-default)}[aria-current="step"][data-status=complete] .status{background:var(--goa-color-greyscale-white)}.step-number{margin-bottom:var(--font-valign-fix);font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-secondary)}[role="listitem"]:not(
|
|
19546
19546
|
[data-status=complete],
|
|
19547
19547
|
[data-status=incomplete],
|