@yuntijs/ui 1.0.0-beta.80 → 1.0.0-beta.81
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/es/CollapseGroup/style.js +1 -1
- package/es/Table/collapse/index.d.ts +3 -2
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/package.json +1 -1
- package/umd/index.min.js +1 -1
- package/umd/index.min.js.map +1 -1
|
@@ -6,6 +6,6 @@ export var useStyles = createStyles(function (_ref) {
|
|
|
6
6
|
token = _ref.token,
|
|
7
7
|
prefixCls = _ref.prefixCls;
|
|
8
8
|
return {
|
|
9
|
-
root: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-bottom: ", "px;\n .", "-collapse {\n &-header {\n padding: 0 !important;\n &-text {\n padding: ", "px ", "px ", "px 0;\n & > * {\n font-size: ", "px;\n /* font-weight: unset; */\n }\n }\n }\n &-expand-icon {\n cursor: pointer;\n padding: ", "px 0 ", "px ", "px;\n }\n &-extra {\n padding-right: ", "px;\n }\n &-item > .", "-collapse-content {\n padding: ", "px 0;\n background-color: ", ";\n }\n &-content {\n &-box {\n padding: ", "px ", "px !important;\n }\n }\n }\n "])), token.margin, prefixCls, token.paddingSM, token.paddingSM, token.paddingSM, token.fontSize, token.padding, token.padding, token.paddingSM, token.paddingSM, prefixCls, token.paddingXXS, token.colorBgContainer, token.paddingXXS, token.padding)
|
|
9
|
+
root: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-bottom: ", "px;\n .", "-collapse {\n &-header {\n padding: 0 !important;\n &-text {\n flex: 1 !important;\n padding: ", "px ", "px ", "px 0;\n & > * {\n font-size: ", "px;\n /* font-weight: unset; */\n }\n }\n }\n &-expand-icon {\n cursor: pointer;\n padding: ", "px 0 ", "px ", "px;\n }\n &-extra {\n padding-right: ", "px;\n }\n &-item > .", "-collapse-content {\n padding: ", "px 0;\n background-color: ", ";\n }\n &-content {\n &-box {\n padding: ", "px ", "px !important;\n }\n }\n }\n "])), token.margin, prefixCls, token.paddingSM, token.paddingSM, token.paddingSM, token.fontSize, token.padding, token.padding, token.paddingSM, token.paddingSM, prefixCls, token.paddingXXS, token.colorBgContainer, token.paddingXXS, token.padding)
|
|
10
10
|
};
|
|
11
11
|
});
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { TableProps } from 'antd';
|
|
2
|
+
import type { AnyObject } from 'antd/es/_util/type';
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import { CollapseGroupProps } from '../../CollapseGroup';
|
|
4
|
-
export interface CollapseTableProps extends Omit<TableProps
|
|
5
|
+
export interface CollapseTableProps<RecordType = AnyObject> extends Omit<TableProps<RecordType>, 'title'>, Pick<CollapseGroupProps, 'icon' | 'title' | 'variant' | 'defaultActive' | 'extra'> {
|
|
5
6
|
rootStyle?: React.CSSProperties;
|
|
6
7
|
rootClassName?: string;
|
|
7
8
|
}
|
|
8
|
-
export declare const CollapseTable:
|
|
9
|
+
export declare const CollapseTable: <RecordType extends AnyObject = AnyObject>({ rootStyle, rootClassName, icon, title, variant, defaultActive, extra, className, ...tableProps }: CollapseTableProps<RecordType>) => import("react/jsx-runtime").JSX.Element;
|
package/es/index.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export { Affix, type AffixProps, Anchor, type AnchorProps, type MentionProps as
|
|
|
38
38
|
type BadgeProps, Button, // @todo dependence unifiedLink. link type, hover primary color, back button
|
|
39
39
|
type ButtonProps, Calendar, type CalendarProps, Carousel, type CarouselProps, Cascader, type CascaderProps, Checkbox, type CheckboxProps, Col, Collapse, type CollapseProps, ColorPicker, type ColorPickerProps, type ColProps, // @todo center style
|
|
40
40
|
type CountdownProps, DatePicker, type DatePickerProps, Empty, type EmptyProps, Flex, type FlexProps, FloatButton, type GlobalToken, Grid, Image, type ImageProps, Input, InputNumber, type InputNumberProps, type InputProps, type InputRef, Layout, type LayoutProps, List, type ListProps, type MappingAlgorithm, Menu, type MenuItemProps, type MenuProps, type MenuRef, type MenuTheme, message, type MessageArgsProps, Pagination, type PaginationProps, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, Progress, type ProgressProps, QRCode, type QRCodeProps, type QRPropsCanvas, type QRPropsSvg, Rate, type RateProps, type RefSelectProps, Result, type ResultProps, Row, type RowProps, Segmented, type SegmentedProps, Select, type SelectProps, Skeleton, type SkeletonProps, Slider, type SliderSingleProps, Space, type SpaceProps, Spin, type SpinProps, Statistic, type StatisticProps, type StepProps, Steps, type StepsProps, type SubMenuProps, Switch, type SwitchProps, type TabPaneProps, Tabs, type TabsProps, Tag, type TagProps, type TagType, theme, Timeline, type TimelineItemProps, type TimelineProps, TimePicker, type TimePickerProps, type TimeRangePickerProps, Tooltip, type TooltipProps, Tour, type TourProps, type TourStepProps, Transfer, type TransferProps, Tree, type TreeDataNode, type TreeNodeProps, type TreeProps, TreeSelect, type TreeSelectProps, Upload, type UploadFile, type UploadProps, version, Watermark, type WatermarkProps, } from 'antd';
|
|
41
|
-
export { Markdown, type MarkdownProps, SyntaxHighlighter, type SyntaxHighlighterProps, } from '@lobehub/ui';
|
|
41
|
+
export { CopyButton, type CopyButtonProps, Markdown, type MarkdownProps, SyntaxHighlighter, type SyntaxHighlighterProps, } from '@lobehub/ui';
|
|
42
42
|
export { SpeechSynthesisTTS } from '@lobehub/tts';
|
|
43
43
|
export { AudioPlayer, useAudioPlayer, useSpeechRecognition } from '@lobehub/tts/react';
|
|
44
44
|
export { useResponsive, useTheme, useThemeMode } from 'antd-style';
|
package/es/index.js
CHANGED
|
@@ -50,7 +50,7 @@ export { Affix, Anchor, Mentions as AntdMentions, AutoComplete, Avatar, BackTop,
|
|
|
50
50
|
, DatePicker, Empty, Flex, FloatButton, Grid, Image, Input, InputNumber, Layout, List, Menu, message, Pagination, Popconfirm, Popover, Progress, QRCode, Rate, Result, Row, Segmented, Select, Skeleton, Slider, Space, Spin, Statistic, Steps, Switch, Tabs, Tag, theme, Timeline, TimePicker, Tooltip, Tour, Transfer, Tree, TreeSelect, Upload, version, Watermark } from 'antd';
|
|
51
51
|
|
|
52
52
|
// ~ @lobehub/ui
|
|
53
|
-
export { Markdown, SyntaxHighlighter } from '@lobehub/ui';
|
|
53
|
+
export { CopyButton, Markdown, SyntaxHighlighter } from '@lobehub/ui';
|
|
54
54
|
|
|
55
55
|
// @lobehub/tts
|
|
56
56
|
export { SpeechSynthesisTTS } from '@lobehub/tts';
|