@the-portland-company/shell 0.75.1 → 0.76.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/CHANGELOG.md +19 -0
- package/dist/active-org.cjs +119 -0
- package/dist/active-org.cjs.map +1 -1
- package/dist/active-org.d.cts +62 -2
- package/dist/active-org.d.ts +62 -2
- package/dist/active-org.js +1 -1
- package/dist/app-chrome.cjs +222 -20
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +34 -2
- package/dist/app-chrome.d.ts +34 -2
- package/dist/app-chrome.js +133 -18
- package/dist/app-chrome.js.map +1 -1
- package/dist/chrome.css +17 -5
- package/dist/chunk-BWV52AT6.js +171 -0
- package/dist/chunk-BWV52AT6.js.map +1 -0
- package/dist/{chunk-AQMSMAK2.js → chunk-WHF6YW27.js} +16 -8
- package/dist/chunk-WHF6YW27.js.map +1 -0
- package/dist/native.cjs +14 -6
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +8 -2
- package/dist/native.d.ts +8 -2
- package/dist/native.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-AQMSMAK2.js.map +0 -1
- package/dist/chunk-W2HITMV5.js +0 -64
- package/dist/chunk-W2HITMV5.js.map +0 -1
package/dist/native.d.cts
CHANGED
|
@@ -198,7 +198,9 @@ type ChromeOrgSummary = {
|
|
|
198
198
|
* fetcher. Exposed as a hook so the org switcher in the sidebar and the
|
|
199
199
|
* org-scoped widgets share one request.
|
|
200
200
|
*/
|
|
201
|
-
declare function useChromeOrgs(
|
|
201
|
+
declare function useChromeOrgs({ enabled }?: {
|
|
202
|
+
enabled?: boolean;
|
|
203
|
+
}): {
|
|
202
204
|
orgs: ChromeOrgSummary[] | null;
|
|
203
205
|
loading: boolean;
|
|
204
206
|
error: boolean;
|
|
@@ -246,8 +248,12 @@ declare function FuelAction({ orgId }: {
|
|
|
246
248
|
declare function NotificationsAction({ orgId }: {
|
|
247
249
|
orgId: string | null;
|
|
248
250
|
}): react_jsx_runtime.JSX.Element;
|
|
249
|
-
declare function SupportAction({ orgId }?: {
|
|
251
|
+
declare function SupportAction({ orgId, orgs: knownOrgs, }?: {
|
|
250
252
|
orgId?: string | null;
|
|
253
|
+
orgs?: {
|
|
254
|
+
id: string;
|
|
255
|
+
name: string | null;
|
|
256
|
+
}[];
|
|
251
257
|
}): react_jsx_runtime.JSX.Element;
|
|
252
258
|
declare function SpecOverlayAction({ orgId, orgName }?: {
|
|
253
259
|
orgId?: string | null;
|
package/dist/native.d.ts
CHANGED
|
@@ -198,7 +198,9 @@ type ChromeOrgSummary = {
|
|
|
198
198
|
* fetcher. Exposed as a hook so the org switcher in the sidebar and the
|
|
199
199
|
* org-scoped widgets share one request.
|
|
200
200
|
*/
|
|
201
|
-
declare function useChromeOrgs(
|
|
201
|
+
declare function useChromeOrgs({ enabled }?: {
|
|
202
|
+
enabled?: boolean;
|
|
203
|
+
}): {
|
|
202
204
|
orgs: ChromeOrgSummary[] | null;
|
|
203
205
|
loading: boolean;
|
|
204
206
|
error: boolean;
|
|
@@ -246,8 +248,12 @@ declare function FuelAction({ orgId }: {
|
|
|
246
248
|
declare function NotificationsAction({ orgId }: {
|
|
247
249
|
orgId: string | null;
|
|
248
250
|
}): react_jsx_runtime.JSX.Element;
|
|
249
|
-
declare function SupportAction({ orgId }?: {
|
|
251
|
+
declare function SupportAction({ orgId, orgs: knownOrgs, }?: {
|
|
250
252
|
orgId?: string | null;
|
|
253
|
+
orgs?: {
|
|
254
|
+
id: string;
|
|
255
|
+
name: string | null;
|
|
256
|
+
}[];
|
|
251
257
|
}): react_jsx_runtime.JSX.Element;
|
|
252
258
|
declare function SpecOverlayAction({ orgId, orgName }?: {
|
|
253
259
|
orgId?: string | null;
|
package/dist/native.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { BETA_BANNER_DISMISS_KEY, CAMPAIGN_FEATURE_AVAILABILITY, CORE_APP_ORIGIN, CORE_BILLING_PATH, FuelAction, NavAppShell, NavBetaBanner, NavChromeProvider, NavDisplayAction, NavSidebar, NavTabStrip, NavThemeControl, NavTopBar, NotificationsAction, SPECS_ORIGIN, SpecOverlayAction, SupportAction, TopBarCountBadge, TopBarPanelArrow, TopBarPopover, TopBarTooltip, TopBarWidgetSlot, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, resolveOrgLogoUrl, shortEnvLabel, shortUserName, standardPolitogyNav, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeFetcher, useThemePreference } from './chunk-
|
|
2
|
+
export { BETA_BANNER_DISMISS_KEY, CAMPAIGN_FEATURE_AVAILABILITY, CORE_APP_ORIGIN, CORE_BILLING_PATH, FuelAction, NavAppShell, NavBetaBanner, NavChromeProvider, NavDisplayAction, NavSidebar, NavTabStrip, NavThemeControl, NavTopBar, NotificationsAction, SPECS_ORIGIN, SpecOverlayAction, SupportAction, TopBarCountBadge, TopBarPanelArrow, TopBarPopover, TopBarTooltip, TopBarWidgetSlot, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, resolveOrgLogoUrl, shortEnvLabel, shortUserName, standardPolitogyNav, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeFetcher, useThemePreference } from './chunk-WHF6YW27.js';
|
|
3
3
|
export { FormColumn } from './chunk-MY6G3LMN.js';
|
|
4
4
|
import './chunk-BHRVZPZ7.js';
|
|
5
5
|
import './chunk-7YVJ7HQG.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@the-portland-company/shell",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.76.0",
|
|
4
4
|
"description": "Shared chrome (header, sidebar, footer, theme, auth) for politogy apps. Drop into any Vite SPA to inherit the politogy look and signed-in user.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|