Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-16 02:20:32 +00:00
parent a4605e311a
commit 71de1506ca
28603 changed files with 2179459 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
import type { GenerateStyle } from '@ant-design/pro-provider';
import type { AppsLogoComponentsToken } from './index';
declare const genAppsLogoComponentsDefaultListStyle: GenerateStyle<AppsLogoComponentsToken>;
export { genAppsLogoComponentsDefaultListStyle };

View File

@@ -0,0 +1,72 @@
import { resetComponent } from '@ant-design/pro-utils';
var genAppsLogoComponentsDefaultListStyle = function genAppsLogoComponentsDefaultListStyle(token) {
return {
'&-content': {
maxHeight: 'calc(100vh - 48px)',
overflow: 'auto',
'&-list': {
boxSizing: 'content-box',
maxWidth: 656,
marginBlock: 0,
marginInline: 0,
paddingBlock: 0,
paddingInline: 0,
listStyle: 'none',
'&-item': {
position: 'relative',
display: 'inline-block',
width: 328,
height: 72,
paddingInline: 16,
paddingBlock: 16,
verticalAlign: 'top',
listStyleType: 'none',
transition: 'transform 0.2s cubic-bezier(0.333, 0, 0, 1)',
borderRadius: token.borderRadius,
'&-group': {
marginBottom: 16,
'&-title': {
margin: '16px 0 8px 12px',
fontWeight: 600,
color: 'rgba(0, 0, 0, 0.88)',
fontSize: 16,
opacity: 0.85,
lineHeight: 1.5,
'&:first-child': {
marginTop: 12
}
}
},
'&:hover': {
backgroundColor: token.colorBgTextHover
},
'* div': resetComponent === null || resetComponent === void 0 ? void 0 : resetComponent(token),
a: {
display: 'flex',
height: '100%',
fontSize: 12,
textDecoration: 'none',
'& > img': {
width: 40,
height: 40
},
'& > div': {
marginInlineStart: 14,
color: token.colorTextHeading,
fontSize: 14,
lineHeight: '22px',
whiteSpace: 'nowrap',
textOverflow: 'ellipsis'
},
'& > div > span': {
color: token.colorTextSecondary,
fontSize: 12,
lineHeight: '20px'
}
}
}
}
}
};
};
export { genAppsLogoComponentsDefaultListStyle };

View File

@@ -0,0 +1,9 @@
/// <reference types="react" />
import type { ProAliasToken } from '@ant-design/pro-provider';
export interface AppsLogoComponentsToken extends ProAliasToken {
componentCls: string;
}
export declare function useStyle(prefixCls: string): {
wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
hashId: string;
};

View File

@@ -0,0 +1,59 @@
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import { useStyle as useAntdStyle } from '@ant-design/pro-provider';
import { genAppsLogoComponentsDefaultListStyle } from "./default";
import { genAppsLogoComponentsSimpleListStyle } from "./simple";
var genAppsLogoComponentsStyle = function genAppsLogoComponentsStyle(token) {
var _token$layout, _token$layout2, _token$layout3, _token$layout4, _token$layout5;
return _defineProperty({}, token.componentCls, {
'&-icon': {
display: 'inline-flex',
alignItems: 'center',
justifyContent: 'center',
paddingInline: 4,
paddingBlock: 0,
fontSize: 14,
lineHeight: '14px',
height: 28,
width: 28,
cursor: 'pointer',
color: (_token$layout = token.layout) === null || _token$layout === void 0 ? void 0 : _token$layout.colorTextAppListIcon,
borderRadius: token.borderRadius,
'&:hover': {
color: (_token$layout2 = token.layout) === null || _token$layout2 === void 0 ? void 0 : _token$layout2.colorTextAppListIconHover,
backgroundColor: (_token$layout3 = token.layout) === null || _token$layout3 === void 0 ? void 0 : _token$layout3.colorBgAppListIconHover
},
'&-active': {
color: (_token$layout4 = token.layout) === null || _token$layout4 === void 0 ? void 0 : _token$layout4.colorTextAppListIconHover,
backgroundColor: (_token$layout5 = token.layout) === null || _token$layout5 === void 0 ? void 0 : _token$layout5.colorBgAppListIconHover
}
},
'&-item-title': {
marginInlineStart: '16px',
marginInlineEnd: '8px',
marginBlockStart: 0,
marginBlockEnd: '12px',
fontWeight: 600,
color: 'rgba(0, 0, 0, 0.88)',
fontSize: 16,
opacity: 0.85,
lineHeight: 1.5,
'&:first-child': {
marginBlockStart: 12
}
},
'&-popover': _defineProperty({}, "".concat(token.antCls, "-popover-arrow"), {
display: 'none'
}),
'&-simple': genAppsLogoComponentsSimpleListStyle(token),
'&-default': genAppsLogoComponentsDefaultListStyle(token)
});
};
export function useStyle(prefixCls) {
return useAntdStyle('AppsLogoComponents', function (token) {
var proCardToken = _objectSpread(_objectSpread({}, token), {}, {
componentCls: ".".concat(prefixCls)
});
return [genAppsLogoComponentsStyle(proCardToken)];
});
}

View File

@@ -0,0 +1,4 @@
import type { GenerateStyle } from '@ant-design/pro-provider';
import type { AppsLogoComponentsToken } from './index';
declare const genAppsLogoComponentsSimpleListStyle: GenerateStyle<AppsLogoComponentsToken>;
export { genAppsLogoComponentsSimpleListStyle };

View File

@@ -0,0 +1,86 @@
var genAppsLogoComponentsSimpleListStyle = function genAppsLogoComponentsSimpleListStyle(token) {
return {
'&-content': {
maxHeight: 'calc(100vh - 48px)',
overflow: 'auto',
'&-list': {
boxSizing: 'border-box',
maxWidth: 376,
marginBlock: 0,
marginInline: 0,
paddingBlock: 0,
paddingInline: 0,
listStyle: 'none',
'&-item': {
position: 'relative',
display: 'inline-block',
width: 104,
height: 104,
marginBlock: 8,
marginInline: 8,
paddingInline: 24,
paddingBlock: 24,
verticalAlign: 'top',
listStyleType: 'none',
transition: 'transform 0.2s cubic-bezier(0.333, 0, 0, 1)',
borderRadius: token.borderRadius,
'&-group': {
marginBottom: 16,
'&-title': {
margin: '16px 0 8px 12px',
fontWeight: 600,
color: 'rgba(0, 0, 0, 0.88)',
fontSize: 16,
opacity: 0.85,
lineHeight: 1.5,
'&:first-child': {
marginTop: 12
}
}
},
'&:hover': {
backgroundColor: token.colorBgTextHover
},
a: {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
height: '100%',
fontSize: 12,
textDecoration: 'none',
'& > #avatarLogo': {
width: 40,
height: 40,
margin: '0 auto',
color: token.colorPrimary,
fontSize: 22,
lineHeight: '40px',
textAlign: 'center',
backgroundImage: 'linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)',
borderRadius: token.borderRadius
},
'& > img': {
width: 40,
height: 40
},
'& > div': {
marginBlockStart: 5,
marginInlineStart: 0,
color: token.colorTextHeading,
fontSize: 14,
lineHeight: '22px',
whiteSpace: 'nowrap',
textOverflow: 'ellipsis'
},
'& > div > span': {
color: token.colorTextSecondary,
fontSize: 12,
lineHeight: '20px'
}
}
}
}
}
};
};
export { genAppsLogoComponentsSimpleListStyle };