@fgv/ts-app-shell 5.1.0-10 → 5.1.0-12
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/dist/packlets/badge/index.js +23 -0
- package/dist/packlets/badge/renderStatusBadge.js +44 -0
- package/dist/packlets/sidebar/CollectionSection.js +2 -0
- package/dist/packlets/top-bar/TabBar.js +2 -16
- package/lib/packlets/badge/index.d.ts +2 -0
- package/lib/packlets/badge/index.js +27 -0
- package/lib/packlets/badge/renderStatusBadge.d.ts +11 -0
- package/lib/packlets/badge/renderStatusBadge.js +50 -0
- package/lib/packlets/sidebar/CollectionSection.d.ts +12 -0
- package/lib/packlets/sidebar/CollectionSection.js +2 -0
- package/lib/packlets/sidebar/index.d.ts +1 -1
- package/lib/packlets/top-bar/TabBar.js +2 -16
- package/package.json +5 -5
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026 Erik Fortune
|
|
3
|
+
*
|
|
4
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
* in the Software without restriction, including without limitation the rights
|
|
7
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
* furnished to do so, subject to the following conditions:
|
|
10
|
+
*
|
|
11
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
+
* copies or substantial portions of the Software.
|
|
13
|
+
*
|
|
14
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20
|
+
* SOFTWARE.
|
|
21
|
+
*/
|
|
22
|
+
export { renderStatusBadge } from './renderStatusBadge';
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026 Erik Fortune
|
|
3
|
+
*
|
|
4
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
* in the Software without restriction, including without limitation the rights
|
|
7
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
* furnished to do so, subject to the following conditions:
|
|
10
|
+
*
|
|
11
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
+
* copies or substantial portions of the Software.
|
|
13
|
+
*
|
|
14
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20
|
+
* SOFTWARE.
|
|
21
|
+
*/
|
|
22
|
+
import React from 'react';
|
|
23
|
+
const BADGE_COUNT_BASE_CLASSES = 'ml-1.5 min-w-4 px-1.5 py-0.5 text-[0.6875rem] inline-flex shrink-0 items-center justify-center rounded-full font-medium leading-none';
|
|
24
|
+
const BADGE_DOT_BASE_CLASSES = 'ml-1.5 h-2 w-2 inline-block shrink-0 rounded-full';
|
|
25
|
+
const BADGE_COUNT_TONE_CLASSES = {
|
|
26
|
+
info: 'bg-status-info-bg text-status-info-text',
|
|
27
|
+
warning: 'bg-status-warning-bg text-status-warning-text',
|
|
28
|
+
danger: 'bg-status-error-bg text-status-error-text'
|
|
29
|
+
};
|
|
30
|
+
const BADGE_DOT_TONE_CLASSES = {
|
|
31
|
+
info: 'bg-status-info-icon',
|
|
32
|
+
warning: 'bg-status-warning-icon',
|
|
33
|
+
danger: 'bg-status-error-icon'
|
|
34
|
+
};
|
|
35
|
+
export function renderStatusBadge(badge) {
|
|
36
|
+
var _a, _b;
|
|
37
|
+
const tone = (_a = badge.tone) !== null && _a !== void 0 ? _a : 'info';
|
|
38
|
+
const ariaLabel = badge.ariaLabel;
|
|
39
|
+
if (badge.kind === 'dot') {
|
|
40
|
+
return (React.createElement("span", { className: `${BADGE_DOT_BASE_CLASSES} ${BADGE_DOT_TONE_CLASSES[tone]}`, "aria-label": ariaLabel }));
|
|
41
|
+
}
|
|
42
|
+
return (React.createElement("span", { className: `${BADGE_COUNT_BASE_CLASSES} ${BADGE_COUNT_TONE_CLASSES[tone]}`, "aria-label": ariaLabel }, (_b = badge.count) !== null && _b !== void 0 ? _b : 0));
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=renderStatusBadge.js.map
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
31
31
|
import { StarIcon as StarIconOutline } from '@heroicons/react/24/outline';
|
|
32
32
|
import { StarIcon as StarIconSolid, ExclamationTriangleIcon, BuildingLibraryIcon, ShieldCheckIcon, ShieldExclamationIcon, ArrowDownTrayIcon, PencilSquareIcon, ArrowsPointingInIcon, TrashIcon, FolderPlusIcon, ArchiveBoxArrowDownIcon, FolderOpenIcon, ArrowUpTrayIcon, PlusIcon, ChevronRightIcon } from '@heroicons/react/20/solid';
|
|
33
|
+
import { renderStatusBadge } from '../badge';
|
|
33
34
|
// ============================================================================
|
|
34
35
|
// Context Menu (internal)
|
|
35
36
|
// ============================================================================
|
|
@@ -121,6 +122,7 @@ function CollectionRow(props) {
|
|
|
121
122
|
}, className: "shrink-0 text-muted hover:text-star transition-colors", title: "Click to unlock", "aria-label": `Unlock ${displayName}` },
|
|
122
123
|
React.createElement(ShieldExclamationIcon, { className: "w-4 h-4" })))),
|
|
123
124
|
React.createElement("span", { className: "flex-1 truncate", title: displayName }, displayName),
|
|
125
|
+
collection.badge && renderStatusBadge(collection.badge),
|
|
124
126
|
React.createElement("span", { className: "shrink-0 text-xs text-muted" }, collection.itemCount)),
|
|
125
127
|
React.createElement("div", { className: "flex items-center gap-1 mt-1 ml-[24px]" },
|
|
126
128
|
collection.isMutable && onExport && (React.createElement("button", { onClick: (e) => {
|
|
@@ -20,21 +20,7 @@
|
|
|
20
20
|
* SOFTWARE.
|
|
21
21
|
*/
|
|
22
22
|
import React from 'react';
|
|
23
|
-
|
|
24
|
-
const BADGE_TONE_CLASSES = {
|
|
25
|
-
info: 'bg-status-info-bg text-status-info-text',
|
|
26
|
-
warning: 'bg-status-warning-bg text-status-warning-text',
|
|
27
|
-
danger: 'bg-status-error-bg text-status-error-text'
|
|
28
|
-
};
|
|
29
|
-
function renderBadge(badge) {
|
|
30
|
-
var _a, _b;
|
|
31
|
-
const tone = (_a = badge.tone) !== null && _a !== void 0 ? _a : 'info';
|
|
32
|
-
const ariaLabel = badge.ariaLabel;
|
|
33
|
-
if (badge.kind === 'dot') {
|
|
34
|
-
return (React.createElement("span", { className: `ml-1.5 h-2 w-2 ${BADGE_BASE_CLASSES} ${BADGE_TONE_CLASSES[tone]}`, "aria-label": ariaLabel }));
|
|
35
|
-
}
|
|
36
|
-
return (React.createElement("span", { className: `ml-1.5 min-w-4 px-1.5 py-0.5 text-[0.6875rem] ${BADGE_BASE_CLASSES} ${BADGE_TONE_CLASSES[tone]}`, "aria-label": ariaLabel }, (_b = badge.count) !== null && _b !== void 0 ? _b : 0));
|
|
37
|
-
}
|
|
23
|
+
import { renderStatusBadge } from '../badge';
|
|
38
24
|
/**
|
|
39
25
|
* Second-level tab bar for switching views within a mode.
|
|
40
26
|
* @public
|
|
@@ -46,7 +32,7 @@ export function TabBar(props) {
|
|
|
46
32
|
? 'bg-white/20 text-white'
|
|
47
33
|
: 'text-white/60 hover:text-white hover:bg-white/10'}`, "aria-current": activeTab === tab.id ? 'page' : undefined },
|
|
48
34
|
React.createElement("span", null, tab.label),
|
|
49
|
-
tab.badge &&
|
|
35
|
+
tab.badge && renderStatusBadge(tab.badge)))),
|
|
50
36
|
rightContent !== undefined && (React.createElement(React.Fragment, null,
|
|
51
37
|
React.createElement("div", { className: "flex-1" }),
|
|
52
38
|
rightContent))));
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2026 Erik Fortune
|
|
4
|
+
*
|
|
5
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
* in the Software without restriction, including without limitation the rights
|
|
8
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
* furnished to do so, subject to the following conditions:
|
|
11
|
+
*
|
|
12
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
* copies or substantial portions of the Software.
|
|
14
|
+
*
|
|
15
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
* SOFTWARE.
|
|
22
|
+
*/
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.renderStatusBadge = void 0;
|
|
25
|
+
var renderStatusBadge_1 = require("./renderStatusBadge");
|
|
26
|
+
Object.defineProperty(exports, "renderStatusBadge", { enumerable: true, get: function () { return renderStatusBadge_1.renderStatusBadge; } });
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type BadgeTone = 'info' | 'warning' | 'danger';
|
|
3
|
+
interface IBadgeLike {
|
|
4
|
+
readonly kind: 'dot' | 'count';
|
|
5
|
+
readonly tone?: BadgeTone;
|
|
6
|
+
readonly count?: number;
|
|
7
|
+
readonly ariaLabel?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function renderStatusBadge(badge: IBadgeLike): React.ReactElement;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=renderStatusBadge.d.ts.map
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2026 Erik Fortune
|
|
4
|
+
*
|
|
5
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
* in the Software without restriction, including without limitation the rights
|
|
8
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
* furnished to do so, subject to the following conditions:
|
|
11
|
+
*
|
|
12
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
* copies or substantial portions of the Software.
|
|
14
|
+
*
|
|
15
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
* SOFTWARE.
|
|
22
|
+
*/
|
|
23
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
24
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.renderStatusBadge = renderStatusBadge;
|
|
28
|
+
const react_1 = __importDefault(require("react"));
|
|
29
|
+
const BADGE_COUNT_BASE_CLASSES = 'ml-1.5 min-w-4 px-1.5 py-0.5 text-[0.6875rem] inline-flex shrink-0 items-center justify-center rounded-full font-medium leading-none';
|
|
30
|
+
const BADGE_DOT_BASE_CLASSES = 'ml-1.5 h-2 w-2 inline-block shrink-0 rounded-full';
|
|
31
|
+
const BADGE_COUNT_TONE_CLASSES = {
|
|
32
|
+
info: 'bg-status-info-bg text-status-info-text',
|
|
33
|
+
warning: 'bg-status-warning-bg text-status-warning-text',
|
|
34
|
+
danger: 'bg-status-error-bg text-status-error-text'
|
|
35
|
+
};
|
|
36
|
+
const BADGE_DOT_TONE_CLASSES = {
|
|
37
|
+
info: 'bg-status-info-icon',
|
|
38
|
+
warning: 'bg-status-warning-icon',
|
|
39
|
+
danger: 'bg-status-error-icon'
|
|
40
|
+
};
|
|
41
|
+
function renderStatusBadge(badge) {
|
|
42
|
+
var _a, _b;
|
|
43
|
+
const tone = (_a = badge.tone) !== null && _a !== void 0 ? _a : 'info';
|
|
44
|
+
const ariaLabel = badge.ariaLabel;
|
|
45
|
+
if (badge.kind === 'dot') {
|
|
46
|
+
return (react_1.default.createElement("span", { className: `${BADGE_DOT_BASE_CLASSES} ${BADGE_DOT_TONE_CLASSES[tone]}`, "aria-label": ariaLabel }));
|
|
47
|
+
}
|
|
48
|
+
return (react_1.default.createElement("span", { className: `${BADGE_COUNT_BASE_CLASSES} ${BADGE_COUNT_TONE_CLASSES[tone]}`, "aria-label": ariaLabel }, (_b = badge.count) !== null && _b !== void 0 ? _b : 0));
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=renderStatusBadge.js.map
|
|
@@ -7,6 +7,16 @@
|
|
|
7
7
|
* @packageDocumentation
|
|
8
8
|
*/
|
|
9
9
|
import React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Describes a single collection for rendering in the sidebar.
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export interface ICollectionBadge {
|
|
15
|
+
readonly kind: 'dot' | 'count';
|
|
16
|
+
readonly tone?: 'info' | 'warning' | 'danger';
|
|
17
|
+
readonly count?: number;
|
|
18
|
+
readonly ariaLabel?: string;
|
|
19
|
+
}
|
|
10
20
|
/**
|
|
11
21
|
* Describes a single collection for rendering in the sidebar.
|
|
12
22
|
* @public
|
|
@@ -37,6 +47,8 @@ export interface ICollectionRowItem {
|
|
|
37
47
|
readonly isHidden?: boolean;
|
|
38
48
|
/** The name of the storage source this collection was loaded from */
|
|
39
49
|
readonly sourceName?: string;
|
|
50
|
+
/** Optional badge rendered alongside the collection name */
|
|
51
|
+
readonly badge?: ICollectionBadge;
|
|
40
52
|
}
|
|
41
53
|
/**
|
|
42
54
|
* Props for the CollectionSection component.
|
|
@@ -66,6 +66,7 @@ exports.CollectionSection = CollectionSection;
|
|
|
66
66
|
const react_1 = __importStar(require("react"));
|
|
67
67
|
const outline_1 = require("@heroicons/react/24/outline");
|
|
68
68
|
const solid_1 = require("@heroicons/react/20/solid");
|
|
69
|
+
const badge_1 = require("../badge");
|
|
69
70
|
// ============================================================================
|
|
70
71
|
// Context Menu (internal)
|
|
71
72
|
// ============================================================================
|
|
@@ -157,6 +158,7 @@ function CollectionRow(props) {
|
|
|
157
158
|
}, className: "shrink-0 text-muted hover:text-star transition-colors", title: "Click to unlock", "aria-label": `Unlock ${displayName}` },
|
|
158
159
|
react_1.default.createElement(solid_1.ShieldExclamationIcon, { className: "w-4 h-4" })))),
|
|
159
160
|
react_1.default.createElement("span", { className: "flex-1 truncate", title: displayName }, displayName),
|
|
161
|
+
collection.badge && (0, badge_1.renderStatusBadge)(collection.badge),
|
|
160
162
|
react_1.default.createElement("span", { className: "shrink-0 text-xs text-muted" }, collection.itemCount)),
|
|
161
163
|
react_1.default.createElement("div", { className: "flex items-center gap-1 mt-1 ml-[24px]" },
|
|
162
164
|
collection.isMutable && onExport && (react_1.default.createElement("button", { onClick: (e) => {
|
|
@@ -8,5 +8,5 @@ export { FilterRow, type IFilterRowProps, type IFilterOption } from './FilterRow
|
|
|
8
8
|
export { FilterBar, type IFilterBarProps } from './FilterBar';
|
|
9
9
|
export { EntityList, type IEntityListProps, type IEntityDescriptor, type IEntityStatus, type IEmptyStateConfig, type IEmptyStateAction } from './EntityList';
|
|
10
10
|
export { GroupedEntityList, type IGroupedEntityListProps, type IEntityGroupDescriptor } from './GroupedEntityList';
|
|
11
|
-
export { CollectionSection, type ICollectionSectionProps, type ICollectionRowItem, type SourceColorMap } from './CollectionSection';
|
|
11
|
+
export { CollectionSection, type ICollectionBadge, type ICollectionSectionProps, type ICollectionRowItem, type SourceColorMap } from './CollectionSection';
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -26,21 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.TabBar = TabBar;
|
|
28
28
|
const react_1 = __importDefault(require("react"));
|
|
29
|
-
const
|
|
30
|
-
const BADGE_TONE_CLASSES = {
|
|
31
|
-
info: 'bg-status-info-bg text-status-info-text',
|
|
32
|
-
warning: 'bg-status-warning-bg text-status-warning-text',
|
|
33
|
-
danger: 'bg-status-error-bg text-status-error-text'
|
|
34
|
-
};
|
|
35
|
-
function renderBadge(badge) {
|
|
36
|
-
var _a, _b;
|
|
37
|
-
const tone = (_a = badge.tone) !== null && _a !== void 0 ? _a : 'info';
|
|
38
|
-
const ariaLabel = badge.ariaLabel;
|
|
39
|
-
if (badge.kind === 'dot') {
|
|
40
|
-
return (react_1.default.createElement("span", { className: `ml-1.5 h-2 w-2 ${BADGE_BASE_CLASSES} ${BADGE_TONE_CLASSES[tone]}`, "aria-label": ariaLabel }));
|
|
41
|
-
}
|
|
42
|
-
return (react_1.default.createElement("span", { className: `ml-1.5 min-w-4 px-1.5 py-0.5 text-[0.6875rem] ${BADGE_BASE_CLASSES} ${BADGE_TONE_CLASSES[tone]}`, "aria-label": ariaLabel }, (_b = badge.count) !== null && _b !== void 0 ? _b : 0));
|
|
43
|
-
}
|
|
29
|
+
const badge_1 = require("../badge");
|
|
44
30
|
/**
|
|
45
31
|
* Second-level tab bar for switching views within a mode.
|
|
46
32
|
* @public
|
|
@@ -52,7 +38,7 @@ function TabBar(props) {
|
|
|
52
38
|
? 'bg-white/20 text-white'
|
|
53
39
|
: 'text-white/60 hover:text-white hover:bg-white/10'}`, "aria-current": activeTab === tab.id ? 'page' : undefined },
|
|
54
40
|
react_1.default.createElement("span", null, tab.label),
|
|
55
|
-
tab.badge &&
|
|
41
|
+
tab.badge && (0, badge_1.renderStatusBadge)(tab.badge)))),
|
|
56
42
|
rightContent !== undefined && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
57
43
|
react_1.default.createElement("div", { className: "flex-1" }),
|
|
58
44
|
rightContent))));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fgv/ts-app-shell",
|
|
3
|
-
"version": "5.1.0-
|
|
3
|
+
"version": "5.1.0-12",
|
|
4
4
|
"description": "Shared React UI primitives for application shells: column cascade, sidebar, toast/log messages, command palette, keybinding registry",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@heroicons/react": "~2.2.0",
|
|
19
19
|
"tslib": "^2.8.1",
|
|
20
|
-
"@fgv/ts-utils": "5.1.0-
|
|
21
|
-
"@fgv/ts-extras": "5.1.0-
|
|
20
|
+
"@fgv/ts-utils": "5.1.0-12",
|
|
21
|
+
"@fgv/ts-extras": "5.1.0-12"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": ">=18.0.0",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"@rushstack/heft-jest-plugin": "1.2.6",
|
|
52
52
|
"@testing-library/dom": "^10.4.0",
|
|
53
53
|
"@rushstack/heft-node-rig": "2.11.27",
|
|
54
|
-
"@fgv/
|
|
55
|
-
"@fgv/
|
|
54
|
+
"@fgv/ts-utils-jest": "5.1.0-12",
|
|
55
|
+
"@fgv/heft-dual-rig": "5.1.0-12"
|
|
56
56
|
},
|
|
57
57
|
"exports": {
|
|
58
58
|
".": {
|