@lobehub/ui 1.135.3 → 1.135.4
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/TabsNav/index.d.ts +1 -17
- package/es/mdx/Callout.js +1 -1
- package/es/mdx/Steps.js +1 -1
- package/package.json +1 -1
package/es/TabsNav/index.d.ts
CHANGED
|
@@ -1,22 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TabsProps } from 'antd';
|
|
3
|
-
export interface TabsNavProps {
|
|
4
|
-
/**
|
|
5
|
-
* @description The key of the active tab
|
|
6
|
-
*/
|
|
7
|
-
activeKey?: TabsProps['activeKey'];
|
|
8
|
-
/**
|
|
9
|
-
* @description Additional className to apply to the component
|
|
10
|
-
*/
|
|
11
|
-
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* @description An array of objects representing the tabs to be rendered
|
|
14
|
-
*/
|
|
15
|
-
items?: TabsProps['items'];
|
|
16
|
-
/**
|
|
17
|
-
* @description Callback function that is triggered when a tab is changed
|
|
18
|
-
*/
|
|
19
|
-
onChange?: (activeKey: string) => void;
|
|
3
|
+
export interface TabsNavProps extends TabsProps {
|
|
20
4
|
variant?: 'default' | 'compact';
|
|
21
5
|
}
|
|
22
6
|
declare const TabsNav: import("react").NamedExoticComponent<TabsNavProps>;
|
package/es/mdx/Callout.js
CHANGED
package/es/mdx/Steps.js
CHANGED
|
@@ -8,7 +8,7 @@ var useStyles = createStyles(function (_ref) {
|
|
|
8
8
|
var css = _ref.css,
|
|
9
9
|
token = _ref.token;
|
|
10
10
|
return {
|
|
11
|
-
container: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n --lobe-markdown-header-multiple: 0.5;\n --lobe-markdown-margin-multiple: 1;\n\n position: relative;\n margin-block: calc(var(--lobe-markdown-margin-multiple) * 1em);\n padding-inline-start: 2.5em;\n\n &::before {\n content: '';\n\n position: absolute;\n inset-block-start: 0.25em;\n inset-inline-start: 0.9em;\n\n display: block;\n\n width: 1px;\n height: calc(100% - 0.5em);\n\n background: ", ";\n }\n\n h3 {\n counter-increment: step;\n\n &::before {\n content: counter(step);\n\n position: absolute;\n z-index: 1;\n inset-inline-start: 0;\n\n display: inline-block;\n\n width: 1.8em;\n height: 1.8em;\n margin-block-start: 0.
|
|
11
|
+
container: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n --lobe-markdown-header-multiple: 0.5;\n --lobe-markdown-margin-multiple: 1;\n\n position: relative;\n margin-block: calc(var(--lobe-markdown-margin-multiple) * 1em);\n padding-inline-start: 2.5em;\n\n &::before {\n content: '';\n\n position: absolute;\n inset-block-start: 0.25em;\n inset-inline-start: 0.9em;\n\n display: block;\n\n width: 1px;\n height: calc(100% - 0.5em);\n\n background: ", ";\n }\n\n h3 {\n counter-increment: step;\n\n &::before {\n content: counter(step);\n\n position: absolute;\n z-index: 1;\n inset-inline-start: 0;\n\n display: inline-block;\n\n width: 1.8em;\n height: 1.8em;\n margin-block-start: -0.05em;\n\n font-size: 0.8em;\n font-weight: 500;\n line-height: 1.8em;\n color: ", ";\n text-align: center;\n\n background: ", ";\n border-radius: 9999px;\n box-shadow: 0 0 0 2px ", ";\n }\n\n &:not(:first-child) {\n margin-block-start: 2em;\n }\n }\n "])), token.colorBorderSecondary, token.colorTextSecondary, token.colorBgElevated, token.colorBgLayout)
|
|
12
12
|
};
|
|
13
13
|
});
|
|
14
14
|
var Steps = function Steps(_ref2) {
|