@incodetech/welcome 1.85.0-20251218215142.0 → 1.85.0-20251218222520.0
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/onBoarding.mjs +93 -63
- package/dist/onBoarding.umd.js +37 -18
- package/package.json +1 -1
package/dist/onBoarding.mjs
CHANGED
|
@@ -8289,7 +8289,7 @@ class MlWasmJSApi {
|
|
|
8289
8289
|
);
|
|
8290
8290
|
}
|
|
8291
8291
|
}
|
|
8292
|
-
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-
|
|
8292
|
+
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251218222520.0";
|
|
8293
8293
|
function e$2(Be, Le) {
|
|
8294
8294
|
return function(Ye, tt) {
|
|
8295
8295
|
return Object.prototype.hasOwnProperty.call(Ye, tt);
|
|
@@ -26962,6 +26962,7 @@ const FlexCenter = (Be) => /* @__PURE__ */ jsx$1(Flex, { justify: "center", alig
|
|
|
26962
26962
|
margin-right: auto;
|
|
26963
26963
|
transition: background-color 0.2s ease;
|
|
26964
26964
|
touch-action: manipulation;
|
|
26965
|
+
cursor: pointer;
|
|
26965
26966
|
text-align: ${(Be) => Be.textAlign || "center"};
|
|
26966
26967
|
border: 1.5px solid ${(Be) => Be.borderColor || Be.tokens.button.primary.border.default};
|
|
26967
26968
|
background: ${(Be) => Be.backgroundColor || Be.bg || Be.tokens.button.primary.surface.default};
|
|
@@ -26986,6 +26987,7 @@ const FlexCenter = (Be) => /* @__PURE__ */ jsx$1(Flex, { justify: "center", alig
|
|
|
26986
26987
|
}
|
|
26987
26988
|
|
|
26988
26989
|
&:disabled {
|
|
26990
|
+
cursor: not-allowed;
|
|
26989
26991
|
background-color: ${(Be) => Be.tokens.button.primary.surface.disabled};
|
|
26990
26992
|
border: 1px solid ${(Be) => Be.borderColor || Be.tokens.button.primary.border.disabled};
|
|
26991
26993
|
color: ${(Be) => Be.tokens.button.primary.text.disabled};
|
|
@@ -27003,29 +27005,20 @@ const FlexCenter = (Be) => /* @__PURE__ */ jsx$1(Flex, { justify: "center", alig
|
|
|
27003
27005
|
width: 100%;
|
|
27004
27006
|
height: 56px;
|
|
27005
27007
|
|
|
27006
|
-
&:focus-visible {
|
|
27007
|
-
outline: ${(Be) => Be.tokens.focus.ringWidth} solid ${(Be) => Be.tokens.focus.ringColor};
|
|
27008
|
-
outline-offset: ${(Be) => Be.tokens.focus.ringOffset};
|
|
27009
|
-
}
|
|
27010
|
-
|
|
27011
27008
|
&:disabled {
|
|
27012
27009
|
opacity: 0.5;
|
|
27013
|
-
|
|
27010
|
+
cursor: not-allowed;
|
|
27011
|
+
}
|
|
27014
27012
|
}
|
|
27015
27013
|
|
|
27016
27014
|
&.secondary {
|
|
27017
27015
|
background: transparent;
|
|
27018
27016
|
color: ${(Be) => Be.color || Be.tokens.button.secondary.text.default};
|
|
27019
27017
|
border: 1.5px solid ${(Be) => Be.borderColor || Be.tokens.button.secondary.border.default};
|
|
27020
|
-
|
|
27021
|
-
&:focus-visible {
|
|
27022
|
-
outline: ${(Be) => Be.tokens.focus.ringWidth} solid ${(Be) => Be.tokens.focus.ringColor};
|
|
27023
|
-
outline-offset: ${(Be) => Be.tokens.focus.ringOffset};
|
|
27024
|
-
}
|
|
27025
27018
|
}
|
|
27026
27019
|
|
|
27027
27020
|
svg {
|
|
27028
|
-
|
|
27021
|
+
display: block;
|
|
27029
27022
|
}
|
|
27030
27023
|
`, Button$b = ({
|
|
27031
27024
|
children: Be,
|
|
@@ -27041,6 +27034,7 @@ const FlexCenter = (Be) => /* @__PURE__ */ jsx$1(Flex, { justify: "center", alig
|
|
|
27041
27034
|
StyledButton$e,
|
|
27042
27035
|
{
|
|
27043
27036
|
as: "button",
|
|
27037
|
+
type: "button",
|
|
27044
27038
|
tokens: nt,
|
|
27045
27039
|
$isLoading: Ye,
|
|
27046
27040
|
...tt,
|
|
@@ -27247,7 +27241,9 @@ const FlexCenter = (Be) => /* @__PURE__ */ jsx$1(Flex, { justify: "center", alig
|
|
|
27247
27241
|
Box,
|
|
27248
27242
|
{
|
|
27249
27243
|
as: "button",
|
|
27244
|
+
type: "button",
|
|
27250
27245
|
onClick: ht,
|
|
27246
|
+
"aria-label": "Close",
|
|
27251
27247
|
position: "absolute",
|
|
27252
27248
|
right: ((Ye == null ? void 0 : Ye.position) ?? "right") === "right" ? ft : void 0,
|
|
27253
27249
|
left: ((Ye == null ? void 0 : Ye.position) ?? "right") === "left" ? ft : void 0,
|
|
@@ -27256,6 +27252,7 @@ const FlexCenter = (Be) => /* @__PURE__ */ jsx$1(Flex, { justify: "center", alig
|
|
|
27256
27252
|
backgroundColor: "transparent",
|
|
27257
27253
|
border: "none",
|
|
27258
27254
|
p: 0,
|
|
27255
|
+
cursor: "pointer",
|
|
27259
27256
|
zIndex: 1e4,
|
|
27260
27257
|
children: /* @__PURE__ */ jsx$1(XIcon, { color: Ye == null ? void 0 : Ye.color })
|
|
27261
27258
|
}
|
|
@@ -27860,6 +27857,8 @@ const FlexCenter = (Be) => /* @__PURE__ */ jsx$1(Flex, { justify: "center", alig
|
|
|
27860
27857
|
Box,
|
|
27861
27858
|
{
|
|
27862
27859
|
as: "button",
|
|
27860
|
+
type: "button",
|
|
27861
|
+
"aria-label": "Clear",
|
|
27863
27862
|
position: "absolute",
|
|
27864
27863
|
right: Ct.spacing[6],
|
|
27865
27864
|
top: "50%",
|
|
@@ -173313,8 +173312,8 @@ const StyledPath = dt.path`
|
|
|
173313
173312
|
viewBox: "0 0 64 64",
|
|
173314
173313
|
fill: "none",
|
|
173315
173314
|
xmlns: "http://www.w3.org/2000/svg",
|
|
173315
|
+
"aria-hidden": "true",
|
|
173316
173316
|
children: [
|
|
173317
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("title", { children: "Camera button" }),
|
|
173318
173317
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
173319
173318
|
"path",
|
|
173320
173319
|
{
|
|
@@ -173367,7 +173366,17 @@ const StyledPath = dt.path`
|
|
|
173367
173366
|
children: Ye("selfiev2.manualCapture.instructions")
|
|
173368
173367
|
}
|
|
173369
173368
|
),
|
|
173370
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Box, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
173369
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Box, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
173370
|
+
Button$b,
|
|
173371
|
+
{
|
|
173372
|
+
variant: "link",
|
|
173373
|
+
onClick: Be,
|
|
173374
|
+
disabled: Le,
|
|
173375
|
+
hFull: !0,
|
|
173376
|
+
"aria-label": Ye("selfiev2.manualCapture.captureButton"),
|
|
173377
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(CameraButton, {})
|
|
173378
|
+
}
|
|
173379
|
+
) })
|
|
173371
173380
|
]
|
|
173372
173381
|
}
|
|
173373
173382
|
);
|
|
@@ -200107,6 +200116,19 @@ const createCaptureIdApi = (Be) => {
|
|
|
200107
200116
|
padding: ${tokens.spacing[4]} ${tokens.spacing[6]};
|
|
200108
200117
|
text-align: right;
|
|
200109
200118
|
height: 135px;
|
|
200119
|
+
transition: background-color 0.2s ease;
|
|
200120
|
+
touch-action: manipulation;
|
|
200121
|
+
cursor: pointer;
|
|
200122
|
+
|
|
200123
|
+
&:focus-visible {
|
|
200124
|
+
outline: ${tokens.focus.ringWidth} solid ${tokens.focus.ringColor};
|
|
200125
|
+
outline-offset: ${tokens.focus.ringOffset};
|
|
200126
|
+
}
|
|
200127
|
+
|
|
200128
|
+
&:disabled {
|
|
200129
|
+
cursor: not-allowed;
|
|
200130
|
+
opacity: 0.6;
|
|
200131
|
+
}
|
|
200110
200132
|
`, OldChooserButtonIconContainer = dt(FlexItem)`
|
|
200111
200133
|
margin: auto;
|
|
200112
200134
|
flex: 1;
|
|
@@ -200124,11 +200146,14 @@ const createCaptureIdApi = (Be) => {
|
|
|
200124
200146
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
200125
200147
|
OldStyledChooserButton,
|
|
200126
200148
|
{
|
|
200149
|
+
type: "button",
|
|
200127
200150
|
onClick: nt,
|
|
200128
200151
|
$bg: ft.color.surface.secondary[50],
|
|
200129
200152
|
$border: ft.color.border.primary,
|
|
200130
|
-
|
|
200131
|
-
|
|
200153
|
+
"aria-label": `${Ye}: ${tt}`,
|
|
200154
|
+
"data-testid": `chooser-button-${Be}`,
|
|
200155
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { hFull: !0, children: [
|
|
200156
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(OldChooserButtonIconContainer, { "aria-hidden": "true", children: Le }),
|
|
200132
200157
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
200133
200158
|
Flex,
|
|
200134
200159
|
{
|
|
@@ -200163,7 +200188,7 @@ const createCaptureIdApi = (Be) => {
|
|
|
200163
200188
|
),
|
|
200164
200189
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: 1 })
|
|
200165
200190
|
] }),
|
|
200166
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ArrowIcon, {}) })
|
|
200191
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ArrowIcon, {}) })
|
|
200167
200192
|
]
|
|
200168
200193
|
}
|
|
200169
200194
|
)
|
|
@@ -200186,8 +200211,21 @@ const createCaptureIdApi = (Be) => {
|
|
|
200186
200211
|
display: flex;
|
|
200187
200212
|
align-items: center;
|
|
200188
200213
|
justify-content: space-between;
|
|
200214
|
+
transition: background-color 0.2s ease;
|
|
200215
|
+
touch-action: manipulation;
|
|
200216
|
+
cursor: pointer;
|
|
200189
200217
|
|
|
200190
200218
|
border-radius: ${({ $isFirst: Be, $isLast: Le }) => Be && Le ? "16px" : Be ? "16px 16px 0 0" : Le ? "0 0 16px 16px" : "0"};
|
|
200219
|
+
|
|
200220
|
+
&:focus-visible {
|
|
200221
|
+
outline: ${tokens.focus.ringWidth} solid ${tokens.focus.ringColor};
|
|
200222
|
+
outline-offset: ${tokens.focus.ringOffset};
|
|
200223
|
+
}
|
|
200224
|
+
|
|
200225
|
+
&:disabled {
|
|
200226
|
+
cursor: not-allowed;
|
|
200227
|
+
opacity: 0.6;
|
|
200228
|
+
}
|
|
200191
200229
|
`, NewChooserButton = ({
|
|
200192
200230
|
id: Be,
|
|
200193
200231
|
icon: Le,
|
|
@@ -200200,59 +200238,51 @@ const createCaptureIdApi = (Be) => {
|
|
|
200200
200238
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
200201
200239
|
NewStyledChooserButton,
|
|
200202
200240
|
{
|
|
200241
|
+
type: "button",
|
|
200203
200242
|
onClick: tt,
|
|
200204
200243
|
$bg: ht.color.surface.neutral.light,
|
|
200205
200244
|
$border: ht.color.border.primary,
|
|
200206
200245
|
$isFirst: nt,
|
|
200207
200246
|
$isLast: ft,
|
|
200208
|
-
|
|
200209
|
-
|
|
200210
|
-
|
|
200211
|
-
|
|
200212
|
-
|
|
200213
|
-
|
|
200214
|
-
|
|
200215
|
-
|
|
200216
|
-
|
|
200217
|
-
|
|
200218
|
-
|
|
200219
|
-
|
|
200220
|
-
|
|
200221
|
-
|
|
200222
|
-
|
|
200223
|
-
|
|
200224
|
-
|
|
200225
|
-
|
|
200226
|
-
|
|
200227
|
-
|
|
200228
|
-
|
|
200229
|
-
|
|
200247
|
+
"aria-label": Ye,
|
|
200248
|
+
"data-testid": `chooser-button-${Be}`,
|
|
200249
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { hFull: !0, wFull: !0, alignItems: "center", align: "center", gap: "12px", children: [
|
|
200250
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { "aria-hidden": "true", children: Le }),
|
|
200251
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
200252
|
+
Flex,
|
|
200253
|
+
{
|
|
200254
|
+
flex: 2,
|
|
200255
|
+
direction: "row",
|
|
200256
|
+
wrap: "nowrap",
|
|
200257
|
+
justify: "space-between",
|
|
200258
|
+
align: "center",
|
|
200259
|
+
children: [
|
|
200260
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
200261
|
+
Flex,
|
|
200262
|
+
{
|
|
200263
|
+
align: "center",
|
|
200264
|
+
flex: 1,
|
|
200265
|
+
maxW: "160px",
|
|
200266
|
+
h: "18px",
|
|
200267
|
+
textOverflow: "ellipsis",
|
|
200268
|
+
overflow: "visible",
|
|
200269
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
200270
|
+
Text$7,
|
|
200230
200271
|
{
|
|
200231
|
-
|
|
200232
|
-
|
|
200233
|
-
|
|
200234
|
-
h: "18px",
|
|
200235
|
-
textOverflow: "ellipsis",
|
|
200272
|
+
fontWeight: 500,
|
|
200273
|
+
textAlign: "left",
|
|
200274
|
+
color: ht.color.text.body.primary,
|
|
200236
200275
|
overflow: "visible",
|
|
200237
|
-
children:
|
|
200238
|
-
Text$7,
|
|
200239
|
-
{
|
|
200240
|
-
fontWeight: 500,
|
|
200241
|
-
textAlign: "left",
|
|
200242
|
-
color: ht.color.text.body.primary,
|
|
200243
|
-
overflow: "visible",
|
|
200244
|
-
children: Ye
|
|
200245
|
-
}
|
|
200246
|
-
)
|
|
200276
|
+
children: Ye
|
|
200247
200277
|
}
|
|
200248
|
-
)
|
|
200249
|
-
|
|
200250
|
-
|
|
200251
|
-
}
|
|
200252
|
-
|
|
200253
|
-
|
|
200254
|
-
|
|
200255
|
-
)
|
|
200278
|
+
)
|
|
200279
|
+
}
|
|
200280
|
+
),
|
|
200281
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ArrowIcon$1, {}) })
|
|
200282
|
+
]
|
|
200283
|
+
}
|
|
200284
|
+
)
|
|
200285
|
+
] })
|
|
200256
200286
|
}
|
|
200257
200287
|
);
|
|
200258
200288
|
}, Chooser = () => {
|