@ama-pt/agora-design-system 3.7.0 → 4.0.1
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/README.md +33 -76
- package/artifacts/dist/index.css +1 -0
- package/artifacts/dist/index.mjs +6673 -6956
- package/artifacts/dist/index.mjs.map +1 -1
- package/artifacts/dist/index.umd.js +1 -5
- package/artifacts/dist/index.umd.js.map +1 -1
- package/artifacts/dist/{solid-hand-heart-XS9tzo8e.mjs → solid-hand-heart-CmuM78yB.mjs} +4 -4
- package/artifacts/dist/{solid-hand-heart-XS9tzo8e.mjs.map → solid-hand-heart-CmuM78yB.mjs.map} +1 -1
- package/artifacts/dist/types/components/button/button.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-general/card-general.d.ts +23 -2
- package/artifacts/dist/types/components/cards/card-general/variants.d.ts +3 -0
- package/artifacts/dist/types/components/cards/card-general-v2/body-section/body-section-container.d.ts +7 -0
- package/artifacts/dist/types/components/cards/card-general-v2/card-general.d.ts +28 -0
- package/artifacts/dist/types/components/cards/card-general-v2/footer-section/footer-section-container.d.ts +7 -0
- package/artifacts/dist/types/components/cards/card-general-v2/header-section/header-section-container.d.ts +7 -0
- package/artifacts/dist/types/components/cards/card-general-v2/helpers.d.ts +32 -0
- package/artifacts/dist/types/components/cards/card-general-v2/image-section/image-section-container.d.ts +10 -0
- package/artifacts/dist/types/components/cards/card-general-v2/index.d.ts +31 -0
- package/artifacts/dist/types/components/cards/card-general-v2/shared/card-anchor/card-anchor.d.ts +6 -0
- package/artifacts/dist/types/components/cards/card-general-v2/shared/card-category/card-category.d.ts +6 -0
- package/artifacts/dist/types/components/cards/card-general-v2/shared/card-description/card-description.d.ts +6 -0
- package/artifacts/dist/types/components/cards/card-general-v2/shared/card-icon/card-icon.d.ts +8 -0
- package/artifacts/dist/types/components/cards/card-general-v2/shared/card-logo/card-logo.d.ts +8 -0
- package/artifacts/dist/types/components/cards/card-general-v2/shared/card-pills/card-pills.d.ts +14 -0
- package/artifacts/dist/types/components/cards/card-general-v2/shared/card-status/card-status.d.ts +14 -0
- package/artifacts/dist/types/components/cards/card-general-v2/shared/card-subtitle/card-subtitle.d.ts +6 -0
- package/artifacts/dist/types/components/cards/card-general-v2/shared/card-title/card-title.d.ts +10 -0
- package/artifacts/dist/types/components/cards/card-general-v2/shared/card-topics/card-topics.d.ts +9 -0
- package/artifacts/dist/types/components/cards/card-general-v2/variants.d.ts +20 -0
- package/artifacts/dist/types/components/cards/index.d.ts +2 -6
- package/artifacts/dist/types/components/header/general-bar/ecosystem-panel/ecosystem-panel-anchor.d.ts +5 -0
- package/artifacts/dist/types/components/header/general-bar/ecosystem-panel/ecosystem-panel-go-back.d.ts +5 -0
- package/artifacts/dist/types/components/header/general-bar/ecosystem-panel/ecosystem-panel-section-title.d.ts +5 -0
- package/artifacts/dist/types/components/header/general-bar/ecosystem-panel/ecosystem-panel-short-description.d.ts +5 -0
- package/artifacts/dist/types/components/header/general-bar/ecosystem-panel/ecosystem-panel-title.d.ts +5 -0
- package/artifacts/dist/types/components/header/general-bar/ecosystem-panel/ecosystem-panel.d.ts +5 -0
- package/artifacts/dist/types/components/header/header.d.ts +2 -2
- package/artifacts/dist/types/components/header/index.d.ts +40 -12
- package/artifacts/dist/types/components/header/internals/context/data-context/header-data-context.d.ts +7 -5
- package/artifacts/dist/types/components/header/internals/context/data-context/utils/areas-utils.d.ts +4 -3
- package/artifacts/dist/types/components/header/internals/context/data-context/utils/ecosystem-panel-utils.d.ts +15 -0
- package/artifacts/dist/types/components/header/internals/context/data-context/utils/navigation-bar-utils.d.ts +10 -0
- package/artifacts/dist/types/components/header/internals/context/data-context/utils/navigation-utils.d.ts +2 -2
- package/artifacts/dist/types/components/header/internals/context/external-context/header-external-controller.d.ts +2 -1
- package/artifacts/dist/types/components/header/internals/context/menu-context/header-menu-context.d.ts +2 -1
- package/artifacts/dist/types/components/header/internals/context/menu-context/menu-type.enum.d.ts +2 -1
- package/artifacts/dist/types/components/header/internals/general-bar/ecosystem-panel/internal-ecosystem-panel-anchor.d.ts +6 -0
- package/artifacts/dist/types/components/header/internals/general-bar/ecosystem-panel/internal-ecosystem-panel-go-back.d.ts +6 -0
- package/artifacts/dist/types/components/header/internals/general-bar/ecosystem-panel/internal-ecosystem-panel-section-title.d.ts +6 -0
- package/artifacts/dist/types/components/header/internals/general-bar/ecosystem-panel/internal-ecosystem-panel-short-description.d.ts +6 -0
- package/artifacts/dist/types/components/header/internals/general-bar/ecosystem-panel/internal-ecosystem-panel-title.d.ts +6 -0
- package/artifacts/dist/types/components/header/internals/general-bar/ecosystem-panel/internal-ecosystem-panel.d.ts +8 -0
- package/artifacts/dist/types/components/header/internals/navigation-bar/helper.d.ts +9 -0
- package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-area/internal-navigation-area.d.ts +11 -0
- package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-link/internal-navigation-link.d.ts +8 -0
- package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-modal/internal-modal-content.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-root/internal-navigation-root.d.ts +20 -0
- package/artifacts/dist/types/components/header/navigation-bar/navigation-area.d.ts +5 -0
- package/artifacts/dist/types/components/header/navigation-bar/navigation-bar.d.ts +3 -1
- package/artifacts/dist/types/components/header/navigation-bar/navigation-link.d.ts +2 -27
- package/artifacts/dist/types/components/header/navigation-bar/navigation-section.d.ts +5 -0
- package/artifacts/dist/types/components/input-search/input-search.d.ts +15 -1
- package/artifacts/dist/types/components/pill/pill.d.ts +2 -2
- package/artifacts/dist/types/components/progress-bar/index.d.ts +1 -1
- package/artifacts/dist/types/components/progress-bar/progress-bar.d.ts +37 -1
- package/artifacts/dist/types/components/progress-bar-group/progress-bar-group.d.ts +6 -1
- package/artifacts/dist/types/components/quiz/quiz-item-summary/quiz-item-summary.d.ts +0 -5
- package/artifacts/dist/types/components/timelines/timeline-horizontal/timeline-horizontal.d.ts +4 -0
- package/artifacts/dist/types/components/timelines/timeline-vertical/timeline-vertical.d.ts +4 -0
- package/artifacts/dist/types/components/toggle/toggle.d.ts +13 -1
- package/artifacts/dist/types/components/tooltip/tooltip.d.ts +8 -0
- package/artifacts/dist/types/configs/tailwind-config.d.ts +4 -385
- package/artifacts/dist/types/hooks/use-breakpoints-to-number.d.ts +3 -3
- package/artifacts/dist/types/index.d.ts +11 -1
- package/package.json +19 -8
- package/src/styles/theme.css +418 -0
- package/artifacts/dist/style.css +0 -1
- package/artifacts/dist/tailwind.css +0 -43719
- package/artifacts/dist/types/components/cards/card-article/card-article.d.ts +0 -49
- package/artifacts/dist/types/components/cards/card-article/index.d.ts +0 -2
- package/artifacts/dist/types/components/cards/card-collection/card-collection.d.ts +0 -27
- package/artifacts/dist/types/components/cards/card-collection/index.d.ts +0 -2
- package/artifacts/dist/types/components/cards/card-emphasize/card-emphasize.d.ts +0 -31
- package/artifacts/dist/types/components/cards/card-emphasize/index.d.ts +0 -2
- package/artifacts/dist/types/components/cards/card-highlight-single/card-highlight-single.d.ts +0 -23
- package/artifacts/dist/types/components/cards/card-highlight-single/index.d.ts +0 -2
- package/artifacts/dist/types/components/cards/card-single/card-single.d.ts +0 -40
- package/artifacts/dist/types/components/cards/card-single/index.d.ts +0 -2
- package/artifacts/dist/types/components/cards/card-topic/card-topic.d.ts +0 -56
- package/artifacts/dist/types/components/cards/card-topic/index.d.ts +0 -2
- package/artifacts/dist/types/components/header/general-bar/direct-link/direct-link-anchor.d.ts +0 -5
- package/artifacts/dist/types/components/header/general-bar/direct-link/direct-link-go-back.d.ts +0 -5
- package/artifacts/dist/types/components/header/general-bar/direct-link/direct-link-section-title.d.ts +0 -5
- package/artifacts/dist/types/components/header/general-bar/direct-link/direct-link-short-description.d.ts +0 -5
- package/artifacts/dist/types/components/header/general-bar/direct-link/direct-link-title.d.ts +0 -5
- package/artifacts/dist/types/components/header/general-bar/direct-link/direct-link.d.ts +0 -5
- package/artifacts/dist/types/components/header/internals/context/data-context/utils/direct-link-utils.d.ts +0 -15
- package/artifacts/dist/types/components/header/internals/general-bar/areas/internal-area.d.ts +0 -6
- package/artifacts/dist/types/components/header/internals/general-bar/areas/internal-areas.d.ts +0 -5
- package/artifacts/dist/types/components/header/internals/general-bar/direct-link/internal-direct-link-anchor.d.ts +0 -6
- package/artifacts/dist/types/components/header/internals/general-bar/direct-link/internal-direct-link-go-back.d.ts +0 -6
- package/artifacts/dist/types/components/header/internals/general-bar/direct-link/internal-direct-link-section-title.d.ts +0 -6
- package/artifacts/dist/types/components/header/internals/general-bar/direct-link/internal-direct-link-short-description.d.ts +0 -6
- package/artifacts/dist/types/components/header/internals/general-bar/direct-link/internal-direct-link-title.d.ts +0 -6
- package/artifacts/dist/types/components/header/internals/general-bar/direct-link/internal-direct-link.d.ts +0 -8
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { AnchorProps } from '../../../components/anchor';
|
|
2
|
-
import { PillProps } from '../../../components/pill';
|
|
3
|
-
import { BooleanProp, HeadingLevel } from '../../../models';
|
|
4
|
-
import { ComponentPropsWithoutRef, FC, ImgHTMLAttributes, ReactNode } from 'react';
|
|
5
|
-
import './card-article.css';
|
|
6
|
-
export type CardArticleVariant = 'default' | 'indented';
|
|
7
|
-
export interface CardArticleProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
8
|
-
/**
|
|
9
|
-
* Children content.
|
|
10
|
-
*/
|
|
11
|
-
children?: ReactNode;
|
|
12
|
-
/**
|
|
13
|
-
* Defines if the card is indented.
|
|
14
|
-
*/
|
|
15
|
-
variant?: CardArticleVariant;
|
|
16
|
-
/**
|
|
17
|
-
* Image card to draw in the card if specified.
|
|
18
|
-
*/
|
|
19
|
-
image?: ImgHTMLAttributes<HTMLImageElement>;
|
|
20
|
-
/**
|
|
21
|
-
* The flag to set the pill.
|
|
22
|
-
*/
|
|
23
|
-
hasPill?: BooleanProp;
|
|
24
|
-
/**
|
|
25
|
-
* Pill props.
|
|
26
|
-
*/
|
|
27
|
-
pill?: PillProps;
|
|
28
|
-
/**
|
|
29
|
-
* Heading level to apply in the card.
|
|
30
|
-
*/
|
|
31
|
-
headingLevel?: HeadingLevel;
|
|
32
|
-
/**
|
|
33
|
-
* Title of the card.
|
|
34
|
-
*/
|
|
35
|
-
title?: ReactNode;
|
|
36
|
-
/**
|
|
37
|
-
* Subtitle of the card.
|
|
38
|
-
*/
|
|
39
|
-
subtitle?: ReactNode;
|
|
40
|
-
/**
|
|
41
|
-
* Definition of the anchor to be draw if specified.
|
|
42
|
-
*/
|
|
43
|
-
mainAnchor?: AnchorProps;
|
|
44
|
-
/**
|
|
45
|
-
* Makes the whole card clickable and activates the link.
|
|
46
|
-
*/
|
|
47
|
-
blockedLink?: BooleanProp;
|
|
48
|
-
}
|
|
49
|
-
export declare const CardArticle: FC<CardArticleProps>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
|
|
2
|
-
import { AnchorProps } from '../../../components/anchor';
|
|
3
|
-
import { BooleanProp, HeadingLevel } from '../../../models';
|
|
4
|
-
import './card-collection.css';
|
|
5
|
-
export interface CardCollectionProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
6
|
-
/**
|
|
7
|
-
* Card Collection heading level title.
|
|
8
|
-
*/
|
|
9
|
-
headingLevel?: HeadingLevel;
|
|
10
|
-
/**
|
|
11
|
-
* Defines the subtitle
|
|
12
|
-
*/
|
|
13
|
-
subtitle?: ReactNode;
|
|
14
|
-
/**
|
|
15
|
-
* Defines the title
|
|
16
|
-
*/
|
|
17
|
-
title?: ReactNode;
|
|
18
|
-
/**
|
|
19
|
-
* Anchor props.
|
|
20
|
-
*/
|
|
21
|
-
mainAnchor?: AnchorProps;
|
|
22
|
-
/**
|
|
23
|
-
* Defines blockedLink prop.
|
|
24
|
-
*/
|
|
25
|
-
blockedLink?: BooleanProp;
|
|
26
|
-
}
|
|
27
|
-
export declare const CardCollection: FC<CardCollectionProps>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
|
|
2
|
-
import { ButtonProps } from '../../../components/button';
|
|
3
|
-
import { IconProps } from '../../../components/icon';
|
|
4
|
-
import './card-emphasize.css';
|
|
5
|
-
/**
|
|
6
|
-
* The available alignments of the card emphasize.
|
|
7
|
-
*/
|
|
8
|
-
export type CardEmphasizeAlignment = 'left' | 'center' | 'right';
|
|
9
|
-
export interface CardEmphasizeProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
10
|
-
/**
|
|
11
|
-
* Definition of the icon to use in the card.
|
|
12
|
-
*/
|
|
13
|
-
icon?: IconProps;
|
|
14
|
-
/**
|
|
15
|
-
* The card title.
|
|
16
|
-
*/
|
|
17
|
-
title?: ReactNode;
|
|
18
|
-
/**
|
|
19
|
-
* The card description.
|
|
20
|
-
*/
|
|
21
|
-
description?: ReactNode;
|
|
22
|
-
/**
|
|
23
|
-
* Card main button definition.
|
|
24
|
-
*/
|
|
25
|
-
mainButton?: ButtonProps;
|
|
26
|
-
/**
|
|
27
|
-
* Apply the alignment specified in all card content.
|
|
28
|
-
*/
|
|
29
|
-
alignment?: CardEmphasizeAlignment;
|
|
30
|
-
}
|
|
31
|
-
export declare const CardEmphasize: FC<CardEmphasizeProps>;
|
package/artifacts/dist/types/components/cards/card-highlight-single/card-highlight-single.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
|
-
import { ButtonProps } from '../../../components/button';
|
|
3
|
-
import './card-highlight-single.css';
|
|
4
|
-
import { BooleanProp } from '../../../models';
|
|
5
|
-
export interface CardHighlightSingleProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
6
|
-
/**
|
|
7
|
-
* Card title.
|
|
8
|
-
*/
|
|
9
|
-
title?: ReactNode;
|
|
10
|
-
/**
|
|
11
|
-
* Card subtitle.
|
|
12
|
-
*/
|
|
13
|
-
subtitle?: ReactNode;
|
|
14
|
-
/**
|
|
15
|
-
* Card icon.
|
|
16
|
-
*/
|
|
17
|
-
showBookmarkIcon?: BooleanProp;
|
|
18
|
-
/**
|
|
19
|
-
* Button props.
|
|
20
|
-
*/
|
|
21
|
-
actionButton?: ButtonProps;
|
|
22
|
-
}
|
|
23
|
-
export declare const CardHighlightSingle: FC<CardHighlightSingleProps>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
|
-
import { BooleanProp, HeadingLevel } from '../../../models';
|
|
3
|
-
import { AnchorProps } from '../../../components/anchor';
|
|
4
|
-
import { IconProps } from '../../../components/icon';
|
|
5
|
-
import './card-single.css';
|
|
6
|
-
/**
|
|
7
|
-
* Card Single Variants
|
|
8
|
-
*/
|
|
9
|
-
export type CardSingleVariant = 'default' | 'neutral' | 'white';
|
|
10
|
-
export interface CardSingleProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
11
|
-
/**
|
|
12
|
-
* Defines the variant of the card single.
|
|
13
|
-
*/
|
|
14
|
-
variant?: CardSingleVariant;
|
|
15
|
-
/**
|
|
16
|
-
* The icon props
|
|
17
|
-
*/
|
|
18
|
-
icon?: IconProps;
|
|
19
|
-
/**
|
|
20
|
-
* Title Tag Card.
|
|
21
|
-
*/
|
|
22
|
-
headingLevel?: HeadingLevel;
|
|
23
|
-
/**
|
|
24
|
-
* The title of the card
|
|
25
|
-
*/
|
|
26
|
-
title?: ReactNode;
|
|
27
|
-
/**
|
|
28
|
-
* The description of the card
|
|
29
|
-
*/
|
|
30
|
-
description?: ReactNode;
|
|
31
|
-
/**
|
|
32
|
-
* Anchor props.
|
|
33
|
-
*/
|
|
34
|
-
mainAnchor?: AnchorProps;
|
|
35
|
-
/**
|
|
36
|
-
* Defines blockedLink prop.
|
|
37
|
-
*/
|
|
38
|
-
blockedLink?: BooleanProp;
|
|
39
|
-
}
|
|
40
|
-
export declare const CardSingle: FC<CardSingleProps>;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
|
|
2
|
-
import { BooleanProp, HeadingLevel } from '../../../models';
|
|
3
|
-
import { AnchorProps } from '../../../components/anchor';
|
|
4
|
-
import './card-topic.css';
|
|
5
|
-
import { PillProps } from '../../../components/pill/pill';
|
|
6
|
-
/**
|
|
7
|
-
* Available card topic variant styles.
|
|
8
|
-
*/
|
|
9
|
-
export type CardTopicVariant = 'default' | 'white' | 'informative' | 'success' | 'warning' | 'danger';
|
|
10
|
-
/**
|
|
11
|
-
* Available card topic status.
|
|
12
|
-
*/
|
|
13
|
-
export type CardTopicStatus = 'success' | 'warning' | 'danger';
|
|
14
|
-
export interface CardTopicProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
15
|
-
/**
|
|
16
|
-
* Heading level to apply in the card.
|
|
17
|
-
*/
|
|
18
|
-
headingLevel?: HeadingLevel;
|
|
19
|
-
/**
|
|
20
|
-
* Defines the variant of the card topic.
|
|
21
|
-
*/
|
|
22
|
-
variant?: CardTopicVariant;
|
|
23
|
-
/**
|
|
24
|
-
* The title of the card
|
|
25
|
-
*/
|
|
26
|
-
title?: ReactNode;
|
|
27
|
-
/**
|
|
28
|
-
* Defines the status description.
|
|
29
|
-
*/
|
|
30
|
-
description?: ReactNode;
|
|
31
|
-
/**
|
|
32
|
-
* The flag to set the pill.
|
|
33
|
-
*/
|
|
34
|
-
hasPill?: BooleanProp;
|
|
35
|
-
/**
|
|
36
|
-
* Pill props.
|
|
37
|
-
*/
|
|
38
|
-
pill?: PillProps;
|
|
39
|
-
/**
|
|
40
|
-
* Defines the status text.
|
|
41
|
-
*/
|
|
42
|
-
statusLabel?: ReactNode;
|
|
43
|
-
/**
|
|
44
|
-
* Defines the status of the card topic.
|
|
45
|
-
*/
|
|
46
|
-
status?: CardTopicStatus;
|
|
47
|
-
/**
|
|
48
|
-
* Anchor props.
|
|
49
|
-
*/
|
|
50
|
-
mainAnchor?: AnchorProps;
|
|
51
|
-
/**
|
|
52
|
-
* Defines blockedLink prop.
|
|
53
|
-
*/
|
|
54
|
-
blockedLink?: BooleanProp;
|
|
55
|
-
}
|
|
56
|
-
export declare const CardTopic: FC<CardTopicProps>;
|
package/artifacts/dist/types/components/header/general-bar/direct-link/direct-link-anchor.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { InternalDirectLinkAnchorProps } from '../../internals/general-bar/direct-link/internal-direct-link-anchor';
|
|
3
|
-
export interface DirectLinkAnchorProps extends InternalDirectLinkAnchorProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const DirectLinkAnchor: FC<DirectLinkAnchorProps>;
|
package/artifacts/dist/types/components/header/general-bar/direct-link/direct-link-go-back.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { InternalDirectLinkGoBackProps } from '../../internals/general-bar/direct-link/internal-direct-link-go-back';
|
|
3
|
-
export interface DirectLinkGoBackProps extends InternalDirectLinkGoBackProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const DirectLinkGoBack: FC<DirectLinkGoBackProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { InternalDirectLinkSectionTitleProps } from '../../internals/general-bar/direct-link/internal-direct-link-section-title';
|
|
3
|
-
export interface DirectLinkSectionTitleProps extends InternalDirectLinkSectionTitleProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const DirectLinkSectionTitle: FC<DirectLinkSectionTitleProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { InternalDirectLinkShortDescriptionProps } from '../../internals/general-bar/direct-link/internal-direct-link-short-description';
|
|
3
|
-
export interface DirectLinkShortDescriptionProps extends InternalDirectLinkShortDescriptionProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const DirectLinkShortDescription: FC<DirectLinkShortDescriptionProps>;
|
package/artifacts/dist/types/components/header/general-bar/direct-link/direct-link-title.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { InternalDirectLinkTitleProps } from '../../internals/general-bar/direct-link/internal-direct-link-title';
|
|
3
|
-
export interface DirectLinkTitleProps extends InternalDirectLinkTitleProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const DirectLinkTitle: FC<DirectLinkTitleProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HeaderChildrenComponents } from '../../../../../../components/header/header';
|
|
2
|
-
import { ReactElement } from 'react';
|
|
3
|
-
import { InternalDirectLinkProps } from '../../../general-bar/direct-link/internal-direct-link';
|
|
4
|
-
export type DirectLinksChildren = {
|
|
5
|
-
internalDirectLinkGoBackElement: ReactElement | null;
|
|
6
|
-
internalDirectLinkTitleElement: ReactElement | null;
|
|
7
|
-
InternalDirectLinkShortDescription: ReactElement | null;
|
|
8
|
-
internalDirectLinkSectionTitleElements: ReactElement | null;
|
|
9
|
-
internalDirectLinkAnchorElements: ReactElement[] | null;
|
|
10
|
-
};
|
|
11
|
-
export interface GetDirectLinksProps extends Omit<InternalDirectLinkProps, 'children'> {
|
|
12
|
-
directLinksChildren: DirectLinksChildren;
|
|
13
|
-
}
|
|
14
|
-
export declare function hasDirectLinksProps(children?: HeaderChildrenComponents): boolean;
|
|
15
|
-
export declare function getDirectLinksPropsInternal(children?: HeaderChildrenComponents): GetDirectLinksProps;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { AnchorProps } from '../../../../../components/anchor';
|
|
3
|
-
import './internal-direct-link-anchor.css';
|
|
4
|
-
export interface InternalDirectLinkAnchorProps extends AnchorProps {
|
|
5
|
-
}
|
|
6
|
-
export declare const InternalDirectLinkAnchor: FC<InternalDirectLinkAnchorProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from '../../../../../components/button';
|
|
2
|
-
import { FC } from 'react';
|
|
3
|
-
import './internal-direct-link-go-back.css';
|
|
4
|
-
export interface InternalDirectLinkGoBackProps extends ButtonProps {
|
|
5
|
-
}
|
|
6
|
-
export declare const InternalDirectLinkGoBack: FC<InternalDirectLinkGoBackProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
|
-
export interface InternalDirectLinkSectionTitleProps extends ComponentProps<'div'> {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
}
|
|
5
|
-
import './internal-direct-link-section-title.css';
|
|
6
|
-
export declare const InternalDirectLinkSectionTitle: FC<InternalDirectLinkSectionTitleProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
|
-
import './internal-direct-link-short-description.css';
|
|
3
|
-
export interface InternalDirectLinkShortDescriptionProps extends ComponentProps<'div'> {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const InternalDirectLinkShortDescription: FC<InternalDirectLinkShortDescriptionProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
|
-
import './internal-direct-link-title.css';
|
|
3
|
-
export interface InternalDirectLinkTitleProps extends ComponentProps<'div'> {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const InternalDirectLinkTitle: FC<InternalDirectLinkTitleProps>;
|