@primer-io/primer-js 0.2.0 → 0.3.0

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.
Files changed (60) hide show
  1. package/dist/chunks/{ar.6MRFCKX4.js → ar.KRXB3WQO.js} +1 -1
  2. package/dist/chunks/{bg.HRSMU7Y5.js → bg.6SKJRXIR.js} +1 -1
  3. package/dist/chunks/{ca.3FSHJL7U.js → ca.SANDLFEK.js} +1 -1
  4. package/dist/chunks/chunk.DV3REKZU.js +1 -0
  5. package/dist/chunks/{cs.WAO4WFS3.js → cs.FC4I5M3C.js} +1 -1
  6. package/dist/chunks/{da.4OFYGDVA.js → da.YI32NZ7B.js} +1 -1
  7. package/dist/chunks/{de.3FZS52IN.js → de.7M7UFQB7.js} +1 -1
  8. package/dist/chunks/{el.A4R7VG5T.js → el.XSGTYDZR.js} +1 -1
  9. package/dist/chunks/en-GB.VO4GDE3X.js +1 -0
  10. package/dist/chunks/en.MNFLVOE3.js +1 -0
  11. package/dist/chunks/{es-AR.QKHDL4JV.js → es-AR.TBWVUZEF.js} +1 -1
  12. package/dist/chunks/{es-MX.GG7MJMG2.js → es-MX.6EMWUABR.js} +1 -1
  13. package/dist/chunks/{es.FEZ6BF3S.js → es.XZLDFHYI.js} +1 -1
  14. package/dist/chunks/{et-EE.FJLPTMF3.js → et-EE.JBSFMKZ2.js} +1 -1
  15. package/dist/chunks/{fi-FI.DM5R27A5.js → fi-FI.I75VK2ID.js} +1 -1
  16. package/dist/chunks/{fr.YZV52NTA.js → fr.JBNP6RXT.js} +1 -1
  17. package/dist/chunks/{he.6SCF3XZZ.js → he.PW253QAL.js} +1 -1
  18. package/dist/chunks/{hr.PPDZ7AAS.js → hr.LM4RITYJ.js} +1 -1
  19. package/dist/chunks/{hu.6WOPSGLW.js → hu.JGCKQA6J.js} +1 -1
  20. package/dist/chunks/{id.NS22WGWL.js → id.VBXULDDY.js} +1 -1
  21. package/dist/chunks/{it.42TO3R4G.js → it.7Q6BFLDK.js} +1 -1
  22. package/dist/chunks/{ja.UEGHEUAP.js → ja.QOC76SSC.js} +1 -1
  23. package/dist/chunks/{ko.HTMDY6RY.js → ko.BANZIFNH.js} +1 -1
  24. package/dist/chunks/{lt-LT.4U3GBQTQ.js → lt-LT.Q2SRJOKH.js} +1 -1
  25. package/dist/chunks/{lt.73ME4TDM.js → lt.XMNFEN5T.js} +1 -1
  26. package/dist/chunks/{lv-LV.JRWO2BF6.js → lv-LV.3AJDTMU5.js} +1 -1
  27. package/dist/chunks/{lv.KROS45TV.js → lv.TFPDXNEV.js} +1 -1
  28. package/dist/chunks/{ms.HE3SWJFQ.js → ms.FPTX4NM4.js} +1 -1
  29. package/dist/chunks/{nb.TR6TEKBY.js → nb.CAFSKRQ2.js} +1 -1
  30. package/dist/chunks/{nl.V5QP6OXL.js → nl.7BPSDYTC.js} +1 -1
  31. package/dist/chunks/{nl_NL.FCVWIF3Y.js → nl_NL.6ZVCFPVW.js} +1 -1
  32. package/dist/chunks/{pl.DQZDG7LR.js → pl.RF34QM23.js} +1 -1
  33. package/dist/chunks/{pt-BR.CR4ROBVE.js → pt-BR.AKDHLRUA.js} +1 -1
  34. package/dist/chunks/{pt.JRWVFJPX.js → pt.VBALOWHZ.js} +1 -1
  35. package/dist/chunks/{ro.NRMWYY3F.js → ro.WN7VCF27.js} +1 -1
  36. package/dist/chunks/{ru.OWSKHXVO.js → ru.ICXGVGRR.js} +1 -1
  37. package/dist/chunks/{sk.YGBRNNWT.js → sk.SIP5JIOX.js} +1 -1
  38. package/dist/chunks/{sl.IRTDTNTP.js → sl.R77UEKCA.js} +1 -1
  39. package/dist/chunks/{sr-RS.AWGLHKVE.js → sr-RS.6M2YSTDX.js} +1 -1
  40. package/dist/chunks/{sv.O4BXFGNF.js → sv.33ZY4CDS.js} +1 -1
  41. package/dist/chunks/{th.GZCEBRT2.js → th.M27YUIZC.js} +1 -1
  42. package/dist/chunks/{tr.ZDILMEEO.js → tr.Q2SIY6NA.js} +1 -1
  43. package/dist/chunks/{uk-UA.JUUBOEW3.js → uk-UA.EJZOGSJR.js} +1 -1
  44. package/dist/chunks/{vi.IN7CFTLL.js → vi.3RROGLXM.js} +1 -1
  45. package/dist/chunks/zf.GGWFQ3Y7.js +1 -0
  46. package/dist/chunks/{zh-CN.RBRAS4RP.js → zh-CN.MQHNRMN4.js} +1 -1
  47. package/dist/chunks/{zh-HK.4CK7LBWM.js → zh-HK.WNR7XUSX.js} +1 -1
  48. package/dist/chunks/{zh-TW.374TMWNJ.js → zh-TW.GNCY2PNY.js} +1 -1
  49. package/dist/custom-elements.json +1314 -843
  50. package/dist/jsx/index.d.ts +85 -87
  51. package/dist/primer-loader.d.ts +852 -2484
  52. package/dist/primer-loader.js +138 -2662
  53. package/dist/primer-react-wrappers.js +121 -2106
  54. package/dist/vscode.html-custom-data.json +54 -30
  55. package/dist/web-types.json +195 -117
  56. package/package.json +7 -2
  57. package/dist/chunks/chunk.I6YWTZRK.js +0 -1
  58. package/dist/chunks/en-GB.ILZ7SXSW.js +0 -1
  59. package/dist/chunks/en.7GZJA7MN.js +0 -1
  60. package/dist/chunks/zf.YT47ULXR.js +0 -1
@@ -62,14 +62,16 @@ type BaseEvents = {};
62
62
 
63
63
  export type PrimerCheckoutComponentProps = {
64
64
  /** */
65
- customStyles?: string;
65
+ "custom-styles"?: string;
66
66
  /** */
67
- clientToken?: string;
67
+ "client-token"?: string;
68
68
  /** */
69
69
  options?: PrimerCheckoutOptions;
70
+ /** */
71
+ "loader-disabled"?: boolean;
70
72
  /** Whether the component has completed initialization and loading
71
73
  This is used to control the CSS-only loader visibility */
72
- _jsInitialized?: boolean;
74
+ "js-initialized"?: boolean;
73
75
  /** */
74
76
  jsInitialized?: boolean;
75
77
  /** */
@@ -108,9 +110,8 @@ When true, the button will display a spinner and be disabled */
108
110
  selectionState?: ButtonSelectionState;
109
111
  /** Indicates if this button is selectable/checkable */
110
112
  selectable?: boolean;
111
-
112
- /** */
113
- "onselection-change"?: (e: CustomEvent<CustomEvent>) => void;
113
+ /** Indicates if wraps the slot in a flex container */
114
+ flex?: boolean;
114
115
  };
115
116
 
116
117
  export type PrimerCheckoutStateComponentProps = {
@@ -138,18 +139,16 @@ export type CollapsableComponentProps = {
138
139
  "onexpanded-changed"?: (e: CustomEvent<CustomEvent>) => void;
139
140
  };
140
141
 
141
- export type DialogComponentProps = {
142
- /** */
143
- "onprimer-dialog-close"?: (e: CustomEvent<CustomEvent>) => void;
144
- };
142
+ export type DialogComponentProps = {};
145
143
 
146
144
  export type ErrorMessageComponentProps = {
147
145
  /** The error message text to display */
148
146
  message?: string;
149
147
  /** Whether the error message is visible */
150
148
  visible?: boolean;
151
- /** Accessibility role for the error message
152
- Defaults to "alert" for proper screen reader announcements */
149
+ /** Accessibility role (defaults to "alert") */
150
+ role?: string;
151
+ /** */
153
152
  role?: string;
154
153
  };
155
154
 
@@ -197,16 +196,16 @@ export type InputComponentProps = {
197
196
  validity?: ValidityState;
198
197
  /** Get the validation message of the input element */
199
198
  validationMessage?: string;
200
- /** Fired when the input receives focus */
201
- onfocus?: (e: CustomEvent<FocusEvent>) => void;
202
- /** Fired when the input loses focus */
203
- onblur?: (e: CustomEvent<FocusEvent>) => void;
204
- /** Fired when the input fails validation */
205
- oninvalid?: (e: CustomEvent<Event>) => void;
206
199
  /** Fired when the input value changes */
207
200
  oninput?: (e: CustomEvent<never>) => void;
208
201
  /** Fired when the input value is committed */
209
202
  onchange?: (e: CustomEvent<never>) => void;
203
+ /** Fired when the input receives focus */
204
+ onfocus?: (e: CustomEvent<never>) => void;
205
+ /** Fired when the input loses focus */
206
+ onblur?: (e: CustomEvent<never>) => void;
207
+ /** Fired when the input fails validation */
208
+ oninvalid?: (e: CustomEvent<never>) => void;
210
209
  };
211
210
 
212
211
  export type InputErrorComponentProps = {
@@ -228,9 +227,6 @@ export type InputWrapperComponentProps = {
228
227
  focusWithin?: boolean;
229
228
  /** */
230
229
  "has-error"?: boolean;
231
-
232
- /** */
233
- "onwrapper-click"?: (e: CustomEvent<CustomEvent>) => void;
234
230
  };
235
231
 
236
232
  export type PortalComponentProps = {
@@ -246,7 +242,7 @@ Defaults to the design system loader color */
246
242
  color?: string;
247
243
  /** Size of the spinner
248
244
  Available values: 'small', 'medium', 'large' or a custom number as string */
249
- size?: SpinnerSize | string;
245
+ size?: SpinnerSize;
250
246
  /** Whether to use compact mode (minimal margins)
251
247
  Useful when embedding in inputs */
252
248
  compact?: boolean;
@@ -258,9 +254,9 @@ export type AchPaymentComponentProps = {
258
254
  /** */
259
255
  paymentManagers?: InitializedManagersMap;
260
256
  /** */
261
- sdkState?: SdkStateContext | undefined;
257
+ sdkState?: SdkStateContextType | undefined;
262
258
  /** */
263
- clientOptions?: ClientOptionsContext | undefined;
259
+ clientOptions?: ClientOptionsContextType | undefined;
264
260
  /** */
265
261
  screen?: "form" | "mandate";
266
262
  /** */
@@ -276,6 +272,8 @@ export type AchPaymentComponentProps = {
276
272
  export type CardFormComponentProps = {
277
273
  /** */
278
274
  "hide-labels"?: boolean;
275
+ /** */
276
+ disabled?: boolean;
279
277
  /** Payment managers injected from context */
280
278
  paymentManagers?: InitializedManagersMap;
281
279
  };
@@ -286,9 +284,9 @@ export type DynamicPaymentComponentProps = {
286
284
  /** */
287
285
  paymentManagers?: InitializedManagersMap;
288
286
  /** */
289
- sdkState?: SdkStateContext;
287
+ sdkState?: SdkStateContextType;
290
288
  /** */
291
- headlessUtils?: HeadlessUnitilsContext;
289
+ headlessUtils?: HeadlessUnitilsContextType;
292
290
  /** */
293
291
  open?: boolean;
294
292
  };
@@ -302,11 +300,15 @@ export type PrimerKlarnaComponentProps = {
302
300
  /** */
303
301
  paymentManagers?: InitializedManagersMap;
304
302
  /** */
305
- sdkState?: SdkStateContext;
303
+ sdkState?: SdkStateContextType;
304
+ /** */
305
+ headlessUtils?: HeadlessUnitilsContextType;
306
+ /** */
307
+ klarnaCategories?: KlarnaCategoriesContextType | null;
306
308
  /** */
307
- headlessUtils?: HeadlessUnitilsContext;
309
+ disabled?: boolean;
308
310
  /** */
309
- klarnaCategories?: KlarnaCategoriesContext | null;
311
+ toggleExpand?: string;
310
312
  };
311
313
 
312
314
  export type NativePaymentComponentProps = {
@@ -316,43 +318,51 @@ export type NativePaymentComponentProps = {
316
318
  paymentManagers?: InitializedManagersMap;
317
319
  /** */
318
320
  computedStyles?: CSSStyleDeclaration | null;
321
+ /** */
322
+ disabled?: boolean;
319
323
  };
320
324
 
321
325
  export type PaymentMethodComponentProps = {
322
326
  /** */
323
327
  type?: PaymentMethodType | undefined;
324
328
  /** */
325
- paymentMethods?: PaymentMethodsContext;
329
+ disabled?: boolean;
330
+ /** */
331
+ paymentMethods?: PaymentMethodsContextType;
326
332
  };
327
333
 
328
334
  export type PrimerCheckoutCompleteComponentProps = {};
329
335
 
330
336
  export type PrimerCheckoutErrorComponentProps = {
331
337
  /** */
332
- sdkState?: SdkStateContext;
338
+ sdkState?: SdkStateContextType;
333
339
  };
334
340
 
335
341
  export type PrimerMainComponentProps = {
336
342
  /** */
337
- paymentMethods?: PaymentMethodsContext;
343
+ paymentMethods?: PaymentMethodsContextType;
344
+ /** */
345
+ sdkState?: SdkStateContextType;
338
346
  /** */
339
- sdkState?: SdkStateContext;
347
+ clientOptions?: ClientOptionsContextType;
340
348
  };
341
349
 
342
350
  export type RedirectPaymentComponentProps = {
343
351
  /** */
344
352
  paymentMethod?: InitializedPaymentMethod | undefined;
345
353
  /** */
354
+ disabled?: boolean;
355
+ /** */
346
356
  paymentManagers?: InitializedManagersMap;
347
357
  /** */
348
- sdkState?: SdkStateContext;
358
+ sdkState?: SdkStateContextType;
349
359
  /** */
350
- headlessUtils?: HeadlessUnitilsContext;
360
+ headlessUtils?: HeadlessUnitilsContextType;
351
361
  };
352
362
 
353
363
  export type ShowOtherPaymentsComponentProps = {
354
364
  /** Consume the vault manager context to interact with vault state */
355
- vaultManager?: VaultManagerContext;
365
+ vaultManager?: VaultManagerContextType;
356
366
  };
357
367
 
358
368
  export type VaultManagerComponentProps = {
@@ -371,7 +381,11 @@ export type VaultManagerComponentProps = {
371
381
  options?: boolean | AddEventListenerOptions,
372
382
  ) => void;
373
383
  /** */
374
- vaultManagerContext?: VaultManagerContext;
384
+ vaultManagerContext?: VaultManagerContextType;
385
+ /** */
386
+ vaultItemContext?: VaultItemContextType;
387
+ /** */
388
+ headlessUtils?: HeadlessUnitilsContextType;
375
389
  };
376
390
 
377
391
  export type CardFormSubmitComponentProps = {
@@ -379,11 +393,13 @@ export type CardFormSubmitComponentProps = {
379
393
  Falls back to localized default if not explicitly set. */
380
394
  buttonText?: string;
381
395
  /** */
382
- headlessInstance?: HeadlessUnitilsContext;
396
+ headlessInstance?: HeadlessUnitilsContextType;
397
+ /** */
398
+ clientOptions?: ClientOptionsContextType;
383
399
  /** */
384
- clientOptions?: ClientOptionsContext;
400
+ sdkState?: SdkStateContextType;
385
401
  /** */
386
- sdkState?: SdkStateContext;
402
+ cardFormContext?: CardFormContext | null;
387
403
  /** The button variant to use. */
388
404
  variant?: string;
389
405
  /** Whether the button is disabled. */
@@ -392,9 +408,9 @@ Falls back to localized default if not explicitly set. */
392
408
 
393
409
  export type CardNetworkSelectorComponentProps = {
394
410
  /** Card networks context from provider */
395
- cardNetworks?: CardNetworksContext;
411
+ cardNetworks?: CardNetworksContextType;
396
412
  /** */
397
- headlessUtils?: HeadlessUnitilsContext;
413
+ headlessUtils?: HeadlessUnitilsContextType;
398
414
  /** Dispatched when a network is selected with the network name as detail */
399
415
  "onnetwork-selected"?: (e: CustomEvent<CustomEvent>) => void;
400
416
  };
@@ -467,16 +483,21 @@ Falls back to localized default if not explicitly set. */
467
483
  cardFormContext?: CardFormContext | null;
468
484
  };
469
485
 
486
+ export type PaymentMethodContentComponentProps = {
487
+ /** The asset configuration containing icon and display data */
488
+ assetConfig?: AssetConfig | null;
489
+ };
490
+
470
491
  export type VaultCvvInputComponentProps = {
471
492
  /** */
472
493
  computedStyles?: CSSStyleDeclaration | null;
473
494
  /** */
474
495
  paymentMethod?: PaymentCardVaultedMethod | null;
475
496
  /** Form context for checking form dirty state */
476
- vaultManagerFormContext?: VaultManagerContext;
497
+ vaultManagerFormContext?: VaultManagerContextType;
477
498
  /** CVV-specific context for dedicated CVV handling
478
499
  Separated to minimize re-renders on frequent CVV input changes */
479
- vaultManagerCvvContext?: VaultItemContext;
500
+ vaultManagerCvvContext?: VaultItemContextType;
480
501
  };
481
502
 
482
503
  export type VaultDeleteConfirmationComponentProps = {
@@ -499,11 +520,7 @@ export type VaultDeleteConfirmationComponentProps = {
499
520
  options?: boolean | AddEventListenerOptions,
500
521
  ) => void;
501
522
  /** Consume the vault manager context to access payment method info */
502
- vaultManager?: VaultManagerContext;
503
- /** */
504
- "onconfirm-delete"?: (e: CustomEvent<CustomEvent>) => void;
505
- /** */
506
- "oncancel-delete"?: (e: CustomEvent<CustomEvent>) => void;
523
+ vaultManager?: VaultManagerContextType;
507
524
  };
508
525
 
509
526
  export type VaultEmptyStateComponentProps = {};
@@ -523,8 +540,6 @@ export type VaultErrorMessageComponentProps = {
523
540
  listener: (ev: VaultManagerEventMap[K]) => void,
524
541
  options?: boolean | AddEventListenerOptions,
525
542
  ) => void;
526
- /** */
527
- "onclose-error"?: (e: CustomEvent<CustomEvent>) => void;
528
543
  };
529
544
 
530
545
  export type VaultManagerHeaderComponentProps = {
@@ -544,13 +559,11 @@ export type VaultManagerHeaderComponentProps = {
544
559
  listener: (ev: VaultManagerEventMap[K]) => void,
545
560
  options?: boolean | AddEventListenerOptions,
546
561
  ) => void;
547
- /** */
548
- "ontoggle-edit-mode"?: (e: CustomEvent<CustomEvent>) => void;
549
562
  };
550
563
 
551
564
  export type VaultPaymentMethodItemComponentProps = {
552
565
  /** */
553
- headlessUtils?: HeadlessUnitilsContext;
566
+ headlessUtils?: HeadlessUnitilsContextType;
554
567
  /** Whether the component is in edit mode */
555
568
  isEditMode?: boolean;
556
569
  /** Strongly typed event declarations */
@@ -566,13 +579,11 @@ export type VaultPaymentMethodItemComponentProps = {
566
579
  options?: boolean | AddEventListenerOptions,
567
580
  ) => void;
568
581
  /** Consume the vault manager context */
569
- vaultManagerContext?: VaultManagerContext;
582
+ vaultManagerContext?: VaultManagerContextType;
570
583
  /** */
571
- vaultItemContext?: VaultItemContext;
584
+ vaultItemContext?: VaultItemContextType;
572
585
  /** The payment method to display */
573
586
  paymentMethod?: VaultedPaymentMethod | null;
574
- /** */
575
- "ondelete-payment-method"?: (e: CustomEvent<CustomEvent>) => void;
576
587
  };
577
588
 
578
589
  export type VaultPaymentSubmitComponentProps = {
@@ -580,9 +591,9 @@ export type VaultPaymentSubmitComponentProps = {
580
591
  Falls back to localized default if not explicitly set. */
581
592
  buttonText?: string;
582
593
  /** */
583
- headlessInstance?: HeadlessUnitilsContext;
594
+ headlessInstance?: HeadlessUnitilsContextType;
584
595
  /** */
585
- sdkState?: SdkStateContext;
596
+ sdkState?: SdkStateContextType;
586
597
  /** The button variant to use. */
587
598
  variant?: string;
588
599
  /** Whether the button is disabled.
@@ -590,9 +601,9 @@ This property allows external disabling of the button
590
601
  regardless of the context state. */
591
602
  disabled?: boolean;
592
603
  /** */
593
- vaultItemContext?: VaultItemContext;
604
+ vaultItemContext?: VaultItemContextType;
594
605
  /** */
595
- vaultManager?: VaultManagerContext;
606
+ vaultManager?: VaultManagerContextType;
596
607
  /** */
597
608
  clientOptions?: PrimerCheckoutOptions | null;
598
609
  };
@@ -615,9 +626,6 @@ export type CustomElements = {
615
626
  *
616
627
  * ---
617
628
  *
618
- *
619
- * ### **Events:**
620
- * - **selection-change**
621
629
  */
622
630
  "primer-button": Partial<ButtonComponentProps & BaseProps & BaseEvents>;
623
631
 
@@ -647,9 +655,6 @@ export type CustomElements = {
647
655
  *
648
656
  * ---
649
657
  *
650
- *
651
- * ### **Events:**
652
- * - **primer-dialog-close**
653
658
  */
654
659
  "primer-dialog": Partial<DialogComponentProps & BaseProps & BaseEvents>;
655
660
 
@@ -683,11 +688,11 @@ export type CustomElements = {
683
688
  *
684
689
  *
685
690
  * ### **Events:**
686
- * - **focus** - Fired when the input receives focus
691
+ * - **input** - Fired when the input value changes
692
+ * - **change** - Fired when the input value is committed
693
+ * - **focus** - Fired when the input receives focus
687
694
  * - **blur** - Fired when the input loses focus
688
695
  * - **invalid** - Fired when the input fails validation
689
- * - **input** - Fired when the input value changes
690
- * - **change** - Fired when the input value is committed
691
696
  *
692
697
  * ### **Methods:**
693
698
  * - **focus(options: _FocusOptions_): _void_** - Focus the input element
@@ -735,9 +740,6 @@ export type CustomElements = {
735
740
  * - Sets proper cursor styling to indicate text input functionality
736
741
  * ---
737
742
  *
738
- *
739
- * ### **Events:**
740
- * - **wrapper-click**
741
743
  */
742
744
  "primer-input-wrapper": Partial<InputWrapperComponentProps & BaseProps & BaseEvents>;
743
745
 
@@ -949,6 +951,15 @@ export type CustomElements = {
949
951
  */
950
952
  "primer-input-cvv": Partial<InputCvvComponentProps & BaseProps & BaseEvents>;
951
953
 
954
+ /**
955
+ * PaymentMethodContentComponent - renders payment method information with icon and details
956
+ * This component encapsulates the display logic and styles for payment method content
957
+ * so it can be reused across different containers without style conflicts
958
+ * ---
959
+ *
960
+ */
961
+ "primer-payment-method-content": Partial<PaymentMethodContentComponentProps & BaseProps & BaseEvents>;
962
+
952
963
  /**
953
964
  * CVV Input component for vault payment methods
954
965
  * Renders a secure iframe for CVV input when required by the selected payment method
@@ -965,10 +976,6 @@ export type CustomElements = {
965
976
  * VaultDeleteConfirmationComponent - displays confirmation UI for deleting a payment method
966
977
  * ---
967
978
  *
968
- *
969
- * ### **Events:**
970
- * - **confirm-delete**
971
- * - **cancel-delete**
972
979
  */
973
980
  "primer-vault-delete-confirmation": Partial<VaultDeleteConfirmationComponentProps & BaseProps & BaseEvents>;
974
981
 
@@ -983,9 +990,6 @@ export type CustomElements = {
983
990
  * VaultErrorMessageComponent - displays error messages with improved visuals
984
991
  * ---
985
992
  *
986
- *
987
- * ### **Events:**
988
- * - **close-error**
989
993
  */
990
994
  "primer-vault-error-message": Partial<VaultErrorMessageComponentProps & BaseProps & BaseEvents>;
991
995
 
@@ -993,9 +997,6 @@ export type CustomElements = {
993
997
  * VaultManagerHeaderComponent - displays the header for the vault manager
994
998
  * ---
995
999
  *
996
- *
997
- * ### **Events:**
998
- * - **toggle-edit-mode**
999
1000
  */
1000
1001
  "primer-vault-manager-header": Partial<VaultManagerHeaderComponentProps & BaseProps & BaseEvents>;
1001
1002
 
@@ -1007,9 +1008,6 @@ export type CustomElements = {
1007
1008
  * Always renders the primer-button for consistent UI and improved accessibility
1008
1009
  * ---
1009
1010
  *
1010
- *
1011
- * ### **Events:**
1012
- * - **delete-payment-method**
1013
1011
  */
1014
1012
  "primer-vault-payment-method-item": Partial<VaultPaymentMethodItemComponentProps & BaseProps & BaseEvents>;
1015
1013