@ama-pt/agora-design-system 3.1.0 → 3.3.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/artifacts/dist/index.mjs +4671 -4543
- package/artifacts/dist/index.mjs.map +1 -1
- package/artifacts/dist/index.umd.js +2 -2
- package/artifacts/dist/index.umd.js.map +1 -1
- package/artifacts/dist/style.css +1 -1
- package/artifacts/dist/tailwind.css +288 -47
- package/artifacts/dist/types/components/accordion/accordion.d.ts +1 -1
- package/artifacts/dist/types/components/accordion-group/accordion-group.d.ts +1 -1
- package/artifacts/dist/types/components/anchor/anchor.d.ts +1 -1
- package/artifacts/dist/types/components/avatar/avatar.d.ts +1 -1
- package/artifacts/dist/types/components/avatar-group/avatar-group.d.ts +1 -1
- package/artifacts/dist/types/components/breadcrumb/desktop/breadcrumb-desktop.d.ts +1 -1
- package/artifacts/dist/types/components/breadcrumb/mobile/breadcrumb-mobile.d.ts +1 -1
- package/artifacts/dist/types/components/button/button.d.ts +1 -1
- package/artifacts/dist/types/components/button-group/button-group.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-action/{card-action-styles.d.ts → card-action-variants.d.ts} +4 -4
- package/artifacts/dist/types/components/cards/card-action/card-action.d.ts +10 -6
- package/artifacts/dist/types/components/cards/card-article/card-article.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-collection/card-collection.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-emphasize/card-emphasize.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-error/card-error.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-expandable/card-accordion/card-accordion.d.ts +2 -2
- package/artifacts/dist/types/components/cards/card-expandable/card-expandable-style.d.ts +16 -0
- package/artifacts/dist/types/components/cards/card-expandable/card-expandable.d.ts +2 -2
- package/artifacts/dist/types/components/cards/card-frame/card-frame.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-full-image/card-full-image.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-hero-helper/card-hero-helper.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-hero-index/card-hero-index.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-hero-sitemap/card-hero-sitemap.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-highlight/card-highlight.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-highlight/shared/inner-highlight-card.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-highlight-newsletter/card-highlight-newsletter.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-highlight-single/card-highlight-single.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-links/card-links.d.ts +12 -16
- package/artifacts/dist/types/components/cards/card-no-results/card-no-results.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-single/card-single.d.ts +1 -1
- package/artifacts/dist/types/components/cards/card-topic/card-topic.d.ts +1 -1
- package/artifacts/dist/types/components/checkbox/checkbox.d.ts +1 -1
- package/artifacts/dist/types/components/dialog/dialog.d.ts +1 -1
- package/artifacts/dist/types/components/drawer/drawer.d.ts +1 -1
- package/artifacts/dist/types/components/dropdown/dropdown.d.ts +9 -0
- package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-context.d.ts +1 -0
- package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-filter-section.d.ts +1 -1
- package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-no-results.d.ts +1 -1
- package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-option.d.ts +1 -1
- package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-select-all-section.d.ts +1 -1
- package/artifacts/dist/types/components/dropdown/internals/internal-dropdown.d.ts +1 -1
- package/artifacts/dist/types/components/feedback/feedback.d.ts +1 -1
- package/artifacts/dist/types/components/footer/federated-footer/federated-footer.d.ts +1 -1
- package/artifacts/dist/types/components/footer/public-footer/public-footer.d.ts +1 -1
- package/artifacts/dist/types/components/glossary-letters/glossary-letters.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/areas/internal-area.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/areas/internal-areas.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/authenticated/Internal-authenticated-drawer.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/authenticated/internal-authenticated-drawer-body.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/authenticated/internal-authenticated-drawer-footer.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/authenticated/internal-authenticated-drawer-header.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/authenticated/internal-authenticated.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/internal-general-bar.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/languages/internal-language.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/languages/internal-languages-layout.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/languages/internal-languages.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/search/internal-custom-search-layout.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/search/internal-search-layout.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/search/internal-search.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/unauthenticated/internal-unauthenticated-layout.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/general-bar/unauthenticated/internal-unauthenticated.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/internal-header.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/navigation-bar/internal-navigation-bar.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/navigation-bar/logo/internal-logo.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-burger/internal-navigation-burger-layout.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-burger/internal-navigation-burger-panel.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-burger/internal-navigation-burger.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-list/internal-navigation-link-layout.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-list/internal-navigation-list.d.ts +1 -1
- 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-modal/internal-modal-navbar.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-modal/internal-navigation-modal-layout.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/shared/custom-header-link/custom-header-link.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/shared/custom-modal/custom-modal-dialog.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/shared/institutional/internal-institutional.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/shared/modal-menu/modal-menu.d.ts +1 -1
- package/artifacts/dist/types/components/header/internals/shared/panel-menu/panel-menu.d.ts +1 -1
- package/artifacts/dist/types/components/icon/icon.d.ts +1 -1
- package/artifacts/dist/types/components/input-date/date-text/date-text.d.ts +1 -1
- package/artifacts/dist/types/components/input-date/input-date.d.ts +1 -1
- package/artifacts/dist/types/components/input-email-bar/input-email-bar.d.ts +1 -1
- package/artifacts/dist/types/components/input-number/input-number.d.ts +1 -1
- package/artifacts/dist/types/components/input-password/input-password.d.ts +1 -1
- package/artifacts/dist/types/components/input-phone/input-phone.d.ts +1 -1
- package/artifacts/dist/types/components/input-range/input-range.d.ts +1 -1
- package/artifacts/dist/types/components/input-search/input-search.d.ts +1 -1
- package/artifacts/dist/types/components/input-search-bar/equalizer/equalizer.d.ts +1 -1
- package/artifacts/dist/types/components/input-search-bar/input-search-bar.d.ts +1 -1
- package/artifacts/dist/types/components/input-select/input-select.d.ts +7 -3
- package/artifacts/dist/types/components/input-text/input-text.d.ts +1 -1
- package/artifacts/dist/types/components/input-textarea/input-textarea.d.ts +1 -1
- package/artifacts/dist/types/components/input-time/input-time.d.ts +1 -1
- package/artifacts/dist/types/components/input-time/time-text/time-text.d.ts +1 -1
- package/artifacts/dist/types/components/link-wrapper/link-wrapper.d.ts +1 -1
- package/artifacts/dist/types/components/list/list.d.ts +1 -1
- package/artifacts/dist/types/components/loader-dialog/loader-dialog.d.ts +1 -1
- package/artifacts/dist/types/components/modal-dialog/modal-dialog.d.ts +1 -1
- package/artifacts/dist/types/components/panel-switcher/desktop/panel-switcher-desktop.d.ts +1 -1
- package/artifacts/dist/types/components/panel-switcher/mobile/panel-switcher-mobile.d.ts +1 -1
- package/artifacts/dist/types/components/pill/pill.d.ts +1 -1
- package/artifacts/dist/types/components/popup-dialog/popup-dialog.d.ts +1 -1
- package/artifacts/dist/types/components/progress-bar/progress-bar.d.ts +1 -1
- package/artifacts/dist/types/components/progress-bar-group/progress-bar-group.d.ts +1 -1
- package/artifacts/dist/types/components/quiz/quiz-item-summary/quiz-item-summary.d.ts +1 -1
- package/artifacts/dist/types/components/quiz/quiz-option/quiz-option.d.ts +1 -1
- package/artifacts/dist/types/components/radio/radio.d.ts +1 -1
- package/artifacts/dist/types/components/ratings/rating-buttons/rating-buttons.d.ts +1 -1
- package/artifacts/dist/types/components/ratings/rating-icons/rating-icons.d.ts +1 -1
- package/artifacts/dist/types/components/scribbles/scribbles.d.ts +1 -1
- package/artifacts/dist/types/components/search-pagination/search-pagination.d.ts +1 -1
- package/artifacts/dist/types/components/shared/bookmark-icon/bookmark-icon.d.ts +5 -1
- package/artifacts/dist/types/components/shared/feedback/feedback.d.ts +1 -1
- package/artifacts/dist/types/components/sidebar/sidebar-item-navigation-mobile/sidebar-item-navigation-mobile.d.ts +1 -1
- package/artifacts/dist/types/components/sidebar/sidebar-item.d.ts +1 -1
- package/artifacts/dist/types/components/sidebar/sidebar.d.ts +1 -1
- package/artifacts/dist/types/components/skip-navigation/skip-navigation.d.ts +1 -1
- package/artifacts/dist/types/components/status-card/status-card.d.ts +1 -1
- package/artifacts/dist/types/components/step-list/step-list.d.ts +1 -1
- package/artifacts/dist/types/components/stepper/step.d.ts +1 -1
- package/artifacts/dist/types/components/stepper/stepper.d.ts +1 -1
- package/artifacts/dist/types/components/switch/switch.d.ts +1 -1
- package/artifacts/dist/types/components/table/table-pagination.d.ts +1 -1
- package/artifacts/dist/types/components/table/table.d.ts +1 -1
- package/artifacts/dist/types/components/tabs/desktop/tabs-desktop.d.ts +1 -1
- package/artifacts/dist/types/components/tabs/mobile/tabs-mobile.d.ts +1 -1
- package/artifacts/dist/types/components/tag/tag.d.ts +1 -1
- package/artifacts/dist/types/components/timelines/shared/timeline-event/timeline-event.d.ts +1 -1
- package/artifacts/dist/types/components/timelines/shared/timeline-event-vertical/timeline-event-vertical.d.ts +1 -1
- package/artifacts/dist/types/components/timelines/timeline-horizontal/timeline-horizontal.d.ts +1 -1
- package/artifacts/dist/types/components/timelines/timeline-vertical/timeline-vertical.d.ts +1 -1
- package/artifacts/dist/types/components/toasts/toast-context.d.ts +1 -1
- package/artifacts/dist/types/components/toasts/toast-provider.d.ts +1 -1
- package/artifacts/dist/types/components/toasts/toast.d.ts +1 -1
- package/artifacts/dist/types/components/toggle/toggle.d.ts +1 -1
- package/artifacts/dist/types/components/toggle-group/toggle-group.d.ts +3 -2
- package/artifacts/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/artifacts/dist/types/components/uploader/button-uploader/button-uploader.d.ts +1 -1
- package/artifacts/dist/types/components/uploader/drag-and-drop-uploader/drag-and-drop-uploader.d.ts +1 -1
- package/artifacts/dist/types/components/uploader/shared/file-list.d.ts +1 -1
- package/artifacts/dist/types/configs/tailwind-config.d.ts +2 -1
- package/artifacts/dist/types/hooks/index.d.ts +1 -0
- package/artifacts/dist/types/hooks/use-client-or-server-effect.d.ts +3 -0
- package/package.json +11 -23
- package/artifacts/dist/types/components/cards/card-links/card-links-style.d.ts +0 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { LayoutProps } from '../../../../../components/header/internals/shared/panel-menu/layout.interface';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
-
import './internal-navigation-modal-layout.
|
|
3
|
+
import './internal-navigation-modal-layout.css';
|
|
4
4
|
export declare const InternalNavigationModalLayout: FC<LayoutProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LinkWrapperProps } from '../../../../../components/link-wrapper';
|
|
2
2
|
import { BooleanProp } from '../../../../../models/boolean-type';
|
|
3
3
|
import { FC } from 'react';
|
|
4
|
-
import './custom-header-link.
|
|
4
|
+
import './custom-header-link.css';
|
|
5
5
|
export interface CustomHeaderLinkProps extends LinkWrapperProps {
|
|
6
6
|
hasIcon?: BooleanProp;
|
|
7
7
|
iconOnly?: BooleanProp;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, FC } from 'react';
|
|
2
|
-
import './internal-institutional.
|
|
2
|
+
import './internal-institutional.css';
|
|
3
3
|
export interface InternalInstitutionalProps extends ComponentProps<'div'> {
|
|
4
4
|
}
|
|
5
5
|
export declare const InternalInstitutional: FC<InternalInstitutionalProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ButtonProps } from '../../../../../components/button';
|
|
2
2
|
import { FC, ReactElement, ReactNode, RefObject } from 'react';
|
|
3
|
-
import './modal-menu.
|
|
3
|
+
import './modal-menu.css';
|
|
4
4
|
import { HeaderMenuContextRef } from '../../context/menu-context/header-menu-context';
|
|
5
5
|
export interface ModalMenuElement extends HTMLDivElement {
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ButtonProps } from '../../../../../components/button';
|
|
2
2
|
import { ComponentProps, FC, ReactElement } from 'react';
|
|
3
3
|
import { LayoutProps } from './layout.interface';
|
|
4
|
-
import './panel-menu.
|
|
4
|
+
import './panel-menu.css';
|
|
5
5
|
export interface PanelMenuElement extends HTMLDivElement {
|
|
6
6
|
/**
|
|
7
7
|
* Expand the panel menu.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
2
|
import { BooleanProp, FeedbackState, Months, WeekDays } from '../../models';
|
|
3
|
-
import './input-date.
|
|
3
|
+
import './input-date.css';
|
|
4
4
|
export interface InputDateProps extends ComponentProps<'input'> {
|
|
5
5
|
/**
|
|
6
6
|
* Input label text.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FeedbackState } from '../../models';
|
|
2
2
|
import { BooleanProp } from '../../models/boolean-type';
|
|
3
3
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
4
|
-
import './input-email-bar.
|
|
4
|
+
import './input-email-bar.css';
|
|
5
5
|
export interface InputEmailBarProps extends ComponentProps<'input'> {
|
|
6
6
|
/**
|
|
7
7
|
* Input label text.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
2
|
import { BooleanProp, FeedbackState } from '../../models';
|
|
3
|
-
import './input-number.
|
|
3
|
+
import './input-number.css';
|
|
4
4
|
export interface InputNumberProps extends ComponentProps<'input'> {
|
|
5
5
|
/**
|
|
6
6
|
* Input label text.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
2
|
import { BooleanProp, FeedbackState } from '../../models';
|
|
3
|
-
import './input-password.
|
|
3
|
+
import './input-password.css';
|
|
4
4
|
export interface InputPasswordProps extends ComponentProps<'input'> {
|
|
5
5
|
/**
|
|
6
6
|
* Input label text.
|
|
@@ -5,7 +5,7 @@ export type PhoneCountryCode = (typeof PhoneCountryCodes)[number];
|
|
|
5
5
|
export declare const PhoneCountryISOs: string[];
|
|
6
6
|
export type PhoneCountryISO = (typeof PhoneCountryISOs)[number];
|
|
7
7
|
import { CountryPhoneProps } from './country-phone.model';
|
|
8
|
-
import './input-phone.
|
|
8
|
+
import './input-phone.css';
|
|
9
9
|
export interface InputPhoneElement extends HTMLInputElement {
|
|
10
10
|
iso: PhoneCountryISO;
|
|
11
11
|
code: PhoneCountryCode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
2
|
import { BooleanProp, FeedbackState } from '../../models';
|
|
3
|
-
import './input-range.
|
|
3
|
+
import './input-range.css';
|
|
4
4
|
export type RangeType = 'single' | 'double';
|
|
5
5
|
export interface InputRangeProps extends Omit<ComponentProps<'input'>, 'value' | 'onChange'> {
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BooleanProp, FeedbackState } from '../../models';
|
|
2
2
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
3
|
-
import './input-search.
|
|
3
|
+
import './input-search.css';
|
|
4
4
|
export interface InputSearchProps extends ComponentProps<'input'> {
|
|
5
5
|
/**
|
|
6
6
|
* Input label text.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BooleanProp } from '../../models';
|
|
2
2
|
import { ComponentProps, FC, Ref } from 'react';
|
|
3
|
-
import './input-search-bar.
|
|
3
|
+
import './input-search-bar.css';
|
|
4
4
|
export interface InputSearchBarElement extends HTMLInputElement {
|
|
5
5
|
/**
|
|
6
6
|
* React ref object to the search action button.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BooleanProp, FeedbackState } from '../../models';
|
|
2
|
-
import { ComponentProps, FC, ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { ComponentProps, FC, ReactElement, ReactNode, Ref } from 'react';
|
|
3
3
|
import { DropdownOptionProps, DropdownSectionProps, DropdownType } from '../../components/dropdown';
|
|
4
|
-
import './input-select.
|
|
4
|
+
import './input-select.css';
|
|
5
5
|
export interface InputSelectRef {
|
|
6
6
|
/**
|
|
7
7
|
* Array containing the selected options in the dropdown.
|
|
@@ -12,7 +12,7 @@ export interface InputSelectRef {
|
|
|
12
12
|
*/
|
|
13
13
|
clearSelectedOptions: () => void;
|
|
14
14
|
}
|
|
15
|
-
export interface InputSelectProps extends Omit<ComponentProps<'select'>, 'options' | 'onChange'> {
|
|
15
|
+
export interface InputSelectProps extends Omit<ComponentProps<'select'>, 'options' | 'onChange' | 'ref'> {
|
|
16
16
|
/**
|
|
17
17
|
* Input label text.
|
|
18
18
|
*/
|
|
@@ -117,6 +117,10 @@ export interface InputSelectProps extends Omit<ComponentProps<'select'>, 'option
|
|
|
117
117
|
* Section list of dropdown options to render.
|
|
118
118
|
*/
|
|
119
119
|
children?: ReactElement<DropdownSectionProps> | ReactElement<DropdownSectionProps>[];
|
|
120
|
+
/**
|
|
121
|
+
* React ref object to the Input Select.
|
|
122
|
+
*/
|
|
123
|
+
ref?: Ref<InputSelectRef>;
|
|
120
124
|
}
|
|
121
125
|
declare const InputSelect: FC<InputSelectProps>;
|
|
122
126
|
export { InputSelect };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
2
|
import { BooleanProp, FeedbackState } from '../../models';
|
|
3
|
-
import './input-text.
|
|
3
|
+
import './input-text.css';
|
|
4
4
|
export interface InputTextProps extends ComponentProps<'input'> {
|
|
5
5
|
/**
|
|
6
6
|
* Input label text.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
2
|
import { BooleanProp, FeedbackState } from '../../models';
|
|
3
|
-
import './input-textarea.
|
|
3
|
+
import './input-textarea.css';
|
|
4
4
|
export interface InputTextAreaProps extends ComponentProps<'textarea'> {
|
|
5
5
|
/**
|
|
6
6
|
* Input label text.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
2
|
import { BooleanProp } from '../../models';
|
|
3
|
-
import './link-wrapper.
|
|
3
|
+
import './link-wrapper.css';
|
|
4
4
|
export type LinkWrapperAppearance = 'link' | 'text';
|
|
5
5
|
export type LinkWrapperVariant = 'primary' | 'informative' | 'neutral' | 'success' | 'warning' | 'danger';
|
|
6
6
|
export interface LinkWrapperProps extends Omit<ComponentProps<'span'>, 'children'> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, FC, ReactElement } from 'react';
|
|
2
2
|
import { ItemProps } from './item';
|
|
3
|
-
import './list.
|
|
3
|
+
import './list.css';
|
|
4
4
|
import { BooleanProp } from '../../models';
|
|
5
5
|
export type ListStyle = 'none' | 'bullet' | 'number' | 'icon';
|
|
6
6
|
export interface ListProps extends ComponentPropsWithoutRef<'ul'> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
2
|
import { ModalConfiguration } from './modal-config.model';
|
|
3
|
-
import './modal-dialog.
|
|
3
|
+
import './modal-dialog.css';
|
|
4
4
|
export interface ModalDialogProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
5
5
|
/**
|
|
6
6
|
* Modal configurations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TabBodyProps, TabHeaderProps } from '../../../components/tabs';
|
|
2
2
|
import { BooleanProp } from '../../../models';
|
|
3
3
|
import React, { ComponentProps, FC, ReactElement } from 'react';
|
|
4
|
-
import './panel-switcher-desktop.
|
|
4
|
+
import './panel-switcher-desktop.css';
|
|
5
5
|
export interface PanelSwitcherDesktopProps extends ComponentProps<'div'> {
|
|
6
6
|
leadingIcon?: string;
|
|
7
7
|
leadingIconHover?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { FC, ReactElement, RefObject } from 'react';
|
|
2
2
|
import { TabBodyProps, TabHeaderProps } from '../../../components/tabs';
|
|
3
3
|
import { BooleanProp } from '../../../models';
|
|
4
|
-
import './panel-switcher-mobile.
|
|
4
|
+
import './panel-switcher-mobile.css';
|
|
5
5
|
export interface PanelSwitcherMobileProps {
|
|
6
6
|
modalCloseButtonLabel: string;
|
|
7
7
|
leadingIcon?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
2
|
import { BooleanProp } from '../../models';
|
|
3
|
-
import './pill.
|
|
3
|
+
import './pill.css';
|
|
4
4
|
/**
|
|
5
5
|
* The available variants of the pill. This variants will define the background and border color of the pill.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, HtmlHTMLAttributes, ReactElement } from 'react';
|
|
2
2
|
import { ProgressBarProps } from '../../components/progress-bar';
|
|
3
|
-
import './progress-bar-group.
|
|
3
|
+
import './progress-bar-group.css';
|
|
4
4
|
import { BooleanProp } from '../../models';
|
|
5
5
|
export interface ProgressBarGroupProps extends HtmlHTMLAttributes<HTMLDivElement> {
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
|
|
2
2
|
import { BooleanProp } from '../../../models';
|
|
3
|
-
import './quiz-item-summary.
|
|
3
|
+
import './quiz-item-summary.css';
|
|
4
4
|
export interface QuizItemSummaryProps extends ComponentPropsWithoutRef<'div'> {
|
|
5
5
|
/**
|
|
6
6
|
* Children content.
|
|
@@ -2,7 +2,7 @@ import { CheckboxProps } from '../../../components/checkbox';
|
|
|
2
2
|
import { InputSelectProps } from '../../../components/input-select';
|
|
3
3
|
import { RadioButtonProps } from '../../../components/radio';
|
|
4
4
|
import { ComponentPropsWithoutRef, FC, ReactElement } from 'react';
|
|
5
|
-
import './quiz-option.
|
|
5
|
+
import './quiz-option.css';
|
|
6
6
|
export interface QuizOptionProps extends ComponentPropsWithoutRef<'div'> {
|
|
7
7
|
/**
|
|
8
8
|
* Children content.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, FC } from 'react';
|
|
2
2
|
import { BooleanProp } from '../../../models';
|
|
3
3
|
import { ButtonProps, ButtonVariant } from '../../../components/button';
|
|
4
|
-
import './rating-buttons.
|
|
4
|
+
import './rating-buttons.css';
|
|
5
5
|
export type RatingStatus = 'like' | 'dislike' | 'neutral';
|
|
6
6
|
export interface RatingButtonsElement extends HTMLDivElement {
|
|
7
7
|
status: RatingStatus;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { IconProps } from '../../../components/icon';
|
|
3
3
|
import { BooleanProp, FeedbackState } from '../../../models';
|
|
4
|
-
import './rating-icons.
|
|
4
|
+
import './rating-icons.css';
|
|
5
5
|
export interface RatingIconsElement extends HTMLDivElement {
|
|
6
6
|
rating: number;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC, HTMLProps, SVGProps } from 'react';
|
|
2
2
|
import { BooleanProp } from '../../models';
|
|
3
3
|
import { ScribblesName } from './assets';
|
|
4
|
-
import './scribbles.
|
|
4
|
+
import './scribbles.css';
|
|
5
5
|
type SuperScribblesProps = SVGProps<SVGSVGElement> & HTMLProps<HTMLImageElement>;
|
|
6
6
|
export interface ScribblesProps extends SuperScribblesProps {
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC } from 'react';
|
|
2
2
|
import { BooleanProp } from '../../models';
|
|
3
|
-
import './search-pagination.
|
|
3
|
+
import './search-pagination.css';
|
|
4
4
|
export interface SearchPaginationProps extends Omit<ComponentProps<'nav'>, 'onChange'> {
|
|
5
5
|
/**
|
|
6
6
|
* Define the total number of pages.
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import React, { HTMLProps } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export interface BookmarkIconProps extends HTMLProps<SVGSVGElement> {
|
|
3
|
+
fill?: string;
|
|
4
|
+
fillTop?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const BookmarkIcon: ({ fill, fillTop, ...props }: BookmarkIconProps) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
2
|
import { BooleanProp, FeedbackState } from '../../../models';
|
|
3
|
-
import './feedback.
|
|
3
|
+
import './feedback.css';
|
|
4
4
|
export interface FeedbackProps extends ComponentProps<'div'> {
|
|
5
5
|
/**
|
|
6
6
|
* Defines the state of the feedback text. This param will change the feedback icon and dye it.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SidebarProps } from '../../../components/sidebar';
|
|
2
2
|
import { FC, RefObject } from 'react';
|
|
3
|
-
import './sidebar-item-navigation-mobile.
|
|
3
|
+
import './sidebar-item-navigation-mobile.css';
|
|
4
4
|
export declare const SidebarItemNavigationMobile: FC<SidebarProps & {
|
|
5
5
|
sidebarRef: RefObject<HTMLUListElement>;
|
|
6
6
|
}>;
|
|
@@ -2,7 +2,7 @@ import { ComponentProps, FC } from 'react';
|
|
|
2
2
|
import { BooleanProp } from '../../models';
|
|
3
3
|
import { ButtonItemProps, LinkItemProps } from './models';
|
|
4
4
|
import { SidebarVariantType } from './models/sidebar-variant.type';
|
|
5
|
-
import './sidebar-item.
|
|
5
|
+
import './sidebar-item.css';
|
|
6
6
|
export interface SidebarItemProps extends ComponentProps<'li'> {
|
|
7
7
|
/**
|
|
8
8
|
* Item of sidebar
|
|
@@ -2,7 +2,7 @@ import { ComponentPropsWithoutRef, FC, ReactElement, ReactNode } from 'react';
|
|
|
2
2
|
import { BooleanProp } from '../../models';
|
|
3
3
|
import { SidebarVariantType } from './models/sidebar-variant.type';
|
|
4
4
|
import { SidebarItemProps } from './sidebar-item';
|
|
5
|
-
import './sidebar.
|
|
5
|
+
import './sidebar.css';
|
|
6
6
|
export interface SidebarProps extends ComponentPropsWithoutRef<'ul'> {
|
|
7
7
|
/**
|
|
8
8
|
* Whether the sidebar is for filtering data or for navigation
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { BooleanProp } from '../../models';
|
|
3
3
|
import { ButtonProps } from '../../components/button';
|
|
4
|
-
import './skip-navigation.
|
|
4
|
+
import './skip-navigation.css';
|
|
5
5
|
export interface LevelLinks {
|
|
6
6
|
level1: {
|
|
7
7
|
link: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
2
|
import { BooleanProp } from '../../models';
|
|
3
|
-
import './status-card.
|
|
3
|
+
import './status-card.css';
|
|
4
4
|
export type StatusCardType = 'info' | 'success' | 'warning' | 'danger';
|
|
5
5
|
export interface StatusCardProps extends ComponentProps<'div'> {
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BooleanProp } from '../../models';
|
|
2
2
|
import { ComponentProps, FC, ReactElement } from 'react';
|
|
3
3
|
import { StepProps } from './step';
|
|
4
|
-
import './stepper.
|
|
4
|
+
import './stepper.css';
|
|
5
5
|
export interface StepperProps extends ComponentProps<'div'> {
|
|
6
6
|
/**
|
|
7
7
|
* Defines if the stepper is interactive or not.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BooleanProp, FeedbackState } from '../../models';
|
|
2
2
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
3
|
-
import './switch.
|
|
3
|
+
import './switch.css';
|
|
4
4
|
export type SwitchPosition = 'start' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
5
|
export interface SwitchProps extends ComponentProps<'input'> {
|
|
6
6
|
/**
|
|
@@ -5,7 +5,7 @@ import { TableCaptionProps } from './table-caption';
|
|
|
5
5
|
import { TableFooterProps } from './table-footer';
|
|
6
6
|
import { TableHeaderProps } from './table-header';
|
|
7
7
|
import { TablePaginationProps } from './table-pagination';
|
|
8
|
-
import './table.
|
|
8
|
+
import './table.css';
|
|
9
9
|
export interface TableProps extends ComponentProps<'table'> {
|
|
10
10
|
/**
|
|
11
11
|
* Table children content
|
|
@@ -3,7 +3,7 @@ import { ComponentPropsWithoutRef, FC, ReactElement, RefObject } from 'react';
|
|
|
3
3
|
import { TabBodyProps } from '../tab-body';
|
|
4
4
|
import { TabHeaderProps } from '../tab-header';
|
|
5
5
|
import { TabCurrentType } from '../tabs';
|
|
6
|
-
import './tabs-desktop.
|
|
6
|
+
import './tabs-desktop.css';
|
|
7
7
|
export interface TabsDesktopProps extends ComponentPropsWithoutRef<'div'> {
|
|
8
8
|
fullWidth: BooleanProp;
|
|
9
9
|
vertically?: BooleanProp;
|
|
@@ -3,7 +3,7 @@ import { ComponentPropsWithoutRef, FC, ReactElement, RefObject } from 'react';
|
|
|
3
3
|
import { TabBodyProps } from '../tab-body';
|
|
4
4
|
import { TabHeaderProps } from '../tab-header';
|
|
5
5
|
import { TabCurrentType } from '../tabs';
|
|
6
|
-
import './tabs-mobile.
|
|
6
|
+
import './tabs-mobile.css';
|
|
7
7
|
interface TabsMobileProps extends ComponentPropsWithoutRef<'div'> {
|
|
8
8
|
fullWidth: BooleanProp;
|
|
9
9
|
tabListRef: RefObject<HTMLDivElement | null>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BooleanProp } from '../../../../models';
|
|
2
2
|
import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
|
|
3
|
-
import './timeline-event.
|
|
3
|
+
import './timeline-event.css';
|
|
4
4
|
export interface TimelineEventProps extends ComponentPropsWithoutRef<'button'> {
|
|
5
5
|
/**
|
|
6
6
|
* Hide the label
|
package/artifacts/dist/types/components/timelines/timeline-horizontal/timeline-horizontal.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, FC, ReactElement } from 'react';
|
|
2
2
|
import { BooleanProp } from '../../../models';
|
|
3
3
|
import { TimelineEventProps } from '../shared/timeline-event/timeline-event';
|
|
4
|
-
import './timeline-horizontal.
|
|
4
|
+
import './timeline-horizontal.css';
|
|
5
5
|
export interface TimelineHorizontalProps extends ComponentPropsWithoutRef<'div'> {
|
|
6
6
|
/**
|
|
7
7
|
* Label for the next button
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, FC, ReactElement } from 'react';
|
|
2
2
|
import { BooleanProp } from '../../../models';
|
|
3
3
|
import { TimelineEventProps } from '../shared/timeline-event/timeline-event';
|
|
4
|
-
import './timeline-vertical.
|
|
4
|
+
import './timeline-vertical.css';
|
|
5
5
|
export interface TimelineVerticalProps extends ComponentPropsWithoutRef<'div'> {
|
|
6
6
|
/**
|
|
7
7
|
* Hide the labels
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
|
|
2
|
-
import './toast.
|
|
2
|
+
import './toast.css';
|
|
3
3
|
export type ToastType = 'success' | 'failure' | 'warning' | 'info';
|
|
4
4
|
export interface ToastProps extends Omit<ComponentPropsWithoutRef<'div'>, 'id' | 'title'> {
|
|
5
5
|
/**
|