twenty-ui 1.0.0-alpha.1 → 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/LICENSE +10 -699
- package/README.md +44 -18
- package/dist/AllIcons-CFPS3m2F.cjs +1 -0
- package/dist/AllIcons-UzofKGsA.js +4194 -0
- 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-C21bgWKF.js +236 -0
- package/dist/OverflowingTextWithTooltip-C2iADYbv.cjs +1 -0
- package/dist/Pill-4lAWCmbk.cjs +1 -0
- package/dist/Pill-abKRH4XK.js +19 -0
- package/dist/TablerIcons-Ctfi8z4q.js +448 -0
- package/dist/accessibility-BEkMTFE2.cjs +1 -0
- package/dist/accessibility-C7H0m2Th.js +16 -0
- 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/IconSparkle2.d.ts +4 -0
- package/dist/icon/components/TablerIcons.d.ts +1 -1
- package/dist/icon/constants/TwentyIconDictionary.d.ts +563 -0
- package/dist/icon/index.d.ts +4 -1
- package/dist/icon/internal/generateTwentyIconDictionaryMarkdown.d.ts +2 -0
- package/dist/icon/providers/internal/AllIcons.d.ts +9 -0
- package/dist/{icon-Cu2YFC7D.js → icon-DqzYzlBl.js} +1566 -662
- package/dist/icon-QYavWP3u.cjs +1 -0
- package/dist/icon.cjs +1 -1
- package/dist/icon.mjs +490 -472
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -9
- package/dist/index.mjs +740 -736
- 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-CN76kFy-.cjs +1 -0
- package/dist/json-visualizer-Q7wzKVum.js +241 -0
- package/dist/layout-BN3KI-Wu.cjs +1 -0
- package/dist/layout-LzKpLxiO.js +124 -0
- 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/{accessibility → primitives/accessibility}/index.d.ts +0 -1
- 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/AvatarGroup/AvatarGroup.d.ts +10 -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/EllipsisDisplay/EllipsisDisplay.d.ts +7 -0
- package/dist/primitives/data-display/JsonDisplay/JsonDisplay.d.ts +6 -0
- package/dist/primitives/data-display/LinkChip/LinkChip.d.ts +11 -0
- package/dist/primitives/data-display/NumberDisplay/NumberDisplay.d.ts +6 -0
- package/dist/{data-display → primitives/data-display}/Pill/Pill.d.ts +1 -1
- package/dist/primitives/data-display/SelectDisplay/SelectDisplay.d.ts +10 -0
- 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/primitives/data-display/TextDisplay/TextDisplay.d.ts +6 -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 +15 -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/constants/Background.d.ts +19 -0
- package/dist/primitives/feedback/AnimatedPlaceholder/constants/DarkBackground.d.ts +19 -0
- package/dist/primitives/feedback/AnimatedPlaceholder/constants/DarkMovingImage.d.ts +19 -0
- package/dist/primitives/feedback/AnimatedPlaceholder/constants/MovingImage.d.ts +19 -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/primitives/feedback/InlineBanner/InlineBanner.d.ts +18 -0
- package/dist/{feedback → primitives/feedback}/Loader/Loader.d.ts +1 -1
- package/dist/primitives/feedback/Toast/Toast.d.ts +2 -0
- 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/types/ToastVariant.d.ts +1 -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 +11 -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/primitives/input/Checkbox/Checkbox.d.ts +2 -0
- package/dist/primitives/input/Checkbox/types/CheckboxColor.d.ts +1 -0
- package/dist/primitives/input/Checkbox/types/CheckboxProps.d.ts +20 -0
- package/dist/primitives/input/Checkbox/types/CheckboxShape.d.ts +1 -0
- package/dist/primitives/input/Checkbox/types/CheckboxSize.d.ts +1 -0
- package/dist/primitives/input/Checkbox/types/CheckboxVariant.d.ts +1 -0
- package/dist/{input → primitives/input}/CodeEditor/utils/getBaseCodeEditorTheme.d.ts +1 -1
- package/dist/{input → primitives/input}/ColorSchemeCard/ColorSchemeCard.d.ts +1 -1
- package/dist/primitives/input/Field/Field.d.ts +8 -0
- package/dist/primitives/input/Field/internal/FieldDescription.d.ts +1 -0
- package/dist/primitives/input/Field/internal/FieldError.d.ts +1 -0
- package/dist/primitives/input/Field/internal/FieldLabel.d.ts +1 -0
- 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/primitives/input/IconButtonWithTooltip/IconButtonWithTooltip.d.ts +9 -0
- package/dist/{input → primitives/input}/IconListViewGrip/IconListViewGrip.d.ts +1 -1
- package/dist/primitives/input/Input/Input.d.ts +2 -0
- package/dist/primitives/input/Input/types/InputProps.d.ts +6 -0
- package/dist/primitives/input/InputGroup/InputGroup.d.ts +2 -0
- package/dist/primitives/input/InputGroup/internal/InputGroupContext.d.ts +4 -0
- package/dist/primitives/input/InputGroup/internal/isRenderableAdornment.d.ts +2 -0
- package/dist/primitives/input/InputGroup/types/InputGroupProps.d.ts +11 -0
- package/dist/primitives/input/InputHint/InputHint.d.ts +10 -0
- package/dist/primitives/input/InputLabel/InputLabel.d.ts +10 -0
- 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/primitives/input/SegmentedControl/SegmentedControl.d.ts +29 -0
- package/dist/primitives/input/Select/Select.d.ts +11 -0
- package/dist/primitives/input/Select/__stories__/SelectExample.d.ts +9 -0
- package/dist/primitives/input/Select/__stories__/waitForSelectPopup.d.ts +1 -0
- package/dist/primitives/input/Select/internal/SelectGroupLabel.d.ts +2 -0
- package/dist/primitives/input/Select/internal/SelectItem.d.ts +2 -0
- package/dist/primitives/input/Select/internal/SelectPopup.d.ts +2 -0
- package/dist/primitives/input/Select/internal/SelectSeparator.d.ts +2 -0
- package/dist/primitives/input/Select/internal/SelectTrigger.d.ts +2 -0
- package/dist/primitives/input/Select/internal/SelectValue.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectGroupLabelProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectGroupProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectItemProps.d.ts +3 -0
- package/dist/primitives/input/Select/types/SelectPopupProps.d.ts +8 -0
- package/dist/primitives/input/Select/types/SelectRootProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectSeparatorProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectTriggerProps.d.ts +6 -0
- package/dist/primitives/input/Select/types/SelectValueProps.d.ts +2 -0
- package/dist/primitives/input/Slider/Slider.d.ts +9 -0
- package/dist/primitives/input/Slider/internal/SliderControl.d.ts +2 -0
- package/dist/primitives/input/Slider/internal/SliderIndicator.d.ts +2 -0
- package/dist/primitives/input/Slider/internal/SliderLabel.d.ts +2 -0
- package/dist/primitives/input/Slider/internal/SliderRoot.d.ts +2 -0
- package/dist/primitives/input/Slider/internal/SliderThumb.d.ts +2 -0
- package/dist/primitives/input/Slider/internal/SliderTrack.d.ts +2 -0
- package/dist/primitives/input/Slider/internal/SliderValue.d.ts +2 -0
- package/dist/primitives/input/Slider/types/SliderControlProps.d.ts +2 -0
- package/dist/primitives/input/Slider/types/SliderIndicatorProps.d.ts +2 -0
- package/dist/primitives/input/Slider/types/SliderLabelProps.d.ts +2 -0
- package/dist/primitives/input/Slider/types/SliderRootProps.d.ts +5 -0
- package/dist/primitives/input/Slider/types/SliderThumbProps.d.ts +2 -0
- package/dist/primitives/input/Slider/types/SliderTrackProps.d.ts +2 -0
- package/dist/primitives/input/Slider/types/SliderValueProps.d.ts +2 -0
- package/dist/primitives/input/Switch/Switch.d.ts +2 -0
- package/dist/primitives/input/Switch/types/SwitchProps.d.ts +6 -0
- package/dist/primitives/input/Switch/types/SwitchSize.d.ts +1 -0
- package/dist/{input → primitives/input}/TabButton/TabButton.d.ts +8 -3
- package/dist/{input → primitives/input}/TabButton/parts/StyledTabBase.d.ts +4 -1
- package/dist/{input → primitives/input}/TabButton/parts/TabContent.d.ts +1 -1
- package/dist/primitives/input/Textarea/Textarea.d.ts +2 -0
- package/dist/primitives/input/Textarea/internal/formatInlineBlockSize.d.ts +2 -0
- package/dist/primitives/input/Textarea/internal/mergeRefs.d.ts +2 -0
- package/dist/primitives/input/Textarea/internal/resizeTextareaToContent.d.ts +1 -0
- package/dist/primitives/input/Textarea/types/TextareaProps.d.ts +21 -0
- package/dist/primitives/input/index.d.ts +98 -0
- package/dist/primitives/input/types/InputSize.d.ts +1 -0
- 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/ListItem.d.ts +2 -0
- package/dist/primitives/navigation/ListItem/internal/ListItemCheckboxIndicator.d.ts +6 -0
- package/dist/primitives/navigation/ListItem/internal/isRenderableSlot.d.ts +2 -0
- package/dist/primitives/navigation/ListItem/types/ListItemColor.d.ts +1 -0
- package/dist/primitives/navigation/ListItem/types/ListItemDescriptionPlacement.d.ts +1 -0
- package/dist/primitives/navigation/ListItem/types/ListItemIndicator.d.ts +1 -0
- package/dist/primitives/navigation/ListItem/types/ListItemProps.d.ts +44 -0
- package/dist/primitives/navigation/ListItem/types/ListItemState.d.ts +9 -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/primitives/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.d.ts +7 -0
- 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 +3 -3
- 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/primitives/navigation/MenuItemSwitch/MenuItemSwitch.d.ts +14 -0
- package/dist/{navigation → primitives/navigation}/MenuPicker/MenuPicker.d.ts +1 -1
- package/dist/primitives/navigation/NavigationBar/NavigationBar.d.ts +13 -0
- package/dist/{navigation → primitives/navigation}/NavigationBarItem/NavigationBarItem.d.ts +1 -1
- package/dist/{navigation → primitives/navigation}/SocialLink/SocialLink.d.ts +1 -1
- package/dist/primitives/navigation/Tabs/Tabs.d.ts +6 -0
- package/dist/primitives/navigation/Tabs/internal/TabsList.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/internal/TabsPanel.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/internal/TabsRoot.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/internal/TabsTab.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/internal/focusNextEnabledTab.d.ts +9 -0
- package/dist/primitives/navigation/Tabs/internal/isRenderableSlot.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsListProps.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsPanelProps.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsRootProps.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsSize.d.ts +1 -0
- package/dist/primitives/navigation/Tabs/types/TabsTabProps.d.ts +11 -0
- package/dist/{navigation → primitives/navigation}/index.d.ts +14 -2
- package/dist/primitives/navigation.cjs +1 -0
- package/dist/primitives/navigation.mjs +43 -0
- package/dist/primitives/surfaces/AlertDialog/AlertDialog.d.ts +12 -0
- package/dist/primitives/surfaces/AlertDialog/__stories__/AlertDialogExample.d.ts +10 -0
- package/dist/primitives/surfaces/AlertDialog/__stories__/waitForAlertDialog.d.ts +1 -0
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogBody.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogDescription.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogFooter.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogHeader.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogPopup.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogTitle.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogBodyProps.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogCloseProps.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogDescriptionProps.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogFooterProps.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogHeaderProps.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogPopupProps.d.ts +13 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogRootProps.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogSize.d.ts +1 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogTitleProps.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogTriggerProps.d.ts +2 -0
- package/dist/{surfaces → primitives/surfaces}/AppTooltip/AppTooltip.d.ts +8 -5
- package/dist/primitives/surfaces/Menu/Menu.d.ts +15 -0
- package/dist/primitives/surfaces/Menu/internal/MenuCheckboxItem.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/internal/MenuGroup.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/internal/MenuGroupLabel.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/internal/MenuItem.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/internal/MenuNestingContext.d.ts +1 -0
- package/dist/primitives/surfaces/Menu/internal/MenuPopup.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/internal/MenuPopupPositionDefaults.d.ts +8 -0
- package/dist/primitives/surfaces/Menu/internal/MenuRadioGroup.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/internal/MenuRadioItem.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/internal/MenuSeparator.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/internal/MenuSubmenuRoot.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/internal/MenuSubmenuTrigger.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/internal/getMenuListItemProps.d.ts +14 -0
- package/dist/primitives/surfaces/Menu/types/MenuActionItemProps.d.ts +3 -0
- package/dist/primitives/surfaces/Menu/types/MenuAlign.d.ts +1 -0
- package/dist/primitives/surfaces/Menu/types/MenuCheckboxItemProps.d.ts +3 -0
- package/dist/primitives/surfaces/Menu/types/MenuGroupLabelProps.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/types/MenuGroupProps.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/types/MenuItemSlotProps.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/types/MenuPopupProps.d.ts +31 -0
- package/dist/primitives/surfaces/Menu/types/MenuRadioGroupProps.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/types/MenuRadioItemProps.d.ts +3 -0
- package/dist/primitives/surfaces/Menu/types/MenuRootProps.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/types/MenuSeparatorProps.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/types/MenuSide.d.ts +1 -0
- package/dist/primitives/surfaces/Menu/types/MenuSubmenuRootProps.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/types/MenuSubmenuTriggerProps.d.ts +3 -0
- package/dist/primitives/surfaces/Menu/types/MenuTriggerProps.d.ts +2 -0
- package/dist/primitives/surfaces/Modal/Modal.d.ts +2 -0
- package/dist/{surfaces → primitives/surfaces}/Modal/types/ModalProps.d.ts +1 -0
- package/dist/{surfaces → primitives/surfaces}/OverflowingTextWithTooltip/OverflowingTextWithTooltip.d.ts +4 -2
- package/dist/primitives/surfaces/Popover/Popover.d.ts +9 -0
- package/dist/primitives/surfaces/Popover/internal/PopoverDescription.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/internal/PopoverPopup.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/internal/PopoverTitle.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverAlign.d.ts +1 -0
- package/dist/primitives/surfaces/Popover/types/PopoverCloseProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverDescriptionProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverPopupProps.d.ts +24 -0
- package/dist/primitives/surfaces/Popover/types/PopoverRootProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverSide.d.ts +1 -0
- package/dist/primitives/surfaces/Popover/types/PopoverTitleProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverTriggerProps.d.ts +2 -0
- package/dist/primitives/surfaces/index.d.ts +55 -0
- package/dist/primitives/surfaces.cjs +1 -0
- package/dist/primitives/surfaces.mjs +20 -0
- package/dist/primitives/typography/Text/Text.d.ts +19 -0
- package/dist/{typography → primitives/typography}/index.d.ts +1 -0
- package/dist/primitives/typography.cjs +1 -0
- package/dist/primitives/typography.mjs +15 -0
- package/dist/primitives.cjs +1 -0
- package/dist/primitives.mjs +201 -0
- package/dist/style.css +1 -1
- package/dist/surfaces-B8zw9F5W.js +494 -0
- package/dist/surfaces-ec8RlQ5J.cjs +1 -0
- package/dist/testing/types/CatalogStory.d.ts +2 -0
- package/dist/testing.cjs +1 -1
- package/dist/testing.mjs +2 -2
- package/dist/theme/constants/Animation.d.ts +0 -1
- package/dist/theme/constants/AnimationDuration.d.ts +2 -0
- package/dist/theme/constants/MainColorNames.d.ts +1 -2
- package/dist/theme/constants/ThemeCommon.d.ts +22 -4
- package/dist/theme/constants/ThemeLight.d.ts +480 -458
- package/dist/theme/index.d.ts +1 -36
- package/dist/theme/internal/themeSpacing.d.ts +1 -0
- package/dist/theme-OwFrow8b.js +2223 -0
- package/dist/theme-YHfZnD2U.cjs +1 -0
- package/dist/theme-constants/ThemeProvider.d.ts +3 -46
- package/dist/theme-constants/index.d.ts +2 -1
- package/dist/theme-constants/themeCssVariables.d.ts +9 -0
- package/dist/theme-constants/themeTypes.d.ts +1096 -0
- package/dist/theme-constants/useTheme.d.ts +1 -1
- package/dist/{theme-constants-D9oV4GU4.js → theme-constants-DETwIS-a.js} +73 -54
- 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 +49 -8
- package/dist/theme-light.css +49 -8
- package/dist/theme.cjs +1 -1
- package/dist/theme.mjs +10 -45
- package/dist/{typography-yJdboV-Y.js → typography-CaY1Dwdi.js} +2 -2
- package/dist/{typography--QJ1TITS.cjs → typography-Rw7ZDHyn.cjs} +1 -1
- package/dist/useResizeHandle-BsV5UEJk.cjs +1 -0
- package/dist/{useResizeHandle-BKHw7TiW.js → useResizeHandle-CCRiw9Fi.js} +11 -11
- package/dist/utilities/index.d.ts +1 -0
- package/dist/utilities/internal/mergeClassNames.d.ts +1 -0
- package/dist/utilities/responsive/hooks/useIsTouchDevice.d.ts +1 -0
- package/dist/utilities/utils/getDisplayValueByUrlType.d.ts +1 -1
- package/dist/utilities-DmbkuukL.cjs +1 -0
- package/dist/{utilities-B_4WqR8H.js → utilities-kvjM4sIB.js} +33 -32
- package/dist/utilities.cjs +1 -1
- package/dist/utilities.mjs +16 -15
- package/package.json +93 -78
- package/dist/AllIcons-Boa8M50M.js +0 -4188
- package/dist/AllIcons-DB-aYdwq.cjs +0 -1
- package/dist/OverflowingTextWithTooltip-BHAWIWMc.js +0 -185
- package/dist/OverflowingTextWithTooltip-BcB4ONBW.cjs +0 -1
- package/dist/TablerIcons-fqK82OLw.js +0 -434
- package/dist/accessibility/utils/visibility-hidden.d.ts +0 -1
- package/dist/accessibility-C18uPixg.cjs +0 -11
- package/dist/accessibility-CKTSxsBP.js +0 -28
- package/dist/accessibility.cjs +0 -1
- package/dist/accessibility.mjs +0 -8
- package/dist/data-display/Avatar/Avatar.d.ts +0 -19
- package/dist/data-display/Avatar/types/AvatarType.d.ts +0 -1
- package/dist/data-display/AvatarGroup/AvatarGroup.d.ts +0 -5
- package/dist/data-display/AvatarOrIcon/AvatarOrIcon.d.ts +0 -15
- package/dist/data-display/Chip/Chip.d.ts +0 -36
- 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-DVa0Z3Kp.cjs +0 -1
- package/dist/data-display-rTFC5PIU.js +0 -423
- package/dist/data-display.cjs +0 -1
- package/dist/data-display.mjs +0 -24
- package/dist/feedback/AnimatedPlaceholder/AnimatedPlaceholder.d.ts +0 -8
- package/dist/feedback/AnimatedPlaceholder/constants/Background.d.ts +0 -1
- package/dist/feedback/AnimatedPlaceholder/constants/DarkBackground.d.ts +0 -1
- package/dist/feedback/AnimatedPlaceholder/constants/DarkMovingImage.d.ts +0 -1
- package/dist/feedback/AnimatedPlaceholder/constants/MovingImage.d.ts +0 -1
- package/dist/feedback/InlineBanner/InlineBanner.d.ts +0 -15
- package/dist/feedback-1SmKiqUb.js +0 -1540
- package/dist/feedback-yix7NDB_.cjs +0 -1
- package/dist/feedback.cjs +0 -1
- package/dist/feedback.mjs +0 -25
- package/dist/icon-D7_GTPUG.cjs +0 -1
- package/dist/input/AdvancedSettingsToggle/AdvancedSettingsToggle.d.ts +0 -8
- 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/Checkbox/Checkbox.d.ts +0 -36
- package/dist/input/IconButton/IconButton.d.ts +0 -21
- 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/Toggle/Toggle.d.ts +0 -14
- package/dist/input/index.d.ts +0 -58
- package/dist/input.cjs +0 -1
- package/dist/input.mjs +0 -44
- package/dist/json-visualizer-Cn2y-m0Z.cjs +0 -1
- package/dist/json-visualizer-DJMJ-Zkp.js +0 -238
- package/dist/json-visualizer.cjs +0 -1
- package/dist/layout-BgpFz0da.js +0 -152
- package/dist/layout-DzQAOBfo.cjs +0 -1
- package/dist/layout.cjs +0 -1
- package/dist/layout.mjs +0 -18
- package/dist/navigation/MenuItemToggle/MenuItemToggle.d.ts +0 -14
- package/dist/navigation/NavigationBar/NavigationBar.d.ts +0 -12
- package/dist/navigation-BFrUsV-P.js +0 -630
- package/dist/navigation-U5Cf87VF.cjs +0 -1
- package/dist/navigation.cjs +0 -1
- package/dist/navigation.mjs +0 -40
- package/dist/surfaces/Modal/Modal.d.ts +0 -2
- package/dist/surfaces/index.d.ts +0 -19
- package/dist/surfaces-B1J4FQRL.js +0 -163
- package/dist/surfaces-BZg03Qs4.cjs +0 -1
- package/dist/surfaces.cjs +0 -1
- package/dist/surfaces.mjs +0 -17
- package/dist/theme/constants/AccentDark.d.ts +0 -20
- package/dist/theme/constants/AccentLight.d.ts +0 -20
- package/dist/theme/constants/BackgroundDark.d.ts +0 -29
- package/dist/theme/constants/BackgroundLight.d.ts +0 -29
- package/dist/theme/constants/BlurDark.d.ts +0 -5
- package/dist/theme/constants/BlurLight.d.ts +0 -5
- package/dist/theme/constants/BorderCommon.d.ts +0 -11
- package/dist/theme/constants/BorderDark.d.ts +0 -21
- package/dist/theme/constants/BorderLight.d.ts +0 -21
- package/dist/theme/constants/BoxShadowDark.d.ts +0 -7
- package/dist/theme/constants/BoxShadowLight.d.ts +0 -7
- package/dist/theme/constants/CodeDark.d.ts +0 -12
- package/dist/theme/constants/CodeLight.d.ts +0 -12
- package/dist/theme/constants/ColorsDark.d.ts +0 -749
- package/dist/theme/constants/ColorsLight.d.ts +0 -749
- package/dist/theme/constants/FontCommon.d.ts +0 -17
- package/dist/theme/constants/FontDark.d.ts +0 -26
- package/dist/theme/constants/FontLight.d.ts +0 -26
- package/dist/theme/constants/GrayScaleDarkAlpha.d.ts +0 -14
- package/dist/theme/constants/GrayScaleLightAlpha.d.ts +0 -14
- package/dist/theme/constants/Icon.d.ts +0 -13
- package/dist/theme/constants/IllustrationIconDark.d.ts +0 -10
- package/dist/theme/constants/IllustrationIconLight.d.ts +0 -10
- package/dist/theme/constants/MainColorsDark.d.ts +0 -27
- package/dist/theme/constants/MainColorsLight.d.ts +0 -27
- package/dist/theme/constants/Modal.d.ts +0 -8
- package/dist/theme/constants/SecondaryColorsDark.d.ts +0 -362
- package/dist/theme/constants/SecondaryColorsLight.d.ts +0 -362
- package/dist/theme/constants/SnackBarDark.d.ts +0 -22
- package/dist/theme/constants/SnackBarLight.d.ts +0 -22
- package/dist/theme/constants/TagDark.d.ts +0 -66
- package/dist/theme/constants/TagLight.d.ts +0 -66
- package/dist/theme/constants/Text.d.ts +0 -11
- package/dist/theme/constants/TransparentColorsDark.d.ts +0 -362
- package/dist/theme/constants/TransparentColorsLight.d.ts +0 -362
- package/dist/theme-BNyCxtd1.cjs +0 -1
- package/dist/theme-DELpGMxN.js +0 -2085
- package/dist/theme-constants-DopWozXO.cjs +0 -1
- package/dist/typography.cjs +0 -1
- package/dist/typography.mjs +0 -14
- package/dist/useResizeHandle-DB3ixfms.cjs +0 -1
- package/dist/utilities-DJsiOLPD.cjs +0 -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}/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}/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}/NotificationCounter/NotificationCounter.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/StyledTintedIconTileContainer/StyledTintedIconTileContainer.d.ts +0 -0
- /package/dist/{data-display → primitives/data-display}/TintedIconTile/utils/getIconTileColorShades.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/{input → primitives/input}/Button/internal/ButtonSoon.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}/ColorSchemePicker/ColorSchemePicker.d.ts +0 -0
- /package/dist/{input → primitives/input}/FloatingButtonGroup/FloatingButtonGroup.d.ts +0 -0
- /package/dist/{input → primitives/input}/SearchInput/SearchInput.d.ts +0 -0
- /package/dist/{input → primitives/input}/types/ColorScheme.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}/MenuItem/parts/MenuItemIconBoxContainer.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/socialLinkProviders.d.ts +0 -0
- /package/dist/{navigation → primitives/navigation}/UndecoratedLink/UndecoratedLink.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}/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/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/{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
|
@@ -1,1540 +0,0 @@
|
|
|
1
|
-
import { t as Ga } from "./handleClickableElementKeyDown-C8Uz61XJ.js";
|
|
2
|
-
import { c as l, n as ja, r as C, s as h } from "./theme-constants-D9oV4GU4.js";
|
|
3
|
-
import { _ as Ta, d as ee, o as Va, s as Ca, x as re } from "./data-display-rTFC5PIU.js";
|
|
4
|
-
import { a as qa, l as Ka } from "./utilities-B_4WqR8H.js";
|
|
5
|
-
import { L as R, W as oe } from "./theme-DELpGMxN.js";
|
|
6
|
-
import { $s as ne, Cr as te, St as ie, ai as de, bo as le, fa as se, i as ce, xi as Na } from "./TablerIcons-fqK82OLw.js";
|
|
7
|
-
import { n as Ua, r as ue } from "./OverflowingTextWithTooltip-BHAWIWMc.js";
|
|
8
|
-
import { n as me, t as _e } from "./useResizeHandle-BKHw7TiW.js";
|
|
9
|
-
import { Fragment as xa, jsx as r, jsxs as g } from "react/jsx-runtime";
|
|
10
|
-
import { clsx as m } from "clsx";
|
|
11
|
-
import * as fa from "react";
|
|
12
|
-
import P, { forwardRef as Ba, useEffect as ka, useId as Sa, useMemo as ge, useRef as pe, useState as M } from "react";
|
|
13
|
-
import { Link as Z } from "react-router-dom";
|
|
14
|
-
import { Radio as ve } from "@base-ui/react/radio";
|
|
15
|
-
import { RadioGroup as he } from "@base-ui/react/radio-group";
|
|
16
|
-
import { Checkbox as za } from "@base-ui/react/checkbox";
|
|
17
|
-
import be from "@monaco-editor/react";
|
|
18
|
-
import { Input as fe } from "@base-ui/react/input";
|
|
19
|
-
import { Switch as La } from "@base-ui/react/switch";
|
|
20
|
-
import { Progress as la } from "@base-ui/react/progress";
|
|
21
|
-
var ke = {
|
|
22
|
-
noFile: "/images/placeholders/background/no_file_bg.png",
|
|
23
|
-
noNote: "/images/placeholders/background/no_note_bg.png",
|
|
24
|
-
noRecord: "/images/placeholders/background/no_record_bg.png",
|
|
25
|
-
noMatchRecord: "/images/placeholders/background/no_match_record_bg.png",
|
|
26
|
-
noTask: "/images/placeholders/background/no_task_bg.png",
|
|
27
|
-
errorIndex: "/images/placeholders/background/error_index_bg.png",
|
|
28
|
-
emptyTimeline: "/images/placeholders/background/empty_timeline_bg.png",
|
|
29
|
-
loadingMessages: "/images/placeholders/background/loading_messages_bg.png",
|
|
30
|
-
loadingAccounts: "/images/placeholders/background/loading_accounts_bg.png",
|
|
31
|
-
emptyFunctions: "/images/placeholders/background/empty_functions_bg.png",
|
|
32
|
-
emptyInbox: "/images/placeholders/background/empty_inbox_bg.png",
|
|
33
|
-
error404: "/images/placeholders/background/404_bg.png",
|
|
34
|
-
error500: "/images/placeholders/background/500_bg.png",
|
|
35
|
-
noDeletedRecord: "/images/placeholders/background/no_deleted_record_bg.png",
|
|
36
|
-
noWidgets: "/images/placeholders/background/no_widgets_bg.png",
|
|
37
|
-
notShared: "/images/placeholders/background/not_shared_bg.png"
|
|
38
|
-
}, ye = {
|
|
39
|
-
noFile: "/images/placeholders/dark-background/no_file_bg.png",
|
|
40
|
-
noNote: "/images/placeholders/dark-background/no_note_bg.png",
|
|
41
|
-
noRecord: "/images/placeholders/dark-background/no_record_bg.png",
|
|
42
|
-
noMatchRecord: "/images/placeholders/dark-background/no_match_record_bg.png",
|
|
43
|
-
noTask: "/images/placeholders/dark-background/no_task_bg.png",
|
|
44
|
-
errorIndex: "/images/placeholders/dark-background/error_index_bg.png",
|
|
45
|
-
emptyTimeline: "/images/placeholders/dark-background/empty_timeline_bg.png",
|
|
46
|
-
emptyInbox: "/images/placeholders/dark-background/empty_inbox_bg.png",
|
|
47
|
-
error404: "/images/placeholders/dark-background/404_bg.png",
|
|
48
|
-
error500: "/images/placeholders/dark-background/500_bg.png",
|
|
49
|
-
loadingMessages: "/images/placeholders/background/loading_messages_bg.png",
|
|
50
|
-
loadingAccounts: "/images/placeholders/background/loading_accounts_bg.png",
|
|
51
|
-
emptyFunctions: "/images/placeholders/dark-background/empty_functions_bg.png",
|
|
52
|
-
noDeletedRecord: "/images/placeholders/dark-background/no_deleted_record_bg.png",
|
|
53
|
-
noWidgets: "/images/placeholders/dark-background/no_widgets_bg.png",
|
|
54
|
-
notShared: "/images/placeholders/dark-background/not_shared_bg.png"
|
|
55
|
-
}, Ce = {
|
|
56
|
-
noFile: "/images/placeholders/dark-moving-image/no_file.png",
|
|
57
|
-
noNote: "/images/placeholders/dark-moving-image/no_note.png",
|
|
58
|
-
noRecord: "/images/placeholders/dark-moving-image/no_record.png",
|
|
59
|
-
noMatchRecord: "/images/placeholders/dark-moving-image/no_match_record.png",
|
|
60
|
-
noTask: "/images/placeholders/dark-moving-image/no_task.png",
|
|
61
|
-
errorIndex: "/images/placeholders/dark-moving-image/error_index.png",
|
|
62
|
-
emptyTimeline: "/images/placeholders/dark-moving-image/empty_timeline.png",
|
|
63
|
-
emptyInbox: "/images/placeholders/dark-moving-image/empty_inbox.png",
|
|
64
|
-
error404: "/images/placeholders/dark-moving-image/404.png",
|
|
65
|
-
error500: "/images/placeholders/dark-moving-image/500.png",
|
|
66
|
-
loadingMessages: "/images/placeholders/moving-image/loading_messages.png",
|
|
67
|
-
loadingAccounts: "/images/placeholders/moving-image/loading_accounts.png",
|
|
68
|
-
emptyFunctions: "/images/placeholders/dark-moving-image/empty_functions.png",
|
|
69
|
-
noDeletedRecord: "/images/placeholders/dark-moving-image/no_deleted_record.png",
|
|
70
|
-
noWidgets: "/images/placeholders/dark-moving-image/no_widgets.png",
|
|
71
|
-
notShared: "/images/placeholders/dark-moving-image/not_shared.png"
|
|
72
|
-
}, Ne = {
|
|
73
|
-
noFile: "/images/placeholders/moving-image/no_file.png",
|
|
74
|
-
noNote: "/images/placeholders/moving-image/no_note.png",
|
|
75
|
-
noRecord: "/images/placeholders/moving-image/no_record.png",
|
|
76
|
-
noMatchRecord: "/images/placeholders/moving-image/no_match_record.png",
|
|
77
|
-
noTask: "/images/placeholders/moving-image/no_task.png",
|
|
78
|
-
errorIndex: "/images/placeholders/moving-image/error_index.png",
|
|
79
|
-
emptyTimeline: "/images/placeholders/moving-image/empty_timeline.png",
|
|
80
|
-
loadingMessages: "/images/placeholders/moving-image/loading_messages.png",
|
|
81
|
-
loadingAccounts: "/images/placeholders/moving-image/loading_accounts.png",
|
|
82
|
-
emptyFunctions: "/images/placeholders/moving-image/empty_functions.png",
|
|
83
|
-
emptyInbox: "/images/placeholders/moving-image/empty_inbox.png",
|
|
84
|
-
error404: "/images/placeholders/moving-image/404.png",
|
|
85
|
-
error500: "/images/placeholders/moving-image/500.png",
|
|
86
|
-
noDeletedRecord: "/images/placeholders/moving-image/no_deleted_record.png",
|
|
87
|
-
noWidgets: "/images/placeholders/moving-image/no_widgets.png",
|
|
88
|
-
notShared: "/images/placeholders/moving-image/not_shared.png"
|
|
89
|
-
}, xe = "_container_c2ldr_1", Be = "_backgroundImage_c2ldr_9", Se = "_backgroundImageLarge_c2ldr_14", Ie = "_movingImage_c2ldr_19", we = "_movingImageLarge_c2ldr_28", Y = {
|
|
90
|
-
container: xe,
|
|
91
|
-
backgroundImage: Be,
|
|
92
|
-
backgroundImageLarge: Se,
|
|
93
|
-
movingImage: Ie,
|
|
94
|
-
movingImageLarge: we
|
|
95
|
-
}, ea = 2, Ct = ({ type: a }) => {
|
|
96
|
-
const e = ja(), n = pe(null);
|
|
97
|
-
ka(() => {
|
|
98
|
-
const i = n.current;
|
|
99
|
-
if (i === null) return;
|
|
100
|
-
const d = (c, u) => {
|
|
101
|
-
i.style.setProperty("--parallax-x", `${c}px`), i.style.setProperty("--parallax-y", `${u}px`);
|
|
102
|
-
}, o = (c) => {
|
|
103
|
-
const u = "touches" in c ? c.touches[0].clientX : c.clientX, _ = "touches" in c ? c.touches[0].clientY : c.clientY;
|
|
104
|
-
d(u / window.innerWidth * 2 * ea - ea, _ / window.innerHeight * 2 * ea - ea);
|
|
105
|
-
}, s = () => {
|
|
106
|
-
d(0, 0);
|
|
107
|
-
};
|
|
108
|
-
return window.addEventListener("mousemove", o), window.addEventListener("touchmove", o), window.document.addEventListener("mouseleave", s), () => {
|
|
109
|
-
window.removeEventListener("mousemove", o), window.removeEventListener("touchmove", o), window.document.removeEventListener("mouseleave", s);
|
|
110
|
-
};
|
|
111
|
-
}, []);
|
|
112
|
-
const t = a === "error500" || a === "error404";
|
|
113
|
-
return /* @__PURE__ */ g("div", {
|
|
114
|
-
className: Y.container,
|
|
115
|
-
children: [/* @__PURE__ */ r("img", {
|
|
116
|
-
src: e === "dark" ? ye[a] : ke[a],
|
|
117
|
-
alt: "",
|
|
118
|
-
className: m(Y.backgroundImage, t && Y.backgroundImageLarge)
|
|
119
|
-
}), /* @__PURE__ */ r("img", {
|
|
120
|
-
ref: n,
|
|
121
|
-
src: e === "dark" ? Ce[a] : Ne[a],
|
|
122
|
-
alt: "",
|
|
123
|
-
className: m(Y.movingImage, t && Y.movingImageLarge)
|
|
124
|
-
})]
|
|
125
|
-
});
|
|
126
|
-
}, $e = "_banner_i03ag_1", Te = "_primaryBlue_i03ag_17", ze = "_primaryDanger_i03ag_23", Le = "_secondaryBlue_i03ag_29", Ae = "_secondaryDanger_i03ag_35", J = {
|
|
127
|
-
banner: $e,
|
|
128
|
-
primaryBlue: Te,
|
|
129
|
-
primaryDanger: ze,
|
|
130
|
-
secondaryBlue: Le,
|
|
131
|
-
secondaryDanger: Ae
|
|
132
|
-
}, Ee = {
|
|
133
|
-
primary: {
|
|
134
|
-
blue: J.primaryBlue,
|
|
135
|
-
danger: J.primaryDanger
|
|
136
|
-
},
|
|
137
|
-
secondary: {
|
|
138
|
-
blue: J.secondaryBlue,
|
|
139
|
-
danger: J.secondaryDanger
|
|
140
|
-
}
|
|
141
|
-
}, Re = ({ color: a = "blue", variant: e = "primary", className: n, children: t }) => /* @__PURE__ */ r("div", {
|
|
142
|
-
className: m(J.banner, Ee[e][a], n),
|
|
143
|
-
children: t
|
|
144
|
-
}), Pe = "_container_10f7s_1", We = "_text_10f7s_12", Aa = {
|
|
145
|
-
container: Pe,
|
|
146
|
-
text: We
|
|
147
|
-
}, Nt = ({ isAdvancedModeEnabled: a, setIsAdvancedModeEnabled: e, label: n = "Advanced", className: t }) => {
|
|
148
|
-
const i = C(), d = (s) => {
|
|
149
|
-
e(s);
|
|
150
|
-
}, o = Sa();
|
|
151
|
-
return /* @__PURE__ */ g("label", {
|
|
152
|
-
className: m(Aa.container, t),
|
|
153
|
-
htmlFor: o,
|
|
154
|
-
children: [/* @__PURE__ */ r("div", {
|
|
155
|
-
className: Aa.text,
|
|
156
|
-
children: n
|
|
157
|
-
}), /* @__PURE__ */ r(nn, {
|
|
158
|
-
id: o,
|
|
159
|
-
onChange: d,
|
|
160
|
-
color: i.color.yellow,
|
|
161
|
-
value: a
|
|
162
|
-
})]
|
|
163
|
-
});
|
|
164
|
-
}, De = "_button_msz0b_1", Fe = "_small_msz0b_53", Me = "_medium_msz0b_58", Oe = "_fullWidth_msz0b_63", He = "_square_msz0b_67", Ge = "_motion_msz0b_73", je = "_separator_msz0b_77", Ve = "_shortcutLabel_msz0b_93", qe = "_soonPillContainer_msz0b_107", z = {
|
|
165
|
-
button: De,
|
|
166
|
-
small: Fe,
|
|
167
|
-
medium: Me,
|
|
168
|
-
fullWidth: Oe,
|
|
169
|
-
square: He,
|
|
170
|
-
motion: Ge,
|
|
171
|
-
separator: je,
|
|
172
|
-
shortcutLabel: Ve,
|
|
173
|
-
soonPillContainer: qe
|
|
174
|
-
}, Ke = (a, e, n, t, i, d) => {
|
|
175
|
-
const o = {
|
|
176
|
-
background: "transparent",
|
|
177
|
-
borderColor: "transparent",
|
|
178
|
-
borderWidthOverride: "",
|
|
179
|
-
boxShadow: "none",
|
|
180
|
-
color: l.font.color.secondary,
|
|
181
|
-
hoverBackground: "transparent",
|
|
182
|
-
activeBackground: "transparent"
|
|
183
|
-
};
|
|
184
|
-
switch (a) {
|
|
185
|
-
case "primary":
|
|
186
|
-
switch (n) {
|
|
187
|
-
case "default":
|
|
188
|
-
o.background = e ? l.background.primary : l.background.secondary, o.borderColor = e ? l.background.transparent.light : !t && i ? l.color.blue : l.background.transparent.light, o.borderWidthOverride = "1px 1px 1px 1px", o.boxShadow = !t && i ? `0 0 0 3px ${e ? l.background.transparent.medium : l.accent.tertiary}` : "none", o.color = e ? l.font.color.secondary : t ? l.font.color.extraLight : l.font.color.secondary, t ? (o.hoverBackground = o.background, o.activeBackground = o.background) : (o.hoverBackground = e ? l.background.secondary : l.background.tertiary, o.activeBackground = e ? l.background.tertiary : l.background.quaternary);
|
|
189
|
-
break;
|
|
190
|
-
case "blue":
|
|
191
|
-
o.background = e ? l.background.primary : l.color.blue, o.borderColor = e ? l.background.transparent.light : i ? l.color.blue : l.background.transparent.light, o.borderWidthOverride = "1px 1px 1px 1px", o.boxShadow = !t && i ? `0 0 0 3px ${e ? l.background.transparent.medium : l.accent.tertiary}` : "none", o.color = e ? l.color.blue : R.gray1, t ? (o.hoverBackground = o.background, o.activeBackground = o.background) : (o.hoverBackground = e ? l.background.secondary : l.color.blue10, o.activeBackground = e ? l.background.tertiary : l.color.blue12);
|
|
192
|
-
break;
|
|
193
|
-
case "danger":
|
|
194
|
-
o.background = e ? l.background.primary : l.color.red, o.borderColor = e ? l.background.transparent.light : i ? l.color.red : l.background.transparent.light, o.borderWidthOverride = "1px 1px", o.boxShadow = !t && i ? `0 0 0 3px ${e ? l.background.transparent.medium : l.color.red3}` : "none", o.color = e ? l.color.red : l.background.primary, t ? (o.hoverBackground = o.background, o.activeBackground = o.background) : (o.hoverBackground = e ? l.background.secondary : l.color.red8, o.activeBackground = e ? l.background.tertiary : l.color.red10);
|
|
195
|
-
break;
|
|
196
|
-
}
|
|
197
|
-
break;
|
|
198
|
-
case "secondary":
|
|
199
|
-
case "tertiary":
|
|
200
|
-
switch (n) {
|
|
201
|
-
case "default":
|
|
202
|
-
o.background = "transparent", o.borderColor = e ? a === "secondary" ? i || t ? R.gray1 : l.background.transparent.primary : i ? R.gray1 : "transparent" : a === "secondary" ? !t && i ? l.color.blue : l.background.transparent.medium : i ? l.color.blue : "transparent", o.borderWidthOverride = "1px 1px 1px 1px", o.boxShadow = !t && i ? `0 0 0 3px ${e ? l.background.transparent.medium : l.accent.tertiary}` : "none", o.color = e ? l.font.color.inverted : t ? l.font.color.extraLight : l.font.color.secondary, o.hoverBackground = e ? l.background.transparent.light : t ? "transparent" : l.background.transparent.light, o.activeBackground = e ? l.background.transparent.medium : t ? "transparent" : l.background.transparent.light;
|
|
203
|
-
break;
|
|
204
|
-
case "blue":
|
|
205
|
-
o.background = "transparent", o.borderColor = e ? a === "secondary" ? i || t ? R.gray1 : l.background.transparent.primary : i ? R.gray1 : "transparent" : a === "secondary" ? i ? l.color.blue : l.accent.primary : i ? l.color.blue : "transparent", o.borderWidthOverride = "1px 1px 1px 1px", o.boxShadow = !t && i ? `0 0 0 3px ${e ? l.background.transparent.medium : l.accent.tertiary}` : "none", o.color = e ? l.font.color.inverted : t ? l.accent.accent4060 : l.color.blue, o.hoverBackground = e ? l.background.transparent.light : t ? "transparent" : l.accent.tertiary, o.activeBackground = e ? l.background.transparent.medium : t ? "transparent" : l.accent.secondary;
|
|
206
|
-
break;
|
|
207
|
-
case "danger":
|
|
208
|
-
o.background = "transparent", o.borderColor = e ? a === "secondary" ? i || t ? R.gray1 : l.background.transparent.primary : i ? R.gray1 : "transparent" : a === "secondary" ? i ? l.color.red : l.border.color.danger : i ? l.color.red : "transparent", o.borderWidthOverride = "1px 1px 1px 1px", o.boxShadow = !t && i ? `0 0 0 3px ${e ? l.background.transparent.medium : l.color.red3}` : "none", o.color = e ? l.font.color.inverted : l.font.color.danger, o.hoverBackground = e ? l.background.transparent.light : t ? "transparent" : l.background.danger, o.activeBackground = e ? l.background.transparent.medium : t ? "transparent" : l.background.danger;
|
|
209
|
-
break;
|
|
210
|
-
}
|
|
211
|
-
break;
|
|
212
|
-
}
|
|
213
|
-
if (o.borderWidthOverride !== "" && d !== "standalone") switch (d) {
|
|
214
|
-
case "left":
|
|
215
|
-
o.borderWidthOverride = "1px 0px 1px 1px";
|
|
216
|
-
break;
|
|
217
|
-
case "middle":
|
|
218
|
-
o.borderWidthOverride = "1px 0px 1px 0px";
|
|
219
|
-
break;
|
|
220
|
-
case "right":
|
|
221
|
-
o.borderWidthOverride = "1px 1px 1px 0px";
|
|
222
|
-
break;
|
|
223
|
-
}
|
|
224
|
-
return o;
|
|
225
|
-
}, xt = ({ className: a, Icon: e, animatedSvg: n, title: t, fullWidth: i = !1, variant: d = "primary", inverted: o = !1, size: s = "medium", accent: c = "default", square: u = !1, position: _ = "standalone", soon: p = !1, disabled: k = !1, justify: N = "flex-start", focus: b = !1, onClick: B, to: x, target: I, dataTestId: w, hotkeys: O, ariaLabel: H, dataClickOutsideId: G, dataGloballyPreventClickOutside: q, soonLabel: $ = "Soon" }) => {
|
|
226
|
-
const K = C(), U = qa(), T = p || k, j = ge(() => {
|
|
227
|
-
const S = Ke(d, o, c, T, b, _);
|
|
228
|
-
return {
|
|
229
|
-
"--abtn-bg": S.background,
|
|
230
|
-
"--abtn-border-color": S.borderColor,
|
|
231
|
-
"--abtn-border-width": S.borderWidthOverride || void 0,
|
|
232
|
-
"--abtn-box-shadow": S.boxShadow,
|
|
233
|
-
"--abtn-color": S.color,
|
|
234
|
-
"--abtn-hover-bg": S.hoverBackground,
|
|
235
|
-
"--abtn-active-bg": S.activeBackground
|
|
236
|
-
};
|
|
237
|
-
}, [
|
|
238
|
-
d,
|
|
239
|
-
o,
|
|
240
|
-
c,
|
|
241
|
-
T,
|
|
242
|
-
b,
|
|
243
|
-
_
|
|
244
|
-
]);
|
|
245
|
-
return /* @__PURE__ */ g(x ? Z : "button", {
|
|
246
|
-
className: m(z.button, z[s], u && z.square, i && z.fullWidth, a),
|
|
247
|
-
"data-position": _,
|
|
248
|
-
"data-disabled": T || void 0,
|
|
249
|
-
disabled: T,
|
|
250
|
-
style: {
|
|
251
|
-
...j,
|
|
252
|
-
"--abtn-justify": N
|
|
253
|
-
},
|
|
254
|
-
onClick: B,
|
|
255
|
-
to: x,
|
|
256
|
-
target: I,
|
|
257
|
-
"data-testid": w,
|
|
258
|
-
"aria-label": H,
|
|
259
|
-
"data-click-outside-id": G,
|
|
260
|
-
"data-globally-prevent-click-outside": q,
|
|
261
|
-
children: [
|
|
262
|
-
e && /* @__PURE__ */ r("div", {
|
|
263
|
-
className: z.motion,
|
|
264
|
-
children: /* @__PURE__ */ r(e, {
|
|
265
|
-
size: K.icon.size.sm,
|
|
266
|
-
"aria-hidden": !0
|
|
267
|
-
})
|
|
268
|
-
}),
|
|
269
|
-
n && /* @__PURE__ */ r("div", {
|
|
270
|
-
className: z.motion,
|
|
271
|
-
children: n
|
|
272
|
-
}),
|
|
273
|
-
t,
|
|
274
|
-
O && !U && /* @__PURE__ */ g(xa, { children: [/* @__PURE__ */ r("div", {
|
|
275
|
-
className: z.separator,
|
|
276
|
-
"data-size": s,
|
|
277
|
-
"data-accent": c
|
|
278
|
-
}), /* @__PURE__ */ r("div", {
|
|
279
|
-
className: z.shortcutLabel,
|
|
280
|
-
"data-variant": d,
|
|
281
|
-
"data-accent": c,
|
|
282
|
-
children: O.join(Ka())
|
|
283
|
-
})] }),
|
|
284
|
-
p && /* @__PURE__ */ r("span", {
|
|
285
|
-
className: z.soonPillContainer,
|
|
286
|
-
children: /* @__PURE__ */ r(Ca, { label: $ })
|
|
287
|
-
})
|
|
288
|
-
]
|
|
289
|
-
});
|
|
290
|
-
}, Ue = "_button_1pnez_1", Xe = "_small_1pnez_51", Ye = "_medium_1pnez_57", Je = "_iconContainer_1pnez_63", sa = {
|
|
291
|
-
button: Ue,
|
|
292
|
-
small: Xe,
|
|
293
|
-
medium: Ye,
|
|
294
|
-
iconContainer: Je
|
|
295
|
-
}, Bt = ({ "aria-label": a, className: e, testId: n, Icon: t, active: i = !1, size: d = "small", accent: o = "secondary", disabled: s = !1, focus: c = !1, rotate: u, onClick: _, title: p }) => {
|
|
296
|
-
const k = C();
|
|
297
|
-
return /* @__PURE__ */ r("button", {
|
|
298
|
-
"data-testid": n,
|
|
299
|
-
"aria-label": a,
|
|
300
|
-
onClick: _,
|
|
301
|
-
disabled: s,
|
|
302
|
-
"data-disabled": s || void 0,
|
|
303
|
-
"data-focus": c && !s || void 0,
|
|
304
|
-
"data-accent": o,
|
|
305
|
-
"data-active": i || void 0,
|
|
306
|
-
className: m(sa.button, sa[d], e),
|
|
307
|
-
title: p,
|
|
308
|
-
children: /* @__PURE__ */ r("div", {
|
|
309
|
-
className: sa.iconContainer,
|
|
310
|
-
style: u !== void 0 ? { transform: `rotate(${u}deg)` } : void 0,
|
|
311
|
-
children: t && /* @__PURE__ */ r(t, {
|
|
312
|
-
size: d === "medium" ? k.icon.size.md : k.icon.size.sm,
|
|
313
|
-
"aria-hidden": !!a
|
|
314
|
-
})
|
|
315
|
-
})
|
|
316
|
-
});
|
|
317
|
-
}, Qe = "_separator_t0hko_1", Ze = "_shortcutLabel_t0hko_17", Ea = {
|
|
318
|
-
separator: Qe,
|
|
319
|
-
shortcutLabel: Ze
|
|
320
|
-
}, ar = ({ size: a, accent: e, variant: n, hotkeys: t }) => /* @__PURE__ */ g(xa, { children: [/* @__PURE__ */ r("div", {
|
|
321
|
-
className: Ea.separator,
|
|
322
|
-
"data-size": a,
|
|
323
|
-
"data-accent": e
|
|
324
|
-
}), /* @__PURE__ */ r("div", {
|
|
325
|
-
className: Ea.shortcutLabel,
|
|
326
|
-
"data-variant": n,
|
|
327
|
-
"data-accent": e,
|
|
328
|
-
children: t.join(Ka())
|
|
329
|
-
})] }), er = "_iconWrapper_1pc9d_1", rr = "_icon_1pc9d_1", or = "_loader_1pc9d_21", ca = {
|
|
330
|
-
iconWrapper: er,
|
|
331
|
-
icon: rr,
|
|
332
|
-
loader: or
|
|
333
|
-
}, nr = ({ Icon: a, isLoading: e }) => {
|
|
334
|
-
const n = C();
|
|
335
|
-
return /* @__PURE__ */ g("div", {
|
|
336
|
-
className: ca.iconWrapper,
|
|
337
|
-
children: [e && /* @__PURE__ */ r("div", {
|
|
338
|
-
className: ca.loader,
|
|
339
|
-
children: /* @__PURE__ */ r(Va, {})
|
|
340
|
-
}), a && /* @__PURE__ */ r("div", {
|
|
341
|
-
className: ca.icon,
|
|
342
|
-
"data-loading": e || void 0,
|
|
343
|
-
children: /* @__PURE__ */ r(a, {
|
|
344
|
-
size: n.icon.size.sm,
|
|
345
|
-
"aria-hidden": !0
|
|
346
|
-
})
|
|
347
|
-
})]
|
|
348
|
-
});
|
|
349
|
-
}, tr = "_soonPillContainer_e7hkk_1", ir = { soonPillContainer: tr }, dr = ({ label: a = "Soon" }) => /* @__PURE__ */ r("span", {
|
|
350
|
-
className: ir.soonPillContainer,
|
|
351
|
-
children: /* @__PURE__ */ r(Ca, { label: a })
|
|
352
|
-
}), lr = "_textWrapper_1hwko_1", sr = "_text_1hwko_1", cr = "_ellipsis_1hwko_27", ua = {
|
|
353
|
-
textWrapper: lr,
|
|
354
|
-
text: sr,
|
|
355
|
-
ellipsis: cr
|
|
356
|
-
}, ur = ({ hasIcon: a = !1, isLoading: e, title: n }) => /* @__PURE__ */ g("div", {
|
|
357
|
-
className: ua.textWrapper,
|
|
358
|
-
children: [/* @__PURE__ */ r("div", {
|
|
359
|
-
className: ua.text,
|
|
360
|
-
"data-loading": e || void 0,
|
|
361
|
-
"data-has-icon": a || void 0,
|
|
362
|
-
children: n
|
|
363
|
-
}), /* @__PURE__ */ r("div", {
|
|
364
|
-
className: ua.ellipsis,
|
|
365
|
-
"data-loading": e || void 0,
|
|
366
|
-
children: "..."
|
|
367
|
-
})]
|
|
368
|
-
}), mr = "_wrapper_1u6dh_1", _r = "_wrapperLoading_1u6dh_7", gr = "_button_1u6dh_11", pr = "_small_1u6dh_53", vr = "_medium_1u6dh_57", hr = "_fullWidth_1u6dh_61", V = {
|
|
369
|
-
wrapper: mr,
|
|
370
|
-
wrapperLoading: _r,
|
|
371
|
-
button: gr,
|
|
372
|
-
small: pr,
|
|
373
|
-
medium: vr,
|
|
374
|
-
fullWidth: hr
|
|
375
|
-
}, ya = ({ className: a, Icon: e, title: n, id: t, fullWidth: i = !1, variant: d = "primary", inverted: o = !1, size: s = "medium", accent: c = "default", position: u = "standalone", soon: _ = !1, disabled: p = !1, justify: k = "flex-start", focus: N = !1, onClick: b, to: B, target: x, dataTestId: I, dataClickOutsideId: w, dataGloballyPreventClickOutside: O, hotkeys: H, ariaLabel: G, type: q, isLoading: $ = !1 }) => {
|
|
376
|
-
const K = qa(), [U, T] = M(N), j = _ || p, S = B ? Z : "button";
|
|
377
|
-
return /* @__PURE__ */ r("div", {
|
|
378
|
-
className: m(V.wrapper, $ && V.wrapperLoading, i && V.fullWidth),
|
|
379
|
-
children: /* @__PURE__ */ g(S, {
|
|
380
|
-
id: t,
|
|
381
|
-
className: m(V.button, V[s], i && V.fullWidth, a),
|
|
382
|
-
"data-variant": d,
|
|
383
|
-
"data-accent": c,
|
|
384
|
-
"data-position": u,
|
|
385
|
-
"data-inverted": o || void 0,
|
|
386
|
-
"data-disabled": j || void 0,
|
|
387
|
-
"data-focus": U || void 0,
|
|
388
|
-
disabled: j,
|
|
389
|
-
onClick: b,
|
|
390
|
-
to: B,
|
|
391
|
-
target: x,
|
|
392
|
-
"data-testid": I,
|
|
393
|
-
"data-click-outside-id": w,
|
|
394
|
-
"data-globally-prevent-click-outside": O,
|
|
395
|
-
"aria-label": G,
|
|
396
|
-
type: q,
|
|
397
|
-
onFocus: () => T(!0),
|
|
398
|
-
onBlur: () => T(!1),
|
|
399
|
-
style: { "--btn-justify": k },
|
|
400
|
-
children: [
|
|
401
|
-
($ || e) && /* @__PURE__ */ r(nr, {
|
|
402
|
-
Icon: e,
|
|
403
|
-
isLoading: !!$
|
|
404
|
-
}),
|
|
405
|
-
h(n) && /* @__PURE__ */ r(ur, {
|
|
406
|
-
hasIcon: !!e,
|
|
407
|
-
title: n,
|
|
408
|
-
isLoading: $
|
|
409
|
-
}),
|
|
410
|
-
H && !K && /* @__PURE__ */ r(ar, {
|
|
411
|
-
hotkeys: H,
|
|
412
|
-
variant: d,
|
|
413
|
-
accent: c,
|
|
414
|
-
size: s
|
|
415
|
-
}),
|
|
416
|
-
_ && /* @__PURE__ */ r(dr, {})
|
|
417
|
-
]
|
|
418
|
-
})
|
|
419
|
-
});
|
|
420
|
-
}, St = 300, br = "_container_ygfpg_1", fr = { container: br }, It = ({ className: a, children: e, variant: n, size: t, accent: i }) => /* @__PURE__ */ r("div", {
|
|
421
|
-
className: m(fr.container, a),
|
|
422
|
-
children: P.Children.map(e, (d, o) => {
|
|
423
|
-
if (!P.isValidElement(d)) return null;
|
|
424
|
-
let s;
|
|
425
|
-
o === 0 ? s = "left" : o === e.length - 1 ? s = "right" : s = "middle";
|
|
426
|
-
const c = {
|
|
427
|
-
position: s,
|
|
428
|
-
variant: n,
|
|
429
|
-
accent: i,
|
|
430
|
-
size: t
|
|
431
|
-
};
|
|
432
|
-
return h(n) && (c.variant = n), h(i) && (c.accent = i), h(t) && (c.size = t), P.cloneElement(d, c);
|
|
433
|
-
})
|
|
434
|
-
}), kr = "_container_pz70s_1", yr = "_radioContainer_pz70s_17", Cr = "_cardInner_pz70s_23", ma = {
|
|
435
|
-
container: kr,
|
|
436
|
-
radioContainer: yr,
|
|
437
|
-
cardInner: Cr
|
|
438
|
-
}, Nr = "_container_ah3pt_1", xr = "_containerLabelLeft_ah3pt_7", Br = "_radio_ah3pt_11", Sr = "_small_ah3pt_23", Ir = "_large_ah3pt_28", wr = "_label_ah3pt_70", $r = "_labelRight_ah3pt_77", Tr = "_labelLeft_ah3pt_81", W = {
|
|
439
|
-
container: Nr,
|
|
440
|
-
containerLabelLeft: xr,
|
|
441
|
-
radio: Br,
|
|
442
|
-
small: Sr,
|
|
443
|
-
large: Ir,
|
|
444
|
-
label: wr,
|
|
445
|
-
labelRight: $r,
|
|
446
|
-
labelLeft: Tr
|
|
447
|
-
}, zr = ({ value: a, onChange: e, onValueChange: n, children: t }) => {
|
|
448
|
-
const i = (d) => {
|
|
449
|
-
e?.(d), n?.(d.target.value);
|
|
450
|
-
};
|
|
451
|
-
return /* @__PURE__ */ r(xa, { children: P.Children.map(t, (d) => P.isValidElement(d) ? P.cloneElement(d, {
|
|
452
|
-
style: { marginBottom: l.spacing[2] },
|
|
453
|
-
checked: d.props.value === a,
|
|
454
|
-
onChange: i
|
|
455
|
-
}) : d) });
|
|
456
|
-
}, wt = /* @__PURE__ */ (function(a) {
|
|
457
|
-
return a.Large = "large", a.Small = "small", a;
|
|
458
|
-
})({}), $t = /* @__PURE__ */ (function(a) {
|
|
459
|
-
return a.Left = "left", a.Right = "right", a;
|
|
460
|
-
})({}), Xa = ({ checked: a, className: e, name: n = "input-radio", disabled: t = !1, label: i, labelPosition: d = "right", onChange: o, onCheckedChange: s, size: c = "small", value: u }) => {
|
|
461
|
-
const _ = fa.useId(), p = u || i || "on";
|
|
462
|
-
return /* @__PURE__ */ g(he, {
|
|
463
|
-
className: m(W.container, d === "left" && W.containerLabelLeft, e),
|
|
464
|
-
name: n,
|
|
465
|
-
value: a === void 0 ? void 0 : a ? p : "",
|
|
466
|
-
onValueChange: (k, N) => {
|
|
467
|
-
const b = N.event.target;
|
|
468
|
-
o?.(N.event), s?.(b?.checked ?? !0);
|
|
469
|
-
},
|
|
470
|
-
children: [/* @__PURE__ */ r(ve.Root, {
|
|
471
|
-
id: _,
|
|
472
|
-
value: p,
|
|
473
|
-
disabled: t,
|
|
474
|
-
"data-testid": "input-radio",
|
|
475
|
-
className: m(W.radio, W[c])
|
|
476
|
-
}), i && /* @__PURE__ */ r("label", {
|
|
477
|
-
htmlFor: _,
|
|
478
|
-
className: m(W.label, d === "left" ? W.labelLeft : W.labelRight),
|
|
479
|
-
"data-disabled": t || void 0,
|
|
480
|
-
children: i
|
|
481
|
-
})]
|
|
482
|
-
});
|
|
483
|
-
};
|
|
484
|
-
Xa.Group = zr;
|
|
485
|
-
var Tt = ({ children: a, checked: e, handleChange: n }) => /* @__PURE__ */ g("button", {
|
|
486
|
-
className: ma.container,
|
|
487
|
-
onClick: n,
|
|
488
|
-
children: [/* @__PURE__ */ r("div", {
|
|
489
|
-
className: ma.radioContainer,
|
|
490
|
-
children: /* @__PURE__ */ r(Xa, { checked: e })
|
|
491
|
-
}), /* @__PURE__ */ r("div", {
|
|
492
|
-
className: ma.cardInner,
|
|
493
|
-
children: a
|
|
494
|
-
})]
|
|
495
|
-
}), Lr = "_root_iyh7a_1", Ar = "_primary_iyh7a_16", Er = "_secondary_iyh7a_20", Rr = "_tertiary_iyh7a_24", Pr = "_small_iyh7a_29", Wr = "_large_iyh7a_34", Dr = "_squared_iyh7a_40", Fr = "_rounded_iyh7a_45", Mr = "_blue_iyh7a_50", Or = "_orange_iyh7a_56", Hr = "_hoverable_iyh7a_62", Gr = "_box_iyh7a_100", jr = "_indicator_iyh7a_120", E = {
|
|
496
|
-
root: Lr,
|
|
497
|
-
primary: Ar,
|
|
498
|
-
secondary: Er,
|
|
499
|
-
tertiary: Rr,
|
|
500
|
-
small: Pr,
|
|
501
|
-
large: Wr,
|
|
502
|
-
squared: Dr,
|
|
503
|
-
rounded: Fr,
|
|
504
|
-
blue: Mr,
|
|
505
|
-
orange: Or,
|
|
506
|
-
hoverable: Hr,
|
|
507
|
-
box: Gr,
|
|
508
|
-
indicator: jr
|
|
509
|
-
}, zt = /* @__PURE__ */ (function(a) {
|
|
510
|
-
return a.Primary = "primary", a.Secondary = "secondary", a.Tertiary = "tertiary", a;
|
|
511
|
-
})({}), Lt = /* @__PURE__ */ (function(a) {
|
|
512
|
-
return a.Squared = "squared", a.Rounded = "rounded", a;
|
|
513
|
-
})({}), At = /* @__PURE__ */ (function(a) {
|
|
514
|
-
return a.Large = "large", a.Small = "small", a;
|
|
515
|
-
})({}), Et = /* @__PURE__ */ (function(a) {
|
|
516
|
-
return a.Blue = "blue", a.Orange = "orange", a;
|
|
517
|
-
})({}), Rt = ({ checked: a, onChange: e, onCheckedChange: n, indeterminate: t, variant: i = "primary", size: d = "small", shape: o = "squared", hoverable: s = !0, className: c, disabled: u = !1, accent: _ = "blue", id: p, "aria-label": k, "aria-labelledby": N }) => {
|
|
518
|
-
const [b, B] = fa.useState(!1);
|
|
519
|
-
return fa.useEffect(() => {
|
|
520
|
-
B(a ?? !1);
|
|
521
|
-
}, [a]), /* @__PURE__ */ r(za.Root, {
|
|
522
|
-
checked: b,
|
|
523
|
-
indeterminate: t,
|
|
524
|
-
disabled: u,
|
|
525
|
-
id: p,
|
|
526
|
-
name: "styled-checkbox",
|
|
527
|
-
"aria-label": k,
|
|
528
|
-
"aria-labelledby": N,
|
|
529
|
-
"data-testid": "input-checkbox",
|
|
530
|
-
onCheckedChange: (x, I) => {
|
|
531
|
-
e?.(I.event), n?.(x), B(x);
|
|
532
|
-
},
|
|
533
|
-
className: m(E.root, E[i], E[d], E[o], E[_], s && E.hoverable, c),
|
|
534
|
-
children: /* @__PURE__ */ r("span", {
|
|
535
|
-
className: E.box,
|
|
536
|
-
children: /* @__PURE__ */ r(za.Indicator, {
|
|
537
|
-
className: E.indicator,
|
|
538
|
-
children: t ? /* @__PURE__ */ r(se, { "aria-hidden": !0 }) : /* @__PURE__ */ r(ie, { "aria-hidden": !0 })
|
|
539
|
-
})
|
|
540
|
-
})
|
|
541
|
-
});
|
|
542
|
-
}, Ra = "baseCodeEditorTheme", v = (a) => {
|
|
543
|
-
if (a.trim() === "transparent") return "#00000000";
|
|
544
|
-
const e = a.match(/color\(display-p3\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s+\/\s+([\d.]+))?\)/);
|
|
545
|
-
if (h(e)) {
|
|
546
|
-
const [, n, t, i, d] = e, o = Math.round(parseFloat(n) * 255).toString(16).padStart(2, "0"), s = Math.round(parseFloat(t) * 255).toString(16).padStart(2, "0"), c = Math.round(parseFloat(i) * 255).toString(16).padStart(2, "0");
|
|
547
|
-
return h(d) ? `#${o}${s}${c}${Math.round(parseFloat(d) * 255).toString(16).padStart(2, "0")}` : `#${o}${s}${c}`;
|
|
548
|
-
}
|
|
549
|
-
return a;
|
|
550
|
-
}, Vr = (a, e) => ({
|
|
551
|
-
base: e === "dark" ? "vs-dark" : "vs",
|
|
552
|
-
inherit: !0,
|
|
553
|
-
rules: [
|
|
554
|
-
{
|
|
555
|
-
token: "",
|
|
556
|
-
foreground: v(a.font.color.secondary)
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
token: "keyword",
|
|
560
|
-
foreground: v(a.color.pink11)
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
token: "keyword.control",
|
|
564
|
-
foreground: v(a.color.pink11)
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
token: "keyword.json",
|
|
568
|
-
foreground: v(a.color.orange11)
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
token: "number",
|
|
572
|
-
foreground: v(a.color.orange11)
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
token: "number.json",
|
|
576
|
-
foreground: v(a.color.orange11)
|
|
577
|
-
},
|
|
578
|
-
{
|
|
579
|
-
token: "regexp",
|
|
580
|
-
foreground: v(a.color.orange11)
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
token: "type",
|
|
584
|
-
foreground: v(a.color.green11)
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
token: "attribute.name",
|
|
588
|
-
foreground: v(a.color.blue11)
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
token: "tag",
|
|
592
|
-
foreground: v(a.color.pink11)
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
token: "string",
|
|
596
|
-
foreground: v(a.color.green11)
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
token: "string.key.json",
|
|
600
|
-
foreground: v(a.color.blue11)
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
token: "delimiter",
|
|
604
|
-
foreground: v(a.font.color.light)
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
token: "delimiter.bracket.json",
|
|
608
|
-
foreground: v(a.font.color.light)
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
token: "string.value.json",
|
|
612
|
-
foreground: v(a.color.green11)
|
|
613
|
-
},
|
|
614
|
-
{
|
|
615
|
-
token: "comment",
|
|
616
|
-
foreground: v(a.font.color.light),
|
|
617
|
-
fontStyle: "italic"
|
|
618
|
-
}
|
|
619
|
-
],
|
|
620
|
-
colors: {
|
|
621
|
-
"editor.background": v("transparent"),
|
|
622
|
-
"editor.foreground": v(a.font.color.secondary),
|
|
623
|
-
"editorCursor.foreground": v(a.font.color.primary),
|
|
624
|
-
"editorLineNumber.foreground": v(a.font.color.extraLight),
|
|
625
|
-
"editorLineNumber.activeForeground": v(a.font.color.light),
|
|
626
|
-
"editor.lineHighlightBackground": v(a.background.tertiary),
|
|
627
|
-
"editor.selectionBackground": v(a.background.transparent.blue),
|
|
628
|
-
"editor.inactiveSelectionBackground": v(a.background.transparent.light),
|
|
629
|
-
"editorIndentGuide.background1": v(a.border.color.light),
|
|
630
|
-
"editorIndentGuide.activeBackground1": v(a.border.color.medium),
|
|
631
|
-
"editorBracketMatch.background": v(a.background.transparent.light),
|
|
632
|
-
"editorBracketMatch.border": v(a.border.color.medium)
|
|
633
|
-
}
|
|
634
|
-
}), qr = "_editorLoader_19fud_1", Kr = "_container_19fud_20", Ur = "_editorWrapper_19fud_24", _a = {
|
|
635
|
-
editorLoader: qr,
|
|
636
|
-
container: Kr,
|
|
637
|
-
editorWrapper: Ur
|
|
638
|
-
}, Pa = (a, e, n) => {
|
|
639
|
-
a.editor.defineTheme(Ra, Vr(e, n)), a.editor.setTheme(Ra);
|
|
640
|
-
}, Pt = ({ value: a, language: e, onMount: n, onChange: t, setMarkers: i, onValidate: d, height: o = 450, variant: s = "default", transparentBackground: c, isLoading: u = !1, options: _, resizable: p = !1, contentPadding: k = "default", autoHeight: N = !1 }) => {
|
|
641
|
-
const b = C(), B = ja(), [x, I] = M(void 0), [w, O] = M(void 0), [H, G] = M(!1), [q, $] = M(void 0), { size: K, handleResizeStart: U, handleResizeMove: T, handleResizeEnd: j } = _e({ initialSize: typeof o == "number" ? o : 450 }), S = N && !p, da = typeof b.spacingMultiplicator == "number" ? b.spacingMultiplicator * 4 : void 0, aa = S ? q ?? o : p ? K : o, Qa = {
|
|
642
|
-
...k === "comfortable" ? { lineDecorationsWidth: da } : {},
|
|
643
|
-
padding: {
|
|
644
|
-
bottom: da,
|
|
645
|
-
top: da
|
|
646
|
-
}
|
|
647
|
-
}, { padding: rt, ...Za } = _ ?? {}, $a = (y, L) => {
|
|
648
|
-
const A = y?.getModel();
|
|
649
|
-
if (!h(A)) return;
|
|
650
|
-
const X = i?.(A.getValue());
|
|
651
|
-
h(X) && L?.editor.setModelMarkers(A, "customMarker", X);
|
|
652
|
-
}, ae = (y) => {
|
|
653
|
-
H && y.stopPropagation();
|
|
654
|
-
};
|
|
655
|
-
return ka(() => {
|
|
656
|
-
h(x) && Pa(x, b, B);
|
|
657
|
-
}, [
|
|
658
|
-
B,
|
|
659
|
-
x,
|
|
660
|
-
b
|
|
661
|
-
]), ka(() => {
|
|
662
|
-
if (!S || !h(w)) {
|
|
663
|
-
$(void 0);
|
|
664
|
-
return;
|
|
665
|
-
}
|
|
666
|
-
const y = () => {
|
|
667
|
-
const A = w.getContentHeight();
|
|
668
|
-
!Number.isFinite(A) || A <= 0 || $((X) => X === A ? X : A);
|
|
669
|
-
};
|
|
670
|
-
y();
|
|
671
|
-
const L = w.onDidContentSizeChange(y);
|
|
672
|
-
return () => {
|
|
673
|
-
L.dispose();
|
|
674
|
-
};
|
|
675
|
-
}, [w, S]), u ? /* @__PURE__ */ r("div", {
|
|
676
|
-
className: _a.editorLoader,
|
|
677
|
-
"data-variant": s,
|
|
678
|
-
style: { "--code-editor-height": typeof aa == "number" ? `${aa}px` : aa },
|
|
679
|
-
children: /* @__PURE__ */ r(Va, {})
|
|
680
|
-
}) : /* @__PURE__ */ g("div", {
|
|
681
|
-
className: _a.container,
|
|
682
|
-
onKeyDown: ae,
|
|
683
|
-
children: [
|
|
684
|
-
/* @__PURE__ */ r("input", {
|
|
685
|
-
type: "hidden",
|
|
686
|
-
"data-testid": "code-editor-value",
|
|
687
|
-
value: a ?? "",
|
|
688
|
-
readOnly: !0
|
|
689
|
-
}),
|
|
690
|
-
/* @__PURE__ */ r("div", {
|
|
691
|
-
className: _a.editorWrapper,
|
|
692
|
-
"data-variant": s,
|
|
693
|
-
"data-transparent-background": c || void 0,
|
|
694
|
-
children: /* @__PURE__ */ r(be, {
|
|
695
|
-
height: aa,
|
|
696
|
-
value: a,
|
|
697
|
-
language: e,
|
|
698
|
-
loading: "",
|
|
699
|
-
onMount: (y, L) => {
|
|
700
|
-
I(L), O(y), Pa(L, b, B), y.onDidFocusEditorWidget(() => {
|
|
701
|
-
G(!0);
|
|
702
|
-
}), y.onDidBlurEditorWidget(() => {
|
|
703
|
-
G(!1);
|
|
704
|
-
}), n?.(y, L), $a(y, L);
|
|
705
|
-
},
|
|
706
|
-
onChange: (y) => {
|
|
707
|
-
h(y) && (t?.(y), $a(w, x));
|
|
708
|
-
},
|
|
709
|
-
onValidate: (y) => {
|
|
710
|
-
d?.(y);
|
|
711
|
-
},
|
|
712
|
-
options: {
|
|
713
|
-
formatOnPaste: !0,
|
|
714
|
-
formatOnType: !0,
|
|
715
|
-
fontFamily: b.code.font.family,
|
|
716
|
-
bracketPairColorization: { enabled: !1 },
|
|
717
|
-
overviewRulerLanes: 0,
|
|
718
|
-
scrollBeyondLastLine: !1,
|
|
719
|
-
scrollbar: {
|
|
720
|
-
vertical: "hidden",
|
|
721
|
-
horizontal: "hidden"
|
|
722
|
-
},
|
|
723
|
-
minimap: { enabled: !1 },
|
|
724
|
-
...Za,
|
|
725
|
-
...Qa
|
|
726
|
-
}
|
|
727
|
-
})
|
|
728
|
-
}),
|
|
729
|
-
p && /* @__PURE__ */ r(me, {
|
|
730
|
-
onPointerDown: U,
|
|
731
|
-
onPointerMove: T,
|
|
732
|
-
onPointerUp: j
|
|
733
|
-
})
|
|
734
|
-
]
|
|
735
|
-
});
|
|
736
|
-
}, Xr = "_editorHeader_e870l_1", Yr = "_elementContainer_e870l_15", ga = {
|
|
737
|
-
editorHeader: Xr,
|
|
738
|
-
elementContainer: Yr
|
|
739
|
-
}, Wt = ({ title: a, leftNodes: e, rightNodes: n }) => /* @__PURE__ */ g("div", {
|
|
740
|
-
className: ga.editorHeader,
|
|
741
|
-
children: [/* @__PURE__ */ g("div", {
|
|
742
|
-
className: ga.elementContainer,
|
|
743
|
-
children: [e && e.map((t, i) => /* @__PURE__ */ r("div", { children: t }, `left-${i}`)), a]
|
|
744
|
-
}), /* @__PURE__ */ r("div", {
|
|
745
|
-
className: ga.elementContainer,
|
|
746
|
-
children: n && n.map((t, i) => /* @__PURE__ */ r("div", { children: t }, `right-${i}`))
|
|
747
|
-
})]
|
|
748
|
-
}), Jr = "_button_15sm2_1", Qr = "_small_15sm2_36", Zr = "_medium_15sm2_42", Wa = {
|
|
749
|
-
button: Jr,
|
|
750
|
-
small: Qr,
|
|
751
|
-
medium: Zr
|
|
752
|
-
}, Ia = ({ "aria-label": a, className: e, testId: n, Icon: t, active: i = !1, size: d = "small", accent: o = "secondary", disabled: s = !1, focus: c = !1, onClick: u, title: _ }) => {
|
|
753
|
-
const p = C();
|
|
754
|
-
return /* @__PURE__ */ r("button", {
|
|
755
|
-
"data-testid": n,
|
|
756
|
-
"aria-label": a,
|
|
757
|
-
onClick: u,
|
|
758
|
-
disabled: s,
|
|
759
|
-
className: m(Wa.button, Wa[d], e),
|
|
760
|
-
"data-accent": o,
|
|
761
|
-
"data-active": i || void 0,
|
|
762
|
-
"data-disabled": s || void 0,
|
|
763
|
-
"data-focus": c && !s || void 0,
|
|
764
|
-
title: _,
|
|
765
|
-
children: t && /* @__PURE__ */ r(t, {
|
|
766
|
-
size: d === "medium" ? p.icon.size.md : p.icon.size.sm,
|
|
767
|
-
"aria-hidden": !!a
|
|
768
|
-
})
|
|
769
|
-
});
|
|
770
|
-
}, ao = "_wrapper_1dmor_1", eo = { wrapper: ao }, Dt = ({ colorName: a, isSelected: e, onClick: n }) => /* @__PURE__ */ r("div", {
|
|
771
|
-
className: eo.wrapper,
|
|
772
|
-
"data-selected": e || void 0,
|
|
773
|
-
children: /* @__PURE__ */ r(Ia, {
|
|
774
|
-
size: "medium",
|
|
775
|
-
Icon: () => /* @__PURE__ */ r(ee, { colorName: a }),
|
|
776
|
-
"aria-label": `Select ${a} color`,
|
|
777
|
-
onClick: n
|
|
778
|
-
})
|
|
779
|
-
}), ro = "_container_8lyz7_1", oo = "_colorSchemeBackground_8lyz7_6", no = "_colorSchemeContent_8lyz7_22", to = "_mixedColorSchemeSegment_8lyz7_39", io = "_checkmarkContainer_8lyz7_54", F = {
|
|
780
|
-
container: ro,
|
|
781
|
-
colorSchemeBackground: oo,
|
|
782
|
-
colorSchemeContent: no,
|
|
783
|
-
mixedColorSchemeSegment: to,
|
|
784
|
-
checkmarkContainer: io
|
|
785
|
-
}, pa = ({ variant: a, style: e, className: n, onClick: t, onMouseEnter: i, onMouseLeave: d }) => {
|
|
786
|
-
const o = a === "Dark" ? oe : R;
|
|
787
|
-
return /* @__PURE__ */ r("div", {
|
|
788
|
-
className: m(F.colorSchemeBackground, n),
|
|
789
|
-
style: {
|
|
790
|
-
"--color-scheme-card-background": o.gray4,
|
|
791
|
-
"--color-scheme-card-border-color": o.gray5,
|
|
792
|
-
"--color-scheme-card-content-background": o.gray1,
|
|
793
|
-
"--color-scheme-card-content-color": o.gray12,
|
|
794
|
-
...e
|
|
795
|
-
},
|
|
796
|
-
role: h(t) ? "button" : void 0,
|
|
797
|
-
tabIndex: h(t) ? 0 : void 0,
|
|
798
|
-
"aria-label": h(t) ? a : void 0,
|
|
799
|
-
onClick: t,
|
|
800
|
-
onKeyDown: Ga,
|
|
801
|
-
onMouseEnter: i,
|
|
802
|
-
onMouseLeave: d,
|
|
803
|
-
children: /* @__PURE__ */ r("div", {
|
|
804
|
-
className: F.colorSchemeContent,
|
|
805
|
-
children: "Aa"
|
|
806
|
-
})
|
|
807
|
-
});
|
|
808
|
-
}, va = ({ variant: a, selected: e, onClick: n }) => a === "System" ? /* @__PURE__ */ g("div", {
|
|
809
|
-
className: F.container,
|
|
810
|
-
children: [/* @__PURE__ */ g("div", {
|
|
811
|
-
className: F.mixedColorSchemeSegment,
|
|
812
|
-
role: h(n) ? "button" : void 0,
|
|
813
|
-
tabIndex: h(n) ? 0 : void 0,
|
|
814
|
-
"aria-label": h(n) ? a : void 0,
|
|
815
|
-
onClick: n,
|
|
816
|
-
onKeyDown: Ga,
|
|
817
|
-
children: [/* @__PURE__ */ r(pa, {
|
|
818
|
-
style: {
|
|
819
|
-
borderTopRightRadius: 0,
|
|
820
|
-
borderBottomRightRadius: 0
|
|
821
|
-
},
|
|
822
|
-
variant: "Light"
|
|
823
|
-
}), /* @__PURE__ */ r(pa, {
|
|
824
|
-
style: {
|
|
825
|
-
borderTopLeftRadius: 0,
|
|
826
|
-
borderBottomLeftRadius: 0
|
|
827
|
-
},
|
|
828
|
-
variant: "Dark"
|
|
829
|
-
})]
|
|
830
|
-
}), /* @__PURE__ */ r("div", {
|
|
831
|
-
className: F.checkmarkContainer,
|
|
832
|
-
"data-selected": e || void 0,
|
|
833
|
-
children: /* @__PURE__ */ r(Ta, {})
|
|
834
|
-
})]
|
|
835
|
-
}) : /* @__PURE__ */ g("div", {
|
|
836
|
-
className: F.container,
|
|
837
|
-
children: [/* @__PURE__ */ r(pa, {
|
|
838
|
-
variant: a,
|
|
839
|
-
onClick: n
|
|
840
|
-
}), /* @__PURE__ */ r("div", {
|
|
841
|
-
className: F.checkmarkContainer,
|
|
842
|
-
"data-selected": e || void 0,
|
|
843
|
-
children: /* @__PURE__ */ r(Ta, {})
|
|
844
|
-
})]
|
|
845
|
-
}), lo = "_container_1iidl_1", so = "_cardContainer_1iidl_14", co = "_label_1iidl_19", D = {
|
|
846
|
-
container: lo,
|
|
847
|
-
cardContainer: so,
|
|
848
|
-
label: co
|
|
849
|
-
}, Ft = ({ value: a, onChange: e, className: n, lightLabel: t, darkLabel: i, systemLabel: d }) => /* @__PURE__ */ g("div", {
|
|
850
|
-
className: m(D.container, n),
|
|
851
|
-
children: [
|
|
852
|
-
/* @__PURE__ */ g("div", {
|
|
853
|
-
className: D.cardContainer,
|
|
854
|
-
children: [/* @__PURE__ */ r(va, {
|
|
855
|
-
onClick: () => e("Light"),
|
|
856
|
-
variant: "Light",
|
|
857
|
-
selected: a === "Light"
|
|
858
|
-
}), /* @__PURE__ */ r("span", {
|
|
859
|
-
className: D.label,
|
|
860
|
-
children: t
|
|
861
|
-
})]
|
|
862
|
-
}),
|
|
863
|
-
/* @__PURE__ */ g("div", {
|
|
864
|
-
className: D.cardContainer,
|
|
865
|
-
children: [/* @__PURE__ */ r(va, {
|
|
866
|
-
onClick: () => e("Dark"),
|
|
867
|
-
variant: "Dark",
|
|
868
|
-
selected: a === "Dark"
|
|
869
|
-
}), /* @__PURE__ */ r("span", {
|
|
870
|
-
className: D.label,
|
|
871
|
-
children: i
|
|
872
|
-
})]
|
|
873
|
-
}),
|
|
874
|
-
/* @__PURE__ */ g("div", {
|
|
875
|
-
className: D.cardContainer,
|
|
876
|
-
children: [/* @__PURE__ */ r(va, {
|
|
877
|
-
onClick: () => e("System"),
|
|
878
|
-
variant: "System",
|
|
879
|
-
selected: a === "System"
|
|
880
|
-
}), /* @__PURE__ */ r("span", {
|
|
881
|
-
className: D.label,
|
|
882
|
-
children: d
|
|
883
|
-
})]
|
|
884
|
-
})
|
|
885
|
-
]
|
|
886
|
-
}), uo = "_button_1m0bh_1", mo = "_small_1m0bh_37", _o = "_medium_1m0bh_41", Da = {
|
|
887
|
-
button: uo,
|
|
888
|
-
small: mo,
|
|
889
|
-
medium: _o
|
|
890
|
-
}, Mt = ({ className: a, Icon: e, title: n, ariaLabel: t, size: i = "small", position: d = "standalone", applyBlur: o = !0, applyShadow: s = !0, disabled: c = !1, focus: u = !1, to: _ }) => {
|
|
891
|
-
const p = C();
|
|
892
|
-
return /* @__PURE__ */ g(_ ? Z : "button", {
|
|
893
|
-
disabled: c,
|
|
894
|
-
"aria-label": t,
|
|
895
|
-
className: m(Da.button, Da[i], a),
|
|
896
|
-
"data-position": d,
|
|
897
|
-
"data-apply-blur": o || void 0,
|
|
898
|
-
"data-apply-shadow": s || void 0,
|
|
899
|
-
"data-disabled": c || void 0,
|
|
900
|
-
"data-focus": u && !c || void 0,
|
|
901
|
-
to: _,
|
|
902
|
-
children: [e && /* @__PURE__ */ r(e, {
|
|
903
|
-
size: p.icon.size.sm,
|
|
904
|
-
"aria-hidden": !0
|
|
905
|
-
}), n]
|
|
906
|
-
});
|
|
907
|
-
}, go = "_container_4trh1_1", po = { container: go }, Ot = ({ children: a, size: e, className: n }) => /* @__PURE__ */ r("div", {
|
|
908
|
-
className: m(po.container, n),
|
|
909
|
-
children: P.Children.map(a, (t, i) => {
|
|
910
|
-
let d;
|
|
911
|
-
i === 0 ? d = "left" : i === a.length - 1 ? d = "right" : d = "middle";
|
|
912
|
-
const o = {
|
|
913
|
-
position: d,
|
|
914
|
-
size: e,
|
|
915
|
-
applyShadow: !1,
|
|
916
|
-
applyBlur: !1
|
|
917
|
-
};
|
|
918
|
-
return h(e) && (o.size = e), P.cloneElement(t, o);
|
|
919
|
-
})
|
|
920
|
-
}), vo = "_button_zw2iu_1", ho = "_small_zw2iu_23", bo = "_medium_zw2iu_28", Fa = {
|
|
921
|
-
button: vo,
|
|
922
|
-
small: ho,
|
|
923
|
-
medium: bo
|
|
924
|
-
}, fo = ({ className: a, Icon: e, ariaLabel: n, size: t = "small", position: i = "standalone", applyShadow: d = !0, applyBlur: o = !0, disabled: s = !1, focus: c = !1, onClick: u, isActive: _ }) => {
|
|
925
|
-
const p = C();
|
|
926
|
-
return /* @__PURE__ */ r("button", {
|
|
927
|
-
disabled: s,
|
|
928
|
-
"aria-label": n,
|
|
929
|
-
className: m(Fa.button, Fa[t], a),
|
|
930
|
-
"data-position": i,
|
|
931
|
-
"data-apply-shadow": d || void 0,
|
|
932
|
-
"data-apply-blur": o || void 0,
|
|
933
|
-
"data-disabled": s || void 0,
|
|
934
|
-
"data-focus": c && !s || void 0,
|
|
935
|
-
"data-is-active": _ || void 0,
|
|
936
|
-
onClick: u,
|
|
937
|
-
children: e && /* @__PURE__ */ r(e, {
|
|
938
|
-
size: p.icon.size.md,
|
|
939
|
-
"aria-hidden": !!n
|
|
940
|
-
})
|
|
941
|
-
});
|
|
942
|
-
}, ko = "_container_o9kcz_1", yo = { container: ko }, Ht = ({ iconButtons: a, size: e, className: n }) => /* @__PURE__ */ r("div", {
|
|
943
|
-
className: m(yo.container, n),
|
|
944
|
-
children: a.map(({ Icon: t, onClick: i, isActive: d, ariaLabel: o }, s) => /* @__PURE__ */ r(fo, {
|
|
945
|
-
applyBlur: !1,
|
|
946
|
-
applyShadow: !1,
|
|
947
|
-
Icon: t,
|
|
948
|
-
ariaLabel: o,
|
|
949
|
-
onClick: i,
|
|
950
|
-
position: a.length === 1 ? "standalone" : s === 0 ? "left" : s === a.length - 1 ? "right" : "middle",
|
|
951
|
-
size: e,
|
|
952
|
-
isActive: d
|
|
953
|
-
}, `floating-icon-button-${s}`))
|
|
954
|
-
}), Co = "_button_1ll6b_1", No = "_small_1ll6b_40", xo = "_medium_1ll6b_45", Ma = {
|
|
955
|
-
button: Co,
|
|
956
|
-
small: No,
|
|
957
|
-
medium: xo
|
|
958
|
-
}, Bo = ({ className: a, Icon: e, variant: n = "primary", size: t = "medium", accent: i = "default", position: d = "standalone", disabled: o = !1, focus: s = !1, dataTestId: c, ariaLabel: u, onClick: _, to: p }) => {
|
|
959
|
-
const k = C();
|
|
960
|
-
return /* @__PURE__ */ r("button", {
|
|
961
|
-
"data-testid": c,
|
|
962
|
-
className: m(Ma.button, Ma[t], a),
|
|
963
|
-
"data-variant": n,
|
|
964
|
-
"data-accent": i,
|
|
965
|
-
"data-position": d,
|
|
966
|
-
"data-disabled": o || void 0,
|
|
967
|
-
"data-focus": s || void 0,
|
|
968
|
-
disabled: o,
|
|
969
|
-
onClick: _,
|
|
970
|
-
"aria-label": u,
|
|
971
|
-
to: p,
|
|
972
|
-
children: e && /* @__PURE__ */ r(e, {
|
|
973
|
-
size: k.icon.size.md,
|
|
974
|
-
"aria-hidden": !!u
|
|
975
|
-
})
|
|
976
|
-
});
|
|
977
|
-
}, So = "_button_1ckkx_1", Io = { button: So }, wo = ({ className: a, Icon: e, ariaLabel: n, onClick: t, disabled: i = !1 }) => {
|
|
978
|
-
const d = C();
|
|
979
|
-
return /* @__PURE__ */ r("button", {
|
|
980
|
-
className: m(Io.button, a),
|
|
981
|
-
"aria-label": n,
|
|
982
|
-
onClick: t,
|
|
983
|
-
disabled: i,
|
|
984
|
-
"data-disabled": i || void 0,
|
|
985
|
-
children: e && /* @__PURE__ */ r(e, {
|
|
986
|
-
size: d.icon.size.sm,
|
|
987
|
-
"aria-hidden": !!n
|
|
988
|
-
})
|
|
989
|
-
});
|
|
990
|
-
}, $o = "_container_1l4n2_1", To = { container: $o }, Gt = ({ iconButtons: a, disabled: e, className: n }) => /* @__PURE__ */ r("div", {
|
|
991
|
-
className: m(To.container, n),
|
|
992
|
-
"data-disabled": e || void 0,
|
|
993
|
-
children: a.map(({ Icon: t, onClick: i, ariaLabel: d }, o) => /* @__PURE__ */ r(wo, {
|
|
994
|
-
Icon: t,
|
|
995
|
-
ariaLabel: d,
|
|
996
|
-
onClick: i,
|
|
997
|
-
disabled: e
|
|
998
|
-
}, o))
|
|
999
|
-
}), zo = (a) => /* @__PURE__ */ g("svg", {
|
|
1000
|
-
width: 8,
|
|
1001
|
-
height: 32,
|
|
1002
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1003
|
-
fill: "none",
|
|
1004
|
-
...a,
|
|
1005
|
-
children: [
|
|
1006
|
-
/* @__PURE__ */ r("path", {
|
|
1007
|
-
stroke: "null",
|
|
1008
|
-
id: "svg_1",
|
|
1009
|
-
fill: "#D6D6D6",
|
|
1010
|
-
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"
|
|
1011
|
-
}),
|
|
1012
|
-
/* @__PURE__ */ r("path", {
|
|
1013
|
-
id: "svg_2",
|
|
1014
|
-
fill: "#D6D6D6",
|
|
1015
|
-
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"
|
|
1016
|
-
}),
|
|
1017
|
-
/* @__PURE__ */ r("path", {
|
|
1018
|
-
id: "svg_3",
|
|
1019
|
-
fill: "#D6D6D6",
|
|
1020
|
-
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"
|
|
1021
|
-
})
|
|
1022
|
-
]
|
|
1023
|
-
}), jt = (a) => {
|
|
1024
|
-
const e = a.size ?? 8;
|
|
1025
|
-
return /* @__PURE__ */ r(zo, {
|
|
1026
|
-
height: a.size ?? 32,
|
|
1027
|
-
width: e
|
|
1028
|
-
});
|
|
1029
|
-
}, Lo = "_button_98c25_1", Ao = { button: Lo }, Eo = ({ className: a, Icon: e, title: n, active: t = !1, accent: i = "secondary", disabled: d = !1, focus: o = !1, type: s = "button", onClick: c }) => {
|
|
1030
|
-
const u = C();
|
|
1031
|
-
return /* @__PURE__ */ g("button", {
|
|
1032
|
-
onClick: c,
|
|
1033
|
-
disabled: d,
|
|
1034
|
-
type: s,
|
|
1035
|
-
className: m(Ao.button, a),
|
|
1036
|
-
"data-accent": i,
|
|
1037
|
-
"data-active": t || void 0,
|
|
1038
|
-
"data-disabled": d || void 0,
|
|
1039
|
-
"data-focus": o && !d || void 0,
|
|
1040
|
-
children: [!!e && /* @__PURE__ */ r(e, {
|
|
1041
|
-
size: u.icon.size.md,
|
|
1042
|
-
"aria-hidden": !0
|
|
1043
|
-
}), n]
|
|
1044
|
-
});
|
|
1045
|
-
}, Ro = "_container_7kzmx_1", Po = { container: Ro }, Vt = ({ iconButtons: a, size: e, className: n }) => /* @__PURE__ */ r("div", {
|
|
1046
|
-
className: m(Po.container, n),
|
|
1047
|
-
children: a.map(({ Wrapper: t, Icon: i, accent: d, onClick: o, ariaLabel: s, dataTestId: c }, u) => {
|
|
1048
|
-
const _ = /* @__PURE__ */ r(Ia, {
|
|
1049
|
-
Icon: i,
|
|
1050
|
-
accent: d,
|
|
1051
|
-
disabled: !o,
|
|
1052
|
-
onClick: o,
|
|
1053
|
-
size: e,
|
|
1054
|
-
"aria-label": s,
|
|
1055
|
-
testId: c
|
|
1056
|
-
}, `light-icon-button-${u}`);
|
|
1057
|
-
return t ? /* @__PURE__ */ r(t, { iconButton: _ }, `light-icon-button-wrapper-${u}`) : _;
|
|
1058
|
-
})
|
|
1059
|
-
}), Wo = "_button_y8rpu_1", Do = { button: Wo }, qt = ({ Icon: a, title: e, width: n, fullWidth: t = !1, variant: i = "primary", type: d, onClick: o, disabled: s, className: c }) => {
|
|
1060
|
-
const u = C(), _ = t ? "100%" : n ? `${n}px` : void 0;
|
|
1061
|
-
return /* @__PURE__ */ g("button", {
|
|
1062
|
-
className: m(Do.button, c),
|
|
1063
|
-
"data-variant": i,
|
|
1064
|
-
"data-disabled": s || void 0,
|
|
1065
|
-
disabled: s,
|
|
1066
|
-
onClick: o,
|
|
1067
|
-
type: d,
|
|
1068
|
-
style: _ ? { "--main-button-width": _ } : void 0,
|
|
1069
|
-
children: [a && /* @__PURE__ */ r(a, {
|
|
1070
|
-
size: u.icon.size.sm,
|
|
1071
|
-
"aria-hidden": !0
|
|
1072
|
-
}), e]
|
|
1073
|
-
});
|
|
1074
|
-
}, Fo = "_button_1v638_1", Mo = "_small_1v638_27", Oo = "_medium_1v638_32", Oa = {
|
|
1075
|
-
button: Fo,
|
|
1076
|
-
small: Mo,
|
|
1077
|
-
medium: Oo
|
|
1078
|
-
}, Kt = ({ Icon: a, onClick: e, disabled: n, className: t, size: i = "small", "aria-label": d }) => {
|
|
1079
|
-
const o = C();
|
|
1080
|
-
return /* @__PURE__ */ r("button", {
|
|
1081
|
-
className: m(Oa.button, Oa[i], t),
|
|
1082
|
-
disabled: n,
|
|
1083
|
-
"aria-label": d,
|
|
1084
|
-
onClick: e,
|
|
1085
|
-
children: /* @__PURE__ */ r(a, {
|
|
1086
|
-
size: o.icon.size.md,
|
|
1087
|
-
"aria-hidden": !!d
|
|
1088
|
-
})
|
|
1089
|
-
});
|
|
1090
|
-
}, Ho = "_wrapper_30toy_1", Go = "_inputContainer_30toy_8", jo = "_iconContainer_30toy_25", Vo = "_input_30toy_8", ra = {
|
|
1091
|
-
wrapper: Ho,
|
|
1092
|
-
inputContainer: Go,
|
|
1093
|
-
iconContainer: jo,
|
|
1094
|
-
input: Vo
|
|
1095
|
-
}, Ut = ({ value: a, onChange: e, placeholder: n, filterDropdown: t, autoFocus: i, disabled: d, className: o, id: s, filterButtonAriaLabel: c = "Filter", "aria-label": u, "aria-labelledby": _ }) => {
|
|
1096
|
-
const p = C(), [k, N] = M(!1), b = Sa(), B = s ?? b, x = /* @__PURE__ */ r(Bo, {
|
|
1097
|
-
Icon: te,
|
|
1098
|
-
variant: "secondary",
|
|
1099
|
-
ariaLabel: c
|
|
1100
|
-
});
|
|
1101
|
-
return /* @__PURE__ */ g("div", {
|
|
1102
|
-
className: m(ra.wrapper, o),
|
|
1103
|
-
children: [/* @__PURE__ */ g("div", {
|
|
1104
|
-
className: ra.inputContainer,
|
|
1105
|
-
children: [/* @__PURE__ */ r("div", {
|
|
1106
|
-
className: ra.iconContainer,
|
|
1107
|
-
"data-focused": k || void 0,
|
|
1108
|
-
"aria-hidden": !0,
|
|
1109
|
-
children: /* @__PURE__ */ r(le, { size: p.icon.size.md })
|
|
1110
|
-
}), /* @__PURE__ */ r(fe, {
|
|
1111
|
-
id: B,
|
|
1112
|
-
className: ra.input,
|
|
1113
|
-
value: a,
|
|
1114
|
-
onValueChange: (I) => e(I),
|
|
1115
|
-
onFocus: () => N(!0),
|
|
1116
|
-
onBlur: () => N(!1),
|
|
1117
|
-
placeholder: n,
|
|
1118
|
-
autoFocus: i,
|
|
1119
|
-
disabled: d,
|
|
1120
|
-
"aria-label": _ ? void 0 : u ?? n,
|
|
1121
|
-
"aria-labelledby": _
|
|
1122
|
-
})]
|
|
1123
|
-
}), t && t(x)]
|
|
1124
|
-
});
|
|
1125
|
-
}, qo = "_tabButton_17vcv_1", Ko = "_tabContainer_17vcv_36", Uo = "_tabHover_17vcv_67", wa = {
|
|
1126
|
-
tabButton: qo,
|
|
1127
|
-
tabContainer: Ko,
|
|
1128
|
-
tabHover: Uo
|
|
1129
|
-
}, Ya = Ba(({ active: a, disabled: e, to: n, className: t, children: i, ...d }, o) => /* @__PURE__ */ r(n ? Z : "button", {
|
|
1130
|
-
ref: o,
|
|
1131
|
-
to: n,
|
|
1132
|
-
disabled: n ? void 0 : e,
|
|
1133
|
-
className: m(wa.tabButton, t),
|
|
1134
|
-
"data-active": a || void 0,
|
|
1135
|
-
"data-disabled": e || void 0,
|
|
1136
|
-
...d,
|
|
1137
|
-
children: i
|
|
1138
|
-
}));
|
|
1139
|
-
Ya.displayName = "StyledTabButton";
|
|
1140
|
-
var Xo = Ba(({ active: a, disabled: e, className: n, children: t, ...i }, d) => /* @__PURE__ */ r("div", {
|
|
1141
|
-
ref: d,
|
|
1142
|
-
className: m(wa.tabContainer, n),
|
|
1143
|
-
"data-active": a || void 0,
|
|
1144
|
-
"data-disabled": e || void 0,
|
|
1145
|
-
...i,
|
|
1146
|
-
children: t
|
|
1147
|
-
}));
|
|
1148
|
-
Xo.displayName = "StyledTabContainer";
|
|
1149
|
-
var Ja = Ba(({ contentSize: a, className: e, children: n, ...t }, i) => /* @__PURE__ */ r("span", {
|
|
1150
|
-
ref: i,
|
|
1151
|
-
className: m(wa.tabHover, e),
|
|
1152
|
-
"data-content-size": a,
|
|
1153
|
-
...t,
|
|
1154
|
-
children: n
|
|
1155
|
-
}));
|
|
1156
|
-
Ja.displayName = "StyledTabHover";
|
|
1157
|
-
var Yo = ({ active: a, disabled: e, LeftIcon: n, title: t, logo: i, RightIcon: d, pill: o, contentSize: s = "sm", className: c }) => {
|
|
1158
|
-
const u = C(), _ = a ? u.font.color.primary : e ? u.font.color.extraLight : u.font.color.secondary;
|
|
1159
|
-
return /* @__PURE__ */ g(Ja, {
|
|
1160
|
-
contentSize: s,
|
|
1161
|
-
className: c,
|
|
1162
|
-
children: [
|
|
1163
|
-
n && /* @__PURE__ */ r(n, {
|
|
1164
|
-
color: _,
|
|
1165
|
-
size: u.icon.size.md,
|
|
1166
|
-
"aria-hidden": !0
|
|
1167
|
-
}),
|
|
1168
|
-
i && /* @__PURE__ */ r(re, {
|
|
1169
|
-
avatarUrl: i,
|
|
1170
|
-
size: "md",
|
|
1171
|
-
placeholder: t
|
|
1172
|
-
}),
|
|
1173
|
-
t,
|
|
1174
|
-
d && /* @__PURE__ */ r(d, {
|
|
1175
|
-
color: _,
|
|
1176
|
-
size: u.icon.size.md,
|
|
1177
|
-
"aria-hidden": !0
|
|
1178
|
-
}),
|
|
1179
|
-
o && (typeof o == "string" ? /* @__PURE__ */ r(Ca, { label: o }) : o)
|
|
1180
|
-
]
|
|
1181
|
-
});
|
|
1182
|
-
}, Jo = "_tabTooltipWrapper_197au_1", Qo = { tabTooltipWrapper: Jo }, Xt = ({ id: a, active: e, disabled: n, to: t, LeftIcon: i, className: d, title: o, onClick: s, logo: c, RightIcon: u, pill: _, contentSize: p = "sm", disableTestId: k = !1, tooltipContent: N }) => {
|
|
1183
|
-
const b = `tab-${a}`;
|
|
1184
|
-
return /* @__PURE__ */ g("div", {
|
|
1185
|
-
id: b,
|
|
1186
|
-
className: Qo.tabTooltipWrapper,
|
|
1187
|
-
children: [/* @__PURE__ */ r(Ya, {
|
|
1188
|
-
"data-testid": k ? void 0 : `tab-${a}`,
|
|
1189
|
-
active: e,
|
|
1190
|
-
disabled: n,
|
|
1191
|
-
to: t,
|
|
1192
|
-
className: d,
|
|
1193
|
-
onClick: s,
|
|
1194
|
-
children: /* @__PURE__ */ r(Yo, {
|
|
1195
|
-
id: a,
|
|
1196
|
-
active: e,
|
|
1197
|
-
disabled: n,
|
|
1198
|
-
LeftIcon: i,
|
|
1199
|
-
title: o,
|
|
1200
|
-
logo: c,
|
|
1201
|
-
RightIcon: u,
|
|
1202
|
-
pill: _,
|
|
1203
|
-
contentSize: p
|
|
1204
|
-
})
|
|
1205
|
-
}), N && /* @__PURE__ */ r(Ua, {
|
|
1206
|
-
anchorSelect: `#${b}`,
|
|
1207
|
-
content: N,
|
|
1208
|
-
noArrow: !0,
|
|
1209
|
-
place: "bottom",
|
|
1210
|
-
positionStrategy: "fixed",
|
|
1211
|
-
delay: ue.shortDelay
|
|
1212
|
-
})]
|
|
1213
|
-
}, a);
|
|
1214
|
-
}, Zo = "_root_127ol_1", an = "_centered_127ol_20", en = "_small_127ol_24", rn = "_medium_127ol_29", on = "_thumb_127ol_34", oa = {
|
|
1215
|
-
root: Zo,
|
|
1216
|
-
centered: an,
|
|
1217
|
-
small: en,
|
|
1218
|
-
medium: rn,
|
|
1219
|
-
thumb: on
|
|
1220
|
-
}, nn = ({ id: a, value: e = !1, onChange: n, color: t, toggleSize: i = "medium", className: d, centered: o, disabled: s, "aria-label": c, "aria-labelledby": u }) => /* @__PURE__ */ r(La.Root, {
|
|
1221
|
-
id: a,
|
|
1222
|
-
checked: e,
|
|
1223
|
-
disabled: s,
|
|
1224
|
-
onCheckedChange: (_) => n?.(_),
|
|
1225
|
-
"aria-label": c,
|
|
1226
|
-
"aria-labelledby": u,
|
|
1227
|
-
className: m(oa.root, oa[i], o && oa.centered, d),
|
|
1228
|
-
style: t ? { "--toggle-on-color": t } : void 0,
|
|
1229
|
-
children: /* @__PURE__ */ r(La.Thumb, { className: oa.thumb })
|
|
1230
|
-
}), tn = "_container_1o484_1", dn = "_containerInfo_1o484_14", ln = "_containerWarning_1o484_19", sn = "_containerSuccess_1o484_24", cn = "_containerError_1o484_29", un = "_containerNeutral_1o484_34", mn = "_header_1o484_39", _n = "_iconContainer_1o484_48", gn = "_iconContainerInfo_1o484_57", pn = "_iconContainerWarning_1o484_61", vn = "_iconContainerSuccess_1o484_65", hn = "_iconContainerError_1o484_69", bn = "_iconContainerNeutral_1o484_73", fn = "_title_1o484_77", kn = "_descriptionWrapper_1o484_89", yn = "_descriptionWrapperWithAction_1o484_97", Cn = "_description_1o484_89", Nn = "_footer_1o484_110", f = {
|
|
1231
|
-
container: tn,
|
|
1232
|
-
containerInfo: dn,
|
|
1233
|
-
containerWarning: ln,
|
|
1234
|
-
containerSuccess: sn,
|
|
1235
|
-
containerError: cn,
|
|
1236
|
-
containerNeutral: un,
|
|
1237
|
-
header: mn,
|
|
1238
|
-
iconContainer: _n,
|
|
1239
|
-
iconContainerInfo: gn,
|
|
1240
|
-
iconContainerWarning: pn,
|
|
1241
|
-
iconContainerSuccess: vn,
|
|
1242
|
-
iconContainerError: hn,
|
|
1243
|
-
iconContainerNeutral: bn,
|
|
1244
|
-
title: fn,
|
|
1245
|
-
descriptionWrapper: kn,
|
|
1246
|
-
descriptionWrapperWithAction: yn,
|
|
1247
|
-
description: Cn,
|
|
1248
|
-
footer: Nn
|
|
1249
|
-
}, xn = {
|
|
1250
|
-
info: f.containerInfo,
|
|
1251
|
-
warning: f.containerWarning,
|
|
1252
|
-
error: f.containerError,
|
|
1253
|
-
neutral: f.containerNeutral,
|
|
1254
|
-
success: f.containerSuccess
|
|
1255
|
-
}, Bn = {
|
|
1256
|
-
info: f.iconContainerInfo,
|
|
1257
|
-
warning: f.iconContainerWarning,
|
|
1258
|
-
error: f.iconContainerError,
|
|
1259
|
-
neutral: f.iconContainerNeutral,
|
|
1260
|
-
success: f.iconContainerSuccess
|
|
1261
|
-
}, Yt = ({ variant: a, title: e, description: n, Icon: t = de, action: i, isClosable: d = !1, onClose: o }) => {
|
|
1262
|
-
const [s, c] = M(!0), u = () => {
|
|
1263
|
-
d && (c(!1), o?.());
|
|
1264
|
-
};
|
|
1265
|
-
return s ? /* @__PURE__ */ g("div", {
|
|
1266
|
-
className: m(f.container, xn[a]),
|
|
1267
|
-
children: [
|
|
1268
|
-
/* @__PURE__ */ g("div", {
|
|
1269
|
-
className: f.header,
|
|
1270
|
-
children: [
|
|
1271
|
-
/* @__PURE__ */ r("div", {
|
|
1272
|
-
className: m(f.iconContainer, Bn[a]),
|
|
1273
|
-
children: /* @__PURE__ */ r(t, { size: 16 })
|
|
1274
|
-
}),
|
|
1275
|
-
/* @__PURE__ */ r("div", {
|
|
1276
|
-
className: f.title,
|
|
1277
|
-
children: e
|
|
1278
|
-
}),
|
|
1279
|
-
d && /* @__PURE__ */ r(Ia, {
|
|
1280
|
-
Icon: ne,
|
|
1281
|
-
size: "small",
|
|
1282
|
-
"aria-label": "Close",
|
|
1283
|
-
onClick: u
|
|
1284
|
-
})
|
|
1285
|
-
]
|
|
1286
|
-
}),
|
|
1287
|
-
/* @__PURE__ */ r("div", {
|
|
1288
|
-
className: m(f.descriptionWrapper, h(i) && f.descriptionWrapperWithAction),
|
|
1289
|
-
children: /* @__PURE__ */ r("div", {
|
|
1290
|
-
className: f.description,
|
|
1291
|
-
children: n
|
|
1292
|
-
})
|
|
1293
|
-
}),
|
|
1294
|
-
h(i) && /* @__PURE__ */ r("div", {
|
|
1295
|
-
className: f.footer,
|
|
1296
|
-
children: /* @__PURE__ */ r(Eo, {
|
|
1297
|
-
type: "button",
|
|
1298
|
-
title: i.label,
|
|
1299
|
-
onClick: i.onClick
|
|
1300
|
-
})
|
|
1301
|
-
})
|
|
1302
|
-
]
|
|
1303
|
-
}) : null;
|
|
1304
|
-
}, Sn = "_svg_5jxqf_1", In = "_circularProgressBarRotate_5jxqf_1", wn = "_circle_5jxqf_6", $n = "_circularProgressBarDash_5jxqf_1", Ha = {
|
|
1305
|
-
svg: Sn,
|
|
1306
|
-
circularProgressBarRotate: In,
|
|
1307
|
-
circle: wn,
|
|
1308
|
-
circularProgressBarDash: $n
|
|
1309
|
-
}, Jt = ({ size: a = 50, barWidth: e = 5, barColor: n = "currentColor" }) => /* @__PURE__ */ r("svg", {
|
|
1310
|
-
className: Ha.svg,
|
|
1311
|
-
width: a,
|
|
1312
|
-
height: a,
|
|
1313
|
-
children: /* @__PURE__ */ r("circle", {
|
|
1314
|
-
className: Ha.circle,
|
|
1315
|
-
cx: a / 2,
|
|
1316
|
-
cy: a / 2,
|
|
1317
|
-
r: a / 2 - e,
|
|
1318
|
-
fill: "none",
|
|
1319
|
-
stroke: n,
|
|
1320
|
-
strokeWidth: e,
|
|
1321
|
-
strokeLinecap: "round",
|
|
1322
|
-
pathLength: 100
|
|
1323
|
-
})
|
|
1324
|
-
}), Tn = "_emptyContainer_ftzrt_1", zn = "_emptyPlaceholderFadeIn_ftzrt_1", Ln = "_emptyTextContainer_ftzrt_21", An = "_emptyTitle_ftzrt_31", En = "_emptySubTitle_ftzrt_37", ta = {
|
|
1325
|
-
emptyContainer: Tn,
|
|
1326
|
-
emptyPlaceholderFadeIn: zn,
|
|
1327
|
-
emptyTextContainer: Ln,
|
|
1328
|
-
emptyTitle: An,
|
|
1329
|
-
emptySubTitle: En
|
|
1330
|
-
}, Qt = ({ children: a, className: e, width: n }) => /* @__PURE__ */ r("div", {
|
|
1331
|
-
className: m(ta.emptyContainer, e),
|
|
1332
|
-
style: h(n) ? { width: `${n}px` } : void 0,
|
|
1333
|
-
children: a
|
|
1334
|
-
}), Zt = ({ className: a, ...e }) => /* @__PURE__ */ r("div", {
|
|
1335
|
-
className: m(ta.emptyTextContainer, a),
|
|
1336
|
-
...e
|
|
1337
|
-
}), ai = ({ className: a, ...e }) => /* @__PURE__ */ r("div", {
|
|
1338
|
-
className: m(ta.emptyTitle, a),
|
|
1339
|
-
...e
|
|
1340
|
-
}), ei = ({ className: a, ...e }) => /* @__PURE__ */ r("div", {
|
|
1341
|
-
className: m(ta.emptySubTitle, a),
|
|
1342
|
-
...e
|
|
1343
|
-
}), Rn = "_errorContainer_5ujop_1", Pn = "_errorTextContainer_5ujop_12", Wn = "_errorTitle_5ujop_22", Dn = "_errorSubTitle_5ujop_29", ia = {
|
|
1344
|
-
errorContainer: Rn,
|
|
1345
|
-
errorTextContainer: Pn,
|
|
1346
|
-
errorTitle: Wn,
|
|
1347
|
-
errorSubTitle: Dn
|
|
1348
|
-
}, ri = ({ className: a, ...e }) => /* @__PURE__ */ r("div", {
|
|
1349
|
-
className: m(ia.errorContainer, a),
|
|
1350
|
-
...e
|
|
1351
|
-
}), oi = ({ className: a, ...e }) => /* @__PURE__ */ r("div", {
|
|
1352
|
-
className: m(ia.errorTextContainer, a),
|
|
1353
|
-
...e
|
|
1354
|
-
}), ni = ({ className: a, ...e }) => /* @__PURE__ */ r("div", {
|
|
1355
|
-
className: m(ia.errorTitle, a),
|
|
1356
|
-
...e
|
|
1357
|
-
}), ti = ({ className: a, ...e }) => /* @__PURE__ */ r("div", {
|
|
1358
|
-
className: m(ia.errorSubTitle, a),
|
|
1359
|
-
...e
|
|
1360
|
-
}), Fn = "_info_phgej_1", Mn = "_accentBlue_phgej_14", On = "_accentDanger_phgej_19", Hn = "_textContainer_phgej_24", Gn = "_linkContainer_phgej_33", Q = {
|
|
1361
|
-
info: Fn,
|
|
1362
|
-
accentBlue: Mn,
|
|
1363
|
-
accentDanger: On,
|
|
1364
|
-
textContainer: Hn,
|
|
1365
|
-
linkContainer: Gn
|
|
1366
|
-
}, jn = {
|
|
1367
|
-
blue: Q.accentBlue,
|
|
1368
|
-
danger: Q.accentDanger
|
|
1369
|
-
}, ii = ({ accent: a = "blue", text: e, buttonTitle: n, onClick: t, to: i }) => {
|
|
1370
|
-
const d = C();
|
|
1371
|
-
return /* @__PURE__ */ g("div", {
|
|
1372
|
-
className: m(Q.info, jn[a]),
|
|
1373
|
-
children: [
|
|
1374
|
-
/* @__PURE__ */ g("div", {
|
|
1375
|
-
className: Q.textContainer,
|
|
1376
|
-
children: [/* @__PURE__ */ r(Na, { size: d.icon.size.md }), e]
|
|
1377
|
-
}),
|
|
1378
|
-
n && i && /* @__PURE__ */ r("span", {
|
|
1379
|
-
className: Q.linkContainer,
|
|
1380
|
-
children: /* @__PURE__ */ r(Z, {
|
|
1381
|
-
to: i,
|
|
1382
|
-
children: /* @__PURE__ */ r(ya, {
|
|
1383
|
-
title: n,
|
|
1384
|
-
size: "small",
|
|
1385
|
-
variant: "secondary",
|
|
1386
|
-
accent: a
|
|
1387
|
-
})
|
|
1388
|
-
})
|
|
1389
|
-
}),
|
|
1390
|
-
n && t && !i && /* @__PURE__ */ r(ya, {
|
|
1391
|
-
title: n,
|
|
1392
|
-
onClick: t,
|
|
1393
|
-
size: "small",
|
|
1394
|
-
variant: "secondary",
|
|
1395
|
-
accent: a
|
|
1396
|
-
})
|
|
1397
|
-
]
|
|
1398
|
-
});
|
|
1399
|
-
}, Vn = "_banner_1n1xu_1", qn = "_bannerContent_1n1xu_6", Kn = "_bannerText_1n1xu_13", ha = {
|
|
1400
|
-
banner: Vn,
|
|
1401
|
-
bannerContent: qn,
|
|
1402
|
-
bannerText: Kn
|
|
1403
|
-
}, di = ({ color: a, message: e, button: n, LeftIcon: t = Na, className: i }) => {
|
|
1404
|
-
const d = C();
|
|
1405
|
-
return /* @__PURE__ */ g(Re, {
|
|
1406
|
-
className: m(ha.banner, i),
|
|
1407
|
-
color: a,
|
|
1408
|
-
variant: "secondary",
|
|
1409
|
-
children: [/* @__PURE__ */ g("div", {
|
|
1410
|
-
className: ha.bannerContent,
|
|
1411
|
-
children: [/* @__PURE__ */ r(t, { size: d.icon.size.md }), /* @__PURE__ */ r("span", {
|
|
1412
|
-
className: ha.bannerText,
|
|
1413
|
-
children: e
|
|
1414
|
-
})]
|
|
1415
|
-
}), n && !n.hidden && /* @__PURE__ */ r(ya, {
|
|
1416
|
-
size: "small",
|
|
1417
|
-
variant: "secondary",
|
|
1418
|
-
accent: a,
|
|
1419
|
-
title: n?.title,
|
|
1420
|
-
onClick: n?.onClick
|
|
1421
|
-
})]
|
|
1422
|
-
});
|
|
1423
|
-
}, Un = "_bar_9476t_1", Xn = "_track_9476t_13", Yn = "_indicator_9476t_19", Jn = "_countdown_9476t_32", Qn = "_progressBarCountdown_9476t_1", na = {
|
|
1424
|
-
bar: Un,
|
|
1425
|
-
track: Xn,
|
|
1426
|
-
indicator: Yn,
|
|
1427
|
-
countdown: Jn,
|
|
1428
|
-
progressBarCountdown: Qn
|
|
1429
|
-
}, li = ({ value: a, className: e, barColor: n, backgroundColor: t = "none", withBorderRadius: i = !1, ariaLabel: d, countdownDurationInMs: o, isCountdownPaused: s = !1, onCountdownComplete: c }) => {
|
|
1430
|
-
const u = o !== void 0;
|
|
1431
|
-
return /* @__PURE__ */ r(la.Root, {
|
|
1432
|
-
className: m(na.bar, e),
|
|
1433
|
-
"data-with-border-radius": i || void 0,
|
|
1434
|
-
"aria-label": d,
|
|
1435
|
-
value: a,
|
|
1436
|
-
style: {
|
|
1437
|
-
"--progress-bar-background-color": t,
|
|
1438
|
-
...n ? { "--progress-bar-color": n } : {},
|
|
1439
|
-
...u ? { "--progress-bar-countdown-duration": `${o}ms` } : {}
|
|
1440
|
-
},
|
|
1441
|
-
children: /* @__PURE__ */ r(la.Track, {
|
|
1442
|
-
className: na.track,
|
|
1443
|
-
children: /* @__PURE__ */ r(la.Indicator, {
|
|
1444
|
-
className: m(na.indicator, u && na.countdown),
|
|
1445
|
-
"data-with-border-radius": i || void 0,
|
|
1446
|
-
"data-nonzero": a > 0 && !u || void 0,
|
|
1447
|
-
"data-paused": u && s || void 0,
|
|
1448
|
-
onAnimationEnd: u ? c : void 0
|
|
1449
|
-
})
|
|
1450
|
-
})
|
|
1451
|
-
});
|
|
1452
|
-
}, Zn = "_banner_k05bg_1", at = "_iconContainer_k05bg_12", et = "_message_k05bg_22", ba = {
|
|
1453
|
-
banner: Zn,
|
|
1454
|
-
iconContainer: at,
|
|
1455
|
-
message: et
|
|
1456
|
-
}, si = ({ message: a, className: e, variant: n = "default", tooltipMessage: t }) => {
|
|
1457
|
-
const i = Sa();
|
|
1458
|
-
return /* @__PURE__ */ g("div", {
|
|
1459
|
-
className: m(ba.banner, e),
|
|
1460
|
-
"data-tooltip-id": t ? i : void 0,
|
|
1461
|
-
children: [
|
|
1462
|
-
/* @__PURE__ */ r("div", {
|
|
1463
|
-
className: ba.iconContainer,
|
|
1464
|
-
children: n === "default" ? /* @__PURE__ */ r(Na, { size: 16 }) : /* @__PURE__ */ r(ce, { size: 16 })
|
|
1465
|
-
}),
|
|
1466
|
-
/* @__PURE__ */ r("p", {
|
|
1467
|
-
className: ba.message,
|
|
1468
|
-
children: a
|
|
1469
|
-
}),
|
|
1470
|
-
h(t) && /* @__PURE__ */ r(Ua, {
|
|
1471
|
-
anchorSelect: `[data-tooltip-id='${i}']`,
|
|
1472
|
-
content: t,
|
|
1473
|
-
place: "bottom"
|
|
1474
|
-
})
|
|
1475
|
-
]
|
|
1476
|
-
});
|
|
1477
|
-
};
|
|
1478
|
-
export {
|
|
1479
|
-
Bt as $,
|
|
1480
|
-
Ot as A,
|
|
1481
|
-
Rt as B,
|
|
1482
|
-
Eo as C,
|
|
1483
|
-
Bo as D,
|
|
1484
|
-
wo as E,
|
|
1485
|
-
Ia as F,
|
|
1486
|
-
Tt as G,
|
|
1487
|
-
Lt as H,
|
|
1488
|
-
Wt as I,
|
|
1489
|
-
wt as J,
|
|
1490
|
-
$t as K,
|
|
1491
|
-
Pt as L,
|
|
1492
|
-
Ft as M,
|
|
1493
|
-
va as N,
|
|
1494
|
-
Ht as O,
|
|
1495
|
-
Dt as P,
|
|
1496
|
-
ya as Q,
|
|
1497
|
-
Vr as R,
|
|
1498
|
-
Vt as S,
|
|
1499
|
-
Gt as T,
|
|
1500
|
-
At as U,
|
|
1501
|
-
Et as V,
|
|
1502
|
-
zt as W,
|
|
1503
|
-
It as X,
|
|
1504
|
-
zr as Y,
|
|
1505
|
-
St as Z,
|
|
1506
|
-
Yo as _,
|
|
1507
|
-
ri as a,
|
|
1508
|
-
Ce as at,
|
|
1509
|
-
Kt as b,
|
|
1510
|
-
ni as c,
|
|
1511
|
-
Zt as d,
|
|
1512
|
-
xt as et,
|
|
1513
|
-
ai as f,
|
|
1514
|
-
Xt as g,
|
|
1515
|
-
nn as h,
|
|
1516
|
-
ii as i,
|
|
1517
|
-
Ne as it,
|
|
1518
|
-
Mt as j,
|
|
1519
|
-
fo as k,
|
|
1520
|
-
Qt as l,
|
|
1521
|
-
Yt as m,
|
|
1522
|
-
li as n,
|
|
1523
|
-
Re as nt,
|
|
1524
|
-
ti as o,
|
|
1525
|
-
ye as ot,
|
|
1526
|
-
Jt as p,
|
|
1527
|
-
Xa as q,
|
|
1528
|
-
di as r,
|
|
1529
|
-
Ct as rt,
|
|
1530
|
-
oi as s,
|
|
1531
|
-
ke as st,
|
|
1532
|
-
si as t,
|
|
1533
|
-
Nt as tt,
|
|
1534
|
-
ei as u,
|
|
1535
|
-
Xo as v,
|
|
1536
|
-
jt as w,
|
|
1537
|
-
qt as x,
|
|
1538
|
-
Ut as y,
|
|
1539
|
-
Ra as z
|
|
1540
|
-
};
|