@codeandfunction/callaloo 3.12.5 → 3.14.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/chunks/{icons.hu757pLK.js → icons.QRYZHNAf.js} +1 -1
- package/dist/components/Containers/CLCard/CLCard.vue.d.ts +6 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +739 -729
- package/dist/stats.json +6 -6
- package/dist/types.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CLAlign, CLBorderRadius, CLCardTypes, CLColors, CLColorVariants, CLGenericFunction, CLHeadingLevels, CLHeadingTypes, CLLinkTarget, CLLoading, CLOrder } from '../../../index.ts';
|
|
1
|
+
import { CLAlign, CLBorderRadius, CLCardTypes, CLColors, CLColorVariants, CLGenericFunction, CLHeadingLevels, CLHeadingTypes, CLLinkTarget, CLLoading, CLOrder, CLOverflow } from '../../../index.ts';
|
|
2
2
|
export interface CLCardProps {
|
|
3
3
|
/** When set to `true`, it elevates the card to indicate its active state */
|
|
4
4
|
active?: boolean;
|
|
@@ -14,9 +14,9 @@ export interface CLCardProps {
|
|
|
14
14
|
busy?: boolean;
|
|
15
15
|
/** Appears below the title for meta data like time and date */
|
|
16
16
|
byline?: string;
|
|
17
|
-
/** Sets the color of the Card */
|
|
17
|
+
/** Sets the color of the Card's background, color, title and byline */
|
|
18
18
|
color?: CLColors;
|
|
19
|
-
/** When set to `true`,
|
|
19
|
+
/** When set to `true`, it removes vertical spacing in between content */
|
|
20
20
|
compact?: boolean;
|
|
21
21
|
/** Displays a shadow to indicate elevation */
|
|
22
22
|
elevated?: boolean;
|
|
@@ -40,6 +40,8 @@ export interface CLCardProps {
|
|
|
40
40
|
imageWidth?: string;
|
|
41
41
|
/** Callback function to handle click events */
|
|
42
42
|
onClick?: CLGenericFunction;
|
|
43
|
+
/** Sets how content overflow is handled */
|
|
44
|
+
overflow?: CLOverflow;
|
|
43
45
|
/** When set to `false`, removes horizontal and vertical padding */
|
|
44
46
|
padded?: boolean;
|
|
45
47
|
/** When set to `false`, renders a Card without rounded corners */
|
|
@@ -82,6 +84,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
|
|
|
82
84
|
imageHeight: string;
|
|
83
85
|
imageLoading: CLLoading;
|
|
84
86
|
imageWidth: string;
|
|
87
|
+
overflow: CLOverflow;
|
|
85
88
|
padded: boolean;
|
|
86
89
|
titleHLevel: CLHeadingLevels;
|
|
87
90
|
titleType: CLHeadingTypes;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CLAlign, CLBorderRadius, CLButtonTypes, CLCardTypes, CLColors, CLColorVariants, CLHeadingLevels, CLHeadingTypes, CLIconSizes, CLIconNames, CLInputTypes, CLLinkTarget, CLLoading, CLMessageType, CLMode, CLOrientation, CLOrder, CLPaginationType, CLPlacement, CLPosition, CLSizes, CLTableTypes, CLTextTypes, CLToastPosition } from './types';
|
|
1
|
+
export { CLAlign, CLBorderRadius, CLButtonTypes, CLCardTypes, CLColors, CLColorVariants, CLHeadingLevels, CLHeadingTypes, CLIconSizes, CLIconNames, CLInputTypes, CLLinkTarget, CLLoading, CLMessageType, CLMode, CLOrientation, CLOverflow, CLOrder, CLPaginationType, CLPlacement, CLPosition, CLSizes, CLTableTypes, CLTextTypes, CLToastPosition } from './types';
|
|
2
2
|
export type { CLBlockTextHtmlTags, CLButtonTags, CLButtonForwardRefFunction, CLGenericFunction, CLGenericFocusFunction, CLGenericInputFunction, CLInlineTextHtmlTags, CLNavItem, CLOption, CLPalette, CLPaletteKeys, CLShades, CLTextHtmlTags, CLThemeConfig, CLToastProps } from './types';
|
|
3
3
|
export { CLBadge, CLBanner, CLPill, CLProgress } from './components/Indicators';
|
|
4
4
|
export { CLA11yButton, CLButton } from './components/Buttons';
|