@nnc-digital/nnc-design-system 1.0.0-alpha57 → 1.0.0-alpha58
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/build/index.js +5 -3
- package/build/index.js.map +1 -1
- package/build/index.mjs.js +5 -3
- package/build/index.mjs.js.map +1 -1
- package/package.json +1 -1
package/build/index.mjs.js
CHANGED
|
@@ -6677,7 +6677,9 @@ var MapMarker = function (options) {
|
|
|
6677
6677
|
anchor: new google.maps.Point(40, 60),
|
|
6678
6678
|
labelOrigin: new google.maps.Point(21, 25),
|
|
6679
6679
|
};
|
|
6680
|
-
var mergedOptions = __assign$2(__assign$2({}, options), { anchorPoint: new google.maps.Point(-5, -40), icon: icon, position: options.position, title: options.title
|
|
6680
|
+
var mergedOptions = __assign$2(__assign$2({}, options), { anchorPoint: new google.maps.Point(-5, -40), icon: icon, position: options.position, title: options.title, label: options.label ?
|
|
6681
|
+
(typeof options.label === 'string' ?
|
|
6682
|
+
{ text: options.label, color: '#FFFFFF' } : __assign$2(__assign$2({}, options.label), { color: '#FFFFFF' })) : undefined });
|
|
6681
6683
|
for (var key in options) {
|
|
6682
6684
|
if (key !== 'label' && Object.prototype.hasOwnProperty.call(options, key)) {
|
|
6683
6685
|
mergedOptions[key] = options[key];
|
|
@@ -31364,7 +31366,7 @@ var DirectoryServiceList = function (_a) {
|
|
|
31364
31366
|
React.createElement(Row$1, null,
|
|
31365
31367
|
React.createElement(Column, { small: "full", medium: "one-half", large: "one-third" },
|
|
31366
31368
|
React.createElement(Label$1, { htmlFor: "directorySearch" }, "What are you looking for?"),
|
|
31367
|
-
React.createElement(HintText, { text: "Enter
|
|
31369
|
+
React.createElement(HintText, { text: "Enter the name of a specific organisation" }),
|
|
31368
31370
|
React.createElement(Input, { name: "directorySearch", type: "text", defaultValue: searchTerm, id: "directorySearch", onChange: function (e) {
|
|
31369
31371
|
setSearchTerm(e.target.value);
|
|
31370
31372
|
} })),
|
|
@@ -33269,7 +33271,7 @@ var DirectoryDocumentList = function (_a) {
|
|
|
33269
33271
|
React.createElement(Row$1, null,
|
|
33270
33272
|
React.createElement(Column, { small: "full", medium: "one-half", large: "one-third" },
|
|
33271
33273
|
React.createElement(Label, { htmlFor: "directorySearch" }, "What are you looking for?"),
|
|
33272
|
-
React.createElement(HintText, { text: "Enter
|
|
33274
|
+
React.createElement(HintText, { text: "Enter the name of a specific organisation" }),
|
|
33273
33275
|
React.createElement(Input, { name: "directorySearch", type: "text", defaultValue: searchTerm, id: "directorySearch", onChange: function (e) {
|
|
33274
33276
|
setSearchTerm(e.target.value);
|
|
33275
33277
|
} })),
|