@jetshop/ui 6.3.5 → 7.0.0-alpha-3
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/package.json +2 -3
- package/Accordion/Accordion.d.ts +0 -33
- package/Accordion/Accordion.js +0 -59
- package/Accordion/Accordion.js.map +0 -1
- package/Auth/FormFields/CountriesInput.d.ts +0 -16
- package/Auth/FormFields/CountriesInput.js +0 -28
- package/Auth/FormFields/CountriesInput.js.map +0 -1
- package/Auth/LogInBehavior.d.ts +0 -22
- package/Auth/LogInBehavior.js +0 -24
- package/Auth/LogInBehavior.js.map +0 -1
- package/Auth/LogInFormProvider.d.ts +0 -7
- package/Auth/LogInFormProvider.js +0 -70
- package/Auth/LogInFormProvider.js.map +0 -1
- package/Auth/LogOut.d.ts +0 -10
- package/Auth/LogOut.js +0 -24
- package/Auth/LogOut.js.map +0 -1
- package/Auth/logInValidator.d.ts +0 -10
- package/Auth/logInValidator.js +0 -16
- package/Auth/logInValidator.js.map +0 -1
- package/Breadcrumbs/Breadcrumbs.d.ts +0 -14
- package/Breadcrumbs/Breadcrumbs.js +0 -84
- package/Breadcrumbs/Breadcrumbs.js.map +0 -1
- package/Breadcrumbs/getParentsOrCanonicalRoute.d.ts +0 -3
- package/Breadcrumbs/getParentsOrCanonicalRoute.js +0 -14
- package/Breadcrumbs/getParentsOrCanonicalRoute.js.map +0 -1
- package/Breadcrumbs/index.d.ts +0 -1
- package/Breadcrumbs/index.js +0 -2
- package/Breadcrumbs/index.js.map +0 -1
- package/Breakpoints.d.ts +0 -12
- package/Breakpoints.js +0 -36
- package/Breakpoints.js.map +0 -1
- package/Button/Button.d.ts +0 -14
- package/Button/Button.js +0 -60
- package/Button/Button.js.map +0 -1
- package/Button/SecondaryButton.d.ts +0 -2
- package/Button/SecondaryButton.js +0 -9
- package/Button/SecondaryButton.js.map +0 -1
- package/Button/TrendButton.d.ts +0 -2
- package/Button/TrendButton.js +0 -8
- package/Button/TrendButton.js.map +0 -1
- package/Button/index.d.ts +0 -4
- package/Button/index.js +0 -5
- package/Button/index.js.map +0 -1
- package/CategoryLink.d.ts +0 -11
- package/CategoryLink.js +0 -49
- package/CategoryLink.js.map +0 -1
- package/ChannelSelector/ChannelListItem.d.ts +0 -10
- package/ChannelSelector/ChannelListItem.js +0 -51
- package/ChannelSelector/ChannelListItem.js.map +0 -1
- package/ChannelSelector/ChannelSelector.d.ts +0 -63
- package/ChannelSelector/ChannelSelector.js +0 -80
- package/ChannelSelector/ChannelSelector.js.map +0 -1
- package/ChannelSelector/ChannelSelectorButtons.d.ts +0 -2
- package/ChannelSelector/ChannelSelectorButtons.js +0 -20
- package/ChannelSelector/ChannelSelectorButtons.js.map +0 -1
- package/ChannelSelector/Channels.d.ts +0 -17
- package/ChannelSelector/Channels.js +0 -12
- package/ChannelSelector/Channels.js.map +0 -1
- package/ChannelSelector/LargeSelector.d.ts +0 -3
- package/ChannelSelector/LargeSelector.js +0 -67
- package/ChannelSelector/LargeSelector.js.map +0 -1
- package/ChannelSelector/MiniSelector.d.ts +0 -4
- package/ChannelSelector/MiniSelector.js +0 -58
- package/ChannelSelector/MiniSelector.js.map +0 -1
- package/ChannelSelector/Region.d.ts +0 -28
- package/ChannelSelector/Region.js +0 -21
- package/ChannelSelector/Region.js.map +0 -1
- package/ChannelSelector/groupBy.d.ts +0 -7
- package/ChannelSelector/groupBy.js +0 -16
- package/ChannelSelector/groupBy.js.map +0 -1
- package/Checkbox/Checkbox.d.ts +0 -14
- package/Checkbox/Checkbox.js +0 -70
- package/Checkbox/Checkbox.js.map +0 -1
- package/Checkbox/CheckboxGroup.d.ts +0 -27
- package/Checkbox/CheckboxGroup.js +0 -22
- package/Checkbox/CheckboxGroup.js.map +0 -1
- package/Checkbox/index.d.ts +0 -2
- package/Checkbox/index.js +0 -3
- package/Checkbox/index.js.map +0 -1
- package/ContentPageLink.d.ts +0 -11
- package/ContentPageLink.js +0 -46
- package/ContentPageLink.js.map +0 -1
- package/ContentRenderer.d.ts +0 -9
- package/ContentRenderer.js +0 -36
- package/ContentRenderer.js.map +0 -1
- package/DropdownMenu/Button.d.ts +0 -7
- package/DropdownMenu/Button.js +0 -33
- package/DropdownMenu/Button.js.map +0 -1
- package/DropdownMenu/DropdownMenu.d.ts +0 -21
- package/DropdownMenu/DropdownMenu.js +0 -72
- package/DropdownMenu/DropdownMenu.js.map +0 -1
- package/DropdownMenu/Item.d.ts +0 -13
- package/DropdownMenu/Item.js +0 -48
- package/DropdownMenu/Item.js.map +0 -1
- package/DropdownMenu/Items.d.ts +0 -16
- package/DropdownMenu/Items.js +0 -53
- package/DropdownMenu/Items.js.map +0 -1
- package/DropdownMenu/index.d.ts +0 -4
- package/DropdownMenu/index.js +0 -5
- package/DropdownMenu/index.js.map +0 -1
- package/ErrorBoundary/Generic.d.ts +0 -18
- package/ErrorBoundary/Generic.js +0 -69
- package/ErrorBoundary/Generic.js.map +0 -1
- package/ErrorBoundary/PassThrough.d.ts +0 -3
- package/ErrorBoundary/PassThrough.js +0 -7
- package/ErrorBoundary/PassThrough.js.map +0 -1
- package/Gallery/Gallery.d.ts +0 -39
- package/Gallery/Gallery.js +0 -121
- package/Gallery/Gallery.js.map +0 -1
- package/Gallery/constructGallery.d.ts +0 -15
- package/Gallery/constructGallery.js +0 -40
- package/Gallery/constructGallery.js.map +0 -1
- package/Image/BaseImage.d.ts +0 -39
- package/Image/BaseImage.js +0 -192
- package/Image/BaseImage.js.map +0 -1
- package/Image/Fallback.d.ts +0 -5
- package/Image/Fallback.js +0 -4
- package/Image/Fallback.js.map +0 -1
- package/Image/FlightImage.d.ts +0 -51
- package/Image/FlightImage.js +0 -59
- package/Image/FlightImage.js.map +0 -1
- package/Image/Image.d.ts +0 -2
- package/Image/Image.js +0 -3
- package/Image/Image.js.map +0 -1
- package/Image/index.d.ts +0 -1
- package/Image/index.js +0 -2
- package/Image/index.js.map +0 -1
- package/Image/useConstructImage.d.ts +0 -49
- package/Image/useConstructImage.js +0 -122
- package/Image/useConstructImage.js.map +0 -1
- package/Image/utils/aspectRatioToFraction.d.ts +0 -2
- package/Image/utils/aspectRatioToFraction.js +0 -11
- package/Image/utils/aspectRatioToFraction.js.map +0 -1
- package/Image/utils/getFullUrl.d.ts +0 -6
- package/Image/utils/getFullUrl.js +0 -18
- package/Image/utils/getFullUrl.js.map +0 -1
- package/Image/utils/getImageWidth.d.ts +0 -1
- package/Image/utils/getImageWidth.js +0 -12
- package/Image/utils/getImageWidth.js.map +0 -1
- package/Image/utils/getImageWidths.d.ts +0 -2
- package/Image/utils/getImageWidths.js +0 -21
- package/Image/utils/getImageWidths.js.map +0 -1
- package/Image/utils/getLQIP.d.ts +0 -8
- package/Image/utils/getLQIP.js +0 -20
- package/Image/utils/getLQIP.js.map +0 -1
- package/Image/utils/getLargestSize.d.ts +0 -7
- package/Image/utils/getLargestSize.js +0 -17
- package/Image/utils/getLargestSize.js.map +0 -1
- package/Image/utils/getSizeForBreakpoint.d.ts +0 -2
- package/Image/utils/getSizeForBreakpoint.js +0 -16
- package/Image/utils/getSizeForBreakpoint.js.map +0 -1
- package/Image/utils/getSizesMap.d.ts +0 -2
- package/Image/utils/getSizesMap.js +0 -35
- package/Image/utils/getSizesMap.js.map +0 -1
- package/Image/utils/getSmallestSize.d.ts +0 -2
- package/Image/utils/getSmallestSize.js +0 -12
- package/Image/utils/getSmallestSize.js.map +0 -1
- package/Image/utils/getSrcSetFromWidths.d.ts +0 -10
- package/Image/utils/getSrcSetFromWidths.js +0 -9
- package/Image/utils/getSrcSetFromWidths.js.map +0 -1
- package/Image/utils/getSrcWithParams.d.ts +0 -3
- package/Image/utils/getSrcWithParams.js +0 -29
- package/Image/utils/getSrcWithParams.js.map +0 -1
- package/Image/utils/paddingForAspectRatio.d.ts +0 -1
- package/Image/utils/paddingForAspectRatio.js +0 -6
- package/Image/utils/paddingForAspectRatio.js.map +0 -1
- package/Image/utils/remToPx.d.ts +0 -1
- package/Image/utils/remToPx.js +0 -2
- package/Image/utils/remToPx.js.map +0 -1
- package/Image/utils/sizeToNumber.d.ts +0 -2
- package/Image/utils/sizeToNumber.js +0 -27
- package/Image/utils/sizeToNumber.js.map +0 -1
- package/Input/Input.d.ts +0 -6
- package/Input/Input.js +0 -45
- package/Input/Input.js.map +0 -1
- package/Input/index.d.ts +0 -3
- package/Input/index.js +0 -4
- package/Input/index.js.map +0 -1
- package/JetshopText.d.ts +0 -3
- package/JetshopText.js +0 -13
- package/JetshopText.js.map +0 -1
- package/Loading/LoadingBar.d.ts +0 -8
- package/Loading/LoadingBar.js +0 -58
- package/Loading/LoadingBar.js.map +0 -1
- package/Loading/LoadingLine.d.ts +0 -31
- package/Loading/LoadingLine.js +0 -26
- package/Loading/LoadingLine.js.map +0 -1
- package/Loading/NetworkStatusNotifier.d.ts +0 -6
- package/Loading/NetworkStatusNotifier.js +0 -8
- package/Loading/NetworkStatusNotifier.js.map +0 -1
- package/Menu/MenuContainer.d.ts +0 -28
- package/Menu/MenuContainer.js +0 -46
- package/Menu/MenuContainer.js.map +0 -1
- package/Menu/RecursiveTree.d.ts +0 -28
- package/Menu/RecursiveTree.js +0 -91
- package/Menu/RecursiveTree.js.map +0 -1
- package/Modal/Drawer/Drawer.d.ts +0 -12
- package/Modal/Drawer/Drawer.js +0 -31
- package/Modal/Drawer/Drawer.js.map +0 -1
- package/Modal/Drawer/DrawerTarget.d.ts +0 -6
- package/Modal/Drawer/DrawerTarget.js +0 -12
- package/Modal/Drawer/DrawerTarget.js.map +0 -1
- package/Modal/Drawer/DrawerTrigger.d.ts +0 -11
- package/Modal/Drawer/DrawerTrigger.js +0 -16
- package/Modal/Drawer/DrawerTrigger.js.map +0 -1
- package/Modal/Drawer/index.d.ts +0 -3
- package/Modal/Drawer/index.js +0 -4
- package/Modal/Drawer/index.js.map +0 -1
- package/Modal/Flyout/FlyoutTarget.d.ts +0 -10
- package/Modal/Flyout/FlyoutTarget.js +0 -15
- package/Modal/Flyout/FlyoutTarget.js.map +0 -1
- package/Modal/Flyout/FlyoutTrigger.d.ts +0 -15
- package/Modal/Flyout/FlyoutTrigger.js +0 -18
- package/Modal/Flyout/FlyoutTrigger.js.map +0 -1
- package/Modal/Flyout/index.d.ts +0 -2
- package/Modal/Flyout/index.js +0 -3
- package/Modal/Flyout/index.js.map +0 -1
- package/Modal/ModalContext.d.ts +0 -26
- package/Modal/ModalContext.js +0 -9
- package/Modal/ModalContext.js.map +0 -1
- package/Modal/ModalProvider.d.ts +0 -5
- package/Modal/ModalProvider.js +0 -83
- package/Modal/ModalProvider.js.map +0 -1
- package/Modal/ModalRoot.d.ts +0 -3
- package/Modal/ModalRoot.js +0 -44
- package/Modal/ModalRoot.js.map +0 -1
- package/Modal/ModalTrigger.d.ts +0 -9
- package/Modal/ModalTrigger.js +0 -9
- package/Modal/ModalTrigger.js.map +0 -1
- package/Pagination/Pagination.d.ts +0 -7
- package/Pagination/Pagination.js +0 -23
- package/Pagination/Pagination.js.map +0 -1
- package/Pagination/PaginationBehaviour.d.ts +0 -52
- package/Pagination/PaginationBehaviour.js +0 -68
- package/Pagination/PaginationBehaviour.js.map +0 -1
- package/Pagination/index.d.ts +0 -2
- package/Pagination/index.js +0 -3
- package/Pagination/index.js.map +0 -1
- package/Pagination/usePagination.d.ts +0 -15
- package/Pagination/usePagination.js +0 -46
- package/Pagination/usePagination.js.map +0 -1
- package/PreOrderDateSelector/PreOrderDateSelector.d.ts +0 -23
- package/PreOrderDateSelector/PreOrderDateSelector.js +0 -74
- package/PreOrderDateSelector/PreOrderDateSelector.js.map +0 -1
- package/PreOrderDateSelector/index.d.ts +0 -2
- package/PreOrderDateSelector/index.js +0 -3
- package/PreOrderDateSelector/index.js.map +0 -1
- package/Price/Currency.d.ts +0 -9
- package/Price/Currency.js +0 -11
- package/Price/Currency.js.map +0 -1
- package/Price/Price.d.ts +0 -44
- package/Price/Price.js +0 -74
- package/Price/Price.js.map +0 -1
- package/Price/index.d.ts +0 -1
- package/Price/index.js +0 -2
- package/Price/index.js.map +0 -1
- package/ProductLink.d.ts +0 -23
- package/ProductLink.js +0 -88
- package/ProductLink.js.map +0 -1
- package/ProductList/Badges.d.ts +0 -6
- package/ProductList/Badges.js +0 -56
- package/ProductList/Badges.js.map +0 -1
- package/ProductList/GridProduct.d.ts +0 -24
- package/ProductList/GridProduct.js +0 -58
- package/ProductList/GridProduct.js.map +0 -1
- package/ProductList/ProductGrid.d.ts +0 -16
- package/ProductList/ProductGrid.js +0 -30
- package/ProductList/ProductGrid.js.map +0 -1
- package/ProductList/ProductImage.d.ts +0 -12
- package/ProductList/ProductImage.js +0 -21
- package/ProductList/ProductImage.js.map +0 -1
- package/ProductSpecifications/ProductSpecifications.d.ts +0 -8
- package/ProductSpecifications/ProductSpecifications.js +0 -78
- package/ProductSpecifications/ProductSpecifications.js.map +0 -1
- package/ScrollRestorationHandler/ScrollRestorationHandler.d.ts +0 -8
- package/ScrollRestorationHandler/ScrollRestorationHandler.js +0 -17
- package/ScrollRestorationHandler/ScrollRestorationHandler.js.map +0 -1
- package/ScrollRestorationHandler/index.d.ts +0 -1
- package/ScrollRestorationHandler/index.js +0 -2
- package/ScrollRestorationHandler/index.js.map +0 -1
- package/ScrollRestorationHandler/isInIgnoredRouteTypes.d.ts +0 -8
- package/ScrollRestorationHandler/isInIgnoredRouteTypes.js +0 -8
- package/ScrollRestorationHandler/isInIgnoredRouteTypes.js.map +0 -1
- package/ScrollRestorationHandler/useScrollRestore.d.ts +0 -9
- package/ScrollRestorationHandler/useScrollRestore.js +0 -20
- package/ScrollRestorationHandler/useScrollRestore.js.map +0 -1
- package/Search/SearchAutoCompleteContainer.d.ts +0 -45
- package/Search/SearchAutoCompleteContainer.js +0 -172
- package/Search/SearchAutoCompleteContainer.js.map +0 -1
- package/Search/SearchField.d.ts +0 -26
- package/Search/SearchField.js +0 -98
- package/Search/SearchField.js.map +0 -1
- package/Search/SearchPage/PageOf.d.ts +0 -5
- package/Search/SearchPage/PageOf.js +0 -7
- package/Search/SearchPage/PageOf.js.map +0 -1
- package/Search/SearchPage/SearchMeta.d.ts +0 -16
- package/Search/SearchPage/SearchMeta.js +0 -20
- package/Search/SearchPage/SearchMeta.js.map +0 -1
- package/Search/SearchPage/SearchPageBehaviour.d.ts +0 -19
- package/Search/SearchPage/SearchPageBehaviour.js +0 -75
- package/Search/SearchPage/SearchPageBehaviour.js.map +0 -1
- package/Search/SuggestedTerm.d.ts +0 -16
- package/Search/SuggestedTerm.js +0 -35
- package/Search/SuggestedTerm.js.map +0 -1
- package/Search/index.d.ts +0 -1
- package/Search/index.js +0 -2
- package/Search/index.js.map +0 -1
- package/Select/Components.d.ts +0 -28
- package/Select/Components.js +0 -91
- package/Select/Components.js.map +0 -1
- package/Select/SelectComponents/Quantity.d.ts +0 -5
- package/Select/SelectComponents/Quantity.js +0 -8
- package/Select/SelectComponents/Quantity.js.map +0 -1
- package/Select/index.d.ts +0 -5
- package/Select/index.js +0 -2
- package/Select/index.js.map +0 -1
- package/SortOrder/SortOrder.d.ts +0 -16
- package/SortOrder/SortOrder.js +0 -33
- package/SortOrder/SortOrder.js.map +0 -1
- package/SortOrder/SortOrderDropdown.d.ts +0 -9
- package/SortOrder/SortOrderDropdown.js +0 -25
- package/SortOrder/SortOrderDropdown.js.map +0 -1
- package/SortOrder/SortOrderList.d.ts +0 -7
- package/SortOrder/SortOrderList.js +0 -17
- package/SortOrder/SortOrderList.js.map +0 -1
- package/StartPageRenderer/StartPageRenderer.d.ts +0 -17
- package/StartPageRenderer/StartPageRenderer.js +0 -52
- package/StartPageRenderer/StartPageRenderer.js.map +0 -1
- package/StartPageRenderer/index.d.ts +0 -1
- package/StartPageRenderer/index.js +0 -2
- package/StartPageRenderer/index.js.map +0 -1
- package/Stock/StockStatusContainer.d.ts +0 -21
- package/Stock/StockStatusContainer.js +0 -45
- package/Stock/StockStatusContainer.js.map +0 -1
- package/Text/Text.d.ts +0 -11
- package/Text/Text.js +0 -22
- package/Text/Text.js.map +0 -1
- package/Text/index.d.ts +0 -3
- package/Text/index.js +0 -4
- package/Text/index.js.map +0 -1
- package/Theme/createTheme.d.ts +0 -16
- package/Theme/createTheme.js +0 -5
- package/Theme/createTheme.js.map +0 -1
- package/Theme/cssReset.d.ts +0 -1
- package/Theme/cssReset.js +0 -160
- package/Theme/cssReset.js.map +0 -1
- package/Theme/normalizeCss.d.ts +0 -1
- package/Theme/normalizeCss.js +0 -357
- package/Theme/normalizeCss.js.map +0 -1
- package/Theme/sanitizeCss.d.ts +0 -1
- package/Theme/sanitizeCss.js +0 -572
- package/Theme/sanitizeCss.js.map +0 -1
- package/WindowGrid/WindowGrid.d.ts +0 -11
- package/WindowGrid/WindowGrid.js +0 -58
- package/WindowGrid/WindowGrid.js.map +0 -1
- package/WindowGrid/index.d.ts +0 -1
- package/WindowGrid/index.js +0 -2
- package/WindowGrid/index.js.map +0 -1
- package/WindowGrid/useResizeObserver.d.ts +0 -3
- package/WindowGrid/useResizeObserver.js +0 -14
- package/WindowGrid/useResizeObserver.js.map +0 -1
- package/WindowGrid/useScrollWithWindow.d.ts +0 -12
- package/WindowGrid/useScrollWithWindow.js +0 -39
- package/WindowGrid/useScrollWithWindow.js.map +0 -1
- package/fuzzySearch/fuzzySearch.d.ts +0 -8
- package/fuzzySearch/fuzzySearch.js +0 -43
- package/fuzzySearch/fuzzySearch.js.map +0 -1
- package/fuzzySearch/index.d.ts +0 -1
- package/fuzzySearch/index.js +0 -2
- package/fuzzySearch/index.js.map +0 -1
- package/hooks/index.d.ts +0 -2
- package/hooks/index.js +0 -3
- package/hooks/index.js.map +0 -1
- package/hooks/useOnClickOutside.d.ts +0 -6
- package/hooks/useOnClickOutside.js +0 -17
- package/hooks/useOnClickOutside.js.map +0 -1
- package/hooks/useOnEsc.d.ts +0 -4
- package/hooks/useOnEsc.js +0 -17
- package/hooks/useOnEsc.js.map +0 -1
- package/utils/breakpoints.d.ts +0 -23
- package/utils/breakpoints.js +0 -94
- package/utils/breakpoints.js.map +0 -1
- package/utils/callAllEventHandlers.d.ts +0 -5
- package/utils/callAllEventHandlers.js +0 -9
- package/utils/callAllEventHandlers.js.map +0 -1
- package/utils/text.d.ts +0 -1
- package/utils/text.js +0 -23
- package/utils/text.js.map +0 -1
- package/utils/theme.d.ts +0 -3
- package/utils/theme.js +0 -5
- package/utils/theme.js.map +0 -1
- package/utils/useHoverIntent.d.ts +0 -10
- package/utils/useHoverIntent.js +0 -78
- package/utils/useHoverIntent.js.map +0 -1
- package/utils/usePropsOfType.d.ts +0 -11
- package/utils/usePropsOfType.js +0 -18
- package/utils/usePropsOfType.js.map +0 -1
- package/withFlightUI.d.ts +0 -17
- package/withFlightUI.js +0 -20
- package/withFlightUI.js.map +0 -1
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
function getStatus(statusObject) {
|
|
2
|
-
return statusObject.buyable
|
|
3
|
-
? 'inStock'
|
|
4
|
-
: statusObject.stockNotificationEnabled
|
|
5
|
-
? 'notifyWhenBack'
|
|
6
|
-
: 'outOfStock';
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* deprectaed
|
|
10
|
-
* @deprecated deprecated in favor of jetshop/core/hooks/useStockStatus
|
|
11
|
-
* @returns StockStatusContainerRender
|
|
12
|
-
*/
|
|
13
|
-
function StockStatusContainer({ product, children }) {
|
|
14
|
-
const { status, text, maxOrderQuantity, stockDate } = useStockStatus(product);
|
|
15
|
-
if (!status)
|
|
16
|
-
return null;
|
|
17
|
-
// Mimic fn-as-child pattern
|
|
18
|
-
return children({
|
|
19
|
-
status,
|
|
20
|
-
text,
|
|
21
|
-
maxOrderQuantity,
|
|
22
|
-
stockDate
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
function useStockStatus(product) {
|
|
26
|
-
const stockStatus = product === null || product === void 0 ? void 0 : product.stockStatus;
|
|
27
|
-
if (!stockStatus) {
|
|
28
|
-
console.warn('The provided product does not have a stockStatus');
|
|
29
|
-
return {
|
|
30
|
-
status: null,
|
|
31
|
-
text: null,
|
|
32
|
-
maxOrderQuantity: null,
|
|
33
|
-
stockDate: null
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
status: getStatus(stockStatus),
|
|
38
|
-
text: stockStatus.text || null,
|
|
39
|
-
maxOrderQuantity: stockStatus.maxOrderQuantity,
|
|
40
|
-
stockDate: stockStatus.stockDate
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export default StockStatusContainer;
|
|
44
|
-
export { useStockStatus };
|
|
45
|
-
//# sourceMappingURL=StockStatusContainer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StockStatusContainer.js","sourceRoot":"","sources":["StockStatusContainer.tsx"],"names":[],"mappings":"AAoBA,SAAS,SAAS,CAChB,YAAyB;IAEzB,OAAO,YAAY,CAAC,OAAO;QACzB,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,YAAY,CAAC,wBAAwB;YACvC,CAAC,CAAC,gBAAgB;YAClB,CAAC,CAAC,YAAY,CAAC;AACnB,CAAC;AAED;;;;GAIG;AACH,SAAS,oBAAoB,CAAC,EAC5B,OAAO,EACP,QAAQ,EACkB;IAC1B,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;IAE9E,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IAEzB,4BAA4B;IAC5B,OAAO,QAAQ,CAAC;QACd,MAAM;QACN,IAAI;QACJ,gBAAgB;QAChB,SAAS;KACV,CAAC,CAAC;AACL,CAAC;AAED,SAAS,cAAc,CACrB,OAAiC;IAEjC,MAAM,WAAW,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,CAAC;IAEzC,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,CAAC,IAAI,CAAC,kDAAkD,CAAC,CAAC;QACjE,OAAO;YACL,MAAM,EAAE,IAAI;YACZ,IAAI,EAAE,IAAI;YACV,gBAAgB,EAAE,IAAI;YACtB,SAAS,EAAE,IAAI;SAChB,CAAC;KACH;IAED,OAAO;QACL,MAAM,EAAE,SAAS,CAAC,WAAW,CAAC;QAC9B,IAAI,EAAE,WAAW,CAAC,IAAI,IAAI,IAAI;QAC9B,gBAAgB,EAAE,WAAW,CAAC,gBAAgB;QAC9C,SAAS,EAAE,WAAW,CAAC,SAAS;KACjC,CAAC;AACJ,CAAC;AAED,eAAe,oBAAoB,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
package/Text/Text.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const Text: React.StatelessComponent<React.HTMLProps<any> & {
|
|
3
|
-
as?: string;
|
|
4
|
-
}>;
|
|
5
|
-
export declare const Heading: import("linaria/lib/StyledMeta").StyledMeta & React.FunctionComponent<React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement> & {
|
|
6
|
-
as?: React.ElementType<any>;
|
|
7
|
-
}>;
|
|
8
|
-
export declare const SubHeading: import("linaria/lib/StyledMeta").StyledMeta & React.FunctionComponent<React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement> & {
|
|
9
|
-
as?: React.ElementType<any>;
|
|
10
|
-
}>;
|
|
11
|
-
export default Text;
|
package/Text/Text.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import React from 'react';
|
|
13
|
-
import { styled } from 'linaria/react';
|
|
14
|
-
const Text = (_a) => {
|
|
15
|
-
var { as, children } = _a, props = __rest(_a, ["as", "children"]);
|
|
16
|
-
const Base = styled(as || 'p') ``;
|
|
17
|
-
return React.createElement(Base, Object.assign({}, props), children);
|
|
18
|
-
};
|
|
19
|
-
export const Heading = styled('h2') ``;
|
|
20
|
-
export const SubHeading = styled('h3') ``;
|
|
21
|
-
export default Text;
|
|
22
|
-
//# sourceMappingURL=Text.js.map
|
package/Text/Text.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Text.js","sourceRoot":"","sources":["Text.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,MAAM,IAAI,GAEL,CAAC,EAA+B,EAAE,EAAE;QAAnC,EAAE,EAAE,EAAE,QAAQ,OAAiB,EAAZ,KAAK,cAAxB,kBAA0B,CAAF;IAC5B,MAAM,IAAI,GAAG,MAAM,CAAC,EAAE,IAAI,GAAG,CAAC,CAAA,EAAE,CAAC;IACjC,OAAO,oBAAC,IAAI,oBAAK,KAAK,GAAG,QAAQ,CAAQ,CAAC;AAC5C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA,EAAE,CAAC;AAEtC,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA,EAAE,CAAC;AAEzC,eAAe,IAAI,CAAC"}
|
package/Text/index.d.ts
DELETED
package/Text/index.js
DELETED
package/Text/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACnD,eAAe,IAAI,CAAC;AACpB,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
package/Theme/createTheme.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BreakpointModel } from '../utils/breakpoints';
|
|
2
|
-
interface Theme {
|
|
3
|
-
default: {
|
|
4
|
-
breakpoints: BreakpointModel;
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
};
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
}
|
|
9
|
-
export declare function createTheme<T extends Theme, D extends T['default']>(theme: T): {
|
|
10
|
-
breakpointMap: import("../utils/breakpoints").BreakpointMap<D["breakpoints"], keyof D["breakpoints"]>[];
|
|
11
|
-
above: { [P in keyof D["breakpoints"]]: string; };
|
|
12
|
-
below: { [P_1 in keyof D["breakpoints"]]: string; };
|
|
13
|
-
between: any;
|
|
14
|
-
only: { [P_2 in keyof D["breakpoints"]]: string; };
|
|
15
|
-
} & D;
|
|
16
|
-
export {};
|
package/Theme/createTheme.js
DELETED
package/Theme/createTheme.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createTheme.js","sourceRoot":"","sources":["createTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAmB,MAAM,sBAAsB,CAAC;AAUhF,MAAM,UAAU,WAAW,CAA0C,KAAQ;IAC3E,uCACK,uBAAuB,CAAC,KAAK,CAAC,OAAO,CAAC,WAA+B,CAAC,GACrE,KAAK,CAAC,OAAa,EACvB;AACJ,CAAC"}
|
package/Theme/cssReset.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/Theme/cssReset.js
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { css } from 'linaria';
|
|
2
|
-
css `
|
|
3
|
-
:global() {
|
|
4
|
-
html,
|
|
5
|
-
body,
|
|
6
|
-
div,
|
|
7
|
-
span,
|
|
8
|
-
applet,
|
|
9
|
-
object,
|
|
10
|
-
iframe,
|
|
11
|
-
h1,
|
|
12
|
-
h2,
|
|
13
|
-
h3,
|
|
14
|
-
h4,
|
|
15
|
-
h5,
|
|
16
|
-
h6,
|
|
17
|
-
p,
|
|
18
|
-
blockquote,
|
|
19
|
-
pre,
|
|
20
|
-
a,
|
|
21
|
-
abbr,
|
|
22
|
-
acronym,
|
|
23
|
-
address,
|
|
24
|
-
big,
|
|
25
|
-
cite,
|
|
26
|
-
code,
|
|
27
|
-
del,
|
|
28
|
-
dfn,
|
|
29
|
-
em,
|
|
30
|
-
img,
|
|
31
|
-
ins,
|
|
32
|
-
kbd,
|
|
33
|
-
q,
|
|
34
|
-
s,
|
|
35
|
-
samp,
|
|
36
|
-
small,
|
|
37
|
-
strike,
|
|
38
|
-
strong,
|
|
39
|
-
sub,
|
|
40
|
-
sup,
|
|
41
|
-
tt,
|
|
42
|
-
var,
|
|
43
|
-
b,
|
|
44
|
-
u,
|
|
45
|
-
i,
|
|
46
|
-
center,
|
|
47
|
-
dl,
|
|
48
|
-
dt,
|
|
49
|
-
dd,
|
|
50
|
-
ol,
|
|
51
|
-
ul,
|
|
52
|
-
li,
|
|
53
|
-
fieldset,
|
|
54
|
-
form,
|
|
55
|
-
label,
|
|
56
|
-
legend,
|
|
57
|
-
table,
|
|
58
|
-
caption,
|
|
59
|
-
tbody,
|
|
60
|
-
tfoot,
|
|
61
|
-
thead,
|
|
62
|
-
tr,
|
|
63
|
-
th,
|
|
64
|
-
td,
|
|
65
|
-
article,
|
|
66
|
-
aside,
|
|
67
|
-
canvas,
|
|
68
|
-
details,
|
|
69
|
-
embed,
|
|
70
|
-
figure,
|
|
71
|
-
figcaption,
|
|
72
|
-
footer,
|
|
73
|
-
header,
|
|
74
|
-
hgroup,
|
|
75
|
-
menu,
|
|
76
|
-
nav,
|
|
77
|
-
output,
|
|
78
|
-
ruby,
|
|
79
|
-
section,
|
|
80
|
-
summary,
|
|
81
|
-
time,
|
|
82
|
-
mark,
|
|
83
|
-
audio,
|
|
84
|
-
video,
|
|
85
|
-
button {
|
|
86
|
-
margin: 0;
|
|
87
|
-
padding: 0;
|
|
88
|
-
border: 0;
|
|
89
|
-
font-size: 100%;
|
|
90
|
-
font: inherit;
|
|
91
|
-
vertical-align: baseline;
|
|
92
|
-
}
|
|
93
|
-
/* HTML5 display-role reset for older browsers */
|
|
94
|
-
article,
|
|
95
|
-
aside,
|
|
96
|
-
details,
|
|
97
|
-
figcaption,
|
|
98
|
-
figure,
|
|
99
|
-
footer,
|
|
100
|
-
header,
|
|
101
|
-
hgroup,
|
|
102
|
-
menu,
|
|
103
|
-
nav,
|
|
104
|
-
section {
|
|
105
|
-
display: block;
|
|
106
|
-
}
|
|
107
|
-
body {
|
|
108
|
-
line-height: 1;
|
|
109
|
-
overflow-x: hidden;
|
|
110
|
-
}
|
|
111
|
-
ol,
|
|
112
|
-
ul {
|
|
113
|
-
list-style: none;
|
|
114
|
-
}
|
|
115
|
-
blockquote,
|
|
116
|
-
q {
|
|
117
|
-
quotes: none;
|
|
118
|
-
}
|
|
119
|
-
blockquote:before,
|
|
120
|
-
blockquote:after,
|
|
121
|
-
q:before,
|
|
122
|
-
q:after {
|
|
123
|
-
content: '';
|
|
124
|
-
content: none;
|
|
125
|
-
}
|
|
126
|
-
table {
|
|
127
|
-
border-collapse: collapse;
|
|
128
|
-
border-spacing: 0;
|
|
129
|
-
}
|
|
130
|
-
html,
|
|
131
|
-
body {
|
|
132
|
-
height: 100%;
|
|
133
|
-
font-family: '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"',
|
|
134
|
-
'"Roboto"', '"Oxygen"', '"Ubuntu"', '"Cantarell"', '"Fira Sans"',
|
|
135
|
-
'"Droid Sans"', '"Helvetica Neue"', 'sans-serif';
|
|
136
|
-
}
|
|
137
|
-
html,
|
|
138
|
-
body,
|
|
139
|
-
#root {
|
|
140
|
-
min-height: 100%;
|
|
141
|
-
}
|
|
142
|
-
#root {
|
|
143
|
-
display: flex;
|
|
144
|
-
flex-direction: column;
|
|
145
|
-
}
|
|
146
|
-
button {
|
|
147
|
-
cursor: pointer;
|
|
148
|
-
}
|
|
149
|
-
input {
|
|
150
|
-
-webkit-appearance: none;
|
|
151
|
-
}
|
|
152
|
-
.ReactModal__Body--open {
|
|
153
|
-
overflow: hidden;
|
|
154
|
-
}
|
|
155
|
-
.ReactModal__Overlay--after-open {
|
|
156
|
-
overflow: scroll;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
`;
|
|
160
|
-
//# sourceMappingURL=cssReset.js.map
|
package/Theme/cssReset.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cssReset.js","sourceRoot":"","sources":["cssReset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAE9B,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6JF,CAAC"}
|
package/Theme/normalizeCss.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/Theme/normalizeCss.js
DELETED
|
@@ -1,357 +0,0 @@
|
|
|
1
|
-
import { css } from 'linaria';
|
|
2
|
-
css `
|
|
3
|
-
:global() {
|
|
4
|
-
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
5
|
-
|
|
6
|
-
/* Document
|
|
7
|
-
========================================================================== */
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* 1. Correct the line height in all browsers.
|
|
11
|
-
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
html {
|
|
15
|
-
line-height: 1.15; /* 1 */
|
|
16
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* Sections
|
|
20
|
-
========================================================================== */
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Remove the margin in all browsers.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
body {
|
|
27
|
-
margin: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Render the 'main' element consistently in IE
|
|
32
|
-
*/
|
|
33
|
-
|
|
34
|
-
main {
|
|
35
|
-
display: block;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Correct the font size and margin on 'h1' elements within 'section' and
|
|
40
|
-
* 'article' contexts in Chrome, Firefox, and Safari.
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
h1 {
|
|
44
|
-
font-size: 2em;
|
|
45
|
-
margin: 0.67em 0;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/* Grouping content
|
|
49
|
-
========================================================================== */
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* 1. Add the correct box sizing in Firefox.
|
|
53
|
-
* 2. Show the overflow in Edge and IE.
|
|
54
|
-
*/
|
|
55
|
-
|
|
56
|
-
hr {
|
|
57
|
-
box-sizing: content-box; /* 1 */
|
|
58
|
-
height: 0; /* 1 */
|
|
59
|
-
overflow: visible; /* 2 */
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
64
|
-
* 2. Correct the odd 'em' font sizing in all browsers.
|
|
65
|
-
*/
|
|
66
|
-
|
|
67
|
-
pre {
|
|
68
|
-
font-family: monospace, monospace; /* 1 */
|
|
69
|
-
font-size: 1em; /* 2 */
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/* Text-level semantics
|
|
73
|
-
========================================================================== */
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Remove the gray background on active links in IE 10.
|
|
77
|
-
*/
|
|
78
|
-
|
|
79
|
-
a {
|
|
80
|
-
background-color: transparent;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* 1. Remove the bottom border in Chrome 57-
|
|
85
|
-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
abbr[title] {
|
|
89
|
-
border-bottom: none; /* 1 */
|
|
90
|
-
text-decoration: underline; /* 2 */
|
|
91
|
-
text-decoration: underline dotted; /* 2 */
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
96
|
-
*/
|
|
97
|
-
|
|
98
|
-
b,
|
|
99
|
-
strong {
|
|
100
|
-
font-weight: bolder;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
105
|
-
* 2. Correct the odd 'em' font sizing in all browsers.
|
|
106
|
-
*/
|
|
107
|
-
|
|
108
|
-
code,
|
|
109
|
-
kbd,
|
|
110
|
-
samp {
|
|
111
|
-
font-family: monospace, monospace; /* 1 */
|
|
112
|
-
font-size: 1em; /* 2 */
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Add the correct font size in all browsers.
|
|
117
|
-
*/
|
|
118
|
-
|
|
119
|
-
small {
|
|
120
|
-
font-size: 80%;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Prevent 'sub' and 'sup' elements from affecting the line height in
|
|
125
|
-
* all browsers.
|
|
126
|
-
*/
|
|
127
|
-
|
|
128
|
-
sub,
|
|
129
|
-
sup {
|
|
130
|
-
font-size: 75%;
|
|
131
|
-
line-height: 0;
|
|
132
|
-
position: relative;
|
|
133
|
-
vertical-align: baseline;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
sub {
|
|
137
|
-
bottom: -0.25em;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
sup {
|
|
141
|
-
top: -0.5em;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/* Embedded content
|
|
145
|
-
========================================================================== */
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* Remove the border on images inside links in IE 10.
|
|
149
|
-
*/
|
|
150
|
-
|
|
151
|
-
img {
|
|
152
|
-
border-style: none;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
/* Forms
|
|
156
|
-
========================================================================== */
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* 1. Change the font styles in all browsers.
|
|
160
|
-
* 2. Remove the margin in Firefox and Safari.
|
|
161
|
-
*/
|
|
162
|
-
|
|
163
|
-
button,
|
|
164
|
-
input,
|
|
165
|
-
optgroup,
|
|
166
|
-
select,
|
|
167
|
-
textarea {
|
|
168
|
-
font-family: inherit; /* 1 */
|
|
169
|
-
font-size: 100%; /* 1 */
|
|
170
|
-
line-height: 1.15; /* 1 */
|
|
171
|
-
margin: 0; /* 2 */
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Show the overflow in IE.
|
|
176
|
-
* 1. Show the overflow in Edge.
|
|
177
|
-
*/
|
|
178
|
-
|
|
179
|
-
button,
|
|
180
|
-
input {
|
|
181
|
-
/* 1 */
|
|
182
|
-
overflow: visible;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
187
|
-
* 1. Remove the inheritance of text transform in Firefox.
|
|
188
|
-
*/
|
|
189
|
-
|
|
190
|
-
button,
|
|
191
|
-
select {
|
|
192
|
-
/* 1 */
|
|
193
|
-
text-transform: none;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Correct the inability to style clickable types in iOS and Safari.
|
|
198
|
-
*/
|
|
199
|
-
|
|
200
|
-
button,
|
|
201
|
-
[type='button'],
|
|
202
|
-
[type='reset'],
|
|
203
|
-
[type='submit'] {
|
|
204
|
-
-webkit-appearance: button;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Remove the inner border and padding in Firefox.
|
|
209
|
-
*/
|
|
210
|
-
|
|
211
|
-
button::-moz-focus-inner,
|
|
212
|
-
[type='button']::-moz-focus-inner,
|
|
213
|
-
[type='reset']::-moz-focus-inner,
|
|
214
|
-
[type='submit']::-moz-focus-inner {
|
|
215
|
-
border-style: none;
|
|
216
|
-
padding: 0;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* Restore the focus styles unset by the previous rule.
|
|
221
|
-
*/
|
|
222
|
-
|
|
223
|
-
button:-moz-focusring,
|
|
224
|
-
[type='button']:-moz-focusring,
|
|
225
|
-
[type='reset']:-moz-focusring,
|
|
226
|
-
[type='submit']:-moz-focusring {
|
|
227
|
-
outline: 1px dotted ButtonText;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Correct the padding in Firefox.
|
|
232
|
-
*/
|
|
233
|
-
|
|
234
|
-
fieldset {
|
|
235
|
-
padding: 0.35em 0.75em 0.625em;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* 1. Correct the text wrapping in Edge and IE.
|
|
240
|
-
* 2. Correct the color inheritance from 'fieldset' elements in IE.
|
|
241
|
-
* 3. Remove the padding so developers are not caught out when they zero out
|
|
242
|
-
* 'fieldset' elements in all browsers.
|
|
243
|
-
*/
|
|
244
|
-
|
|
245
|
-
legend {
|
|
246
|
-
box-sizing: border-box; /* 1 */
|
|
247
|
-
color: inherit; /* 2 */
|
|
248
|
-
display: table; /* 1 */
|
|
249
|
-
max-width: 100%; /* 1 */
|
|
250
|
-
padding: 0; /* 3 */
|
|
251
|
-
white-space: normal; /* 1 */
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
256
|
-
*/
|
|
257
|
-
|
|
258
|
-
progress {
|
|
259
|
-
vertical-align: baseline;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* Remove the default vertical scrollbar in IE 10+.
|
|
264
|
-
*/
|
|
265
|
-
|
|
266
|
-
textarea {
|
|
267
|
-
overflow: auto;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* 1. Add the correct box sizing in IE 10.
|
|
272
|
-
* 2. Remove the padding in IE 10.
|
|
273
|
-
*/
|
|
274
|
-
|
|
275
|
-
[type='checkbox'],
|
|
276
|
-
[type='radio'] {
|
|
277
|
-
box-sizing: border-box; /* 1 */
|
|
278
|
-
padding: 0; /* 2 */
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
283
|
-
*/
|
|
284
|
-
|
|
285
|
-
[type='number']::-webkit-inner-spin-button,
|
|
286
|
-
[type='number']::-webkit-outer-spin-button {
|
|
287
|
-
height: auto;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* 1. Correct the odd appearance in Chrome and Safari.
|
|
292
|
-
* 2. Correct the outline style in Safari.
|
|
293
|
-
*/
|
|
294
|
-
|
|
295
|
-
[type='search'] {
|
|
296
|
-
-webkit-appearance: textfield; /* 1 */
|
|
297
|
-
outline-offset: -2px; /* 2 */
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* Remove the inner padding in Chrome and Safari on macOS.
|
|
302
|
-
*/
|
|
303
|
-
|
|
304
|
-
[type='search']::-webkit-search-decoration {
|
|
305
|
-
-webkit-appearance: none;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
310
|
-
* 2. Change font properties to 'inherit' in Safari.
|
|
311
|
-
*/
|
|
312
|
-
|
|
313
|
-
::-webkit-file-upload-button {
|
|
314
|
-
-webkit-appearance: button; /* 1 */
|
|
315
|
-
font: inherit; /* 2 */
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
/* Interactive
|
|
319
|
-
========================================================================== */
|
|
320
|
-
|
|
321
|
-
/*
|
|
322
|
-
* Add the correct display in Edge, IE 10+, and Firefox.
|
|
323
|
-
*/
|
|
324
|
-
|
|
325
|
-
details {
|
|
326
|
-
display: block;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
/*
|
|
330
|
-
* Add the correct display in all browsers.
|
|
331
|
-
*/
|
|
332
|
-
|
|
333
|
-
summary {
|
|
334
|
-
display: list-item;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
/* Misc
|
|
338
|
-
========================================================================== */
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* Add the correct display in IE 10+.
|
|
342
|
-
*/
|
|
343
|
-
|
|
344
|
-
template {
|
|
345
|
-
display: none;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* Add the correct display in IE 10.
|
|
350
|
-
*/
|
|
351
|
-
|
|
352
|
-
[hidden] {
|
|
353
|
-
display: none;
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
`;
|
|
357
|
-
//# sourceMappingURL=normalizeCss.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"normalizeCss.js","sourceRoot":"","sources":["normalizeCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAE9B,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkWF,CAAC"}
|
package/Theme/sanitizeCss.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|