@primer-io/primer-js 0.14.1 → 1.0.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.
@@ -306,20 +306,6 @@
306
306
  "attributes": [],
307
307
  "references": []
308
308
  },
309
- {
310
- "name": "primer-card-form",
311
- "description": "CardFormComponent serves as a container for card input components.\nIt handles form submission, validation, and provides context to child components.\n---\n",
312
- "attributes": [
313
- { "name": "hide-labels", "values": [] },
314
- { "name": "disabled", "values": [] },
315
- {
316
- "name": "paymentManagers",
317
- "description": "Payment managers injected from context",
318
- "values": [{ "name": "InitializedManagersMap" }]
319
- }
320
- ],
321
- "references": []
322
- },
323
309
  {
324
310
  "name": "primer-blik",
325
311
  "description": "BLIK Payment Component\n\nConsolidated component handling BLIK payment flow from button click through\npayment completion. Uses a 4-state machine for managing the user experience.\n---\n\n\n### **Events:**\n - **primer-payment-success** - Dispatched on successful payment\n- **primer-payment-error** - Dispatched on payment error",
@@ -337,6 +323,20 @@
337
323
  ],
338
324
  "references": []
339
325
  },
326
+ {
327
+ "name": "primer-card-form",
328
+ "description": "CardFormComponent serves as a container for card input components.\nIt handles form submission, validation, and provides context to child components.\n---\n",
329
+ "attributes": [
330
+ { "name": "hide-labels", "values": [] },
331
+ { "name": "disabled", "values": [] },
332
+ {
333
+ "name": "paymentManagers",
334
+ "description": "Payment managers injected from context",
335
+ "values": [{ "name": "InitializedManagersMap" }]
336
+ }
337
+ ],
338
+ "references": []
339
+ },
340
340
  {
341
341
  "name": "primer-dynamic-payment",
342
342
  "description": "\n---\n",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@primer-io/primer-js",
4
- "version": "0.14.1",
4
+ "version": "1.0.0",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -839,6 +839,58 @@
839
839
  ]
840
840
  }
841
841
  },
842
+ {
843
+ "name": "primer-blik",
844
+ "description": "BLIK Payment Component\n\nConsolidated component handling BLIK payment flow from button click through\npayment completion. Uses a 4-state machine for managing the user experience.\n---\n\n\n### **Events:**\n - **primer-payment-success** - Dispatched on successful payment\n- **primer-payment-error** - Dispatched on payment error",
845
+ "doc-url": "",
846
+ "attributes": [
847
+ {
848
+ "name": "paymentMethod",
849
+ "description": "Payment method configuration",
850
+ "value": { "type": "InitializedPaymentMethod" }
851
+ },
852
+ {
853
+ "name": "disabled",
854
+ "description": "Disables component interaction when true",
855
+ "value": { "type": "boolean", "default": "false" }
856
+ }
857
+ ],
858
+ "events": [
859
+ {
860
+ "name": "primer-payment-success",
861
+ "description": "Dispatched on successful payment"
862
+ },
863
+ {
864
+ "name": "primer-payment-error",
865
+ "description": "Dispatched on payment error"
866
+ }
867
+ ],
868
+ "js": {
869
+ "properties": [
870
+ {
871
+ "name": "paymentMethod",
872
+ "description": "Payment method configuration",
873
+ "type": "InitializedPaymentMethod"
874
+ },
875
+ {
876
+ "name": "disabled",
877
+ "description": "Disables component interaction when true",
878
+ "type": "boolean"
879
+ },
880
+ { "name": "paymentManagers", "type": "InitializedManagersMap" }
881
+ ],
882
+ "events": [
883
+ {
884
+ "name": "primer-payment-success",
885
+ "description": "Dispatched on successful payment"
886
+ },
887
+ {
888
+ "name": "primer-payment-error",
889
+ "description": "Dispatched on payment error"
890
+ }
891
+ ]
892
+ }
893
+ },
842
894
  {
843
895
  "name": "primer-card-form",
844
896
  "description": "CardFormComponent serves as a container for card input components.\nIt handles form submission, validation, and provides context to child components.\n---\n",
@@ -905,58 +957,6 @@
905
957
  "events": []
906
958
  }
907
959
  },
908
- {
909
- "name": "primer-blik",
910
- "description": "BLIK Payment Component\n\nConsolidated component handling BLIK payment flow from button click through\npayment completion. Uses a 4-state machine for managing the user experience.\n---\n\n\n### **Events:**\n - **primer-payment-success** - Dispatched on successful payment\n- **primer-payment-error** - Dispatched on payment error",
911
- "doc-url": "",
912
- "attributes": [
913
- {
914
- "name": "paymentMethod",
915
- "description": "Payment method configuration",
916
- "value": { "type": "InitializedPaymentMethod" }
917
- },
918
- {
919
- "name": "disabled",
920
- "description": "Disables component interaction when true",
921
- "value": { "type": "boolean", "default": "false" }
922
- }
923
- ],
924
- "events": [
925
- {
926
- "name": "primer-payment-success",
927
- "description": "Dispatched on successful payment"
928
- },
929
- {
930
- "name": "primer-payment-error",
931
- "description": "Dispatched on payment error"
932
- }
933
- ],
934
- "js": {
935
- "properties": [
936
- {
937
- "name": "paymentMethod",
938
- "description": "Payment method configuration",
939
- "type": "InitializedPaymentMethod"
940
- },
941
- {
942
- "name": "disabled",
943
- "description": "Disables component interaction when true",
944
- "type": "boolean"
945
- },
946
- { "name": "paymentManagers", "type": "InitializedManagersMap" }
947
- ],
948
- "events": [
949
- {
950
- "name": "primer-payment-success",
951
- "description": "Dispatched on successful payment"
952
- },
953
- {
954
- "name": "primer-payment-error",
955
- "description": "Dispatched on payment error"
956
- }
957
- ]
958
- }
959
- },
960
960
  {
961
961
  "name": "primer-dynamic-payment",
962
962
  "description": "\n---\n",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@primer-io/primer-js",
3
3
  "description": "Primer Checkout is a web component-based SDK for building secure, customizable, and PCI-compliant checkout experiences. Designed with a modular architecture, it integrates seamlessly with any JavaScript framework and supports multiple payment methods.",
4
4
  "license": "BSD-3-Clause",
5
- "version": "0.14.1",
5
+ "version": "1.0.0",
6
6
  "type": "module",
7
7
  "main": "./dist/primer-loader.js",
8
8
  "types": "./dist/primer-loader.d.ts",