@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.
Files changed (150) hide show
  1. package/artifacts/dist/index.mjs +4671 -4543
  2. package/artifacts/dist/index.mjs.map +1 -1
  3. package/artifacts/dist/index.umd.js +2 -2
  4. package/artifacts/dist/index.umd.js.map +1 -1
  5. package/artifacts/dist/style.css +1 -1
  6. package/artifacts/dist/tailwind.css +288 -47
  7. package/artifacts/dist/types/components/accordion/accordion.d.ts +1 -1
  8. package/artifacts/dist/types/components/accordion-group/accordion-group.d.ts +1 -1
  9. package/artifacts/dist/types/components/anchor/anchor.d.ts +1 -1
  10. package/artifacts/dist/types/components/avatar/avatar.d.ts +1 -1
  11. package/artifacts/dist/types/components/avatar-group/avatar-group.d.ts +1 -1
  12. package/artifacts/dist/types/components/breadcrumb/desktop/breadcrumb-desktop.d.ts +1 -1
  13. package/artifacts/dist/types/components/breadcrumb/mobile/breadcrumb-mobile.d.ts +1 -1
  14. package/artifacts/dist/types/components/button/button.d.ts +1 -1
  15. package/artifacts/dist/types/components/button-group/button-group.d.ts +1 -1
  16. package/artifacts/dist/types/components/cards/card-action/{card-action-styles.d.ts → card-action-variants.d.ts} +4 -4
  17. package/artifacts/dist/types/components/cards/card-action/card-action.d.ts +10 -6
  18. package/artifacts/dist/types/components/cards/card-article/card-article.d.ts +1 -1
  19. package/artifacts/dist/types/components/cards/card-collection/card-collection.d.ts +1 -1
  20. package/artifacts/dist/types/components/cards/card-emphasize/card-emphasize.d.ts +1 -1
  21. package/artifacts/dist/types/components/cards/card-error/card-error.d.ts +1 -1
  22. package/artifacts/dist/types/components/cards/card-expandable/card-accordion/card-accordion.d.ts +2 -2
  23. package/artifacts/dist/types/components/cards/card-expandable/card-expandable-style.d.ts +16 -0
  24. package/artifacts/dist/types/components/cards/card-expandable/card-expandable.d.ts +2 -2
  25. package/artifacts/dist/types/components/cards/card-frame/card-frame.d.ts +1 -1
  26. package/artifacts/dist/types/components/cards/card-full-image/card-full-image.d.ts +1 -1
  27. package/artifacts/dist/types/components/cards/card-hero-helper/card-hero-helper.d.ts +1 -1
  28. package/artifacts/dist/types/components/cards/card-hero-index/card-hero-index.d.ts +1 -1
  29. package/artifacts/dist/types/components/cards/card-hero-sitemap/card-hero-sitemap.d.ts +1 -1
  30. package/artifacts/dist/types/components/cards/card-highlight/card-highlight.d.ts +1 -1
  31. package/artifacts/dist/types/components/cards/card-highlight/shared/inner-highlight-card.d.ts +1 -1
  32. package/artifacts/dist/types/components/cards/card-highlight-newsletter/card-highlight-newsletter.d.ts +1 -1
  33. package/artifacts/dist/types/components/cards/card-highlight-single/card-highlight-single.d.ts +1 -1
  34. package/artifacts/dist/types/components/cards/card-links/card-links.d.ts +12 -16
  35. package/artifacts/dist/types/components/cards/card-no-results/card-no-results.d.ts +1 -1
  36. package/artifacts/dist/types/components/cards/card-single/card-single.d.ts +1 -1
  37. package/artifacts/dist/types/components/cards/card-topic/card-topic.d.ts +1 -1
  38. package/artifacts/dist/types/components/checkbox/checkbox.d.ts +1 -1
  39. package/artifacts/dist/types/components/dialog/dialog.d.ts +1 -1
  40. package/artifacts/dist/types/components/drawer/drawer.d.ts +1 -1
  41. package/artifacts/dist/types/components/dropdown/dropdown.d.ts +9 -0
  42. package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-context.d.ts +1 -0
  43. package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-filter-section.d.ts +1 -1
  44. package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-no-results.d.ts +1 -1
  45. package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-option.d.ts +1 -1
  46. package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-select-all-section.d.ts +1 -1
  47. package/artifacts/dist/types/components/dropdown/internals/internal-dropdown.d.ts +1 -1
  48. package/artifacts/dist/types/components/feedback/feedback.d.ts +1 -1
  49. package/artifacts/dist/types/components/footer/federated-footer/federated-footer.d.ts +1 -1
  50. package/artifacts/dist/types/components/footer/public-footer/public-footer.d.ts +1 -1
  51. package/artifacts/dist/types/components/glossary-letters/glossary-letters.d.ts +1 -1
  52. package/artifacts/dist/types/components/header/internals/general-bar/areas/internal-area.d.ts +1 -1
  53. package/artifacts/dist/types/components/header/internals/general-bar/areas/internal-areas.d.ts +1 -1
  54. package/artifacts/dist/types/components/header/internals/general-bar/authenticated/Internal-authenticated-drawer.d.ts +1 -1
  55. package/artifacts/dist/types/components/header/internals/general-bar/authenticated/internal-authenticated-drawer-body.d.ts +1 -1
  56. package/artifacts/dist/types/components/header/internals/general-bar/authenticated/internal-authenticated-drawer-footer.d.ts +1 -1
  57. package/artifacts/dist/types/components/header/internals/general-bar/authenticated/internal-authenticated-drawer-header.d.ts +1 -1
  58. package/artifacts/dist/types/components/header/internals/general-bar/authenticated/internal-authenticated.d.ts +1 -1
  59. package/artifacts/dist/types/components/header/internals/general-bar/internal-general-bar.d.ts +1 -1
  60. package/artifacts/dist/types/components/header/internals/general-bar/languages/internal-language.d.ts +1 -1
  61. package/artifacts/dist/types/components/header/internals/general-bar/languages/internal-languages-layout.d.ts +1 -1
  62. package/artifacts/dist/types/components/header/internals/general-bar/languages/internal-languages.d.ts +1 -1
  63. package/artifacts/dist/types/components/header/internals/general-bar/search/internal-custom-search-layout.d.ts +1 -1
  64. package/artifacts/dist/types/components/header/internals/general-bar/search/internal-search-layout.d.ts +1 -1
  65. package/artifacts/dist/types/components/header/internals/general-bar/search/internal-search.d.ts +1 -1
  66. package/artifacts/dist/types/components/header/internals/general-bar/unauthenticated/internal-unauthenticated-layout.d.ts +1 -1
  67. package/artifacts/dist/types/components/header/internals/general-bar/unauthenticated/internal-unauthenticated.d.ts +1 -1
  68. package/artifacts/dist/types/components/header/internals/internal-header.d.ts +1 -1
  69. package/artifacts/dist/types/components/header/internals/navigation-bar/internal-navigation-bar.d.ts +1 -1
  70. package/artifacts/dist/types/components/header/internals/navigation-bar/logo/internal-logo.d.ts +1 -1
  71. package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-burger/internal-navigation-burger-layout.d.ts +1 -1
  72. package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-burger/internal-navigation-burger-panel.d.ts +1 -1
  73. package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-burger/internal-navigation-burger.d.ts +1 -1
  74. package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-list/internal-navigation-link-layout.d.ts +1 -1
  75. package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-list/internal-navigation-list.d.ts +1 -1
  76. package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-modal/internal-modal-content.d.ts +1 -1
  77. package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-modal/internal-modal-navbar.d.ts +1 -1
  78. package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-modal/internal-navigation-modal-layout.d.ts +1 -1
  79. package/artifacts/dist/types/components/header/internals/shared/custom-header-link/custom-header-link.d.ts +1 -1
  80. package/artifacts/dist/types/components/header/internals/shared/custom-modal/custom-modal-dialog.d.ts +1 -1
  81. package/artifacts/dist/types/components/header/internals/shared/institutional/internal-institutional.d.ts +1 -1
  82. package/artifacts/dist/types/components/header/internals/shared/modal-menu/modal-menu.d.ts +1 -1
  83. package/artifacts/dist/types/components/header/internals/shared/panel-menu/panel-menu.d.ts +1 -1
  84. package/artifacts/dist/types/components/icon/icon.d.ts +1 -1
  85. package/artifacts/dist/types/components/input-date/date-text/date-text.d.ts +1 -1
  86. package/artifacts/dist/types/components/input-date/input-date.d.ts +1 -1
  87. package/artifacts/dist/types/components/input-email-bar/input-email-bar.d.ts +1 -1
  88. package/artifacts/dist/types/components/input-number/input-number.d.ts +1 -1
  89. package/artifacts/dist/types/components/input-password/input-password.d.ts +1 -1
  90. package/artifacts/dist/types/components/input-phone/input-phone.d.ts +1 -1
  91. package/artifacts/dist/types/components/input-range/input-range.d.ts +1 -1
  92. package/artifacts/dist/types/components/input-search/input-search.d.ts +1 -1
  93. package/artifacts/dist/types/components/input-search-bar/equalizer/equalizer.d.ts +1 -1
  94. package/artifacts/dist/types/components/input-search-bar/input-search-bar.d.ts +1 -1
  95. package/artifacts/dist/types/components/input-select/input-select.d.ts +7 -3
  96. package/artifacts/dist/types/components/input-text/input-text.d.ts +1 -1
  97. package/artifacts/dist/types/components/input-textarea/input-textarea.d.ts +1 -1
  98. package/artifacts/dist/types/components/input-time/input-time.d.ts +1 -1
  99. package/artifacts/dist/types/components/input-time/time-text/time-text.d.ts +1 -1
  100. package/artifacts/dist/types/components/link-wrapper/link-wrapper.d.ts +1 -1
  101. package/artifacts/dist/types/components/list/list.d.ts +1 -1
  102. package/artifacts/dist/types/components/loader-dialog/loader-dialog.d.ts +1 -1
  103. package/artifacts/dist/types/components/modal-dialog/modal-dialog.d.ts +1 -1
  104. package/artifacts/dist/types/components/panel-switcher/desktop/panel-switcher-desktop.d.ts +1 -1
  105. package/artifacts/dist/types/components/panel-switcher/mobile/panel-switcher-mobile.d.ts +1 -1
  106. package/artifacts/dist/types/components/pill/pill.d.ts +1 -1
  107. package/artifacts/dist/types/components/popup-dialog/popup-dialog.d.ts +1 -1
  108. package/artifacts/dist/types/components/progress-bar/progress-bar.d.ts +1 -1
  109. package/artifacts/dist/types/components/progress-bar-group/progress-bar-group.d.ts +1 -1
  110. package/artifacts/dist/types/components/quiz/quiz-item-summary/quiz-item-summary.d.ts +1 -1
  111. package/artifacts/dist/types/components/quiz/quiz-option/quiz-option.d.ts +1 -1
  112. package/artifacts/dist/types/components/radio/radio.d.ts +1 -1
  113. package/artifacts/dist/types/components/ratings/rating-buttons/rating-buttons.d.ts +1 -1
  114. package/artifacts/dist/types/components/ratings/rating-icons/rating-icons.d.ts +1 -1
  115. package/artifacts/dist/types/components/scribbles/scribbles.d.ts +1 -1
  116. package/artifacts/dist/types/components/search-pagination/search-pagination.d.ts +1 -1
  117. package/artifacts/dist/types/components/shared/bookmark-icon/bookmark-icon.d.ts +5 -1
  118. package/artifacts/dist/types/components/shared/feedback/feedback.d.ts +1 -1
  119. package/artifacts/dist/types/components/sidebar/sidebar-item-navigation-mobile/sidebar-item-navigation-mobile.d.ts +1 -1
  120. package/artifacts/dist/types/components/sidebar/sidebar-item.d.ts +1 -1
  121. package/artifacts/dist/types/components/sidebar/sidebar.d.ts +1 -1
  122. package/artifacts/dist/types/components/skip-navigation/skip-navigation.d.ts +1 -1
  123. package/artifacts/dist/types/components/status-card/status-card.d.ts +1 -1
  124. package/artifacts/dist/types/components/step-list/step-list.d.ts +1 -1
  125. package/artifacts/dist/types/components/stepper/step.d.ts +1 -1
  126. package/artifacts/dist/types/components/stepper/stepper.d.ts +1 -1
  127. package/artifacts/dist/types/components/switch/switch.d.ts +1 -1
  128. package/artifacts/dist/types/components/table/table-pagination.d.ts +1 -1
  129. package/artifacts/dist/types/components/table/table.d.ts +1 -1
  130. package/artifacts/dist/types/components/tabs/desktop/tabs-desktop.d.ts +1 -1
  131. package/artifacts/dist/types/components/tabs/mobile/tabs-mobile.d.ts +1 -1
  132. package/artifacts/dist/types/components/tag/tag.d.ts +1 -1
  133. package/artifacts/dist/types/components/timelines/shared/timeline-event/timeline-event.d.ts +1 -1
  134. package/artifacts/dist/types/components/timelines/shared/timeline-event-vertical/timeline-event-vertical.d.ts +1 -1
  135. package/artifacts/dist/types/components/timelines/timeline-horizontal/timeline-horizontal.d.ts +1 -1
  136. package/artifacts/dist/types/components/timelines/timeline-vertical/timeline-vertical.d.ts +1 -1
  137. package/artifacts/dist/types/components/toasts/toast-context.d.ts +1 -1
  138. package/artifacts/dist/types/components/toasts/toast-provider.d.ts +1 -1
  139. package/artifacts/dist/types/components/toasts/toast.d.ts +1 -1
  140. package/artifacts/dist/types/components/toggle/toggle.d.ts +1 -1
  141. package/artifacts/dist/types/components/toggle-group/toggle-group.d.ts +3 -2
  142. package/artifacts/dist/types/components/tooltip/tooltip.d.ts +1 -1
  143. package/artifacts/dist/types/components/uploader/button-uploader/button-uploader.d.ts +1 -1
  144. package/artifacts/dist/types/components/uploader/drag-and-drop-uploader/drag-and-drop-uploader.d.ts +1 -1
  145. package/artifacts/dist/types/components/uploader/shared/file-list.d.ts +1 -1
  146. package/artifacts/dist/types/configs/tailwind-config.d.ts +2 -1
  147. package/artifacts/dist/types/hooks/index.d.ts +1 -0
  148. package/artifacts/dist/types/hooks/use-client-or-server-effect.d.ts +3 -0
  149. package/package.json +11 -23
  150. 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.scss';
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.scss';
4
+ import './custom-header-link.css';
5
5
  export interface CustomHeaderLinkProps extends LinkWrapperProps {
6
6
  hasIcon?: BooleanProp;
7
7
  iconOnly?: BooleanProp;
@@ -1,3 +1,3 @@
1
1
  import { ComponentProps, FC } from 'react';
2
- import './custom-modal-dialog.scss';
2
+ import './custom-modal-dialog.css';
3
3
  export declare const CustomModalDialog: FC<ComponentProps<'div'>>;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, FC } from 'react';
2
- import './internal-institutional.scss';
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.scss';
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.scss';
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 { FC, HTMLProps, SVGProps } from 'react';
2
2
  import { IconName } from './assets/index';
3
- import './icon.scss';
3
+ import './icon.css';
4
4
  /**
5
5
  * Allowed icon dimensions.
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, FC } from 'react';
2
- import './date-text.scss';
2
+ import './date-text.css';
3
3
  export interface DateTextProps extends ComponentProps<'input'> {
4
4
  dayInputPlaceholder?: string;
5
5
  monthInputPlaceholder?: string;
@@ -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.scss';
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.scss';
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.scss';
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.scss';
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.scss';
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.scss';
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.scss';
3
+ import './input-search.css';
4
4
  export interface InputSearchProps extends ComponentProps<'input'> {
5
5
  /**
6
6
  * Input label text.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import './equalizer.scss';
2
+ import './equalizer.css';
3
3
  export interface EqualizerProps {
4
4
  }
5
5
  export declare const Equalizer: React.FC<EqualizerProps>;
@@ -1,6 +1,6 @@
1
1
  import { BooleanProp } from '../../models';
2
2
  import { ComponentProps, FC, Ref } from 'react';
3
- import './input-search-bar.scss';
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.scss';
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.scss';
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.scss';
3
+ import './input-textarea.css';
4
4
  export interface InputTextAreaProps extends ComponentProps<'textarea'> {
5
5
  /**
6
6
  * Input label text.
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, FC, ReactNode } from 'react';
2
- import './input-time.scss';
2
+ import './input-time.css';
3
3
  import { BooleanProp, FeedbackState } from '../../models';
4
4
  export interface InputTimeProps extends ComponentProps<'input'> {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, FC } from 'react';
2
- import './time-text.scss';
2
+ import './time-text.css';
3
3
  export interface TimeTextProps extends ComponentProps<'input'> {
4
4
  setInputTextValue: (selectedTime: string) => void;
5
5
  hourInputPlaceholder?: string;
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, FC, ReactNode } from 'react';
2
2
  import { BooleanProp } from '../../models';
3
- import './link-wrapper.scss';
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.scss';
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,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
2
- import './loader-dialog.scss';
2
+ import './loader-dialog.css';
3
3
  export interface LoaderDialogProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
4
4
  /**
5
5
  * The title of the loader.
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, FC, ReactNode } from 'react';
2
2
  import { ModalConfiguration } from './modal-config.model';
3
- import './modal-dialog.scss';
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.scss';
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.scss';
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.scss';
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, ReactNode } from 'react';
2
2
  import { PopupConfiguration } from './popup-config.model';
3
- import './popup-dialog.scss';
3
+ import './popup-dialog.css';
4
4
  export interface PopupDialogProps {
5
5
  /**
6
6
  * Popup configurations
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, FC } from 'react';
2
2
  import { BooleanProp } from '../../models';
3
- import './progress-bar.scss';
3
+ import './progress-bar.css';
4
4
  export interface ProgressBarProps extends ComponentProps<'div'> {
5
5
  /**
6
6
  * The current value of the progress.
@@ -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.scss';
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.scss';
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.scss';
5
+ import './quiz-option.css';
6
6
  export interface QuizOptionProps extends ComponentPropsWithoutRef<'div'> {
7
7
  /**
8
8
  * Children content.
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, FC, ReactNode } from 'react';
2
2
  import { BooleanProp, FeedbackState } from '../../models';
3
- import './radio.scss';
3
+ import './radio.css';
4
4
  export interface RadioButtonProps extends ComponentProps<'input'> {
5
5
  /**
6
6
  * Input label text.
@@ -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.scss';
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.scss';
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.scss';
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.scss';
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 declare const BookmarkIcon: (props: HTMLProps<SVGSVGElement>) => React.JSX.Element;
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.scss';
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.scss';
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.scss';
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.scss';
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.scss';
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.scss';
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,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, FC, ReactElement } from 'react';
2
- import './step-list.scss';
2
+ import './step-list.css';
3
3
  export interface StepListProps extends ComponentPropsWithoutRef<'ol'> {
4
4
  /**
5
5
  * Children content.
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, FC } from 'react';
2
2
  import { BooleanProp } from '../../models';
3
- import './step.scss';
3
+ import './step.css';
4
4
  /**
5
5
  * Available step status.
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.scss';
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.scss';
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
  /**
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, FC } from 'react';
2
- import './table-pagination.scss';
2
+ import './table-pagination.css';
3
3
  export interface TablePaginationProps extends ComponentProps<'div'> {
4
4
  /**
5
5
  * Defines the label for the items per page
@@ -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.scss';
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.scss';
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.scss';
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 { ComponentProps, FC, ReactNode } from 'react';
3
- import './tag.scss';
3
+ import './tag.css';
4
4
  export interface TagProps extends ComponentProps<'button'> {
5
5
  /**
6
6
  * Defines if the button uses an icon.
@@ -1,6 +1,6 @@
1
1
  import { BooleanProp } from '../../../../models';
2
2
  import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
3
- import './timeline-event.scss';
3
+ import './timeline-event.css';
4
4
  export interface TimelineEventProps extends ComponentPropsWithoutRef<'button'> {
5
5
  /**
6
6
  * Hide the label
@@ -1,4 +1,4 @@
1
1
  import { FC } from 'react';
2
2
  import { TimelineEventProps } from '../timeline-event/timeline-event';
3
- import './timeline-event-vertical.scss';
3
+ import './timeline-event-vertical.css';
4
4
  export declare const TimelineEventVertical: FC<TimelineEventProps>;
@@ -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.scss';
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.scss';
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 { ToastProps } from './toast';
2
- import './toast.scss';
2
+ import './toast.css';
3
3
  export interface ToastContextProps {
4
4
  showToast: (data: ToastProps, duration?: number) => void;
5
5
  removeToast: (data: ToastProps) => void;
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode } from 'react';
2
- import './toast.scss';
2
+ import './toast.css';
3
3
  export type ToastPositions = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
4
4
  export interface ToastProviderProps {
5
5
  children?: ReactNode;
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
2
- import './toast.scss';
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
  /**
@@ -1,6 +1,6 @@
1
1
  import { BooleanProp } from '../../models';
2
2
  import { ComponentProps, FC } from 'react';
3
- import './toggle.scss';
3
+ import './toggle.css';
4
4
  /**
5
5
  * The available toggle button appearances. Defines the button layout shape,
6
6
  */