@ama-pt/agora-design-system 0.2.2 → 0.2.3
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/cjs/index.ts +2 -2
- package/dist/cjs/index.ts.map +1 -1
- package/dist/cjs/types/components/ui/atoms/anchor/anchor.d.ts +4 -0
- package/dist/cjs/types/components/ui/atoms/button/button.d.ts +1 -1
- package/dist/cjs/types/components/ui/index.d.ts +4 -3
- package/dist/esm/index.ts +2 -2
- package/dist/esm/index.ts.map +1 -1
- package/dist/esm/types/components/ui/atoms/anchor/anchor.d.ts +4 -0
- package/dist/esm/types/components/ui/atoms/button/button.d.ts +1 -1
- package/dist/esm/types/components/ui/index.d.ts +4 -3
- package/dist/index.d.ts +111 -63
- package/package.json +1 -1
|
@@ -58,6 +58,10 @@ export interface AnchorProps extends ComponentPropsWithRef<'a'> {
|
|
|
58
58
|
* Children content.
|
|
59
59
|
*/
|
|
60
60
|
children?: ReactNode;
|
|
61
|
+
/**
|
|
62
|
+
* Defines if anchor is inline text or not. An inline element does not start on a new line and takes up as much width as necessary. See https://www.w3schools.com/html/html_blocks.asp.
|
|
63
|
+
*/
|
|
64
|
+
inline?: BooleanProp;
|
|
61
65
|
}
|
|
62
66
|
export declare const InnerAnchor: ForwardRefRenderFunction<HTMLAnchorElement, AnchorProps>;
|
|
63
67
|
export declare const Anchor: React.ForwardRefExoticComponent<Omit<AnchorProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -8,7 +8,7 @@ export type ButtonVariant = 'primary' | 'neutral' | 'white' | 'success' | 'warni
|
|
|
8
8
|
/**
|
|
9
9
|
* The available button appearances. Defines the button shape.
|
|
10
10
|
*/
|
|
11
|
-
export type ButtonAppearance = 'solid' | 'outline' | 'link'
|
|
11
|
+
export type ButtonAppearance = 'solid' | 'outline' | 'link';
|
|
12
12
|
export interface ButtonProps extends ComponentPropsWithRef<'button'> {
|
|
13
13
|
/**
|
|
14
14
|
* The button appearance. Define the button Shape.
|
|
@@ -13,24 +13,25 @@ export * from './atoms/input-search';
|
|
|
13
13
|
export * from './atoms/input-text';
|
|
14
14
|
export * from './atoms/input-textarea';
|
|
15
15
|
export * from './atoms/input-range';
|
|
16
|
+
export * from './atoms/list';
|
|
16
17
|
export * from './atoms/modal';
|
|
17
18
|
export * from './atoms/pill';
|
|
18
19
|
export * from './atoms/progress-bar';
|
|
19
20
|
export * from './atoms/radio';
|
|
20
21
|
export * from './atoms/scribbles';
|
|
22
|
+
export * from './atoms/step-list';
|
|
21
23
|
export * from './atoms/switch';
|
|
22
24
|
export * from './atoms/tabs';
|
|
23
25
|
export * from './atoms/tag';
|
|
24
|
-
export * from './atoms/list';
|
|
25
|
-
export * from './atoms/step-list';
|
|
26
26
|
export * from './atoms/toasts';
|
|
27
|
+
export * from './atoms/tooltip';
|
|
27
28
|
export * from './molecules/accordion-group';
|
|
28
29
|
export * from './molecules/avatar-group';
|
|
30
|
+
export * from './molecules/button-group';
|
|
29
31
|
export * from './molecules/checkbox-group';
|
|
30
32
|
export * from './molecules/dropdown-list';
|
|
31
33
|
export * from './molecules/progress-bar-group';
|
|
32
34
|
export * from './molecules/radio-button-group';
|
|
33
|
-
export * from './molecules/button-group';
|
|
34
35
|
export * from './organisms/input-date';
|
|
35
36
|
export * from './organisms/input-phone';
|
|
36
37
|
export * from './organisms/input-select';
|