@kazee-ds/react 0.7.0 → 0.8.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.
@@ -8,6 +8,8 @@ export interface CardInteractionProps {
8
8
  rel?: string;
9
9
  onPress?: () => void;
10
10
  isDisabled?: boolean;
11
+ /** Controlled toggle state for the native action button; omitted for ordinary actions. */
12
+ isSelected?: boolean;
11
13
  actionLabel?: string;
12
14
  actionLabelledBy?: string;
13
15
  actionClassName?: string;
@@ -28,8 +30,8 @@ export interface CardProps extends HTMLAttributes<HTMLDivElement>, StylingProps<
28
30
  dividedHeader?: boolean;
29
31
  flushFooter?: boolean;
30
32
  }
31
- declare function CompactCard({ title, description, headingLevel, actions, header, titleExtras, footer, children, className, classNames, density, href, target, rel, onPress, isDisabled, actionLabel, actionLabelledBy, actionClassName, renderLink, headerAlign, dividedHeader, flushFooter, ...props }: CardProps): import("react").JSX.Element;
32
- export declare function CardRoot({ className, classNames, children, density, href, target, rel, onPress, isDisabled, actionLabel, actionLabelledBy, actionClassName, renderLink, ...props }: HTMLAttributes<HTMLDivElement> & CardInteractionProps & StylingProps<'action'>): import("react").JSX.Element;
33
+ declare function CompactCard({ title, description, headingLevel, actions, header, titleExtras, footer, children, className, classNames, density, href, target, rel, onPress, isDisabled, isSelected, actionLabel, actionLabelledBy, actionClassName, renderLink, headerAlign, dividedHeader, flushFooter, ...props }: CardProps): import("react").JSX.Element;
34
+ export declare function CardRoot({ className, classNames, children, density, href, target, rel, onPress, isDisabled, isSelected, actionLabel, actionLabelledBy, actionClassName, renderLink, ...props }: HTMLAttributes<HTMLDivElement> & CardInteractionProps & StylingProps<'action'>): import("react").JSX.Element;
33
35
  export declare function CardHeader({ className, align, divided, ...props }: HTMLAttributes<HTMLDivElement> & {
34
36
  align?: 'start' | 'center' | 'end';
35
37
  divided?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kazee-ds/react",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {