@quantaroute/checkout 1.0.0 → 1.1.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/README.md +1 -1
- package/dist/lib/index.d.ts +15 -0
- package/dist/lib/quantaroute-checkout.es.js +43 -17530
- package/dist/lib/quantaroute-checkout.umd.js +77 -5024
- package/dist/lib/style.css +1 -1
- package/package.json +10 -7
package/README.md
CHANGED
package/dist/lib/index.d.ts
CHANGED
|
@@ -89,6 +89,13 @@ export declare interface CheckoutWidgetProps {
|
|
|
89
89
|
mapHeight?: string;
|
|
90
90
|
/** Widget header title. Defaults to 'Add Delivery Address'. */
|
|
91
91
|
title?: string;
|
|
92
|
+
/**
|
|
93
|
+
* URL to an India boundary GeoJSON file (FeatureCollection).
|
|
94
|
+
* When provided, a thin grey outline is drawn on the map for legal compliance.
|
|
95
|
+
* Host the file in your app's public folder and pass its path here.
|
|
96
|
+
* Example: indiaBoundaryUrl="/geojson/india.geojson"
|
|
97
|
+
*/
|
|
98
|
+
indiaBoundaryUrl?: string;
|
|
92
99
|
}
|
|
93
100
|
|
|
94
101
|
export declare interface CompleteAddress {
|
|
@@ -206,6 +213,14 @@ export declare interface MapPinSelectorProps {
|
|
|
206
213
|
defaultLng?: number;
|
|
207
214
|
mapHeight?: string;
|
|
208
215
|
theme?: 'light' | 'dark';
|
|
216
|
+
/**
|
|
217
|
+
* URL to an India boundary GeoJSON file (FeatureCollection).
|
|
218
|
+
* When provided, a thin grey outline of India's border is drawn on the map
|
|
219
|
+
* to satisfy Indian government map policy requirements.
|
|
220
|
+
* The file is fetched in parallel with map initialisation — no visible delay.
|
|
221
|
+
* Example: indiaBoundaryUrl="/geojson/india.geojson"
|
|
222
|
+
*/
|
|
223
|
+
indiaBoundaryUrl?: string;
|
|
209
224
|
}
|
|
210
225
|
|
|
211
226
|
/**
|