@primer-io/primer-js 0.4.0 → 0.5.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.
@@ -307,6 +307,23 @@
307
307
  "attributes": [],
308
308
  "references": []
309
309
  },
310
+ {
311
+ "name": "primer-blik",
312
+ "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",
313
+ "attributes": [
314
+ {
315
+ "name": "paymentMethod",
316
+ "description": "Payment method configuration",
317
+ "values": [{ "name": "InitializedPaymentMethod" }]
318
+ },
319
+ {
320
+ "name": "disabled",
321
+ "description": "Disables component interaction when true",
322
+ "values": []
323
+ }
324
+ ],
325
+ "references": []
326
+ },
310
327
  {
311
328
  "name": "primer-card-form",
312
329
  "description": "CardFormComponent serves as a container for card input components.\nIt handles form submission, validation, and provides context to child components.\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.4.0",
4
+ "version": "0.5.0",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -827,6 +827,58 @@
827
827
  ]
828
828
  }
829
829
  },
830
+ {
831
+ "name": "primer-blik",
832
+ "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",
833
+ "doc-url": "",
834
+ "attributes": [
835
+ {
836
+ "name": "paymentMethod",
837
+ "description": "Payment method configuration",
838
+ "value": { "type": "InitializedPaymentMethod" }
839
+ },
840
+ {
841
+ "name": "disabled",
842
+ "description": "Disables component interaction when true",
843
+ "value": { "type": "boolean", "default": "false" }
844
+ }
845
+ ],
846
+ "events": [
847
+ {
848
+ "name": "primer-payment-success",
849
+ "description": "Dispatched on successful payment"
850
+ },
851
+ {
852
+ "name": "primer-payment-error",
853
+ "description": "Dispatched on payment error"
854
+ }
855
+ ],
856
+ "js": {
857
+ "properties": [
858
+ {
859
+ "name": "paymentMethod",
860
+ "description": "Payment method configuration",
861
+ "type": "InitializedPaymentMethod"
862
+ },
863
+ {
864
+ "name": "disabled",
865
+ "description": "Disables component interaction when true",
866
+ "type": "boolean"
867
+ },
868
+ { "name": "paymentManagers", "type": "InitializedManagersMap" }
869
+ ],
870
+ "events": [
871
+ {
872
+ "name": "primer-payment-success",
873
+ "description": "Dispatched on successful payment"
874
+ },
875
+ {
876
+ "name": "primer-payment-error",
877
+ "description": "Dispatched on payment error"
878
+ }
879
+ ]
880
+ }
881
+ },
830
882
  {
831
883
  "name": "primer-card-form",
832
884
  "description": "CardFormComponent serves as a container for card input components.\nIt handles form submission, validation, and provides context to child components.\n---\n",
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@primer-io/primer-js",
3
- "description": "Primer Composable 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.",
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.4.0",
5
+ "version": "0.5.0",
6
6
  "type": "module",
7
7
  "main": "./dist/primer-loader.js",
8
8
  "types": "./dist/primer-loader.d.ts",