@soyio/soyio-widget 2.15.3 → 2.16.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/README.md +362 -179
- package/dist/index.d.ts +23 -1
- package/dist/index.js +131 -128
- package/dist/index.umd.cjs +14 -14
- package/package.json +13 -3
package/dist/index.d.ts
CHANGED
|
@@ -212,6 +212,10 @@ declare type PrivacyCenterConfig = BaseConfig & {
|
|
|
212
212
|
enabledFeatures?: PrivacyManagerFeature[];
|
|
213
213
|
dataSubjects?: DataSubject[];
|
|
214
214
|
requestReference?: string;
|
|
215
|
+
fileRequisites?: {
|
|
216
|
+
allowedExtensions?: string[];
|
|
217
|
+
maxFileSize?: number;
|
|
218
|
+
};
|
|
215
219
|
} & ({
|
|
216
220
|
companyId: `com_${string}`;
|
|
217
221
|
sessionToken?: never;
|
|
@@ -258,9 +262,27 @@ declare interface SoyioAppearanceVariables {
|
|
|
258
262
|
colorBackground?: string;
|
|
259
263
|
colorText?: string;
|
|
260
264
|
colorTextSecondary?: string;
|
|
265
|
+
colorTextSubtle?: string;
|
|
266
|
+
colorTextInverted?: string;
|
|
267
|
+
colorPrimarySurface?: string;
|
|
268
|
+
colorSurface?: string;
|
|
269
|
+
colorSurfaceMuted?: string;
|
|
270
|
+
colorSurfaceStrong?: string;
|
|
271
|
+
colorBorder?: string;
|
|
272
|
+
colorBorderMuted?: string;
|
|
273
|
+
colorSwitchBorder?: string;
|
|
274
|
+
colorInfo?: string;
|
|
275
|
+
colorInfoBg?: string;
|
|
276
|
+
colorSuccess?: string;
|
|
277
|
+
colorSuccessBg?: string;
|
|
278
|
+
colorWarning?: string;
|
|
279
|
+
colorWarningBg?: string;
|
|
280
|
+
colorDanger?: string;
|
|
281
|
+
colorDangerBg?: string;
|
|
282
|
+
colorOverlay?: string;
|
|
261
283
|
}
|
|
262
284
|
|
|
263
|
-
declare type SoyioBaseRule = '.MainContainer' | '.Button' | '.Checkbox' | '.CheckboxInput' | '.CheckboxLabel';
|
|
285
|
+
declare type SoyioBaseRule = '.MainContainer' | '.Button' | '.Checkbox' | '.CheckboxInput' | '.CheckboxLabel' | '.Input' | '.Label' | '.Title' | '.Link' | '.Card' | '.Select' | '.Loader' | '.TextArea' | '.ErrorMessage' | '.Description' | '.Switch' | '.SwitchRoot' | '.SwitchThumb' | '.SwitchIcon' | '.Alert' | '.Alert--error' | '.Alert--warning' | '.Alert--information' | '.Alert--success' | '.Radio' | '.RadioLabel' | '.Chip' | '.Chip--info' | '.Chip--green' | '.Chip--red' | '.Chip--amber' | '.Dialog' | '.DialogOverlay' | '.DialogContent' | '.Combobox' | '.NinInput' | '.RadioCard' | '.RadioCardIndicator' | '.RadioCardIndicatorPoint' | '.TooltipContent';
|
|
264
286
|
|
|
265
287
|
declare type SoyioElementState = '--checked';
|
|
266
288
|
|