@planningcenter/topbar 12.6.0 → 12.7.0-qa-1010.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.
@@ -274,6 +274,17 @@ type ToolbarProps = {
274
274
  */
275
275
  isPhoenix?: boolean;
276
276
  linkToProfile?: boolean;
277
+ /**
278
+ * False loads Helpdesk from helpdesk's own page in an iframe instead of its
279
+ * add-on. Defaults to true while the iframe rolls out.
280
+ */
281
+ mountLegacyHelpdesk?: boolean;
282
+ /**
283
+ * False loads Tasks from Home's page in an iframe instead of its add-on,
284
+ * and `onReceiveTasksWorker` isn't called. Defaults to true while the
285
+ * iframe rolls out.
286
+ */
287
+ mountLegacyTasks?: boolean;
277
288
  onReceiveTasksWorker?: (worker: Worker) => void;
278
289
  requestClearAppsCache?: any;
279
290
  userAvatarPath: string;
@@ -286,7 +297,7 @@ type ToolbarStoreData = {
286
297
  joltPromise: () => Promise<Jolt | void>;
287
298
  userId: string;
288
299
  };
289
- declare function Toolbar({ appName, autoMountTool, env, helpdeskConfig, linkToProfile, onReceiveTasksWorker, requestClearAppsCache, userAvatarPath, userName, _storeDataOverride, }: ToolbarProps): JSX.Element;
300
+ declare function Toolbar({ appName, autoMountTool, env, helpdeskConfig, linkToProfile, mountLegacyHelpdesk, mountLegacyTasks, onReceiveTasksWorker, requestClearAppsCache, userAvatarPath, userName, _storeDataOverride, }: ToolbarProps): JSX.Element;
290
301
 
291
302
  interface SwitchViewProps {
292
303
  activeIndex: number;
package/package.json CHANGED
@@ -23,11 +23,8 @@
23
23
  "@planningcenter/url": "^3.3.0",
24
24
  "algoliasearch": "^4.20.0",
25
25
  "dayjs": "^1.11.18",
26
- "instantsearch.js": "^4.87.1",
27
- "nanoid": "^5.0.9",
28
26
  "pluralize": "^8.0.0",
29
27
  "react-calendly": "^4.2.0",
30
- "react-cool-dimensions": "^2.0.7",
31
28
  "react-instantsearch-core": "^7.23.1",
32
29
  "react-transition-group": "^4.4.2",
33
30
  "use-sync-external-store": "^1.2.0"
@@ -57,8 +54,6 @@
57
54
  "@typescript-eslint/eslint-plugin": "^5.10.1",
58
55
  "@typescript-eslint/parser": "^5.10.1",
59
56
  "@vitejs/plugin-react": "^4.3.0",
60
- "autoprefixer": "^10.4.21",
61
- "baseline-browser-mapping": "^2.9.14",
62
57
  "browserslist": "^4.28.0",
63
58
  "classnames": "^2.5.1",
64
59
  "eslint": "^8.7.0",
@@ -71,9 +66,8 @@
71
66
  "eslint-plugin-typescript-sort-keys": "^2.1.0",
72
67
  "jest": "^29.7.0",
73
68
  "jest-environment-jsdom": "^29",
74
- "media-typer": "^1.1.0",
75
69
  "postcss": "^8.4.39",
76
- "postcss-styled-syntax": "^0.7.1",
70
+ "postcss-nesting": "^14.0.3",
77
71
  "prettier": "^2.5.1",
78
72
  "react": "^17.0.1",
79
73
  "react-dom": "^17.0.1",
@@ -82,27 +76,22 @@
82
76
  "rollup-plugin-node-externals": "^8.1.2",
83
77
  "rollup-plugin-peer-deps-external": "^2.2.4",
84
78
  "rollup-plugin-postcss": "^4.0.2",
85
- "sass": "^1.64.2",
86
79
  "stylelint": "^16.26.1",
87
- "stylelint-config-standard": "^39.0.1",
88
- "stylelint-config-standard-scss": "^16.0.0",
89
- "stylelint-scss": "^6.14.0",
90
80
  "ts-jest": "^29.2.5",
91
81
  "ts-node": "^10.7.0",
92
- "tslint-config-prettier": "^1.18.0",
93
82
  "typescript": "~5.0.0",
94
- "vite": "^6.0.0",
95
- "vite-plugin-dts": "^4.0.0"
83
+ "vite": "^6.0.0"
96
84
  },
97
85
  "browserslist": [
98
86
  "extends @planningcenter/browserslist-config"
99
87
  ],
100
- "version": "12.6.0",
88
+ "version": "12.7.0-qa-1010.0",
101
89
  "peerDependencies": {
102
90
  "@planningcenter/add-ons": "^7",
103
91
  "@planningcenter/tapestry": "^4.12.0",
104
92
  "@planningcenter/tapestry-react": "^4",
105
- "react": ">=16.8.0 <19"
93
+ "react": ">=16.8.0 <19",
94
+ "react-dom": ">=16.8.0 <19"
106
95
  },
107
96
  "repository": "https://github.com/planningcenter/topbar.git",
108
97
  "unpkg": "./dist/topbar.umd.js",
@@ -113,8 +102,8 @@
113
102
  "dev": "vite",
114
103
  "check-types": "tsc --noEmit --skipLibCheck",
115
104
  "test": "jest",
116
- "stylelint": "npx stylelint \"**/*.{css,scss,ts,tsx}\"",
117
- "stylelint:fix": "npx stylelint \"**/*.{css,scss,ts,tsx}\" --fix",
105
+ "stylelint": "npx stylelint \"**/*.{css,ts,tsx}\"",
106
+ "stylelint:fix": "npx stylelint \"**/*.{css,ts,tsx}\" --fix",
118
107
  "lint": "npx eslint modules; yarn stylelint",
119
108
  "lint:fix": "npx eslint modules --fix; yarn stylelint:fix",
120
109
  "prettier": "npx prettier modules --check",
@@ -127,10 +116,10 @@
127
116
  "resolutions": {
128
117
  "flatted": "^3.4.2",
129
118
  "rollup": "^4.60.1",
130
- "@microsoft/api-extractor": "^7.58.2",
131
119
  "svgo": "^2.8.1",
132
120
  "micromatch/picomatch": "^2.3.2",
133
121
  "@types/node": "^22.0.0",
134
122
  "yaml": "^1.10.3"
135
- }
123
+ },
124
+ "stableVersion": "12.7.0"
136
125
  }