@redacto.io/consent-sdk-react 10.2.1 → 10.2.2-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 +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +1262 -807
- package/dist/index.mjs +1147 -692
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -26,6 +26,16 @@ type Settings$1 = {
|
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
link: string;
|
|
29
|
+
/**
|
|
30
|
+
* Defaults to "checkbox". Applies to the purpose rows and the product
|
|
31
|
+
* section headings, not to individual data elements.
|
|
32
|
+
*/
|
|
33
|
+
selectionControl?: SelectionControlType;
|
|
34
|
+
/**
|
|
35
|
+
* Asks "are you sure" before Accept All, Accept Selected or Decline submits.
|
|
36
|
+
* Defaults to false, so the one-click path is unchanged.
|
|
37
|
+
*/
|
|
38
|
+
confirmBeforeSubmit?: boolean;
|
|
29
39
|
borderRadius?: string;
|
|
30
40
|
backgroundColor?: string;
|
|
31
41
|
headingColor?: string;
|
|
@@ -33,6 +43,11 @@ type Settings$1 = {
|
|
|
33
43
|
borderColor?: string;
|
|
34
44
|
font?: string;
|
|
35
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* How a visitor answers a purpose or a product section. Checkbox is the shipped
|
|
48
|
+
* default and the only variant with a partly-ticked state to draw.
|
|
49
|
+
*/
|
|
50
|
+
type SelectionControlType = "checkbox" | "radio" | "dropdown";
|
|
36
51
|
/**
|
|
37
52
|
* Error codes from guardian verification
|
|
38
53
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,16 @@ type Settings$1 = {
|
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
link: string;
|
|
29
|
+
/**
|
|
30
|
+
* Defaults to "checkbox". Applies to the purpose rows and the product
|
|
31
|
+
* section headings, not to individual data elements.
|
|
32
|
+
*/
|
|
33
|
+
selectionControl?: SelectionControlType;
|
|
34
|
+
/**
|
|
35
|
+
* Asks "are you sure" before Accept All, Accept Selected or Decline submits.
|
|
36
|
+
* Defaults to false, so the one-click path is unchanged.
|
|
37
|
+
*/
|
|
38
|
+
confirmBeforeSubmit?: boolean;
|
|
29
39
|
borderRadius?: string;
|
|
30
40
|
backgroundColor?: string;
|
|
31
41
|
headingColor?: string;
|
|
@@ -33,6 +43,11 @@ type Settings$1 = {
|
|
|
33
43
|
borderColor?: string;
|
|
34
44
|
font?: string;
|
|
35
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* How a visitor answers a purpose or a product section. Checkbox is the shipped
|
|
48
|
+
* default and the only variant with a partly-ticked state to draw.
|
|
49
|
+
*/
|
|
50
|
+
type SelectionControlType = "checkbox" | "radio" | "dropdown";
|
|
36
51
|
/**
|
|
37
52
|
* Error codes from guardian verification
|
|
38
53
|
*/
|