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,1322 @@
|
|
|
1
|
+
import { c as l, n as la, r as w, s as N, t as da } from "./theme-constants-DETwIS-a.js";
|
|
2
|
+
import { n as ca, t as Or } from "./Pill-abKRH4XK.js";
|
|
3
|
+
import { o as sa, u as ua } from "./utilities-kvjM4sIB.js";
|
|
4
|
+
import { o as H, s as ma } from "./theme-OwFrow8b.js";
|
|
5
|
+
import { n as _a } from "./Button-u4e3zI-a.js";
|
|
6
|
+
import { t as S } from "./mergeClassNames-BHKm1BNi.js";
|
|
7
|
+
import { Et as pa, Or as va, Sa as ha, jo as ba, wt as Mr } from "./TablerIcons-Ctfi8z4q.js";
|
|
8
|
+
import { t as Pr } from "./handleClickableElementKeyDown-C8Uz61XJ.js";
|
|
9
|
+
import { _ as Nr, m as ga, x as fa } from "./data-display-ByvqdkPn.js";
|
|
10
|
+
import { i as ka, n as jr, r as Wr } from "./OverflowingTextWithTooltip-C21bgWKF.js";
|
|
11
|
+
import { _ as I, l as L, u as Q } from "./surfaces-B8zw9F5W.js";
|
|
12
|
+
import { n as ya, t as Sa } from "./useResizeHandle-CCRiw9Fi.js";
|
|
13
|
+
import { clsx as _ } from "clsx";
|
|
14
|
+
import br, { createContext as Na, forwardRef as W, useContext as Ca, useEffect as sr, useId as Vr, useLayoutEffect as xa, useMemo as Kr, useRef as $a, useState as P } from "react";
|
|
15
|
+
import { isBoolean as Ba, isFunction as Ur, isNumber as wa } from "@sniptt/guards";
|
|
16
|
+
import { Fragment as or, jsx as o, jsxs as v } from "react/jsx-runtime";
|
|
17
|
+
import { Link as gr } from "react-router-dom";
|
|
18
|
+
import { useRender as Yr } from "@base-ui/react/use-render";
|
|
19
|
+
import { Radio as Cr } from "@base-ui/react/radio";
|
|
20
|
+
import { Checkbox as xr } from "@base-ui/react/checkbox";
|
|
21
|
+
import Ia, { loader as La } from "@monaco-editor/react";
|
|
22
|
+
import { Field as j } from "@base-ui/react/field";
|
|
23
|
+
import { useDirection as za } from "@base-ui/react/direction-provider";
|
|
24
|
+
import { Input as fr } from "@base-ui/react/input";
|
|
25
|
+
import { RadioGroup as Ta } from "@base-ui/react/radio-group";
|
|
26
|
+
import { Select as B } from "@base-ui/react/select";
|
|
27
|
+
import { Slider as O } from "@base-ui/react/slider";
|
|
28
|
+
import { Switch as $r } from "@base-ui/react/switch";
|
|
29
|
+
var Da = "_button_1qefn_1", Ea = "_small_1qefn_53", Ra = "_medium_1qefn_58", qa = "_fullWidth_1qefn_63", Fa = "_square_1qefn_67", Ha = "_motion_1qefn_73", Aa = "_separator_1qefn_77", Ga = "_shortcutLabel_1qefn_93", Oa = "_soonPillContainer_1qefn_107", D = {
|
|
30
|
+
button: Da,
|
|
31
|
+
small: Ea,
|
|
32
|
+
medium: Ra,
|
|
33
|
+
fullWidth: qa,
|
|
34
|
+
square: Fa,
|
|
35
|
+
motion: Ha,
|
|
36
|
+
separator: Aa,
|
|
37
|
+
shortcutLabel: Ga,
|
|
38
|
+
soonPillContainer: Oa
|
|
39
|
+
}, Ma = ({ variant: r, inverted: a, accent: n, disabled: t, focus: i, position: d }) => {
|
|
40
|
+
const e = {
|
|
41
|
+
background: "transparent",
|
|
42
|
+
borderColor: "transparent",
|
|
43
|
+
borderWidthOverride: "",
|
|
44
|
+
boxShadow: "none",
|
|
45
|
+
color: l.font.color.secondary,
|
|
46
|
+
hoverBackground: "transparent",
|
|
47
|
+
activeBackground: "transparent"
|
|
48
|
+
};
|
|
49
|
+
switch (r) {
|
|
50
|
+
case "primary":
|
|
51
|
+
switch (n) {
|
|
52
|
+
case "default":
|
|
53
|
+
e.background = a ? l.background.primary : l.background.secondary, e.borderColor = a ? l.background.transparent.light : !t && i ? l.color.blue : l.background.transparent.light, e.borderWidthOverride = "1px 1px 1px 1px", e.boxShadow = !t && i ? `0 0 0 3px ${a ? l.background.transparent.medium : l.accent.tertiary}` : "none", e.color = a ? l.font.color.secondary : t ? l.font.color.extraLight : l.font.color.secondary, t ? (e.hoverBackground = e.background, e.activeBackground = e.background) : (e.hoverBackground = a ? l.background.secondary : l.background.tertiary, e.activeBackground = a ? l.background.tertiary : l.background.quaternary);
|
|
54
|
+
break;
|
|
55
|
+
case "blue":
|
|
56
|
+
e.background = a ? l.background.primary : l.color.blue, e.borderColor = a ? l.background.transparent.light : i ? l.color.blue : l.background.transparent.light, e.borderWidthOverride = "1px 1px 1px 1px", e.boxShadow = !t && i ? `0 0 0 3px ${a ? l.background.transparent.medium : l.accent.tertiary}` : "none", e.color = a ? l.color.blue : H.gray1, t ? (e.hoverBackground = e.background, e.activeBackground = e.background) : (e.hoverBackground = a ? l.background.secondary : l.color.blue10, e.activeBackground = a ? l.background.tertiary : l.color.blue12);
|
|
57
|
+
break;
|
|
58
|
+
case "danger":
|
|
59
|
+
e.background = a ? l.background.primary : l.color.red, e.borderColor = a ? l.background.transparent.light : i ? l.color.red : l.background.transparent.light, e.borderWidthOverride = "1px 1px", e.boxShadow = !t && i ? `0 0 0 3px ${a ? l.background.transparent.medium : l.color.red3}` : "none", e.color = a ? l.color.red : l.background.primary, t ? (e.hoverBackground = e.background, e.activeBackground = e.background) : (e.hoverBackground = a ? l.background.secondary : l.color.red8, e.activeBackground = a ? l.background.tertiary : l.color.red10);
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
break;
|
|
63
|
+
case "secondary":
|
|
64
|
+
case "tertiary":
|
|
65
|
+
switch (n) {
|
|
66
|
+
case "default":
|
|
67
|
+
e.background = "transparent", e.borderColor = a ? r === "secondary" ? i || t ? H.gray1 : l.background.transparent.primary : i ? H.gray1 : "transparent" : r === "secondary" ? !t && i ? l.color.blue : l.background.transparent.medium : i ? l.color.blue : "transparent", e.borderWidthOverride = "1px 1px 1px 1px", e.boxShadow = !t && i ? `0 0 0 3px ${a ? l.background.transparent.medium : l.accent.tertiary}` : "none", e.color = a ? l.font.color.inverted : t ? l.font.color.extraLight : l.font.color.secondary, e.hoverBackground = a ? l.background.transparent.light : t ? "transparent" : l.background.transparent.light, e.activeBackground = a ? l.background.transparent.medium : t ? "transparent" : l.background.transparent.light;
|
|
68
|
+
break;
|
|
69
|
+
case "blue":
|
|
70
|
+
e.background = "transparent", e.borderColor = a ? r === "secondary" ? i || t ? H.gray1 : l.background.transparent.primary : i ? H.gray1 : "transparent" : r === "secondary" ? i ? l.color.blue : l.accent.primary : i ? l.color.blue : "transparent", e.borderWidthOverride = "1px 1px 1px 1px", e.boxShadow = !t && i ? `0 0 0 3px ${a ? l.background.transparent.medium : l.accent.tertiary}` : "none", e.color = a ? l.font.color.inverted : t ? l.accent.accent4060 : l.color.blue, e.hoverBackground = a ? l.background.transparent.light : t ? "transparent" : l.accent.tertiary, e.activeBackground = a ? l.background.transparent.medium : t ? "transparent" : l.accent.secondary;
|
|
71
|
+
break;
|
|
72
|
+
case "danger":
|
|
73
|
+
e.background = "transparent", e.borderColor = a ? r === "secondary" ? i || t ? H.gray1 : l.background.transparent.primary : i ? H.gray1 : "transparent" : r === "secondary" ? i ? l.color.red : l.border.color.danger : i ? l.color.red : "transparent", e.borderWidthOverride = "1px 1px 1px 1px", e.boxShadow = !t && i ? `0 0 0 3px ${a ? l.background.transparent.medium : l.color.red3}` : "none", e.color = a ? l.font.color.inverted : l.font.color.danger, e.hoverBackground = a ? l.background.transparent.light : t ? "transparent" : l.background.danger, e.activeBackground = a ? l.background.transparent.medium : t ? "transparent" : l.background.danger;
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
if (e.borderWidthOverride !== "" && d !== "standalone") switch (d) {
|
|
79
|
+
case "left":
|
|
80
|
+
e.borderWidthOverride = "1px 0px 1px 1px";
|
|
81
|
+
break;
|
|
82
|
+
case "middle":
|
|
83
|
+
e.borderWidthOverride = "1px 0px 1px 0px";
|
|
84
|
+
break;
|
|
85
|
+
case "right":
|
|
86
|
+
e.borderWidthOverride = "1px 1px 1px 0px";
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
return e;
|
|
90
|
+
}, Yt = ({ className: r, Icon: a, animatedSvg: n, title: t, fullWidth: i = !1, variant: d = "primary", inverted: e = !1, size: c = "medium", accent: s = "default", square: u = !1, position: m = "standalone", soon: f = !1, disabled: y = !1, justify: x = "flex-start", focus: p = !1, onClick: b, to: k, target: g, dataTestId: $, hotkeys: R, ariaLabel: V, dataClickOutsideId: Y, dataGloballyPreventClickOutside: tr, soonLabel: nr = "Soon" }) => {
|
|
91
|
+
const ir = w(), X = sa(), M = f || y, lr = Kr(() => {
|
|
92
|
+
const T = Ma({
|
|
93
|
+
variant: d,
|
|
94
|
+
inverted: e,
|
|
95
|
+
accent: s,
|
|
96
|
+
disabled: M,
|
|
97
|
+
focus: p,
|
|
98
|
+
position: m
|
|
99
|
+
});
|
|
100
|
+
return {
|
|
101
|
+
"--abtn-bg": T.background,
|
|
102
|
+
"--abtn-border-color": T.borderColor,
|
|
103
|
+
"--abtn-border-width": T.borderWidthOverride || void 0,
|
|
104
|
+
"--abtn-box-shadow": T.boxShadow,
|
|
105
|
+
"--abtn-color": T.color,
|
|
106
|
+
"--abtn-hover-bg": T.hoverBackground,
|
|
107
|
+
"--abtn-active-bg": T.activeBackground
|
|
108
|
+
};
|
|
109
|
+
}, [
|
|
110
|
+
d,
|
|
111
|
+
e,
|
|
112
|
+
s,
|
|
113
|
+
M,
|
|
114
|
+
p,
|
|
115
|
+
m
|
|
116
|
+
]);
|
|
117
|
+
return /* @__PURE__ */ v(k ? gr : "button", {
|
|
118
|
+
className: _(D.button, D[c], u && D.square, i && D.fullWidth, r),
|
|
119
|
+
"data-position": m,
|
|
120
|
+
"data-disabled": M || void 0,
|
|
121
|
+
disabled: M,
|
|
122
|
+
style: {
|
|
123
|
+
...lr,
|
|
124
|
+
"--abtn-justify": x
|
|
125
|
+
},
|
|
126
|
+
onClick: b,
|
|
127
|
+
to: k,
|
|
128
|
+
target: g,
|
|
129
|
+
"data-testid": $,
|
|
130
|
+
"aria-label": V,
|
|
131
|
+
"data-click-outside-id": Y,
|
|
132
|
+
"data-globally-prevent-click-outside": tr,
|
|
133
|
+
children: [
|
|
134
|
+
a && /* @__PURE__ */ o("div", {
|
|
135
|
+
className: D.motion,
|
|
136
|
+
children: /* @__PURE__ */ o(a, {
|
|
137
|
+
size: ir.icon.size.sm,
|
|
138
|
+
"aria-hidden": !0
|
|
139
|
+
})
|
|
140
|
+
}),
|
|
141
|
+
n && /* @__PURE__ */ o("div", {
|
|
142
|
+
className: D.motion,
|
|
143
|
+
children: n
|
|
144
|
+
}),
|
|
145
|
+
t,
|
|
146
|
+
R && !X && /* @__PURE__ */ v(or, { children: [/* @__PURE__ */ o("div", {
|
|
147
|
+
className: D.separator,
|
|
148
|
+
"data-size": c,
|
|
149
|
+
"data-accent": s
|
|
150
|
+
}), /* @__PURE__ */ o("div", {
|
|
151
|
+
className: D.shortcutLabel,
|
|
152
|
+
"data-variant": d,
|
|
153
|
+
"data-accent": s,
|
|
154
|
+
children: R.join(ua())
|
|
155
|
+
})] }),
|
|
156
|
+
f && /* @__PURE__ */ o("span", {
|
|
157
|
+
className: D.soonPillContainer,
|
|
158
|
+
children: /* @__PURE__ */ o(Or, { label: nr })
|
|
159
|
+
})
|
|
160
|
+
]
|
|
161
|
+
});
|
|
162
|
+
}, Pa = "_button_qb7pr_1", ja = "_small_qb7pr_51", Wa = "_medium_qb7pr_57", Va = "_iconContainer_qb7pr_63", ur = {
|
|
163
|
+
button: Pa,
|
|
164
|
+
small: ja,
|
|
165
|
+
medium: Wa,
|
|
166
|
+
iconContainer: Va
|
|
167
|
+
}, Xt = ({ "aria-label": r, className: a, testId: n, Icon: t, active: i = !1, size: d = "small", accent: e = "secondary", disabled: c = !1, focus: s = !1, rotate: u, onClick: m, title: f }) => {
|
|
168
|
+
const y = w();
|
|
169
|
+
return /* @__PURE__ */ o("button", {
|
|
170
|
+
"data-testid": n,
|
|
171
|
+
"aria-label": r,
|
|
172
|
+
onClick: m,
|
|
173
|
+
disabled: c,
|
|
174
|
+
"data-disabled": c || void 0,
|
|
175
|
+
"data-focus": s && !c || void 0,
|
|
176
|
+
"data-accent": e,
|
|
177
|
+
"data-active": i || void 0,
|
|
178
|
+
className: _(ur.button, ur[d], a),
|
|
179
|
+
title: f,
|
|
180
|
+
children: /* @__PURE__ */ o("div", {
|
|
181
|
+
className: ur.iconContainer,
|
|
182
|
+
style: u !== void 0 ? { transform: `rotate(${u}deg)` } : void 0,
|
|
183
|
+
children: t && /* @__PURE__ */ o(t, {
|
|
184
|
+
size: d === "medium" ? y.icon.size.md : y.icon.size.sm,
|
|
185
|
+
"aria-hidden": !!r
|
|
186
|
+
})
|
|
187
|
+
})
|
|
188
|
+
});
|
|
189
|
+
}, Ka = "_container_143ex_1", Ua = { container: Ka }, Jt = ({ className: r, children: a, variant: n, size: t, color: i, render: d, ref: e, ...c }) => {
|
|
190
|
+
const s = Yr({
|
|
191
|
+
render: d,
|
|
192
|
+
ref: e,
|
|
193
|
+
props: {
|
|
194
|
+
role: "group",
|
|
195
|
+
...c,
|
|
196
|
+
className: _(Ua.container, r),
|
|
197
|
+
children: a
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
return /* @__PURE__ */ o(_a.Provider, {
|
|
201
|
+
value: {
|
|
202
|
+
variant: n,
|
|
203
|
+
color: i,
|
|
204
|
+
size: t
|
|
205
|
+
},
|
|
206
|
+
children: s
|
|
207
|
+
});
|
|
208
|
+
}, Ya = "_root_ahkrw_1", Xa = "_control_ahkrw_18", Ja = "_sm_ahkrw_33", Qa = "_md_ahkrw_38", Za = "_indicator_ahkrw_49", Z = {
|
|
209
|
+
root: Ya,
|
|
210
|
+
control: Xa,
|
|
211
|
+
sm: Ja,
|
|
212
|
+
md: Qa,
|
|
213
|
+
indicator: Za
|
|
214
|
+
}, re = ({ children: r, className: a, size: n = "sm", ...t }) => /* @__PURE__ */ v(Cr.Root, {
|
|
215
|
+
...t,
|
|
216
|
+
className: S(_(Z.root, Z[n]), a),
|
|
217
|
+
children: [/* @__PURE__ */ o("span", {
|
|
218
|
+
className: Z.control,
|
|
219
|
+
"aria-hidden": !0,
|
|
220
|
+
children: /* @__PURE__ */ o(Cr.Indicator, { className: Z.indicator })
|
|
221
|
+
}), r]
|
|
222
|
+
}), ae = "_container_1gape_1", ee = "_cardInner_1gape_23", Br = {
|
|
223
|
+
container: ae,
|
|
224
|
+
cardInner: ee
|
|
225
|
+
}, Qt = ({ children: r, className: a, ...n }) => /* @__PURE__ */ o(re, {
|
|
226
|
+
render: /* @__PURE__ */ o("div", {}),
|
|
227
|
+
...n,
|
|
228
|
+
className: S(Br.container, a),
|
|
229
|
+
children: /* @__PURE__ */ o("div", {
|
|
230
|
+
className: Br.cardInner,
|
|
231
|
+
children: r
|
|
232
|
+
})
|
|
233
|
+
}), Zt = ({ size: r = "sm", variant: a = "solid", shape: n = "square", color: t = "accent", hoverable: i = !0, className: d, children: e, ...c }) => /* @__PURE__ */ v(xr.Root, {
|
|
234
|
+
...c,
|
|
235
|
+
className: S(_(I.root, I[r], I[a], I[n], I[t], i && I.hoverable), d),
|
|
236
|
+
children: [/* @__PURE__ */ o("span", {
|
|
237
|
+
className: I.box,
|
|
238
|
+
children: /* @__PURE__ */ v(xr.Indicator, {
|
|
239
|
+
className: I.indicator,
|
|
240
|
+
children: [/* @__PURE__ */ o(Mr, {
|
|
241
|
+
className: I.check,
|
|
242
|
+
"aria-hidden": !0
|
|
243
|
+
}), /* @__PURE__ */ o(ha, {
|
|
244
|
+
className: I.minus,
|
|
245
|
+
"aria-hidden": !0
|
|
246
|
+
})]
|
|
247
|
+
})
|
|
248
|
+
}), e]
|
|
249
|
+
}), wr = "baseCodeEditorTheme", h = (r) => {
|
|
250
|
+
if (r.trim() === "transparent") return "#00000000";
|
|
251
|
+
const a = r.match(/color\(display-p3\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s+\/\s+([\d.]+))?\)/);
|
|
252
|
+
if (N(a)) {
|
|
253
|
+
const [, n, t, i, d] = a, e = Math.round(parseFloat(n) * 255).toString(16).padStart(2, "0"), c = Math.round(parseFloat(t) * 255).toString(16).padStart(2, "0"), s = Math.round(parseFloat(i) * 255).toString(16).padStart(2, "0");
|
|
254
|
+
return N(d) ? `#${e}${c}${s}${Math.round(parseFloat(d) * 255).toString(16).padStart(2, "0")}` : `#${e}${c}${s}`;
|
|
255
|
+
}
|
|
256
|
+
return r;
|
|
257
|
+
}, oe = (r, a) => ({
|
|
258
|
+
base: a === "dark" ? "vs-dark" : "vs",
|
|
259
|
+
inherit: !0,
|
|
260
|
+
rules: [
|
|
261
|
+
{
|
|
262
|
+
token: "",
|
|
263
|
+
foreground: h(r.font.color.secondary)
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
token: "keyword",
|
|
267
|
+
foreground: h(r.color.pink11)
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
token: "keyword.control",
|
|
271
|
+
foreground: h(r.color.pink11)
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
token: "keyword.json",
|
|
275
|
+
foreground: h(r.color.orange11)
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
token: "number",
|
|
279
|
+
foreground: h(r.color.orange11)
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
token: "number.json",
|
|
283
|
+
foreground: h(r.color.orange11)
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
token: "regexp",
|
|
287
|
+
foreground: h(r.color.orange11)
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
token: "type",
|
|
291
|
+
foreground: h(r.color.green11)
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
token: "attribute.name",
|
|
295
|
+
foreground: h(r.color.blue11)
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
token: "tag",
|
|
299
|
+
foreground: h(r.color.pink11)
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
token: "string",
|
|
303
|
+
foreground: h(r.color.green11)
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
token: "string.key.json",
|
|
307
|
+
foreground: h(r.color.blue11)
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
token: "delimiter",
|
|
311
|
+
foreground: h(r.font.color.light)
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
token: "delimiter.bracket.json",
|
|
315
|
+
foreground: h(r.font.color.light)
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
token: "string.value.json",
|
|
319
|
+
foreground: h(r.color.green11)
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
token: "comment",
|
|
323
|
+
foreground: h(r.font.color.light),
|
|
324
|
+
fontStyle: "italic"
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
colors: {
|
|
328
|
+
"editor.background": h("transparent"),
|
|
329
|
+
"editor.foreground": h(r.font.color.secondary),
|
|
330
|
+
"editorCursor.foreground": h(r.font.color.primary),
|
|
331
|
+
"editorLineNumber.foreground": h(r.font.color.extraLight),
|
|
332
|
+
"editorLineNumber.activeForeground": h(r.font.color.light),
|
|
333
|
+
"editor.lineHighlightBackground": h(r.background.tertiary),
|
|
334
|
+
"editor.selectionBackground": h(r.background.transparent.blue),
|
|
335
|
+
"editor.inactiveSelectionBackground": h(r.background.transparent.light),
|
|
336
|
+
"editorIndentGuide.background1": h(r.border.color.light),
|
|
337
|
+
"editorIndentGuide.activeBackground1": h(r.border.color.medium),
|
|
338
|
+
"editorBracketMatch.background": h(r.background.transparent.light),
|
|
339
|
+
"editorBracketMatch.border": h(r.border.color.medium)
|
|
340
|
+
}
|
|
341
|
+
}), te = "_editorLoader_zilk9_1", ne = "_container_zilk9_20", ie = "_editorWrapper_zilk9_24", mr = {
|
|
342
|
+
editorLoader: te,
|
|
343
|
+
container: ne,
|
|
344
|
+
editorWrapper: ie
|
|
345
|
+
}, Ir, le = () => (Ir ??= import("monaco-editor").then((r) => {
|
|
346
|
+
La.config({ monaco: r });
|
|
347
|
+
}), Ir), Lr = (r, a, n) => {
|
|
348
|
+
r.editor.defineTheme(wr, oe(a, n)), r.editor.setTheme(wr);
|
|
349
|
+
}, rn = ({ value: r, language: a, onMount: n, onChange: t, setMarkers: i, onValidate: d, height: e = 450, variant: c = "default", transparentBackground: s, isLoading: u = !1, options: m, resizable: f = !1, contentPadding: y = "default", autoHeight: x = !1 }) => {
|
|
350
|
+
const p = w(), b = la(), [k, g] = P(void 0), [$, R] = P(void 0), [V, Y] = P(!1), [tr, nr] = P(!1), [ir, X] = P(void 0), { size: M, handleResizeStart: lr, handleResizeMove: T, handleResizeEnd: oa } = Sa({ initialSize: typeof e == "number" ? e : 450 }), dr = x && !f, cr = typeof p.spacingMultiplicator == "number" ? p.spacingMultiplicator * 4 : void 0, J = dr ? ir ?? e : f ? M : e, ta = {
|
|
351
|
+
...y === "comfortable" ? { lineDecorationsWidth: cr } : {},
|
|
352
|
+
padding: {
|
|
353
|
+
bottom: cr,
|
|
354
|
+
top: cr
|
|
355
|
+
}
|
|
356
|
+
}, { padding: kt, ...na } = m ?? {}, Sr = (C, q) => {
|
|
357
|
+
const F = C?.getModel();
|
|
358
|
+
if (!N(F)) return;
|
|
359
|
+
const K = i?.(F.getValue());
|
|
360
|
+
N(K) && q?.editor.setModelMarkers(F, "customMarker", K);
|
|
361
|
+
}, ia = (C) => {
|
|
362
|
+
V && C.stopPropagation();
|
|
363
|
+
};
|
|
364
|
+
return sr(() => {
|
|
365
|
+
let C = !0;
|
|
366
|
+
return le().then(() => {
|
|
367
|
+
C && nr(!0);
|
|
368
|
+
}), () => {
|
|
369
|
+
C = !1;
|
|
370
|
+
};
|
|
371
|
+
}, []), sr(() => {
|
|
372
|
+
N(k) && Lr(k, p, b);
|
|
373
|
+
}, [
|
|
374
|
+
b,
|
|
375
|
+
k,
|
|
376
|
+
p
|
|
377
|
+
]), sr(() => {
|
|
378
|
+
if (!dr || !N($)) {
|
|
379
|
+
X(void 0);
|
|
380
|
+
return;
|
|
381
|
+
}
|
|
382
|
+
const C = () => {
|
|
383
|
+
const F = $.getContentHeight();
|
|
384
|
+
!Number.isFinite(F) || F <= 0 || X((K) => K === F ? K : F);
|
|
385
|
+
};
|
|
386
|
+
C();
|
|
387
|
+
const q = $.onDidContentSizeChange(C);
|
|
388
|
+
return () => {
|
|
389
|
+
q.dispose();
|
|
390
|
+
};
|
|
391
|
+
}, [$, dr]), u || !tr ? /* @__PURE__ */ o("div", {
|
|
392
|
+
className: mr.editorLoader,
|
|
393
|
+
"data-variant": c,
|
|
394
|
+
style: { "--code-editor-height": typeof J == "number" ? `${J}px` : J },
|
|
395
|
+
children: /* @__PURE__ */ o(ca, {})
|
|
396
|
+
}) : /* @__PURE__ */ v("div", {
|
|
397
|
+
className: mr.container,
|
|
398
|
+
onKeyDown: ia,
|
|
399
|
+
children: [
|
|
400
|
+
/* @__PURE__ */ o("input", {
|
|
401
|
+
type: "hidden",
|
|
402
|
+
"data-testid": "code-editor-value",
|
|
403
|
+
value: r ?? "",
|
|
404
|
+
readOnly: !0
|
|
405
|
+
}),
|
|
406
|
+
/* @__PURE__ */ o("div", {
|
|
407
|
+
className: mr.editorWrapper,
|
|
408
|
+
"data-variant": c,
|
|
409
|
+
"data-transparent-background": s || void 0,
|
|
410
|
+
children: /* @__PURE__ */ o(Ia, {
|
|
411
|
+
height: J,
|
|
412
|
+
value: r,
|
|
413
|
+
language: a,
|
|
414
|
+
loading: "",
|
|
415
|
+
onMount: (C, q) => {
|
|
416
|
+
g(q), R(C), Lr(q, p, b), C.onDidFocusEditorWidget(() => {
|
|
417
|
+
Y(!0);
|
|
418
|
+
}), C.onDidBlurEditorWidget(() => {
|
|
419
|
+
Y(!1);
|
|
420
|
+
}), n?.(C, q), Sr(C, q);
|
|
421
|
+
},
|
|
422
|
+
onChange: (C) => {
|
|
423
|
+
N(C) && (t?.(C), Sr($, k));
|
|
424
|
+
},
|
|
425
|
+
onValidate: (C) => {
|
|
426
|
+
d?.(C);
|
|
427
|
+
},
|
|
428
|
+
options: {
|
|
429
|
+
formatOnPaste: !0,
|
|
430
|
+
formatOnType: !0,
|
|
431
|
+
fontFamily: p.code.font.family,
|
|
432
|
+
bracketPairColorization: { enabled: !1 },
|
|
433
|
+
overviewRulerLanes: 0,
|
|
434
|
+
scrollBeyondLastLine: !1,
|
|
435
|
+
scrollbar: {
|
|
436
|
+
vertical: "hidden",
|
|
437
|
+
horizontal: "hidden"
|
|
438
|
+
},
|
|
439
|
+
minimap: { enabled: !1 },
|
|
440
|
+
...na,
|
|
441
|
+
...ta
|
|
442
|
+
}
|
|
443
|
+
})
|
|
444
|
+
}),
|
|
445
|
+
f && /* @__PURE__ */ o(ya, {
|
|
446
|
+
onPointerDown: lr,
|
|
447
|
+
onPointerMove: T,
|
|
448
|
+
onPointerUp: oa
|
|
449
|
+
})
|
|
450
|
+
]
|
|
451
|
+
});
|
|
452
|
+
}, de = "_editorHeader_19qlo_1", ce = "_elementContainer_19qlo_15", _r = {
|
|
453
|
+
editorHeader: de,
|
|
454
|
+
elementContainer: ce
|
|
455
|
+
}, an = ({ title: r, leftNodes: a, rightNodes: n }) => /* @__PURE__ */ v("div", {
|
|
456
|
+
className: _r.editorHeader,
|
|
457
|
+
children: [/* @__PURE__ */ v("div", {
|
|
458
|
+
className: _r.elementContainer,
|
|
459
|
+
children: [a && a.map((t, i) => /* @__PURE__ */ o("div", { children: t }, `left-${i}`)), r]
|
|
460
|
+
}), /* @__PURE__ */ o("div", {
|
|
461
|
+
className: _r.elementContainer,
|
|
462
|
+
children: n && n.map((t, i) => /* @__PURE__ */ o("div", { children: t }, `right-${i}`))
|
|
463
|
+
})]
|
|
464
|
+
}), se = "_button_18q4p_1", ue = "_small_18q4p_36", me = "_medium_18q4p_42", zr = {
|
|
465
|
+
button: se,
|
|
466
|
+
small: ue,
|
|
467
|
+
medium: me
|
|
468
|
+
}, Xr = ({ "aria-label": r, className: a, testId: n, Icon: t, active: i = !1, size: d = "small", accent: e = "secondary", disabled: c = !1, focus: s = !1, onClick: u, title: m }) => {
|
|
469
|
+
const f = w();
|
|
470
|
+
return /* @__PURE__ */ o("button", {
|
|
471
|
+
"data-testid": n,
|
|
472
|
+
"aria-label": r,
|
|
473
|
+
onClick: u,
|
|
474
|
+
disabled: c,
|
|
475
|
+
className: _(zr.button, zr[d], a),
|
|
476
|
+
"data-accent": e,
|
|
477
|
+
"data-active": i || void 0,
|
|
478
|
+
"data-disabled": c || void 0,
|
|
479
|
+
"data-focus": s && !c || void 0,
|
|
480
|
+
title: m,
|
|
481
|
+
children: t && /* @__PURE__ */ o(t, {
|
|
482
|
+
size: d === "medium" ? f.icon.size.md : f.icon.size.sm,
|
|
483
|
+
"aria-hidden": !!r
|
|
484
|
+
})
|
|
485
|
+
});
|
|
486
|
+
}, _e = "_wrapper_1dmor_1", pe = { wrapper: _e }, en = ({ colorName: r, isSelected: a, onClick: n }) => /* @__PURE__ */ o("div", {
|
|
487
|
+
className: pe.wrapper,
|
|
488
|
+
"data-selected": a || void 0,
|
|
489
|
+
children: /* @__PURE__ */ o(Xr, {
|
|
490
|
+
size: "medium",
|
|
491
|
+
Icon: () => /* @__PURE__ */ o(ga, { colorName: r }),
|
|
492
|
+
"aria-label": `Select ${r} color`,
|
|
493
|
+
onClick: n
|
|
494
|
+
})
|
|
495
|
+
}), ve = "_container_qsmue_1", he = "_colorSchemeBackground_qsmue_6", be = "_colorSchemeContent_qsmue_22", ge = "_mixedColorSchemeSegment_qsmue_39", fe = "_checkmarkContainer_qsmue_54", A = {
|
|
496
|
+
container: ve,
|
|
497
|
+
colorSchemeBackground: he,
|
|
498
|
+
colorSchemeContent: be,
|
|
499
|
+
mixedColorSchemeSegment: ge,
|
|
500
|
+
checkmarkContainer: fe
|
|
501
|
+
}, pr = ({ variant: r, style: a, className: n, onClick: t, onMouseEnter: i, onMouseLeave: d }) => {
|
|
502
|
+
const e = r === "Dark" ? ma : H, c = _(A.colorSchemeBackground, n), s = {
|
|
503
|
+
"--color-scheme-card-background": e.gray4,
|
|
504
|
+
"--color-scheme-card-border-color": e.gray5,
|
|
505
|
+
"--color-scheme-card-content-background": e.gray1,
|
|
506
|
+
"--color-scheme-card-content-color": e.gray12,
|
|
507
|
+
...a
|
|
508
|
+
}, u = /* @__PURE__ */ o("div", {
|
|
509
|
+
className: A.colorSchemeContent,
|
|
510
|
+
children: "Aa"
|
|
511
|
+
});
|
|
512
|
+
return N(t) ? /* @__PURE__ */ o("div", {
|
|
513
|
+
className: c,
|
|
514
|
+
style: s,
|
|
515
|
+
role: "button",
|
|
516
|
+
tabIndex: 0,
|
|
517
|
+
"aria-label": r,
|
|
518
|
+
onClick: t,
|
|
519
|
+
onKeyDown: Pr,
|
|
520
|
+
onMouseEnter: i,
|
|
521
|
+
onMouseLeave: d,
|
|
522
|
+
children: u
|
|
523
|
+
}) : /* @__PURE__ */ o("div", {
|
|
524
|
+
className: c,
|
|
525
|
+
style: s,
|
|
526
|
+
onMouseEnter: i,
|
|
527
|
+
onMouseLeave: d,
|
|
528
|
+
children: u
|
|
529
|
+
});
|
|
530
|
+
}, vr = ({ variant: r, selected: a, onClick: n, className: t }) => {
|
|
531
|
+
const i = /* @__PURE__ */ v(or, { children: [/* @__PURE__ */ o(pr, {
|
|
532
|
+
style: {
|
|
533
|
+
borderTopRightRadius: 0,
|
|
534
|
+
borderBottomRightRadius: 0
|
|
535
|
+
},
|
|
536
|
+
variant: "Light"
|
|
537
|
+
}), /* @__PURE__ */ o(pr, {
|
|
538
|
+
style: {
|
|
539
|
+
borderTopLeftRadius: 0,
|
|
540
|
+
borderBottomLeftRadius: 0
|
|
541
|
+
},
|
|
542
|
+
variant: "Dark"
|
|
543
|
+
})] });
|
|
544
|
+
return r === "System" ? /* @__PURE__ */ v("div", {
|
|
545
|
+
className: _(A.container, t),
|
|
546
|
+
children: [N(n) ? /* @__PURE__ */ o("div", {
|
|
547
|
+
className: A.mixedColorSchemeSegment,
|
|
548
|
+
role: "button",
|
|
549
|
+
tabIndex: 0,
|
|
550
|
+
"aria-label": r,
|
|
551
|
+
onClick: n,
|
|
552
|
+
onKeyDown: Pr,
|
|
553
|
+
children: i
|
|
554
|
+
}) : /* @__PURE__ */ o("div", {
|
|
555
|
+
className: A.mixedColorSchemeSegment,
|
|
556
|
+
children: i
|
|
557
|
+
}), /* @__PURE__ */ o("div", {
|
|
558
|
+
className: A.checkmarkContainer,
|
|
559
|
+
"data-selected": a || void 0,
|
|
560
|
+
children: /* @__PURE__ */ o(Nr, {})
|
|
561
|
+
})]
|
|
562
|
+
}) : /* @__PURE__ */ v("div", {
|
|
563
|
+
className: _(A.container, t),
|
|
564
|
+
children: [/* @__PURE__ */ o(pr, {
|
|
565
|
+
variant: r,
|
|
566
|
+
onClick: n
|
|
567
|
+
}), /* @__PURE__ */ o("div", {
|
|
568
|
+
className: A.checkmarkContainer,
|
|
569
|
+
"data-selected": a || void 0,
|
|
570
|
+
children: /* @__PURE__ */ o(Nr, {})
|
|
571
|
+
})]
|
|
572
|
+
});
|
|
573
|
+
}, ke = "_container_pqcwk_1", ye = "_cardContainer_pqcwk_13", Se = "_card_pqcwk_13", Ne = "_label_pqcwk_29", z = {
|
|
574
|
+
container: ke,
|
|
575
|
+
cardContainer: ye,
|
|
576
|
+
card: Se,
|
|
577
|
+
label: Ne
|
|
578
|
+
}, on = ({ value: r, onChange: a, className: n, lightLabel: t, darkLabel: i, systemLabel: d }) => /* @__PURE__ */ v("div", {
|
|
579
|
+
className: _(z.container, n),
|
|
580
|
+
children: [
|
|
581
|
+
/* @__PURE__ */ v("div", {
|
|
582
|
+
className: z.cardContainer,
|
|
583
|
+
children: [/* @__PURE__ */ o(vr, {
|
|
584
|
+
className: z.card,
|
|
585
|
+
onClick: () => a("Light"),
|
|
586
|
+
variant: "Light",
|
|
587
|
+
selected: r === "Light"
|
|
588
|
+
}), /* @__PURE__ */ o("span", {
|
|
589
|
+
className: z.label,
|
|
590
|
+
children: t
|
|
591
|
+
})]
|
|
592
|
+
}),
|
|
593
|
+
/* @__PURE__ */ v("div", {
|
|
594
|
+
className: z.cardContainer,
|
|
595
|
+
children: [/* @__PURE__ */ o(vr, {
|
|
596
|
+
className: z.card,
|
|
597
|
+
onClick: () => a("Dark"),
|
|
598
|
+
variant: "Dark",
|
|
599
|
+
selected: r === "Dark"
|
|
600
|
+
}), /* @__PURE__ */ o("span", {
|
|
601
|
+
className: z.label,
|
|
602
|
+
children: i
|
|
603
|
+
})]
|
|
604
|
+
}),
|
|
605
|
+
/* @__PURE__ */ v("div", {
|
|
606
|
+
className: z.cardContainer,
|
|
607
|
+
children: [/* @__PURE__ */ o(vr, {
|
|
608
|
+
className: z.card,
|
|
609
|
+
onClick: () => a("System"),
|
|
610
|
+
variant: "System",
|
|
611
|
+
selected: r === "System"
|
|
612
|
+
}), /* @__PURE__ */ o("span", {
|
|
613
|
+
className: z.label,
|
|
614
|
+
children: d
|
|
615
|
+
})]
|
|
616
|
+
})
|
|
617
|
+
]
|
|
618
|
+
}), Ce = "_description_yrj5x_1", xe = { description: Ce }, Jr = W(({ className: r, ...a }, n) => /* @__PURE__ */ o(j.Description, {
|
|
619
|
+
ref: n,
|
|
620
|
+
className: S(xe.description, r),
|
|
621
|
+
...a
|
|
622
|
+
}));
|
|
623
|
+
Jr.displayName = "FieldDescription";
|
|
624
|
+
var $e = "_error_179et_1", Be = { error: $e }, Qr = W(({ className: r, ...a }, n) => /* @__PURE__ */ o(j.Error, {
|
|
625
|
+
ref: n,
|
|
626
|
+
className: S(Be.error, r),
|
|
627
|
+
...a
|
|
628
|
+
}));
|
|
629
|
+
Qr.displayName = "FieldError";
|
|
630
|
+
var we = "_label_1yxve_1", Ie = { label: we }, Zr = W(({ className: r, ...a }, n) => /* @__PURE__ */ o(j.Label, {
|
|
631
|
+
ref: n,
|
|
632
|
+
className: S(Ie.label, r),
|
|
633
|
+
...a
|
|
634
|
+
}));
|
|
635
|
+
Zr.displayName = "FieldLabel";
|
|
636
|
+
var tn = {
|
|
637
|
+
Root: j.Root,
|
|
638
|
+
Label: Zr,
|
|
639
|
+
Control: j.Control,
|
|
640
|
+
Description: Jr,
|
|
641
|
+
Error: Qr,
|
|
642
|
+
Validity: j.Validity
|
|
643
|
+
}, Le = "_button_1l322_1", ze = "_small_1l322_37", Te = "_medium_1l322_41", Tr = {
|
|
644
|
+
button: Le,
|
|
645
|
+
small: ze,
|
|
646
|
+
medium: Te
|
|
647
|
+
}, nn = ({ className: r, Icon: a, title: n, ariaLabel: t, size: i = "small", position: d = "standalone", applyBlur: e = !0, applyShadow: c = !0, disabled: s = !1, focus: u = !1, to: m }) => {
|
|
648
|
+
const f = w();
|
|
649
|
+
return /* @__PURE__ */ v(m ? gr : "button", {
|
|
650
|
+
disabled: s,
|
|
651
|
+
"aria-label": t,
|
|
652
|
+
className: _(Tr.button, Tr[i], r),
|
|
653
|
+
"data-position": d,
|
|
654
|
+
"data-apply-blur": e || void 0,
|
|
655
|
+
"data-apply-shadow": c || void 0,
|
|
656
|
+
"data-disabled": s || void 0,
|
|
657
|
+
"data-focus": u && !s || void 0,
|
|
658
|
+
to: m,
|
|
659
|
+
children: [a && /* @__PURE__ */ o(a, {
|
|
660
|
+
size: f.icon.size.sm,
|
|
661
|
+
"aria-hidden": !0
|
|
662
|
+
}), n]
|
|
663
|
+
});
|
|
664
|
+
}, De = "_container_4trh1_1", Ee = { container: De }, ln = ({ children: r, size: a, className: n }) => /* @__PURE__ */ o("div", {
|
|
665
|
+
className: _(Ee.container, n),
|
|
666
|
+
children: br.Children.map(r, (t, i) => {
|
|
667
|
+
let d;
|
|
668
|
+
i === 0 ? d = "left" : i === r.length - 1 ? d = "right" : d = "middle";
|
|
669
|
+
const e = {
|
|
670
|
+
position: d,
|
|
671
|
+
size: a,
|
|
672
|
+
applyShadow: !1,
|
|
673
|
+
applyBlur: !1
|
|
674
|
+
};
|
|
675
|
+
return N(a) && (e.size = a), br.cloneElement(t, e);
|
|
676
|
+
})
|
|
677
|
+
}), Re = "_button_1nypz_1", qe = "_small_1nypz_23", Fe = "_medium_1nypz_28", Dr = {
|
|
678
|
+
button: Re,
|
|
679
|
+
small: qe,
|
|
680
|
+
medium: Fe
|
|
681
|
+
}, He = ({ className: r, Icon: a, ariaLabel: n, size: t = "small", position: i = "standalone", applyShadow: d = !0, applyBlur: e = !0, disabled: c = !1, focus: s = !1, onClick: u, isActive: m }) => {
|
|
682
|
+
const f = w();
|
|
683
|
+
return /* @__PURE__ */ o("button", {
|
|
684
|
+
disabled: c,
|
|
685
|
+
"aria-label": n,
|
|
686
|
+
className: _(Dr.button, Dr[t], r),
|
|
687
|
+
"data-position": i,
|
|
688
|
+
"data-apply-shadow": d || void 0,
|
|
689
|
+
"data-apply-blur": e || void 0,
|
|
690
|
+
"data-disabled": c || void 0,
|
|
691
|
+
"data-focus": s && !c || void 0,
|
|
692
|
+
"data-is-active": m || void 0,
|
|
693
|
+
onClick: u,
|
|
694
|
+
children: a && /* @__PURE__ */ o(a, {
|
|
695
|
+
size: f.icon.size.md,
|
|
696
|
+
"aria-hidden": !!n
|
|
697
|
+
})
|
|
698
|
+
});
|
|
699
|
+
}, Ae = "_container_o9kcz_1", Ge = { container: Ae }, dn = ({ iconButtons: r, size: a, className: n }) => /* @__PURE__ */ o("div", {
|
|
700
|
+
className: _(Ge.container, n),
|
|
701
|
+
children: r.map(({ Icon: t, onClick: i, isActive: d, ariaLabel: e }, c) => /* @__PURE__ */ o(He, {
|
|
702
|
+
applyBlur: !1,
|
|
703
|
+
applyShadow: !1,
|
|
704
|
+
Icon: t,
|
|
705
|
+
ariaLabel: e,
|
|
706
|
+
onClick: i,
|
|
707
|
+
position: r.length === 1 ? "standalone" : c === 0 ? "left" : c === r.length - 1 ? "right" : "middle",
|
|
708
|
+
size: a,
|
|
709
|
+
isActive: d
|
|
710
|
+
}, `floating-icon-button-${c}`))
|
|
711
|
+
}), Oe = "_button_lxb7o_1", Me = "_small_lxb7o_40", Pe = "_medium_lxb7o_45", Er = {
|
|
712
|
+
button: Oe,
|
|
713
|
+
small: Me,
|
|
714
|
+
medium: Pe
|
|
715
|
+
}, kr = br.forwardRef(({ className: r, Icon: a, variant: n = "primary", size: t = "medium", accent: i = "default", position: d = "standalone", disabled: e = !1, focus: c = !1, dataTestId: s, ariaLabel: u, "aria-label": m, onClick: f, to: y, children: x, ...p }, b) => {
|
|
716
|
+
const k = w(), g = u ?? m;
|
|
717
|
+
return /* @__PURE__ */ v("button", {
|
|
718
|
+
...p,
|
|
719
|
+
ref: b,
|
|
720
|
+
"data-testid": s,
|
|
721
|
+
className: _(Er.button, Er[t], r),
|
|
722
|
+
"data-variant": n,
|
|
723
|
+
"data-accent": i,
|
|
724
|
+
"data-position": d,
|
|
725
|
+
"data-disabled": e || void 0,
|
|
726
|
+
"data-focus": c || void 0,
|
|
727
|
+
disabled: e,
|
|
728
|
+
onClick: f,
|
|
729
|
+
"aria-label": g,
|
|
730
|
+
to: y,
|
|
731
|
+
children: [a ? /* @__PURE__ */ o(a, {
|
|
732
|
+
size: k.icon.size.md,
|
|
733
|
+
"aria-hidden": !!g
|
|
734
|
+
}) : null, x]
|
|
735
|
+
});
|
|
736
|
+
});
|
|
737
|
+
kr.displayName = "IconButton";
|
|
738
|
+
var je = "_button_1khhu_1", We = { button: je }, Ve = ({ className: r, Icon: a, ariaLabel: n, onClick: t, disabled: i = !1 }) => {
|
|
739
|
+
const d = w();
|
|
740
|
+
return /* @__PURE__ */ o("button", {
|
|
741
|
+
className: _(We.button, r),
|
|
742
|
+
"aria-label": n,
|
|
743
|
+
onClick: t,
|
|
744
|
+
disabled: i,
|
|
745
|
+
"data-disabled": i || void 0,
|
|
746
|
+
children: a && /* @__PURE__ */ o(a, {
|
|
747
|
+
size: d.icon.size.sm,
|
|
748
|
+
"aria-hidden": !!n
|
|
749
|
+
})
|
|
750
|
+
});
|
|
751
|
+
}, Ke = "_container_1l4n2_1", Ue = { container: Ke }, cn = ({ iconButtons: r, disabled: a, className: n }) => /* @__PURE__ */ o("div", {
|
|
752
|
+
className: _(Ue.container, n),
|
|
753
|
+
"data-disabled": a || void 0,
|
|
754
|
+
children: r.map(({ Icon: t, onClick: i, ariaLabel: d }, e) => /* @__PURE__ */ o(Ve, {
|
|
755
|
+
Icon: t,
|
|
756
|
+
ariaLabel: d,
|
|
757
|
+
onClick: i,
|
|
758
|
+
disabled: a
|
|
759
|
+
}, e))
|
|
760
|
+
}), sn = ({ tooltipContent: r, tooltipPlace: a = ka.Bottom, tooltipDelay: n = Wr.longDelay, tooltipOffset: t = 5, Icon: i, ariaLabel: d, onClick: e, size: c, variant: s, disabled: u }) => {
|
|
761
|
+
const m = Vr();
|
|
762
|
+
return /* @__PURE__ */ v(or, { children: [/* @__PURE__ */ o("div", {
|
|
763
|
+
"data-tooltip-id": m,
|
|
764
|
+
children: /* @__PURE__ */ o(kr, {
|
|
765
|
+
Icon: i,
|
|
766
|
+
ariaLabel: d,
|
|
767
|
+
onClick: e,
|
|
768
|
+
size: c,
|
|
769
|
+
variant: s,
|
|
770
|
+
disabled: u
|
|
771
|
+
})
|
|
772
|
+
}), /* @__PURE__ */ o(jr, {
|
|
773
|
+
anchorSelect: u ? `[data-tooltip-id='${m}']` : `[data-tooltip-id='${m}'] > button`,
|
|
774
|
+
title: r,
|
|
775
|
+
delay: n,
|
|
776
|
+
place: a,
|
|
777
|
+
offset: t,
|
|
778
|
+
noArrow: !0
|
|
779
|
+
})] });
|
|
780
|
+
}, Ye = (r) => /* @__PURE__ */ v("svg", {
|
|
781
|
+
width: 8,
|
|
782
|
+
height: 32,
|
|
783
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
784
|
+
fill: "none",
|
|
785
|
+
...r,
|
|
786
|
+
children: [
|
|
787
|
+
/* @__PURE__ */ o("path", {
|
|
788
|
+
stroke: "null",
|
|
789
|
+
id: "svg_1",
|
|
790
|
+
fill: "#D6D6D6",
|
|
791
|
+
d: "m0,7.5l4.5,0c0.82843,0 1.5,0.67157 1.5,1.5c0,0.82843 -0.67157,1.5 -1.5,1.5l-4.5,0l0,-3z"
|
|
792
|
+
}),
|
|
793
|
+
/* @__PURE__ */ o("path", {
|
|
794
|
+
id: "svg_2",
|
|
795
|
+
fill: "#D6D6D6",
|
|
796
|
+
d: "m0,14.5l4.5,0c0.82843,0 1.5,0.6716 1.5,1.5c0,0.8284 -0.67157,1.5 -1.5,1.5l-4.5,0l0,-3z"
|
|
797
|
+
}),
|
|
798
|
+
/* @__PURE__ */ o("path", {
|
|
799
|
+
id: "svg_3",
|
|
800
|
+
fill: "#D6D6D6",
|
|
801
|
+
d: "m0,21.5l4.5,0c0.82843,0 1.5,0.6716 1.5,1.5c0,0.8284 -0.67157,1.5 -1.5,1.5l-4.5,0l0,-3z"
|
|
802
|
+
})
|
|
803
|
+
]
|
|
804
|
+
}), un = (r) => {
|
|
805
|
+
const a = r.size ?? 8;
|
|
806
|
+
return /* @__PURE__ */ o(Ye, {
|
|
807
|
+
height: r.size ?? 32,
|
|
808
|
+
width: a
|
|
809
|
+
});
|
|
810
|
+
}, ra = Na(null), Xe = "_input_14itx_1", Je = "_sm_14itx_45", Qe = "_md_14itx_49", er = {
|
|
811
|
+
input: Xe,
|
|
812
|
+
sm: Je,
|
|
813
|
+
md: Qe
|
|
814
|
+
}, mn = ({ size: r, className: a, ...n }) => {
|
|
815
|
+
const t = Ca(ra), i = r ?? t?.size ?? "md";
|
|
816
|
+
return /* @__PURE__ */ o(fr, {
|
|
817
|
+
...n,
|
|
818
|
+
className: S(_(er.input, er[i]), a),
|
|
819
|
+
"data-grouped": N(t) || void 0
|
|
820
|
+
});
|
|
821
|
+
}, Ze = "_root_lk8ci_1", ro = "_sm_lk8ci_27", ao = "_md_lk8ci_31", eo = "_startElement_lk8ci_35", oo = "_endElement_lk8ci_36", rr = {
|
|
822
|
+
root: Ze,
|
|
823
|
+
sm: ro,
|
|
824
|
+
md: ao,
|
|
825
|
+
startElement: eo,
|
|
826
|
+
endElement: oo
|
|
827
|
+
}, Rr = (r) => N(r) && !Ba(r) && r !== "", _n = ({ size: r = "md", startElement: a, endElement: n, className: t, children: i, render: d, ref: e, ...c }) => {
|
|
828
|
+
const s = Yr({
|
|
829
|
+
render: d,
|
|
830
|
+
ref: e,
|
|
831
|
+
props: {
|
|
832
|
+
...c,
|
|
833
|
+
className: _(rr.root, rr[r], t),
|
|
834
|
+
children: /* @__PURE__ */ v(or, { children: [
|
|
835
|
+
Rr(a) && /* @__PURE__ */ o("span", {
|
|
836
|
+
className: rr.startElement,
|
|
837
|
+
children: a
|
|
838
|
+
}),
|
|
839
|
+
i,
|
|
840
|
+
Rr(n) && /* @__PURE__ */ o("span", {
|
|
841
|
+
className: rr.endElement,
|
|
842
|
+
children: n
|
|
843
|
+
})
|
|
844
|
+
] })
|
|
845
|
+
}
|
|
846
|
+
});
|
|
847
|
+
return /* @__PURE__ */ o(ra.Provider, {
|
|
848
|
+
value: { size: r },
|
|
849
|
+
children: s
|
|
850
|
+
});
|
|
851
|
+
}, to = "_hint_1tfyy_1", no = "_danger_1tfyy_8", qr = {
|
|
852
|
+
hint: to,
|
|
853
|
+
danger: no
|
|
854
|
+
}, pn = ({ children: r, className: a, danger: n }) => /* @__PURE__ */ o("div", {
|
|
855
|
+
className: _(qr.hint, n && qr.danger, a),
|
|
856
|
+
children: r
|
|
857
|
+
}), io = "_label_1yxve_1", lo = { label: io }, vn = ({ children: r, className: a, htmlFor: n }) => /* @__PURE__ */ o("label", {
|
|
858
|
+
className: _(lo.label, a),
|
|
859
|
+
htmlFor: n,
|
|
860
|
+
children: r
|
|
861
|
+
}), co = "_container_7kzmx_1", so = { container: co }, hn = ({ iconButtons: r, size: a, className: n }) => /* @__PURE__ */ o("div", {
|
|
862
|
+
className: _(so.container, n),
|
|
863
|
+
children: r.map(({ Wrapper: t, Icon: i, accent: d, onClick: e, ariaLabel: c, dataTestId: s }, u) => {
|
|
864
|
+
const m = /* @__PURE__ */ o(Xr, {
|
|
865
|
+
Icon: i,
|
|
866
|
+
accent: d,
|
|
867
|
+
disabled: !e,
|
|
868
|
+
onClick: e,
|
|
869
|
+
size: a,
|
|
870
|
+
"aria-label": c,
|
|
871
|
+
testId: s
|
|
872
|
+
}, `light-icon-button-${u}`);
|
|
873
|
+
return t ? /* @__PURE__ */ o(t, { iconButton: m }, `light-icon-button-wrapper-${u}`) : m;
|
|
874
|
+
})
|
|
875
|
+
}), uo = "_root_1h79s_1", mo = { root: uo }, bn = ({ className: r, ...a }) => /* @__PURE__ */ o(Ta, {
|
|
876
|
+
...a,
|
|
877
|
+
className: S(mo.root, r)
|
|
878
|
+
}), _o = "_button_vfe7z_1", po = "_small_vfe7z_28", vo = "_medium_vfe7z_33", Fr = {
|
|
879
|
+
button: _o,
|
|
880
|
+
small: po,
|
|
881
|
+
medium: vo
|
|
882
|
+
}, gn = ({ Icon: r, onClick: a, disabled: n, className: t, size: i = "small", "aria-label": d }) => {
|
|
883
|
+
const e = w();
|
|
884
|
+
return /* @__PURE__ */ o("button", {
|
|
885
|
+
className: _(Fr.button, Fr[i], t),
|
|
886
|
+
disabled: n,
|
|
887
|
+
"aria-label": d,
|
|
888
|
+
onClick: a,
|
|
889
|
+
children: /* @__PURE__ */ o(r, {
|
|
890
|
+
size: e.icon.size.md,
|
|
891
|
+
"aria-hidden": !!d
|
|
892
|
+
})
|
|
893
|
+
});
|
|
894
|
+
}, ho = "_wrapper_1nhk7_1", bo = "_inputContainer_1nhk7_8", go = "_iconContainer_1nhk7_25", fo = "_input_1nhk7_8", ar = {
|
|
895
|
+
wrapper: ho,
|
|
896
|
+
inputContainer: bo,
|
|
897
|
+
iconContainer: go,
|
|
898
|
+
input: fo
|
|
899
|
+
}, fn = ({ value: r, onChange: a, placeholder: n, filterDropdown: t, autoFocus: i, disabled: d, className: e, id: c, filterButtonAriaLabel: s = "Filter", "aria-label": u, "aria-labelledby": m }) => {
|
|
900
|
+
const f = w(), [y, x] = P(!1), p = Vr(), b = c ?? p, k = /* @__PURE__ */ o(kr, {
|
|
901
|
+
Icon: va,
|
|
902
|
+
variant: "secondary",
|
|
903
|
+
ariaLabel: s
|
|
904
|
+
});
|
|
905
|
+
return /* @__PURE__ */ v("div", {
|
|
906
|
+
className: _(ar.wrapper, e),
|
|
907
|
+
children: [/* @__PURE__ */ v("div", {
|
|
908
|
+
className: ar.inputContainer,
|
|
909
|
+
children: [/* @__PURE__ */ o("div", {
|
|
910
|
+
className: ar.iconContainer,
|
|
911
|
+
"data-focused": y || void 0,
|
|
912
|
+
"aria-hidden": !0,
|
|
913
|
+
children: /* @__PURE__ */ o(ba, { size: f.icon.size.md })
|
|
914
|
+
}), /* @__PURE__ */ o(fr, {
|
|
915
|
+
id: b,
|
|
916
|
+
className: ar.input,
|
|
917
|
+
value: r,
|
|
918
|
+
onValueChange: (g) => a(g),
|
|
919
|
+
onFocus: () => x(!0),
|
|
920
|
+
onBlur: () => x(!1),
|
|
921
|
+
placeholder: n,
|
|
922
|
+
autoFocus: i,
|
|
923
|
+
disabled: d,
|
|
924
|
+
"aria-label": m ? void 0 : u ?? n,
|
|
925
|
+
"aria-labelledby": m
|
|
926
|
+
})]
|
|
927
|
+
}), t && t(k)]
|
|
928
|
+
});
|
|
929
|
+
}, ko = "_container_1fskn_1", yo = "_item_1fskn_16", So = "_iconOnly_1fskn_56", No = "_icon_1fskn_56", Co = "_label_1fskn_70", U = {
|
|
930
|
+
container: ko,
|
|
931
|
+
item: yo,
|
|
932
|
+
iconOnly: So,
|
|
933
|
+
icon: No,
|
|
934
|
+
label: Co
|
|
935
|
+
}, kn = ({ ariaLabel: r, itemWidth: a = "equal", onChange: n, options: t, role: i = "group", value: d, width: e }) => {
|
|
936
|
+
const c = w(), s = i === "tablist", u = N(e) ? { "--segmented-control-width": typeof e == "number" ? `${e}px` : e } : void 0, m = ({ event: y, optionIndex: x, optionValue: p }) => {
|
|
937
|
+
n(p), Array.from(y.currentTarget.parentElement?.querySelectorAll("button:not(:disabled)") ?? [])[x]?.focus();
|
|
938
|
+
}, f = (y, x) => {
|
|
939
|
+
if (!s) return;
|
|
940
|
+
const p = t.filter(($) => !$.disabled), b = p.findIndex(($) => $.value === x);
|
|
941
|
+
if (b === -1 || p.length === 0) return;
|
|
942
|
+
const k = p.length - 1, g = {
|
|
943
|
+
ArrowDown: (b + 1) % p.length,
|
|
944
|
+
ArrowLeft: b === 0 ? k : b - 1,
|
|
945
|
+
ArrowRight: (b + 1) % p.length,
|
|
946
|
+
ArrowUp: b === 0 ? k : b - 1,
|
|
947
|
+
End: k,
|
|
948
|
+
Home: 0
|
|
949
|
+
}[y.key];
|
|
950
|
+
N(g) && (y.preventDefault(), m({
|
|
951
|
+
event: y,
|
|
952
|
+
optionIndex: g,
|
|
953
|
+
optionValue: p[g].value
|
|
954
|
+
}));
|
|
955
|
+
};
|
|
956
|
+
return /* @__PURE__ */ o("div", {
|
|
957
|
+
className: U.container,
|
|
958
|
+
role: i,
|
|
959
|
+
"aria-label": r,
|
|
960
|
+
style: u,
|
|
961
|
+
children: t.map(({ Icon: y, ariaLabel: x, disabled: p, label: b, value: k }) => {
|
|
962
|
+
const g = k === d, $ = x ?? (typeof b == "string" ? b : void 0), R = N(b);
|
|
963
|
+
return /* @__PURE__ */ v("button", {
|
|
964
|
+
"aria-label": $,
|
|
965
|
+
"aria-pressed": s ? void 0 : g,
|
|
966
|
+
"aria-selected": s ? g : void 0,
|
|
967
|
+
className: _(U.item, !R && U.iconOnly),
|
|
968
|
+
"data-active": g || void 0,
|
|
969
|
+
disabled: p,
|
|
970
|
+
"data-item-width": a,
|
|
971
|
+
onClick: () => n(k),
|
|
972
|
+
onKeyDown: (V) => f(V, k),
|
|
973
|
+
role: s ? "tab" : void 0,
|
|
974
|
+
tabIndex: s ? g ? 0 : -1 : void 0,
|
|
975
|
+
type: "button",
|
|
976
|
+
children: [y && /* @__PURE__ */ o("span", {
|
|
977
|
+
className: U.icon,
|
|
978
|
+
children: /* @__PURE__ */ o(y, {
|
|
979
|
+
"aria-hidden": R || N($),
|
|
980
|
+
color: g ? c.font.color.primary : c.font.color.secondary,
|
|
981
|
+
size: c.icon.size.md
|
|
982
|
+
})
|
|
983
|
+
}), R && /* @__PURE__ */ o("span", {
|
|
984
|
+
className: U.label,
|
|
985
|
+
children: b
|
|
986
|
+
})]
|
|
987
|
+
}, k);
|
|
988
|
+
})
|
|
989
|
+
});
|
|
990
|
+
}, xo = "_trigger_hijh9_1", $o = "_value_hijh9_12", Bo = "_icon_hijh9_31", wo = "_positioner_hijh9_42", Io = "_popup_hijh9_46", Lo = "_item_hijh9_71", zo = "_indicator_hijh9_75", To = "_groupLabel_hijh9_81", Do = "_separator_hijh9_89", E = {
|
|
991
|
+
trigger: xo,
|
|
992
|
+
value: $o,
|
|
993
|
+
icon: Bo,
|
|
994
|
+
positioner: wo,
|
|
995
|
+
popup: Io,
|
|
996
|
+
item: Lo,
|
|
997
|
+
indicator: zo,
|
|
998
|
+
groupLabel: To,
|
|
999
|
+
separator: Do
|
|
1000
|
+
}, Eo = ({ className: r, ...a }) => /* @__PURE__ */ o(B.GroupLabel, {
|
|
1001
|
+
...a,
|
|
1002
|
+
className: S(E.groupLabel, r)
|
|
1003
|
+
}), Ro = ({ className: r, children: a, startIcon: n, endIcon: t, description: i, descriptionPlacement: d = "inline", ...e }) => /* @__PURE__ */ v(B.Item, {
|
|
1004
|
+
...e,
|
|
1005
|
+
className: S(_(L.root, E.item), r),
|
|
1006
|
+
"data-color": "neutral",
|
|
1007
|
+
"data-indicator": "check",
|
|
1008
|
+
children: [
|
|
1009
|
+
Q(n) && /* @__PURE__ */ o("div", {
|
|
1010
|
+
className: L.startIcon,
|
|
1011
|
+
"aria-hidden": !0,
|
|
1012
|
+
children: n
|
|
1013
|
+
}),
|
|
1014
|
+
/* @__PURE__ */ v("div", {
|
|
1015
|
+
className: L.label,
|
|
1016
|
+
children: [/* @__PURE__ */ o(B.ItemText, {
|
|
1017
|
+
className: L.text,
|
|
1018
|
+
children: a
|
|
1019
|
+
}), Q(i) && d === "inline" && /* @__PURE__ */ o("div", {
|
|
1020
|
+
className: _(L.description, L.inlineDescription),
|
|
1021
|
+
children: i
|
|
1022
|
+
})]
|
|
1023
|
+
}),
|
|
1024
|
+
Q(i) && d === "end" && /* @__PURE__ */ o("div", {
|
|
1025
|
+
className: _(L.description, L.endDescription),
|
|
1026
|
+
children: i
|
|
1027
|
+
}),
|
|
1028
|
+
Q(t) && /* @__PURE__ */ o("div", {
|
|
1029
|
+
className: L.endIcon,
|
|
1030
|
+
"aria-hidden": !0,
|
|
1031
|
+
children: t
|
|
1032
|
+
}),
|
|
1033
|
+
/* @__PURE__ */ o(B.ItemIndicator, {
|
|
1034
|
+
className: E.indicator,
|
|
1035
|
+
children: /* @__PURE__ */ o(Mr, { className: L.checkIndicator })
|
|
1036
|
+
})
|
|
1037
|
+
]
|
|
1038
|
+
}), qo = ({ side: r = "bottom", align: a = "start", sideOffset: n = 8, alignOffset: t, alignItemWithTrigger: i = !1, anchor: d, container: e, className: c, ...s }) => {
|
|
1039
|
+
const u = da(), m = za();
|
|
1040
|
+
return /* @__PURE__ */ o(B.Portal, {
|
|
1041
|
+
container: e === void 0 ? u ?? void 0 : e,
|
|
1042
|
+
children: /* @__PURE__ */ o(B.Positioner, {
|
|
1043
|
+
dir: m,
|
|
1044
|
+
side: r,
|
|
1045
|
+
align: a,
|
|
1046
|
+
sideOffset: n,
|
|
1047
|
+
alignOffset: t,
|
|
1048
|
+
alignItemWithTrigger: i,
|
|
1049
|
+
anchor: d,
|
|
1050
|
+
className: E.positioner,
|
|
1051
|
+
children: /* @__PURE__ */ o(B.Popup, {
|
|
1052
|
+
...s,
|
|
1053
|
+
className: S(E.popup, c)
|
|
1054
|
+
})
|
|
1055
|
+
})
|
|
1056
|
+
});
|
|
1057
|
+
}, Fo = ({ className: r, ...a }) => /* @__PURE__ */ o(B.Separator, {
|
|
1058
|
+
...a,
|
|
1059
|
+
className: S(E.separator, r)
|
|
1060
|
+
}), Ho = ({ size: r = "md", className: a, children: n, ...t }) => /* @__PURE__ */ v(B.Trigger, {
|
|
1061
|
+
...t,
|
|
1062
|
+
className: S(_(er.input, er[r], E.trigger), a),
|
|
1063
|
+
children: [n, /* @__PURE__ */ o(B.Icon, {
|
|
1064
|
+
className: E.icon,
|
|
1065
|
+
children: /* @__PURE__ */ o(pa, {})
|
|
1066
|
+
})]
|
|
1067
|
+
}), Ao = ({ className: r, ...a }) => /* @__PURE__ */ o(B.Value, {
|
|
1068
|
+
...a,
|
|
1069
|
+
className: S(E.value, r)
|
|
1070
|
+
}), Go = () => ({
|
|
1071
|
+
Root: B.Root,
|
|
1072
|
+
Trigger: Ho,
|
|
1073
|
+
Value: Ao,
|
|
1074
|
+
Popup: qo,
|
|
1075
|
+
Item: Ro,
|
|
1076
|
+
Group: B.Group,
|
|
1077
|
+
GroupLabel: Eo,
|
|
1078
|
+
Separator: Fo
|
|
1079
|
+
}), yn = /* @__PURE__ */ Go(), Oo = "_root_1mh0w_1", Mo = "_accent_1mh0w_16", Po = "_success_1mh0w_20", jo = "_control_1mh0w_24", Wo = "_track_1mh0w_42", Vo = "_indicator_1mh0w_55", Ko = "_thumb_1mh0w_66", Uo = "_label_1mh0w_80", Yo = "_value_1mh0w_81", G = {
|
|
1080
|
+
root: Oo,
|
|
1081
|
+
accent: Mo,
|
|
1082
|
+
success: Po,
|
|
1083
|
+
control: jo,
|
|
1084
|
+
track: Wo,
|
|
1085
|
+
indicator: Vo,
|
|
1086
|
+
thumb: Ko,
|
|
1087
|
+
label: Uo,
|
|
1088
|
+
value: Yo
|
|
1089
|
+
}, Xo = ({ className: r, color: a = "accent", thumbAlignment: n = "edge", ...t }) => /* @__PURE__ */ o(O.Root, {
|
|
1090
|
+
...t,
|
|
1091
|
+
thumbAlignment: n,
|
|
1092
|
+
className: S(_(G.root, G[a]), r)
|
|
1093
|
+
}), Jo = ({ className: r, ...a }) => /* @__PURE__ */ o(O.Control, {
|
|
1094
|
+
...a,
|
|
1095
|
+
className: S(G.control, r)
|
|
1096
|
+
}), Qo = ({ className: r, ...a }) => /* @__PURE__ */ o(O.Track, {
|
|
1097
|
+
...a,
|
|
1098
|
+
className: S(G.track, r)
|
|
1099
|
+
}), Zo = ({ className: r, ...a }) => /* @__PURE__ */ o(O.Indicator, {
|
|
1100
|
+
...a,
|
|
1101
|
+
className: S(G.indicator, r)
|
|
1102
|
+
}), rt = ({ className: r, ...a }) => /* @__PURE__ */ o(O.Thumb, {
|
|
1103
|
+
...a,
|
|
1104
|
+
className: S(G.thumb, r)
|
|
1105
|
+
}), at = ({ className: r, ...a }) => /* @__PURE__ */ o(O.Label, {
|
|
1106
|
+
...a,
|
|
1107
|
+
className: S(G.label, r)
|
|
1108
|
+
}), et = ({ className: r, ...a }) => /* @__PURE__ */ o(O.Value, {
|
|
1109
|
+
...a,
|
|
1110
|
+
className: S(G.value, r)
|
|
1111
|
+
}), Sn = {
|
|
1112
|
+
Root: Xo,
|
|
1113
|
+
Control: Jo,
|
|
1114
|
+
Track: Qo,
|
|
1115
|
+
Indicator: Zo,
|
|
1116
|
+
Thumb: rt,
|
|
1117
|
+
Label: at,
|
|
1118
|
+
Value: et
|
|
1119
|
+
}, ot = "_root_rn2ew_1", tt = "_sm_rn2ew_33", nt = "_md_rn2ew_39", it = "_thumb_rn2ew_45", hr = {
|
|
1120
|
+
root: ot,
|
|
1121
|
+
sm: tt,
|
|
1122
|
+
md: nt,
|
|
1123
|
+
thumb: it
|
|
1124
|
+
}, Nn = ({ size: r = "md", className: a, children: n, ...t }) => /* @__PURE__ */ v($r.Root, {
|
|
1125
|
+
...t,
|
|
1126
|
+
className: S(_(hr.root, hr[r]), a),
|
|
1127
|
+
children: [/* @__PURE__ */ o($r.Thumb, { className: hr.thumb }), n]
|
|
1128
|
+
}), lt = "_tabButton_y4kj0_1", dt = "_tabContainer_y4kj0_36", ct = "_tabHover_y4kj0_67", yr = {
|
|
1129
|
+
tabButton: lt,
|
|
1130
|
+
tabContainer: dt,
|
|
1131
|
+
tabHover: ct
|
|
1132
|
+
}, aa = W(({ active: r, disabled: a, to: n, state: t, replace: i, className: d, children: e, ...c }, s) => /* @__PURE__ */ o(n ? gr : "button", {
|
|
1133
|
+
ref: s,
|
|
1134
|
+
to: n,
|
|
1135
|
+
state: n ? t : void 0,
|
|
1136
|
+
replace: n ? i : void 0,
|
|
1137
|
+
disabled: n ? void 0 : a,
|
|
1138
|
+
className: _(yr.tabButton, d),
|
|
1139
|
+
"data-active": r || void 0,
|
|
1140
|
+
"data-disabled": a || void 0,
|
|
1141
|
+
...c,
|
|
1142
|
+
children: e
|
|
1143
|
+
}));
|
|
1144
|
+
aa.displayName = "StyledTabButton";
|
|
1145
|
+
var st = W(({ active: r, disabled: a, className: n, children: t, ...i }, d) => /* @__PURE__ */ o("div", {
|
|
1146
|
+
ref: d,
|
|
1147
|
+
className: _(yr.tabContainer, n),
|
|
1148
|
+
"data-active": r || void 0,
|
|
1149
|
+
"data-disabled": a || void 0,
|
|
1150
|
+
...i,
|
|
1151
|
+
children: t
|
|
1152
|
+
}));
|
|
1153
|
+
st.displayName = "StyledTabContainer";
|
|
1154
|
+
var ea = W(({ contentSize: r, className: a, children: n, ...t }, i) => /* @__PURE__ */ o("span", {
|
|
1155
|
+
ref: i,
|
|
1156
|
+
className: _(yr.tabHover, a),
|
|
1157
|
+
"data-content-size": r,
|
|
1158
|
+
...t,
|
|
1159
|
+
children: n
|
|
1160
|
+
}));
|
|
1161
|
+
ea.displayName = "StyledTabHover";
|
|
1162
|
+
var ut = ({ active: r, disabled: a, LeftIcon: n, title: t, logo: i, RightIcon: d, pill: e, contentSize: c = "sm", className: s }) => {
|
|
1163
|
+
const u = w(), m = r ? u.font.color.primary : a ? u.font.color.extraLight : u.font.color.secondary;
|
|
1164
|
+
return /* @__PURE__ */ v(ea, {
|
|
1165
|
+
contentSize: c,
|
|
1166
|
+
className: s,
|
|
1167
|
+
children: [
|
|
1168
|
+
n && /* @__PURE__ */ o(n, {
|
|
1169
|
+
color: m,
|
|
1170
|
+
size: u.icon.size.md,
|
|
1171
|
+
"aria-hidden": !0
|
|
1172
|
+
}),
|
|
1173
|
+
i && /* @__PURE__ */ o(fa, {
|
|
1174
|
+
src: i,
|
|
1175
|
+
size: "md",
|
|
1176
|
+
name: t,
|
|
1177
|
+
"aria-hidden": !0
|
|
1178
|
+
}),
|
|
1179
|
+
t,
|
|
1180
|
+
d && /* @__PURE__ */ o(d, {
|
|
1181
|
+
color: m,
|
|
1182
|
+
size: u.icon.size.md,
|
|
1183
|
+
"aria-hidden": !0
|
|
1184
|
+
}),
|
|
1185
|
+
e && (typeof e == "string" ? /* @__PURE__ */ o(Or, { label: e }) : e)
|
|
1186
|
+
]
|
|
1187
|
+
});
|
|
1188
|
+
}, mt = "_tabTooltipWrapper_197au_1", _t = { tabTooltipWrapper: mt }, Cn = ({ id: r, active: a, disabled: n, to: t, state: i, replace: d, LeftIcon: e, className: c, title: s, onClick: u, logo: m, RightIcon: f, pill: y, contentSize: x = "sm", disableTestId: p = !1, tooltipContent: b, onMouseEnter: k, onMouseLeave: g }) => {
|
|
1189
|
+
const $ = `tab-${r}`;
|
|
1190
|
+
return /* @__PURE__ */ v("div", {
|
|
1191
|
+
id: $,
|
|
1192
|
+
className: _t.tabTooltipWrapper,
|
|
1193
|
+
children: [/* @__PURE__ */ o(aa, {
|
|
1194
|
+
"data-testid": p ? void 0 : `tab-${r}`,
|
|
1195
|
+
active: a,
|
|
1196
|
+
disabled: n,
|
|
1197
|
+
to: t,
|
|
1198
|
+
state: i,
|
|
1199
|
+
replace: d,
|
|
1200
|
+
className: c,
|
|
1201
|
+
onClick: u,
|
|
1202
|
+
onMouseEnter: k,
|
|
1203
|
+
onMouseLeave: g,
|
|
1204
|
+
children: /* @__PURE__ */ o(ut, {
|
|
1205
|
+
id: r,
|
|
1206
|
+
active: a,
|
|
1207
|
+
disabled: n,
|
|
1208
|
+
LeftIcon: e,
|
|
1209
|
+
title: s,
|
|
1210
|
+
logo: m,
|
|
1211
|
+
RightIcon: f,
|
|
1212
|
+
pill: y,
|
|
1213
|
+
contentSize: x
|
|
1214
|
+
})
|
|
1215
|
+
}), b && /* @__PURE__ */ o(jr, {
|
|
1216
|
+
anchorSelect: `#${$}`,
|
|
1217
|
+
title: b,
|
|
1218
|
+
noArrow: !0,
|
|
1219
|
+
place: "bottom",
|
|
1220
|
+
positionStrategy: "fixed",
|
|
1221
|
+
delay: Wr.shortDelay
|
|
1222
|
+
})]
|
|
1223
|
+
}, r);
|
|
1224
|
+
}, pt = (r) => N(r) ? wa(r) ? `${r}px` : String(r) : "", Hr = (r, a) => {
|
|
1225
|
+
if (N(r)) {
|
|
1226
|
+
if (Ur(r)) return r(a);
|
|
1227
|
+
r.current = a;
|
|
1228
|
+
}
|
|
1229
|
+
}, vt = (...r) => (a) => {
|
|
1230
|
+
const n = r.map((t) => {
|
|
1231
|
+
const i = Hr(t, a);
|
|
1232
|
+
return Ur(i) ? i : () => Hr(t, null);
|
|
1233
|
+
});
|
|
1234
|
+
return () => {
|
|
1235
|
+
for (const t of n) t();
|
|
1236
|
+
};
|
|
1237
|
+
}, Ar = (r) => {
|
|
1238
|
+
r.style.blockSize = "auto";
|
|
1239
|
+
const a = r.offsetHeight - r.clientHeight;
|
|
1240
|
+
r.style.blockSize = `${r.scrollHeight + a}px`;
|
|
1241
|
+
}, ht = "_textarea_1qcvj_1", bt = "_sm_1qcvj_38", gt = "_md_1qcvj_42", Gr = {
|
|
1242
|
+
textarea: ht,
|
|
1243
|
+
sm: bt,
|
|
1244
|
+
md: gt
|
|
1245
|
+
}, ft = /* @__PURE__ */ o("textarea", {}), xn = ({ size: r = "md", autoResize: a = !1, maxRows: n, className: t, style: i, ref: d, render: e = ft, onChange: c, value: s, rows: u, ...m }) => {
|
|
1246
|
+
const f = $a(null), y = Kr(() => vt(d, f), [d]), x = N(s), p = i?.blockSize;
|
|
1247
|
+
xa(() => {
|
|
1248
|
+
const g = f.current;
|
|
1249
|
+
if (N(g)) {
|
|
1250
|
+
if (!a) {
|
|
1251
|
+
g.style.blockSize = pt(p);
|
|
1252
|
+
return;
|
|
1253
|
+
}
|
|
1254
|
+
Ar(g);
|
|
1255
|
+
}
|
|
1256
|
+
}, [
|
|
1257
|
+
a,
|
|
1258
|
+
s,
|
|
1259
|
+
n,
|
|
1260
|
+
u,
|
|
1261
|
+
p
|
|
1262
|
+
]);
|
|
1263
|
+
const b = (g) => {
|
|
1264
|
+
a && !x && Ar(g.currentTarget), c?.(g);
|
|
1265
|
+
}, k = N(n) ? {
|
|
1266
|
+
...i,
|
|
1267
|
+
"--tw-textarea-max-rows": n
|
|
1268
|
+
} : i;
|
|
1269
|
+
return /* @__PURE__ */ o(fr, {
|
|
1270
|
+
...m,
|
|
1271
|
+
rows: u,
|
|
1272
|
+
onChange: b,
|
|
1273
|
+
ref: y,
|
|
1274
|
+
render: e,
|
|
1275
|
+
value: s,
|
|
1276
|
+
className: S(_(Gr.textarea, Gr[r]), t),
|
|
1277
|
+
style: k,
|
|
1278
|
+
"data-auto-resize": a || void 0
|
|
1279
|
+
});
|
|
1280
|
+
};
|
|
1281
|
+
export {
|
|
1282
|
+
Xr as A,
|
|
1283
|
+
Yt as B,
|
|
1284
|
+
He as C,
|
|
1285
|
+
on as D,
|
|
1286
|
+
tn as E,
|
|
1287
|
+
Zt as F,
|
|
1288
|
+
Qt as I,
|
|
1289
|
+
re as L,
|
|
1290
|
+
rn as M,
|
|
1291
|
+
oe as N,
|
|
1292
|
+
vr as O,
|
|
1293
|
+
wr as P,
|
|
1294
|
+
Jt as R,
|
|
1295
|
+
dn as S,
|
|
1296
|
+
nn as T,
|
|
1297
|
+
un as _,
|
|
1298
|
+
Nn as a,
|
|
1299
|
+
Ve as b,
|
|
1300
|
+
kn as c,
|
|
1301
|
+
bn as d,
|
|
1302
|
+
hn as f,
|
|
1303
|
+
mn as g,
|
|
1304
|
+
_n as h,
|
|
1305
|
+
st as i,
|
|
1306
|
+
an as j,
|
|
1307
|
+
en as k,
|
|
1308
|
+
fn as l,
|
|
1309
|
+
pn as m,
|
|
1310
|
+
Cn as n,
|
|
1311
|
+
Sn as o,
|
|
1312
|
+
vn as p,
|
|
1313
|
+
ut as r,
|
|
1314
|
+
yn as s,
|
|
1315
|
+
xn as t,
|
|
1316
|
+
gn as u,
|
|
1317
|
+
sn as v,
|
|
1318
|
+
ln as w,
|
|
1319
|
+
kr as x,
|
|
1320
|
+
cn as y,
|
|
1321
|
+
Xt as z
|
|
1322
|
+
};
|