@the-portland-company/shell 0.76.14 → 0.76.18
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 +35 -0
- package/dist/app-chrome.cjs +138 -17
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +7 -2
- package/dist/app-chrome.d.ts +7 -2
- package/dist/app-chrome.js +10 -5
- package/dist/app-chrome.js.map +1 -1
- package/dist/{chunk-HSC6EYRR.js → chunk-GGM4AD43.js} +6 -1769
- package/dist/chunk-GGM4AD43.js.map +1 -0
- package/dist/chunk-TUK2IEL5.js +2002 -0
- package/dist/chunk-TUK2IEL5.js.map +1 -0
- package/dist/index-Cu5frXRQ.d.cts +990 -0
- package/dist/index-DJ3qBzfQ.d.ts +990 -0
- package/dist/index.cjs +170 -85
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +37 -36
- package/dist/index.js.map +1 -1
- package/dist/native.cjs +131 -15
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +4 -929
- package/dist/native.d.ts +4 -929
- package/dist/native.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-HSC6EYRR.js.map +0 -1
- package/dist/chunk-MY6G3LMN.js +0 -125
- package/dist/chunk-MY6G3LMN.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ReactNode, CSSProperties } from 'react';
|
|
4
|
-
import { NavItem } from './
|
|
5
|
-
export { FormColumn } from './
|
|
4
|
+
import { N as NavItem } from './index-Cu5frXRQ.cjs';
|
|
5
|
+
export { C as CommsNotification, a as CommsNotificationKind, F as FormColumn, b as NotificationsAdapter, c as NotificationsFeed, d as createCommsNotificationsAdapter, e as emptyNotificationsFeed, n as normalizeNotificationsFeed } from './index-Cu5frXRQ.cjs';
|
|
6
6
|
import { User, Session, SupabaseClient } from '@supabase/supabase-js';
|
|
7
7
|
import './theme-preference.cjs';
|
|
8
8
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ReactNode, CSSProperties } from 'react';
|
|
4
|
-
import { NavItem } from './
|
|
5
|
-
export { FormColumn } from './
|
|
4
|
+
import { N as NavItem } from './index-DJ3qBzfQ.js';
|
|
5
|
+
export { C as CommsNotification, a as CommsNotificationKind, F as FormColumn, b as NotificationsAdapter, c as NotificationsFeed, d as createCommsNotificationsAdapter, e as emptyNotificationsFeed, n as normalizeNotificationsFeed } from './index-DJ3qBzfQ.js';
|
|
6
6
|
import { User, Session, SupabaseClient } from '@supabase/supabase-js';
|
|
7
7
|
import './theme-preference.js';
|
|
8
8
|
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { warnDeprecated } from './chunk-
|
|
2
|
-
export { FormColumn, SpeculationRulesScript, buildNavSpeculationRules, buildSpeculationRules, collectSiblingAppUrls } from './chunk-
|
|
1
|
+
import { warnDeprecated, TopBarTooltip } from './chunk-TUK2IEL5.js';
|
|
2
|
+
export { FormColumn, SpeculationRulesScript, buildNavSpeculationRules, buildSpeculationRules, collectSiblingAppUrls, createCommsNotificationsAdapter, emptyNotificationsFeed, normalizeNotificationsFeed } from './chunk-TUK2IEL5.js';
|
|
3
3
|
import { readResolvedTheme } from './chunk-BHRVZPZ7.js';
|
|
4
|
-
import { extendTheme,
|
|
4
|
+
import { extendTheme, ChakraProvider, useColorMode } from '@chakra-ui/react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
import { Link, useLocation } from 'react-router-dom';
|
|
7
7
|
import clsx from 'clsx';
|
|
@@ -1028,46 +1028,47 @@ function HeaderTabBar({
|
|
|
1028
1028
|
"aria-label": ariaLabel,
|
|
1029
1029
|
className: clsx(
|
|
1030
1030
|
// Header-wide tab strip: background + bottom border only (no outer box).
|
|
1031
|
-
|
|
1031
|
+
// Left-aligned and fluid: the container spans the full content width,
|
|
1032
|
+
// the tabs keep their natural width packed from the left (Global-Rules
|
|
1033
|
+
// "Tabs & UI Styling": the strip spans the full width of the content
|
|
1034
|
+
// area; tabs keep their natural width, left-aligned. Spencer 2026-10-11:
|
|
1035
|
+
// all apps, all tabs, all screens). No mx-auto / justify-center /
|
|
1036
|
+
// fixed width on the container.
|
|
1037
|
+
"app-header-tab-bar m-0 flex w-full justify-start bg-slate-100 p-0",
|
|
1032
1038
|
"border-b border-slate-200",
|
|
1033
1039
|
className
|
|
1034
1040
|
),
|
|
1035
1041
|
children: items.map((item, idx) => {
|
|
1036
1042
|
const isActive = item.id === activeId;
|
|
1037
1043
|
const isDisabled = Boolean(item.disabled);
|
|
1038
|
-
return /* @__PURE__ */
|
|
1039
|
-
|
|
1044
|
+
return /* @__PURE__ */ jsxs(
|
|
1045
|
+
"button",
|
|
1040
1046
|
{
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
background: isActive ? "var(--mode-primary-color, var(--app-btn-primary-bg))" : void 0
|
|
1067
|
-
},
|
|
1068
|
-
children: /* @__PURE__ */ jsx("span", { className: "inline-flex items-center justify-center text-[14px] leading-none", children: item.icon })
|
|
1069
|
-
}
|
|
1070
|
-
)
|
|
1047
|
+
type: "button",
|
|
1048
|
+
role: "tab",
|
|
1049
|
+
"aria-selected": isActive,
|
|
1050
|
+
"aria-label": item.label,
|
|
1051
|
+
disabled: isDisabled,
|
|
1052
|
+
onClick: () => onChange(item.id),
|
|
1053
|
+
className: clsx(
|
|
1054
|
+
// `group/tbtip relative` powers the shared <TopBarTooltip>.
|
|
1055
|
+
// Natural width (no flex-1 stretch); 40px square hit area for the
|
|
1056
|
+
// icon-only tab so the strip stays tappable.
|
|
1057
|
+
"group/tbtip app-header-tab-button relative inline-flex h-10 min-w-10 items-center justify-center px-3",
|
|
1058
|
+
"transition-colors",
|
|
1059
|
+
"rounded-none",
|
|
1060
|
+
idx === 0 ? "rounded-tl-lg" : null,
|
|
1061
|
+
idx === items.length - 1 ? "rounded-tr-lg" : null,
|
|
1062
|
+
isActive ? "text-white" : "bg-transparent text-slate-600 hover:bg-white/60 hover:text-slate-900",
|
|
1063
|
+
isDisabled ? "cursor-not-allowed opacity-50" : null
|
|
1064
|
+
),
|
|
1065
|
+
style: {
|
|
1066
|
+
background: isActive ? "var(--mode-primary-color, var(--app-btn-primary-bg))" : void 0
|
|
1067
|
+
},
|
|
1068
|
+
children: [
|
|
1069
|
+
/* @__PURE__ */ jsx("span", { className: "inline-flex items-center justify-center text-[14px] leading-none", children: item.icon }),
|
|
1070
|
+
isDisabled ? null : /* @__PURE__ */ jsx(TopBarTooltip, { title: item.label })
|
|
1071
|
+
]
|
|
1071
1072
|
},
|
|
1072
1073
|
item.id
|
|
1073
1074
|
);
|