@incodetech/web 0.0.0-dev-20260703-67b9f29a → 0.0.0-dev-20260703-aafdb47a
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/flow/styles.css
CHANGED
|
@@ -6891,8 +6891,9 @@
|
|
|
6891
6891
|
justify-content: flex-start;
|
|
6892
6892
|
align-items: center;
|
|
6893
6893
|
gap: var(--spacing-16, var(--spacing-16, 16px));
|
|
6894
|
-
flex-direction: column;
|
|
6895
6894
|
width: 100%;
|
|
6895
|
+
scroll-padding-bottom: var(--spacing-96, 96px);
|
|
6896
|
+
flex-direction: column;
|
|
6896
6897
|
display: flex;
|
|
6897
6898
|
overflow-y: auto;
|
|
6898
6899
|
}
|
|
@@ -733,11 +733,13 @@ var GeolocationPermissionDenied = ({ canSkip, onSkip, onRefresh }) => {
|
|
|
733
733
|
/* @__PURE__ */ u(Spacer, {}),
|
|
734
734
|
/* @__PURE__ */ u(Button, {
|
|
735
735
|
onClick: onRefresh,
|
|
736
|
+
"data-testid": "geolocation-refresh",
|
|
736
737
|
children: t("geolocationv2.refreshPage")
|
|
737
738
|
}),
|
|
738
739
|
canSkip ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u(Button, {
|
|
739
740
|
variant: "secondary",
|
|
740
741
|
onClick: onSkip,
|
|
742
|
+
"data-testid": "geolocation-skip",
|
|
741
743
|
children: t("geolocationv2.skip")
|
|
742
744
|
})] }) : null
|
|
743
745
|
]
|
|
@@ -761,17 +763,19 @@ var GeolocationPageLayout = ({ icon: Icon, title, subtitle, onContinue, isLoadin
|
|
|
761
763
|
onClick: onContinue,
|
|
762
764
|
"aria-label": isLoading ? t("geolocation.continue") : void 0,
|
|
763
765
|
"aria-busy": isLoading || void 0,
|
|
766
|
+
"data-testid": "geolocation-continue",
|
|
764
767
|
children: t("geolocation.continue")
|
|
765
768
|
})
|
|
766
769
|
})]
|
|
767
770
|
});
|
|
768
771
|
};
|
|
769
|
-
var GeolocationContent = ({ config, onFinish, onError: _onError }) => {
|
|
772
|
+
var GeolocationContent = ({ config, manager: externalManager, onFinish, onError: _onError }) => {
|
|
770
773
|
const { t } = useTranslation();
|
|
771
774
|
const [state, manager] = useManager(() => {
|
|
775
|
+
if (externalManager) return externalManager;
|
|
772
776
|
if (!config) throw new Error("Geolocation config is required");
|
|
773
777
|
return createGeolocationManager({ config });
|
|
774
|
-
});
|
|
778
|
+
}, { manageLifecycle: !externalManager });
|
|
775
779
|
useModuleTerminalCallbacks({
|
|
776
780
|
status: state.status === "finished" ? "finished" : "loading",
|
|
777
781
|
onFinish
|
|
@@ -797,8 +801,9 @@ var GeolocationContent = ({ config, onFinish, onError: _onError }) => {
|
|
|
797
801
|
if (state.status === "finished") return null;
|
|
798
802
|
return null;
|
|
799
803
|
};
|
|
800
|
-
var Geolocation = ({ config, onFinish, onError }) => /* @__PURE__ */ u(IncodeComponent, { children: config ? /* @__PURE__ */ u(GeolocationContent, {
|
|
804
|
+
var Geolocation = ({ config, manager, onFinish, onError }) => /* @__PURE__ */ u(IncodeComponent, { children: config ? /* @__PURE__ */ u(GeolocationContent, {
|
|
801
805
|
config,
|
|
806
|
+
manager,
|
|
802
807
|
onFinish,
|
|
803
808
|
onError
|
|
804
809
|
}) : null });
|
package/dist/id-ocr/styles.css
CHANGED
|
@@ -29,8 +29,9 @@
|
|
|
29
29
|
justify-content: flex-start;
|
|
30
30
|
align-items: center;
|
|
31
31
|
gap: var(--spacing-16, var(--spacing-16, 16px));
|
|
32
|
-
flex-direction: column;
|
|
33
32
|
width: 100%;
|
|
33
|
+
scroll-padding-bottom: var(--spacing-96, 96px);
|
|
34
|
+
flex-direction: column;
|
|
34
35
|
display: flex;
|
|
35
36
|
overflow-y: auto;
|
|
36
37
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { FC } from 'preact/compat';
|
|
2
2
|
import { GeolocationConfig } from '@incodetech/core/geolocation';
|
|
3
|
+
import { GeolocationManager } from '@incodetech/core/geolocation';
|
|
3
4
|
|
|
4
5
|
declare const Geolocation_2: FC<GeolocationProps>;
|
|
5
6
|
export { Geolocation_2 as Geolocation }
|
|
6
7
|
|
|
7
|
-
declare type GeolocationProps = IncodeModuleProps<GeolocationConfig
|
|
8
|
+
declare type GeolocationProps = IncodeModuleProps<GeolocationConfig> & {
|
|
9
|
+
manager?: GeolocationManager;
|
|
10
|
+
};
|
|
8
11
|
|
|
9
12
|
/**
|
|
10
13
|
* Extra context passed to `onFinish` alongside the result. Lets a host decide
|
package/dist/workflow/styles.css
CHANGED
|
@@ -5583,8 +5583,9 @@
|
|
|
5583
5583
|
justify-content: flex-start;
|
|
5584
5584
|
align-items: center;
|
|
5585
5585
|
gap: var(--spacing-16, var(--spacing-16, 16px));
|
|
5586
|
-
flex-direction: column;
|
|
5587
5586
|
width: 100%;
|
|
5587
|
+
scroll-padding-bottom: var(--spacing-96, 96px);
|
|
5588
|
+
flex-direction: column;
|
|
5588
5589
|
display: flex;
|
|
5589
5590
|
overflow-y: auto;
|
|
5590
5591
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-20260703-
|
|
3
|
+
"version": "0.0.0-dev-20260703-aafdb47a",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"qrcode": "^1.5.4",
|
|
292
292
|
"signature_pad": "^5.1.3",
|
|
293
293
|
"tailwindcss": "^4.1.17",
|
|
294
|
-
"@incodetech/core": "0.0.0-dev-20260703-
|
|
294
|
+
"@incodetech/core": "0.0.0-dev-20260703-aafdb47a"
|
|
295
295
|
},
|
|
296
296
|
"devDependencies": {
|
|
297
297
|
"@microsoft/api-extractor": "^7.53.3",
|