@shopgate/pwa-ui-shared 7.30.0-alpha.6 → 7.30.0-alpha.8
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/AccordionContainer/index.js +39 -5
- package/AccordionContainer/spec.js +25 -2
- package/ActionButton/index.js +63 -7
- package/ActionButton/spec.js +59 -2
- package/ActionButton/style.js +22 -1
- package/AddToCartButton/index.js +184 -27
- package/AddToCartButton/mock.js +18 -4
- package/AddToCartButton/spec.js +51 -2
- package/AddToCartButton/style.js +127 -11
- package/Availability/index.js +34 -2
- package/Availability/spec.js +41 -1
- package/Availability/style.js +19 -1
- package/Button/index.js +76 -5
- package/Button/spec.js +33 -1
- package/Button/style.js +130 -21
- package/ButtonLink/connector.js +11 -2
- package/ButtonLink/index.js +44 -6
- package/ButtonLink/spec.js +23 -1
- package/Card/index.js +19 -2
- package/Card/style.js +11 -1
- package/CardList/components/Item/index.js +26 -2
- package/CardList/components/Item/style.js +7 -1
- package/CardList/index.js +34 -3
- package/CartTotalLine/components/Amount/index.js +28 -2
- package/CartTotalLine/components/Amount/style.js +8 -1
- package/CartTotalLine/components/Hint/index.js +23 -2
- package/CartTotalLine/components/Hint/style.js +12 -1
- package/CartTotalLine/components/Label/index.js +36 -2
- package/CartTotalLine/components/Label/style.js +17 -1
- package/CartTotalLine/components/Spacer/index.js +16 -2
- package/CartTotalLine/index.js +39 -2
- package/CartTotalLine/style.js +31 -1
- package/Checkbox/index.js +31 -2
- package/Checkbox/style.js +18 -1
- package/Chip/index.js +61 -2
- package/Chip/spec.js +24 -1
- package/Chip/style.js +71 -3
- package/ContextMenu/ContextMenu.hooks.js +6 -2
- package/ContextMenu/ContextMenuProvider.context.js +9 -3
- package/ContextMenu/ContextMenuProvider.js +21 -2
- package/ContextMenu/components/Item/index.js +67 -5
- package/ContextMenu/components/Item/style.js +32 -3
- package/ContextMenu/components/Position/index.js +61 -10
- package/ContextMenu/components/Position/style.js +11 -1
- package/ContextMenu/index.js +124 -3
- package/ContextMenu/spec.js +101 -2
- package/ContextMenu/style.js +45 -1
- package/Dialog/components/BasicDialog/index.js +5 -1
- package/Dialog/components/HtmlContentDialog/index.js +22 -2
- package/Dialog/components/HtmlContentDialog/spec.js +59 -1
- package/Dialog/components/PipelineErrorDialog/index.js +114 -25
- package/Dialog/components/PipelineErrorDialog/spec.js +92 -12
- package/Dialog/components/TextMessageDialog/index.js +28 -2
- package/Dialog/components/TextMessageDialog/spec.js +59 -1
- package/Dialog/components/VariantSelectModal/connector.js +11 -2
- package/Dialog/components/VariantSelectModal/index.js +65 -6
- package/Dialog/components/VariantSelectModal/spec.js +51 -2
- package/Dialog/constants.js +6 -1
- package/Dialog/index.js +114 -7
- package/Dialog/spec.js +81 -3
- package/DiscountBadge/index.js +30 -2
- package/DiscountBadge/spec.js +19 -1
- package/DiscountBadge/style.js +34 -2
- package/FavoritesButton/connector.js +18 -3
- package/FavoritesButton/index.js +118 -15
- package/FavoritesButton/mock.js +50 -4
- package/FavoritesButton/spec.js +120 -2
- package/FavoritesButton/style.js +26 -1
- package/Form/Builder/builders/buildCountryList.js +40 -6
- package/Form/Builder/builders/buildFormDefaults.js +35 -6
- package/Form/Builder/builders/buildFormElements.js +68 -10
- package/Form/Builder/builders/buildProvinceList.js +19 -2
- package/Form/Builder/builders/buildValidationErrorList.js +7 -2
- package/Form/Builder/classes/ActionListener/constants.js +22 -2
- package/Form/Builder/classes/ActionListener/index.js +441 -93
- package/Form/Builder/classes/ActionListener/spec.js +321 -19
- package/Form/Builder/components/CheckboxElement.js +35 -3
- package/Form/Builder/components/CountryElement.js +40 -3
- package/Form/Builder/components/ProvinceElement.js +40 -3
- package/Form/Builder/components/RadioElement.js +41 -3
- package/Form/Builder/components/SelectElement.js +39 -3
- package/Form/Builder/components/TextElement.js +49 -4
- package/Form/Builder/elementTypes.js +11 -1
- package/Form/Builder/index.js +298 -52
- package/Form/Builder/iso-3166-2.js +4943 -1
- package/Form/Builder/spec.js +300 -16
- package/Form/Checkbox/index.js +66 -4
- package/Form/Checkbox/style.js +25 -2
- package/Form/InfoField/index.js +50 -2
- package/Form/InfoField/spec.js +9 -1
- package/Form/InfoField/style.js +11 -1
- package/Form/Password/index.js +51 -6
- package/Form/Password/spec.js +34 -1
- package/Form/Password/style.js +11 -1
- package/Form/RadioGroup/components/Item/index.js +59 -3
- package/Form/RadioGroup/components/Item/style.js +32 -2
- package/Form/RadioGroup/index.js +101 -9
- package/Form/RadioGroup/spec.js +83 -3
- package/Form/RadioGroup/style.js +18 -2
- package/Form/Select/index.js +158 -10
- package/Form/Select/spec.js +36 -5
- package/Form/Select/style.js +27 -1
- package/Form/SelectContextChoices/index.js +77 -3
- package/Form/SelectContextChoices/spec.js +33 -4
- package/Form/SelectContextChoices/style.js +23 -1
- package/Form/TextField/index.js +92 -8
- package/Form/TextField/spec.js +110 -1
- package/Form/TextField/style.js +66 -8
- package/Form/index.js +54 -13
- package/FormElement/components/ErrorText/index.js +31 -2
- package/FormElement/components/ErrorText/style.js +13 -1
- package/FormElement/components/Label/index.js +35 -2
- package/FormElement/components/Label/style.js +76 -8
- package/FormElement/components/Placeholder/index.js +26 -2
- package/FormElement/components/Placeholder/style.js +48 -6
- package/FormElement/components/Underline/index.js +18 -2
- package/FormElement/components/Underline/style.js +51 -4
- package/FormElement/index.js +91 -6
- package/FormElement/spec.js +67 -2
- package/FormElement/style.js +13 -2
- package/Glow/index.js +90 -7
- package/Glow/spec.js +9 -1
- package/Glow/style.js +18 -1
- package/IndicatorCircle/index.js +33 -3
- package/IndicatorCircle/spec.js +28 -1
- package/IndicatorCircle/style.js +57 -3
- package/LoadingIndicator/index.js +29 -2
- package/LoadingIndicator/style.js +20 -1
- package/Manufacturer/index.js +20 -2
- package/Manufacturer/style.js +5 -1
- package/MessageBar/index.js +36 -2
- package/MessageBar/spec.js +79 -1
- package/MessageBar/style.js +38 -1
- package/NoResults/components/Icon/index.js +130 -2
- package/NoResults/components/Icon/style.js +17 -1
- package/NoResults/index.js +46 -2
- package/NoResults/style.js +31 -1
- package/Placeholder/index.js +25 -3
- package/Placeholder/style.js +11 -1
- package/PlaceholderLabel/index.js +27 -2
- package/PlaceholderLabel/spec.js +19 -1
- package/PlaceholderLabel/style.js +12 -1
- package/PlaceholderParagraph/index.js +36 -2
- package/PlaceholderParagraph/spec.js +19 -1
- package/Price/index.js +88 -7
- package/Price/style.js +22 -1
- package/PriceInfo/index.js +20 -2
- package/PriceInfo/style.js +5 -1
- package/PriceStriked/index.js +83 -12
- package/PriceStriked/style.js +33 -3
- package/ProductProperties/index.js +32 -2
- package/ProgressBar/index.js +101 -13
- package/ProgressBar/spec.js +13 -1
- package/ProgressBar/style.js +83 -2
- package/RadioButton/index.js +18 -2
- package/RadioButton/spec.js +21 -1
- package/RadioButton/style.js +21 -1
- package/RatingNumber/index.js +29 -2
- package/RatingStars/constants.js +2 -1
- package/RatingStars/index.js +130 -12
- package/RatingStars/spec.js +90 -3
- package/RatingStars/style.js +51 -2
- package/Ripple/components/RippleAnimation/index.js +88 -6
- package/Ripple/index.js +218 -40
- package/Ripple/style.js +18 -1
- package/RippleButton/index.js +52 -5
- package/RippleButton/spec.js +45 -1
- package/ScannerOverlay/components/CameraOverlay/index.js +13 -2
- package/ScannerOverlay/components/CameraOverlay/style.js +41 -1
- package/ScannerOverlay/components/ScannerBar/components/FlashlightButton/index.js +34 -2
- package/ScannerOverlay/components/ScannerBar/components/FlashlightButton/style.js +28 -1
- package/ScannerOverlay/components/ScannerBar/components/ScannerInstructions/index.js +11 -2
- package/ScannerOverlay/components/ScannerBar/index.js +31 -2
- package/ScannerOverlay/components/ScannerBar/style.js +20 -1
- package/ScannerOverlay/index.js +47 -7
- package/Sheet/components/Header/components/SearchBar/index.js +46 -2
- package/Sheet/components/Header/components/SearchBar/spec.js +21 -3
- package/Sheet/components/Header/components/SearchBar/style.js +47 -1
- package/Sheet/components/Header/index.js +75 -7
- package/Sheet/components/Header/spec.js +14 -1
- package/Sheet/components/Header/style.js +50 -1
- package/Sheet/index.js +170 -17
- package/Sheet/spec.js +85 -5
- package/Sheet/style.js +143 -2
- package/TaxDisclaimer/index.js +34 -4
- package/TaxDisclaimer/spec.js +31 -3
- package/TaxDisclaimer/style.js +9 -1
- package/TextField/components/ErrorText/index.js +33 -2
- package/TextField/components/ErrorText/style.js +25 -3
- package/TextField/components/FormElement/index.js +19 -2
- package/TextField/components/FormElement/style.js +32 -4
- package/TextField/components/Hint/index.js +21 -2
- package/TextField/components/Hint/style.js +40 -5
- package/TextField/components/Label/index.js +32 -3
- package/TextField/components/Label/style.js +68 -8
- package/TextField/components/Underline/index.js +19 -2
- package/TextField/components/Underline/style.js +51 -4
- package/TextField/index.js +189 -27
- package/TextField/spec.js +128 -3
- package/TextField/style.js +34 -4
- package/ToggleIcon/index.js +58 -8
- package/ToggleIcon/spec.js +35 -1
- package/icons/AccountBoxIcon.js +11 -2
- package/icons/AddMoreIcon.js +11 -2
- package/icons/ArrowDropIcon.js +11 -2
- package/icons/ArrowIcon.js +21 -2
- package/icons/BarcodeScannerIcon.js +11 -2
- package/icons/BoxIcon.js +11 -2
- package/icons/BrowseIcon.js +11 -2
- package/icons/BurgerIcon.js +11 -2
- package/icons/CalendarIcon.js +15 -3
- package/icons/CartCouponIcon.js +72 -2
- package/icons/CartIcon.js +11 -2
- package/icons/CartPlusIcon.js +11 -2
- package/icons/CheckIcon.js +11 -2
- package/icons/CheckedIcon.js +11 -2
- package/icons/ChevronIcon.js +11 -2
- package/icons/CreditCardIcon.js +11 -2
- package/icons/CrossIcon.js +11 -2
- package/icons/DescriptionIcon.js +11 -2
- package/icons/FilterIcon.js +11 -2
- package/icons/FlashDisabledIcon.js +11 -2
- package/icons/FlashEnabledIcon.js +11 -2
- package/icons/GridIcon.js +11 -2
- package/icons/HeartIcon.js +11 -2
- package/icons/HeartOutlineIcon.js +11 -2
- package/icons/HeartPlusIcon.js +12 -2
- package/icons/HeartPlusOutlineIcon.js +12 -2
- package/icons/HomeIcon.js +11 -2
- package/icons/InfoIcon.js +11 -2
- package/icons/InfoOutlineIcon.js +11 -2
- package/icons/ListIcon.js +11 -2
- package/icons/LocalShippingIcon.js +11 -2
- package/icons/LocationIcon.js +13 -3
- package/icons/LocatorIcon.js +11 -2
- package/icons/LockIcon.js +11 -2
- package/icons/LogoutIcon.js +11 -2
- package/icons/MagnifierIcon.js +11 -2
- package/icons/MapMarkerIcon.js +24 -3
- package/icons/MoreIcon.js +11 -2
- package/icons/MoreVertIcon.js +11 -2
- package/icons/NotificationIcon.js +14 -3
- package/icons/PersonIcon.js +12 -2
- package/icons/PhoneIcon.js +13 -3
- package/icons/PlaceholderIcon.js +11 -2
- package/icons/RadioCheckedIcon.js +11 -2
- package/icons/RadioUncheckedIcon.js +11 -2
- package/icons/SecurityIcon.js +11 -2
- package/icons/ShippingMethodIcon.js +18 -3
- package/icons/ShoppingCartIcon.js +11 -2
- package/icons/SortIcon.js +11 -2
- package/icons/StarHalfIcon.js +18 -2
- package/icons/StarIcon.js +18 -2
- package/icons/StarOutlineIcon.js +11 -2
- package/icons/StopIcon.js +11 -2
- package/icons/TickIcon.js +11 -2
- package/icons/TimeIcon.js +14 -3
- package/icons/TrashIcon.js +11 -2
- package/icons/TrashOutlineIcon.js +12 -2
- package/icons/UncheckedIcon.js +11 -2
- package/icons/ViewListIcon.js +11 -2
- package/icons/VisibilityIcon.js +11 -2
- package/icons/VisibilityOffIcon.js +11 -2
- package/icons/WarningIcon.js +11 -2
- package/index.js +13 -1
- package/package.json +5 -5
package/icons/CheckedIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The checked icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const Checked = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.checked
|
|
13
|
+
}, props));
|
|
14
|
+
export default Checked;
|
package/icons/ChevronIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The chevron icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const Chevron = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.chevron
|
|
13
|
+
}, props));
|
|
14
|
+
export default Chevron;
|
package/icons/CreditCardIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The credit card icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const CreditCard = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.creditCard
|
|
13
|
+
}, props));
|
|
14
|
+
export default CreditCard;
|
package/icons/CrossIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The cross icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const Cross = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.cross
|
|
13
|
+
}, props));
|
|
14
|
+
export default Cross;
|
package/icons/DescriptionIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The description icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const Description = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.description
|
|
13
|
+
}, props));
|
|
14
|
+
export default Description;
|
package/icons/FilterIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The filter icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const Filter = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.filter
|
|
13
|
+
}, props));
|
|
14
|
+
export default Filter;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The FlashOff icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const FlashDisabled = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.flashDisabled
|
|
13
|
+
}, props));
|
|
14
|
+
export default FlashDisabled;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The FlashOn icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const FlashEnabled = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.flashEnabled
|
|
13
|
+
}, props));
|
|
14
|
+
export default FlashEnabled;
|
package/icons/GridIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The heart icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const Grid = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.grid
|
|
13
|
+
}, props));
|
|
14
|
+
export default Grid;
|
package/icons/HeartIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The heart icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const Heart = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.heart
|
|
13
|
+
}, props));
|
|
14
|
+
export default Heart;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The heart-outline icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const HeartOutline = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.heartOutline
|
|
13
|
+
}, props));
|
|
14
|
+
export default HeartOutline;
|
package/icons/HeartPlusIcon.js
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
const fallback = '<path d="M12 18C12 19 12.25 19.92 12.67 20.74L12 21.35L10.55 20.03C5.4 15.36 2 12.27 2 8.5C2 5.41 4.42 3 7.5 3C9.24 3 10.91 3.81 12 5.08C13.09 3.81 14.76 3 16.5 3C19.58 3 22 5.41 22 8.5C22 9.93 21.5 11.26 20.62 12.61C19.83 12.23 18.94 12 18 12C14.69 12 12 14.69 12 18M19 14H17V17H14V19H17V22H19V19H22V17H19V14Z" />';
|
|
6
|
+
|
|
7
|
+
/**
|
|
2
8
|
* The heart icon component.
|
|
3
9
|
* @param {Object} props The icon component properties.
|
|
4
10
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
11
|
+
*/
|
|
12
|
+
const HeartPlus = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
13
|
+
content: themeConfig.icons.heartPlus || fallback
|
|
14
|
+
}, props));
|
|
15
|
+
export default HeartPlus;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
const fallback = '<path d="M12.67 20.74L12 21.35L10.55 20.03C5.4 15.36 2 12.27 2 8.5C2 5.41 4.42 3 7.5 3C9.24 3 10.91 3.81 12 5.08C13.09 3.81 14.76 3 16.5 3C19.58 3 22 5.41 22 8.5C22 9.93 21.5 11.26 20.62 12.61C20 12.31 19.31 12.11 18.59 12.04C19.5 10.8 20 9.65 20 8.5C20 6.5 18.5 5 16.5 5C14.96 5 13.46 6 12.93 7.36H11.07C10.54 6 9.04 5 7.5 5C5.5 5 4 6.5 4 8.5C4 11.39 7.14 14.24 11.89 18.55L12 18.65L12.04 18.61C12.12 19.37 12.34 20.09 12.67 20.74M17 14V17H14V19H17V22H19V19H22V17H19V14H17Z" />';
|
|
6
|
+
|
|
7
|
+
/**
|
|
2
8
|
* The heart icon component.
|
|
3
9
|
* @param {Object} props The icon component properties.
|
|
4
10
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
11
|
+
*/
|
|
12
|
+
const HeartPlusOutline = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
13
|
+
content: themeConfig.icons.heartPlusOutline || fallback
|
|
14
|
+
}, props));
|
|
15
|
+
export default HeartPlusOutline;
|
package/icons/HomeIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The home icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const Home = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.home
|
|
13
|
+
}, props));
|
|
14
|
+
export default Home;
|
package/icons/InfoIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The info icon component.
|
|
3
8
|
* @param {Object} props The component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const InfoIcon = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.info
|
|
13
|
+
}, props));
|
|
14
|
+
export default InfoIcon;
|
package/icons/InfoOutlineIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The info outline icon component.
|
|
3
8
|
* @param {Object} props The component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const InfoOutline = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.infoOutline
|
|
13
|
+
}, props));
|
|
14
|
+
export default InfoOutline;
|
package/icons/ListIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The list icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const List = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.list
|
|
13
|
+
}, props));
|
|
14
|
+
export default List;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The local shipping icon component.
|
|
3
8
|
* @param {Object} props The component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const LocalShipping = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.localShipping
|
|
13
|
+
}, props));
|
|
14
|
+
export default LocalShipping;
|
package/icons/LocationIcon.js
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
|
|
5
|
+
// SVG Content
|
|
6
|
+
const content = '<path d="M12 2C8 2 5 5 5 9c0 5 7 13 7 13s7-8 7-13c0-4-3-7-7-7zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/><path fill="none" d="M0 0h24v24H0z"/>';
|
|
7
|
+
|
|
8
|
+
/**
|
|
3
9
|
* The location icon component.
|
|
4
10
|
* @param {Object} props The component properties.
|
|
5
11
|
* @returns {JSX}
|
|
6
|
-
*/
|
|
12
|
+
*/
|
|
13
|
+
const Location = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
14
|
+
content: content
|
|
15
|
+
}, props));
|
|
16
|
+
export default Location;
|
package/icons/LocatorIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The FlashOn icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const Locator = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.locator
|
|
13
|
+
}, props));
|
|
14
|
+
export default Locator;
|
package/icons/LockIcon.js
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* @link https://material.io/tools/icons/?icon=lock&style=baseline
|
|
3
8
|
*
|
|
4
9
|
* @param {Object} props The icon component properties.
|
|
5
10
|
* @returns {JSX}
|
|
6
|
-
*/
|
|
11
|
+
*/
|
|
12
|
+
const LockIcon = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
13
|
+
content: themeConfig.icons.lock
|
|
14
|
+
}, props));
|
|
15
|
+
export default LockIcon;
|
package/icons/LogoutIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The logout icon component.
|
|
3
8
|
* @param {Object} props The component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const Logout = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.logout
|
|
13
|
+
}, props));
|
|
14
|
+
export default Logout;
|
package/icons/MagnifierIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The magnifier icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const Magnifier = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.magnifier
|
|
13
|
+
}, props));
|
|
14
|
+
export default Magnifier;
|
package/icons/MapMarkerIcon.js
CHANGED
|
@@ -1,6 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
// SVG Content
|
|
7
|
+
const content = `
|
|
8
|
+
<g>
|
|
9
|
+
<defs>
|
|
10
|
+
<filter id="map-marker-shadow" width="1000%" height="1000%" x="-500%" y="-500%" color-interpolation-filters="sRGB">
|
|
11
|
+
<feGaussianBlur stdDeviation="0.7 0.7"/>
|
|
12
|
+
</filter>
|
|
13
|
+
</defs>
|
|
14
|
+
<circle class="contrast "cx="11.981" cy="8.986" r="3.091" fill="#fff"/>
|
|
15
|
+
<ellipse cx="12.148" cy="21.898" filter="url(#map-marker-shadow)" opacity=".34" rx="3.254" ry=".5" transform="rotate(.314 -142.825 -86.031) skewX(1.175)"/>
|
|
16
|
+
<path d="M12 2C8 2 5 5 5 9c0 5 7 13 7 13s7-8 7-13c0-4-3-7-7-7zm0 10a3 3 0 110-6 3 3 0 010 6z" paint-order="stroke"/>
|
|
17
|
+
</g>`;
|
|
18
|
+
|
|
19
|
+
/**
|
|
3
20
|
* The location icon component.
|
|
4
21
|
* @param {Object} props The component properties.
|
|
5
22
|
* @returns {JSX}
|
|
6
|
-
*/
|
|
23
|
+
*/
|
|
24
|
+
const MapMarkerIcon = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
25
|
+
content: themeConfig.icons.mapMarker || content
|
|
26
|
+
}, props));
|
|
27
|
+
export default MapMarkerIcon;
|
package/icons/MoreIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The cart icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const More = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.more
|
|
13
|
+
}, props));
|
|
14
|
+
export default More;
|
package/icons/MoreVertIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The filter icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const MoreVert = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.moreVert
|
|
13
|
+
}, props));
|
|
14
|
+
export default MoreVert;
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
// SVG Content
|
|
7
|
+
const content = '<path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"/>';
|
|
8
|
+
|
|
9
|
+
/**
|
|
3
10
|
* The description icon component.
|
|
4
11
|
* @param {Object} props The icon component properties.
|
|
5
12
|
* @returns {JSX}
|
|
6
|
-
*/
|
|
13
|
+
*/
|
|
14
|
+
const Notification = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
15
|
+
content: themeConfig.icons.notification || content
|
|
16
|
+
}, props));
|
|
17
|
+
export default Notification;
|
package/icons/PersonIcon.js
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
const fallback = '<path d="M0 0h24v24H0z" fill="none"/><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/>';
|
|
6
|
+
|
|
7
|
+
/**
|
|
2
8
|
* The Person icon component
|
|
3
9
|
*
|
|
4
10
|
* @link https://fonts.google.com/icons?selected=Material+Icons:person
|
|
5
11
|
*
|
|
6
12
|
* @param {Object} props - Icon component props.
|
|
7
13
|
* @returns {JSX.Element}
|
|
8
|
-
*/
|
|
14
|
+
*/
|
|
15
|
+
const PersonIcon = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
16
|
+
content: themeConfig.icons.person || fallback
|
|
17
|
+
}, props));
|
|
18
|
+
export default PersonIcon;
|
package/icons/PhoneIcon.js
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
|
|
5
|
+
// SVG Content
|
|
6
|
+
const content = '<path fill="none" d="M0 0h24v24H0z"/><path d="M7 11c1 3 3 5 6 6l2-2h1l4 1 1 1v3l-1 1C11 21 3 13 3 4l1-1h4l1 1v5l-2 2z"/>';
|
|
7
|
+
|
|
8
|
+
/**
|
|
3
9
|
* The phone icon component.
|
|
4
10
|
* @param {Object} props The component properties.
|
|
5
11
|
* @returns {JSX}
|
|
6
|
-
*/
|
|
12
|
+
*/
|
|
13
|
+
const Phone = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
14
|
+
content: content
|
|
15
|
+
}, props));
|
|
16
|
+
export default Phone;
|
package/icons/PlaceholderIcon.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The placeholder icon component.
|
|
3
8
|
* @param {Object} props The icon component properties.
|
|
4
9
|
* @returns {JSX}
|
|
5
|
-
*/
|
|
10
|
+
*/
|
|
11
|
+
const Placeholder = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
content: themeConfig.icons.placeholder
|
|
13
|
+
}, props));
|
|
14
|
+
export default Placeholder;
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@shopgate/pwa-common/components/Icon';
|
|
4
|
+
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
|
|
5
|
+
|
|
6
|
+
/**
|
|
2
7
|
* The checked radio component.
|
|
3
8
|
*
|
|
4
9
|
* @link https://material.io/tools/icons/?search=rad&icon=radio_button_checked&style=baseline
|
|
5
10
|
*
|
|
6
11
|
* @param {Object} props The icon component properties.
|
|
7
12
|
* @returns {JSX}
|
|
8
|
-
*/
|
|
13
|
+
*/
|
|
14
|
+
const RadioChecked = props => /*#__PURE__*/React.createElement(Icon, _extends({
|
|
15
|
+
content: themeConfig.icons.radioChecked
|
|
16
|
+
}, props));
|
|
17
|
+
export default RadioChecked;
|