@streamoid/ui 0.6.44 → 0.6.46
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/index.css +51 -11
- package/dist/index.d.mts +82 -3
- package/dist/index.d.ts +82 -3
- package/dist/index.js +993 -871
- package/dist/index.mjs +972 -847
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -2231,8 +2231,8 @@
|
|
|
2231
2231
|
text-overflow: ellipsis;
|
|
2232
2232
|
white-space: nowrap;
|
|
2233
2233
|
text-align: center;
|
|
2234
|
-
color: var(--alias-text-and-icons-primary, #f5f5f5);
|
|
2235
|
-
font-family:
|
|
2234
|
+
color: var(--alias-text---icons-primary, var(--alias-text-and-icons-primary, #f5f5f5));
|
|
2235
|
+
font-family: inherit;
|
|
2236
2236
|
font-size: var(--font-size-font-size-md, 1rem);
|
|
2237
2237
|
font-weight: 500;
|
|
2238
2238
|
line-height: var(--line-height-line-height-md, 1.5rem);
|
|
@@ -3561,7 +3561,7 @@
|
|
|
3561
3561
|
flex-shrink: 0;
|
|
3562
3562
|
}
|
|
3563
3563
|
.ScSidebarMenu_content {
|
|
3564
|
-
color: var(--alias-text-and-icons-tertiary, #9e9e9e);
|
|
3564
|
+
color: var(--alias-text---icons-tertiary, var(--alias-text-and-icons-tertiary, #9e9e9e));
|
|
3565
3565
|
text-align: left;
|
|
3566
3566
|
font-family: var( --text-text-sm-regular-font-family, "Inter-Regular", sans-serif );
|
|
3567
3567
|
font-size: var(--text-text-sm-regular-font-size, 0.875rem);
|
|
@@ -3587,17 +3587,17 @@
|
|
|
3587
3587
|
background: var(--alias-fill-neutral-neutralselected, #242424);
|
|
3588
3588
|
}
|
|
3589
3589
|
.ScSidebarMenu_scSidebarMenu.ScSidebarMenu_state-active .ScSidebarMenu_content {
|
|
3590
|
-
color: var(--alias-text-and-icons-primary, #f5f5f5);
|
|
3590
|
+
color: var(--alias-text---icons-primary, var(--alias-text-and-icons-primary, #f5f5f5));
|
|
3591
3591
|
}
|
|
3592
3592
|
.ScSidebarMenu_scSidebarMenu.ScSidebarMenu_state-default-highlight .ScSidebarMenu_content {
|
|
3593
|
-
color: var(--alias-text-and-icons-primary, #f5f5f5);
|
|
3593
|
+
color: var(--alias-text---icons-primary, var(--alias-text-and-icons-primary, #f5f5f5));
|
|
3594
3594
|
}
|
|
3595
3595
|
.ScSidebarMenu_scSidebarMenu.ScSidebarMenu_state-default-active {
|
|
3596
3596
|
background: var(--alias-surface-canvas, #0B0B0B);
|
|
3597
3597
|
box-shadow: inset 0 0 0 0.5px var(--alias-border-subtle, #242424);
|
|
3598
3598
|
}
|
|
3599
3599
|
.ScSidebarMenu_scSidebarMenu.ScSidebarMenu_state-default-active .ScSidebarMenu_content {
|
|
3600
|
-
color: var(--alias-text-and-icons-primary, #f5f5f5);
|
|
3600
|
+
color: var(--alias-text---icons-primary, var(--alias-text-and-icons-primary, #f5f5f5));
|
|
3601
3601
|
}
|
|
3602
3602
|
.ScSidebarMenu_scSidebarMenu:hover,
|
|
3603
3603
|
.ScSidebarMenu_scSidebarMenu.ScSidebarMenu_state-hover {
|
|
@@ -4241,7 +4241,7 @@ button.ScSidebarShell_actionRow:hover {
|
|
|
4241
4241
|
.ScArtifaxSidebar_sectionLabel {
|
|
4242
4242
|
flex: 1 1 0;
|
|
4243
4243
|
min-width: 0;
|
|
4244
|
-
color: var(--alias-text-and-icons-tertiary, #9e9e9e);
|
|
4244
|
+
color: var(--alias-text---icons-tertiary, var(--alias-text-and-icons-tertiary, #9e9e9e));
|
|
4245
4245
|
font-family: var(--sc-rail-font-family, Inter, ui-sans-serif, system-ui, sans-serif);
|
|
4246
4246
|
font-size: 0.625rem;
|
|
4247
4247
|
line-height: 1.25rem;
|
|
@@ -4256,7 +4256,7 @@ button.ScSidebarShell_actionRow:hover {
|
|
|
4256
4256
|
width: 1rem;
|
|
4257
4257
|
height: 1rem;
|
|
4258
4258
|
flex-shrink: 0;
|
|
4259
|
-
color: var(--alias-text-and-icons-tertiary, #9e9e9e);
|
|
4259
|
+
color: var(--alias-text---icons-tertiary, var(--alias-text-and-icons-tertiary, #9e9e9e));
|
|
4260
4260
|
}
|
|
4261
4261
|
.ScArtifaxSidebar_profileRow {
|
|
4262
4262
|
display: flex;
|
|
@@ -4356,7 +4356,7 @@ button.ScSidebarShell_actionRow:hover {
|
|
|
4356
4356
|
font-size: 0.875rem;
|
|
4357
4357
|
font-weight: 500;
|
|
4358
4358
|
line-height: 1.25rem;
|
|
4359
|
-
color: var(--alias-text-and-icons-primary, #f5f5f5);
|
|
4359
|
+
color: var(--alias-text---icons-primary, var(--alias-text-and-icons-primary, #f5f5f5));
|
|
4360
4360
|
overflow: hidden;
|
|
4361
4361
|
text-overflow: ellipsis;
|
|
4362
4362
|
white-space: nowrap;
|
|
@@ -4366,7 +4366,7 @@ button.ScSidebarShell_actionRow:hover {
|
|
|
4366
4366
|
font-size: 0.75rem;
|
|
4367
4367
|
font-weight: 400;
|
|
4368
4368
|
line-height: 1.125rem;
|
|
4369
|
-
color: var(--alias-text-and-icons-tertiary, #9e9e9e);
|
|
4369
|
+
color: var(--alias-text---icons-tertiary, var(--alias-text-and-icons-tertiary, #9e9e9e));
|
|
4370
4370
|
overflow: hidden;
|
|
4371
4371
|
text-overflow: ellipsis;
|
|
4372
4372
|
white-space: nowrap;
|
|
@@ -4418,7 +4418,7 @@ button.ScSidebarShell_actionRow:hover {
|
|
|
4418
4418
|
content: "";
|
|
4419
4419
|
width: 0.625rem;
|
|
4420
4420
|
height: 0.625rem;
|
|
4421
|
-
border: 1px dashed var(--alias-text-and-icons-tertiary, #9e9e9e);
|
|
4421
|
+
border: 1px dashed var(--alias-text---icons-tertiary, var(--alias-text-and-icons-tertiary, #9e9e9e));
|
|
4422
4422
|
border-radius: var(--radius-full, 999px);
|
|
4423
4423
|
}
|
|
4424
4424
|
.ScArtifaxSidebar_versionText {
|
|
@@ -4485,6 +4485,46 @@ button.ScSidebarShell_actionRow:hover {
|
|
|
4485
4485
|
.ScArtifaxSidebar_body[data-scrolled=true] > [class*=logoUnit]::after {
|
|
4486
4486
|
opacity: 1;
|
|
4487
4487
|
}
|
|
4488
|
+
[data-theme=Light] .ScArtifaxSidebar_scArtifaxSidebar,
|
|
4489
|
+
[data-theme=Light] .ScArtifaxSidebar_container {
|
|
4490
|
+
--alias-surface-base: #ffffff;
|
|
4491
|
+
--alias-surface-subtle: #f4f4f4;
|
|
4492
|
+
--alias-fill-neutral-neutral: #f1f1f1;
|
|
4493
|
+
--alias-fill-neutral-neutralhover: #e8e8e8;
|
|
4494
|
+
--alias-fill-neutral-neutralselected: #e8e8e8;
|
|
4495
|
+
--alias-fill-neutral-neutralactive: #e0e0e0;
|
|
4496
|
+
--alias-text---icons-primary: #101010;
|
|
4497
|
+
--alias-text---icons-tertiary: #595959;
|
|
4498
|
+
--alias-text---icons-muted: #757575;
|
|
4499
|
+
--alias-text-and-icons-primary: #101010;
|
|
4500
|
+
--alias-text-and-icons-tertiary: #595959;
|
|
4501
|
+
--alias-border-subtle: #d2d2d2;
|
|
4502
|
+
--alias-border-divider: #d2d2d2;
|
|
4503
|
+
}
|
|
4504
|
+
[data-theme=Light] .ScArtifaxSidebar_container.ScArtifaxSidebar_expanded {
|
|
4505
|
+
box-shadow: 0 1px 3px rgba(16, 16, 16, 0.06), 0 1px 2px rgba(16, 16, 16, 0.04);
|
|
4506
|
+
}
|
|
4507
|
+
[data-theme=Light] .ScArtifaxSidebar_sectionLabel {
|
|
4508
|
+
font-weight: 500;
|
|
4509
|
+
}
|
|
4510
|
+
.ScArtifaxSidebar_header {
|
|
4511
|
+
display: flex;
|
|
4512
|
+
flex-direction: column;
|
|
4513
|
+
width: 100%;
|
|
4514
|
+
min-width: 0;
|
|
4515
|
+
gap: var(--spacing-sm, 6px);
|
|
4516
|
+
}
|
|
4517
|
+
.ScArtifaxSidebar_headerCollapsed {
|
|
4518
|
+
align-items: center;
|
|
4519
|
+
}
|
|
4520
|
+
.ScArtifaxSidebar_headerTriggerSlot {
|
|
4521
|
+
display: block;
|
|
4522
|
+
width: 100%;
|
|
4523
|
+
min-width: 0;
|
|
4524
|
+
}
|
|
4525
|
+
.ScArtifaxSidebar_headerDivider {
|
|
4526
|
+
margin-top: var(--spacing-sm, 6px);
|
|
4527
|
+
}
|
|
4488
4528
|
|
|
4489
4529
|
/* src/SC-Sidebar Switch menu/ScSidebarSwitchMenu.module.css */
|
|
4490
4530
|
.ScSidebarSwitchMenu_scSidebarSwitchMenu,
|
package/dist/index.d.mts
CHANGED
|
@@ -993,6 +993,55 @@ type StreamoidSidebarPopoverPosition = CSSProperties & {
|
|
|
993
993
|
*/
|
|
994
994
|
declare function useStreamoidSidebarPopoverPosition(sidebarRef: RefObject<HTMLElement | null>, { placement, width, gap, inset, }: StreamoidSidebarPopoverPositionOptions): StreamoidSidebarPopoverPosition;
|
|
995
995
|
|
|
996
|
+
/**
|
|
997
|
+
* The card both rail popovers hang in — the app switcher and the workspace
|
|
998
|
+
* menu.
|
|
999
|
+
*
|
|
1000
|
+
* Every product had been rebuilding this. The pieces were already here (the
|
|
1001
|
+
* anchoring hook, the caret), but the CARD was not, so each app wrote its own
|
|
1002
|
+
* surface, edge, radius, shadow, z-index, portal, backdrop, dismiss handling
|
|
1003
|
+
* and clip box. They then drifted, which is why the two switchers did not look
|
|
1004
|
+
* alike: one drew the panel on `--alias-surface-base`, the other on
|
|
1005
|
+
* `--alias-surface-raised`, with different shadows behind them.
|
|
1006
|
+
*
|
|
1007
|
+
* TWO THINGS THIS EXISTS TO GET RIGHT, both of which were reported as bugs
|
|
1008
|
+
* before they were understood:
|
|
1009
|
+
*
|
|
1010
|
+
* The card must NOT clip its overflow. The caret hangs half outside it by
|
|
1011
|
+
* design, and `overflow: hidden` — the obvious way to keep rounded corners —
|
|
1012
|
+
* cuts the caret off. So the card is rounded and does not clip, and an INNER
|
|
1013
|
+
* box does the clipping. Without that inner box a child painting an opaque
|
|
1014
|
+
* square background covers the rows the border arc curves through, leaving a
|
|
1015
|
+
* hard rule across the top that stops short of both ends and square corners
|
|
1016
|
+
* beyond it: reported as "the edges are squared" AND "there is a black border
|
|
1017
|
+
* at the top", one cause and two symptoms.
|
|
1018
|
+
*
|
|
1019
|
+
* The caret takes the card's own background and border, so it reads as a piece
|
|
1020
|
+
* of the card rather than a shape stuck to it. That is why the surface and
|
|
1021
|
+
* border are values here and not something a caller passes twice.
|
|
1022
|
+
*/
|
|
1023
|
+
interface IScSidebarPopoverProps {
|
|
1024
|
+
/** The control that opened it. The caret points at this. */
|
|
1025
|
+
anchorRef: RefObject<HTMLElement | null>;
|
|
1026
|
+
/** Usually the rail. The card's edge lines up with this element's edge
|
|
1027
|
+
* rather than with the anchor, so both popovers on a rail agree. */
|
|
1028
|
+
alignRef?: RefObject<HTMLElement | null>;
|
|
1029
|
+
/** Panel width in pixels. Required, because the anchoring maths needs it
|
|
1030
|
+
* before the panel has been measured — a popover that sizes itself would
|
|
1031
|
+
* be placed from a width it does not have yet and then jump. 336 matches
|
|
1032
|
+
* `ScSidebarShell_menu`, which pins that width internally. */
|
|
1033
|
+
width: number;
|
|
1034
|
+
onClose: () => void;
|
|
1035
|
+
children: ReactNode;
|
|
1036
|
+
/** `menu` by default; pass `dialog` for something that is not a menu. */
|
|
1037
|
+
role?: string;
|
|
1038
|
+
ariaLabel?: string;
|
|
1039
|
+
testId?: string;
|
|
1040
|
+
className?: string;
|
|
1041
|
+
style?: CSSProperties;
|
|
1042
|
+
}
|
|
1043
|
+
declare function ScSidebarPopover({ anchorRef, alignRef, width, onClose, children, role, ariaLabel, testId, className, style, }: IScSidebarPopoverProps): React$1.ReactPortal | null;
|
|
1044
|
+
|
|
996
1045
|
interface AppSidebarMenuItem {
|
|
997
1046
|
id: string;
|
|
998
1047
|
label: string;
|
|
@@ -1012,6 +1061,22 @@ interface AppSidebarIconContext {
|
|
|
1012
1061
|
}
|
|
1013
1062
|
type AppSidebarIconRenderer = (context: AppSidebarIconContext) => ReactNode;
|
|
1014
1063
|
type AppSidebarIconMap = Record<string, ReactNode | AppSidebarIconRenderer>;
|
|
1064
|
+
interface AppSidebarHeader {
|
|
1065
|
+
workspaceName: string;
|
|
1066
|
+
workspaceImage?: string;
|
|
1067
|
+
/** Drives the trigger's `aria-expanded`. */
|
|
1068
|
+
workspaceMenuOpen?: boolean;
|
|
1069
|
+
onWorkspaceClick?: () => void;
|
|
1070
|
+
/** Anchor for the workspace popover. Two refs, because the expanded and
|
|
1071
|
+
* collapsed rails are different DOM and only one is mounted at a time. */
|
|
1072
|
+
workspaceTriggerExpandedRef?: RefObject<HTMLDivElement | null>;
|
|
1073
|
+
workspaceTriggerCollapsedRef?: RefObject<HTMLDivElement | null>;
|
|
1074
|
+
searchLabel?: string;
|
|
1075
|
+
searchShortcut?: string;
|
|
1076
|
+
onSearchClick?: () => void;
|
|
1077
|
+
/** Omit the search field entirely — a product that has no search yet. */
|
|
1078
|
+
hideSearch?: boolean;
|
|
1079
|
+
}
|
|
1015
1080
|
interface AppSidebarProfile {
|
|
1016
1081
|
name: string;
|
|
1017
1082
|
subtitle?: string;
|
|
@@ -1047,7 +1112,21 @@ interface IScAppSidebarProps {
|
|
|
1047
1112
|
iconMap?: AppSidebarIconMap;
|
|
1048
1113
|
activeItemId?: string;
|
|
1049
1114
|
onItemSelect?: (item: AppSidebarMenuItem, sectionId: string) => void;
|
|
1115
|
+
/**
|
|
1116
|
+
* The rail's top section: the workspace trigger, the search field and the
|
|
1117
|
+
* rule under them.
|
|
1118
|
+
*
|
|
1119
|
+
* Prefer this over building it in `expandedLogo` / `collapsedLogo`. Every
|
|
1120
|
+
* product was composing the same three children with the same gap, and the
|
|
1121
|
+
* copies drifted — one wrapped the trigger in `w-full min-w-0` and the other
|
|
1122
|
+
* did not, and each hand-placed the divider. Passing data instead of JSX
|
|
1123
|
+
* means the top of the rail cannot differ between products.
|
|
1124
|
+
*/
|
|
1125
|
+
header?: AppSidebarHeader;
|
|
1126
|
+
/** @deprecated Pass `header`. Still rendered, and still the slot to use for
|
|
1127
|
+
* anything that is NOT the standard workspace + search pair. */
|
|
1050
1128
|
expandedLogo?: ReactNode;
|
|
1129
|
+
/** @deprecated Pass `header`. */
|
|
1051
1130
|
collapsedLogo?: ReactNode;
|
|
1052
1131
|
creditWarning?: AppSidebarCreditWarning | null;
|
|
1053
1132
|
/** Gradient call-to-action above the profile row (e.g. "Ask CXO"). Omit to
|
|
@@ -1074,9 +1153,9 @@ interface IScAppSidebarProps {
|
|
|
1074
1153
|
className?: string;
|
|
1075
1154
|
style?: CSSProperties;
|
|
1076
1155
|
}
|
|
1077
|
-
declare const ScAppSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
|
|
1156
|
+
declare const ScAppSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, header, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
|
|
1078
1157
|
/** @deprecated Use {@link ScAppSidebar}. */
|
|
1079
|
-
declare const ScArtifaxSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
|
|
1158
|
+
declare const ScArtifaxSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, header, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
|
|
1080
1159
|
/** @deprecated Use {@link AppSidebarMenuItem}. */
|
|
1081
1160
|
type ArtifaxMenuItem = AppSidebarMenuItem;
|
|
1082
1161
|
/** @deprecated Use {@link AppSidebarSection}. */
|
|
@@ -2364,4 +2443,4 @@ interface IScProfilePopupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
2364
2443
|
*/
|
|
2365
2444
|
declare const ScProfilePopup: React$1.ForwardRefExoticComponent<IScProfilePopupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2366
2445
|
|
|
2367
|
-
export { type AppSidebarAppIdentity, type AppSidebarAssistantCta, type AppSidebarCreditWarning, type AppSidebarIconContext, type AppSidebarIconMap, type AppSidebarIconRenderer, type AppSidebarMenuItem, type AppSidebarProfile, type AppSidebarSection, type AppcardProduct, type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarAppIdentity, type ArtifaxSidebarAssistantCta, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, type AssistantCta, type CatalogixNavItem, type CatalogixSidebarCreditWarning, type CatalogixSidebarIconContext, type CatalogixSidebarIconMap, type CatalogixSidebarIconRenderer, type CatalogixSidebarProfile, type CatalogixSwitchApp, CreditWarningBanner, type CreditWarningBannerProps, type DescriptionVisibility, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardForCopilotProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScAppSidebarProps, type IScAppSwitchPanelProps, type IScAppcardLogosProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScAskAgentButtonProps, type IScBadgesProps, type IScBeaconProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCatalogixSidebarProps, type IScCatalogixStoreHeaderProps, type IScCatalogixStoreTableListProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCounterProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScCxoCopilotLogoProps, type IScCxoWordmarkProps, type IScDefaultCardProps, type IScDrawerProps, type IScFieldButtonProps, type IScFileFieldProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScInChatListProps, type IScInChatMessageProps, type IScInfoPopupProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMappingCardProps, type IScMediaApprovalProps, type IScMediaSelectProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScModalProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPaginationProps, type IScPairtextProps, type IScPanelResizeHandleProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanComparisonProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScPopoverArrowProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfilePopupProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSelectOption, type IScSelectProps, type IScSelectionListProps, type IScSelectionPillGroupProps, type IScSelectionPillOption, type IScSelectionPillProps, type IScSelectionProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSidebarSwitchMenuProps, type IScSliderProps, type IScStoreCardProps, type IScStrLogoProps, type IScStreamoidMascotProps, type IScStreamoidWordmarkProps, type IScSubAgentProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTabsProps, type IScTaxonomyPillProps, type IScTextAreaProps, type IScTextFieldProps, type IScThinkingStepIconProps, type IScTodoItem, type IScTodoListProps, type IScToggleSwitchProps, type IScVDividerProps, type IScValueMappingL1Props, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, type IcListIconState, InvoiceHistoryMobile, NscWorkspaceSwitch, PANEL_RESIZE_STEP_PX, type PanelResizeEdge, type PanelResizeGesture, type PanelWidthBounds, type PlanComparisonRow, type PlanComparisonSection, type PlanFeatureSection, ProductCollapsedMark, ProductWordmark, SIDEBAR_RESIZE_THRESHOLD_PX, STREAMOID_CHANGELOG_URL, STREAMOID_CHANGELOG_URLS, STREAMOID_STATUS_PAGE_URL, ScAccess, ScAppCard, ScAppCardForCopilot, ScAppCardV3, ScAppField, ScAppListingCard, ScAppSidebar, type ScAppSwitchItem, ScAppSwitchPanel, ScAppSwitchRow, type ScAppSwitchSystemItem, type ScAppSwitchUtilities, ScAppcardLogos, ScArtifaxInvite, ScArtifaxSidebar, ScAskAgentButton, ScAskAgentSlot, ScBadges, ScBeacon, type ScBeaconTone, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCatalogixSidebar, ScCatalogixStoreHeader, ScCatalogixStoreTableList, ScCheckField, ScCheckbox, ScCounter, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScCxoCopilotLogo, ScCxoWordmark, ScDefaultCard, ScDp, type ScDpProps, ScDrawer, ScFieldButton, ScFileField, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScInChatList, ScInChatMessage, ScInfoPopup, ScIntialProfileCover, ScLogoUnit, ScMappingCard, ScMediaApproval, ScMediaSelect, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScModal, ScOnlyField, ScOnlyIcon, ScPagination, ScPairtext, ScPanelResizeHandle, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanComparison, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScPopoverArrow, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfilePopup, type ScProfilePopupThemeMode, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSelect, ScSelection, ScSelectionList, ScSelectionPill, ScSelectionPillGroup, ScSettingsNav, ScSettingsTabComp, type ScShellThemeMode, ScSideBarLogoUnit, ScSidebar, ScSidebarAppIdentity, type ScSidebarAppIdentityProps, ScSidebarIcons, ScSidebarMenu, ScSidebarProfile, ScSidebarResizeHandle, type ScSidebarResizeHandleProps, ScSidebarSearchTrigger, type ScSidebarSearchTriggerProps, ScSidebarSwitchMenu, ScSidebarWorkspaceTrigger, type ScSidebarWorkspaceTriggerProps, ScSlider, ScStoreCard, ScStrLogo, ScStreamoidMascot, ScStreamoidWordmark, ScSubAgent, type ScTab, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTabs, ScTaxonomyPill, ScTextArea, ScTextField, ScThinkingStepIcon, ScTodoList, ScToggleSwitch, ScVDivider, ScValueMappingL1, ScVersion, ScWorkspaceAccountMenu, type ScWorkspaceAccountMenuProps, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SelectionListState, type SidebarAppIdentityConfig, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProduct, type SidebarProfileConfig, type SidebarResizeGestureResult, type SidebarResizeGestureState, type SidebarSectionConfig, type StreamoidAnchorRect, type StreamoidAnchoredPopover, type StreamoidAnchoredPopoverArrow, type StreamoidAnchoredPopoverGeometry, type StreamoidAnchoredPopoverPosition, type StreamoidAnchoredPopoverPositionOptions, type StreamoidAppSwitchProduct, type StreamoidPanelWidthOptions, type StreamoidPanelWidthState, StreamoidSidebar, type StreamoidSidebarPopoverPlacement, type StreamoidSidebarPopoverPosition, type StreamoidSidebarPopoverPositionOptions, type StreamoidSidebarPreferenceOptions, type StreamoidSidebarPreferenceState, type StreamoidSidebarProps, type StreamoidThemePreferenceOptions, type StreamoidThemePreferenceState, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem, advanceSidebarResizeGesture, clampPanelWidth, createStreamoidAppSwitchUtilities, formatStreamoidAppVersion, formatSubAgentLabel, hasCollapsedMark, resolveAnchoredPopoverArrow, resolveAnchoredPopoverPosition, resolvePanelResize, resolvePanelResizeKey, scAppSwitchOrder, streamoidAppSwitchTagline, streamoidChangelogUrl, useStreamoidAnchoredPopover, useStreamoidAnchoredPopoverPosition, useStreamoidPanelWidth, useStreamoidSidebarPopoverPosition, useStreamoidSidebarPreference, useStreamoidThemePreference };
|
|
2446
|
+
export { type AppSidebarAppIdentity, type AppSidebarAssistantCta, type AppSidebarCreditWarning, type AppSidebarHeader, type AppSidebarIconContext, type AppSidebarIconMap, type AppSidebarIconRenderer, type AppSidebarMenuItem, type AppSidebarProfile, type AppSidebarSection, type AppcardProduct, type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarAppIdentity, type ArtifaxSidebarAssistantCta, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, type AssistantCta, type CatalogixNavItem, type CatalogixSidebarCreditWarning, type CatalogixSidebarIconContext, type CatalogixSidebarIconMap, type CatalogixSidebarIconRenderer, type CatalogixSidebarProfile, type CatalogixSwitchApp, CreditWarningBanner, type CreditWarningBannerProps, type DescriptionVisibility, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardForCopilotProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScAppSidebarProps, type IScAppSwitchPanelProps, type IScAppcardLogosProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScAskAgentButtonProps, type IScBadgesProps, type IScBeaconProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCatalogixSidebarProps, type IScCatalogixStoreHeaderProps, type IScCatalogixStoreTableListProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCounterProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScCxoCopilotLogoProps, type IScCxoWordmarkProps, type IScDefaultCardProps, type IScDrawerProps, type IScFieldButtonProps, type IScFileFieldProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScInChatListProps, type IScInChatMessageProps, type IScInfoPopupProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMappingCardProps, type IScMediaApprovalProps, type IScMediaSelectProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScModalProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPaginationProps, type IScPairtextProps, type IScPanelResizeHandleProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanComparisonProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScPopoverArrowProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfilePopupProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSelectOption, type IScSelectProps, type IScSelectionListProps, type IScSelectionPillGroupProps, type IScSelectionPillOption, type IScSelectionPillProps, type IScSelectionProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarPopoverProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSidebarSwitchMenuProps, type IScSliderProps, type IScStoreCardProps, type IScStrLogoProps, type IScStreamoidMascotProps, type IScStreamoidWordmarkProps, type IScSubAgentProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTabsProps, type IScTaxonomyPillProps, type IScTextAreaProps, type IScTextFieldProps, type IScThinkingStepIconProps, type IScTodoItem, type IScTodoListProps, type IScToggleSwitchProps, type IScVDividerProps, type IScValueMappingL1Props, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, type IcListIconState, InvoiceHistoryMobile, NscWorkspaceSwitch, PANEL_RESIZE_STEP_PX, type PanelResizeEdge, type PanelResizeGesture, type PanelWidthBounds, type PlanComparisonRow, type PlanComparisonSection, type PlanFeatureSection, ProductCollapsedMark, ProductWordmark, SIDEBAR_RESIZE_THRESHOLD_PX, STREAMOID_CHANGELOG_URL, STREAMOID_CHANGELOG_URLS, STREAMOID_STATUS_PAGE_URL, ScAccess, ScAppCard, ScAppCardForCopilot, ScAppCardV3, ScAppField, ScAppListingCard, ScAppSidebar, type ScAppSwitchItem, ScAppSwitchPanel, ScAppSwitchRow, type ScAppSwitchSystemItem, type ScAppSwitchUtilities, ScAppcardLogos, ScArtifaxInvite, ScArtifaxSidebar, ScAskAgentButton, ScAskAgentSlot, ScBadges, ScBeacon, type ScBeaconTone, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCatalogixSidebar, ScCatalogixStoreHeader, ScCatalogixStoreTableList, ScCheckField, ScCheckbox, ScCounter, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScCxoCopilotLogo, ScCxoWordmark, ScDefaultCard, ScDp, type ScDpProps, ScDrawer, ScFieldButton, ScFileField, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScInChatList, ScInChatMessage, ScInfoPopup, ScIntialProfileCover, ScLogoUnit, ScMappingCard, ScMediaApproval, ScMediaSelect, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScModal, ScOnlyField, ScOnlyIcon, ScPagination, ScPairtext, ScPanelResizeHandle, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanComparison, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScPopoverArrow, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfilePopup, type ScProfilePopupThemeMode, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSelect, ScSelection, ScSelectionList, ScSelectionPill, ScSelectionPillGroup, ScSettingsNav, ScSettingsTabComp, type ScShellThemeMode, ScSideBarLogoUnit, ScSidebar, ScSidebarAppIdentity, type ScSidebarAppIdentityProps, ScSidebarIcons, ScSidebarMenu, ScSidebarPopover, ScSidebarProfile, ScSidebarResizeHandle, type ScSidebarResizeHandleProps, ScSidebarSearchTrigger, type ScSidebarSearchTriggerProps, ScSidebarSwitchMenu, ScSidebarWorkspaceTrigger, type ScSidebarWorkspaceTriggerProps, ScSlider, ScStoreCard, ScStrLogo, ScStreamoidMascot, ScStreamoidWordmark, ScSubAgent, type ScTab, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTabs, ScTaxonomyPill, ScTextArea, ScTextField, ScThinkingStepIcon, ScTodoList, ScToggleSwitch, ScVDivider, ScValueMappingL1, ScVersion, ScWorkspaceAccountMenu, type ScWorkspaceAccountMenuProps, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SelectionListState, type SidebarAppIdentityConfig, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProduct, type SidebarProfileConfig, type SidebarResizeGestureResult, type SidebarResizeGestureState, type SidebarSectionConfig, type StreamoidAnchorRect, type StreamoidAnchoredPopover, type StreamoidAnchoredPopoverArrow, type StreamoidAnchoredPopoverGeometry, type StreamoidAnchoredPopoverPosition, type StreamoidAnchoredPopoverPositionOptions, type StreamoidAppSwitchProduct, type StreamoidPanelWidthOptions, type StreamoidPanelWidthState, StreamoidSidebar, type StreamoidSidebarPopoverPlacement, type StreamoidSidebarPopoverPosition, type StreamoidSidebarPopoverPositionOptions, type StreamoidSidebarPreferenceOptions, type StreamoidSidebarPreferenceState, type StreamoidSidebarProps, type StreamoidThemePreferenceOptions, type StreamoidThemePreferenceState, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem, advanceSidebarResizeGesture, clampPanelWidth, createStreamoidAppSwitchUtilities, formatStreamoidAppVersion, formatSubAgentLabel, hasCollapsedMark, resolveAnchoredPopoverArrow, resolveAnchoredPopoverPosition, resolvePanelResize, resolvePanelResizeKey, scAppSwitchOrder, streamoidAppSwitchTagline, streamoidChangelogUrl, useStreamoidAnchoredPopover, useStreamoidAnchoredPopoverPosition, useStreamoidPanelWidth, useStreamoidSidebarPopoverPosition, useStreamoidSidebarPreference, useStreamoidThemePreference };
|
package/dist/index.d.ts
CHANGED
|
@@ -993,6 +993,55 @@ type StreamoidSidebarPopoverPosition = CSSProperties & {
|
|
|
993
993
|
*/
|
|
994
994
|
declare function useStreamoidSidebarPopoverPosition(sidebarRef: RefObject<HTMLElement | null>, { placement, width, gap, inset, }: StreamoidSidebarPopoverPositionOptions): StreamoidSidebarPopoverPosition;
|
|
995
995
|
|
|
996
|
+
/**
|
|
997
|
+
* The card both rail popovers hang in — the app switcher and the workspace
|
|
998
|
+
* menu.
|
|
999
|
+
*
|
|
1000
|
+
* Every product had been rebuilding this. The pieces were already here (the
|
|
1001
|
+
* anchoring hook, the caret), but the CARD was not, so each app wrote its own
|
|
1002
|
+
* surface, edge, radius, shadow, z-index, portal, backdrop, dismiss handling
|
|
1003
|
+
* and clip box. They then drifted, which is why the two switchers did not look
|
|
1004
|
+
* alike: one drew the panel on `--alias-surface-base`, the other on
|
|
1005
|
+
* `--alias-surface-raised`, with different shadows behind them.
|
|
1006
|
+
*
|
|
1007
|
+
* TWO THINGS THIS EXISTS TO GET RIGHT, both of which were reported as bugs
|
|
1008
|
+
* before they were understood:
|
|
1009
|
+
*
|
|
1010
|
+
* The card must NOT clip its overflow. The caret hangs half outside it by
|
|
1011
|
+
* design, and `overflow: hidden` — the obvious way to keep rounded corners —
|
|
1012
|
+
* cuts the caret off. So the card is rounded and does not clip, and an INNER
|
|
1013
|
+
* box does the clipping. Without that inner box a child painting an opaque
|
|
1014
|
+
* square background covers the rows the border arc curves through, leaving a
|
|
1015
|
+
* hard rule across the top that stops short of both ends and square corners
|
|
1016
|
+
* beyond it: reported as "the edges are squared" AND "there is a black border
|
|
1017
|
+
* at the top", one cause and two symptoms.
|
|
1018
|
+
*
|
|
1019
|
+
* The caret takes the card's own background and border, so it reads as a piece
|
|
1020
|
+
* of the card rather than a shape stuck to it. That is why the surface and
|
|
1021
|
+
* border are values here and not something a caller passes twice.
|
|
1022
|
+
*/
|
|
1023
|
+
interface IScSidebarPopoverProps {
|
|
1024
|
+
/** The control that opened it. The caret points at this. */
|
|
1025
|
+
anchorRef: RefObject<HTMLElement | null>;
|
|
1026
|
+
/** Usually the rail. The card's edge lines up with this element's edge
|
|
1027
|
+
* rather than with the anchor, so both popovers on a rail agree. */
|
|
1028
|
+
alignRef?: RefObject<HTMLElement | null>;
|
|
1029
|
+
/** Panel width in pixels. Required, because the anchoring maths needs it
|
|
1030
|
+
* before the panel has been measured — a popover that sizes itself would
|
|
1031
|
+
* be placed from a width it does not have yet and then jump. 336 matches
|
|
1032
|
+
* `ScSidebarShell_menu`, which pins that width internally. */
|
|
1033
|
+
width: number;
|
|
1034
|
+
onClose: () => void;
|
|
1035
|
+
children: ReactNode;
|
|
1036
|
+
/** `menu` by default; pass `dialog` for something that is not a menu. */
|
|
1037
|
+
role?: string;
|
|
1038
|
+
ariaLabel?: string;
|
|
1039
|
+
testId?: string;
|
|
1040
|
+
className?: string;
|
|
1041
|
+
style?: CSSProperties;
|
|
1042
|
+
}
|
|
1043
|
+
declare function ScSidebarPopover({ anchorRef, alignRef, width, onClose, children, role, ariaLabel, testId, className, style, }: IScSidebarPopoverProps): React$1.ReactPortal | null;
|
|
1044
|
+
|
|
996
1045
|
interface AppSidebarMenuItem {
|
|
997
1046
|
id: string;
|
|
998
1047
|
label: string;
|
|
@@ -1012,6 +1061,22 @@ interface AppSidebarIconContext {
|
|
|
1012
1061
|
}
|
|
1013
1062
|
type AppSidebarIconRenderer = (context: AppSidebarIconContext) => ReactNode;
|
|
1014
1063
|
type AppSidebarIconMap = Record<string, ReactNode | AppSidebarIconRenderer>;
|
|
1064
|
+
interface AppSidebarHeader {
|
|
1065
|
+
workspaceName: string;
|
|
1066
|
+
workspaceImage?: string;
|
|
1067
|
+
/** Drives the trigger's `aria-expanded`. */
|
|
1068
|
+
workspaceMenuOpen?: boolean;
|
|
1069
|
+
onWorkspaceClick?: () => void;
|
|
1070
|
+
/** Anchor for the workspace popover. Two refs, because the expanded and
|
|
1071
|
+
* collapsed rails are different DOM and only one is mounted at a time. */
|
|
1072
|
+
workspaceTriggerExpandedRef?: RefObject<HTMLDivElement | null>;
|
|
1073
|
+
workspaceTriggerCollapsedRef?: RefObject<HTMLDivElement | null>;
|
|
1074
|
+
searchLabel?: string;
|
|
1075
|
+
searchShortcut?: string;
|
|
1076
|
+
onSearchClick?: () => void;
|
|
1077
|
+
/** Omit the search field entirely — a product that has no search yet. */
|
|
1078
|
+
hideSearch?: boolean;
|
|
1079
|
+
}
|
|
1015
1080
|
interface AppSidebarProfile {
|
|
1016
1081
|
name: string;
|
|
1017
1082
|
subtitle?: string;
|
|
@@ -1047,7 +1112,21 @@ interface IScAppSidebarProps {
|
|
|
1047
1112
|
iconMap?: AppSidebarIconMap;
|
|
1048
1113
|
activeItemId?: string;
|
|
1049
1114
|
onItemSelect?: (item: AppSidebarMenuItem, sectionId: string) => void;
|
|
1115
|
+
/**
|
|
1116
|
+
* The rail's top section: the workspace trigger, the search field and the
|
|
1117
|
+
* rule under them.
|
|
1118
|
+
*
|
|
1119
|
+
* Prefer this over building it in `expandedLogo` / `collapsedLogo`. Every
|
|
1120
|
+
* product was composing the same three children with the same gap, and the
|
|
1121
|
+
* copies drifted — one wrapped the trigger in `w-full min-w-0` and the other
|
|
1122
|
+
* did not, and each hand-placed the divider. Passing data instead of JSX
|
|
1123
|
+
* means the top of the rail cannot differ between products.
|
|
1124
|
+
*/
|
|
1125
|
+
header?: AppSidebarHeader;
|
|
1126
|
+
/** @deprecated Pass `header`. Still rendered, and still the slot to use for
|
|
1127
|
+
* anything that is NOT the standard workspace + search pair. */
|
|
1050
1128
|
expandedLogo?: ReactNode;
|
|
1129
|
+
/** @deprecated Pass `header`. */
|
|
1051
1130
|
collapsedLogo?: ReactNode;
|
|
1052
1131
|
creditWarning?: AppSidebarCreditWarning | null;
|
|
1053
1132
|
/** Gradient call-to-action above the profile row (e.g. "Ask CXO"). Omit to
|
|
@@ -1074,9 +1153,9 @@ interface IScAppSidebarProps {
|
|
|
1074
1153
|
className?: string;
|
|
1075
1154
|
style?: CSSProperties;
|
|
1076
1155
|
}
|
|
1077
|
-
declare const ScAppSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
|
|
1156
|
+
declare const ScAppSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, header, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
|
|
1078
1157
|
/** @deprecated Use {@link ScAppSidebar}. */
|
|
1079
|
-
declare const ScArtifaxSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
|
|
1158
|
+
declare const ScArtifaxSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, header, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
|
|
1080
1159
|
/** @deprecated Use {@link AppSidebarMenuItem}. */
|
|
1081
1160
|
type ArtifaxMenuItem = AppSidebarMenuItem;
|
|
1082
1161
|
/** @deprecated Use {@link AppSidebarSection}. */
|
|
@@ -2364,4 +2443,4 @@ interface IScProfilePopupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
2364
2443
|
*/
|
|
2365
2444
|
declare const ScProfilePopup: React$1.ForwardRefExoticComponent<IScProfilePopupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2366
2445
|
|
|
2367
|
-
export { type AppSidebarAppIdentity, type AppSidebarAssistantCta, type AppSidebarCreditWarning, type AppSidebarIconContext, type AppSidebarIconMap, type AppSidebarIconRenderer, type AppSidebarMenuItem, type AppSidebarProfile, type AppSidebarSection, type AppcardProduct, type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarAppIdentity, type ArtifaxSidebarAssistantCta, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, type AssistantCta, type CatalogixNavItem, type CatalogixSidebarCreditWarning, type CatalogixSidebarIconContext, type CatalogixSidebarIconMap, type CatalogixSidebarIconRenderer, type CatalogixSidebarProfile, type CatalogixSwitchApp, CreditWarningBanner, type CreditWarningBannerProps, type DescriptionVisibility, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardForCopilotProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScAppSidebarProps, type IScAppSwitchPanelProps, type IScAppcardLogosProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScAskAgentButtonProps, type IScBadgesProps, type IScBeaconProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCatalogixSidebarProps, type IScCatalogixStoreHeaderProps, type IScCatalogixStoreTableListProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCounterProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScCxoCopilotLogoProps, type IScCxoWordmarkProps, type IScDefaultCardProps, type IScDrawerProps, type IScFieldButtonProps, type IScFileFieldProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScInChatListProps, type IScInChatMessageProps, type IScInfoPopupProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMappingCardProps, type IScMediaApprovalProps, type IScMediaSelectProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScModalProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPaginationProps, type IScPairtextProps, type IScPanelResizeHandleProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanComparisonProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScPopoverArrowProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfilePopupProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSelectOption, type IScSelectProps, type IScSelectionListProps, type IScSelectionPillGroupProps, type IScSelectionPillOption, type IScSelectionPillProps, type IScSelectionProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSidebarSwitchMenuProps, type IScSliderProps, type IScStoreCardProps, type IScStrLogoProps, type IScStreamoidMascotProps, type IScStreamoidWordmarkProps, type IScSubAgentProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTabsProps, type IScTaxonomyPillProps, type IScTextAreaProps, type IScTextFieldProps, type IScThinkingStepIconProps, type IScTodoItem, type IScTodoListProps, type IScToggleSwitchProps, type IScVDividerProps, type IScValueMappingL1Props, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, type IcListIconState, InvoiceHistoryMobile, NscWorkspaceSwitch, PANEL_RESIZE_STEP_PX, type PanelResizeEdge, type PanelResizeGesture, type PanelWidthBounds, type PlanComparisonRow, type PlanComparisonSection, type PlanFeatureSection, ProductCollapsedMark, ProductWordmark, SIDEBAR_RESIZE_THRESHOLD_PX, STREAMOID_CHANGELOG_URL, STREAMOID_CHANGELOG_URLS, STREAMOID_STATUS_PAGE_URL, ScAccess, ScAppCard, ScAppCardForCopilot, ScAppCardV3, ScAppField, ScAppListingCard, ScAppSidebar, type ScAppSwitchItem, ScAppSwitchPanel, ScAppSwitchRow, type ScAppSwitchSystemItem, type ScAppSwitchUtilities, ScAppcardLogos, ScArtifaxInvite, ScArtifaxSidebar, ScAskAgentButton, ScAskAgentSlot, ScBadges, ScBeacon, type ScBeaconTone, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCatalogixSidebar, ScCatalogixStoreHeader, ScCatalogixStoreTableList, ScCheckField, ScCheckbox, ScCounter, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScCxoCopilotLogo, ScCxoWordmark, ScDefaultCard, ScDp, type ScDpProps, ScDrawer, ScFieldButton, ScFileField, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScInChatList, ScInChatMessage, ScInfoPopup, ScIntialProfileCover, ScLogoUnit, ScMappingCard, ScMediaApproval, ScMediaSelect, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScModal, ScOnlyField, ScOnlyIcon, ScPagination, ScPairtext, ScPanelResizeHandle, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanComparison, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScPopoverArrow, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfilePopup, type ScProfilePopupThemeMode, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSelect, ScSelection, ScSelectionList, ScSelectionPill, ScSelectionPillGroup, ScSettingsNav, ScSettingsTabComp, type ScShellThemeMode, ScSideBarLogoUnit, ScSidebar, ScSidebarAppIdentity, type ScSidebarAppIdentityProps, ScSidebarIcons, ScSidebarMenu, ScSidebarProfile, ScSidebarResizeHandle, type ScSidebarResizeHandleProps, ScSidebarSearchTrigger, type ScSidebarSearchTriggerProps, ScSidebarSwitchMenu, ScSidebarWorkspaceTrigger, type ScSidebarWorkspaceTriggerProps, ScSlider, ScStoreCard, ScStrLogo, ScStreamoidMascot, ScStreamoidWordmark, ScSubAgent, type ScTab, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTabs, ScTaxonomyPill, ScTextArea, ScTextField, ScThinkingStepIcon, ScTodoList, ScToggleSwitch, ScVDivider, ScValueMappingL1, ScVersion, ScWorkspaceAccountMenu, type ScWorkspaceAccountMenuProps, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SelectionListState, type SidebarAppIdentityConfig, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProduct, type SidebarProfileConfig, type SidebarResizeGestureResult, type SidebarResizeGestureState, type SidebarSectionConfig, type StreamoidAnchorRect, type StreamoidAnchoredPopover, type StreamoidAnchoredPopoverArrow, type StreamoidAnchoredPopoverGeometry, type StreamoidAnchoredPopoverPosition, type StreamoidAnchoredPopoverPositionOptions, type StreamoidAppSwitchProduct, type StreamoidPanelWidthOptions, type StreamoidPanelWidthState, StreamoidSidebar, type StreamoidSidebarPopoverPlacement, type StreamoidSidebarPopoverPosition, type StreamoidSidebarPopoverPositionOptions, type StreamoidSidebarPreferenceOptions, type StreamoidSidebarPreferenceState, type StreamoidSidebarProps, type StreamoidThemePreferenceOptions, type StreamoidThemePreferenceState, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem, advanceSidebarResizeGesture, clampPanelWidth, createStreamoidAppSwitchUtilities, formatStreamoidAppVersion, formatSubAgentLabel, hasCollapsedMark, resolveAnchoredPopoverArrow, resolveAnchoredPopoverPosition, resolvePanelResize, resolvePanelResizeKey, scAppSwitchOrder, streamoidAppSwitchTagline, streamoidChangelogUrl, useStreamoidAnchoredPopover, useStreamoidAnchoredPopoverPosition, useStreamoidPanelWidth, useStreamoidSidebarPopoverPosition, useStreamoidSidebarPreference, useStreamoidThemePreference };
|
|
2446
|
+
export { type AppSidebarAppIdentity, type AppSidebarAssistantCta, type AppSidebarCreditWarning, type AppSidebarHeader, type AppSidebarIconContext, type AppSidebarIconMap, type AppSidebarIconRenderer, type AppSidebarMenuItem, type AppSidebarProfile, type AppSidebarSection, type AppcardProduct, type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarAppIdentity, type ArtifaxSidebarAssistantCta, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, type AssistantCta, type CatalogixNavItem, type CatalogixSidebarCreditWarning, type CatalogixSidebarIconContext, type CatalogixSidebarIconMap, type CatalogixSidebarIconRenderer, type CatalogixSidebarProfile, type CatalogixSwitchApp, CreditWarningBanner, type CreditWarningBannerProps, type DescriptionVisibility, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardForCopilotProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScAppSidebarProps, type IScAppSwitchPanelProps, type IScAppcardLogosProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScAskAgentButtonProps, type IScBadgesProps, type IScBeaconProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCatalogixSidebarProps, type IScCatalogixStoreHeaderProps, type IScCatalogixStoreTableListProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCounterProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScCxoCopilotLogoProps, type IScCxoWordmarkProps, type IScDefaultCardProps, type IScDrawerProps, type IScFieldButtonProps, type IScFileFieldProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScInChatListProps, type IScInChatMessageProps, type IScInfoPopupProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMappingCardProps, type IScMediaApprovalProps, type IScMediaSelectProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScModalProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPaginationProps, type IScPairtextProps, type IScPanelResizeHandleProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanComparisonProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScPopoverArrowProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfilePopupProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSelectOption, type IScSelectProps, type IScSelectionListProps, type IScSelectionPillGroupProps, type IScSelectionPillOption, type IScSelectionPillProps, type IScSelectionProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarPopoverProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSidebarSwitchMenuProps, type IScSliderProps, type IScStoreCardProps, type IScStrLogoProps, type IScStreamoidMascotProps, type IScStreamoidWordmarkProps, type IScSubAgentProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTabsProps, type IScTaxonomyPillProps, type IScTextAreaProps, type IScTextFieldProps, type IScThinkingStepIconProps, type IScTodoItem, type IScTodoListProps, type IScToggleSwitchProps, type IScVDividerProps, type IScValueMappingL1Props, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, type IcListIconState, InvoiceHistoryMobile, NscWorkspaceSwitch, PANEL_RESIZE_STEP_PX, type PanelResizeEdge, type PanelResizeGesture, type PanelWidthBounds, type PlanComparisonRow, type PlanComparisonSection, type PlanFeatureSection, ProductCollapsedMark, ProductWordmark, SIDEBAR_RESIZE_THRESHOLD_PX, STREAMOID_CHANGELOG_URL, STREAMOID_CHANGELOG_URLS, STREAMOID_STATUS_PAGE_URL, ScAccess, ScAppCard, ScAppCardForCopilot, ScAppCardV3, ScAppField, ScAppListingCard, ScAppSidebar, type ScAppSwitchItem, ScAppSwitchPanel, ScAppSwitchRow, type ScAppSwitchSystemItem, type ScAppSwitchUtilities, ScAppcardLogos, ScArtifaxInvite, ScArtifaxSidebar, ScAskAgentButton, ScAskAgentSlot, ScBadges, ScBeacon, type ScBeaconTone, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCatalogixSidebar, ScCatalogixStoreHeader, ScCatalogixStoreTableList, ScCheckField, ScCheckbox, ScCounter, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScCxoCopilotLogo, ScCxoWordmark, ScDefaultCard, ScDp, type ScDpProps, ScDrawer, ScFieldButton, ScFileField, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScInChatList, ScInChatMessage, ScInfoPopup, ScIntialProfileCover, ScLogoUnit, ScMappingCard, ScMediaApproval, ScMediaSelect, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScModal, ScOnlyField, ScOnlyIcon, ScPagination, ScPairtext, ScPanelResizeHandle, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanComparison, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScPopoverArrow, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfilePopup, type ScProfilePopupThemeMode, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSelect, ScSelection, ScSelectionList, ScSelectionPill, ScSelectionPillGroup, ScSettingsNav, ScSettingsTabComp, type ScShellThemeMode, ScSideBarLogoUnit, ScSidebar, ScSidebarAppIdentity, type ScSidebarAppIdentityProps, ScSidebarIcons, ScSidebarMenu, ScSidebarPopover, ScSidebarProfile, ScSidebarResizeHandle, type ScSidebarResizeHandleProps, ScSidebarSearchTrigger, type ScSidebarSearchTriggerProps, ScSidebarSwitchMenu, ScSidebarWorkspaceTrigger, type ScSidebarWorkspaceTriggerProps, ScSlider, ScStoreCard, ScStrLogo, ScStreamoidMascot, ScStreamoidWordmark, ScSubAgent, type ScTab, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTabs, ScTaxonomyPill, ScTextArea, ScTextField, ScThinkingStepIcon, ScTodoList, ScToggleSwitch, ScVDivider, ScValueMappingL1, ScVersion, ScWorkspaceAccountMenu, type ScWorkspaceAccountMenuProps, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SelectionListState, type SidebarAppIdentityConfig, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProduct, type SidebarProfileConfig, type SidebarResizeGestureResult, type SidebarResizeGestureState, type SidebarSectionConfig, type StreamoidAnchorRect, type StreamoidAnchoredPopover, type StreamoidAnchoredPopoverArrow, type StreamoidAnchoredPopoverGeometry, type StreamoidAnchoredPopoverPosition, type StreamoidAnchoredPopoverPositionOptions, type StreamoidAppSwitchProduct, type StreamoidPanelWidthOptions, type StreamoidPanelWidthState, StreamoidSidebar, type StreamoidSidebarPopoverPlacement, type StreamoidSidebarPopoverPosition, type StreamoidSidebarPopoverPositionOptions, type StreamoidSidebarPreferenceOptions, type StreamoidSidebarPreferenceState, type StreamoidSidebarProps, type StreamoidThemePreferenceOptions, type StreamoidThemePreferenceState, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem, advanceSidebarResizeGesture, clampPanelWidth, createStreamoidAppSwitchUtilities, formatStreamoidAppVersion, formatSubAgentLabel, hasCollapsedMark, resolveAnchoredPopoverArrow, resolveAnchoredPopoverPosition, resolvePanelResize, resolvePanelResizeKey, scAppSwitchOrder, streamoidAppSwitchTagline, streamoidChangelogUrl, useStreamoidAnchoredPopover, useStreamoidAnchoredPopoverPosition, useStreamoidPanelWidth, useStreamoidSidebarPopoverPosition, useStreamoidSidebarPreference, useStreamoidThemePreference };
|