Socket
Socket
Sign inDemoInstall

@mapbox/search-js-web

Package Overview
Dependencies
44
Maintainers
14
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-beta.12 to 1.0.0-beta.13

6

dist/components/MapboxAddressConfirmation.d.ts

@@ -65,2 +65,8 @@ import { ValidateOptions, AutofillFeatureSuggestion } from '@mapbox/search-js-core';

skipConfirmModal?: (feature: AutofillFeatureSuggestion) => boolean;
/**
* Custom footer text appearing at the bottom of the confirmation modal dialog.
* If `true` or left undefined, the default footer text will be used.
* If `false`, the footer will not be shown.
*/
footer?: boolean | string;
}

@@ -67,0 +73,0 @@ export declare type AddressConfirmationEventTypes = {

1

dist/components/MapboxAddressConfirmationFeature.d.ts

@@ -20,2 +20,3 @@ import { AutofillFeatureSuggestion } from '@mapbox/search-js-core';

set theme(theme: Theme);
set footer(val: boolean | string);
minimap: boolean | ConfirmationMinimapOptions;

@@ -22,0 +23,0 @@ accessToken: string;

@@ -12,3 +12,3 @@ import { HTMLScopedElement } from './HTMLScopedElement';

*
* The goal of `MapboxAddressMinimap` is to reduce delivery error in shipping and
* The goal of `MapboxAddressMinimap` is to reduce delivery or geolocation error in shipping and
* local dispatching contexts.

@@ -165,2 +165,14 @@ *

set defaultMapStyle(style: [string, string]);
/**
* Custom footer text appearing below the map, when marker adjustment is enabled.
* If `true` or left undefined, the default footer text will be used.
* If `false`, the footer will not be shown.
*
* @name footer
* @instance
* @memberof MapboxAddressMinimap
* @type {boolean | string}
*/
get footer(): boolean | string;
set footer(val: boolean | string);
get container(): HTMLElement | null;

@@ -167,0 +179,0 @@ set container(newContainer: HTMLElement | null);

4

package.json
{
"name": "@mapbox/search-js-web",
"version": "1.0.0-beta.12",
"version": "1.0.0-beta.13",
"description": "Search web component with form autocomplete.",

@@ -23,3 +23,3 @@ "main": "dist/index.js",

"@floating-ui/dom": "^0.5.2",
"@mapbox/search-js-core": "^1.0.0-beta.12",
"@mapbox/search-js-core": "^1.0.0-beta.13",
"@mapbox/sphericalmercator": "^1.2.0",

@@ -26,0 +26,0 @@ "focus-trap": "^6.7.3",

@@ -96,2 +96,3 @@ import mapboxgl from 'mapbox-gl';

};
minimap.footer = 'My custom footer';

@@ -163,3 +164,4 @@ if (window.location.pathname === '/minimap.html') {

skipConfirmModal: (feature) =>
['exact', 'high'].includes(feature.properties.match_code.confidence)
['exact', 'high'].includes(feature.properties.match_code.confidence),
footer: false
});

@@ -166,0 +168,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc