@camunda/camunda-composite-components 0.3.1-rc.8 → 0.4.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/lib/esm/package.json +114 -0
- package/lib/esm/{api → src/api}/help-center.d.ts +3 -2
- package/lib/esm/{api → src/api}/help-center.js +4 -4
- package/lib/esm/{components → src/components}/c3-help-center/c3-help-center-provider.d.ts +4 -1
- package/lib/esm/{components → src/components}/c3-help-center/c3-help-center-provider.js +8 -9
- package/lib/esm/{components → src/components}/c3-help-center/c3-help-center.js +13 -4
- package/lib/esm/{components → src/components}/c3-help-center/help-center-hint.d.ts +0 -1
- package/lib/esm/{components → src/components}/c3-help-center/help-center-hint.js +6 -7
- package/lib/esm/{components → src/components}/c3-help-center/help-center.js +4 -3
- package/lib/esm/{components → src/components}/c3-help-center/tabs/feedback.js +1 -1
- package/lib/esm/src/components/c3-help-center/tabs/tabContent.d.ts +291 -0
- package/lib/esm/src/components/c3-help-center/tabs/tabContent.js +20 -0
- package/lib/esm/src/components/c3-help-center/tabs/tabContentSkeleton.d.ts +2 -0
- package/lib/esm/src/components/c3-help-center/tabs/tabContentSkeleton.js +22 -0
- package/lib/esm/{components → src/components}/c3-help-center/tile.js +20 -5
- package/lib/esm/{components → src/components}/c3-navigation/c3-notification-provider/c3-notification-container.d.ts +69 -69
- package/lib/esm/{components → src/components}/c3-navigation/story-helpers.js +1 -1
- package/lib/esm/{components → src/components}/c3-onboarding-survey/c3-onboarding-survey.js +1 -0
- package/lib/esm/{components → src/components}/c3-onboarding-survey/onboardingSurvey.js +2 -3
- package/lib/esm/{components → src/components}/styles.d.ts +46 -46
- package/package.json +13 -5
- package/lib/esm/components/c3-help-center/tabs/tabContent.d.ts +0 -19
- package/lib/esm/components/c3-help-center/tabs/tabContent.js +0 -18
- /package/lib/esm/{api → src/api}/api.d.ts +0 -0
- /package/lib/esm/{api → src/api}/api.js +0 -0
- /package/lib/esm/{api → src/api}/endpoints.const.d.ts +0 -0
- /package/lib/esm/{api → src/api}/endpoints.const.js +0 -0
- /package/lib/esm/{api → src/api}/jwt.utils.d.ts +0 -0
- /package/lib/esm/{api → src/api}/jwt.utils.js +0 -0
- /package/lib/esm/{api → src/api}/notifications.d.ts +0 -0
- /package/lib/esm/{api → src/api}/notifications.js +0 -0
- /package/lib/esm/{api → src/api}/profile.d.ts +0 -0
- /package/lib/esm/{api → src/api}/profile.js +0 -0
- /package/lib/esm/{components → src/components}/c3-cluster-tag/c3-cluster-tag.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-cluster-tag/c3-cluster-tag.js +0 -0
- /package/lib/esm/{components → src/components}/c3-cluster-tag/c3-cluster-tag.types.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-cluster-tag/c3-cluster-tag.types.js +0 -0
- /package/lib/esm/{components → src/components}/c3-empty-state/c3-empty-state.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-empty-state/c3-empty-state.js +0 -0
- /package/lib/esm/{components → src/components}/c3-empty-state/c3-empty-state.test.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-empty-state/c3-empty-state.test.js +0 -0
- /package/lib/esm/{components → src/components}/c3-empty-state/c3-empty-state.types.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-empty-state/c3-empty-state.types.js +0 -0
- /package/lib/esm/{components → src/components}/c3-help-center/c3-help-center.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-help-center/c3-help-center.types.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-help-center/c3-help-center.types.js +0 -0
- /package/lib/esm/{components → src/components}/c3-help-center/defaultHelpCenterConfig.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-help-center/defaultHelpCenterConfig.js +0 -0
- /package/lib/esm/{components → src/components}/c3-help-center/help-center.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-help-center/recommendations.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-help-center/recommendations.js +0 -0
- /package/lib/esm/{components → src/components}/c3-help-center/tabs/feedback.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-help-center/tile.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-info-button.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-info-button.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-actions/c3-action-buttons.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-actions/c3-action-buttons.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-actions/c3-action-buttons.types.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-actions/c3-action-buttons.types.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-appbar.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-appbar.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-info-sidebar.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-info-sidebar.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar-element.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar-element.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar.types.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar.types.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-notification-sidebar.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-notification-sidebar.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-org-sidebar.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-org-sidebar.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-sidebar-state-provider.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-sidebar-state-provider.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-user-sidebar.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/c3-user-sidebar.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/components.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation-sidebar/components.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation.test.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation.test.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation.types.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-navigation.types.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-notification-provider/c3-notification-container.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-notification-provider/c3-notification-provider.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/c3-notification-provider/c3-notification-provider.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/helpers.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/helpers.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/index.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/index.js +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/story-helpers.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/story-templates.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-navigation/story-templates.js +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/c3-onboarding-survey.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/defaultOnboardingConfig.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/defaultOnboardingConfig.js +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/elements/dropdownSelect.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/elements/dropdownSelect.js +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/elements/radioGroupMulti.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/elements/radioGroupMulti.js +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/elements/radioGroupSingle.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/elements/radioGroupSingle.js +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/elements/textField.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/elements/textField.js +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/helpers.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/helpers.js +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/onboarding.types.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/onboarding.types.js +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/onboardingModal.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/onboardingModal.js +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/onboardingPage.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/onboardingPage.js +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/onboardingSurvey.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/step.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-onboarding-survey/step.js +0 -0
- /package/lib/esm/{components → src/components}/c3-user-configuration/authToken.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-user-configuration/authToken.js +0 -0
- /package/lib/esm/{components → src/components}/c3-user-configuration/c3-profile-provider/c3-profile-provider.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-user-configuration/c3-profile-provider/c3-profile-provider.js +0 -0
- /package/lib/esm/{components → src/components}/c3-user-configuration/c3-profile-provider/carbon-theme-provider.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-user-configuration/c3-profile-provider/carbon-theme-provider.js +0 -0
- /package/lib/esm/{components → src/components}/c3-user-configuration/c3-user-configuration-provider.d.ts +0 -0
- /package/lib/esm/{components → src/components}/c3-user-configuration/c3-user-configuration-provider.js +0 -0
- /package/lib/esm/{components → src/components}/styles.js +0 -0
- /package/lib/esm/{components → src/components}/test-utils.d.ts +0 -0
- /package/lib/esm/{components → src/components}/test-utils.js +0 -0
- /package/lib/esm/{icons → src/icons}/c3-icons.d.ts +0 -0
- /package/lib/esm/{icons → src/icons}/c3-icons.js +0 -0
- /package/lib/esm/{icons → src/icons}/c3-icons.types.d.ts +0 -0
- /package/lib/esm/{icons → src/icons}/c3-icons.types.js +0 -0
- /package/lib/esm/{index.d.ts → src/index.d.ts} +0 -0
- /package/lib/esm/{index.js → src/index.js} +0 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@camunda/camunda-composite-components",
|
|
3
|
+
"repository": {
|
|
4
|
+
"type": "git",
|
|
5
|
+
"url": "https://github.com/camunda-cloud/camunda-composite-components.git"
|
|
6
|
+
},
|
|
7
|
+
"version": "0.3.1-rc.18",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"clean": "rimraf lib/",
|
|
10
|
+
"build": "yarn clean && tsc",
|
|
11
|
+
"storybook": "storybook dev -p 6006",
|
|
12
|
+
"start": "yarn storybook",
|
|
13
|
+
"build:storybook": "storybook build",
|
|
14
|
+
"build:all": "yarn build && yarn build:storybook",
|
|
15
|
+
"serve:storybook": "serve ./storybook-static -p 6006 -n -L",
|
|
16
|
+
"prepare": "husky install",
|
|
17
|
+
"format": "prettier --write .",
|
|
18
|
+
"lint": "eslint src/",
|
|
19
|
+
"lint:fix": "eslint --fix src/",
|
|
20
|
+
"test:ts": "tsc --noEmit --project ./tsconfig.json",
|
|
21
|
+
"test:storybook": "TEST_A11Y=true test-storybook",
|
|
22
|
+
"test:storybook:smoke": "test-storybook",
|
|
23
|
+
"start:docker-storybook": "yarn build:storybook && docker-compose up -d && docker-compose exec c3-visual-regression yarn serve:storybook",
|
|
24
|
+
"test:visual-regression": "wait-on http://localhost:6006 && PWTEST_SKIP_TEST_OUTPUT=1 yarn playwright test",
|
|
25
|
+
"test:visual-regression:ui": "yarn test:playwright --ui",
|
|
26
|
+
"report:visual-regression": "yarn playwright show-report",
|
|
27
|
+
"update:visual-regression": "yarn playwright test --update-snapshots",
|
|
28
|
+
"test:visual-regression:docker": "docker exec -it -t c3-visual-regression yarn test:visual-regression",
|
|
29
|
+
"update:visual-regression:docker": "docker exec -it -t c3-visual-regression yarn update:visual-regression",
|
|
30
|
+
"test": "yarn test:ts && yarn test:storybook && yarn test:visual-regression:docker"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@babel/core": "7.23.3",
|
|
34
|
+
"@babel/preset-env": "7.23.3",
|
|
35
|
+
"@babel/preset-react": "7.23.3",
|
|
36
|
+
"@babel/preset-typescript": "7.23.3",
|
|
37
|
+
"@carbon/react": "1.37.0",
|
|
38
|
+
"@mdx-js/react": "2.3.0",
|
|
39
|
+
"@playwright/test": "1.37.1",
|
|
40
|
+
"@semantic-release/changelog": "6.0.3",
|
|
41
|
+
"@semantic-release/git": "10.0.1",
|
|
42
|
+
"@storybook/addon-a11y": "7.5.3",
|
|
43
|
+
"@storybook/addon-actions": "7.5.3",
|
|
44
|
+
"@storybook/addon-docs": "7.5.3",
|
|
45
|
+
"@storybook/addon-essentials": "7.5.3",
|
|
46
|
+
"@storybook/addon-interactions": "7.5.3",
|
|
47
|
+
"@storybook/addon-links": "7.5.3",
|
|
48
|
+
"@storybook/blocks": "7.5.3",
|
|
49
|
+
"@storybook/preset-scss": "1.0.3",
|
|
50
|
+
"@storybook/react": "7.5.3",
|
|
51
|
+
"@storybook/react-webpack5": "7.5.3",
|
|
52
|
+
"@storybook/test-runner": "0.16.0",
|
|
53
|
+
"@storybook/testing-library": "0.2.2",
|
|
54
|
+
"@types/carbon-components-react": "7.55.3",
|
|
55
|
+
"@types/event-source-polyfill": "1.0.1",
|
|
56
|
+
"@types/mixpanel-browser": "2.47.1",
|
|
57
|
+
"@types/node": "20.9.0",
|
|
58
|
+
"@types/react": "18.2.21",
|
|
59
|
+
"@types/react-dom": "18.2.7",
|
|
60
|
+
"@types/styled-components": "5.1.27",
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "6.9.0",
|
|
62
|
+
"@typescript-eslint/parser": "6.9.0",
|
|
63
|
+
"axe-playwright": "1.2.3",
|
|
64
|
+
"babel-loader": "9.1.3",
|
|
65
|
+
"conventional-changelog-conventionalcommits": "7.0.2",
|
|
66
|
+
"copyfiles": "2.4.1",
|
|
67
|
+
"css-loader": "6.8.1",
|
|
68
|
+
"eslint": "8.52.0",
|
|
69
|
+
"eslint-config-prettier": "9.0.0",
|
|
70
|
+
"eslint-import-resolver-typescript": "3.6.1",
|
|
71
|
+
"eslint-plugin-import": "2.29.0",
|
|
72
|
+
"eslint-plugin-prettier": "5.0.1",
|
|
73
|
+
"eslint-plugin-react": "7.33.2",
|
|
74
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
75
|
+
"eslint-plugin-storybook": "0.6.15",
|
|
76
|
+
"event-source-polyfill": "1.0.31",
|
|
77
|
+
"husky": "8.0.3",
|
|
78
|
+
"mixpanel-browser": "2.47.0",
|
|
79
|
+
"prettier": "3.0.3",
|
|
80
|
+
"react": "18.2.0",
|
|
81
|
+
"react-dom": "18.2.0",
|
|
82
|
+
"rimraf": "5.0.5",
|
|
83
|
+
"sass": "1.66.1",
|
|
84
|
+
"sass-loader": "13.3.2",
|
|
85
|
+
"semantic-release": "22.0.12",
|
|
86
|
+
"serve": "14.2.1",
|
|
87
|
+
"storybook": "7.5.3",
|
|
88
|
+
"style-loader": "3.3.3",
|
|
89
|
+
"styled-components": "6.0.7",
|
|
90
|
+
"typescript": "5.2.2",
|
|
91
|
+
"wait-on": "7.0.1",
|
|
92
|
+
"webpack": "5.88.2"
|
|
93
|
+
},
|
|
94
|
+
"dependencies": {
|
|
95
|
+
"jwt-decode": "3.1.2",
|
|
96
|
+
"react-markdown": "8.0.7"
|
|
97
|
+
},
|
|
98
|
+
"peerDependencies": {
|
|
99
|
+
"@carbon/react": "1.x",
|
|
100
|
+
"event-source-polyfill": "1.0.x",
|
|
101
|
+
"react": "18.x",
|
|
102
|
+
"react-dom": "18.x",
|
|
103
|
+
"styled-components": "5.x || 6.x"
|
|
104
|
+
},
|
|
105
|
+
"description": "Camunda Composite Components",
|
|
106
|
+
"main": "./lib/esm/src/index.js",
|
|
107
|
+
"types": "./lib/esm/src/index.d.ts",
|
|
108
|
+
"files": [
|
|
109
|
+
"/lib"
|
|
110
|
+
],
|
|
111
|
+
"author": "Camunda",
|
|
112
|
+
"license": "Apache-2.0",
|
|
113
|
+
"packageManager": "yarn@3.6.4"
|
|
114
|
+
}
|
|
@@ -2,7 +2,7 @@ import { HelpCenterConfig } from "../components/c3-help-center/defaultHelpCenter
|
|
|
2
2
|
import { Persona, TileConfig, WpCardType } from "../components/c3-help-center/c3-help-center.types";
|
|
3
3
|
import { OnboardingConfig } from "../components/c3-onboarding-survey/defaultOnboardingConfig";
|
|
4
4
|
import { RequestPayload } from "./api";
|
|
5
|
-
export declare const getConfig: (accessToken: string, audience: string) => Promise<HelpCenterConfig | null>;
|
|
5
|
+
export declare const getConfig: (accessToken: string, audience: string, orgId: string) => Promise<HelpCenterConfig | null>;
|
|
6
6
|
export declare const getTiles: ({ accessToken, tileConfig, salesPlanType, clusterIds, currentOrgId, persona, flags, email, cloudAudience, }: {
|
|
7
7
|
accessToken: string;
|
|
8
8
|
tileConfig: TileConfig[];
|
|
@@ -16,9 +16,10 @@ export declare const getTiles: ({ accessToken, tileConfig, salesPlanType, cluste
|
|
|
16
16
|
salesPlanType: string;
|
|
17
17
|
flags: string[];
|
|
18
18
|
}) => Promise<WpCardType[]>;
|
|
19
|
-
export declare const getOnboardingConfig: ({ camundaAuth, audience, }: {
|
|
19
|
+
export declare const getOnboardingConfig: ({ camundaAuth, audience, orgId, }: {
|
|
20
20
|
audience: string;
|
|
21
21
|
camundaAuth: RequestPayload["camundaAuth"];
|
|
22
|
+
orgId: string;
|
|
22
23
|
}) => Promise<OnboardingConfig>;
|
|
23
24
|
export declare const updatePersona: ({ newPersona, audience, accessToken, orgId, userId, }: {
|
|
24
25
|
newPersona: Persona;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { recommendations } from "../components/c3-help-center/recommendations";
|
|
2
2
|
import { request } from "./api";
|
|
3
|
-
export const getConfig = async (accessToken, audience) => {
|
|
3
|
+
export const getConfig = async (accessToken, audience, orgId) => {
|
|
4
4
|
try {
|
|
5
|
-
const response = await fetch(`https://helpcenter.${audience}/helpcenter/config`, {
|
|
5
|
+
const response = await fetch(`https://helpcenter.${audience}/helpcenter/config/${orgId}`, {
|
|
6
6
|
headers: {
|
|
7
7
|
authorization: `Bearer ${accessToken}`,
|
|
8
8
|
"Content-Type": "application/json",
|
|
@@ -31,8 +31,8 @@ export const getTiles = async ({ accessToken, tileConfig, salesPlanType, cluster
|
|
|
31
31
|
});
|
|
32
32
|
return cards;
|
|
33
33
|
};
|
|
34
|
-
export const getOnboardingConfig = ({ camundaAuth, audience, }) => request({
|
|
35
|
-
url: `https://helpcenter.${audience}/survey/config`,
|
|
34
|
+
export const getOnboardingConfig = ({ camundaAuth, audience, orgId, }) => request({
|
|
35
|
+
url: `https://helpcenter.${audience}/survey/config/${orgId}`,
|
|
36
36
|
camundaAuth,
|
|
37
37
|
type: "json",
|
|
38
38
|
});
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React, { FC, PropsWithChildren } from "react";
|
|
2
|
-
|
|
2
|
+
export declare enum HelpCenterHintType {
|
|
3
|
+
HelpCenter = "help-center",
|
|
4
|
+
Onboarding = "onboarding"
|
|
5
|
+
}
|
|
3
6
|
export type C3HelpCenterContextValue = {
|
|
4
7
|
openHelpCenter: (showTabId?: string) => void;
|
|
5
8
|
setIsHelpCenterOpen: (isOpen: boolean) => void;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
|
2
|
+
export var HelpCenterHintType;
|
|
3
|
+
(function (HelpCenterHintType) {
|
|
4
|
+
HelpCenterHintType["HelpCenter"] = "help-center";
|
|
5
|
+
HelpCenterHintType["Onboarding"] = "onboarding";
|
|
6
|
+
})(HelpCenterHintType || (HelpCenterHintType = {}));
|
|
2
7
|
export const C3HelpCenterContext = React.createContext({
|
|
3
8
|
openHelpCenter: () => undefined,
|
|
4
9
|
setIsHelpCenterOpen: () => undefined,
|
|
@@ -6,7 +11,7 @@ export const C3HelpCenterContext = React.createContext({
|
|
|
6
11
|
showHint: false,
|
|
7
12
|
setShowHint: () => undefined,
|
|
8
13
|
setShowHintOnClose: () => undefined,
|
|
9
|
-
hintType:
|
|
14
|
+
hintType: HelpCenterHintType.Onboarding,
|
|
10
15
|
setHintType: () => undefined,
|
|
11
16
|
});
|
|
12
17
|
export const C3HelpCenterProvider = ({ children }) => {
|
|
@@ -14,7 +19,7 @@ export const C3HelpCenterProvider = ({ children }) => {
|
|
|
14
19
|
const [activeTabId, setActiveTabId] = useState(null);
|
|
15
20
|
const [showHint, setShowHint] = useState(false);
|
|
16
21
|
const [showHintOnClose, setShowHintOnClose] = useState(false);
|
|
17
|
-
const [hintType, setHintType] = useState(
|
|
22
|
+
const [hintType, setHintType] = useState(HelpCenterHintType.Onboarding);
|
|
18
23
|
const openHelpCenter = (showTabId) => {
|
|
19
24
|
if (!isHelpCenterOpen) {
|
|
20
25
|
setIsHelpCenterOpen(true);
|
|
@@ -27,17 +32,11 @@ export const C3HelpCenterProvider = ({ children }) => {
|
|
|
27
32
|
if (!isHelpCenterOpen) {
|
|
28
33
|
setActiveTabId(null);
|
|
29
34
|
if (showHintOnClose) {
|
|
30
|
-
console.log("showing hint and hiding after");
|
|
31
35
|
setShowHintOnClose(false);
|
|
32
|
-
|
|
33
|
-
setTimeout(() => {
|
|
34
|
-
console.log("timeout over, showing hint");
|
|
35
|
-
setShowHint(true);
|
|
36
|
-
}, 300);
|
|
36
|
+
setTimeout(() => setShowHint(true), 240);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}, [isHelpCenterOpen]);
|
|
40
|
-
console.log("showHintOnClose", showHintOnClose);
|
|
41
40
|
return (React.createElement(C3HelpCenterContext.Provider, { value: {
|
|
42
41
|
openHelpCenter,
|
|
43
42
|
setIsHelpCenterOpen,
|
|
@@ -51,9 +51,10 @@ export const C3HelpCenter = ({ autoStartSurvey, origin, flags, onRequestClose, m
|
|
|
51
51
|
const fetchConfig = async () => {
|
|
52
52
|
if (!userToken || !decodedAudience)
|
|
53
53
|
return;
|
|
54
|
-
const onboardConfig = await getConfig(userToken, decodedAudience);
|
|
54
|
+
const onboardConfig = await getConfig(userToken, decodedAudience, activeOrganizationId);
|
|
55
55
|
setHelpCenterConfig(onboardConfig || defaultHelpCenterConfig);
|
|
56
56
|
};
|
|
57
|
+
const isFirstLoad = useRef(true);
|
|
57
58
|
const fetchData = async () => {
|
|
58
59
|
if (!userToken || !decodedToken || !decodedAudience)
|
|
59
60
|
return;
|
|
@@ -76,23 +77,31 @@ export const C3HelpCenter = ({ autoStartSurvey, origin, flags, onRequestClose, m
|
|
|
76
77
|
onRequestOpen?.();
|
|
77
78
|
}
|
|
78
79
|
await fetchConfig();
|
|
80
|
+
isFirstLoad.current = false;
|
|
79
81
|
};
|
|
80
82
|
React.useEffect(() => {
|
|
81
83
|
fetchData();
|
|
82
84
|
}, [JSON.stringify(decodedToken), decodedAudience]);
|
|
83
85
|
useEffect(() => {
|
|
84
|
-
if (
|
|
86
|
+
if (isFirstLoad.current ||
|
|
87
|
+
!userToken ||
|
|
88
|
+
!decodedAudience ||
|
|
89
|
+
!persona?.complete)
|
|
85
90
|
return;
|
|
86
91
|
fetchConfig();
|
|
87
92
|
reloadClusters();
|
|
88
93
|
}, [persona?.complete]);
|
|
94
|
+
useEffect(() => {
|
|
95
|
+
if (isFirstLoad.current || !activeOrganizationId)
|
|
96
|
+
return;
|
|
97
|
+
fetchConfig();
|
|
98
|
+
reloadClusters();
|
|
99
|
+
}, [activeOrganizationId]);
|
|
89
100
|
React.useEffect(() => {
|
|
90
101
|
const tabs = helpCenterConfig.tabs;
|
|
91
102
|
const firstTab = tabs[0].id;
|
|
92
103
|
if (isOpen) {
|
|
93
|
-
console.log("opening hc");
|
|
94
104
|
if (autoStartSurvey && !persona?.wasShown) {
|
|
95
|
-
console.log("show hint on close");
|
|
96
105
|
setShowHintOnClose(true);
|
|
97
106
|
}
|
|
98
107
|
if (persona && !persona.wasShown && decodedAudience) {
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Button, Toggletip, ToggletipActions, ToggletipContent, } from "@carbon/react";
|
|
3
|
-
import { useC3HelpCenter } from "./c3-help-center-provider";
|
|
3
|
+
import { HelpCenterHintType, useC3HelpCenter } from "./c3-help-center-provider";
|
|
4
4
|
export const HelpCenterHint = ({ children }) => {
|
|
5
5
|
const { showHint, setShowHint, hintType } = useC3HelpCenter();
|
|
6
|
-
|
|
7
|
-
return (showHint && (React.createElement(Toggletip, { defaultOpen: true,
|
|
6
|
+
return showHint ? (React.createElement(Toggletip, { defaultOpen: true,
|
|
8
7
|
// eslint-disable-next-line
|
|
9
8
|
// @ts-ignore
|
|
10
9
|
align: "bottom-right" },
|
|
11
10
|
children,
|
|
12
11
|
React.createElement(ToggletipContent, null,
|
|
13
|
-
React.createElement("p", null, hintType ===
|
|
14
|
-
? "Access the
|
|
15
|
-
: "Access the onboarding survey to get personalized next steps and educational content"),
|
|
12
|
+
React.createElement("p", null, hintType === HelpCenterHintType.HelpCenter
|
|
13
|
+
? "Access the Help Center at any time to see your recommendations, discover guides, tutorials, or to share feedback."
|
|
14
|
+
: "Access the onboarding survey from the Help Center to get personalized next steps and educational content."),
|
|
16
15
|
React.createElement(ToggletipActions, null,
|
|
17
|
-
React.createElement(Button, { size: "sm", onClick: () => setShowHint(false) }, "Got it"))))));
|
|
16
|
+
React.createElement(Button, { size: "sm", onClick: () => setShowHint(false) }, "Got it"))))) : (children);
|
|
18
17
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button,
|
|
1
|
+
import { Button, ModalBody, ModalFooter, ModalHeader, SideNav, SideNavItems, SideNavMenuItem, Stack, } from "@carbon/react";
|
|
2
2
|
import { Undo } from "@carbon/react/icons";
|
|
3
3
|
import React, { useEffect, useState } from "react";
|
|
4
4
|
import { Feedback } from "./tabs/feedback";
|
|
@@ -9,6 +9,7 @@ import { body01, headings } from "../styles";
|
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
import { useC3HelpCenter } from "./c3-help-center-provider";
|
|
11
11
|
import { useC3Profile } from "../c3-user-configuration/c3-profile-provider/c3-profile-provider";
|
|
12
|
+
import { TabContentSkeleton } from "./tabs/tabContentSkeleton";
|
|
12
13
|
export const StyledModalHeader = styled(ModalHeader) `
|
|
13
14
|
${headings}
|
|
14
15
|
`;
|
|
@@ -52,8 +53,8 @@ export const HelpCenter = ({ configuration, persona, email, audience, flags = []
|
|
|
52
53
|
});
|
|
53
54
|
}
|
|
54
55
|
}
|
|
55
|
-
setTabTiles(tiles);
|
|
56
56
|
setIsLoadingTiles(false);
|
|
57
|
+
setTabTiles(tiles);
|
|
57
58
|
})();
|
|
58
59
|
}, [
|
|
59
60
|
token,
|
|
@@ -78,7 +79,7 @@ export const HelpCenter = ({ configuration, persona, email, audience, flags = []
|
|
|
78
79
|
Object.keys(tabTiles).length === 0 &&
|
|
79
80
|
isLoadingTiles) {
|
|
80
81
|
header = "Your recommendations";
|
|
81
|
-
content = React.createElement(
|
|
82
|
+
content = React.createElement(TabContentSkeleton, null);
|
|
82
83
|
}
|
|
83
84
|
else if (activeTab === "recommendations" &&
|
|
84
85
|
Object.keys(tabTiles).length === 0) {
|
|
@@ -30,7 +30,7 @@ export const Feedback = (props) => {
|
|
|
30
30
|
placeholder: Placeholder.Feedback,
|
|
31
31
|
});
|
|
32
32
|
const [suggestion, setSuggestion] = useState("");
|
|
33
|
-
const [allowContact, setAllowContact] = useState(
|
|
33
|
+
const [allowContact, setAllowContact] = useState(true);
|
|
34
34
|
const [file, setFile] = useState(undefined);
|
|
35
35
|
const [submitted, setSubmitted] = useState(false);
|
|
36
36
|
const [isDoingAsyncWork, setisDoingAsyncWork] = useState(false);
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import { Dict } from "mixpanel-browser";
|
|
3
|
+
import { WpCardType } from "../c3-help-center.types";
|
|
4
|
+
export declare const TAB_TYPES: {
|
|
5
|
+
readonly Grid: "grid";
|
|
6
|
+
readonly Column: "column";
|
|
7
|
+
};
|
|
8
|
+
export type TabType = (typeof TAB_TYPES)[keyof typeof TAB_TYPES];
|
|
9
|
+
export declare const TileWrapper: import("styled-components").IStyledComponent<"web", {
|
|
10
|
+
ref?: React.LegacyRef<HTMLDivElement> | undefined;
|
|
11
|
+
key?: React.Key | null | undefined;
|
|
12
|
+
defaultChecked?: boolean | undefined;
|
|
13
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
14
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
15
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
16
|
+
accessKey?: string | undefined;
|
|
17
|
+
autoFocus?: boolean | undefined;
|
|
18
|
+
className?: string | undefined;
|
|
19
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
20
|
+
contextMenu?: string | undefined;
|
|
21
|
+
dir?: string | undefined;
|
|
22
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
23
|
+
hidden?: boolean | undefined;
|
|
24
|
+
id?: string | undefined;
|
|
25
|
+
lang?: string | undefined;
|
|
26
|
+
nonce?: string | undefined;
|
|
27
|
+
placeholder?: string | undefined;
|
|
28
|
+
slot?: string | undefined;
|
|
29
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
30
|
+
style?: React.CSSProperties | undefined;
|
|
31
|
+
tabIndex?: number | undefined;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
translate?: "yes" | "no" | undefined;
|
|
34
|
+
radioGroup?: string | undefined;
|
|
35
|
+
role?: React.AriaRole | undefined;
|
|
36
|
+
about?: string | undefined;
|
|
37
|
+
content?: string | undefined;
|
|
38
|
+
datatype?: string | undefined;
|
|
39
|
+
inlist?: any;
|
|
40
|
+
prefix?: string | undefined;
|
|
41
|
+
property?: string | undefined;
|
|
42
|
+
rel?: string | undefined;
|
|
43
|
+
resource?: string | undefined;
|
|
44
|
+
rev?: string | undefined;
|
|
45
|
+
typeof?: string | undefined;
|
|
46
|
+
vocab?: string | undefined;
|
|
47
|
+
autoCapitalize?: string | undefined;
|
|
48
|
+
autoCorrect?: string | undefined;
|
|
49
|
+
autoSave?: string | undefined;
|
|
50
|
+
color?: string | undefined;
|
|
51
|
+
itemProp?: string | undefined;
|
|
52
|
+
itemScope?: boolean | undefined;
|
|
53
|
+
itemType?: string | undefined;
|
|
54
|
+
itemID?: string | undefined;
|
|
55
|
+
itemRef?: string | undefined;
|
|
56
|
+
results?: number | undefined;
|
|
57
|
+
security?: string | undefined;
|
|
58
|
+
unselectable?: "on" | "off" | undefined;
|
|
59
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
60
|
+
is?: string | undefined;
|
|
61
|
+
'aria-activedescendant'?: string | undefined;
|
|
62
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
63
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
64
|
+
'aria-braillelabel'?: string | undefined;
|
|
65
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
66
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
67
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
68
|
+
'aria-colcount'?: number | undefined;
|
|
69
|
+
'aria-colindex'?: number | undefined;
|
|
70
|
+
'aria-colindextext'?: string | undefined;
|
|
71
|
+
'aria-colspan'?: number | undefined;
|
|
72
|
+
'aria-controls'?: string | undefined;
|
|
73
|
+
'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
74
|
+
'aria-describedby'?: string | undefined;
|
|
75
|
+
'aria-description'?: string | undefined;
|
|
76
|
+
'aria-details'?: string | undefined;
|
|
77
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
78
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
79
|
+
'aria-errormessage'?: string | undefined;
|
|
80
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
81
|
+
'aria-flowto'?: string | undefined;
|
|
82
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
83
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
84
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
85
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
86
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
87
|
+
'aria-label'?: string | undefined;
|
|
88
|
+
'aria-labelledby'?: string | undefined;
|
|
89
|
+
'aria-level'?: number | undefined;
|
|
90
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
91
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
92
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
93
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
94
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
95
|
+
'aria-owns'?: string | undefined;
|
|
96
|
+
'aria-placeholder'?: string | undefined;
|
|
97
|
+
'aria-posinset'?: number | undefined;
|
|
98
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
99
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
100
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
101
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
102
|
+
'aria-roledescription'?: string | undefined;
|
|
103
|
+
'aria-rowcount'?: number | undefined;
|
|
104
|
+
'aria-rowindex'?: number | undefined;
|
|
105
|
+
'aria-rowindextext'?: string | undefined;
|
|
106
|
+
'aria-rowspan'?: number | undefined;
|
|
107
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
108
|
+
'aria-setsize'?: number | undefined;
|
|
109
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
110
|
+
'aria-valuemax'?: number | undefined;
|
|
111
|
+
'aria-valuemin'?: number | undefined;
|
|
112
|
+
'aria-valuenow'?: number | undefined;
|
|
113
|
+
'aria-valuetext'?: string | undefined;
|
|
114
|
+
children?: React.ReactNode;
|
|
115
|
+
dangerouslySetInnerHTML?: {
|
|
116
|
+
__html: string | TrustedHTML;
|
|
117
|
+
} | undefined;
|
|
118
|
+
onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
119
|
+
onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
120
|
+
onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
121
|
+
onCutCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
122
|
+
onPaste?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
123
|
+
onPasteCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
124
|
+
onCompositionEnd?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
125
|
+
onCompositionEndCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
126
|
+
onCompositionStart?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
127
|
+
onCompositionStartCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
128
|
+
onCompositionUpdate?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
129
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
130
|
+
onFocus?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
131
|
+
onFocusCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
132
|
+
onBlur?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
133
|
+
onBlurCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
134
|
+
onChange?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
135
|
+
onChangeCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
136
|
+
onBeforeInput?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
137
|
+
onBeforeInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
138
|
+
onInput?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
139
|
+
onInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
140
|
+
onReset?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
141
|
+
onResetCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
142
|
+
onSubmit?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
143
|
+
onSubmitCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
144
|
+
onInvalid?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
145
|
+
onInvalidCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
146
|
+
onLoad?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
147
|
+
onLoadCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
148
|
+
onError?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
149
|
+
onErrorCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
150
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
151
|
+
onKeyDownCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
152
|
+
onKeyPress?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
153
|
+
onKeyPressCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
154
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
155
|
+
onKeyUpCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
156
|
+
onAbort?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
157
|
+
onAbortCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
158
|
+
onCanPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
159
|
+
onCanPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
160
|
+
onCanPlayThrough?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
161
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
162
|
+
onDurationChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
163
|
+
onDurationChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
164
|
+
onEmptied?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
165
|
+
onEmptiedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
166
|
+
onEncrypted?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
167
|
+
onEncryptedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
168
|
+
onEnded?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
169
|
+
onEndedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
170
|
+
onLoadedData?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
171
|
+
onLoadedDataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
172
|
+
onLoadedMetadata?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
173
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
174
|
+
onLoadStart?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
175
|
+
onLoadStartCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
176
|
+
onPause?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
177
|
+
onPauseCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
178
|
+
onPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
179
|
+
onPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
180
|
+
onPlaying?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
181
|
+
onPlayingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
182
|
+
onProgress?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
183
|
+
onProgressCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
184
|
+
onRateChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
185
|
+
onRateChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
186
|
+
onResize?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
187
|
+
onResizeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
188
|
+
onSeeked?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
189
|
+
onSeekedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
190
|
+
onSeeking?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
191
|
+
onSeekingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
192
|
+
onStalled?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
193
|
+
onStalledCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
194
|
+
onSuspend?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
195
|
+
onSuspendCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
196
|
+
onTimeUpdate?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
197
|
+
onTimeUpdateCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
198
|
+
onVolumeChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
199
|
+
onVolumeChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
200
|
+
onWaiting?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
201
|
+
onWaitingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
202
|
+
onAuxClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
203
|
+
onAuxClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
204
|
+
onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
205
|
+
onClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
206
|
+
onContextMenu?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
207
|
+
onContextMenuCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
208
|
+
onDoubleClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
209
|
+
onDoubleClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
210
|
+
onDrag?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
211
|
+
onDragCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
212
|
+
onDragEnd?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
213
|
+
onDragEndCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
214
|
+
onDragEnter?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
215
|
+
onDragEnterCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
216
|
+
onDragExit?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
217
|
+
onDragExitCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
218
|
+
onDragLeave?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
219
|
+
onDragLeaveCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
220
|
+
onDragOver?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
221
|
+
onDragOverCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
222
|
+
onDragStart?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
223
|
+
onDragStartCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
224
|
+
onDrop?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
225
|
+
onDropCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
226
|
+
onMouseDown?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
227
|
+
onMouseDownCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
228
|
+
onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
229
|
+
onMouseLeave?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
230
|
+
onMouseMove?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
231
|
+
onMouseMoveCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
232
|
+
onMouseOut?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
233
|
+
onMouseOutCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
234
|
+
onMouseOver?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
235
|
+
onMouseOverCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
236
|
+
onMouseUp?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
237
|
+
onMouseUpCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
238
|
+
onSelect?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
239
|
+
onSelectCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
240
|
+
onTouchCancel?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
241
|
+
onTouchCancelCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
242
|
+
onTouchEnd?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
243
|
+
onTouchEndCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
244
|
+
onTouchMove?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
245
|
+
onTouchMoveCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
246
|
+
onTouchStart?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
247
|
+
onTouchStartCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
248
|
+
onPointerDown?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
249
|
+
onPointerDownCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
250
|
+
onPointerMove?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
251
|
+
onPointerMoveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
252
|
+
onPointerUp?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
253
|
+
onPointerUpCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
254
|
+
onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
255
|
+
onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
256
|
+
onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
257
|
+
onPointerEnterCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
258
|
+
onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
259
|
+
onPointerLeaveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
260
|
+
onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
261
|
+
onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
262
|
+
onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
263
|
+
onPointerOutCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
264
|
+
onGotPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
265
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
266
|
+
onLostPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
267
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
268
|
+
onScroll?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
269
|
+
onScrollCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
270
|
+
onWheel?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
271
|
+
onWheelCapture?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
272
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
273
|
+
onAnimationStartCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
274
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
275
|
+
onAnimationEndCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
276
|
+
onAnimationIteration?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
277
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
278
|
+
onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
279
|
+
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
280
|
+
}>;
|
|
281
|
+
export declare const TabContent: FC<{
|
|
282
|
+
onboarding: {
|
|
283
|
+
complete: boolean;
|
|
284
|
+
resumeSurvey: () => void;
|
|
285
|
+
} | undefined;
|
|
286
|
+
tiles: WpCardType[];
|
|
287
|
+
type: TabType;
|
|
288
|
+
salesPlanType: string;
|
|
289
|
+
origin: string;
|
|
290
|
+
mixpanelTrack?: (event: string, data: Dict | undefined) => void;
|
|
291
|
+
}>;
|