@primer-io/primer-js 0.15.0 → 1.0.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 +17 -0
- package/dist/custom-elements.json +2128 -2297
- package/dist/jsx/index.d.ts +67 -67
- package/dist/primer-loader.d.ts +75 -154
- package/dist/primer-loader.js +10 -10
- package/dist/vscode.html-custom-data.json +39 -39
- package/dist/web-types.json +100 -100
- package/package.json +1 -1
|
@@ -75,15 +75,6 @@
|
|
|
75
75
|
],
|
|
76
76
|
"references": []
|
|
77
77
|
},
|
|
78
|
-
{
|
|
79
|
-
"name": "primer-dialog",
|
|
80
|
-
"description": "\n---\n\n\n### **Events:**\n - **primer:dialog-open**\n- **primer:dialog-close**\n\n### **Methods:**\n - **startExitAnimation(): _void_** - Public method to trigger exit animation programmatically",
|
|
81
|
-
"attributes": [
|
|
82
|
-
{ "name": "size", "values": [{ "name": "flex" }, { "name": "large" }] },
|
|
83
|
-
{ "name": "showCloseButton", "values": [] }
|
|
84
|
-
],
|
|
85
|
-
"references": []
|
|
86
|
-
},
|
|
87
78
|
{
|
|
88
79
|
"name": "primer-collapsable",
|
|
89
80
|
"description": "A collapsable component that smoothly expands and collapses content.\nUses CSS Grid for smooth animation and incorporates the primary button.\n---\n\n\n### **Events:**\n - **expanded-changed**\n\n### **Methods:**\n - **expand(): _void_** - Expand the collapsable programmatically\n- **collapse(): _void_** - Collapse the collapsable programmatically",
|
|
@@ -121,6 +112,15 @@
|
|
|
121
112
|
],
|
|
122
113
|
"references": []
|
|
123
114
|
},
|
|
115
|
+
{
|
|
116
|
+
"name": "primer-dialog",
|
|
117
|
+
"description": "\n---\n\n\n### **Events:**\n - **primer:dialog-open**\n- **primer:dialog-close**\n\n### **Methods:**\n - **startExitAnimation(): _void_** - Public method to trigger exit animation programmatically",
|
|
118
|
+
"attributes": [
|
|
119
|
+
{ "name": "size", "values": [{ "name": "flex" }, { "name": "large" }] },
|
|
120
|
+
{ "name": "showCloseButton", "values": [] }
|
|
121
|
+
],
|
|
122
|
+
"references": []
|
|
123
|
+
},
|
|
124
124
|
{
|
|
125
125
|
"name": "primer-error-message",
|
|
126
126
|
"description": "A reusable atomic error message component that displays error information\nwith appropriate styling and accessibility attributes.\n\nThis component is fully accessible and designed to work with screen readers.\nIt includes animations for visibility transitions.\n---\n\n\n### **CSS Parts:**\n - **error-message** - The main error message container\n- **error-icon** - The error icon container\n- **error-content** - The error text content",
|
|
@@ -579,8 +579,8 @@
|
|
|
579
579
|
"references": []
|
|
580
580
|
},
|
|
581
581
|
{
|
|
582
|
-
"name": "primer-input-
|
|
583
|
-
"description": "\n---\n\n\n### **Methods:**\n \n- **getError(): _string|null_** - Get the error code from the hosted input controller when the input is submitted or touched\n\nCan be used instead of the error returned by the `validate()` method since internally `primer-sdk-web`\nuses the same logic to compute the error code
|
|
582
|
+
"name": "primer-input-card-number",
|
|
583
|
+
"description": "Card number input component with dynamic card network detection and selection\n---\n\n\n### **Methods:**\n \n\n- **getError(): _string|null_** - Get the error code from the hosted input controller when the input is submitted or touched\n\nCan be used instead of the error returned by the `validate()` method since internally `primer-sdk-web`\nuses the same logic to compute the error code",
|
|
584
584
|
"attributes": [
|
|
585
585
|
{
|
|
586
586
|
"name": "computedStyles",
|
|
@@ -605,8 +605,8 @@
|
|
|
605
605
|
"references": []
|
|
606
606
|
},
|
|
607
607
|
{
|
|
608
|
-
"name": "primer-input-
|
|
609
|
-
"description": "
|
|
608
|
+
"name": "primer-input-cvv",
|
|
609
|
+
"description": "\n---\n\n\n### **Methods:**\n \n- **getError(): _string|null_** - Get the error code from the hosted input controller when the input is submitted or touched\n\nCan be used instead of the error returned by the `validate()` method since internally `primer-sdk-web`\nuses the same logic to compute the error code\n",
|
|
610
610
|
"attributes": [
|
|
611
611
|
{
|
|
612
612
|
"name": "computedStyles",
|
|
@@ -678,21 +678,6 @@
|
|
|
678
678
|
],
|
|
679
679
|
"references": []
|
|
680
680
|
},
|
|
681
|
-
{
|
|
682
|
-
"name": "primer-vault-cvv-input",
|
|
683
|
-
"description": "CVV Input component for vault payment methods\nRenders a secure iframe for CVV input when required by the selected payment method\nUses dedicated CVV context to minimize re-renders\n---\n\n\n### **Methods:**\n - **onCvvInputChange()** - Update CVV metadata in the context when input changes",
|
|
684
|
-
"attributes": [
|
|
685
|
-
{
|
|
686
|
-
"name": "computedStyles",
|
|
687
|
-
"values": [{ "name": "CSSStyleDeclaration" }]
|
|
688
|
-
},
|
|
689
|
-
{
|
|
690
|
-
"name": "paymentMethod",
|
|
691
|
-
"values": [{ "name": "PaymentCardVaultedMethod" }]
|
|
692
|
-
}
|
|
693
|
-
],
|
|
694
|
-
"references": []
|
|
695
|
-
},
|
|
696
681
|
{
|
|
697
682
|
"name": "primer-payment-method-content",
|
|
698
683
|
"description": "PaymentMethodContentComponent - renders payment method information with icon and details\nThis component encapsulates the display logic and styles for payment method content\nso it can be reused across different containers without style conflicts\n---\n",
|
|
@@ -722,23 +707,26 @@
|
|
|
722
707
|
"references": []
|
|
723
708
|
},
|
|
724
709
|
{
|
|
725
|
-
"name": "primer-vault-
|
|
726
|
-
"description": "
|
|
727
|
-
"attributes": [],
|
|
728
|
-
"references": []
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
"name": "primer-vault-error-message",
|
|
732
|
-
"description": "VaultErrorMessageComponent - displays error messages with improved visuals\n---\n",
|
|
710
|
+
"name": "primer-vault-cvv-input",
|
|
711
|
+
"description": "CVV Input component for vault payment methods\nRenders a secure iframe for CVV input when required by the selected payment method\nUses dedicated CVV context to minimize re-renders\n---\n\n\n### **Methods:**\n - **onCvvInputChange()** - Update CVV metadata in the context when input changes",
|
|
733
712
|
"attributes": [
|
|
734
713
|
{
|
|
735
|
-
"name": "
|
|
736
|
-
"
|
|
737
|
-
|
|
714
|
+
"name": "computedStyles",
|
|
715
|
+
"values": [{ "name": "CSSStyleDeclaration" }]
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "paymentMethod",
|
|
719
|
+
"values": [{ "name": "PaymentCardVaultedMethod" }]
|
|
738
720
|
}
|
|
739
721
|
],
|
|
740
722
|
"references": []
|
|
741
723
|
},
|
|
724
|
+
{
|
|
725
|
+
"name": "primer-vault-empty-state",
|
|
726
|
+
"description": "VaultEmptyStateComponent - displays when no payment methods are available\n---\n",
|
|
727
|
+
"attributes": [],
|
|
728
|
+
"references": []
|
|
729
|
+
},
|
|
742
730
|
{
|
|
743
731
|
"name": "primer-vault-manager-header",
|
|
744
732
|
"description": "VaultManagerHeaderComponent - displays the header for the vault manager\n---\n",
|
|
@@ -756,6 +744,18 @@
|
|
|
756
744
|
],
|
|
757
745
|
"references": []
|
|
758
746
|
},
|
|
747
|
+
{
|
|
748
|
+
"name": "primer-vault-error-message",
|
|
749
|
+
"description": "VaultErrorMessageComponent - displays error messages with improved visuals\n---\n",
|
|
750
|
+
"attributes": [
|
|
751
|
+
{
|
|
752
|
+
"name": "errorMessage",
|
|
753
|
+
"description": "The error message to display",
|
|
754
|
+
"values": []
|
|
755
|
+
}
|
|
756
|
+
],
|
|
757
|
+
"references": []
|
|
758
|
+
},
|
|
759
759
|
{
|
|
760
760
|
"name": "primer-vault-payment-method-item",
|
|
761
761
|
"description": "VaultPaymentMethodItemComponent - displays a single payment method\nUses the VaultManagerController for display formatting\nNow supports selection via the simplified button checked state\nEnhanced with smooth transitions between edit and payment modes\nAlways renders the primer-button for consistent UI and improved accessibility\n---\n",
|
package/dist/web-types.json
CHANGED
|
@@ -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
|
+
"version": "1.0.1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -179,35 +179,6 @@
|
|
|
179
179
|
"events": []
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
|
-
{
|
|
183
|
-
"name": "primer-dialog",
|
|
184
|
-
"description": "\n---\n\n\n### **Events:**\n - **primer:dialog-open**\n- **primer:dialog-close**\n\n### **Methods:**\n - **startExitAnimation(): _void_** - Public method to trigger exit animation programmatically",
|
|
185
|
-
"doc-url": "",
|
|
186
|
-
"attributes": [
|
|
187
|
-
{
|
|
188
|
-
"name": "size",
|
|
189
|
-
"value": { "type": "'flex' | 'large'", "default": "'flex'" }
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"name": "showCloseButton",
|
|
193
|
-
"value": { "type": "boolean", "default": "true" }
|
|
194
|
-
}
|
|
195
|
-
],
|
|
196
|
-
"events": [
|
|
197
|
-
{ "name": "primer:dialog-open", "type": "CustomEvent" },
|
|
198
|
-
{ "name": "primer:dialog-close", "type": "CustomEvent" }
|
|
199
|
-
],
|
|
200
|
-
"js": {
|
|
201
|
-
"properties": [
|
|
202
|
-
{ "name": "size", "type": "'flex' | 'large'" },
|
|
203
|
-
{ "name": "showCloseButton", "type": "boolean" }
|
|
204
|
-
],
|
|
205
|
-
"events": [
|
|
206
|
-
{ "name": "primer:dialog-open", "type": "CustomEvent" },
|
|
207
|
-
{ "name": "primer:dialog-close", "type": "CustomEvent" }
|
|
208
|
-
]
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
182
|
{
|
|
212
183
|
"name": "primer-collapsable",
|
|
213
184
|
"description": "A collapsable component that smoothly expands and collapses content.\nUses CSS Grid for smooth animation and incorporates the primary button.\n---\n\n\n### **Events:**\n - **expanded-changed**\n\n### **Methods:**\n - **expand(): _void_** - Expand the collapsable programmatically\n- **collapse(): _void_** - Collapse the collapsable programmatically",
|
|
@@ -286,6 +257,35 @@
|
|
|
286
257
|
"events": [{ "name": "expanded-changed", "type": "CustomEvent" }]
|
|
287
258
|
}
|
|
288
259
|
},
|
|
260
|
+
{
|
|
261
|
+
"name": "primer-dialog",
|
|
262
|
+
"description": "\n---\n\n\n### **Events:**\n - **primer:dialog-open**\n- **primer:dialog-close**\n\n### **Methods:**\n - **startExitAnimation(): _void_** - Public method to trigger exit animation programmatically",
|
|
263
|
+
"doc-url": "",
|
|
264
|
+
"attributes": [
|
|
265
|
+
{
|
|
266
|
+
"name": "size",
|
|
267
|
+
"value": { "type": "'flex' | 'large'", "default": "'flex'" }
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "showCloseButton",
|
|
271
|
+
"value": { "type": "boolean", "default": "true" }
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"events": [
|
|
275
|
+
{ "name": "primer:dialog-open", "type": "CustomEvent" },
|
|
276
|
+
{ "name": "primer:dialog-close", "type": "CustomEvent" }
|
|
277
|
+
],
|
|
278
|
+
"js": {
|
|
279
|
+
"properties": [
|
|
280
|
+
{ "name": "size", "type": "'flex' | 'large'" },
|
|
281
|
+
{ "name": "showCloseButton", "type": "boolean" }
|
|
282
|
+
],
|
|
283
|
+
"events": [
|
|
284
|
+
{ "name": "primer:dialog-open", "type": "CustomEvent" },
|
|
285
|
+
{ "name": "primer:dialog-close", "type": "CustomEvent" }
|
|
286
|
+
]
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
289
|
{
|
|
290
290
|
"name": "primer-error-message",
|
|
291
291
|
"description": "A reusable atomic error message component that displays error information\nwith appropriate styling and accessibility attributes.\n\nThis component is fully accessible and designed to work with screen readers.\nIt includes animations for visibility transitions.\n---\n\n\n### **CSS Parts:**\n - **error-message** - The main error message container\n- **error-icon** - The error icon container\n- **error-content** - The error text content",
|
|
@@ -1535,8 +1535,8 @@
|
|
|
1535
1535
|
}
|
|
1536
1536
|
},
|
|
1537
1537
|
{
|
|
1538
|
-
"name": "primer-input-
|
|
1539
|
-
"description": "\n---\n\n\n### **Methods:**\n \n- **getError(): _string|null_** - Get the error code from the hosted input controller when the input is submitted or touched\n\nCan be used instead of the error returned by the `validate()` method since internally `primer-sdk-web`\nuses the same logic to compute the error code
|
|
1538
|
+
"name": "primer-input-card-number",
|
|
1539
|
+
"description": "Card number input component with dynamic card network detection and selection\n---\n\n\n### **Methods:**\n \n\n- **getError(): _string|null_** - Get the error code from the hosted input controller when the input is submitted or touched\n\nCan be used instead of the error returned by the `validate()` method since internally `primer-sdk-web`\nuses the same logic to compute the error code",
|
|
1540
1540
|
"doc-url": "",
|
|
1541
1541
|
"attributes": [
|
|
1542
1542
|
{
|
|
@@ -1590,8 +1590,8 @@
|
|
|
1590
1590
|
}
|
|
1591
1591
|
},
|
|
1592
1592
|
{
|
|
1593
|
-
"name": "primer-input-
|
|
1594
|
-
"description": "
|
|
1593
|
+
"name": "primer-input-cvv",
|
|
1594
|
+
"description": "\n---\n\n\n### **Methods:**\n \n- **getError(): _string|null_** - Get the error code from the hosted input controller when the input is submitted or touched\n\nCan be used instead of the error returned by the `validate()` method since internally `primer-sdk-web`\nuses the same logic to compute the error code\n",
|
|
1595
1595
|
"doc-url": "",
|
|
1596
1596
|
"attributes": [
|
|
1597
1597
|
{
|
|
@@ -1746,51 +1746,6 @@
|
|
|
1746
1746
|
"events": []
|
|
1747
1747
|
}
|
|
1748
1748
|
},
|
|
1749
|
-
{
|
|
1750
|
-
"name": "primer-vault-cvv-input",
|
|
1751
|
-
"description": "CVV Input component for vault payment methods\nRenders a secure iframe for CVV input when required by the selected payment method\nUses dedicated CVV context to minimize re-renders\n---\n\n\n### **Methods:**\n - **onCvvInputChange()** - Update CVV metadata in the context when input changes",
|
|
1752
|
-
"doc-url": "",
|
|
1753
|
-
"attributes": [
|
|
1754
|
-
{
|
|
1755
|
-
"name": "computedStyles",
|
|
1756
|
-
"value": {
|
|
1757
|
-
"type": "CSSStyleDeclaration | null",
|
|
1758
|
-
"default": "null"
|
|
1759
|
-
}
|
|
1760
|
-
},
|
|
1761
|
-
{
|
|
1762
|
-
"name": "paymentMethod",
|
|
1763
|
-
"value": {
|
|
1764
|
-
"type": "PaymentCardVaultedMethod | null",
|
|
1765
|
-
"default": "null"
|
|
1766
|
-
}
|
|
1767
|
-
}
|
|
1768
|
-
],
|
|
1769
|
-
"events": [],
|
|
1770
|
-
"js": {
|
|
1771
|
-
"properties": [
|
|
1772
|
-
{
|
|
1773
|
-
"name": "vaultManagerFormContext",
|
|
1774
|
-
"description": "Form context for checking form dirty state",
|
|
1775
|
-
"type": "VaultManagerContextType"
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
"name": "vaultManagerCvvContext",
|
|
1779
|
-
"description": "CVV-specific context for dedicated CVV handling\nSeparated to minimize re-renders on frequent CVV input changes",
|
|
1780
|
-
"type": "VaultItemContextType"
|
|
1781
|
-
},
|
|
1782
|
-
{
|
|
1783
|
-
"name": "computedStyles",
|
|
1784
|
-
"type": "CSSStyleDeclaration | null"
|
|
1785
|
-
},
|
|
1786
|
-
{
|
|
1787
|
-
"name": "paymentMethod",
|
|
1788
|
-
"type": "PaymentCardVaultedMethod | null"
|
|
1789
|
-
}
|
|
1790
|
-
],
|
|
1791
|
-
"events": []
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
1749
|
{
|
|
1795
1750
|
"name": "primer-payment-method-content",
|
|
1796
1751
|
"description": "PaymentMethodContentComponent - renders payment method information with icon and details\nThis component encapsulates the display logic and styles for payment method content\nso it can be reused across different containers without style conflicts\n---\n",
|
|
@@ -1866,45 +1821,58 @@
|
|
|
1866
1821
|
}
|
|
1867
1822
|
},
|
|
1868
1823
|
{
|
|
1869
|
-
"name": "primer-vault-
|
|
1870
|
-
"description": "
|
|
1871
|
-
"doc-url": "",
|
|
1872
|
-
"attributes": [],
|
|
1873
|
-
"events": [],
|
|
1874
|
-
"js": { "properties": [], "events": [] }
|
|
1875
|
-
},
|
|
1876
|
-
{
|
|
1877
|
-
"name": "primer-vault-error-message",
|
|
1878
|
-
"description": "VaultErrorMessageComponent - displays error messages with improved visuals\n---\n",
|
|
1824
|
+
"name": "primer-vault-cvv-input",
|
|
1825
|
+
"description": "CVV Input component for vault payment methods\nRenders a secure iframe for CVV input when required by the selected payment method\nUses dedicated CVV context to minimize re-renders\n---\n\n\n### **Methods:**\n - **onCvvInputChange()** - Update CVV metadata in the context when input changes",
|
|
1879
1826
|
"doc-url": "",
|
|
1880
1827
|
"attributes": [
|
|
1881
1828
|
{
|
|
1882
|
-
"name": "
|
|
1883
|
-
"
|
|
1884
|
-
|
|
1829
|
+
"name": "computedStyles",
|
|
1830
|
+
"value": {
|
|
1831
|
+
"type": "CSSStyleDeclaration | null",
|
|
1832
|
+
"default": "null"
|
|
1833
|
+
}
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"name": "paymentMethod",
|
|
1837
|
+
"value": {
|
|
1838
|
+
"type": "PaymentCardVaultedMethod | null",
|
|
1839
|
+
"default": "null"
|
|
1840
|
+
}
|
|
1885
1841
|
}
|
|
1886
1842
|
],
|
|
1887
1843
|
"events": [],
|
|
1888
1844
|
"js": {
|
|
1889
1845
|
"properties": [
|
|
1890
1846
|
{
|
|
1891
|
-
"name": "
|
|
1892
|
-
"description": "
|
|
1893
|
-
"type": "
|
|
1847
|
+
"name": "vaultManagerFormContext",
|
|
1848
|
+
"description": "Form context for checking form dirty state",
|
|
1849
|
+
"type": "VaultManagerContextType"
|
|
1894
1850
|
},
|
|
1895
1851
|
{
|
|
1896
|
-
"name": "
|
|
1897
|
-
"
|
|
1852
|
+
"name": "vaultManagerCvvContext",
|
|
1853
|
+
"description": "CVV-specific context for dedicated CVV handling\nSeparated to minimize re-renders on frequent CVV input changes",
|
|
1854
|
+
"type": "VaultItemContextType"
|
|
1898
1855
|
},
|
|
1899
1856
|
{
|
|
1900
|
-
"name": "
|
|
1901
|
-
"
|
|
1902
|
-
|
|
1857
|
+
"name": "computedStyles",
|
|
1858
|
+
"type": "CSSStyleDeclaration | null"
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"name": "paymentMethod",
|
|
1862
|
+
"type": "PaymentCardVaultedMethod | null"
|
|
1903
1863
|
}
|
|
1904
1864
|
],
|
|
1905
1865
|
"events": []
|
|
1906
1866
|
}
|
|
1907
1867
|
},
|
|
1868
|
+
{
|
|
1869
|
+
"name": "primer-vault-empty-state",
|
|
1870
|
+
"description": "VaultEmptyStateComponent - displays when no payment methods are available\n---\n",
|
|
1871
|
+
"doc-url": "",
|
|
1872
|
+
"attributes": [],
|
|
1873
|
+
"events": [],
|
|
1874
|
+
"js": { "properties": [], "events": [] }
|
|
1875
|
+
},
|
|
1908
1876
|
{
|
|
1909
1877
|
"name": "primer-vault-manager-header",
|
|
1910
1878
|
"description": "VaultManagerHeaderComponent - displays the header for the vault manager\n---\n",
|
|
@@ -1947,6 +1915,38 @@
|
|
|
1947
1915
|
"events": []
|
|
1948
1916
|
}
|
|
1949
1917
|
},
|
|
1918
|
+
{
|
|
1919
|
+
"name": "primer-vault-error-message",
|
|
1920
|
+
"description": "VaultErrorMessageComponent - displays error messages with improved visuals\n---\n",
|
|
1921
|
+
"doc-url": "",
|
|
1922
|
+
"attributes": [
|
|
1923
|
+
{
|
|
1924
|
+
"name": "errorMessage",
|
|
1925
|
+
"description": "The error message to display",
|
|
1926
|
+
"value": { "type": "string", "default": "''" }
|
|
1927
|
+
}
|
|
1928
|
+
],
|
|
1929
|
+
"events": [],
|
|
1930
|
+
"js": {
|
|
1931
|
+
"properties": [
|
|
1932
|
+
{
|
|
1933
|
+
"name": "addEventListener",
|
|
1934
|
+
"description": "Strongly typed event declarations",
|
|
1935
|
+
"type": "<K extends keyof VaultManagerEventMap>(\n type: K,\n listener: (ev: VaultManagerEventMap[K]) => void,\n options?: boolean | AddEventListenerOptions,\n ) => void"
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"name": "removeEventListener",
|
|
1939
|
+
"type": "<K extends keyof VaultManagerEventMap>(\n type: K,\n listener: (ev: VaultManagerEventMap[K]) => void,\n options?: boolean | AddEventListenerOptions,\n ) => void"
|
|
1940
|
+
},
|
|
1941
|
+
{
|
|
1942
|
+
"name": "errorMessage",
|
|
1943
|
+
"description": "The error message to display",
|
|
1944
|
+
"type": "string"
|
|
1945
|
+
}
|
|
1946
|
+
],
|
|
1947
|
+
"events": []
|
|
1948
|
+
}
|
|
1949
|
+
},
|
|
1950
1950
|
{
|
|
1951
1951
|
"name": "primer-vault-payment-method-item",
|
|
1952
1952
|
"description": "VaultPaymentMethodItemComponent - displays a single payment method\nUses the VaultManagerController for display formatting\nNow supports selection via the simplified button checked state\nEnhanced with smooth transitions between edit and payment modes\nAlways renders the primer-button for consistent UI and improved accessibility\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.
|
|
5
|
+
"version": "1.0.1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/primer-loader.js",
|
|
8
8
|
"types": "./dist/primer-loader.d.ts",
|