twenty-ui 2.41.0 → 2.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +48 -23
- package/dist/{AllIcons-CFPS3m2F.cjs → AllIcons-D_4JeQkX.cjs} +1 -1
- package/dist/{AllIcons-UzofKGsA.js → AllIcons-Z8o0B2fy.js} +260 -260
- package/dist/Avatar-BSHgTxt-.js +67 -0
- package/dist/Avatar-DTNH6Ku7.cjs +1 -0
- package/dist/Heading-CQqDjovJ.cjs +1 -0
- package/dist/Heading-DvxTKEaL.js +16 -0
- package/dist/HorizontalSeparator-JwV0dB5W.js +44 -0
- package/dist/HorizontalSeparator-vJLHHlc4.cjs +1 -0
- package/dist/Input-CFXY05bj.cjs +1 -0
- package/dist/Input-DHfmRBq5.js +116 -0
- package/dist/ListItem-2dHkY1NB.cjs +1 -0
- package/dist/ListItem-D6DvFIbl.js +109 -0
- package/dist/ListItem.module-CveFbY4M.cjs +1 -0
- package/dist/ListItem.module-DtIGiTDL.js +38 -0
- package/dist/Loader-X1LymYkw.js +14 -0
- package/dist/Loader-Z6_7AA-x.cjs +1 -0
- package/dist/MenuSeparator-DJOspG7J.cjs +1 -0
- package/dist/MenuSeparator-dNx4JE6C.js +66 -0
- package/dist/OverflowingTextWithTooltip-CqEkoH6t.js +179 -0
- package/dist/OverflowingTextWithTooltip-bn6EwWeq.cjs +1 -0
- package/dist/Pill-BJ3K8Mdc.cjs +1 -0
- package/dist/Pill-DaFEFIOT.js +9 -0
- package/dist/ProgressBar-DwJQXHwg.cjs +1 -0
- package/dist/ProgressBar-RWLNIkzm.js +55 -0
- package/dist/ResizeHandle-DN1bRxQb.js +89 -0
- package/dist/ResizeHandle-cll01qBQ.cjs +1 -0
- package/dist/TabsTabContent-BseLV1Wk.cjs +1 -0
- package/dist/TabsTabContent-_NCTxoP6.js +40 -0
- package/dist/components/code-editor/CodeEditor/CodeEditor.d.ts +2 -0
- package/dist/components/code-editor/CodeEditor/__stories__/waitForCodeEditorContent.d.ts +1 -0
- package/dist/{primitives/input/CodeEditor/CodeEditor.d.ts → components/code-editor/CodeEditor/types/CodeEditorProps.d.ts} +2 -2
- package/dist/{primitives/input → components/code-editor}/CodeEditor/utils/getBaseCodeEditorTheme.d.ts +1 -1
- package/dist/components/code-editor/CodeEditorHeader/CodeEditorHeader.d.ts +2 -0
- package/dist/components/code-editor/CodeEditorHeader/types/CodeEditorHeaderProps.d.ts +5 -0
- package/dist/components/code-editor/index.d.ts +6 -0
- package/dist/components/code-editor.cjs +1 -0
- package/dist/components/code-editor.mjs +231 -0
- package/dist/components/data-display/AvatarGroup/AvatarGroup.d.ts +2 -0
- package/dist/{primitives/data-display/AvatarGroup/AvatarGroup.d.ts → components/data-display/AvatarGroup/types/AvatarGroupProps.d.ts} +3 -1
- package/dist/components/data-display/JsonTree/JsonTree.d.ts +2 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree/internal}/JsonNestedNode.d.ts +1 -1
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree}/internal/JsonNodeLabel.d.ts +1 -1
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree}/internal/JsonNodeValue.d.ts +1 -1
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree/internal}/JsonTreeContextProvider.d.ts +1 -1
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree/internal}/JsonValueNode.d.ts +1 -1
- package/dist/components/data-display/JsonTree/internal/contexts/JsonTreeContext.d.ts +2 -0
- package/dist/{primitives/json-visualizer → components/data-display/JsonTree/internal}/hooks/useJsonTreeContextOrThrow.d.ts +1 -1
- package/dist/{primitives/json-visualizer/contexts/JsonTreeContext.d.ts → components/data-display/JsonTree/internal/types/JsonTreeContextType.d.ts} +2 -6
- package/dist/{primitives/json-visualizer → components/data-display/JsonTree/internal}/utils/isTwoFirstDepths.d.ts +1 -1
- package/dist/{primitives/json-visualizer → components/data-display/JsonTree}/types/JsonNodeHighlighting.d.ts +1 -1
- package/dist/components/data-display/JsonTree/types/JsonTreeEntry.d.ts +6 -0
- package/dist/components/data-display/JsonTree/types/JsonTreeProps.d.ts +12 -0
- package/dist/components/data-display/JsonTree/types/ShouldExpandNodeInitiallyProps.d.ts +4 -0
- package/dist/components/data-display/TintedIconTile/TintedIconTile.d.ts +2 -0
- package/dist/components/data-display/TintedIconTile/types/TintedIconTileProps.d.ts +7 -0
- package/dist/components/feedback/Callout/Callout.d.ts +2 -0
- package/dist/components/feedback/Callout/types/CalloutProps.d.ts +15 -0
- package/dist/components/feedback/Callout/types/CalloutVariant.d.ts +1 -0
- package/dist/components/feedback/Info/Info.d.ts +2 -0
- package/dist/components/feedback/Info/types/InfoAccent.d.ts +1 -0
- package/dist/{primitives/feedback/Info/Info.d.ts → components/feedback/Info/types/InfoProps.d.ts} +4 -3
- package/dist/{primitives → components}/feedback/InlineBanner/InlineBanner.d.ts +1 -1
- package/dist/components/feedback/Toast/hooks/useToast.d.ts +7 -0
- package/dist/components/index.d.ts +96 -3
- package/dist/components/input/CardPicker/types/CardPickerProps.d.ts +2 -0
- package/dist/components/input/ColorSchemePicker/ColorSchemePicker.d.ts +2 -0
- package/dist/{primitives/input → components/input/ColorSchemePicker/internal}/ColorSchemeCard/ColorSchemeCard.d.ts +1 -1
- package/dist/components/input/ColorSchemePicker/types/ColorSchemePickerProps.d.ts +9 -0
- package/dist/components/input/IconButton/IconButton.d.ts +2 -0
- package/dist/components/input/IconButton/types/IconButtonProps.d.ts +14 -0
- package/dist/components/input/IconButton/types/IconButtonSize.d.ts +2 -0
- package/dist/components/{LightButton → input/LightButton}/types/LightButtonProps.d.ts +1 -1
- package/dist/components/input/LightIconButton/LightIconButton.d.ts +2 -0
- package/dist/components/input/LightIconButton/types/LightIconButtonProps.d.ts +4 -0
- package/dist/components/{MainButton → input/MainButton}/MainButton.d.ts +1 -1
- package/dist/components/input/SearchInput/SearchInput.d.ts +2 -0
- package/dist/components/input/SearchInput/types/SearchInputProps.d.ts +14 -0
- package/dist/components/input/SettingsRow/SettingsRow.d.ts +2 -0
- package/dist/components/input/SettingsRow/__stories__/ControlledSettingsRowExample.d.ts +2 -0
- package/dist/components/input/SettingsRow/types/SettingsRowProps.d.ts +6 -0
- package/dist/components/layout/Section/Section.d.ts +4 -0
- package/dist/components/layout/Section/internal/SectionHeader.d.ts +2 -0
- package/dist/components/layout/Section/internal/SectionRoot.d.ts +2 -0
- package/dist/components/layout/Section/types/SectionHeaderProps.d.ts +9 -0
- package/dist/components/layout/Section/types/SectionRootProps.d.ts +6 -0
- package/dist/components/navigation/Dropdown/Dropdown.d.ts +21 -0
- package/dist/components/navigation/Dropdown/__stories__/DropdownNestedExample.d.ts +1 -0
- package/dist/components/navigation/Dropdown/__stories__/DropdownPagesExample.d.ts +1 -0
- package/dist/components/navigation/Dropdown/__stories__/DropdownPanelExample.d.ts +1 -0
- package/dist/components/navigation/Dropdown/__stories__/DropdownPickerExample.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/DropdownActionItem.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownBack.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownClose.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownContent.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownContext.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownContextValue.d.ts +37 -0
- package/dist/components/navigation/Dropdown/internal/DropdownEmpty.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownFocusTarget.d.ts +6 -0
- package/dist/components/navigation/Dropdown/internal/DropdownHeader.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownLoading.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownNestedRootEffect.d.ts +6 -0
- package/dist/components/navigation/Dropdown/internal/DropdownOptionItem.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownPage.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownPageFocusEffect.d.ts +6 -0
- package/dist/components/navigation/Dropdown/internal/DropdownPageFocusRequest.d.ts +5 -0
- package/dist/components/navigation/Dropdown/internal/DropdownRoot.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSearch.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSearchTargetEffect.d.ts +5 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSection.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSeparator.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSubmenu.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSubmenuTrigger.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownTitle.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownTrigger.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownFocusTarget.d.ts +8 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownItemLabel.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownItems.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownSearchTarget.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownTrigger.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/getNextDropdownItem.d.ts +7 -0
- package/dist/components/navigation/Dropdown/internal/isUnhandledModifierShortcut.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/preventDismissingClickActivation.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/useDropdownContext.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/useDropdownItemFocus.d.ts +7 -0
- package/dist/components/navigation/Dropdown/internal/useDropdownKeyboardNavigation.d.ts +7 -0
- package/dist/components/navigation/Dropdown/types/DropdownActionItemProps.d.ts +10 -0
- package/dist/components/navigation/Dropdown/types/DropdownCloseProps.d.ts +4 -0
- package/dist/components/navigation/Dropdown/types/DropdownContentProps.d.ts +5 -0
- package/dist/components/navigation/Dropdown/types/DropdownHeaderProps.d.ts +2 -0
- package/dist/components/navigation/Dropdown/types/DropdownOptionItemProps.d.ts +7 -0
- package/dist/components/navigation/Dropdown/types/DropdownPageProps.d.ts +7 -0
- package/dist/components/navigation/Dropdown/types/DropdownRootProps.d.ts +11 -0
- package/dist/components/navigation/Dropdown/types/DropdownSearchProps.d.ts +4 -0
- package/dist/components/navigation/Dropdown/types/DropdownSectionProps.d.ts +5 -0
- package/dist/components/navigation/Dropdown/types/DropdownSubmenuProps.d.ts +2 -0
- package/dist/components/navigation/Dropdown/types/DropdownSubmenuTriggerProps.d.ts +6 -0
- package/dist/components/navigation/Dropdown/types/DropdownTitleProps.d.ts +2 -0
- package/dist/components/navigation/Dropdown/types/DropdownTriggerProps.d.ts +2 -0
- package/dist/components/navigation/Dropdown/types/DropdownType.d.ts +1 -0
- package/dist/components/navigation/MenuItem/MenuItem.d.ts +2 -0
- package/dist/components/navigation/MenuItem/constants/DefaultColorLabels.d.ts +2 -0
- package/dist/{primitives/navigation/MenuItem/constants/DefaultColorLabels.d.ts → components/navigation/MenuItem/types/ColorLabels.d.ts} +0 -1
- package/dist/components/navigation/MenuItem/types/MenuItemProps.d.ts +32 -0
- package/dist/components/navigation/MenuItemAvatar/MenuItemAvatar.d.ts +2 -0
- package/dist/{primitives/navigation/MenuItemAvatar/MenuItemAvatar.d.ts → components/navigation/MenuItemAvatar/types/MenuItemAvatarProps.d.ts} +3 -5
- package/dist/components/navigation/MenuItemDraggable/MenuItemDraggable.d.ts +2 -0
- package/dist/components/navigation/MenuItemDraggable/types/MenuItemDraggableProps.d.ts +19 -0
- package/dist/components/navigation/MenuItemSuggestion/MenuItemSuggestion.d.ts +2 -0
- package/dist/{primitives/navigation/MenuItemSuggestion/MenuItemSuggestion.d.ts → components/navigation/MenuItemSuggestion/types/MenuItemSuggestionProps.d.ts} +1 -2
- package/dist/components/navigation/MenuPicker/MenuPicker.d.ts +2 -0
- package/dist/components/navigation/MenuPicker/types/MenuPickerProps.d.ts +15 -0
- package/dist/{primitives/navigation → components/navigation/NavigationBar/internal}/NavigationBarItem/NavigationBarItem.d.ts +1 -1
- package/dist/components/navigation/TabButton/TabButton.d.ts +2 -0
- package/dist/components/navigation/TabButton/types/TabButtonProps.d.ts +5 -0
- package/dist/components-BYWo2sUE.cjs +1 -0
- package/dist/components-C96xU59U.js +1996 -0
- package/dist/components.cjs +1 -1
- package/dist/components.mjs +44 -3
- package/dist/data-display-BQ9g9oSc.cjs +1 -0
- package/dist/data-display-z9gKjkPS.js +184 -0
- package/dist/feedback-BvpEL2-w.js +25 -0
- package/dist/feedback-CH2UC0Fv.cjs +1 -0
- package/dist/handleClickableElementKeyDown-0XD9MRqa.cjs +1 -0
- package/dist/handleClickableElementKeyDown-CJ_JsX2K.js +11 -0
- package/dist/icon/components/IconBrandTypesafeAi.d.ts +4 -0
- package/dist/icon/components/TablerIcons.d.ts +1 -1
- package/dist/icon/constants/TwentyIconDictionary.d.ts +9 -0
- package/dist/icon/index.d.ts +2 -1
- package/dist/{icon-DqzYzlBl.js → icon-Bd81r48z.js} +968 -487
- package/dist/icon-iD9IXJmn.cjs +1 -0
- package/dist/icon.cjs +1 -1
- package/dist/icon.mjs +499 -498
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +642 -739
- package/dist/individual-entry.d.ts +0 -1
- package/dist/input-C8IiOA9Q.js +335 -0
- package/dist/input-NBD4DP8j.cjs +1 -0
- package/dist/isDefined-DS2Q42p5.cjs +1 -0
- package/dist/isDefined-fMi6eQ4r.js +5 -0
- package/dist/layout-BgAfeZsL.cjs +1 -0
- package/dist/layout-D-XbKoLM.js +30 -0
- package/dist/linkifyText-BHQ4_CzQ.cjs +1 -0
- package/dist/linkifyText-BINRNP9w.js +45 -0
- package/dist/navigation-BqZBteC2.cjs +1 -0
- package/dist/navigation-CLMgaqS8.js +91 -0
- package/dist/primitives/accessibility/index.d.ts +0 -1
- package/dist/primitives/accessibility.cjs +1 -1
- package/dist/primitives/accessibility.mjs +2 -4
- package/dist/primitives/data-display/Chip/types/ChipProps.d.ts +2 -2
- package/dist/primitives/data-display/index.d.ts +0 -23
- package/dist/primitives/data-display.cjs +1 -1
- package/dist/primitives/data-display.mjs +10 -25
- package/dist/primitives/feedback/index.d.ts +0 -25
- package/dist/primitives/feedback.cjs +1 -1
- package/dist/primitives/feedback.mjs +7 -27
- package/dist/primitives/index.d.ts +0 -1
- package/dist/primitives/input/Button/Button.d.ts +1 -1
- package/dist/primitives/input/Button/types/ButtonProps.d.ts +1 -1
- package/dist/primitives/input/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/primitives/input/ButtonGroup/types/ButtonGroupProps.d.ts +4 -1
- package/dist/primitives/input/SegmentedControl/SegmentedControl.d.ts +2 -29
- package/dist/primitives/input/SegmentedControl/types/SegmentedControlOption.d.ts +13 -0
- package/dist/primitives/input/SegmentedControl/types/SegmentedControlProps.d.ts +10 -0
- package/dist/primitives/input/index.d.ts +2 -50
- package/dist/primitives/input.cjs +1 -1
- package/dist/primitives/input.mjs +15 -43
- package/dist/primitives/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.d.ts +3 -1
- package/dist/primitives/layout/ResizeHandle/ResizeHandle.d.ts +2 -9
- package/dist/primitives/layout/ResizeHandle/__stories__/ControlledResizeHandle.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/__stories__/ResizableDemo.d.ts +3 -0
- package/dist/primitives/layout/ResizeHandle/__stories__/withMockPointerCapture.d.ts +4 -0
- package/dist/primitives/layout/ResizeHandle/internal/ResizeHandleDefaults.constant.d.ts +6 -0
- package/dist/primitives/layout/ResizeHandle/internal/useResizeHandleInteraction.d.ts +19 -0
- package/dist/primitives/layout/ResizeHandle/types/ResizeHandleProps.d.ts +11 -0
- package/dist/primitives/layout/index.d.ts +1 -9
- package/dist/primitives/layout.cjs +1 -1
- package/dist/primitives/layout.mjs +6 -17
- package/dist/primitives/navigation/ListItem/ListItem.d.ts +1 -1
- package/dist/primitives/navigation/ListItem/__stories__/ListItemPickerExample.d.ts +6 -0
- package/dist/primitives/navigation/ListItem/types/ListItemProps.d.ts +1 -0
- package/dist/primitives/navigation/Tabs/Tabs.d.ts +1 -1
- package/dist/primitives/navigation/Tabs/internal/TabsTab.d.ts +1 -1
- package/dist/primitives/navigation/Tabs/types/TabsTabProps.d.ts +2 -0
- package/dist/primitives/navigation/index.d.ts +0 -38
- package/dist/primitives/navigation/internal/tab/TabsTabContent.d.ts +4 -0
- package/dist/primitives/navigation.cjs +1 -1
- package/dist/primitives/navigation.mjs +8 -41
- package/dist/primitives/surfaces/Card/Card.d.ts +17 -7
- package/dist/primitives/surfaces/Card/internal/CardRoot.d.ts +8 -0
- package/dist/primitives/surfaces/Dialog/Dialog.d.ts +13 -0
- package/dist/primitives/surfaces/Dialog/__stories__/DialogExample.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/__stories__/DialogExampleProps.d.ts +9 -0
- package/dist/primitives/surfaces/Dialog/__stories__/waitForDialog.d.ts +1 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogBody.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogDescription.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogFooter.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogHeader.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogPopup.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogTitle.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogBodyProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogCloseProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogDescriptionProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogFooterProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogHeaderProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogPopupProps.d.ts +9 -0
- package/dist/primitives/surfaces/Dialog/types/DialogRootProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogSize.d.ts +1 -0
- package/dist/primitives/surfaces/Dialog/types/DialogTitleProps.d.ts +3 -0
- package/dist/primitives/surfaces/Dialog/types/DialogTriggerProps.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/internal/getMenuListItemProps.d.ts +1 -1
- package/dist/primitives/surfaces/Tooltip/Tooltip.d.ts +9 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipComponent.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipContent.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipPopup.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipAlign.d.ts +1 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipContentProps.d.ts +6 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipPopupProps.d.ts +12 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipProps.d.ts +7 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipProviderProps.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipRootProps.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipSide.d.ts +1 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipTriggerProps.d.ts +2 -0
- package/dist/primitives/surfaces/index.d.ts +20 -18
- package/dist/primitives/surfaces.cjs +1 -1
- package/dist/primitives/surfaces.mjs +9 -18
- package/dist/primitives/typography/Heading/Heading.d.ts +2 -0
- package/dist/primitives/typography/Heading/types/HeadingProps.d.ts +6 -0
- package/dist/primitives/{surfaces → typography}/OverflowingTextWithTooltip/OverflowingTextWithTooltip.d.ts +4 -4
- package/dist/primitives/typography/index.d.ts +3 -8
- package/dist/primitives/typography.cjs +1 -1
- package/dist/primitives/typography.mjs +5 -13
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.mjs +63 -199
- package/dist/style.css +1 -1
- package/dist/surfaces-DX8oX1ou.js +254 -0
- package/dist/surfaces-uuLwsFxg.cjs +1 -0
- package/dist/testing/index.d.ts +1 -3
- package/dist/testing/utils/overrideMediaQueryMatches.d.ts +1 -0
- package/dist/testing.cjs +1 -1
- package/dist/testing.mjs +94 -94
- package/dist/theme/ThemeOverrides.d.ts +1 -0
- package/dist/theme/ThemeProvider.d.ts +3 -0
- package/dist/theme/ThemeProviderProps.d.ts +13 -0
- package/dist/{theme-constants → theme}/getNextThemeColor.d.ts +1 -1
- package/dist/theme/index.d.ts +10 -0
- package/dist/theme/internal/ThemeContextType.d.ts +6 -0
- package/dist/theme/internal/computeThemeFromCss.d.ts +2 -0
- package/dist/theme/internal/getThemeContext.d.ts +3 -0
- package/dist/theme/internal/getThemeScopeContext.d.ts +2 -0
- package/dist/theme/internal/resolveExplicitTheme.d.ts +5 -0
- package/dist/{theme-OwFrow8b.js → theme-DBro6iwF.js} +1198 -23
- package/dist/theme-DNG4OSBd.cjs +1 -0
- package/dist/theme.cjs +1 -1
- package/dist/theme.mjs +14 -7
- package/dist/utilities/color/utils/stringToThemeColorP3String.d.ts +1 -2
- package/dist/utilities/index.d.ts +3 -6
- package/dist/utilities/responsive/constants/MobileMediaQuery.d.ts +1 -0
- package/dist/utilities/responsive/constants/TouchDeviceMediaQuery.d.ts +1 -0
- package/dist/utilities/responsive/hooks/useMediaQuery.d.ts +1 -0
- package/dist/utilities/responsive/internal/getMediaQueryStore.d.ts +6 -0
- package/dist/utilities-BlvbRryv.cjs +1 -0
- package/dist/utilities-C5Tt2HLT.js +56 -0
- package/dist/utilities.cjs +1 -1
- package/dist/utilities.mjs +19 -21
- package/package.json +22 -20
- package/dist/Button-DDrUyVB1.cjs +0 -1
- package/dist/Button-u4e3zI-a.js +0 -72
- package/dist/HorizontalSeparator-BWu4LVEU.cjs +0 -1
- package/dist/HorizontalSeparator-p1xF1-ka.js +0 -37
- package/dist/OverflowingTextWithTooltip-C21bgWKF.js +0 -236
- package/dist/OverflowingTextWithTooltip-C2iADYbv.cjs +0 -1
- package/dist/Pill-4lAWCmbk.cjs +0 -1
- package/dist/Pill-abKRH4XK.js +0 -19
- package/dist/TablerIcons-Ctfi8z4q.js +0 -448
- package/dist/accessibility-BEkMTFE2.cjs +0 -1
- package/dist/accessibility-C7H0m2Th.js +0 -16
- package/dist/chunk-u_mIcLyS.cjs +0 -1
- package/dist/components-B0WZ1iBV.js +0 -19
- package/dist/components-BwvstA6U.cjs +0 -1
- package/dist/data-display-ByvqdkPn.js +0 -472
- package/dist/data-display-DH28tg-I.cjs +0 -1
- package/dist/feedback-62S0e8tP.cjs +0 -1
- package/dist/feedback-Cu7U-W9T.js +0 -660
- package/dist/handleClickableElementKeyDown-C8Uz61XJ.js +0 -6
- package/dist/handleClickableElementKeyDown-CByqtBhO.cjs +0 -1
- package/dist/icon-QYavWP3u.cjs +0 -1
- package/dist/input-B1qr987z.cjs +0 -1
- package/dist/input-DOIOurw8.js +0 -1322
- package/dist/json-visualizer-CN76kFy-.cjs +0 -1
- package/dist/json-visualizer-Q7wzKVum.js +0 -241
- package/dist/layout-BN3KI-Wu.cjs +0 -1
- package/dist/layout-LzKpLxiO.js +0 -124
- package/dist/linkifyText-C4_e-MKf.cjs +0 -1
- package/dist/linkifyText-DVk8e0sw.js +0 -40
- package/dist/navigation-BqWHvCpD.cjs +0 -1
- package/dist/navigation-CqKtMuQI.js +0 -724
- package/dist/primitives/accessibility/components/VisibilityHiddenInput.d.ts +0 -1
- package/dist/primitives/data-display/AnimatedCheckmark/AnimatedCheckmark.d.ts +0 -7
- package/dist/primitives/data-display/AvatarOrIcon/AvatarOrIcon.d.ts +0 -2
- package/dist/primitives/data-display/AvatarOrIcon/types/AvatarOrIconProps.d.ts +0 -12
- package/dist/primitives/data-display/Chip/constants/LinkChipClickOutsideId.d.ts +0 -1
- package/dist/primitives/data-display/EllipsisDisplay/EllipsisDisplay.d.ts +0 -7
- package/dist/primitives/data-display/JsonDisplay/JsonDisplay.d.ts +0 -6
- package/dist/primitives/data-display/LinkChip/LinkChip.d.ts +0 -11
- package/dist/primitives/data-display/NumberDisplay/NumberDisplay.d.ts +0 -6
- package/dist/primitives/data-display/SelectDisplay/SelectDisplay.d.ts +0 -10
- package/dist/primitives/data-display/TextDisplay/TextDisplay.d.ts +0 -6
- package/dist/primitives/data-display/TintedIconTile/TintedIconTile.d.ts +0 -8
- package/dist/primitives/feedback/AnimatedPlaceholder/AnimatedPlaceholder.d.ts +0 -7
- package/dist/primitives/feedback/AnimatedPlaceholder/constants/Background.d.ts +0 -19
- package/dist/primitives/feedback/AnimatedPlaceholder/constants/DarkBackground.d.ts +0 -19
- package/dist/primitives/feedback/AnimatedPlaceholder/constants/DarkMovingImage.d.ts +0 -19
- package/dist/primitives/feedback/AnimatedPlaceholder/constants/MovingImage.d.ts +0 -19
- package/dist/primitives/feedback/AnimatedPlaceholder/types/AnimatedPlaceholderType.d.ts +0 -3
- package/dist/primitives/feedback/Callout/Callout.d.ts +0 -15
- package/dist/primitives/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.d.ts +0 -11
- package/dist/primitives/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.d.ts +0 -5
- package/dist/primitives/feedback/SidePanelInformationBanner/SidePanelInformationBanner.d.ts +0 -7
- package/dist/primitives/feedback/Toast/hooks/useToast.d.ts +0 -7
- package/dist/primitives/input/AnimatedButton/AnimatedButton.d.ts +0 -3
- package/dist/primitives/input/AnimatedButton/internal/AnimatedButtonAccent.d.ts +0 -1
- package/dist/primitives/input/AnimatedButton/internal/AnimatedButtonBaseProps.d.ts +0 -30
- package/dist/primitives/input/AnimatedButton/internal/AnimatedButtonPosition.d.ts +0 -1
- package/dist/primitives/input/AnimatedButton/internal/AnimatedButtonVariant.d.ts +0 -1
- package/dist/primitives/input/AnimatedButton/types/AnimatedButtonProps.d.ts +0 -7
- package/dist/primitives/input/AnimatedLightIconButton/AnimatedLightIconButton.d.ts +0 -17
- package/dist/primitives/input/CardPicker/types/CardPickerProps.d.ts +0 -2
- package/dist/primitives/input/CodeEditorHeader/CodeEditorHeader.d.ts +0 -6
- package/dist/primitives/input/ColorPickerButton/ColorPickerButton.d.ts +0 -7
- package/dist/primitives/input/ColorSchemePicker/ColorSchemePicker.d.ts +0 -10
- package/dist/primitives/input/FloatingButton/FloatingButton.d.ts +0 -17
- package/dist/primitives/input/FloatingButtonGroup/FloatingButtonGroup.d.ts +0 -7
- package/dist/primitives/input/FloatingIconButton/FloatingIconButton.d.ts +0 -18
- package/dist/primitives/input/FloatingIconButtonGroup/FloatingIconButtonGroup.d.ts +0 -12
- package/dist/primitives/input/IconButton/IconButton.d.ts +0 -16
- package/dist/primitives/input/IconButton/types/IconButtonAccent.d.ts +0 -1
- package/dist/primitives/input/IconButton/types/IconButtonPosition.d.ts +0 -1
- package/dist/primitives/input/IconButton/types/IconButtonProps.d.ts +0 -21
- package/dist/primitives/input/IconButton/types/IconButtonSize.d.ts +0 -1
- package/dist/primitives/input/IconButton/types/IconButtonVariant.d.ts +0 -1
- package/dist/primitives/input/IconButtonGroup/IconButtonGroup.d.ts +0 -12
- package/dist/primitives/input/IconButtonWithTooltip/IconButtonWithTooltip.d.ts +0 -9
- package/dist/primitives/input/IconListViewGrip/IconListViewGrip.d.ts +0 -4
- package/dist/primitives/input/InputHint/InputHint.d.ts +0 -10
- package/dist/primitives/input/InputLabel/InputLabel.d.ts +0 -10
- package/dist/primitives/input/InsideButton/InsideButton.d.ts +0 -10
- package/dist/primitives/input/LightIconButton/LightIconButton.d.ts +0 -17
- package/dist/primitives/input/LightIconButtonGroup/LightIconButtonGroup.d.ts +0 -17
- package/dist/primitives/input/RoundedIconButton/RoundedIconButton.d.ts +0 -9
- package/dist/primitives/input/SearchInput/SearchInput.d.ts +0 -15
- package/dist/primitives/input/TabButton/TabButton.d.ts +0 -28
- package/dist/primitives/input/TabButton/parts/StyledTabBase.d.ts +0 -15
- package/dist/primitives/input/TabButton/parts/TabContent.d.ts +0 -15
- package/dist/primitives/json-visualizer/components/JsonTree.d.ts +0 -14
- package/dist/primitives/json-visualizer/index.d.ts +0 -14
- package/dist/primitives/json-visualizer.cjs +0 -1
- package/dist/primitives/json-visualizer.mjs +0 -14
- package/dist/primitives/layout/AnimatedCircleLoading/AnimatedCircleLoading.d.ts +0 -3
- package/dist/primitives/layout/AnimatedContainer/AnimatedContainer.d.ts +0 -3
- package/dist/primitives/layout/AnimatedEaseIn/AnimatedEaseIn.d.ts +0 -7
- package/dist/primitives/layout/AnimatedEaseInOut/AnimatedEaseInOut.d.ts +0 -11
- package/dist/primitives/layout/AnimatedRotate/AnimatedRotate.d.ts +0 -9
- package/dist/primitives/layout/AutogrowWrapper/AutogrowWrapper.d.ts +0 -8
- package/dist/primitives/layout/ResizeHandle/hooks/useResizeHandle.d.ts +0 -10
- package/dist/primitives/layout/Section/Section.d.ts +0 -19
- package/dist/primitives/navigation/ContactLink/ContactLink.d.ts +0 -9
- package/dist/primitives/navigation/GithubVersionLink/GithubVersionLink.d.ts +0 -5
- package/dist/primitives/navigation/MenuItem/MenuItem.d.ts +0 -47
- package/dist/primitives/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.d.ts +0 -7
- package/dist/primitives/navigation/MenuItemDraggable/MenuItemDraggable.d.ts +0 -21
- package/dist/primitives/navigation/MenuItemMultiSelect/MenuItemMultiSelect.d.ts +0 -15
- package/dist/primitives/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.d.ts +0 -12
- package/dist/primitives/navigation/MenuItemMultiSelectTag/MenuItemMultiSelectTag.d.ts +0 -13
- package/dist/primitives/navigation/MenuItemNavigate/MenuItemNavigate.d.ts +0 -9
- package/dist/primitives/navigation/MenuItemSelect/MenuItemSelect.d.ts +0 -26
- package/dist/primitives/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.d.ts +0 -14
- package/dist/primitives/navigation/MenuItemSelectColor/MenuItemSelectColor.d.ts +0 -15
- package/dist/primitives/navigation/MenuItemSelectTag/MenuItemSelectTag.d.ts +0 -15
- package/dist/primitives/navigation/MenuItemSwitch/MenuItemSwitch.d.ts +0 -14
- package/dist/primitives/navigation/MenuPicker/MenuPicker.d.ts +0 -17
- package/dist/primitives/navigation/RawLink/RawLink.d.ts +0 -9
- package/dist/primitives/navigation/SocialLink/LinkType.d.ts +0 -9
- package/dist/primitives/navigation/SocialLink/SocialLink.d.ts +0 -10
- package/dist/primitives/navigation/SocialLink/socialLinkProviders.d.ts +0 -10
- package/dist/primitives/navigation/UndecoratedLink/UndecoratedLink.d.ts +0 -10
- package/dist/primitives/surfaces/AppTooltip/AppTooltip.d.ts +0 -34
- package/dist/primitives/surfaces/Modal/Modal.d.ts +0 -2
- package/dist/primitives/surfaces/Modal/types/ModalOverlay.d.ts +0 -1
- package/dist/primitives/surfaces/Modal/types/ModalPadding.d.ts +0 -1
- package/dist/primitives/surfaces/Modal/types/ModalProps.d.ts +0 -26
- package/dist/primitives/surfaces/Modal/types/ModalSize.d.ts +0 -1
- package/dist/primitives/surfaces/ModalBackdrop/ModalBackdrop.d.ts +0 -8
- package/dist/primitives/surfaces/ModalContent/ModalContent.d.ts +0 -9
- package/dist/primitives/surfaces/ModalFooter/ModalFooter.d.ts +0 -7
- package/dist/primitives/surfaces/ModalHeader/ModalHeader.d.ts +0 -8
- package/dist/primitives/typography/H1Title/H1Title.d.ts +0 -13
- package/dist/primitives/typography/H2Title/H2Title.d.ts +0 -8
- package/dist/primitives/typography/H3Title/H3Title.d.ts +0 -8
- package/dist/primitives/typography/SeparatorLineText/SeparatorLineText.d.ts +0 -3
- package/dist/primitives/typography/StyledText/StyledText.d.ts +0 -14
- package/dist/surfaces-B8zw9F5W.js +0 -494
- package/dist/surfaces-ec8RlQ5J.cjs +0 -1
- package/dist/testing/decorators/ComponentWithRouterDecorator.d.ts +0 -9
- package/dist/testing/decorators/RouterDecorator.d.ts +0 -2
- package/dist/theme-YHfZnD2U.cjs +0 -1
- package/dist/theme-constants/ThemeProvider.d.ts +0 -15
- package/dist/theme-constants/ThemeScopeContext.d.ts +0 -1
- package/dist/theme-constants/index.d.ts +0 -10
- package/dist/theme-constants-DETwIS-a.js +0 -1163
- package/dist/theme-constants-Do_FO7Uy.cjs +0 -1
- package/dist/theme-constants.cjs +0 -1
- package/dist/theme-constants.mjs +0 -12
- package/dist/typography-CaY1Dwdi.js +0 -93
- package/dist/typography-Rw7ZDHyn.cjs +0 -1
- package/dist/useResizeHandle-BsV5UEJk.cjs +0 -1
- package/dist/useResizeHandle-CCRiw9Fi.js +0 -37
- package/dist/utilities/navigation/hooks/useMouseDownNavigation.d.ts +0 -15
- package/dist/utilities/navigation/hooks/useResetLocationHash.d.ts +0 -3
- package/dist/utilities/navigation/isNavigationModifierPressed.d.ts +0 -3
- package/dist/utilities/navigation/types/trigger-event.type.d.ts +0 -1
- package/dist/utilities/screen-size/hooks/useScreenSize.d.ts +0 -4
- package/dist/utilities/utils/getDisplayValueByUrlType.d.ts +0 -7
- package/dist/utilities-DmbkuukL.cjs +0 -1
- package/dist/utilities-kvjM4sIB.js +0 -156
- package/dist/{primitives/input → components/code-editor}/CodeEditor/constants/BaseCodeEditorThemeId.d.ts +0 -0
- package/dist/{primitives → components}/data-display/CommandBlock/CommandBlock.d.ts +0 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree/internal}/JsonArrayNode.d.ts +0 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree}/internal/JsonArrow.d.ts +0 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree}/internal/JsonList.d.ts +0 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree}/internal/JsonListItem.d.ts +0 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree/internal}/JsonNode.d.ts +0 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree/internal}/JsonObjectNode.d.ts +0 -0
- package/dist/{primitives/json-visualizer → components/data-display/JsonTree/internal}/utils/isArray.d.ts +0 -0
- package/dist/{primitives/json-visualizer → components/data-display/JsonTree}/types/GetJsonNodeHighlighting.d.ts +0 -0
- package/dist/{primitives → components}/data-display/NotificationCounter/NotificationCounter.d.ts +0 -0
- package/dist/{primitives/data-display → components/data-display/TintedIconTile/internal}/StyledTintedIconTileContainer/StyledTintedIconTileContainer.d.ts +0 -0
- package/dist/{primitives → components}/data-display/TintedIconTile/internal/constants/tintedIconTileColorShades.constant.d.ts +0 -0
- package/dist/{primitives → components}/data-display/TintedIconTile/internal/utils/getColorFromTheme.d.ts +0 -0
- package/dist/{primitives → components}/data-display/TintedIconTile/utils/getIconTileColorShades.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/Toast.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/ToastProvider.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/constants/DefaultToastLimit.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/contexts/ToastContext.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/hooks/useCloseToast.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/hooks/useEnqueueToast.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/hooks/useToastContext.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/hooks/useToastEntries.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/stores/createToastStore.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastEntry.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastNotification.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastOptions.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastProps.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastProviderProps.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastStoreState.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastVariant.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/utils/completeToastExit.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/utils/dismissToasts.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/utils/isToastVisible.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/Toaster.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/__stories__/ToastControls.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/__stories__/ToasterExample.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/__stories__/ToasterExampleProps.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/internal/ToasterItem.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/internal/ToasterItemExitEffect.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/internal/ToasterItems.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/internal/ToasterLifecycleEffect.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/types/ToasterProps.d.ts +0 -0
- package/dist/{primitives → components}/input/CardPicker/CardPicker.d.ts +0 -0
- package/dist/{primitives/data-display → components/input/ColorSchemePicker/internal}/Checkmark/Checkmark.d.ts +0 -0
- package/dist/components/{LightButton → input/LightButton}/LightButton.d.ts +0 -0
- package/dist/{primitives → components}/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.d.ts +0 -0
- package/dist/{primitives → components}/navigation/MenuItem/parts/MenuItemIcon.d.ts +0 -0
- package/dist/{primitives → components}/navigation/MenuItem/parts/MenuItemIconBoxContainer.d.ts +0 -0
- package/dist/{primitives → components}/navigation/MenuItem/parts/MenuItemIconWithGripSwap.d.ts +0 -0
- package/dist/{primitives → components}/navigation/MenuItem/parts/MenuItemLeftContent.d.ts +1 -1
- /package/dist/{primitives → components}/navigation/MenuItem/parts/StyledMenuItemBase.d.ts +0 -0
- /package/dist/{primitives → components}/navigation/MenuItem/types/MenuItemAccent.d.ts +0 -0
- /package/dist/{primitives → components}/navigation/MenuItem/types/MenuItemDraggableGripMode.d.ts +0 -0
- /package/dist/{primitives → components}/navigation/NavigationBar/NavigationBar.d.ts +0 -0
- /package/dist/{primitives → components}/navigation/RoundedLink/RoundedLink.d.ts +0 -0
- /package/dist/primitives/navigation/{MenuItemHotKeys → ListItem/internal/MenuItemHotKeys}/MenuItemHotKeys.d.ts +0 -0
- /package/dist/primitives/surfaces/{CardContent → Card/internal}/CardContent.d.ts +0 -0
- /package/dist/primitives/surfaces/{CardFooter → Card/internal}/CardFooter.d.ts +0 -0
- /package/dist/primitives/surfaces/{CardHeader → Card/internal}/CardHeader.d.ts +0 -0
- /package/dist/primitives/typography/{LinkifiedText → OverflowingTextWithTooltip/internal/LinkifiedText}/LinkifiedText.d.ts +0 -0
- /package/dist/primitives/typography/{Label → internal/Label}/Label.d.ts +0 -0
- /package/dist/{theme-constants/constants.d.ts → theme/constants/MobileViewport.d.ts} +0 -0
- /package/dist/{theme-constants → theme}/themeCssVariables.d.ts +0 -0
- /package/dist/{theme-constants → theme}/themeTypes.d.ts +0 -0
- /package/dist/{theme-constants → theme}/useTheme.d.ts +0 -0
- /package/dist/{theme-constants → theme}/useThemeColorScheme.d.ts +0 -0
- /package/dist/{theme-constants → theme}/useThemeContainer.d.ts +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
type H1TitleProps = {
|
|
3
|
-
title: ReactNode;
|
|
4
|
-
fontColor?: H1TitleFontColor;
|
|
5
|
-
className?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare enum H1TitleFontColor {
|
|
8
|
-
Primary = "primary",
|
|
9
|
-
Secondary = "secondary",
|
|
10
|
-
Tertiary = "tertiary"
|
|
11
|
-
}
|
|
12
|
-
export declare const H1Title: ({ title, fontColor, className, }: H1TitleProps) => import("react").JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
type StyledTextProps = {
|
|
3
|
-
PrefixComponent?: ReactElement;
|
|
4
|
-
text: ReactNode;
|
|
5
|
-
color?: string;
|
|
6
|
-
};
|
|
7
|
-
type StyledTextContentProps = React.ComponentPropsWithoutRef<'div'>;
|
|
8
|
-
export declare const StyledTextContent: ({ className, ...divProps }: StyledTextContentProps) => import("react").JSX.Element;
|
|
9
|
-
type StyledTextWrapperProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
10
|
-
color?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const StyledTextWrapper: ({ color, className, style, ...divProps }: StyledTextWrapperProps) => import("react").JSX.Element;
|
|
13
|
-
export declare const StyledText: ({ PrefixComponent, text, color, }: StyledTextProps) => import("react").JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,494 +0,0 @@
|
|
|
1
|
-
import { s as K, t as L } from "./theme-constants-DETwIS-a.js";
|
|
2
|
-
import { t as g } from "./mergeClassNames-BHKm1BNi.js";
|
|
3
|
-
import { Ot as aa, wt as U } from "./TablerIcons-Ctfi8z4q.js";
|
|
4
|
-
import { clsx as s } from "clsx";
|
|
5
|
-
import ea, { createContext as ra, forwardRef as oa, useContext as ta, useRef as ia } from "react";
|
|
6
|
-
import { isBoolean as da, isFunction as na, isNonEmptyArray as sa } from "@sniptt/guards";
|
|
7
|
-
import { Fragment as la, jsx as r, jsxs as I } from "react/jsx-runtime";
|
|
8
|
-
import { useRender as S } from "@base-ui/react/use-render";
|
|
9
|
-
import { AlertDialog as k } from "@base-ui/react/alert-dialog";
|
|
10
|
-
import { useDirection as _a } from "@base-ui/react/direction-provider";
|
|
11
|
-
import { Menu as l } from "@base-ui/react/menu";
|
|
12
|
-
import { Dialog as q } from "@base-ui/react/dialog";
|
|
13
|
-
import { Popover as N } from "@base-ui/react/popover";
|
|
14
|
-
var ca = "_root_1fskg_1", ma = "_solid_1fskg_22", va = "_outline_1fskg_26", pa = "_soft_1fskg_30", ua = "_sm_1fskg_35", ga = "_md_1fskg_40", ha = "_square_1fskg_46", fa = "_round_1fskg_51", ka = "_accent_1fskg_57", Na = "_success_1fskg_63", Ca = "_warning_1fskg_69", ba = "_hoverable_1fskg_75", wa = "_box_1fskg_113", Pa = "_indicator_1fskg_134", xa = "_check_1fskg_150", Da = "_minus_1fskg_151", b = {
|
|
15
|
-
root: ca,
|
|
16
|
-
solid: ma,
|
|
17
|
-
outline: va,
|
|
18
|
-
soft: pa,
|
|
19
|
-
sm: ua,
|
|
20
|
-
md: ga,
|
|
21
|
-
square: ha,
|
|
22
|
-
round: fa,
|
|
23
|
-
accent: ka,
|
|
24
|
-
success: Na,
|
|
25
|
-
warning: Ca,
|
|
26
|
-
hoverable: ba,
|
|
27
|
-
box: wa,
|
|
28
|
-
indicator: Pa,
|
|
29
|
-
check: xa,
|
|
30
|
-
minus: Da
|
|
31
|
-
}, ya = "_backdrop_12kqm_1", Ma = "_viewport_12kqm_12", Ia = "_popup_12kqm_31", Ra = "_header_12kqm_73", Ta = "_body_12kqm_81", Aa = "_footer_12kqm_85", Ha = "_title_12kqm_96", La = "_description_12kqm_103", C = {
|
|
32
|
-
backdrop: ya,
|
|
33
|
-
viewport: Ma,
|
|
34
|
-
popup: Ia,
|
|
35
|
-
header: Ra,
|
|
36
|
-
body: Ta,
|
|
37
|
-
footer: Aa,
|
|
38
|
-
title: Ha,
|
|
39
|
-
description: La
|
|
40
|
-
}, Sa = ({ render: a, ref: e, className: t, ...o }) => S({
|
|
41
|
-
render: a,
|
|
42
|
-
ref: e,
|
|
43
|
-
props: {
|
|
44
|
-
...o,
|
|
45
|
-
className: s(C.body, t)
|
|
46
|
-
}
|
|
47
|
-
}), $a = ({ className: a, ...e }) => /* @__PURE__ */ r(k.Description, {
|
|
48
|
-
...e,
|
|
49
|
-
className: g(C.description, a)
|
|
50
|
-
}), Ba = ({ render: a, ref: e, className: t, ...o }) => S({
|
|
51
|
-
render: a,
|
|
52
|
-
ref: e,
|
|
53
|
-
props: {
|
|
54
|
-
...o,
|
|
55
|
-
className: s(C.footer, t)
|
|
56
|
-
}
|
|
57
|
-
}), za = ({ render: a, ref: e, className: t, ...o }) => S({
|
|
58
|
-
render: a,
|
|
59
|
-
ref: e,
|
|
60
|
-
props: {
|
|
61
|
-
...o,
|
|
62
|
-
className: s(C.header, t)
|
|
63
|
-
}
|
|
64
|
-
}), Oa = ({ size: a = "md", container: e, keepMounted: t, className: o, ...i }) => {
|
|
65
|
-
const d = L(), n = _a();
|
|
66
|
-
return /* @__PURE__ */ I(k.Portal, {
|
|
67
|
-
container: e === void 0 ? d ?? void 0 : e,
|
|
68
|
-
keepMounted: t,
|
|
69
|
-
children: [/* @__PURE__ */ r(k.Backdrop, { className: C.backdrop }), /* @__PURE__ */ r(k.Viewport, {
|
|
70
|
-
dir: n,
|
|
71
|
-
className: C.viewport,
|
|
72
|
-
children: /* @__PURE__ */ r(k.Popup, {
|
|
73
|
-
...i,
|
|
74
|
-
"data-size": a,
|
|
75
|
-
className: g(C.popup, o)
|
|
76
|
-
})
|
|
77
|
-
})]
|
|
78
|
-
});
|
|
79
|
-
}, Fa = ({ className: a, ...e }) => /* @__PURE__ */ r(k.Title, {
|
|
80
|
-
...e,
|
|
81
|
-
className: g(C.title, a)
|
|
82
|
-
}), Ea = () => ({
|
|
83
|
-
Root: k.Root,
|
|
84
|
-
Trigger: k.Trigger,
|
|
85
|
-
Popup: Oa,
|
|
86
|
-
Title: Fa,
|
|
87
|
-
Description: $a,
|
|
88
|
-
Close: k.Close,
|
|
89
|
-
Header: za,
|
|
90
|
-
Body: Sa,
|
|
91
|
-
Footer: Ba
|
|
92
|
-
}), $r = /* @__PURE__ */ Ea(), qa = "_card_1cl8g_1", Ga = { card: qa }, Br = ({ children: a, className: e, fullWidth: t, rounded: o, backgroundColor: i, style: d, ...n }) => /* @__PURE__ */ r("div", {
|
|
93
|
-
className: s(Ga.card, e),
|
|
94
|
-
"data-full-width": t || void 0,
|
|
95
|
-
"data-rounded": o || void 0,
|
|
96
|
-
style: K(i) ? {
|
|
97
|
-
...d,
|
|
98
|
-
"--card-background-color": i
|
|
99
|
-
} : d,
|
|
100
|
-
...n,
|
|
101
|
-
children: a
|
|
102
|
-
}), ja = "_cardContent_10wri_1", Ka = { cardContent: ja }, zr = ({ children: a, className: e, divider: t, isClickable: o, hasHoverHighlight: i, ...d }) => /* @__PURE__ */ r("div", {
|
|
103
|
-
className: s(Ka.cardContent, e),
|
|
104
|
-
"data-divider": t || void 0,
|
|
105
|
-
"data-clickable": o || void 0,
|
|
106
|
-
"data-hover-highlight": i || void 0,
|
|
107
|
-
...d,
|
|
108
|
-
children: a
|
|
109
|
-
}), Ua = "_cardFooter_15rlh_1", Wa = { cardFooter: Ua }, Or = ({ children: a, className: e, divider: t, ...o }) => /* @__PURE__ */ r("div", {
|
|
110
|
-
className: s(Wa.cardFooter, e),
|
|
111
|
-
"data-no-divider": t === !1 || void 0,
|
|
112
|
-
...o,
|
|
113
|
-
children: a
|
|
114
|
-
}), Va = "_cardHeader_yrli2_1", Xa = { cardHeader: Va }, Fr = ({ children: a, className: e, ...t }) => /* @__PURE__ */ r("div", {
|
|
115
|
-
className: s(Xa.cardHeader, e),
|
|
116
|
-
...t,
|
|
117
|
-
children: a
|
|
118
|
-
}), Ya = "_commandTextContainer_2o210_1", Za = "_commandText_2o210_1", Ja = "_commandKey_2o210_15", G = {
|
|
119
|
-
commandTextContainer: Ya,
|
|
120
|
-
commandText: Za,
|
|
121
|
-
commandKey: Ja
|
|
122
|
-
}, Qa = ({ hotKeys: a, joinLabel: e = "then" }) => /* @__PURE__ */ r("div", {
|
|
123
|
-
className: G.commandText,
|
|
124
|
-
children: a && /* @__PURE__ */ r("div", {
|
|
125
|
-
className: G.commandTextContainer,
|
|
126
|
-
children: a.map((t, o) => /* @__PURE__ */ I(ea.Fragment, { children: [/* @__PURE__ */ r("div", {
|
|
127
|
-
className: G.commandKey,
|
|
128
|
-
children: t
|
|
129
|
-
}), o < a.length - 1 && e] }, o))
|
|
130
|
-
})
|
|
131
|
-
}), A = (a) => K(a) && !da(a) && a !== "", ae = ({ checked: a, disabled: e }) => /* @__PURE__ */ r("span", {
|
|
132
|
-
"aria-hidden": !0,
|
|
133
|
-
className: s(b.root, b.solid, b.sm, b.square, b.accent),
|
|
134
|
-
"data-checked": a || void 0,
|
|
135
|
-
"data-disabled": e || void 0,
|
|
136
|
-
children: /* @__PURE__ */ r("span", {
|
|
137
|
-
className: b.box,
|
|
138
|
-
children: a && /* @__PURE__ */ r("span", {
|
|
139
|
-
className: b.indicator,
|
|
140
|
-
children: /* @__PURE__ */ r(U, { "aria-hidden": !0 })
|
|
141
|
-
})
|
|
142
|
-
})
|
|
143
|
-
}), ee = "_root_1mkwm_2", re = "_startIcon_1mkwm_47", oe = "_endIcon_1mkwm_48", te = "_label_1mkwm_60", ie = "_text_1mkwm_70", de = "_description_1mkwm_77", ne = "_inlineDescription_1mkwm_85", se = "_endDescription_1mkwm_90", le = "_hotkeys_1mkwm_95", _e = "_actions_1mkwm_101", ce = "_checkIndicator_1mkwm_117", me = "_submenuIcon_1mkwm_124", c = {
|
|
144
|
-
root: ee,
|
|
145
|
-
startIcon: re,
|
|
146
|
-
endIcon: oe,
|
|
147
|
-
label: te,
|
|
148
|
-
text: ie,
|
|
149
|
-
description: de,
|
|
150
|
-
inlineDescription: ne,
|
|
151
|
-
endDescription: se,
|
|
152
|
-
hotkeys: le,
|
|
153
|
-
actions: _e,
|
|
154
|
-
checkIndicator: ce,
|
|
155
|
-
submenuIcon: me
|
|
156
|
-
}, ve = ({ color: a = "neutral", selected: e = !1, focused: t = !1, disabled: o = !1, indicator: i = "none", startIcon: d, endIcon: n, description: v, descriptionPlacement: _ = "inline", actions: p, hotkeys: h, hasSubmenu: f = !1, className: u, children: x, render: B, ref: z, onClick: O, ...F }) => {
|
|
157
|
-
const R = A(v), E = (T) => {
|
|
158
|
-
if (o) {
|
|
159
|
-
T.preventDefault();
|
|
160
|
-
return;
|
|
161
|
-
}
|
|
162
|
-
O?.(T);
|
|
163
|
-
};
|
|
164
|
-
return S({
|
|
165
|
-
render: B,
|
|
166
|
-
ref: z,
|
|
167
|
-
state: {
|
|
168
|
-
color: a,
|
|
169
|
-
indicator: i,
|
|
170
|
-
selected: e,
|
|
171
|
-
highlighted: t,
|
|
172
|
-
disabled: o
|
|
173
|
-
},
|
|
174
|
-
props: {
|
|
175
|
-
...F,
|
|
176
|
-
className: s(c.root, u),
|
|
177
|
-
"aria-disabled": o || void 0,
|
|
178
|
-
onClick: E,
|
|
179
|
-
children: /* @__PURE__ */ I(la, { children: [
|
|
180
|
-
i === "checkbox" && /* @__PURE__ */ r(ae, {
|
|
181
|
-
checked: e,
|
|
182
|
-
disabled: o
|
|
183
|
-
}),
|
|
184
|
-
A(d) && /* @__PURE__ */ r("div", {
|
|
185
|
-
className: c.startIcon,
|
|
186
|
-
children: d
|
|
187
|
-
}),
|
|
188
|
-
/* @__PURE__ */ I("div", {
|
|
189
|
-
className: c.label,
|
|
190
|
-
children: [/* @__PURE__ */ r("div", {
|
|
191
|
-
className: c.text,
|
|
192
|
-
children: x
|
|
193
|
-
}), R && _ === "inline" && /* @__PURE__ */ r("div", {
|
|
194
|
-
className: s(c.description, c.inlineDescription),
|
|
195
|
-
children: v
|
|
196
|
-
})]
|
|
197
|
-
}),
|
|
198
|
-
R && _ === "end" && /* @__PURE__ */ r("div", {
|
|
199
|
-
className: s(c.description, c.endDescription),
|
|
200
|
-
children: v
|
|
201
|
-
}),
|
|
202
|
-
A(p) && /* @__PURE__ */ r("div", {
|
|
203
|
-
className: c.actions,
|
|
204
|
-
children: p
|
|
205
|
-
}),
|
|
206
|
-
sa(h) && /* @__PURE__ */ r("div", {
|
|
207
|
-
className: c.hotkeys,
|
|
208
|
-
children: /* @__PURE__ */ r(Qa, { hotKeys: h })
|
|
209
|
-
}),
|
|
210
|
-
A(n) && /* @__PURE__ */ r("div", {
|
|
211
|
-
className: c.endIcon,
|
|
212
|
-
children: n
|
|
213
|
-
}),
|
|
214
|
-
i === "check" && e && /* @__PURE__ */ r(U, {
|
|
215
|
-
className: c.checkIndicator,
|
|
216
|
-
"aria-hidden": !0
|
|
217
|
-
}),
|
|
218
|
-
f && /* @__PURE__ */ r(aa, {
|
|
219
|
-
className: c.submenuIcon,
|
|
220
|
-
"aria-hidden": !0
|
|
221
|
-
})
|
|
222
|
-
] })
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
}, $ = ({ color: a = "neutral", startIcon: e, endIcon: t, description: o, descriptionPlacement: i, hotkeys: d, disabled: n = !1, children: v, render: _, ...p }, h) => ({
|
|
226
|
-
...p,
|
|
227
|
-
disabled: n,
|
|
228
|
-
render: (f, u) => /* @__PURE__ */ r(ve, {
|
|
229
|
-
...f,
|
|
230
|
-
render: na(_) ? (x) => _(x, u) : _,
|
|
231
|
-
color: a,
|
|
232
|
-
disabled: n,
|
|
233
|
-
startIcon: e,
|
|
234
|
-
endIcon: t,
|
|
235
|
-
description: o,
|
|
236
|
-
descriptionPlacement: i,
|
|
237
|
-
hotkeys: d,
|
|
238
|
-
...h?.(u),
|
|
239
|
-
children: v
|
|
240
|
-
})
|
|
241
|
-
}), pe = (a) => /* @__PURE__ */ r(l.CheckboxItem, { ...$(a, (e) => ({
|
|
242
|
-
indicator: "checkbox",
|
|
243
|
-
selected: e.checked
|
|
244
|
-
})) }), ue = "_positioner_3411d_1", ge = "_popup_3411d_5", he = "_group_3411d_36", fe = "_groupLabel_3411d_42", ke = "_separator_3411d_54", P = {
|
|
245
|
-
positioner: ue,
|
|
246
|
-
popup: ge,
|
|
247
|
-
group: he,
|
|
248
|
-
groupLabel: fe,
|
|
249
|
-
separator: ke
|
|
250
|
-
}, Ne = ({ className: a, ...e }) => /* @__PURE__ */ r(l.Group, {
|
|
251
|
-
...e,
|
|
252
|
-
className: g(P.group, a)
|
|
253
|
-
}), Ce = ({ className: a, ...e }) => /* @__PURE__ */ r(l.GroupLabel, {
|
|
254
|
-
...e,
|
|
255
|
-
className: g(P.groupLabel, a)
|
|
256
|
-
}), be = (a) => /* @__PURE__ */ r(l.Item, { ...$(a) }), W = ra(!1), we = {
|
|
257
|
-
root: {
|
|
258
|
-
side: "bottom",
|
|
259
|
-
align: "start",
|
|
260
|
-
sideOffset: 8,
|
|
261
|
-
alignOffset: 0
|
|
262
|
-
},
|
|
263
|
-
submenu: {
|
|
264
|
-
side: "inline-end",
|
|
265
|
-
align: "start",
|
|
266
|
-
sideOffset: 0,
|
|
267
|
-
alignOffset: -4
|
|
268
|
-
}
|
|
269
|
-
}, Pe = ({ side: a, align: e, sideOffset: t, alignOffset: o, anchor: i, keepMounted: d, className: n, children: v, ..._ }) => {
|
|
270
|
-
const p = L(), { container: h = p ?? void 0, ...f } = _, u = we[ta(W) ? "submenu" : "root"];
|
|
271
|
-
return /* @__PURE__ */ r(l.Portal, {
|
|
272
|
-
container: h,
|
|
273
|
-
keepMounted: d,
|
|
274
|
-
children: /* @__PURE__ */ r(l.Positioner, {
|
|
275
|
-
side: a ?? u.side,
|
|
276
|
-
align: e ?? u.align,
|
|
277
|
-
sideOffset: t ?? u.sideOffset,
|
|
278
|
-
alignOffset: o ?? u.alignOffset,
|
|
279
|
-
anchor: i,
|
|
280
|
-
className: P.positioner,
|
|
281
|
-
children: /* @__PURE__ */ r(l.Popup, {
|
|
282
|
-
...f,
|
|
283
|
-
className: g(P.popup, n),
|
|
284
|
-
children: v
|
|
285
|
-
})
|
|
286
|
-
})
|
|
287
|
-
});
|
|
288
|
-
}, xe = ({ className: a, ...e }) => /* @__PURE__ */ r(l.RadioGroup, {
|
|
289
|
-
...e,
|
|
290
|
-
className: g(P.group, a)
|
|
291
|
-
}), De = (a) => /* @__PURE__ */ r(l.RadioItem, { ...$(a, (e) => ({
|
|
292
|
-
indicator: "check",
|
|
293
|
-
selected: e.checked
|
|
294
|
-
})) }), ye = ({ className: a, ...e }) => /* @__PURE__ */ r(l.Separator, {
|
|
295
|
-
...e,
|
|
296
|
-
className: g(P.separator, a)
|
|
297
|
-
}), Me = ({ children: a, ...e }) => /* @__PURE__ */ r(W.Provider, {
|
|
298
|
-
value: !0,
|
|
299
|
-
children: /* @__PURE__ */ r(l.SubmenuRoot, {
|
|
300
|
-
...e,
|
|
301
|
-
children: a
|
|
302
|
-
})
|
|
303
|
-
}), Ie = (a) => /* @__PURE__ */ r(l.SubmenuTrigger, { ...$(a, () => ({ hasSubmenu: !0 })) }), Er = {
|
|
304
|
-
Root: l.Root,
|
|
305
|
-
Trigger: l.Trigger,
|
|
306
|
-
Popup: Pe,
|
|
307
|
-
Item: be,
|
|
308
|
-
CheckboxItem: pe,
|
|
309
|
-
RadioGroup: xe,
|
|
310
|
-
RadioItem: De,
|
|
311
|
-
Group: Ne,
|
|
312
|
-
GroupLabel: Ce,
|
|
313
|
-
Separator: ye,
|
|
314
|
-
SubmenuRoot: Me,
|
|
315
|
-
SubmenuTrigger: Ie
|
|
316
|
-
}, Re = "_modal_4h0sx_1", Te = "_small_4h0sx_20", Ae = "_medium_4h0sx_24", He = "_large_4h0sx_28", Le = "_extraLarge_4h0sx_32", Se = "_paddingNone_4h0sx_37", $e = "_paddingSmall_4h0sx_41", Be = "_paddingMedium_4h0sx_45", ze = "_paddingLarge_4h0sx_49", Oe = "_overlayDark_4h0sx_53", Fe = "_smallBorderRadius_4h0sx_57", Ee = "_overlayTransparent_4h0sx_61", qe = "_mobile_4h0sx_67", Ge = "_narrowWidth_4h0sx_74", je = "_autoHeight_4h0sx_78", Ke = "_fullscreen_4h0sx_82", m = {
|
|
317
|
-
modal: Re,
|
|
318
|
-
small: Te,
|
|
319
|
-
medium: Ae,
|
|
320
|
-
large: He,
|
|
321
|
-
extraLarge: Le,
|
|
322
|
-
paddingNone: Se,
|
|
323
|
-
paddingSmall: $e,
|
|
324
|
-
paddingMedium: Be,
|
|
325
|
-
paddingLarge: ze,
|
|
326
|
-
overlayDark: Oe,
|
|
327
|
-
smallBorderRadius: Fe,
|
|
328
|
-
overlayTransparent: Ee,
|
|
329
|
-
mobile: qe,
|
|
330
|
-
narrowWidth: Ge,
|
|
331
|
-
autoHeight: je,
|
|
332
|
-
fullscreen: Ke
|
|
333
|
-
}, Ue = "_backdrop_1oefj_1", We = "_overlayLight_1oefj_16", Ve = "_inContainer_1oefj_20", j = {
|
|
334
|
-
backdrop: Ue,
|
|
335
|
-
overlayLight: We,
|
|
336
|
-
inContainer: Ve
|
|
337
|
-
}, V = oa(({ overlay: a, backdropZIndex: e, isInContainer: t, className: o, style: i, ...d }, n) => /* @__PURE__ */ r("div", {
|
|
338
|
-
ref: n,
|
|
339
|
-
className: s(j.backdrop, a === "light" && j.overlayLight, t && j.inContainer, o),
|
|
340
|
-
style: {
|
|
341
|
-
"--modal-backdrop-z-index": e,
|
|
342
|
-
...i
|
|
343
|
-
},
|
|
344
|
-
...d
|
|
345
|
-
}));
|
|
346
|
-
V.displayName = "ModalBackdrop";
|
|
347
|
-
var Xe = 40, Ye = 39, Ze = /* @__PURE__ */ new Set([
|
|
348
|
-
"ArrowUp",
|
|
349
|
-
"ArrowDown",
|
|
350
|
-
"ArrowLeft",
|
|
351
|
-
"ArrowRight",
|
|
352
|
-
"Home",
|
|
353
|
-
"End"
|
|
354
|
-
]), Je = {
|
|
355
|
-
none: m.paddingNone,
|
|
356
|
-
small: m.paddingSmall,
|
|
357
|
-
medium: m.paddingMedium,
|
|
358
|
-
large: m.paddingLarge
|
|
359
|
-
}, Qe = {
|
|
360
|
-
dark: m.overlayDark,
|
|
361
|
-
light: void 0,
|
|
362
|
-
transparent: m.overlayTransparent
|
|
363
|
-
}, qr = ({ isOpen: a, ariaLabel: e, children: t, size: o = "medium", padding: i = "medium", overlay: d = "dark", isMobile: n = !1, isInContainer: v = !1, container: _, gap: p, smallBorderRadius: h, narrowWidth: f, autoHeight: u, width: x, modalZIndex: B = Xe, backdropZIndex: z = Ye, backdropTestId: O = "modal-backdrop", backdropClickOutsideId: F, preventClickOutside: R, onBackdropMouseDown: E, modalRef: T }) => {
|
|
364
|
-
const X = ia(null), Y = T ?? X, Z = L(), J = K(_) ? _ : Z ?? void 0, Q = (D) => {
|
|
365
|
-
D.stopPropagation(), E?.(D);
|
|
366
|
-
};
|
|
367
|
-
return /* @__PURE__ */ r(q.Root, {
|
|
368
|
-
open: a,
|
|
369
|
-
modal: !1,
|
|
370
|
-
disablePointerDismissal: !0,
|
|
371
|
-
children: /* @__PURE__ */ r(q.Portal, {
|
|
372
|
-
container: J,
|
|
373
|
-
children: /* @__PURE__ */ r(V, {
|
|
374
|
-
"data-testid": O,
|
|
375
|
-
"data-click-outside-id": F,
|
|
376
|
-
onMouseDown: Q,
|
|
377
|
-
overlay: d,
|
|
378
|
-
backdropZIndex: z,
|
|
379
|
-
isInContainer: v,
|
|
380
|
-
children: /* @__PURE__ */ r(q.Popup, {
|
|
381
|
-
initialFocus: !1,
|
|
382
|
-
finalFocus: !1,
|
|
383
|
-
onKeyDown: (D) => {
|
|
384
|
-
Ze.has(D.key) && D.preventBaseUIHandler();
|
|
385
|
-
},
|
|
386
|
-
render: /* @__PURE__ */ r("div", {
|
|
387
|
-
ref: Y,
|
|
388
|
-
"aria-label": e,
|
|
389
|
-
className: s(m.modal, m[o], Je[i], Qe[d], n && m.mobile, h && m.smallBorderRadius, f && m.narrowWidth, u && m.autoHeight),
|
|
390
|
-
style: {
|
|
391
|
-
"--modal-z-index": B,
|
|
392
|
-
width: n ? void 0 : x,
|
|
393
|
-
gap: p !== void 0 ? `var(--t-spacing-${p})` : void 0
|
|
394
|
-
},
|
|
395
|
-
"data-globally-prevent-click-outside": R
|
|
396
|
-
}),
|
|
397
|
-
children: t
|
|
398
|
-
})
|
|
399
|
-
})
|
|
400
|
-
})
|
|
401
|
-
});
|
|
402
|
-
}, ar = "_content_1g670_1", er = "_verticallyCentered_1g670_11", rr = "_horizontallyCentered_1g670_15", or = "_overflowHidden_1g670_19", tr = "_withContentPadding_1g670_23", ir = "_noPadding_1g670_27", w = {
|
|
403
|
-
content: ar,
|
|
404
|
-
verticallyCentered: er,
|
|
405
|
-
horizontallyCentered: rr,
|
|
406
|
-
overflowHidden: or,
|
|
407
|
-
withContentPadding: tr,
|
|
408
|
-
noPadding: ir
|
|
409
|
-
}, Gr = ({ children: a, isVerticallyCentered: e, isHorizontallyCentered: t, noPadding: o, overflowHidden: i, gap: d, contentPadding: n }) => /* @__PURE__ */ r("div", {
|
|
410
|
-
className: s(w.content, e && w.verticallyCentered, t && w.horizontallyCentered, i && w.overflowHidden, n !== void 0 && w.withContentPadding, o && w.noPadding),
|
|
411
|
-
style: {
|
|
412
|
-
gap: d !== void 0 ? `var(--t-spacing-${d})` : void 0,
|
|
413
|
-
"--modal-content-padding": n !== void 0 ? `var(--t-spacing-${n})` : void 0
|
|
414
|
-
},
|
|
415
|
-
children: a
|
|
416
|
-
}), dr = "_footer_1lanc_1", nr = "_autoHeight_1lanc_12", sr = "_centered_1lanc_16", lr = "_smallPadding_1lanc_20", H = {
|
|
417
|
-
footer: dr,
|
|
418
|
-
autoHeight: nr,
|
|
419
|
-
centered: sr,
|
|
420
|
-
smallPadding: lr
|
|
421
|
-
}, jr = ({ children: a, autoHeight: e, centered: t, smallPadding: o, className: i }) => /* @__PURE__ */ r("div", {
|
|
422
|
-
className: s(H.footer, e && H.autoHeight, t && H.centered, o && H.smallPadding, i),
|
|
423
|
-
children: a
|
|
424
|
-
}), _r = "_header_1njem_1", cr = "_autoHeight_1njem_11", mr = "_noPadding_1njem_15", vr = "_withHorizontalPadding_1njem_19", pr = "_withBorderBottom_1njem_29", y = {
|
|
425
|
-
header: _r,
|
|
426
|
-
autoHeight: cr,
|
|
427
|
-
noPadding: mr,
|
|
428
|
-
withHorizontalPadding: vr,
|
|
429
|
-
withBorderBottom: pr
|
|
430
|
-
}, Kr = ({ children: a, noPadding: e, autoHeight: t, hasBorderBottom: o, paddingHorizontal: i, backgroundColor: d }) => /* @__PURE__ */ r("div", {
|
|
431
|
-
className: s(y.header, t && y.autoHeight, e && y.noPadding, i !== void 0 && y.withHorizontalPadding, o && y.withBorderBottom),
|
|
432
|
-
style: {
|
|
433
|
-
"--modal-header-padding-horizontal": i !== void 0 ? `var(--t-spacing-${i})` : void 0,
|
|
434
|
-
backgroundColor: d
|
|
435
|
-
},
|
|
436
|
-
children: a
|
|
437
|
-
}), ur = "_positioner_zlrze_1", gr = "_popup_zlrze_5", hr = "_title_zlrze_29", fr = "_description_zlrze_36", kr = "_arrow_zlrze_42", M = {
|
|
438
|
-
positioner: ur,
|
|
439
|
-
popup: gr,
|
|
440
|
-
title: hr,
|
|
441
|
-
description: fr,
|
|
442
|
-
arrow: kr
|
|
443
|
-
}, Nr = ({ className: a, ...e }) => /* @__PURE__ */ r(N.Description, {
|
|
444
|
-
...e,
|
|
445
|
-
className: g(M.description, a)
|
|
446
|
-
}), Cr = ({ side: a = "bottom", align: e = "center", sideOffset: t = 8, alignOffset: o, arrow: i = !1, anchor: d, container: n, keepMounted: v, className: _, children: p, ...h }) => {
|
|
447
|
-
const f = L();
|
|
448
|
-
return /* @__PURE__ */ r(N.Portal, {
|
|
449
|
-
container: n ?? f ?? void 0,
|
|
450
|
-
keepMounted: v,
|
|
451
|
-
children: /* @__PURE__ */ r(N.Positioner, {
|
|
452
|
-
side: a,
|
|
453
|
-
align: e,
|
|
454
|
-
sideOffset: t,
|
|
455
|
-
alignOffset: o,
|
|
456
|
-
anchor: d,
|
|
457
|
-
className: M.positioner,
|
|
458
|
-
children: /* @__PURE__ */ I(N.Popup, {
|
|
459
|
-
...h,
|
|
460
|
-
className: g(M.popup, _),
|
|
461
|
-
children: [i && /* @__PURE__ */ r(N.Arrow, { className: M.arrow }), p]
|
|
462
|
-
})
|
|
463
|
-
})
|
|
464
|
-
});
|
|
465
|
-
}, br = ({ className: a, ...e }) => /* @__PURE__ */ r(N.Title, {
|
|
466
|
-
...e,
|
|
467
|
-
className: g(M.title, a)
|
|
468
|
-
}), Ur = {
|
|
469
|
-
Root: N.Root,
|
|
470
|
-
Trigger: N.Trigger,
|
|
471
|
-
Popup: Cr,
|
|
472
|
-
Title: br,
|
|
473
|
-
Description: Nr,
|
|
474
|
-
Close: N.Close
|
|
475
|
-
};
|
|
476
|
-
export {
|
|
477
|
-
b as _,
|
|
478
|
-
qr as a,
|
|
479
|
-
ve as c,
|
|
480
|
-
Qa as d,
|
|
481
|
-
Fr as f,
|
|
482
|
-
$r as g,
|
|
483
|
-
Br as h,
|
|
484
|
-
Gr as i,
|
|
485
|
-
c as l,
|
|
486
|
-
zr as m,
|
|
487
|
-
Kr as n,
|
|
488
|
-
V as o,
|
|
489
|
-
Or as p,
|
|
490
|
-
jr as r,
|
|
491
|
-
Er as s,
|
|
492
|
-
Ur as t,
|
|
493
|
-
A as u
|
|
494
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const ae=require("./chunk-u_mIcLyS.cjs"),C=require("./theme-constants-Do_FO7Uy.cjs"),g=require("./mergeClassNames-BbJtXN2t.cjs");let d=require("clsx"),P=require("react");P=ae.__toESM(P,1);let U=require("@sniptt/guards"),a=require("react/jsx-runtime"),H=require("@base-ui/react/use-render"),x=require("@base-ui/react/alert-dialog"),oe=require("@base-ui/react/direction-provider"),_=require("@base-ui/react/menu"),$=require("@base-ui/react/dialog"),b=require("@base-ui/react/popover"),K=require("@tabler/icons-react");var te="_root_1fskg_1",ne="_solid_1fskg_22",ie="_outline_1fskg_26",se="_soft_1fskg_30",de="_sm_1fskg_35",le="_md_1fskg_40",_e="_square_1fskg_46",ce="_round_1fskg_51",ue="_accent_1fskg_57",me="_success_1fskg_63",ve="_warning_1fskg_69",pe="_hoverable_1fskg_75",ge="_box_1fskg_113",he="_indicator_1fskg_134",fe="_check_1fskg_150",xe="_minus_1fskg_151",j={root:te,solid:ne,outline:ie,soft:se,sm:de,md:le,square:_e,round:ce,accent:ue,success:me,warning:ve,hoverable:pe,box:ge,indicator:he,check:fe,minus:xe},be="_backdrop_12kqm_1",je="_viewport_12kqm_12",ke="_popup_12kqm_31",Ce="_header_12kqm_73",Pe="_body_12kqm_81",Ne="_footer_12kqm_85",De="_title_12kqm_96",Me="_description_12kqm_103",k={backdrop:be,viewport:je,popup:ke,header:Ce,body:Pe,footer:Ne,title:De,description:Me},ye=({render:e,ref:r,className:t,...o})=>(0,H.useRender)({render:e,ref:r,props:{...o,className:(0,d.clsx)(k.body,t)}}),we=({className:e,...r})=>(0,a.jsx)(x.AlertDialog.Description,{...r,className:g.mergeClassNames(k.description,e)}),Ie=({render:e,ref:r,className:t,...o})=>(0,H.useRender)({render:e,ref:r,props:{...o,className:(0,d.clsx)(k.footer,t)}}),Ae=({render:e,ref:r,className:t,...o})=>(0,H.useRender)({render:e,ref:r,props:{...o,className:(0,d.clsx)(k.header,t)}}),Re=({size:e="md",container:r,keepMounted:t,className:o,...n})=>{const i=C.useThemeContainer(),s=(0,oe.useDirection)();return(0,a.jsxs)(x.AlertDialog.Portal,{container:r===void 0?i??void 0:r,keepMounted:t,children:[(0,a.jsx)(x.AlertDialog.Backdrop,{className:k.backdrop}),(0,a.jsx)(x.AlertDialog.Viewport,{dir:s,className:k.viewport,children:(0,a.jsx)(x.AlertDialog.Popup,{...n,"data-size":e,className:g.mergeClassNames(k.popup,o)})})]})},Te=({className:e,...r})=>(0,a.jsx)(x.AlertDialog.Title,{...r,className:g.mergeClassNames(k.title,e)}),Oe=()=>({Root:x.AlertDialog.Root,Trigger:x.AlertDialog.Trigger,Popup:Re,Title:Te,Description:we,Close:x.AlertDialog.Close,Header:Ae,Body:ye,Footer:Ie}),He=Oe(),qe="_card_1cl8g_1",Le={card:qe},Se=({children:e,className:r,fullWidth:t,rounded:o,backgroundColor:n,style:i,...s})=>(0,a.jsx)("div",{className:(0,d.clsx)(Le.card,r),"data-full-width":t||void 0,"data-rounded":o||void 0,style:C.isDefined(n)?{...i,"--card-background-color":n}:i,...s,children:e}),Be="_cardContent_10wri_1",Fe={cardContent:Be},ze=({children:e,className:r,divider:t,isClickable:o,hasHoverHighlight:n,...i})=>(0,a.jsx)("div",{className:(0,d.clsx)(Fe.cardContent,r),"data-divider":t||void 0,"data-clickable":o||void 0,"data-hover-highlight":n||void 0,...i,children:e}),$e="_cardFooter_15rlh_1",Ee={cardFooter:$e},Ge=({children:e,className:r,divider:t,...o})=>(0,a.jsx)("div",{className:(0,d.clsx)(Ee.cardFooter,r),"data-no-divider":t===!1||void 0,...o,children:e}),Ke="_cardHeader_yrli2_1",Ue={cardHeader:Ke},We=({children:e,className:r,...t})=>(0,a.jsx)("div",{className:(0,d.clsx)(Ue.cardHeader,r),...t,children:e}),Ve="_commandTextContainer_2o210_1",Xe="_commandText_2o210_1",Ye="_commandKey_2o210_15",E={commandTextContainer:Ve,commandText:Xe,commandKey:Ye},V=({hotKeys:e,joinLabel:r="then"})=>(0,a.jsx)("div",{className:E.commandText,children:e&&(0,a.jsx)("div",{className:E.commandTextContainer,children:e.map((t,o)=>(0,a.jsxs)(P.default.Fragment,{children:[(0,a.jsx)("div",{className:E.commandKey,children:t}),o<e.length-1&&r]},o))})}),I=e=>C.isDefined(e)&&!(0,U.isBoolean)(e)&&e!=="",Ze=({checked:e,disabled:r})=>(0,a.jsx)("span",{"aria-hidden":!0,className:(0,d.clsx)(j.root,j.solid,j.sm,j.square,j.accent),"data-checked":e||void 0,"data-disabled":r||void 0,children:(0,a.jsx)("span",{className:j.box,children:e&&(0,a.jsx)("span",{className:j.indicator,children:(0,a.jsx)(K.IconCheck,{"aria-hidden":!0})})})}),Je="_root_1mkwm_2",Qe="_startIcon_1mkwm_47",er="_endIcon_1mkwm_48",rr="_label_1mkwm_60",ar="_text_1mkwm_70",or="_description_1mkwm_77",tr="_inlineDescription_1mkwm_85",nr="_endDescription_1mkwm_90",ir="_hotkeys_1mkwm_95",sr="_actions_1mkwm_101",dr="_checkIndicator_1mkwm_117",lr="_submenuIcon_1mkwm_124",l={root:Je,startIcon:Qe,endIcon:er,label:rr,text:ar,description:or,inlineDescription:tr,endDescription:nr,hotkeys:ir,actions:sr,checkIndicator:dr,submenuIcon:lr},X=({color:e="neutral",selected:r=!1,focused:t=!1,disabled:o=!1,indicator:n="none",startIcon:i,endIcon:s,description:m,descriptionPlacement:c="inline",actions:v,hotkeys:h,hasSubmenu:f=!1,className:p,children:M,render:L,ref:S,onClick:B,...F})=>{const R=I(m),z=T=>{if(o){T.preventDefault();return}B?.(T)};return(0,H.useRender)({render:L,ref:S,state:{color:e,indicator:n,selected:r,highlighted:t,disabled:o},props:{...F,className:(0,d.clsx)(l.root,p),"aria-disabled":o||void 0,onClick:z,children:(0,a.jsxs)(a.Fragment,{children:[n==="checkbox"&&(0,a.jsx)(Ze,{checked:r,disabled:o}),I(i)&&(0,a.jsx)("div",{className:l.startIcon,children:i}),(0,a.jsxs)("div",{className:l.label,children:[(0,a.jsx)("div",{className:l.text,children:M}),R&&c==="inline"&&(0,a.jsx)("div",{className:(0,d.clsx)(l.description,l.inlineDescription),children:m})]}),R&&c==="end"&&(0,a.jsx)("div",{className:(0,d.clsx)(l.description,l.endDescription),children:m}),I(v)&&(0,a.jsx)("div",{className:l.actions,children:v}),(0,U.isNonEmptyArray)(h)&&(0,a.jsx)("div",{className:l.hotkeys,children:(0,a.jsx)(V,{hotKeys:h})}),I(s)&&(0,a.jsx)("div",{className:l.endIcon,children:s}),n==="check"&&r&&(0,a.jsx)(K.IconCheck,{className:l.checkIndicator,"aria-hidden":!0}),f&&(0,a.jsx)(K.IconChevronRight,{className:l.submenuIcon,"aria-hidden":!0})]})}})},q=({color:e="neutral",startIcon:r,endIcon:t,description:o,descriptionPlacement:n,hotkeys:i,disabled:s=!1,children:m,render:c,...v},h)=>({...v,disabled:s,render:(f,p)=>(0,a.jsx)(X,{...f,render:(0,U.isFunction)(c)?M=>c(M,p):c,color:e,disabled:s,startIcon:r,endIcon:t,description:o,descriptionPlacement:n,hotkeys:i,...h?.(p),children:m})}),_r=e=>(0,a.jsx)(_.Menu.CheckboxItem,{...q(e,r=>({indicator:"checkbox",selected:r.checked}))}),cr="_positioner_3411d_1",ur="_popup_3411d_5",mr="_group_3411d_36",vr="_groupLabel_3411d_42",pr="_separator_3411d_54",D={positioner:cr,popup:ur,group:mr,groupLabel:vr,separator:pr},gr=({className:e,...r})=>(0,a.jsx)(_.Menu.Group,{...r,className:g.mergeClassNames(D.group,e)}),hr=({className:e,...r})=>(0,a.jsx)(_.Menu.GroupLabel,{...r,className:g.mergeClassNames(D.groupLabel,e)}),fr=e=>(0,a.jsx)(_.Menu.Item,{...q(e)}),Y=(0,P.createContext)(!1),xr={root:{side:"bottom",align:"start",sideOffset:8,alignOffset:0},submenu:{side:"inline-end",align:"start",sideOffset:0,alignOffset:-4}},br=({side:e,align:r,sideOffset:t,alignOffset:o,anchor:n,keepMounted:i,className:s,children:m,...c})=>{const v=C.useThemeContainer(),{container:h=v??void 0,...f}=c,p=xr[(0,P.useContext)(Y)?"submenu":"root"];return(0,a.jsx)(_.Menu.Portal,{container:h,keepMounted:i,children:(0,a.jsx)(_.Menu.Positioner,{side:e??p.side,align:r??p.align,sideOffset:t??p.sideOffset,alignOffset:o??p.alignOffset,anchor:n,className:D.positioner,children:(0,a.jsx)(_.Menu.Popup,{...f,className:g.mergeClassNames(D.popup,s),children:m})})})},jr=({className:e,...r})=>(0,a.jsx)(_.Menu.RadioGroup,{...r,className:g.mergeClassNames(D.group,e)}),kr=e=>(0,a.jsx)(_.Menu.RadioItem,{...q(e,r=>({indicator:"check",selected:r.checked}))}),Cr=({className:e,...r})=>(0,a.jsx)(_.Menu.Separator,{...r,className:g.mergeClassNames(D.separator,e)}),Pr=({children:e,...r})=>(0,a.jsx)(Y.Provider,{value:!0,children:(0,a.jsx)(_.Menu.SubmenuRoot,{...r,children:e})}),Nr=e=>(0,a.jsx)(_.Menu.SubmenuTrigger,{...q(e,()=>({hasSubmenu:!0}))}),Dr={Root:_.Menu.Root,Trigger:_.Menu.Trigger,Popup:br,Item:fr,CheckboxItem:_r,RadioGroup:jr,RadioItem:kr,Group:gr,GroupLabel:hr,Separator:Cr,SubmenuRoot:Pr,SubmenuTrigger:Nr},Mr="_modal_4h0sx_1",yr="_small_4h0sx_20",wr="_medium_4h0sx_24",Ir="_large_4h0sx_28",Ar="_extraLarge_4h0sx_32",Rr="_paddingNone_4h0sx_37",Tr="_paddingSmall_4h0sx_41",Or="_paddingMedium_4h0sx_45",Hr="_paddingLarge_4h0sx_49",qr="_overlayDark_4h0sx_53",Lr="_smallBorderRadius_4h0sx_57",Sr="_overlayTransparent_4h0sx_61",Br="_mobile_4h0sx_67",Fr="_narrowWidth_4h0sx_74",zr="_autoHeight_4h0sx_78",$r="_fullscreen_4h0sx_82",u={modal:Mr,small:yr,medium:wr,large:Ir,extraLarge:Ar,paddingNone:Rr,paddingSmall:Tr,paddingMedium:Or,paddingLarge:Hr,overlayDark:qr,smallBorderRadius:Lr,overlayTransparent:Sr,mobile:Br,narrowWidth:Fr,autoHeight:zr,fullscreen:$r},Er="_backdrop_1oefj_1",Gr="_overlayLight_1oefj_16",Kr="_inContainer_1oefj_20",G={backdrop:Er,overlayLight:Gr,inContainer:Kr},W=(0,P.forwardRef)(({overlay:e,backdropZIndex:r,isInContainer:t,className:o,style:n,...i},s)=>(0,a.jsx)("div",{ref:s,className:(0,d.clsx)(G.backdrop,e==="light"&&G.overlayLight,t&&G.inContainer,o),style:{"--modal-backdrop-z-index":r,...n},...i}));W.displayName="ModalBackdrop";var Ur=40,Wr=39,Vr=new Set(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End"]),Xr={none:u.paddingNone,small:u.paddingSmall,medium:u.paddingMedium,large:u.paddingLarge},Yr={dark:u.overlayDark,light:void 0,transparent:u.overlayTransparent},Zr=({isOpen:e,ariaLabel:r,children:t,size:o="medium",padding:n="medium",overlay:i="dark",isMobile:s=!1,isInContainer:m=!1,container:c,gap:v,smallBorderRadius:h,narrowWidth:f,autoHeight:p,width:M,modalZIndex:L=Ur,backdropZIndex:S=Wr,backdropTestId:B="modal-backdrop",backdropClickOutsideId:F,preventClickOutside:R,onBackdropMouseDown:z,modalRef:T})=>{const Z=(0,P.useRef)(null),J=T??Z,Q=C.useThemeContainer(),ee=C.isDefined(c)?c:Q??void 0,re=y=>{y.stopPropagation(),z?.(y)};return(0,a.jsx)($.Dialog.Root,{open:e,modal:!1,disablePointerDismissal:!0,children:(0,a.jsx)($.Dialog.Portal,{container:ee,children:(0,a.jsx)(W,{"data-testid":B,"data-click-outside-id":F,onMouseDown:re,overlay:i,backdropZIndex:S,isInContainer:m,children:(0,a.jsx)($.Dialog.Popup,{initialFocus:!1,finalFocus:!1,onKeyDown:y=>{Vr.has(y.key)&&y.preventBaseUIHandler()},render:(0,a.jsx)("div",{ref:J,"aria-label":r,className:(0,d.clsx)(u.modal,u[o],Xr[n],Yr[i],s&&u.mobile,h&&u.smallBorderRadius,f&&u.narrowWidth,p&&u.autoHeight),style:{"--modal-z-index":L,width:s?void 0:M,gap:v!==void 0?`var(--t-spacing-${v})`:void 0},"data-globally-prevent-click-outside":R}),children:t})})})})},Jr="_content_1g670_1",Qr="_verticallyCentered_1g670_11",ea="_horizontallyCentered_1g670_15",ra="_overflowHidden_1g670_19",aa="_withContentPadding_1g670_23",oa="_noPadding_1g670_27",N={content:Jr,verticallyCentered:Qr,horizontallyCentered:ea,overflowHidden:ra,withContentPadding:aa,noPadding:oa},ta=({children:e,isVerticallyCentered:r,isHorizontallyCentered:t,noPadding:o,overflowHidden:n,gap:i,contentPadding:s})=>(0,a.jsx)("div",{className:(0,d.clsx)(N.content,r&&N.verticallyCentered,t&&N.horizontallyCentered,n&&N.overflowHidden,s!==void 0&&N.withContentPadding,o&&N.noPadding),style:{gap:i!==void 0?`var(--t-spacing-${i})`:void 0,"--modal-content-padding":s!==void 0?`var(--t-spacing-${s})`:void 0},children:e}),na="_footer_1lanc_1",ia="_autoHeight_1lanc_12",sa="_centered_1lanc_16",da="_smallPadding_1lanc_20",O={footer:na,autoHeight:ia,centered:sa,smallPadding:da},la=({children:e,autoHeight:r,centered:t,smallPadding:o,className:n})=>(0,a.jsx)("div",{className:(0,d.clsx)(O.footer,r&&O.autoHeight,t&&O.centered,o&&O.smallPadding,n),children:e}),_a="_header_1njem_1",ca="_autoHeight_1njem_11",ua="_noPadding_1njem_15",ma="_withHorizontalPadding_1njem_19",va="_withBorderBottom_1njem_29",w={header:_a,autoHeight:ca,noPadding:ua,withHorizontalPadding:ma,withBorderBottom:va},pa=({children:e,noPadding:r,autoHeight:t,hasBorderBottom:o,paddingHorizontal:n,backgroundColor:i})=>(0,a.jsx)("div",{className:(0,d.clsx)(w.header,t&&w.autoHeight,r&&w.noPadding,n!==void 0&&w.withHorizontalPadding,o&&w.withBorderBottom),style:{"--modal-header-padding-horizontal":n!==void 0?`var(--t-spacing-${n})`:void 0,backgroundColor:i},children:e}),ga="_positioner_zlrze_1",ha="_popup_zlrze_5",fa="_title_zlrze_29",xa="_description_zlrze_36",ba="_arrow_zlrze_42",A={positioner:ga,popup:ha,title:fa,description:xa,arrow:ba},ja=({className:e,...r})=>(0,a.jsx)(b.Popover.Description,{...r,className:g.mergeClassNames(A.description,e)}),ka=({side:e="bottom",align:r="center",sideOffset:t=8,alignOffset:o,arrow:n=!1,anchor:i,container:s,keepMounted:m,className:c,children:v,...h})=>{const f=C.useThemeContainer();return(0,a.jsx)(b.Popover.Portal,{container:s??f??void 0,keepMounted:m,children:(0,a.jsx)(b.Popover.Positioner,{side:e,align:r,sideOffset:t,alignOffset:o,anchor:i,className:A.positioner,children:(0,a.jsxs)(b.Popover.Popup,{...h,className:g.mergeClassNames(A.popup,c),children:[n&&(0,a.jsx)(b.Popover.Arrow,{className:A.arrow}),v]})})})},Ca=({className:e,...r})=>(0,a.jsx)(b.Popover.Title,{...r,className:g.mergeClassNames(A.title,e)}),Pa={Root:b.Popover.Root,Trigger:b.Popover.Trigger,Popup:ka,Title:Ca,Description:ja,Close:b.Popover.Close};Object.defineProperty(exports,"AlertDialog",{enumerable:!0,get:function(){return He}});Object.defineProperty(exports,"Card",{enumerable:!0,get:function(){return Se}});Object.defineProperty(exports,"CardContent",{enumerable:!0,get:function(){return ze}});Object.defineProperty(exports,"CardFooter",{enumerable:!0,get:function(){return Ge}});Object.defineProperty(exports,"CardHeader",{enumerable:!0,get:function(){return We}});Object.defineProperty(exports,"Checkbox_module_default",{enumerable:!0,get:function(){return j}});Object.defineProperty(exports,"ListItem",{enumerable:!0,get:function(){return X}});Object.defineProperty(exports,"ListItem_module_default",{enumerable:!0,get:function(){return l}});Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return Dr}});Object.defineProperty(exports,"MenuItemHotKeys",{enumerable:!0,get:function(){return V}});Object.defineProperty(exports,"Modal",{enumerable:!0,get:function(){return Zr}});Object.defineProperty(exports,"ModalBackdrop",{enumerable:!0,get:function(){return W}});Object.defineProperty(exports,"ModalContent",{enumerable:!0,get:function(){return ta}});Object.defineProperty(exports,"ModalFooter",{enumerable:!0,get:function(){return la}});Object.defineProperty(exports,"ModalHeader",{enumerable:!0,get:function(){return pa}});Object.defineProperty(exports,"Popover",{enumerable:!0,get:function(){return Pa}});Object.defineProperty(exports,"isRenderableSlot",{enumerable:!0,get:function(){return I}});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Decorator } from '@storybook/react-vite';
|
|
2
|
-
export type RouteParams = {
|
|
3
|
-
[param: string]: string;
|
|
4
|
-
};
|
|
5
|
-
export declare const isRouteParams: (obj: any) => obj is RouteParams;
|
|
6
|
-
export declare const computeLocation: (routePath: string, routeParams?: RouteParams) => {
|
|
7
|
-
pathname: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const ComponentWithRouterDecorator: Decorator;
|