@transcend-io/privacy-types 4.154.1 → 5.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/LICENSE +201 -21
- package/dist/index.d.mts +61855 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +30982 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +38 -36
- package/.yarn/sdks/eslint/package.json +0 -14
- package/.yarn/sdks/prettier/package.json +0 -7
- package/.yarn/sdks/typescript/package.json +0 -10
- package/README.md +0 -37
- package/build/actionItems.d.ts +0 -174
- package/build/actionItems.d.ts.map +0 -1
- package/build/actionItems.js +0 -179
- package/build/actionItems.js.map +0 -1
- package/build/actions.d.ts +0 -158
- package/build/actions.d.ts.map +0 -1
- package/build/actions.js +0 -106
- package/build/actions.js.map +0 -1
- package/build/assessmentForm.d.ts +0 -179
- package/build/assessmentForm.d.ts.map +0 -1
- package/build/assessmentForm.js +0 -164
- package/build/assessmentForm.js.map +0 -1
- package/build/assessmentQuestion.d.ts +0 -485
- package/build/assessmentQuestion.d.ts.map +0 -1
- package/build/assessmentQuestion.js +0 -401
- package/build/assessmentQuestion.js.map +0 -1
- package/build/attribute.d.ts +0 -79
- package/build/attribute.d.ts.map +0 -1
- package/build/attribute.js +0 -84
- package/build/attribute.js.map +0 -1
- package/build/browserTimeZones.d.ts +0 -437
- package/build/browserTimeZones.d.ts.map +0 -1
- package/build/browserTimeZones.js +0 -441
- package/build/browserTimeZones.js.map +0 -1
- package/build/code.d.ts +0 -17
- package/build/code.d.ts.map +0 -1
- package/build/code.js +0 -19
- package/build/code.js.map +0 -1
- package/build/consentManager.d.ts +0 -172
- package/build/consentManager.d.ts.map +0 -1
- package/build/consentManager.js +0 -154
- package/build/consentManager.js.map +0 -1
- package/build/consentUi.d.ts +0 -1999
- package/build/consentUi.d.ts.map +0 -1
- package/build/consentUi.js +0 -101
- package/build/consentUi.js.map +0 -1
- package/build/consentUiConfiguration.d.ts +0 -3338
- package/build/consentUiConfiguration.d.ts.map +0 -1
- package/build/consentUiConfiguration.js +0 -146
- package/build/consentUiConfiguration.js.map +0 -1
- package/build/consentUiTheme.d.ts +0 -1273
- package/build/consentUiTheme.d.ts.map +0 -1
- package/build/consentUiTheme.js +0 -273
- package/build/consentUiTheme.js.map +0 -1
- package/build/database.d.ts +0 -72
- package/build/database.d.ts.map +0 -1
- package/build/database.js +0 -63
- package/build/database.js.map +0 -1
- package/build/datapoint.d.ts +0 -68
- package/build/datapoint.d.ts.map +0 -1
- package/build/datapoint.js +0 -60
- package/build/datapoint.js.map +0 -1
- package/build/enricher.d.ts +0 -79
- package/build/enricher.d.ts.map +0 -1
- package/build/enricher.js +0 -49
- package/build/enricher.js.map +0 -1
- package/build/getRegistryLink.d.ts +0 -13
- package/build/getRegistryLink.d.ts.map +0 -1
- package/build/getRegistryLink.js +0 -27
- package/build/getRegistryLink.js.map +0 -1
- package/build/identifier.d.ts +0 -106
- package/build/identifier.d.ts.map +0 -1
- package/build/identifier.js +0 -100
- package/build/identifier.js.map +0 -1
- package/build/index.d.ts +0 -35
- package/build/index.d.ts.map +0 -1
- package/build/index.js +0 -51
- package/build/index.js.map +0 -1
- package/build/isoConstants/index.d.ts +0 -3
- package/build/isoConstants/index.d.ts.map +0 -1
- package/build/isoConstants/index.js +0 -19
- package/build/isoConstants/index.js.map +0 -1
- package/build/isoConstants/iso3166-1.d.ts +0 -509
- package/build/isoConstants/iso3166-1.d.ts.map +0 -1
- package/build/isoConstants/iso3166-1.js +0 -271
- package/build/isoConstants/iso3166-1.js.map +0 -1
- package/build/isoConstants/iso3166-2.d.ts +0 -25668
- package/build/isoConstants/iso3166-2.d.ts.map +0 -1
- package/build/isoConstants/iso3166-2.js +0 -25679
- package/build/isoConstants/iso3166-2.js.map +0 -1
- package/build/isoRegion.d.ts +0 -5398
- package/build/isoRegion.d.ts.map +0 -1
- package/build/isoRegion.js +0 -24
- package/build/isoRegion.js.map +0 -1
- package/build/largeLanguageModels.d.ts +0 -43
- package/build/largeLanguageModels.d.ts.map +0 -1
- package/build/largeLanguageModels.js +0 -61
- package/build/largeLanguageModels.js.map +0 -1
- package/build/macroregion.d.ts +0 -12
- package/build/macroregion.d.ts.map +0 -1
- package/build/macroregion.js +0 -74
- package/build/macroregion.js.map +0 -1
- package/build/objects.d.ts +0 -74
- package/build/objects.d.ts.map +0 -1
- package/build/objects.js +0 -74
- package/build/objects.js.map +0 -1
- package/build/oneTrust/endpoints/getAssessment.d.ts +0 -1368
- package/build/oneTrust/endpoints/getAssessment.d.ts.map +0 -1
- package/build/oneTrust/endpoints/getAssessment.js +0 -577
- package/build/oneTrust/endpoints/getAssessment.js.map +0 -1
- package/build/oneTrust/endpoints/getListOfAssessments.d.ts +0 -122
- package/build/oneTrust/endpoints/getListOfAssessments.d.ts.map +0 -1
- package/build/oneTrust/endpoints/getListOfAssessments.js +0 -118
- package/build/oneTrust/endpoints/getListOfAssessments.js.map +0 -1
- package/build/oneTrust/endpoints/getRisk.d.ts +0 -416
- package/build/oneTrust/endpoints/getRisk.d.ts.map +0 -1
- package/build/oneTrust/endpoints/getRisk.js +0 -357
- package/build/oneTrust/endpoints/getRisk.js.map +0 -1
- package/build/oneTrust/endpoints/getUser.d.ts +0 -123
- package/build/oneTrust/endpoints/getUser.d.ts.map +0 -1
- package/build/oneTrust/endpoints/getUser.js +0 -92
- package/build/oneTrust/endpoints/getUser.js.map +0 -1
- package/build/oneTrust/endpoints/index.d.ts +0 -5
- package/build/oneTrust/endpoints/index.d.ts.map +0 -1
- package/build/oneTrust/endpoints/index.js +0 -21
- package/build/oneTrust/endpoints/index.js.map +0 -1
- package/build/oneTrust/enrichedCodecs.d.ts +0 -2467
- package/build/oneTrust/enrichedCodecs.d.ts.map +0 -1
- package/build/oneTrust/enrichedCodecs.js +0 -103
- package/build/oneTrust/enrichedCodecs.js.map +0 -1
- package/build/oneTrust/index.d.ts +0 -4
- package/build/oneTrust/index.d.ts.map +0 -1
- package/build/oneTrust/index.js +0 -20
- package/build/oneTrust/index.js.map +0 -1
- package/build/oneTrust/oneTrustAssessmentCsv.d.ts +0 -620
- package/build/oneTrust/oneTrustAssessmentCsv.d.ts.map +0 -1
- package/build/oneTrust/oneTrustAssessmentCsv.js +0 -652
- package/build/oneTrust/oneTrustAssessmentCsv.js.map +0 -1
- package/build/preferences.d.ts +0 -16628
- package/build/preferences.d.ts.map +0 -1
- package/build/preferences.js +0 -263
- package/build/preferences.js.map +0 -1
- package/build/processingActivity.d.ts +0 -14
- package/build/processingActivity.d.ts.map +0 -1
- package/build/processingActivity.js +0 -16
- package/build/processingActivity.js.map +0 -1
- package/build/prompt.d.ts +0 -72
- package/build/prompt.d.ts.map +0 -1
- package/build/prompt.js +0 -82
- package/build/prompt.js.map +0 -1
- package/build/promptAVendor.d.ts +0 -35
- package/build/promptAVendor.d.ts.map +0 -1
- package/build/promptAVendor.js +0 -31
- package/build/promptAVendor.js.map +0 -1
- package/build/purposeSubCategories/additional.d.ts +0 -9
- package/build/purposeSubCategories/additional.d.ts.map +0 -1
- package/build/purposeSubCategories/additional.js +0 -9
- package/build/purposeSubCategories/additional.js.map +0 -1
- package/build/purposeSubCategories/advertising.d.ts +0 -9
- package/build/purposeSubCategories/advertising.d.ts.map +0 -1
- package/build/purposeSubCategories/advertising.js +0 -9
- package/build/purposeSubCategories/advertising.js.map +0 -1
- package/build/purposeSubCategories/analytics.d.ts +0 -9
- package/build/purposeSubCategories/analytics.d.ts.map +0 -1
- package/build/purposeSubCategories/analytics.js +0 -9
- package/build/purposeSubCategories/analytics.js.map +0 -1
- package/build/purposeSubCategories/essential.d.ts +0 -9
- package/build/purposeSubCategories/essential.d.ts.map +0 -1
- package/build/purposeSubCategories/essential.js +0 -9
- package/build/purposeSubCategories/essential.js.map +0 -1
- package/build/purposeSubCategories/hr.d.ts +0 -9
- package/build/purposeSubCategories/hr.d.ts.map +0 -1
- package/build/purposeSubCategories/hr.js +0 -9
- package/build/purposeSubCategories/hr.js.map +0 -1
- package/build/purposeSubCategories/index.d.ts +0 -19
- package/build/purposeSubCategories/index.d.ts.map +0 -1
- package/build/purposeSubCategories/index.js +0 -31
- package/build/purposeSubCategories/index.js.map +0 -1
- package/build/purposeSubCategories/legal.d.ts +0 -9
- package/build/purposeSubCategories/legal.d.ts.map +0 -1
- package/build/purposeSubCategories/legal.js +0 -9
- package/build/purposeSubCategories/legal.js.map +0 -1
- package/build/purposeSubCategories/marketing.d.ts +0 -9
- package/build/purposeSubCategories/marketing.d.ts.map +0 -1
- package/build/purposeSubCategories/marketing.js +0 -9
- package/build/purposeSubCategories/marketing.js.map +0 -1
- package/build/purposeSubCategories/operationSecurity.d.ts +0 -9
- package/build/purposeSubCategories/operationSecurity.d.ts.map +0 -1
- package/build/purposeSubCategories/operationSecurity.js +0 -9
- package/build/purposeSubCategories/operationSecurity.js.map +0 -1
- package/build/purposeSubCategories/other.d.ts +0 -9
- package/build/purposeSubCategories/other.d.ts.map +0 -1
- package/build/purposeSubCategories/other.js +0 -9
- package/build/purposeSubCategories/other.js.map +0 -1
- package/build/purposeSubCategories/personalization.d.ts +0 -9
- package/build/purposeSubCategories/personalization.d.ts.map +0 -1
- package/build/purposeSubCategories/personalization.js +0 -9
- package/build/purposeSubCategories/personalization.js.map +0 -1
- package/build/purposeSubCategories/sale.d.ts +0 -9
- package/build/purposeSubCategories/sale.d.ts.map +0 -1
- package/build/purposeSubCategories/sale.js +0 -9
- package/build/purposeSubCategories/sale.js.map +0 -1
- package/build/purposeSubCategories/transfer.d.ts +0 -9
- package/build/purposeSubCategories/transfer.d.ts.map +0 -1
- package/build/purposeSubCategories/transfer.js +0 -9
- package/build/purposeSubCategories/transfer.js.map +0 -1
- package/build/regexes.d.ts +0 -5
- package/build/regexes.d.ts.map +0 -1
- package/build/regexes.js +0 -8
- package/build/regexes.js.map +0 -1
- package/build/request.d.ts +0 -214
- package/build/request.d.ts.map +0 -1
- package/build/request.js +0 -151
- package/build/request.js.map +0 -1
- package/build/scopes.d.ts +0 -153
- package/build/scopes.d.ts.map +0 -1
- package/build/scopes.js +0 -1017
- package/build/scopes.js.map +0 -1
- package/build/sql.d.ts +0 -261
- package/build/sql.d.ts.map +0 -1
- package/build/sql.js +0 -82
- package/build/sql.js.map +0 -1
- package/build/subcategories/connection.d.ts +0 -19
- package/build/subcategories/connection.d.ts.map +0 -1
- package/build/subcategories/connection.js +0 -19
- package/build/subcategories/connection.js.map +0 -1
- package/build/subcategories/contact.d.ts +0 -13
- package/build/subcategories/contact.d.ts.map +0 -1
- package/build/subcategories/contact.js +0 -13
- package/build/subcategories/contact.js.map +0 -1
- package/build/subcategories/demographic.d.ts +0 -28
- package/build/subcategories/demographic.d.ts.map +0 -1
- package/build/subcategories/demographic.js +0 -28
- package/build/subcategories/demographic.js.map +0 -1
- package/build/subcategories/device.d.ts +0 -14
- package/build/subcategories/device.d.ts.map +0 -1
- package/build/subcategories/device.js +0 -14
- package/build/subcategories/device.js.map +0 -1
- package/build/subcategories/financial.d.ts +0 -20
- package/build/subcategories/financial.d.ts.map +0 -1
- package/build/subcategories/financial.js +0 -20
- package/build/subcategories/financial.js.map +0 -1
- package/build/subcategories/health.d.ts +0 -10
- package/build/subcategories/health.d.ts.map +0 -1
- package/build/subcategories/health.js +0 -10
- package/build/subcategories/health.js.map +0 -1
- package/build/subcategories/id.d.ts +0 -24
- package/build/subcategories/id.d.ts.map +0 -1
- package/build/subcategories/id.js +0 -24
- package/build/subcategories/id.js.map +0 -1
- package/build/subcategories/index.d.ts +0 -55
- package/build/subcategories/index.d.ts.map +0 -1
- package/build/subcategories/index.js +0 -35
- package/build/subcategories/index.js.map +0 -1
- package/build/subcategories/location.d.ts +0 -9
- package/build/subcategories/location.d.ts.map +0 -1
- package/build/subcategories/location.js +0 -9
- package/build/subcategories/location.js.map +0 -1
- package/build/subcategories/notPersonalData.d.ts +0 -10
- package/build/subcategories/notPersonalData.d.ts.map +0 -1
- package/build/subcategories/notPersonalData.js +0 -10
- package/build/subcategories/notPersonalData.js.map +0 -1
- package/build/subcategories/onlineActivity.d.ts +0 -15
- package/build/subcategories/onlineActivity.d.ts.map +0 -1
- package/build/subcategories/onlineActivity.js +0 -15
- package/build/subcategories/onlineActivity.js.map +0 -1
- package/build/subcategories/socialMedia.d.ts +0 -11
- package/build/subcategories/socialMedia.d.ts.map +0 -1
- package/build/subcategories/socialMedia.js +0 -11
- package/build/subcategories/socialMedia.js.map +0 -1
- package/build/subcategories/survey.d.ts +0 -9
- package/build/subcategories/survey.d.ts.map +0 -1
- package/build/subcategories/survey.js +0 -10
- package/build/subcategories/survey.js.map +0 -1
- package/build/subcategories/tracking.d.ts +0 -9
- package/build/subcategories/tracking.d.ts.map +0 -1
- package/build/subcategories/tracking.js +0 -10
- package/build/subcategories/tracking.js.map +0 -1
- package/build/subcategories/userProfile.d.ts +0 -15
- package/build/subcategories/userProfile.d.ts.map +0 -1
- package/build/subcategories/userProfile.js +0 -15
- package/build/subcategories/userProfile.js.map +0 -1
- package/build/team.d.ts +0 -21
- package/build/team.d.ts.map +0 -1
- package/build/team.js +0 -25
- package/build/team.js.map +0 -1
- package/build/tests/index.test.d.ts +0 -2
- package/build/tests/index.test.d.ts.map +0 -1
- package/build/tests/index.test.js +0 -18
- package/build/tests/index.test.js.map +0 -1
- package/build/theme.d.ts +0 -347
- package/build/theme.d.ts.map +0 -1
- package/build/theme.js +0 -202
- package/build/theme.js.map +0 -1
- package/build/tsbuildinfo +0 -1
package/build/theme.d.ts
DELETED
|
@@ -1,347 +0,0 @@
|
|
|
1
|
-
import * as t from 'io-ts';
|
|
2
|
-
/**
|
|
3
|
-
* The names of the components that can be provided css overrides
|
|
4
|
-
*/
|
|
5
|
-
export declare enum CustomizableComponent {
|
|
6
|
-
/** H1 */
|
|
7
|
-
H1 = "h1",
|
|
8
|
-
/** H2 */
|
|
9
|
-
H2 = "h2",
|
|
10
|
-
/** H3 */
|
|
11
|
-
H3 = "h3",
|
|
12
|
-
/** Body */
|
|
13
|
-
Body = "body",
|
|
14
|
-
/** Style the text on the side menu */
|
|
15
|
-
SideMenuText = "sideMenuText",
|
|
16
|
-
/** Primary button */
|
|
17
|
-
PrimaryButton = "primaryButton",
|
|
18
|
-
/** Secondary button */
|
|
19
|
-
SecondaryButton = "secondaryButton",
|
|
20
|
-
/** Email button */
|
|
21
|
-
EmailButton = "emailButton",
|
|
22
|
-
/** Email container styles */
|
|
23
|
-
EmailContainer = "emailContainer",
|
|
24
|
-
/** Hero image */
|
|
25
|
-
Hero = "hero",
|
|
26
|
-
/** Hero background */
|
|
27
|
-
HeroBackground = "heroBackground",
|
|
28
|
-
/** Take control confirmation styles */
|
|
29
|
-
TakeControlConfirmation = "takeControlConfirmation",
|
|
30
|
-
/** Modal styles */
|
|
31
|
-
Modal = "modal"
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* The names of the text fonts
|
|
35
|
-
*/
|
|
36
|
-
export declare enum CustomizableText {
|
|
37
|
-
/** Headers */
|
|
38
|
-
FontFamilyHeader = "fontFamilyHeader",
|
|
39
|
-
/** Body */
|
|
40
|
-
FontFamilyBody = "fontFamilyBody"
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* The color palette that must be defined
|
|
44
|
-
*/
|
|
45
|
-
export declare const RequiredConfigurableColorPaletteColor: {
|
|
46
|
-
/**
|
|
47
|
-
* Used everywhere...
|
|
48
|
-
*
|
|
49
|
-
* The primary color chosen by Company X will be applied by default to the following elements of the Privacy Center:
|
|
50
|
-
* 1. **Hero background**
|
|
51
|
-
* 2. **Sidebar navigation background**
|
|
52
|
-
* 3. **Primary CTA (call to action)**
|
|
53
|
-
* 4. **Primary links and active states**
|
|
54
|
-
*/
|
|
55
|
-
Primary: "primary";
|
|
56
|
-
/**
|
|
57
|
-
* Used everywhere...
|
|
58
|
-
*
|
|
59
|
-
* The secondary color chosen by Company X will be applied by default to the following elements of the Privacy Center::
|
|
60
|
-
* 1. **Secondary CTAs**
|
|
61
|
-
* 2. **Secondary links**
|
|
62
|
-
*/
|
|
63
|
-
Secondary: "secondary";
|
|
64
|
-
};
|
|
65
|
-
/** Type override */
|
|
66
|
-
export type RequiredConfigurableColorPaletteColor = typeof RequiredConfigurableColorPaletteColor[keyof typeof RequiredConfigurableColorPaletteColor];
|
|
67
|
-
/**
|
|
68
|
-
* The optional color pallette colors
|
|
69
|
-
*/
|
|
70
|
-
export declare const OptionalConfigurableColorPaletteColor: {
|
|
71
|
-
/**
|
|
72
|
-
* The background color will be set by the primary color by default with the ability to change it to secondary color, black or white.
|
|
73
|
-
*/
|
|
74
|
-
SidebarNavBg: "sidebarNavBg";
|
|
75
|
-
/**
|
|
76
|
-
* The hero background color
|
|
77
|
-
*/
|
|
78
|
-
HeroBg: "heroBg";
|
|
79
|
-
/**
|
|
80
|
-
* The background of the widget
|
|
81
|
-
*/
|
|
82
|
-
WidgetBg: "widgetBg";
|
|
83
|
-
/** The main text color to use when text is shown on an object colored bg */
|
|
84
|
-
TextOnBg: "textOnBg";
|
|
85
|
-
/** A lighter text color to use when text is shown on an object colored bg */
|
|
86
|
-
TextLightOnBg: "textLightOnBg";
|
|
87
|
-
/** The main text color to use when text is shown on an object colored primary */
|
|
88
|
-
TextOnPrimary: "textOnPrimary";
|
|
89
|
-
/** Text on sidebar */
|
|
90
|
-
TextOnSidebar: "textOnSidebar";
|
|
91
|
-
/** Accent on sidebar */
|
|
92
|
-
AccentOnSidebar: "accentOnSidebar";
|
|
93
|
-
/** Text to use on hero */
|
|
94
|
-
TextOnHero: "textOnHero";
|
|
95
|
-
/** Text to use on About Transcend widget */
|
|
96
|
-
TextOnAboutTranscend: "textOnAboutTranscend";
|
|
97
|
-
/** Used to highlight text */
|
|
98
|
-
Highlight: "highlight";
|
|
99
|
-
/** The color of the table outline */
|
|
100
|
-
TableOutline: "tableOutline";
|
|
101
|
-
/** The page's accent background color (used in call-outs and asides) */
|
|
102
|
-
BgAccent: "bgAccent";
|
|
103
|
-
/** Error color -- something went wrong */
|
|
104
|
-
Error: "error";
|
|
105
|
-
/** White color */
|
|
106
|
-
White: "white";
|
|
107
|
-
/** Black color */
|
|
108
|
-
Black: "black";
|
|
109
|
-
/** Light gray color */
|
|
110
|
-
Gray1: "gray1";
|
|
111
|
-
/** Medium gray color */
|
|
112
|
-
Gray4: "gray4";
|
|
113
|
-
};
|
|
114
|
-
/** Type override */
|
|
115
|
-
export type OptionalConfigurableColorPaletteColor = typeof OptionalConfigurableColorPaletteColor[keyof typeof OptionalConfigurableColorPaletteColor];
|
|
116
|
-
/**
|
|
117
|
-
* The color palette that an organization can customize on their privacy center exposed in the default GUI.
|
|
118
|
-
*/
|
|
119
|
-
export declare const ConfigurableColorPaletteColor: {
|
|
120
|
-
/**
|
|
121
|
-
* The background color will be set by the primary color by default with the ability to change it to secondary color, black or white.
|
|
122
|
-
*/
|
|
123
|
-
SidebarNavBg: "sidebarNavBg";
|
|
124
|
-
/**
|
|
125
|
-
* The hero background color
|
|
126
|
-
*/
|
|
127
|
-
HeroBg: "heroBg";
|
|
128
|
-
/**
|
|
129
|
-
* The background of the widget
|
|
130
|
-
*/
|
|
131
|
-
WidgetBg: "widgetBg";
|
|
132
|
-
/** The main text color to use when text is shown on an object colored bg */
|
|
133
|
-
TextOnBg: "textOnBg";
|
|
134
|
-
/** A lighter text color to use when text is shown on an object colored bg */
|
|
135
|
-
TextLightOnBg: "textLightOnBg";
|
|
136
|
-
/** The main text color to use when text is shown on an object colored primary */
|
|
137
|
-
TextOnPrimary: "textOnPrimary";
|
|
138
|
-
/** Text on sidebar */
|
|
139
|
-
TextOnSidebar: "textOnSidebar";
|
|
140
|
-
/** Accent on sidebar */
|
|
141
|
-
AccentOnSidebar: "accentOnSidebar";
|
|
142
|
-
/** Text to use on hero */
|
|
143
|
-
TextOnHero: "textOnHero";
|
|
144
|
-
/** Text to use on About Transcend widget */
|
|
145
|
-
TextOnAboutTranscend: "textOnAboutTranscend";
|
|
146
|
-
/** Used to highlight text */
|
|
147
|
-
Highlight: "highlight";
|
|
148
|
-
/** The color of the table outline */
|
|
149
|
-
TableOutline: "tableOutline";
|
|
150
|
-
/** The page's accent background color (used in call-outs and asides) */
|
|
151
|
-
BgAccent: "bgAccent";
|
|
152
|
-
/** Error color -- something went wrong */
|
|
153
|
-
Error: "error";
|
|
154
|
-
/** White color */
|
|
155
|
-
White: "white";
|
|
156
|
-
/** Black color */
|
|
157
|
-
Black: "black";
|
|
158
|
-
/** Light gray color */
|
|
159
|
-
Gray1: "gray1";
|
|
160
|
-
/** Medium gray color */
|
|
161
|
-
Gray4: "gray4";
|
|
162
|
-
/**
|
|
163
|
-
* Used everywhere...
|
|
164
|
-
*
|
|
165
|
-
* The primary color chosen by Company X will be applied by default to the following elements of the Privacy Center:
|
|
166
|
-
* 1. **Hero background**
|
|
167
|
-
* 2. **Sidebar navigation background**
|
|
168
|
-
* 3. **Primary CTA (call to action)**
|
|
169
|
-
* 4. **Primary links and active states**
|
|
170
|
-
*/
|
|
171
|
-
Primary: "primary";
|
|
172
|
-
/**
|
|
173
|
-
* Used everywhere...
|
|
174
|
-
*
|
|
175
|
-
* The secondary color chosen by Company X will be applied by default to the following elements of the Privacy Center::
|
|
176
|
-
* 1. **Secondary CTAs**
|
|
177
|
-
* 2. **Secondary links**
|
|
178
|
-
*/
|
|
179
|
-
Secondary: "secondary";
|
|
180
|
-
};
|
|
181
|
-
/** Type override */
|
|
182
|
-
export type ConfigurableColorPaletteColor = typeof ConfigurableColorPaletteColor[keyof typeof ConfigurableColorPaletteColor];
|
|
183
|
-
/**
|
|
184
|
-
* The shape of a configurable color palette
|
|
185
|
-
*/
|
|
186
|
-
export declare const PrivacyCenterConfigurableColorPalette: t.IntersectionC<[t.RecordC<t.KeyofC<{
|
|
187
|
-
primary: unknown;
|
|
188
|
-
secondary: unknown;
|
|
189
|
-
}>, t.StringC>, t.PartialC<{
|
|
190
|
-
error: t.StringC;
|
|
191
|
-
sidebarNavBg: t.StringC;
|
|
192
|
-
heroBg: t.StringC;
|
|
193
|
-
widgetBg: t.StringC;
|
|
194
|
-
textOnBg: t.StringC;
|
|
195
|
-
textLightOnBg: t.StringC;
|
|
196
|
-
textOnPrimary: t.StringC;
|
|
197
|
-
textOnSidebar: t.StringC;
|
|
198
|
-
accentOnSidebar: t.StringC;
|
|
199
|
-
textOnHero: t.StringC;
|
|
200
|
-
textOnAboutTranscend: t.StringC;
|
|
201
|
-
highlight: t.StringC;
|
|
202
|
-
tableOutline: t.StringC;
|
|
203
|
-
bgAccent: t.StringC;
|
|
204
|
-
white: t.StringC;
|
|
205
|
-
black: t.StringC;
|
|
206
|
-
gray1: t.StringC;
|
|
207
|
-
gray4: t.StringC;
|
|
208
|
-
}>]>;
|
|
209
|
-
/** Type override */
|
|
210
|
-
export type PrivacyCenterConfigurableColorPalette = t.TypeOf<typeof PrivacyCenterConfigurableColorPalette>;
|
|
211
|
-
/**
|
|
212
|
-
* Custom CSS for privacy center
|
|
213
|
-
*/
|
|
214
|
-
export declare const PrivacyCenterComponentStyles: t.PartialC<{
|
|
215
|
-
h1: t.StringC;
|
|
216
|
-
h2: t.StringC;
|
|
217
|
-
h3: t.StringC;
|
|
218
|
-
body: t.StringC;
|
|
219
|
-
sideMenuText: t.StringC;
|
|
220
|
-
primaryButton: t.StringC;
|
|
221
|
-
secondaryButton: t.StringC;
|
|
222
|
-
emailButton: t.StringC;
|
|
223
|
-
emailContainer: t.StringC;
|
|
224
|
-
hero: t.StringC;
|
|
225
|
-
heroBackground: t.StringC;
|
|
226
|
-
takeControlConfirmation: t.StringC;
|
|
227
|
-
modal: t.StringC;
|
|
228
|
-
}>;
|
|
229
|
-
/** Type override */
|
|
230
|
-
export type PrivacyCenterComponentStyles = t.TypeOf<typeof PrivacyCenterComponentStyles>;
|
|
231
|
-
/**
|
|
232
|
-
* A font definition
|
|
233
|
-
*/
|
|
234
|
-
export declare const PrivacyCenterFontBasic: t.TypeC<{
|
|
235
|
-
name: t.StringC;
|
|
236
|
-
url: t.StringC;
|
|
237
|
-
}>;
|
|
238
|
-
/** Type override */
|
|
239
|
-
export type PrivacyCenterFontBasic = t.TypeOf<typeof PrivacyCenterFontBasic>;
|
|
240
|
-
/**
|
|
241
|
-
* A font definition
|
|
242
|
-
*/
|
|
243
|
-
export declare const PrivacyCenterFont: t.IntersectionC<[t.TypeC<{
|
|
244
|
-
name: t.StringC;
|
|
245
|
-
url: t.StringC;
|
|
246
|
-
}>, t.PartialC<{
|
|
247
|
-
assets: t.ArrayC<t.TypeC<{
|
|
248
|
-
name: t.StringC;
|
|
249
|
-
url: t.StringC;
|
|
250
|
-
}>>;
|
|
251
|
-
}>]>;
|
|
252
|
-
/** Type override */
|
|
253
|
-
export type PrivacyCenterFont = t.TypeOf<typeof PrivacyCenterFont>;
|
|
254
|
-
export declare const PrivacyCenterTextStyles: t.PartialC<{
|
|
255
|
-
fontFamilyHeader: t.IntersectionC<[t.TypeC<{
|
|
256
|
-
name: t.StringC;
|
|
257
|
-
url: t.StringC;
|
|
258
|
-
}>, t.PartialC<{
|
|
259
|
-
assets: t.ArrayC<t.TypeC<{
|
|
260
|
-
name: t.StringC;
|
|
261
|
-
url: t.StringC;
|
|
262
|
-
}>>;
|
|
263
|
-
}>]>;
|
|
264
|
-
fontFamilyBody: t.IntersectionC<[t.TypeC<{
|
|
265
|
-
name: t.StringC;
|
|
266
|
-
url: t.StringC;
|
|
267
|
-
}>, t.PartialC<{
|
|
268
|
-
assets: t.ArrayC<t.TypeC<{
|
|
269
|
-
name: t.StringC;
|
|
270
|
-
url: t.StringC;
|
|
271
|
-
}>>;
|
|
272
|
-
}>]>;
|
|
273
|
-
}>;
|
|
274
|
-
/** Type override */
|
|
275
|
-
export type PrivacyCenterTextStyles = t.TypeOf<typeof PrivacyCenterTextStyles>;
|
|
276
|
-
/**
|
|
277
|
-
* Input for defining a new theme
|
|
278
|
-
*/
|
|
279
|
-
export declare const PrivacyCenterThemePartial: t.IntersectionC<[t.TypeC<{
|
|
280
|
-
/** The display name of the theme */
|
|
281
|
-
name: t.StringC;
|
|
282
|
-
/** The theme colors */
|
|
283
|
-
colors: t.IntersectionC<[t.RecordC<t.KeyofC<{
|
|
284
|
-
primary: unknown;
|
|
285
|
-
secondary: unknown;
|
|
286
|
-
}>, t.StringC>, t.PartialC<{
|
|
287
|
-
error: t.StringC;
|
|
288
|
-
sidebarNavBg: t.StringC;
|
|
289
|
-
heroBg: t.StringC;
|
|
290
|
-
widgetBg: t.StringC;
|
|
291
|
-
textOnBg: t.StringC;
|
|
292
|
-
textLightOnBg: t.StringC;
|
|
293
|
-
textOnPrimary: t.StringC;
|
|
294
|
-
textOnSidebar: t.StringC;
|
|
295
|
-
accentOnSidebar: t.StringC;
|
|
296
|
-
textOnHero: t.StringC;
|
|
297
|
-
textOnAboutTranscend: t.StringC;
|
|
298
|
-
highlight: t.StringC;
|
|
299
|
-
tableOutline: t.StringC;
|
|
300
|
-
bgAccent: t.StringC;
|
|
301
|
-
white: t.StringC;
|
|
302
|
-
black: t.StringC;
|
|
303
|
-
gray1: t.StringC;
|
|
304
|
-
gray4: t.StringC;
|
|
305
|
-
}>]>;
|
|
306
|
-
}>, t.PartialC<{
|
|
307
|
-
/** Styles to apply to components */
|
|
308
|
-
componentStyles: t.PartialC<{
|
|
309
|
-
h1: t.StringC;
|
|
310
|
-
h2: t.StringC;
|
|
311
|
-
h3: t.StringC;
|
|
312
|
-
body: t.StringC;
|
|
313
|
-
sideMenuText: t.StringC;
|
|
314
|
-
primaryButton: t.StringC;
|
|
315
|
-
secondaryButton: t.StringC;
|
|
316
|
-
emailButton: t.StringC;
|
|
317
|
-
emailContainer: t.StringC;
|
|
318
|
-
hero: t.StringC;
|
|
319
|
-
heroBackground: t.StringC;
|
|
320
|
-
takeControlConfirmation: t.StringC;
|
|
321
|
-
modal: t.StringC;
|
|
322
|
-
}>;
|
|
323
|
-
/** Override styles */
|
|
324
|
-
textStyles: t.PartialC<{
|
|
325
|
-
fontFamilyHeader: t.IntersectionC<[t.TypeC<{
|
|
326
|
-
name: t.StringC;
|
|
327
|
-
url: t.StringC;
|
|
328
|
-
}>, t.PartialC<{
|
|
329
|
-
assets: t.ArrayC<t.TypeC<{
|
|
330
|
-
name: t.StringC;
|
|
331
|
-
url: t.StringC;
|
|
332
|
-
}>>;
|
|
333
|
-
}>]>;
|
|
334
|
-
fontFamilyBody: t.IntersectionC<[t.TypeC<{
|
|
335
|
-
name: t.StringC;
|
|
336
|
-
url: t.StringC;
|
|
337
|
-
}>, t.PartialC<{
|
|
338
|
-
assets: t.ArrayC<t.TypeC<{
|
|
339
|
-
name: t.StringC;
|
|
340
|
-
url: t.StringC;
|
|
341
|
-
}>>;
|
|
342
|
-
}>]>;
|
|
343
|
-
}>;
|
|
344
|
-
}>]>;
|
|
345
|
-
/** Type override */
|
|
346
|
-
export type PrivacyCenterThemePartial = t.TypeOf<typeof PrivacyCenterThemePartial>;
|
|
347
|
-
//# sourceMappingURL=theme.d.ts.map
|
package/build/theme.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B;;GAEG;AACH,oBAAY,qBAAqB;IAC/B,SAAS;IACT,EAAE,OAAO;IACT,SAAS;IACT,EAAE,OAAO;IACT,SAAS;IACT,EAAE,OAAO;IACT,WAAW;IACX,IAAI,SAAS;IACb,sCAAsC;IACtC,YAAY,iBAAiB;IAC7B,qBAAqB;IACrB,aAAa,kBAAkB;IAC/B,uBAAuB;IACvB,eAAe,oBAAoB;IACnC,mBAAmB;IACnB,WAAW,gBAAgB;IAC3B,6BAA6B;IAC7B,cAAc,mBAAmB;IACjC,iBAAiB;IACjB,IAAI,SAAS;IACb,sBAAsB;IACtB,cAAc,mBAAmB;IACjC,uCAAuC;IACvC,uBAAuB,4BAA4B;IACnD,mBAAmB;IACnB,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,cAAc;IACd,gBAAgB,qBAAqB;IACr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C;AAEH,oBAAoB;AACpB,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,MAAM,CAC1D,OAAO,qCAAqC,CAC7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;EAExC,CAAC;AAEF,oBAAoB;AACpB,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CACjD,OAAO,4BAA4B,CACpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;EAGjC,CAAC;AAEH,oBAAoB;AACpB,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;IAK5B,CAAC;AAEH,oBAAoB;AACpB,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;EAEnC,CAAC;AAEF,oBAAoB;AACpB,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE/E;;GAEG;AACH,eAAO,MAAM,yBAAyB;IAElC,oCAAoC;;IAEpC,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;IAIvB,oCAAoC;;;;;;;;;;;;;;;;IAEpC,sBAAsB;;;;;;;;;;;;;;;;;;;;;IAGxB,CAAC;AAEH,oBAAoB;AACpB,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAC9C,OAAO,yBAAyB,CACjC,CAAC"}
|
package/build/theme.js
DELETED
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.PrivacyCenterThemePartial = exports.PrivacyCenterTextStyles = exports.PrivacyCenterFont = exports.PrivacyCenterFontBasic = exports.PrivacyCenterComponentStyles = exports.PrivacyCenterConfigurableColorPalette = exports.ConfigurableColorPaletteColor = exports.OptionalConfigurableColorPaletteColor = exports.RequiredConfigurableColorPaletteColor = exports.CustomizableText = exports.CustomizableComponent = void 0;
|
|
27
|
-
const type_utils_1 = require("@transcend-io/type-utils");
|
|
28
|
-
const t = __importStar(require("io-ts"));
|
|
29
|
-
/**
|
|
30
|
-
* The names of the components that can be provided css overrides
|
|
31
|
-
*/
|
|
32
|
-
var CustomizableComponent;
|
|
33
|
-
(function (CustomizableComponent) {
|
|
34
|
-
/** H1 */
|
|
35
|
-
CustomizableComponent["H1"] = "h1";
|
|
36
|
-
/** H2 */
|
|
37
|
-
CustomizableComponent["H2"] = "h2";
|
|
38
|
-
/** H3 */
|
|
39
|
-
CustomizableComponent["H3"] = "h3";
|
|
40
|
-
/** Body */
|
|
41
|
-
CustomizableComponent["Body"] = "body";
|
|
42
|
-
/** Style the text on the side menu */
|
|
43
|
-
CustomizableComponent["SideMenuText"] = "sideMenuText";
|
|
44
|
-
/** Primary button */
|
|
45
|
-
CustomizableComponent["PrimaryButton"] = "primaryButton";
|
|
46
|
-
/** Secondary button */
|
|
47
|
-
CustomizableComponent["SecondaryButton"] = "secondaryButton";
|
|
48
|
-
/** Email button */
|
|
49
|
-
CustomizableComponent["EmailButton"] = "emailButton";
|
|
50
|
-
/** Email container styles */
|
|
51
|
-
CustomizableComponent["EmailContainer"] = "emailContainer";
|
|
52
|
-
/** Hero image */
|
|
53
|
-
CustomizableComponent["Hero"] = "hero";
|
|
54
|
-
/** Hero background */
|
|
55
|
-
CustomizableComponent["HeroBackground"] = "heroBackground";
|
|
56
|
-
/** Take control confirmation styles */
|
|
57
|
-
CustomizableComponent["TakeControlConfirmation"] = "takeControlConfirmation";
|
|
58
|
-
/** Modal styles */
|
|
59
|
-
CustomizableComponent["Modal"] = "modal";
|
|
60
|
-
})(CustomizableComponent || (exports.CustomizableComponent = CustomizableComponent = {}));
|
|
61
|
-
/**
|
|
62
|
-
* The names of the text fonts
|
|
63
|
-
*/
|
|
64
|
-
var CustomizableText;
|
|
65
|
-
(function (CustomizableText) {
|
|
66
|
-
/** Headers */
|
|
67
|
-
CustomizableText["FontFamilyHeader"] = "fontFamilyHeader";
|
|
68
|
-
/** Body */
|
|
69
|
-
CustomizableText["FontFamilyBody"] = "fontFamilyBody";
|
|
70
|
-
})(CustomizableText || (exports.CustomizableText = CustomizableText = {}));
|
|
71
|
-
/**
|
|
72
|
-
* The color palette that must be defined
|
|
73
|
-
*/
|
|
74
|
-
exports.RequiredConfigurableColorPaletteColor = (0, type_utils_1.makeEnum)({
|
|
75
|
-
/**
|
|
76
|
-
* Used everywhere...
|
|
77
|
-
*
|
|
78
|
-
* The primary color chosen by Company X will be applied by default to the following elements of the Privacy Center:
|
|
79
|
-
* 1. **Hero background**
|
|
80
|
-
* 2. **Sidebar navigation background**
|
|
81
|
-
* 3. **Primary CTA (call to action)**
|
|
82
|
-
* 4. **Primary links and active states**
|
|
83
|
-
*/
|
|
84
|
-
Primary: 'primary',
|
|
85
|
-
/**
|
|
86
|
-
* Used everywhere...
|
|
87
|
-
*
|
|
88
|
-
* The secondary color chosen by Company X will be applied by default to the following elements of the Privacy Center::
|
|
89
|
-
* 1. **Secondary CTAs**
|
|
90
|
-
* 2. **Secondary links**
|
|
91
|
-
*/
|
|
92
|
-
Secondary: 'secondary',
|
|
93
|
-
});
|
|
94
|
-
/**
|
|
95
|
-
* The optional color pallette colors
|
|
96
|
-
*/
|
|
97
|
-
exports.OptionalConfigurableColorPaletteColor = (0, type_utils_1.makeEnum)({
|
|
98
|
-
/**
|
|
99
|
-
* The background color will be set by the primary color by default with the ability to change it to secondary color, black or white.
|
|
100
|
-
*/
|
|
101
|
-
SidebarNavBg: 'sidebarNavBg',
|
|
102
|
-
/**
|
|
103
|
-
* The hero background color
|
|
104
|
-
*/
|
|
105
|
-
HeroBg: 'heroBg',
|
|
106
|
-
/**
|
|
107
|
-
* The background of the widget
|
|
108
|
-
*/
|
|
109
|
-
WidgetBg: 'widgetBg',
|
|
110
|
-
// ///////////// //
|
|
111
|
-
// Text Coloring //
|
|
112
|
-
// ///////////// //
|
|
113
|
-
/** The main text color to use when text is shown on an object colored bg */
|
|
114
|
-
TextOnBg: 'textOnBg',
|
|
115
|
-
/** A lighter text color to use when text is shown on an object colored bg */
|
|
116
|
-
TextLightOnBg: 'textLightOnBg',
|
|
117
|
-
/** The main text color to use when text is shown on an object colored primary */
|
|
118
|
-
TextOnPrimary: 'textOnPrimary',
|
|
119
|
-
/** Text on sidebar */
|
|
120
|
-
TextOnSidebar: 'textOnSidebar',
|
|
121
|
-
/** Accent on sidebar */
|
|
122
|
-
AccentOnSidebar: 'accentOnSidebar',
|
|
123
|
-
/** Text to use on hero */
|
|
124
|
-
TextOnHero: 'textOnHero',
|
|
125
|
-
/** Text to use on About Transcend widget */
|
|
126
|
-
TextOnAboutTranscend: 'textOnAboutTranscend',
|
|
127
|
-
/** Used to highlight text */
|
|
128
|
-
Highlight: 'highlight',
|
|
129
|
-
/** The color of the table outline */
|
|
130
|
-
TableOutline: 'tableOutline',
|
|
131
|
-
// //// //
|
|
132
|
-
// Page //
|
|
133
|
-
// //// //
|
|
134
|
-
/** The page's accent background color (used in call-outs and asides) */
|
|
135
|
-
BgAccent: 'bgAccent',
|
|
136
|
-
/** Error color -- something went wrong */
|
|
137
|
-
Error: 'error',
|
|
138
|
-
// /////////// //
|
|
139
|
-
// Base Colors //
|
|
140
|
-
// /////////// //
|
|
141
|
-
/** White color */
|
|
142
|
-
White: 'white',
|
|
143
|
-
/** Black color */
|
|
144
|
-
Black: 'black',
|
|
145
|
-
/** Light gray color */
|
|
146
|
-
Gray1: 'gray1',
|
|
147
|
-
/** Medium gray color */
|
|
148
|
-
Gray4: 'gray4',
|
|
149
|
-
});
|
|
150
|
-
/**
|
|
151
|
-
* The color palette that an organization can customize on their privacy center exposed in the default GUI.
|
|
152
|
-
*/
|
|
153
|
-
exports.ConfigurableColorPaletteColor = (0, type_utils_1.makeEnum)({
|
|
154
|
-
...exports.RequiredConfigurableColorPaletteColor,
|
|
155
|
-
...exports.OptionalConfigurableColorPaletteColor,
|
|
156
|
-
});
|
|
157
|
-
/**
|
|
158
|
-
* The shape of a configurable color palette
|
|
159
|
-
*/
|
|
160
|
-
exports.PrivacyCenterConfigurableColorPalette = t.intersection([
|
|
161
|
-
t.record((0, type_utils_1.valuesOf)(exports.RequiredConfigurableColorPaletteColor), t.string),
|
|
162
|
-
t.partial((0, type_utils_1.applyEnum)(exports.OptionalConfigurableColorPaletteColor, () => t.string)),
|
|
163
|
-
]);
|
|
164
|
-
/**
|
|
165
|
-
* Custom CSS for privacy center
|
|
166
|
-
*/
|
|
167
|
-
exports.PrivacyCenterComponentStyles = t.partial((0, type_utils_1.applyEnum)(CustomizableComponent, () => t.string));
|
|
168
|
-
/**
|
|
169
|
-
* A font definition
|
|
170
|
-
*/
|
|
171
|
-
exports.PrivacyCenterFontBasic = t.type({
|
|
172
|
-
name: t.string,
|
|
173
|
-
url: t.string,
|
|
174
|
-
});
|
|
175
|
-
/**
|
|
176
|
-
* A font definition
|
|
177
|
-
*/
|
|
178
|
-
exports.PrivacyCenterFont = t.intersection([
|
|
179
|
-
exports.PrivacyCenterFontBasic,
|
|
180
|
-
t.partial({
|
|
181
|
-
assets: t.array(exports.PrivacyCenterFontBasic),
|
|
182
|
-
}),
|
|
183
|
-
]);
|
|
184
|
-
exports.PrivacyCenterTextStyles = t.partial((0, type_utils_1.applyEnum)(CustomizableText, () => exports.PrivacyCenterFont));
|
|
185
|
-
/**
|
|
186
|
-
* Input for defining a new theme
|
|
187
|
-
*/
|
|
188
|
-
exports.PrivacyCenterThemePartial = t.intersection([
|
|
189
|
-
t.type({
|
|
190
|
-
/** The display name of the theme */
|
|
191
|
-
name: t.string,
|
|
192
|
-
/** The theme colors */
|
|
193
|
-
colors: exports.PrivacyCenterConfigurableColorPalette,
|
|
194
|
-
}),
|
|
195
|
-
t.partial({
|
|
196
|
-
/** Styles to apply to components */
|
|
197
|
-
componentStyles: exports.PrivacyCenterComponentStyles,
|
|
198
|
-
/** Override styles */
|
|
199
|
-
textStyles: exports.PrivacyCenterTextStyles,
|
|
200
|
-
}),
|
|
201
|
-
]);
|
|
202
|
-
//# sourceMappingURL=theme.js.map
|
package/build/theme.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yDAAyE;AACzE,yCAA2B;AAE3B;;GAEG;AACH,IAAY,qBA2BX;AA3BD,WAAY,qBAAqB;IAC/B,SAAS;IACT,kCAAS,CAAA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