@axinom/mosaic-ui 0.56.0-rc.1 → 0.56.0-rc.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-ui",
3
- "version": "0.56.0-rc.1",
3
+ "version": "0.56.0-rc.3",
4
4
  "description": "UI components for building Axinom Mosaic applications",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -32,7 +32,7 @@
32
32
  "build-storybook": "storybook build"
33
33
  },
34
34
  "dependencies": {
35
- "@axinom/mosaic-core": "^0.4.29-rc.1",
35
+ "@axinom/mosaic-core": "^0.4.29-rc.3",
36
36
  "@faker-js/faker": "^7.4.0",
37
37
  "@geoffcox/react-splitter": "^2.1.2",
38
38
  "@mui/base": "5.0.0-beta.40",
@@ -107,5 +107,5 @@
107
107
  "publishConfig": {
108
108
  "access": "public"
109
109
  },
110
- "gitHead": "e44eaefd6b1e7cafa7b20b78265eedd8b516e51f"
110
+ "gitHead": "8a73c5881952b152197623d5d496bb53e8436d00"
111
111
  }
@@ -25,7 +25,7 @@ export const CustomTab: ReactTabsFunctionComponent<TabProps> = ({
25
25
  disabledClassName={classes.disabled}
26
26
  data-test-id="tab"
27
27
  >
28
- <div className={classes.content} ref={ref}>
28
+ <div className={classes.content} ref={ref} data-test-id="tab-label">
29
29
  {children}
30
30
  </div>
31
31
  </Tab>
@@ -9,7 +9,11 @@ export const CustomTabList: ReactTabsFunctionComponent<TabListProps> = ({
9
9
  className,
10
10
  ...otherProps
11
11
  }) => (
12
- <TabList {...otherProps} className={clsx(classes.tablist, className)}>
12
+ <TabList
13
+ {...otherProps}
14
+ className={clsx(classes.tablist, className)}
15
+ data-test-id="tab-list"
16
+ >
13
17
  <ScrollContainer>{children}</ScrollContainer>
14
18
  </TabList>
15
19
  );
@@ -63,8 +63,8 @@ const generateItems = (
63
63
  count: number,
64
64
  disabled?: boolean,
65
65
  ): [JSX.Element[], JSX.Element[]] => {
66
- const tabs = [];
67
- const panels = [];
66
+ const tabs: JSX.Element[] = [];
67
+ const panels: JSX.Element[] = [];
68
68
 
69
69
  for (let i = 0; i < count; i++) {
70
70
  const title = faker.random.words(faker.datatype.number({ min: 1, max: 3 }));