@tesouro/embedded-components-react 0.5.77 → 0.5.80
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/README.md +9 -8
- package/dist/index.css +3 -0
- package/dist/index.d.ts +2924 -2873
- package/dist/index.js +8 -8
- package/dist/lib/WidgetSuite.d.ts +464 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +124 -124
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/util/dist/lib/policyScript.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index16.js +104 -63
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -197,14 +197,15 @@ A whole banking page in one component: a section menu over the widgets behind it
|
|
|
197
197
|
|
|
198
198
|
#### Props
|
|
199
199
|
|
|
200
|
-
| Prop
|
|
201
|
-
|
|
|
202
|
-
| `sections`
|
|
203
|
-
| `section`
|
|
204
|
-
| `defaultSection`
|
|
205
|
-
| `onSectionChange`
|
|
206
|
-
| `labels`
|
|
207
|
-
| `showSectionTitle`
|
|
200
|
+
| Prop | Type | Default | Description |
|
|
201
|
+
| --------------------------- | --------------------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
202
|
+
| `sections` | `readonly WidgetSuiteSectionId[]` | `WIDGET_SUITE_DEFAULT_SECTIONS` | Which sections the suite offers, in menu order. A listed section is still hidden when the token does not earn it. |
|
|
203
|
+
| `section` | `WidgetSuiteSectionId` | — | Which section is showing. Supplying it puts the menu in controlled mode for the lifetime of the mount, so pair it with `onSectionChange`. |
|
|
204
|
+
| `defaultSection` | `WidgetSuiteSectionId` | first of `sections` | Which section the suite opens on. Read once per mount, and ignored when `section` is supplied. |
|
|
205
|
+
| `onSectionChange` | `(section) => void` | `undefined` | Called when a person moves the suite. Never fired on mount, and never for the entitlement fallback, so a URL mirroring it cannot erase a deep link. |
|
|
206
|
+
| `labels` | `WidgetSuiteLabelOverrides` | `WIDGET_SUITE_LABELS_EN` | Every string on the page, in one tree: a group for the shell, the menu names, the section heading, the disclosure states, and one per section carrying that section's widget copy. Override any leaf and its siblings keep their defaults. |
|
|
207
|
+
| `showSectionTitle` | `boolean` | `true` | Shows a heading above each section, named as its menu item is. Set `false` when your page already heads the suite. |
|
|
208
|
+
| `onboardingDisclosureLinks` | `DisclosureLinks` | `undefined` | Legal disclosure URLs (Terms, Privacy, Electronic Communication, Patriot Act) for the entry-point onboarding widget's business-details agreement step, shown to a session whose organization has no application yet. Omitted fields render as plain, non-clickable text. |
|
|
208
209
|
|
|
209
210
|
### AcceptDisclosuresWidget
|
|
210
211
|
|