@takecasper/acuity-design-system 1.12.3 → 1.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/index.css +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.es.js +701 -685
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
|
|
1
3
|
import { AnchorHTMLAttributes } from 'react';
|
|
2
4
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
5
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
@@ -12,7 +14,7 @@ declare type AlertProps = {
|
|
|
12
14
|
showIcon?: boolean;
|
|
13
15
|
titleSize?: 'large' | 'small' | 'none';
|
|
14
16
|
title?: string;
|
|
15
|
-
description?:
|
|
17
|
+
description?: React.ReactNode;
|
|
16
18
|
id?: string;
|
|
17
19
|
content?: React.ReactNode;
|
|
18
20
|
closeAriaLabel?: string;
|
|
@@ -61,13 +63,14 @@ declare interface HeadingProps extends VariantProps<typeof headingVariants> {
|
|
|
61
63
|
hasMarginBottom?: boolean;
|
|
62
64
|
className?: string;
|
|
63
65
|
headingTag?: 'h1' | 'h2' | 'h3' | 'div';
|
|
66
|
+
id?: string;
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
declare const headingVariants: (props?: ({
|
|
67
70
|
size?: "large" | "small" | "medium" | "extra-large" | null | undefined;
|
|
68
71
|
} & ClassProp) | undefined) => string;
|
|
69
72
|
|
|
70
|
-
export declare const Icon: ({ size, name, hasIndicator, className, altText }: IconProps) =>
|
|
73
|
+
export declare const Icon: ({ size, name, hasIndicator, className, altText }: IconProps) => React.ReactNode;
|
|
71
74
|
|
|
72
75
|
declare type IconNames = 'settings' | 'questionCircle' | 'notifications' | 'flag' | 'edit' | 'delete' | 'resourceCenter' | 'search' | 'error' | 'warning' | 'dropdown' | 'calendar' | 'bookmark' | 'infoCircle' | 'menu' | 'add' | 'exclude' | 'email' | 'close' | 'checkCircle' | 'linkNewTab';
|
|
73
76
|
|