@justifi/webcomponents 6.5.1-rc.5 → 6.5.1-rc.7

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 (120) hide show
  1. package/dist/cjs/{check-pkg-version-T54BeR4n.js → check-pkg-version-BHAFLsKe.js} +1 -1
  2. package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
  3. package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +2 -2
  4. package/dist/cjs/justifi-apple-pay_7.cjs.entry.js +2 -2
  5. package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
  6. package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
  7. package/dist/cjs/justifi-checkout.cjs.entry.js +2 -2
  8. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +2 -2
  9. package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
  10. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +2 -2
  11. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
  12. package/dist/cjs/justifi-order-terminals.cjs.entry.js +2 -2
  13. package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
  14. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
  15. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +2 -2
  16. package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
  17. package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
  18. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +2 -2
  19. package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
  20. package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
  21. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -2
  22. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +2 -2
  23. package/dist/cjs/justifi-terminals-list.cjs.entry.js +2 -2
  24. package/dist/cjs/{package-JstJdxIu.js → package-CZK-K7yM.js} +1 -1
  25. package/dist/docs.json +1 -1
  26. package/dist/esm/{check-pkg-version-C8hgGLFx.js → check-pkg-version-ClZuo82s.js} +1 -1
  27. package/dist/esm/hidden-input_2.entry.js +1 -1
  28. package/dist/esm/internal-tokenize-payment-method_7.entry.js +2 -2
  29. package/dist/esm/justifi-apple-pay_7.entry.js +2 -2
  30. package/dist/esm/justifi-business-details.entry.js +2 -2
  31. package/dist/esm/justifi-business-form.entry.js +2 -2
  32. package/dist/esm/justifi-checkout.entry.js +2 -2
  33. package/dist/esm/justifi-checkouts-list.entry.js +2 -2
  34. package/dist/esm/justifi-dispute-management.entry.js +2 -2
  35. package/dist/esm/justifi-dispute-notification_3.entry.js +2 -2
  36. package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
  37. package/dist/esm/justifi-order-terminals.entry.js +2 -2
  38. package/dist/esm/justifi-payment-details.entry.js +2 -2
  39. package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
  40. package/dist/esm/justifi-payment-transactions-list.entry.js +2 -2
  41. package/dist/esm/justifi-payments-list.entry.js +2 -2
  42. package/dist/esm/justifi-payout-details.entry.js +2 -2
  43. package/dist/esm/justifi-payout-transactions-list.entry.js +2 -2
  44. package/dist/esm/justifi-payouts-list.entry.js +2 -2
  45. package/dist/esm/justifi-refund-payment.entry.js +2 -2
  46. package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -2
  47. package/dist/esm/justifi-terminal-orders-list.entry.js +2 -2
  48. package/dist/esm/justifi-terminals-list.entry.js +2 -2
  49. package/dist/esm/{package-DEhd71m_.js → package-C3_8r8V7.js} +1 -1
  50. package/dist/module/package.js +1 -1
  51. package/dist/webcomponents/{p-266a9aee.entry.js → p-082efda3.entry.js} +1 -1
  52. package/dist/webcomponents/{p-de35abb6.entry.js → p-12499226.entry.js} +1 -1
  53. package/dist/webcomponents/p-1ddddc82.entry.js +1 -0
  54. package/dist/webcomponents/{p-5a3687bf.entry.js → p-215ce79e.entry.js} +1 -1
  55. package/dist/webcomponents/{p-9fef2496.entry.js → p-239d1d07.entry.js} +1 -1
  56. package/dist/webcomponents/{p-04b23547.entry.js → p-23a3e38e.entry.js} +1 -1
  57. package/dist/webcomponents/{p-8cfda6c1.entry.js → p-27b88afd.entry.js} +1 -1
  58. package/dist/webcomponents/{p-cfd858be.entry.js → p-2a347349.entry.js} +1 -1
  59. package/dist/webcomponents/{p-20608f0c.entry.js → p-3787cf63.entry.js} +1 -1
  60. package/dist/webcomponents/{p-73388c68.entry.js → p-476ebd43.entry.js} +1 -1
  61. package/dist/webcomponents/p-64ddd8ea.entry.js +1 -0
  62. package/dist/webcomponents/p-7becc3d3.entry.js +1 -0
  63. package/dist/webcomponents/p-8071daf3.entry.js +1 -0
  64. package/dist/webcomponents/{p-d1951301.entry.js → p-93aa2d31.entry.js} +1 -1
  65. package/dist/webcomponents/{p-a9bd4e27.entry.js → p-9e346c2e.entry.js} +1 -1
  66. package/dist/webcomponents/p-C3_8r8V7.js +1 -0
  67. package/dist/webcomponents/{p-90de8098.entry.js → p-a9ea2c82.entry.js} +1 -1
  68. package/dist/webcomponents/{p-7a3d9c24.entry.js → p-aaef1450.entry.js} +1 -1
  69. package/dist/webcomponents/{p-7128920a.entry.js → p-beb0a3c8.entry.js} +1 -1
  70. package/dist/webcomponents/{p-c364c76d.entry.js → p-d3697504.entry.js} +1 -1
  71. package/dist/webcomponents/{p-42c3bda4.entry.js → p-d9c090b6.entry.js} +1 -1
  72. package/dist/webcomponents/{p-e47a2592.entry.js → p-f11eb1bc.entry.js} +1 -1
  73. package/dist/webcomponents/{p-2bafa257.entry.js → p-f358610a.entry.js} +1 -1
  74. package/dist/webcomponents/{p-C6wS5-M7.js → p-sassRpOu.js} +1 -1
  75. package/dist/webcomponents/webcomponents.esm.js +1 -1
  76. package/docs/entities/businessdetails/index.mdx +50 -70
  77. package/docs/entities/businessform/index.mdx +13 -18
  78. package/docs/entities/payment-provisioning/index.mdx +8 -16
  79. package/docs/helpers/PartsTable.jsx +29 -0
  80. package/docs/helpers/PropsTable.jsx +35 -0
  81. package/docs/merchant-tools/checkouts-list/index.mdx +49 -63
  82. package/docs/merchant-tools/gross-payments-chart/index.mdx +16 -18
  83. package/docs/merchant-tools/order-terminals/index.mdx +12 -16
  84. package/docs/merchant-tools/payment-details/index.mdx +13 -15
  85. package/docs/merchant-tools/payment-transactions-list/index.mdx +12 -16
  86. package/docs/merchant-tools/payments-list/index.mdx +12 -18
  87. package/docs/merchant-tools/payout-details/index.mdx +46 -56
  88. package/docs/merchant-tools/payout-transactions-list/index.mdx +12 -16
  89. package/docs/merchant-tools/payouts-list/index.mdx +12 -18
  90. package/docs/merchant-tools/terminal-orders-list/index.mdx +12 -16
  91. package/docs/merchant-tools/terminals-list/index.mdx +12 -16
  92. package/docs/modular-checkout/index.mdx +0 -5
  93. package/docs/modular-checkout/introduction/index.mdx +12 -14
  94. package/docs/modular-checkout/sub-components/apple-pay.mdx +27 -21
  95. package/docs/modular-checkout/sub-components/bank-account-form.mdx +51 -50
  96. package/docs/modular-checkout/sub-components/card-form.mdx +50 -53
  97. package/docs/modular-checkout/sub-components/payment-method-options.mdx +12 -14
  98. package/docs/modular-checkout/sub-components/plaid-payment-method.mdx +33 -54
  99. package/docs/modular-checkout/sub-components/saved-payment-methods.mdx +56 -54
  100. package/docs/modular-checkout/sub-components/season-interruption-insurance.mdx +21 -23
  101. package/docs/modular-checkout/sub-components/sezzle-payment-method.mdx +104 -108
  102. package/docs/modular-checkout/sub-components/summary.mdx +13 -13
  103. package/docs/payment-facilitation/dispute-management/index.mdx +12 -16
  104. package/docs/payment-facilitation/refund-payment/index.mdx +22 -14
  105. package/docs/payment-facilitation/tokenize-payment-method/index.mdx +28 -44
  106. package/docs/payment-facilitation/unified-fintech-checkout/342/204/242/index.mdx +103 -122
  107. package/package.json +1 -1
  108. package/dist/webcomponents/p-04ed045b.entry.js +0 -1
  109. package/dist/webcomponents/p-3101565c.entry.js +0 -1
  110. package/dist/webcomponents/p-8c07d9f0.entry.js +0 -1
  111. package/dist/webcomponents/p-9efd1bce.entry.js +0 -1
  112. package/dist/webcomponents/p-DEhd71m_.js +0 -1
  113. package/docs/helpers/PartsTable.js +0 -50
  114. package/docs/helpers/PartsTable.ts +0 -55
  115. package/docs/helpers/PropsTable.js +0 -56
  116. package/docs/helpers/PropsTable.ts +0 -63
  117. package/docs/helpers/index.js +0 -4
  118. package/docs/helpers/version.ts +0 -32
  119. package/docs/modular-checkout/docs/index.mdx +0 -32
  120. package/docs/modular-checkout/example/index.mdx +0 -25
@@ -5,7 +5,11 @@ description: Saved payment selector for Modular Checkout that handles defaulting
5
5
  sidebar_position: 26
6
6
  ---
7
7
 
8
- import { PropsTable, PartsTable, getWebcomponentsVersion } from '@justifi/webcomponents/docs/helpers';
8
+ import {
9
+ PropsTable,
10
+ PartsTable,
11
+ getWebcomponentsVersion,
12
+ } from '@justifi/webcomponents/docs/helpers';
9
13
 
10
14
  ## Overview
11
15
 
@@ -30,48 +34,51 @@ This component exposes **no public methods or properties** and is not intended f
30
34
  <title>justifi-saved-payment-methods</title>
31
35
 
32
36
  <script type="module" src="https://cdn.jsdelivr.net/npm/@justifi/webcomponents@${getWebcomponentsVersion()}/dist/webcomponents/webcomponents.esm.js"></script>
33
- <script nomodule src="https://cdn.jsdelivr.net/npm/@justifi/webcomponents@${getWebcomponentsVersion()}/dist/webcomponents/webcomponents.js"></script>
34
- <style>
35
- /** These are the available parts for styling the component. */
36
- ::part(text) {
37
- // text styles
38
- }
39
-
40
- ::part(text-danger) {
41
- // text danger styles
42
- }
43
-
44
- ::part(label) {
45
- // label styles
46
- }
47
-
48
- ::part(input-radio) {
49
- // input radio styles
50
- }
51
-
52
- ::part(input-radio-focused) {
53
- // input radio focused styles
54
- }
55
-
56
- ::part(input-radio-checked) {
57
- // input radio checked styles
58
- }
59
-
60
- ::part(input-radio-checked-focused) {
61
- // input radio checked focused styles
62
- }
63
-
64
- ::part(input-radio-invalid) {
65
- // input radio invalid styles
66
- }
67
- </style>
37
+
38
+ <script
39
+ nomodule
40
+ src="https://cdn.jsdelivr.net/npm/@justifi/webcomponents@${getWebcomponentsVersion()}/dist/webcomponents/webcomponents.js"
41
+ ></script>
42
+
43
+ <style>
44
+ /** These are the available parts for styling the component. */ ::part(text){' '}
45
+ {
46
+ // text styles
47
+ }
48
+ ::part(text-danger){' '}
49
+ {
50
+ // text danger styles
51
+ }
52
+ ::part(label){' '}
53
+ {
54
+ // label styles
55
+ }
56
+ ::part(input-radio){' '}
57
+ {
58
+ // input radio styles
59
+ }
60
+ ::part(input-radio-focused){' '}
61
+ {
62
+ // input radio focused styles
63
+ }
64
+ ::part(input-radio-checked){' '}
65
+ {
66
+ // input radio checked styles
67
+ }
68
+ ::part(input-radio-checked-focused){' '}
69
+ {
70
+ // input radio checked focused styles
71
+ }
72
+ ::part(input-radio-invalid){' '}
73
+ {
74
+ // input radio invalid styles
75
+ }
76
+ </style>
77
+
68
78
  </head>
69
79
 
70
80
  <body>
71
- <justifi-modular-checkout
72
- auth-token="authToken"
73
- checkout-id="ch_123"
74
- >
81
+ <justifi-modular-checkout auth-token="authToken" checkout-id="ch_123">
75
82
  <justifi-saved-payment-methods />
76
83
  </justifi-modular-checkout>
77
84
  </body>
@@ -94,11 +101,13 @@ This component exposes **no public methods or properties** and is not intended f
94
101
  });
95
102
  })();
96
103
  </script>
104
+
97
105
  </html>`}</code></pre>
98
106
 
99
107
  ## Props, Events & Methods
100
108
 
101
- <div dangerouslySetInnerHTML={{ __html: PropsTable([
109
+ <PropsTable
110
+ rows={[
102
111
  {
103
112
  name: 'customer-id',
104
113
  type: 'string',
@@ -118,7 +127,8 @@ This component exposes **no public methods or properties** and is not intended f
118
127
  description:
119
128
  'Displays a control that reveals the card/bank forms when no method is selected.',
120
129
  },
121
- ]) }} />
130
+ ]}
131
+ />
122
132
 
123
133
  ### Events
124
134
 
@@ -131,7 +141,8 @@ This component exposes **no public methods or properties** and is not intended f
131
141
 
132
142
  ## Theming & Layout
133
143
 
134
- <div dangerouslySetInnerHTML={{ __html: PartsTable([
144
+ <PartsTable
145
+ parts={[
135
146
  {
136
147
  name: 'text',
137
148
  description: 'Text styles.',
@@ -164,14 +175,5 @@ This component exposes **no public methods or properties** and is not intended f
164
175
  name: 'input-radio-invalid',
165
176
  description: 'Radio input styles when invalid.',
166
177
  },
167
- ]) }} />
168
-
169
- ## Static examples
170
-
171
- ### Fallback flow
172
-
173
- <pre><code className="language-js">{`const saved = document.querySelector('justifi-saved-payment-methods');
174
-
175
- saved.addEventListener('selection-changed', ({ detail }) => {
176
- if (!detail.payment_method_token) saved.clearSelection();
177
- });`}</code></pre>
178
+ ]}
179
+ />
@@ -5,7 +5,11 @@ description: Optional insurance add-on rail that pairs with Modular Checkout sum
5
5
  sidebar_position: 25
6
6
  ---
7
7
 
8
- import { PropsTable, PartsTable, getWebcomponentsVersion } from '@justifi/webcomponents/docs/helpers';
8
+ import {
9
+ PropsTable,
10
+ PartsTable,
11
+ getWebcomponentsVersion,
12
+ } from '@justifi/webcomponents/docs/helpers';
9
13
 
10
14
  ## Overview
11
15
 
@@ -22,7 +26,12 @@ Component to render a formated list of season interruption insurance for the req
22
26
  <title>justifi-season-interruption-insurance</title>
23
27
 
24
28
  <script type="module" src="https://cdn.jsdelivr.net/npm/@justifi/webcomponents@${getWebcomponentsVersion()}/dist/webcomponents/webcomponents.esm.js"></script>
25
- <script nomodule src="https://cdn.jsdelivr.net/npm/@justifi/webcomponents@${getWebcomponentsVersion()}/dist/webcomponents/webcomponents.js"></script>
29
+
30
+ <script
31
+ nomodule
32
+ src="https://cdn.jsdelivr.net/npm/@justifi/webcomponents@${getWebcomponentsVersion()}/dist/webcomponents/webcomponents.js"
33
+ ></script>
34
+
26
35
  <style>
27
36
  ::part(font-family) {
28
37
  font-family: georgia;
@@ -59,10 +68,11 @@ Component to render a formated list of season interruption insurance for the req
59
68
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
60
69
  }
61
70
  </style>
71
+
62
72
  </head>
63
73
 
64
74
  <body>
65
- <justifi-season-interruption-insurance
75
+ <justifi-season-interruption-insurance
66
76
  auth-token="your-auth-token"
67
77
  checkout-id="your-checkout-id"
68
78
  primary-identity-first-name="John"
@@ -79,7 +89,8 @@ Component to render a formated list of season interruption insurance for the req
79
89
 
80
90
  ## Props, Events & Methods
81
91
 
82
- <div dangerouslySetInnerHTML={{ __html: PropsTable([
92
+ <PropsTable
93
+ rows={[
83
94
  {
84
95
  name: 'auth-token',
85
96
  type: 'string',
@@ -155,7 +166,8 @@ Component to render a formated list of season interruption insurance for the req
155
166
  type: 'string',
156
167
  description: 'Last name of the covered person.',
157
168
  },
158
- ]) }} />
169
+ ]}
170
+ />
159
171
 
160
172
  ### Events
161
173
 
@@ -171,7 +183,8 @@ Component to render a formated list of season interruption insurance for the req
171
183
  - The host inherits the same typography tokens as other Modular Checkout rails via `StyledHost`, so it naturally matches surrounding content.
172
184
  - Use the exposed parts to restyle copy or validation messaging without affecting the radios themselves.
173
185
 
174
- <div dangerouslySetInnerHTML={{ __html: PartsTable([
186
+ <PartsTable
187
+ parts={[
175
188
  {
176
189
  name: 'font-family',
177
190
  description: 'Controls the font family for the component.',
@@ -200,20 +213,5 @@ Component to render a formated list of season interruption insurance for the req
200
213
  name: 'input-radio-checked-focused',
201
214
  description: 'Radio input styles when checked and focused.',
202
215
  },
203
- ]) }} />
204
-
205
- ## Static examples
206
-
207
- ### Validate selection before submission
208
-
209
- <pre><code className="language-js">{`const insurance = document.querySelector('justifi-season-interruption-insurance');
210
-
211
- const { isValid } = await insurance.validate();
212
-
213
- if (!isValid) {
214
- // surface inline validation by leaving the radio group untouched
215
- return;
216
- }
217
-
218
- // continue to submit the checkout
219
- `}</code></pre>
216
+ ]}
217
+ />
@@ -5,7 +5,11 @@ description: Sezzle BNPL rail for Modular Checkout, including disclosure copy an
5
5
  sidebar_position: 24
6
6
  ---
7
7
 
8
- import { PropsTable, PartsTable, getWebcomponentsVersion } from '@justifi/webcomponents/docs/helpers';
8
+ import {
9
+ PropsTable,
10
+ PartsTable,
11
+ getWebcomponentsVersion,
12
+ } from '@justifi/webcomponents/docs/helpers';
9
13
 
10
14
  ## Overview
11
15
 
@@ -28,48 +32,51 @@ This component exposes **no public methods or properties** and is not intended f
28
32
  <title>justifi-sezzle-payment-method</title>
29
33
 
30
34
  <script type="module" src="https://cdn.jsdelivr.net/npm/@justifi/webcomponents@${getWebcomponentsVersion()}/dist/webcomponents/webcomponents.esm.js"></script>
31
- <script nomodule src="https://cdn.jsdelivr.net/npm/@justifi/webcomponents@${getWebcomponentsVersion()}/dist/webcomponents/webcomponents.js"></script>
32
- <style>
33
- /** These are the available parts for styling the component. */
34
- ::part(text) {
35
- // text styles
36
- }
37
-
38
- ::part(text-danger) {
39
- // text danger styles
40
- }
41
-
42
- ::part(label) {
43
- // label styles
44
- }
45
-
46
- ::part(input-radio) {
47
- // input radio styles
48
- }
49
-
50
- ::part(input-radio-focused) {
51
- // input radio focused styles
52
- }
53
-
54
- ::part(input-radio-checked) {
55
- // input radio checked styles
56
- }
57
-
58
- ::part(input-radio-checked-focused) {
59
- // input radio checked focused styles
60
- }
61
-
62
- ::part(input-radio-invalid) {
63
- // input radio invalid styles
64
- }
65
- </style>
35
+
36
+ <script
37
+ nomodule
38
+ src="https://cdn.jsdelivr.net/npm/@justifi/webcomponents@${getWebcomponentsVersion()}/dist/webcomponents/webcomponents.js"
39
+ ></script>
40
+
41
+ <style>
42
+ /** These are the available parts for styling the component. */ ::part(text){' '}
43
+ {
44
+ // text styles
45
+ }
46
+ ::part(text-danger){' '}
47
+ {
48
+ // text danger styles
49
+ }
50
+ ::part(label){' '}
51
+ {
52
+ // label styles
53
+ }
54
+ ::part(input-radio){' '}
55
+ {
56
+ // input radio styles
57
+ }
58
+ ::part(input-radio-focused){' '}
59
+ {
60
+ // input radio focused styles
61
+ }
62
+ ::part(input-radio-checked){' '}
63
+ {
64
+ // input radio checked styles
65
+ }
66
+ ::part(input-radio-checked-focused){' '}
67
+ {
68
+ // input radio checked focused styles
69
+ }
70
+ ::part(input-radio-invalid){' '}
71
+ {
72
+ // input radio invalid styles
73
+ }
74
+ </style>
75
+
66
76
  </head>
67
77
 
68
78
  <body>
69
- <justifi-modular-checkout
70
- auth-token="authToken"
71
- checkout-id="ch_123"
72
- >
79
+ <justifi-modular-checkout auth-token="authToken" checkout-id="ch_123">
73
80
  <justifi-sezzle-payment-method />
74
81
  </justifi-modular-checkout>
75
82
  </body>
@@ -92,33 +99,32 @@ This component exposes **no public methods or properties** and is not intended f
92
99
  });
93
100
  })();
94
101
  </script>
102
+
95
103
  </html>`}</code></pre>
96
104
 
97
105
  ## Props, Events & Methods
98
106
 
99
- <div
100
- dangerouslySetInnerHTML={{
101
- __html: PropsTable([
102
- {
103
- name: 'merchant-id',
104
- type: 'string',
105
- required: true,
106
- description:
107
- 'Sezzle merchant identifier configured in your JustiFi account.',
108
- },
109
- {
110
- name: 'terms-url',
111
- type: 'string',
112
- description: 'Overrides the default Sezzle terms link.',
113
- },
114
- {
115
- name: 'locale',
116
- type: 'string',
117
- defaultValue: 'en-US',
118
- description: 'Controls copy for disclosures.',
119
- },
120
- ]),
121
- }}
107
+ <PropsTable
108
+ rows={[
109
+ {
110
+ name: 'merchant-id',
111
+ type: 'string',
112
+ required: true,
113
+ description:
114
+ 'Sezzle merchant identifier configured in your JustiFi account.',
115
+ },
116
+ {
117
+ name: 'terms-url',
118
+ type: 'string',
119
+ description: 'Overrides the default Sezzle terms link.',
120
+ },
121
+ {
122
+ name: 'locale',
123
+ type: 'string',
124
+ defaultValue: 'en-US',
125
+ description: 'Controls copy for disclosures.',
126
+ },
127
+ ]}
122
128
  />
123
129
 
124
130
  ### Events
@@ -135,49 +141,39 @@ This component exposes **no public methods or properties** and is not intended f
135
141
 
136
142
  - Respect Sezzle's branding by keeping the provided colors and logos intact.
137
143
 
138
- <div
139
- dangerouslySetInnerHTML={{
140
- __html: PartsTable([
141
- {
142
- name: 'text',
143
- description: 'Text styles.',
144
- },
145
- {
146
- name: 'text-danger',
147
- description: 'Danger/error text styles.',
148
- },
149
- {
150
- name: 'label',
151
- description: 'Label styles.',
152
- },
153
- {
154
- name: 'input-radio',
155
- description: 'Radio input styles.',
156
- },
157
- {
158
- name: 'input-radio-focused',
159
- description: 'Radio input styles when focused.',
160
- },
161
- {
162
- name: 'input-radio-checked',
163
- description: 'Radio input styles when checked.',
164
- },
165
- {
166
- name: 'input-radio-checked-focused',
167
- description: 'Radio input styles when checked and focused.',
168
- },
169
- {
170
- name: 'input-radio-invalid',
171
- description: 'Radio input styles when invalid.',
172
- },
173
- ]),
174
- }}
144
+ <PartsTable
145
+ parts={[
146
+ {
147
+ name: 'text',
148
+ description: 'Text styles.',
149
+ },
150
+ {
151
+ name: 'text-danger',
152
+ description: 'Danger/error text styles.',
153
+ },
154
+ {
155
+ name: 'label',
156
+ description: 'Label styles.',
157
+ },
158
+ {
159
+ name: 'input-radio',
160
+ description: 'Radio input styles.',
161
+ },
162
+ {
163
+ name: 'input-radio-focused',
164
+ description: 'Radio input styles when focused.',
165
+ },
166
+ {
167
+ name: 'input-radio-checked',
168
+ description: 'Radio input styles when checked.',
169
+ },
170
+ {
171
+ name: 'input-radio-checked-focused',
172
+ description: 'Radio input styles when checked and focused.',
173
+ },
174
+ {
175
+ name: 'input-radio-invalid',
176
+ description: 'Radio input styles when invalid.',
177
+ },
178
+ ]}
175
179
  />
176
-
177
- ## Static examples
178
-
179
- ### Track redirects
180
-
181
- <pre><code className="language-js">{`const sezzle = document.querySelector('justifi-sezzle-payment-method');
182
-
183
- sezzle.addEventListener('sezzle-redirect', () => analytics.track('sezzle_redirect_started'));`}</code></pre>
@@ -5,7 +5,11 @@ description: Order summary block that lists line items, totals, and ancillary di
5
5
  sidebar_position: 27
6
6
  ---
7
7
 
8
- import { PropsTable, PartsTable, getWebcomponentsVersion } from '@justifi/webcomponents/docs/helpers';
8
+ import {
9
+ PropsTable,
10
+ PartsTable,
11
+ getWebcomponentsVersion,
12
+ } from '@justifi/webcomponents/docs/helpers';
9
13
 
10
14
  ## Overview
11
15
 
@@ -59,7 +63,8 @@ This component exposes **no public methods or properties** and is not intended f
59
63
 
60
64
  ## Props, Events & Methods
61
65
 
62
- <div dangerouslySetInnerHTML={{ __html: PropsTable([
66
+ <PropsTable
67
+ rows={[
63
68
  {
64
69
  name: 'checkout-id',
65
70
  type: 'string',
@@ -79,7 +84,8 @@ This component exposes **no public methods or properties** and is not intended f
79
84
  defaultValue: 'true',
80
85
  description: 'Hide icons when you want an ultra-minimal summary.',
81
86
  },
82
- ]) }} />
87
+ ]}
88
+ />
83
89
 
84
90
  ### Events
85
91
 
@@ -91,17 +97,11 @@ No custom events; summary listens to the parent checkout for updates automatical
91
97
 
92
98
  ## Theming & Layout
93
99
 
94
- <div dangerouslySetInnerHTML={{ __html: PartsTable([
100
+ <PartsTable
101
+ parts={[
95
102
  {
96
103
  name: 'text',
97
104
  description: 'Text styles for the summary component.',
98
105
  },
99
- ]) }} />
100
-
101
- ## Static examples
102
-
103
- ### Custom refresh
104
-
105
- <pre><code className="language-js">{`const summary = document.querySelector('justifi-modular-checkout-summary');
106
-
107
- document.querySelector('#recalculate').onclick = () => summary.refresh();`}</code></pre>
106
+ ]}
107
+ />
@@ -13,15 +13,18 @@ Component to render notification of disputed payments and allow platform to resp
13
13
 
14
14
  ## Usage
15
15
 
16
- <pre><code className="language-html">{`<justifi-dispute-management
16
+ <pre>
17
+ <code className="language-html">{`<justifi-dispute-management
17
18
  account-id="acc_123"
18
19
  auth-token="wct_disputes"
19
20
  dispute-id="dp_456"
20
- />`}</code></pre>
21
+ />`}</code>
22
+ </pre>
21
23
 
22
24
  ## Props, Events & Methods
23
25
 
24
- <div dangerouslySetInnerHTML={{ __html: PropsTable([
26
+ <PropsTable
27
+ rows={[
25
28
  {
26
29
  name: 'account-id',
27
30
  type: 'string',
@@ -46,7 +49,8 @@ Component to render notification of disputed payments and allow platform to resp
46
49
  defaultValue: 'false',
47
50
  description: 'Disable response actions when true.',
48
51
  },
49
- ]) }} />
52
+ ]}
53
+ />
50
54
 
51
55
  ### Events
52
56
 
@@ -60,7 +64,8 @@ Component to render notification of disputed payments and allow platform to resp
60
64
 
61
65
  ## Theming & Layout
62
66
 
63
- <div dangerouslySetInnerHTML={{ __html: PartsTable([
67
+ <PartsTable
68
+ parts={[
64
69
  {
65
70
  name: 'font-family',
66
71
  description: 'Controls the font family for the component.',
@@ -85,14 +90,5 @@ Component to render notification of disputed payments and allow platform to resp
85
90
  name: 'button-disabled',
86
91
  description: 'Disabled button styles.',
87
92
  },
88
- ]) }} />
89
-
90
- ## Static examples
91
-
92
- ### Listening for evidence uploads
93
-
94
- <pre><code className="language-js">{`const disputes = document.querySelector('justifi-dispute-management');
95
-
96
- disputes.addEventListener('evidence-uploaded', ({ detail }) => {
97
- toast.success('Uploaded ' + detail.file_name);
98
- });`}</code></pre>
93
+ ]}
94
+ />