@maxio-com/react-ui-components 9.32.0 → 9.33.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/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/skills/maxio-react/SKILL.md +1 -0
- package/dist/skills/maxio-react/references/components-action-menu.md +9 -1
- package/dist/skills/maxio-react/references/components-avatar.md +1 -0
- package/dist/skills/maxio-react/references/components-copy-to-clipboard.md +1 -1
- package/dist/skills/maxio-react/references/components-data-table.md +9 -2
- package/dist/skills/maxio-react/references/components-drawer.md +7 -1
- package/dist/skills/maxio-react/references/components-flex.md +4 -4
- package/dist/skills/maxio-react/references/components-grid.md +11 -11
- package/dist/skills/maxio-react/references/components-icon.md +1 -0
- package/dist/skills/maxio-react/references/components-loading-spinner.md +1 -0
- package/dist/skills/maxio-react/references/components-logo.md +1 -0
- package/dist/skills/maxio-react/references/components-notifications-alert.md +6 -0
- package/dist/skills/maxio-react/references/components-notifications-banner.md +6 -0
- package/dist/skills/maxio-react/references/components-notifications-toast.md +6 -0
- package/dist/skills/maxio-react/references/components-pagination.md +6 -0
- package/dist/skills/maxio-react/references/components-progressbar.md +2 -1
- package/dist/skills/maxio-react/references/components-tabs.md +7 -0
- package/dist/skills/maxio-react/references/components-tag.md +1 -0
- package/dist/skills/maxio-react/references/components-tile.md +1 -0
- package/dist/skills/maxio-react/references/components-toggle.md +7 -1
- package/dist/skills/maxio-react/references/components-tooltip.md +8 -1
- package/dist/skills/maxio-react/references/foundations-testing.md +191 -0
- package/dist/skills/maxio-react/references/patterns-side-nav.md +6 -0
- package/dist/skills/maxio-react/references/patterns-top-bar.md +1 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/Menu/Menu.d.ts +3 -2
- package/dist/temporary-typings/src/components/ActionMenu/components/Menu/Menu.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/MenuButton.d.ts +1 -1
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/MenuButton.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/types.d.ts +2 -1
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuList/MenuList.d.ts +3 -2
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuList/MenuList.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/ActionMenu/contexts/MenuContext.d.ts +3 -1
- package/dist/temporary-typings/src/components/ActionMenu/contexts/MenuContext.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Avatar/Avatar.d.ts +1 -1
- package/dist/temporary-typings/src/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Avatar/Avatar.types.d.ts +2 -1
- package/dist/temporary-typings/src/components/Avatar/Avatar.types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/DataTable/DataTable.d.ts +1 -1
- package/dist/temporary-typings/src/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/DataTable/DataTable.types.d.ts +2 -1
- package/dist/temporary-typings/src/components/DataTable/DataTable.types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/DataTable/components/RowRenderer/RowRenderer.d.ts +2 -1
- package/dist/temporary-typings/src/components/DataTable/components/RowRenderer/RowRenderer.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/DataTable/components/Table/Table.d.ts +1 -1
- package/dist/temporary-typings/src/components/DataTable/components/Table/Table.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/DataTable/components/Table/Table.types.d.ts +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/Table/Table.types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Drawer/Drawer.d.ts +1 -1
- package/dist/temporary-typings/src/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Drawer/types.d.ts +2 -1
- package/dist/temporary-typings/src/components/Drawer/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Icon/Icon.d.ts +1 -1
- package/dist/temporary-typings/src/components/Icon/Icon.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Icon/Icon.types.d.ts +2 -1
- package/dist/temporary-typings/src/components/Icon/Icon.types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/LoadingSpinner/LoadingSpinner.d.ts +1 -1
- package/dist/temporary-typings/src/components/LoadingSpinner/LoadingSpinner.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/LoadingSpinner/types.d.ts +2 -1
- package/dist/temporary-typings/src/components/LoadingSpinner/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Logo/Logo.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Logo/Logo.types.d.ts +2 -1
- package/dist/temporary-typings/src/components/Logo/Logo.types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Notifications/Alert/Alert.d.ts +1 -1
- package/dist/temporary-typings/src/components/Notifications/Alert/Alert.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Notifications/Alert/Alert.types.d.ts +2 -1
- package/dist/temporary-typings/src/components/Notifications/Alert/Alert.types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Notifications/Banner/Banner.d.ts +1 -1
- package/dist/temporary-typings/src/components/Notifications/Banner/Banner.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Notifications/Banner/Banner.types.d.ts +2 -1
- package/dist/temporary-typings/src/components/Notifications/Banner/Banner.types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Notifications/Toast/Toast/Toast.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Notifications/Toast/Toast/Toast.types.d.ts +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/Toast/Toast.types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/OverlayTrigger/OverlayTrigger.d.ts +1 -0
- package/dist/temporary-typings/src/components/OverlayTrigger/OverlayTrigger.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Pagination/Pagination.d.ts +1 -1
- package/dist/temporary-typings/src/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Pagination/Pagination.types.d.ts +2 -1
- package/dist/temporary-typings/src/components/Pagination/Pagination.types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/ProgressBar/ProgressBar.d.ts +3 -2
- package/dist/temporary-typings/src/components/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/SideNav/contexts/types.d.ts +1 -0
- package/dist/temporary-typings/src/components/SideNav/contexts/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Tabs/Tab/types.d.ts +2 -1
- package/dist/temporary-typings/src/components/Tabs/Tab/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Tabs/TabPanel/TabPanel.d.ts +2 -1
- package/dist/temporary-typings/src/components/Tabs/TabPanel/TabPanel.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Tabs/Tabs/Tabs.d.ts +1 -1
- package/dist/temporary-typings/src/components/Tabs/Tabs/Tabs.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Tabs/contexts/types.d.ts +1 -0
- package/dist/temporary-typings/src/components/Tabs/contexts/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Tag/Tag.d.ts +1 -1
- package/dist/temporary-typings/src/components/Tag/Tag.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Tag/Tag.types.d.ts +2 -1
- package/dist/temporary-typings/src/components/Tag/Tag.types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Tile/Tile.d.ts +3 -2
- package/dist/temporary-typings/src/components/Tile/Tile.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Toggle/Toggle.d.ts +2 -1
- package/dist/temporary-typings/src/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Tooltip/Tooltip.d.ts +1 -0
- package/dist/temporary-typings/src/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/TooltipTrigger/TooltipTrigger.d.ts +1 -1
- package/dist/temporary-typings/src/components/TooltipTrigger/TooltipTrigger.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/TopBar/TopBar.d.ts +1 -1
- package/dist/temporary-typings/src/components/TopBar/TopBar.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/TopBar/types.d.ts +2 -1
- package/dist/temporary-typings/src/components/TopBar/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/utils/index.d.ts +2 -0
- package/dist/temporary-typings/src/utils/index.d.ts.map +1 -1
- package/dist/temporary-typings/src/utils/testId.d.ts +5 -0
- package/dist/temporary-typings/src/utils/testId.d.ts.map +1 -0
- package/package.json +2 -2
- package/typings/index.d.ts +47 -36
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/ActionMenu/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/ActionMenu/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,UAAU,SAAU,SAAQ,WAAW;IACrC,QAAQ,EACJ,SAAS,GACT,CAAC,CAAC,EACA,MAAM,EACN,OAAO,GACR,EAAE;QACD,MAAM,EAAE,OAAO,CAAC;QAChB,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,KAAK,SAAS,CAAC,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,GAAI,cAAc,SAAS,sBAelD,CAAC;AAEF,QAAA,MAAM,IAAI,GAAI,qCAAqC,SAAS,sBAM3D,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/MenuButton.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MenuButtonProps } from './types';
|
|
3
|
-
declare const MenuButton: ({ children, iconName, "aria-label": ariaLabel, size, variant, }: MenuButtonProps) => React.JSX.Element;
|
|
3
|
+
declare const MenuButton: ({ children, iconName, "aria-label": ariaLabel, size, variant, "data-testid": ownTestId, }: MenuButtonProps) => React.JSX.Element;
|
|
4
4
|
export default MenuButton;
|
|
5
5
|
//# sourceMappingURL=MenuButton.d.ts.map
|
package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/MenuButton.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/ActionMenu/components/MenuButton/MenuButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/ActionMenu/components/MenuButton/MenuButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAO1C,QAAA,MAAM,UAAU,GAAI,2FAOjB,eAAe,sBAmCjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ButtonProps } from '../../../Buttons/Button/types';
|
|
2
2
|
import { IconVariant } from '../../../Icon';
|
|
3
|
-
|
|
3
|
+
import type { TestIdProps } from '../../../../utils/testId';
|
|
4
|
+
export type MenuButtonProps = Omit<ButtonProps, 'onClick' | 'children' | 'disabled' | 'loading' | 'icon'> & TestIdProps & {
|
|
4
5
|
children?: React.ReactNode;
|
|
5
6
|
iconName?: IconVariant | null;
|
|
6
7
|
};
|
package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/ActionMenu/components/MenuButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/ActionMenu/components/MenuButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,WAAW,EACX,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,CACzD,GACC,WAAW,GAAG;IACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAC/B,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ActionListItem } from '../../../ActionList';
|
|
3
|
-
|
|
3
|
+
import { type TestIdProps } from '../../../../utils/testId';
|
|
4
|
+
interface MenuListProps extends TestIdProps {
|
|
4
5
|
items: ActionListItem[];
|
|
5
6
|
alignItemsEnd?: boolean;
|
|
6
7
|
}
|
|
7
|
-
declare const MenuList: ({ items, alignItemsEnd }: MenuListProps) => React.JSX.Element;
|
|
8
|
+
declare const MenuList: ({ items, alignItemsEnd, "data-testid": ownTestId, }: MenuListProps) => React.JSX.Element;
|
|
8
9
|
export default MenuList;
|
|
9
10
|
//# sourceMappingURL=MenuList.d.ts.map
|
package/dist/temporary-typings/src/components/ActionMenu/components/MenuList/MenuList.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuList.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/ActionMenu/components/MenuList/MenuList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAmB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"MenuList.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/ActionMenu/components/MenuList/MenuList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAmB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEzE,UAAU,aAAc,SAAQ,WAAW;IACzC,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,QAAA,MAAM,QAAQ,GAAI,qDAIf,aAAa,sBAuBf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -6,9 +6,11 @@ export interface IMenuContext {
|
|
|
6
6
|
onToggle: () => void;
|
|
7
7
|
controlsId: string;
|
|
8
8
|
buttonId: string;
|
|
9
|
+
testId?: string;
|
|
9
10
|
}
|
|
10
11
|
export declare const MenuContext: React.Context<IMenuContext>;
|
|
11
|
-
export declare const MenuProvider: ({ children }: {
|
|
12
|
+
export declare const MenuProvider: ({ children, testId, }: {
|
|
12
13
|
children: ReactNode;
|
|
14
|
+
testId?: string;
|
|
13
15
|
}) => React.JSX.Element;
|
|
14
16
|
//# sourceMappingURL=MenuContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuContext.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ActionMenu/contexts/MenuContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA2B,SAAS,EAAS,MAAM,OAAO,CAAC;AAEzE,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"MenuContext.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ActionMenu/contexts/MenuContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA2B,SAAS,EAAS,MAAM,OAAO,CAAC;AAEzE,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,WAAW,6BAAoC,CAAC;AAE7D,eAAO,MAAM,YAAY,GAAI,uBAG1B;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,sBA2BA,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AvatarProps } from './Avatar.types';
|
|
3
|
-
declare const Avatar: ({ className, src, alt }: AvatarProps) => React.JSX.Element;
|
|
3
|
+
declare const Avatar: ({ className, src, alt, "data-testid": testId, }: AvatarProps) => React.JSX.Element;
|
|
4
4
|
export default Avatar;
|
|
5
5
|
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,QAAA,MAAM,MAAM,GAAI,
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,QAAA,MAAM,MAAM,GAAI,iDAKb,WAAW,sBASb,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/Avatar.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;
|
|
1
|
+
{"version":3,"file":"Avatar.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/Avatar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG;IAItC,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,GAAG,EAAE,MAAM,CAAC;IAIZ,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DataTableProps } from './DataTable.types';
|
|
3
3
|
import { RowData } from '@tanstack/react-table';
|
|
4
|
-
declare const DataTable: <TData extends RowData>({ pattern, size, SubRowComponent, onExpand, onSelect, onSort, enableSorting, enableRowSelection, enableExpanding, columns: originalColumns, actions, actionsColumnSize, onRowAction, enableRowReordering, getRowReorderLabel, onRowReorder, rowReorderMode, getRowId, getSubRows, state: userState, ...props }: DataTableProps<TData>) => React.JSX.Element;
|
|
4
|
+
declare const DataTable: <TData extends RowData>({ pattern, size, SubRowComponent, onExpand, onSelect, onSort, enableSorting, enableRowSelection, enableExpanding, columns: originalColumns, actions, actionsColumnSize, onRowAction, enableRowReordering, getRowReorderLabel, onRowReorder, rowReorderMode, getRowId, getSubRows, state: userState, "data-testid": testId, ...props }: DataTableProps<TData>) => React.JSX.Element;
|
|
5
5
|
export default DataTable;
|
|
6
6
|
//# sourceMappingURL=DataTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/DataTable/DataTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,cAAc,EAAqB,MAAM,mBAAmB,CAAC;AAOtE,OAAO,EAKL,OAAO,EAER,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/DataTable/DataTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,cAAc,EAAqB,MAAM,mBAAmB,CAAC;AAOtE,OAAO,EAKL,OAAO,EAER,MAAM,uBAAuB,CAAC;AAuB/B,QAAA,MAAM,SAAS,GAAI,KAAK,SAAS,OAAO,EAAE,uUAuBvC,cAAc,CAAC,KAAK,CAAC,sBAuJvB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TestIdProps } from '../../utils/testId';
|
|
1
2
|
import { ColumnDef, ExpandedState, Row, RowData, RowSelectionState, SortingState, TableOptions, Table } from '@tanstack/react-table';
|
|
2
3
|
export type { RowData, SortingState, ColumnDef };
|
|
3
4
|
export type TableSize = 'sm' | 'md' | 'lg';
|
|
@@ -36,7 +37,7 @@ type RowReorderingOptions<TData extends RowData> = {
|
|
|
36
37
|
onRowReorder: (event: RowReorderEvent<TData>) => void;
|
|
37
38
|
rowReorderMode?: RowReorderMode;
|
|
38
39
|
};
|
|
39
|
-
type DataTableBaseProps<TData extends RowData> = {
|
|
40
|
+
type DataTableBaseProps<TData extends RowData> = TestIdProps & {
|
|
40
41
|
size?: TableSize;
|
|
41
42
|
pattern?: boolean;
|
|
42
43
|
align?: ColumnAlign;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/DataTable/DataTable.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,EACb,GAAG,EACH,OAAO,EACP,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,KAAK,EACN,MAAM,uBAAuB,CAAC;AAE/B,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;AAEjD,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC3C,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,CAAC;AAC3C,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,YAAY,GAAG,KAAK,CAAC;AAC/D,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE/D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,eAAe,CAAC,KAAK,SAAS,OAAO,IAAI;IACnD,IAAI,EAAE,KAAK,EAAE,CAAC;IACd,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,MAAM,EAAE,kBAAkB,CAAC;IAC3B,WAAW,EAAE,kBAAkB,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CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IAIpE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAI3B,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC;IAIxC,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;IAI7C,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAIjD,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC;CAC3C,GAAG,oBAAoB,CAAC,KAAK,CAAC,GAC7B,oBAAoB,CAAC,KAAK,CAAC,CAAC;AAE9B,MAAM,MAAM,cAAc,CAAC,KAAK,SAAS,OAAO,GAAG,OAAO,IACxD,kBAAkB,CAAC,KAAK,CAAC,GAAG,oBAAoB,CAAC,KAAK,CAAC,CAAC;AAE1D,OAAO,QAAQ,uBAAuB,CAAC;IAErC,UAAU,UAAU,CAAC,KAAK,SAAS,OAAO,EAAE,MAAM;QAChD,KAAK,CAAC,EAAE,WAAW,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB;CACF"}
|
package/dist/temporary-typings/src/components/DataTable/components/RowRenderer/RowRenderer.d.ts
CHANGED
|
@@ -6,7 +6,8 @@ type RowRendererProps<TData> = {
|
|
|
6
6
|
pattern?: boolean;
|
|
7
7
|
enableExpanding?: boolean | 'rowsOnly';
|
|
8
8
|
onRowAction?: (row: Row<TData>) => void;
|
|
9
|
+
testId?: string;
|
|
9
10
|
};
|
|
10
|
-
declare const RowRenderer: <TData extends RowData>({ row, SubRowComponent, pattern, enableExpanding, onRowAction, }: RowRendererProps<TData>) => React.JSX.Element;
|
|
11
|
+
declare const RowRenderer: <TData extends RowData>({ row, SubRowComponent, pattern, enableExpanding, onRowAction, testId, }: RowRendererProps<TData>) => React.JSX.Element;
|
|
11
12
|
export default RowRenderer;
|
|
12
13
|
//# sourceMappingURL=RowRenderer.d.ts.map
|
package/dist/temporary-typings/src/components/DataTable/components/RowRenderer/RowRenderer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/DataTable/components/RowRenderer/RowRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,OAAO,EAAc,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"RowRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/DataTable/components/RowRenderer/RowRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,OAAO,EAAc,MAAM,uBAAuB,CAAC;AAQjE,KAAK,gBAAgB,CAAC,KAAK,IAAI;IAC7B,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;IAChB,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IACvC,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,QAAA,MAAM,WAAW,GAAI,KAAK,SAAS,OAAO,EAAE,0EAOzC,gBAAgB,CAAC,KAAK,CAAC,sBAmIzB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TableProps } from './Table.types';
|
|
3
|
-
declare const Table: ({ children, pattern, size, isExpandable, isUsingCustomRow, }: TableProps) => React.JSX.Element;
|
|
3
|
+
declare const Table: ({ children, pattern, size, isExpandable, isUsingCustomRow, "data-testid": testId, }: TableProps) => React.JSX.Element;
|
|
4
4
|
export default Table;
|
|
5
5
|
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/DataTable/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,QAAA,MAAM,KAAK,GAAI,
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/DataTable/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,QAAA,MAAM,KAAK,GAAI,qFAOZ,UAAU,sBA+BZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/dist/temporary-typings/src/components/DataTable/components/Table/Table.types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/DataTable/components/Table/Table.types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,MAAM,UAAU,GAAG;IACvB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Table.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/DataTable/components/Table/Table.types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,MAAM,UAAU,GAAG;IACvB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { DrawerProps } from './types';
|
|
3
|
-
declare const Drawer: ({ open, onOpenChange, placement, backdrop, size, className, title, description, children, footer, }: DrawerProps) => React.JSX.Element;
|
|
3
|
+
declare const Drawer: ({ open, onOpenChange, placement, backdrop, size, className, title, description, children, footer, "data-testid": testId, }: DrawerProps) => React.JSX.Element;
|
|
4
4
|
export default Drawer;
|
|
5
5
|
//# sourceMappingURL=Drawer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,QAAA,MAAM,MAAM,GAAI,4HAYb,WAAW,sBAuDb,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { TestIdProps } from '../../utils/testId';
|
|
2
3
|
export type DrawerPlacement = 'left' | 'right' | 'top' | 'bottom';
|
|
3
4
|
export type DrawerBackdrop = 'dim' | 'none';
|
|
4
5
|
export type DrawerSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
5
|
-
export interface DrawerProps {
|
|
6
|
+
export interface DrawerProps extends TestIdProps {
|
|
6
7
|
title: string;
|
|
7
8
|
description?: string;
|
|
8
9
|
children: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;AAClE,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,MAAM,CAAC;AAC5C,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,WAAW;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IconProps } from './Icon.types';
|
|
3
|
-
declare const Icon: ({ variant, color, className, size }: IconProps) => React.JSX.Element;
|
|
3
|
+
declare const Icon: ({ variant, color, className, size, "data-testid": testId, }: IconProps) => React.JSX.Element;
|
|
4
4
|
export default Icon;
|
|
5
5
|
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,SAAS,EAAe,MAAM,cAAc,CAAC;AAEtD,QAAA,MAAM,IAAI,GAAI,
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,SAAS,EAAe,MAAM,cAAc,CAAC;AAEtD,QAAA,MAAM,IAAI,GAAI,6DAMX,SAAS,sBAuBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { TestIdProps } from '../../utils/testId';
|
|
1
2
|
import { ICONS } from './constants';
|
|
2
3
|
export type IconVariant = (typeof ICONS)[number] | string;
|
|
3
|
-
export type IconProps = {
|
|
4
|
+
export type IconProps = TestIdProps & {
|
|
4
5
|
className?: string;
|
|
5
6
|
size?: 'xs' | 'md' | 'lg';
|
|
6
7
|
variant: IconVariant;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icon/Icon.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AAE1D,MAAM,MAAM,SAAS,GAAG;
|
|
1
|
+
{"version":3,"file":"Icon.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icon/Icon.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AAE1D,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG;IAIpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAI1B,OAAO,EAAE,WAAW,CAAC;IAIrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { LoadingSpinnerProps } from './types';
|
|
3
|
-
declare const LoadingSpinner: ({ size, white, className, }: LoadingSpinnerProps) => React.JSX.Element;
|
|
3
|
+
declare const LoadingSpinner: ({ size, white, className, "data-testid": testId, }: LoadingSpinnerProps) => React.JSX.Element;
|
|
4
4
|
export default LoadingSpinner;
|
|
5
5
|
//# sourceMappingURL=LoadingSpinner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../../../src/components/LoadingSpinner/LoadingSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,QAAA,MAAM,cAAc,GAAI,
|
|
1
|
+
{"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../../../src/components/LoadingSpinner/LoadingSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,QAAA,MAAM,cAAc,GAAI,oDAKrB,mBAAmB,sBAerB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { TestIdProps } from '../../utils/testId';
|
|
1
2
|
type LoadingSpinnerSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
-
export type LoadingSpinnerProps = {
|
|
3
|
+
export type LoadingSpinnerProps = TestIdProps & {
|
|
3
4
|
size?: LoadingSpinnerSize;
|
|
4
5
|
white?: boolean;
|
|
5
6
|
className?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/LoadingSpinner/types.ts"],"names":[],"mappings":"AAAA,KAAK,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/LoadingSpinner/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,KAAK,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG;IAI9C,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAI1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAIhB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../../../src/components/Logo/Logo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,QAAA,MAAM,IAAI,GAAI,OAAO,SAAS,
|
|
1
|
+
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../../../src/components/Logo/Logo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,QAAA,MAAM,IAAI,GAAI,OAAO,SAAS,sBA0B7B,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Logo/Logo.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;
|
|
1
|
+
{"version":3,"file":"Logo.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Logo/Logo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG;IAIpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IAI5B,GAAG,CAAC,EAAE,MAAM,CAAC;IAIb,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;CACpC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AlertProps } from './Alert.types';
|
|
3
|
-
declare const Alert: ({ children, title, linkText, linkExternal, href, display, sentiment, onDismiss, className, }: AlertProps) => React.JSX.Element | null;
|
|
3
|
+
declare const Alert: ({ children, title, linkText, linkExternal, href, display, sentiment, onDismiss, className, "data-testid": testId, }: AlertProps) => React.JSX.Element | null;
|
|
4
4
|
export default Alert;
|
|
5
5
|
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Notifications/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Notifications/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAU3C,QAAA,MAAM,KAAK,GAAI,qHAWZ,UAAU,6BA6DZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Notifications/Alert/Alert.types.ts"],"names":[],"mappings":"AAAA,KAAK,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3D,MAAM,MAAM,UAAU,GAAG;
|
|
1
|
+
{"version":3,"file":"Alert.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Notifications/Alert/Alert.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,KAAK,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3D,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG;IAIrC,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAIvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,YAAY,CAAC,EAAE,OAAO,CAAC;IAIvB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,SAAS,CAAC,EAAE,SAAS,CAAC;IAItB,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC9B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BannerProps } from './Banner.types';
|
|
3
|
-
declare const Banner: ({ children, title, linkText, linkExternal, href, display, sentiment, onDismiss, className, }: BannerProps) => React.JSX.Element | null;
|
|
3
|
+
declare const Banner: ({ children, title, linkText, linkExternal, href, display, sentiment, onDismiss, className, "data-testid": testId, }: BannerProps) => React.JSX.Element | null;
|
|
4
4
|
export default Banner;
|
|
5
5
|
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Notifications/Banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Notifications/Banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAS7C,QAAA,MAAM,MAAM,GAAI,qHAWb,WAAW,6BA2Db,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Notifications/Banner/Banner.types.ts"],"names":[],"mappings":"AAAA,KAAK,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3D,MAAM,MAAM,WAAW,GAAG;
|
|
1
|
+
{"version":3,"file":"Banner.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Notifications/Banner/Banner.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,KAAK,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3D,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG;IAItC,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,QAAQ,EAAE,MAAM,CAAC;IAIjB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAIvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,YAAY,CAAC,EAAE,OAAO,CAAC;IAIvB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,SAAS,CAAC,EAAE,SAAS,CAAC;IAItB,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Notifications/Toast/Toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Notifications/Toast/Toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAU3C,QAAA,MAAM,KAAK,GAAI,qBAAqB,UAAU,sBAyE7C,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -13,6 +13,7 @@ export interface ToastContent extends Omit<LinkProps, 'children'> {
|
|
|
13
13
|
};
|
|
14
14
|
sentiment?: Sentiment;
|
|
15
15
|
closable?: boolean;
|
|
16
|
+
testId?: string;
|
|
16
17
|
}
|
|
17
18
|
export interface ToastProps extends AriaToastProps<any>, ToastRegionProps {
|
|
18
19
|
toast: QueuedToast<ToastContent>;
|
package/dist/temporary-typings/src/components/Notifications/Toast/Toast/Toast.types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Notifications/Toast/Toast/Toast.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,KAAK,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3D,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAI/D,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAI7B,IAAI,CAAC,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IAIF,SAAS,CAAC,EAAE,SAAS,CAAC;IAItB,QAAQ,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Toast.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Notifications/Toast/Toast/Toast.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MA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a,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA8D3C,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PaginationProps } from './Pagination.types';
|
|
3
|
-
declare const Pagination: ({ size, onChange, totalItems, itemsPerPage: itemsPerPageProp, currentPage: currentPageProp, pageSizeOptions, manualPageInput, }: PaginationProps) => React.JSX.Element;
|
|
3
|
+
declare const Pagination: ({ size, onChange, totalItems, itemsPerPage: itemsPerPageProp, currentPage: currentPageProp, pageSizeOptions, manualPageInput, "data-testid": testId, }: PaginationProps) => React.JSX.Element;
|
|
4
4
|
export default Pagination;
|
|
5
5
|
//# sourceMappingURL=Pagination.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAQrD,QAAA,MAAM,UAAU,GAAI,wJASjB,eAAe,sBAqKjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -2,7 +2,8 @@ type PageInfo = {
|
|
|
2
2
|
currentPage: number;
|
|
3
3
|
itemsPerPage: number;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
import type { TestIdProps } from '../../utils/testId';
|
|
6
|
+
export type PaginationProps = TestIdProps & {
|
|
6
7
|
totalItems?: number;
|
|
7
8
|
currentPage?: number;
|
|
8
9
|
itemsPerPage?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/Pagination.types.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GAAG;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;
|
|
1
|
+
{"version":3,"file":"Pagination.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/Pagination.types.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GAAG;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG;IAI1C,UAAU,CAAC,EAAE,MAAM,CAAC;IAIpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAIrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,eAAe,EAAE,MAAM,EAAE,CAAC;IAI1B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAI1B,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAIxC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
import type { TestIdProps } from '../../utils/testId';
|
|
3
|
+
export interface ProgressBarProps extends TestIdProps {
|
|
3
4
|
label: string;
|
|
4
5
|
helperText?: string;
|
|
5
6
|
size?: 'md' | 'lg';
|
|
@@ -8,6 +9,6 @@ export interface ProgressBarProps {
|
|
|
8
9
|
value?: number;
|
|
9
10
|
maxValue?: number;
|
|
10
11
|
}
|
|
11
|
-
declare const ProgressBar: ({ label, helperText, size, variant, status, value, maxValue, }: ProgressBarProps) => React.JSX.Element;
|
|
12
|
+
declare const ProgressBar: ({ label, helperText, size, variant, status, value, maxValue, "data-testid": testId, }: ProgressBarProps) => React.JSX.Element;
|
|
12
13
|
export default ProgressBar;
|
|
13
14
|
//# sourceMappingURL=ProgressBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IAInD,KAAK,EAAE,MAAM,CAAC;IAId,UAAU,CAAC,EAAE,MAAM,CAAC;IAIpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAInB,MAAM,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAI7B,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAK1C,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,WAAW,GAAI,uFASlB,gBAAgB,sBAgDlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SideNav/contexts/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,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AC;IACrC,OAAO,EAAE,sBAAsB,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,sBAAuB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IACrF,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
type
|
|
2
|
+
import type { TestIdProps } from '../../../utils/testId';
|
|
3
|
+
type CommonTabProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'id'> & TestIdProps & {
|
|
3
4
|
disabled?: boolean;
|
|
4
5
|
value?: number;
|
|
5
6
|
id?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/Tab/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/Tab/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,KAAK,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,IAAI,CAAC,GACpE,WAAW,GAAG;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,cAAc,GAAG,CAAC,UAAU,GAAG,OAAO,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
3
|
+
import type { TestIdProps } from '../../../utils/testId';
|
|
4
|
+
export interface TabPanelProps extends Omit<React.HtmlHTMLAttributes<HTMLDivElement>, 'children' | 'id'>, TestIdProps {
|
|
4
5
|
children: ReactNode;
|
|
5
6
|
value?: number;
|
|
6
7
|
id?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabPanel.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/TabPanel/TabPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TabPanel.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/TabPanel/TabPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,WAAW,aACf,SACE,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC,EACjE,WAAW;IACb,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,QAAA,MAAM,QAAQ,GAAI,wDAMf,aAAa,sBAYf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { TabsProviderProps } from '../contexts/types';
|
|
3
3
|
type TabsProps = TabsProviderProps;
|
|
4
|
-
declare const Tabs: ({ children, variant, withDivider, defaultIndex, index, onChange, }: TabsProps) => React.JSX.Element;
|
|
4
|
+
declare const Tabs: ({ children, variant, withDivider, defaultIndex, index, onChange, "data-testid": testId, }: TabsProps) => React.JSX.Element;
|
|
5
5
|
export default Tabs;
|
|
6
6
|
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,KAAK,SAAS,GAAG,iBAAiB,CAAC;AAEnC,QAAA,MAAM,IAAI,GAAI,
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,KAAK,SAAS,GAAG,iBAAiB,CAAC;AAEnC,QAAA,MAAM,IAAI,GAAI,2FAQX,SAAS,sBAcX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/contexts/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,KAAK,WAAW,GAAG,MAAM,GAAG,WAAW,CAAC;AACxC,KAAK,YAAY,GACb,CAAC,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC,GACvB,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC,KAAK,IAAI,CAAC,CAAC;AAE5D,MAAM,WAAW,WAAW;IAI1B,OAAO,EAAE,WAAW,CAAC;IAIrB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,WAAW,CAAC,GAAG;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/contexts/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,KAAK,WAAW,GAAG,MAAM,GAAG,WAAW,CAAC;AACxC,KAAK,YAAY,GACb,CAAC,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC,GACvB,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC,KAAK,IAAI,CAAC,CAAC;AAE5D,MAAM,WAAW,WAAW;IAI1B,OAAO,EAAE,WAAW,CAAC;IAIrB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,WAAW,CAAC,GAAG;IAIrD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,SAAS,CAAC;IAIpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TagProps } from './Tag.types';
|
|
3
|
-
declare const Tag: ({ children, size, sentiment, kind, leadingIcon, trailingIcon, }: TagProps) => React.JSX.Element;
|
|
3
|
+
declare const Tag: ({ children, size, sentiment, kind, leadingIcon, trailingIcon, "data-testid": testId, }: TagProps) => React.JSX.Element;
|
|
4
4
|
export default Tag;
|
|
5
5
|
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,QAAA,MAAM,GAAG,GAAI,
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,QAAA,MAAM,GAAG,GAAI,wFAQV,QAAQ,sBAmBV,CAAC;AAEF,eAAe,GAAG,CAAC"}
|