@coffic/cosy-ui 0.8.10 → 0.8.11
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/dist/app.css +1 -1
- package/dist/src-astro/alert/index.ts +7 -15
- package/dist/src-astro/assets/iconData.ts +100 -0
- package/dist/src-astro/button/index_astro.ts +2 -56
- package/dist/src-astro/card/CardCourse.astro +31 -11
- package/dist/src-astro/card/index.ts +15 -25
- package/dist/src-astro/code-container/CodeContainer.astro +205 -5
- package/dist/src-astro/code-container/index.ts +9 -13
- package/dist/src-astro/contact/index.ts +16 -20
- package/dist/src-astro/errors/index.ts +0 -62
- package/dist/src-astro/footer/index.ts +1 -30
- package/dist/src-astro/header/Header.astro +1 -2
- package/dist/src-astro/header/index.ts +1 -40
- package/dist/src-astro/hero/index.ts +1 -39
- package/dist/src-astro/icons/ChartIcon.astro +28 -0
- package/dist/src-astro/icons/DashboardIcon.astro +28 -0
- package/dist/src-astro/icons/DeleteIcon.astro +28 -0
- package/dist/src-astro/icons/DocumentIcon.astro +28 -0
- package/dist/src-astro/icons/DownloadIcon.astro +28 -0
- package/dist/src-astro/icons/EditIcon.astro +28 -0
- package/dist/src-astro/icons/FolderIcon.astro +28 -0
- package/dist/src-astro/icons/HeartIcon.astro +28 -0
- package/dist/src-astro/icons/HomeIcon.astro +28 -0
- package/dist/src-astro/icons/MailIcon.astro +28 -0
- package/dist/src-astro/icons/MessageIcon.astro +28 -0
- package/dist/src-astro/icons/NotificationIcon.astro +28 -0
- package/dist/src-astro/icons/ReportIcon.astro +28 -0
- package/dist/src-astro/icons/SaveIcon.astro +28 -0
- package/dist/src-astro/icons/SecurityIcon.astro +28 -0
- package/dist/src-astro/icons/StarIcon.astro +28 -0
- package/dist/src-astro/icons/ToolsIcon.astro +28 -0
- package/dist/src-astro/icons/UploadIcon.astro +28 -0
- package/dist/src-astro/icons/UsersIcon.astro +28 -0
- package/dist/src-astro/icons/WalletIcon.astro +28 -0
- package/dist/src-astro/icons/index.ts +20 -0
- package/dist/src-astro/layout-app/index.ts +5 -9
- package/dist/src-astro/layout-dashboard/DashboardLayout.astro +101 -555
- package/dist/src-astro/layout-dashboard/DashboardSidebar.astro +206 -0
- package/dist/src-astro/layout-dashboard/DashboardTopNavbar.astro +132 -0
- package/dist/src-astro/layout-dashboard/index.ts +14 -8
- package/dist/src-astro/layout-dashboard/tools.ts +0 -0
- package/dist/src-astro/layout-dashboard/types.ts +313 -0
- package/package.json +1 -1
- package/dist/src-astro/alert/EAlertBasic.astro +0 -11
- package/dist/src-astro/alert/EAlertBasicContainer.astro +0 -11
- package/dist/src-astro/alert/EAlertCustomStyle.astro +0 -16
- package/dist/src-astro/alert/EAlertCustomStyleContainer.astro +0 -11
- package/dist/src-astro/alert/EAlertError.astro +0 -6
- package/dist/src-astro/alert/EAlertInfo.astro +0 -6
- package/dist/src-astro/alert/EAlertSuccess.astro +0 -6
- package/dist/src-astro/alert/EAlertTypesContainer.astro +0 -43
- package/dist/src-astro/alert/EAlertWarning.astro +0 -6
- package/dist/src-astro/alert/EAlertWithTitle.astro +0 -12
- package/dist/src-astro/alert/EAlertWithTitleContainer.astro +0 -11
- package/dist/src-astro/button/ButtonBasic.astro +0 -18
- package/dist/src-astro/button/ButtonBasicContainer.astro +0 -11
- package/dist/src-astro/button/ButtonBlock.astro +0 -5
- package/dist/src-astro/button/ButtonError.astro +0 -5
- package/dist/src-astro/button/ButtonGhost.astro +0 -5
- package/dist/src-astro/button/ButtonIconBoth.astro +0 -9
- package/dist/src-astro/button/ButtonIconLeft.astro +0 -8
- package/dist/src-astro/button/ButtonIconRight.astro +0 -8
- package/dist/src-astro/button/ButtonInfo.astro +0 -5
- package/dist/src-astro/button/ButtonLinkContainer.astro +0 -19
- package/dist/src-astro/button/ButtonNeutral.astro +0 -5
- package/dist/src-astro/button/ButtonOutline.astro +0 -5
- package/dist/src-astro/button/ButtonShapeCircle.astro +0 -5
- package/dist/src-astro/button/ButtonShapeDefault.astro +0 -5
- package/dist/src-astro/button/ButtonShapeSquare.astro +0 -5
- package/dist/src-astro/button/ButtonShapes.astro +0 -23
- package/dist/src-astro/button/ButtonShapesContainer.astro +0 -29
- package/dist/src-astro/button/ButtonSizes.astro +0 -15
- package/dist/src-astro/button/ButtonSizesContainer.astro +0 -11
- package/dist/src-astro/button/ButtonStates.astro +0 -12
- package/dist/src-astro/button/ButtonStatesContainer.astro +0 -11
- package/dist/src-astro/button/ButtonSuccess.astro +0 -5
- package/dist/src-astro/button/ButtonVariantsContainer.astro +0 -73
- package/dist/src-astro/button/ButtonWarning.astro +0 -5
- package/dist/src-astro/button/ButtonWide.astro +0 -5
- package/dist/src-astro/button/ButtonWidth.astro +0 -8
- package/dist/src-astro/button/ButtonWidthContainer.astro +0 -19
- package/dist/src-astro/button/ButtonWithIcons.astro +0 -25
- package/dist/src-astro/button/ButtonWithIconsContainer.astro +0 -29
- package/dist/src-astro/card/CardBasic.astro +0 -5
- package/dist/src-astro/card/ECardBasic.astro +0 -13
- package/dist/src-astro/card/ECardBasicContainer.astro +0 -11
- package/dist/src-astro/card/ECardClickable.astro +0 -16
- package/dist/src-astro/card/ECardClickableContainer.astro +0 -11
- package/dist/src-astro/card/ECardCompact.astro +0 -13
- package/dist/src-astro/card/ECardCompactContainer.astro +0 -11
- package/dist/src-astro/card/ECardCustomStyle.astro +0 -17
- package/dist/src-astro/card/ECardCustomStyleContainer.astro +0 -11
- package/dist/src-astro/card/ECardWithImage.astro +0 -16
- package/dist/src-astro/card/ECardWithImageContainer.astro +0 -11
- package/dist/src-astro/card/ECardWithSubtitle.astro +0 -13
- package/dist/src-astro/card/ECardWithSubtitleContainer.astro +0 -11
- package/dist/src-astro/code-container/ECodeContainerBasic.astro +0 -19
- package/dist/src-astro/code-container/ECodeContainerMultiple.astro +0 -49
- package/dist/src-astro/contact/EContactBasic.astro +0 -15
- package/dist/src-astro/contact/EContactBasicContainer.astro +0 -11
- package/dist/src-astro/contact/EContactCompact.astro +0 -11
- package/dist/src-astro/contact/EContactCompactContainer.astro +0 -11
- package/dist/src-astro/contact/EContactCustomStyle.astro +0 -21
- package/dist/src-astro/contact/EContactCustomStyleContainer.astro +0 -11
- package/dist/src-astro/contact/EContactSocial.astro +0 -20
- package/dist/src-astro/contact/EContactSocialContainer.astro +0 -11
- package/dist/src-astro/contact/EContactWithTitle.astro +0 -17
- package/dist/src-astro/contact/EContactWithTitleContainer.astro +0 -11
- package/dist/src-astro/errors/E403Basic.astro +0 -11
- package/dist/src-astro/errors/E403BasicContainer.astro +0 -20
- package/dist/src-astro/errors/E404Basic.astro +0 -11
- package/dist/src-astro/errors/E404BasicContainer.astro +0 -20
- package/dist/src-astro/errors/E404WithDebug.astro +0 -18
- package/dist/src-astro/errors/E500Basic.astro +0 -11
- package/dist/src-astro/errors/E500BasicContainer.astro +0 -20
- package/dist/src-astro/errors/E503Maintenance.astro +0 -20
- package/dist/src-astro/errors/E503MaintenanceContainer.astro +0 -21
- package/dist/src-astro/errors/EErrorPageCustomStyle.astro +0 -21
- package/dist/src-astro/errors/EErrorPageCustomStyleContainer.astro +0 -21
- package/dist/src-astro/errors/EErrorPageShowcase.astro +0 -68
- package/dist/src-astro/errors/EErrorPageShowcaseContainer.astro +0 -21
- package/dist/src-astro/footer/EFooterBasic.astro +0 -18
- package/dist/src-astro/footer/EFooterBasicContainer.astro +0 -11
- package/dist/src-astro/footer/EFooterComplete.astro +0 -50
- package/dist/src-astro/footer/EFooterCompleteContainer.astro +0 -11
- package/dist/src-astro/footer/EFooterFeaturesContainer.astro +0 -40
- package/dist/src-astro/footer/EFooterWithLogo.astro +0 -28
- package/dist/src-astro/footer/EFooterWithLogoContainer.astro +0 -11
- package/dist/src-astro/footer/EFooterWithNavigation.astro +0 -24
- package/dist/src-astro/footer/EFooterWithNavigationContainer.astro +0 -11
- package/dist/src-astro/footer/EFooterWithProducts.astro +0 -24
- package/dist/src-astro/footer/EFooterWithProductsContainer.astro +0 -11
- package/dist/src-astro/footer/EFooterWithSocial.astro +0 -24
- package/dist/src-astro/footer/EFooterWithSocialContainer.astro +0 -11
- package/dist/src-astro/header/HeaderBasic.astro +0 -19
- package/dist/src-astro/header/HeaderCustomNavbarCenter.astro +0 -28
- package/dist/src-astro/header/HeaderCustomNavbarEnd.astro +0 -25
- package/dist/src-astro/header/HeaderCustomNavbarStart.astro +0 -27
- package/dist/src-astro/header/HeaderCustomPosition.astro +0 -34
- package/dist/src-astro/header/HeaderWithNavigation.astro +0 -27
- package/dist/src-astro/hero/EHeroAlignCenter.astro +0 -13
- package/dist/src-astro/hero/EHeroAlignContainer.astro +0 -27
- package/dist/src-astro/hero/EHeroAlignLeft.astro +0 -13
- package/dist/src-astro/hero/EHeroAlignRight.astro +0 -13
- package/dist/src-astro/hero/EHeroBackgroundContainer.astro +0 -18
- package/dist/src-astro/hero/EHeroBackgroundImage.astro +0 -16
- package/dist/src-astro/hero/EHeroBackgroundImageContainer.astro +0 -11
- package/dist/src-astro/hero/EHeroBasic.astro +0 -12
- package/dist/src-astro/hero/EHeroBasicContainer.astro +0 -11
- package/dist/src-astro/hero/EHeroGradientBackground.astro +0 -10
- package/dist/src-astro/hero/EHeroPlainBackground.astro +0 -10
- package/dist/src-astro/hero/EHeroWithButton.astro +0 -14
- package/dist/src-astro/hero/EHeroWithButtonContainer.astro +0 -11
- package/dist/src-astro/hero/EHeroWithImage.astro +0 -16
- package/dist/src-astro/hero/EHeroWithImageContainer.astro +0 -11
- package/dist/src-astro/layout-app/AppLayoutBasic.astro +0 -54
- package/dist/src-astro/layout-dashboard/DashboardLayoutBasic.astro +0 -51
@@ -1,31 +1,2 @@
|
|
1
|
-
import Footer from './Footer.astro';
|
2
|
-
import FooterBasicContainer from './EFooterBasicContainer.astro';
|
3
|
-
import FooterWithSocialContainer from './EFooterWithSocialContainer.astro';
|
4
|
-
import FooterWithProductsContainer from './EFooterWithProductsContainer.astro';
|
5
|
-
import FooterWithLogoContainer from './EFooterWithLogoContainer.astro';
|
6
|
-
import FooterWithNavigationContainer from './EFooterWithNavigationContainer.astro';
|
7
|
-
import FooterCompleteContainer from './EFooterCompleteContainer.astro';
|
8
|
-
import FooterFeaturesContainer from './EFooterFeaturesContainer.astro';
|
9
|
-
import EFooterBasicSourceCode from './EFooterBasic.astro?raw';
|
10
|
-
import { extractSimpleExample } from '../utils/component';
|
11
|
-
|
12
1
|
export { default as Footer } from './Footer.astro';
|
13
|
-
|
14
|
-
// 导出示例源代码
|
15
|
-
export const FooterExampleCodes = {
|
16
|
-
Basic: extractSimpleExample(EFooterBasicSourceCode, 'Footer'),
|
17
|
-
};
|
18
|
-
|
19
|
-
// 导出页脚包
|
20
|
-
export const FooterPackage = {
|
21
|
-
Footer,
|
22
|
-
FooterContainers: {
|
23
|
-
Basic: FooterBasicContainer,
|
24
|
-
WithSocial: FooterWithSocialContainer,
|
25
|
-
WithProducts: FooterWithProductsContainer,
|
26
|
-
WithLogo: FooterWithLogoContainer,
|
27
|
-
WithNavigation: FooterWithNavigationContainer,
|
28
|
-
Complete: FooterCompleteContainer,
|
29
|
-
Features: FooterFeaturesContainer,
|
30
|
-
},
|
31
|
-
};
|
2
|
+
export { default as FooterSection } from './FooterSection.astro';
|
@@ -13,7 +13,6 @@
|
|
13
13
|
* 3. 可定制性 - 支持多种配置选项,适应不同网站的风格和需求
|
14
14
|
* 4. 多语言支持 - 内置语言切换功能,便于构建国际化网站
|
15
15
|
*/
|
16
|
-
import '../../style.ts';
|
17
16
|
import {
|
18
17
|
LanguageSwitcher,
|
19
18
|
LinkUtil,
|
@@ -23,7 +22,7 @@ import {
|
|
23
22
|
Link,
|
24
23
|
Image,
|
25
24
|
ThemeSwitcher,
|
26
|
-
} from '
|
25
|
+
} from '@coffic/cosy-ui';
|
27
26
|
import Logo from '../assets/logo-rounded.png';
|
28
27
|
|
29
28
|
export interface Props extends IHeaderProps {
|
@@ -1,40 +1 @@
|
|
1
|
-
|
2
|
-
import HeaderBasic from './HeaderBasic.astro';
|
3
|
-
import HeaderWithNavigation from './HeaderWithNavigation.astro';
|
4
|
-
import HeaderCustomPosition from './HeaderCustomPosition.astro';
|
5
|
-
import HeaderCustomNavbarEnd from './HeaderCustomNavbarEnd.astro';
|
6
|
-
import HeaderCustomNavbarStart from './HeaderCustomNavbarStart.astro';
|
7
|
-
import HeaderCustomNavbarCenter from './HeaderCustomNavbarCenter.astro';
|
8
|
-
import BasicSourceCode from './HeaderBasic.astro?raw';
|
9
|
-
import WithNavigationSourceCode from './HeaderWithNavigation.astro?raw';
|
10
|
-
import CustomPositionSourceCode from './HeaderCustomPosition.astro?raw';
|
11
|
-
import CustomNavbarEndSourceCode from './HeaderCustomNavbarEnd.astro?raw';
|
12
|
-
import CustomNavbarStartSourceCode from './HeaderCustomNavbarStart.astro?raw';
|
13
|
-
import CustomNavbarCenterSourceCode from './HeaderCustomNavbarCenter.astro?raw';
|
14
|
-
import { extractSimpleExample } from '../utils/component';
|
15
|
-
|
16
|
-
export {
|
17
|
-
Header,
|
18
|
-
HeaderBasic,
|
19
|
-
HeaderWithNavigation,
|
20
|
-
HeaderCustomPosition,
|
21
|
-
HeaderCustomNavbarEnd,
|
22
|
-
HeaderCustomNavbarStart,
|
23
|
-
HeaderCustomNavbarCenter,
|
24
|
-
};
|
25
|
-
|
26
|
-
// 导出示例源代码
|
27
|
-
export const HeaderExampleCodes = {
|
28
|
-
Basic: extractSimpleExample(BasicSourceCode, 'Header'),
|
29
|
-
WithNavigation: extractSimpleExample(WithNavigationSourceCode, 'Header'),
|
30
|
-
CustomPosition: extractSimpleExample(CustomPositionSourceCode, 'Header'),
|
31
|
-
CustomNavbarEnd: extractSimpleExample(CustomNavbarEndSourceCode, 'Header'),
|
32
|
-
CustomNavbarStart: extractSimpleExample(
|
33
|
-
CustomNavbarStartSourceCode,
|
34
|
-
'Header'
|
35
|
-
),
|
36
|
-
CustomNavbarCenter: extractSimpleExample(
|
37
|
-
CustomNavbarCenterSourceCode,
|
38
|
-
'Header'
|
39
|
-
),
|
40
|
-
};
|
1
|
+
export { default as Header } from './Header.astro';
|
@@ -1,39 +1 @@
|
|
1
|
-
|
2
|
-
import HeroBasic from './EHeroBasic.astro';
|
3
|
-
import HeroAlignCenter from './EHeroAlignCenter.astro';
|
4
|
-
import HeroAlignLeft from './EHeroAlignLeft.astro';
|
5
|
-
import HeroAlignRight from './EHeroAlignRight.astro';
|
6
|
-
import HeroWithImage from './EHeroWithImage.astro';
|
7
|
-
import HeroWithButton from './EHeroWithButton.astro';
|
8
|
-
import HeroPlainBackground from './EHeroPlainBackground.astro';
|
9
|
-
import HeroGradientBackground from './EHeroGradientBackground.astro';
|
10
|
-
import HeroBackgroundImage from './EHeroBackgroundImage.astro';
|
11
|
-
import HeroBasicContainer from './EHeroBasicContainer.astro';
|
12
|
-
import HeroAlignContainer from './EHeroAlignContainer.astro';
|
13
|
-
import HeroWithImageContainer from './EHeroWithImageContainer.astro';
|
14
|
-
import HeroWithButtonContainer from './EHeroWithButtonContainer.astro';
|
15
|
-
import HeroBackgroundContainer from './EHeroBackgroundContainer.astro';
|
16
|
-
import HeroBackgroundImageContainer from './EHeroBackgroundImageContainer.astro';
|
17
|
-
|
18
|
-
export { Hero };
|
19
|
-
|
20
|
-
export const HeroPackage = {
|
21
|
-
Hero,
|
22
|
-
HeroBasic,
|
23
|
-
HeroAlignCenter,
|
24
|
-
HeroAlignLeft,
|
25
|
-
HeroAlignRight,
|
26
|
-
HeroWithImage,
|
27
|
-
HeroWithButton,
|
28
|
-
HeroPlainBackground,
|
29
|
-
HeroGradientBackground,
|
30
|
-
HeroBackgroundImage,
|
31
|
-
HeroContainers: {
|
32
|
-
Basic: HeroBasicContainer,
|
33
|
-
Align: HeroAlignContainer,
|
34
|
-
WithImage: HeroWithImageContainer,
|
35
|
-
WithButton: HeroWithButtonContainer,
|
36
|
-
Background: HeroBackgroundContainer,
|
37
|
-
BackgroundImage: HeroBackgroundImageContainer,
|
38
|
-
},
|
39
|
-
};
|
1
|
+
export { default as Hero } from './Hero.astro';
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="chart" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="dashboard" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="delete" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="document" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="download" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="edit" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="folder" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="heart" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="home" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="mail" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="message" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="notification" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="report" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="save" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="security" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="star" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="tools" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="upload" size={size} stroke={color} class={className} />
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
import AstroIcon from './AstroIcon.astro';
|
3
|
+
|
4
|
+
interface Props {
|
5
|
+
/**
|
6
|
+
* 图标的大小
|
7
|
+
* @default "24px"
|
8
|
+
*/
|
9
|
+
size?: string;
|
10
|
+
/**
|
11
|
+
* 图标的颜色
|
12
|
+
* @default "currentColor"
|
13
|
+
*/
|
14
|
+
color?: string;
|
15
|
+
/**
|
16
|
+
* 自定义类名
|
17
|
+
*/
|
18
|
+
class?: string;
|
19
|
+
}
|
20
|
+
|
21
|
+
const {
|
22
|
+
size = '24px',
|
23
|
+
color = 'currentColor',
|
24
|
+
class: className = '',
|
25
|
+
} = Astro.props;
|
26
|
+
---
|
27
|
+
|
28
|
+
<AstroIcon name="users" size={size} stroke={color} class={className} />
|