@rocketspark/domain-checker 0.0.31 → 0.0.32
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/.npmrc.example +1 -1
- package/build/141.index.js +1 -1
- package/build/147.index.js +1 -1
- package/build/167.index.js +1 -1
- package/build/17.index.js +1 -1
- package/build/194.index.js +1 -1
- package/build/208.index.js +1 -1
- package/build/237.index.js +1 -1
- package/build/245.index.js +1 -1
- package/build/278.index.js +1 -1
- package/build/386.index.js +1 -1
- package/build/404.index.js +1 -1
- package/build/420.index.js +1 -1
- package/build/514.index.js +1 -1
- package/build/524.index.js +1 -1
- package/build/540.index.js +1 -1
- package/build/542.index.js +1 -1
- package/build/551.index.js +1 -1
- package/build/567.index.js +1 -1
- package/build/571.index.js +1 -1
- package/build/572.index.js +1 -1
- package/build/584.index.js +1 -1
- package/build/588.index.js +1 -1
- package/build/598.index.js +1 -1
- package/build/60.index.js +1 -1
- package/build/616.index.js +1 -1
- package/build/631.index.js +1 -1
- package/build/643.index.js +1 -1
- package/build/654.index.js +1 -1
- package/build/66.index.js +1 -1
- package/build/697.index.js +1 -1
- package/build/714.index.js +1 -1
- package/build/795.index.js +1 -1
- package/build/8.index.js +1 -1
- package/build/808.index.js +1 -1
- package/build/810.index.js +1 -1
- package/build/833.index.js +1 -1
- package/build/835.index.js +1 -1
- package/build/847.index.js +1 -1
- package/build/853.index.js +1 -1
- package/build/861.index.js +1 -1
- package/build/871.index.js +1 -1
- package/build/890.index.js +1 -1
- package/build/899.index.js +1 -1
- package/build/938.index.js +1 -1
- package/build/964.index.js +1 -1
- package/build/970.index.js +1 -1
- package/build/993.index.js +1 -1
- package/build/css/index.css +2 -2
- package/build/css/index.css.map +1 -1
- package/build/index.js +3 -3
- package/build/index.js.map +1 -1
- package/build/types/Components/Cart.d.ts +4 -1
- package/build/types/Components/DomainSearch.d.ts +1 -1
- package/build/types/Helpers/templates.d.ts +2 -0
- package/build/types/Interfaces/class-names.d.ts +4 -0
- package/build/types/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -4,7 +4,10 @@ import { Locale } from '../Interfaces/locale';
|
|
|
4
4
|
export default class Cart {
|
|
5
5
|
readonly containerElement: HTMLElement;
|
|
6
6
|
private readonly cartElement;
|
|
7
|
+
private emailCheckbox;
|
|
8
|
+
private websiteCheckbox;
|
|
7
9
|
private cartButton;
|
|
10
|
+
private cartRows;
|
|
8
11
|
private emptyCartMessage;
|
|
9
12
|
private priceSummary;
|
|
10
13
|
private cart;
|
|
@@ -15,7 +18,7 @@ export default class Cart {
|
|
|
15
18
|
addDomain(domain: string, domainDetails: DomainResponse): void;
|
|
16
19
|
removeDomain(domain: string): void;
|
|
17
20
|
private resetGetItNowButton;
|
|
18
|
-
private
|
|
21
|
+
private updateCartDisplayState;
|
|
19
22
|
private build;
|
|
20
23
|
private getTemplate;
|
|
21
24
|
}
|
|
@@ -15,6 +15,8 @@ declare const templates: {
|
|
|
15
15
|
cartCaption({ classNames: { cartCaption } }: Options): HTMLParagraphElement;
|
|
16
16
|
cartPriceSummary({ classNames: { cartPriceSummary } }: Options, locale: Locale): HTMLParagraphElement;
|
|
17
17
|
cartRow({ classNames: { cartRow, cartRowDomainDetailsURL, cartRowDomainDetails, cartRowDomainDetailsPrice, cartRowRemove, cartRowDomainDetailsContainer, } }: Options, domain: string, price: string): HTMLDivElement;
|
|
18
|
+
checkbox({ classNames: { checkboxContainer, checkboxLabel, checkboxInput } }: Options, id: string, label: string): HTMLDivElement;
|
|
19
|
+
cartRows({ classNames: { cartRowsContainer } }: Options): HTMLDivElement;
|
|
18
20
|
searchHeading({ classNames: { searchHeading } }: Options): HTMLDivElement;
|
|
19
21
|
icon(classNames: Partial<ClassNames>, className: string): HTMLRsIconElement;
|
|
20
22
|
searchResultText({ classNames: { searchResultCaption } }: Options): HTMLDivElement;
|
|
@@ -35,6 +35,7 @@ export interface ClassNames {
|
|
|
35
35
|
cartCaption: string;
|
|
36
36
|
cartButton: string;
|
|
37
37
|
cartRow: string;
|
|
38
|
+
cartRowsContainer: string;
|
|
38
39
|
cartRowRemove: string;
|
|
39
40
|
cartRowDomainDetails: string;
|
|
40
41
|
cartRowDomainDetailsURL: string;
|
|
@@ -59,4 +60,7 @@ export interface ClassNames {
|
|
|
59
60
|
searchAlternativePricing: string;
|
|
60
61
|
searchAlternativePricingBlurb: string;
|
|
61
62
|
searchAlternativePricingDiscount: string;
|
|
63
|
+
checkboxContainer: string;
|
|
64
|
+
checkboxLabel: string;
|
|
65
|
+
checkboxInput: string;
|
|
62
66
|
}
|
package/build/types/index.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ declare class DomainChecker {
|
|
|
16
16
|
private popupContainer;
|
|
17
17
|
constructor(element: HTMLElement, options?: Partial<Options>);
|
|
18
18
|
static setPopupStatus(popupContainer: PopupContainer, { success, isAvailable, formattedPrice, error }: Partial<DomainResponse>): void;
|
|
19
|
+
private autofillSearchBar;
|
|
20
|
+
private getDomainFromUrl;
|
|
19
21
|
private init;
|
|
20
22
|
private getTemplate;
|
|
21
23
|
private startListening;
|