@lobehub/ui 6.5.1 → 6.7.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 +87 -125
- package/es/A/index.d.mts +0 -2
- package/es/A/index.mjs +1 -2
- package/es/A/stable.mjs +1 -2
- package/es/Accordion/Accordion.d.mts +0 -2
- package/es/Accordion/Accordion.mjs +1 -2
- package/es/Accordion/atoms.d.mts +0 -2
- package/es/Accordion/atoms.mjs +1 -2
- package/es/Accordion/marker.stylex.mjs +1 -2
- package/es/Accordion/stable.mjs +1 -2
- package/es/Accordion/style.d.mts +0 -2
- package/es/Accordion/style.mjs +1 -2
- package/es/Accordion/type.d.mts +0 -2
- package/es/ActionIcon/ActionIcon.d.mts +0 -2
- package/es/ActionIcon/ActionIcon.mjs +1 -2
- package/es/ActionIcon/stable.mjs +1 -2
- package/es/ActionIcon/style.d.mts +0 -2
- package/es/ActionIcon/style.mjs +1 -2
- package/es/ActionIcon/type.d.mts +0 -2
- package/es/ActionIcon/utils.mjs +1 -2
- package/es/ActionIconGroup/ActionIconGroup.d.mts +0 -2
- package/es/ActionIconGroup/ActionIconGroup.mjs +1 -2
- package/es/ActionIconGroup/stable.mjs +1 -2
- package/es/ActionIconGroup/style.mjs +1 -2
- package/es/ActionIconGroup/type.d.mts +0 -2
- package/es/Alert/Alert.d.mts +0 -2
- package/es/Alert/Alert.mjs +1 -2
- package/es/Alert/marker.stylex.mjs +1 -2
- package/es/Alert/stable.mjs +1 -2
- package/es/Alert/style.d.mts +0 -2
- package/es/Alert/style.mjs +1 -2
- package/es/Alert/type.d.mts +0 -2
- package/es/Anchor/Anchor.d.mts +0 -2
- package/es/Anchor/Anchor.mjs +1 -2
- package/es/Anchor/stable.mjs +1 -2
- package/es/Anchor/style.mjs +1 -2
- package/es/Anchor/type.d.mts +0 -2
- package/es/AutoComplete/AutoComplete.d.mts +0 -2
- package/es/AutoComplete/AutoComplete.mjs +1 -2
- package/es/AutoComplete/stable.mjs +1 -2
- package/es/AutoComplete/style.d.mts +0 -2
- package/es/AutoComplete/style.mjs +1 -2
- package/es/AutoComplete/type.d.mts +0 -2
- package/es/Avatar/Avatar.mjs +18 -6
- package/es/Avatar/Avatar.mjs.map +1 -1
- package/es/Avatar/AvatarGroup/index.d.mts +0 -2
- package/es/Avatar/AvatarGroup/index.mjs +5 -3
- package/es/Avatar/AvatarGroup/index.mjs.map +1 -1
- package/es/Avatar/AvatarGroup/style.mjs +1 -2
- package/es/Avatar/index.d.mts +2 -4
- package/es/Avatar/index.mjs +1 -2
- package/es/Avatar/stable.mjs +3 -3
- package/es/Avatar/stable.mjs.map +1 -1
- package/es/Avatar/style.mjs +8 -2
- package/es/Avatar/style.mjs.map +1 -1
- package/es/Avatar/type.d.mts +25 -4
- package/es/Avatar/utils.mjs +27 -3
- package/es/Avatar/utils.mjs.map +1 -1
- package/es/Badge/Badge.d.mts +0 -2
- package/es/Badge/Badge.mjs +1 -2
- package/es/Badge/stable.mjs +1 -2
- package/es/Badge/style.mjs +1 -2
- package/es/Badge/type.d.mts +0 -2
- package/es/Block/Block.d.mts +0 -2
- package/es/Block/Block.mjs +1 -2
- package/es/Block/stable.mjs +1 -2
- package/es/Block/style.mjs +1 -2
- package/es/Block/type.d.mts +0 -2
- package/es/Breadcrumb/Breadcrumb.d.mts +0 -2
- package/es/Breadcrumb/Breadcrumb.mjs +1 -2
- package/es/Breadcrumb/stable.mjs +1 -2
- package/es/Breadcrumb/style.mjs +1 -2
- package/es/Breadcrumb/type.d.mts +0 -2
- package/es/Burger/Burger.d.mts +0 -2
- package/es/Burger/Burger.mjs +1 -2
- package/es/Burger/stable.mjs +1 -2
- package/es/Burger/style.mjs +1 -2
- package/es/Burger/type.d.mts +0 -2
- package/es/Button/Button.d.mts +0 -2
- package/es/Button/Button.mjs +1 -2
- package/es/Button/SplitButton.d.mts +0 -2
- package/es/Button/SplitButton.mjs +1 -2
- package/es/Button/stable.mjs +1 -2
- package/es/Button/style.d.mts +0 -2
- package/es/Button/style.mjs +1 -2
- package/es/Button/type.d.mts +0 -2
- package/es/Carousel/Carousel.d.mts +0 -2
- package/es/Carousel/Carousel.mjs +8 -10
- package/es/Carousel/Carousel.mjs.map +1 -1
- package/es/Carousel/stable.mjs +1 -2
- package/es/Carousel/style.mjs +1 -2
- package/es/Carousel/type.d.mts +0 -2
- package/es/Checkbox/Checkbox.d.mts +0 -2
- package/es/Checkbox/Checkbox.mjs +1 -2
- package/es/Checkbox/CheckboxGroup.d.mts +0 -2
- package/es/Checkbox/CheckboxGroup.mjs +1 -2
- package/es/Checkbox/stable.mjs +1 -2
- package/es/Checkbox/style.d.mts +0 -2
- package/es/Checkbox/style.mjs +1 -2
- package/es/Checkbox/type.d.mts +0 -2
- package/es/CodeDiff/CodeDiff.d.mts +0 -2
- package/es/CodeDiff/CodeDiff.mjs +1 -2
- package/es/CodeDiff/DiffPanel.mjs +1 -2
- package/es/CodeDiff/PatchDiff.d.mts +0 -2
- package/es/CodeDiff/PatchDiff.mjs +1 -2
- package/es/CodeDiff/stable.mjs +1 -2
- package/es/CodeDiff/style.mjs +1 -2
- package/es/CodeDiff/theme.mjs +1 -2
- package/es/CodeDiff/type.d.mts +0 -2
- package/es/CodeEditor/CodeEditor.d.mts +0 -2
- package/es/CodeEditor/CodeEditor.mjs +1 -2
- package/es/CodeEditor/stable.mjs +1 -2
- package/es/CodeEditor/style.mjs +1 -2
- package/es/CodeEditor/type.d.mts +0 -2
- package/es/Collapsible/Collapsible.d.mts +0 -2
- package/es/Collapsible/Collapsible.mjs +1 -2
- package/es/Collapsible/stable.mjs +1 -2
- package/es/Collapsible/type.d.mts +0 -2
- package/es/ColorPicker/ColorInputs.mjs +1 -2
- package/es/ColorPicker/ColorPanel.mjs +1 -2
- package/es/ColorPicker/ColorPicker.d.mts +0 -2
- package/es/ColorPicker/ColorPicker.mjs +1 -2
- package/es/ColorPicker/SaturationArea.mjs +1 -2
- package/es/ColorPicker/Swatch.mjs +1 -2
- package/es/ColorPicker/Swatches.mjs +1 -2
- package/es/ColorPicker/Trigger.mjs +1 -2
- package/es/ColorPicker/color.mjs +1 -2
- package/es/ColorPicker/recent.mjs +1 -2
- package/es/ColorPicker/stable.mjs +1 -2
- package/es/ColorPicker/style.mjs +1 -2
- package/es/ColorPicker/type.d.mts +0 -2
- package/es/ColorSwatches/ColorSwatches.d.mts +0 -2
- package/es/ColorSwatches/ColorSwatches.mjs +1 -2
- package/es/ColorSwatches/CustomPicker.mjs +1 -2
- package/es/ColorSwatches/marker.stylex.mjs +1 -2
- package/es/ColorSwatches/stable.mjs +1 -2
- package/es/ColorSwatches/style.mjs +1 -2
- package/es/ColorSwatches/type.d.mts +0 -2
- package/es/ConfigProvider/AppElementContext.d.mts +0 -2
- package/es/ConfigProvider/AppElementContext.mjs +1 -2
- package/es/ConfigProvider/cdnAssets.mjs +1 -2
- package/es/ConfigProvider/index.d.mts +0 -2
- package/es/ConfigProvider/index.mjs +1 -2
- package/es/ContextMenu/ContextMenuHost.d.mts +0 -2
- package/es/ContextMenu/ContextMenuHost.mjs +1 -2
- package/es/ContextMenu/ContextMenuTrigger.d.mts +0 -2
- package/es/ContextMenu/ContextMenuTrigger.mjs +1 -2
- package/es/ContextMenu/renderItems.mjs +1 -2
- package/es/ContextMenu/stable.mjs +1 -2
- package/es/ContextMenu/store.d.mts +0 -2
- package/es/ContextMenu/store.mjs +1 -2
- package/es/ContextMenu/type.d.mts +0 -2
- package/es/CopyButton/CopyButton.d.mts +0 -2
- package/es/CopyButton/CopyButton.mjs +1 -2
- package/es/CopyButton/stable.mjs +1 -2
- package/es/CopyButton/type.d.mts +0 -2
- package/es/DatePicker/DatePicker.d.mts +0 -2
- package/es/DatePicker/DatePicker.mjs +1 -2
- package/es/DatePicker/DateRangePicker.d.mts +0 -2
- package/es/DatePicker/DateRangePicker.mjs +1 -2
- package/es/DatePicker/DayjsDatePicker.d.mts +0 -2
- package/es/DatePicker/DayjsDatePicker.mjs +1 -2
- package/es/DatePicker/DayjsDateRangePicker.d.mts +0 -2
- package/es/DatePicker/DayjsDateRangePicker.mjs +1 -2
- package/es/DatePicker/PurePanel.mjs +1 -2
- package/es/DatePicker/RangePicker.mjs +1 -2
- package/es/DatePicker/SinglePicker.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Popup/Footer.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Popup/PopupPanel.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Popup/PresetPanel.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Popup/index.mjs +1 -2
- package/es/DatePicker/core/PickerInput/RangePicker.d.mts +0 -2
- package/es/DatePicker/core/PickerInput/RangePicker.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Selector/ClearIcon.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Selector/Icon.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Selector/Input.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Selector/MaskFormat.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Selector/RangeSelector.d.mts +0 -2
- package/es/DatePicker/core/PickerInput/Selector/RangeSelector.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Selector/SingleSelector/HoverSelector.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Selector/SingleSelector/MultipleDates.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Selector/SingleSelector/index.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Selector/hooks/useClearIcon.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Selector/hooks/useInputProps.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Selector/hooks/useRootProps.mjs +1 -2
- package/es/DatePicker/core/PickerInput/Selector/util.mjs +1 -2
- package/es/DatePicker/core/PickerInput/SinglePicker.d.mts +0 -2
- package/es/DatePicker/core/PickerInput/SinglePicker.mjs +1 -2
- package/es/DatePicker/core/PickerInput/context.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useCellRender.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useDelayState.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useDisabledBoundary.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useFieldFormat.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useFieldsInvalidate.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useFilledProps.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useFocusEvents.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useFocusLock.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useHoverStore.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useInputReadOnly.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useInvalidate.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useLockEffect.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useOpen.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/usePickerRef.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/usePresets.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useRangeDisabledDate.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useRangePickerValue.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useRangeValue.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useRangeValueChange.mjs +1 -2
- package/es/DatePicker/core/PickerInput/hooks/useShowNow.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/DatePanel/index.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/DateTimePanel/index.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/DecadePanel/index.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/MonthPanel/index.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/PanelBody.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/PanelHeader.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/QuarterPanel/index.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/ClockDial.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/geometry.mjs +0 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/index.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/TimeColumn.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/index.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useScrollTo.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useTimeState.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/util.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/TimePanel/index.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/WeekPanel/index.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/YearPanel/index.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/context.mjs +1 -2
- package/es/DatePicker/core/PickerPanel/index.mjs +1 -2
- package/es/DatePicker/core/PickerPopup.mjs +1 -2
- package/es/DatePicker/core/generate/dayjs.mjs +1 -2
- package/es/DatePicker/core/generate/index.d.mts +0 -2
- package/es/DatePicker/core/hooks/react.mjs +1 -2
- package/es/DatePicker/core/hooks/useLocale.mjs +1 -2
- package/es/DatePicker/core/hooks/useSemantic.mjs +1 -2
- package/es/DatePicker/core/hooks/useSyncState.mjs +1 -2
- package/es/DatePicker/core/hooks/useTimeConfig.mjs +1 -2
- package/es/DatePicker/core/hooks/useTimeInfo.mjs +1 -2
- package/es/DatePicker/core/hooks/useToggleDates.mjs +1 -2
- package/es/DatePicker/core/index.mjs +1 -2
- package/es/DatePicker/core/interface.d.mts +0 -2
- package/es/DatePicker/core/locale/common.mjs +1 -2
- package/es/DatePicker/core/locale/en_US.mjs +1 -2
- package/es/DatePicker/core/utils/common.mjs +1 -2
- package/es/DatePicker/core/utils/dateUtil.mjs +1 -2
- package/es/DatePicker/core/utils/miscUtil.mjs +1 -2
- package/es/DatePicker/core/utils/uiUtil.mjs +1 -2
- package/es/DatePicker/dateGenerateConfig.mjs +1 -2
- package/es/DatePicker/generateConfig.mjs +1 -2
- package/es/DatePicker/generatePicker.d.mts +0 -2
- package/es/DatePicker/generatePicker.mjs +1 -2
- package/es/DatePicker/legacyDate.mjs +1 -2
- package/es/DatePicker/locale.d.mts +0 -2
- package/es/DatePicker/locale.mjs +1 -2
- package/es/DatePicker/semantic.mjs +1 -2
- package/es/DatePicker/stable.mjs +1 -2
- package/es/DatePicker/style.mjs +1 -2
- package/es/DatePicker/type.d.mts +0 -2
- package/es/DatePicker/usePanelKeyboard.mjs +1 -2
- package/es/DatePicker/usePickerShared.mjs +1 -2
- package/es/DatePicker/usePresetActive.mjs +1 -2
- package/es/Descriptions/Descriptions.d.mts +0 -2
- package/es/Descriptions/Descriptions.mjs +1 -2
- package/es/Descriptions/stable.mjs +1 -2
- package/es/Descriptions/style.mjs +1 -2
- package/es/Descriptions/type.d.mts +0 -2
- package/es/Divider/Divider.d.mts +0 -2
- package/es/Divider/Divider.mjs +1 -2
- package/es/Divider/stable.mjs +1 -2
- package/es/Divider/style.mjs +1 -2
- package/es/Divider/type.d.mts +0 -2
- package/es/DownloadButton/DownloadButton.d.mts +0 -2
- package/es/DownloadButton/DownloadButton.mjs +1 -2
- package/es/DownloadButton/stable.mjs +1 -2
- package/es/DownloadButton/type.d.mts +0 -2
- package/es/DraggablePanel/DraggablePanel.d.mts +0 -2
- package/es/DraggablePanel/DraggablePanel.mjs +1 -2
- package/es/DraggablePanel/atoms.d.mts +0 -2
- package/es/DraggablePanel/atoms.mjs +1 -2
- package/es/DraggablePanel/context.d.mts +0 -2
- package/es/DraggablePanel/context.mjs +1 -2
- package/es/DraggablePanel/core/axes.d.mts +0 -2
- package/es/DraggablePanel/core/axes.mjs +1 -2
- package/es/DraggablePanel/core/controller.d.mts +0 -2
- package/es/DraggablePanel/core/controller.mjs +1 -2
- package/es/DraggablePanel/core/dom.mjs +1 -2
- package/es/DraggablePanel/core/env.mjs +1 -2
- package/es/DraggablePanel/core/internal.mjs +1 -2
- package/es/DraggablePanel/core/transition.mjs +1 -2
- package/es/DraggablePanel/core/utils.mjs +1 -2
- package/es/DraggablePanel/marker.stylex.mjs +1 -2
- package/es/DraggablePanel/stable.mjs +1 -2
- package/es/DraggablePanel/style.mjs +1 -2
- package/es/DraggablePanel/type.d.mts +0 -2
- package/es/DraggableSideNav/DraggableSideNav.d.mts +0 -2
- package/es/DraggableSideNav/DraggableSideNav.mjs +1 -2
- package/es/DraggableSideNav/stable.mjs +1 -2
- package/es/DraggableSideNav/style.mjs +1 -2
- package/es/DraggableSideNav/type.d.mts +0 -2
- package/es/Drawer/Drawer.d.mts +0 -2
- package/es/Drawer/Drawer.mjs +1 -2
- package/es/Drawer/DrawerLayerContext.mjs +1 -2
- package/es/Drawer/DrawerPushContext.mjs +1 -2
- package/es/Drawer/atoms.d.mts +0 -2
- package/es/Drawer/atoms.mjs +6 -7
- package/es/Drawer/atoms.mjs.map +1 -1
- package/es/Drawer/constants.d.mts +0 -2
- package/es/Drawer/constants.mjs +1 -2
- package/es/Drawer/stable.mjs +1 -2
- package/es/Drawer/style.mjs +1 -2
- package/es/Drawer/type.d.mts +0 -2
- package/es/DropdownMenu/DropdownMenu.d.mts +0 -2
- package/es/DropdownMenu/DropdownMenu.mjs +1 -2
- package/es/DropdownMenu/atoms.d.mts +0 -2
- package/es/DropdownMenu/atoms.mjs +1 -2
- package/es/DropdownMenu/renderItems.d.mts +0 -2
- package/es/DropdownMenu/renderItems.mjs +1 -2
- package/es/DropdownMenu/sharedStyle.d.mts +0 -2
- package/es/DropdownMenu/sharedStyle.mjs +1 -2
- package/es/DropdownMenu/stable.mjs +1 -2
- package/es/DropdownMenu/style.d.mts +0 -2
- package/es/DropdownMenu/style.mjs +1 -2
- package/es/DropdownMenu/type.d.mts +0 -2
- package/es/EditableText/ControlInput.d.mts +0 -2
- package/es/EditableText/ControlInput.mjs +1 -2
- package/es/EditableText/EditableText.d.mts +0 -2
- package/es/EditableText/EditableText.mjs +1 -2
- package/es/EditableText/stable.mjs +1 -2
- package/es/EditableText/style.mjs +1 -2
- package/es/EditableText/type.d.mts +0 -2
- package/es/EditorSlashMenu/EditorSlashMenu.d.mts +0 -2
- package/es/EditorSlashMenu/EditorSlashMenu.mjs +8 -11
- package/es/EditorSlashMenu/EditorSlashMenu.mjs.map +1 -1
- package/es/EditorSlashMenu/MenuItemRenderer.mjs +1 -2
- package/es/EditorSlashMenu/atoms.d.mts +0 -2
- package/es/EditorSlashMenu/atoms.mjs +1 -2
- package/es/EditorSlashMenu/stable.mjs +1 -2
- package/es/EditorSlashMenu/style.mjs +1 -2
- package/es/EditorSlashMenu/type.d.mts +0 -2
- package/es/EditorSlashMenu/useKeyboardNavigation.mjs +1 -2
- package/es/EditorSlashMenu/useNormalizedItems.mjs +1 -2
- package/es/EditorSlashMenu/utils.mjs +1 -2
- package/es/EmojiPicker/AvatarUploader.mjs +1 -2
- package/es/EmojiPicker/EmojiPicker.d.mts +0 -2
- package/es/EmojiPicker/EmojiPicker.mjs +1 -2
- package/es/EmojiPicker/loadEmojiData.mjs +1 -2
- package/es/EmojiPicker/stable.mjs +1 -2
- package/es/EmojiPicker/style.mjs +1 -2
- package/es/EmojiPicker/type.d.mts +0 -2
- package/es/EmojiPicker/useEmojiMartI18n.mjs +1 -2
- package/es/Empty/Empty.d.mts +0 -2
- package/es/Empty/Empty.mjs +1 -2
- package/es/Empty/stable.mjs +1 -2
- package/es/Empty/style.mjs +1 -2
- package/es/Empty/type.d.mts +0 -2
- package/es/FileTypeIcon/FileTypeIcon.d.mts +0 -2
- package/es/FileTypeIcon/FileTypeIcon.mjs +1 -2
- package/es/FileTypeIcon/components/FileIcon.mjs +1 -2
- package/es/FileTypeIcon/components/FolderIcon.mjs +1 -2
- package/es/FileTypeIcon/stable.mjs +1 -2
- package/es/FileTypeIcon/style.mjs +1 -2
- package/es/FileTypeIcon/type.d.mts +0 -2
- package/es/Flex/Center.d.mts +0 -2
- package/es/Flex/Center.mjs +1 -2
- package/es/Flex/FlexBasic.d.mts +0 -2
- package/es/Flex/FlexBasic.mjs +1 -2
- package/es/Flex/stable.mjs +0 -1
- package/es/Flex/type.d.mts +0 -2
- package/es/Flex/utils.mjs +1 -2
- package/es/FloatingPanel/FloatingPanel.d.mts +0 -2
- package/es/FloatingPanel/FloatingPanel.mjs +1 -2
- package/es/FloatingPanel/ToastDodge.mjs +1 -2
- package/es/FloatingPanel/stable.mjs +1 -2
- package/es/FloatingPanel/style.mjs +1 -2
- package/es/FloatingPanel/type.d.mts +0 -2
- package/es/FloatingSheet/FloatingSheet.d.mts +0 -2
- package/es/FloatingSheet/FloatingSheet.mjs +1 -2
- package/es/FloatingSheet/FloatingSheetHeader.mjs +1 -2
- package/es/FloatingSheet/helpers.mjs +1 -2
- package/es/FloatingSheet/stable.mjs +1 -2
- package/es/FloatingSheet/style.mjs +1 -2
- package/es/FloatingSheet/type.d.mts +0 -2
- package/es/FloatingSheet/useSheetDrag.mjs +1 -2
- package/es/FloatingSheet/useSnapPoints.mjs +1 -2
- package/es/FluentEmoji/FluentEmoji.d.mts +0 -2
- package/es/FluentEmoji/FluentEmoji.mjs +1 -2
- package/es/FluentEmoji/stable.mjs +1 -2
- package/es/FluentEmoji/style.mjs +1 -2
- package/es/FluentEmoji/type.d.mts +0 -2
- package/es/FluentEmoji/utils.d.mts +0 -2
- package/es/FluentEmoji/utils.mjs +1 -2
- package/es/FocusScope/FocusScope.d.mts +0 -2
- package/es/FocusScope/FocusScope.mjs +1 -2
- package/es/FocusScope/domUtils.mjs +1 -2
- package/es/FocusScope/store.d.mts +0 -2
- package/es/FocusScope/store.mjs +1 -2
- package/es/FocusScope/style.d.mts +0 -2
- package/es/FocusScope/style.mjs +1 -2
- package/es/FocusScope/useScopeArrowNav.d.mts +0 -2
- package/es/FocusScope/useScopeArrowNav.mjs +1 -2
- package/es/FocusScope/useScopeSwitcher.d.mts +0 -2
- package/es/FocusScope/useScopeSwitcher.mjs +1 -2
- package/es/FontLoader/index.d.mts +0 -2
- package/es/FontLoader/index.mjs +1 -2
- package/es/Form/Form.mjs +1 -2
- package/es/Form/components/FormDivider.d.mts +0 -2
- package/es/Form/components/FormDivider.mjs +1 -2
- package/es/Form/components/FormField.d.mts +0 -2
- package/es/Form/components/FormField.mjs +1 -2
- package/es/Form/components/FormFlatGroup.d.mts +0 -2
- package/es/Form/components/FormFlatGroup.mjs +1 -2
- package/es/Form/components/FormFooter.d.mts +0 -2
- package/es/Form/components/FormFooter.mjs +1 -2
- package/es/Form/components/FormGroup.d.mts +0 -2
- package/es/Form/components/FormGroup.mjs +1 -2
- package/es/Form/components/FormSubmitFooter.d.mts +0 -2
- package/es/Form/components/FormSubmitFooter.mjs +1 -2
- package/es/Form/components/FormTitle.d.mts +0 -2
- package/es/Form/components/FormTitle.mjs +1 -2
- package/es/Form/context.d.mts +0 -2
- package/es/Form/context.mjs +1 -2
- package/es/Form/index.d.mts +0 -2
- package/es/Form/index.mjs +1 -2
- package/es/Form/marker.stylex.mjs +1 -2
- package/es/Form/stable.mjs +1 -2
- package/es/Form/stableContext.mjs +1 -2
- package/es/Form/style.mjs +1 -2
- package/es/Form/type.d.mts +0 -2
- package/es/FormKit/Field.d.mts +0 -2
- package/es/FormKit/Field.mjs +1 -2
- package/es/FormKit/Form.mjs +1 -2
- package/es/FormKit/List.d.mts +0 -2
- package/es/FormKit/List.mjs +25 -26
- package/es/FormKit/List.mjs.map +1 -1
- package/es/FormKit/SubmitFooter.d.mts +0 -2
- package/es/FormKit/SubmitFooter.mjs +1 -2
- package/es/FormKit/binding.mjs +1 -2
- package/es/FormKit/context.d.mts +0 -2
- package/es/FormKit/context.mjs +1 -2
- package/es/FormKit/engine/tanstack.mjs +1 -2
- package/es/FormKit/engine/types.d.mts +0 -2
- package/es/FormKit/index.d.mts +0 -2
- package/es/FormKit/index.mjs +1 -2
- package/es/FormKit/instance.mjs +1 -2
- package/es/FormKit/schema.d.mts +0 -2
- package/es/FormKit/schema.mjs +1 -2
- package/es/FormKit/stable.mjs +1 -2
- package/es/FormKit/style.mjs +1 -2
- package/es/FormKit/type.d.mts +0 -2
- package/es/FormKit/useForm.d.mts +0 -2
- package/es/FormKit/useForm.mjs +1 -2
- package/es/FormKit/useStoreSelector.mjs +1 -2
- package/es/FormKit/useWatch.d.mts +0 -2
- package/es/FormKit/useWatch.mjs +1 -2
- package/es/Freeze/Freeze.d.mts +0 -2
- package/es/Freeze/Freeze.mjs +1 -2
- package/es/Freeze/type.d.mts +0 -2
- package/es/GlobalFocusRing/index.d.mts +0 -2
- package/es/GlobalFocusRing/index.mjs +1 -2
- package/es/GlobalFocusRing/style.mjs +1 -2
- package/es/Grid/Grid.d.mts +0 -2
- package/es/Grid/Grid.mjs +1 -2
- package/es/Grid/stable.mjs +1 -2
- package/es/Grid/style.mjs +1 -2
- package/es/Grid/type.d.mts +0 -2
- package/es/GroupAvatar/GroupAvatar.d.mts +0 -2
- package/es/GroupAvatar/GroupAvatar.mjs +1 -2
- package/es/GroupAvatar/stable.mjs +1 -2
- package/es/GroupAvatar/style.mjs +1 -2
- package/es/GroupAvatar/type.d.mts +0 -2
- package/es/GuideCard/GuideCard.d.mts +0 -2
- package/es/GuideCard/GuideCard.mjs +1 -2
- package/es/GuideCard/stable.mjs +1 -2
- package/es/GuideCard/style.mjs +1 -2
- package/es/GuideCard/type.d.mts +0 -2
- package/es/Header/Header.d.mts +0 -2
- package/es/Header/Header.mjs +1 -2
- package/es/Header/stable.mjs +1 -2
- package/es/Header/style.mjs +1 -2
- package/es/Header/type.d.mts +0 -2
- package/es/Highlighter/FullFeatured.mjs +1 -2
- package/es/Highlighter/Highlighter.d.mts +0 -2
- package/es/Highlighter/Highlighter.mjs +2 -5
- package/es/Highlighter/Highlighter.mjs.map +1 -1
- package/es/Highlighter/LangSelect.mjs +3 -4
- package/es/Highlighter/LangSelect.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/StaticRenderer.mjs +3 -5
- package/es/Highlighter/SyntaxHighlighter/StaticRenderer.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/StreamRenderer.mjs +5 -22
- package/es/Highlighter/SyntaxHighlighter/StreamRenderer.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/index.d.mts +0 -2
- package/es/Highlighter/SyntaxHighlighter/index.mjs +3 -5
- package/es/Highlighter/SyntaxHighlighter/index.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/style.mjs +1 -2
- package/es/Highlighter/SyntaxHighlighter/tokenFade.mjs +1 -2
- package/es/Highlighter/SyntaxHighlighter/tokenFade.mjs.map +1 -1
- package/es/Highlighter/const.d.mts +2 -2
- package/es/Highlighter/const.mjs +96 -14
- package/es/Highlighter/const.mjs.map +1 -1
- package/es/Highlighter/engine.mjs +74 -0
- package/es/Highlighter/engine.mjs.map +1 -0
- package/es/Highlighter/languages.mjs +500 -0
- package/es/Highlighter/languages.mjs.map +1 -0
- package/es/Highlighter/stable.mjs +1 -2
- package/es/Highlighter/style.mjs +1 -2
- package/es/Highlighter/theme/lobe-highlights-theme.mjs +72 -0
- package/es/Highlighter/theme/lobe-highlights-theme.mjs.map +1 -0
- package/es/Highlighter/theme/lobe-theme.d.mts +0 -2
- package/es/Highlighter/theme/lobe-theme.mjs +1 -2
- package/es/Highlighter/tokens.mjs +49 -0
- package/es/Highlighter/tokens.mjs.map +1 -0
- package/es/Highlighter/type.d.mts +5 -4
- package/es/Hotkey/Hotkey.d.mts +0 -2
- package/es/Hotkey/Hotkey.mjs +1 -2
- package/es/Hotkey/const.d.mts +0 -2
- package/es/Hotkey/const.mjs +1 -2
- package/es/Hotkey/stable.mjs +1 -2
- package/es/Hotkey/style.mjs +1 -2
- package/es/Hotkey/type.d.mts +0 -2
- package/es/Hotkey/utils.d.mts +0 -2
- package/es/Hotkey/utils.mjs +1 -2
- package/es/HotkeyInput/HotkeyInput.d.mts +0 -2
- package/es/HotkeyInput/HotkeyInput.mjs +1 -2
- package/es/HotkeyInput/stable.mjs +1 -2
- package/es/HotkeyInput/style.mjs +1 -2
- package/es/HotkeyInput/type.d.mts +0 -2
- package/es/HtmlPreview/HtmlPreview.d.mts +0 -2
- package/es/HtmlPreview/HtmlPreview.mjs +1 -2
- package/es/HtmlPreview/Iframe.d.mts +0 -2
- package/es/HtmlPreview/Iframe.mjs +1 -2
- package/es/HtmlPreview/buildShellSrcDoc.mjs +1 -2
- package/es/HtmlPreview/buildStaticSrcDoc.mjs +1 -2
- package/es/HtmlPreview/const.d.mts +0 -2
- package/es/HtmlPreview/const.mjs +1 -2
- package/es/HtmlPreview/injectAutoHeightScript.d.mts +0 -2
- package/es/HtmlPreview/injectAutoHeightScript.mjs +1 -2
- package/es/HtmlPreview/injectStorageShim.mjs +1 -2
- package/es/HtmlPreview/stable.mjs +1 -2
- package/es/HtmlPreview/style.mjs +1 -2
- package/es/HtmlPreview/type.d.mts +0 -2
- package/es/Icon/Icon.d.mts +0 -2
- package/es/Icon/Icon.mjs +1 -2
- package/es/Icon/components/IconProvider.d.mts +0 -2
- package/es/Icon/components/IconProvider.mjs +1 -2
- package/es/Icon/components/utils.mjs +1 -2
- package/es/Icon/stable.mjs +1 -2
- package/es/Icon/style.mjs +1 -2
- package/es/Icon/type.d.mts +0 -2
- package/es/Image/Image.mjs +1 -2
- package/es/Image/PreviewGroup.d.mts +0 -2
- package/es/Image/PreviewGroup.mjs +1 -2
- package/es/Image/index.d.mts +0 -2
- package/es/Image/index.mjs +1 -2
- package/es/Image/marker.stylex.mjs +1 -2
- package/es/Image/stable.mjs +1 -2
- package/es/Image/style.mjs +1 -2
- package/es/Image/type.d.mts +0 -2
- package/es/Image/useImagePreview.d.mts +0 -2
- package/es/Image/useImagePreview.mjs +1 -2
- package/es/Image/viewer/ActualSizeIcon.mjs +4 -6
- package/es/Image/viewer/ActualSizeIcon.mjs.map +1 -1
- package/es/Image/viewer/GalleryNav.mjs +1 -2
- package/es/Image/viewer/ImageViewer.mjs +1 -2
- package/es/Image/viewer/PreviewOutlet.mjs +1 -2
- package/es/Image/viewer/Toolbar.mjs +1 -2
- package/es/Image/viewer/ViewerChrome.mjs +1 -2
- package/es/Image/viewer/geometry.d.mts +0 -2
- package/es/Image/viewer/geometry.mjs +0 -1
- package/es/Image/viewer/registry.mjs +1 -2
- package/es/Image/viewer/useChromeIdle.mjs +1 -2
- package/es/Image/viewer/useFinalFocus.mjs +1 -2
- package/es/Image/viewer/useFlipTransition.mjs +1 -2
- package/es/Image/viewer/useGalleryNav.mjs +1 -2
- package/es/Image/viewer/useRefitTransition.mjs +1 -2
- package/es/Image/viewer/useViewerGestures.mjs +1 -2
- package/es/Image/viewer/useZoomPan.mjs +1 -2
- package/es/ImageSelect/ImageSelect.d.mts +0 -2
- package/es/ImageSelect/ImageSelect.mjs +23 -24
- package/es/ImageSelect/ImageSelect.mjs.map +1 -1
- package/es/ImageSelect/stable.mjs +1 -2
- package/es/ImageSelect/styles.mjs +1 -2
- package/es/ImageSelect/type.d.mts +0 -2
- package/es/Img/index.mjs +1 -2
- package/es/Img/stable.mjs +1 -2
- package/es/Input/ClearButton.mjs +1 -2
- package/es/Input/Input.d.mts +0 -2
- package/es/Input/Input.mjs +1 -2
- package/es/Input/InputNumber.d.mts +0 -2
- package/es/Input/InputNumber.mjs +1 -2
- package/es/Input/InputOTP.d.mts +0 -2
- package/es/Input/InputOTP.mjs +1 -2
- package/es/Input/InputPassword.d.mts +0 -2
- package/es/Input/InputPassword.mjs +1 -2
- package/es/Input/TextArea.d.mts +0 -2
- package/es/Input/TextArea.mjs +1 -2
- package/es/Input/clearNativeValue.mjs +1 -2
- package/es/Input/marker.stylex.mjs +1 -2
- package/es/Input/pressEnter.mjs +1 -2
- package/es/Input/stable.mjs +1 -2
- package/es/Input/style.d.mts +0 -2
- package/es/Input/style.mjs +1 -2
- package/es/Input/type.d.mts +0 -2
- package/es/Layout/Layout.mjs +1 -2
- package/es/Layout/components/LayoutFooter.d.mts +0 -2
- package/es/Layout/components/LayoutFooter.mjs +1 -2
- package/es/Layout/components/LayoutHeader.d.mts +0 -2
- package/es/Layout/components/LayoutHeader.mjs +1 -2
- package/es/Layout/components/LayoutMain.d.mts +0 -2
- package/es/Layout/components/LayoutMain.mjs +1 -2
- package/es/Layout/components/LayoutSidebar.d.mts +0 -2
- package/es/Layout/components/LayoutSidebar.mjs +1 -2
- package/es/Layout/components/LayoutSidebarInner.d.mts +0 -2
- package/es/Layout/components/LayoutSidebarInner.mjs +1 -2
- package/es/Layout/components/LayoutToc.d.mts +0 -2
- package/es/Layout/components/LayoutToc.mjs +1 -2
- package/es/Layout/index.d.mts +0 -2
- package/es/Layout/index.mjs +1 -2
- package/es/Layout/stable.mjs +1 -2
- package/es/Layout/style.mjs +1 -2
- package/es/Layout/type.d.mts +0 -2
- package/es/List/List.d.mts +0 -2
- package/es/List/List.mjs +1 -2
- package/es/List/ListRow.mjs +1 -2
- package/es/List/marker.stylex.mjs +1 -2
- package/es/List/stable.mjs +1 -2
- package/es/List/style.mjs +1 -2
- package/es/List/type.d.mts +0 -2
- package/es/Markdown/Markdown.d.mts +0 -2
- package/es/Markdown/Markdown.mjs +1 -2
- package/es/Markdown/SyntaxMarkdown/MarkdownRender.mjs +1 -2
- package/es/Markdown/SyntaxMarkdown/MarkdownRender.mjs.map +1 -1
- package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs +1 -2
- package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs.map +1 -1
- package/es/Markdown/Typography.d.mts +0 -2
- package/es/Markdown/Typography.mjs +1 -2
- package/es/Markdown/components/CodeBlock.mjs +1 -2
- package/es/Markdown/components/Footnotes.mjs +27 -28
- package/es/Markdown/components/Footnotes.mjs.map +1 -1
- package/es/Markdown/components/MarkdownProvider.mjs +1 -2
- package/es/Markdown/components/MarkdownTable/hastTableToMarkdown.mjs +1 -2
- package/es/Markdown/components/MarkdownTable/index.mjs +1 -2
- package/es/Markdown/components/MarkdownTable/style.mjs +1 -2
- package/es/Markdown/components/SearchResultCards/SearchResultCard.mjs +1 -2
- package/es/Markdown/components/SearchResultCards/index.d.mts +0 -2
- package/es/Markdown/components/SearchResultCards/index.mjs +1 -2
- package/es/Markdown/components/SearchResultCards/style.mjs +1 -2
- package/es/Markdown/components/useDelayedAnimated.mjs +1 -2
- package/es/Markdown/plugins/rehypeCustomFootnotes.d.mts +0 -2
- package/es/Markdown/plugins/rehypeCustomFootnotes.mjs +1 -2
- package/es/Markdown/plugins/rehypeKatex.mjs +1 -2
- package/es/Markdown/plugins/rehypeKatexDir.d.mts +0 -2
- package/es/Markdown/plugins/rehypeKatexDir.mjs +1 -2
- package/es/Markdown/plugins/remarkBr.d.mts +0 -2
- package/es/Markdown/plugins/remarkBr.mjs +1 -2
- package/es/Markdown/plugins/remarkCjkAutolink.mjs +1 -2
- package/es/Markdown/plugins/remarkColor.d.mts +0 -2
- package/es/Markdown/plugins/remarkColor.mjs +1 -2
- package/es/Markdown/plugins/remarkCustomFootnotes.d.mts +0 -2
- package/es/Markdown/plugins/remarkCustomFootnotes.mjs +1 -2
- package/es/Markdown/plugins/remarkGfmPlus.d.mts +0 -2
- package/es/Markdown/plugins/remarkGfmPlus.mjs +1 -2
- package/es/Markdown/plugins/remarkVideo.d.mts +0 -2
- package/es/Markdown/plugins/remarkVideo.mjs +1 -2
- package/es/Markdown/stable.mjs +1 -2
- package/es/Markdown/style.mjs +1 -2
- package/es/Markdown/type.d.mts +0 -2
- package/es/MaskShadow/MaskShadow.d.mts +0 -2
- package/es/MaskShadow/MaskShadow.mjs +1 -2
- package/es/MaskShadow/stable.mjs +1 -2
- package/es/MaskShadow/style.mjs +1 -2
- package/es/MaskShadow/type.d.mts +0 -2
- package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.d.mts +0 -2
- package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.mjs +1 -2
- package/es/MaterialFileTypeIcon/icon-map.json.d.mts +0 -2
- package/es/MaterialFileTypeIcon/icon-map.mjs +1 -2
- package/es/MaterialFileTypeIcon/stable.mjs +1 -2
- package/es/MaterialFileTypeIcon/type.d.mts +0 -2
- package/es/MaterialFileTypeIcon/utils.mjs +1 -2
- package/es/Mermaid/FullFeatured.mjs +1 -2
- package/es/Mermaid/Mermaid.d.mts +0 -2
- package/es/Mermaid/Mermaid.mjs +1 -2
- package/es/Mermaid/SyntaxMermaid/MermaidFallback.mjs +1 -2
- package/es/Mermaid/SyntaxMermaid/MermaidSvg.mjs +1 -2
- package/es/Mermaid/SyntaxMermaid/StaticMermaid.mjs +1 -2
- package/es/Mermaid/SyntaxMermaid/StreamMermaid.mjs +1 -2
- package/es/Mermaid/SyntaxMermaid/index.d.mts +0 -2
- package/es/Mermaid/SyntaxMermaid/index.mjs +1 -2
- package/es/Mermaid/SyntaxMermaid/standaloneSvg.mjs +1 -2
- package/es/Mermaid/SyntaxMermaid/style.mjs +1 -2
- package/es/Mermaid/const.d.mts +0 -2
- package/es/Mermaid/const.mjs +1 -2
- package/es/Mermaid/index.d.mts +0 -2
- package/es/Mermaid/index.mjs +1 -2
- package/es/Mermaid/stable.mjs +1 -2
- package/es/Mermaid/themes.d.mts +0 -2
- package/es/Mermaid/themes.mjs +1 -2
- package/es/Mermaid/type.d.mts +0 -2
- package/es/Meta/Meta.d.mts +0 -2
- package/es/Meta/Meta.mjs +1 -2
- package/es/Modal/Modal.d.mts +0 -2
- package/es/Modal/Modal.mjs +1 -2
- package/es/Modal/Modal.mjs.map +1 -1
- package/es/Modal/ModalLayerContext.mjs +1 -2
- package/es/Modal/atoms.d.mts +0 -2
- package/es/Modal/atoms.mjs +6 -7
- package/es/Modal/atoms.mjs.map +1 -1
- package/es/Modal/constants.d.mts +0 -2
- package/es/Modal/constants.mjs +1 -2
- package/es/Modal/context.d.mts +0 -2
- package/es/Modal/context.mjs +1 -2
- package/es/Modal/imperative.d.mts +0 -2
- package/es/Modal/imperative.mjs +1 -2
- package/es/Modal/stable.mjs +1 -2
- package/es/Modal/style.mjs +1 -2
- package/es/Modal/type.d.mts +0 -2
- package/es/MotionProvider/index.d.mts +0 -2
- package/es/MotionProvider/index.mjs +1 -2
- package/es/Pagination/Pagination.d.mts +0 -2
- package/es/Pagination/Pagination.mjs +6 -7
- package/es/Pagination/Pagination.mjs.map +1 -1
- package/es/Pagination/helpers.mjs +1 -2
- package/es/Pagination/marker.stylex.mjs +1 -2
- package/es/Pagination/stable.mjs +1 -2
- package/es/Pagination/style.mjs +1 -2
- package/es/Pagination/type.d.mts +0 -2
- package/es/Popover/ArrowIcon.d.mts +0 -2
- package/es/Popover/ArrowIcon.mjs +1 -2
- package/es/Popover/Popover.d.mts +0 -2
- package/es/Popover/Popover.mjs +1 -2
- package/es/Popover/PopoverGroup.d.mts +0 -2
- package/es/Popover/PopoverGroup.mjs +1 -2
- package/es/Popover/PopoverInGroup.mjs +1 -2
- package/es/Popover/PopoverInGroup.mjs.map +1 -1
- package/es/Popover/PopoverPortal.d.mts +0 -2
- package/es/Popover/PopoverPortal.mjs +1 -2
- package/es/Popover/PopoverStandalone.mjs +1 -2
- package/es/Popover/atoms.d.mts +0 -2
- package/es/Popover/atoms.mjs +1 -2
- package/es/Popover/context.d.mts +0 -2
- package/es/Popover/context.mjs +1 -2
- package/es/Popover/groupContext.d.mts +0 -2
- package/es/Popover/groupContext.mjs +1 -2
- package/es/Popover/hoverOnlyPress.mjs +1 -2
- package/es/Popover/stable.mjs +1 -2
- package/es/Popover/style.mjs +1 -2
- package/es/Popover/type.d.mts +0 -2
- package/es/Popover/useMergedPopoverProps.mjs +1 -2
- package/es/ProTable/ProTable.d.mts +0 -2
- package/es/ProTable/ProTable.mjs +1 -2
- package/es/ProTable/hooks/useColumnRequest.mjs +1 -2
- package/es/ProTable/hooks/useColumnsState.mjs +1 -2
- package/es/ProTable/hooks/useDelayedFlag.mjs +1 -2
- package/es/ProTable/hooks/useDensity.mjs +1 -2
- package/es/ProTable/hooks/useFetchData.mjs +1 -2
- package/es/ProTable/hooks/useFullscreen.mjs +1 -2
- package/es/ProTable/hooks/usePageInfo.mjs +1 -2
- package/es/ProTable/hooks/useProColumns.mjs +1 -2
- package/es/ProTable/hooks/useProLoading.mjs +1 -2
- package/es/ProTable/hooks/useProLocale.mjs +1 -2
- package/es/ProTable/hooks/useProRequest.mjs +1 -2
- package/es/ProTable/hooks/useRowCache.mjs +1 -2
- package/es/ProTable/hooks/useSearchForm.mjs +1 -2
- package/es/ProTable/hooks/useTableBindings.mjs +1 -2
- package/es/ProTable/hooks/useTableSelection.mjs +1 -2
- package/es/ProTable/locale.d.mts +0 -2
- package/es/ProTable/locale.mjs +1 -2
- package/es/ProTable/parts/ColumnSetting.mjs +1 -2
- package/es/ProTable/parts/FieldControl.mjs +1 -2
- package/es/ProTable/parts/KeywordInput.mjs +1 -2
- package/es/ProTable/parts/LightFilter.mjs +1 -2
- package/es/ProTable/parts/OptionPopover.mjs +1 -2
- package/es/ProTable/parts/SearchForm.mjs +1 -2
- package/es/ProTable/parts/SearchSection.mjs +1 -2
- package/es/ProTable/parts/TableAlert.mjs +1 -2
- package/es/ProTable/parts/Toolbar.mjs +1 -2
- package/es/ProTable/parts/ToolbarOptions.mjs +1 -2
- package/es/ProTable/parts/renderValue.mjs +1 -2
- package/es/ProTable/stable.mjs +1 -2
- package/es/ProTable/style.mjs +1 -2
- package/es/ProTable/type.d.mts +0 -2
- package/es/ProTable/utils.mjs +1 -2
- package/es/Progress/Progress.d.mts +0 -2
- package/es/Progress/Progress.mjs +1 -2
- package/es/Progress/stable.mjs +1 -2
- package/es/Progress/style.mjs +1 -2
- package/es/Progress/type.d.mts +0 -2
- package/es/ProgressiveBlur/ProgressiveBlur.d.mts +4 -0
- package/es/ProgressiveBlur/ProgressiveBlur.mjs +84 -0
- package/es/ProgressiveBlur/ProgressiveBlur.mjs.map +1 -0
- package/es/ProgressiveBlur/index.d.mts +3 -0
- package/es/ProgressiveBlur/index.d.ts +1 -0
- package/es/ProgressiveBlur/index.js +1 -0
- package/es/ProgressiveBlur/index.mjs +1 -0
- package/es/ProgressiveBlur/stable.mjs +15 -0
- package/es/ProgressiveBlur/stable.mjs.map +1 -0
- package/es/ProgressiveBlur/style.mjs +92 -0
- package/es/ProgressiveBlur/style.mjs.map +1 -0
- package/es/ProgressiveBlur/type.d.mts +78 -0
- package/es/ProgressiveBlur/utils.mjs +23 -0
- package/es/ProgressiveBlur/utils.mjs.map +1 -0
- package/es/QRCode/QRCode.d.mts +0 -2
- package/es/QRCode/QRCode.mjs +1 -2
- package/es/QRCode/qrPath.mjs +1 -2
- package/es/QRCode/stable.mjs +1 -2
- package/es/QRCode/style.mjs +1 -2
- package/es/QRCode/type.d.mts +0 -2
- package/es/Radio/Radio.d.mts +0 -2
- package/es/Radio/Radio.mjs +1 -2
- package/es/Radio/RadioGroup.d.mts +0 -2
- package/es/Radio/RadioGroup.mjs +1 -2
- package/es/Radio/stable.mjs +1 -2
- package/es/Radio/style.d.mts +0 -2
- package/es/Radio/style.mjs +1 -2
- package/es/Radio/type.d.mts +0 -2
- package/es/Rate/Rate.d.mts +0 -2
- package/es/Rate/Rate.mjs +4 -6
- package/es/Rate/Rate.mjs.map +1 -1
- package/es/Rate/stable.mjs +1 -2
- package/es/Rate/style.mjs +1 -2
- package/es/Rate/type.d.mts +0 -2
- package/es/Result/Result.d.mts +0 -2
- package/es/Result/Result.mjs +1 -2
- package/es/Result/stable.mjs +1 -2
- package/es/Result/style.mjs +1 -2
- package/es/Result/type.d.mts +0 -2
- package/es/ScrollArea/ScrollArea.d.mts +0 -2
- package/es/ScrollArea/ScrollArea.mjs +1 -2
- package/es/ScrollArea/atoms.d.mts +0 -2
- package/es/ScrollArea/atoms.mjs +1 -2
- package/es/ScrollArea/stable.mjs +1 -2
- package/es/ScrollArea/style.mjs +1 -2
- package/es/ScrollArea/type.d.mts +0 -2
- package/es/ScrollShadow/ScrollShadow.d.mts +0 -2
- package/es/ScrollShadow/ScrollShadow.mjs +1 -2
- package/es/ScrollShadow/stable.mjs +1 -2
- package/es/ScrollShadow/style.mjs +1 -2
- package/es/ScrollShadow/type.d.mts +0 -2
- package/es/ScrollShadow/useScrollOverflow.mjs +1 -2
- package/es/SearchBar/SearchBar.d.mts +0 -2
- package/es/SearchBar/SearchBar.mjs +4 -3
- package/es/SearchBar/SearchBar.mjs.map +1 -1
- package/es/SearchBar/stable.mjs +1 -2
- package/es/SearchBar/style.mjs +1 -2
- package/es/SearchBar/type.d.mts +0 -2
- package/es/Segmented/Segmented.d.mts +0 -2
- package/es/Segmented/Segmented.mjs +1 -2
- package/es/Segmented/atoms.d.mts +0 -2
- package/es/Segmented/atoms.mjs +1 -2
- package/es/Segmented/marker.stylex.mjs +1 -2
- package/es/Segmented/stable.mjs +1 -2
- package/es/Segmented/style.mjs +1 -2
- package/es/Segmented/type.d.mts +0 -2
- package/es/Select/Select.d.mts +0 -2
- package/es/Select/Select.mjs +1 -2
- package/es/Select/atoms.d.mts +0 -2
- package/es/Select/atoms.mjs +1 -2
- package/es/Select/helpers.mjs +1 -2
- package/es/Select/hooks.mjs +1 -2
- package/es/Select/marker.stylex.mjs +1 -2
- package/es/Select/parts.mjs +21 -22
- package/es/Select/parts.mjs.map +1 -1
- package/es/Select/renderOptions.mjs +1 -2
- package/es/Select/stable.mjs +1 -2
- package/es/Select/style.mjs +1 -2
- package/es/Select/type.d.mts +0 -2
- package/es/SideNav/SideNav.d.mts +0 -2
- package/es/SideNav/SideNav.mjs +1 -2
- package/es/SideNav/stable.mjs +1 -2
- package/es/SideNav/style.mjs +1 -2
- package/es/SideNav/type.d.mts +0 -2
- package/es/Skeleton/Skeleton.mjs +1 -2
- package/es/Skeleton/SkeletonAvatar.d.mts +0 -2
- package/es/Skeleton/SkeletonAvatar.mjs +1 -2
- package/es/Skeleton/SkeletonText.d.mts +0 -2
- package/es/Skeleton/SkeletonText.mjs +1 -2
- package/es/Skeleton/index.d.mts +0 -2
- package/es/Skeleton/index.mjs +1 -2
- package/es/Skeleton/stable.mjs +1 -2
- package/es/Skeleton/style.mjs +1 -2
- package/es/Skeleton/type.d.mts +0 -2
- package/es/Slider/Slider.d.mts +0 -2
- package/es/Slider/Slider.mjs +1 -2
- package/es/Slider/SliderWithInput.d.mts +0 -2
- package/es/Slider/SliderWithInput.mjs +1 -2
- package/es/Slider/marker.stylex.mjs +1 -2
- package/es/Slider/stable.mjs +1 -2
- package/es/Slider/style.d.mts +0 -2
- package/es/Slider/style.mjs +1 -2
- package/es/Slider/type.d.mts +0 -2
- package/es/Snippet/Snippet.d.mts +0 -2
- package/es/Snippet/Snippet.mjs +1 -2
- package/es/Snippet/stable.mjs +1 -2
- package/es/Snippet/style.mjs +1 -2
- package/es/Snippet/type.d.mts +0 -2
- package/es/SortableList/SortableList.d.mts +0 -2
- package/es/SortableList/SortableList.mjs +1 -2
- package/es/SortableList/components/DragHandle.d.mts +0 -2
- package/es/SortableList/components/DragHandle.mjs +1 -2
- package/es/SortableList/components/SortableItem.d.mts +0 -2
- package/es/SortableList/components/SortableItem.mjs +1 -2
- package/es/SortableList/components/SortableOverlay.mjs +1 -2
- package/es/SortableList/stable.mjs +1 -2
- package/es/SortableList/style.mjs +1 -2
- package/es/SortableList/type.d.mts +0 -2
- package/es/Spin/NetworkGlyph.mjs +6 -9
- package/es/Spin/NetworkGlyph.mjs.map +1 -1
- package/es/Spin/Spin.d.mts +0 -2
- package/es/Spin/Spin.mjs +1 -2
- package/es/Spin/stable.mjs +1 -2
- package/es/Spin/style.mjs +1 -2
- package/es/Spin/type.d.mts +0 -2
- package/es/Statistic/Statistic.d.mts +0 -2
- package/es/Statistic/Statistic.mjs +1 -2
- package/es/Statistic/formatValue.d.mts +0 -2
- package/es/Statistic/formatValue.mjs +1 -2
- package/es/Statistic/stable.mjs +1 -2
- package/es/Statistic/style.mjs +1 -2
- package/es/Statistic/type.d.mts +0 -2
- package/es/Steps/Steps.d.mts +0 -2
- package/es/Steps/Steps.mjs +1 -2
- package/es/Steps/stable.mjs +1 -2
- package/es/Steps/style.mjs +1 -2
- package/es/Steps/type.d.mts +0 -2
- package/es/Switch/Switch.d.mts +0 -2
- package/es/Switch/Switch.mjs +1 -2
- package/es/Switch/atoms.d.mts +0 -2
- package/es/Switch/atoms.mjs +1 -2
- package/es/Switch/marker.stylex.mjs +1 -2
- package/es/Switch/stable.mjs +1 -2
- package/es/Switch/style.mjs +1 -2
- package/es/Switch/type.d.mts +0 -2
- package/es/Table/Column.d.mts +0 -2
- package/es/Table/Column.mjs +1 -2
- package/es/Table/ColumnGroup.d.mts +0 -2
- package/es/Table/ColumnGroup.mjs +1 -2
- package/es/Table/Table.d.mts +0 -2
- package/es/Table/Table.mjs +1 -2
- package/es/Table/atoms/cells.d.mts +0 -2
- package/es/Table/atoms/cells.mjs +1 -2
- package/es/Table/atoms/layout.d.mts +0 -2
- package/es/Table/atoms/layout.mjs +1 -2
- package/es/Table/constants.mjs +1 -2
- package/es/Table/engine/fixed.mjs +1 -2
- package/es/Table/engine/useTableEngine.mjs +1 -2
- package/es/Table/pipeline/columnUtils.d.mts +0 -2
- package/es/Table/pipeline/columnUtils.mjs +1 -2
- package/es/Table/pipeline/convertChildrenToColumns.mjs +1 -2
- package/es/Table/pipeline/normalizeColumns.mjs +1 -2
- package/es/Table/pipeline/selectionUtils.d.mts +0 -2
- package/es/Table/pipeline/selectionUtils.mjs +1 -2
- package/es/Table/pipeline/useBreakpoint.mjs +1 -2
- package/es/Table/pipeline/useExpandable.mjs +1 -2
- package/es/Table/pipeline/useFilter.mjs +1 -2
- package/es/Table/pipeline/useSelection.mjs +1 -2
- package/es/Table/pipeline/useSorter.mjs +1 -2
- package/es/Table/pipeline/useTableLocale.mjs +1 -2
- package/es/Table/pipeline/useTableState.mjs +0 -1
- package/es/Table/pipeline/useVirtualLayout.mjs +1 -2
- package/es/Table/render/Body.mjs +1 -2
- package/es/Table/render/BodyCell.mjs +1 -2
- package/es/Table/render/CellShell.mjs +1 -2
- package/es/Table/render/ExpandIcon.mjs +1 -2
- package/es/Table/render/FilterDropdown.mjs +1 -2
- package/es/Table/render/FilterPanel.mjs +1 -2
- package/es/Table/render/FixedFrost.mjs +1 -2
- package/es/Table/render/FixedHolder.mjs +1 -2
- package/es/Table/render/Header.mjs +16 -18
- package/es/Table/render/Header.mjs.map +1 -1
- package/es/Table/render/LoadingSkeleton.mjs +1 -2
- package/es/Table/render/PaginationBar.mjs +1 -2
- package/es/Table/render/SelectionCells.mjs +1 -2
- package/es/Table/render/StickyScrollBar.mjs +1 -2
- package/es/Table/render/Summary.d.mts +0 -2
- package/es/Table/render/Summary.mjs +1 -2
- package/es/Table/render/TableView.mjs +1 -2
- package/es/Table/render/VirtualBody.mjs +1 -2
- package/es/Table/render/context.mjs +1 -2
- package/es/Table/render/filterUtils.mjs +1 -2
- package/es/Table/render/tableHelpers.mjs +1 -2
- package/es/Table/render/useColGroups.mjs +1 -2
- package/es/Table/render/useScrollSync.mjs +1 -2
- package/es/Table/render/useViewContexts.mjs +1 -2
- package/es/Table/semantic.mjs +1 -2
- package/es/Table/stable.mjs +1 -2
- package/es/Table/store/createTableStore.mjs +1 -2
- package/es/Table/store/hooks.mjs +1 -2
- package/es/Table/style.mjs +1 -2
- package/es/Table/type.d.mts +0 -2
- package/es/Table/useTableController.mjs +1 -2
- package/es/Tabs/Tabs.d.mts +0 -2
- package/es/Tabs/Tabs.mjs +1 -2
- package/es/Tabs/atoms.d.mts +0 -2
- package/es/Tabs/atoms.mjs +1 -2
- package/es/Tabs/stable.mjs +1 -2
- package/es/Tabs/style.d.mts +0 -2
- package/es/Tabs/style.mjs +1 -2
- package/es/Tabs/type.d.mts +0 -2
- package/es/Tag/Tag.d.mts +0 -2
- package/es/Tag/Tag.mjs +1 -2
- package/es/Tag/stable.mjs +1 -2
- package/es/Tag/style.mjs +1 -2
- package/es/Tag/type.d.mts +0 -2
- package/es/Tag/utils.d.mts +0 -2
- package/es/Tag/utils.mjs +1 -2
- package/es/Text/Text.d.mts +0 -2
- package/es/Text/Text.mjs +1 -2
- package/es/Text/stable.mjs +1 -2
- package/es/Text/style.d.mts +2 -4
- package/es/Text/style.mjs +1 -2
- package/es/Text/type.d.mts +0 -2
- package/es/Toast/Toast.mjs +1 -2
- package/es/Toast/context.mjs +1 -2
- package/es/Toast/dodge.mjs +0 -1
- package/es/Toast/dodge.stylex.mjs +1 -2
- package/es/Toast/hostGuard.mjs +1 -2
- package/es/Toast/imperative.d.mts +0 -2
- package/es/Toast/imperative.mjs +1 -2
- package/es/Toast/pendingQueue.mjs +1 -2
- package/es/Toast/stable.mjs +1 -2
- package/es/Toast/style.mjs +1 -2
- package/es/Toast/type.d.mts +0 -2
- package/es/ToggleGroup/ToggleGroup.d.mts +0 -2
- package/es/ToggleGroup/ToggleGroup.mjs +1 -2
- package/es/ToggleGroup/atoms.d.mts +0 -2
- package/es/ToggleGroup/atoms.mjs +1 -2
- package/es/ToggleGroup/marker.stylex.mjs +1 -2
- package/es/ToggleGroup/stable.mjs +1 -2
- package/es/ToggleGroup/style.d.mts +0 -2
- package/es/ToggleGroup/style.mjs +1 -2
- package/es/ToggleGroup/type.d.mts +0 -2
- package/es/Tooltip/ArrowIcon.mjs +1 -2
- package/es/Tooltip/Tooltip.d.mts +0 -2
- package/es/Tooltip/Tooltip.mjs +1 -2
- package/es/Tooltip/TooltipContent.mjs +1 -2
- package/es/Tooltip/TooltipGroup.d.mts +0 -2
- package/es/Tooltip/TooltipGroup.mjs +1 -2
- package/es/Tooltip/TooltipInGroup.mjs +1 -2
- package/es/Tooltip/TooltipStandalone.mjs +1 -2
- package/es/Tooltip/groupContext.mjs +1 -2
- package/es/Tooltip/stable.mjs +1 -2
- package/es/Tooltip/style.mjs +1 -2
- package/es/Tooltip/type.d.mts +0 -2
- package/es/Tooltip/useMergedTooltipProps.mjs +1 -2
- package/es/Tree/Tree.d.mts +0 -2
- package/es/Tree/Tree.mjs +1 -2
- package/es/Tree/TreeNode.mjs +1 -2
- package/es/Tree/context.mjs +1 -2
- package/es/Tree/stable.mjs +1 -2
- package/es/Tree/style.d.mts +0 -2
- package/es/Tree/style.mjs +1 -2
- package/es/Tree/type.d.mts +0 -2
- package/es/Tree/utils.d.mts +0 -2
- package/es/Tree/utils.mjs +1 -2
- package/es/Upload/Upload.d.mts +0 -2
- package/es/Upload/Upload.mjs +1 -2
- package/es/Upload/UploadDragger.d.mts +0 -2
- package/es/Upload/UploadDragger.mjs +1 -2
- package/es/Upload/helpers.mjs +1 -2
- package/es/Upload/stable.mjs +1 -2
- package/es/Upload/style.mjs +1 -2
- package/es/Upload/type.d.mts +0 -2
- package/es/Video/Video.mjs +1 -2
- package/es/Video/context.mjs +1 -2
- package/es/Video/index.d.mts +0 -2
- package/es/Video/index.mjs +1 -2
- package/es/Video/parts/Caption.d.mts +0 -2
- package/es/Video/parts/Caption.mjs +1 -2
- package/es/Video/parts/CenterPlay.d.mts +0 -2
- package/es/Video/parts/CenterPlay.mjs +1 -2
- package/es/Video/parts/Controls.d.mts +0 -2
- package/es/Video/parts/Controls.mjs +1 -2
- package/es/Video/parts/Frame.d.mts +0 -2
- package/es/Video/parts/Frame.mjs +1 -2
- package/es/Video/parts/HoverPreview.mjs +1 -2
- package/es/Video/parts/LoadError.d.mts +0 -2
- package/es/Video/parts/LoadError.mjs +1 -2
- package/es/Video/parts/PlayPauseIcon.mjs +1 -2
- package/es/Video/parts/RateMenu.mjs +1 -2
- package/es/Video/parts/Root.d.mts +0 -2
- package/es/Video/parts/Root.mjs +1 -2
- package/es/Video/parts/SectionList.d.mts +0 -2
- package/es/Video/parts/SectionList.mjs +1 -2
- package/es/Video/parts/SectionMenu.mjs +1 -2
- package/es/Video/parts/Timeline.d.mts +0 -2
- package/es/Video/parts/Timeline.mjs +1 -2
- package/es/Video/sizing.mjs +0 -1
- package/es/Video/stable.mjs +1 -2
- package/es/Video/store.mjs +1 -2
- package/es/Video/style.mjs +1 -2
- package/es/Video/time.mjs +0 -1
- package/es/Video/type.d.mts +0 -2
- package/es/Video/useControlsIdle.mjs +1 -2
- package/es/Video/useFullscreen.mjs +1 -2
- package/es/Video/useKeyboard.mjs +1 -2
- package/es/Video/useVideo.d.mts +0 -2
- package/es/Video/useVideo.mjs +1 -2
- package/es/_virtual/_rolldown/runtime.mjs +1 -2
- package/es/awesome/AgentSkillCard/AgentSkillCard.d.mts +0 -2
- package/es/awesome/AgentSkillCard/AgentSkillCard.mjs +1 -2
- package/es/awesome/AgentSkillCard/agents.d.mts +0 -2
- package/es/awesome/AgentSkillCard/agents.mjs +1 -2
- package/es/awesome/AgentSkillCard/stable.mjs +1 -2
- package/es/awesome/AgentSkillCard/style.mjs +1 -2
- package/es/awesome/AgentSkillCard/type.d.mts +0 -2
- package/es/awesome/AuroraBackground/AuroraBackground.d.mts +0 -2
- package/es/awesome/AuroraBackground/AuroraBackground.mjs +1 -2
- package/es/awesome/AuroraBackground/stable.mjs +1 -2
- package/es/awesome/AuroraBackground/style.mjs +1 -2
- package/es/awesome/AuroraBackground/type.d.mts +0 -2
- package/es/awesome/BentoGrid/BentoCard.d.mts +0 -2
- package/es/awesome/BentoGrid/BentoCard.mjs +1 -2
- package/es/awesome/BentoGrid/BentoGrid.d.mts +0 -2
- package/es/awesome/BentoGrid/BentoGrid.mjs +1 -2
- package/es/awesome/BentoGrid/stable.mjs +1 -2
- package/es/awesome/BentoGrid/style.mjs +1 -2
- package/es/awesome/BentoGrid/type.d.mts +0 -2
- package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +0 -2
- package/es/awesome/BottomGradientButton/BottomGradientButton.mjs +1 -2
- package/es/awesome/BottomGradientButton/stable.mjs +1 -2
- package/es/awesome/BottomGradientButton/style.mjs +1 -2
- package/es/awesome/BottomGradientButton/type.d.mts +0 -2
- package/es/awesome/CodeShowcase/CodeShowcase.d.mts +0 -2
- package/es/awesome/CodeShowcase/CodeShowcase.mjs +1 -2
- package/es/awesome/CodeShowcase/stable.mjs +1 -2
- package/es/awesome/CodeShowcase/style.mjs +1 -2
- package/es/awesome/CodeShowcase/type.d.mts +0 -2
- package/es/awesome/FeatureGrid/FeatureGrid.d.mts +0 -2
- package/es/awesome/FeatureGrid/FeatureGrid.mjs +1 -2
- package/es/awesome/FeatureGrid/stable.mjs +1 -2
- package/es/awesome/FeatureGrid/style.mjs +1 -2
- package/es/awesome/FeatureGrid/type.d.mts +0 -2
- package/es/awesome/Features/FeatureItem.mjs +1 -2
- package/es/awesome/Features/Features.d.mts +0 -2
- package/es/awesome/Features/Features.mjs +1 -2
- package/es/awesome/Features/stable.mjs +1 -2
- package/es/awesome/Features/style.mjs +1 -2
- package/es/awesome/Features/type.d.mts +0 -2
- package/es/awesome/FluidGradient/FluidGradient.d.mts +0 -2
- package/es/awesome/FluidGradient/FluidGradient.mjs +1 -2
- package/es/awesome/FluidGradient/stable.mjs +1 -2
- package/es/awesome/FluidGradient/style.mjs +1 -2
- package/es/awesome/FluidGradient/type.d.mts +0 -2
- package/es/awesome/Giscus/Giscus.d.mts +0 -2
- package/es/awesome/Giscus/Giscus.mjs +1 -2
- package/es/awesome/Giscus/stable.mjs +1 -2
- package/es/awesome/Giscus/style.mjs +1 -2
- package/es/awesome/Giscus/type.d.mts +0 -2
- package/es/awesome/GradientButton/GradientButton.d.mts +0 -2
- package/es/awesome/GradientButton/GradientButton.mjs +1 -2
- package/es/awesome/GradientButton/stable.mjs +1 -2
- package/es/awesome/GradientButton/style.mjs +1 -2
- package/es/awesome/GradientButton/type.d.mts +0 -2
- package/es/awesome/Grainient/Grainient.d.mts +0 -2
- package/es/awesome/Grainient/Grainient.mjs +1 -2
- package/es/awesome/Grainient/stable.mjs +1 -2
- package/es/awesome/Grainient/style.mjs +1 -2
- package/es/awesome/Grainient/type.d.mts +0 -2
- package/es/awesome/GridBackground/GridBackground.d.mts +0 -2
- package/es/awesome/GridBackground/GridBackground.mjs +1 -2
- package/es/awesome/GridBackground/GridShowcase.d.mts +0 -2
- package/es/awesome/GridBackground/GridShowcase.mjs +1 -2
- package/es/awesome/GridBackground/components/Grid.mjs +1 -2
- package/es/awesome/GridBackground/stable.mjs +1 -2
- package/es/awesome/GridBackground/style.mjs +1 -2
- package/es/awesome/GridBackground/type.d.mts +0 -2
- package/es/awesome/Hero/Hero.d.mts +0 -2
- package/es/awesome/Hero/Hero.mjs +1 -2
- package/es/awesome/Hero/stable.mjs +1 -2
- package/es/awesome/Hero/style.mjs +1 -2
- package/es/awesome/Hero/type.d.mts +0 -2
- package/es/awesome/InstallBanner/InstallBanner.d.mts +0 -2
- package/es/awesome/InstallBanner/InstallBanner.mjs +1 -2
- package/es/awesome/InstallBanner/stable.mjs +1 -2
- package/es/awesome/InstallBanner/style.mjs +1 -2
- package/es/awesome/InstallBanner/type.d.mts +0 -2
- package/es/awesome/LandingHero/LandingHero.d.mts +0 -2
- package/es/awesome/LandingHero/LandingHero.mjs +1 -2
- package/es/awesome/LandingHero/stable.mjs +1 -2
- package/es/awesome/LandingHero/style.mjs +1 -2
- package/es/awesome/LandingHero/type.d.mts +0 -2
- package/es/awesome/LandingSection/LandingSection.d.mts +0 -2
- package/es/awesome/LandingSection/LandingSection.mjs +1 -2
- package/es/awesome/LandingSection/stable.mjs +1 -2
- package/es/awesome/LandingSection/style.mjs +1 -2
- package/es/awesome/LandingSection/type.d.mts +0 -2
- package/es/awesome/LogoMarquee/LogoMarquee.d.mts +0 -2
- package/es/awesome/LogoMarquee/LogoMarquee.mjs +1 -2
- package/es/awesome/LogoMarquee/marker.stylex.mjs +1 -2
- package/es/awesome/LogoMarquee/stable.mjs +1 -2
- package/es/awesome/LogoMarquee/style.mjs +1 -2
- package/es/awesome/LogoMarquee/type.d.mts +0 -2
- package/es/awesome/Spotlight/Spotlight.d.mts +0 -2
- package/es/awesome/Spotlight/Spotlight.mjs +1 -2
- package/es/awesome/Spotlight/stable.mjs +1 -2
- package/es/awesome/Spotlight/style.mjs +1 -2
- package/es/awesome/Spotlight/type.d.mts +0 -2
- package/es/awesome/Spotlight/useMouseOffset.mjs +1 -2
- package/es/awesome/SpotlightCard/SpotlightCard.d.mts +0 -2
- package/es/awesome/SpotlightCard/SpotlightCard.mjs +1 -2
- package/es/awesome/SpotlightCard/SpotlightCardItem.mjs +1 -2
- package/es/awesome/SpotlightCard/marker.stylex.mjs +1 -2
- package/es/awesome/SpotlightCard/stable.mjs +1 -2
- package/es/awesome/SpotlightCard/style.mjs +1 -2
- package/es/awesome/SpotlightCard/type.d.mts +0 -2
- package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +0 -2
- package/es/awesome/TypewriterEffect/TypewriterEffect.mjs +1 -2
- package/es/awesome/TypewriterEffect/stable.mjs +1 -2
- package/es/awesome/TypewriterEffect/style.mjs +1 -2
- package/es/awesome/TypewriterEffect/type.d.mts +0 -2
- package/es/awesome/landingActions.d.mts +0 -2
- package/es/awesome/landingActions.mjs +1 -2
- package/es/awesome/landingIcon.mjs +1 -2
- package/es/awesome/landingLink.d.mts +0 -2
- package/es/awesome/landingLink.mjs +1 -2
- package/es/awesome/landingTokens.d.mts +0 -2
- package/es/awesome/landingTokens.mjs +1 -2
- package/es/brand/BrandLoading/index.d.mts +0 -2
- package/es/brand/BrandLoading/index.mjs +1 -2
- package/es/brand/BrandLoading/stable.mjs +1 -2
- package/es/brand/LobeChat/index.d.mts +0 -2
- package/es/brand/LobeChat/index.mjs +1 -2
- package/es/brand/LobeChat/stable.mjs +1 -2
- package/es/brand/LobeChatText/index.d.mts +0 -2
- package/es/brand/LobeChatText/index.mjs +1 -2
- package/es/brand/LobeChatText/stable.mjs +1 -2
- package/es/brand/LobeHub/index.d.mts +0 -2
- package/es/brand/LobeHub/index.mjs +1 -2
- package/es/brand/LobeHub/stable.mjs +1 -2
- package/es/brand/LobeHub/style.mjs +1 -2
- package/es/brand/LobeHubText/index.d.mts +0 -2
- package/es/brand/LobeHubText/index.mjs +1 -2
- package/es/brand/LobeHubText/stable.mjs +1 -2
- package/es/brand/Logo3d/index.d.mts +0 -2
- package/es/brand/Logo3d/index.mjs +1 -2
- package/es/brand/Logo3d/stable.mjs +1 -2
- package/es/brand/LogoFlat/index.d.mts +0 -2
- package/es/brand/LogoFlat/index.mjs +1 -2
- package/es/brand/components/Divider.mjs +1 -2
- package/es/brand/components/style.mjs +1 -2
- package/es/chat/BackBottom/BackBottom.d.mts +0 -2
- package/es/chat/BackBottom/BackBottom.mjs +1 -2
- package/es/chat/BackBottom/stable.mjs +1 -2
- package/es/chat/BackBottom/style.mjs +1 -2
- package/es/chat/BackBottom/type.d.mts +0 -2
- package/es/chat/ChatHeader/ChatHeader.mjs +1 -2
- package/es/chat/ChatHeader/ChatHeaderTitle.d.mts +0 -2
- package/es/chat/ChatHeader/ChatHeaderTitle.mjs +1 -2
- package/es/chat/ChatHeader/index.d.mts +0 -2
- package/es/chat/ChatHeader/index.mjs +1 -2
- package/es/chat/ChatHeader/stable.mjs +1 -2
- package/es/chat/ChatHeader/style.mjs +1 -2
- package/es/chat/ChatHeader/type.d.mts +0 -2
- package/es/chat/ChatInputArea/ChatInputArea.mjs +1 -2
- package/es/chat/ChatInputArea/components/ChatInputActionBar.d.mts +0 -2
- package/es/chat/ChatInputArea/components/ChatInputActionBar.mjs +1 -2
- package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +0 -2
- package/es/chat/ChatInputArea/components/ChatInputAreaInner.mjs +1 -2
- package/es/chat/ChatInputArea/components/ChatSendButton.d.mts +0 -2
- package/es/chat/ChatInputArea/components/ChatSendButton.mjs +1 -2
- package/es/chat/ChatInputArea/index.d.mts +0 -2
- package/es/chat/ChatInputArea/index.mjs +1 -2
- package/es/chat/ChatInputArea/stable.mjs +1 -2
- package/es/chat/ChatInputArea/style.mjs +1 -2
- package/es/chat/ChatInputArea/type.d.mts +0 -2
- package/es/chat/ChatItem/ChatItem.d.mts +0 -2
- package/es/chat/ChatItem/ChatItem.mjs +1 -2
- package/es/chat/ChatItem/components/Actions.mjs +1 -2
- package/es/chat/ChatItem/components/Avatar.mjs +1 -2
- package/es/chat/ChatItem/components/BorderSpacing.mjs +1 -2
- package/es/chat/ChatItem/components/ErrorContent.mjs +1 -2
- package/es/chat/ChatItem/components/Loading.mjs +1 -2
- package/es/chat/ChatItem/components/MessageContent.mjs +1 -2
- package/es/chat/ChatItem/components/Title.mjs +1 -2
- package/es/chat/ChatItem/stable.mjs +1 -2
- package/es/chat/ChatItem/style.mjs +1 -2
- package/es/chat/ChatItem/type.d.mts +0 -2
- package/es/chat/ChatList/ChatList.d.mts +0 -2
- package/es/chat/ChatList/ChatList.mjs +1 -2
- package/es/chat/ChatList/components/ChatActionsBar.d.mts +0 -2
- package/es/chat/ChatList/components/ChatActionsBar.mjs +1 -2
- package/es/chat/ChatList/components/ChatListItem.mjs +1 -2
- package/es/chat/ChatList/components/HistoryDivider.mjs +1 -2
- package/es/chat/ChatList/components/useChatListActionsBar.mjs +1 -2
- package/es/chat/ChatList/stable.mjs +1 -2
- package/es/chat/ChatList/style.mjs +1 -2
- package/es/chat/ChatList/type.d.mts +0 -2
- package/es/chat/EditableMessage/EditableMessage.d.mts +0 -2
- package/es/chat/EditableMessage/EditableMessage.mjs +1 -2
- package/es/chat/EditableMessage/stable.mjs +1 -2
- package/es/chat/EditableMessage/type.d.mts +0 -2
- package/es/chat/EditableMessageList/EditableMessageList.d.mts +0 -2
- package/es/chat/EditableMessageList/EditableMessageList.mjs +1 -2
- package/es/chat/EditableMessageList/messageReducer.mjs +1 -2
- package/es/chat/EditableMessageList/stable.mjs +1 -2
- package/es/chat/EditableMessageList/type.d.mts +0 -2
- package/es/chat/LoadingDots/LoadingDots.d.mts +0 -2
- package/es/chat/LoadingDots/LoadingDots.mjs +1 -2
- package/es/chat/LoadingDots/stable.mjs +1 -2
- package/es/chat/LoadingDots/style.mjs +1 -2
- package/es/chat/LoadingDots/type.d.mts +0 -2
- package/es/chat/MessageInput/MessageInput.d.mts +0 -2
- package/es/chat/MessageInput/MessageInput.mjs +1 -2
- package/es/chat/MessageInput/stable.mjs +1 -2
- package/es/chat/MessageInput/style.mjs +1 -2
- package/es/chat/MessageInput/type.d.mts +0 -2
- package/es/chat/MessageModal/MessageModal.d.mts +0 -2
- package/es/chat/MessageModal/MessageModal.mjs +1 -2
- package/es/chat/MessageModal/stable.mjs +1 -2
- package/es/chat/MessageModal/type.d.mts +0 -2
- package/es/chat/TokenTag/TokenTag.d.mts +0 -2
- package/es/chat/TokenTag/TokenTag.mjs +1 -2
- package/es/chat/TokenTag/stable.mjs +1 -2
- package/es/chat/TokenTag/type.d.mts +0 -2
- package/es/chat/types/chatMessage.d.mts +0 -2
- package/es/chat/types/error.d.mts +0 -2
- package/es/chat/types/error.mjs +1 -2
- package/es/chat/types/llm.d.mts +0 -2
- package/es/chat/types/llm.mjs +1 -2
- package/es/chat/types/meta.d.mts +0 -2
- package/es/color/ColorScales/ScaleRow.mjs +8 -9
- package/es/color/ColorScales/ScaleRow.mjs.map +1 -1
- package/es/color/ColorScales/index.d.mts +0 -2
- package/es/color/ColorScales/index.mjs +21 -23
- package/es/color/ColorScales/index.mjs.map +1 -1
- package/es/color/ColorScales/stable.mjs +1 -2
- package/es/color/ColorScales/style.mjs +1 -2
- package/es/color/CssVar/ScaleRow.mjs +8 -9
- package/es/color/CssVar/ScaleRow.mjs.map +1 -1
- package/es/color/CssVar/VarRow.mjs +8 -9
- package/es/color/CssVar/VarRow.mjs.map +1 -1
- package/es/color/CssVar/index.d.mts +0 -2
- package/es/color/CssVar/index.mjs +21 -23
- package/es/color/CssVar/index.mjs.map +1 -1
- package/es/color/CssVar/stable.mjs +1 -2
- package/es/color/CssVar/style.mjs +1 -2
- package/es/color/colors/blue.d.mts +0 -2
- package/es/color/colors/blue.mjs +1 -2
- package/es/color/colors/cyan.d.mts +0 -2
- package/es/color/colors/cyan.mjs +1 -2
- package/es/color/colors/geekblue.d.mts +0 -2
- package/es/color/colors/geekblue.mjs +1 -2
- package/es/color/colors/gold.d.mts +0 -2
- package/es/color/colors/gold.mjs +1 -2
- package/es/color/colors/gray.d.mts +0 -2
- package/es/color/colors/gray.mjs +1 -2
- package/es/color/colors/green.d.mts +0 -2
- package/es/color/colors/green.mjs +1 -2
- package/es/color/colors/index.d.mts +0 -2
- package/es/color/colors/index.mjs +1 -2
- package/es/color/colors/lime.d.mts +0 -2
- package/es/color/colors/lime.mjs +1 -2
- package/es/color/colors/magenta.d.mts +0 -2
- package/es/color/colors/magenta.mjs +1 -2
- package/es/color/colors/orange.d.mts +0 -2
- package/es/color/colors/orange.mjs +1 -2
- package/es/color/colors/primary.d.mts +0 -2
- package/es/color/colors/primary.mjs +1 -2
- package/es/color/colors/purple.d.mts +0 -2
- package/es/color/colors/purple.mjs +1 -2
- package/es/color/colors/red.d.mts +0 -2
- package/es/color/colors/red.mjs +1 -2
- package/es/color/colors/volcano.d.mts +0 -2
- package/es/color/colors/volcano.mjs +1 -2
- package/es/color/colors/yellow.d.mts +0 -2
- package/es/color/colors/yellow.mjs +1 -2
- package/es/color/neutrals/index.d.mts +0 -2
- package/es/color/neutrals/index.mjs +1 -2
- package/es/color/neutrals/mauve.d.mts +0 -2
- package/es/color/neutrals/mauve.mjs +1 -2
- package/es/color/neutrals/olive.d.mts +0 -2
- package/es/color/neutrals/olive.mjs +1 -2
- package/es/color/neutrals/sage.d.mts +0 -2
- package/es/color/neutrals/sage.mjs +1 -2
- package/es/color/neutrals/sand.d.mts +0 -2
- package/es/color/neutrals/sand.mjs +1 -2
- package/es/color/neutrals/slate.d.mts +0 -2
- package/es/color/neutrals/slate.mjs +1 -2
- package/es/color/status/error.mjs +1 -2
- package/es/color/status/index.d.mts +0 -2
- package/es/color/status/index.mjs +1 -2
- package/es/color/status/info.mjs +1 -2
- package/es/color/status/success.mjs +1 -2
- package/es/color/status/warning.mjs +1 -2
- package/es/color/types.d.mts +0 -2
- package/es/dashboard/AuthLayout/Aside.d.mts +0 -2
- package/es/dashboard/AuthLayout/Aside.mjs +1 -2
- package/es/dashboard/AuthLayout/AuthLayout.d.mts +0 -2
- package/es/dashboard/AuthLayout/AuthLayout.mjs +1 -2
- package/es/dashboard/AuthLayout/stable.mjs +1 -2
- package/es/dashboard/AuthLayout/style.mjs +1 -2
- package/es/dashboard/AuthLayout/type.d.mts +0 -2
- package/es/dashboard/AuthTools/AuthLocaleSwitch.d.mts +0 -2
- package/es/dashboard/AuthTools/AuthLocaleSwitch.mjs +1 -2
- package/es/dashboard/AuthTools/AuthThemeSwitch.d.mts +0 -2
- package/es/dashboard/AuthTools/AuthThemeSwitch.mjs +1 -2
- package/es/dashboard/AuthTools/stable.mjs +1 -2
- package/es/dashboard/AuthTools/style.mjs +1 -2
- package/es/dashboard/AuthTools/type.d.mts +0 -2
- package/es/dashboard/Breadcrumb/Breadcrumb.d.mts +0 -2
- package/es/dashboard/Breadcrumb/Breadcrumb.mjs +1 -2
- package/es/dashboard/Breadcrumb/stable.mjs +1 -2
- package/es/dashboard/Breadcrumb/style.mjs +1 -2
- package/es/dashboard/Breadcrumb/type.d.mts +0 -2
- package/es/dashboard/ChartGrid/ChartGrid.d.mts +0 -2
- package/es/dashboard/ChartGrid/ChartGrid.mjs +1 -2
- package/es/dashboard/ChartGrid/stable.mjs +1 -2
- package/es/dashboard/ChartGrid/style.mjs +1 -2
- package/es/dashboard/ChartGrid/type.d.mts +0 -2
- package/es/dashboard/ConsoleNav/ConsoleNav.d.mts +0 -2
- package/es/dashboard/ConsoleNav/ConsoleNav.mjs +1 -2
- package/es/dashboard/ConsoleNav/Skeleton.d.mts +0 -2
- package/es/dashboard/ConsoleNav/Skeleton.mjs +1 -2
- package/es/dashboard/ConsoleNav/active.d.mts +0 -2
- package/es/dashboard/ConsoleNav/active.mjs +1 -2
- package/es/dashboard/ConsoleNav/stable.mjs +1 -2
- package/es/dashboard/ConsoleNav/style.mjs +1 -2
- package/es/dashboard/ConsoleNav/type.d.mts +0 -2
- package/es/dashboard/ConsoleShell/ConsoleBrand.d.mts +0 -2
- package/es/dashboard/ConsoleShell/ConsoleBrand.mjs +1 -2
- package/es/dashboard/ConsoleShell/ConsoleShell.d.mts +0 -2
- package/es/dashboard/ConsoleShell/ConsoleShell.mjs +1 -2
- package/es/dashboard/ConsoleShell/context.d.mts +0 -2
- package/es/dashboard/ConsoleShell/context.mjs +1 -2
- package/es/dashboard/ConsoleShell/marker.stylex.mjs +1 -2
- package/es/dashboard/ConsoleShell/stable.mjs +1 -2
- package/es/dashboard/ConsoleShell/style.mjs +1 -2
- package/es/dashboard/ConsoleShell/type.d.mts +0 -2
- package/es/dashboard/FilterSidebar/FilterSidebar.d.mts +0 -2
- package/es/dashboard/FilterSidebar/FilterSidebar.mjs +1 -2
- package/es/dashboard/FilterSidebar/context.d.mts +0 -2
- package/es/dashboard/FilterSidebar/context.mjs +1 -2
- package/es/dashboard/FilterSidebar/stable.mjs +1 -2
- package/es/dashboard/FilterSidebar/style.mjs +1 -2
- package/es/dashboard/FilterSidebar/type.d.mts +0 -2
- package/es/dashboard/FilterSidebar/width.mjs +1 -2
- package/es/dashboard/FilterStrip/FilterStrip.d.mts +0 -2
- package/es/dashboard/FilterStrip/FilterStrip.mjs +1 -2
- package/es/dashboard/FilterStrip/stable.mjs +1 -2
- package/es/dashboard/FilterStrip/style.mjs +1 -2
- package/es/dashboard/FilterStrip/type.d.mts +0 -2
- package/es/dashboard/LabelWithKey/LabelWithKey.d.mts +0 -2
- package/es/dashboard/LabelWithKey/LabelWithKey.mjs +1 -2
- package/es/dashboard/LabelWithKey/stable.mjs +1 -2
- package/es/dashboard/LabelWithKey/type.d.mts +0 -2
- package/es/dashboard/MetricStrip/MetricCell.mjs +1 -2
- package/es/dashboard/MetricStrip/MetricStrip.d.mts +0 -2
- package/es/dashboard/MetricStrip/MetricStrip.mjs +1 -2
- package/es/dashboard/MetricStrip/stable.mjs +1 -2
- package/es/dashboard/MetricStrip/style.mjs +1 -2
- package/es/dashboard/MetricStrip/type.d.mts +0 -2
- package/es/dashboard/PageHeader/PageHeader.d.mts +0 -2
- package/es/dashboard/PageHeader/PageHeader.mjs +1 -2
- package/es/dashboard/PageHeader/stable.mjs +1 -2
- package/es/dashboard/PageHeader/style.mjs +1 -2
- package/es/dashboard/PageHeader/type.d.mts +0 -2
- package/es/dashboard/PageSkeleton/PageSkeleton.d.mts +0 -2
- package/es/dashboard/PageSkeleton/PageSkeleton.mjs +31 -27
- package/es/dashboard/PageSkeleton/PageSkeleton.mjs.map +1 -1
- package/es/dashboard/PageSkeleton/stable.mjs +1 -2
- package/es/dashboard/PageSkeleton/style.mjs +1 -2
- package/es/dashboard/PageSkeleton/type.d.mts +0 -2
- package/es/dashboard/PageTabs/PageTabs.d.mts +0 -2
- package/es/dashboard/PageTabs/PageTabs.mjs +1 -2
- package/es/dashboard/PageTabs/stable.mjs +1 -2
- package/es/dashboard/PageTabs/style.mjs +1 -2
- package/es/dashboard/PageTabs/type.d.mts +0 -2
- package/es/dashboard/PageToolbar/PageToolbar.d.mts +0 -2
- package/es/dashboard/PageToolbar/PageToolbar.mjs +1 -2
- package/es/dashboard/PageToolbar/stable.mjs +1 -2
- package/es/dashboard/PageToolbar/style.mjs +1 -2
- package/es/dashboard/PageToolbar/type.d.mts +0 -2
- package/es/dashboard/PanelSurface/PanelSurface.d.mts +0 -2
- package/es/dashboard/PanelSurface/PanelSurface.mjs +1 -2
- package/es/dashboard/PanelSurface/stable.mjs +1 -2
- package/es/dashboard/PanelSurface/style.mjs +1 -2
- package/es/dashboard/PanelSurface/type.d.mts +0 -2
- package/es/dashboard/RouteProgress/RouteProgress.d.mts +0 -2
- package/es/dashboard/RouteProgress/RouteProgress.mjs +1 -2
- package/es/dashboard/RouteProgress/stable.mjs +1 -2
- package/es/dashboard/RouteProgress/style.mjs +1 -2
- package/es/dashboard/RouteProgress/type.d.mts +0 -2
- package/es/dashboard/Section/Section.d.mts +0 -2
- package/es/dashboard/Section/Section.mjs +1 -2
- package/es/dashboard/Section/stable.mjs +1 -2
- package/es/dashboard/Section/style.mjs +1 -2
- package/es/dashboard/Section/type.d.mts +0 -2
- package/es/dashboard/StatCard/StatCard.d.mts +0 -2
- package/es/dashboard/StatCard/StatCard.mjs +1 -2
- package/es/dashboard/StatCard/stable.mjs +1 -2
- package/es/dashboard/StatCard/type.d.mts +0 -2
- package/es/dashboard/Surface/Surface.d.mts +0 -2
- package/es/dashboard/Surface/Surface.mjs +1 -2
- package/es/dashboard/Surface/link.d.mts +0 -2
- package/es/dashboard/Surface/link.mjs +1 -2
- package/es/dashboard/Surface/marker.stylex.mjs +1 -2
- package/es/dashboard/Surface/stable.mjs +1 -2
- package/es/dashboard/Surface/style.d.mts +0 -2
- package/es/dashboard/Surface/style.mjs +1 -2
- package/es/dashboard/Surface/type.d.mts +0 -2
- package/es/dashboard/TableIconActions/TableIconActions.d.mts +0 -2
- package/es/dashboard/TableIconActions/TableIconActions.mjs +1 -2
- package/es/dashboard/TableIconActions/stable.mjs +1 -2
- package/es/dashboard/TableIconActions/type.d.mts +0 -2
- package/es/dashboard/TitleWithTips/TitleWithTips.d.mts +0 -2
- package/es/dashboard/TitleWithTips/TitleWithTips.mjs +1 -2
- package/es/dashboard/TitleWithTips/stable.mjs +1 -2
- package/es/dashboard/TitleWithTips/type.d.mts +0 -2
- package/es/dashboard/hooks.mjs +1 -2
- package/es/eslint/index.d.mts +1 -3
- package/es/eslint/index.mjs +1 -2
- package/es/eslint/noBaseUiSubpath.mjs +1 -2
- package/es/eslint/noInlineFormSchema.mjs +1 -2
- package/es/hooks/useControlledState.mjs +1 -2
- package/es/hooks/useCopied.mjs +1 -2
- package/es/hooks/useEventCallback.mjs +1 -2
- package/es/hooks/useFloatingLayer.mjs +1 -2
- package/es/hooks/useHighlight.mjs +36 -109
- package/es/hooks/useHighlight.mjs.map +1 -1
- package/es/hooks/useHover.mjs +1 -2
- package/es/hooks/useIsClient.mjs +1 -2
- package/es/hooks/useMarkdown/useMarkdownComponents.mjs +1 -2
- package/es/hooks/useMarkdown/useMarkdownContent.mjs +1 -2
- package/es/hooks/useMarkdown/useMarkdownRehypePlugins.mjs +1 -2
- package/es/hooks/useMarkdown/useMarkdownRemarkPlugins.mjs +1 -2
- package/es/hooks/useMarkdown/utils.d.mts +0 -2
- package/es/hooks/useMarkdown/utils.mjs +1 -2
- package/es/hooks/useMermaid.mjs +1 -2
- package/es/hooks/useNativeButton.mjs +1 -2
- package/es/hooks/useScroll.d.mts +0 -2
- package/es/hooks/useScroll.mjs +1 -2
- package/es/hooks/useSize.mjs +1 -2
- package/es/hooks/useStableValue.mjs +1 -2
- package/es/hooks/useStreamHighlight.mjs +91 -196
- package/es/hooks/useStreamHighlight.mjs.map +1 -1
- package/es/hooks/useStreamMermaid.mjs +1 -2
- package/es/hooks/useTextOverflow.mjs +1 -2
- package/es/i18n/context.d.mts +0 -2
- package/es/i18n/context.mjs +1 -2
- package/es/i18n/resources/en/burger.d.mts +0 -2
- package/es/i18n/resources/en/burger.mjs +1 -2
- package/es/i18n/resources/en/chat.d.mts +0 -2
- package/es/i18n/resources/en/chat.mjs +1 -2
- package/es/i18n/resources/en/colorPicker.d.mts +0 -2
- package/es/i18n/resources/en/colorPicker.mjs +1 -2
- package/es/i18n/resources/en/common.d.mts +0 -2
- package/es/i18n/resources/en/common.mjs +1 -2
- package/es/i18n/resources/en/datePicker.d.mts +0 -2
- package/es/i18n/resources/en/datePicker.mjs +1 -2
- package/es/i18n/resources/en/editableMessage.d.mts +0 -2
- package/es/i18n/resources/en/editableMessage.mjs +1 -2
- package/es/i18n/resources/en/emojiPicker.d.mts +0 -2
- package/es/i18n/resources/en/emojiPicker.mjs +1 -2
- package/es/i18n/resources/en/form.d.mts +0 -2
- package/es/i18n/resources/en/form.mjs +1 -2
- package/es/i18n/resources/en/hotkey.d.mts +0 -2
- package/es/i18n/resources/en/hotkey.mjs +1 -2
- package/es/i18n/resources/en/image.d.mts +0 -2
- package/es/i18n/resources/en/image.mjs +1 -2
- package/es/i18n/resources/en/index.d.mts +0 -1
- package/es/i18n/resources/en/index.mjs +1 -2
- package/es/i18n/resources/en/messageModal.d.mts +0 -2
- package/es/i18n/resources/en/messageModal.mjs +1 -2
- package/es/i18n/resources/en/qrCode.d.mts +0 -2
- package/es/i18n/resources/en/qrCode.mjs +1 -2
- package/es/i18n/resources/en/sideNav.d.mts +0 -2
- package/es/i18n/resources/en/sideNav.mjs +1 -2
- package/es/i18n/resources/en/table.d.mts +0 -2
- package/es/i18n/resources/en/table.mjs +1 -2
- package/es/i18n/resources/en/video.d.mts +0 -2
- package/es/i18n/resources/en/video.mjs +1 -2
- package/es/i18n/resources/zhCn/burger.d.mts +0 -2
- package/es/i18n/resources/zhCn/burger.mjs +1 -2
- package/es/i18n/resources/zhCn/chat.d.mts +0 -2
- package/es/i18n/resources/zhCn/chat.mjs +1 -2
- package/es/i18n/resources/zhCn/colorPicker.d.mts +0 -2
- package/es/i18n/resources/zhCn/colorPicker.mjs +1 -2
- package/es/i18n/resources/zhCn/common.d.mts +0 -2
- package/es/i18n/resources/zhCn/common.mjs +1 -2
- package/es/i18n/resources/zhCn/datePicker.d.mts +0 -2
- package/es/i18n/resources/zhCn/datePicker.mjs +1 -2
- package/es/i18n/resources/zhCn/editableMessage.d.mts +0 -2
- package/es/i18n/resources/zhCn/editableMessage.mjs +1 -2
- package/es/i18n/resources/zhCn/emojiPicker.d.mts +0 -2
- package/es/i18n/resources/zhCn/emojiPicker.mjs +1 -2
- package/es/i18n/resources/zhCn/form.d.mts +0 -2
- package/es/i18n/resources/zhCn/form.mjs +1 -2
- package/es/i18n/resources/zhCn/hotkey.d.mts +0 -2
- package/es/i18n/resources/zhCn/hotkey.mjs +1 -2
- package/es/i18n/resources/zhCn/image.d.mts +0 -2
- package/es/i18n/resources/zhCn/image.mjs +1 -2
- package/es/i18n/resources/zhCn/index.d.mts +0 -1
- package/es/i18n/resources/zhCn/index.mjs +1 -2
- package/es/i18n/resources/zhCn/messageModal.d.mts +0 -2
- package/es/i18n/resources/zhCn/messageModal.mjs +1 -2
- package/es/i18n/resources/zhCn/qrCode.d.mts +0 -2
- package/es/i18n/resources/zhCn/qrCode.mjs +1 -2
- package/es/i18n/resources/zhCn/sideNav.d.mts +0 -2
- package/es/i18n/resources/zhCn/sideNav.mjs +1 -2
- package/es/i18n/resources/zhCn/table.d.mts +0 -2
- package/es/i18n/resources/zhCn/table.mjs +1 -2
- package/es/i18n/resources/zhCn/video.d.mts +0 -2
- package/es/i18n/resources/zhCn/video.mjs +1 -2
- package/es/i18n/types.d.mts +0 -2
- package/es/i18n/useTranslation.d.mts +0 -2
- package/es/i18n/useTranslation.mjs +1 -2
- package/es/icons/Auth0/components/Avatar.d.mts +0 -2
- package/es/icons/Auth0/components/Avatar.mjs +1 -2
- package/es/icons/Auth0/components/Mono.d.mts +0 -2
- package/es/icons/Auth0/components/Mono.mjs +1 -2
- package/es/icons/Auth0/index.d.mts +0 -2
- package/es/icons/Auth0/index.mjs +1 -2
- package/es/icons/Auth0/style.mjs +1 -2
- package/es/icons/Authelia/components/Avatar.d.mts +0 -2
- package/es/icons/Authelia/components/Avatar.mjs +1 -2
- package/es/icons/Authelia/components/Color.d.mts +0 -2
- package/es/icons/Authelia/components/Color.mjs +1 -2
- package/es/icons/Authelia/components/Mono.d.mts +0 -2
- package/es/icons/Authelia/components/Mono.mjs +1 -2
- package/es/icons/Authelia/index.d.mts +0 -2
- package/es/icons/Authelia/index.mjs +1 -2
- package/es/icons/Authelia/style.mjs +1 -2
- package/es/icons/Authentik/components/Avatar.d.mts +0 -2
- package/es/icons/Authentik/components/Avatar.mjs +1 -2
- package/es/icons/Authentik/components/Color.d.mts +0 -2
- package/es/icons/Authentik/components/Color.mjs +1 -2
- package/es/icons/Authentik/components/Mono.d.mts +0 -2
- package/es/icons/Authentik/components/Mono.mjs +1 -2
- package/es/icons/Authentik/index.d.mts +0 -2
- package/es/icons/Authentik/index.mjs +1 -2
- package/es/icons/Authentik/style.mjs +1 -2
- package/es/icons/Casdoor/components/Avatar.d.mts +0 -2
- package/es/icons/Casdoor/components/Avatar.mjs +1 -2
- package/es/icons/Casdoor/components/Color.d.mts +0 -2
- package/es/icons/Casdoor/components/Color.mjs +1 -2
- package/es/icons/Casdoor/components/Mono.d.mts +0 -2
- package/es/icons/Casdoor/components/Mono.mjs +1 -2
- package/es/icons/Casdoor/index.d.mts +0 -2
- package/es/icons/Casdoor/index.mjs +1 -2
- package/es/icons/Casdoor/style.mjs +1 -2
- package/es/icons/Clerk/components/Avatar.d.mts +0 -2
- package/es/icons/Clerk/components/Avatar.mjs +1 -2
- package/es/icons/Clerk/components/Color.d.mts +0 -2
- package/es/icons/Clerk/components/Color.mjs +1 -2
- package/es/icons/Clerk/components/Mono.d.mts +0 -2
- package/es/icons/Clerk/components/Mono.mjs +1 -2
- package/es/icons/Clerk/index.d.mts +0 -2
- package/es/icons/Clerk/index.mjs +1 -2
- package/es/icons/Clerk/style.mjs +1 -2
- package/es/icons/DingTalk/components/Avatar.d.mts +0 -2
- package/es/icons/DingTalk/components/Avatar.mjs +1 -2
- package/es/icons/DingTalk/components/Color.d.mts +0 -2
- package/es/icons/DingTalk/components/Color.mjs +1 -2
- package/es/icons/DingTalk/components/Mono.d.mts +0 -2
- package/es/icons/DingTalk/components/Mono.mjs +1 -2
- package/es/icons/DingTalk/index.d.mts +0 -2
- package/es/icons/DingTalk/index.mjs +1 -2
- package/es/icons/DingTalk/style.mjs +1 -2
- package/es/icons/Discord/components/Avatar.d.mts +0 -2
- package/es/icons/Discord/components/Avatar.mjs +1 -2
- package/es/icons/Discord/components/Color.d.mts +0 -2
- package/es/icons/Discord/components/Color.mjs +1 -2
- package/es/icons/Discord/components/Mono.d.mts +0 -2
- package/es/icons/Discord/components/Mono.mjs +1 -2
- package/es/icons/Discord/index.d.mts +0 -2
- package/es/icons/Discord/index.mjs +1 -2
- package/es/icons/Discord/style.mjs +1 -2
- package/es/icons/GoogleChat/components/Avatar.d.mts +0 -2
- package/es/icons/GoogleChat/components/Avatar.mjs +1 -2
- package/es/icons/GoogleChat/components/Color.d.mts +0 -2
- package/es/icons/GoogleChat/components/Color.mjs +1 -2
- package/es/icons/GoogleChat/components/Mono.d.mts +0 -2
- package/es/icons/GoogleChat/components/Mono.mjs +1 -2
- package/es/icons/GoogleChat/index.d.mts +0 -2
- package/es/icons/GoogleChat/index.mjs +1 -2
- package/es/icons/GoogleChat/style.mjs +1 -2
- package/es/icons/IMessage/components/Avatar.d.mts +0 -2
- package/es/icons/IMessage/components/Avatar.mjs +1 -2
- package/es/icons/IMessage/components/Color.d.mts +0 -2
- package/es/icons/IMessage/components/Color.mjs +1 -2
- package/es/icons/IMessage/components/Inner.mjs +1 -2
- package/es/icons/IMessage/components/Mono.d.mts +0 -2
- package/es/icons/IMessage/components/Mono.mjs +1 -2
- package/es/icons/IMessage/index.d.mts +0 -2
- package/es/icons/IMessage/index.mjs +1 -2
- package/es/icons/IMessage/style.mjs +1 -2
- package/es/icons/Lark/components/Avatar.d.mts +0 -2
- package/es/icons/Lark/components/Avatar.mjs +1 -2
- package/es/icons/Lark/components/Color.d.mts +0 -2
- package/es/icons/Lark/components/Color.mjs +1 -2
- package/es/icons/Lark/components/Mono.d.mts +0 -2
- package/es/icons/Lark/components/Mono.mjs +1 -2
- package/es/icons/Lark/index.d.mts +0 -2
- package/es/icons/Lark/index.mjs +1 -2
- package/es/icons/Lark/style.mjs +1 -2
- package/es/icons/Line/components/Avatar.d.mts +0 -2
- package/es/icons/Line/components/Avatar.mjs +1 -2
- package/es/icons/Line/components/Color.d.mts +0 -2
- package/es/icons/Line/components/Color.mjs +1 -2
- package/es/icons/Line/components/Mono.d.mts +0 -2
- package/es/icons/Line/components/Mono.mjs +1 -2
- package/es/icons/Line/index.d.mts +0 -2
- package/es/icons/Line/index.mjs +1 -2
- package/es/icons/Line/style.mjs +1 -2
- package/es/icons/Logto/components/Avatar.d.mts +0 -2
- package/es/icons/Logto/components/Avatar.mjs +1 -2
- package/es/icons/Logto/components/Color.d.mts +0 -2
- package/es/icons/Logto/components/Color.mjs +1 -2
- package/es/icons/Logto/components/Mono.d.mts +0 -2
- package/es/icons/Logto/components/Mono.mjs +1 -2
- package/es/icons/Logto/index.d.mts +0 -2
- package/es/icons/Logto/index.mjs +1 -2
- package/es/icons/Logto/style.mjs +1 -2
- package/es/icons/MicrosoftEntra/components/Avatar.d.mts +0 -2
- package/es/icons/MicrosoftEntra/components/Avatar.mjs +1 -2
- package/es/icons/MicrosoftEntra/components/Color.d.mts +0 -2
- package/es/icons/MicrosoftEntra/components/Color.mjs +1 -2
- package/es/icons/MicrosoftEntra/components/Mono.d.mts +0 -2
- package/es/icons/MicrosoftEntra/components/Mono.mjs +1 -2
- package/es/icons/MicrosoftEntra/index.d.mts +0 -2
- package/es/icons/MicrosoftEntra/index.mjs +1 -2
- package/es/icons/MicrosoftEntra/style.mjs +1 -2
- package/es/icons/MicrosoftTeams/components/Avatar.d.mts +0 -2
- package/es/icons/MicrosoftTeams/components/Avatar.mjs +1 -2
- package/es/icons/MicrosoftTeams/components/Color.d.mts +0 -2
- package/es/icons/MicrosoftTeams/components/Color.mjs +1 -2
- package/es/icons/MicrosoftTeams/components/Mono.d.mts +0 -2
- package/es/icons/MicrosoftTeams/components/Mono.mjs +1 -2
- package/es/icons/MicrosoftTeams/index.d.mts +0 -2
- package/es/icons/MicrosoftTeams/index.mjs +1 -2
- package/es/icons/MicrosoftTeams/style.mjs +1 -2
- package/es/icons/NextAuth/components/Avatar.d.mts +0 -2
- package/es/icons/NextAuth/components/Avatar.mjs +1 -2
- package/es/icons/NextAuth/components/Color.d.mts +0 -2
- package/es/icons/NextAuth/components/Color.mjs +1 -2
- package/es/icons/NextAuth/components/Mono.d.mts +0 -2
- package/es/icons/NextAuth/components/Mono.mjs +1 -2
- package/es/icons/NextAuth/index.d.mts +0 -2
- package/es/icons/NextAuth/index.mjs +1 -2
- package/es/icons/NextAuth/style.mjs +1 -2
- package/es/icons/QQ/components/Avatar.d.mts +0 -2
- package/es/icons/QQ/components/Avatar.mjs +1 -2
- package/es/icons/QQ/components/Color.d.mts +0 -2
- package/es/icons/QQ/components/Color.mjs +1 -2
- package/es/icons/QQ/components/Mono.d.mts +0 -2
- package/es/icons/QQ/components/Mono.mjs +1 -2
- package/es/icons/QQ/index.d.mts +0 -2
- package/es/icons/QQ/index.mjs +1 -2
- package/es/icons/QQ/style.mjs +1 -2
- package/es/icons/Slack/components/Avatar.d.mts +0 -2
- package/es/icons/Slack/components/Avatar.mjs +1 -2
- package/es/icons/Slack/components/Color.d.mts +0 -2
- package/es/icons/Slack/components/Color.mjs +1 -2
- package/es/icons/Slack/components/Mono.d.mts +0 -2
- package/es/icons/Slack/components/Mono.mjs +1 -2
- package/es/icons/Slack/index.d.mts +0 -2
- package/es/icons/Slack/index.mjs +1 -2
- package/es/icons/Slack/style.mjs +1 -2
- package/es/icons/Telegram/components/Avatar.d.mts +0 -2
- package/es/icons/Telegram/components/Avatar.mjs +1 -2
- package/es/icons/Telegram/components/Color.d.mts +0 -2
- package/es/icons/Telegram/components/Color.mjs +1 -2
- package/es/icons/Telegram/components/Inner.mjs +1 -2
- package/es/icons/Telegram/components/Mono.d.mts +0 -2
- package/es/icons/Telegram/components/Mono.mjs +1 -2
- package/es/icons/Telegram/index.d.mts +0 -2
- package/es/icons/Telegram/index.mjs +1 -2
- package/es/icons/Telegram/style.mjs +1 -2
- package/es/icons/WeChat/components/Avatar.d.mts +0 -2
- package/es/icons/WeChat/components/Avatar.mjs +1 -2
- package/es/icons/WeChat/components/Color.d.mts +0 -2
- package/es/icons/WeChat/components/Color.mjs +1 -2
- package/es/icons/WeChat/components/Mono.d.mts +0 -2
- package/es/icons/WeChat/components/Mono.mjs +1 -2
- package/es/icons/WeChat/index.d.mts +0 -2
- package/es/icons/WeChat/index.mjs +1 -2
- package/es/icons/WeChat/style.mjs +1 -2
- package/es/icons/WhatsApp/components/Avatar.d.mts +0 -2
- package/es/icons/WhatsApp/components/Avatar.mjs +1 -2
- package/es/icons/WhatsApp/components/Color.d.mts +0 -2
- package/es/icons/WhatsApp/components/Color.mjs +1 -2
- package/es/icons/WhatsApp/components/Mono.d.mts +0 -2
- package/es/icons/WhatsApp/components/Mono.mjs +1 -2
- package/es/icons/WhatsApp/index.d.mts +0 -2
- package/es/icons/WhatsApp/index.mjs +1 -2
- package/es/icons/WhatsApp/style.mjs +1 -2
- package/es/icons/Zitadel/components/Avatar.d.mts +0 -2
- package/es/icons/Zitadel/components/Avatar.mjs +1 -2
- package/es/icons/Zitadel/components/Color.d.mts +0 -2
- package/es/icons/Zitadel/components/Color.mjs +1 -2
- package/es/icons/Zitadel/components/Mono.d.mts +0 -2
- package/es/icons/Zitadel/components/Mono.mjs +1 -2
- package/es/icons/Zitadel/index.d.mts +0 -2
- package/es/icons/Zitadel/index.mjs +1 -2
- package/es/icons/Zitadel/style.mjs +1 -2
- package/es/icons/lucideExtra/AndroidIcon.d.mts +0 -2
- package/es/icons/lucideExtra/AndroidIcon.mjs +1 -2
- package/es/icons/lucideExtra/AppleIcon.d.mts +0 -2
- package/es/icons/lucideExtra/AppleIcon.mjs +1 -2
- package/es/icons/lucideExtra/AppstoreIcon.d.mts +0 -2
- package/es/icons/lucideExtra/AppstoreIcon.mjs +1 -2
- package/es/icons/lucideExtra/BotPromptIcon.d.mts +0 -2
- package/es/icons/lucideExtra/BotPromptIcon.mjs +1 -2
- package/es/icons/lucideExtra/BrainOffIcon.d.mts +0 -2
- package/es/icons/lucideExtra/BrainOffIcon.mjs +1 -2
- package/es/icons/lucideExtra/ChromeIcon.d.mts +0 -2
- package/es/icons/lucideExtra/ChromeIcon.mjs +1 -2
- package/es/icons/lucideExtra/CodepenIcon.d.mts +0 -2
- package/es/icons/lucideExtra/CodepenIcon.mjs +1 -2
- package/es/icons/lucideExtra/CodesandboxIcon.d.mts +0 -2
- package/es/icons/lucideExtra/CodesandboxIcon.mjs +1 -2
- package/es/icons/lucideExtra/CreateBotIcon.d.mts +0 -2
- package/es/icons/lucideExtra/CreateBotIcon.mjs +1 -2
- package/es/icons/lucideExtra/DiscordIcon.d.mts +0 -2
- package/es/icons/lucideExtra/DiscordIcon.mjs +1 -2
- package/es/icons/lucideExtra/FacebookIcon.d.mts +0 -2
- package/es/icons/lucideExtra/FacebookIcon.mjs +1 -2
- package/es/icons/lucideExtra/FigmaIcon.d.mts +0 -2
- package/es/icons/lucideExtra/FigmaIcon.mjs +1 -2
- package/es/icons/lucideExtra/FramerIcon.d.mts +0 -2
- package/es/icons/lucideExtra/FramerIcon.mjs +1 -2
- package/es/icons/lucideExtra/GithubIcon.d.mts +0 -2
- package/es/icons/lucideExtra/GithubIcon.mjs +1 -2
- package/es/icons/lucideExtra/GitlabIcon.d.mts +0 -2
- package/es/icons/lucideExtra/GitlabIcon.mjs +1 -2
- package/es/icons/lucideExtra/GlobeOffIcon.d.mts +0 -2
- package/es/icons/lucideExtra/GlobeOffIcon.mjs +1 -2
- package/es/icons/lucideExtra/GooglePlayIcon.d.mts +0 -2
- package/es/icons/lucideExtra/GooglePlayIcon.mjs +1 -2
- package/es/icons/lucideExtra/GroupBotIcon.d.mts +0 -2
- package/es/icons/lucideExtra/GroupBotIcon.mjs +1 -2
- package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +0 -2
- package/es/icons/lucideExtra/GroupBotSquareIcon.mjs +1 -2
- package/es/icons/lucideExtra/InstagramIcon.d.mts +0 -2
- package/es/icons/lucideExtra/InstagramIcon.mjs +1 -2
- package/es/icons/lucideExtra/LeftClickIcon.d.mts +0 -2
- package/es/icons/lucideExtra/LeftClickIcon.mjs +1 -2
- package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +0 -2
- package/es/icons/lucideExtra/LeftDoubleClickIcon.mjs +1 -2
- package/es/icons/lucideExtra/LinkedinIcon.d.mts +0 -2
- package/es/icons/lucideExtra/LinkedinIcon.mjs +1 -2
- package/es/icons/lucideExtra/McpIcon.d.mts +0 -2
- package/es/icons/lucideExtra/McpIcon.mjs +1 -2
- package/es/icons/lucideExtra/NotionIcon.d.mts +0 -2
- package/es/icons/lucideExtra/NotionIcon.mjs +1 -2
- package/es/icons/lucideExtra/PocketIcon.d.mts +0 -2
- package/es/icons/lucideExtra/PocketIcon.mjs +1 -2
- package/es/icons/lucideExtra/ProviderIcon.d.mts +0 -2
- package/es/icons/lucideExtra/ProviderIcon.mjs +1 -2
- package/es/icons/lucideExtra/RailSymbolIcon.d.mts +0 -2
- package/es/icons/lucideExtra/RailSymbolIcon.mjs +1 -2
- package/es/icons/lucideExtra/RedditIcon.d.mts +0 -2
- package/es/icons/lucideExtra/RedditIcon.mjs +1 -2
- package/es/icons/lucideExtra/RightClickIcon.d.mts +0 -2
- package/es/icons/lucideExtra/RightClickIcon.mjs +1 -2
- package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +0 -2
- package/es/icons/lucideExtra/RightDoubleClickIcon.mjs +1 -2
- package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +0 -2
- package/es/icons/lucideExtra/ShapesUploadIcon.mjs +1 -2
- package/es/icons/lucideExtra/SkillsIcon.d.mts +0 -2
- package/es/icons/lucideExtra/SkillsIcon.mjs +1 -2
- package/es/icons/lucideExtra/SlackIcon.d.mts +0 -2
- package/es/icons/lucideExtra/SlackIcon.mjs +1 -2
- package/es/icons/lucideExtra/ThinkIcon.d.mts +0 -2
- package/es/icons/lucideExtra/ThinkIcon.mjs +1 -2
- package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +0 -2
- package/es/icons/lucideExtra/TreeDownRightIcon.mjs +1 -2
- package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +0 -2
- package/es/icons/lucideExtra/TreeUpDownRightIcon.mjs +1 -2
- package/es/index.d.mts +5 -2
- package/es/index.mjs +2 -1
- package/es/internal/SubmenuArrowIcon.mjs +1 -2
- package/es/internal/controlSize.d.mts +0 -2
- package/es/internal/controlSize.mjs +1 -2
- package/es/internal/floating/collisionPadding.d.mts +0 -2
- package/es/internal/floating/collisionPadding.mjs +1 -2
- package/es/internal/menu/baseItem.d.mts +0 -2
- package/es/internal/menu/checkboxItem.d.mts +0 -2
- package/es/internal/menu/itemInterface.d.mts +0 -2
- package/es/internal/menu/renderUtils.d.mts +0 -2
- package/es/internal/menu/renderUtils.mjs +1 -2
- package/es/internal/menu/switchItem.d.mts +0 -2
- package/es/internal/menu/type.d.mts +0 -2
- package/es/internal/overflow/OverflowList.mjs +1 -2
- package/es/internal/panelStyles.mjs +1 -2
- package/es/internal/virtual/MenuVirtualList.mjs +1 -2
- package/es/internal/virtual/VirtualScrollArea.mjs +1 -2
- package/es/internal/virtual/type.d.mts +0 -2
- package/es/internal/virtual/useMenuVirtualList.mjs +1 -2
- package/es/internal/zIndex/constants.mjs +1 -2
- package/es/internal/zIndex/manager.mjs +1 -2
- package/es/internal/zIndex/useLayerZIndex.mjs +1 -2
- package/es/mdx/Callout/index.d.mts +0 -2
- package/es/mdx/Callout/index.mjs +1 -2
- package/es/mdx/Callout/stable.mjs +1 -2
- package/es/mdx/Callout/style.mjs +1 -2
- package/es/mdx/Cards/Card.d.mts +0 -2
- package/es/mdx/Cards/Card.mjs +1 -2
- package/es/mdx/Cards/index.d.mts +0 -2
- package/es/mdx/Cards/index.mjs +1 -2
- package/es/mdx/Cards/marker.stylex.mjs +1 -2
- package/es/mdx/Cards/stable.mjs +1 -2
- package/es/mdx/Cards/style.mjs +1 -2
- package/es/mdx/FileTree/File.d.mts +0 -2
- package/es/mdx/FileTree/File.mjs +1 -2
- package/es/mdx/FileTree/Folder.d.mts +0 -2
- package/es/mdx/FileTree/Folder.mjs +1 -2
- package/es/mdx/FileTree/index.d.mts +0 -2
- package/es/mdx/FileTree/index.mjs +1 -2
- package/es/mdx/FileTree/stable.mjs +1 -2
- package/es/mdx/FileTree/style.mjs +1 -2
- package/es/mdx/Mdx/index.d.mts +0 -2
- package/es/mdx/Mdx/index.mjs +1 -2
- package/es/mdx/Mdx/stable.mjs +1 -2
- package/es/mdx/Steps/index.d.mts +0 -2
- package/es/mdx/Steps/index.mjs +1 -2
- package/es/mdx/Steps/stable.mjs +1 -2
- package/es/mdx/Steps/style.mjs +1 -2
- package/es/mdx/Tabs/Tab.d.mts +0 -2
- package/es/mdx/Tabs/Tab.mjs +1 -2
- package/es/mdx/Tabs/index.d.mts +0 -2
- package/es/mdx/Tabs/index.mjs +1 -2
- package/es/mdx/Tabs/stable.mjs +1 -2
- package/es/mdx/Tabs/style.mjs +1 -2
- package/es/mdx/mdxComponents/Citation/PopoverPanel.mjs +1 -2
- package/es/mdx/mdxComponents/Citation/index.mjs +1 -2
- package/es/mdx/mdxComponents/Citation/style.mjs +1 -2
- package/es/mdx/mdxComponents/CodeBlock.d.mts +0 -2
- package/es/mdx/mdxComponents/CodeBlock.mjs +1 -2
- package/es/mdx/mdxComponents/Image.d.mts +0 -2
- package/es/mdx/mdxComponents/Image.mjs +1 -2
- package/es/mdx/mdxComponents/Link.d.mts +0 -2
- package/es/mdx/mdxComponents/Link.mjs +1 -2
- package/es/mdx/mdxComponents/Pre.d.mts +0 -2
- package/es/mdx/mdxComponents/Pre.mjs +1 -2
- package/es/mdx/mdxComponents/Section.mjs +1 -2
- package/es/mdx/mdxComponents/Video.d.mts +0 -2
- package/es/mdx/mdxComponents/Video.mjs +1 -2
- package/es/mdx/mdxComponents/index.d.mts +0 -2
- package/es/mdx/mdxComponents/index.mjs +1 -2
- package/es/mdx/mdxComponents/stable.mjs +1 -2
- package/es/mobile/ChatHeader/ChatHeader.mjs +1 -2
- package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +0 -2
- package/es/mobile/ChatHeader/ChatHeaderTitle.mjs +1 -2
- package/es/mobile/ChatHeader/index.d.mts +0 -2
- package/es/mobile/ChatHeader/index.mjs +1 -2
- package/es/mobile/ChatHeader/stable.mjs +1 -2
- package/es/mobile/ChatHeader/style.mjs +1 -2
- package/es/mobile/ChatHeader/type.d.mts +0 -2
- package/es/mobile/ChatInputArea/ChatInputArea.mjs +1 -2
- package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +0 -2
- package/es/mobile/ChatInputArea/components/ChatSendButton.mjs +1 -2
- package/es/mobile/ChatInputArea/index.d.mts +0 -2
- package/es/mobile/ChatInputArea/index.mjs +1 -2
- package/es/mobile/ChatInputArea/stable.mjs +1 -2
- package/es/mobile/ChatInputArea/style.mjs +1 -2
- package/es/mobile/ChatInputArea/type.d.mts +0 -2
- package/es/mobile/SafeArea/SafeArea.d.mts +0 -2
- package/es/mobile/SafeArea/SafeArea.mjs +1 -2
- package/es/mobile/SafeArea/stable.mjs +1 -2
- package/es/mobile/SafeArea/style.mjs +1 -2
- package/es/mobile/SafeArea/type.d.mts +0 -2
- package/es/mobile/TabBar/TabBar.d.mts +0 -2
- package/es/mobile/TabBar/TabBar.mjs +1 -2
- package/es/mobile/TabBar/stable.mjs +1 -2
- package/es/mobile/TabBar/style.mjs +1 -2
- package/es/mobile/TabBar/type.d.mts +0 -2
- package/es/node_modules/.pnpm/@eslint_core@1.2.1/node_modules/@eslint/core/dist/esm/types.d.mts +0 -2
- package/es/node_modules/.pnpm/@eslint_plugin-kit@0.7.3/node_modules/@eslint/plugin-kit/dist/cjs/index.d.mts +0 -2
- package/es/node_modules/.pnpm/@eslint_plugin-kit@0.7.3/node_modules/@eslint/plugin-kit/dist/cjs/types.d.mts +0 -2
- package/es/node_modules/.pnpm/@types_estree@1.0.9/node_modules/@types/estree/index.d.mts +0 -2
- package/es/node_modules/.pnpm/@types_json-schema@7.0.15/node_modules/@types/json-schema/index.d.mts +0 -2
- package/es/node_modules/.pnpm/@types_mdx@2.0.14/node_modules/@types/mdx/types.d.mts +0 -2
- package/es/node_modules/.pnpm/@types_unist@3.0.3/node_modules/@types/unist/index.d.mts +0 -2
- package/es/node_modules/.pnpm/{eslint@10.13.0_jiti@2.6.1_supports-color@10.2.2 → eslint@10.13.0_jiti@2.7.0_supports-color@10.2.2}/node_modules/eslint/lib/types/index.d.mts +0 -2
- package/es/node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.mjs +1 -2
- package/es/spline/LogoThree/Loading.mjs +1 -2
- package/es/spline/LogoThree/LogoSpline.d.mts +0 -2
- package/es/spline/LogoThree/LogoSpline.mjs +1 -2
- package/es/spline/LogoThree/index.d.mts +0 -2
- package/es/spline/LogoThree/index.mjs +1 -2
- package/es/spline/Spline/ParentSize.mjs +1 -2
- package/es/spline/Spline/Spine.d.mts +0 -2
- package/es/spline/Spline/Spine.mjs +1 -2
- package/es/spline/Spline/type.d.mts +0 -2
- package/es/storybook/StoryBook/index.d.mts +0 -2
- package/es/storybook/StoryBook/index.mjs +1 -2
- package/es/storybook/StoryBook/style.mjs +1 -2
- package/es/style.css +95 -46
- package/es/styles/classNames.d.mts +0 -2
- package/es/styles/classNames.mjs +1 -2
- package/es/styles/createGlobalStyle.d.mts +0 -2
- package/es/styles/createGlobalStyle.mjs +1 -2
- package/es/styles/css.d.mts +0 -2
- package/es/styles/css.mjs +1 -2
- package/es/styles/customTheme.d.mts +0 -2
- package/es/styles/customTheme.mjs +1 -2
- package/es/styles/stylex/cssVar.stylex.mjs +1 -2
- package/es/styles/stylex/focusRing.mjs +1 -2
- package/es/styles/stylex/props.mjs +1 -2
- package/es/styles/stylex/stylish.mjs +1 -2
- package/es/styles/theme/createLobeToken.d.mts +0 -2
- package/es/styles/theme/createLobeToken.mjs +1 -2
- package/es/styles/theme/customNeutral.d.mts +0 -2
- package/es/styles/theme/customNeutral.mjs +1 -2
- package/es/styles/theme/customPalette.d.mts +0 -2
- package/es/styles/theme/customPalette.mjs +1 -2
- package/es/styles/theme/customPrimary.d.mts +0 -2
- package/es/styles/theme/customPrimary.mjs +1 -2
- package/es/styles/theme/customStylishStatic.d.mts +0 -2
- package/es/styles/theme/customStylishStatic.mjs +1 -2
- package/es/styles/theme/customToken.mjs +1 -2
- package/es/styles/theme/generateColorPalette.d.mts +0 -2
- package/es/styles/theme/generateColorPalette.mjs +1 -2
- package/es/styles/theme/scope.d.mts +0 -2
- package/es/styles/theme/scope.mjs +1 -2
- package/es/styles/theme/stable.mjs +1 -2
- package/es/styles/theme/themeCss.d.mts +0 -2
- package/es/styles/theme/themeCss.mjs +1 -2
- package/es/styles/theme/token/base.mjs +1 -2
- package/es/styles/theme/token/legacy.mjs +1 -2
- package/es/styles/theme/token/neutral.mjs +1 -2
- package/es/styles/theme/token/neutralText.d.mts +0 -2
- package/es/styles/theme/token/neutralText.mjs +1 -2
- package/es/styles/theme/token/palette.mjs +1 -2
- package/es/styles/theme/token/primary.mjs +1 -2
- package/es/styles/theme/token/shadow.mjs +1 -2
- package/es/styles/theme/token/static.mjs +1 -2
- package/es/types/citation.d.mts +0 -2
- package/es/types/customStylish.d.mts +0 -2
- package/es/types/customToken.d.mts +0 -2
- package/es/types/index.d.mts +0 -2
- package/es/types/trigger.d.mts +0 -2
- package/es/utils/bem.mjs +1 -2
- package/es/utils/blobToPng.mjs +1 -2
- package/es/utils/colorMath.mjs +1 -2
- package/es/utils/copyToClipboard.d.mts +0 -2
- package/es/utils/copyToClipboard.mjs +1 -2
- package/es/utils/destroyOnInvalidActiveTriggerElement.mjs +1 -2
- package/es/utils/devSingleton.mjs +1 -2
- package/es/utils/dom.d.mts +0 -2
- package/es/utils/dom.mjs +1 -2
- package/es/utils/downloadBlob.mjs +1 -2
- package/es/utils/formatNumber.mjs +1 -2
- package/es/utils/formatTime.mjs +1 -2
- package/es/utils/genCdnUrl.d.mts +0 -2
- package/es/utils/genCdnUrl.mjs +1 -2
- package/es/utils/getElementRef.mjs +1 -2
- package/es/utils/hashString.mjs +1 -2
- package/es/utils/isDeepEqual.mjs +1 -2
- package/es/utils/mergeRefs.mjs +1 -2
- package/es/utils/parseTrigger.d.mts +0 -2
- package/es/utils/parseTrigger.mjs +1 -2
- package/es/utils/placement.d.mts +0 -2
- package/es/utils/placement.mjs +1 -2
- package/es/utils/safeParseJSON.mjs +1 -2
- package/es/utils/safeReadableColor.mjs +1 -2
- package/es/utils/smoothCorners.d.mts +0 -2
- package/es/utils/smoothCorners.mjs +1 -2
- package/es/utils/useRepopOnFarTriggerSwitch.mjs +0 -1
- package/package.json +4 -6
|
@@ -1,219 +1,114 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import lobe_theme_default from "../Highlighter/theme/lobe-theme.mjs";
|
|
3
2
|
import { getCodeLanguageByInput } from "../Highlighter/const.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
const lines =
|
|
11
|
-
let
|
|
12
|
-
|
|
13
|
-
const content = token.content ?? "";
|
|
14
|
-
if (content === "\n") {
|
|
15
|
-
lines.push(currentLine);
|
|
16
|
-
currentLine = [];
|
|
17
|
-
continue;
|
|
18
|
-
}
|
|
19
|
-
if (content.indexOf("\n") === -1) currentLine.push(token);
|
|
20
|
-
else {
|
|
21
|
-
const segments = content.split("\n");
|
|
22
|
-
for (const [j, segment] of segments.entries()) {
|
|
23
|
-
if (segment) currentLine.push(j === 0 && segment === content ? token : {
|
|
24
|
-
...token,
|
|
25
|
-
content: segment
|
|
26
|
-
});
|
|
27
|
-
if (j < segments.length - 1) {
|
|
28
|
-
lines.push(currentLine);
|
|
29
|
-
currentLine = [];
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
if (currentLine.length > 0 || lines.length === 0) lines.push(currentLine);
|
|
35
|
-
return lines.length > 0 ? lines : [[]];
|
|
3
|
+
import { useHighlighterEngine } from "../Highlighter/engine.mjs";
|
|
4
|
+
import { getPreStyle } from "../Highlighter/tokens.mjs";
|
|
5
|
+
import { useEffect, useMemo, useRef, useState } from "react";
|
|
6
|
+
// src/hooks/useStreamHighlight.ts
|
|
7
|
+
const readLines = (session, from) => {
|
|
8
|
+
const { tokenizer } = session;
|
|
9
|
+
const lines = session.lines.slice(0, Math.min(from, tokenizer.lineCount));
|
|
10
|
+
for (let line = lines.length; line < tokenizer.lineCount; line++) lines.push(tokenizer.getLineTokens(line).tokens);
|
|
11
|
+
session.lines = lines;
|
|
36
12
|
};
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
13
|
+
const createSession = (engine, language, text) => {
|
|
14
|
+
const tokenizer = new engine.highlights.LiveTokenizer({
|
|
15
|
+
code: text,
|
|
16
|
+
lang: language,
|
|
17
|
+
theme: engine.theme
|
|
18
|
+
});
|
|
19
|
+
const { bg, fg } = engine.highlights.codeToTokens("", {
|
|
20
|
+
lang: language,
|
|
21
|
+
theme: engine.theme
|
|
22
|
+
});
|
|
23
|
+
const session = {
|
|
24
|
+
engine,
|
|
25
|
+
language,
|
|
26
|
+
lines: [],
|
|
27
|
+
preStyle: getPreStyle({
|
|
28
|
+
bg,
|
|
29
|
+
fg
|
|
30
|
+
}),
|
|
31
|
+
text,
|
|
32
|
+
tokenizer
|
|
42
33
|
};
|
|
34
|
+
readLines(session, 0);
|
|
35
|
+
return session;
|
|
43
36
|
};
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
37
|
+
const updateSession = (session, text) => {
|
|
38
|
+
if (text === session.text) return false;
|
|
39
|
+
const { tokenizer } = session;
|
|
40
|
+
if (text.startsWith(session.text)) {
|
|
41
|
+
const lastLine = tokenizer.lineCount - 1;
|
|
42
|
+
const end = {
|
|
43
|
+
character: tokenizer.getLineLength(lastLine),
|
|
44
|
+
line: lastLine
|
|
45
|
+
};
|
|
46
|
+
const firstChanged = tokenizer.applyEdits([{
|
|
47
|
+
newText: text.slice(session.text.length),
|
|
48
|
+
range: {
|
|
49
|
+
end,
|
|
50
|
+
start: end
|
|
51
|
+
}
|
|
52
|
+
}]).lineChanges.reduce((min, change) => Math.min(min, change.newStartLine), lastLine);
|
|
53
|
+
session.text = text;
|
|
54
|
+
readLines(session, firstChanged);
|
|
55
|
+
} else {
|
|
56
|
+
tokenizer.reset(text);
|
|
57
|
+
session.text = text;
|
|
58
|
+
readLines(session, 0);
|
|
59
|
+
}
|
|
60
|
+
return true;
|
|
61
|
+
};
|
|
62
|
+
const useStreamHighlight = (text, { language, theme: themeId, streaming }) => {
|
|
49
63
|
const safeText = text ?? "";
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
const
|
|
64
|
+
const lang = (language ?? "plaintext").toLowerCase();
|
|
65
|
+
const matchedLanguage = useMemo(() => getCodeLanguageByInput(lang), [lang]);
|
|
66
|
+
const engine = useHighlighterEngine(themeId);
|
|
67
|
+
const sessionRef = useRef(null);
|
|
68
|
+
const [result, setResult] = useState();
|
|
53
69
|
useEffect(() => {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
const newLinesLength = rawLines.length;
|
|
59
|
-
if (newLinesLength !== previousLines.length || newLinesLength === 0) {
|
|
60
|
-
linesRef.current = rawLines;
|
|
61
|
-
setResult({
|
|
62
|
-
lines: rawLines,
|
|
63
|
-
preStyle: preStyleRef.current
|
|
64
|
-
});
|
|
70
|
+
if (!streaming || !engine) {
|
|
71
|
+
sessionRef.current?.tokenizer.dispose();
|
|
72
|
+
sessionRef.current = null;
|
|
73
|
+
setResult(void 0);
|
|
65
74
|
return;
|
|
66
75
|
}
|
|
67
|
-
let
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
mergedLines[i] = newLine;
|
|
78
|
-
hasChanges = true;
|
|
79
|
-
continue;
|
|
80
|
-
}
|
|
81
|
-
let lineChanged = false;
|
|
82
|
-
for (const [j, newToken] of newLine.entries()) if (prevLine[j] !== newToken) {
|
|
83
|
-
lineChanged = true;
|
|
84
|
-
break;
|
|
85
|
-
}
|
|
86
|
-
if (lineChanged) {
|
|
87
|
-
mergedLines[i] = newLine;
|
|
88
|
-
hasChanges = true;
|
|
89
|
-
} else mergedLines[i] = prevLine;
|
|
90
|
-
}
|
|
91
|
-
if (hasChanges) {
|
|
92
|
-
linesRef.current = mergedLines;
|
|
93
|
-
setResult({
|
|
94
|
-
lines: mergedLines,
|
|
95
|
-
preStyle: preStyleRef.current
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
const updateTokens = useCallback(async (nextText, forceReset = false) => {
|
|
100
|
-
const tokenizer = tokenizerRef.current;
|
|
101
|
-
if (!tokenizer) return;
|
|
102
|
-
if (forceReset) {
|
|
103
|
-
tokenizer.clear();
|
|
104
|
-
previousTextRef.current = "";
|
|
105
|
-
}
|
|
106
|
-
const previousText = previousTextRef.current;
|
|
107
|
-
let chunk = nextText;
|
|
108
|
-
if (!forceReset && nextText.startsWith(previousText)) chunk = nextText.slice(previousText.length);
|
|
109
|
-
else if (!forceReset) tokenizer.clear();
|
|
110
|
-
previousTextRef.current = nextText;
|
|
111
|
-
if (!chunk) {
|
|
112
|
-
const stableTokens = tokenizer.tokensStable;
|
|
113
|
-
const unstableTokens = tokenizer.tokensUnstable;
|
|
114
|
-
if (stableTokens.length + unstableTokens.length === 0) {
|
|
115
|
-
setStreamingResultRef.current([[]]);
|
|
76
|
+
let session = sessionRef.current;
|
|
77
|
+
let changed;
|
|
78
|
+
if (!session || session.engine !== engine || session.language !== matchedLanguage) {
|
|
79
|
+
session?.tokenizer.dispose();
|
|
80
|
+
try {
|
|
81
|
+
session = createSession(engine, matchedLanguage, safeText);
|
|
82
|
+
} catch (error) {
|
|
83
|
+
console.error("Streaming highlighter initialization failed:", error);
|
|
84
|
+
sessionRef.current = null;
|
|
85
|
+
setResult(void 0);
|
|
116
86
|
return;
|
|
117
87
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
try {
|
|
123
|
-
await tokenizer.enqueue(chunk);
|
|
124
|
-
const stableTokens = tokenizer.tokensStable;
|
|
125
|
-
const unstableTokens = tokenizer.tokensUnstable;
|
|
126
|
-
const mergedTokens = stableTokens.length === 0 ? unstableTokens : unstableTokens.length === 0 ? stableTokens : [...stableTokens, ...unstableTokens];
|
|
127
|
-
setStreamingResultRef.current(tokensToLineTokens(mergedTokens));
|
|
88
|
+
sessionRef.current = session;
|
|
89
|
+
changed = true;
|
|
90
|
+
} else try {
|
|
91
|
+
changed = updateSession(session, safeText);
|
|
128
92
|
} catch (error) {
|
|
129
93
|
console.error("Streaming highlighting failed:", error);
|
|
130
|
-
}
|
|
131
|
-
}, []);
|
|
132
|
-
const highlighterKeyRef = useRef("");
|
|
133
|
-
useEffect(() => {
|
|
134
|
-
if (!enabled) {
|
|
135
|
-
tokenizerRef.current?.clear();
|
|
136
|
-
tokenizerRef.current = null;
|
|
137
|
-
previousTextRef.current = "";
|
|
138
|
-
preStyleRef.current = void 0;
|
|
139
|
-
linesRef.current = [[]];
|
|
140
|
-
setResult(void 0);
|
|
141
|
-
highlighterKeyRef.current = "";
|
|
142
94
|
return;
|
|
143
95
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
const mod = await shikiModulePromise;
|
|
149
|
-
if (!mod || cancelled) return;
|
|
150
|
-
try {
|
|
151
|
-
let themesToLoad = [theme];
|
|
152
|
-
if (customThemes && theme === "lobe-theme") {
|
|
153
|
-
const customTheme = customThemes[theme];
|
|
154
|
-
if (customTheme) themesToLoad = [customTheme];
|
|
155
|
-
}
|
|
156
|
-
const highlighter = await mod.getSingletonHighlighter({
|
|
157
|
-
langs: language ? [language] : ["plaintext"],
|
|
158
|
-
themes: themesToLoad
|
|
159
|
-
});
|
|
160
|
-
if (!highlighter || cancelled) return;
|
|
161
|
-
if (highlighterKeyRef.current !== currentKey) {
|
|
162
|
-
tokenizerRef.current?.clear();
|
|
163
|
-
const tokenizer = new ShikiStreamTokenizer({
|
|
164
|
-
highlighter,
|
|
165
|
-
lang: language,
|
|
166
|
-
theme
|
|
167
|
-
});
|
|
168
|
-
tokenizerRef.current = tokenizer;
|
|
169
|
-
highlighterKeyRef.current = currentKey;
|
|
170
|
-
previousTextRef.current = "";
|
|
171
|
-
linesRef.current = [[]];
|
|
172
|
-
const themeInfo = highlighter.getTheme(theme);
|
|
173
|
-
preStyleRef.current = createPreStyle(themeInfo?.bg, themeInfo?.fg);
|
|
174
|
-
}
|
|
175
|
-
const currentText = latestTextRef.current;
|
|
176
|
-
if (currentText) await updateTokens(currentText, true);
|
|
177
|
-
else setStreamingResultRef.current([[]]);
|
|
178
|
-
} catch (error) {
|
|
179
|
-
console.error("Streaming highlighter initialization failed:", error);
|
|
180
|
-
highlighterKeyRef.current = "";
|
|
181
|
-
}
|
|
182
|
-
})();
|
|
183
|
-
return () => {
|
|
184
|
-
cancelled = true;
|
|
185
|
-
};
|
|
186
|
-
}, [
|
|
187
|
-
enabled,
|
|
188
|
-
language,
|
|
189
|
-
theme,
|
|
190
|
-
updateTokens,
|
|
191
|
-
customThemes
|
|
192
|
-
]);
|
|
193
|
-
useEffect(() => {
|
|
194
|
-
if (!enabled) return;
|
|
195
|
-
if (!tokenizerRef.current) return;
|
|
196
|
-
const currentText = latestTextRef.current;
|
|
197
|
-
updateTokens(currentText);
|
|
96
|
+
if (changed) setResult({
|
|
97
|
+
lines: session.lines,
|
|
98
|
+
preStyle: session.preStyle
|
|
99
|
+
});
|
|
198
100
|
}, [
|
|
199
|
-
|
|
101
|
+
engine,
|
|
102
|
+
matchedLanguage,
|
|
200
103
|
safeText,
|
|
201
|
-
|
|
104
|
+
streaming
|
|
202
105
|
]);
|
|
106
|
+
useEffect(() => () => {
|
|
107
|
+
sessionRef.current?.tokenizer.dispose();
|
|
108
|
+
sessionRef.current = null;
|
|
109
|
+
}, []);
|
|
203
110
|
return result;
|
|
204
111
|
};
|
|
205
|
-
const useStreamHighlight = (text, { language, theme: builtinTheme, streaming }) => {
|
|
206
|
-
const safeText = text ?? "";
|
|
207
|
-
const lang = (language ?? "plaintext").toLowerCase();
|
|
208
|
-
const matchedLanguage = useMemo(() => getCodeLanguageByInput(lang), [lang]);
|
|
209
|
-
return useStreamingHighlighter(safeText, {
|
|
210
|
-
customThemes: { "lobe-theme": lobe_theme_default },
|
|
211
|
-
enabled: streaming,
|
|
212
|
-
language: matchedLanguage,
|
|
213
|
-
theme: builtinTheme || "lobe-theme"
|
|
214
|
-
});
|
|
215
|
-
};
|
|
216
|
-
//#endregion
|
|
217
112
|
export { useStreamHighlight };
|
|
218
113
|
|
|
219
114
|
//# sourceMappingURL=useStreamHighlight.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStreamHighlight.mjs","names":["lobeTheme"],"sources":["../../src/hooks/useStreamHighlight.ts"],"sourcesContent":["'use client';\n\nimport { ShikiStreamTokenizer } from '@shikijs/stream';\nimport { type CSSProperties, useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { type BuiltinTheme, type ThemedToken } from 'shiki';\n\nimport { getCodeLanguageByInput } from '@/Highlighter/const';\nimport lobeTheme from '@/Highlighter/theme/lobe-theme';\n\nimport { shikiModulePromise, type StreamingHighlightResult } from './useHighlight';\n\ntype StreamingOptions = {\n customThemes?: Record<string, any>;\n enabled?: boolean;\n language: string;\n theme: string;\n};\n\n// Optimized version: reduce array allocations and object spreading\nconst tokensToLineTokens = (tokens: ThemedToken[]): ThemedToken[][] => {\n if (!tokens.length) return [[]];\n\n const lines: ThemedToken[][] = [];\n let currentLine: ThemedToken[] = [];\n\n for (const token of tokens) {\n const content = token.content ?? '';\n\n if (content === '\\n') {\n lines.push(currentLine);\n currentLine = [];\n continue;\n }\n\n const newlineIndex = content.indexOf('\\n');\n if (newlineIndex === -1) {\n // No newline, add token directly\n currentLine.push(token);\n } else {\n // Split on newlines\n const segments = content.split('\\n');\n for (const [j, segment] of segments.entries()) {\n if (segment) {\n // Only create new object if we need to modify content\n currentLine.push(j === 0 && segment === content ? token : { ...token, content: segment });\n }\n if (j < segments.length - 1) {\n lines.push(currentLine);\n currentLine = [];\n }\n }\n }\n }\n\n // Don't forget the last line\n if (currentLine.length > 0 || lines.length === 0) {\n lines.push(currentLine);\n }\n\n return lines.length > 0 ? lines : [[]];\n};\n\nconst createPreStyle = (bg?: string, fg?: string): CSSProperties | undefined => {\n if (!bg && !fg) return undefined;\n return {\n backgroundColor: bg,\n color: fg,\n };\n};\n\nconst useStreamingHighlighter = (\n text: string,\n options: StreamingOptions,\n): StreamingHighlightResult | undefined => {\n const { customThemes, enabled, language, theme } = options;\n const [result, setResult] = useState<StreamingHighlightResult>();\n const tokenizerRef = useRef<ShikiStreamTokenizer | null>(null);\n const previousTextRef = useRef('');\n const safeText = text ?? '';\n const latestTextRef = useRef(safeText);\n const preStyleRef = useRef<CSSProperties | undefined>(undefined);\n const linesRef = useRef<ThemedToken[][]>([[]]);\n\n useEffect(() => {\n latestTextRef.current = safeText;\n }, [safeText]);\n\n // Use ref to store callback to avoid recreating it\n const setStreamingResultRef = useRef((rawLines: ThemedToken[][]) => {\n const previousLines = linesRef.current;\n const newLinesLength = rawLines.length;\n const prevLinesLength = previousLines.length;\n\n // Fast path: if lengths differ or it's a complete reset, use new lines directly\n if (newLinesLength !== prevLinesLength || newLinesLength === 0) {\n linesRef.current = rawLines;\n setResult({\n lines: rawLines,\n preStyle: preStyleRef.current,\n });\n return;\n }\n\n // Optimized comparison: only check changed lines\n let hasChanges = false;\n const mergedLines: ThemedToken[][] = [];\n\n for (let i = 0; i < newLinesLength; i++) {\n const newLine = rawLines[i];\n const prevLine = previousLines[i];\n\n // Quick reference equality check first\n if (prevLine === newLine) {\n mergedLines[i] = prevLine;\n continue;\n }\n\n // Length check\n if (!prevLine || prevLine.length !== newLine.length) {\n mergedLines[i] = newLine;\n hasChanges = true;\n continue;\n }\n\n // Deep comparison only for lines that might have changed\n let lineChanged = false;\n for (const [j, newToken] of newLine.entries()) {\n if (prevLine[j] !== newToken) {\n lineChanged = true;\n break;\n }\n }\n\n if (lineChanged) {\n mergedLines[i] = newLine;\n hasChanges = true;\n } else {\n mergedLines[i] = prevLine;\n }\n }\n\n // Only update state if there are actual changes\n if (hasChanges) {\n linesRef.current = mergedLines;\n setResult({\n lines: mergedLines,\n preStyle: preStyleRef.current,\n });\n }\n });\n\n const updateTokens = useCallback(async (nextText: string, forceReset = false) => {\n const tokenizer = tokenizerRef.current;\n if (!tokenizer) return;\n\n if (forceReset) {\n tokenizer.clear();\n previousTextRef.current = '';\n }\n\n const previousText = previousTextRef.current;\n let chunk = nextText;\n const canAppend = !forceReset && nextText.startsWith(previousText);\n\n if (canAppend) {\n chunk = nextText.slice(previousText.length);\n } else if (!forceReset) {\n tokenizer.clear();\n }\n\n previousTextRef.current = nextText;\n\n if (!chunk) {\n // Optimize: avoid array spread if possible\n const stableTokens = tokenizer.tokensStable;\n const unstableTokens = tokenizer.tokensUnstable;\n const totalLength = stableTokens.length + unstableTokens.length;\n\n if (totalLength === 0) {\n setStreamingResultRef.current([[]]);\n return;\n }\n\n // Only create merged array if we have both stable and unstable tokens\n const mergedTokens =\n stableTokens.length === 0\n ? unstableTokens\n : unstableTokens.length === 0\n ? stableTokens\n : [...stableTokens, ...unstableTokens];\n\n setStreamingResultRef.current(tokensToLineTokens(mergedTokens));\n return;\n }\n\n try {\n await tokenizer.enqueue(chunk);\n // Optimize: avoid array spread if possible\n const stableTokens = tokenizer.tokensStable;\n const unstableTokens = tokenizer.tokensUnstable;\n const mergedTokens =\n stableTokens.length === 0\n ? unstableTokens\n : unstableTokens.length === 0\n ? stableTokens\n : [...stableTokens, ...unstableTokens];\n setStreamingResultRef.current(tokensToLineTokens(mergedTokens));\n } catch (error) {\n console.error('Streaming highlighting failed:', error);\n }\n }, []);\n\n // Cache highlighter key to avoid unnecessary recreations\n const highlighterKeyRef = useRef<string>('');\n\n useEffect(() => {\n if (!enabled) {\n tokenizerRef.current?.clear();\n tokenizerRef.current = null;\n previousTextRef.current = '';\n preStyleRef.current = undefined;\n linesRef.current = [[]];\n setResult(undefined);\n highlighterKeyRef.current = '';\n return;\n }\n\n // Skip if language/theme combination hasn't changed\n const currentKey = `${language}-${theme}`;\n if (highlighterKeyRef.current === currentKey && tokenizerRef.current) {\n return;\n }\n\n let cancelled = false;\n\n (async () => {\n const mod = await shikiModulePromise;\n if (!mod || cancelled) return;\n\n try {\n // Load custom theme if using slack-dark or slack-ochin\n let themesToLoad: any[] = [theme];\n if (customThemes && theme === 'lobe-theme') {\n const customTheme = customThemes[theme];\n if (customTheme) {\n themesToLoad = [customTheme as any];\n }\n }\n\n // Only load the specific language and theme needed\n // getSingletonHighlighter will cache the instance internally\n const highlighter = await mod.getSingletonHighlighter({\n langs: language ? [language] : ['plaintext'],\n themes: themesToLoad,\n });\n\n if (!highlighter || cancelled) return;\n\n // Only create new tokenizer if key changed\n if (highlighterKeyRef.current !== currentKey) {\n // Clear old tokenizer\n tokenizerRef.current?.clear();\n\n const tokenizer = new ShikiStreamTokenizer({\n highlighter,\n lang: language,\n theme,\n });\n\n tokenizerRef.current = tokenizer;\n highlighterKeyRef.current = currentKey;\n previousTextRef.current = '';\n linesRef.current = [[]];\n\n const themeInfo = highlighter.getTheme(theme);\n preStyleRef.current = createPreStyle(themeInfo?.bg, themeInfo?.fg);\n }\n\n const currentText = latestTextRef.current;\n if (currentText) {\n await updateTokens(currentText, true);\n } else {\n setStreamingResultRef.current([[]]);\n }\n } catch (error) {\n console.error('Streaming highlighter initialization failed:', error);\n // Reset on error\n highlighterKeyRef.current = '';\n }\n })();\n\n return () => {\n cancelled = true;\n // Cleanup only if this effect was cancelled before completion\n // The next effect will handle cleanup if key changed\n };\n }, [enabled, language, theme, updateTokens, customThemes]);\n\n // Separate effect for text updates to avoid unnecessary tokenizer recreation\n useEffect(() => {\n if (!enabled) return;\n if (!tokenizerRef.current) return;\n // Use ref to get latest text to avoid stale closures\n const currentText = latestTextRef.current;\n updateTokens(currentText);\n }, [enabled, safeText, updateTokens]);\n\n return result;\n};\n\nexport const useStreamHighlight = (\n text: string,\n {\n language,\n theme: builtinTheme,\n streaming,\n }: { enableTransformer?: boolean; language: string; streaming?: boolean; theme?: BuiltinTheme },\n) => {\n // Safely handle language and text with boundary checks\n const safeText = text ?? '';\n const lang = (language ?? 'plaintext').toLowerCase();\n\n // Match supported languages\n const matchedLanguage = useMemo(() => getCodeLanguageByInput(lang), [lang]);\n\n const effectiveTheme = builtinTheme || 'lobe-theme';\n\n return useStreamingHighlighter(safeText, {\n customThemes: {\n 'lobe-theme': lobeTheme,\n },\n enabled: streaming,\n language: matchedLanguage,\n theme: effectiveTheme,\n });\n};\n"],"mappings":";;;;;;;AAmBA,MAAM,sBAAsB,WAA2C;CACrE,IAAI,CAAC,OAAO,QAAQ,OAAO,CAAC,CAAC,CAAC;CAE9B,MAAM,QAAyB,CAAC;CAChC,IAAI,cAA6B,CAAC;CAElC,KAAK,MAAM,SAAS,QAAQ;EAC1B,MAAM,UAAU,MAAM,WAAW;EAEjC,IAAI,YAAY,MAAM;GACpB,MAAM,KAAK,WAAW;GACtB,cAAc,CAAC;GACf;EACF;EAGA,IADqB,QAAQ,QAAQ,IACtB,MAAM,IAEnB,YAAY,KAAK,KAAK;OACjB;GAEL,MAAM,WAAW,QAAQ,MAAM,IAAI;GACnC,KAAK,MAAM,CAAC,GAAG,YAAY,SAAS,QAAQ,GAAG;IAC7C,IAAI,SAEF,YAAY,KAAK,MAAM,KAAK,YAAY,UAAU,QAAQ;KAAE,GAAG;KAAO,SAAS;IAAQ,CAAC;IAE1F,IAAI,IAAI,SAAS,SAAS,GAAG;KAC3B,MAAM,KAAK,WAAW;KACtB,cAAc,CAAC;IACjB;GACF;EACF;CACF;CAGA,IAAI,YAAY,SAAS,KAAK,MAAM,WAAW,GAC7C,MAAM,KAAK,WAAW;CAGxB,OAAO,MAAM,SAAS,IAAI,QAAQ,CAAC,CAAC,CAAC;AACvC;AAEA,MAAM,kBAAkB,IAAa,OAA2C;CAC9E,IAAI,CAAC,MAAM,CAAC,IAAI,OAAO,KAAA;CACvB,OAAO;EACL,iBAAiB;EACjB,OAAO;CACT;AACF;AAEA,MAAM,2BACJ,MACA,YACyC;CACzC,MAAM,EAAE,cAAc,SAAS,UAAU,UAAU;CACnD,MAAM,CAAC,QAAQ,aAAa,SAAmC;CAC/D,MAAM,eAAe,OAAoC,IAAI;CAC7D,MAAM,kBAAkB,OAAO,EAAE;CACjC,MAAM,WAAW,QAAQ;CACzB,MAAM,gBAAgB,OAAO,QAAQ;CACrC,MAAM,cAAc,OAAkC,KAAA,CAAS;CAC/D,MAAM,WAAW,OAAwB,CAAC,CAAC,CAAC,CAAC;CAE7C,gBAAgB;EACd,cAAc,UAAU;CAC1B,GAAG,CAAC,QAAQ,CAAC;CAGb,MAAM,wBAAwB,QAAQ,aAA8B;EAClE,MAAM,gBAAgB,SAAS;EAC/B,MAAM,iBAAiB,SAAS;EAIhC,IAAI,mBAHoB,cAAc,UAGI,mBAAmB,GAAG;GAC9D,SAAS,UAAU;GACnB,UAAU;IACR,OAAO;IACP,UAAU,YAAY;GACxB,CAAC;GACD;EACF;EAGA,IAAI,aAAa;EACjB,MAAM,cAA+B,CAAC;EAEtC,KAAK,IAAI,IAAI,GAAG,IAAI,gBAAgB,KAAK;GACvC,MAAM,UAAU,SAAS;GACzB,MAAM,WAAW,cAAc;GAG/B,IAAI,aAAa,SAAS;IACxB,YAAY,KAAK;IACjB;GACF;GAGA,IAAI,CAAC,YAAY,SAAS,WAAW,QAAQ,QAAQ;IACnD,YAAY,KAAK;IACjB,aAAa;IACb;GACF;GAGA,IAAI,cAAc;GAClB,KAAK,MAAM,CAAC,GAAG,aAAa,QAAQ,QAAQ,GAC1C,IAAI,SAAS,OAAO,UAAU;IAC5B,cAAc;IACd;GACF;GAGF,IAAI,aAAa;IACf,YAAY,KAAK;IACjB,aAAa;GACf,OACE,YAAY,KAAK;EAErB;EAGA,IAAI,YAAY;GACd,SAAS,UAAU;GACnB,UAAU;IACR,OAAO;IACP,UAAU,YAAY;GACxB,CAAC;EACH;CACF,CAAC;CAED,MAAM,eAAe,YAAY,OAAO,UAAkB,aAAa,UAAU;EAC/E,MAAM,YAAY,aAAa;EAC/B,IAAI,CAAC,WAAW;EAEhB,IAAI,YAAY;GACd,UAAU,MAAM;GAChB,gBAAgB,UAAU;EAC5B;EAEA,MAAM,eAAe,gBAAgB;EACrC,IAAI,QAAQ;EAGZ,IAFkB,CAAC,cAAc,SAAS,WAAW,YAAY,GAG/D,QAAQ,SAAS,MAAM,aAAa,MAAM;OACrC,IAAI,CAAC,YACV,UAAU,MAAM;EAGlB,gBAAgB,UAAU;EAE1B,IAAI,CAAC,OAAO;GAEV,MAAM,eAAe,UAAU;GAC/B,MAAM,iBAAiB,UAAU;GAGjC,IAFoB,aAAa,SAAS,eAAe,WAErC,GAAG;IACrB,sBAAsB,QAAQ,CAAC,CAAC,CAAC,CAAC;IAClC;GACF;GAGA,MAAM,eACJ,aAAa,WAAW,IACpB,iBACA,eAAe,WAAW,IACxB,eACA,CAAC,GAAG,cAAc,GAAG,cAAc;GAE3C,sBAAsB,QAAQ,mBAAmB,YAAY,CAAC;GAC9D;EACF;EAEA,IAAI;GACF,MAAM,UAAU,QAAQ,KAAK;GAE7B,MAAM,eAAe,UAAU;GAC/B,MAAM,iBAAiB,UAAU;GACjC,MAAM,eACJ,aAAa,WAAW,IACpB,iBACA,eAAe,WAAW,IACxB,eACA,CAAC,GAAG,cAAc,GAAG,cAAc;GAC3C,sBAAsB,QAAQ,mBAAmB,YAAY,CAAC;EAChE,SAAS,OAAO;GACd,QAAQ,MAAM,kCAAkC,KAAK;EACvD;CACF,GAAG,CAAC,CAAC;CAGL,MAAM,oBAAoB,OAAe,EAAE;CAE3C,gBAAgB;EACd,IAAI,CAAC,SAAS;GACZ,aAAa,SAAS,MAAM;GAC5B,aAAa,UAAU;GACvB,gBAAgB,UAAU;GAC1B,YAAY,UAAU,KAAA;GACtB,SAAS,UAAU,CAAC,CAAC,CAAC;GACtB,UAAU,KAAA,CAAS;GACnB,kBAAkB,UAAU;GAC5B;EACF;EAGA,MAAM,aAAa,GAAG,SAAS,GAAG;EAClC,IAAI,kBAAkB,YAAY,cAAc,aAAa,SAC3D;EAGF,IAAI,YAAY;EAEhB,CAAC,YAAY;GACX,MAAM,MAAM,MAAM;GAClB,IAAI,CAAC,OAAO,WAAW;GAEvB,IAAI;IAEF,IAAI,eAAsB,CAAC,KAAK;IAChC,IAAI,gBAAgB,UAAU,cAAc;KAC1C,MAAM,cAAc,aAAa;KACjC,IAAI,aACF,eAAe,CAAC,WAAkB;IAEtC;IAIA,MAAM,cAAc,MAAM,IAAI,wBAAwB;KACpD,OAAO,WAAW,CAAC,QAAQ,IAAI,CAAC,WAAW;KAC3C,QAAQ;IACV,CAAC;IAED,IAAI,CAAC,eAAe,WAAW;IAG/B,IAAI,kBAAkB,YAAY,YAAY;KAE5C,aAAa,SAAS,MAAM;KAE5B,MAAM,YAAY,IAAI,qBAAqB;MACzC;MACA,MAAM;MACN;KACF,CAAC;KAED,aAAa,UAAU;KACvB,kBAAkB,UAAU;KAC5B,gBAAgB,UAAU;KAC1B,SAAS,UAAU,CAAC,CAAC,CAAC;KAEtB,MAAM,YAAY,YAAY,SAAS,KAAK;KAC5C,YAAY,UAAU,eAAe,WAAW,IAAI,WAAW,EAAE;IACnE;IAEA,MAAM,cAAc,cAAc;IAClC,IAAI,aACF,MAAM,aAAa,aAAa,IAAI;SAEpC,sBAAsB,QAAQ,CAAC,CAAC,CAAC,CAAC;GAEtC,SAAS,OAAO;IACd,QAAQ,MAAM,gDAAgD,KAAK;IAEnE,kBAAkB,UAAU;GAC9B;EACF,EAAA,CAAG;EAEH,aAAa;GACX,YAAY;EAGd;CACF,GAAG;EAAC;EAAS;EAAU;EAAO;EAAc;CAAY,CAAC;CAGzD,gBAAgB;EACd,IAAI,CAAC,SAAS;EACd,IAAI,CAAC,aAAa,SAAS;EAE3B,MAAM,cAAc,cAAc;EAClC,aAAa,WAAW;CAC1B,GAAG;EAAC;EAAS;EAAU;CAAY,CAAC;CAEpC,OAAO;AACT;AAEA,MAAa,sBACX,MACA,EACE,UACA,OAAO,cACP,gBAEC;CAEH,MAAM,WAAW,QAAQ;CACzB,MAAM,QAAQ,YAAY,YAAA,CAAa,YAAY;CAGnD,MAAM,kBAAkB,cAAc,uBAAuB,IAAI,GAAG,CAAC,IAAI,CAAC;CAI1E,OAAO,wBAAwB,UAAU;EACvC,cAAc,EACZ,cAAcA,mBAChB;EACA,SAAS;EACT,UAAU;EACV,OARqB,gBAAgB;CASvC,CAAC;AACH"}
|
|
1
|
+
{"version":3,"file":"useStreamHighlight.mjs","names":[],"sources":["../../src/hooks/useStreamHighlight.ts"],"sourcesContent":["'use client';\n\nimport type { Lang, LiveTokenizer, ThemedToken } from '@pierre/highlights';\nimport { type CSSProperties, useEffect, useMemo, useRef, useState } from 'react';\n\nimport { getCodeLanguageByInput } from '@/Highlighter/const';\nimport { type HighlighterEngine, useHighlighterEngine } from '@/Highlighter/engine';\nimport { getPreStyle } from '@/Highlighter/tokens';\n\nexport type StreamingHighlightResult = {\n lines: ThemedToken[][];\n preStyle?: CSSProperties;\n};\n\ninterface StreamSession {\n engine: HighlighterEngine;\n language: string;\n lines: ThemedToken[][];\n preStyle?: CSSProperties;\n text: string;\n tokenizer: LiveTokenizer;\n}\n\nconst readLines = (session: StreamSession, from: number) => {\n const { tokenizer } = session;\n const lines = session.lines.slice(0, Math.min(from, tokenizer.lineCount));\n for (let line = lines.length; line < tokenizer.lineCount; line++) {\n lines.push(tokenizer.getLineTokens(line).tokens);\n }\n session.lines = lines;\n};\n\nconst createSession = (\n engine: HighlighterEngine,\n language: string,\n text: string,\n): StreamSession => {\n const tokenizer = new engine.highlights.LiveTokenizer({\n code: text,\n lang: language as Lang,\n theme: engine.theme,\n });\n const { bg, fg } = engine.highlights.codeToTokens('', {\n lang: language as Lang,\n theme: engine.theme,\n });\n const session: StreamSession = {\n engine,\n language,\n lines: [],\n preStyle: getPreStyle({ bg, fg }),\n text,\n tokenizer,\n };\n readLines(session, 0);\n return session;\n};\n\nconst updateSession = (session: StreamSession, text: string) => {\n if (text === session.text) return false;\n\n const { tokenizer } = session;\n if (text.startsWith(session.text)) {\n const lastLine = tokenizer.lineCount - 1;\n const end = { character: tokenizer.getLineLength(lastLine), line: lastLine };\n const update = tokenizer.applyEdits([\n { newText: text.slice(session.text.length), range: { end, start: end } },\n ]);\n const firstChanged = update.lineChanges.reduce(\n (min, change) => Math.min(min, change.newStartLine),\n lastLine,\n );\n session.text = text;\n readLines(session, firstChanged);\n } else {\n tokenizer.reset(text);\n session.text = text;\n readLines(session, 0);\n }\n return true;\n};\n\nexport const useStreamHighlight = (\n text: string,\n {\n language,\n theme: themeId,\n streaming,\n }: { language: string; streaming?: boolean; theme?: string },\n): StreamingHighlightResult | undefined => {\n const safeText = text ?? '';\n const lang = (language ?? 'plaintext').toLowerCase();\n const matchedLanguage = useMemo(() => getCodeLanguageByInput(lang), [lang]);\n const engine = useHighlighterEngine(themeId);\n\n const sessionRef = useRef<StreamSession | null>(null);\n const [result, setResult] = useState<StreamingHighlightResult>();\n\n useEffect(() => {\n if (!streaming || !engine) {\n sessionRef.current?.tokenizer.dispose();\n sessionRef.current = null;\n setResult(undefined);\n return;\n }\n\n let session = sessionRef.current;\n let changed: boolean;\n if (!session || session.engine !== engine || session.language !== matchedLanguage) {\n session?.tokenizer.dispose();\n try {\n session = createSession(engine, matchedLanguage, safeText);\n } catch (error) {\n console.error('Streaming highlighter initialization failed:', error);\n sessionRef.current = null;\n setResult(undefined);\n return;\n }\n sessionRef.current = session;\n changed = true;\n } else {\n try {\n changed = updateSession(session, safeText);\n } catch (error) {\n console.error('Streaming highlighting failed:', error);\n return;\n }\n }\n\n if (changed) setResult({ lines: session.lines, preStyle: session.preStyle });\n }, [engine, matchedLanguage, safeText, streaming]);\n\n useEffect(\n () => () => {\n sessionRef.current?.tokenizer.dispose();\n sessionRef.current = null;\n },\n [],\n );\n\n return result;\n};\n"],"mappings":";;;;;;AAuBA,MAAM,aAAa,SAAwB,SAAiB;CAC1D,MAAM,EAAE,cAAc;CACtB,MAAM,QAAQ,QAAQ,MAAM,MAAM,GAAG,KAAK,IAAI,MAAM,UAAU,SAAS,CAAC;CACxE,KAAK,IAAI,OAAO,MAAM,QAAQ,OAAO,UAAU,WAAW,QACxD,MAAM,KAAK,UAAU,cAAc,IAAI,CAAC,CAAC,MAAM;CAEjD,QAAQ,QAAQ;AAClB;AAEA,MAAM,iBACJ,QACA,UACA,SACkB;CAClB,MAAM,YAAY,IAAI,OAAO,WAAW,cAAc;EACpD,MAAM;EACN,MAAM;EACN,OAAO,OAAO;CAChB,CAAC;CACD,MAAM,EAAE,IAAI,OAAO,OAAO,WAAW,aAAa,IAAI;EACpD,MAAM;EACN,OAAO,OAAO;CAChB,CAAC;CACD,MAAM,UAAyB;EAC7B;EACA;EACA,OAAO,CAAC;EACR,UAAU,YAAY;GAAE;GAAI;EAAG,CAAC;EAChC;EACA;CACF;CACA,UAAU,SAAS,CAAC;CACpB,OAAO;AACT;AAEA,MAAM,iBAAiB,SAAwB,SAAiB;CAC9D,IAAI,SAAS,QAAQ,MAAM,OAAO;CAElC,MAAM,EAAE,cAAc;CACtB,IAAI,KAAK,WAAW,QAAQ,IAAI,GAAG;EACjC,MAAM,WAAW,UAAU,YAAY;EACvC,MAAM,MAAM;GAAE,WAAW,UAAU,cAAc,QAAQ;GAAG,MAAM;EAAS;EAI3E,MAAM,eAHS,UAAU,WAAW,CAClC;GAAE,SAAS,KAAK,MAAM,QAAQ,KAAK,MAAM;GAAG,OAAO;IAAE;IAAK,OAAO;GAAI;EAAE,CACzE,CAC0B,CAAC,CAAC,YAAY,QACrC,KAAK,WAAW,KAAK,IAAI,KAAK,OAAO,YAAY,GAClD,QACF;EACA,QAAQ,OAAO;EACf,UAAU,SAAS,YAAY;CACjC,OAAO;EACL,UAAU,MAAM,IAAI;EACpB,QAAQ,OAAO;EACf,UAAU,SAAS,CAAC;CACtB;CACA,OAAO;AACT;AAEA,MAAa,sBACX,MACA,EACE,UACA,OAAO,SACP,gBAEuC;CACzC,MAAM,WAAW,QAAQ;CACzB,MAAM,QAAQ,YAAY,YAAA,CAAa,YAAY;CACnD,MAAM,kBAAkB,cAAc,uBAAuB,IAAI,GAAG,CAAC,IAAI,CAAC;CAC1E,MAAM,SAAS,qBAAqB,OAAO;CAE3C,MAAM,aAAa,OAA6B,IAAI;CACpD,MAAM,CAAC,QAAQ,aAAa,SAAmC;CAE/D,gBAAgB;EACd,IAAI,CAAC,aAAa,CAAC,QAAQ;GACzB,WAAW,SAAS,UAAU,QAAQ;GACtC,WAAW,UAAU;GACrB,UAAU,KAAA,CAAS;GACnB;EACF;EAEA,IAAI,UAAU,WAAW;EACzB,IAAI;EACJ,IAAI,CAAC,WAAW,QAAQ,WAAW,UAAU,QAAQ,aAAa,iBAAiB;GACjF,SAAS,UAAU,QAAQ;GAC3B,IAAI;IACF,UAAU,cAAc,QAAQ,iBAAiB,QAAQ;GAC3D,SAAS,OAAO;IACd,QAAQ,MAAM,gDAAgD,KAAK;IACnE,WAAW,UAAU;IACrB,UAAU,KAAA,CAAS;IACnB;GACF;GACA,WAAW,UAAU;GACrB,UAAU;EACZ,OACE,IAAI;GACF,UAAU,cAAc,SAAS,QAAQ;EAC3C,SAAS,OAAO;GACd,QAAQ,MAAM,kCAAkC,KAAK;GACrD;EACF;EAGF,IAAI,SAAS,UAAU;GAAE,OAAO,QAAQ;GAAO,UAAU,QAAQ;EAAS,CAAC;CAC7E,GAAG;EAAC;EAAQ;EAAiB;EAAU;CAAS,CAAC;CAEjD,sBACc;EACV,WAAW,SAAS,UAAU,QAAQ;EACtC,WAAW,UAAU;CACvB,GACA,CAAC,CACH;CAEA,OAAO;AACT"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { renderMermaid, useMermaidScopeId } from "./useMermaid.mjs";
|
|
3
3
|
import { useEffect, useRef, useState } from "react";
|
|
4
|
-
|
|
4
|
+
// src/hooks/useStreamMermaid.ts
|
|
5
5
|
const EMPTY = { svg: "" };
|
|
6
6
|
const PENDING = {
|
|
7
7
|
loading: true,
|
|
@@ -34,7 +34,6 @@ const useStreamMermaid = (content, { enabled = true } = {}) => {
|
|
|
34
34
|
]);
|
|
35
35
|
return result;
|
|
36
36
|
};
|
|
37
|
-
//#endregion
|
|
38
37
|
export { useStreamMermaid };
|
|
39
38
|
|
|
40
39
|
//# sourceMappingURL=useStreamMermaid.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect, useState } from "react";
|
|
2
|
-
|
|
2
|
+
// src/hooks/useTextOverflow.ts
|
|
3
3
|
const useTextOverflow = (textRef, ellipsis, children) => {
|
|
4
4
|
const [isOverflow, setIsOverflow] = useState(false);
|
|
5
5
|
const tooltipWhenOverflow = typeof ellipsis === "object" && ellipsis.tooltipWhenOverflow;
|
|
@@ -24,7 +24,6 @@ const useTextOverflow = (textRef, ellipsis, children) => {
|
|
|
24
24
|
]);
|
|
25
25
|
return isOverflow;
|
|
26
26
|
};
|
|
27
|
-
//#endregion
|
|
28
27
|
export { useTextOverflow };
|
|
29
28
|
|
|
30
29
|
//# sourceMappingURL=useTextOverflow.mjs.map
|
package/es/i18n/context.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ import { I18nContextValue, TranslationKey, TranslationResources, TranslationReso
|
|
|
2
2
|
import { MotionComponentType } from "../MotionProvider/index.mjs";
|
|
3
3
|
import "../ConfigProvider/index.mjs";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
|
-
//#region src/i18n/context.d.ts
|
|
6
5
|
export interface I18nProviderProps {
|
|
7
6
|
children: ReactNode;
|
|
8
7
|
locale?: string;
|
|
@@ -10,5 +9,4 @@ export interface I18nProviderProps {
|
|
|
10
9
|
resources?: TranslationResourcesInput;
|
|
11
10
|
}
|
|
12
11
|
export declare const I18nProvider: import("react").NamedExoticComponent<I18nProviderProps>;
|
|
13
|
-
//#endregion
|
|
14
12
|
//# sourceMappingURL=context.d.mts.map
|
package/es/i18n/context.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ConfigProvider, { useI18n } from "../ConfigProvider/index.mjs";
|
|
2
2
|
import { memo } from "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/i18n/context.tsx
|
|
5
5
|
const I18nProvider = memo(({ children, locale, resources, motion }) => {
|
|
6
6
|
return /* @__PURE__ */ jsx(ConfigProvider, {
|
|
7
7
|
config: {},
|
|
@@ -11,7 +11,6 @@ const I18nProvider = memo(({ children, locale, resources, motion }) => {
|
|
|
11
11
|
children
|
|
12
12
|
});
|
|
13
13
|
});
|
|
14
|
-
//#endregion
|
|
15
14
|
export { I18nProvider, useI18n };
|
|
16
15
|
|
|
17
16
|
//# sourceMappingURL=context.mjs.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
// src/i18n/resources/en/burger.ts
|
|
2
2
|
var burger_default = {
|
|
3
3
|
"burger.close": "Close menu",
|
|
4
4
|
"burger.open": "Open menu"
|
|
5
5
|
};
|
|
6
|
-
//#endregion
|
|
7
6
|
export { burger_default as default };
|
|
8
7
|
|
|
9
8
|
//# sourceMappingURL=burger.mjs.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/i18n/resources/en/chat.d.ts
|
|
2
1
|
declare const _default: {
|
|
3
2
|
readonly 'chat.avatar': "avatar";
|
|
4
3
|
readonly 'chat.placeholder': "...";
|
|
@@ -6,6 +5,5 @@ declare const _default: {
|
|
|
6
5
|
readonly 'tokenTag.remained': "Remained";
|
|
7
6
|
readonly 'tokenTag.used': "Used";
|
|
8
7
|
};
|
|
9
|
-
//#endregion
|
|
10
8
|
export { _default as default };
|
|
11
9
|
//# sourceMappingURL=chat.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/i18n/resources/en/chat.ts
|
|
2
2
|
var chat_default = {
|
|
3
3
|
"chat.avatar": "avatar",
|
|
4
4
|
"chat.placeholder": "...",
|
|
@@ -6,7 +6,6 @@ var chat_default = {
|
|
|
6
6
|
"tokenTag.remained": "Remained",
|
|
7
7
|
"tokenTag.used": "Used"
|
|
8
8
|
};
|
|
9
|
-
//#endregion
|
|
10
9
|
export { chat_default as default };
|
|
11
10
|
|
|
12
11
|
//# sourceMappingURL=chat.mjs.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/i18n/resources/en/colorPicker.d.ts
|
|
2
1
|
declare const _default: {
|
|
3
2
|
readonly 'colorPicker.alpha': "Alpha";
|
|
4
3
|
readonly 'colorPicker.empty': "No colour";
|
|
@@ -12,6 +11,5 @@ declare const _default: {
|
|
|
12
11
|
readonly 'colorPicker.swatches': "Swatches";
|
|
13
12
|
readonly 'colorPicker.trigger': "Pick colour";
|
|
14
13
|
};
|
|
15
|
-
//#endregion
|
|
16
14
|
export { _default as default };
|
|
17
15
|
//# sourceMappingURL=colorPicker.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/i18n/resources/en/colorPicker.ts
|
|
2
2
|
var colorPicker_default = {
|
|
3
3
|
"colorPicker.alpha": "Alpha",
|
|
4
4
|
"colorPicker.empty": "No colour",
|
|
@@ -12,7 +12,6 @@ var colorPicker_default = {
|
|
|
12
12
|
"colorPicker.swatches": "Swatches",
|
|
13
13
|
"colorPicker.trigger": "Pick colour"
|
|
14
14
|
};
|
|
15
|
-
//#endregion
|
|
16
15
|
export { colorPicker_default as default };
|
|
17
16
|
|
|
18
17
|
//# sourceMappingURL=colorPicker.mjs.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/i18n/resources/en/common.d.ts
|
|
2
1
|
declare const _default: {
|
|
3
2
|
readonly 'common.clear': "Clear";
|
|
4
3
|
readonly 'common.cancel': "Cancel";
|
|
@@ -7,6 +6,5 @@ declare const _default: {
|
|
|
7
6
|
readonly 'common.edit': "Edit";
|
|
8
7
|
readonly 'common.empty': "(empty)";
|
|
9
8
|
};
|
|
10
|
-
//#endregion
|
|
11
9
|
export { _default as default };
|
|
12
10
|
//# sourceMappingURL=common.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/i18n/resources/en/common.ts
|
|
2
2
|
var common_default = {
|
|
3
3
|
"common.clear": "Clear",
|
|
4
4
|
"common.cancel": "Cancel",
|
|
@@ -7,7 +7,6 @@ var common_default = {
|
|
|
7
7
|
"common.edit": "Edit",
|
|
8
8
|
"common.empty": "(empty)"
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { common_default as default };
|
|
12
11
|
|
|
13
12
|
//# sourceMappingURL=common.mjs.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/i18n/resources/en/datePicker.d.ts
|
|
2
1
|
declare const _default: {
|
|
3
2
|
readonly 'datePicker.backToToday': "Back to today";
|
|
4
3
|
readonly 'datePicker.cellDateFormat': "D";
|
|
@@ -62,6 +61,5 @@ declare const _default: {
|
|
|
62
61
|
readonly 'datePicker.previousSecond': "Previous second";
|
|
63
62
|
readonly 'datePicker.seconds': "Seconds";
|
|
64
63
|
};
|
|
65
|
-
//#endregion
|
|
66
64
|
export { _default as default };
|
|
67
65
|
//# sourceMappingURL=datePicker.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/i18n/resources/en/datePicker.ts
|
|
2
2
|
var datePicker_default = {
|
|
3
3
|
"datePicker.backToToday": "Back to today",
|
|
4
4
|
"datePicker.cellDateFormat": "D",
|
|
@@ -62,7 +62,6 @@ var datePicker_default = {
|
|
|
62
62
|
"datePicker.previousSecond": "Previous second",
|
|
63
63
|
"datePicker.seconds": "Seconds"
|
|
64
64
|
};
|
|
65
|
-
//#endregion
|
|
66
65
|
export { datePicker_default as default };
|
|
67
66
|
|
|
68
67
|
//# sourceMappingURL=datePicker.mjs.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/i18n/resources/en/editableMessage.d.ts
|
|
2
1
|
declare const _default: {
|
|
3
2
|
readonly 'editableMessage.addProps': "Add Props";
|
|
4
3
|
readonly 'editableMessage.delete': "Delete";
|
|
@@ -8,6 +7,5 @@ declare const _default: {
|
|
|
8
7
|
readonly 'editableMessage.outputPlaceholder': "Please enter sample output content";
|
|
9
8
|
readonly 'editableMessage.system': "System";
|
|
10
9
|
};
|
|
11
|
-
//#endregion
|
|
12
10
|
export { _default as default };
|
|
13
11
|
//# sourceMappingURL=editableMessage.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/i18n/resources/en/editableMessage.ts
|
|
2
2
|
var editableMessage_default = {
|
|
3
3
|
"editableMessage.addProps": "Add Props",
|
|
4
4
|
"editableMessage.delete": "Delete",
|
|
@@ -8,7 +8,6 @@ var editableMessage_default = {
|
|
|
8
8
|
"editableMessage.outputPlaceholder": "Please enter sample output content",
|
|
9
9
|
"editableMessage.system": "System"
|
|
10
10
|
};
|
|
11
|
-
//#endregion
|
|
12
11
|
export { editableMessage_default as default };
|
|
13
12
|
|
|
14
13
|
//# sourceMappingURL=editableMessage.mjs.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/i18n/resources/en/emojiPicker.d.ts
|
|
2
1
|
declare const _default: {
|
|
3
2
|
readonly 'emojiPicker.delete': "Delete";
|
|
4
3
|
readonly 'emojiPicker.draggerDesc': "Click or Drag image to this area to upload";
|
|
@@ -7,6 +6,5 @@ declare const _default: {
|
|
|
7
6
|
readonly 'emojiPicker.upload': "Upload";
|
|
8
7
|
readonly 'emojiPicker.uploadBtn': "Crop and Upload";
|
|
9
8
|
};
|
|
10
|
-
//#endregion
|
|
11
9
|
export { _default as default };
|
|
12
10
|
//# sourceMappingURL=emojiPicker.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/i18n/resources/en/emojiPicker.ts
|
|
2
2
|
var emojiPicker_default = {
|
|
3
3
|
"emojiPicker.delete": "Delete",
|
|
4
4
|
"emojiPicker.draggerDesc": "Click or Drag image to this area to upload",
|
|
@@ -7,7 +7,6 @@ var emojiPicker_default = {
|
|
|
7
7
|
"emojiPicker.upload": "Upload",
|
|
8
8
|
"emojiPicker.uploadBtn": "Crop and Upload"
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { emojiPicker_default as default };
|
|
12
11
|
|
|
13
12
|
//# sourceMappingURL=emojiPicker.mjs.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/i18n/resources/en/form.d.ts
|
|
2
1
|
declare const _default: {
|
|
3
2
|
readonly 'form.list.add': "Add";
|
|
4
3
|
readonly 'form.list.empty': "No items yet";
|
|
@@ -9,6 +8,5 @@ declare const _default: {
|
|
|
9
8
|
readonly 'form.unsavedChanges': "Unsaved changes";
|
|
10
9
|
readonly 'form.unsavedWarning': "You have unsaved changes. Are you sure you want to leave?";
|
|
11
10
|
};
|
|
12
|
-
//#endregion
|
|
13
11
|
export { _default as default };
|
|
14
12
|
//# sourceMappingURL=form.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/i18n/resources/en/form.ts
|
|
2
2
|
var form_default = {
|
|
3
3
|
"form.list.add": "Add",
|
|
4
4
|
"form.list.empty": "No items yet",
|
|
@@ -9,7 +9,6 @@ var form_default = {
|
|
|
9
9
|
"form.unsavedChanges": "Unsaved changes",
|
|
10
10
|
"form.unsavedWarning": "You have unsaved changes. Are you sure you want to leave?"
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
export { form_default as default };
|
|
14
13
|
|
|
15
14
|
//# sourceMappingURL=form.mjs.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/i18n/resources/en/hotkey.d.ts
|
|
2
1
|
declare const _default: {
|
|
3
2
|
readonly 'hotkey.clear': "Clear binding";
|
|
4
3
|
readonly 'hotkey.conflict': "This shortcut conflicts with an existing one.";
|
|
@@ -6,6 +5,5 @@ declare const _default: {
|
|
|
6
5
|
readonly 'hotkey.placeholder': "Press keys to record shortcut";
|
|
7
6
|
readonly 'hotkey.reset': "Reset to default";
|
|
8
7
|
};
|
|
9
|
-
//#endregion
|
|
10
8
|
export { _default as default };
|
|
11
9
|
//# sourceMappingURL=hotkey.d.mts.map
|