@engagently/types 7.2.0 → 7.3.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.
@@ -10,6 +10,7 @@ type SignOutOptions = Partial<{
10
10
  export declare const reinit: (partialConfig?: Partial<EngageConfig>) => Promise<void>;
11
11
  export declare const signOut: ({ anonymousSession }?: SignOutOptions) => Promise<void>;
12
12
  export type Engagently = {
13
+ partNames?: Map<string, Set<string>>;
13
14
  config?: EngageConfig;
14
15
  communityConfig?: DeepPartial<CommunityConfig>;
15
16
  changeLanguage: (languageCode: string) => void;
@@ -23,6 +23,7 @@ import type {
23
23
  QuizAttributesHTMLElement,
24
24
  QuizBarAttributesHTMLElement,
25
25
  QuizWidgetEvents,
26
+ UserAttributesHTMLElement,
26
27
  } from '../common/_types/WidgetDefinitions';
27
28
 
28
29
  ////// exposed types package exports
@@ -123,6 +124,10 @@ declare global {
123
124
  React.HTMLAttributes<HTMLElement> & QuizBarAttributesHTMLElement,
124
125
  HTMLElement
125
126
  >;
127
+ 'egy-user': React.DetailedHTMLProps<
128
+ React.HTMLAttributes<HTMLElement> & UserAttributesHTMLElement,
129
+ HTMLElement
130
+ >;
126
131
  }
127
132
  }
128
133
 
@@ -1,7 +1,7 @@
1
- import type { CommentaryActionPlacements } from '../../../common';
2
- import type emptyTheme from '../../themes/unstyled';
3
- import type { ButtonSizes, ButtonVariants, ComponentColorScheme, ThemeAnimations, ThemeBreakpoints, ThemeLevels, ThemePalette, ThemeShadows, ThemeShape, ThemeSpacing, ThemeTypography } from '../../themes/config';
4
1
  import type { ColorSchemesConfig } from '../../themes/_types';
2
+ import type { ButtonSizes, ButtonVariants, ComponentColorScheme, ThemeAnimations, ThemeBreakpoints, ThemeLevels, ThemePalette, ThemeShadows, ThemeShape, ThemeSpacing, ThemeTypography } from '../../themes/config';
3
+ import type emptyTheme from '../../themes/unstyled';
4
+ import type { CommentaryActionPlacements } from '../../../common';
5
5
  /**
6
6
  * Theme styles are custom styles that are different depending on the chosen
7
7
  * theme. For example in theme-a the button could have a drop shadow, whereas
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
- "name": "@engagently/types",
3
- "version": "7.2.0",
4
- "main": "./index.ts",
5
- "types": "dist/types/engagently.d.ts",
6
- "files": [
7
- "dist"
8
- ],
9
- "keywords": [],
10
2
  "author": {
11
- "name": "ferret go GmbH",
12
- "email": "support@ferret-go.com"
3
+ "email": "support@ferret-go.com",
4
+ "name": "ferret go GmbH"
13
5
  },
14
- "license": "UNLICENSED",
15
6
  "devDependencies": {
16
7
  "vite-plugin-dts": "^3.4.0"
17
8
  },
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "keywords": [],
13
+ "license": "UNLICENSED",
14
+ "main": "./index.ts",
15
+ "name": "@engagently/types",
16
+ "types": "dist/types/engagently.d.ts",
17
+ "version": "7.3.1",
18
18
  "scripts": {
19
19
  "build": "vite build",
20
20
  "clean": "rimraf dist"