twenty-ui 2.45.0 → 2.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -18
- package/dist/{AllIcons-CFMhMGzh.js → AllIcons-CLbeNZLM.js} +1 -1
- package/dist/{AllIcons-Cz8pObev.cjs → AllIcons-C_27esn4.cjs} +1 -1
- package/dist/Avatar-DK78lGPU.cjs +1 -0
- package/dist/Avatar-DnJMCjoR.js +72 -0
- package/dist/Button-DQUIhQAm.js +71 -0
- package/dist/Button-DkijwPOi.cjs +1 -0
- package/dist/Dropdown-CZVEnq0N.js +774 -0
- package/dist/Dropdown-Ckcy6ZLF.cjs +1 -0
- package/dist/{Heading-CQqDjovJ.cjs → Heading-CTRYClCO.cjs} +1 -1
- package/dist/{Heading-DvxTKEaL.js → Heading-pXllCJCO.js} +4 -4
- package/dist/Input-D3-FH2Zz.js +49 -0
- package/dist/Input-W2vWPc9r.cjs +1 -0
- package/dist/InputGroup-DEozqrQd.cjs +1 -0
- package/dist/InputGroup-wM9PT12U.js +51 -0
- package/dist/ListItem-BVJEFywj.js +86 -0
- package/dist/ListItem-fFbJhi6M.cjs +1 -0
- package/dist/ListItem.module-Ar-vZ7Qu.js +34 -0
- package/dist/ListItem.module-B8NeDH1P.cjs +1 -0
- package/dist/Loader-BBMC4fe6.js +29 -0
- package/dist/Loader-GFhTL4Aw.cjs +1 -0
- package/dist/MenuSeparator-BdPwyE9f.js +25 -0
- package/dist/MenuSeparator-wRxC7b_c.cjs +1 -0
- package/dist/OverflowingTextWithTooltip-CXHiE4BG.cjs +1 -0
- package/dist/OverflowingTextWithTooltip-wRABzEWd.js +199 -0
- package/dist/Popover-C-JjVGKl.js +57 -0
- package/dist/Popover-D_S9MGZm.cjs +1 -0
- package/dist/ProgressBar-BHiYQW6F.cjs +1 -0
- package/dist/ProgressBar-B_GDjg9S.js +83 -0
- package/dist/ProgressRing-CHLADu5q.cjs +1 -0
- package/dist/ProgressRing-Cwqo4hWZ.js +57 -0
- package/dist/ResizeHandle-BGboQXCx.cjs +1 -0
- package/dist/ResizeHandle-X2NdHzqt.js +191 -0
- package/dist/Separator-0LzwPfOn.js +10 -0
- package/dist/Separator-UJVlrTzw.cjs +1 -0
- package/dist/Shortcut-CWRh02hg.js +71 -0
- package/dist/Shortcut-oYvcja2P.cjs +1 -0
- package/dist/Switch-Ck8QAAbb.cjs +1 -0
- package/dist/Switch-DOd0gh7W.js +25 -0
- package/dist/TintedIconTile-BZgRO7cg.js +40 -0
- package/dist/TintedIconTile-Dp4uH0Up.cjs +1 -0
- package/dist/VisuallyHidden-B-n4x1KY.cjs +1 -0
- package/dist/VisuallyHidden-CFZP7ybO.js +14 -0
- package/dist/components/code-editor/CodeEditorHeader/CodeEditorHeader.d.ts +1 -1
- package/dist/components/code-editor/CodeEditorHeader/types/CodeEditorHeaderProps.d.ts +6 -4
- package/dist/components/code-editor.cjs +1 -1
- package/dist/components/code-editor.mjs +76 -69
- package/dist/components/data-display/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/dist/components/data-display/AvatarGroup/__stories__/AvatarGroupIdentityExample.d.ts +1 -0
- package/dist/components/data-display/AvatarGroup/__stories__/AvatarGroupStatefulAvatar.d.ts +3 -0
- package/dist/components/data-display/AvatarGroup/types/AvatarGroupProps.d.ts +4 -4
- package/dist/components/data-display/CommandBlock/CommandBlock.d.ts +2 -7
- package/dist/components/data-display/CommandBlock/types/CommandBlockProps.d.ts +6 -0
- package/dist/components/data-display/MetricRow/MetricRow.d.ts +1 -1
- package/dist/components/data-display/MetricRow/types/MetricRowProps.d.ts +2 -3
- package/dist/components/data-display/TintedIconTile/TintedIconTile.d.ts +1 -1
- package/dist/components/data-display/TintedIconTile/types/TintedIconTileProps.d.ts +4 -5
- package/dist/components/data-display/index.d.ts +17 -0
- package/dist/components/data-display.cjs +1 -0
- package/dist/components/data-display.mjs +11 -0
- package/dist/components/feedback/Callout/Callout.d.ts +3 -2
- package/dist/components/feedback/Callout/internal/CalloutAction.d.ts +2 -0
- package/dist/components/feedback/Callout/internal/CalloutComponent.d.ts +2 -0
- package/dist/components/feedback/Callout/types/CalloutActionProps.d.ts +2 -0
- package/dist/components/feedback/Callout/types/CalloutColor.d.ts +2 -0
- package/dist/components/feedback/Callout/types/CalloutProps.d.ts +14 -12
- package/dist/components/feedback/Callout/types/CalloutState.d.ts +8 -0
- package/dist/components/feedback/Callout/types/CalloutStatus.d.ts +2 -0
- package/dist/components/feedback/Callout/types/CalloutVariant.d.ts +1 -1
- package/dist/components/feedback/InlineBanner/InlineBanner.d.ts +3 -2
- package/dist/components/feedback/InlineBanner/internal/InlineBannerComponent.d.ts +2 -0
- package/dist/components/feedback/InlineBanner/types/InlineBannerLayout.d.ts +1 -0
- package/dist/components/feedback/InlineBanner/types/InlineBannerProps.d.ts +4 -10
- package/dist/components/feedback/Toast/hooks/useToast.d.ts +2 -2
- package/dist/components/feedback/index.d.ts +20 -0
- package/dist/components/feedback.cjs +1 -0
- package/dist/components/feedback.mjs +9 -0
- package/dist/components/index.d.ts +6 -85
- package/dist/components/input/CountrySelect/CountrySelect.d.ts +2 -0
- package/dist/components/input/CountrySelect/__stories__/COUNTRY_CHOICES.d.ts +5 -0
- package/dist/components/input/CountrySelect/__stories__/CountrySelectAvailabilityExample.d.ts +8 -0
- package/dist/components/input/CountrySelect/__stories__/CountrySelectExample.d.ts +2 -0
- package/dist/components/input/CountrySelect/__stories__/assertCountryAvailabilityReset.d.ts +5 -0
- package/dist/components/input/CountrySelect/__stories__/waitForCountryPopup.d.ts +4 -0
- package/dist/components/input/CountrySelect/internal/CountrySelectAvailabilityEffect.d.ts +7 -0
- package/dist/components/input/CountrySelect/internal/CountrySelectOptions.d.ts +11 -0
- package/dist/components/input/CountrySelect/internal/getCountrySelectLabelledBy.d.ts +5 -0
- package/dist/components/input/CountrySelect/types/CountryChoice.d.ts +6 -0
- package/dist/components/input/CountrySelect/types/CountrySelectProps.d.ts +15 -0
- package/dist/components/input/CurrencyPicker/CurrencyPicker.d.ts +4 -0
- package/dist/components/input/CurrencyPicker/__stories__/CurrencyPickerExample.d.ts +11 -0
- package/dist/components/input/CurrencyPicker/__stories__/currencyPickerStoryOptions.d.ts +9 -0
- package/dist/components/input/CurrencyPicker/__stories__/openCurrencyPicker.d.ts +8 -0
- package/dist/components/input/CurrencyPicker/internal/CurrencyPickerOptions.d.ts +2 -0
- package/dist/components/input/CurrencyPicker/internal/CurrencyPickerTrigger.d.ts +2 -0
- package/dist/components/input/CurrencyPicker/internal/getCurrencyPickerLabel.d.ts +2 -0
- package/dist/components/input/CurrencyPicker/types/CurrencyPickerOption.d.ts +5 -0
- package/dist/components/input/CurrencyPicker/types/CurrencyPickerOptionsProps.d.ts +10 -0
- package/dist/components/input/CurrencyPicker/types/CurrencyPickerTriggerProps.d.ts +4 -0
- package/dist/components/input/IconButton/types/IconButtonProps.d.ts +8 -3
- package/dist/components/input/ImageInput/ImageInput.d.ts +1 -1
- package/dist/components/input/ImageInput/types/ImageInputProps.d.ts +4 -4
- package/dist/components/input/PhoneCountryPicker/PhoneCountryPicker.d.ts +4 -0
- package/dist/components/input/PhoneCountryPicker/__stories__/PhoneCountryPickerExample.d.ts +12 -0
- package/dist/components/input/PhoneCountryPicker/__stories__/openPhoneCountryPicker.d.ts +8 -0
- package/dist/components/input/PhoneCountryPicker/__stories__/phoneCountryOptions.d.ts +2 -0
- package/dist/components/input/PhoneCountryPicker/__stories__/phoneCountryPickerStoryA11yParameters.d.ts +12 -0
- package/dist/components/input/PhoneCountryPicker/internal/PhoneCountryPickerOptions.d.ts +2 -0
- package/dist/components/input/PhoneCountryPicker/internal/PhoneCountryPickerTrigger.d.ts +2 -0
- package/dist/components/input/PhoneCountryPicker/internal/getPhoneCountryOptionLabel.d.ts +2 -0
- package/dist/components/input/PhoneCountryPicker/types/PhoneCountryOption.d.ts +7 -0
- package/dist/components/input/PhoneCountryPicker/types/PhoneCountryPickerOptionsProps.d.ts +8 -0
- package/dist/components/input/PhoneCountryPicker/types/PhoneCountryPickerTriggerProps.d.ts +6 -0
- package/dist/components/input/index.d.ts +23 -0
- package/dist/components/input.cjs +1 -0
- package/dist/components/input.mjs +13 -0
- package/dist/components/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.d.ts +2 -9
- package/dist/components/layout/AnimatedIconCrossfade/types/AnimatedIconCrossfadeProps.d.ts +7 -0
- package/dist/components/layout/Section/Section.d.ts +2 -2
- package/dist/components/layout/Section/internal/SectionHeader.d.ts +1 -1
- package/dist/components/layout/Section/types/SectionHeaderProps.d.ts +3 -2
- package/dist/components/layout/index.d.ts +7 -0
- package/dist/components/layout.cjs +1 -0
- package/dist/components/layout.mjs +6 -0
- package/dist/components/navigation/Dropdown/Dropdown.d.ts +13 -13
- package/dist/components/navigation/Dropdown/internal/DropdownActionItem.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownBack.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownContent.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownItemOwner.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/DropdownItemWithActions.d.ts +7 -0
- package/dist/components/navigation/Dropdown/internal/DropdownOptionItem.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownSection.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/getNativeDisabled.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/getNextDropdownGridItem.d.ts +7 -0
- package/dist/components/navigation/Dropdown/internal/getNextDropdownItem.d.ts +2 -1
- package/dist/components/navigation/Dropdown/internal/useDropdownItemFocus.d.ts +2 -1
- package/dist/components/navigation/Dropdown/types/DropdownActionItemProps.d.ts +1 -1
- package/dist/components/navigation/Dropdown/types/DropdownContentProps.d.ts +3 -1
- package/dist/components/navigation/Dropdown/types/DropdownDismissEvent.d.ts +1 -0
- package/dist/components/navigation/Dropdown/types/DropdownSectionProps.d.ts +1 -0
- package/dist/components/navigation/Dropdown/types/DropdownSubmenuTriggerProps.d.ts +1 -1
- package/dist/components/navigation/Dropdown/types/DropdownTriggerProps.d.ts +1 -1
- package/dist/components/navigation/ListItemButton/ListItemButton.d.ts +2 -0
- package/dist/components/navigation/ListItemButton/types/ListItemButtonProps.d.ts +4 -0
- package/dist/components/navigation/TabButton/types/TabButtonProps.d.ts +1 -1
- package/dist/components/navigation/index.d.ts +35 -0
- package/dist/components/navigation.cjs +1 -0
- package/dist/components/navigation.mjs +14 -0
- package/dist/components/settings/SettingsRow/SettingsRow.d.ts +2 -0
- package/dist/components/settings/SettingsRow/__stories__/ControlledSettingsRowFormExample.d.ts +2 -0
- package/dist/components/settings/SettingsRow/internal/SettingsRowLabel.d.ts +2 -0
- package/dist/components/settings/SettingsRow/types/SettingsRowProps.d.ts +11 -0
- package/dist/components/settings/index.d.ts +2 -0
- package/dist/components/settings.cjs +1 -0
- package/dist/components/settings.mjs +4 -0
- package/dist/components.cjs +1 -1
- package/dist/components.mjs +43 -32
- package/dist/data-display-BMM4rYOl.cjs +1 -0
- package/dist/data-display-Bw-5dsCu.cjs +2 -0
- package/dist/data-display-CRDo6TBH.js +175 -0
- package/dist/data-display-CehSwX8i.js +333 -0
- package/dist/feedback-BV1EK98d.js +382 -0
- package/dist/feedback-BleeRoOP.cjs +1 -0
- package/dist/feedback-CI5j7IZ3.js +37 -0
- package/dist/feedback-f1_n3da1.cjs +1 -0
- package/dist/handleClickableElementKeyDown-C8Uz61XJ.js +6 -0
- package/dist/handleClickableElementKeyDown-CByqtBhO.cjs +1 -0
- package/dist/icon/components/TablerIcons.d.ts +1 -1
- package/dist/icon/index.d.ts +1 -1
- package/dist/{icon-B7aZ6RxF.js → icon-Bo3y4NHM.js} +552 -548
- package/dist/{icon-DK8OPi-m.cjs → icon-DM8Yjnig.cjs} +1 -1
- package/dist/icon.cjs +1 -1
- package/dist/icon.mjs +468 -464
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +657 -631
- package/dist/input-CKcuJwhb.js +450 -0
- package/dist/input-CmZ5aC9o.js +548 -0
- package/dist/input-D9vXRp8R.cjs +1 -0
- package/dist/input-DSvyF-Tb.cjs +1 -0
- package/dist/layout-Bt-DUE1X.js +267 -0
- package/dist/layout-DJq0Dcmq.cjs +1 -0
- package/dist/layout-d4uPminV.cjs +1 -0
- package/dist/layout-xYrynD7_.js +29 -0
- package/dist/mergeClassNames-ClFMR1v0.js +6 -0
- package/dist/mergeClassNames-D4lshrT6.cjs +1 -0
- package/dist/navigation-BVhRDMCr.js +394 -0
- package/dist/navigation-CsxM7PWb.cjs +1 -0
- package/dist/navigation-DK1z9KJj.js +124 -0
- package/dist/navigation-DOSnqFwk.cjs +1 -0
- package/dist/normalizeSearchText-DA4xMLCJ.js +18 -0
- package/dist/normalizeSearchText-DoNMfZqV.cjs +1 -0
- package/dist/primitives/accessibility/components/VisuallyHidden.d.ts +2 -0
- package/dist/primitives/accessibility/index.d.ts +2 -1
- package/dist/primitives/accessibility/types/VisuallyHiddenProps.d.ts +2 -0
- package/dist/primitives/accessibility.cjs +1 -1
- package/dist/primitives/accessibility.mjs +4 -3
- package/dist/primitives/data-display/Avatar/Avatar.d.ts +5 -1
- package/dist/primitives/data-display/Avatar/internal/AvatarFallback.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/internal/AvatarImage.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/internal/AvatarRoot.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/internal/getAvatarInitial.d.ts +1 -0
- package/dist/primitives/data-display/Avatar/types/AvatarFallbackProps.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/types/AvatarFallbackState.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/types/AvatarImageLoadingStatus.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/types/AvatarImageProps.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/types/AvatarImageState.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/types/AvatarProps.d.ts +6 -16
- package/dist/primitives/data-display/Avatar/types/AvatarRootProps.d.ts +15 -0
- package/dist/primitives/data-display/Avatar/types/AvatarRootState.d.ts +2 -0
- package/dist/primitives/data-display/Chip/Chip.d.ts +1 -1
- package/dist/primitives/data-display/Chip/types/ChipProps.d.ts +2 -10
- package/dist/primitives/data-display/ColorSample/ColorSample.d.ts +2 -12
- package/dist/primitives/data-display/ColorSample/types/ColorSampleProps.d.ts +8 -0
- package/dist/primitives/data-display/ColorSample/types/ColorSampleVariant.d.ts +1 -0
- package/dist/primitives/data-display/Status/Status.d.ts +1 -1
- package/dist/primitives/data-display/Status/types/StatusProps.d.ts +2 -19
- package/dist/primitives/data-display/Status/types/StatusState.d.ts +4 -0
- package/dist/primitives/data-display/Tag/Tag.d.ts +1 -1
- package/dist/primitives/data-display/Tag/types/TagProps.d.ts +2 -7
- package/dist/primitives/data-display/Tag/types/TagState.d.ts +5 -0
- package/dist/primitives/data-display/index.d.ts +11 -1
- package/dist/primitives/data-display.cjs +1 -1
- package/dist/primitives/data-display.mjs +2 -2
- package/dist/primitives/feedback/Banner/Banner.d.ts +2 -9
- package/dist/primitives/feedback/Banner/internal/BannerAction.d.ts +2 -0
- package/dist/primitives/feedback/Banner/internal/BannerComponent.d.ts +2 -0
- package/dist/primitives/feedback/Banner/types/BannerActionProps.d.ts +2 -0
- package/dist/primitives/feedback/Banner/types/BannerColor.d.ts +1 -0
- package/dist/primitives/feedback/Banner/types/BannerProps.d.ts +13 -0
- package/dist/primitives/feedback/Banner/types/BannerState.d.ts +8 -0
- package/dist/primitives/feedback/Banner/types/BannerStatus.d.ts +1 -0
- package/dist/primitives/feedback/Banner/types/BannerVariant.d.ts +1 -0
- package/dist/primitives/feedback/Loader/Loader.d.ts +2 -6
- package/dist/primitives/feedback/Loader/types/LoaderProps.d.ts +5 -0
- package/dist/primitives/feedback/Skeleton/Skeleton.d.ts +2 -0
- package/dist/primitives/feedback/Skeleton/constants/SKELETON_HEIGHT_SIZES.d.ts +7 -0
- package/dist/primitives/feedback/Skeleton/types/SkeletonProps.d.ts +10 -0
- package/dist/primitives/feedback/index.d.ts +10 -1
- package/dist/primitives/feedback/internal/constants/FeedbackStatusColors.d.ts +7 -0
- package/dist/primitives/feedback.cjs +1 -1
- package/dist/primitives/feedback.mjs +9 -5
- package/dist/primitives/input/Autocomplete/Autocomplete.d.ts +9 -0
- package/dist/primitives/input/Autocomplete/__stories__/AutocompleteExample.d.ts +4 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompleteEmpty.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompleteInput.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompleteInputGroup.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompleteItem.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompleteList.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompletePopup.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompleteRoot.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteEmptyProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteInputGroupProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteInputProps.d.ts +5 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteItemProps.d.ts +3 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteListProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompletePopupProps.d.ts +5 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteRootProps.d.ts +4 -0
- package/dist/primitives/input/Button/Button.d.ts +1 -1
- package/dist/primitives/input/Button/types/ButtonLoadingPosition.d.ts +1 -0
- package/dist/primitives/input/Button/types/ButtonProps.d.ts +3 -1
- package/dist/primitives/input/Checkbox/Checkbox.d.ts +4 -2
- package/dist/primitives/input/Checkbox/internal/CheckboxComponent.d.ts +2 -0
- package/dist/primitives/input/Checkbox/internal/CheckboxIndicator.d.ts +2 -0
- package/dist/primitives/input/Checkbox/internal/CheckboxRoot.d.ts +2 -0
- package/dist/primitives/input/Checkbox/types/CheckboxIndicatorProps.d.ts +2 -0
- package/dist/primitives/input/Checkbox/types/CheckboxProps.d.ts +2 -20
- package/dist/primitives/input/Checkbox/types/CheckboxRootProps.d.ts +12 -0
- package/dist/primitives/input/Field/Field.d.ts +4 -3
- package/dist/primitives/input/Field/internal/FieldDescription.d.ts +1 -1
- package/dist/primitives/input/Field/internal/FieldError.d.ts +1 -1
- package/dist/primitives/input/Field/internal/FieldLabel.d.ts +1 -1
- package/dist/primitives/input/Field/types/FieldControlProps.d.ts +2 -0
- package/dist/primitives/input/Field/types/FieldDescriptionProps.d.ts +2 -0
- package/dist/primitives/input/Field/types/FieldErrorProps.d.ts +2 -0
- package/dist/primitives/input/Field/types/FieldItemProps.d.ts +2 -0
- package/dist/primitives/input/Field/types/FieldLabelProps.d.ts +2 -0
- package/dist/primitives/input/Field/types/FieldRootProps.d.ts +2 -0
- package/dist/primitives/input/Field/types/FieldValidityProps.d.ts +2 -0
- package/dist/primitives/input/Input/types/InputProps.d.ts +0 -1
- package/dist/primitives/input/InputGroup/types/InputGroupProps.d.ts +0 -1
- package/dist/primitives/input/Slider/types/SliderRootProps.d.ts +1 -1
- package/dist/primitives/input/Switch/Switch.d.ts +4 -2
- package/dist/primitives/input/Switch/internal/SwitchComponent.d.ts +2 -0
- package/dist/primitives/input/Switch/internal/SwitchRoot.d.ts +2 -0
- package/dist/primitives/input/Switch/internal/SwitchThumb.d.ts +2 -0
- package/dist/primitives/input/Switch/types/SwitchProps.d.ts +2 -6
- package/dist/primitives/input/Switch/types/SwitchRootProps.d.ts +5 -0
- package/dist/primitives/input/Switch/types/SwitchThumbProps.d.ts +2 -0
- package/dist/primitives/input/Textarea/internal/TextareaControl.d.ts +11 -0
- package/dist/primitives/input/Textarea/internal/observeTextareaWidth.d.ts +1 -0
- package/dist/primitives/input/Textarea/types/TextareaProps.d.ts +1 -7
- package/dist/primitives/input/index.d.ts +20 -0
- package/dist/primitives/input.cjs +1 -1
- package/dist/primitives/input.mjs +19 -15
- package/dist/primitives/layout/Collapsible/Collapsible.d.ts +4 -12
- package/dist/primitives/layout/Collapsible/internal/CollapsiblePanel.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsiblePanelProps.d.ts +8 -0
- package/dist/primitives/layout/Collapsible/types/CollapsiblePanelState.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsibleRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsibleRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsibleRootProps.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsibleRootState.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsibleTriggerProps.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsibleTriggerState.d.ts +2 -0
- package/dist/primitives/layout/DirectionProvider/DirectionProvider.d.ts +2 -0
- package/dist/primitives/layout/DirectionProvider/types/DirectionProviderProps.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/ResizeHandle.d.ts +1 -1
- package/dist/primitives/layout/ResizeHandle/__stories__/ControlledResizeHandlePanel.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/__stories__/DisablingResizeHandle.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/__stories__/ResizeHandlePanelDemo.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/__stories__/UnmountingResizeHandle.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/__stories__/playCancelledResize.d.ts +6 -0
- package/dist/primitives/layout/ResizeHandle/internal/ResizeGesture.d.ts +12 -0
- package/dist/primitives/layout/ResizeHandle/internal/ResizeHandleDefaults.constant.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/internal/ResizeHandleEdges.constant.d.ts +18 -0
- package/dist/primitives/layout/ResizeHandle/internal/useResizeHandleInteraction.d.ts +13 -14
- package/dist/primitives/layout/ResizeHandle/internal/useResizeHandlePointerInteraction.d.ts +19 -0
- package/dist/primitives/layout/ResizeHandle/types/ResizeHandleProps.d.ts +21 -1
- package/dist/primitives/layout/Separator/Separator.d.ts +2 -0
- package/dist/primitives/layout/Separator/types/SeparatorProps.d.ts +3 -0
- package/dist/primitives/layout/index.d.ts +12 -4
- package/dist/primitives/layout.cjs +1 -1
- package/dist/primitives/layout.mjs +5 -5
- package/dist/primitives/navigation/Breadcrumb/internal/BreadcrumbItemContent.d.ts +1 -1
- package/dist/primitives/navigation/Breadcrumb/types/BreadcrumbItem.d.ts +4 -1
- package/dist/primitives/navigation/ListItem/ListItem.d.ts +1 -1
- package/dist/primitives/navigation/ListItem/__stories__/ListItemMenuExample.d.ts +6 -0
- package/dist/primitives/navigation/ListItem/types/ListItemProps.d.ts +3 -3
- package/dist/primitives/navigation.cjs +1 -1
- package/dist/primitives/navigation.mjs +2 -2
- package/dist/primitives/surfaces/AlertDialog/AlertDialog.d.ts +6 -1
- package/dist/primitives/surfaces/AlertDialog/__stories__/AlertDialogExample.d.ts +2 -10
- package/dist/primitives/surfaces/AlertDialog/__stories__/AlertDialogExampleProps.d.ts +11 -0
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogBackdrop.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogPopup.d.ts +1 -1
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogPortal.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogViewport.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogBackdropProps.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogBackdropState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogCloseState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogDescriptionState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogHandle.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogPopupProps.d.ts +0 -8
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogPopupState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogPortalProps.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogPortalState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogRootActions.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogRootState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogTitleState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogTriggerState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogViewportProps.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogViewportState.d.ts +2 -0
- package/dist/primitives/surfaces/Card/Card.d.ts +4 -16
- package/dist/primitives/surfaces/Card/internal/CardContent.d.ts +2 -10
- package/dist/primitives/surfaces/Card/internal/CardFooter.d.ts +2 -6
- package/dist/primitives/surfaces/Card/internal/CardHeader.d.ts +2 -4
- package/dist/primitives/surfaces/Card/internal/CardRoot.d.ts +2 -8
- package/dist/primitives/surfaces/Card/types/CardContentProps.d.ts +4 -0
- package/dist/primitives/surfaces/Card/types/CardFooterProps.d.ts +4 -0
- package/dist/primitives/surfaces/Card/types/CardHeaderProps.d.ts +2 -0
- package/dist/primitives/surfaces/Card/types/CardRootProps.d.ts +6 -0
- package/dist/primitives/surfaces/Dialog/Dialog.d.ts +5 -1
- package/dist/primitives/surfaces/Dialog/__stories__/DialogExample.d.ts +1 -1
- package/dist/primitives/surfaces/Dialog/__stories__/DialogExampleProps.d.ts +3 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogBackdrop.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogPopup.d.ts +1 -1
- package/dist/primitives/surfaces/Dialog/internal/DialogPortal.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogViewport.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogBackdropProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogBackdropState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogCloseState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogDescriptionState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogHandle.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogPopupProps.d.ts +0 -4
- package/dist/primitives/surfaces/Dialog/types/DialogPopupState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogPortalProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogPortalState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogRootActions.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogRootState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogTitleState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogTriggerState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogViewportProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogViewportState.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/internal/getMenuListItemProps.d.ts +1 -1
- package/dist/primitives/surfaces/Popover/Popover.d.ts +8 -1
- package/dist/primitives/surfaces/Popover/internal/PopoverArrow.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/internal/PopoverPopup.d.ts +1 -1
- package/dist/primitives/surfaces/Popover/internal/PopoverPortal.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/internal/PopoverPositioner.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverAlign.d.ts +2 -1
- package/dist/primitives/surfaces/Popover/types/PopoverArrowProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverArrowState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverBackdropProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverBackdropState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverCloseState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverDescriptionState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverHandle.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverPopupProps.d.ts +1 -28
- package/dist/primitives/surfaces/Popover/types/PopoverPopupState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverPortalProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverPortalState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverPositionerProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverPositionerState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverRootActions.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverRootState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverSide.d.ts +2 -1
- package/dist/primitives/surfaces/Popover/types/PopoverTitleState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverTriggerState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverViewportProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverViewportState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/Tooltip.d.ts +7 -3
- package/dist/primitives/surfaces/Tooltip/internal/TooltipArrow.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipBody.d.ts +8 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipComponent.d.ts +1 -1
- package/dist/primitives/surfaces/Tooltip/internal/TooltipPopup.d.ts +1 -1
- package/dist/primitives/surfaces/Tooltip/internal/TooltipPortal.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipPositioner.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipAlign.d.ts +2 -1
- package/dist/primitives/surfaces/Tooltip/types/TooltipArrowProps.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipArrowState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipHandle.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipPopupProps.d.ts +1 -10
- package/dist/primitives/surfaces/Tooltip/types/TooltipPopupState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipPortalProps.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipPortalState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipPositionerProps.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipPositionerState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipProps.d.ts +16 -4
- package/dist/primitives/surfaces/Tooltip/types/TooltipProviderState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipRootActions.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipRootState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipSide.d.ts +2 -1
- package/dist/primitives/surfaces/Tooltip/types/TooltipTriggerState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipViewportProps.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipViewportState.d.ts +2 -0
- package/dist/primitives/surfaces/index.d.ts +72 -1
- package/dist/primitives/surfaces.cjs +1 -1
- package/dist/primitives/surfaces.mjs +4 -4
- package/dist/primitives/typography/OverflowingTextWithTooltip/OverflowingTextWithTooltip.d.ts +1 -18
- package/dist/primitives/typography/OverflowingTextWithTooltip/types/OverflowingTextWithTooltipProps.d.ts +17 -0
- package/dist/primitives/typography/Text/Text.d.ts +1 -18
- package/dist/primitives/typography/Text/internal/TextTruncationProps.d.ts +7 -0
- package/dist/primitives/typography/Text/types/TextProps.d.ts +3 -0
- package/dist/primitives/typography/index.d.ts +2 -0
- package/dist/primitives/typography.cjs +1 -1
- package/dist/primitives/typography.mjs +4 -4
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.mjs +72 -63
- package/dist/settings-Fpo_5Uen.js +44 -0
- package/dist/settings-bRqO7Q-5.cjs +1 -0
- package/dist/style.css +1 -1
- package/dist/surfaces-C2s4Qrvy.cjs +1 -0
- package/dist/surfaces-CV04bWoI.js +294 -0
- package/dist/testing.cjs +1 -1
- package/dist/testing.mjs +6 -6
- package/dist/theme-Zf62UE02.cjs +1 -0
- package/dist/{theme-CjHovJAZ.js → theme-yAk9zrNA.js} +8 -8
- package/dist/theme.cjs +1 -1
- package/dist/theme.mjs +1 -1
- package/dist/{typography-D3fk3hSo.cjs → typography-CBqN-Jhw.cjs} +1 -1
- package/dist/typography-D-DQvgaS.js +5 -0
- package/dist/{useIsMobile-CAIiLC-3.js → useIsMobile-BvEB9MOV.js} +1 -1
- package/dist/{useIsMobile-UXHqqYXb.cjs → useIsMobile-C_rtkXZO.cjs} +1 -1
- package/dist/useProvidedTextDirection-Dk8LBQeF.js +6 -0
- package/dist/useProvidedTextDirection-PVaoQCLH.cjs +1 -0
- package/dist/utilities/color/utils/themeColorSchema.d.ts +1 -1
- package/dist/utilities/index.d.ts +1 -0
- package/dist/utilities/utils/normalizeSearchText.d.ts +1 -0
- package/dist/utilities-06FvJQzl.cjs +1 -0
- package/dist/utilities-DpSj_IdQ.js +52 -0
- package/dist/utilities.cjs +1 -1
- package/dist/utilities.mjs +17 -16
- package/package.json +49 -1
- package/dist/Avatar-C0FtFpJC.js +0 -68
- package/dist/Avatar-CkI8b3nh.cjs +0 -1
- package/dist/HorizontalSeparator-JwV0dB5W.js +0 -44
- package/dist/HorizontalSeparator-vJLHHlc4.cjs +0 -1
- package/dist/ListItem-B2HOeN2h.cjs +0 -1
- package/dist/ListItem-D8BQRK1W.js +0 -97
- package/dist/ListItem.module-Dxd8jOJP.js +0 -35
- package/dist/ListItem.module-RqrfwrFg.cjs +0 -1
- package/dist/Loader-BLkXvZli.js +0 -14
- package/dist/Loader-CMXdrX1d.cjs +0 -1
- package/dist/MenuSeparator-Ct3cQtJ2.cjs +0 -1
- package/dist/MenuSeparator-CyUYx1nk.js +0 -68
- package/dist/OverflowingTextWithTooltip-CNpmkBvJ.js +0 -198
- package/dist/OverflowingTextWithTooltip-tsJWb_Ie.cjs +0 -1
- package/dist/ProgressBar-21MXyySH.js +0 -108
- package/dist/ProgressBar-CyqeRyzA.cjs +0 -1
- package/dist/ResizeHandle-CGYGfOVF.js +0 -89
- package/dist/ResizeHandle-CI-VTVOi.cjs +0 -1
- package/dist/Shortcut-CRCVbA2m.js +0 -71
- package/dist/Shortcut-CuBFak3I.cjs +0 -1
- package/dist/Switch-BQp0t6JZ.js +0 -129
- package/dist/Switch-CFCj3OQZ.cjs +0 -1
- package/dist/components/data-display/TintedIconTile/internal/StyledTintedIconTileContainer/StyledTintedIconTileContainer.d.ts +0 -7
- package/dist/components/feedback/InlineBanner/internal/InlineBannerButton.d.ts +0 -5
- package/dist/components/feedback/InlineBanner/types/InlineBannerButtonProps.d.ts +0 -7
- package/dist/components/input/SettingsRow/SettingsRow.d.ts +0 -2
- package/dist/components/input/SettingsRow/types/SettingsRowProps.d.ts +0 -6
- package/dist/components-BizDepCM.cjs +0 -1
- package/dist/components-CC-3jXEq.js +0 -2144
- package/dist/data-display-BgweQocz.cjs +0 -1
- package/dist/data-display-Dn_nzrc8.js +0 -190
- package/dist/getSafeUrl-BuX_E2_8.cjs +0 -1
- package/dist/getSafeUrl-DXwcx-N0.js +0 -27
- package/dist/handleClickableElementKeyDown-0XD9MRqa.cjs +0 -1
- package/dist/handleClickableElementKeyDown-CJ_JsX2K.js +0 -11
- package/dist/input-C50264Jb.js +0 -407
- package/dist/input-CRiX4eQH.cjs +0 -1
- package/dist/layout-BEC7fKLU.js +0 -34
- package/dist/layout-DniJJ8Mx.cjs +0 -1
- package/dist/navigation-B9YTBTaa.cjs +0 -1
- package/dist/navigation-CQUyRKgk.js +0 -122
- package/dist/primitives/accessibility/components/VisibilityHidden.d.ts +0 -3
- package/dist/primitives/layout/Collapsible/types/AnimationDurationObject.d.ts +0 -4
- package/dist/primitives/layout/Collapsible/types/AnimationDurations.d.ts +0 -2
- package/dist/primitives/layout/HorizontalSeparator/HorizontalSeparator.d.ts +0 -9
- package/dist/primitives/layout/TextDirectionProvider/TextDirectionProvider.d.ts +0 -8
- package/dist/primitives/surfaces/Tooltip/internal/TooltipContent.d.ts +0 -2
- package/dist/primitives/surfaces/Tooltip/types/TooltipContentProps.d.ts +0 -6
- package/dist/primitives/typography/OverflowingTextWithTooltip/internal/LinkifiedText/LinkifiedText.d.ts +0 -5
- package/dist/primitives/typography/OverflowingTextWithTooltip/internal/LinkifiedText/linkifyText.d.ts +0 -6
- package/dist/surfaces-C9ZUjKxU.js +0 -264
- package/dist/surfaces-Davk4uBw.cjs +0 -1
- package/dist/theme-DumxXtpW.cjs +0 -1
- package/dist/typography-DUJWRilJ.js +0 -5
- package/dist/useProvidedTextDirection-B7ovnsdr.cjs +0 -1
- package/dist/useProvidedTextDirection-P1dtjUtE.js +0 -9
- package/dist/utilities-CJKPcDM4.js +0 -28
- package/dist/utilities-CdR__WZM.cjs +0 -1
- /package/dist/components/{input → settings}/SettingsRow/__stories__/ControlledSettingsRowExample.d.ts +0 -0
- /package/dist/primitives/layout/{TextDirectionProvider → DirectionProvider}/internal/TextDirection.d.ts +0 -0
- /package/dist/primitives/layout/{TextDirectionProvider → DirectionProvider}/internal/TextDirectionContext.d.ts +0 -0
- /package/dist/primitives/layout/{TextDirectionProvider → DirectionProvider}/internal/useProvidedTextDirection.d.ts +0 -0
- /package/dist/{components/navigation/Dropdown → utilities}/internal/preventDismissingClickActivation.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
var Z=Object.create;var
|
|
1
|
+
var Z=Object.create;var B=Object.defineProperty;var ee=Object.getOwnPropertyDescriptor;var oe=Object.getOwnPropertyNames;var re=Object.getPrototypeOf,te=Object.prototype.hasOwnProperty;var ne=(e,t,n,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oe(t))!te.call(e,i)&&i!==n&&B(e,i,{get:()=>t[i],enumerable:!(l=ee(t,i))||l.enumerable});return e};var ie=(e,t,n)=>(n=e!=null?Z(re(e)):{},ne(t||!e||!e.__esModule?B(n,"default",{value:e,enumerable:!0}):n,e));Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const D=require("../theme-Zf62UE02.cjs"),s=require("../isDefined-DS2Q42p5.cjs"),de=require("../Loader-GFhTL4Aw.cjs"),ae=require("../ResizeHandle-BGboQXCx.cjs");let se=require("@base-ui/react/use-render"),le=require("clsx"),a=require("react"),d=require("react/jsx-runtime"),C=require("@monaco-editor/react");C=D.__toESM(C,1);var z="baseCodeEditorTheme",o=e=>{if(e.trim()==="transparent")return"#00000000";const t=e.match(/color\(display-p3\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s+\/\s+([\d.]+))?\)/);if(s.isDefined(t)){const[,n,l,i,f]=t;if(!s.isDefined(n)||!s.isDefined(l)||!s.isDefined(i))return e;const u=Math.round(parseFloat(n)*255).toString(16).padStart(2,"0"),k=Math.round(parseFloat(l)*255).toString(16).padStart(2,"0"),v=Math.round(parseFloat(i)*255).toString(16).padStart(2,"0");return s.isDefined(f)?`#${u}${k}${v}${Math.round(parseFloat(f)*255).toString(16).padStart(2,"0")}`:`#${u}${k}${v}`}return e},ue=(e,t)=>({base:t==="dark"?"vs-dark":"vs",inherit:!0,rules:[{token:"",foreground:o(e.font.color.secondary)},{token:"keyword",foreground:o(e.color.pink11)},{token:"keyword.control",foreground:o(e.color.pink11)},{token:"keyword.json",foreground:o(e.color.orange11)},{token:"number",foreground:o(e.color.orange11)},{token:"number.json",foreground:o(e.color.orange11)},{token:"regexp",foreground:o(e.color.orange11)},{token:"type",foreground:o(e.color.green11)},{token:"attribute.name",foreground:o(e.color.blue11)},{token:"tag",foreground:o(e.color.pink11)},{token:"string",foreground:o(e.color.green11)},{token:"string.key.json",foreground:o(e.color.blue11)},{token:"delimiter",foreground:o(e.font.color.light)},{token:"delimiter.bracket.json",foreground:o(e.font.color.light)},{token:"string.value.json",foreground:o(e.color.green11)},{token:"comment",foreground:o(e.font.color.light),fontStyle:"italic"}],colors:{"editor.background":o("transparent"),"editor.foreground":o(e.font.color.secondary),"editorCursor.foreground":o(e.font.color.primary),"editorLineNumber.foreground":o(e.font.color.extraLight),"editorLineNumber.activeForeground":o(e.font.color.light),"editor.lineHighlightBackground":o(e.background.tertiary),"editor.selectionBackground":o(e.background.transparent.blue),"editor.inactiveSelectionBackground":o(e.background.transparent.light),"editorIndentGuide.background1":o(e.border.color.light),"editorIndentGuide.activeBackground1":o(e.border.color.medium),"editorBracketMatch.background":o(e.background.transparent.light),"editorBracketMatch.border":o(e.border.color.medium)}}),ce="_editorLoader_zilk9_1",ge="_container_zilk9_20",fe="_editorWrapper_zilk9_24",S={editorLoader:ce,container:ge,editorWrapper:fe},N,pe=()=>(N??=import("monaco-editor").then(e=>{C.loader.config({monaco:e})}),N),I=(e,t,n)=>{e.editor.defineTheme(z,ue(t,n)),e.editor.setTheme(z)},ke=({value:e,language:t,onMount:n,onChange:l,setMarkers:i,onValidate:f,height:u=450,variant:k="default",transparentBackground:v,isLoading:O=!1,options:P,resizable:M=!1,resizeLabel:$="Resize editor",contentPadding:R="default",autoHeight:w=!1})=>{const p=D.useTheme(),y=D.useThemeColorScheme(),[h,W]=(0,a.useState)(void 0),[_,A]=(0,a.useState)(void 0),[V,j]=(0,a.useState)(!1),[G,K]=(0,a.useState)(!1),[J,q]=(0,a.useState)(void 0),[L,Q]=(0,a.useState)(typeof u=="number"?u:450),T=(0,a.useId)(),E=w&&!M,H=typeof p.spacingMultiplicator=="number"?p.spacingMultiplicator*4:void 0,m=E?J??u:M?L:u,U={...R==="comfortable"?{lineDecorationsWidth:H}:{},padding:{bottom:H,top:H}},{padding:he,...X}=P??{},F=(r,c)=>{const g=r?.getModel();if(!s.isDefined(g))return;const b=i?.(g.getValue());s.isDefined(b)&&c?.editor.setModelMarkers(g,"customMarker",b)},Y=r=>{V&&r.stopPropagation()};return(0,a.useEffect)(()=>{let r=!0;return pe().then(()=>{r&&K(!0)}),()=>{r=!1}},[]),(0,a.useEffect)(()=>{s.isDefined(h)&&I(h,p,y)},[y,h,p]),(0,a.useEffect)(()=>{if(!E||!s.isDefined(_)){q(void 0);return}const r=()=>{const g=_.getContentHeight();!Number.isFinite(g)||g<=0||q(b=>b===g?b:g)};r();const c=_.onDidContentSizeChange(r);return()=>{c.dispose()}},[_,E]),O||!G?(0,d.jsx)("div",{className:S.editorLoader,"data-variant":k,style:{"--code-editor-height":typeof m=="number"?`${m}px`:m},children:(0,d.jsx)(de.Loader,{})}):(0,d.jsxs)("div",{className:S.container,onKeyDown:Y,children:[(0,d.jsx)("input",{type:"hidden","data-testid":"code-editor-value",value:e??"",readOnly:!0}),(0,d.jsx)("div",{id:T,className:S.editorWrapper,"data-variant":k,"data-transparent-background":v||void 0,children:(0,d.jsx)(C.default,{height:m,value:e,language:t,loading:"",onMount:(r,c)=>{W(c),A(r),I(c,p,y),r.onDidFocusEditorWidget(()=>{j(!0)}),r.onDidBlurEditorWidget(()=>{j(!1)}),n?.(r,c),F(r,c)},onChange:r=>{s.isDefined(r)&&(l?.(r),F(_,h))},onValidate:r=>{f?.(r)},options:{formatOnPaste:!0,formatOnType:!0,fontFamily:p.code.font.family,bracketPairColorization:{enabled:!1},overviewRulerLanes:0,scrollBeyondLastLine:!1,scrollbar:{vertical:"hidden",horizontal:"hidden"},minimap:{enabled:!1},...X,...U}})}),M&&(0,d.jsx)(ae.ResizeHandle,{"aria-label":$,"aria-controls":T,value:L,onValueChange:Q})]})},_e="_editorHeader_19qlo_1",be="_elementContainer_19qlo_15",x={editorHeader:_e,elementContainer:be},ve=({title:e,startElement:t,endElement:n,className:l,render:i,ref:f,...u})=>(0,se.useRender)({render:i,ref:f,props:{...u,className:(0,le.clsx)(x.editorHeader,l),children:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:x.elementContainer,children:[t,e]}),(0,d.jsx)("div",{className:x.elementContainer,children:n})]})}});exports.CodeEditor=ke;exports.CodeEditorHeader=ve;
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import { t as n } from "../isDefined-fMi6eQ4r.js";
|
|
2
|
-
import { n as Y, r as Z } from "../theme-
|
|
3
|
-
import { t as oo } from "../Loader-
|
|
4
|
-
import { t as ro } from "../ResizeHandle-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
|
|
2
|
+
import { n as Y, r as Z } from "../theme-yAk9zrNA.js";
|
|
3
|
+
import { t as oo } from "../Loader-BBMC4fe6.js";
|
|
4
|
+
import { t as ro } from "../ResizeHandle-X2NdHzqt.js";
|
|
5
|
+
import { useRender as eo } from "@base-ui/react/use-render";
|
|
6
|
+
import { clsx as to } from "clsx";
|
|
7
|
+
import { useEffect as E, useId as no, useState as p } from "react";
|
|
8
|
+
import { Fragment as ao, jsx as l, jsxs as x } from "react/jsx-runtime";
|
|
9
|
+
import io, { loader as so } from "@monaco-editor/react";
|
|
10
|
+
var $ = "baseCodeEditorTheme", r = (o) => {
|
|
9
11
|
if (o.trim() === "transparent") return "#00000000";
|
|
10
12
|
const t = o.match(/color\(display-p3\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s+\/\s+([\d.]+))?\)/);
|
|
11
13
|
if (n(t)) {
|
|
12
|
-
const [,
|
|
13
|
-
if (!n(
|
|
14
|
-
const
|
|
15
|
-
return n(
|
|
14
|
+
const [, i, c, u, g] = t;
|
|
15
|
+
if (!n(i) || !n(c) || !n(u)) return o;
|
|
16
|
+
const a = Math.round(parseFloat(i) * 255).toString(16).padStart(2, "0"), k = Math.round(parseFloat(c) * 255).toString(16).padStart(2, "0"), b = Math.round(parseFloat(u) * 255).toString(16).padStart(2, "0");
|
|
17
|
+
return n(g) ? `#${a}${k}${b}${Math.round(parseFloat(g) * 255).toString(16).padStart(2, "0")}` : `#${a}${k}${b}`;
|
|
16
18
|
}
|
|
17
19
|
return o;
|
|
18
|
-
},
|
|
20
|
+
}, lo = (o, t) => ({
|
|
19
21
|
base: t === "dark" ? "vs-dark" : "vs",
|
|
20
22
|
inherit: !0,
|
|
21
23
|
rules: [
|
|
@@ -99,98 +101,98 @@ var z = "baseCodeEditorTheme", r = (o) => {
|
|
|
99
101
|
"editorBracketMatch.background": r(o.background.transparent.light),
|
|
100
102
|
"editorBracketMatch.border": r(o.border.color.medium)
|
|
101
103
|
}
|
|
102
|
-
}),
|
|
103
|
-
editorLoader:
|
|
104
|
-
container:
|
|
105
|
-
editorWrapper:
|
|
106
|
-
},
|
|
107
|
-
|
|
108
|
-
}),
|
|
109
|
-
o.editor.defineTheme(
|
|
110
|
-
},
|
|
111
|
-
const
|
|
104
|
+
}), co = "_editorLoader_zilk9_1", uo = "_container_zilk9_20", go = "_editorWrapper_zilk9_24", S = {
|
|
105
|
+
editorLoader: co,
|
|
106
|
+
container: uo,
|
|
107
|
+
editorWrapper: go
|
|
108
|
+
}, z, fo = () => (z ??= import("monaco-editor").then((o) => {
|
|
109
|
+
so.config({ monaco: o });
|
|
110
|
+
}), z), I = (o, t, i) => {
|
|
111
|
+
o.editor.defineTheme($, lo(t, i)), o.editor.setTheme($);
|
|
112
|
+
}, So = ({ value: o, language: t, onMount: i, onChange: c, setMarkers: u, onValidate: g, height: a = 450, variant: k = "default", transparentBackground: b, isLoading: j = !1, options: O, resizable: y = !1, resizeLabel: P = "Resize editor", contentPadding: w = "default", autoHeight: R = !1 }) => {
|
|
113
|
+
const f = Z(), _ = Y(), [h, W] = p(void 0), [m, A] = p(void 0), [V, F] = p(!1), [q, G] = p(!1), [K, T] = p(void 0), [B, J] = p(typeof a == "number" ? a : 450), D = no(), M = R && !y, H = typeof f.spacingMultiplicator == "number" ? f.spacingMultiplicator * 4 : void 0, C = M ? K ?? a : y ? B : a, Q = {
|
|
112
114
|
...w === "comfortable" ? { lineDecorationsWidth: H } : {},
|
|
113
115
|
padding: {
|
|
114
116
|
bottom: H,
|
|
115
117
|
top: H
|
|
116
118
|
}
|
|
117
|
-
}, { padding:
|
|
118
|
-
const
|
|
119
|
-
if (!n(
|
|
120
|
-
const
|
|
121
|
-
n(
|
|
119
|
+
}, { padding: mo, ...U } = O ?? {}, N = (e, d) => {
|
|
120
|
+
const s = e?.getModel();
|
|
121
|
+
if (!n(s)) return;
|
|
122
|
+
const v = u?.(s.getValue());
|
|
123
|
+
n(v) && d?.editor.setModelMarkers(s, "customMarker", v);
|
|
122
124
|
}, X = (e) => {
|
|
123
125
|
V && e.stopPropagation();
|
|
124
126
|
};
|
|
125
127
|
return E(() => {
|
|
126
128
|
let e = !0;
|
|
127
|
-
return
|
|
129
|
+
return fo().then(() => {
|
|
128
130
|
e && G(!0);
|
|
129
131
|
}), () => {
|
|
130
132
|
e = !1;
|
|
131
133
|
};
|
|
132
134
|
}, []), E(() => {
|
|
133
|
-
n(h) &&
|
|
135
|
+
n(h) && I(h, f, _);
|
|
134
136
|
}, [
|
|
135
137
|
_,
|
|
136
138
|
h,
|
|
137
|
-
|
|
139
|
+
f
|
|
138
140
|
]), E(() => {
|
|
139
|
-
if (!M || !n(
|
|
140
|
-
|
|
141
|
+
if (!M || !n(m)) {
|
|
142
|
+
T(void 0);
|
|
141
143
|
return;
|
|
142
144
|
}
|
|
143
145
|
const e = () => {
|
|
144
|
-
const
|
|
145
|
-
!Number.isFinite(
|
|
146
|
+
const s = m.getContentHeight();
|
|
147
|
+
!Number.isFinite(s) || s <= 0 || T((v) => v === s ? v : s);
|
|
146
148
|
};
|
|
147
149
|
e();
|
|
148
|
-
const
|
|
150
|
+
const d = m.onDidContentSizeChange(e);
|
|
149
151
|
return () => {
|
|
150
|
-
|
|
152
|
+
d.dispose();
|
|
151
153
|
};
|
|
152
|
-
}, [
|
|
154
|
+
}, [m, M]), j || !q ? /* @__PURE__ */ l("div", {
|
|
153
155
|
className: S.editorLoader,
|
|
154
|
-
"data-variant":
|
|
156
|
+
"data-variant": k,
|
|
155
157
|
style: { "--code-editor-height": typeof C == "number" ? `${C}px` : C },
|
|
156
|
-
children: /* @__PURE__ */
|
|
158
|
+
children: /* @__PURE__ */ l(oo, {})
|
|
157
159
|
}) : /* @__PURE__ */ x("div", {
|
|
158
160
|
className: S.container,
|
|
159
161
|
onKeyDown: X,
|
|
160
162
|
children: [
|
|
161
|
-
/* @__PURE__ */
|
|
163
|
+
/* @__PURE__ */ l("input", {
|
|
162
164
|
type: "hidden",
|
|
163
165
|
"data-testid": "code-editor-value",
|
|
164
166
|
value: o ?? "",
|
|
165
167
|
readOnly: !0
|
|
166
168
|
}),
|
|
167
|
-
/* @__PURE__ */
|
|
168
|
-
id:
|
|
169
|
+
/* @__PURE__ */ l("div", {
|
|
170
|
+
id: D,
|
|
169
171
|
className: S.editorWrapper,
|
|
170
|
-
"data-variant":
|
|
172
|
+
"data-variant": k,
|
|
171
173
|
"data-transparent-background": b || void 0,
|
|
172
|
-
children: /* @__PURE__ */
|
|
174
|
+
children: /* @__PURE__ */ l(io, {
|
|
173
175
|
height: C,
|
|
174
176
|
value: o,
|
|
175
177
|
language: t,
|
|
176
178
|
loading: "",
|
|
177
|
-
onMount: (e,
|
|
178
|
-
|
|
179
|
-
|
|
179
|
+
onMount: (e, d) => {
|
|
180
|
+
W(d), A(e), I(d, f, _), e.onDidFocusEditorWidget(() => {
|
|
181
|
+
F(!0);
|
|
180
182
|
}), e.onDidBlurEditorWidget(() => {
|
|
181
|
-
|
|
182
|
-
}),
|
|
183
|
+
F(!1);
|
|
184
|
+
}), i?.(e, d), N(e, d);
|
|
183
185
|
},
|
|
184
186
|
onChange: (e) => {
|
|
185
|
-
n(e) && (
|
|
187
|
+
n(e) && (c?.(e), N(m, h));
|
|
186
188
|
},
|
|
187
189
|
onValidate: (e) => {
|
|
188
|
-
|
|
190
|
+
g?.(e);
|
|
189
191
|
},
|
|
190
192
|
options: {
|
|
191
193
|
formatOnPaste: !0,
|
|
192
194
|
formatOnType: !0,
|
|
193
|
-
fontFamily:
|
|
195
|
+
fontFamily: f.code.font.family,
|
|
194
196
|
bracketPairColorization: { enabled: !1 },
|
|
195
197
|
overviewRulerLanes: 0,
|
|
196
198
|
scrollBeyondLastLine: !1,
|
|
@@ -204,28 +206,33 @@ var z = "baseCodeEditorTheme", r = (o) => {
|
|
|
204
206
|
}
|
|
205
207
|
})
|
|
206
208
|
}),
|
|
207
|
-
y && /* @__PURE__ */
|
|
209
|
+
y && /* @__PURE__ */ l(ro, {
|
|
208
210
|
"aria-label": P,
|
|
209
|
-
"aria-controls":
|
|
210
|
-
value:
|
|
211
|
+
"aria-controls": D,
|
|
212
|
+
value: B,
|
|
211
213
|
onValueChange: J
|
|
212
214
|
})
|
|
213
215
|
]
|
|
214
216
|
});
|
|
215
|
-
},
|
|
216
|
-
editorHeader:
|
|
217
|
-
elementContainer:
|
|
218
|
-
},
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
217
|
+
}, po = "_editorHeader_19qlo_1", ko = "_elementContainer_19qlo_15", L = {
|
|
218
|
+
editorHeader: po,
|
|
219
|
+
elementContainer: ko
|
|
220
|
+
}, Lo = ({ title: o, startElement: t, endElement: i, className: c, render: u, ref: g, ...a }) => eo({
|
|
221
|
+
render: u,
|
|
222
|
+
ref: g,
|
|
223
|
+
props: {
|
|
224
|
+
...a,
|
|
225
|
+
className: to(L.editorHeader, c),
|
|
226
|
+
children: /* @__PURE__ */ x(ao, { children: [/* @__PURE__ */ x("div", {
|
|
227
|
+
className: L.elementContainer,
|
|
228
|
+
children: [t, o]
|
|
229
|
+
}), /* @__PURE__ */ l("div", {
|
|
230
|
+
className: L.elementContainer,
|
|
231
|
+
children: i
|
|
232
|
+
})] })
|
|
233
|
+
}
|
|
227
234
|
});
|
|
228
235
|
export {
|
|
229
|
-
|
|
230
|
-
|
|
236
|
+
So as CodeEditor,
|
|
237
|
+
Lo as CodeEditorHeader
|
|
231
238
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AvatarGroupProps } from './types/AvatarGroupProps';
|
|
2
|
-
export declare const AvatarGroup: ({ avatars, className, maxVisible,
|
|
2
|
+
export declare const AvatarGroup: ({ avatars, className, maxVisible, total, renderOverflow, overflowShape, overlap, overlapOffset, render, ref, ...props }: AvatarGroupProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AvatarGroupIdentityExample: () => import("react").JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
1
2
|
import { ReactNode } from 'react';
|
|
2
3
|
import { AvatarShape } from '../../../../primitives/data-display/Avatar/types/AvatarShape';
|
|
3
|
-
export type AvatarGroupProps = {
|
|
4
|
+
export type AvatarGroupProps = Omit<useRender.ComponentProps<'div'>, 'children'> & {
|
|
4
5
|
avatars: ReactNode[];
|
|
5
|
-
className?: string;
|
|
6
6
|
maxVisible?: number;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
total?: number;
|
|
8
|
+
renderOverflow?: (hiddenCount: number) => ReactNode;
|
|
9
9
|
overflowShape?: AvatarShape;
|
|
10
10
|
overlap?: 'left' | 'right';
|
|
11
11
|
overlapOffset?: string;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
commands: string[];
|
|
4
|
-
button?: ReactElement;
|
|
5
|
-
};
|
|
6
|
-
export declare const CommandBlock: ({ commands, button }: CommandBlockProps) => import("react").JSX.Element;
|
|
7
|
-
export {};
|
|
1
|
+
import { CommandBlockProps } from './types/CommandBlockProps';
|
|
2
|
+
export declare const CommandBlock: ({ commands, actions, render, ref, className, ...props }: CommandBlockProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MetricRowProps } from './types/MetricRowProps';
|
|
2
|
-
export declare const MetricRow: ({ children, startIcon
|
|
2
|
+
export declare const MetricRow: ({ children, startIcon, value, progress, progressColor, progressValueText, render, ref, className, ...props }: MetricRowProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { useRender } from '@base-ui/react/use-render';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { IconComponent } from '../../../../icon';
|
|
4
3
|
export type MetricRowProps = Omit<useRender.ComponentProps<'div'>, 'children'> & {
|
|
5
|
-
children:
|
|
6
|
-
startIcon?:
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
startIcon?: ReactNode;
|
|
7
6
|
value: ReactNode;
|
|
8
7
|
progress?: number;
|
|
9
8
|
progressColor?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TintedIconTileProps } from './types/TintedIconTileProps';
|
|
2
|
-
export declare const TintedIconTile: ({
|
|
2
|
+
export declare const TintedIconTile: ({ icon, color, className, style, render, ref, ...props }: TintedIconTileProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export type TintedIconTileProps = Omit<useRender.ComponentProps<'div'>, 'children' | 'color'> & {
|
|
4
|
+
icon: ReactNode;
|
|
4
5
|
color?: string | null;
|
|
5
|
-
size?: number;
|
|
6
|
-
stroke?: number;
|
|
7
6
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { AvatarGroup } from './AvatarGroup/AvatarGroup';
|
|
2
|
+
export type { AvatarGroupProps } from './AvatarGroup/types/AvatarGroupProps';
|
|
3
|
+
export { CommandBlock } from './CommandBlock/CommandBlock';
|
|
4
|
+
export type { CommandBlockProps } from './CommandBlock/types/CommandBlockProps';
|
|
5
|
+
export { JsonTree } from './JsonTree/JsonTree';
|
|
6
|
+
export type { GetJsonNodeHighlighting } from './JsonTree/types/GetJsonNodeHighlighting';
|
|
7
|
+
export type { JsonNodeHighlighting } from './JsonTree/types/JsonNodeHighlighting';
|
|
8
|
+
export type { JsonTreeEntry } from './JsonTree/types/JsonTreeEntry';
|
|
9
|
+
export type { JsonTreeProps } from './JsonTree/types/JsonTreeProps';
|
|
10
|
+
export type { ShouldExpandNodeInitiallyProps } from './JsonTree/types/ShouldExpandNodeInitiallyProps';
|
|
11
|
+
export { MetricRow } from './MetricRow/MetricRow';
|
|
12
|
+
export type { MetricRowProps } from './MetricRow/types/MetricRowProps';
|
|
13
|
+
export { NotificationCounter } from './NotificationCounter/NotificationCounter';
|
|
14
|
+
export { TintedIconTile } from './TintedIconTile/TintedIconTile';
|
|
15
|
+
export type { TintedIconTileProps } from './TintedIconTile/types/TintedIconTileProps';
|
|
16
|
+
export type { IconTileColorShades } from './TintedIconTile/utils/getIconTileColorShades';
|
|
17
|
+
export { getIconTileColorShades } from './TintedIconTile/utils/getIconTileColorShades';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../data-display-Bw-5dsCu.cjs"),o=require("../TintedIconTile-Dp4uH0Up.cjs");exports.AvatarGroup=e.AvatarGroup;exports.CommandBlock=e.CommandBlock;exports.JsonTree=e.JsonTree;exports.MetricRow=e.MetricRow;exports.NotificationCounter=e.NotificationCounter;exports.TintedIconTile=o.TintedIconTile;exports.getIconTileColorShades=o.getIconTileColorShades;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { a, i as r, n as t, r as e, t as i } from "../data-display-CehSwX8i.js";
|
|
2
|
+
import { n as s, t as m } from "../TintedIconTile-BZgRO7cg.js";
|
|
3
|
+
export {
|
|
4
|
+
a as AvatarGroup,
|
|
5
|
+
r as CommandBlock,
|
|
6
|
+
e as JsonTree,
|
|
7
|
+
t as MetricRow,
|
|
8
|
+
i as NotificationCounter,
|
|
9
|
+
m as TintedIconTile,
|
|
10
|
+
s as getIconTileColorShades
|
|
11
|
+
};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const Callout: (({ status, variant, color, title, description, fullWidth, icon, action, closeLabel, onDismiss, className, render, ref, ...props }: import('..').CalloutProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>) & {
|
|
2
|
+
Action: ({ className, ...props }: import('..').CalloutActionProps) => import("react").JSX.Element;
|
|
3
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { CalloutProps } from '../types/CalloutProps';
|
|
2
|
+
export declare const CalloutComponent: ({ status, variant, color, title, description, fullWidth, icon, action, closeLabel, onDismiss, className, render, ref, ...props }: CalloutProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { CalloutColor } from './CalloutColor';
|
|
4
|
+
import { CalloutState } from './CalloutState';
|
|
5
|
+
import { CalloutStatus } from './CalloutStatus';
|
|
2
6
|
import { CalloutVariant } from './CalloutVariant';
|
|
3
|
-
export type CalloutProps = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
export type CalloutProps = Omit<useRender.ComponentProps<'div', CalloutState>, 'title' | 'color' | 'children'> & {
|
|
8
|
+
status?: CalloutStatus;
|
|
9
|
+
variant?: CalloutVariant;
|
|
10
|
+
color?: CalloutColor;
|
|
11
|
+
title: ReactNode;
|
|
12
|
+
description?: ReactNode;
|
|
7
13
|
fullWidth?: boolean;
|
|
8
|
-
|
|
9
|
-
action?:
|
|
10
|
-
label: string;
|
|
11
|
-
onClick: () => void;
|
|
12
|
-
};
|
|
13
|
-
isClosable?: boolean;
|
|
14
|
+
icon?: ReactNode;
|
|
15
|
+
action?: ReactNode;
|
|
14
16
|
closeLabel?: string;
|
|
15
|
-
|
|
17
|
+
onDismiss?: () => void;
|
|
16
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type CalloutVariant = '
|
|
1
|
+
export type CalloutVariant = 'soft';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const InlineBanner: (({ children, layout, variant, embedded, icon, className, ...props }: import('..').InlineBannerProps) => import("react").JSX.Element) & {
|
|
2
|
+
Action: ({ className, ...props }: import('../../..').BannerActionProps) => import("react").JSX.Element;
|
|
3
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type InlineBannerLayout = 'standard' | 'compact';
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
color?: BannerColor;
|
|
6
|
-
message: string;
|
|
7
|
-
variant?: 'standard' | 'compact';
|
|
1
|
+
import { BannerProps } from '../../../../primitives/feedback/Banner/types/BannerProps';
|
|
2
|
+
import { InlineBannerLayout } from './InlineBannerLayout';
|
|
3
|
+
export type InlineBannerProps = BannerProps & {
|
|
4
|
+
layout?: InlineBannerLayout;
|
|
8
5
|
embedded?: boolean;
|
|
9
|
-
button?: InlineBannerButtonProps;
|
|
10
|
-
LeftIcon?: IconComponent;
|
|
11
|
-
className?: string;
|
|
12
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const useToast: () => {
|
|
2
2
|
enqueueToast: {
|
|
3
|
-
(options: import('
|
|
4
|
-
(options: import('
|
|
3
|
+
(options: import('../..').ToastOptions): string;
|
|
4
|
+
(options: import('../..').ToastOptions | undefined): string | undefined;
|
|
5
5
|
};
|
|
6
6
|
closeToast: (id?: string) => void;
|
|
7
7
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { Callout } from './Callout/Callout';
|
|
2
|
+
export type { CalloutActionProps } from './Callout/types/CalloutActionProps';
|
|
3
|
+
export type { CalloutColor } from './Callout/types/CalloutColor';
|
|
4
|
+
export type { CalloutProps } from './Callout/types/CalloutProps';
|
|
5
|
+
export type { CalloutState } from './Callout/types/CalloutState';
|
|
6
|
+
export type { CalloutStatus } from './Callout/types/CalloutStatus';
|
|
7
|
+
export type { CalloutVariant } from './Callout/types/CalloutVariant';
|
|
8
|
+
export { InlineBanner } from './InlineBanner/InlineBanner';
|
|
9
|
+
export type { InlineBannerLayout } from './InlineBanner/types/InlineBannerLayout';
|
|
10
|
+
export type { InlineBannerProps } from './InlineBanner/types/InlineBannerProps';
|
|
11
|
+
export { useToast } from './Toast/hooks/useToast';
|
|
12
|
+
export { Toast } from './Toast/Toast';
|
|
13
|
+
export { ToastProvider } from './Toast/ToastProvider';
|
|
14
|
+
export type { ToastNotification } from './Toast/types/ToastNotification';
|
|
15
|
+
export type { ToastOptions } from './Toast/types/ToastOptions';
|
|
16
|
+
export type { ToastProps } from './Toast/types/ToastProps';
|
|
17
|
+
export type { ToastProviderProps } from './Toast/types/ToastProviderProps';
|
|
18
|
+
export type { ToastVariant } from './Toast/types/ToastVariant';
|
|
19
|
+
export { Toaster } from './Toaster/Toaster';
|
|
20
|
+
export type { ToasterProps } from './Toaster/types/ToasterProps';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../feedback-BleeRoOP.cjs");exports.Callout=e.Callout;exports.InlineBanner=e.InlineBanner;exports.Toast=e.Toast;exports.ToastProvider=e.ToastProvider;exports.Toaster=e.Toaster;exports.useToast=e.useToast;
|