@sabrenski/spire-ui-vue 0.2.12 → 0.2.14
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/components/Alert/types.d.ts +5 -2
- package/dist/components/Skeleton/Skeleton.vue.d.ts +7 -0
- package/dist/components/Skeleton/index.d.ts +2 -0
- package/dist/components/Skeleton/types.d.ts +13 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/spire-ui.cjs +28 -28
- package/dist/spire-ui.js +1500 -1379
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export type AlertVariant = 'flat' | 'solid';
|
|
2
|
-
export type AlertColor = 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
1
|
+
export type AlertVariant = 'flat' | 'minimal' | 'solid';
|
|
2
|
+
export type AlertColor = 'default' | 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
|
|
3
3
|
export type AlertRadius = 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
4
|
+
export type AlertShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
5
|
export interface AlertProps {
|
|
5
6
|
/** Visual style variant */
|
|
6
7
|
variant?: AlertVariant;
|
|
@@ -8,6 +9,8 @@ export interface AlertProps {
|
|
|
8
9
|
color?: AlertColor;
|
|
9
10
|
/** Border radius size */
|
|
10
11
|
radius?: AlertRadius;
|
|
12
|
+
/** Box shadow size */
|
|
13
|
+
shadow?: AlertShadow;
|
|
11
14
|
/** Optional heading text displayed above the content */
|
|
12
15
|
title?: string;
|
|
13
16
|
/** Show close button that emits @close event */
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SkeletonProps, SkeletonVariant } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<SkeletonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
3
|
+
variant: SkeletonVariant;
|
|
4
|
+
disableAnimation: boolean;
|
|
5
|
+
lines: number;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type SkeletonVariant = 'text' | 'circular' | 'rectangular';
|
|
2
|
+
export interface SkeletonProps {
|
|
3
|
+
/** Shape variant of the skeleton */
|
|
4
|
+
variant?: SkeletonVariant;
|
|
5
|
+
/** Width of the skeleton (CSS value like '100px', '50%', 'full') */
|
|
6
|
+
width?: string;
|
|
7
|
+
/** Height of the skeleton (CSS value like '20px', '1rem') */
|
|
8
|
+
height?: string;
|
|
9
|
+
/** Number of skeleton lines (only for text variant) */
|
|
10
|
+
lines?: number;
|
|
11
|
+
/** Disable the pulse animation */
|
|
12
|
+
disableAnimation?: boolean;
|
|
13
|
+
}
|