@ama-pt/agora-design-system 2.2.9 → 3.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/artifacts/dist/index.mjs +6200 -5958
- 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 +4 -0
- package/artifacts/dist/types/components/accordion/accordion.d.ts +4 -12
- package/artifacts/dist/types/components/accordion-group/accordion-group.d.ts +4 -4
- package/artifacts/dist/types/components/anchor/anchor.d.ts +4 -4
- package/artifacts/dist/types/components/avatar/avatar.d.ts +4 -3
- package/artifacts/dist/types/components/avatar/interactive-avatar.d.ts +4 -4
- package/artifacts/dist/types/components/avatar/non-interactive-avatar.d.ts +4 -4
- package/artifacts/dist/types/components/back-to-top/back-to-top.d.ts +4 -5
- package/artifacts/dist/types/components/button/button.d.ts +4 -16
- package/artifacts/dist/types/components/button/index.d.ts +1 -1
- package/artifacts/dist/types/components/button-group/button-group.d.ts +0 -20
- package/artifacts/dist/types/components/cards/card-action/card-action-styles.d.ts +15 -0
- package/artifacts/dist/types/components/cards/card-action/card-action.d.ts +74 -0
- package/artifacts/dist/types/components/cards/card-action/index.d.ts +2 -0
- package/artifacts/dist/types/components/cards/card-expandable/card-accordion/card-accordion.d.ts +4 -7
- package/artifacts/dist/types/components/cards/card-expandable/card-expandable.d.ts +4 -8
- package/artifacts/dist/types/components/cards/card-highlight/card-highlight.d.ts +2 -2
- package/artifacts/dist/types/components/cards/card-highlight/shared/inner-highlight-card.d.ts +2 -2
- package/artifacts/dist/types/components/cards/card-highlight-newsletter/card-highlight-newsletter.d.ts +2 -2
- package/artifacts/dist/types/components/cards/card-highlight-single/card-highlight-single.d.ts +2 -2
- package/artifacts/dist/types/components/cards/card-links/card-links.d.ts +2 -2
- package/artifacts/dist/types/components/cards/card-no-results/card-no-results.d.ts +2 -2
- package/artifacts/dist/types/components/cards/card-single/card-single.d.ts +2 -2
- package/artifacts/dist/types/components/cards/index.d.ts +1 -0
- package/artifacts/dist/types/components/checkbox/checkbox.d.ts +4 -4
- package/artifacts/dist/types/components/dialog/dialog.d.ts +4 -4
- package/artifacts/dist/types/components/drawer/drawer.d.ts +4 -4
- package/artifacts/dist/types/components/dropdown/dropdown.d.ts +5 -4
- package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-filter-section.d.ts +4 -3
- package/artifacts/dist/types/components/dropdown/internals/internal-dropdown-option.d.ts +4 -3
- package/artifacts/dist/types/components/dropdown/internals/internal-dropdown.d.ts +4 -3
- package/artifacts/dist/types/components/glossary-letters/glossary-letters.d.ts +8 -4
- package/artifacts/dist/types/components/header/brand/institutional.d.ts +2 -2
- package/artifacts/dist/types/components/header/brand/logo.d.ts +2 -2
- package/artifacts/dist/types/components/header/general-bar/authenticated/authenticated-body.d.ts +2 -2
- package/artifacts/dist/types/components/header/general-bar/authenticated/authenticated-footer.d.ts +2 -2
- package/artifacts/dist/types/components/header/general-bar/authenticated/authenticated-header.d.ts +2 -2
- package/artifacts/dist/types/components/header/general-bar/languages/language.d.ts +2 -2
- package/artifacts/dist/types/components/header/general-bar/search/custom-search.d.ts +2 -2
- package/artifacts/dist/types/components/header/general-bar/search/default-search.d.ts +2 -2
- package/artifacts/dist/types/components/header/general-bar/search/search-input-container.d.ts +2 -2
- package/artifacts/dist/types/components/header/general-bar/search/search-related-links-title.d.ts +2 -2
- package/artifacts/dist/types/components/header/general-bar/search/search-related-links.d.ts +2 -2
- package/artifacts/dist/types/components/header/general-bar/search/search-title.d.ts +2 -2
- package/artifacts/dist/types/components/header/general-bar/search/search.d.ts +2 -2
- package/artifacts/dist/types/components/header/general-bar/unauthenticated/unauthenticated-link.d.ts +2 -2
- package/artifacts/dist/types/components/header/header.d.ts +6 -5
- package/artifacts/dist/types/components/header/internals/context/menu-context/header-menu-context.d.ts +2 -1
- package/artifacts/dist/types/components/header/internals/general-bar/areas/internal-areas.d.ts +2 -2
- package/artifacts/dist/types/components/header/internals/general-bar/authenticated/internal-authenticated.d.ts +2 -2
- package/artifacts/dist/types/components/header/internals/general-bar/languages/internal-language.d.ts +2 -2
- package/artifacts/dist/types/components/header/internals/general-bar/search/internal-search.d.ts +2 -2
- package/artifacts/dist/types/components/header/internals/navigation-bar/logo/internal-logo.d.ts +2 -2
- package/artifacts/dist/types/components/header/internals/navigation-bar/navigation-burger/internal-navigation-burger-panel.d.ts +4 -3
- package/artifacts/dist/types/components/header/internals/shared/custom-header-link/custom-header-link.d.ts +3 -3
- package/artifacts/dist/types/components/header/internals/shared/custom-modal/custom-modal-dialog.d.ts +2 -2
- package/artifacts/dist/types/components/header/internals/shared/custom-modal/custom-modal-provider.d.ts +2 -2
- package/artifacts/dist/types/components/header/internals/shared/institutional/internal-institutional.d.ts +2 -2
- package/artifacts/dist/types/components/header/internals/shared/modal-menu/modal-menu.d.ts +6 -3
- package/artifacts/dist/types/components/header/internals/shared/panel-menu/layout.interface.d.ts +2 -2
- package/artifacts/dist/types/components/header/internals/shared/panel-menu/panel-menu.d.ts +4 -3
- package/artifacts/dist/types/components/header/navigation-bar/navigation-bar.d.ts +2 -14
- package/artifacts/dist/types/components/header/navigation-bar/navigation-root.d.ts +2 -2
- package/artifacts/dist/types/components/input-date/contexts/date-picker-state.context.d.ts +2 -7
- package/artifacts/dist/types/components/input-date/date-text/date-text.d.ts +4 -4
- package/artifacts/dist/types/components/input-date/input-date.d.ts +4 -3
- package/artifacts/dist/types/components/input-email-bar/input-email-bar.d.ts +4 -3
- package/artifacts/dist/types/components/input-number/input-number.d.ts +4 -4
- package/artifacts/dist/types/components/input-password/input-password.d.ts +4 -3
- package/artifacts/dist/types/components/input-phone/input-phone.d.ts +8 -3
- package/artifacts/dist/types/components/input-range/input-range.d.ts +4 -3
- package/artifacts/dist/types/components/input-search/input-search.d.ts +4 -3
- package/artifacts/dist/types/components/input-search-bar/input-search-bar.d.ts +6 -6
- package/artifacts/dist/types/components/input-select/input-select.d.ts +4 -3
- package/artifacts/dist/types/components/input-text/input-text.d.ts +4 -3
- package/artifacts/dist/types/components/input-textarea/input-textarea.d.ts +4 -4
- package/artifacts/dist/types/components/input-time/input-time.d.ts +4 -3
- package/artifacts/dist/types/components/input-time/time-text/time-text.d.ts +4 -4
- package/artifacts/dist/types/components/link-wrapper/link-wrapper.d.ts +4 -3
- package/artifacts/dist/types/components/list/list.d.ts +5 -0
- package/artifacts/dist/types/components/modal-dialog/modal-dialog.d.ts +2 -2
- package/artifacts/dist/types/components/panel-switcher/desktop/panel-switcher-desktop.d.ts +4 -4
- package/artifacts/dist/types/components/panel-switcher/mobile/panel-switcher-mobile.d.ts +2 -2
- package/artifacts/dist/types/components/pill/pill.d.ts +2 -2
- package/artifacts/dist/types/components/progress-bar/progress-bar.d.ts +14 -2
- package/artifacts/dist/types/components/radio/radio.d.ts +4 -4
- package/artifacts/dist/types/components/ratings/rating-buttons/rating-buttons.d.ts +4 -3
- package/artifacts/dist/types/components/ratings/rating-icons/rating-icons.d.ts +4 -3
- package/artifacts/dist/types/components/search-pagination/search-page.d.ts +4 -4
- package/artifacts/dist/types/components/search-pagination/search-pagination-number-overlay.d.ts +4 -4
- package/artifacts/dist/types/components/search-pagination/search-pagination.d.ts +4 -4
- package/artifacts/dist/types/components/shared/feedback/feedback.d.ts +4 -4
- package/artifacts/dist/types/components/shared/icon-set/icon-set.d.ts +4 -4
- package/artifacts/dist/types/components/sidebar/sidebar-filter/sidebar-item-filter.d.ts +3 -4
- package/artifacts/dist/types/components/sidebar/sidebar-item.d.ts +5 -5
- package/artifacts/dist/types/components/sidebar/utils/keyboardSidebarItemHandlers.d.ts +1 -1
- package/artifacts/dist/types/components/skip-navigation/skip-navigation-multiple.d.ts +2 -2
- package/artifacts/dist/types/components/skip-navigation/skip-navigation-single.d.ts +2 -2
- package/artifacts/dist/types/components/skip-navigation/skip-navigation.d.ts +4 -4
- package/artifacts/dist/types/components/status-card/interactive-status-card.d.ts +4 -4
- package/artifacts/dist/types/components/status-card/non-interactive-status-card.d.ts +4 -4
- package/artifacts/dist/types/components/status-card/status-card.d.ts +4 -4
- package/artifacts/dist/types/components/stepper/step.d.ts +2 -2
- package/artifacts/dist/types/components/stepper/stepper.d.ts +4 -4
- package/artifacts/dist/types/components/switch/switch.d.ts +8 -4
- package/artifacts/dist/types/components/table/table-pagination.d.ts +3 -3
- package/artifacts/dist/types/components/table/table.d.ts +3 -3
- package/artifacts/dist/types/components/tabs/desktop/tabs-desktop.d.ts +3 -3
- package/artifacts/dist/types/components/tabs/mobile/tabs-mobile.d.ts +2 -2
- package/artifacts/dist/types/components/tag/tag.d.ts +4 -5
- package/artifacts/dist/types/components/toggle/toggle.d.ts +4 -4
- package/artifacts/dist/types/components/toggle-group/toggle-group.d.ts +4 -4
- package/artifacts/dist/types/components/uploader/button-uploader/button-uploader.d.ts +7 -3
- package/artifacts/dist/types/components/uploader/drag-and-drop-uploader/drag-and-drop-uploader.d.ts +3 -3
- package/artifacts/dist/types/hooks/use-window-size.d.ts +4 -1
- package/artifacts/dist/types/utils/debounce.d.ts +4 -3
- package/artifacts/dist/types/utils/expand-ref.d.ts +2 -2
- package/package.json +66 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentProps, FC, ReactElement } from 'react';
|
|
2
2
|
import { TableLayout } from './models/table-layout.type';
|
|
3
3
|
import { TableBodyProps } from './table-body';
|
|
4
4
|
import { TableCaptionProps } from './table-caption';
|
|
@@ -6,7 +6,7 @@ import { TableFooterProps } from './table-footer';
|
|
|
6
6
|
import { TableHeaderProps } from './table-header';
|
|
7
7
|
import { TablePaginationProps } from './table-pagination';
|
|
8
8
|
import './table.scss';
|
|
9
|
-
export interface TableProps extends
|
|
9
|
+
export interface TableProps extends ComponentProps<'table'> {
|
|
10
10
|
/**
|
|
11
11
|
* Table children content
|
|
12
12
|
*/
|
|
@@ -32,5 +32,5 @@ export interface TableProps extends ComponentPropsWithRef<'table'> {
|
|
|
32
32
|
*/
|
|
33
33
|
sortDescription?: string;
|
|
34
34
|
}
|
|
35
|
-
declare const Table:
|
|
35
|
+
declare const Table: FC<TableProps>;
|
|
36
36
|
export { Table };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BooleanProp } from '../../../models';
|
|
2
|
-
import
|
|
2
|
+
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';
|
|
@@ -7,8 +7,8 @@ import './tabs-desktop.scss';
|
|
|
7
7
|
export interface TabsDesktopProps extends ComponentPropsWithoutRef<'div'> {
|
|
8
8
|
fullWidth: BooleanProp;
|
|
9
9
|
vertically?: BooleanProp;
|
|
10
|
-
tabListRef:
|
|
11
|
-
tabPanelRef:
|
|
10
|
+
tabListRef: RefObject<HTMLDivElement | null>;
|
|
11
|
+
tabPanelRef: RefObject<HTMLDivElement | null>;
|
|
12
12
|
activeTab: number;
|
|
13
13
|
activateTab: (index: number) => void;
|
|
14
14
|
currentType: TabCurrentType;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { BooleanProp } from '../../../models';
|
|
2
|
-
import
|
|
2
|
+
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
6
|
import './tabs-mobile.scss';
|
|
7
7
|
interface TabsMobileProps extends ComponentPropsWithoutRef<'div'> {
|
|
8
8
|
fullWidth: BooleanProp;
|
|
9
|
-
tabListRef:
|
|
9
|
+
tabListRef: RefObject<HTMLDivElement | null>;
|
|
10
10
|
activeTab: number;
|
|
11
11
|
activateTab: (index: number) => void;
|
|
12
12
|
currentType: TabCurrentType;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { ButtonElement } from '../../components/button';
|
|
2
1
|
import { BooleanProp } from '../../models';
|
|
3
|
-
import
|
|
2
|
+
import { ComponentProps, FC, ReactNode } from 'react';
|
|
4
3
|
import './tag.scss';
|
|
5
|
-
export interface TagProps extends
|
|
4
|
+
export interface TagProps extends ComponentProps<'button'> {
|
|
6
5
|
/**
|
|
7
6
|
* Defines if the button uses an icon.
|
|
8
7
|
*/
|
|
@@ -24,5 +23,5 @@ export interface TagProps extends Omit<ComponentPropsWithRef<'button'>, 'ref'> {
|
|
|
24
23
|
*/
|
|
25
24
|
darkMode?: BooleanProp;
|
|
26
25
|
}
|
|
27
|
-
|
|
28
|
-
export
|
|
26
|
+
declare const Tag: FC<TagProps>;
|
|
27
|
+
export { Tag };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BooleanProp } from '../../models';
|
|
2
|
-
import
|
|
2
|
+
import { ComponentProps, FC } from 'react';
|
|
3
3
|
import './toggle.scss';
|
|
4
4
|
/**
|
|
5
5
|
* The available toggle button appearances. Defines the button layout shape,
|
|
@@ -9,7 +9,7 @@ export type ToggleAppearance = 'button' | 'icon';
|
|
|
9
9
|
* The available variants of the toggle button. This variants will define the background and border color of the button.
|
|
10
10
|
*/
|
|
11
11
|
export type ToggleVariant = 'primary' | 'neutral';
|
|
12
|
-
export interface ToggleProps extends
|
|
12
|
+
export interface ToggleProps extends ComponentProps<'input'> {
|
|
13
13
|
/**
|
|
14
14
|
* Defines if the toggle takes the container full width.
|
|
15
15
|
*/
|
|
@@ -56,5 +56,5 @@ export interface ToggleProps extends ComponentPropsWithRef<'input'> {
|
|
|
56
56
|
*/
|
|
57
57
|
trailingIconHover?: string;
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
export
|
|
59
|
+
declare const Toggle: FC<ToggleProps>;
|
|
60
|
+
export { Toggle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentProps, FC, ReactElement, Ref } from 'react';
|
|
2
2
|
import { ToggleAppearance, ToggleProps, ToggleVariant } from '../../components/toggle';
|
|
3
3
|
import { BooleanProp } from '../../models';
|
|
4
4
|
import './toggle-group.scss';
|
|
@@ -9,7 +9,7 @@ export interface ToggleGroupElement extends HTMLDivElement {
|
|
|
9
9
|
*/
|
|
10
10
|
value: string[];
|
|
11
11
|
}
|
|
12
|
-
export interface ToggleGroupProps extends Omit<
|
|
12
|
+
export interface ToggleGroupProps extends Omit<ComponentProps<'div'>, 'onChange'> {
|
|
13
13
|
/**
|
|
14
14
|
* Defines the appearance of the children toggles.
|
|
15
15
|
*/
|
|
@@ -55,5 +55,5 @@ export interface ToggleGroupProps extends Omit<ComponentPropsWithRef<'div'>, 'on
|
|
|
55
55
|
*/
|
|
56
56
|
ref?: Ref<ToggleGroupElement>;
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
export
|
|
58
|
+
declare const ToggleGroup: FC<ToggleGroupProps>;
|
|
59
|
+
export { ToggleGroup };
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { BooleanProp, FeedbackState } from '../../../models';
|
|
2
|
-
import
|
|
2
|
+
import { ComponentProps, FC, ReactNode } from 'react';
|
|
3
3
|
import './button-uploader.scss';
|
|
4
|
-
export interface
|
|
4
|
+
export interface ButtonUploaderElement extends HTMLInputElement {
|
|
5
|
+
input: HTMLInputElement | null;
|
|
6
|
+
reset: () => void;
|
|
7
|
+
}
|
|
8
|
+
export interface ButtonUploaderProps extends ComponentProps<'input'> {
|
|
5
9
|
/**
|
|
6
10
|
* Label for the input file uploader.
|
|
7
11
|
*/
|
|
@@ -75,5 +79,5 @@ export interface ButtonUploaderProps extends ComponentPropsWithoutRef<'input'> {
|
|
|
75
79
|
*/
|
|
76
80
|
hasError?: BooleanProp;
|
|
77
81
|
}
|
|
78
|
-
declare const ButtonUploader:
|
|
82
|
+
declare const ButtonUploader: FC<ButtonUploaderProps>;
|
|
79
83
|
export { ButtonUploader };
|
package/artifacts/dist/types/components/uploader/drag-and-drop-uploader/drag-and-drop-uploader.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
2
|
import { BooleanProp, FeedbackState } from '../../../models';
|
|
3
3
|
import './drag-and-drop-uploader.scss';
|
|
4
|
-
export interface DragAndDropUploaderProps extends
|
|
4
|
+
export interface DragAndDropUploaderProps extends ComponentProps<'input'> {
|
|
5
5
|
/**
|
|
6
6
|
* Label for the drag and drop file uploader.
|
|
7
7
|
*/
|
|
@@ -83,5 +83,5 @@ export interface DragAndDropUploaderProps extends ComponentPropsWithoutRef<'inpu
|
|
|
83
83
|
*/
|
|
84
84
|
hasError?: BooleanProp;
|
|
85
85
|
}
|
|
86
|
-
declare const DragAndDropUploader:
|
|
86
|
+
declare const DragAndDropUploader: FC<DragAndDropUploaderProps>;
|
|
87
87
|
export { DragAndDropUploader };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
type FunctionType = (arg: string) => void;
|
|
2
|
+
declare const debounce: (func: FunctionType, timeout?: number) => (args: string) => void;
|
|
2
3
|
export { debounce };
|
|
3
|
-
export declare const useDebounceHook: (func:
|
|
4
|
-
setArgs: import("react").Dispatch<
|
|
4
|
+
export declare const useDebounceHook: (func: FunctionType, timeout?: number) => {
|
|
5
|
+
setArgs: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
5
6
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DependencyList,
|
|
2
|
-
export declare function useExpandedRef<T>(ref: Ref<T> | null, innerRef: RefObject<HTMLElement | null>, data: T, deps?: DependencyList):
|
|
1
|
+
import { DependencyList, Ref, RefObject } from 'react';
|
|
2
|
+
export declare function useExpandedRef<T>(ref: Ref<T> | null, innerRef: RefObject<HTMLElement | null>, data: T, deps?: DependencyList): RefObject<T | null>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ama-pt/agora-design-system",
|
|
3
3
|
"description": "Ágora Design system",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.1",
|
|
5
5
|
"main": "artifacts/dist/index.mjs",
|
|
6
6
|
"module": "artifacts/dist/index.umd.js",
|
|
7
7
|
"files": [
|
|
@@ -23,60 +23,60 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"classnames": "^2.5.1",
|
|
26
|
-
"sass": "^1.
|
|
26
|
+
"sass": "^1.89.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@axe-core/playwright": "^4.
|
|
30
|
-
"@babel/core": "^7.
|
|
31
|
-
"@babel/preset-env": "^7.
|
|
32
|
-
"@babel/preset-react": "^7.
|
|
33
|
-
"@babel/preset-typescript": "^7.
|
|
29
|
+
"@axe-core/playwright": "^4.10.2",
|
|
30
|
+
"@babel/core": "^7.27.4",
|
|
31
|
+
"@babel/preset-env": "^7.27.2",
|
|
32
|
+
"@babel/preset-react": "^7.27.1",
|
|
33
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
34
34
|
"@mdx-js/react": "^3.1.0",
|
|
35
|
-
"@playwright/test": "^1.
|
|
36
|
-
"@storybook/addon-a11y": "^8.
|
|
37
|
-
"@storybook/addon-actions": "^8.
|
|
38
|
-
"@storybook/addon-docs": "^8.
|
|
39
|
-
"@storybook/addon-essentials": "^8.
|
|
40
|
-
"@storybook/addon-interactions": "^8.
|
|
41
|
-
"@storybook/addon-links": "^8.
|
|
42
|
-
"@storybook/addon-storysource": "^8.
|
|
43
|
-
"@storybook/blocks": "^8.
|
|
35
|
+
"@playwright/test": "^1.53.1",
|
|
36
|
+
"@storybook/addon-a11y": "^8.6.14",
|
|
37
|
+
"@storybook/addon-actions": "^8.6.14",
|
|
38
|
+
"@storybook/addon-docs": "^8.6.14",
|
|
39
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
40
|
+
"@storybook/addon-interactions": "^8.6.14",
|
|
41
|
+
"@storybook/addon-links": "^8.6.14",
|
|
42
|
+
"@storybook/addon-storysource": "^8.6.14",
|
|
43
|
+
"@storybook/blocks": "^8.6.14",
|
|
44
44
|
"@storybook/mdx2-csf": "^1.1.0",
|
|
45
45
|
"@storybook/preset-scss": "^1.0.3",
|
|
46
|
-
"@storybook/react": "^8.
|
|
47
|
-
"@storybook/react-vite": "^8.
|
|
48
|
-
"@storybook/test": "^8.
|
|
49
|
-
"@storybook/theming": "^8.
|
|
50
|
-
"@storybook/types": "^8.
|
|
51
|
-
"@testing-library/jest-dom": "^6.
|
|
52
|
-
"@testing-library/react": "^16.0
|
|
53
|
-
"@testing-library/user-event": "^14.
|
|
54
|
-
"@types/jest": "^29.5.
|
|
55
|
-
"@types/node": "^22.
|
|
56
|
-
"@types/prop-types": "^15.7.
|
|
57
|
-
"@types/react": "^
|
|
58
|
-
"@types/react-dom": "^
|
|
59
|
-
"@types/react-syntax-highlighter": "^15.5.
|
|
60
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
61
|
-
"@typescript-eslint/parser": "^6.
|
|
62
|
-
"@vitejs/plugin-react-swc": "^3.
|
|
63
|
-
"autoprefixer": "^10.4.
|
|
46
|
+
"@storybook/react": "^8.6.14",
|
|
47
|
+
"@storybook/react-vite": "^8.6.14",
|
|
48
|
+
"@storybook/test": "^8.6.14",
|
|
49
|
+
"@storybook/theming": "^8.6.14",
|
|
50
|
+
"@storybook/types": "^8.6.14",
|
|
51
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
52
|
+
"@testing-library/react": "^16.3.0",
|
|
53
|
+
"@testing-library/user-event": "^14.6.1",
|
|
54
|
+
"@types/jest": "^29.5.14",
|
|
55
|
+
"@types/node": "^22.15.32",
|
|
56
|
+
"@types/prop-types": "^15.7.15",
|
|
57
|
+
"@types/react": "^19.1.8",
|
|
58
|
+
"@types/react-dom": "^19.1.6",
|
|
59
|
+
"@types/react-syntax-highlighter": "^15.5.13",
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
61
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
62
|
+
"@vitejs/plugin-react-swc": "^3.10.2",
|
|
63
|
+
"autoprefixer": "^10.4.21",
|
|
64
64
|
"babel-jest": "^29.7.0",
|
|
65
65
|
"date-fns": "^4.1.0",
|
|
66
66
|
"del": "^8.0.0",
|
|
67
|
-
"eslint": "^8.
|
|
67
|
+
"eslint": "^8.57.1",
|
|
68
68
|
"eslint-config-airbnb": "^19.0.4",
|
|
69
69
|
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
70
|
-
"eslint-config-prettier": "^9.
|
|
71
|
-
"eslint-import-resolver-typescript": "^3.
|
|
72
|
-
"eslint-plugin-import": "^2.
|
|
73
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
74
|
-
"eslint-plugin-prettier": "^5.
|
|
75
|
-
"eslint-plugin-react": "^7.
|
|
76
|
-
"eslint-plugin-react-hooks": "^4.6.
|
|
77
|
-
"eslint-plugin-storybook": "^0.
|
|
78
|
-
"glob": "^11.0.
|
|
79
|
-
"gulp": "^5.0.
|
|
70
|
+
"eslint-config-prettier": "^9.1.0",
|
|
71
|
+
"eslint-import-resolver-typescript": "^3.10.1",
|
|
72
|
+
"eslint-plugin-import": "^2.32.0",
|
|
73
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
74
|
+
"eslint-plugin-prettier": "^5.5.0",
|
|
75
|
+
"eslint-plugin-react": "^7.37.5",
|
|
76
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
77
|
+
"eslint-plugin-storybook": "^0.12.0",
|
|
78
|
+
"glob": "^11.0.3",
|
|
79
|
+
"gulp": "^5.0.1",
|
|
80
80
|
"gulp-clean-css": "^4.3.0",
|
|
81
81
|
"gulp-concat": "^2.6.1",
|
|
82
82
|
"gulp-file": "^0.4.0",
|
|
@@ -86,27 +86,27 @@
|
|
|
86
86
|
"jest-environment-jsdom": "^29.7.0",
|
|
87
87
|
"jest-preview": "^0.3.1",
|
|
88
88
|
"jest-sonar-reporter": "^2.0.0",
|
|
89
|
-
"playwright": "^1.
|
|
90
|
-
"postcss": "^8.
|
|
91
|
-
"prettier": "^3.0
|
|
92
|
-
"react": "^
|
|
93
|
-
"react-dom": "^
|
|
94
|
-
"react-syntax-highlighter": "^15.
|
|
95
|
-
"storybook": "^8.
|
|
96
|
-
"tailwindcss": "^3.4.
|
|
89
|
+
"playwright": "^1.53.1",
|
|
90
|
+
"postcss": "^8.5.6",
|
|
91
|
+
"prettier": "^3.6.0",
|
|
92
|
+
"react": "^19.1.0",
|
|
93
|
+
"react-dom": "^19.1.0",
|
|
94
|
+
"react-syntax-highlighter": "^15.6.1",
|
|
95
|
+
"storybook": "^8.6.14",
|
|
96
|
+
"tailwindcss": "^3.4.17",
|
|
97
97
|
"ts-dedent": "^2.2.0",
|
|
98
|
-
"ts-jest": "^29.
|
|
99
|
-
"ts-node": "^10.9.
|
|
100
|
-
"tsc-alias": "^1.8.
|
|
98
|
+
"ts-jest": "^29.4.0",
|
|
99
|
+
"ts-node": "^10.9.2",
|
|
100
|
+
"tsc-alias": "^1.8.16",
|
|
101
101
|
"typescript": "*",
|
|
102
|
-
"vite": "^5.
|
|
103
|
-
"vite-tsconfig-paths": "^5.1.
|
|
102
|
+
"vite": "^5.4.19",
|
|
103
|
+
"vite-tsconfig-paths": "^5.1.4"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
|
-
"@types/react": "^
|
|
107
|
-
"@types/react-dom": "^
|
|
108
|
-
"react": "^
|
|
109
|
-
"react-dom": "^
|
|
106
|
+
"@types/react": "^19.0.12",
|
|
107
|
+
"@types/react-dom": "^19.0.4",
|
|
108
|
+
"react": "^19.0.0",
|
|
109
|
+
"react-dom": "^19.0.0"
|
|
110
110
|
},
|
|
111
111
|
"author": "AMA",
|
|
112
112
|
"license": "MIT",
|
|
@@ -117,7 +117,10 @@
|
|
|
117
117
|
"nextjs",
|
|
118
118
|
"@ama-pt"
|
|
119
119
|
],
|
|
120
|
-
"repository":
|
|
120
|
+
"repository": {
|
|
121
|
+
"type": "git",
|
|
122
|
+
"url": "https://gitlab.devops.ama.lan/design-system/agora-design-system.git"
|
|
123
|
+
},
|
|
121
124
|
"trustedDependencies": [
|
|
122
125
|
"@swc/core",
|
|
123
126
|
"es5-ext",
|