Skip to content

Commit

Permalink
Update order, account and auth dropins (#247)
Browse files Browse the repository at this point in the history
* Update order, account and auth dropins
  • Loading branch information
Ferri0 authored Dec 11, 2024
1 parent 3713629 commit 501aa54
Show file tree
Hide file tree
Showing 17 changed files with 443 additions and 37 deletions.
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
"dependencies": {
"@adobe/magento-storefront-event-collector": "^1.8.0",
"@adobe/magento-storefront-events-sdk": "^1.8.0",
"@dropins/storefront-account": "1.0.0-beta3",
"@dropins/storefront-auth": "1.0.0-beta2",
"@dropins/storefront-account": "1.0.0-beta5",
"@dropins/storefront-auth": "1.0.0-beta4",
"@dropins/storefront-cart": "1.0.0-beta2",
"@dropins/storefront-checkout": "1.0.0-beta3",
"@dropins/storefront-order": "1.0.0-beta4",
"@dropins/storefront-order": "1.0.0-beta7",
"@dropins/storefront-pdp": "1.0.0-beta3",
"@dropins/tools": "^0.37.0"
}
Expand Down
127 changes: 127 additions & 0 deletions scripts/__dropins__/storefront-account/LICENSE.md

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export declare const useForm: ({ fieldsConfig, onSubmit, onChange, setInputChang
formData: Record<string, string | number>;
errors: Record<string, string>;
formRef: import('preact').RefObject<HTMLFormElement>;
handleInputChange: (event: Event, errorsProp: Record<string, string>) => void;
handleInputChange: (event: Event, errorsProp?: Record<string, string>) => void;
onFocus: (event: Event) => void;
handleBlur: (event: Event, errorsProp: Record<string, string>) => void;
handleBlur: (event: Event, errorsProp?: Record<string, string>) => void;
handleSubmit: (event: SubmitEvent) => void;
handleValidationSubmit: (disableShowError?: boolean) => boolean;
};
Expand Down
2 changes: 1 addition & 1 deletion scripts/__dropins__/storefront-account/render.js

Large diffs are not rendered by default.

127 changes: 127 additions & 0 deletions scripts/__dropins__/storefront-auth/LICENSE.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/__dropins__/storefront-auth/chunks/Button2.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/__dropins__/storefront-auth/chunks/SignUpForm.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* This file defines an array of class names that should be excluded
* from specific init Recaptcha logic.
*
* The array contains class names representing elements that should be
* ignored when certain operations, such as focusing or applying event
* handlers, are executed.
*
* By checking if an element's class matches any class in this array,
* you can easily bypass unwanted logic for those elements, ensuring
* precise and predictable behavior in your application.
*
*/
export declare const excludedFocusClasses: string[];
//# sourceMappingURL=excludedFocusClasses.d.ts.map
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export declare const useForm: ({ fieldsConfig, onSubmit }: useFormProps) => {
handleChange: (event: Event) => void;
handleBlur: (event: Event) => void;
handleSubmit: (event: SubmitEvent) => void;
handleFocus: () => Promise<void>;
handleFocus: (event: FocusEvent) => Promise<void>;
};
//# sourceMappingURL=useForm.d.ts.map
Loading

0 comments on commit 501aa54

Please sign in to comment.