@redacto.io/consent-sdk-react 10.2.0 → 10.2.1-beta.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.
package/dist/index.d.mts CHANGED
@@ -92,6 +92,17 @@ type Props$1 = Readonly<{
92
92
  digilockerCallbackUrl?: string;
93
93
  includeFullyConsentedData?: boolean;
94
94
  reviewModeButtonText?: string;
95
+ /**
96
+ * Product uuids whose sections start expanded on a multi-product notice.
97
+ * Every product is collapsed by default; a uuid the rendered notice does not
98
+ * carry is ignored, since a scoped token decides which products render and
99
+ * the host cannot always know that set in advance.
100
+ *
101
+ * A product the notice marks mandatory is NOT opened automatically: name it
102
+ * here if the confirm gate should be visible without the visitor opening the
103
+ * section first.
104
+ */
105
+ defaultOpenProducts?: string[];
95
106
  }>;
96
107
 
97
108
  /**
@@ -109,7 +120,7 @@ type Props$1 = Readonly<{
109
120
  * to view and manage their consent preferences. Supports both initial consent
110
121
  * collection and reconsent flows.
111
122
  */
112
- declare const RedactoNoticeConsent: ({ noticeId, accessToken, refreshToken, token, email, mobile, ucic, organisationUuid, workspaceUuid, baseUrl, ledgerBaseUrl, language, blockUI, onAccept, onDecline, onError, settings, applicationId, validateAgainst, digilockerMode, digilockerCallbackUrl, includeFullyConsentedData, reviewModeButtonText, }: Props$1) => react__default.JSX.Element;
123
+ declare const RedactoNoticeConsent: ({ noticeId, accessToken, refreshToken, token, email, mobile, ucic, organisationUuid, workspaceUuid, baseUrl, ledgerBaseUrl, language, blockUI, onAccept, onDecline, onError, settings, applicationId, validateAgainst, digilockerMode, digilockerCallbackUrl, includeFullyConsentedData, reviewModeButtonText, defaultOpenProducts, }: Props$1) => react__default.JSX.Element;
113
124
 
114
125
  type Settings = {
115
126
  button: {
package/dist/index.d.ts CHANGED
@@ -92,6 +92,17 @@ type Props$1 = Readonly<{
92
92
  digilockerCallbackUrl?: string;
93
93
  includeFullyConsentedData?: boolean;
94
94
  reviewModeButtonText?: string;
95
+ /**
96
+ * Product uuids whose sections start expanded on a multi-product notice.
97
+ * Every product is collapsed by default; a uuid the rendered notice does not
98
+ * carry is ignored, since a scoped token decides which products render and
99
+ * the host cannot always know that set in advance.
100
+ *
101
+ * A product the notice marks mandatory is NOT opened automatically: name it
102
+ * here if the confirm gate should be visible without the visitor opening the
103
+ * section first.
104
+ */
105
+ defaultOpenProducts?: string[];
95
106
  }>;
96
107
 
97
108
  /**
@@ -109,7 +120,7 @@ type Props$1 = Readonly<{
109
120
  * to view and manage their consent preferences. Supports both initial consent
110
121
  * collection and reconsent flows.
111
122
  */
112
- declare const RedactoNoticeConsent: ({ noticeId, accessToken, refreshToken, token, email, mobile, ucic, organisationUuid, workspaceUuid, baseUrl, ledgerBaseUrl, language, blockUI, onAccept, onDecline, onError, settings, applicationId, validateAgainst, digilockerMode, digilockerCallbackUrl, includeFullyConsentedData, reviewModeButtonText, }: Props$1) => react__default.JSX.Element;
123
+ declare const RedactoNoticeConsent: ({ noticeId, accessToken, refreshToken, token, email, mobile, ucic, organisationUuid, workspaceUuid, baseUrl, ledgerBaseUrl, language, blockUI, onAccept, onDecline, onError, settings, applicationId, validateAgainst, digilockerMode, digilockerCallbackUrl, includeFullyConsentedData, reviewModeButtonText, defaultOpenProducts, }: Props$1) => react__default.JSX.Element;
113
124
 
114
125
  type Settings = {
115
126
  button: {