twenty-ui 1.0.0-alpha.2 → 2.41.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/README.md +40 -17
- package/dist/{AllIcons-CY2tZQSN.cjs → AllIcons-CFPS3m2F.cjs} +1 -1
- package/dist/{AllIcons-Ncl3isqX.js → AllIcons-UzofKGsA.js} +1 -1
- package/dist/Button-DDrUyVB1.cjs +1 -0
- package/dist/Button-u4e3zI-a.js +72 -0
- package/dist/HorizontalSeparator-BWu4LVEU.cjs +1 -0
- package/dist/HorizontalSeparator-p1xF1-ka.js +37 -0
- package/dist/{OverflowingTextWithTooltip-D2ri4HNc.js → OverflowingTextWithTooltip-C21bgWKF.js} +13 -13
- package/dist/{OverflowingTextWithTooltip-DUtQD8sI.cjs → OverflowingTextWithTooltip-C2iADYbv.cjs} +1 -1
- package/dist/Pill-4lAWCmbk.cjs +1 -0
- package/dist/Pill-abKRH4XK.js +19 -0
- package/dist/{TablerIcons-CSp0ySKT.js → TablerIcons-Ctfi8z4q.js} +63 -61
- package/dist/{accessibility-Cx4HvKc4.cjs → accessibility-BEkMTFE2.cjs} +1 -1
- package/dist/components/LightButton/LightButton.d.ts +2 -0
- package/dist/components/LightButton/types/LightButtonProps.d.ts +4 -0
- package/dist/components/MainButton/MainButton.d.ts +2 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components-B0WZ1iBV.js +19 -0
- package/dist/components-BwvstA6U.cjs +1 -0
- package/dist/components.cjs +1 -0
- package/dist/components.mjs +5 -0
- package/dist/data-display-ByvqdkPn.js +472 -0
- package/dist/data-display-DH28tg-I.cjs +1 -0
- package/dist/feedback-62S0e8tP.cjs +1 -0
- package/dist/feedback-Cu7U-W9T.js +660 -0
- package/dist/icon/components/TablerIcons.d.ts +1 -1
- package/dist/icon/index.d.ts +1 -1
- package/dist/{icon-Blv6TcID.js → icon-DqzYzlBl.js} +4 -4
- package/dist/{icon-B0urrk3l.cjs → icon-QYavWP3u.cjs} +1 -1
- package/dist/icon.cjs +1 -1
- package/dist/icon.mjs +368 -366
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -9
- package/dist/index.mjs +739 -733
- package/dist/individual-entry.d.ts +2 -9
- package/dist/input-B1qr987z.cjs +1 -0
- package/dist/input-DOIOurw8.js +1322 -0
- package/dist/{json-visualizer-CMuFIF8y.cjs → json-visualizer-CN76kFy-.cjs} +1 -1
- package/dist/{json-visualizer-BR2xCR53.js → json-visualizer-Q7wzKVum.js} +14 -14
- package/dist/layout-BN3KI-Wu.cjs +1 -0
- package/dist/{layout-CLLg1bKJ.js → layout-LzKpLxiO.js} +57 -52
- package/dist/mergeClassNames-BHKm1BNi.js +6 -0
- package/dist/mergeClassNames-BbJtXN2t.cjs +1 -0
- package/dist/navigation-BqWHvCpD.cjs +1 -0
- package/dist/navigation-CqKtMuQI.js +724 -0
- package/dist/primitives/accessibility.cjs +1 -0
- package/dist/primitives/accessibility.mjs +7 -0
- package/dist/primitives/data-display/Avatar/Avatar.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/types/AvatarProps.d.ts +19 -0
- package/dist/primitives/data-display/Avatar/types/AvatarShape.d.ts +1 -0
- package/dist/primitives/data-display/AvatarOrIcon/AvatarOrIcon.d.ts +2 -0
- package/dist/primitives/data-display/AvatarOrIcon/types/AvatarOrIconProps.d.ts +12 -0
- package/dist/primitives/data-display/Chip/Chip.d.ts +2 -0
- package/dist/primitives/data-display/Chip/types/ChipProps.d.ts +25 -0
- package/dist/primitives/data-display/Chip/types/ChipSize.d.ts +1 -0
- package/dist/primitives/data-display/Chip/types/ChipVariant.d.ts +1 -0
- package/dist/{data-display → primitives/data-display}/ColorSample/ColorSample.d.ts +1 -1
- package/dist/primitives/data-display/LinkChip/LinkChip.d.ts +11 -0
- package/dist/{data-display → primitives/data-display}/Pill/Pill.d.ts +1 -1
- package/dist/{data-display → primitives/data-display}/SelectDisplay/SelectDisplay.d.ts +2 -2
- package/dist/primitives/data-display/Status/Status.d.ts +2 -0
- package/dist/primitives/data-display/Status/types/StatusProps.d.ts +23 -0
- package/dist/primitives/data-display/Tag/Tag.d.ts +2 -0
- package/dist/primitives/data-display/Tag/types/TagColor.d.ts +2 -0
- package/dist/primitives/data-display/Tag/types/TagProps.d.ts +14 -0
- package/dist/{data-display → primitives/data-display}/TintedIconTile/TintedIconTile.d.ts +1 -1
- package/dist/{data-display → primitives/data-display}/TintedIconTile/internal/constants/tintedIconTileColorShades.constant.d.ts +2 -2
- package/dist/{data-display → primitives/data-display}/TintedIconTile/internal/utils/getColorFromTheme.d.ts +1 -1
- package/dist/{data-display → primitives/data-display}/index.d.ts +10 -6
- package/dist/primitives/data-display.cjs +1 -0
- package/dist/primitives/data-display.mjs +27 -0
- package/dist/primitives/feedback/AnimatedPlaceholder/AnimatedPlaceholder.d.ts +7 -0
- package/dist/primitives/feedback/AnimatedPlaceholder/types/AnimatedPlaceholderType.d.ts +3 -0
- package/dist/{feedback → primitives/feedback}/Callout/Callout.d.ts +1 -1
- package/dist/{feedback → primitives/feedback}/InlineBanner/InlineBanner.d.ts +1 -1
- package/dist/{feedback → primitives/feedback}/Loader/Loader.d.ts +1 -1
- package/dist/primitives/feedback/Toast/ToastProvider.d.ts +2 -0
- package/dist/primitives/feedback/Toast/constants/DefaultToastLimit.d.ts +1 -0
- package/dist/primitives/feedback/Toast/contexts/ToastContext.d.ts +1 -0
- package/dist/primitives/feedback/Toast/hooks/useCloseToast.d.ts +3 -0
- package/dist/primitives/feedback/Toast/hooks/useEnqueueToast.d.ts +7 -0
- package/dist/primitives/feedback/Toast/hooks/useToast.d.ts +7 -0
- package/dist/primitives/feedback/Toast/hooks/useToastContext.d.ts +1 -0
- package/dist/primitives/feedback/Toast/hooks/useToastEntries.d.ts +1 -0
- package/dist/primitives/feedback/Toast/stores/createToastStore.d.ts +3 -0
- package/dist/primitives/feedback/Toast/types/ToastEntry.d.ts +6 -0
- package/dist/primitives/feedback/Toast/types/ToastNotification.d.ts +4 -0
- package/dist/primitives/feedback/Toast/types/ToastOptions.d.ts +4 -0
- package/dist/primitives/feedback/Toast/types/ToastProps.d.ts +47 -0
- package/dist/primitives/feedback/Toast/types/ToastProviderProps.d.ts +5 -0
- package/dist/primitives/feedback/Toast/types/ToastStoreState.d.ts +6 -0
- package/dist/primitives/feedback/Toast/utils/completeToastExit.d.ts +6 -0
- package/dist/primitives/feedback/Toast/utils/dismissToasts.d.ts +7 -0
- package/dist/primitives/feedback/Toast/utils/isToastVisible.d.ts +2 -0
- package/dist/primitives/feedback/Toaster/Toaster.d.ts +2 -0
- package/dist/primitives/feedback/Toaster/__stories__/ToastControls.d.ts +5 -0
- package/dist/primitives/feedback/Toaster/__stories__/ToasterExample.d.ts +2 -0
- package/dist/primitives/feedback/Toaster/__stories__/ToasterExampleProps.d.ts +4 -0
- package/dist/primitives/feedback/Toaster/internal/ToasterItem.d.ts +9 -0
- package/dist/primitives/feedback/Toaster/internal/ToasterItemExitEffect.d.ts +8 -0
- package/dist/primitives/feedback/Toaster/internal/ToasterItems.d.ts +6 -0
- package/dist/primitives/feedback/Toaster/internal/ToasterLifecycleEffect.d.ts +1 -0
- package/dist/primitives/feedback/Toaster/types/ToasterProps.d.ts +9 -0
- package/dist/{feedback → primitives/feedback}/index.d.ts +8 -1
- package/dist/primitives/feedback.cjs +1 -0
- package/dist/primitives/feedback.mjs +29 -0
- package/dist/primitives/index.d.ts +9 -0
- package/dist/{input → primitives/input}/AnimatedButton/AnimatedButton.d.ts +1 -6
- package/dist/primitives/input/AnimatedButton/internal/AnimatedButtonAccent.d.ts +1 -0
- package/dist/primitives/input/AnimatedButton/internal/AnimatedButtonBaseProps.d.ts +30 -0
- package/dist/primitives/input/AnimatedButton/internal/AnimatedButtonPosition.d.ts +1 -0
- package/dist/primitives/input/AnimatedButton/internal/AnimatedButtonVariant.d.ts +1 -0
- package/dist/primitives/input/AnimatedButton/types/AnimatedButtonProps.d.ts +7 -0
- package/dist/{input → primitives/input}/AnimatedLightIconButton/AnimatedLightIconButton.d.ts +1 -1
- package/dist/primitives/input/Button/Button.d.ts +2 -0
- package/dist/primitives/input/Button/internal/ButtonHotKeys.d.ts +5 -0
- package/dist/primitives/input/Button/types/ButtonColor.d.ts +1 -0
- package/dist/primitives/input/Button/types/ButtonProps.d.ts +18 -0
- package/dist/primitives/input/Button/types/ButtonSize.d.ts +1 -0
- package/dist/primitives/input/Button/types/ButtonVariant.d.ts +1 -0
- package/dist/primitives/input/ButtonGroup/ButtonGroup.d.ts +2 -0
- package/dist/primitives/input/ButtonGroup/internal/ButtonGroupContext.d.ts +2 -0
- package/dist/primitives/input/ButtonGroup/types/ButtonGroupProps.d.ts +3 -0
- package/dist/primitives/input/CardPicker/CardPicker.d.ts +2 -0
- package/dist/primitives/input/CardPicker/types/CardPickerProps.d.ts +2 -0
- package/dist/{input → primitives/input}/Checkbox/types/CheckboxProps.d.ts +8 -0
- package/dist/{input → primitives/input}/CodeEditor/utils/getBaseCodeEditorTheme.d.ts +1 -1
- package/dist/{input → primitives/input}/FloatingButton/FloatingButton.d.ts +1 -1
- package/dist/{input → primitives/input}/FloatingIconButton/FloatingIconButton.d.ts +1 -1
- package/dist/{input → primitives/input}/FloatingIconButtonGroup/FloatingIconButtonGroup.d.ts +1 -1
- package/dist/primitives/input/IconButton/IconButton.d.ts +16 -0
- package/dist/primitives/input/IconButton/types/IconButtonAccent.d.ts +1 -0
- package/dist/primitives/input/IconButton/types/IconButtonPosition.d.ts +1 -0
- package/dist/primitives/input/IconButton/types/IconButtonProps.d.ts +21 -0
- package/dist/primitives/input/IconButton/types/IconButtonSize.d.ts +1 -0
- package/dist/primitives/input/IconButton/types/IconButtonVariant.d.ts +1 -0
- package/dist/{input → primitives/input}/IconButtonGroup/IconButtonGroup.d.ts +1 -1
- package/dist/{input → primitives/input}/IconButtonWithTooltip/IconButtonWithTooltip.d.ts +3 -3
- package/dist/{input → primitives/input}/IconListViewGrip/IconListViewGrip.d.ts +1 -1
- package/dist/{input → primitives/input}/Input/types/InputProps.d.ts +1 -0
- package/dist/{input → primitives/input}/InputGroup/types/InputGroupProps.d.ts +3 -0
- package/dist/{input → primitives/input}/InputHint/InputHint.d.ts +1 -1
- package/dist/{input → primitives/input}/InputLabel/InputLabel.d.ts +1 -1
- package/dist/{input → primitives/input}/InsideButton/InsideButton.d.ts +1 -1
- package/dist/{input → primitives/input}/LightIconButton/LightIconButton.d.ts +1 -1
- package/dist/{input → primitives/input}/LightIconButtonGroup/LightIconButtonGroup.d.ts +1 -1
- package/dist/primitives/input/Radio/Radio.d.ts +2 -0
- package/dist/primitives/input/Radio/types/RadioProps.d.ts +5 -0
- package/dist/primitives/input/RadioGroup/RadioGroup.d.ts +2 -0
- package/dist/primitives/input/RadioGroup/types/RadioGroupProps.d.ts +2 -0
- package/dist/{input → primitives/input}/RoundedIconButton/RoundedIconButton.d.ts +1 -1
- package/dist/{input → primitives/input}/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/{input → primitives/input}/Select/types/SelectPopupProps.d.ts +4 -0
- package/dist/{input → primitives/input}/Select/types/SelectTriggerProps.d.ts +1 -0
- package/dist/{input → primitives/input}/Slider/types/SliderRootProps.d.ts +1 -0
- package/dist/{input → primitives/input}/Switch/types/SwitchProps.d.ts +1 -0
- package/dist/{input → primitives/input}/TabButton/TabButton.d.ts +1 -1
- package/dist/{input → primitives/input}/TabButton/parts/TabContent.d.ts +1 -1
- package/dist/{input → primitives/input}/Textarea/types/TextareaProps.d.ts +11 -0
- package/dist/{input → primitives/input}/index.d.ts +15 -11
- package/dist/{input → primitives/input}/types/SelectOption.d.ts +4 -2
- package/dist/primitives/input.cjs +1 -0
- package/dist/primitives/input.mjs +45 -0
- package/dist/{json-visualizer → primitives/json-visualizer}/components/JsonNestedNode.d.ts +1 -1
- package/dist/{json-visualizer → primitives/json-visualizer}/components/JsonValueNode.d.ts +1 -1
- package/dist/{json-visualizer → primitives/json-visualizer}/components/internal/JsonNodeLabel.d.ts +1 -1
- package/dist/{json-visualizer → primitives/json-visualizer}/types/JsonNodeHighlighting.d.ts +1 -1
- package/dist/primitives/json-visualizer.cjs +1 -0
- package/dist/{json-visualizer.mjs → primitives/json-visualizer.mjs} +1 -1
- package/dist/{layout → primitives/layout}/AnimatedEaseIn/AnimatedEaseIn.d.ts +1 -1
- package/dist/{layout → primitives/layout}/AnimatedEaseInOut/AnimatedEaseInOut.d.ts +1 -1
- package/dist/{layout → primitives/layout}/AnimatedIconCrossfade/AnimatedIconCrossfade.d.ts +1 -1
- package/dist/{layout → primitives/layout}/AnimatedRotate/AnimatedRotate.d.ts +1 -1
- package/dist/primitives/layout/TextDirectionProvider/TextDirectionProvider.d.ts +7 -0
- package/dist/{layout → primitives/layout}/index.d.ts +1 -0
- package/dist/primitives/layout.cjs +1 -0
- package/dist/primitives/layout.mjs +20 -0
- package/dist/primitives/navigation/ListItem/types/ListItemProps.d.ts +44 -0
- package/dist/{navigation → primitives/navigation}/MenuItem/MenuItem.d.ts +3 -3
- package/dist/{navigation → primitives/navigation}/MenuItem/constants/DefaultColorLabels.d.ts +1 -1
- package/dist/{navigation → primitives/navigation}/MenuItem/parts/MenuItemIcon.d.ts +2 -2
- package/dist/{navigation → primitives/navigation}/MenuItem/parts/MenuItemIconWithGripSwap.d.ts +2 -2
- package/dist/{navigation → primitives/navigation}/MenuItem/parts/MenuItemLeftContent.d.ts +2 -2
- package/dist/{navigation → primitives/navigation}/MenuItemAvatar/MenuItemAvatar.d.ts +2 -2
- package/dist/{navigation → primitives/navigation}/MenuItemDraggable/MenuItemDraggable.d.ts +1 -1
- package/dist/{navigation → primitives/navigation}/MenuItemMultiSelect/MenuItemMultiSelect.d.ts +2 -2
- package/dist/{navigation → primitives/navigation}/MenuItemMultiSelectTag/MenuItemMultiSelectTag.d.ts +2 -2
- package/dist/{navigation → primitives/navigation}/MenuItemNavigate/MenuItemNavigate.d.ts +1 -1
- package/dist/{navigation → primitives/navigation}/MenuItemSelect/MenuItemSelect.d.ts +4 -3
- package/dist/{navigation → primitives/navigation}/MenuItemSelectColor/MenuItemSelectColor.d.ts +1 -1
- package/dist/{navigation → primitives/navigation}/MenuItemSelectTag/MenuItemSelectTag.d.ts +3 -3
- package/dist/{navigation → primitives/navigation}/MenuItemSuggestion/MenuItemSuggestion.d.ts +1 -1
- package/dist/{navigation → primitives/navigation}/MenuItemSwitch/MenuItemSwitch.d.ts +2 -2
- package/dist/{navigation → primitives/navigation}/MenuPicker/MenuPicker.d.ts +1 -1
- package/dist/{navigation → primitives/navigation}/NavigationBar/NavigationBar.d.ts +1 -1
- package/dist/{navigation → primitives/navigation}/NavigationBarItem/NavigationBarItem.d.ts +1 -1
- package/dist/{navigation → primitives/navigation}/Tabs/types/TabsTabProps.d.ts +3 -0
- package/dist/primitives/navigation.cjs +1 -0
- package/dist/{navigation.mjs → primitives/navigation.mjs} +3 -3
- package/dist/{surfaces → primitives/surfaces}/AlertDialog/types/AlertDialogPopupProps.d.ts +6 -0
- package/dist/{surfaces → primitives/surfaces}/AppTooltip/AppTooltip.d.ts +1 -1
- package/dist/{surfaces → primitives/surfaces}/Menu/internal/getMenuListItemProps.d.ts +1 -1
- package/dist/primitives/surfaces/Menu/types/MenuPopupProps.d.ts +31 -0
- package/dist/primitives/surfaces/Popover/types/PopoverPopupProps.d.ts +24 -0
- package/dist/primitives/surfaces.cjs +1 -0
- package/dist/{surfaces.mjs → primitives/surfaces.mjs} +2 -2
- package/dist/{typography → primitives/typography}/Text/Text.d.ts +8 -0
- package/dist/primitives/typography.cjs +1 -0
- package/dist/{typography.mjs → primitives/typography.mjs} +2 -2
- package/dist/primitives.cjs +1 -0
- package/dist/primitives.mjs +201 -0
- package/dist/style.css +1 -1
- package/dist/{surfaces-CMiB6au_.js → surfaces-B8zw9F5W.js} +111 -111
- package/dist/surfaces-ec8RlQ5J.cjs +1 -0
- package/dist/testing.cjs +1 -1
- package/dist/testing.mjs +2 -2
- package/dist/theme/constants/ThemeLight.d.ts +1 -0
- package/dist/{theme-DWGWo1te.js → theme-OwFrow8b.js} +2 -0
- package/dist/theme-YHfZnD2U.cjs +1 -0
- package/dist/theme-constants/themeCssVariables.d.ts +1 -0
- package/dist/theme-constants/themeTypes.d.ts +1 -0
- package/dist/{theme-constants-Bpkh40Q_.js → theme-constants-DETwIS-a.js} +2 -1
- package/dist/theme-constants-Do_FO7Uy.cjs +1 -0
- package/dist/theme-constants.cjs +1 -1
- package/dist/theme-constants.mjs +1 -1
- package/dist/theme-dark.css +1 -0
- package/dist/theme-light.css +1 -0
- package/dist/theme.cjs +1 -1
- package/dist/theme.mjs +1 -1
- package/dist/{typography-BdBVEyRT.js → typography-CaY1Dwdi.js} +2 -2
- package/dist/{typography-PhK1tL-t.cjs → typography-Rw7ZDHyn.cjs} +1 -1
- package/dist/useResizeHandle-BsV5UEJk.cjs +1 -0
- package/dist/useResizeHandle-CCRiw9Fi.js +37 -0
- package/dist/utilities/utils/getDisplayValueByUrlType.d.ts +1 -1
- package/dist/{utilities-CXHvN7E8.cjs → utilities-DmbkuukL.cjs} +1 -1
- package/dist/{utilities-Ba96imFW.js → utilities-kvjM4sIB.js} +2 -2
- package/dist/utilities.cjs +1 -1
- package/dist/utilities.mjs +2 -2
- package/package.json +82 -64
- package/dist/HorizontalSeparator-B0KT6025.js +0 -70
- package/dist/HorizontalSeparator-BxdfXfBV.cjs +0 -1
- package/dist/accessibility.cjs +0 -1
- package/dist/accessibility.mjs +0 -7
- package/dist/data-display/Avatar/Avatar.d.ts +0 -20
- package/dist/data-display/Avatar/internal/AvatarImageLoadErrorEffect.d.ts +0 -5
- package/dist/data-display/Avatar/types/AvatarType.d.ts +0 -1
- package/dist/data-display/AvatarOrIcon/AvatarOrIcon.d.ts +0 -15
- package/dist/data-display/Chip/Chip.d.ts +0 -38
- package/dist/data-display/LinkChip/LinkChip.d.ts +0 -11
- package/dist/data-display/Status/Status.d.ts +0 -11
- package/dist/data-display/Tag/Tag.d.ts +0 -18
- package/dist/data-display-BuIrNSR6.cjs +0 -1
- package/dist/data-display-CID60EMx.js +0 -473
- package/dist/data-display.cjs +0 -1
- package/dist/data-display.mjs +0 -29
- package/dist/feedback/AnimatedPlaceholder/AnimatedPlaceholder.d.ts +0 -8
- package/dist/feedback/Toast/types/ToastProps.d.ts +0 -17
- package/dist/feedback-0U5FcqFh.cjs +0 -1
- package/dist/feedback-4pPehd1L.js +0 -1961
- package/dist/feedback.cjs +0 -1
- package/dist/feedback.mjs +0 -26
- package/dist/input/Button/Button.d.ts +0 -31
- package/dist/input/Button/constant.d.ts +0 -1
- package/dist/input/Button/internal/ButtonHotKeys.d.ts +0 -7
- package/dist/input/Button/internal/ButtonIcon.d.ts +0 -5
- package/dist/input/Button/internal/ButtonText.d.ts +0 -5
- package/dist/input/ButtonGroup/ButtonGroup.d.ts +0 -7
- package/dist/input/CardPicker/CardPicker.d.ts +0 -8
- package/dist/input/IconButton/IconButton.d.ts +0 -22
- package/dist/input/LightButton/LightButton.d.ts +0 -15
- package/dist/input/MainButton/MainButton.d.ts +0 -17
- package/dist/input/Radio/Radio.d.ts +0 -32
- package/dist/input/RadioGroup/RadioGroup.d.ts +0 -8
- package/dist/input.cjs +0 -1
- package/dist/input.mjs +0 -49
- package/dist/json-visualizer.cjs +0 -1
- package/dist/layout-BZkTRAmh.cjs +0 -1
- package/dist/layout.cjs +0 -1
- package/dist/layout.mjs +0 -18
- package/dist/navigation/ListItem/types/ListItemProps.d.ts +0 -20
- package/dist/navigation-Bhhmuykh.cjs +0 -1
- package/dist/navigation-BtjiCRRV.js +0 -721
- package/dist/navigation.cjs +0 -1
- package/dist/surfaces/Menu/types/MenuPopupProps.d.ts +0 -12
- package/dist/surfaces/Popover/types/PopoverPopupProps.d.ts +0 -13
- package/dist/surfaces-BgMtsVvD.cjs +0 -1
- package/dist/surfaces.cjs +0 -1
- package/dist/theme-DLgF1kVO.cjs +0 -1
- package/dist/theme-constants-27fpVK7_.cjs +0 -1
- package/dist/typography.cjs +0 -1
- package/dist/{accessibility-DqRb9dOq.js → accessibility-C7H0m2Th.js} +1 -1
- /package/dist/{accessibility → primitives/accessibility}/components/VisibilityHidden.d.ts +0 -0
- /package/dist/{accessibility → primitives/accessibility}/components/VisibilityHiddenInput.d.ts +0 -0
- /package/dist/{accessibility → primitives/accessibility}/index.d.ts +0 -0
- /package/dist/{accessibility → primitives/accessibility}/utils/handleClickableElementKeyDown.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/AnimatedCheckmark/AnimatedCheckmark.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/Avatar/constants/AvatarPropertiesBySize.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/Avatar/types/AvatarSize.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/AvatarGroup/AvatarGroup.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/Checkmark/Checkmark.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/Chip/constants/LinkChipClickOutsideId.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/CommandBlock/CommandBlock.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/EllipsisDisplay/EllipsisDisplay.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/JsonDisplay/JsonDisplay.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/NotificationCounter/NotificationCounter.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/NumberDisplay/NumberDisplay.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/StyledTintedIconTileContainer/StyledTintedIconTileContainer.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/TextDisplay/TextDisplay.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/TintedIconTile/utils/getIconTileColorShades.d.ts +0 -0
- /package/dist/{feedback → primitives/feedback}/AnimatedPlaceholder/constants/Background.d.ts +0 -0
- /package/dist/{feedback → primitives/feedback}/AnimatedPlaceholder/constants/DarkBackground.d.ts +0 -0
- /package/dist/{feedback → primitives/feedback}/AnimatedPlaceholder/constants/DarkMovingImage.d.ts +0 -0
- /package/dist/{feedback → primitives/feedback}/AnimatedPlaceholder/constants/MovingImage.d.ts +0 -0
- /package/dist/{feedback → primitives/feedback}/Banner/Banner.d.ts +0 -0
- /package/dist/{feedback → primitives/feedback}/CircularProgressBar/CircularProgressBar.d.ts +0 -0
- /package/dist/{feedback → primitives/feedback}/EmptyPlaceholderStyled/EmptyPlaceholderStyled.d.ts +0 -0
- /package/dist/{feedback → primitives/feedback}/ErrorPlaceholderStyled/ErrorPlaceholderStyled.d.ts +0 -0
- /package/dist/{feedback → primitives/feedback}/Info/Info.d.ts +0 -0
- /package/dist/{feedback → primitives/feedback}/ProgressBar/ProgressBar.d.ts +0 -0
- /package/dist/{feedback → primitives/feedback}/SidePanelInformationBanner/SidePanelInformationBanner.d.ts +0 -0
- /package/dist/{feedback → primitives/feedback}/Toast/Toast.d.ts +0 -0
- /package/dist/{feedback → primitives/feedback}/Toast/types/ToastVariant.d.ts +0 -0
- /package/dist/{input → primitives/input}/Button/internal/ButtonSoon.d.ts +0 -0
- /package/dist/{input → primitives/input}/Checkbox/Checkbox.d.ts +0 -0
- /package/dist/{input → primitives/input}/Checkbox/types/CheckboxColor.d.ts +0 -0
- /package/dist/{input → primitives/input}/Checkbox/types/CheckboxShape.d.ts +0 -0
- /package/dist/{input → primitives/input}/Checkbox/types/CheckboxSize.d.ts +0 -0
- /package/dist/{input → primitives/input}/Checkbox/types/CheckboxVariant.d.ts +0 -0
- /package/dist/{input → primitives/input}/CodeEditor/CodeEditor.d.ts +0 -0
- /package/dist/{input → primitives/input}/CodeEditor/constants/BaseCodeEditorThemeId.d.ts +0 -0
- /package/dist/{input → primitives/input}/CodeEditorHeader/CodeEditorHeader.d.ts +0 -0
- /package/dist/{input → primitives/input}/ColorPickerButton/ColorPickerButton.d.ts +0 -0
- /package/dist/{input → primitives/input}/ColorSchemeCard/ColorSchemeCard.d.ts +0 -0
- /package/dist/{input → primitives/input}/ColorSchemePicker/ColorSchemePicker.d.ts +0 -0
- /package/dist/{input → primitives/input}/Field/Field.d.ts +0 -0
- /package/dist/{input → primitives/input}/Field/internal/FieldDescription.d.ts +0 -0
- /package/dist/{input → primitives/input}/Field/internal/FieldError.d.ts +0 -0
- /package/dist/{input → primitives/input}/Field/internal/FieldLabel.d.ts +0 -0
- /package/dist/{input → primitives/input}/FloatingButtonGroup/FloatingButtonGroup.d.ts +0 -0
- /package/dist/{input → primitives/input}/Input/Input.d.ts +0 -0
- /package/dist/{input → primitives/input}/InputGroup/InputGroup.d.ts +0 -0
- /package/dist/{input → primitives/input}/InputGroup/internal/InputGroupContext.d.ts +0 -0
- /package/dist/{input → primitives/input}/InputGroup/internal/isRenderableAdornment.d.ts +0 -0
- /package/dist/{input → primitives/input}/SearchInput/SearchInput.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/Select.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/__stories__/SelectExample.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/__stories__/waitForSelectPopup.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/internal/SelectGroupLabel.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/internal/SelectItem.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/internal/SelectPopup.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/internal/SelectSeparator.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/internal/SelectTrigger.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/internal/SelectValue.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/types/SelectGroupLabelProps.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/types/SelectGroupProps.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/types/SelectItemProps.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/types/SelectRootProps.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/types/SelectSeparatorProps.d.ts +0 -0
- /package/dist/{input → primitives/input}/Select/types/SelectValueProps.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/Slider.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/internal/SliderControl.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/internal/SliderIndicator.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/internal/SliderLabel.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/internal/SliderRoot.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/internal/SliderThumb.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/internal/SliderTrack.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/internal/SliderValue.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/types/SliderControlProps.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/types/SliderIndicatorProps.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/types/SliderLabelProps.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/types/SliderThumbProps.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/types/SliderTrackProps.d.ts +0 -0
- /package/dist/{input → primitives/input}/Slider/types/SliderValueProps.d.ts +0 -0
- /package/dist/{input → primitives/input}/Switch/Switch.d.ts +0 -0
- /package/dist/{input → primitives/input}/Switch/types/SwitchSize.d.ts +0 -0
- /package/dist/{input → primitives/input}/TabButton/parts/StyledTabBase.d.ts +0 -0
- /package/dist/{input → primitives/input}/Textarea/Textarea.d.ts +0 -0
- /package/dist/{input → primitives/input}/Textarea/internal/formatInlineBlockSize.d.ts +0 -0
- /package/dist/{input → primitives/input}/Textarea/internal/mergeRefs.d.ts +0 -0
- /package/dist/{input → primitives/input}/Textarea/internal/resizeTextareaToContent.d.ts +0 -0
- /package/dist/{input → primitives/input}/types/ColorScheme.d.ts +0 -0
- /package/dist/{input → primitives/input}/types/InputSize.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/components/JsonArrayNode.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/components/JsonNode.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/components/JsonObjectNode.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/components/JsonTree.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/components/JsonTreeContextProvider.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/components/internal/JsonArrow.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/components/internal/JsonList.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/components/internal/JsonListItem.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/components/internal/JsonNodeValue.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/contexts/JsonTreeContext.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/hooks/useJsonTreeContextOrThrow.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/index.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/types/GetJsonNodeHighlighting.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/utils/isArray.d.ts +0 -0
- /package/dist/{json-visualizer → primitives/json-visualizer}/utils/isTwoFirstDepths.d.ts +0 -0
- /package/dist/{layout → primitives/layout}/AnimatedCircleLoading/AnimatedCircleLoading.d.ts +0 -0
- /package/dist/{layout → primitives/layout}/AnimatedContainer/AnimatedContainer.d.ts +0 -0
- /package/dist/{layout → primitives/layout}/AnimatedExpandableContainer/AnimatedExpandableContainer.d.ts +0 -0
- /package/dist/{layout → primitives/layout}/AnimatedExpandableContainer/types/AnimationDimension.d.ts +0 -0
- /package/dist/{layout → primitives/layout}/AnimatedExpandableContainer/types/AnimationDurationObject.d.ts +0 -0
- /package/dist/{layout → primitives/layout}/AnimatedExpandableContainer/types/AnimationDurations.d.ts +0 -0
- /package/dist/{layout → primitives/layout}/AnimatedExpandableContainer/types/AnimationMode.d.ts +0 -0
- /package/dist/{layout → primitives/layout}/AnimatedExpandableContainer/types/AnimationSize.d.ts +0 -0
- /package/dist/{layout → primitives/layout}/AutogrowWrapper/AutogrowWrapper.d.ts +0 -0
- /package/dist/{layout → primitives/layout}/HorizontalSeparator/HorizontalSeparator.d.ts +0 -0
- /package/dist/{layout → primitives/layout}/ResizeHandle/ResizeHandle.d.ts +0 -0
- /package/dist/{layout → primitives/layout}/ResizeHandle/hooks/useResizeHandle.d.ts +0 -0
- /package/dist/{layout → primitives/layout}/Section/Section.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/ClickToActionLink/ClickToActionLink.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/ContactLink/ContactLink.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/GithubVersionLink/GithubVersionLink.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Link/constants/Cal.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Link/constants/GithubLink.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Link/constants/TwentyPricingLink.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/ListItem/ListItem.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/ListItem/internal/ListItemCheckboxIndicator.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/ListItem/internal/isRenderableSlot.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/ListItem/types/ListItemColor.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/ListItem/types/ListItemDescriptionPlacement.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/ListItem/types/ListItemIndicator.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/ListItem/types/ListItemState.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/MenuItem/parts/MenuItemIconBoxContainer.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/MenuItem/parts/MenuItemMultiSelectCheckbox.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/MenuItem/parts/StyledMenuItemBase.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/MenuItem/types/MenuItemAccent.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/MenuItem/types/MenuItemDraggableGripMode.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/MenuItemHotKeys/MenuItemHotKeys.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/MenuItemSelectAvatar/MenuItemSelectAvatar.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/RawLink/RawLink.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/RoundedLink/RoundedLink.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/SocialLink/LinkType.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/SocialLink/SocialLink.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/SocialLink/socialLinkProviders.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Tabs/Tabs.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Tabs/internal/TabsList.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Tabs/internal/TabsPanel.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Tabs/internal/TabsRoot.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Tabs/internal/TabsTab.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Tabs/internal/focusNextEnabledTab.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Tabs/internal/isRenderableSlot.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Tabs/types/TabsListProps.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Tabs/types/TabsPanelProps.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Tabs/types/TabsRootProps.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/Tabs/types/TabsSize.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/UndecoratedLink/UndecoratedLink.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/index.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/AlertDialog.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/__stories__/AlertDialogExample.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/__stories__/waitForAlertDialog.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/internal/AlertDialogBody.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/internal/AlertDialogDescription.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/internal/AlertDialogFooter.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/internal/AlertDialogHeader.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/internal/AlertDialogPopup.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/internal/AlertDialogTitle.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/types/AlertDialogBodyProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/types/AlertDialogCloseProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/types/AlertDialogDescriptionProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/types/AlertDialogFooterProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/types/AlertDialogHeaderProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/types/AlertDialogRootProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/types/AlertDialogSize.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/types/AlertDialogTitleProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/AlertDialog/types/AlertDialogTriggerProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Card/Card.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/CardContent/CardContent.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/CardFooter/CardFooter.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/CardHeader/CardHeader.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/Menu.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/internal/MenuCheckboxItem.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/internal/MenuGroup.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/internal/MenuGroupLabel.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/internal/MenuItem.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/internal/MenuNestingContext.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/internal/MenuPopup.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/internal/MenuPopupPositionDefaults.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/internal/MenuRadioGroup.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/internal/MenuRadioItem.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/internal/MenuSeparator.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/internal/MenuSubmenuRoot.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/internal/MenuSubmenuTrigger.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuActionItemProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuAlign.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuCheckboxItemProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuGroupLabelProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuGroupProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuItemSlotProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuRadioGroupProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuRadioItemProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuRootProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuSeparatorProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuSide.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuSubmenuRootProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuSubmenuTriggerProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Menu/types/MenuTriggerProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Modal/Modal.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Modal/types/ModalOverlay.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Modal/types/ModalPadding.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Modal/types/ModalProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Modal/types/ModalSize.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/ModalBackdrop/ModalBackdrop.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/ModalContent/ModalContent.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/ModalFooter/ModalFooter.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/ModalHeader/ModalHeader.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/OverflowingTextWithTooltip/OverflowingTextWithTooltip.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Popover/Popover.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Popover/internal/PopoverDescription.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Popover/internal/PopoverPopup.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Popover/internal/PopoverTitle.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Popover/types/PopoverAlign.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Popover/types/PopoverCloseProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Popover/types/PopoverDescriptionProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Popover/types/PopoverRootProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Popover/types/PopoverSide.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Popover/types/PopoverTitleProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/Popover/types/PopoverTriggerProps.d.ts +0 -0
- /package/dist/{surfaces → primitives/surfaces}/index.d.ts +0 -0
- /package/dist/{typography → primitives/typography}/H1Title/H1Title.d.ts +0 -0
- /package/dist/{typography → primitives/typography}/H2Title/H2Title.d.ts +0 -0
- /package/dist/{typography → primitives/typography}/H3Title/H3Title.d.ts +0 -0
- /package/dist/{typography → primitives/typography}/Label/Label.d.ts +0 -0
- /package/dist/{typography → primitives/typography}/LinkifiedText/LinkifiedText.d.ts +0 -0
- /package/dist/{typography → primitives/typography}/SeparatorLineText/SeparatorLineText.d.ts +0 -0
- /package/dist/{typography → primitives/typography}/StyledText/StyledText.d.ts +0 -0
- /package/dist/{typography → primitives/typography}/index.d.ts +0 -0
|
@@ -0,0 +1,660 @@
|
|
|
1
|
+
import { n as ie, r as D, s as m, t as se } from "./theme-constants-DETwIS-a.js";
|
|
2
|
+
import { t as C } from "./Button-u4e3zI-a.js";
|
|
3
|
+
import { Ei as w, hs as ce, i as A, pc as V, ui as le } from "./TablerIcons-Ctfi8z4q.js";
|
|
4
|
+
import { n as de, t as ge } from "./OverflowingTextWithTooltip-C21bgWKF.js";
|
|
5
|
+
import { A as G } from "./input-DOIOurw8.js";
|
|
6
|
+
import { t as me } from "./HorizontalSeparator-p1xF1-ka.js";
|
|
7
|
+
import { clsx as c } from "clsx";
|
|
8
|
+
import { createContext as _e, useContext as ue, useEffect as pe, useId as ve, useLayoutEffect as K, useMemo as he, useRef as X, useState as M } from "react";
|
|
9
|
+
import { isNonEmptyArray as be, isPositiveInteger as fe } from "@sniptt/guards";
|
|
10
|
+
import { Fragment as T, jsx as a, jsxs as u } from "react/jsx-runtime";
|
|
11
|
+
import { Link as ke } from "react-router-dom";
|
|
12
|
+
import { useRender as U } from "@base-ui/react/use-render";
|
|
13
|
+
import { createPortal as Ce } from "react-dom";
|
|
14
|
+
import { useDirection as Te } from "@base-ui/react/direction-provider";
|
|
15
|
+
import { Progress as L } from "@base-ui/react/progress";
|
|
16
|
+
import { Store as Ne, useStore as ye } from "@base-ui/utils/store";
|
|
17
|
+
var Ie = {
|
|
18
|
+
noFile: "/images/placeholders/background/no_file_bg.png",
|
|
19
|
+
noNote: "/images/placeholders/background/no_note_bg.png",
|
|
20
|
+
noRecord: "/images/placeholders/background/no_record_bg.png",
|
|
21
|
+
noMatchRecord: "/images/placeholders/background/no_match_record_bg.png",
|
|
22
|
+
noTask: "/images/placeholders/background/no_task_bg.png",
|
|
23
|
+
errorIndex: "/images/placeholders/background/error_index_bg.png",
|
|
24
|
+
emptyTimeline: "/images/placeholders/background/empty_timeline_bg.png",
|
|
25
|
+
loadingMessages: "/images/placeholders/background/loading_messages_bg.png",
|
|
26
|
+
loadingAccounts: "/images/placeholders/background/loading_accounts_bg.png",
|
|
27
|
+
emptyFunctions: "/images/placeholders/background/empty_functions_bg.png",
|
|
28
|
+
emptyInbox: "/images/placeholders/background/empty_inbox_bg.png",
|
|
29
|
+
error404: "/images/placeholders/background/404_bg.png",
|
|
30
|
+
error500: "/images/placeholders/background/500_bg.png",
|
|
31
|
+
noDeletedRecord: "/images/placeholders/background/no_deleted_record_bg.png",
|
|
32
|
+
noWidgets: "/images/placeholders/background/no_widgets_bg.png",
|
|
33
|
+
notShared: "/images/placeholders/background/not_shared_bg.png",
|
|
34
|
+
noCallRecording: "/images/placeholders/background/no_call_recording_bg.png"
|
|
35
|
+
}, xe = {
|
|
36
|
+
noFile: "/images/placeholders/dark-background/no_file_bg.png",
|
|
37
|
+
noNote: "/images/placeholders/dark-background/no_note_bg.png",
|
|
38
|
+
noRecord: "/images/placeholders/dark-background/no_record_bg.png",
|
|
39
|
+
noMatchRecord: "/images/placeholders/dark-background/no_match_record_bg.png",
|
|
40
|
+
noTask: "/images/placeholders/dark-background/no_task_bg.png",
|
|
41
|
+
errorIndex: "/images/placeholders/dark-background/error_index_bg.png",
|
|
42
|
+
emptyTimeline: "/images/placeholders/dark-background/empty_timeline_bg.png",
|
|
43
|
+
emptyInbox: "/images/placeholders/dark-background/empty_inbox_bg.png",
|
|
44
|
+
error404: "/images/placeholders/dark-background/404_bg.png",
|
|
45
|
+
error500: "/images/placeholders/dark-background/500_bg.png",
|
|
46
|
+
loadingMessages: "/images/placeholders/background/loading_messages_bg.png",
|
|
47
|
+
loadingAccounts: "/images/placeholders/background/loading_accounts_bg.png",
|
|
48
|
+
emptyFunctions: "/images/placeholders/dark-background/empty_functions_bg.png",
|
|
49
|
+
noDeletedRecord: "/images/placeholders/dark-background/no_deleted_record_bg.png",
|
|
50
|
+
noWidgets: "/images/placeholders/dark-background/no_widgets_bg.png",
|
|
51
|
+
notShared: "/images/placeholders/dark-background/not_shared_bg.png",
|
|
52
|
+
noCallRecording: "/images/placeholders/dark-background/no_call_recording_bg.png"
|
|
53
|
+
}, Ae = {
|
|
54
|
+
noFile: "/images/placeholders/dark-moving-image/no_file.png",
|
|
55
|
+
noNote: "/images/placeholders/dark-moving-image/no_note.png",
|
|
56
|
+
noRecord: "/images/placeholders/dark-moving-image/no_record.png",
|
|
57
|
+
noMatchRecord: "/images/placeholders/dark-moving-image/no_match_record.png",
|
|
58
|
+
noTask: "/images/placeholders/dark-moving-image/no_task.png",
|
|
59
|
+
errorIndex: "/images/placeholders/dark-moving-image/error_index.png",
|
|
60
|
+
emptyTimeline: "/images/placeholders/dark-moving-image/empty_timeline.png",
|
|
61
|
+
emptyInbox: "/images/placeholders/dark-moving-image/empty_inbox.png",
|
|
62
|
+
error404: "/images/placeholders/dark-moving-image/404.png",
|
|
63
|
+
error500: "/images/placeholders/dark-moving-image/500.png",
|
|
64
|
+
loadingMessages: "/images/placeholders/moving-image/loading_messages.png",
|
|
65
|
+
loadingAccounts: "/images/placeholders/moving-image/loading_accounts.png",
|
|
66
|
+
emptyFunctions: "/images/placeholders/dark-moving-image/empty_functions.png",
|
|
67
|
+
noDeletedRecord: "/images/placeholders/dark-moving-image/no_deleted_record.png",
|
|
68
|
+
noWidgets: "/images/placeholders/dark-moving-image/no_widgets.png",
|
|
69
|
+
notShared: "/images/placeholders/dark-moving-image/not_shared.png",
|
|
70
|
+
noCallRecording: "/images/placeholders/dark-moving-image/no_call_recording.png"
|
|
71
|
+
}, we = {
|
|
72
|
+
noFile: "/images/placeholders/moving-image/no_file.png",
|
|
73
|
+
noNote: "/images/placeholders/moving-image/no_note.png",
|
|
74
|
+
noRecord: "/images/placeholders/moving-image/no_record.png",
|
|
75
|
+
noMatchRecord: "/images/placeholders/moving-image/no_match_record.png",
|
|
76
|
+
noTask: "/images/placeholders/moving-image/no_task.png",
|
|
77
|
+
errorIndex: "/images/placeholders/moving-image/error_index.png",
|
|
78
|
+
emptyTimeline: "/images/placeholders/moving-image/empty_timeline.png",
|
|
79
|
+
loadingMessages: "/images/placeholders/moving-image/loading_messages.png",
|
|
80
|
+
loadingAccounts: "/images/placeholders/moving-image/loading_accounts.png",
|
|
81
|
+
emptyFunctions: "/images/placeholders/moving-image/empty_functions.png",
|
|
82
|
+
emptyInbox: "/images/placeholders/moving-image/empty_inbox.png",
|
|
83
|
+
error404: "/images/placeholders/moving-image/404.png",
|
|
84
|
+
error500: "/images/placeholders/moving-image/500.png",
|
|
85
|
+
noDeletedRecord: "/images/placeholders/moving-image/no_deleted_record.png",
|
|
86
|
+
noWidgets: "/images/placeholders/moving-image/no_widgets.png",
|
|
87
|
+
notShared: "/images/placeholders/moving-image/not_shared.png",
|
|
88
|
+
noCallRecording: "/images/placeholders/moving-image/no_call_recording.png"
|
|
89
|
+
}, Se = "_container_c2ldr_1", Ee = "_backgroundImage_c2ldr_9", Pe = "_backgroundImageLarge_c2ldr_14", Re = "_movingImage_c2ldr_19", Be = "_movingImageLarge_c2ldr_28", b = {
|
|
90
|
+
container: Se,
|
|
91
|
+
backgroundImage: Ee,
|
|
92
|
+
backgroundImageLarge: Pe,
|
|
93
|
+
movingImage: Re,
|
|
94
|
+
movingImageLarge: Be
|
|
95
|
+
}, y = 2, Na = ({ type: e, assetBasePath: r = "" }) => {
|
|
96
|
+
const n = ie(), o = X(null);
|
|
97
|
+
pe(() => {
|
|
98
|
+
const i = o.current;
|
|
99
|
+
if (i === null) return;
|
|
100
|
+
const g = (s, v) => {
|
|
101
|
+
i.style.setProperty("--parallax-x", `${s}px`), i.style.setProperty("--parallax-y", `${v}px`);
|
|
102
|
+
}, l = (s) => {
|
|
103
|
+
const v = "touches" in s ? s.touches[0].clientX : s.clientX, h = "touches" in s ? s.touches[0].clientY : s.clientY;
|
|
104
|
+
g(v / window.innerWidth * 2 * y - y, h / window.innerHeight * 2 * y - y);
|
|
105
|
+
}, _ = () => {
|
|
106
|
+
g(0, 0);
|
|
107
|
+
};
|
|
108
|
+
return window.addEventListener("mousemove", l), window.addEventListener("touchmove", l), window.document.addEventListener("mouseleave", _), () => {
|
|
109
|
+
window.removeEventListener("mousemove", l), window.removeEventListener("touchmove", l), window.document.removeEventListener("mouseleave", _);
|
|
110
|
+
};
|
|
111
|
+
}, []);
|
|
112
|
+
const t = e === "error500" || e === "error404";
|
|
113
|
+
return /* @__PURE__ */ u("div", {
|
|
114
|
+
className: b.container,
|
|
115
|
+
children: [/* @__PURE__ */ a("img", {
|
|
116
|
+
src: `${r}${n === "dark" ? xe[e] : Ie[e]}`,
|
|
117
|
+
alt: "",
|
|
118
|
+
className: c(b.backgroundImage, t && b.backgroundImageLarge)
|
|
119
|
+
}), /* @__PURE__ */ a("img", {
|
|
120
|
+
ref: o,
|
|
121
|
+
src: `${r}${n === "dark" ? Ae[e] : we[e]}`,
|
|
122
|
+
alt: "",
|
|
123
|
+
className: c(b.movingImage, t && b.movingImageLarge)
|
|
124
|
+
})]
|
|
125
|
+
});
|
|
126
|
+
}, Le = "_banner_i03ag_1", je = "_primaryBlue_i03ag_17", We = "_primaryDanger_i03ag_23", De = "_secondaryBlue_i03ag_29", Me = "_secondaryDanger_i03ag_35", f = {
|
|
127
|
+
banner: Le,
|
|
128
|
+
primaryBlue: je,
|
|
129
|
+
primaryDanger: We,
|
|
130
|
+
secondaryBlue: De,
|
|
131
|
+
secondaryDanger: Me
|
|
132
|
+
}, $e = {
|
|
133
|
+
primary: {
|
|
134
|
+
blue: f.primaryBlue,
|
|
135
|
+
danger: f.primaryDanger
|
|
136
|
+
},
|
|
137
|
+
secondary: {
|
|
138
|
+
blue: f.secondaryBlue,
|
|
139
|
+
danger: f.secondaryDanger
|
|
140
|
+
}
|
|
141
|
+
}, ze = ({ color: e = "blue", variant: r = "primary", className: n, children: o }) => /* @__PURE__ */ a("div", {
|
|
142
|
+
className: c(f.banner, $e[r][e], n),
|
|
143
|
+
children: o
|
|
144
|
+
}), Fe = "_container_1o484_1", Oe = "_containerInfo_1o484_14", qe = "_containerWarning_1o484_19", Ve = "_containerSuccess_1o484_24", Ge = "_containerError_1o484_29", Ke = "_containerNeutral_1o484_34", Xe = "_header_1o484_39", Ue = "_iconContainer_1o484_48", He = "_iconContainerInfo_1o484_57", Ye = "_iconContainerWarning_1o484_61", Je = "_iconContainerSuccess_1o484_65", Qe = "_iconContainerError_1o484_69", Ze = "_iconContainerNeutral_1o484_73", er = "_title_1o484_77", rr = "_descriptionWrapper_1o484_89", ar = "_descriptionWrapperWithAction_1o484_97", or = "_description_1o484_89", nr = "_footer_1o484_110", d = {
|
|
145
|
+
container: Fe,
|
|
146
|
+
containerInfo: Oe,
|
|
147
|
+
containerWarning: qe,
|
|
148
|
+
containerSuccess: Ve,
|
|
149
|
+
containerError: Ge,
|
|
150
|
+
containerNeutral: Ke,
|
|
151
|
+
header: Xe,
|
|
152
|
+
iconContainer: Ue,
|
|
153
|
+
iconContainerInfo: He,
|
|
154
|
+
iconContainerWarning: Ye,
|
|
155
|
+
iconContainerSuccess: Je,
|
|
156
|
+
iconContainerError: Qe,
|
|
157
|
+
iconContainerNeutral: Ze,
|
|
158
|
+
title: er,
|
|
159
|
+
descriptionWrapper: rr,
|
|
160
|
+
descriptionWrapperWithAction: ar,
|
|
161
|
+
description: or,
|
|
162
|
+
footer: nr
|
|
163
|
+
}, tr = {
|
|
164
|
+
info: d.containerInfo,
|
|
165
|
+
warning: d.containerWarning,
|
|
166
|
+
error: d.containerError,
|
|
167
|
+
neutral: d.containerNeutral,
|
|
168
|
+
success: d.containerSuccess
|
|
169
|
+
}, ir = {
|
|
170
|
+
info: d.iconContainerInfo,
|
|
171
|
+
warning: d.iconContainerWarning,
|
|
172
|
+
error: d.iconContainerError,
|
|
173
|
+
neutral: d.iconContainerNeutral,
|
|
174
|
+
success: d.iconContainerSuccess
|
|
175
|
+
}, ya = ({ variant: e, title: r, description: n, Icon: o = le, action: t, isClosable: i = !1, onClose: g }) => {
|
|
176
|
+
const [l, _] = M(!0), s = () => {
|
|
177
|
+
i && (_(!1), g?.());
|
|
178
|
+
};
|
|
179
|
+
return l ? /* @__PURE__ */ u("div", {
|
|
180
|
+
className: c(d.container, tr[e]),
|
|
181
|
+
children: [
|
|
182
|
+
/* @__PURE__ */ u("div", {
|
|
183
|
+
className: d.header,
|
|
184
|
+
children: [
|
|
185
|
+
/* @__PURE__ */ a("div", {
|
|
186
|
+
className: c(d.iconContainer, ir[e]),
|
|
187
|
+
children: /* @__PURE__ */ a(o, { size: 16 })
|
|
188
|
+
}),
|
|
189
|
+
/* @__PURE__ */ a("div", {
|
|
190
|
+
className: d.title,
|
|
191
|
+
children: r
|
|
192
|
+
}),
|
|
193
|
+
i && /* @__PURE__ */ a(G, {
|
|
194
|
+
Icon: V,
|
|
195
|
+
size: "small",
|
|
196
|
+
"aria-label": "Close",
|
|
197
|
+
onClick: s
|
|
198
|
+
})
|
|
199
|
+
]
|
|
200
|
+
}),
|
|
201
|
+
/* @__PURE__ */ a("div", {
|
|
202
|
+
className: c(d.descriptionWrapper, m(t) && d.descriptionWrapperWithAction),
|
|
203
|
+
children: /* @__PURE__ */ a("div", {
|
|
204
|
+
className: d.description,
|
|
205
|
+
children: n
|
|
206
|
+
})
|
|
207
|
+
}),
|
|
208
|
+
m(t) && /* @__PURE__ */ a("div", {
|
|
209
|
+
className: d.footer,
|
|
210
|
+
children: /* @__PURE__ */ a(C, {
|
|
211
|
+
type: "button",
|
|
212
|
+
onClick: t.onClick,
|
|
213
|
+
size: "sm",
|
|
214
|
+
variant: "ghost",
|
|
215
|
+
style: { fontWeight: "var(--t-font-weight-regular)" },
|
|
216
|
+
children: t.label
|
|
217
|
+
})
|
|
218
|
+
})
|
|
219
|
+
]
|
|
220
|
+
}) : null;
|
|
221
|
+
}, sr = "_svg_5jxqf_1", cr = "_circularProgressBarRotate_5jxqf_1", lr = "_circle_5jxqf_6", dr = "_circularProgressBarDash_5jxqf_1", F = {
|
|
222
|
+
svg: sr,
|
|
223
|
+
circularProgressBarRotate: cr,
|
|
224
|
+
circle: lr,
|
|
225
|
+
circularProgressBarDash: dr
|
|
226
|
+
}, Ia = ({ size: e = 50, barWidth: r = 5, barColor: n = "currentColor" }) => /* @__PURE__ */ a("svg", {
|
|
227
|
+
className: F.svg,
|
|
228
|
+
width: e,
|
|
229
|
+
height: e,
|
|
230
|
+
children: /* @__PURE__ */ a("circle", {
|
|
231
|
+
className: F.circle,
|
|
232
|
+
cx: e / 2,
|
|
233
|
+
cy: e / 2,
|
|
234
|
+
r: e / 2 - r,
|
|
235
|
+
fill: "none",
|
|
236
|
+
stroke: n,
|
|
237
|
+
strokeWidth: r,
|
|
238
|
+
strokeLinecap: "round",
|
|
239
|
+
pathLength: 100
|
|
240
|
+
})
|
|
241
|
+
}), gr = "_emptyContainer_ftzrt_1", mr = "_emptyPlaceholderFadeIn_ftzrt_1", _r = "_emptyTextContainer_ftzrt_21", ur = "_emptyTitle_ftzrt_31", pr = "_emptySubTitle_ftzrt_37", S = {
|
|
242
|
+
emptyContainer: gr,
|
|
243
|
+
emptyPlaceholderFadeIn: mr,
|
|
244
|
+
emptyTextContainer: _r,
|
|
245
|
+
emptyTitle: ur,
|
|
246
|
+
emptySubTitle: pr
|
|
247
|
+
}, xa = ({ children: e, className: r, width: n }) => /* @__PURE__ */ a("div", {
|
|
248
|
+
className: c(S.emptyContainer, r),
|
|
249
|
+
style: m(n) ? { width: `${n}px` } : void 0,
|
|
250
|
+
children: e
|
|
251
|
+
}), Aa = ({ className: e, ...r }) => /* @__PURE__ */ a("div", {
|
|
252
|
+
className: c(S.emptyTextContainer, e),
|
|
253
|
+
...r
|
|
254
|
+
}), wa = ({ className: e, ...r }) => /* @__PURE__ */ a("div", {
|
|
255
|
+
className: c(S.emptyTitle, e),
|
|
256
|
+
...r
|
|
257
|
+
}), Sa = ({ className: e, ...r }) => /* @__PURE__ */ a("div", {
|
|
258
|
+
className: c(S.emptySubTitle, e),
|
|
259
|
+
...r
|
|
260
|
+
}), vr = "_errorContainer_5ujop_1", hr = "_errorTextContainer_5ujop_12", br = "_errorTitle_5ujop_22", fr = "_errorSubTitle_5ujop_29", E = {
|
|
261
|
+
errorContainer: vr,
|
|
262
|
+
errorTextContainer: hr,
|
|
263
|
+
errorTitle: br,
|
|
264
|
+
errorSubTitle: fr
|
|
265
|
+
}, Ea = ({ className: e, ...r }) => /* @__PURE__ */ a("div", {
|
|
266
|
+
className: c(E.errorContainer, e),
|
|
267
|
+
...r
|
|
268
|
+
}), Pa = ({ className: e, ...r }) => /* @__PURE__ */ a("div", {
|
|
269
|
+
className: c(E.errorTextContainer, e),
|
|
270
|
+
...r
|
|
271
|
+
}), Ra = ({ className: e, ...r }) => /* @__PURE__ */ a("div", {
|
|
272
|
+
className: c(E.errorTitle, e),
|
|
273
|
+
...r
|
|
274
|
+
}), Ba = ({ className: e, ...r }) => /* @__PURE__ */ a("div", {
|
|
275
|
+
className: c(E.errorSubTitle, e),
|
|
276
|
+
...r
|
|
277
|
+
}), kr = "_info_phgej_1", Cr = "_accentBlue_phgej_14", Tr = "_accentDanger_phgej_19", Nr = "_textContainer_phgej_24", yr = "_linkContainer_phgej_33", k = {
|
|
278
|
+
info: kr,
|
|
279
|
+
accentBlue: Cr,
|
|
280
|
+
accentDanger: Tr,
|
|
281
|
+
textContainer: Nr,
|
|
282
|
+
linkContainer: yr
|
|
283
|
+
}, Ir = {
|
|
284
|
+
blue: k.accentBlue,
|
|
285
|
+
danger: k.accentDanger
|
|
286
|
+
}, La = ({ accent: e = "blue", text: r, buttonTitle: n, onClick: o, to: t }) => {
|
|
287
|
+
const i = D();
|
|
288
|
+
return /* @__PURE__ */ u("div", {
|
|
289
|
+
className: c(k.info, Ir[e]),
|
|
290
|
+
children: [
|
|
291
|
+
/* @__PURE__ */ u("div", {
|
|
292
|
+
className: k.textContainer,
|
|
293
|
+
children: [/* @__PURE__ */ a(w, { size: i.icon.size.md }), r]
|
|
294
|
+
}),
|
|
295
|
+
n && t && /* @__PURE__ */ a("span", {
|
|
296
|
+
className: k.linkContainer,
|
|
297
|
+
children: /* @__PURE__ */ a(C, {
|
|
298
|
+
render: /* @__PURE__ */ a(ke, { to: t }),
|
|
299
|
+
nativeButton: !1,
|
|
300
|
+
role: "link",
|
|
301
|
+
size: "sm",
|
|
302
|
+
variant: "outline",
|
|
303
|
+
color: e === "blue" ? "accent" : "danger",
|
|
304
|
+
children: n
|
|
305
|
+
})
|
|
306
|
+
}),
|
|
307
|
+
n && o && !t && /* @__PURE__ */ a(C, {
|
|
308
|
+
onClick: o,
|
|
309
|
+
size: "sm",
|
|
310
|
+
variant: "outline",
|
|
311
|
+
color: e === "blue" ? "accent" : "danger",
|
|
312
|
+
children: n
|
|
313
|
+
})
|
|
314
|
+
]
|
|
315
|
+
});
|
|
316
|
+
}, xr = "_banner_j76tb_1", Ar = "_embedded_j76tb_6", wr = "_bannerContent_j76tb_10", Sr = "_bannerText_j76tb_21", I = {
|
|
317
|
+
banner: xr,
|
|
318
|
+
embedded: Ar,
|
|
319
|
+
bannerContent: wr,
|
|
320
|
+
bannerText: Sr
|
|
321
|
+
}, ja = ({ color: e, message: r, embedded: n = !1, button: o, LeftIcon: t = w, className: i }) => {
|
|
322
|
+
const g = D();
|
|
323
|
+
return /* @__PURE__ */ u(ze, {
|
|
324
|
+
className: c(I.banner, n && I.embedded, i),
|
|
325
|
+
color: e,
|
|
326
|
+
variant: "secondary",
|
|
327
|
+
children: [/* @__PURE__ */ u("div", {
|
|
328
|
+
className: I.bannerContent,
|
|
329
|
+
children: [/* @__PURE__ */ a(t, { size: g.icon.size.md }), /* @__PURE__ */ a("div", {
|
|
330
|
+
className: I.bannerText,
|
|
331
|
+
children: /* @__PURE__ */ a(ge, {
|
|
332
|
+
isFocusable: !0,
|
|
333
|
+
text: /* @__PURE__ */ a(T, { children: r }),
|
|
334
|
+
tooltipContent: r
|
|
335
|
+
})
|
|
336
|
+
})]
|
|
337
|
+
}), o && !o.hidden && /* @__PURE__ */ a(C, {
|
|
338
|
+
size: "sm",
|
|
339
|
+
onClick: o?.onClick,
|
|
340
|
+
disabled: o.disabled,
|
|
341
|
+
startIcon: m(o.Icon) ? /* @__PURE__ */ a(o.Icon, {}) : void 0,
|
|
342
|
+
variant: "outline",
|
|
343
|
+
color: e === "danger" ? "danger" : "accent",
|
|
344
|
+
children: o?.title
|
|
345
|
+
})]
|
|
346
|
+
});
|
|
347
|
+
}, Er = "_bar_1wpka_1", Pr = "_track_1wpka_14", Rr = "_indicator_1wpka_20", Br = "_countdown_1wpka_34", Lr = "_progressBarCountdown_1wpka_1", x = {
|
|
348
|
+
bar: Er,
|
|
349
|
+
track: Pr,
|
|
350
|
+
indicator: Rr,
|
|
351
|
+
countdown: Br,
|
|
352
|
+
progressBarCountdown: Lr
|
|
353
|
+
}, jr = ({ value: e, className: r, barColor: n, backgroundColor: o = "none", withBorderRadius: t = !1, ariaLabel: i, countdownDurationInMs: g, isCountdownPaused: l = !1, onCountdownComplete: _ }) => {
|
|
354
|
+
const s = g !== void 0;
|
|
355
|
+
return /* @__PURE__ */ a(L.Root, {
|
|
356
|
+
className: c(x.bar, r),
|
|
357
|
+
"data-with-border-radius": t || void 0,
|
|
358
|
+
"aria-label": i,
|
|
359
|
+
value: e,
|
|
360
|
+
style: {
|
|
361
|
+
"--progress-bar-background-color": o,
|
|
362
|
+
...n ? { "--progress-bar-color": n } : {},
|
|
363
|
+
...s ? { "--progress-bar-countdown-duration": `${g}ms` } : {}
|
|
364
|
+
},
|
|
365
|
+
children: /* @__PURE__ */ a(L.Track, {
|
|
366
|
+
className: x.track,
|
|
367
|
+
children: /* @__PURE__ */ a(L.Indicator, {
|
|
368
|
+
className: c(x.indicator, s && x.countdown),
|
|
369
|
+
"data-with-border-radius": t || void 0,
|
|
370
|
+
"data-nonzero": e > 0 && !s || void 0,
|
|
371
|
+
"data-paused": s && l || void 0,
|
|
372
|
+
onAnimationEnd: s ? _ : void 0
|
|
373
|
+
})
|
|
374
|
+
})
|
|
375
|
+
});
|
|
376
|
+
}, Wr = "_banner_k05bg_1", Dr = "_iconContainer_k05bg_12", Mr = "_message_k05bg_22", j = {
|
|
377
|
+
banner: Wr,
|
|
378
|
+
iconContainer: Dr,
|
|
379
|
+
message: Mr
|
|
380
|
+
}, Wa = ({ message: e, className: r, variant: n = "default", tooltipMessage: o }) => {
|
|
381
|
+
const t = ve();
|
|
382
|
+
return /* @__PURE__ */ u("div", {
|
|
383
|
+
className: c(j.banner, r),
|
|
384
|
+
"data-tooltip-id": o ? t : void 0,
|
|
385
|
+
children: [
|
|
386
|
+
/* @__PURE__ */ a("div", {
|
|
387
|
+
className: j.iconContainer,
|
|
388
|
+
children: n === "default" ? /* @__PURE__ */ a(w, { size: 16 }) : /* @__PURE__ */ a(A, { size: 16 })
|
|
389
|
+
}),
|
|
390
|
+
/* @__PURE__ */ a("p", {
|
|
391
|
+
className: j.message,
|
|
392
|
+
children: e
|
|
393
|
+
}),
|
|
394
|
+
m(o) && /* @__PURE__ */ a(de, {
|
|
395
|
+
anchorSelect: `[data-tooltip-id='${t}']`,
|
|
396
|
+
title: o,
|
|
397
|
+
place: "bottom"
|
|
398
|
+
})
|
|
399
|
+
]
|
|
400
|
+
});
|
|
401
|
+
}, P = (e) => e.status === "visible", H = ({ store: e, toastsToClose: r, nextToasts: n = e.state.toasts }) => {
|
|
402
|
+
const o = n.map((i) => r.includes(i) ? {
|
|
403
|
+
...i,
|
|
404
|
+
status: "closing"
|
|
405
|
+
} : i), t = e.state.mountedToasterCount > 0;
|
|
406
|
+
e.set("toasts", t ? o : o.filter(P));
|
|
407
|
+
for (const i of r) i.notification.onClose?.();
|
|
408
|
+
}, Y = _e(void 0), N = () => {
|
|
409
|
+
const e = ue(Y);
|
|
410
|
+
if (!m(e)) throw new Error("Toast components must be used within a ToastProvider.");
|
|
411
|
+
return e;
|
|
412
|
+
}, J = () => {
|
|
413
|
+
const e = N();
|
|
414
|
+
return { closeToast: (n) => {
|
|
415
|
+
const o = e.state.toasts.filter((t) => P(t) && (!m(n) || t.notification.id === n));
|
|
416
|
+
be(o) && H({
|
|
417
|
+
store: e,
|
|
418
|
+
toastsToClose: o
|
|
419
|
+
});
|
|
420
|
+
} };
|
|
421
|
+
}, O = 0, $r = () => {
|
|
422
|
+
const e = N();
|
|
423
|
+
return { enqueueToast: he(() => {
|
|
424
|
+
function r(n) {
|
|
425
|
+
if (!m(n)) return;
|
|
426
|
+
const { dedupeKey: o, ...t } = n, { toasts: i, limit: g } = e.state, l = i.filter(P), _ = m(o) ? l.find((h) => h.dedupeKey === o) : void 0;
|
|
427
|
+
if (m(_)) return _.notification.id;
|
|
428
|
+
O += 1;
|
|
429
|
+
const s = `toast-${O}`, v = Math.max(0, l.length - g + 1);
|
|
430
|
+
return H({
|
|
431
|
+
store: e,
|
|
432
|
+
toastsToClose: l.slice(0, v),
|
|
433
|
+
nextToasts: [...i, {
|
|
434
|
+
notification: {
|
|
435
|
+
...t,
|
|
436
|
+
id: s
|
|
437
|
+
},
|
|
438
|
+
dedupeKey: o,
|
|
439
|
+
status: "visible"
|
|
440
|
+
}]
|
|
441
|
+
}), s;
|
|
442
|
+
}
|
|
443
|
+
return r;
|
|
444
|
+
}, [e]) };
|
|
445
|
+
}, Da = () => {
|
|
446
|
+
const { closeToast: e } = J(), { enqueueToast: r } = $r();
|
|
447
|
+
return {
|
|
448
|
+
enqueueToast: r,
|
|
449
|
+
closeToast: e
|
|
450
|
+
};
|
|
451
|
+
}, zr = "_root_1dxjm_1", Fr = "_progress_1dxjm_19", Or = "_header_1dxjm_30", qr = "_message_1dxjm_39", Vr = "_icon_1dxjm_44", Gr = "_actions_1dxjm_49", Kr = "_description_1dxjm_55", Xr = "_footer_1dxjm_64", Ur = "_footerAction_1dxjm_68", p = {
|
|
452
|
+
root: zr,
|
|
453
|
+
progress: Fr,
|
|
454
|
+
header: Or,
|
|
455
|
+
message: qr,
|
|
456
|
+
icon: Vr,
|
|
457
|
+
actions: Gr,
|
|
458
|
+
description: Kr,
|
|
459
|
+
footer: Xr,
|
|
460
|
+
footerAction: Ur
|
|
461
|
+
}, Hr = {
|
|
462
|
+
default: A,
|
|
463
|
+
error: A,
|
|
464
|
+
success: ce,
|
|
465
|
+
info: w,
|
|
466
|
+
warning: A
|
|
467
|
+
}, Yr = ({ children: e, description: r, icon: n, iconLabel: o, action: t, progress: i, duration: g = 6e3, onCancel: l, onClose: _, cancelLabel: s = "Cancel", closeLabel: v = "Close", variant: h = "default", role: $ = "status", className: Q, onMouseEnter: Z, onMouseLeave: ee, render: re, ref: ae, ...oe }) => {
|
|
468
|
+
const R = D(), [ne, z] = M(!1), te = Hr[h];
|
|
469
|
+
return U({
|
|
470
|
+
render: re,
|
|
471
|
+
ref: ae,
|
|
472
|
+
props: {
|
|
473
|
+
role: $,
|
|
474
|
+
"aria-live": $ === "alert" ? "assertive" : "polite",
|
|
475
|
+
...oe,
|
|
476
|
+
className: c(p.root, Q),
|
|
477
|
+
onMouseEnter: (B) => {
|
|
478
|
+
z(!0), Z?.(B);
|
|
479
|
+
},
|
|
480
|
+
onMouseLeave: (B) => {
|
|
481
|
+
z(!1), ee?.(B);
|
|
482
|
+
},
|
|
483
|
+
children: /* @__PURE__ */ u(T, { children: [
|
|
484
|
+
/* @__PURE__ */ a("div", {
|
|
485
|
+
className: p.progress,
|
|
486
|
+
"aria-hidden": !0,
|
|
487
|
+
children: /* @__PURE__ */ a(jr, {
|
|
488
|
+
barColor: R.snackBar[h].backgroundColor,
|
|
489
|
+
value: i ?? 100,
|
|
490
|
+
countdownDurationInMs: m(i) ? void 0 : g,
|
|
491
|
+
isCountdownPaused: ne,
|
|
492
|
+
onCountdownComplete: _
|
|
493
|
+
})
|
|
494
|
+
}),
|
|
495
|
+
/* @__PURE__ */ u("div", {
|
|
496
|
+
className: p.header,
|
|
497
|
+
children: [
|
|
498
|
+
/* @__PURE__ */ a("div", {
|
|
499
|
+
className: p.icon,
|
|
500
|
+
children: n ?? /* @__PURE__ */ a(te, {
|
|
501
|
+
"aria-label": o,
|
|
502
|
+
"aria-hidden": !m(o),
|
|
503
|
+
color: R.snackBar[h].color,
|
|
504
|
+
size: R.icon.size.md
|
|
505
|
+
})
|
|
506
|
+
}),
|
|
507
|
+
/* @__PURE__ */ a("div", {
|
|
508
|
+
className: p.message,
|
|
509
|
+
children: e
|
|
510
|
+
}),
|
|
511
|
+
/* @__PURE__ */ u("div", {
|
|
512
|
+
className: p.actions,
|
|
513
|
+
children: [m(l) && /* @__PURE__ */ a(C, {
|
|
514
|
+
onClick: l,
|
|
515
|
+
size: "sm",
|
|
516
|
+
variant: "ghost",
|
|
517
|
+
style: { fontWeight: "var(--t-font-weight-regular)" },
|
|
518
|
+
children: s
|
|
519
|
+
}), m(_) && /* @__PURE__ */ a(G, {
|
|
520
|
+
title: v,
|
|
521
|
+
"aria-label": v,
|
|
522
|
+
Icon: V,
|
|
523
|
+
onClick: _
|
|
524
|
+
})]
|
|
525
|
+
})
|
|
526
|
+
]
|
|
527
|
+
}),
|
|
528
|
+
m(r) && /* @__PURE__ */ a("div", {
|
|
529
|
+
className: p.description,
|
|
530
|
+
children: r
|
|
531
|
+
}),
|
|
532
|
+
m(t) && /* @__PURE__ */ u("div", {
|
|
533
|
+
className: p.footer,
|
|
534
|
+
children: [/* @__PURE__ */ a(me, { noMargin: !0 }), /* @__PURE__ */ a("div", {
|
|
535
|
+
className: p.footerAction,
|
|
536
|
+
children: t
|
|
537
|
+
})]
|
|
538
|
+
})
|
|
539
|
+
] })
|
|
540
|
+
}
|
|
541
|
+
});
|
|
542
|
+
}, Jr = (e = 3) => {
|
|
543
|
+
if (!fe(e)) throw new Error("Toast limit must be a positive integer.");
|
|
544
|
+
return new Ne({
|
|
545
|
+
toasts: [],
|
|
546
|
+
limit: e,
|
|
547
|
+
mountedToasterCount: 0
|
|
548
|
+
});
|
|
549
|
+
}, Ma = ({ children: e, limit: r = 3 }) => {
|
|
550
|
+
const [n] = M(() => Jr(r));
|
|
551
|
+
return /* @__PURE__ */ a(Y.Provider, {
|
|
552
|
+
value: n,
|
|
553
|
+
children: e
|
|
554
|
+
});
|
|
555
|
+
}, Qr = () => ye(N(), (e) => e.toasts), Zr = "_root_1q2cc_1", ea = "_item_1q2cc_20", ra = "_itemContent_1q2cc_47", W = {
|
|
556
|
+
root: Zr,
|
|
557
|
+
item: ea,
|
|
558
|
+
itemContent: ra
|
|
559
|
+
}, q = ({ store: e, toast: r }) => {
|
|
560
|
+
const { toasts: n } = e.state;
|
|
561
|
+
r.status === "closing" && n.includes(r) && e.set("toasts", n.filter((o) => o !== r));
|
|
562
|
+
}, aa = ({ elementRef: e, toastEntry: r }) => {
|
|
563
|
+
const n = N();
|
|
564
|
+
return K(() => {
|
|
565
|
+
if (r.status === "visible") return;
|
|
566
|
+
const o = e.current?.getAnimations?.() ?? [];
|
|
567
|
+
if (o.length === 0) {
|
|
568
|
+
q({
|
|
569
|
+
store: n,
|
|
570
|
+
toast: r
|
|
571
|
+
});
|
|
572
|
+
return;
|
|
573
|
+
}
|
|
574
|
+
let t = !1;
|
|
575
|
+
return Promise.allSettled(o.map((i) => i.finished)).then(() => {
|
|
576
|
+
t || q({
|
|
577
|
+
store: n,
|
|
578
|
+
toast: r
|
|
579
|
+
});
|
|
580
|
+
}), () => {
|
|
581
|
+
t = !0;
|
|
582
|
+
};
|
|
583
|
+
}, [
|
|
584
|
+
e,
|
|
585
|
+
r,
|
|
586
|
+
n
|
|
587
|
+
]), /* @__PURE__ */ a(T, {});
|
|
588
|
+
}, oa = ({ toastEntry: e, getToastProps: r, onClose: n }) => {
|
|
589
|
+
const { notification: o, status: t } = e, { id: i, ...g } = o, l = X(null);
|
|
590
|
+
return /* @__PURE__ */ u(T, { children: [/* @__PURE__ */ a("div", {
|
|
591
|
+
ref: l,
|
|
592
|
+
className: W.item,
|
|
593
|
+
"data-exiting": t === "closing" || void 0,
|
|
594
|
+
inert: t === "closing",
|
|
595
|
+
children: /* @__PURE__ */ a("div", {
|
|
596
|
+
className: W.itemContent,
|
|
597
|
+
children: /* @__PURE__ */ a(Yr, {
|
|
598
|
+
...g,
|
|
599
|
+
...r?.(o),
|
|
600
|
+
id: i,
|
|
601
|
+
onClose: () => n(i)
|
|
602
|
+
})
|
|
603
|
+
})
|
|
604
|
+
}), /* @__PURE__ */ a(aa, {
|
|
605
|
+
elementRef: l,
|
|
606
|
+
toastEntry: e
|
|
607
|
+
})] });
|
|
608
|
+
}, na = ({ getToastProps: e }) => {
|
|
609
|
+
const r = Qr(), { closeToast: n } = J();
|
|
610
|
+
return r.map((o) => /* @__PURE__ */ a(oa, {
|
|
611
|
+
toastEntry: o,
|
|
612
|
+
getToastProps: e,
|
|
613
|
+
onClose: n
|
|
614
|
+
}, o.notification.id));
|
|
615
|
+
}, ta = () => {
|
|
616
|
+
const e = N();
|
|
617
|
+
return K(() => (e.set("mountedToasterCount", e.state.mountedToasterCount + 1), () => {
|
|
618
|
+
e.set("mountedToasterCount", e.state.mountedToasterCount - 1), !(e.state.mountedToasterCount > 0) && e.set("toasts", e.state.toasts.filter(P));
|
|
619
|
+
}), [e]), null;
|
|
620
|
+
}, $a = ({ container: e, getToastProps: r, className: n, render: o, ref: t, ...i }) => {
|
|
621
|
+
const g = se(), l = Te(), _ = e === void 0 ? g ?? (typeof document > "u" ? null : document.body) : e, s = U({
|
|
622
|
+
render: o,
|
|
623
|
+
ref: t,
|
|
624
|
+
props: {
|
|
625
|
+
role: "region",
|
|
626
|
+
dir: l,
|
|
627
|
+
"aria-label": "Notifications",
|
|
628
|
+
...i,
|
|
629
|
+
className: c(W.root, n),
|
|
630
|
+
children: /* @__PURE__ */ u(T, { children: [/* @__PURE__ */ a(ta, {}), /* @__PURE__ */ a(na, { getToastProps: r })] })
|
|
631
|
+
}
|
|
632
|
+
});
|
|
633
|
+
return m(_) ? Ce(s, _) : null;
|
|
634
|
+
};
|
|
635
|
+
export {
|
|
636
|
+
xe as C,
|
|
637
|
+
Ae as S,
|
|
638
|
+
Ia as _,
|
|
639
|
+
Wa as a,
|
|
640
|
+
Na as b,
|
|
641
|
+
La as c,
|
|
642
|
+
Pa as d,
|
|
643
|
+
Ra as f,
|
|
644
|
+
wa as g,
|
|
645
|
+
Aa as h,
|
|
646
|
+
Da as i,
|
|
647
|
+
Ea as l,
|
|
648
|
+
Sa as m,
|
|
649
|
+
Ma as n,
|
|
650
|
+
jr as o,
|
|
651
|
+
xa as p,
|
|
652
|
+
Yr as r,
|
|
653
|
+
ja as s,
|
|
654
|
+
$a as t,
|
|
655
|
+
Ba as u,
|
|
656
|
+
ya as v,
|
|
657
|
+
Ie as w,
|
|
658
|
+
we as x,
|
|
659
|
+
ze as y
|
|
660
|
+
};
|