@4alldigital/foundation-ui--gamma 1.62.0 → 1.62.2
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/components/FullContentBackgroundImage/FullContentBackgroundImage.d.ts +8 -0
- package/dist/types/lib/components/FullContentBackgroundImage/FullContentBackgroundImage.types.d.ts +6 -0
- package/dist/types/lib/components/FullContentBackgroundImage/index.d.ts +1 -0
- package/dist/types/lib/components/index.d.ts +4 -0
- package/dist/types/lib/context/App/index.d.ts +1 -0
- package/dist/types/lib/context/Cart/index.d.ts +2 -1
- package/dist/types/lib/context/Theme/index.d.ts +1 -0
- 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 +2 -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 +90 -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
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './FullContentBackgroundImage.types';
|
|
3
|
+
declare const FullContentBackgroundImage: {
|
|
4
|
+
({ testID, children, image, imageMob }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default FullContentBackgroundImage;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './FullContentBackgroundImage';
|
|
@@ -55,6 +55,8 @@ export { default as Loader } from './Loader';
|
|
|
55
55
|
export { default as Video } from './Video';
|
|
56
56
|
export { default as OTPInput } from './OTPInput';
|
|
57
57
|
export { default as FullScreenVideoModal } from './FullScreenVideoModal';
|
|
58
|
+
export { default as Cart } from './Cart';
|
|
59
|
+
export { default as FullContentBackgroundImage } from './FullContentBackgroundImage';
|
|
58
60
|
export type { Props as BlockquoteProps } from './Blockquote/Blockquote.types';
|
|
59
61
|
export type { Props as ButtonProps } from './Button/Button.types';
|
|
60
62
|
export { BTN_TYPES, BTN_VARIANTS, BTN_SIZES } from './Button/Button.types';
|
|
@@ -119,4 +121,6 @@ export type { Props as CarouselProps } from './Carousel/Carousel.types';
|
|
|
119
121
|
export type { Props as AccordionProps } from './Accordion/Accordion.types';
|
|
120
122
|
export type { Props as SubscriptionManagerProps } from './SubscriptionManager/SubscriptionManager.types';
|
|
121
123
|
export type { Props as FullScreenVideoModalProps } from './FullScreenVideoModal/FullScreenVideoModal.types';
|
|
124
|
+
export type { Props as CartProps } from './Cart/Cart.types';
|
|
125
|
+
export type { Props as FullContentBackgroundImageProps } from './FullContentBackgroundImage/FullContentBackgroundImage.types';
|
|
122
126
|
export type { Props as HeaderProps } from './Header/Header.types';
|
|
@@ -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,11 @@ 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';
|
|
@@ -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: {
|
|
@@ -615,6 +650,61 @@ declare const strings: {
|
|
|
615
650
|
PROMO_CODE: string;
|
|
616
651
|
EMPTY: string;
|
|
617
652
|
ORDERING: string;
|
|
653
|
+
DESCRIPTION: string;
|
|
654
|
+
PRICE: string;
|
|
655
|
+
QUANTITY: string;
|
|
656
|
+
SUBTOTAL: string;
|
|
657
|
+
SHIPPING: string;
|
|
658
|
+
SHIPPING_ADDRESS: string;
|
|
659
|
+
BILLING_ADDRESS: string;
|
|
660
|
+
PAYMENT: string;
|
|
661
|
+
PAYMENT_METHOD: string;
|
|
662
|
+
PAYMENT_DETAILS: string;
|
|
663
|
+
PAYMENT_SUCCESS: string;
|
|
664
|
+
PAYMENT_FAILED: string;
|
|
665
|
+
PAYMENT_CANCELLED: string;
|
|
666
|
+
PAYMENT_PENDING: string;
|
|
667
|
+
PAYMENT_PROCESSING: string;
|
|
668
|
+
PAYMENT_CONFIRM: string;
|
|
669
|
+
PAYMENT_CONFIRMATION: string;
|
|
670
|
+
PAYMENT_CONFIRMED: string;
|
|
671
|
+
PAYMENT_COMPLETE: string;
|
|
672
|
+
PAYMENT_INCOMPLETE: string;
|
|
673
|
+
PAYMENT_ERROR: string;
|
|
674
|
+
PAYMENT_ERROR_MESSAGE: string;
|
|
675
|
+
PAYMENT_SUCCESS_MESSAGE: string;
|
|
676
|
+
PAYMENT_FAILED_MESSAGE: string;
|
|
677
|
+
PAYMENT_CANCELLED_MESSAGE: string;
|
|
678
|
+
PAYMENT_PENDING_MESSAGE: string;
|
|
679
|
+
DOWNLOAD_MEDIA: string;
|
|
680
|
+
DOWNLOAD_MEDIA_MESSAGE: string;
|
|
681
|
+
LINK_VALID: string;
|
|
682
|
+
USAGE: string;
|
|
683
|
+
FORMAT: string;
|
|
684
|
+
VIDEO_RESOLUTION: string;
|
|
685
|
+
FRAME_RATE: string;
|
|
686
|
+
BIT_RATE: string;
|
|
687
|
+
AUDIO_BIT_RATE: string;
|
|
688
|
+
AUDIO_SAMPLE_RATE: string;
|
|
689
|
+
AUDIO_CHANNELS: string;
|
|
690
|
+
AUDIO_CODEC: string;
|
|
691
|
+
VIDEO_CODEC: string;
|
|
692
|
+
AI_GENERATED: string;
|
|
693
|
+
REQUEST_DOWNLOAD: string;
|
|
694
|
+
ADD_TO_CART: string;
|
|
695
|
+
ADD_TO_FAVORITES: string;
|
|
696
|
+
ADD_TO_WATCHLIST: string;
|
|
697
|
+
ADD_TO_PLAYLIST: string;
|
|
698
|
+
ADD_TO_SUBSCRIPTION: string;
|
|
699
|
+
ADD_TO_FOLLOW: string;
|
|
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;
|
|
618
708
|
};
|
|
619
709
|
ERRORS: {
|
|
620
710
|
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.2",
|
|
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": "6b1f59bf16e56e36543cf7feeca3b761690cdbaa",
|
|
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",
|