@4alldigital/foundation-ui--gamma 1.62.1 → 1.62.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/dist/foundation-ui.css +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/types/lib/components/FormField/FormField.types.d.ts +1 -1
- package/dist/types/lib/context/Cart/index.d.ts +2 -1
- package/dist/types/lib/forms/PromoCodeForm/PromoCodeForm.d.ts +8 -0
- package/dist/types/lib/forms/PromoCodeForm/PromoCodeForm.types.d.ts +4 -0
- package/dist/types/lib/forms/PromoCodeForm/index.d.ts +1 -0
- package/dist/types/lib/forms/index.d.ts +3 -0
- package/dist/types/lib/templates/ContentScreen/ContentScreen.d.ts +1 -1
- package/dist/types/lib/templates/ContentScreen/ContentScreen.types.d.ts +1 -0
- package/dist/types/lib/templates/DashboardScreen/DashboardScreen.types.d.ts +2 -1
- package/dist/types/lib/templates/SubscriptionScreen/SubscriptionScreen.d.ts +1 -1
- package/dist/types/lib/translations/en.d.ts +63 -0
- package/package.json +3 -2
|
@@ -33,5 +33,5 @@ export interface Props {
|
|
|
33
33
|
onChange?: (e: any) => void;
|
|
34
34
|
validations?: any;
|
|
35
35
|
fileUploadCallback?: (file: any) => void;
|
|
36
|
-
autoComplete?: 'off' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'email' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-currency' | 'transaction-amount' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year';
|
|
36
|
+
autoComplete?: 'off' | 'full-name' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'email' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-currency' | 'transaction-amount' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year';
|
|
37
37
|
}
|
|
@@ -30,7 +30,8 @@ interface ContextProps {
|
|
|
30
30
|
cartTotal?: string;
|
|
31
31
|
};
|
|
32
32
|
handleRemoveFromCart?: (uuid: string) => void;
|
|
33
|
-
|
|
33
|
+
handleAddPromoCode?: (code: string) => void;
|
|
34
|
+
handleRemovePromoCode?: (code: string) => void;
|
|
34
35
|
handleCheckout?: () => void;
|
|
35
36
|
handleItemClick?: (uuid: string) => void;
|
|
36
37
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './PromoCodeForm';
|
|
@@ -4,9 +4,12 @@ export { default as ResetPasswordForm } from './ResetPasswordForm';
|
|
|
4
4
|
export { default as ResetPasswordAuthForm } from './ResetPasswordAuthForm';
|
|
5
5
|
export { default as ForgotPasswordForm } from './ForgotPasswordForm';
|
|
6
6
|
export { default as ProfileForm } from './ProfileForm';
|
|
7
|
+
export { default as PromoCodeForm } from './PromoCodeForm';
|
|
7
8
|
export type { Props as LoginFormProps } from './LoginForm/LoginForm.types';
|
|
8
9
|
export type { Props as RegisterFormProps } from './RegisterForm/RegisterForm.types';
|
|
9
10
|
export type { Props as ResetPasswordFormProps } from './ResetPasswordForm/ResetPasswordForm.types';
|
|
10
11
|
export type { Props as ResetPasswordAuthFormProps } from './ResetPasswordAuthForm/ResetPasswordAuthForm.types';
|
|
11
12
|
export type { Props as ForgotPasswordFormProps } from './ForgotPasswordForm/ForgotPasswordForm.types';
|
|
12
13
|
export type { Props as ProfileFormProps } from './ProfileForm/ProfileForm.types';
|
|
14
|
+
export type { Props as PromoCodeFormProps } from './PromoCodeForm/PromoCodeForm.types';
|
|
15
|
+
export * from "./validations";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from './ContentScreen.types';
|
|
3
3
|
declare const ContentScreen: {
|
|
4
|
-
({ testID, title, image, updated, content, isLoading }: Props): React.ReactElement;
|
|
4
|
+
({ testID, title, image, updated, content, isLoading, isLayoutMinimal, }: Props): React.ReactElement;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default ContentScreen;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { CardProps
|
|
1
|
+
import { Props as CardProps } from '../../components/Card/Card.types';
|
|
2
|
+
import { Props as PanelHeroProps } from '../../components/PanelHero/PanelHero.types';
|
|
2
3
|
import { Props as HeaderProps } from '../../components/Header/Header.types';
|
|
3
4
|
import { Props as FooterProps } from '../../components/Footer/Footer.types';
|
|
4
5
|
export interface Props {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from './SubscriptionScreen.types';
|
|
3
3
|
declare const SubscriptionScreen: {
|
|
4
|
-
({ testID, title, image,
|
|
4
|
+
({ testID, title, image, subscriptionCallback, subscriptionManagerProps, }: Props): React.ReactElement;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default SubscriptionScreen;
|
|
@@ -61,6 +61,9 @@ declare const strings: {
|
|
|
61
61
|
SETTINGS: {
|
|
62
62
|
TITLE: string;
|
|
63
63
|
};
|
|
64
|
+
FAQS: {
|
|
65
|
+
TITLE: string;
|
|
66
|
+
};
|
|
64
67
|
HELP: {
|
|
65
68
|
TITLE: string;
|
|
66
69
|
};
|
|
@@ -73,6 +76,12 @@ declare const strings: {
|
|
|
73
76
|
FAVOURITES: {
|
|
74
77
|
TITLE: string;
|
|
75
78
|
};
|
|
79
|
+
ORDERS: {
|
|
80
|
+
TITLE: string;
|
|
81
|
+
};
|
|
82
|
+
ORDER: {
|
|
83
|
+
TITLE: string;
|
|
84
|
+
};
|
|
76
85
|
};
|
|
77
86
|
};
|
|
78
87
|
FORMS: {
|
|
@@ -139,6 +148,32 @@ declare const strings: {
|
|
|
139
148
|
SUBSCRIPTION_CARD_NUMBER_LABEL: string;
|
|
140
149
|
SUBSCRIPTION_CARD_EXPIRY_LABEL: string;
|
|
141
150
|
SUBSCRIPTION_LAST_UPDATED_LABEL: string;
|
|
151
|
+
COMPANY_NAME_LABEL: string;
|
|
152
|
+
AGENCY_COMPANY_LABEL: string;
|
|
153
|
+
AGENCY_COMPANY_DESCRIPTION: string;
|
|
154
|
+
AGENCY_LABEL: string;
|
|
155
|
+
COMPANY_VAT: string;
|
|
156
|
+
PRIVACY_LABEL: string;
|
|
157
|
+
COMPANY_NAME_DESCRIPTION: string;
|
|
158
|
+
};
|
|
159
|
+
PROMO_CODE_FORM: {
|
|
160
|
+
TITLE: string;
|
|
161
|
+
SUBMIT: string;
|
|
162
|
+
PROMO_CODE: string;
|
|
163
|
+
};
|
|
164
|
+
PAYMENT_FORM: {
|
|
165
|
+
NAME: string;
|
|
166
|
+
PHONE: string;
|
|
167
|
+
EMAIL: string;
|
|
168
|
+
EMAIL_CONFIRM: string;
|
|
169
|
+
BILLING_LINE_1: string;
|
|
170
|
+
BILLING_CITY: string;
|
|
171
|
+
BILLING_COUNTRY: string;
|
|
172
|
+
BILLING_POST_CODE: string;
|
|
173
|
+
TERMS_LABEL: string;
|
|
174
|
+
PAYMENT_CARD: string;
|
|
175
|
+
PROMO_LABEL: string;
|
|
176
|
+
COMPANY_VAT: string;
|
|
142
177
|
};
|
|
143
178
|
};
|
|
144
179
|
VALIDATION: {
|
|
@@ -663,6 +698,34 @@ declare const strings: {
|
|
|
663
698
|
ADD_TO_SUBSCRIPTION: string;
|
|
664
699
|
ADD_TO_FOLLOW: string;
|
|
665
700
|
ADD_TO_FRIEND: string;
|
|
701
|
+
CART: string;
|
|
702
|
+
CART_TOTAL: string;
|
|
703
|
+
CART_EMPTY: string;
|
|
704
|
+
CART_EMPTY_MESSAGE: string;
|
|
705
|
+
CART_EMPTY_CONTINUE: string;
|
|
706
|
+
CART_EMPTY_TITLE: string;
|
|
707
|
+
LOGIN_TO_PURCHASE: string;
|
|
708
|
+
HOME_LABEL: string;
|
|
709
|
+
SEARCH_LABEL: string;
|
|
710
|
+
LOGIN_REGISTER_LABEL: string;
|
|
711
|
+
LOGIN_LABEL: string;
|
|
712
|
+
LOGOUT_LABEL: string;
|
|
713
|
+
REGISTER_LABEL: string;
|
|
714
|
+
PROFILE_LABEL: string;
|
|
715
|
+
ACCOUNT_SETTINGS_LABEL: string;
|
|
716
|
+
HELP_LABEL: string;
|
|
717
|
+
FAQS_LABEL: string;
|
|
718
|
+
HELP_AND_FAQS_LABEL: string;
|
|
719
|
+
CONTACT_LABEL: string;
|
|
720
|
+
COOKIES_LABEL: string;
|
|
721
|
+
TERMS_LABEL: string;
|
|
722
|
+
SUPPLEMENTAL_TERMS_LABEL: string;
|
|
723
|
+
PRIVACY_LABEL: string;
|
|
724
|
+
INSTAGRAM_LABEL: string;
|
|
725
|
+
FACEBOOK_LABEL: string;
|
|
726
|
+
TWITTER_LABEL: string;
|
|
727
|
+
ALREADY_HAVE_ACCOUNT: string;
|
|
728
|
+
FORGOT_PASSWORD_LABEL: string;
|
|
666
729
|
};
|
|
667
730
|
ERRORS: {
|
|
668
731
|
GENERIC_ERROR: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4alldigital/foundation-ui--gamma",
|
|
3
|
-
"version": "1.62.
|
|
3
|
+
"version": "1.62.3",
|
|
4
4
|
"description": "Foundation UI Component library with GAMMA theme. ",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "efbc1318a625aade880784cfbe3d14ac1d6519dd",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@elastic/datemath": "^5.0.3",
|
|
45
45
|
"@elastic/react-search-ui": "^1.21.5",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
54
54
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
55
55
|
"@tailwindcss/forms": "^0.5.8",
|
|
56
|
+
"@tailwindcss/line-clamp": "^0.4.4",
|
|
56
57
|
"@tailwindcss/typography": "^0.5.15",
|
|
57
58
|
"classnames": "^2.5.1",
|
|
58
59
|
"date-fns": "^3.6.0",
|