@popsure/dirty-swan 0.38.0 → 0.38.1
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/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/autocompleteAddress/index.js +1 -1
- package/dist/esm/components/autocompleteAddress/index.js.map +1 -1
- package/dist/esm/components/autocompleteAddress/index.test.js +6 -6
- package/dist/esm/components/autocompleteAddress/index.test.js.map +1 -1
- package/dist/esm/components/button/index.js +1 -1
- package/dist/esm/components/button/index.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/components/autocompleteAddress/index.test.tsx +6 -6
- package/src/lib/components/autocompleteAddress/index.tsx +9 -5
- package/src/lib/components/button/index.tsx +2 -3
package/dist/cjs/index.js
CHANGED
|
@@ -5387,7 +5387,7 @@ var AutocompleteAddress = function (_a) {
|
|
|
5387
5387
|
debouncedSetPlace(newAddress);
|
|
5388
5388
|
} }, "autocomplete-city")] }), void 0)] }, void 0)) }), void 0),
|
|
5389
5389
|
manualAddressEntry === false && (jsxRuntime.jsxs("div", __assign({ className: "p-p mt8" }, { children: [(manualAddressEntryTexts === null || manualAddressEntryTexts === void 0 ? void 0 : manualAddressEntryTexts.preText) || 'Or ',
|
|
5390
|
-
jsxRuntime.jsx("
|
|
5390
|
+
jsxRuntime.jsx("button", __assign({ className: 'p-a p-p fw-bold c-pointer bg-transparent', onClick: handleEnterAddressManually, type: "button" }, { children: (manualAddressEntryTexts === null || manualAddressEntryTexts === void 0 ? void 0 : manualAddressEntryTexts.cta) || 'enter address manually' }), void 0)] }), void 0))] }, void 0));
|
|
5391
5391
|
};
|
|
5392
5392
|
|
|
5393
5393
|
var propTypes$1 = {exports: {}};
|
|
@@ -8635,7 +8635,7 @@ var buttonTypeClassNameMap = {
|
|
|
8635
8635
|
outlineGrey: 'p-btn--outline-grey',
|
|
8636
8636
|
};
|
|
8637
8637
|
var Button = require$$0__default['default'].forwardRef(function (_a, ref) {
|
|
8638
|
-
var className = _a.className, _b = _a.loading, loading = _b === void 0 ? false : _b, buttonTitle = _a.buttonTitle, _c = _a.buttonType, buttonType = _c === void 0 ? 'primary' : _c, leftIcon = _a.leftIcon
|
|
8638
|
+
var className = _a.className, _b = _a.loading, loading = _b === void 0 ? false : _b, buttonTitle = _a.buttonTitle, _c = _a.buttonType, buttonType = _c === void 0 ? 'primary' : _c, leftIcon = _a.leftIcon, props = __rest$1(_a, ["className", "loading", "buttonTitle", "buttonType", "leftIcon"]);
|
|
8639
8639
|
var buttonClassName = buttonTypeClassNameMap[buttonType];
|
|
8640
8640
|
var loadingClassName = loading ? 'p-btn--loading' : '';
|
|
8641
8641
|
return (jsxRuntime.jsx("button", __assign({ ref: ref, className: buttonClassName + " " + loadingClassName + " " + (className !== null && className !== void 0 ? className : '') }, props, { children: leftIcon ? (jsxRuntime.jsxs("div", __assign({ className: styles$q['content-container'] }, { children: [jsxRuntime.jsx("img", { width: "20px", height: "20px", className: "mr8", src: leftIcon.src, alt: leftIcon.alt }, void 0),
|