@codeandfunction/callaloo 3.0.0 → 3.1.0
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/assets/styles.css +1 -1
- package/dist/components/Indicators/Progress/CLProgress.vue.d.ts +45 -0
- package/dist/components/Indicators/index.d.ts +3 -1
- package/dist/components/Indicators/utils.d.ts +1 -0
- package/dist/components/Popups/CLToast.vue.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1862 -1786
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { CLColors, CLSizes } from '../../../index';
|
|
2
|
+
interface Props {
|
|
3
|
+
/**
|
|
4
|
+
* The color of the progress bar.
|
|
5
|
+
* @default CLColors.Primary
|
|
6
|
+
*/
|
|
7
|
+
color?: CLColors;
|
|
8
|
+
/**
|
|
9
|
+
* Set to true to invert the direction of the progress bar.
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
inverted?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* When set to `false` it will not render with rounded corners.
|
|
15
|
+
* @default true
|
|
16
|
+
*/
|
|
17
|
+
rounded?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The size of the progress bar.
|
|
20
|
+
* @default CLSizes.Medium
|
|
21
|
+
*/
|
|
22
|
+
size?: CLSizes;
|
|
23
|
+
/**
|
|
24
|
+
* Set the value to true to display the current Progress value above the bar.
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
status?: boolean;
|
|
28
|
+
}
|
|
29
|
+
type __VLS_Props = Props;
|
|
30
|
+
declare const model: import('vue').ModelRef<number, string, number, number>;
|
|
31
|
+
type __VLS_PublicProps = {
|
|
32
|
+
modelValue?: typeof model['value'];
|
|
33
|
+
} & __VLS_Props;
|
|
34
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
|
+
"update:modelValue": (value: number) => any;
|
|
36
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
37
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
color: CLColors;
|
|
40
|
+
rounded: boolean;
|
|
41
|
+
size: CLSizes;
|
|
42
|
+
inverted: boolean;
|
|
43
|
+
status: boolean;
|
|
44
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
45
|
+
export default _default;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { default as CLBadge } from './CLBadge.vue';
|
|
2
2
|
import { default as CLBanner } from './CLBanner.vue';
|
|
3
3
|
import { default as CLPill } from './CLPill.vue';
|
|
4
|
-
|
|
4
|
+
import { default as CLProgress } from './Progress/CLProgress.vue';
|
|
5
|
+
export { CLBadge, CLBanner, CLPill, CLProgress };
|
|
5
6
|
export type CLBadge = InstanceType<typeof CLBadge>;
|
|
6
7
|
export type CLBanner = InstanceType<typeof CLBanner>;
|
|
7
8
|
export type CLPill = InstanceType<typeof CLPill>;
|
|
9
|
+
export type CLProgress = InstanceType<typeof CLProgress>;
|
|
@@ -6,4 +6,5 @@ interface ThemeProps {
|
|
|
6
6
|
export declare const badgeTheme: ({ color, variant }: ThemeProps) => string;
|
|
7
7
|
export declare const bannerTheme: ({ color, variant }: ThemeProps) => string;
|
|
8
8
|
export declare const pillTheme: ({ color, variant }: ThemeProps) => string;
|
|
9
|
+
export declare const progressTheme: ({ color }: Omit<ThemeProps, "variant">) => string;
|
|
9
10
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CLIconSizes, CLColors, CLToastPosition, CLToastProps
|
|
1
|
+
import { CLColorVariants, CLIconSizes, CLColors, CLToastPosition, CLToastProps } from '../../index';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<CLToastProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLToastProps> & Readonly<{}>, {
|
|
3
3
|
color: CLColors;
|
|
4
4
|
width: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Align as CLAlign, BorderRadius as CLBorderRadius, ButtonTypes as CLButtonTypes, CardTypes as CLCardTypes, Colors as CLColors, ColorVariants as CLColorVariants, HeadingLevels as CLHeadingLevels, HeadingTypes as CLHeadingTypes, IconSizes as CLIconSizes, IconNames as CLIconNames, InputTypes as CLInputTypes, LinkTarget as CLLinkTarget, Loading as CLLoading, Mode as CLMode, Orientation as CLOrientation, Order as CLOrder, PaginationType as CLPaginationType, Placement as CLPlacement, Position as CLPosition, Sizes as CLSizes, TableTypes as CLTableTypes, TextTypes as CLTextTypes, ToastPosition as CLToastPosition } from './types';
|
|
2
2
|
export type { BannerProps as CLBannerProps, ButtonTags as CLButtonTags, CardProps as CLCardProps, GenericFunction as CLGenericFunction, GenericFocusFunction as CLGenericFocusFunction, NavItem as CLNavItem, Palette as CLPalette, Option as CLOption, ThemeConfig as CLThemeConfig, TextHtmlTags as CLTextHtmlTags, ToastProps as CLToastProps } from './types';
|
|
3
|
-
export { CLBadge, CLBanner, CLPill } from './components/Indicators';
|
|
3
|
+
export { CLBadge, CLBanner, CLPill, CLProgress } from './components/Indicators';
|
|
4
4
|
export { CLA11yButton, CLButton } from './components/Buttons';
|
|
5
5
|
export { CLCard, CLCarousel, CLCarouselSlide, CLDisclosure } from './components/Containers';
|
|
6
6
|
export { CLCheckbox, CLInput, CLRadioButton, CLSelect, CLTextArea } from './components/Form';
|