@the-portland-company/shell 0.91.0 → 0.93.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 +16 -0
- package/README.md +24 -1
- package/dist/app-chrome.cjs +5 -0
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +2 -2
- package/dist/app-chrome.d.ts +2 -2
- package/dist/app-chrome.js +8 -3
- package/dist/app-chrome.js.map +1 -1
- package/dist/{chunk-WDVQBUWF.js → chunk-EN5ANFMB.js} +55 -4
- package/dist/chunk-EN5ANFMB.js.map +1 -0
- package/dist/{chunk-ZS7MQXDQ.js → chunk-Y66PVCZO.js} +137 -3
- package/dist/chunk-Y66PVCZO.js.map +1 -0
- package/dist/{index-Cg5aEImm.d.cts → index-BAFJZuRA.d.cts} +28 -2
- package/dist/{index-DG32i0jC.d.ts → index-DoSs3sQY.d.ts} +28 -2
- package/dist/index.cjs +136 -0
- 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 +2 -2
- package/dist/native.cjs +187 -2
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +1 -1
- package/dist/native.d.ts +1 -1
- package/dist/native.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-WDVQBUWF.js.map +0 -1
- package/dist/chunk-ZS7MQXDQ.js.map +0 -1
|
@@ -4,6 +4,7 @@ import clsx2 from 'clsx';
|
|
|
4
4
|
import { createContext, useState, useEffect, useRef, useContext, useMemo, useCallback, useSyncExternalStore } from 'react';
|
|
5
5
|
import { FiUser, FiSettings, FiMessageSquare, FiMail, FiInfo, FiSun, FiMoon, FiHelpCircle, FiLifeBuoy, FiAlertCircle, FiAlertTriangle, FiBell, FiGrid, FiZap, FiBatteryCharging, FiBattery } from 'react-icons/fi';
|
|
6
6
|
import { createPortal } from 'react-dom';
|
|
7
|
+
import { LuGitBranch, LuWorkflow, LuNetwork, LuHandshake, LuBriefcase, LuAward, LuBadgeCheck, LuSignpost, LuDoorOpen, LuTriangleAlert, LuInfo, LuCircleHelp, LuTrash2, LuArchive, LuRocket, LuZap, LuWrench, LuKanban, LuNewspaper, LuLandmark, LuVote, LuKey, LuLock, LuEye, LuPrinter, LuMic, LuVideo, LuImage, LuLink, LuGlobe, LuSearch, LuFilter, LuTag, LuHandHeart, LuHeart, LuStar, LuHouse, LuBell, LuMailOpen, LuMail, LuDollarSign, LuReceipt, LuWallet, LuCreditCard, LuPalette, LuBuilding2, LuShare2, LuInbox, LuSlidersHorizontal, LuSettings, LuFlaskConical, LuTarget, LuSparkles, LuPencil, LuSmartphone, LuHistory, LuRefreshCw, LuRotateCcw, LuCircleCheck, LuSquareCheck, LuVoicemail, LuRadio, LuNotebookPen, LuBookOpen, LuPhoneCall, LuPhone, LuShieldCheck, LuShield, LuMegaphone, LuTrendingUp, LuListTodo, LuListOrdered, LuListChecks, LuList, LuFolderLock, LuFolder, LuFiles, LuFile, LuFileText, LuSplit, LuGauge, LuSend, LuMessageCircle, LuMessageSquare, LuMessagesSquare, LuBot, LuRoute, LuScale, LuLayers, LuCalendar, LuClock, LuTimer, LuClipboardCheck, LuClipboardList, LuBrain, LuFootprints, LuMapPin, LuMap, LuCrosshair, LuLightbulb, LuChartNoAxesCombined, LuChartArea, LuChartBar, LuChartLine, LuChartColumn, LuChartPie, LuTable2, LuActivity, LuFlagTriangleRight, LuFlag, LuLibrary, LuCopy, LuDownload, LuUpload, LuSquareUser, LuUserCheck, LuUserPlus, LuUser, LuUsersRound, LuUsers, LuLayoutTemplate, LuLayoutGrid, LuLayoutList, LuLayoutDashboard } from 'react-icons/lu';
|
|
7
8
|
|
|
8
9
|
function Card({
|
|
9
10
|
title,
|
|
@@ -2039,6 +2040,139 @@ function HeaderTabBar({
|
|
|
2039
2040
|
}
|
|
2040
2041
|
);
|
|
2041
2042
|
}
|
|
2043
|
+
var TAB_GLYPHS = {
|
|
2044
|
+
"layout-dashboard": LuLayoutDashboard,
|
|
2045
|
+
"layout-list": LuLayoutList,
|
|
2046
|
+
"layout-grid": LuLayoutGrid,
|
|
2047
|
+
"layout-template": LuLayoutTemplate,
|
|
2048
|
+
"users": LuUsers,
|
|
2049
|
+
"users-round": LuUsersRound,
|
|
2050
|
+
"user": LuUser,
|
|
2051
|
+
"user-plus": LuUserPlus,
|
|
2052
|
+
"user-check": LuUserCheck,
|
|
2053
|
+
"square-user": LuSquareUser,
|
|
2054
|
+
"upload": LuUpload,
|
|
2055
|
+
"download": LuDownload,
|
|
2056
|
+
"copy": LuCopy,
|
|
2057
|
+
"library": LuLibrary,
|
|
2058
|
+
"flag": LuFlag,
|
|
2059
|
+
"flag-triangle-right": LuFlagTriangleRight,
|
|
2060
|
+
"activity": LuActivity,
|
|
2061
|
+
"table-2": LuTable2,
|
|
2062
|
+
"chart-pie": LuChartPie,
|
|
2063
|
+
"chart-column": LuChartColumn,
|
|
2064
|
+
"chart-line": LuChartLine,
|
|
2065
|
+
"chart-bar": LuChartBar,
|
|
2066
|
+
"chart-area": LuChartArea,
|
|
2067
|
+
"chart-no-axes-combined": LuChartNoAxesCombined,
|
|
2068
|
+
"lightbulb": LuLightbulb,
|
|
2069
|
+
"crosshair": LuCrosshair,
|
|
2070
|
+
"map": LuMap,
|
|
2071
|
+
"map-pin": LuMapPin,
|
|
2072
|
+
"footprints": LuFootprints,
|
|
2073
|
+
"brain": LuBrain,
|
|
2074
|
+
"clipboard-list": LuClipboardList,
|
|
2075
|
+
"clipboard-check": LuClipboardCheck,
|
|
2076
|
+
"timer": LuTimer,
|
|
2077
|
+
"clock": LuClock,
|
|
2078
|
+
"calendar": LuCalendar,
|
|
2079
|
+
"layers": LuLayers,
|
|
2080
|
+
"scale": LuScale,
|
|
2081
|
+
"route": LuRoute,
|
|
2082
|
+
"bot": LuBot,
|
|
2083
|
+
"messages-square": LuMessagesSquare,
|
|
2084
|
+
"message-square": LuMessageSquare,
|
|
2085
|
+
"message-circle": LuMessageCircle,
|
|
2086
|
+
"send": LuSend,
|
|
2087
|
+
"gauge": LuGauge,
|
|
2088
|
+
"split": LuSplit,
|
|
2089
|
+
"file-text": LuFileText,
|
|
2090
|
+
"file": LuFile,
|
|
2091
|
+
"files": LuFiles,
|
|
2092
|
+
"folder": LuFolder,
|
|
2093
|
+
"folder-lock": LuFolderLock,
|
|
2094
|
+
"list": LuList,
|
|
2095
|
+
"list-checks": LuListChecks,
|
|
2096
|
+
"list-ordered": LuListOrdered,
|
|
2097
|
+
"list-todo": LuListTodo,
|
|
2098
|
+
"trending-up": LuTrendingUp,
|
|
2099
|
+
"megaphone": LuMegaphone,
|
|
2100
|
+
"shield": LuShield,
|
|
2101
|
+
"shield-check": LuShieldCheck,
|
|
2102
|
+
"phone": LuPhone,
|
|
2103
|
+
"phone-call": LuPhoneCall,
|
|
2104
|
+
"book-open": LuBookOpen,
|
|
2105
|
+
"notebook-pen": LuNotebookPen,
|
|
2106
|
+
"radio": LuRadio,
|
|
2107
|
+
"voicemail": LuVoicemail,
|
|
2108
|
+
"square-check": LuSquareCheck,
|
|
2109
|
+
"circle-check": LuCircleCheck,
|
|
2110
|
+
"rotate-ccw": LuRotateCcw,
|
|
2111
|
+
"refresh-cw": LuRefreshCw,
|
|
2112
|
+
"history": LuHistory,
|
|
2113
|
+
"smartphone": LuSmartphone,
|
|
2114
|
+
"pencil": LuPencil,
|
|
2115
|
+
"sparkles": LuSparkles,
|
|
2116
|
+
"target": LuTarget,
|
|
2117
|
+
"flask-conical": LuFlaskConical,
|
|
2118
|
+
"settings": LuSettings,
|
|
2119
|
+
"sliders-horizontal": LuSlidersHorizontal,
|
|
2120
|
+
"inbox": LuInbox,
|
|
2121
|
+
"share-2": LuShare2,
|
|
2122
|
+
"building-2": LuBuilding2,
|
|
2123
|
+
"palette": LuPalette,
|
|
2124
|
+
"credit-card": LuCreditCard,
|
|
2125
|
+
"wallet": LuWallet,
|
|
2126
|
+
"receipt": LuReceipt,
|
|
2127
|
+
"dollar-sign": LuDollarSign,
|
|
2128
|
+
"mail": LuMail,
|
|
2129
|
+
"mail-open": LuMailOpen,
|
|
2130
|
+
"bell": LuBell,
|
|
2131
|
+
"house": LuHouse,
|
|
2132
|
+
"star": LuStar,
|
|
2133
|
+
"heart": LuHeart,
|
|
2134
|
+
"hand-heart": LuHandHeart,
|
|
2135
|
+
"tag": LuTag,
|
|
2136
|
+
"filter": LuFilter,
|
|
2137
|
+
"search": LuSearch,
|
|
2138
|
+
"globe": LuGlobe,
|
|
2139
|
+
"link": LuLink,
|
|
2140
|
+
"image": LuImage,
|
|
2141
|
+
"video": LuVideo,
|
|
2142
|
+
"mic": LuMic,
|
|
2143
|
+
"printer": LuPrinter,
|
|
2144
|
+
"eye": LuEye,
|
|
2145
|
+
"lock": LuLock,
|
|
2146
|
+
"key": LuKey,
|
|
2147
|
+
"vote": LuVote,
|
|
2148
|
+
"landmark": LuLandmark,
|
|
2149
|
+
"newspaper": LuNewspaper,
|
|
2150
|
+
"kanban": LuKanban,
|
|
2151
|
+
"wrench": LuWrench,
|
|
2152
|
+
"zap": LuZap,
|
|
2153
|
+
"rocket": LuRocket,
|
|
2154
|
+
"archive": LuArchive,
|
|
2155
|
+
"trash-2": LuTrash2,
|
|
2156
|
+
"circle-help": LuCircleHelp,
|
|
2157
|
+
"info": LuInfo,
|
|
2158
|
+
"triangle-alert": LuTriangleAlert,
|
|
2159
|
+
"door-open": LuDoorOpen,
|
|
2160
|
+
"signpost": LuSignpost,
|
|
2161
|
+
"badge-check": LuBadgeCheck,
|
|
2162
|
+
"award": LuAward,
|
|
2163
|
+
"briefcase": LuBriefcase,
|
|
2164
|
+
"handshake": LuHandshake,
|
|
2165
|
+
"network": LuNetwork,
|
|
2166
|
+
"workflow": LuWorkflow,
|
|
2167
|
+
"git-branch": LuGitBranch
|
|
2168
|
+
};
|
|
2169
|
+
function resolveTabGlyph(name) {
|
|
2170
|
+
if (!name) return null;
|
|
2171
|
+
const key = name.trim().replace(/^['"]|['"]$/g, "").trim().toLowerCase();
|
|
2172
|
+
if (!key) return null;
|
|
2173
|
+
return Object.prototype.hasOwnProperty.call(TAB_GLYPHS, key) ? TAB_GLYPHS[key] : null;
|
|
2174
|
+
}
|
|
2175
|
+
var KNOWN_TAB_GLYPHS = Object.freeze(Object.keys(TAB_GLYPHS));
|
|
2042
2176
|
|
|
2043
2177
|
// src/speculation/emitRules.ts
|
|
2044
2178
|
function buildSpeculationRules(currentApp, registry) {
|
|
@@ -2247,6 +2381,6 @@ function BreadcrumbBarView({
|
|
|
2247
2381
|
);
|
|
2248
2382
|
}
|
|
2249
2383
|
|
|
2250
|
-
export { BreadcrumbBarView, CORE_APP_ORIGIN, CORE_BILLING_PATH, CREDIT_TYPE_LABELS, CREDIT_TYPE_ORDER, Card, CreditsAction, FormColumn, FuelAction, HeaderTabBar, NAV_DISPLAY_OPTIONS, NavChromeProvider, NavDisplayAction, NavThemeControl, NotificationsAction, PageHeaderView, SPECS_ORIGIN, SpecOverlayAction, SpeculationRulesScript, SupportAction, TOPBAR_GLYPH_SIZE, TopBarCountBadge, TopBarPanelArrow, TopBarPopover, TopBarTooltip, TopBarWidgetSlot, buildNavSpeculationRules, buildSpeculationRules, collectSiblingAppUrls, createCommsNotificationsAdapter, creditGaugeRatio, creditStateWord, creditTooltipLine, creditsAriaLabel, creditsIconState, emptyNotificationsFeed, normalizeNotificationsFeed, resolveBrandGlyph, resolveOrgLogoUrl, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeDedupedFetch, useNavChromeFetcher, useThemePreference, useTopBarIconSlotGlyph, warnDeprecated };
|
|
2251
|
-
//# sourceMappingURL=chunk-
|
|
2252
|
-
//# sourceMappingURL=chunk-
|
|
2384
|
+
export { BreadcrumbBarView, CORE_APP_ORIGIN, CORE_BILLING_PATH, CREDIT_TYPE_LABELS, CREDIT_TYPE_ORDER, Card, CreditsAction, FormColumn, FuelAction, HeaderTabBar, KNOWN_TAB_GLYPHS, NAV_DISPLAY_OPTIONS, NavChromeProvider, NavDisplayAction, NavThemeControl, NotificationsAction, PageHeaderView, SPECS_ORIGIN, SpecOverlayAction, SpeculationRulesScript, SupportAction, TOPBAR_GLYPH_SIZE, TopBarCountBadge, TopBarPanelArrow, TopBarPopover, TopBarTooltip, TopBarWidgetSlot, buildNavSpeculationRules, buildSpeculationRules, collectSiblingAppUrls, createCommsNotificationsAdapter, creditGaugeRatio, creditStateWord, creditTooltipLine, creditsAriaLabel, creditsIconState, emptyNotificationsFeed, normalizeNotificationsFeed, resolveBrandGlyph, resolveOrgLogoUrl, resolveTabGlyph, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeDedupedFetch, useNavChromeFetcher, useThemePreference, useTopBarIconSlotGlyph, warnDeprecated };
|
|
2385
|
+
//# sourceMappingURL=chunk-Y66PVCZO.js.map
|
|
2386
|
+
//# sourceMappingURL=chunk-Y66PVCZO.js.map
|