@uniformdev/design-system 19.165.2-alpha.0 → 19.166.1

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/esm/index.js CHANGED
@@ -7,7 +7,7 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
7
7
  /* @__PURE__ */ jsx2(
8
8
  "link",
9
9
  {
10
- href: "https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Quantico:wght@700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap",
10
+ href: "https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap",
11
11
  rel: "stylesheet"
12
12
  }
13
13
  ),
@@ -151,7 +151,7 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
151
151
  /* font family */
152
152
  --ff-base: 'DM Sans', sans-serif;
153
153
  --ff-heading: 'Quantico', sans-serif;
154
- --ff-mono: 'Space Mono', monospace;
154
+ --ff-mono: 'DM Mono', monospace;
155
155
 
156
156
  /* max text width */
157
157
  --prose: 65ch;
@@ -177,6 +177,7 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
177
177
  --rounded-sm: 0.125rem; /* 2px */
178
178
  --rounded-base: 0.25rem; /* 4px */
179
179
  --rounded-md: 0.375rem; /* 6px */
180
+ --rounded-lg: 0.5rem; /* 8px */
180
181
 
181
182
  /* anything below here should be removed as its not in our style guide */
182
183
  --rounded-xl: 0.75rem;
@@ -12182,15 +12183,18 @@ import { CgChevronDown as CgChevronDown3 } from "@react-icons/all-files/cg/CgChe
12182
12183
  import { css as css24 } from "@emotion/react";
12183
12184
  import { CgChevronDown } from "@react-icons/all-files/cg/CgChevronDown";
12184
12185
  import { jsx as jsx25, jsxs as jsxs13 } from "@emotion/react/jsx-runtime";
12185
- var buttonStyle = css24`
12186
+ var buttonStyle = (bgColor) => css24`
12186
12187
  border: 0;
12187
- background-color: white;
12188
+ background-color: ${bgColor};
12188
12189
  display: block;
12189
12190
  font-size: var(--fs-sm);
12190
12191
  line-height: 1.5;
12192
+ transition: background-color var(--duration-fast) var(--timing-ease-out),
12193
+ outline var(--duration-fast) var(--timing-ease-out);
12194
+ outline: 1px solid transparent;
12191
12195
 
12192
12196
  &:hover {
12193
- outline: 1px solid var(--gray-300);
12197
+ outline-color: var(--gray-300);
12194
12198
  background-color: var(--gray-100);
12195
12199
  }
12196
12200
 
@@ -12198,8 +12202,12 @@ var buttonStyle = css24`
12198
12202
  color: var(--gray-400);
12199
12203
  }
12200
12204
  `;
12201
- function DropdownStyleMenuTrigger({ children, ...buttonProps }) {
12202
- return /* @__PURE__ */ jsx25("button", { ...buttonProps, css: buttonStyle, type: "button", children: /* @__PURE__ */ jsxs13(HorizontalRhythm, { align: "center", gap: "xs", children: [
12205
+ function DropdownStyleMenuTrigger({
12206
+ bgColor = "var(--white)",
12207
+ children,
12208
+ ...buttonProps
12209
+ }) {
12210
+ return /* @__PURE__ */ jsx25("button", { ...buttonProps, css: buttonStyle(bgColor), type: "button", children: /* @__PURE__ */ jsxs13(HorizontalRhythm, { align: "center", gap: "xs", children: [
12203
12211
  /* @__PURE__ */ jsx25("div", { children }),
12204
12212
  /* @__PURE__ */ jsx25(CgChevronDown, { size: "1rem" })
12205
12213
  ] }) });
@@ -12427,19 +12435,14 @@ var Menu = React7.forwardRef(function Menu2({
12427
12435
  "data-testid": testId != null ? testId : "more-menu",
12428
12436
  hideOnHoverOutside: (event) => {
12429
12437
  var _a;
12430
- if (!menu.parent)
12431
- return false;
12438
+ if (!menu.parent) return false;
12432
12439
  const { contentElement, anchorElement } = menu.getState();
12433
12440
  const [target] = event.composedPath();
12434
- if (!target)
12435
- return false;
12441
+ if (!target) return false;
12436
12442
  const activeElement = (_a = target.ownerDocument) == null ? void 0 : _a.activeElement;
12437
- if (anchorElement == null ? void 0 : anchorElement.contains(target))
12438
- return false;
12439
- if (contentElement == null ? void 0 : contentElement.contains(target))
12440
- return false;
12441
- if (activeElement && target.contains(activeElement))
12442
- return false;
12443
+ if (anchorElement == null ? void 0 : anchorElement.contains(target)) return false;
12444
+ if (contentElement == null ? void 0 : contentElement.contains(target)) return false;
12445
+ if (activeElement && target.contains(activeElement)) return false;
12443
12446
  return true;
12444
12447
  },
12445
12448
  children: disableAutoSeparatorManagement ? children : filterMenuSeparators(children)
@@ -13260,8 +13263,7 @@ var InputInlineSelect = ({
13260
13263
  "aria-expanded": menuVisible,
13261
13264
  css: inlineSelectBtn,
13262
13265
  onClick: () => {
13263
- if (!disabled2)
13264
- setMenuVisible((prev) => !prev);
13266
+ if (!disabled2) setMenuVisible((prev) => !prev);
13265
13267
  },
13266
13268
  disabled: disabled2,
13267
13269
  ...props,
@@ -14865,6 +14867,7 @@ var ChipMultiline = css48`
14865
14867
  padding-inline: var(--spacing-sm);
14866
14868
  `;
14867
14869
  var ChipThemeAccentLight = css48`
14870
+ --outline-color: var(--accent-light);
14868
14871
  background: var(--accent-light);
14869
14872
  color: var(--typography-base);
14870
14873
 
@@ -14890,6 +14893,7 @@ var ChipThemeAccentLight = css48`
14890
14893
  }
14891
14894
  `;
14892
14895
  var ChipThemeAccentDark = css48`
14896
+ --outline-color: var(--accent-dark);
14893
14897
  background: var(--accent-dark);
14894
14898
  color: var(--white);
14895
14899
 
@@ -14911,6 +14915,7 @@ var ChipThemeAccentDark = css48`
14911
14915
  }
14912
14916
  `;
14913
14917
  var ChipAltThemeAccentLight = css48`
14918
+ --outline-color: var(--accent-alt-light);
14914
14919
  background: var(--accent-alt-light);
14915
14920
  color: var(--typography-base);
14916
14921
 
@@ -14936,6 +14941,7 @@ var ChipAltThemeAccentLight = css48`
14936
14941
  }
14937
14942
  `;
14938
14943
  var ChipAltThemeAccentDark = css48`
14944
+ --outline-color: var(--accent-alt-dark);
14939
14945
  background: var(--accent-alt-dark);
14940
14946
  color: var(--white);
14941
14947
 
@@ -14957,6 +14963,7 @@ var ChipAltThemeAccentDark = css48`
14957
14963
  }
14958
14964
  `;
14959
14965
  var ChipThemeNeutralLight = css48`
14966
+ --outline-color: var(--gray-300);
14960
14967
  background: var(--gray-100);
14961
14968
  color: var(--typography-base);
14962
14969
  :where([role='button']) {
@@ -14967,6 +14974,7 @@ var ChipThemeNeutralLight = css48`
14967
14974
  }
14968
14975
  `;
14969
14976
  var ChipThemeNeutralDark = css48`
14977
+ --outline-color: var(--gray-700);
14970
14978
  background: var(--gray-700);
14971
14979
  color: var(--white);
14972
14980
  :where([role='button']) {
@@ -14986,6 +14994,15 @@ var ChipActionButton = css48`
14986
14994
  border-radius: 0 var(--rounded-full) var(--rounded-full) 0;
14987
14995
  padding: 0;
14988
14996
  `;
14997
+ var ChipOutlined = css48`
14998
+ background: var(--white);
14999
+ color: var(--typography-light);
15000
+ box-shadow: inset 0 0 0 1px var(--outline-color);
15001
+
15002
+ > [role='separator'] {
15003
+ border-color: var(--outline-color);
15004
+ }
15005
+ `;
14989
15006
 
14990
15007
  // src/components/Chip/Chip.tsx
14991
15008
  import { Fragment as Fragment9, jsx as jsx61, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
@@ -15002,6 +15019,7 @@ var Chip = ({
15002
15019
  text,
15003
15020
  size = "sm",
15004
15021
  theme = "accent-light",
15022
+ variant = "solid",
15005
15023
  chipAction,
15006
15024
  as = "span",
15007
15025
  ...props
@@ -15012,14 +15030,26 @@ var Chip = ({
15012
15030
  md: ChipMedium
15013
15031
  };
15014
15032
  const ElementType = as;
15015
- return /* @__PURE__ */ jsxs38(ElementType, { css: [ChipContainer, chipSize[size], chipTheme[theme]], ...props, children: [
15016
- icon ? /* @__PURE__ */ jsxs38(Fragment9, { children: [
15017
- /* @__PURE__ */ jsx61("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ jsx61(Icon, { icon, iconColor: "currentColor", size: "1rem" }) }),
15018
- /* @__PURE__ */ jsx61("span", { role: "separator", css: ChipSeparator })
15019
- ] }) : null,
15020
- /* @__PURE__ */ jsx61("span", { css: ChipText, children: text }),
15021
- chipAction
15022
- ] });
15033
+ return /* @__PURE__ */ jsxs38(
15034
+ ElementType,
15035
+ {
15036
+ css: [
15037
+ ChipContainer,
15038
+ chipSize[size],
15039
+ chipTheme[theme],
15040
+ variant === "outlined" ? ChipOutlined : void 0
15041
+ ],
15042
+ ...props,
15043
+ children: [
15044
+ icon ? /* @__PURE__ */ jsxs38(Fragment9, { children: [
15045
+ /* @__PURE__ */ jsx61("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ jsx61(Icon, { icon, iconColor: "currentColor", size: "1rem" }) }),
15046
+ /* @__PURE__ */ jsx61("span", { role: "separator", css: ChipSeparator })
15047
+ ] }) : null,
15048
+ /* @__PURE__ */ jsx61("span", { css: ChipText, children: text }),
15049
+ chipAction
15050
+ ]
15051
+ }
15052
+ );
15023
15053
  };
15024
15054
  var DismissibleChipAction = ({ onDismiss, ...props }) => {
15025
15055
  return /* @__PURE__ */ jsx61(
@@ -17726,6 +17756,7 @@ import {
17726
17756
  Popover as AriakitPopover,
17727
17757
  PopoverDisclosure as PopoverDisclosure2,
17728
17758
  PopoverProvider,
17759
+ usePopoverContext,
17729
17760
  usePopoverStore
17730
17761
  } from "@ariakit/react";
17731
17762
  import { useEffect as useEffect12 } from "react";
@@ -17764,6 +17795,10 @@ var Popover3 = ({
17764
17795
  /* @__PURE__ */ jsx97(AriakitPopover, { unmountOnHide: true, css: Popover, ...otherProps, "aria-label": ariaLabel, children })
17765
17796
  ] });
17766
17797
  };
17798
+ var usePopoverComponentContext = () => {
17799
+ const contextValue = usePopoverContext();
17800
+ return contextValue;
17801
+ };
17767
17802
 
17768
17803
  // src/components/MediaCard/MediaCard.styles.ts
17769
17804
  import { css as css76 } from "@emotion/react";
@@ -19862,8 +19897,7 @@ var getElementNodesInSelection = (selection) => {
19862
19897
  };
19863
19898
  var getAncestor = (node, predicate) => {
19864
19899
  let parent = node;
19865
- while (parent !== null && (parent = parent.getParent()) !== null && !predicate(parent))
19866
- ;
19900
+ while (parent !== null && (parent = parent.getParent()) !== null && !predicate(parent)) ;
19867
19901
  return parent;
19868
19902
  };
19869
19903
  var getSelectedNode = (selection) => {
@@ -21966,8 +22000,7 @@ var Tabs = ({
21966
22000
  ...props
21967
22001
  }) => {
21968
22002
  const selected = useMemo7(() => {
21969
- if (selectedId)
21970
- return selectedId;
22003
+ if (selectedId) return selectedId;
21971
22004
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
21972
22005
  }, [selectedId, useHashForState]);
21973
22006
  const tab = useAriakitTabStore({ ...props, selectOnMove: !manual, selectedId: selected });
@@ -22371,6 +22404,7 @@ export {
22371
22404
  useIconContext,
22372
22405
  useOutsideClick,
22373
22406
  useParameterShell,
22407
+ usePopoverComponentContext,
22374
22408
  useShortcut,
22375
22409
  functionalColors as utilityColors,
22376
22410
  warningIcon,
package/dist/index.d.mts CHANGED
@@ -21353,6 +21353,10 @@ type ChipProps = {
21353
21353
  theme?: ChipTheme;
21354
21354
  chipAction?: React.ReactNode;
21355
21355
  size?: ChipSizeProp;
21356
+ /** sets whether to use outlined chip variant
21357
+ * @default 'solid'
21358
+ */
21359
+ variant?: 'solid' | 'outlined';
21356
21360
  /**
21357
21361
  * The HTML element to render
21358
21362
  * @default 'span'
@@ -21366,7 +21370,7 @@ type ChipProps = {
21366
21370
  * To represent a different object, as a reference
21367
21371
  * @example <Chip text="productId" theme="accent-light" chipAction={<DismissibleChipAction onDismiss={() => {...}}/>} />
21368
21372
  */
21369
- declare const Chip: ({ icon, text, size, theme, chipAction, as, ...props }: ChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21373
+ declare const Chip: ({ icon, text, size, theme, variant, chipAction, as, ...props }: ChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21370
21374
  type DismissibleChipActionProps = {
21371
21375
  onDismiss: () => void;
21372
21376
  } & HTMLAttributes<HTMLButtonElement>;
@@ -22546,9 +22550,11 @@ declare const LoadingIcon: ({ height, width, ...props }: LoadingIconProps) => _e
22546
22550
 
22547
22551
  interface DropdownStyleMenuTriggerProps extends React.HTMLAttributes<HTMLButtonElement> {
22548
22552
  children: React.ReactNode;
22553
+ /** sets the background color of the button */
22554
+ bgColor?: string;
22549
22555
  }
22550
22556
  /** Renders a dropdown menu style menu trigger button */
22551
- declare function DropdownStyleMenuTrigger({ children, ...buttonProps }: DropdownStyleMenuTriggerProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22557
+ declare function DropdownStyleMenuTrigger({ bgColor, children, ...buttonProps }: DropdownStyleMenuTriggerProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22552
22558
 
22553
22559
  declare const legacyPlacements: readonly ["auto", "auto-start", "auto-end"];
22554
22560
  type LegacyPlacement = (typeof legacyPlacements)[number];
@@ -23310,6 +23316,13 @@ type PopoverProps = PopoverProps$1 & {
23310
23316
  }) => void;
23311
23317
  };
23312
23318
  declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, testId, trigger, children, baseId, onInit, ...otherProps }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23319
+ /**
23320
+ * Hook to get the current popover context
23321
+ * @description This hook is used to get the current popover context
23322
+ * useful for closing the popover with a nested button or interative element
23323
+ * @example const currentPopoverContext = usePopoverComponentContext();
23324
+ */
23325
+ declare const usePopoverComponentContext: () => PopoverStore | undefined;
23313
23326
 
23314
23327
  interface ProgressBarProps extends React$1.HTMLAttributes<HTMLDivElement> {
23315
23328
  current: number;
@@ -23677,8 +23690,6 @@ type ToastContainerProps = {
23677
23690
  /**
23678
23691
  * A component to render toasts in your app. This component is supposed to be used just once in your app. Typically inside _app.tsx
23679
23692
  * @example <App><ToastContainer autoCloseDelay="normal" /></App>
23680
- *
23681
- * @deprecated This component is in beta, and might receive breaking changes in minor releases!
23682
23693
  */
23683
23694
  declare const ToastContainer: ({ limit, autoCloseDelay }: ToastContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23684
23695
 
@@ -23826,4 +23837,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
23826
23837
  };
23827
23838
  declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23828
23839
 
23829
- export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, BetaDecorator, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, type ComboBoxSelectableGroup, type ComboBoxSelectableItem, type ComboBoxSelectableOption, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, type ConvertComboBoxGroupsToSelectableGroupsOptions, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, DateTimePickerSummary, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, DropdownStyleMenuTrigger, type DropdownStyleMenuTriggerProps, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, FieldMessage, type FieldMessageProps, Fieldset, type FieldsetProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputCreatableComboBox, type InputCreatableComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuButton, type MenuButtonProp, MenuGroup, type MenuGroupProps, MenuItem, MenuItemEmptyIcon, MenuItemIcon, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, MenuThreeDots, type MenuThreeDotsProps, Modal, ModalDialog, type ModalDialogProps, type ModalProps, MultilineChip, type MultilineChipProps, ObjectGridContainer, type ObjectGridContainerProps, ObjectGridItem, ObjectGridItemCardCover, type ObjectGridItemCardCoverProps, ObjectGridItemCover, ObjectGridItemCoverButton, type ObjectGridItemCoverButtonProps, type ObjectGridItemCoverProps, ObjectGridItemHeading, ObjectGridItemIconWithTooltip, type ObjectGridItemIconWithTooltipProps, type ObjectGridItemProps, type ObjectGridItemTitleProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterMultiSelect, ParameterMultiSelectInner, type ParameterMultiSelectOption, type ParameterMultiSelectProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchableMenu, type SearchableMenuProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectableMenuItem, type SelectableMenuItemProps, type SerializedLinkNode, ShortcutContext, type ShortcutReference, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, type UseShortcutResult, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, convertComboBoxGroupsToSelectableGroups, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getComboBoxSelectedSelectableGroups, getDrawerAttributes, getFormattedShortcut, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spin, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, uniformComponentIcon, uniformComponentPatternIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, useShortcut, functionalColors as utilityColors, warningIcon, yesNoIcon };
23840
+ export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, BetaDecorator, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, type ComboBoxSelectableGroup, type ComboBoxSelectableItem, type ComboBoxSelectableOption, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, type ConvertComboBoxGroupsToSelectableGroupsOptions, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, DateTimePickerSummary, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, DropdownStyleMenuTrigger, type DropdownStyleMenuTriggerProps, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, FieldMessage, type FieldMessageProps, Fieldset, type FieldsetProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputCreatableComboBox, type InputCreatableComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuButton, type MenuButtonProp, MenuGroup, type MenuGroupProps, MenuItem, MenuItemEmptyIcon, MenuItemIcon, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, MenuThreeDots, type MenuThreeDotsProps, Modal, ModalDialog, type ModalDialogProps, type ModalProps, MultilineChip, type MultilineChipProps, ObjectGridContainer, type ObjectGridContainerProps, ObjectGridItem, ObjectGridItemCardCover, type ObjectGridItemCardCoverProps, ObjectGridItemCover, ObjectGridItemCoverButton, type ObjectGridItemCoverButtonProps, type ObjectGridItemCoverProps, ObjectGridItemHeading, ObjectGridItemIconWithTooltip, type ObjectGridItemIconWithTooltipProps, type ObjectGridItemProps, type ObjectGridItemTitleProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterMultiSelect, ParameterMultiSelectInner, type ParameterMultiSelectOption, type ParameterMultiSelectProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchableMenu, type SearchableMenuProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectableMenuItem, type SelectableMenuItemProps, type SerializedLinkNode, ShortcutContext, type ShortcutReference, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, type UseShortcutResult, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, convertComboBoxGroupsToSelectableGroups, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getComboBoxSelectedSelectableGroups, getDrawerAttributes, getFormattedShortcut, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spin, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, uniformComponentIcon, uniformComponentPatternIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, usePopoverComponentContext, useShortcut, functionalColors as utilityColors, warningIcon, yesNoIcon };
package/dist/index.d.ts CHANGED
@@ -21353,6 +21353,10 @@ type ChipProps = {
21353
21353
  theme?: ChipTheme;
21354
21354
  chipAction?: React.ReactNode;
21355
21355
  size?: ChipSizeProp;
21356
+ /** sets whether to use outlined chip variant
21357
+ * @default 'solid'
21358
+ */
21359
+ variant?: 'solid' | 'outlined';
21356
21360
  /**
21357
21361
  * The HTML element to render
21358
21362
  * @default 'span'
@@ -21366,7 +21370,7 @@ type ChipProps = {
21366
21370
  * To represent a different object, as a reference
21367
21371
  * @example <Chip text="productId" theme="accent-light" chipAction={<DismissibleChipAction onDismiss={() => {...}}/>} />
21368
21372
  */
21369
- declare const Chip: ({ icon, text, size, theme, chipAction, as, ...props }: ChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21373
+ declare const Chip: ({ icon, text, size, theme, variant, chipAction, as, ...props }: ChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21370
21374
  type DismissibleChipActionProps = {
21371
21375
  onDismiss: () => void;
21372
21376
  } & HTMLAttributes<HTMLButtonElement>;
@@ -22546,9 +22550,11 @@ declare const LoadingIcon: ({ height, width, ...props }: LoadingIconProps) => _e
22546
22550
 
22547
22551
  interface DropdownStyleMenuTriggerProps extends React.HTMLAttributes<HTMLButtonElement> {
22548
22552
  children: React.ReactNode;
22553
+ /** sets the background color of the button */
22554
+ bgColor?: string;
22549
22555
  }
22550
22556
  /** Renders a dropdown menu style menu trigger button */
22551
- declare function DropdownStyleMenuTrigger({ children, ...buttonProps }: DropdownStyleMenuTriggerProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22557
+ declare function DropdownStyleMenuTrigger({ bgColor, children, ...buttonProps }: DropdownStyleMenuTriggerProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22552
22558
 
22553
22559
  declare const legacyPlacements: readonly ["auto", "auto-start", "auto-end"];
22554
22560
  type LegacyPlacement = (typeof legacyPlacements)[number];
@@ -23310,6 +23316,13 @@ type PopoverProps = PopoverProps$1 & {
23310
23316
  }) => void;
23311
23317
  };
23312
23318
  declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, testId, trigger, children, baseId, onInit, ...otherProps }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23319
+ /**
23320
+ * Hook to get the current popover context
23321
+ * @description This hook is used to get the current popover context
23322
+ * useful for closing the popover with a nested button or interative element
23323
+ * @example const currentPopoverContext = usePopoverComponentContext();
23324
+ */
23325
+ declare const usePopoverComponentContext: () => PopoverStore | undefined;
23313
23326
 
23314
23327
  interface ProgressBarProps extends React$1.HTMLAttributes<HTMLDivElement> {
23315
23328
  current: number;
@@ -23677,8 +23690,6 @@ type ToastContainerProps = {
23677
23690
  /**
23678
23691
  * A component to render toasts in your app. This component is supposed to be used just once in your app. Typically inside _app.tsx
23679
23692
  * @example <App><ToastContainer autoCloseDelay="normal" /></App>
23680
- *
23681
- * @deprecated This component is in beta, and might receive breaking changes in minor releases!
23682
23693
  */
23683
23694
  declare const ToastContainer: ({ limit, autoCloseDelay }: ToastContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23684
23695
 
@@ -23826,4 +23837,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
23826
23837
  };
23827
23838
  declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23828
23839
 
23829
- export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, BetaDecorator, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, type ComboBoxSelectableGroup, type ComboBoxSelectableItem, type ComboBoxSelectableOption, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, type ConvertComboBoxGroupsToSelectableGroupsOptions, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, DateTimePickerSummary, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, DropdownStyleMenuTrigger, type DropdownStyleMenuTriggerProps, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, FieldMessage, type FieldMessageProps, Fieldset, type FieldsetProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputCreatableComboBox, type InputCreatableComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuButton, type MenuButtonProp, MenuGroup, type MenuGroupProps, MenuItem, MenuItemEmptyIcon, MenuItemIcon, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, MenuThreeDots, type MenuThreeDotsProps, Modal, ModalDialog, type ModalDialogProps, type ModalProps, MultilineChip, type MultilineChipProps, ObjectGridContainer, type ObjectGridContainerProps, ObjectGridItem, ObjectGridItemCardCover, type ObjectGridItemCardCoverProps, ObjectGridItemCover, ObjectGridItemCoverButton, type ObjectGridItemCoverButtonProps, type ObjectGridItemCoverProps, ObjectGridItemHeading, ObjectGridItemIconWithTooltip, type ObjectGridItemIconWithTooltipProps, type ObjectGridItemProps, type ObjectGridItemTitleProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterMultiSelect, ParameterMultiSelectInner, type ParameterMultiSelectOption, type ParameterMultiSelectProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchableMenu, type SearchableMenuProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectableMenuItem, type SelectableMenuItemProps, type SerializedLinkNode, ShortcutContext, type ShortcutReference, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, type UseShortcutResult, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, convertComboBoxGroupsToSelectableGroups, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getComboBoxSelectedSelectableGroups, getDrawerAttributes, getFormattedShortcut, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spin, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, uniformComponentIcon, uniformComponentPatternIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, useShortcut, functionalColors as utilityColors, warningIcon, yesNoIcon };
23840
+ export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, BetaDecorator, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, type ComboBoxSelectableGroup, type ComboBoxSelectableItem, type ComboBoxSelectableOption, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, type ConvertComboBoxGroupsToSelectableGroupsOptions, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, DateTimePickerSummary, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, DropdownStyleMenuTrigger, type DropdownStyleMenuTriggerProps, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, FieldMessage, type FieldMessageProps, Fieldset, type FieldsetProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputCreatableComboBox, type InputCreatableComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuButton, type MenuButtonProp, MenuGroup, type MenuGroupProps, MenuItem, MenuItemEmptyIcon, MenuItemIcon, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, MenuThreeDots, type MenuThreeDotsProps, Modal, ModalDialog, type ModalDialogProps, type ModalProps, MultilineChip, type MultilineChipProps, ObjectGridContainer, type ObjectGridContainerProps, ObjectGridItem, ObjectGridItemCardCover, type ObjectGridItemCardCoverProps, ObjectGridItemCover, ObjectGridItemCoverButton, type ObjectGridItemCoverButtonProps, type ObjectGridItemCoverProps, ObjectGridItemHeading, ObjectGridItemIconWithTooltip, type ObjectGridItemIconWithTooltipProps, type ObjectGridItemProps, type ObjectGridItemTitleProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterMultiSelect, ParameterMultiSelectInner, type ParameterMultiSelectOption, type ParameterMultiSelectProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchableMenu, type SearchableMenuProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectableMenuItem, type SelectableMenuItemProps, type SerializedLinkNode, ShortcutContext, type ShortcutReference, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, type UseShortcutResult, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, convertComboBoxGroupsToSelectableGroups, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getComboBoxSelectedSelectableGroups, getDrawerAttributes, getFormattedShortcut, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spin, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, uniformComponentIcon, uniformComponentPatternIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, usePopoverComponentContext, useShortcut, functionalColors as utilityColors, warningIcon, yesNoIcon };
package/dist/index.js CHANGED
@@ -1599,6 +1599,7 @@ __export(src_exports, {
1599
1599
  useIconContext: () => useIconContext,
1600
1600
  useOutsideClick: () => useOutsideClick,
1601
1601
  useParameterShell: () => useParameterShell,
1602
+ usePopoverComponentContext: () => usePopoverComponentContext,
1602
1603
  useShortcut: () => useShortcut,
1603
1604
  utilityColors: () => functionalColors,
1604
1605
  warningIcon: () => warningIcon,
@@ -1615,7 +1616,7 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
1615
1616
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1616
1617
  "link",
1617
1618
  {
1618
- href: "https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Quantico:wght@700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap",
1619
+ href: "https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap",
1619
1620
  rel: "stylesheet"
1620
1621
  }
1621
1622
  ),
@@ -1759,7 +1760,7 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
1759
1760
  /* font family */
1760
1761
  --ff-base: 'DM Sans', sans-serif;
1761
1762
  --ff-heading: 'Quantico', sans-serif;
1762
- --ff-mono: 'Space Mono', monospace;
1763
+ --ff-mono: 'DM Mono', monospace;
1763
1764
 
1764
1765
  /* max text width */
1765
1766
  --prose: 65ch;
@@ -1785,6 +1786,7 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
1785
1786
  --rounded-sm: 0.125rem; /* 2px */
1786
1787
  --rounded-base: 0.25rem; /* 4px */
1787
1788
  --rounded-md: 0.375rem; /* 6px */
1789
+ --rounded-lg: 0.5rem; /* 8px */
1788
1790
 
1789
1791
  /* anything below here should be removed as its not in our style guide */
1790
1792
  --rounded-xl: 0.75rem;
@@ -13867,15 +13869,18 @@ init_emotion_jsx_shim();
13867
13869
  var import_react32 = require("@emotion/react");
13868
13870
  var import_CgChevronDown2 = require("@react-icons/all-files/cg/CgChevronDown");
13869
13871
  var import_jsx_runtime25 = require("@emotion/react/jsx-runtime");
13870
- var buttonStyle = import_react32.css`
13872
+ var buttonStyle = (bgColor) => import_react32.css`
13871
13873
  border: 0;
13872
- background-color: white;
13874
+ background-color: ${bgColor};
13873
13875
  display: block;
13874
13876
  font-size: var(--fs-sm);
13875
13877
  line-height: 1.5;
13878
+ transition: background-color var(--duration-fast) var(--timing-ease-out),
13879
+ outline var(--duration-fast) var(--timing-ease-out);
13880
+ outline: 1px solid transparent;
13876
13881
 
13877
13882
  &:hover {
13878
- outline: 1px solid var(--gray-300);
13883
+ outline-color: var(--gray-300);
13879
13884
  background-color: var(--gray-100);
13880
13885
  }
13881
13886
 
@@ -13883,8 +13888,12 @@ var buttonStyle = import_react32.css`
13883
13888
  color: var(--gray-400);
13884
13889
  }
13885
13890
  `;
13886
- function DropdownStyleMenuTrigger({ children, ...buttonProps }) {
13887
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("button", { ...buttonProps, css: buttonStyle, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(HorizontalRhythm, { align: "center", gap: "xs", children: [
13891
+ function DropdownStyleMenuTrigger({
13892
+ bgColor = "var(--white)",
13893
+ children,
13894
+ ...buttonProps
13895
+ }) {
13896
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("button", { ...buttonProps, css: buttonStyle(bgColor), type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(HorizontalRhythm, { align: "center", gap: "xs", children: [
13888
13897
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { children }),
13889
13898
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_CgChevronDown2.CgChevronDown, { size: "1rem" })
13890
13899
  ] }) });
@@ -14118,19 +14127,14 @@ var Menu = React7.forwardRef(function Menu2({
14118
14127
  "data-testid": testId != null ? testId : "more-menu",
14119
14128
  hideOnHoverOutside: (event) => {
14120
14129
  var _a;
14121
- if (!menu.parent)
14122
- return false;
14130
+ if (!menu.parent) return false;
14123
14131
  const { contentElement, anchorElement } = menu.getState();
14124
14132
  const [target] = event.composedPath();
14125
- if (!target)
14126
- return false;
14133
+ if (!target) return false;
14127
14134
  const activeElement = (_a = target.ownerDocument) == null ? void 0 : _a.activeElement;
14128
- if (anchorElement == null ? void 0 : anchorElement.contains(target))
14129
- return false;
14130
- if (contentElement == null ? void 0 : contentElement.contains(target))
14131
- return false;
14132
- if (activeElement && target.contains(activeElement))
14133
- return false;
14135
+ if (anchorElement == null ? void 0 : anchorElement.contains(target)) return false;
14136
+ if (contentElement == null ? void 0 : contentElement.contains(target)) return false;
14137
+ if (activeElement && target.contains(activeElement)) return false;
14134
14138
  return true;
14135
14139
  },
14136
14140
  children: disableAutoSeparatorManagement ? children : filterMenuSeparators(children)
@@ -14977,8 +14981,7 @@ var InputInlineSelect = ({
14977
14981
  "aria-expanded": menuVisible,
14978
14982
  css: inlineSelectBtn,
14979
14983
  onClick: () => {
14980
- if (!disabled2)
14981
- setMenuVisible((prev) => !prev);
14984
+ if (!disabled2) setMenuVisible((prev) => !prev);
14982
14985
  },
14983
14986
  disabled: disabled2,
14984
14987
  ...props,
@@ -16611,6 +16614,7 @@ var ChipMultiline = import_react69.css`
16611
16614
  padding-inline: var(--spacing-sm);
16612
16615
  `;
16613
16616
  var ChipThemeAccentLight = import_react69.css`
16617
+ --outline-color: var(--accent-light);
16614
16618
  background: var(--accent-light);
16615
16619
  color: var(--typography-base);
16616
16620
 
@@ -16636,6 +16640,7 @@ var ChipThemeAccentLight = import_react69.css`
16636
16640
  }
16637
16641
  `;
16638
16642
  var ChipThemeAccentDark = import_react69.css`
16643
+ --outline-color: var(--accent-dark);
16639
16644
  background: var(--accent-dark);
16640
16645
  color: var(--white);
16641
16646
 
@@ -16657,6 +16662,7 @@ var ChipThemeAccentDark = import_react69.css`
16657
16662
  }
16658
16663
  `;
16659
16664
  var ChipAltThemeAccentLight = import_react69.css`
16665
+ --outline-color: var(--accent-alt-light);
16660
16666
  background: var(--accent-alt-light);
16661
16667
  color: var(--typography-base);
16662
16668
 
@@ -16682,6 +16688,7 @@ var ChipAltThemeAccentLight = import_react69.css`
16682
16688
  }
16683
16689
  `;
16684
16690
  var ChipAltThemeAccentDark = import_react69.css`
16691
+ --outline-color: var(--accent-alt-dark);
16685
16692
  background: var(--accent-alt-dark);
16686
16693
  color: var(--white);
16687
16694
 
@@ -16703,6 +16710,7 @@ var ChipAltThemeAccentDark = import_react69.css`
16703
16710
  }
16704
16711
  `;
16705
16712
  var ChipThemeNeutralLight = import_react69.css`
16713
+ --outline-color: var(--gray-300);
16706
16714
  background: var(--gray-100);
16707
16715
  color: var(--typography-base);
16708
16716
  :where([role='button']) {
@@ -16713,6 +16721,7 @@ var ChipThemeNeutralLight = import_react69.css`
16713
16721
  }
16714
16722
  `;
16715
16723
  var ChipThemeNeutralDark = import_react69.css`
16724
+ --outline-color: var(--gray-700);
16716
16725
  background: var(--gray-700);
16717
16726
  color: var(--white);
16718
16727
  :where([role='button']) {
@@ -16732,6 +16741,15 @@ var ChipActionButton = import_react69.css`
16732
16741
  border-radius: 0 var(--rounded-full) var(--rounded-full) 0;
16733
16742
  padding: 0;
16734
16743
  `;
16744
+ var ChipOutlined = import_react69.css`
16745
+ background: var(--white);
16746
+ color: var(--typography-light);
16747
+ box-shadow: inset 0 0 0 1px var(--outline-color);
16748
+
16749
+ > [role='separator'] {
16750
+ border-color: var(--outline-color);
16751
+ }
16752
+ `;
16735
16753
 
16736
16754
  // src/components/Chip/Chip.tsx
16737
16755
  var import_jsx_runtime61 = require("@emotion/react/jsx-runtime");
@@ -16748,6 +16766,7 @@ var Chip = ({
16748
16766
  text,
16749
16767
  size = "sm",
16750
16768
  theme = "accent-light",
16769
+ variant = "solid",
16751
16770
  chipAction,
16752
16771
  as = "span",
16753
16772
  ...props
@@ -16758,14 +16777,26 @@ var Chip = ({
16758
16777
  md: ChipMedium
16759
16778
  };
16760
16779
  const ElementType = as;
16761
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(ElementType, { css: [ChipContainer, chipSize[size], chipTheme[theme]], ...props, children: [
16762
- icon ? /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx_runtime61.Fragment, { children: [
16763
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon, { icon, iconColor: "currentColor", size: "1rem" }) }),
16764
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { role: "separator", css: ChipSeparator })
16765
- ] }) : null,
16766
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { css: ChipText, children: text }),
16767
- chipAction
16768
- ] });
16780
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
16781
+ ElementType,
16782
+ {
16783
+ css: [
16784
+ ChipContainer,
16785
+ chipSize[size],
16786
+ chipTheme[theme],
16787
+ variant === "outlined" ? ChipOutlined : void 0
16788
+ ],
16789
+ ...props,
16790
+ children: [
16791
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx_runtime61.Fragment, { children: [
16792
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon, { icon, iconColor: "currentColor", size: "1rem" }) }),
16793
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { role: "separator", css: ChipSeparator })
16794
+ ] }) : null,
16795
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { css: ChipText, children: text }),
16796
+ chipAction
16797
+ ]
16798
+ }
16799
+ );
16769
16800
  };
16770
16801
  var DismissibleChipAction = ({ onDismiss, ...props }) => {
16771
16802
  return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
@@ -19600,6 +19631,10 @@ var Popover3 = ({
19600
19631
  /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react108.Popover, { unmountOnHide: true, css: Popover, ...otherProps, "aria-label": ariaLabel, children })
19601
19632
  ] });
19602
19633
  };
19634
+ var usePopoverComponentContext = () => {
19635
+ const contextValue = (0, import_react108.usePopoverContext)();
19636
+ return contextValue;
19637
+ };
19603
19638
 
19604
19639
  // src/components/MediaCard/MediaCard.styles.ts
19605
19640
  init_emotion_jsx_shim();
@@ -21734,8 +21769,7 @@ var getElementNodesInSelection = (selection) => {
21734
21769
  };
21735
21770
  var getAncestor = (node, predicate) => {
21736
21771
  let parent = node;
21737
- while (parent !== null && (parent = parent.getParent()) !== null && !predicate(parent))
21738
- ;
21772
+ while (parent !== null && (parent = parent.getParent()) !== null && !predicate(parent)) ;
21739
21773
  return parent;
21740
21774
  };
21741
21775
  var getSelectedNode = (selection) => {
@@ -23836,8 +23870,7 @@ var Tabs = ({
23836
23870
  ...props
23837
23871
  }) => {
23838
23872
  const selected = (0, import_react159.useMemo)(() => {
23839
- if (selectedId)
23840
- return selectedId;
23873
+ if (selectedId) return selectedId;
23841
23874
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
23842
23875
  }, [selectedId, useHashForState]);
23843
23876
  const tab = (0, import_react158.useTabStore)({ ...props, selectOnMove: !manual, selectedId: selected });
@@ -24246,6 +24279,7 @@ var StatusBullet = ({
24246
24279
  useIconContext,
24247
24280
  useOutsideClick,
24248
24281
  useParameterShell,
24282
+ usePopoverComponentContext,
24249
24283
  useShortcut,
24250
24284
  utilityColors,
24251
24285
  warningIcon,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "19.165.2-alpha.0+323887559d",
3
+ "version": "19.166.1",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -24,15 +24,15 @@
24
24
  "@storybook/react": "8.0.10",
25
25
  "@types/react": "18.2.40",
26
26
  "@types/react-dom": "18.2.17",
27
- "@uniformdev/canvas": "^19.165.2-alpha.0+323887559d",
28
- "@uniformdev/richtext": "^19.165.2-alpha.0+323887559d",
27
+ "@uniformdev/canvas": "^19.166.1",
28
+ "@uniformdev/richtext": "^19.166.1",
29
29
  "autoprefixer": "10.4.16",
30
30
  "hygen": "6.2.11",
31
31
  "postcss": "8.4.38",
32
32
  "react": "18.2.0",
33
33
  "react-dom": "18.2.0",
34
34
  "react-select-event": "^5.5.1",
35
- "tsup": "8.0.2"
35
+ "tsup": "8.1.0"
36
36
  },
37
37
  "dependencies": {
38
38
  "@ariakit/react": "^0.3.5",
@@ -54,11 +54,11 @@
54
54
  "lottie-react": "^2.3.1",
55
55
  "monaco-editor": "0.45.0",
56
56
  "react-aria-components": "^1.1.1",
57
- "react-hotkeys-hook": "4.4.1",
57
+ "react-hotkeys-hook": "4.5.0",
58
58
  "react-paginate": "8.2.0",
59
59
  "react-select": "5.8.0",
60
60
  "react-toastify": "10.0.5",
61
- "react-use": "17.4.2",
61
+ "react-use": "17.5.0",
62
62
  "reakit": "1.3.11",
63
63
  "zod-to-json-schema": "3.21.4"
64
64
  },
@@ -72,5 +72,5 @@
72
72
  "publishConfig": {
73
73
  "access": "public"
74
74
  },
75
- "gitHead": "323887559d1bdc7432f91d305afaec90b98f660f"
75
+ "gitHead": "d6a92d76bb91fa41a51cf27a69d81e0cc985f80f"
76
76
  }