@the-portland-company/shell 0.11.2 → 0.11.4
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 +33 -0
- package/dist/chrome.css +20 -0
- package/dist/chunk-2GFWARYP.js +49 -0
- package/dist/chunk-2GFWARYP.js.map +1 -0
- package/dist/index.cjs +28 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -11
- package/dist/index.js.map +1 -1
- package/dist/native.cjs +30 -17
- package/dist/native.cjs.map +1 -1
- package/dist/native.js +5 -16
- package/dist/native.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-VTGRJ4HV.js +0 -25
- package/dist/chunk-VTGRJ4HV.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useTopBarIconSlotGlyph } from './chunk-
|
|
1
|
+
import { useTopBarIconSlotGlyph, resolveBrandGlyph } from './chunk-2GFWARYP.js';
|
|
2
2
|
import { extendTheme, IconButton, Tooltip, ChakraProvider, useColorModeValue, Flex, Menu, MenuButton, HStack, Avatar, VStack, Text, Box, Portal, MenuList, MenuItem, MenuDivider, Badge, Link as Link$1, Collapse, Skeleton, Button, useClipboard, Icon, Image, useDisclosure, useToast, Modal, ModalOverlay, ModalContent, ModalHeader, ModalCloseButton, ModalBody, Textarea, ModalFooter } from '@chakra-ui/react';
|
|
3
3
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
4
4
|
import clsx2 from 'clsx';
|
|
@@ -2651,16 +2651,8 @@ function AppLayout({
|
|
|
2651
2651
|
var TopBarIcon = forwardRef(
|
|
2652
2652
|
function TopBarIcon2({ slot, fallbackIcon, isSelected, ...rest }, ref) {
|
|
2653
2653
|
const glyphName = useTopBarIconSlotGlyph(slot);
|
|
2654
|
-
const
|
|
2655
|
-
|
|
2656
|
-
{
|
|
2657
|
-
name: glyphName,
|
|
2658
|
-
style: {
|
|
2659
|
-
width: "var(--topbar-icon-size, 20px)",
|
|
2660
|
-
height: "var(--topbar-icon-size, 20px)"
|
|
2661
|
-
}
|
|
2662
|
-
}
|
|
2663
|
-
) : fallbackIcon;
|
|
2654
|
+
const Glyph = resolveBrandGlyph(glyphName);
|
|
2655
|
+
const icon = Glyph ? /* @__PURE__ */ jsx(Glyph, { size: "var(--topbar-icon-size, 20px)" }) : fallbackIcon;
|
|
2664
2656
|
return /* @__PURE__ */ jsx(
|
|
2665
2657
|
IconButton,
|
|
2666
2658
|
{
|