@primer-io/primer-js 0.14.0 → 0.14.1
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/CHANGELOG.md +6 -0
- package/dist/custom-elements.json +368 -368
- package/dist/jsx/index.d.ts +21 -21
- package/dist/primer-loader.js +2 -2
- package/dist/vscode.html-custom-data.json +14 -14
- package/dist/web-types.json +53 -53
- package/package.json +1 -1
package/dist/jsx/index.d.ts
CHANGED
|
@@ -320,19 +320,6 @@ export type BillingAddressComponentProps = {
|
|
|
320
320
|
"onprimer-billing-address-submit"?: (e: CustomEvent<CustomEvent>) => void;
|
|
321
321
|
};
|
|
322
322
|
|
|
323
|
-
export type BlikComponentProps = {
|
|
324
|
-
/** Payment method configuration */
|
|
325
|
-
paymentMethod?: InitializedPaymentMethod;
|
|
326
|
-
/** Disables component interaction when true */
|
|
327
|
-
disabled?: boolean;
|
|
328
|
-
/** */
|
|
329
|
-
paymentManagers?: InitializedManagersMap;
|
|
330
|
-
/** Dispatched on successful payment */
|
|
331
|
-
"onprimer-payment-success"?: (e: CustomEvent<never>) => void;
|
|
332
|
-
/** Dispatched on payment error */
|
|
333
|
-
"onprimer-payment-error"?: (e: CustomEvent<never>) => void;
|
|
334
|
-
};
|
|
335
|
-
|
|
336
323
|
export type CardFormComponentProps = {
|
|
337
324
|
/** */
|
|
338
325
|
"hide-labels"?: boolean;
|
|
@@ -356,6 +343,19 @@ Uses client configuration with fallback to default (false) */
|
|
|
356
343
|
shouldRequireCardholderName?: boolean;
|
|
357
344
|
};
|
|
358
345
|
|
|
346
|
+
export type BlikComponentProps = {
|
|
347
|
+
/** Payment method configuration */
|
|
348
|
+
paymentMethod?: InitializedPaymentMethod;
|
|
349
|
+
/** Disables component interaction when true */
|
|
350
|
+
disabled?: boolean;
|
|
351
|
+
/** */
|
|
352
|
+
paymentManagers?: InitializedManagersMap;
|
|
353
|
+
/** Dispatched on successful payment */
|
|
354
|
+
"onprimer-payment-success"?: (e: CustomEvent<never>) => void;
|
|
355
|
+
/** Dispatched on payment error */
|
|
356
|
+
"onprimer-payment-error"?: (e: CustomEvent<never>) => void;
|
|
357
|
+
};
|
|
358
|
+
|
|
359
359
|
export type DynamicPaymentComponentProps = {
|
|
360
360
|
/** */
|
|
361
361
|
paymentMethod?: InitializedPaymentMethod | undefined;
|
|
@@ -961,6 +961,14 @@ export type CustomElements = {
|
|
|
961
961
|
*/
|
|
962
962
|
"primer-billing-address": Partial<BillingAddressComponentProps & BaseProps & BaseEvents>;
|
|
963
963
|
|
|
964
|
+
/**
|
|
965
|
+
* CardFormComponent serves as a container for card input components.
|
|
966
|
+
* It handles form submission, validation, and provides context to child components.
|
|
967
|
+
* ---
|
|
968
|
+
*
|
|
969
|
+
*/
|
|
970
|
+
"primer-card-form": Partial<CardFormComponentProps & BaseProps & BaseEvents>;
|
|
971
|
+
|
|
964
972
|
/**
|
|
965
973
|
* BLIK Payment Component
|
|
966
974
|
*
|
|
@@ -975,14 +983,6 @@ export type CustomElements = {
|
|
|
975
983
|
*/
|
|
976
984
|
"primer-blik": Partial<BlikComponentProps & BaseProps & BaseEvents>;
|
|
977
985
|
|
|
978
|
-
/**
|
|
979
|
-
* CardFormComponent serves as a container for card input components.
|
|
980
|
-
* It handles form submission, validation, and provides context to child components.
|
|
981
|
-
* ---
|
|
982
|
-
*
|
|
983
|
-
*/
|
|
984
|
-
"primer-card-form": Partial<CardFormComponentProps & BaseProps & BaseEvents>;
|
|
985
|
-
|
|
986
986
|
/**
|
|
987
987
|
*
|
|
988
988
|
* ---
|